Skip to main content

Declarative HTTP client for Python

Project description

PyPI - Python Version PyPI - Downloads PyPI - Version Coverage

DeclarativeX - Declarative HTTP Client

Why DeclarativeX? 🤔

Tired of spelling out each HTTP step? Headers, JSON parsing, the whole shebang? Chill, DeclarativeX is here to simplify your life. Now you can focus on what actually matters — your business logic.

Key Features 🗝️

  • Declarative Syntax: Just slap on some decorators, and you're good to go.
  • Function-based Declaration: Don't want to create a class? No problem, check the docs.
  • Data Validation: Got Pydantic? We've got your back on robust data validation.
  • Async Support: Async you said? Yep, we're all in.
  • Rate limiting: Don't want to get banned? We've got you covered.
  • Middlewares: Need to add some custom logic? Specify your custom dependency.
  • Automatic body parsing: Don't want to parse the response manually? Provide a dataclass or Pydantic model as return type.

How to Get It 🛠

pip install declarativex

Documentation 📚

Documentation is available at https://floydya.github.io/declarativex.

Support the Creator 🙌

If you're digging DeclarativeX and want to give back, consider supporting the creator. Your contributions help keep this project alive and kicking!

ko-fi

Every bit helps and is massively appreciated! 🌟

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

declarativex-1.4.0.tar.gz (10.1 kB view hashes)

Uploaded Source

Built Distribution

declarativex-1.4.0-py3-none-any.whl (12.1 kB view hashes)

Uploaded Python 3

Supported by

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