Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for class-pool, version 0.6rc1
Filename, size File type Python version Upload date Hashes
Filename, size class_pool-0.6rc1-py3-none-any.whl (11.1 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size class-pool-0.6rc1.tar.gz (11.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page