semvec/pypi-packages huggingface dataset:
InPynamoDB 4.1.3
asyncio wrapper of PynamoDB
License: MIT
Keywords: python dynamodb amazon async pynamodb

# InPynamoDB

[![Build Status](https://travis-ci.org/sunghyun-lee/InPynamoDB.svg?branch=master)](https://travis-ci.org/sunghyun-lee/InPynamoDB)
[![Coverage Status](https://coveralls.io/repos/github/sunghyun-lee/InPynamoDB/badge.svg?branch=4.1.0)](https://coveralls.io/github/sunghyun-lee/InPynamoDB?branch=master)

This transforms [PynamoDB](https://github.com/pynamodb/PynamoDB)'s basic methods working asynchronously used [aiobotocore](https://github.com/aio-libs/aiobotocore).

This library may be merged into PynamoDB as a feature of it, but for the time being, you can use this library if you need to run any operation on DynamoDB asynchronously. 

### From introduction of [PynamoDB](https://github.com/pynamodb/PynamoDB):
A Pythonic interface for Amazon's DynamoDB that supports Python 2 and 3. (InPynamoDB supports from Python 3.6 because this uses async/await.)

DynamoDB is a great NoSQL service provided by Amazon, but the API is verbose. PynamoDB presents you with a simple, elegant API.

# Requirements
- Python 3.6 and above for this library is using `async/await` keyword.

# Installation
$ pip install InPynamoDB

# Basic Usage

This library is not well-documented. If you know how to use asyncio with async/await syntax, you will know where to change
from PynamoDB syntax since it is very intuitive to use if you know how to use PynamoDB and asyncio.

Detailed document will be available, soon. (Please bear with me) 

For the time being, please refer to [PynamoDB documentation](https://pynamodb.readthedocs.io/).


### Defining model
```python
from inpynamodb.models import Model
from inpynamodb.attributes import UnicodeAttribute

class UserModel(Model):
    """
    A DynamoDB User
    """
    class Meta:
        table_name = "dynamodb-user"
    email = UnicodeAttribute(null=True)
    first_name = UnicodeAttribute(range_key=True)
    last_name = UnicodeAttribute(hash_key=True)


# you can declare model:
user = UserModel(email="hgd@testing.com", first_name="gildong", last_name="hong")

```

### Basic Manipulation

```python
# GET
user = await UserModel.get(hash_key="John", range_key="Doe")

# BATCH_GET
async for user in UserModel.batch_get(keys):  # `keys` argument should be list.
    print(user.id)
    # ...
```

- UPDATE

```python
await user.update(actions=[UserModel.first_name.set("new_first_name")])
```

# Contribution
Any form of contribution is always welcome! This library uses `poetry` as package manager, so you have to install [poetry](https://python-poetry.org/) to install required packages.

Please leave issues in any form, I will check ASAP.
bio-rtd 0.7.2
Library for modeling residence time distributions (RTD) of integrated continuous biomanufacturing processes.
License: MIT
Requires Python: >=3.7
Keywords: residence time distribution,biomanufacturing

# bio-rtd library
**bio-rtd** library is a python library for modeling
residence time distributions (RTD)
of integrated continuous biomanufacturing processes.

## Version
Current version: 0.7.1

## Requirements

Python 3.7.+

Core dependencies:

    numpy
    scipy

Packages for visual representation in examples:

    bokeh
    xlrd

Packages for importing data from Excel in examples:

    pandas

## Set up

Using package manager:

    pip install bio_rtd

To run examples, download or clone the github repo:

    git clone https://github.com/open-biotech/bio-rtd.git

and set local destination (`/path_to/bio-rtd`) as a working directory
or add it to the python path.


## Getting started

Examples can be run as scripts:

    python examples/models/single_pcc.py

Model examples ending with `_gui.py`
can be run via `bokeh serve` command:

    bokeh serve examples/models/integrated_mab_gui.py

or

    python bokeh serve examples/models/integrated_mab_gui.py

For more information see the [Documentation](https://open-biotech.github.io/bio-rtd-docs/).

## Documentation

The documentation can be accessed at https://open-biotech.github.io/bio-rtd-docs/ or by building a local version.

To build a local version of documentation install the following packages:

    pip install sphinx sphinx_autodoc_typehints sphinx_rtd_theme

run command:

    make html

and open `docs/build/html/index.html` with a web browser.


## Meta information

Distributed under the MIT license. See ``LICENSE`` for more information.

For technical issues, bug reports and feature request use
[issue tracker](https://github.com/open-biotech/bio-rtd/issues).

If you want to contribute to the code, see
[Developers guide](https://open-biotech.github.io/bio-rtd-docs/user_guide/development.html).

If you are using the library in your projects please let 
[us know](mailto:jure.sencar@boku.ac.at).
This way we know how much interest there is, what is the scope of usage,
the needs, etc. This information influences the future development of the project.


E-mail: [jure.sencar@boku.ac.at](mailto:jure.sencar@boku.ac.at)

University of Natural Resources and Life Sciences (BOKU), Vienna

## Referencing the library

 If you are using this package for a scientific publication,
 please add the following reference:

* Senčar, J., (2020) GitHub Repository,
   https://github.com/open-biotech/bio-rtd.

## Acknowledgements
This work was supported by:

- The Federal Ministry for Digital and
  Economic Affairs (bmwd), the Federal Ministry for Transport,
  Innovation and Technology (bmvit),
  the Styrian Business Promotion Agency SFG,
  the Standortagentur Tirol,
  Government of Lower Austria,
  and ZIT - Technology Agency of the City of Vienna
  through the COMET-Funding Program managed
  by the Austrian Research Promotion Agency FFG
- Baxalta Innovations GmbH (now part of Takeda)
- Bilfinger Industrietechnik Salzburg GmbH