This library is designed for the kind of (desesperate) situation where you want to display bar charts but with the constraint that your HTML document must not depend on additional files or remote webservices.
baciphacs will use basic HTML code with some bits of CSS style embeded in tags, to display a reasonably readable chart.
If you need pretty or advanced graphs and don’t have any strict constraints on your HTML’s dependency, many libraries exists that generate much much better looking graphs.
baciphacs is licensed under the 2 close BSD License, and more detailed information about it can be found at GitHub:
https://github.com/tibonihoo/baciphacs.
It is tested on Travis-CI:
https://travis-ci.org/tibonihoo/baciphacs
Example for horizontal bar charts
Code sample:
from baciphacs import DataSample
from baciphacs import GenerateHTMLHorizontalBarChart
data = [("ba",3,2),("c",6,1),("i",2,1),("p",4,1),("h",4,1),("a",3,1),("cs",3,2)]
dataSamples = [DataSample._make(t) for t in data]
print GenerateHTMLHorizontalBarChart(dataSamples,numStdev=2,color="blue")
The Python code above will generate an HTML snippet that renders like a bar chart:
http://htmlpreview.github.io/?https://github.com/tibonihoo/baciphacs/blob/master/doc/index.html
Metadata
Release files for baciphacs 1.0
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 |
|---|---|---|---|---|
| baciphacs-1.0.tar.gz | 6.0 kB | Without provenance | Details for baciphacs-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| baciphacs-1.0-py2.7.egg | Legacy Egg format | - | - | Details for baciphacs-1.0-py2.7.egg |
Total release size: 13.0 kB
Release files / baciphacs-1.0.tar.gz
| Download URL | baciphacs-1.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
517187948fe112075a9d1559562c367f868486377b48dc355121245b8e8bfc57
|
|
BLAKE2b-256 checksum How to use checksums |
d983f97abefa5b0a4ed69eb80185d4cfbd9b85b87509a46a4080d861cb55a0b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / baciphacs-1.0-py2.7.egg
| Download URL | baciphacs-1.0-py2.7.egg |
|---|---|
| Size | 7.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
4ff084044eaad653014e94538a3a0e196f1422d495edf72c8716ec4d3230307d
|
|
BLAKE2b-256 checksum How to use checksums |
60c2d684d43e0edbd9e162816937c31bd36a8f37d82fb05e0f6c8cd394c96cbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for baciphacs 1.0
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.