Skip to main content

Default template for PDM package

Project description

Gospeed_api

Coverage

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/

  1. 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.
  2. 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

gospeed_api-3.0.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gospeed_api-3.0.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file gospeed_api-3.0.0.tar.gz.

File metadata

  • Download URL: gospeed_api-3.0.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for gospeed_api-3.0.0.tar.gz
Algorithm Hash digest
SHA256 329c74cabf37bbf9b1f8b516a5dd0511b29b529986bf0783d35ab60e8501b1d1
MD5 93da9c00eb703e1177007c61cfb62143
BLAKE2b-256 755ddfa3fd32aa475bac3050d3249a5134ca217711372519c384889677aa788b

See more details on using hashes here.

File details

Details for the file gospeed_api-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gospeed_api-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 319e576bdf69d85c48b2c9f016b7b894fc98bfa3d5c25bc51f6dc08a3b1ce96a
MD5 dd7446a4177ddb383fa2de3342a5b45e
BLAKE2b-256 fb67a82983f1b3f772e2681a9e76f4b71fd32fbfb7d6129746dabca4c188e915

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page