Description
This is a simple tool for creating graphs from the terminal. It reads files contaning two numeric columns and create a graph from it.
Install
Just the usual python installation pattern (your python version should be >= 3.8)
pip3 install --user sgg
Examples
Consider two files:
file1.txt
0 500
1 550
2 600
3 650
4 700
5 750
6 800
7 850
8 900
9 950
file2.txt
0 2
1 4
2 8
3 16
4 32
5 64
6 128
7 256
8 512
9 1024
To create a graph comparing these two files, we can use the following command:
sgg --title '$f(x) = x$ versus $f(x) = x^{2}$' -y '$f(x)$' -x '$x$' -s '-' ' --' -l '$f(x) = x$' '$f(x) = x^{2}$' -f file1.txt file2.txt -c 'darkorange' 'royalblue' --xmin 0 --dest out.png
NOTE: If you are reading this file in PyPi you will be not able to see the png file, so go to the github repository .
The result are shown below :
Metadata
Release files for sgg 0.0.5
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 |
|---|---|---|---|---|
| sgg-0.0.5.tar.gz | 4.5 kB | Without provenance | Details for sgg-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sgg-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for sgg-0.0.5-py3-none-any.whl |
Total release size: 9.4 kB
Release files / sgg-0.0.5.tar.gz
| Download URL | sgg-0.0.5.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
411d4831c7b7d32c2e261c0072bb2421a8c77b0db43f78718b0a9d92e0b757c1
|
|
BLAKE2b-256 checksum How to use checksums |
fd18d22aeafc1d4716537043f240b25ec4f6b0cf6e73b0f86b7a0b57ba915672
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / sgg-0.0.5-py3-none-any.whl
| Download URL | sgg-0.0.5-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
44d4ac6b1db87bb8aea2da44fb4a076a5398198252f1ef4e6bddc99b1c29b4c5
|
|
BLAKE2b-256 checksum How to use checksums |
f6e352d56f32ecbdec84c9cab9eee3590b24ca2c2a69c2e324e0d009765184c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Security for sgg 0.0.5
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.