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.1.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.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: modularis-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 32c41fd0eba01ece0698e9768db507b71e79049db49322d68c2b94adadb39b59
MD5 b61291e3c46046438a9601ab4e2f840e
BLAKE2b-256 b19a2e262bc2398c20c3433c2f6204b4993e40c8f01a7ad57290905926014b7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: modularis-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 84f606dc658c766b4a7346d38975c2f1e19470e45ebf8e270fc83af320e69b01
MD5 013d78af16c851349c7eafdb6288cfd3
BLAKE2b-256 9f257f0e5f575c0d44431e91ec2db61d0ab00b9e5a68dc1a67f9499a9424797c

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