Skip to main content

Frequent

Frequently used components for Python projects.

PyPI Version Build Status Coverage Status Documentation Status Python Versions

Features

All of the components in frequent have extensive code documentation (as well as extensive usage documentation and examples) and unit tests. The modules (and their associated unit tests) are entirely self-contained and depend solely on the standard library.

  • config: components providing global application configuration settings management and storage.

  • messaging: the foundations for building custom messaging frameworks.

  • repository: base class (and exception classes) for implementing the repository pattern for back-end agnostic object storage.

  • singleton: metaclass for creating singleton classes.

  • unit_of_work: base classes for implementing the unit of work pattern for transactional blocks.

Installation

You have a few options for installing/using frequent. The first is to install using your package manager of choice, pipenv for instance:

$ pipenv install frequent

However, taking a cue from the excellent boltons package, each component is self-contained in its respective file/folder allowing for easy vendorization. Components are not dependent on one another and rely solely on the standard library. This makes vendorization of a component as simple as copying just the file/folder for the component(s) that you need (same goes for the unit tests).

About

I found myself copying/re-writing certain components for my projects over and over again. This library is an attempt to take some of these components I find myself needing frequently (and re-writing too frequently) and package them up in a convenient and easy-to-use format.

License

Frequent © Copyright 2019, Douglas Daly. All rights reserved. This project is licensed under the MIT License, see the LICENSE file for more details.

Release files for frequent 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for frequent 0.1.1
File Size Uploaded
frequent-0.1.1.tar.gz 13.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for frequent 0.1.1
File Interpreter ABI Platform
frequent-0.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 26.7 kB

Release files / frequent-0.1.1.tar.gz

Download URL frequent-0.1.1.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
defe2f456f82966c75e11bc3ce8faea118bc3cd62df864d5f53d33b41097a5cd
BLAKE2b-256 checksum
How to use checksums
b22c94b065aa2784a031bbfa2e4a17fe4754cfc4873b66a54fdcaeb58b15b665
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release files / frequent-0.1.1-py2.py3-none-any.whl

Download URL frequent-0.1.1-py2.py3-none-any.whl
Size 13.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
529fb0249e52459044dc4ff4b51bb89ebf4431666d54af3073431eb9f57c745d
BLAKE2b-256 checksum
How to use checksums
18d507c8886cd25b7ebd59d0318bf948d76c0a620c76739b52c8d7ba9d019937
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

0.0.1

2 release 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