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.6b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a067bb5693c7b1abcf633bd88178e85a65528eafe949eae3e4d221ef8d5d095 |
|
MD5 | b3800142999d9a67aa1410d5dfa99c9a |
|
BLAKE2b-256 | 396dbbfc9856cbe6bbbf052cceaf1606eea8c8ada5d935118b6654f457184a0d |