Arceion Zorion - Django Microservices Framework with utilities, decorators, middleware, and ORM integration for independent microservices
Project description
Arceion - Django Microservices Framework
A lightweight Python package providing utilities, decorators, middleware, and ORM integration for building independent microservices 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)
Documentation
- Authorization & Permissions — Permission system, decorators, best practices
- Releasing to PyPI — Publishing new versions
- GitHub Actions Setup — CI/CD configuration
Development
Setup
git clone https://github.com/arceion/arceion-zorion.git
cd arceion-zorion
pip install -e ".[dev]"
Testing
pytest arceion/zorion/tests/ -v
Publishing
See RELEASING.md for:
- Version management
- TestPyPI testing
- Production releases
- Troubleshooting
License
Proprietary - Arceion
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arceion_zorion-0.1.0.tar.gz.
File metadata
- Download URL: arceion_zorion-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7597b65681417bf830998bb30e4e31911672d8dbe2c738b8762e92e1804ad9cd
|
|
| MD5 |
1ce64ea030b926b1477f2615ed6204bb
|
|
| BLAKE2b-256 |
a9a4ba620662f4cf20d0f80c3ddc6b0b081e0182831bd5b48cbaa87252da6367
|
File details
Details for the file arceion_zorion-0.1.0-py3-none-any.whl.
File metadata
- Download URL: arceion_zorion-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1531b8423cbeb99bf9d56d1417f90c4e2ccbe692b281446fe3df89cd81e4cf9
|
|
| MD5 |
adac5f5da1dcb426af911d7fc6a2c130
|
|
| BLAKE2b-256 |
94d433d20617e9a6e876e1c1b9fc7226efb1937099635377e20d12716d9435c3
|