Simple implementation of class pools for Python. Optional support for Django and DRF (if available)
Project description
# class-pool
Simple, but powerful library for python classes registries.
This tool bases on django’s models pool with a lot of improvements.
Features - thread-safe classes pool - ad-hoc class registering - auto class registering from packages - custom class identifiers in a pool - filtering classes during registration - default class for unregistered identifiers - pool classes choice field for Django models, forms and Django Rest Framework serializers
## Requirements * Python 3 * django >= 1.7 (optional)
## Installation
pip install class-pool
## Documentation
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
Hashes for class_pool-0.6rc5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ec763b9c53154cc0380bb40d18d32d33d73df1b40f3956b00c012019e20eb3e |
|
MD5 | d22bf7bb071c5e99c8dd8f0bda1df736 |
|
BLAKE2b-256 | d96c700ed56784e42b95a4a39f8dd0b3087134d9b8cb71f9bfd025235d2c3d20 |