Skip to content

floydya/declarativex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

79 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

PyPI - Python Version PyPI - Downloads Coverage

DeclarativeX: Your Declarative HTTP Client ๐Ÿš€

Why Choose DeclarativeX? ๐Ÿคทโ€โ™‚๏ธ

Sick of writing boilerplate for every HTTP request? Headers, JSON parsing, and all that jazz?

Say hello to DeclarativeX!

We handle the nitty-gritty so you can focus on what really countsโ€”your core logic.

๐ŸŒŸ Key Features

  • Declarative Goodness: Decorators make your life easy. Just add and go!
  • Function Over Form: No need for classes. Check the docs for function-based setups.
  • Data Validation: Using Pydantic? We've got your robust validation needs covered.
  • Async Ready: Need it fast? We're async-compatible.
  • Rate Limiting: Stay on the good side of APIs with built-in rate limiting.
  • Authentication: Add authentication with a single line of code.
  • Automatic Retries: We retry failed requests automatically(or reject, if you prefer).
  • Middleware Support: Add your custom logic with ease.
  • Auto Body Parsing: Skip manual parsing. Use a dataclass or Pydantic model for auto-magic.
  • GraphQL: We support GraphQL queries and mutations out of the box.

Installation ๐Ÿ› ๏ธ

pip install declarativex

Available extras ๐ŸŽ

DeclarativeX comes with a few extras that you can install separately. Here's a list of available extras:

  • http2 - HTTP/2 support
  • graphql - GraphQL support
  • brotli - Brotli compression support

To install an extra, just add it to the end of the command:

pip install declarativex[http2,graphql,brotli]

Docs ๐Ÿ“–

Find all the details at https://declarativex.dev.

Show Some Love โค๏ธ

Every contribution counts and is super appreciated! ๐Ÿ™

Liking what you see? Support the creator to keep this project thriving.

ko-fi

Sponsor this project

Contributors 4

  •  
  •  
  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy