Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
An Asynchronous API wrapper for the PokéApi.
Report issue · Request feature · Fork project
async
and await
.AioPokéApi has a very minimal website, which you can find here. It also has some documentation.
pip install aiopokeapi
Depending on your Python installation, you might need to use one of the following:
Python is not in PATH
path/to/python.exe -m pip install aiopokeapi
Python is in PATH but pip is not
python -m pip install aiopokeapi
Unix systems can use pip3/python3 commands
pip3 install aiopokeapi
python3 -m pip install aiopokeapi
Using multiple Python versions
py -m pip install aiopokeapi
Aiopoke's goal is to be simple and easy to use:
import asyncio
import aiopoke
async def main():
client = aiopoke.AiopokeClient()
ability = await client.get_ability(1)
generation = await ability.generation.fetch()
await client.close()
asyncio.run(main())
Or even better, using a context manager:
# in main()
async with aiopoke.AiopokeClient() as client:
ability = await client.get_ability(1)
generation = await ability.generation.fetch()
FAQs
An asynchronous API wrapper for the pokeapi.
We found that aiopokeapi 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.