Skip to main content

graphby

Generate simple visualizations on terminal.

Import

graphby can now be used on your Python projects through PyPi by running pip command on a Python-ready environment. pip import --upgrade graphby

Usage

1. Import package

from graphby import Bar

2. Basic usage

from graphby import Bar

labels = ["a", "b", "c", "d"]
values = [1, 2, 3, 4]
Bar(labels, values).plot()
---

a: **         1
b: *****      2
c: ********   3
d: ********** 4

3. Negative numbers

from graphby import Bar

labels = ["a", "b", "c", "d"]
values = [200, -350, 20, 999]
Bar(labels, values).plot()
---

a: ****        200
b:            -350
c: ***          20
d: **********  999

4. Custom symbol

from graphby import Bar

labels = ["a", "b", "c", "d"]
values = [200, -350, 20, 999]
Bar(labels, values, bar="+").plot()
---

a: ++++        200
b:            -350
c: +++          20
d: ++++++++++  999

5. Expand graph

from graphby import Bar

labels = ["a", "b", "c", "d"]
values = [200, -350, 20, 999]
Bar(labels, values, limit=15).plot()
---

a: ******           200
b:                 -350
c: ****              20
d: ***************  999

6. Customizations

from graphby import Bar

labels = ["a", "b", "c", "d"]
values = [200, -350, 20, 999]
Bar(labels, values, bar="#", limit=5).plot()
---

a: ##     200
b:       -350
c: #       20
d: #####  999

Metadata

Release files for graphby 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphby 0.0.3
File Size Uploaded Provenance Actions
graphby-0.0.3.tar.gz 3.2 kB Without provenance Details for graphby-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for graphby 0.0.3
File Interpreter ABI Platform Actions
graphby-0.0.3-py3-none-any.whl Python 3 none any Details for graphby-0.0.3-py3-none-any.whl

Total release size: 7.3 kB

Release files / graphby-0.0.3.tar.gz

Download URL graphby-0.0.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d1d62b798c0fa4da0585c3110d1bf239664e0b5ecd73c5fc8834ffe345fed901
BLAKE2b-256 checksum
How to use checksums
8791a930c1dddded56139119a29181aac672c72f94b91f92ff68ffff709b9cea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.0

Release files / graphby-0.0.3-py3-none-any.whl

Download URL graphby-0.0.3-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a25fd3549b6bf44c8ccd64349a29790df5c74ff840696a00ba3815749104e90
BLAKE2b-256 checksum
How to use checksums
e477960c169fba6ba018dadd0a960f898679331ba7cec28c6f5512da41907cfa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.0

Security for graphby 0.0.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page