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 details)

Uploaded Source

Built Distribution

cinestats-0.0.2-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file cinestats-0.0.2.tar.gz.

File metadata

  • Download URL: cinestats-0.0.2.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.8.2

File hashes

Hashes for cinestats-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e0ffacba87d107d13b4f2ef771673abb161ba3a6543d45733d23e30a727bc23d
MD5 fc8479bad82dbf61ff8fa3db2e631559
BLAKE2b-256 4f13676c707bae0430b4f4a41e04cc05c46f17df579faf06743f0d2506a31370

See more details on using hashes here.

File details

Details for the file cinestats-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: cinestats-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.44.0 CPython/3.8.2

File hashes

Hashes for cinestats-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 056d4b2bed5d65ff249b9c9970c7f6f9b9f58dd0d11df41626ad97780a0c7cd6
MD5 682ea22175ae523c5f224b04d1e2e34b
BLAKE2b-256 0ed233e5c327f90e8976653663e07fa358836924c307711786f0919245d215d5

See more details on using hashes here.

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