pip-compile-universal


Namepip-compile-universal JSON
Version 0.0.7 PyPI version JSON
download
home_pageNone
SummaryCompile requirements.in using pip-tools for multiple python versions
upload_time2024-06-30 14:03:41
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseMIT
keywords pip-tools
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ==================================================================
Compile with pip-tools for multiple python versions in single file
==================================================================

This package allows to compile ``requirements.in`` file to single
``requirements.txt`` output with support for multiple python versions
simultaneously.

Install
-------

.. code:: bash

	pip install pip-compile-universal

Usage
-----

Call this command with required python versions, first input file and rest
arguments forwarded to pip-tools.

.. code:: bash

	pip_compile_universal 3.8,3.9,3.10,3.11 requirements.in [other pip-tools arguments]

How it works
------------

This command creates virtualenvs in home directory (``~/.virtualenvs``). Then it
will compile requirements for each python version and merge to single
``requirements.txt`` file.

Example
-------


``requirements.in``:

.. code::

	workalendar


.. code:: bash

	pip_compile_universal 3.7,3.8,3.9,3.10,3.11 requirements.in

``requirements.txt``:

.. code::

	backports-zoneinfo==0.2.1 ; python_version < "3.9"
	    # via workalendar
	convertdate==2.4.0
	    # via workalendar
	importlib-metadata==6.0.0 ; python_version < "3.8"
	    # via workalendar
	lunardate==0.2.0
	    # via workalendar
	pyluach==2.0.2
	    # via workalendar
	pymeeus==0.5.12
	    # via convertdate
	python-dateutil==2.8.2
	    # via workalendar
	six==1.16.0
	    # via python-dateutil
	typing-extensions==4.4.0 ; python_version < "3.8"
	    # via importlib-metadata
	workalendar==17.0.0
	    # via -r build/requirements.in
	zipp==3.12.0 ; python_version < "3.8"
	    # via importlib-metadata

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pip-compile-universal",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "pip-tools",
    "author": null,
    "author_email": "Miroslav Bend\u00edk <miroslav.bendik@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/55/7a/fa34d2c5c74579cdddd0413d4368b8b7f7bd4ff4be4773240bbb9eea9e77/pip_compile_universal-0.0.7.tar.gz",
    "platform": null,
    "description": "==================================================================\nCompile with pip-tools for multiple python versions in single file\n==================================================================\n\nThis package allows to compile ``requirements.in`` file to single\n``requirements.txt`` output with support for multiple python versions\nsimultaneously.\n\nInstall\n-------\n\n.. code:: bash\n\n\tpip install pip-compile-universal\n\nUsage\n-----\n\nCall this command with required python versions, first input file and rest\narguments forwarded to pip-tools.\n\n.. code:: bash\n\n\tpip_compile_universal 3.8,3.9,3.10,3.11 requirements.in [other pip-tools arguments]\n\nHow it works\n------------\n\nThis command creates virtualenvs in home directory (``~/.virtualenvs``). Then it\nwill compile requirements for each python version and merge to single\n``requirements.txt`` file.\n\nExample\n-------\n\n\n``requirements.in``:\n\n.. code::\n\n\tworkalendar\n\n\n.. code:: bash\n\n\tpip_compile_universal 3.7,3.8,3.9,3.10,3.11 requirements.in\n\n``requirements.txt``:\n\n.. code::\n\n\tbackports-zoneinfo==0.2.1 ; python_version < \"3.9\"\n\t    # via workalendar\n\tconvertdate==2.4.0\n\t    # via workalendar\n\timportlib-metadata==6.0.0 ; python_version < \"3.8\"\n\t    # via workalendar\n\tlunardate==0.2.0\n\t    # via workalendar\n\tpyluach==2.0.2\n\t    # via workalendar\n\tpymeeus==0.5.12\n\t    # via convertdate\n\tpython-dateutil==2.8.2\n\t    # via workalendar\n\tsix==1.16.0\n\t    # via python-dateutil\n\ttyping-extensions==4.4.0 ; python_version < \"3.8\"\n\t    # via importlib-metadata\n\tworkalendar==17.0.0\n\t    # via -r build/requirements.in\n\tzipp==3.12.0 ; python_version < \"3.8\"\n\t    # via importlib-metadata\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Compile requirements.in using pip-tools for multiple python versions",
    "version": "0.0.7",
    "project_urls": {
        "changelog": "https://github.com/mireq/pip-compile-universal/blob/master/CHANGELOG.md",
        "documentation": "https://github.com/mireq/pip-compile-universal",
        "homepage": "https://github.com/mireq/pip-compile-universal",
        "repository": "https://github.com/mireq/pip-compile-universal"
    },
    "split_keywords": [
        "pip-tools"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "105a7462393c17b2c09d91be56705463ef54fa12ca69a6d76b3495dbab473e30",
                "md5": "994b1a29810ea873db809375d9a9b035",
                "sha256": "675347c80cfb826773a165b88a8e34176292919bc379add8ab5a1408f68d47bd"
            },
            "downloads": -1,
            "filename": "pip_compile_universal-0.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "994b1a29810ea873db809375d9a9b035",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 9176,
            "upload_time": "2024-06-30T14:03:39",
            "upload_time_iso_8601": "2024-06-30T14:03:39.997128Z",
            "url": "https://files.pythonhosted.org/packages/10/5a/7462393c17b2c09d91be56705463ef54fa12ca69a6d76b3495dbab473e30/pip_compile_universal-0.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "557afa34d2c5c74579cdddd0413d4368b8b7f7bd4ff4be4773240bbb9eea9e77",
                "md5": "0b0140a3f211dcb1072efe2cd35d19e0",
                "sha256": "344cc3472e34307f9a3ef4b9adace4d7887643a34f0bcac07f682340ac63f20a"
            },
            "downloads": -1,
            "filename": "pip_compile_universal-0.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "0b0140a3f211dcb1072efe2cd35d19e0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 10356,
            "upload_time": "2024-06-30T14:03:41",
            "upload_time_iso_8601": "2024-06-30T14:03:41.240214Z",
            "url": "https://files.pythonhosted.org/packages/55/7a/fa34d2c5c74579cdddd0413d4368b8b7f7bd4ff4be4773240bbb9eea9e77/pip_compile_universal-0.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-30 14:03:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mireq",
    "github_project": "pip-compile-universal",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pip-compile-universal"
}
        
Elapsed time: 1.05446s