{ "info": { "author": "Niklas Rosenstein", "author_email": "rosensteinniklas@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# nr.bundler\n\n[](https://opensource.org/licenses/MIT)\n\nPyBundle is a command-line tool to create standalone Python applications. It\naims to be a cross-platform replacement for cx_Freeze and a lightweight\nalternative to PyInstaller.\n\nCurrently native dependency resolution is only supported on Windows.\n\n#### Hooks\n\nBig Python libraries for which hooks exist only include elements of the module\nthat are recognized to be necessary. Most of these hooks support command-line\noptions to enable including the whole library anyway. These options are shown\nin parentheses.\n\n* PyQt5 (`--hook-PyQt5:whole`)\n* PySide2\n* wxPython (`wx`)\n* Qt.py (`Qt`)\n\n#### Synopsis\n\n```\n$ nr python-bundler --help\nusage: nr python-bundler [-h] [--version] [-v] [--flat] [--json]\n [--json-graph] [--dotviz] [--search SEARCH]\n [--recursive] [--whitelist GLOB] [--deps]\n [--package-members] [--nativedeps]\n [--show-module-path] [--show-hooks-path] [--collect]\n [--dist] [--entry SPEC] [--resource SRC[:DST]]\n [--bundle-dir DIRECTORY] [--exclude EXCLUDE]\n [--no-default-includes] [--no-default-excludes]\n [--compile-modules] [--zip-modules]\n [--zip-file ZIP_FILE] [--no-srcs] [--copy-always]\n [--no-default-module-path] [--module-path PATH]\n [--no-default-hooks-path] [--hooks-path PATH]\n [args [args ...]]\n\nCreate standalone distributions of Python applications.\n\npositional arguments:\n args Additional positional arguments. The interpretation of\n these arguments depends on the selected operation.\n\noptional arguments:\n -h, --help show this help message and exit\n --version show program's version number and exit\n -v, --verbose Increase the log-level from ERROR.\n --flat Instruct certain operation to produce flat instead of\n nested output.\n --json Instruct certain operations to output JSON.\n --json-graph Instruct certain operations to output JSON Graph.\n --dotviz Instruct certain operations to output Dotviz.\n --search SEARCH Instruct certain operations to search for the\n specified string. Used with --nativedeps\n --recursive Instruct certain operations to operate recursively.\n Used with --nativedeps\n --whitelist GLOB Only search and bundle modules matching the specified\n glob pattern.\n\noperations (dump):\n --deps Dump the dependency tree of the specified Python\n module(s) to stdout and exit.\n --package-members Dump the members of the specified Python package(s) to\n stdout and exit.\n --nativedeps Dump the dependencies of the specified native\n binary(ies) and exit.\n --show-module-path Print the module search path to stdout and exit.\n --show-hooks-path Print the hooks search path to stdout and exit.\n\noperations (build):\n --collect Collect all modules in the bundle/modules/. This is\n operation is is automatically implied with the --dist\n operation.\n --dist Create a standalone distribution of the Python\n interpreter. Unless --no-defaults is specified, this\n will include just the core libraries required by the\n Python interpreter and a modified site.py module.\n Additional arguments are treated as modules that are\n to be included in the distribution.\n --entry SPEC Create an executable from a Python entrypoint\n specification and optional arguments in the standalone\n distribution directory. The created executable will\n run in console mode unless the spec is prefixed with\n an @ sign (as in @prog=module:fun).\n --resource SRC[:DST] Copy thepath(s) to the bundle directory. If DST is not\n specified, it defaults to res/{srcbasename}/. The path\n to the res/ directory can be retrieved with\n `sys.frozen_env[\"resource_dir\"]`.\n\noptional arguments (build):\n --bundle-dir DIRECTORY\n The name of the directory where collected modules and\n the standalone Python interpreter be placed. Defaults\n to bundle/.\n --exclude EXCLUDE A comma-separated list of modules to exclude. Any sub-\n modules of the listed package will also be excluded.\n You can also exact import chains as X->Y where Y is\n the module imported from X. This argument can be\n specified multiple times.\n --no-default-includes\n Do not add default module includes (the Python core\n library).\n --no-default-excludes\n Do not add default import excludes.\n --compile-modules Compile collected Python modules.\n --zip-modules Zip collected Python modules. Note that modules that\n are detected to be not supported when zipped will be\n left out. Must be combined with --dist or --collect.\n --zip-file ZIP_FILE The output file for --zip-modules.\n --no-srcs Exclude source files from modules directory or\n zipfile.\n --copy-always Always copy files, even if the target file already\n exists and the timestamp indicates that it hasn't\n changed.\n\noptional arguments (search):\n --no-default-module-path\n Ignore the current Python module search path available\n via sys.path.\n --module-path PATH Specify an additional path to search for Python\n modules. Can be comma-separated or specified multiple\n times.\n --no-default-hooks-path\n Do not use the default hooks search path for the hooks\n delivered with PyBundle.\n --hooks-path PATH Specify an additional path to search for module search\n hooks. Can be comma-separated or specified multiple\n times.\n```\n\n---\n\n
Copyright © 2018 Niklas Rosenstein
", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NiklasRosenstein/python-nr.bundler", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "nr.bundler", "package_url": "https://pypi.org/project/nr.bundler/", "platform": "", "project_url": "https://pypi.org/project/nr.bundler/", "project_urls": { "Homepage": "https://github.com/NiklasRosenstein/python-nr.bundler" }, "release_url": "https://pypi.org/project/nr.bundler/1.2.3/", "requires_dist": null, "requires_python": "", "summary": "Bundle the modules of a Python application. (WIP)", "version": "1.2.3" }, "last_serial": 5851092, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "6dcc31977c27d5fe9eaab13d2042cebe", "sha256": "fa99c92e68e5a0eb9aff1c09316efa52c178752e0b48010bd09037de370a0d54" }, "downloads": -1, "filename": "nr.bundler-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6dcc31977c27d5fe9eaab13d2042cebe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27128, "upload_time": "2019-04-16T14:10:39", "url": "https://files.pythonhosted.org/packages/0b/6e/0f3fa3b2a1862fba4d82147e50ac6709fc6c4ae30fc2baddacea79df5906/nr.bundler-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "b780f72ac428d6a49bbc528bbc638496", "sha256": "c0c54941568f65575fe3b2d156f00b8792b0e4f6be55fb88c43a6cca0fa9dd3c" }, "downloads": -1, "filename": "nr.bundler-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b780f72ac428d6a49bbc528bbc638496", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30049, "upload_time": "2019-04-16T14:40:44", "url": "https://files.pythonhosted.org/packages/cb/33/b4e160532c4c5d79397750d4a0961ae3f1bca9b97bc295d1992e9fee9b38/nr.bundler-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "45d3a3f4e803c4e1bed9d8c8002aaeed", "sha256": "f01a4fd78766e250938ccd3181fa4d78ca08c624e1a1ab6aa745f1561b065d6e" }, "downloads": -1, "filename": "nr.bundler-1.2.0.tar.gz", "has_sig": false, "md5_digest": "45d3a3f4e803c4e1bed9d8c8002aaeed", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30032, "upload_time": "2019-04-16T16:38:04", "url": "https://files.pythonhosted.org/packages/39/d0/0b9f1dbe789f1ae31b09478fcce39614bb302fe4bc11fbcce5b8cb5ca091/nr.bundler-1.2.0.tar.gz" } ], "1.2.1": [ { "comment_text": "", "digests": { "md5": "8c0755606d44204e55d03350de276f14", "sha256": "aef23d007c5b725a762c73e820aeeb90c18902d7ab3688c7c76e58de154db06b" }, "downloads": -1, "filename": "nr.bundler-1.2.1.tar.gz", "has_sig": false, "md5_digest": "8c0755606d44204e55d03350de276f14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31992, "upload_time": "2019-06-24T12:24:24", "url": "https://files.pythonhosted.org/packages/ed/41/306b387e38f3475f9fabc28c2b9fc0b455c4b14b9007d450e8c7414eed7e/nr.bundler-1.2.1.tar.gz" } ], "1.2.2": [ { "comment_text": "", "digests": { "md5": "7aae43b89929558d7170acd9c891e6d2", "sha256": "f2217a0f1f2041ae3406d36a984ef14cc848aec6277a2b654235b7c40ea0cf5e" }, "downloads": -1, "filename": "nr.bundler-1.2.2.tar.gz", "has_sig": false, "md5_digest": "7aae43b89929558d7170acd9c891e6d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36551, "upload_time": "2019-06-24T12:29:25", "url": "https://files.pythonhosted.org/packages/0c/47/e6cea9510d2a78f39b5c4225ddf5046c310d14e43e675d29fea4c85c2c66/nr.bundler-1.2.2.tar.gz" } ], "1.2.3": [ { "comment_text": "", "digests": { "md5": "3c96bcea72b1fd0f7e8a6d6c7d3d1bbd", "sha256": "e9472279fc20255c101211e531ec3e0f157fbcc5cd43ce48f684cd32e10b6456" }, "downloads": -1, "filename": "nr.bundler-1.2.3.tar.gz", "has_sig": false, "md5_digest": "3c96bcea72b1fd0f7e8a6d6c7d3d1bbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36598, "upload_time": "2019-09-18T15:49:34", "url": "https://files.pythonhosted.org/packages/56/b8/c3339147f175febf39ca2ea8c5876de4e3df6acfe1a14bcfaf226c583283/nr.bundler-1.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3c96bcea72b1fd0f7e8a6d6c7d3d1bbd", "sha256": "e9472279fc20255c101211e531ec3e0f157fbcc5cd43ce48f684cd32e10b6456" }, "downloads": -1, "filename": "nr.bundler-1.2.3.tar.gz", "has_sig": false, "md5_digest": "3c96bcea72b1fd0f7e8a6d6c7d3d1bbd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36598, "upload_time": "2019-09-18T15:49:34", "url": "https://files.pythonhosted.org/packages/56/b8/c3339147f175febf39ca2ea8c5876de4e3df6acfe1a14bcfaf226c583283/nr.bundler-1.2.3.tar.gz" } ] }