Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flanautils

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flanautils

Set of utilities of all kinds to develop python projects.

  • 1.8.1
  • PyPI
  • Socket score

Maintainers
1

FlanaUtils

|license| |project_version| |python_version|

Set of utilities of all kinds to develop python projects.

|

Installation

Python 3.10 or higher is required.

.. code-block::

pip install flanautils

|

Features

Data structures


- BiDict:
    Dictionary that saves references in both directions to access constantly by hashes both :code:`key -> value` and :code:`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 :code:`do_later(...)`, :code:`do_every(...)`, etc.
- Decorators
- Exceptions
- Iterable utils like smart :code:`filter(...)`, :code:`find(...)`, :code:`flattn_iterator(...)`, :code:`frange(...)`, etc.
- Operating system utils like :code:`resolve_path(...)`, :code:`suppress_stderr(...)`, etc.
- Strings utils like :code:`cartesian_product_string_matching(...)`, :code:`join_last_separator(...)`, :code:`translate(...)`, :code:`words_to_numbers(...)`, etc.


.. |license| image:: https://img.shields.io/github/license/AlberLC/flanautils?style=flat
    :target: https://github.com/AlberLC/flanautils/blob/main/LICENSE
    :alt: License

.. |project_version| image:: https://img.shields.io/pypi/v/flanautils
    :target: https://pypi.org/project/flanautils/
    :alt: PyPI

.. |python_version| image:: https://img.shields.io/pypi/pyversions/flanautils
    :target: https://www.python.org/downloads/
    :alt: PyPI - Python Version

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc