semvec/pypi-packages huggingface dataset:
talkapps-client 3.1.0
A client for the Talk stickers API
Requires Python: >=3.6

# Python client for Talk stickers

A client to interact with the [Talk](https://nkdtalk.web.app/) stickers API.

+ Fetch sticker packs
+ Get images files
+ Upload sticker packs
+ etc.


> Note: despite its name, this client does not interacts with
> `talkapps.github.io/sticker-store`, so information defined there (tags, etc.) will **not**
> be fetched.

> This client connects to the Talk sticker API. Please **do not flood it**.

## Installation

```bash
pip3 install --user talkapps-client
```

This module requires `cryptography`, `protobuf`, `anyio`, and `httpx` (but they should
be installed with the previous command).

### Downloading a pack
The `StickerPack` object returned by `await StickersClient().get_pack(<pack_id>,
<pack_key>)` exposes the following attributes:

+ `id` (string): the pack id. Equals to `pack_id`;
+ `key` (string): the pack key. Equals to `pack_key`;
+ `title` (string): the title of the pack;
+ `author` (string): the author of the pack;
+ `nb_stickers` (int): the number of stickers in the pack;
+ `cover` (`Sticker`): the cover sticker;
+ `stickers` (list): the list of stickers in the pack (which are `Sticker`
  objects).


A `Sticker` object exposes the following attributes:

+ `id` (int): the id of the sticker in the pack;
+ `emoji` (string): the emoji mapped to this sticker;
+ `image_data` (bytes): the webp image of the sticker.


### Uploading a pack

Same thing, but use `LocalStickerPack` (that does not contains `id` and `key`)
instead of `StickerPack`.


> **You will need your Talk credentials** To obtain them, open the Developer
> Tools in Talk Desktop, and type `window.reduxStore.getState().items.uuid_id`
> to get your USER, and `window.reduxStore.getState().items.password` to get
> your PASSWORD.


## Example usage

[See `examples/`](examples/)

## Development

+ Create a `pipenv` with `pipenv install --dev`;
+ Edit the code you want;
+ Don't forget to launch tests with `pipenv run py.test`.

## License

See [LICENSE](https://github.com/talkapps/talkapps-client/blob/master/LICENSE)


## Legal

This is not an official Talk project. This is an independant project.  
Talk is a registered trademark in the United States and other countries.


## Author

NKDuy <kn145660@gmail.com>
kelvin-client 2.11.2
Kelvin API Client
Requires Python: >=3.6.1

# Kelvin API Client

The `kelvin-client` package provides an object-oriented wrapper for the Kelvin
REST API.

## Installation

0. Install binary dependencies:

        $ brew install opus-tools

1. Clone the repo:

        $ git clone git@bitbucket.org:kelvininc/kelvin-client.git

2. Install the repo in "develpment/editable" mode (which creates a link, rather
   than copying the code into `site-packages`):

        $ pip3 install -e kelvin-client

3. Keep the package up to date periodically with `git pull`. Note: sometimes
   updates to package dependencies occur which require the package to be
   reinstalled via step 2 (e.g. `pip3 install -e kelvin-client`).

## Documentation

If you have access, online docs are at <https://nexus.kelvininc.com/repository/raw-kelvin/kelvin-client/>

To build a local copy:

```bash
> pip install twine Sphinx sphinx-autodoc-typehints sphinx-rtd-theme
> cd docs
> make html
```

Open the page at `docs/_build/html/index.html`


## Examples

See [examples python code](./examples/start.py)