Weni's common utilities for Python backends
Project description
Weni Commons
A Python library that centralizes common functionality and utilities used across Weni's Django backend applications. This library promotes code reuse, consistency, and maintainability by providing shared components and utilities that can be easily integrated into multiple Django projects.
Installation
Using Poetry (Recommended for Weni projects)
poetry add weni-commons
Using pip
pip install weni-commons
Available Features
Feature Flags
Weni Feature Flags is a Python Library that functions as an abstraction layer between Django projects and GrowthBook.
from weni.feature_flags.services import FeatureFlagsService
# Use the feature flags service
feature_service = FeatureFlagsService()
You can access the complete instructions on how to use its features here.
Requirements
- Python >= 3.8
- Django >= 3.2.22
- Django REST Framework >= 3.12.0
- Celery >= 5.0.0
- Redis (via django-redis >= 4.0.0)
Contributing
This library is designed to grow with Weni's needs. If you have common utilities that could benefit multiple Django projects, consider contributing them to this library.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
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 weni_commons-1.1.2.tar.gz.
File metadata
- Download URL: weni_commons-1.1.2.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04ff80b6674ab5a2d512b3eac33ea5bfabe651810b8390af8040fe120c50e542
|
|
| MD5 |
27d345d363a6f2c0e532b340b81fc3e5
|
|
| BLAKE2b-256 |
7df2481ec4c92031543d38f42ee38d9a5b699ea84c6c71cdff99d91fd07a3e67
|
File details
Details for the file weni_commons-1.1.2-py3-none-any.whl.
File metadata
- Download URL: weni_commons-1.1.2-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.11.0-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b727a4c2985c0acc8310c90e0ba1348278183c80452d26c13ece31c6239a3a3f
|
|
| MD5 |
91468f86f0c809c41b09447ec5b7190e
|
|
| BLAKE2b-256 |
ed3e3fb709a4ab91f9fb6ac434eaf105f9c3c126bc4537239a1d20226011ec75
|