Metadata-Version: 2.4
Name: arceion-zorion
Version: 0.2.0
Summary: Arceion Zorion - Django Microservices Framework with utilities, decorators, middleware, and ORM integration for independent microservices
Home-page: https://github.com/Arceion/zorion
Author: Arceion
Author-email: Arceion <arceionll@gmail.com>
License: Proprietary
Project-URL: Homepage, https://github.com/Arceion/arceion-zorion
Project-URL: Repository, https://github.com/Arceion/arceion-zorion.git
Project-URL: Documentation, https://github.com/Arceion/arceion-zorion/wiki
Project-URL: Issues, https://github.com/Arceion/arceion-zorion/issues
Keywords: django,microservices,framework,rest,api
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django>=5.0
Requires-Dist: django-cotton>=2.0.3
Requires-Dist: djangorestframework>=3.14.0
Requires-Dist: django-jazzmin>=3.0.1
Requires-Dist: django-select2>=8.4.1
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: django-split-settings>=1.3.2
Requires-Dist: whitenoise>=6.5.0
Requires-Dist: django-cors-headers>=4.0.0
Requires-Dist: django-vite>=3.1.0
Requires-Dist: django-filter>=24.0.0
Requires-Dist: djangorestframework>=3.16.0
Requires-Dist: djangorestframework-simplejwt>=5.0.0
Requires-Dist: dotenv>=0.9.9
Requires-Dist: openpyxl>=3.1.5
Requires-Dist: pillow>=11.3.0
Requires-Dist: gunicorn>=23.0.0
Requires-Dist: djangorestframework-stubs>=3.16.8
Provides-Extra: dev
Requires-Dist: daphne>=4.1.2; extra == "dev"
Requires-Dist: django-debug-toolbar>=5.1.0; extra == "dev"
Requires-Dist: drf-spectacular[sidecar]>=0.28.0; extra == "dev"
Requires-Dist: icecream>=2.1.4; extra == "dev"
Requires-Dist: ruff>=0.11.5; extra == "dev"
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-django>=4.5.2; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# 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

```bash
pip install arceion-zorion
```

## Quick Start

```python
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

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

### Testing

```bash
pytest arceion/zorion/tests/ -v
```

## License

Proprietary - Arceion
