Pynimate
Python package for statistical data animations.
Installation
with pip
Pynimate is available at pypi
pip install pynimate
Geospatial features
The Choropleth and Geodatafier classes require GeoPandas. Install pynimate with the geo extra:
pip install "pynimate[geo]"
How to use
Pynimate expects pandas dataframe formatted in this manner:
Where the time column is set to index.
time, col1, col2, col3
2012 1 2 1
2013 1 1 2
2014 2 1.5 3
2015 2.5 2 3.5
Bar Chart Example
import pandas as pd
from matplotlib import pyplot as plt
import pynimate as nim
df = pd.DataFrame(
{
"time": ["1960-01-01", "1961-01-01", "1962-01-01"],
"Afghanistan": [1, 2, 3],
"Angola": [2, 3, 4],
"Albania": [1, 2, 5],
"USA": [5, 3, 4],
"Argentina": [1, 4, 5],
}
).set_index("time")
cnv = nim.Canvas()
bar = nim.Barhplot.from_df(df, "%Y-%m-%d", "2d")
bar.set_time(callback=lambda i, datafier: datafier.data.index[i].year)
cnv.add_plot(bar)
cnv.animate()
plt.show()
Documentation
The official documentation : https://julkaar9.github.io/pynimate/
License
Metadata
Release files for pynimate 1.4.2
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 |
|---|---|---|---|---|
| pynimate-1.4.2.tar.gz | 32.5 kB | Without provenance | Details for pynimate-1.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pynimate-1.4.2-py3-none-any.whl | Python 3 | none | any | Details for pynimate-1.4.2-py3-none-any.whl |
Total release size: 63.6 kB
Release files / pynimate-1.4.2.tar.gz
| Download URL | pynimate-1.4.2.tar.gz |
|---|---|
| Size | 32.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb503f6ae29575f6cee4c69a08bddb4c9b29fdd6f790077d7972e76007fb9cc1
|
|
BLAKE2b-256 checksum How to use checksums |
79ddb7a72c5da772dff308aaa990f8cb876df695e1d5f3125ff2770240f93a77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pynimate-1.4.2-py3-none-any.whl
| Download URL | pynimate-1.4.2-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f183ef89ca3ec487dfb0c535d6bece0ce8ef864c7dc70ac8286d682fe7b7bb7a
|
|
BLAKE2b-256 checksum How to use checksums |
66dbdad6d06aa772a9ec8237fb47182d59952dc59fa2a6ee8ae68f680f81febf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for pynimate 1.4.2
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.