A parser for Python dependency files
Project description
Dependency Parser
A parser for Python dependency files
Free software: MIT license
Documentation: https://dparse.readthedocs.io.
Supported Files
File |
parse |
update |
|---|---|---|
requirements.txt |
yes |
yes |
conda.yml |
yes |
yes |
tox.ini |
yes |
yes |
Pipfile |
no (# 1) |
no (# 1) |
Pifile.lock |
no (# 1) |
no (# 1) |
setup.py |
no (# 2) |
no (# 2) |
zc.bildout |
no (# 3) |
no (# 3) |
Installation
To install dparse, run:
$ pip install -e git+https://github.com/pyupio/dparse.git
Usage
To use dparse in a Python project:
from dparse import parse, filetypes content = """ -e common/lib/calc South==1.0.1 --hash==abcdefghijklmno pycrypto>=2.6 git+https://github.com/pmitros/pyfs.git@96e1922348bfe6d99201b9512a9ed946c87b7e0b distribute>=0.6.28, <0.7 # bogus comment -e . pdfminer==20140328 -r production/requirements.txt --requirement test.txt """ df = parse(content, filetype=filetypes.requirements_txt) print(df.json())
History
0.1.0 (2017-07-11)
Initial, not much to see here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dparse-0.1.0.tar.gz.
File metadata
- Download URL: dparse-0.1.0.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
191079b76727564a759495338b0abba64be5aa2a48b876cff6967321adcc2a9c
|
|
| MD5 |
b12088a0d4a010afd50b90f055ac3f4d
|
|
| BLAKE2b-256 |
3bf14db6b93683edb017ea1523ab2f7b0159420904daa2bdb77956ec47ae7a48
|
File details
Details for the file dparse-0.1.0-py2-none-any.whl.
File metadata
- Download URL: dparse-0.1.0-py2-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb08095336fc874cfb63d73615e268a48b2aceb5fa25f9c1cdb32eb5ca634b0b
|
|
| MD5 |
f8ede457a98883222d0f005950392295
|
|
| BLAKE2b-256 |
0a6b2481b66ce4dd346a64355d683004cd67aec18625135950371eda0796e701
|