Skip to main content

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


Download files

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

Source Distribution

weni_commons-1.1.0.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weni_commons-1.1.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file weni_commons-1.1.0.tar.gz.

File metadata

  • Download URL: weni_commons-1.1.0.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

Hashes for weni_commons-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ecc4f8f8b374f35c18b5c736e28414c5781ce147016b7fd6ca7a951ba10a1889
MD5 a93a6dc03ab454f6f5a09b3346e6b4d6
BLAKE2b-256 1321d3f6ee90692414ff7271cbeb3068889c7a9791adceef7fd6c236bfc8726a

See more details on using hashes here.

File details

Details for the file weni_commons-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: weni_commons-1.1.0-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

Hashes for weni_commons-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b7337fb5432040ce9a402b661ec67b067d3d8abf585853c5ba39284d7843dd6b
MD5 783c1320b847adb25a8a014bf2cb51a0
BLAKE2b-256 ad62a0c758dfba40ad02311b5e05078f49499ae94cff1ded926baf1985ea2491

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page