A library that explores dependencies from a given module or namespace in a local Python environment, then classifies these dependencies.
Project description
A library that explores dependencies from a given namespace in a local Python environment, then classifies these dependencies.
The library was isolated from the LZY project's codebase to ensure reusability and reduce the difficulty of dependency management.
If you are interested in using our library, please contact us via Github Issues.
Brief example
In [1]: from envzy import AutoExplorer
In [2]: explorer = AutoExplorer(pypi_index_url='https://pypi.org/simple', additional_pypi_packages={}, target_python=(3, 9))
In [3]: namespace = {'foo': AutoExplorer}
In [4]: explorer.get_local_module_paths(namespace)
Out[4]: ['/home/lipkin/repos/envzy/envzy']
In [5]: explorer.get_pypi_packages(namespace)
Out[5]:
{'mailbits': '0.2.1',
'urllib3': '2.0.7',
'charset-normalizer': '3.3.1',
'certifi': '2023.7.22',
'pydantic_core': '2.10.1',
'packaging': '23.2',
'soupsieve': '2.5',
'importlib-metadata': '6.8.0',
'pypi-simple': '1.2.0',
'annotated-types': '0.6.0',
'idna': '3.4',
'zipp': '3.17.0',
'attrs': '23.1.0',
'beautifulsoup4': '4.12.2',
'pydantic': '2.4.2',
'typing_extensions': '4.8.0',
'requests': '2.31.0'}
Development
poetry install
for installing project in dev-mode with all of it dependencies.poetry publish --build
for publishing package to PyPI.tox
for run tests.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
envzy-0.3.1.tar.gz
(17.0 kB
view details)
Built Distribution
envzy-0.3.1-py3-none-any.whl
(20.3 kB
view details)
File details
Details for the file envzy-0.3.1.tar.gz
.
File metadata
- Download URL: envzy-0.3.1.tar.gz
- Upload date:
- Size: 17.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.13 Linux/6.5.0-26-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fcfd0ff3a98c41d45ed00e645313b600a86e25905f9600cd6b6c853025f44af8 |
|
MD5 | 16c399a7a7d8c9a2490e47e6ea55ec5e |
|
BLAKE2b-256 | c9ea4dcc893685507eb30609d43b615bcae06b38cc3ea428a89f2c00e546be51 |
File details
Details for the file envzy-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: envzy-0.3.1-py3-none-any.whl
- Upload date:
- Size: 20.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.10.13 Linux/6.5.0-26-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e23d858f7370a0c59ad3db68f4097bebc918d57019f4e1ba1a6ff5fb2a28b096 |
|
MD5 | 76e64eac1842f6be43b0d1b5a4464632 |
|
BLAKE2b-256 | 7789ec2e54458496bd8dab3886ef38be29d7bf9fc3a6df86aacb8328e532d31d |