meysammahfouzi / cinema Goto Github PK
View Code? Open in Web Editor NEWThis python scripts retrieves the rating of a movie with its title
License: MIT License
This python scripts retrieves the rating of a movie with its title
License: MIT License
Install a global executable with setup.py file so that cinema can be queried from anywhere within the system like so:
$ cinema redemption
or
$ cinema "the lord of the rings" 2001
Create a separate directory for test files and move them there.
Currently tests fail on python 2.6. We should examine the reason.
Currently the version should be updated in multiple places. It's preferred to update it only in one place.
When I run this command I get this error in python2.7
watch-movie 'test'
Beta Test (2016)
Awards: N/A
IMDB Rating: 6.7/10
Tomato Meter: 0/100
Meta Score: 0/100
Director: Nicholas Gyeney
Cast: Manu Bennett, Larenz Tate, Linden Ashby, Kevon Stover
Genre: Action, Sci-Fi, Thriller
Country: USA
Traceback (most recent call last):
File "/home/ager/.virtualenvs/test27/bin/watch-movie", line 9, in
load_entry_point('cinema==0.0.7', 'console_scripts', 'watch-movie')()
File "build/bdist.linux-x86_64/egg/scripts/watch_movie.py", line 29, in main
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 46: ordinal not in range(128)
In the Writers output we have non ASCII character that's why the program encounters error :)
Iterate through all the files in a folder and retrieve the rating of each of them, given that they are all movie files.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.