semvec/pypi-packages huggingface dataset:
filters-iso 1.0.3
Adds filters for interpreting ISO codes.
License: MIT
Keywords: data validation,iso-3166,iso-4217,ietf language tags,bcp 47

.. image:: https://travis-ci.org/eflglobal/filters-iso.svg?branch=master
   :target: https://travis-ci.org/eflglobal/filters-iso
.. image:: https://readthedocs.org/projects/filters/badge/?version=latest
   :target: http://filters.readthedocs.io/

===========
ISO Filters
===========
Adds filters for interpreting standard codes and identifiers, including:

- ISO 3166-1 alpha-2 and alpha-3 country codes.
- ISO 4217 currency codes.
- IETF Language Tags (aka BCP 47).

------------
Installation
------------
This package is an extension for the `Filters library`, so you can install it
as an extra to ``filters``:

.. code:: bash

   pip install filters[iso]


If desired, you can install this package separately.  This allows you to control
the package version separately from ``filters``.

.. code:: bash

   pip install filters-iso


.. _Filters library: https://pypi.python.org/pypi/filters
filters 1.3.2
Validation and data pipelines made easy!
License: MIT
Keywords: data validation

.. image:: https://travis-ci.org/eflglobal/filters.svg?branch=master
   :target: https://travis-ci.org/eflglobal/filters
.. image:: https://readthedocs.org/projects/filters/badge/?version=latest
   :target: http://filters.readthedocs.io/

=======
Filters
=======
The Filters library provides an easy and readable way to create complex
data validation and processing pipelines, including:

- Validating complex JSON structures in API requests or config files.
- Parsing timestamps and converting to UTC.
- Converting Unicode strings to NFC, normalizing line endings and removing
  unprintable characters.
- Decoding Base64, including URL-safe variants.

And much more!

The output from one filter can be "piped" into the input of another, enabling
you to "chain" filters together to quickly and easily create complex data
pipelines.

Examples
========
Validate a latitude position and round to manageable precision:

.. code:: python

   (
       f.Required
     | f.Decimal
     | f.Min(Decimal(-90))
     | f.Max(Decimal(90))
     | f.Round(to_nearest='0.000001')
   ).apply('-12.0431842')

Parse an incoming value as a datetime, convert to UTC and strip tzinfo:

.. code:: python

   f.Datetime(naive=True).apply('2015-04-08T15:11:22-05:00')

Convert every value in an iterable (e.g., list) to unicode and strip
leading/trailing whitespace.
This also applies `Unicode normalization`_, strips unprintable characters and
normalizes line endings automatically.

.. code:: python

   f.FilterRepeater(f.Unicode | f.Strip).apply([
     b'\xe2\x99\xaa ',
     b'\xe2\x94\x8f(\xc2\xb0.\xc2\xb0)\xe2\x94\x9b ',
     b'\xe2\x94\x97(\xc2\xb0.\xc2\xb0)\xe2\x94\x93 ',
     b'\xe2\x99\xaa ',
   ])

Parse a JSON string and check that it has correct structure:

.. code:: python

   (
       f.JsonDecode
     | f.FilterMapper(
         {
           'birthday':  f.Date,
           'gender':    f.CaseFold | f.Choice(choices={'m', 'f', 'x'}),

           'utcOffset':
               f.Decimal
             | f.Min(Decimal('-15'))
             | f.Max(Decimal('+15'))
             | f.Round(to_nearest='0.25'),
         },

         allow_extra_keys   = False,
         allow_missing_keys = False,
       )
   ).apply('{"birthday":"1879-03-14", "gender":"M", "utcOffset":"1"}')

============
Requirements
============
Filters is compatible with Python versions 3.6, 3.5 and 2.7.

============
Installation
============
Install the latest stable version via pip::

    pip install filters

Extensions
==========
The following extensions are available:

- `Django Filters`_: Adds filters designed to work with Django applications.
  To install::

      pip install filters[django]

- `ISO Filters`_: Adds filters for interpreting standard codes and identifiers.
  To install::

      pip install filters[iso]

.. _Django Filters: https://pypi.python.org/pypi/filters-django
.. _ISO Filters: https://pypi.python.org/pypi/filters-iso
.. _Unicode normalization: https://en.wikipedia.org/wiki/Unicode_equivalence
pymongo_mate 0.0.4
A library extend pymongo module, makes CRUD easier, and more.
License: MIT

.. image:: https://travis-ci.org/MacHu-GWU/pymongo_mate-project.svg?branch=master
    :target: https://travis-ci.org/MacHu-GWU/pymongo_mate-project?branch=master

.. image:: https://codecov.io/gh/MacHu-GWU/pymongo_mate-project/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/MacHu-GWU/pymongo_mate-project

.. image:: https://img.shields.io/pypi/v/pymongo_mate.svg
    :target: https://pypi.python.org/pypi/pymongo_mate

.. image:: https://img.shields.io/pypi/l/pymongo_mate.svg
    :target: https://pypi.python.org/pypi/pymongo_mate

.. image:: https://img.shields.io/pypi/pyversions/pymongo_mate.svg
    :target: https://pypi.python.org/pypi/pymongo_mate

.. image:: https://img.shields.io/badge/Star_Me_on_GitHub!--None.svg?style=social
    :target: https://github.com/MacHu-GWU/pymongo_mate-project


Welcome to pymongo_mate Documentation
=====================================
A library extend pymongo module, makes CRUD easier.


Quick Links
-----------

- .. image:: https://img.shields.io/badge/Link-Document-red.svg
      :target: http://www.wbh-doc.com.s3.amazonaws.com/pymongo_mate/index.html

- .. image:: https://img.shields.io/badge/Link-API_Reference_and_Source_Code-red.svg
      :target: API reference and source code <http://www.wbh-doc.com.s3.amazonaws.com/pymongo_mate/py-modindex.html

- .. image:: https://img.shields.io/badge/Link-Install-red.svg
      :target: `install`_

- .. image:: https://img.shields.io/badge/Link-GitHub-blue.svg
      :target: https://github.com/MacHu-GWU/pymongo_mate-project

- .. image:: https://img.shields.io/badge/Link-Submit_Issue_and_Feature_Request-blue.svg
      :target: https://github.com/MacHu-GWU/pymongo_mate-project/issues

- .. image:: https://img.shields.io/badge/Link-Download-blue.svg
      :target: https://pypi.python.org/pypi/pymongo_mate#downloads


Features
--------
- query builder: you don't have to remember mongodb operator syntax, just select builder from ``from pymongo_mate import query_builder as qb``, for example: ``qb.Text.startswith("/usr/bin")``
- select helper: writing complexe aggregation pipeline is pain, pymongo_mate provide functional interface to help you, just follow your human instinct.
- insert helper: a smart insert function helps you for bulk-insert with best performance, and plus, allows to insert ``pandas.DataFrame``.
- update helper.
- mongomock support: allows you to dump your mongomock database to a file. With this data persistence layer, you can use mongomock as a rich-featured pure-python faked mongodb.


.. _install:

Install
-------

``pymongo_mate`` is released on PyPI, so all you need is:

.. code-block:: console

	$ pip install pymongo_mate

To upgrade to latest version:

.. code-block:: console

	$ pip install --upgrade pymongo_mate