movieposters
A simple Python package to get the link a movie's poster given its title.
Installation
Installation has been made easy with PyPI. Depending on your system, you should either run
pip install movieposters
or
pip3 install movieposters
to install movieposters.
How to use
See the example below:
import movieposters as mp
link = mp.get_poster(title='breakfast club')
assert link == mp.get_poster(id='tt0088847') # can also be found using movie's id
assert link == mp.get_poster(id=88847)
assert link == 'https://m.media-amazon.com/images/M/MV5BOTM5N2ZmZTMtNjlmOS00YzlkLTk3YjEtNTU1ZmQ5OTdhODZhXkEyXkFqcGdeQXVyMTQxNzMzNDI@._V1_QL75_UX380_CR0,16,380,562_.jpg'
Errors
| Name | Meaning |
|---|---|
mp.errors.MovieNotFound |
Movie is not on IMDb |
mp.errors.PosterNotFound |
Movie is on IMDb, but its poster isn't |
Metadata
Release files for movieposters 0.0.7
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 | |
|---|---|---|---|---|
| movieposters-0.0.7.tar.gz | 15.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| movieposters-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.2 kB
Release files / movieposters-0.0.7.tar.gz
| Download URL | movieposters-0.0.7.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edbb320a88e471965a2def80721bc55778d9069853c4f5a451255dae270b28c3
|
|
BLAKE2b-256 checksum How to use checksums |
01c5b19a3ebb8889778f710fc27ae2d623a5ef757c8a83225d2a2439c5e4bcb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.13
|
Release files / movieposters-0.0.7-py3-none-any.whl
| Download URL | movieposters-0.0.7-py3-none-any.whl |
|---|---|
| Size | 16.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eacc9a53d1843b93f82f3b9a98e6b98e2cb26bb11f41f7c56cf53c89763ce257
|
|
BLAKE2b-256 checksum How to use checksums |
43782a91739d7cf40627f24877fd4c72bd66c907aa5aa66b4d7c8fd80f3ee8a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.13
|
Security for movieposters 0.0.7
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.