Gitdraw
A simple tool for generating git graphs from a set of git commands
Getting Started
Installing
Either clone directly from the repo or install using pip
pip install gitdraw
Running the tests
The project tests are run with pytest automatically in pipelines. To run
them manually find the pytest script command in .gitlab-ci.yml
and run it from the root of the repository.
pytest:
stage: Test
script:
- <this command>
Running the tool
The tool is run using python3.7. For help text use:
python3.7 -m gitdraw.__main__ -h
It takes a single input file containing a list of git commands and outputs a SVG representation
python3.7 -m gitdraw.__main__ -i infile
The tool currently supports the following commands:
git checkout <branch>git commitgit branch <branch>git merge <branch>
Built With
See requirements.txt for the full details of external packages. A number are used just for testing so won't be required if you don't intend to run the tests
Examples
There are a number of autogenerated examples that can be viewed here along with their source text.
Metadata
Release files for gitdraw 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gitdraw-1.0.6.tar.gz | 10.1 kB | Without provenance | Details for gitdraw-1.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gitdraw-1.0.6-py3-none-any.whl | Python 3 | none | any | Details for gitdraw-1.0.6-py3-none-any.whl |
Total release size: 22.2 kB
Release files / gitdraw-1.0.6.tar.gz
| Download URL | gitdraw-1.0.6.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9bd77cd1183c047f824cef3d29a2127d6db470d06bf2bf0f47e225bdcda3d147
|
|
BLAKE2b-256 checksum How to use checksums |
0398076dfa4366508ea33816b80b40cd0b651e58db0a4d60bda488a2758fdaf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Release files / gitdraw-1.0.6-py3-none-any.whl
| Download URL | gitdraw-1.0.6-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33e8e41bce7f04a9c9ee14a1fc628c29b973c7b81d9b6dc0757fa4e6db5dcca1
|
|
BLAKE2b-256 checksum How to use checksums |
cadb4578781990bca267dcbc39e75b6aeac2b5d7d643d7dbd8e64b3dd96aa2e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
|
Security for gitdraw 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.