Metadata-Version: 2.4
Name: arceion-zorion
Version: 0.1.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: djangorestframework>=3.14.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pyyaml>=6.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-django>=4.5.2; extra == "dev"
Requires-Dist: split-settings<2.0.0,>=1.0.0; extra == "dev"
Requires-Dist: whitenoise>=6.5.0; extra == "dev"
Requires-Dist: django-cors-headers>=4.0.0; extra == "dev"
Requires-Dist: django-filter>=24.0.0; extra == "dev"
Requires-Dist: djangorestframework-simplejwt>=5.0.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# 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

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

## Documentation

- **[Authorization & Permissions](./arceion/zorion/docs/PERMISSIONS.md)** — Permission system, decorators, best practices
- **[Releasing to PyPI](./RELEASING.md)** — Publishing new versions
- **[GitHub Actions Setup](../.github-actions-setup.md)** — CI/CD configuration

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

### Publishing

See [RELEASING.md](./RELEASING.md) for:
- Version management
- TestPyPI testing
- Production releases
- Troubleshooting

## License

Proprietary - Arceion
