Skip to main content

Analyse and visualise statistics around movies and cinema.

Project description

cinestats Test

Analyse and visualise statistics around movies and cinema.

Installation and requirements

Cinestats requires Python version 3.5 or higher. You can install the cloned working copy using pip:

$ git clone https://github.com/atmtools/typhon.git
$ pip install cinestats

Testing

Tests can be run on the command line using pytest:

$ pytest --pyargs cinestats

Usage

Cinestats is build around the MovieDatabase class. It combines all functionality to work on sets of movies.

import matplotlib.pyplot as plt
from cinestats import MovieDatabase


mdb = MovieDatabase.from_csv('cinestats/data/example.csv')

fig, ax = plt.subplots()
mdb.plot_marker()
plt.show()

CSV data format

Movie databases can be stored as CSV file. Currently, the two fields date and movie are supported:

date,movie
2017-01-01,Shaun of the Dead
2017-01-03,World's End
2017-01-02,Hot Fuzz

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

cinestats-0.0.2.tar.gz (17.7 kB view hashes)

Uploaded Source

Built Distribution

cinestats-0.0.2-py3-none-any.whl (17.8 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