Skip to main content

FlanaUtils

License PyPI PyPI - Python Version

Set of utilities of all kinds to develop python projects.


Installation

Python 3.10 or higher is required.

pip install flanautils

Features

Data structures

  • BiDict:

    Dictionary that saves references in both directions to access constantly by hashes both key -> value and key <- vaue. To achieve this, a copy of the dictionary is used but inverted.

  • OrderedSet:

    A set that maintains the insertion order and implements all the methods of set and list, although since it is a structure based on hashes the traversal of all the elements and the use of Sequence-based functions (tuple, list, etc.) aren’t efficient.

Models

  • Base class for serialize to bytes

  • Base class for serialize to dict

  • Base class for serialize to json

  • Base class for calculate mean of objects

  • Base class that acts as a object-document mapper (ODM)

  • Base class for enums

  • Plotly classes

  • etc.

Functions

  • Asyncs utils like do_later(...), do_every(...), etc.

  • Decorators

  • Exceptions

  • Iterable utils like smart filter(...), find(...), flattn_iterator(...), frange(...), etc.

  • Operating system utils like resolve_path(...), suppress_stderr(...), etc.

  • Strings utils like cartesian_product_string_matching(...), join_last_separator(...), translate(...), words_to_numbers(...), etc.

Metadata

Release files for flanautils 1.8.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 flanautils 1.8.1
File Size Uploaded Provenance Actions
flanautils-1.8.1.tar.gz 1.1 MB Without provenance Details for flanautils-1.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flanautils 1.8.1
File Interpreter ABI Platform Actions
flanautils-1.8.1-py3-none-any.whl Python 3 none any Details for flanautils-1.8.1-py3-none-any.whl

Total release size: 2.2 MB

Release files / flanautils-1.8.1.tar.gz

Download URL flanautils-1.8.1.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
2cac764a0a53144e6adb416800a7f0c02631477fff66c1d77b0be49481f4c313
BLAKE2b-256 checksum
How to use checksums
09f0a05d2de99d39128be0c8a89f0c71adc72e953bb436f830a8c689ea95d1f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / flanautils-1.8.1-py3-none-any.whl

Download URL flanautils-1.8.1-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
16cc2791823f7cdb5e964d332f827eba450a6cad06bbb2867c5b65482a4d2895
BLAKE2b-256 checksum
How to use checksums
737b9a5d673919502464bfb90133ce40c4efff9641c1947a598aae28208068fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Security for flanautils 1.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.8.1 This release

2 release files No provenance

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