Default template for PDM package
Project description
Gospeed_api
This project provide Gospeed downloader RestAPI full-covered interacting.
Sorry about that I made a mistake about its name. I realized that when I finished version 2.0.4; 🎶
It's too Laaaaate~ to Apologiiiiiize~, It's too Laaaaaaaaaaaate🎶
Every function's input and output will get type checking in runtime by using Pydantic.
🎉Async implementation is added in 2.0.0 Version, support both asyncio and trio!🎉.
Please use the latest version.
Because in 2.0.2 there is a bug which handle url query parameter incorrectly, cause invoking delete endpoint to delete task and file failure!
And It's already resolved in the newest version! ☝️🤓
install
gospeed-api package address.
pip install gospeed-api
Usage Example
Every usage example is written in test file, for more detail please take a look: test_index.py
The future improvements were on plan
2025/1/6/
- After a few months at the end of development, I'm supposed to rewrite the usage guide. Because recently, when I was trying to write some script based on this library, I could feel there was not enough introduction to make things clear for the user.
- Update to version 3.0.0. This major update will create a new implementation with a more intuitive usage experience.
I'm starting achiving these two objectives from the day I wrote above.
2025/2/22/
Now AsyncGospeedClient have an optional init paramter "httpx_async_client" to receive customized async httpx client object to send requests.
2025/3/20
Now Ver3.0 dev finished! With 100% test coverage, simplified function usage and usage example. See test_index.py.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gospeed_api-3.0.1.tar.gz.
File metadata
- Download URL: gospeed_api-3.0.1.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3997cc69d15aa38861dffaacd9c2b4da067b2a9ae4756b5b210f114063a877ae
|
|
| MD5 |
03ee351500d0d408372a2490d75e0a6f
|
|
| BLAKE2b-256 |
c3f275c756ad03e8376d981ec68fceff4dd5034653ae666661964628a654ba54
|
File details
Details for the file gospeed_api-3.0.1-py3-none-any.whl.
File metadata
- Download URL: gospeed_api-3.0.1-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbe95957cc780898f971197c510d28316c29d4b37fad01ad328dc473dfd9c16d
|
|
| MD5 |
1476418115a8a0aea87991430cd49397
|
|
| BLAKE2b-256 |
9fc8246205225a0d71b9fb93785eb332936991c8cee2ebefc30a67f93d681521
|