mubi 
A good starting point for getting some data from mubi.com. Since MUBI doesn’t provide a public API, you need to do all the things manually. mubi.py is created to help you with the login process.
Powered by awesome Requests.
Usage
To access the most interesting part of the mubi.com content you’ll need to be logged in. It’s time for mubi.py:
>>> from mubi import login, mubicom
>>> session, me = login('email', 'password', identify=True)
# Show your user id
>>> print(me)
'123456'
# Use the requests.Session object (now with cookies) as usual
>>> session.get(mubicom('/films'))
<Response [200]>
To be a good internet citizen provide some information about yourself:
>>> import requests
>>> from mubi import login
>>> s = requests.Session()
>>> s.headers.update({
... # Add something useful
... 'User-Agent': 'Mr. Robot/1.0 (http://github.com/example/repo beep@example.com)'
>>> })
>>> mubi = login('email', 'password', session=s)
Install
$ pip install mubi
Metadata
Release files for mubi 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mubi-0.2.0.tar.gz | 2.6 kB | Without provenance | Details for mubi-0.2.0.tar.gz |
Release files / mubi-0.2.0.tar.gz
| Download URL | mubi-0.2.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
864dc5e4f9764af914dd9cba3ef1f5cc0dee55581730c8652364b2669f362fc6
|
|
BLAKE2b-256 checksum How to use checksums |
91607bc59ded918d0b44da404b1cdd3076ffbd6f951457a0ff0c1e2990d0258e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mubi 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.