letterboxdpy
Installation
pip install letterboxdpy
Code Example
from letterboxdpy import user
nick = user.User("nmcassa")
print(nick.jsonify())
User Object JSON
{
"username": "nmcassa",
"favorites": [
"The Grand Budapest Hotel",
"The King of Comedy",
"The Alpinist",
"The Graduate"
],
"stats": {
"Films": "342",
"This year": "69",
"List": "1",
"Following": "6",
"Followers": "5"
}
}
** Code Example**
nick = user.User("nmcassa")
print(nick.user_genre_info())
Output
{'action': 55, 'adventure': 101, 'animation': 95, 'comedy': 188, 'crime': 22, 'documentary': 16, 'drama': 94, 'family': 109, 'fantasy': 54, 'history': 5, 'horror': 27, 'music': 9, 'mystery': 30, 'romance': 29, 'science-fiction': 48, 'thriller': 43, 'tv-movie': 13, 'war': 4, 'western': 5}
Code Example
from letterboxdpy import movie
king = movie.Movie("king kong")
print(king.jsonify())
king = movie.Movie("king kong", 2005)
print(king.jsonify())
Movie Object JSON
{
"title": "king-kong",
"director": [
"Merian C. Cooper",
"Ernest B. Schoedsack"
],
"rating": "3.85 out of 5",
"description": "A film crew discovers the \"eighth wonder of the world,\" a giant prehistoric ape, and brings him back to New York, where he wreaks havoc.",
"year": "1933",
"genres": [
"horror",
"adventure",
"fantasy"
]
}
{
"title": "king-kong-2005",
"director": "Peter Jackson",
"rating": "3.32 out of 5",
"description": "In 1933 New York, an overly ambitious movie producer coerces his cast and hired ship crew to travel to mysterious Skull Island, where they encounter Kong, a giant ape who is immediately smitten with...",
"year": "2005",
"genres": [
"action",
"adventure",
"drama"
]
}
Code Example
king = movie.Movie("king kong", 2005)
print(king.movie_details())
Output
{'Country': ['New Zealand', 'USA', 'Germany'], 'Studio': ['Universal Pictures', 'WingNut Films', 'Big Primate Pictures', 'MFPV Film'], 'Language': ['English']}
Metadata
Release files for letterboxdpy 2
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 | |
|---|---|---|---|---|
| letterboxdpy-2.tar.gz | 248.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| letterboxdpy-2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 255.7 kB
Release files / letterboxdpy-2.tar.gz
| Download URL | letterboxdpy-2.tar.gz |
|---|---|
| Size | 248.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4471dfe122bb8e26a09c7038eab89cad518b7cd7522f9cefed73aaecee17b588
|
|
BLAKE2b-256 checksum How to use checksums |
70754a781f1b6cbf524750543e82c7c1a6f98614c253adacc72b4a19cf8655e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / letterboxdpy-2-py3-none-any.whl
| Download URL | letterboxdpy-2-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
45651f8b9c1c34ff2891c82b52f72ee64f938190b1d743688de15205eed61a8b
|
|
BLAKE2b-256 checksum How to use checksums |
7878bb0f08c28afa27364d7c080cc78cb025fac92ffc4dbbb432475098ba6b9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for letterboxdpy 2
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.