Skip to main content

A Modern, High-Performance HTTP Client Library for Python

Project description

Modularis

PyPI version Python Versions Documentation Status License: MIT Code style: black Downloads

Modularis Logo

A Modern, High-Performance HTTP Client Library for Python

🚀 Features

  • Modular Architecture: Easily extend functionality through middleware and interceptors
  • High Performance: Built on aiohttp for maximum async performance
  • Type Safety: Full type hints and runtime validation with Pydantic
  • Security First: Built-in support for authentication, encryption, and security features
  • Developer Friendly: Comprehensive documentation and intuitive API design
  • Production Ready: Used in production by leading companies
  • Modern Python: Leverages latest Python features and best practices
  • Extensive Testing: 100% test coverage and continuous integration

🎯 Quick Start

pip install modularis
from modularis import Client

async def main():
    # Create a client with custom configuration
    client = Client(
        base_url="https://api.example.com",
        timeout=30,
        retries=3
    )
    
    # Make requests with ease
    response = await client.get("/users/1")
    print(f"User data: {response.data}")
    
    # Post data with automatic JSON handling
    new_user = {
        "name": "John Doe",
        "email": "john@example.com"
    }
    response = await client.post("/users", json=new_user)
    print(f"Created user: {response.data}")

# Run the async function
import asyncio
asyncio.run(main())

📚 Documentation

Visit our comprehensive documentation for:

  • Detailed tutorials and guides
  • API reference
  • Best practices
  • Examples and use cases
  • Advanced features
  • Migration guides

🛠️ Installation Options

Basic Installation

pip install modularis

With All Optional Dependencies

pip install modularis[all]

Development Installation

pip install modularis[dev]

🌟 Key Benefits

  • Simplified API Integration: Clean, intuitive interface for API interactions
  • Enhanced Performance: Optimized for high-throughput applications
  • Robust Error Handling: Comprehensive error management system
  • Flexible Configuration: Easily adaptable to different use cases
  • Enterprise Ready: Production-tested in high-load environments

🔧 Advanced Usage Examples

Check our examples directory for:

  • Authentication patterns
  • Middleware implementation
  • Error handling strategies
  • Performance optimization
  • Real-world scenarios

🤝 Contributing

We welcome contributions! See our Contributing Guide for details.

📝 License

MIT License - see the LICENSE file for details.

👤 Author

Hexakleo

🙏 Acknowledgments

Special thanks to all our contributors and the Python community.


Built with ❤️ by Hexakleo

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

modularis-0.1.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

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

modularis-0.1.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file modularis-0.1.0.tar.gz.

File metadata

  • Download URL: modularis-0.1.0.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for modularis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3425b8e29259532efe09e4c87875ed39e8d62d09e983ee064ce22aa27cd50ea1
MD5 83042f09adfd3a0267e3ed106495ebfe
BLAKE2b-256 1f13e944e32d1afc20af32151fdab282a89dd1f6c3b0119766d09655eb67a850

See more details on using hashes here.

File details

Details for the file modularis-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: modularis-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.0

File hashes

Hashes for modularis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1e85f5147352097c92dadb9fc8cde065f515c4e2679df64825244a1e3d30793c
MD5 a8bfb84e34380801440c0ba89edb6865
BLAKE2b-256 4a94fd1a44701d405d7274ae38683149e17ce52ddc5c566a8d316e1c604d514a

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