Name | dlister JSON |
Version |
1.3.0
JSON |
| download |
home_page | None |
Summary | Print dependencies and optional dependencies from pyproject.toml files. |
upload_time | 2024-11-29 20:34:20 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | None |
keywords |
building
maintenance
utility
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
.. Copyright (c) 2024, Janus Heide.
.. All rights reserved.
..
.. Distributed under the "BSD 3-Clause License", see LICENSE.rst.
Dlister
=======
.. image:: https://github.com/janusheide/dlister/actions/workflows/unittests.yml/badge.svg
:target: https://github.com/janusheide/dlister/actions/workflows/unittests.yml
:alt: Unit tests
.. image:: https://img.shields.io/pypi/pyversions/dlister
:alt: PyPI - Python Version
.. image:: https://img.shields.io/librariesio/github/janusheide/dlister
:alt: Libraries.io dependency status for GitHub repo
Print or save to a file, dependencies in a pyproject.toml file based on defined
match operators. This is similar to a dependency 'freeze' but with added
configurability.
This can be useful for finding and testing with the oldest versions of the
dependencies for which support is declared in pyproject.toml.
Getting Started
---------------
Install and run::
pip install dlister
dlister --help
usage: dlister [-h]
[-i INFILE]
[-o OUTPUT]
[-m [{<,<=,==,>=,>,~=} ...]]
[--skip [SKIP ...]]
[--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
[--log-file LOG_FILE]
[-v]
[dependencies ...]
Print Python Project Dependencies.
positional arguments:
dependencies path(s) to input file(s) (default: [])
options:
-h, --help show this help message and exit
-i INFILE, --infile INFILE
path(s) to input file(s) (default: pyproject.toml)
-o OUTPUT, --output OUTPUT
output file. (default: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)
-m [{<,<=,==,>=,>,~=} ...], --match-operators [{<,<=,==,>=,>,~=} ...]
operators to upgrade. (default: ['==', '>='])
--skip [SKIP ...] dependencies to skip. (default: [])
--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}
logging level. (default: WARNING)
--log-file LOG_FILE pipe loggining to file instead of stdout. (default: None)
-v, --version show program's version number and exit
Usage
-----
Run::
dlister
packaging==22.0
tomli==2.0.0; python_version < "3.11"
dlister -m "<=" "=="
packaging==24.1
tomli==2.0.2; python_version < "3.11"
dlister test
packaging==22.0
tomli==2.0.0; python_version < "3.11"
brundle==1.1.0
isort==5.13.2
mypy==1.13.0
ruff==0.7.1
pytest==8.3.3
pytest-cov==5.0.0
dlister "*"
packaging==22.0
tomli==2.0.0; python_version < "3.11"
brundle==1.1.0
isort==5.13.2
mypy==1.13.0
ruff==0.7.1
pytest==8.3.3
pytest-cov==5.0.0
bouillon==2.6.0
build==1.2.2.post1
licensecheck==2024.3
uppd==1.3.0
twine==5.1.1
dlister test -o requirements.old
Development
-----------
Setup, run tests and release::
pip install .[dev]
brundle
pytest
bouillon release 1.2.3
Raw data
{
"_id": null,
"home_page": null,
"name": "dlister",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "building, maintenance, utility",
"author": null,
"author_email": "Janus Heide <janusheide@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/69/b0/2f732d483a51cec905f5ac1674770cda80d0551a6c9eb4c69f11b4ff5ba6/dlister-1.3.0.tar.gz",
"platform": null,
"description": ".. Copyright (c) 2024, Janus Heide.\n.. All rights reserved.\n..\n.. Distributed under the \"BSD 3-Clause License\", see LICENSE.rst.\n\nDlister\n=======\n\n.. image:: https://github.com/janusheide/dlister/actions/workflows/unittests.yml/badge.svg\n :target: https://github.com/janusheide/dlister/actions/workflows/unittests.yml\n :alt: Unit tests\n\n.. image:: https://img.shields.io/pypi/pyversions/dlister\n :alt: PyPI - Python Version\n\n.. image:: https://img.shields.io/librariesio/github/janusheide/dlister\n :alt: Libraries.io dependency status for GitHub repo\n\n\nPrint or save to a file, dependencies in a pyproject.toml file based on defined\nmatch operators. This is similar to a dependency 'freeze' but with added\nconfigurability.\n\nThis can be useful for finding and testing with the oldest versions of the\ndependencies for which support is declared in pyproject.toml.\n\n\nGetting Started\n---------------\n\nInstall and run::\n\n pip install dlister\n dlister --help\n\n\n usage: dlister [-h]\n [-i INFILE]\n [-o OUTPUT]\n [-m [{<,<=,==,>=,>,~=} ...]]\n [--skip [SKIP ...]]\n [--log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]\n [--log-file LOG_FILE]\n [-v]\n [dependencies ...]\n\n Print Python Project Dependencies.\n\n positional arguments:\n dependencies path(s) to input file(s) (default: [])\n\n options:\n -h, --help show this help message and exit\n -i INFILE, --infile INFILE\n path(s) to input file(s) (default: pyproject.toml)\n -o OUTPUT, --output OUTPUT\n output file. (default: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)\n -m [{<,<=,==,>=,>,~=} ...], --match-operators [{<,<=,==,>=,>,~=} ...]\n operators to upgrade. (default: ['==', '>='])\n --skip [SKIP ...] dependencies to skip. (default: [])\n --log-level {DEBUG,INFO,WARNING,ERROR,CRITICAL}\n logging level. (default: WARNING)\n --log-file LOG_FILE pipe loggining to file instead of stdout. (default: None)\n -v, --version show program's version number and exit\n\n\nUsage\n-----\n\nRun::\n\n dlister\n packaging==22.0\n tomli==2.0.0; python_version < \"3.11\"\n\n dlister -m \"<=\" \"==\"\n packaging==24.1\n tomli==2.0.2; python_version < \"3.11\"\n\n dlister test\n packaging==22.0\n tomli==2.0.0; python_version < \"3.11\"\n brundle==1.1.0\n isort==5.13.2\n mypy==1.13.0\n ruff==0.7.1\n pytest==8.3.3\n pytest-cov==5.0.0\n\n dlister \"*\"\n packaging==22.0\n tomli==2.0.0; python_version < \"3.11\"\n brundle==1.1.0\n isort==5.13.2\n mypy==1.13.0\n ruff==0.7.1\n pytest==8.3.3\n pytest-cov==5.0.0\n bouillon==2.6.0\n build==1.2.2.post1\n licensecheck==2024.3\n uppd==1.3.0\n twine==5.1.1\n\n dlister test -o requirements.old\n\n\nDevelopment\n-----------\n\nSetup, run tests and release::\n\n pip install .[dev]\n brundle\n pytest\n bouillon release 1.2.3\n",
"bugtrack_url": null,
"license": null,
"summary": "Print dependencies and optional dependencies from pyproject.toml files.",
"version": "1.3.0",
"project_urls": {
"Changelog": "https://github.com/janusheide/dlister/blob/main/NEWS.rst",
"Homepage": "https://github.com/janusheide/dlister",
"Repository": "https://github.com/janusheide/dlister"
},
"split_keywords": [
"building",
" maintenance",
" utility"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "599e906e3a6bac0761b24b5d2025aab3f56823c991a2722f9e1dc9d4626960ee",
"md5": "3ea9544bb942b1f44a37ecb444eea51f",
"sha256": "7f3b69fa0e8d56a05ed66a94920f9424a8bbe9df43a7a6adb723a63913b30156"
},
"downloads": -1,
"filename": "dlister-1.3.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3ea9544bb942b1f44a37ecb444eea51f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 5955,
"upload_time": "2024-11-29T20:34:11",
"upload_time_iso_8601": "2024-11-29T20:34:11.169176Z",
"url": "https://files.pythonhosted.org/packages/59/9e/906e3a6bac0761b24b5d2025aab3f56823c991a2722f9e1dc9d4626960ee/dlister-1.3.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "69b02f732d483a51cec905f5ac1674770cda80d0551a6c9eb4c69f11b4ff5ba6",
"md5": "9ac521b37bc324bae8f8be6378d3873c",
"sha256": "c612d4ce183c27d804298ebcd6ed9573d16d9b949a5812838f5eeda336bf52f5"
},
"downloads": -1,
"filename": "dlister-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "9ac521b37bc324bae8f8be6378d3873c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 7292,
"upload_time": "2024-11-29T20:34:20",
"upload_time_iso_8601": "2024-11-29T20:34:20.528937Z",
"url": "https://files.pythonhosted.org/packages/69/b0/2f732d483a51cec905f5ac1674770cda80d0551a6c9eb4c69f11b4ff5ba6/dlister-1.3.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-29 20:34:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "janusheide",
"github_project": "dlister",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "dlister"
}