Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

filmdate.py Build Status

Make a best-guess effort at a film title's release date.

This script leverages the excellent Open Movie Database (OMDb) library to figure out a film title's release date.

Returns zero and prints the year if the script can parse a release date, exits non-zero with an error message if something fails.

Use

Pretty easy. Note that you need the modules listed in requirements.txt, so get them installed however you like (usually pip install -r requirements.txt.)

As a command-line script:

$ ./filmdate.py True.Grit.avi
2010

From within python:

>>> import filmdate
>>> filmdate.year('The.Birds.mp4')
u'1963'
>>>

Testing

Also easy:

$ nosetests

About

Make a best-guess effort at a film title's release date.

Resources

License

Releases

No releases published

Packages

No packages published

Languages