semvec/pypi-packages huggingface dataset:
stream-csv 0.1.1
Ways to stream CSV content.
License: MIT
Requires Python: >=3.6.1,<4.0.0

<h1 align="center">
    <strong>stream-csv</strong>
</h1>
<p align="center">
    <a href="https://github.com/Kludex/stream-csv" target="_blank">
        <img src="https://img.shields.io/github/last-commit/Kludex/stream-csv" alt="Latest Commit">
    </a>
        <img src="https://img.shields.io/github/workflow/status/Kludex/stream-csv/Test">
        <img src="https://img.shields.io/codecov/c/github/Kludex/stream-csv">
    <br />
    <a href="https://pypi.org/project/stream-csv" target="_blank">
        <img src="https://img.shields.io/pypi/v/stream-csv" alt="Package version">
    </a>
    <img src="https://img.shields.io/pypi/pyversions/stream-csv">
    <img src="https://img.shields.io/github/license/Kludex/stream-csv">
</p>


## Installation

``` bash
pip install stream-csv
```

## Usage

```python
from fastapi import FastAPI
from starlette.responses import StreamingResponse

from stream_csv.stream import stream_data

app = FastAPI()


@app.get("/")
def get_csv():
    headers = ["type", "color", "size"]
    dict_data = [
        {"type": "potato", "color": "blue", "size": 1},
        {"type": "banana", "color": "red", "size": 2},
        {"type": "potato", "size": 3, "color": "yellow"},
    ]
    return StreamingResponse(
        stream_data(dict_data, headers),
        media_type="text/csv",
        headers={"Content-Disposition": "attachment; filename=data.csv"},
    )
```

## License

This project is licensed under the terms of the MIT license.
Quart-Trio-Twice 0.6.1
Quart-Trio 0.6 temporary fork
License: MIT
Requires Python: >=3.7.0

Quart-Trio
==========

|Build Status| |docs| |pypi| |python| |license|

Quart-Trio is an extension for `Quart
<https://gitlab.com/pgjones/quart>`__ to support the `Trio
<https://trio.readthedocs.io/en/latest/>`_ event loop. This is an
alternative to using the asyncio event loop present in the Python
standard library and supported by default in Quart.

Quickstart
----------

QuartTrio can be installed via `pip
<https://docs.python.org/3/installing/index.html>`_,

.. code-block:: console

    $ pip install quart-trio

and requires Python 3.7.0 or higher (see `python version support
<https://pgjones.gitlab.io/quart/discussion/python_versions.html>`_ for
reasoning).

A minimal Quart example is,

.. code-block:: python

    from quart import websocket
    from quart_trio import QuartTrio

    app = QuartTrio(__name__)

    @app.route('/')
    async def hello():
        return 'hello'

    @app.websocket('/ws')
    async def ws():
        while True:
            await websocket.send('hello')

    app.run()

if the above is in a file called ``app.py`` it can be run as,

.. code-block:: console

    $ python app.py

To deploy in a production setting see the `deployment
<https://pgjones.gitlab.io/quart-trio/tutorials/deployment.html>`_
documentation.

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

Quart-Trio is developed on `GitLab
<https://gitlab.com/pgjones/quart-trio>`_. You are very welcome to
open `issues <https://gitlab.com/pgjones/quart-trio/issues>`_ or
propose `merge requests
<https://gitlab.com/pgjones/quart-trio/merge_requests>`_.

Testing
~~~~~~~

The best way to test Quart-Trio is with Tox,

.. code-block:: console

    $ pip install tox
    $ tox

this will check the code style and run the tests.

Help
----

The `Quart-Trio <https://pgjones.gitlab.io/quart-trio/>`__ and `Quart
<https://pgjones.gitlab.io/quart/>`__ documentation are the best
places to start, after that try searching `stack overflow
<https://stackoverflow.com/questions/tagged/quart>`_, if you still
can't find an answer please `open an issue
<https://gitlab.com/pgjones/quart-trio/issues>`_.


.. |Build Status| image:: https://gitlab.com/pgjones/quart-trio/badges/master/pipeline.svg
   :target: https://gitlab.com/pgjones/quart-trio/commits/master

.. |docs| image:: https://img.shields.io/badge/docs-passing-brightgreen.svg
   :target: https://pgjones.gitlab.io/quart-trio/

.. |pypi| image:: https://img.shields.io/pypi/v/quart-trio.svg
   :target: https://pypi.python.org/pypi/Quart-Trio/

.. |python| image:: https://img.shields.io/pypi/pyversions/quart-trio.svg
   :target: https://pypi.python.org/pypi/Quart-Trio/

.. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg
   :target: https://gitlab.com/pgjones/quart-trio/blob/master/LICENSE
beets-lidarr-fields 1.1.2
Beets plugin that defines some useful template fields to customize your path formats in a more lidarr way.
License: MIT
Requires Python: >=3.4.0

**Beets - Lidarr Fields**
=========================

This is a plugin for [Beets](https://github.com/beetbox/beets).
It provides some template fields to customize your path formats in
a more [Lidarr](https://github.com/lidarr/Lidarr) way.
It works faster than using the built-in inline plugin because it
evaluates those fields only once per album (same value for all tracks).
Currently, this plugin provides three template fields:

* releasegroupartist  
  It refers to the "Release Group Artist" (or the first one if multiple)
  which is whom Lidarr links a release to.

* lidarralbum  
  Original album name, but with illegal characters replaced
  the same way Lidarr does it.
  
* audiodisctotal  
  Similar to beet's 'disctotal' field, only it ignores video medias like
  Blu-ray, DVD, etc.

*Plugin only lightly tested by me. Use at your own risk!*


**Install**
===========

To install it, use pip:

    pip install beets-lidarr-fields

or

    git clone https://github.com/rafaelparente/beets-lidarr-fields.git
    cd beets-lidarr-fields
    python setup.py install


**Configuration**
=================

Enable the plugin in beets' config.yaml

    plugins: lidarrfields

How to use it
-------------

Use it to build your path formats in beet's config.yaml,
like it's explained in the [Beets Docs](https://beets.readthedocs.io/en/stable/reference/pathformat.html).
To make it look like Lidarr's default format, set it like:

    paths:
        default: $releasegroupartist/$lidarralbum ($year)/%if{$audiodisctotal,$disc - }${track}. $title
        
    per_disc_numbering: yes

Be aware that the ``aunique`` template function will
(most likelly) **not** work on lidarralbum.

## Contributors ✨

Thanks goes to these wonderful people:

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
  <tr>
    <td align="center"><a href="https://github.com/mod242"><img src="https://avatars.githubusercontent.com/u/40213799?v=3?s=100" width="100px;" alt=""/><br /><sub><b>mod242</b></sub></a><br /><a href="https://github.com/rafaelparente/beets-lidarr-fields/commits?author=mod242" title="Code">💻</a> </td>
	<td align="center"><a href="https://github.com/DOFfactory"><img src="https://avatars0.githubusercontent.com/u/10846169?v=4?s=100" width="100px;" alt=""/><br /><sub><b>DOFfactory</b></sub></a><br /><a href="https://github.com/rafaelparente/beets-lidarr-fields/issues?q=author:DOFfactory" title="Bug reports">🐛</a></td>
  </tr>
</table>

<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->

<!-- ALL-CONTRIBUTORS-LIST:END -->
aws-cli-mfa 0.1.1b0
It can help you to access AWS resources through AWS CLI with MFA token
License: MIT

# AWS CLI MFA
It can help you to access AWS resources through AWS CLI with MFA token.<br>

## Preperation
1. AWS CLI environemnt (including configurations in ~/.aws)
```bash
$ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
$ unzip awscliv2.zip
$ sudo ./aws/install
```
2. AWS profile name should follow this rule.
You need to prepare 2 profiles.
One for your original IAM user `${profile}-default`, and ther other is for your temporary profile, activated by MFA token. `${profile}`.
```bash
# Let's assume your IAM user name is 'lol'
# ~/.aws/credentials
[lol-default]
aws_access_key_id = ...
aws_secret_access_key = ...

[lol]
```

## Usage
|argument |description                            |mandatory|default                     |
|---------|---------------------------------------|---------|----------------------------|
|--mfa    |MFA token code (--token-code)          |Y        |-                           |
|--profile|AWS profile you want to use (--profile)|N        |AWS_PROFILE in your shell   |
|--arn    |ARN of the MFA device (--serial-number)|N        |.credentials' mfa_device_arn|
```bash
# Your profile should be 'lol'
$ echo $AWS_PROFILE
  lol

# 1st usage: pass arn of mfa togegher
# then, credentials keep your temporary information.
$ aws-cli-mfa --mfa ${mfa-token} --arn arn:aws:iam::${account-id}:mfa/${username} 

# Further usage: only pass mfa token is enough
$ aws-cli-mfa --mfa ${mfa-token}
```
yupp 1.2rc1
yet another lexical preprocessor
License: MIT

::

     __    __    _____ _____
    /\ \  /\ \  /\  _  \  _  \
    \ \ \_\/  \_\/  \_\ \ \_\ \
     \ \__  /\____/\  __/\  __/
      \/_/\_\/___/\ \_\/\ \_\/
         \/_/      \/_/  \/_/

    ($($\y:u.\m.\...(m y($\C.\p.(r)e p)($\ro.(ce)s)))so r)
    ___         __________________________________
    ___ VERSION __________________________________

    yupp        1.2c1
                2021-01-15

    Python      2.7 / 3.6
    ___             ______________________________
    ___ WHAT IS IT? ______________________________

    yupp is a lexical preprocessor for C/C++, Python and
    <you name it> languages.

    Read more:

        https://github.com/in4lio/yupp/tree/master/doc/

    ___             ______________________________
    ___ HELLO WORLD ______________________________

    #include <stdio.h>

    ($set greeting "Hello ($0)!\n")

    int main( void )
    {
        printf( ($greeting (`world)) );
        return 0;
    }

    ___                 __________________________
    ___ HELLO IN PYTHON __________________________

    # coding: yupp

    ($set greeting '!dlrow olleH')

    if __name__ == '__main__':
        print( ($reversed greeting) )

    ___         __________________________________
    ___ LICENSE __________________________________

    Please see the file called "LICENSE".
dotdot 1.1.0
Make it easy to import the modules in parent directories
License: MIT

# DotDot
___Make it easy to import the modules in parent directories___

[![released version](https://img.shields.io/pypi/v/DotDot.svg)](https://pypi.org/project/dotdot)
[![license](https://img.shields.io/github/license/Gsllchb/DotDot.svg)](https://github.com/Gsllchb/DotDot/blob/master/LICENSE.txt)

If you want to solve `ValueError: attempted relative import beyond top-level package`, **DotDot** may be helpful for you.

## Installation
If it can be installed and imported successfully, it should work correctly.

Install via **pip**:
```console
pip install dotdot
```

## Quick Start
Consider a common project structure as following:
```
FooProject
    ├── foo
    │    ├── script.py
    │    └── util.py
    └── util.py
```
Now, `script.py` can import those `util`s by importing `dotdot` first. Like this:
```python
import dotdot
import foo.util
import util
```
Moreover, you can import the modules in grandparent or even great grandparent directory by importing `dotdotdot` or `dotdotdotdot` first.

## How It Works
DotDot does this magic by changing `sys.path[0]` in __import time__.