semvec/pypi-packages huggingface dataset:
makkus.multiformats-config 0.2.2
Forked from the original author until they incorporate latest fixes; pre-loading configuration module for the 'multiformats' package.
Requires Python: >=3.8

multiformats-config: Configuration for the 'multiformats' package.
==================================================================

.. image:: https://img.shields.io/badge/python-3.7+-green.svg
    :target: https://docs.python.org/3.7/
    :alt: Python versions

.. image:: https://img.shields.io/pypi/v/multiformats-config.svg
    :target: https://pypi.python.org/pypi/multiformats-config/
    :alt: PyPI version

.. image:: https://img.shields.io/pypi/status/multiformats-config.svg
    :target: https://pypi.python.org/pypi/multiformats-config/
    :alt: PyPI status

.. image:: http://www.mypy-lang.org/static/mypy_badge.svg
    :target: https://github.com/python/mypy
    :alt: Checked with Mypy

This module provides configuration and table information for the `multiformats <https://github.com/hashberg-io/multiformats/>`_ library.

This is a temporary fork of the original project to be used until the original project incorporates a bug fix to work with newer versions of the 'typing_extensions' dependency. Python versions 3.11 & 3.12 are not tested with this fork.

Bug: https://github.com/hashberg-io/typing-validation/issues/1

License
-------

`MIT © Hashberg Ltd. <LICENSE>`_

See `additional Licenses <ADDITIONAL-LICENSES>`_ for licensing of the multicodec table, the multibase table and test vectors for multihashes.
listdbm 0.0.3
helps you manage databases using lists
Keywords: python,database,manage,db,list


# Explaining The Library:
---
#### This Library is Useful, Why?

#### Because This Library can be used for `.JSON` Format Databases
# Examples: 
---
Creating a User:
```
from listdbm import SetUser
user = SetUser('rose', 'rosesecretpass1234', 'rosemail@gmail.com')
```
SetUser Args: `name`, `password` and `email`

Result:
```
list: [202, True, {'uuid': '1d0552db-4280-4d7b-83e5-a97a825ba3f5', ...}]
```

# Changelog 0.0.3
---
- Added own file Name Support
- In the User() functions like `name`, `password` and `email` have changed to variables


# Understand More by Exploring...
makkus.typing-validation 1.0.3
Forked from the original author until they incorporate latest fixes; a simple library for runtime type-checking.
Requires Python: >=3.8


typing-validation: Validation using Type Hints
==============================================

.. image:: https://img.shields.io/badge/python-3.7+-green.svg
    :target: https://docs.python.org/3.7/
    :alt: Python versions

.. image:: https://img.shields.io/pypi/v/typing-validation.svg
    :target: https://pypi.python.org/pypi/typing-validation/
    :alt: PyPI version

.. image:: https://img.shields.io/pypi/status/typing-validation.svg
    :target: https://pypi.python.org/pypi/typing-validation/
    :alt: PyPI status

.. image:: http://www.mypy-lang.org/static/mypy_badge.svg
    :target: https://github.com/python/mypy
    :alt: Checked with Mypy
    
.. image:: https://readthedocs.org/projects/typing-validation/badge/?version=latest
    :target: https://typing-validation.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. image:: https://github.com/hashberg-io/typing-validation/actions/workflows/python-pytest.yml/badge.svg
    :target: https://github.com/hashberg-io/typing-validation/actions/workflows/python-pytest.yml
    :alt: Python package status

.. image:: https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square
    :target: https://github.com/RichardLitt/standard-readme
    :alt: standard-readme compliant

Typing-validation is a small library to perform runtime validation of Python objects using `PEP 484 type hints <https://www.python.org/dev/peps/pep-0484/>`_.


This is a temporary fork of the original project to be used until the original project incorporates a bug fix to work with newer versions of the 'typing_extensions' dependency.

Bug: https://github.com/hashberg-io/typing-validation/issues/1

.. contents::


Install
-------

You can install the latest release from `PyPI <https://pypi.org/project/multiformats/>`_ as follows:

.. code-block::

    pip install --upgrade typing-validation


Usage
-----

The core functionality of this library is provided by the `validate` function:


>>> from typing_validation import validate

The `validate` function is invoked with a value and a type as its arguments and it returns nothing when the given value is valid for the given type:

>>> validate(12, int)
# nothing is returned => 12 is a valid int

If the value is invalid for the given type, the `validate` function raises a `TypeError`:

>>> validate(12, str)
TypeError: For type <class 'str'>, invalid value: 12

For nested types (e.g. parametric collection/mapping types), the full chain of validation failures is shown by the type error:

>>> validate([0, 1, "hi"], list[int])
TypeError: For type list[int], invalid value: [0, 1, 'hi']
  For type <class 'int'>, invalid value: 'hi'


API
---

For the full API documentation, see https://typing-validation.readthedocs.io/


Contributing
------------

Please see `<CONTRIBUTING.md>`_.


License
-------

`MIT © Hashberg Ltd. <LICENSE>`_