{ "info": { "author": "Marc Abramowitz", "author_email": "marc@marc-abramowitz.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Testing" ], "description": "panci\n==========\n\n.. image:: https://secure.travis-ci.org/msabramo/python-panci.png\n :target: http://travis-ci.org/msabramo/python-panci\n\nFor a Python project, take a ``.travis.yml`` file (`Travis CI`_) and output a\n``tox.ini`` file (`Tox`_). Or vice-versa.\n\nWhy the name?\n-------------\n\nThe name \"panci\" is an homage to `John MacFarlane`_'s excellent `pandoc`_.\nI've replaced the \"doc\" with \"ci\"; \"CI\" stands for Continuous Integration, a broad term for what `Travis CI`_ and `Tox`_ help you with.\n\nInstalling\n----------\n\nWith pip::\n\n pip install panci\n\nExample\n-------\n\nTravis to Tox\n~~~~~~~~~~~~~\n\nLet's say that we have the following ``.travis.yml``:\n\n.. code-block:: yaml\n\n language: python\n\n python:\n - 2.6\n - 2.7\n - 3.2\n - pypy\n\n script: python setup.py test\n\nIf we run::\n\n panci --to=tox .travis.yml\n\nThen we get:\n\n.. code-block:: ini\n\n # Tox (http://tox.testrun.org/) is a tool for running tests\n # in multiple virtualenvs. This configuration file will run the\n # test suite on all supported python versions. To use it, \"pip install tox\"\n # and then run \"tox\" from this directory.\n\n [tox]\n envlist = py26, py27, py32, pypy\n\n [testenv]\n commands = python setup.py test\n\nTox to Travis\n~~~~~~~~~~~~~\n\nLet's say that we have the following ``tox.ini``:\n\n.. code-block:: ini\n\n [tox]\n envlist = py26, py27, py33, pypy\n\n [testenv]\n commands = py.test\n deps = pytest\n\nIf we run::\n\n\tpanci tox.ini\n\nThen we get:\n\n.. code-block:: yaml\n\n language: python\n env:\n - TOXENV=py26\n - TOXENV=py27\n - TOXENV=py33\n - TOXENV=pypy\n install:\n - travis_retry pip install tox==1.6.1\n script:\n - travis_retry tox\n\n\npanci-tox-quickstart\n~~~~~~~~~~~~~~~~~~~~\n\nIf we run::\n\n panci-tox-quickstart\n\nThen you are asked some questions::\n\n This utility will ask you a few questions and then generate a simple tox.ini\n file to help get you started using tox.\n\n Please enter values for the following settings (just press Enter to\n accept a default value, if one is given in brackets).\n\n > Test your project with py24 (Y/n) [Y]: n\n > Test your project with py25 (Y/n) [Y]: n\n > Test your project with py26 (Y/n) [Y]:\n > Test your project with py27 (Y/n) [Y]:\n > Test your project with py30 (Y/n) [Y]:\n > Test your project with py31 (Y/n) [Y]:\n > Test your project with py32 (Y/n) [Y]:\n > Test your project with py33 (Y/n) [Y]:\n > Test your project with pypy (Y/n) [Y]:\n > Test your project with jython (Y/n) [Y]: n\n\n What command should be used to test your project -- examples:\n - python setup.py test\n - nosetests package.module\n - trial package.module\n > Command to run to test project [{envpython} setup.py test]:\n\n What dependencies does your project have?\n > Comma-separated list of dependencies [ ]: requests,nose\n\n Creating file tox.ini.\n\n Finished: A tox.ini file has been created.\n\n Execute `tox` to test your project.\n\nAnd then a ``tox.ini`` file is spit out with:\n\n.. code-block:: ini\n\n # Tox (http://tox.testrun.org/) is a tool for running tests\n # in multiple virtualenvs. This configuration file will run the\n # test suite on all supported python versions. To use it, \"pip install tox\"\n # and then run \"tox\" from this directory.\n\n [tox]\n envlist = py26, py27, py30, py31, py32, py33, pypy\n\n [testenv]\n commands = {envpython} setup.py test\n deps =\n requests\n nose\n\nNote about ``panci-tox-quickstart``: I am also working longer-term on getting a\n``tox-quickstart`` command merged into tox. See `this pull request\n`_.\n\n\nMiscellaneous related stuff\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n* `buildbot_travis`_ -- allows `Buildbot`_ to consume a ``.travis.yml`` file.\n\n\nSupport\n~~~~~~~\n\nFor questions, comments, and suggestions, please use `GitHub Issues`_.\n\n.. _John MacFarlane: http://johnmacfarlane.net/\n.. _pandoc: http://johnmacfarlane.net/pandoc/\n.. _Travis CI: http://travis-ci.org/\n.. _Tox: http://tox.testrun.org/\n.. _GitHub Issues: https://github.com/msabramo/python-panci/issues\n.. _buildbot_travis: https://github.com/Jc2k/buildbot_travis\n.. _Buildbot: http://buildbot.net/\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/msabramo/python-panci", "keywords": "tox,travis,continuous integration,CI", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "panci", "package_url": "https://pypi.org/project/panci/", "platform": "", "project_url": "https://pypi.org/project/panci/", "project_urls": { "Homepage": "https://github.com/msabramo/python-panci" }, "release_url": "https://pypi.org/project/panci/0.0.2/", "requires_dist": [ "PyYAML" ], "requires_python": "", "summary": "Convert between Travis-CI `.travis.yml` files and Tox `tox.ini` files", "version": "0.0.2" }, "last_serial": 5674902, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "55a6923f9f0da9079d09ff0efe8ce99b", "sha256": "1fa7267647d1dc0f91b61d40b5a9c009a6755e5ece56bbcaa52306c9225db30b" }, "downloads": -1, "filename": "panci-0.0.0.tar.gz", "has_sig": false, "md5_digest": "55a6923f9f0da9079d09ff0efe8ce99b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8694, "upload_time": "2012-11-30T03:20:57", "url": "https://files.pythonhosted.org/packages/dc/20/9a49270f7dafca65fb02b092d04f163045f9b55a638556e8eba47ffed8ec/panci-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "b043e8d6f215b3229aa6d78c222e3913", "sha256": "4d73278e07795267d33f51dea62a98d7439ccede5c0b823869cbec9f023743f0" }, "downloads": -1, "filename": "panci-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b043e8d6f215b3229aa6d78c222e3913", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 14048, "upload_time": "2017-02-18T01:07:26", "url": "https://files.pythonhosted.org/packages/ee/4f/1b66d71060941d18dab82e5fae55a0e508c6006913c9e2c0c21ff578d219/panci-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9a4613a07533cc5fb08d79baca501816", "sha256": "4288eb09d6a9dc0eeedcf42acb8d14a4824dd91025cb30871ec88393df101833" }, "downloads": -1, "filename": "panci-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9a4613a07533cc5fb08d79baca501816", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8926, "upload_time": "2017-02-18T01:06:12", "url": "https://files.pythonhosted.org/packages/e5/b3/d7cecdd7d94d542437e0fb3dad0412ba241a7dd2190f6101f95de3622146/panci-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a3ebcb2b9d4e5d63fe0b2c0ff96cd585", "sha256": "62b6b7ba5a8219e385280e2f8dfb63474c61030d301da352f23a707dbf5456d6" }, "downloads": -1, "filename": "panci-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a3ebcb2b9d4e5d63fe0b2c0ff96cd585", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12373, "upload_time": "2019-08-14T05:45:56", "url": "https://files.pythonhosted.org/packages/f5/57/5e634fa003be9ac93d027196564ccf2e4afc3d69143bd6c23c11d7419784/panci-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "53ff77ddc84863153e01c64f47589d66", "sha256": "daab1afa3be2273ffd9bdae0750326cafa0ecaebfe75c6670880f3921383c244" }, "downloads": -1, "filename": "panci-0.0.2.tar.gz", "has_sig": false, "md5_digest": "53ff77ddc84863153e01c64f47589d66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10255, "upload_time": "2019-08-14T05:45:57", "url": "https://files.pythonhosted.org/packages/1b/fd/4a8f02b77810ccebb4ced186883613293a1b8a1a28fd0da52bbf161cd5ac/panci-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a3ebcb2b9d4e5d63fe0b2c0ff96cd585", "sha256": "62b6b7ba5a8219e385280e2f8dfb63474c61030d301da352f23a707dbf5456d6" }, "downloads": -1, "filename": "panci-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a3ebcb2b9d4e5d63fe0b2c0ff96cd585", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12373, "upload_time": "2019-08-14T05:45:56", "url": "https://files.pythonhosted.org/packages/f5/57/5e634fa003be9ac93d027196564ccf2e4afc3d69143bd6c23c11d7419784/panci-0.0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "53ff77ddc84863153e01c64f47589d66", "sha256": "daab1afa3be2273ffd9bdae0750326cafa0ecaebfe75c6670880f3921383c244" }, "downloads": -1, "filename": "panci-0.0.2.tar.gz", "has_sig": false, "md5_digest": "53ff77ddc84863153e01c64f47589d66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10255, "upload_time": "2019-08-14T05:45:57", "url": "https://files.pythonhosted.org/packages/1b/fd/4a8f02b77810ccebb4ced186883613293a1b8a1a28fd0da52bbf161cd5ac/panci-0.0.2.tar.gz" } ] }