https://github.com/likianta/poetry-extensions
Selfmade enhancement utils for Python Poetry package management.
https://github.com/likianta/poetry-extensions
Last synced: 3 months ago
JSON representation
Selfmade enhancement utils for Python Poetry package management.
- Host: GitHub
- URL: https://github.com/likianta/poetry-extensions
- Owner: likianta
- Created: 2024-01-03T07:01:43.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-12T01:04:25.000Z (about 1 year ago)
- Last Synced: 2025-02-08T05:26:23.349Z (8 months ago)
- Language: Python
- Size: 247 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Poetry Extensions
## Export "requirements.lock"
```shell
py poetry_extensions/requirements_lock.py -h
py poetry_extensions/requirements_lock.py
py poetry_extensions/requirements_lock.py -f
```The generated file compares to `poetry export ...`:
```shell
# 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/simplealiyun-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"
``````shell
# py poetry_extensions/requirements_lock.py -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.proaliyun-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"
```