Skip to main content

Arceion Zorion - Django Microservices Framework with utilities, decorators, middleware, and ORM integration for independent microservices

Project description

Zorion - Django Based Framework

A Python package providing utilities, decorators, middleware, and ORM integration for building independent microservices and projects with Django.

Features

  • Configurable app initialization
  • Authentication and authorization utilities
  • Database abstraction layer
  • Logging framework
  • Middleware components
  • Serializers and validators
  • RESTful API templates

Installation

pip install arceion-zorion

Quick Start

from arceion.zorion.app import API
from arceion.zorion.db import Model, Service
from arceion.zorion.auth import Authorized

# Define models
class User(Model):
    name: str
    email: str

# Define services
class UserService(Service):
    def get_active_users(self):
        return self.getAll(filters={'is_active': True})

# Define APIs
class UserAPI(API):
    userService: UserService = UserService()
    
    @Authorized(required_roles=['admin'])
    def get_users(self, request):
        users = self.userService.getAll()
        return self.response(users)

Development

Setup

git clone https://github.com/arceion/arceion-zorion.git
cd arceion-zorion
pip install -e ".[dev]"

Testing

pytest arceion/zorion/tests/ -v

License

Proprietary - Arceion

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

arceion_zorion-0.2.0.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

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

arceion_zorion-0.2.0-py3-none-any.whl (43.0 kB view details)

Uploaded Python 3

File details

Details for the file arceion_zorion-0.2.0.tar.gz.

File metadata

  • Download URL: arceion_zorion-0.2.0.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arceion_zorion-0.2.0.tar.gz
Algorithm Hash digest
SHA256 bedaea2d11bca12bf04bfedf20d4e0e7bfb376c4d51af485aa680364246acd27
MD5 8d571f12df2a8ade6f5825305d0b97f4
BLAKE2b-256 e59c69554484f5efa1a2c5bccb1fb79841661e6d4b5fb9e7b0a1c945734ed03f

See more details on using hashes here.

File details

Details for the file arceion_zorion-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: arceion_zorion-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 43.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arceion_zorion-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 248aa6a0854ae5fc9ca8de3391be9f9462a48ac25fee71f639ebd8e8a03b7a0d
MD5 af928fb13dbc9a8131df3219b72f2171
BLAKE2b-256 12d889f4788cb03edb0d392e7d026e38ae4a19dfd6c4f2ac3768f5358032a24a

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