semvec/pypi-packages huggingface dataset:
objectlink-core 0.2
ObjectLink protocol support for Python
License: MIT
Requires Python: >=3.6
Keywords: rpc objects apigear

# ObjectLink Core Protocol in Python

The ObjectLink protocol is designed to link a local object with a remote objec over a websocket connection.

It supports distributed properties, asynchronous method invokation as also server side signals.

It is designed to wort together with ApiGear Object Model to generate complete client and server side APIs.
cryptoconditions 0.8.1
Multi-algorithm, multi-level, multi-signature format for expressing conditions and fulfillments according to the Interledger Protocol (ILP).
License: MIT
Keywords: cryptoconditions,interledger,merkle tree,ed25519,threshold signatures,hash lock

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

.. image:: https://img.shields.io/travis/bigchaindb/cryptoconditions/master.svg
        :target: https://travis-ci.com/bigchaindb/cryptoconditions

.. image:: https://img.shields.io/codecov/c/github/bigchaindb/cryptoconditions/master.svg
    :target: https://codecov.io/github/bigchaindb/cryptoconditions?branch=master

The cryptoconditions Package
============================

A Python implementation of the Crypto-Conditions spec: a multi-algorithm, multi-level, multi-signature format for expressing conditions and fulfillments.

This implementation doesn't implement the entire Crypto-Conditions spec. It implements the conditions needed by BigchainDB, and some others. It's compliant with `version 02 <https://tools.ietf.org/html/draft-thomas-crypto-conditions-02>`_ and `version 03 <https://tools.ietf.org/html/draft-thomas-crypto-conditions-02>`_ of the spec.

See also: the `rfcs/crypto-conditions repository <https://github.com/rfcs/crypto-conditions>`_.

Installation
------------

To install latest release from PyPI:

.. code-block:: bash

    $ pip install cryptoconditions

Documentation
-------------

See `https://cryptoconditions.readthedocs.io/en/latest/ <https://cryptoconditions.readthedocs.io/en/latest/>`_.
vaccine-feed-ingest-schema 1.2.5
Normalized data schema for the output of the vaccine-feed-ingest pipeline.
License: MIT
Requires Python: >=3.8

# vaccine-feed-ingest-schema

[![PyPI](https://img.shields.io/pypi/v/vaccine-feed-ingest-schema.svg)](https://pypi.org/project/vaccine-feed-ingest-schema/)
[![Changelog](https://img.shields.io/github/v/release/CAVaccineInventory/vaccine-feed-ingest-schema?include_prereleases&label=changelog)](https://github.com/CAVaccineInventory/vaccine-feed-ingest-schema/releases)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/CAVaccineInventory/vaccine-feed-ingest-schema/blob/main/LICENSE)

Normalized data schema for the output of the vaccine-feed-ingest pipeline.

## Installation

Install this library using `pip`:

```sh
pip install vaccine-feed-ingest-schema
```

## Usage

Import this package then use it to construct normalized objects with type
enforcement.

```python
from vaccine_feed_ingest_schema import location


location.NormalizedLocation(
  id="vaccinebot:uuid-for-site",
  source=location.Source(
    source="vaccinebot",
    id="uuid-for-site",
    fetched_from_uri="https://vaccinateTheStates.com",
    published_at="2021-01-13T00:00:00-08:00",
    data={},
  )
)
```

For more details on the schema, read the inline comments or the
[`vaccine-feed-ingest` wiki](https://github.com/CAVaccineInventory/vaccine-feed-ingest/wiki/Normalized-Location-Schema).

## Development

To contribute to this library, first checkout the code. Then create a new
virtual environment:

```sh
cd vaccine-feed-ingest-schema
python -mvenv venv
source venv/bin/activate
```

Or if you are using `pipenv`:

```sh
pipenv shell
```

Now install the dependencies, linters, and tests:

```sh
pip install -e '.[lint,test]'
```

To run code formatters:

```sh
isort .
black .
```

To run linters:

```sh
mypy .
flake8 vaccine_feed_ingest_schema
```

To run the tests:

```sh
pytest
```
cognitojwt 1.4.1
Decode and verify Amazon Cognito JWT tokens
License: MIT
Keywords: Amazon Cognito JWT

[![Build Status](https://travis-ci.org/borisrozumnuk/cognitojwt.svg?branch=master)](https://travis-ci.org/borisrozumnuk/cognitojwt)

# Decode and verify [Amazon Cognito](https://aws.amazon.com/cognito/) JWT tokens

### Note: tested on Python >= 3.6, compatible with PEP-492 (async/await coroutines syntax)

### Installation

Package works in two modes: synchronous - [requests](https://github.com/requests/requests) as http-client and asynchronous - [aiohttp](https://github.com/aio-libs/aiohttp) as http-client.
In order to avoid installing unnecessary dependencies I separated installation flow into two modes:

* Async mode - `pip install cognitojwt[async]`
* Sync mode - `pip install cognitojwt[sync]`

### Usage

```python
import cognitojwt

id_token = '<YOUR_TOKEN_HERE>'
REGION = '**-****-*'
USERPOOL_ID = 'eu-west-1_*******'
APP_CLIENT_ID = '1p3*********'

# Sync mode
verified_claims: dict = cognitojwt.decode(
    id_token,
    REGION,
    USERPOOL_ID,
    app_client_id=APP_CLIENT_ID,  # Optional
    testmode=True  # Disable token expiration check for testing purposes
)

# Async mode
verified_claims: dict = await cognitojwt.decode_async(
    id_token,
    REGION,
    USERPOOL_ID,
    app_client_id=APP_CLIENT_ID,  # Optional
    testmode=True  # Disable token expiration check for testing purposes
)

```

Note: if the application is deployed inside a private vpc without internet gateway, the application will not be able to download the JWKS file.
In this case set the `AWS_COGNITO_JWKS_PATH` environment variable referencing the absolute or relative path of the jwks.json file.

It is possible to allow multiple app client ids by passing the value as a Container instance such as a list or tuple:
```python
ALLOWED_CLIENT_IDS = ('client_one', 'client_two')

verified_claims: dict = cognitojwt.decode(
    id_token,
    REGION,
    USERPOOL_ID,
    app_client_id=ALLOWED_CLIENT_IDS,
    testmode=True  # Disable token expiration check for testing purposes
)
```
tuyaha 0.0.11
A Python library that implements a Tuya API endpoint that was specially designed for Home Assistant
License: MIT

# tuyaha

Cloned from the abandoned package [tuyapy](https://pypi.org/project/tuyapy/) v0.1.3. This package implements a Tuya
API endpoint that was specially designed for Home Assistant.

This clone contains several critical fixes. Check commits.

## FAQ
### How to check whether the API this library using can control your device?

- Copy [this script](https://github.com/PaulAnnekov/tuyaha/blob/master/tools/debug_discovery.py) to your PC with Python
  installed or to https://repl.it/
- Set/update config inside and run it
- Check if your devices are listed
  - If they are and description matches real device (e.g. lamp is lamp, not switch) - device is supported
  - If they are not or description doesn't match real device - don't open an issue. Ask [Tuya support](mailto:support@tuya.com) to support your device in their 
    `/homeassistant` API
- Remove the updated script, so your credentials won't leak

### My device is not listed in Tuya API response or contains incomplete state, what should I do?

Write an email to tuyasmart@tuya.com and mention the `tuyapy` library and `https://px1.tuya{}.com` API endpoint. Usually they ignore incoming emails, but perhaps, if they get a lot of emails, they will start fixing the API.