Skip to main content

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

Hubify plot

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)

Uploaded Source

Built Distribution

hubify-0.3.0-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page