Skip to main content

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.

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.3.2.tar.gz (23.1 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.3.2-py3-none-any.whl (26.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weni_commons-1.3.2.tar.gz
  • Upload date:
  • Size: 23.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.17.0-1020-azure

File hashes

Hashes for weni_commons-1.3.2.tar.gz
Algorithm Hash digest
SHA256 b9aa60720bf54325bd0f57e66fb7d6dc50029beef144732392a29a9da638c3de
MD5 f44040034397c177dd08d1cf629018dd
BLAKE2b-256 4a50d92486788dbd0ee5ae328db45280a199a741d4c5628f6fe1559d47f8fbaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: weni_commons-1.3.2-py3-none-any.whl
  • Upload date:
  • Size: 26.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.8.18 Linux/6.17.0-1020-azure

File hashes

Hashes for weni_commons-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 144bdd94ccbb2eb0387320772210b121e89ac688e95511e79e512c4ff764ab2b
MD5 cf274eb6f758c4b5273ed189f6581f8d
BLAKE2b-256 369f741ed8cb4a6cefa52196cec3f0a3035d912012363d35bd4df36f385c06d4

See more details on using hashes here.

Release history Release notifications | RSS feed

1.5.2

2 files

1.5.0

2 files

1.4.1

2 files

This release

1.3.2 This release

2 files

1.3.1

2 files

1.2.0

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page