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
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 class-pool-0.7rc1.tar.gz.
File metadata
- Download URL: class-pool-0.7rc1.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ac77757a5ab0e91ca427cc4288d25dc219de88e8b797c3c9fe8529859e4d70e
|
|
| MD5 |
6fbe54d18844dbd04fe62053b9e0e633
|
|
| BLAKE2b-256 |
47c37bd999912aaf93c1c2bdd6033a060b585a11284c16ef5693d0ddcac2d1a4
|
File details
Details for the file class_pool-0.7rc1-py3-none-any.whl.
File metadata
- Download URL: class_pool-0.7rc1-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d8939223c7d9a9ddc51c3b4e36517b8ce0d154b7dca561b026cfdcfa1abcffa
|
|
| MD5 |
917a8b47576b6b25ed8a81c1d096e047
|
|
| BLAKE2b-256 |
1d04317c1e0657d8e4c41e2621d1d3804983368b172961f54affd104def2de0a
|