{ "info": { "author": "Gopinath Langote", "author_email": "gopinathlangote11@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "

\n
\n \n \"1build\"\n
\n

\n\n
\n\n

\n \n \"PyPi\n \n \n \"Supported\n \n \n \"Build\n \n \n \"Code\n \n \n \"Requirements\n \n \n \"Downloads\"\n \n

\n\n
\n\n1build is an automation tool that arms you with the convenience to configure project-local command line aliases \u2013 and then\nrun the commands quickly and easily. It is particularly helpful when you deal with multiple projects and switch between\nthem all the time. It is often the fact that different projects use different build tools and have different environment\nrequirements \u2013 and then switching from one project to another is becoming increasingly cumbersome. That is where 1build comes\ninto play.\n\nWith 1build you can create simple and easily memorable command aliases for commonly used project commands such as build,\ntest, run or anything else. These aliases will have a project-local scope which means that they will be accessible only\nwithin the project directory. This way you can unify all your projects to build with the same simple command disregarding\nof what build tool they use. It will remove the hassle of remembering all those commands improving the mental focus for\nthe things that actually matter.\n\n## Install\n\n```bash\npip install 1build\n```\n\nor\n\n```bash\npip3 install 1build\n```\n\n## Usage\n\n### Configuration\n\n- create project configuration file in the project folder with name `1build.yaml`\n\n- Example of `1build.yaml` for JVM maven project:\n ```yaml\n project: Sample JVM Project Name\n commands:\n - build: mvn clean package\n - lint: mvn antrun:run@ktlint-format\n - test: mvn clean test\n ```\n\n### Running 1build for the above sample project:\n\n- building the project\n ```console\n 1build build\n ```\n\n- fix the coding guidelinges lint and run tests (executing more than one commands at once)\n ```console\n 1build lint test\n ```\n\n### Using `before` and `after` commands\nConsider that your project `X` requires `Java 11` and the other project requires `Java 8`. It is a headache to always\nremember to switch the java version. What you want is to switch to `Java 11` automatically when you build the project\n`X` and switch it back to `Java 8` when the build is complete. Another example \u2013 a project requires `Docker` to be up\nand running or you need to clean up the database after running a test harness.\n\nThis is where `before` & `after` commands are useful. These commands are both optional \u2013\u00a0\nyou can use one of them, both or neither.\n\n#### Examples:\n1. Switching to `Java 11` and then back to `Java 8`\n ```yaml\n project: Sample JVM Project Name\n before: ./switch_to_java_11.sh\n after: ./switch_to_java_8.sh\n commands:\n - build: mvn clean package\n ```\n\n2. Ensure that `Docker` is up and running\n ```yaml\n project: Containerized Project\n before: ./docker_run.sh\n commands:\n - build: ./gradlew clean\n ```\n\n3. Clean up database after some commands\n ```yaml\n project: Containerized Project\n after: ./clean_database.sh\n commands:\n - build: ./gradlew clean\n ```\n\n### Command usage\n ```text\nusage: 1build [-h] [-l] [-v] [command]\n\npositional arguments:\n command Command to run - from `1build.yaml` file\n\noptional arguments:\n -h, --help Print this help message\n -l, --list Show all available commands - from `1build.yaml` file\n -v, --version Show version of 1build and exit\n -i, --init Create default `1build.yaml` configuration file\n```\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](https://github.com/gopinath-langote/1build/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n\n## Versioning\n\nWe use [Semantic Versioning](http://semver.org/) for all our releases. For the versions available, see the [tags on this repository](https://github.com/gopinath-langote/1build/tags).\n\n## Changelog\nAll notable changes to this project in each release will be documented in [CHANGELOG.md](https://github.com/gopinath-langote/1build/blob/master/docs/CHANGELOG.md).\n\nThe format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n\n## Authors\n\n* **Gopinath Langote** - *Initial work & Maintainer* \u2013 [Github](https://github.com/gopinath-langote/) \u2013[Twitter](https://twitter.com/GopinathLangote)\n* **Alexander Lukianchuk** - *Maintainer* \u2013 [Github](https://github.com/landpro) \u2013 [Twitter](https://twitter.com/landpro)\n\nSee also the list of [contributors](https://github.com/gopinath-langote/1build/contributors) who participated in this project.\n\n\n", "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/gopinath-langote/1build", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "1build", "package_url": "https://pypi.org/project/1build/", "platform": "", "project_url": "https://pypi.org/project/1build/", "project_urls": { "Homepage": "https://github.com/gopinath-langote/1build" }, "release_url": "https://pypi.org/project/1build/1.1.1/", "requires_dist": [ "ruamel.yaml (>=0.15.97)" ], "requires_python": "", "summary": "Frictionless way of managing project-specific commands.", "version": "1.1.1" }, "last_serial": 5595608, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "618c04b6011cfb6f24fa8abb9ba7eaeb", "sha256": "d2ef5a938be4db18653c521ba2da7260639276206d64e9dfc31dfadeb281f5e0" }, "downloads": -1, "filename": "1build-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "618c04b6011cfb6f24fa8abb9ba7eaeb", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3462, "upload_time": "2019-05-01T19:08:36", "url": "https://files.pythonhosted.org/packages/ba/57/2f1da58be5b05ca348de4d9a2b7a990a24198c7e08bf5d914f045c17b564/1build-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f68509536cfcb4128b251ed0f1deff85", "sha256": "7e7de2a11d0501cfb21a0d2150b6f43cba67241946ec35f5e313327f7cb44fd0" }, "downloads": -1, "filename": "1build-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f68509536cfcb4128b251ed0f1deff85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2362, "upload_time": "2019-05-01T19:08:39", "url": "https://files.pythonhosted.org/packages/bd/c9/60b942ff1548ff4ddf86d67496e46ffcd807dd08de9a89aaa033c37fa657/1build-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "9e4e74d0793ef8789cb0358af3adb5f9", "sha256": "7f3b39939bfda22aed9bb81e3d02a500da5b982eebdba354b32b3b9b85655f13" }, "downloads": -1, "filename": "1build-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9e4e74d0793ef8789cb0358af3adb5f9", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4044, "upload_time": "2019-05-01T19:28:47", "url": "https://files.pythonhosted.org/packages/8a/91/a25cb81ae4105b53dddbd939a0f75d82bf4c89e8ebb624a1926d4332d511/1build-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "61fcd0bd19f309e1594141926d8b98cc", "sha256": "1511452c2c9de6383fda1103f7ea66afe11a25ac7b8842c84319b3f98b2115d4" }, "downloads": -1, "filename": "1build-0.0.2.tar.gz", "has_sig": false, "md5_digest": "61fcd0bd19f309e1594141926d8b98cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3097, "upload_time": "2019-05-01T19:28:48", "url": "https://files.pythonhosted.org/packages/7c/18/5c1df349af679461c01e7f7b5163f657409fc198e1ff4adee0053ab8f06d/1build-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "ded7a48f6d6fe0a52f6812c51e7c609e", "sha256": "e34acc501f048e64a2178585baef0b6644711176a6e02fcf86b10fec3ca40ac3" }, "downloads": -1, "filename": "1build-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ded7a48f6d6fe0a52f6812c51e7c609e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4779, "upload_time": "2019-05-13T19:56:19", "url": "https://files.pythonhosted.org/packages/99/1e/0fef8972978ae8ba459c844f02dac7c8b1ad52ad7737b7db165cb99737ce/1build-0.0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "210fdfb01c67ade5a445e52d28dc004e", "sha256": "9a062d323a93d4b71958b0705aa513b4ed5798b83c873effcf392183d62e9e1b" }, "downloads": -1, "filename": "1build-0.0.3.tar.gz", "has_sig": false, "md5_digest": "210fdfb01c67ade5a445e52d28dc004e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3958, "upload_time": "2019-05-13T19:56:21", "url": "https://files.pythonhosted.org/packages/ec/87/f4572d886ae38606f135c4a13e5f2a91589fb3dff83e597deb16f1a80872/1build-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "f5c67b5fed028d08171909709e9f9f2c", "sha256": "d49e85eb2fc4acf89ecc5987488534ab9ecaaeda91f7d90c8b32c8e84a57a151" }, "downloads": -1, "filename": "1build-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f5c67b5fed028d08171909709e9f9f2c", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4791, "upload_time": "2019-05-13T20:03:16", "url": "https://files.pythonhosted.org/packages/6d/68/dbee14cf73c1ccf8c65f8e1ef609805d0bd8bf63863cd1fd79188f4c967c/1build-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e265a0418cbf6b295c2f009fc23a5389", "sha256": "eea925ea97483c602483357f686ce282eab85859296c4aab7a0ec9c7ca00346c" }, "downloads": -1, "filename": "1build-0.0.4.tar.gz", "has_sig": false, "md5_digest": "e265a0418cbf6b295c2f009fc23a5389", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3976, "upload_time": "2019-05-13T20:03:18", "url": "https://files.pythonhosted.org/packages/fc/0a/060f1c61252391e0f152c4c837bc4ba4ca01f3d6481ecbd5f415bd326d1f/1build-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "0905f2d70d7551848ae853d5c4024e99", "sha256": "76d66448d200d69d3702876457cce4d6433f701ac5cc1dc8bf176a0cca49c88e" }, "downloads": -1, "filename": "1build-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "0905f2d70d7551848ae853d5c4024e99", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6972, "upload_time": "2019-05-27T14:20:51", "url": "https://files.pythonhosted.org/packages/f2/80/c3c7e3b46d992762e7872047b8172a2985750d5b81ad9d572577e1904ec1/1build-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8a04b5026d29c5a03ab9fec557a2a63d", "sha256": "7a5175f6077f07c15cb6f423116b3ec43830e6ee808d6f859ec362fa0edf5c24" }, "downloads": -1, "filename": "1build-0.0.5.tar.gz", "has_sig": false, "md5_digest": "8a04b5026d29c5a03ab9fec557a2a63d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4428, "upload_time": "2019-05-27T14:20:53", "url": "https://files.pythonhosted.org/packages/cf/b8/751f89571ffeae1ec519f47f293c16a6f6c0e785c25dbd3f2c3a6364c9a8/1build-0.0.5.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "a53399ea938289e7aac8057d733a44a6", "sha256": "de88ea847eecfcf3756143b884d9e1bcc34537888d49ea768548879ee0e83db9" }, "downloads": -1, "filename": "1build-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a53399ea938289e7aac8057d733a44a6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8019, "upload_time": "2019-06-06T09:51:46", "url": "https://files.pythonhosted.org/packages/3c/f7/219936ebe87668ac6576e8227c187ad7a20f7ae2d65f55fdeb4a1bbd458b/1build-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c5f907a7f3a2151ad92c96eb7592a50e", "sha256": "a109c83d6ac93d70f20c6c9a58f5fe6825d892c0908ad81ef2f97666e4d58e7f" }, "downloads": -1, "filename": "1build-1.0.0.tar.gz", "has_sig": false, "md5_digest": "c5f907a7f3a2151ad92c96eb7592a50e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5559, "upload_time": "2019-06-06T09:51:47", "url": "https://files.pythonhosted.org/packages/25/22/96852f700fd363ba8ea293268a65109d7d54ee0c1c95068e58d865b8f096/1build-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "596152a3bbe3a465d94128be9f839d80", "sha256": "966ffd647dc49181d4e17a827dad34089f985236faba8540b97041871a7a4777" }, "downloads": -1, "filename": "1build-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "596152a3bbe3a465d94128be9f839d80", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10975, "upload_time": "2019-06-21T13:26:53", "url": "https://files.pythonhosted.org/packages/a2/3d/5bbc47a624b23e5b4c90d8f74e99ebb7f40849dbe612dc073bcfbe1fe250/1build-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba61db33a10a2dea54011f3241a25fd6", "sha256": "7fd44094e5d3b342fb0588a708e7e8f14281eb92a6215f62a9cd1d7f2669e401" }, "downloads": -1, "filename": "1build-1.1.0.tar.gz", "has_sig": false, "md5_digest": "ba61db33a10a2dea54011f3241a25fd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6579, "upload_time": "2019-06-21T13:26:54", "url": "https://files.pythonhosted.org/packages/65/dd/4fb56687487ca1362fcbc9c594f0dc45163b2b78c2024fa4841ac3df78a8/1build-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "ee7f4f3fafc6f3fea9a029e5be1cb506", "sha256": "ad795083042bc0a6e6b199fab16d68d9b749049a8e84542202690ea3faddc6bd" }, "downloads": -1, "filename": "1build-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ee7f4f3fafc6f3fea9a029e5be1cb506", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11101, "upload_time": "2019-07-28T12:58:36", "url": "https://files.pythonhosted.org/packages/a7/9a/43232eb7a3c492de277f3a20835ef90706a03cb7ed4fb15d6fc8d09e7e38/1build-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5737da80d119be9236b503a4d19d3a00", "sha256": "2a77c2012eb31a61e8ff68113623c7c01c45755d545bd684943b242f4981e41b" }, "downloads": -1, "filename": "1build-1.1.1.tar.gz", "has_sig": false, "md5_digest": "5737da80d119be9236b503a4d19d3a00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6662, "upload_time": "2019-07-28T12:58:38", "url": "https://files.pythonhosted.org/packages/7e/7c/75421f1a5eddcc7114bfc27831e693ce2449275d1481c4abb668e424de94/1build-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ee7f4f3fafc6f3fea9a029e5be1cb506", "sha256": "ad795083042bc0a6e6b199fab16d68d9b749049a8e84542202690ea3faddc6bd" }, "downloads": -1, "filename": "1build-1.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ee7f4f3fafc6f3fea9a029e5be1cb506", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11101, "upload_time": "2019-07-28T12:58:36", "url": "https://files.pythonhosted.org/packages/a7/9a/43232eb7a3c492de277f3a20835ef90706a03cb7ed4fb15d6fc8d09e7e38/1build-1.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5737da80d119be9236b503a4d19d3a00", "sha256": "2a77c2012eb31a61e8ff68113623c7c01c45755d545bd684943b242f4981e41b" }, "downloads": -1, "filename": "1build-1.1.1.tar.gz", "has_sig": false, "md5_digest": "5737da80d119be9236b503a4d19d3a00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6662, "upload_time": "2019-07-28T12:58:38", "url": "https://files.pythonhosted.org/packages/7e/7c/75421f1a5eddcc7114bfc27831e693ce2449275d1481c4abb668e424de94/1build-1.1.1.tar.gz" } ] }