Skip to content

Selfmade enhancement utils for Python Poetry package management.

Notifications You must be signed in to change notification settings

likianta/poetry-extensions

Repository files navigation

Poetry Extensions

Export "requirements.lock"

py poetry_extensions/requirements_lock.py -h
py poetry_extensions/requirements_lock.py <target_dir>
py poetry_extensions/requirements_lock.py <target_dir> -f

The generated file compares to poetry export ...:

# poetry export -o requirements.txt --without-hashes
--trusted-host likianta.pro:2006
--extra-index-url http://likianta.pro:2006
--index-url https://pypi.tuna.tsinghua.edu.cn/simple

aliyun-python-sdk-core==2.14.0 ; python_version >= "3.10" and python_version < "4.0"

# argsense from custom index
argsense==0.5.6a0 ; python_version >= "3.10" and python_version < "4.0"

# `cachecontrol[filecache]` has extra of `filelock`
cachecontrol[filecache]==0.13.1 ; python_version >= "3.10" and python_version < "4.0"
filelock==3.13.1 ; python_version >= "3.10" and python_version < "4.0"

# `markdown-it-py` has extra of `linkify` and `plugins`
markdown-it-py==3.0.0 ; python_version >= "3.10" and python_version < "4.0"
markdown-it-py[linkify,plugins]==3.0.0 ; python_version >= "3.10" and python_version < "4.0"

xattr==0.10.1 ; python_version >= "3.10" and python_version < "4.0" and sys_platform == "darwin"
# py poetry_extensions/requirements_lock.py <depsland_project> -f

# this file was auto generated by `poetry_extensions/requirements_lock.py`
# file was updated at 2024-01-03 14:54:34
# use `pip` command to install: 
#   pip install -r requirements.lock --no-deps

--index-url https://pypi.tuna.tsinghua.edu.cn/simple
--extra-index-url http://likianta.pro:2006
--trusted-host likianta.pro

aliyun-python-sdk-core==2.14.0
argsense @ http://likianta.pro:2006/argsense/argsense-0.5.6a0-py3-none-any.whl
cachecontrol==0.13.1
filelock==3.13.1
markdown-it-py==3.0.0
xattr==0.10.1 ; sys_platform == "darwin"

About

Selfmade enhancement utils for Python Poetry package management.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages