Analyse and visualise statistics around movies and cinema.
Project description
cinestats ![Test](https://pypi-camo.freetls.fastly.net/446b7ae4e5c844bca02bb61dd659a42784a47c1a/68747470733a2f2f6769746875622e636f6d2f6c6b6c7566742f63696e6573746174732f776f726b666c6f77732f546573742f62616467652e737667)
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
Release history Release notifications | RSS feed
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)
Built Distribution
cinestats-0.0.2-py3-none-any.whl
(17.8 kB
view hashes)
Close
Hashes for cinestats-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 056d4b2bed5d65ff249b9c9970c7f6f9b9f58dd0d11df41626ad97780a0c7cd6 |
|
MD5 | 682ea22175ae523c5f224b04d1e2e34b |
|
BLAKE2b-256 | 0ed233e5c327f90e8976653663e07fa358836924c307711786f0919245d215d5 |