Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Asyncronous and synchronous Python clients for OMDb (the Open Movie Database).
from aio_omdb.client import AsyncOMDBClient, SyncOMDBClient
OMDB_API_KEY = '...' # Get your key from OMDB
a_client = AsyncOMDBClient(api_key=OMDB_API_KEY)
s_client = SyncOMDBClient(api_key=OMDB_API_KEY)
# Client provides the following methods:
# Get by IMDB ID
await a_client.get_by_id('tt1000252')
s_client.get_by_id('tt1000252')
# Get by exact title
await a_client.get_by_id('Rome, open city')
s_client.get_by_id('Rome, open city')
# Search title by a word or phrase
await a_client.search('Spock')
s_client.search('Spock')
The following exceptions may be raised:
aio_omdb.exc.InvalidAPIKey
: if an invalid API key is used;aio_omdb.exc.MovieNotFound
: if no movie can be found in get_by_id
or get_by_title
.testing
extraspip install -Ue .[testing]
.env
in the project root and put your OMDb API key there:OMDB_API_KEY=<your API key>
make test
Enjoy!
FAQs
Asyncronous and synchronous Python client for OMDb (the Open Movie Database)
We found that aio-omdb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.