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

https://py-class-pool.readthedocs.io/

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
class_pool-0.7rc1-py3-none-any.whl (11.5 kB) Copy SHA256 hash SHA256 Wheel 3.6
class-pool-0.7rc1.tar.gz (12.5 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page