Create GitHub-like visualisations
Project description
hubify
Create GitHub-like visualisations from your time series data.
Basic Usage
# A list of datetimes, where each datetime represents an observation
from datetime import datetime, timedelta
import random
# Import Hubify
from hubify import hubify
# Set a seed
random.seed(42)
# Create 400 random events
events = [
datetime.today() - timedelta(days=random.randint(0, 365))
for _ in range(400)
]
# Call hubify
hubify(events)
You should see something like this
Installation
pip install hubify
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hubify-0.3.0.tar.gz
(4.2 kB
view hashes)
Built Distribution
hubify-0.3.0-py3-none-any.whl
(4.6 kB
view hashes)