semvec/pypi-packages huggingface dataset:
impersonation 1.1.0
Utility for user impersonation by running instructions under given user
License: MIT
Requires Python: >=3.8,<4.0
Keywords: process,multiprocessing,impersonate,python,python3

*************
impersonation
*************

.. image:: https://img.shields.io/pypi/v/impersonation
    :target: https://pypi.org/project/impersonation
    :alt: PyPI version
.. image:: https://github.com/codectl/impersonation/actions/workflows/ci.yaml/badge.svg
    :target: https://github.com/codectl/impersonation/actions/workflows/ci.yaml
    :alt: CI
.. image:: https://codecov.io/gh/codectl/impersonation/branch/master/graph/badge.svg
    :target: https://app.codecov.io/gh/codectl/impersonation/branch/master
    :alt: codecov
.. image:: https://img.shields.io/pypi/pyversions/impersonation
    :target: https://pypi.org/project/impersonation
    :alt: Python compatibility
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black
    :alt: code style: black
.. image:: https://img.shields.io/badge/License-MIT-yellow.svg
    :target: https://opensource.org/licenses/MIT
    :alt: license: MIT

A utility that allows a certain routine to run under a given user. To achieve this, a
process will run under the ``uid`` and ``gid`` of the intended user. For that
reason, it is a requirement that the running process has ``SETUID`` and
``SETGID`` capabilities.

Features
========
* decorator for instance methods
* decorator for ``classmethod`` and ``staticmethod``
* decorator for classes

Installation
============
Install the package directly from ``PyPI`` (recommended):

.. code-block:: bash

    $ pip install -U impersonation

Example usage
=============
A simple example on how to work with a ``Flask`` application:

.. code-block:: python

    from impersonation import impersonate


    # it works on functions
    @impersonate("username")
    def printer(string):
        print(string)


    # ... and classes
    @impersonate("username")
    class Printer:
        def __init__(self, prefix=""):
            self.prefix = prefix

        def printer1(self, string):
            print(f"{self.prefix}{string}")

        @staticmethod
        def printer2(string):
            print(string)

Tests & linting 🚥
==================
Run tests with ``tox``:

.. code-block:: bash

    # ensure tox is installed
    $ tox

Run linter only:

.. code-block:: bash

    $ tox -e lint

Optionally, run coverage as well with:

.. code-block:: bash

    $ tox -e coverage

License
=======
MIT licensed. See `LICENSE <LICENSE>`__.
re-cloud 0.3.0
re_cloud - data quality framework
License: MIT

# re-cloud

re_cloud enables you to store and collaborate on reports from different open-source and custom build data apps. (including **[re_data](https://github.com/re-data/re-data)**)

At lof of data apps produce reports in the form of html applications which are very usefull. We believe deploying those reports on your S3 or GCS is quite limiting and we as a data community can do much better 😊 

We heard numours questions on how to deploy re_data and this pushed as into starting re_cloud for our, but also other data apps users 😊

# Getting started

re_cloud python package is primarly designed to upload reports to our Cloud solution. If you are curious about it and would like to jump right into it, you can start with a **[free account here 😊](https://cloud.getre.io/#/register)**. Yu can also check more docs on re_data & re_cloud **[here](https://docs.getre.io/)**.