Cursed.py ⚒️
About:
Full asynchronous Curseforge API wrapper
👉 https://docs.curseforge.com
All Json Schemas (Python Types) are exactly the same as in docs
Except missing "Return types" which are essentially just this:
{"data": Any}
{"data": Any, "pagination": Pagination}
Usage examples:
Basic usage:
# Get all available games for provided API key:
from cursedpy import CFClient
API_KEY = "API_KEY"
async def main():
try:
client = CFClient(API_KEY)
games = await client.games()
print(games)
finally:
client.close()
Implemented API:
- Games
- Categories
- Mods
- Files
- Fingerprints
- Minecraft
QOL:
- Add helper methods to some types (
Mod.get_download_link(), for example) - Add cache
- Error handling
- Document all types parameters
- Make proper docs page???
Similar projects:
https://github.com/Advik-B/CurseForge-API - lacks search method support, example on the main page didn't work for me at all, Lol
https://github.com/Stinky-c/curse-api - cool wrapper, but pydantic is a little bit too much for my taste, thx for multiple http libraries support idea ❤️, although i don't think it will be useful at all for me, but this is a library after all..
Metadata
Release files for cursedpy 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 |
|---|---|---|---|---|
| cursedpy-0.2.0.tar.gz | 9.1 kB | Without provenance | Details for cursedpy-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cursedpy-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for cursedpy-0.2.0-py3-none-any.whl |
Total release size: 19.6 kB
Release files / cursedpy-0.2.0.tar.gz
| Download URL | cursedpy-0.2.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2c407cc123de0bc6b505bf3f9dab90f40468dccdf7dd80bb83ceecb04e3db51
|
|
BLAKE2b-256 checksum How to use checksums |
2227bb786436209b2811604c789290cafce6ee64625a09bfcf182f25dc5467cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.9.0-arch1-1
|
Release files / cursedpy-0.2.0-py3-none-any.whl
| Download URL | cursedpy-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99f7258dc06f4f4f6fb0bac9336f9f713266d5277c4e2489045751553593c710
|
|
BLAKE2b-256 checksum How to use checksums |
cd22b7b9e850b50cdb84d7298e8d8b79dbb4467611f1ccc7d6dd6afd3e40ca0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.3 Linux/6.9.0-arch1-1
|
Security for cursedpy 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.