Backport of the Python 3.9 graphlib module for Python 3.6+
Project description
graphlib backport
Backport of the Python 3.9 graphlib module for older Python versions.
Github: https://github.com/mariushelf/graphlib_backport
Supported versions
This backport currently support Python 3.6, 3.7, 3.8, 3.9 and and pypy3 (tested with pypy3.6).
Installation
pip install graphlib_backport
Usage
The package works the very same way as the original package. Here's the documentation.
Development
The sourcecode is hosted on github. To develop on this package, just clone it, work on it and submit a pull request.
Dev requirements
For testing against different Python versions, tox is required.
To download the latest original sourcecode into the repository, there is a make target:
make download_sourcecode
Warning: This overwrites the code in this repo. By default it uses the tag v3.9.0
,
but you can overwrite that with a tag
environment variable.
Running tests
As simple as running tox
on the command line.
The executables for all python versions must be in the path, e.g,
python3.6
, ..., python3.9
, pypy3
.
You can install them with pyenv.
Publishing a new version
Update the version in the pyproject.toml and run make publish
to build and upload
the package ti PyPI.
Thanks
I did not create this code -- I only repackaged it so it can be pip-installed into older versions of Python.
So all thanks go to the original contributors of the original sourcecode.
License
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
Built Distribution
File details
Details for the file graphlib_backport-1.0.3.tar.gz
.
File metadata
- Download URL: graphlib_backport-1.0.3.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bb8fc7757b8ae4e6d8000a26cd49e9232aaa9a3aa57edb478474b8424bfaae2 |
|
MD5 | 41cb24befd343505ba36616f2a84a487 |
|
BLAKE2b-256 | 4a759bf2356176a3f57037d70710b1d9148e51aad9ff3e5e97eafb338893d985 |
File details
Details for the file graphlib_backport-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: graphlib_backport-1.0.3-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24246967b9e7e6a91550bc770e6169585d35aa32790258579a8a3899a8c18fde |
|
MD5 | 81a93a47ba3d4672448cc46e5d31436e |
|
BLAKE2b-256 | b02ad77491343f72546943dd79974133a5261b9bc12a80806c34f51a058c0732 |