Skip to main content

exponential_counter

PyPI - Version PyPI - Python Version


Table of Contents

Usage

from exponential_counter import ExponentialCounter, LinearCounter
counter = LinearCounter(max_value=4)
values = [counter() for i in range(8)]
# [0, 1, 2, 3, 4, 4, 4, 4]

counter = ExponentialCounter(start=4, step=3, max_value=32)
values = [counter() for i in range(6)]
# [4, 12, 32, 32, 32, 32]

Installation

pip install exponential-counter

License

exponential-counter is distributed under the terms of the MIT license.

Metadata

Release files for exponential-counter 0.0.2

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

Source distribution (sdist)

Source distribution for exponential-counter 0.0.2
File Size Uploaded
exponential_counter-0.0.2.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exponential-counter 0.0.2
File Interpreter ABI Platform
exponential_counter-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / exponential_counter-0.0.2.tar.gz

Download URL exponential_counter-0.0.2.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a0b073a231192031e3bc028dd356ff97e65af0e5e71f61740a0495f149e86665
BLAKE2b-256 checksum
How to use checksums
da99b87cbc29a1b733acb3f015f2105f6b35ec4eb23691b1ed834f4a346fe641
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.0

Release files / exponential_counter-0.0.2-py3-none-any.whl

Download URL exponential_counter-0.0.2-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
466237ac168be40c72e111e97a167ef827787c6294d019b6321e51c500618ee2
BLAKE2b-256 checksum
How to use checksums
cfa99cbfad3ea5118004f377b23b8085724af815ab03ff2bc850337e91211541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.0

Release history Release notifications | RSS feed

This release

0.0.2 This release

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