Skip to main content

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/

  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.

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-2.1.2.tar.gz (10.9 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-2.1.2-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gospeed_api-2.1.2.tar.gz
Algorithm Hash digest
SHA256 b57ed53f72a6fa274a648760e1c38e1444c438a3c57f8f190e7aef299ca3dea3
MD5 a2bf24f2817539f355c63439114e8523
BLAKE2b-256 1e8be83d1595e51837f99c69f59c05b1cd5718dd8bd19e49a9965d7a5c7c6886

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gospeed_api-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 20424c185d2b24e3914c2e9a37d6561f66513ea0cdf0988f92876ceaf6c04fc0
MD5 b32853535bc19da4d076eaec7303ebdf
BLAKE2b-256 60e848fff8c4d856c7fd5b9997a9c678c62ab901aa40b427ebc5ecc65222eec7

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