Metadata-Version: 2.1
Name: poetry-lock-package
Version: 0.0.1
Summary: Poetry lock package generator
Home-page: https://github.com/bneijt/poetry-lock-package
License: GPLv3
Author: Bram Neijt
Author-email: bram@neijt.nl
Requires-Python: >=3.6,<4.0
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: click (>=7.1.2,<8.0.0)
Requires-Dist: importlib-metadata (>=3.10.0,<4.0.0); python_version < "3.8"
Requires-Dist: loguru (>=0.5.3,<0.6.0)
Requires-Dist: toml (>=0.10.2,<0.11.0)
Project-URL: Repository, https://github.com/bneijt/poetry-lock-package
Description-Content-Type: text/markdown

Poetry lock package generator
=========================


Simple script that will take a `pyproject.toml` and a `poetry.lock` and generate a new poetry project where all the lock versions are pinned dependencies.

In theory this will allow you to transport your lock file to any system that is able to install python packages and dependencies.

After installation, the command `poetry-lock-package` should be run next to your `pyproject.toml` and `poetry.lock` files and will generate a subdirectory with a `pyproject.toml` requiring all the dependencies of the lock file.

Simply enter the subdirectory, build and publish the package and you have a '-lock' package that depends on all the exact versions from your lock file.


Example worflow
---------------

Simply put, the workflow is as follows

    pip install poetry poetry-lock-package
    poetry new example-package
    cd example-package
    poetry add loguru
    poetry-lock-package
    cd example-package-lock
    cat pyproject.toml
    poetry install

License
-------
GPLv3, use at your own risk.


