semvec/pypi-packages huggingface dataset:
jsonmask-ng 0.4.5
Implements the Google Partial Response protocol in Python
License: MIT
Requires Python: >=3.7,<3.12
Keywords: jsonmask_ng,jsonmask,json,google partial response

[![Build Status](https://img.shields.io/travis/juanyque/jsonmask_ng/master.svg)](https://travis-ci.org/juanyque/jsonmask_ng) [![Coverage Status](https://img.shields.io/coveralls/juanyque/jsonmask_ng/master.svg)](https://coveralls.io/r/juanyque/jsonmask_ng) [![PyPI Version](https://img.shields.io/pypi/v/jsonmask_ng.svg)](https://pypi.org/project/jsonmask_ng)

# Overview

Implements [Google Partial Response](https://developers.google.com/discovery/v1/performance#partial-response) / [`json-mask`](https://github.com/nemtsov/json-mask) in Python.

jsonmask_ng is a fork of [jsonmask](https://github.com/zapier/jsonmask) from Zapier that seems discontinued.

## Requirements

- Python 3.7
- Python 3.8
- Python 3.9
- Python 3.10
- Python 3.11

## Installation

Install jsonmask_ng with pip:

```sh
$ pip install jsonmask_ng
```

or directly from the source code:

```sh
$ git clone https://github.com/juanyque/jsonmask_ng.git
$ cd jsonmask_ng
$ python setup.py install
```

# Usage

After installation, the package can imported:

```sh
$ python
>>> import jsonmask_ng
>>> jsonmask_ng.__version__
```

To prune dictionaries:

```py
>>> import jsonmask_ng
>>> mask = jsonmask_ng.parse_fields('a,b(c,d)')
>>> jsonmask_ng.apply_json_mask(
    {
        'a': {
            'nested_within_a': True,
        },
        'b': {
            'c': True,
            'd': {'Will get included?': 'Yes'},
            'e': 'Tough luck here',
        },
        'c': 'Definitely hopeless',
    },
    mask,
)
```

Output:

```py
{
    'a': {
        'nested_within_a': True,
    },
    'b': {
        'c': True,
        'd': {'Will get included?': 'Yes'},
    },
}
```

## Contribute

To setup an appropriate dev environment:

- With docker environment available
- run: `./docker_start.sh``

- run tests `make test`

- Clean (test, cache, ...) `make clean`

- Clean (test, cache, ... including virtualenv) `make clean-all` (you will need a `make all` after this)

- Build dist package: `make build`

- Set PyPI credentials: `poetry config pypi-token.pypi pypi-xxxxxTOKENXxxx` (find token in `~/.pypirc` file or create a new one on https://pypi.org/manage/account/token/)

- Build dist package: `make upload`

### Util commands:

- To fix poetry.lock with minimal changes: `poetry lock --no-update`
- To fix poetry.lock updating package versions: `poetry lock` (this could don't work)
- After `poetry lock...` probably you will need to do `make all` to update packages on virtualenv
erpbrasil.bank.inter 1.1.0
Integração com o Banco Inter em Python
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*

========
Overview
========



Integração com o Banco Inter em Python

* Free software: MIT license

Installation
============

::

    pip install erpbrasil.bank.inter

You can also install the in-development version with::

    pip install https://github.com/erpbrasil/erpbrasil.bank.inter/archive/master.zip


Documentation
=============


https://erpbrasilbankinter.readthedocs.io/


Development
===========

To run all the tests run::

    tox

Note, to combine the coverage data from all the tox environments run:

.. list-table::
    :widths: 10 90
    :stub-columns: 1

    - - Windows
      - ::

            set PYTEST_ADDOPTS=--cov-append
            tox

    - - Other
      - ::

            PYTEST_ADDOPTS=--cov-append tox


Changelog
=========

0.1.0 (2020-11-15)
------------------

* First release on PyPI.