semvec/pypi-packages huggingface dataset:
triqs-hubbardI 3.3.0
Hubbard-I impurity solver based on the TRIQS library (triqs.github.io)
Requires Python: >=3.7
Keywords: triqs, hubbard-I, impurity solver, dmft

[![build](https://github.com/TRIQS/hubbardI/workflows/build/badge.svg)](https://github.com/TRIQS/hubbardI/actions?query=workflow%3Abuild)

# hubbardI - A Hubbard-I solver based on triqs atom_diag

This application implements the Hubbard-I solver in triqs using the lightweight diagonalization routine which come with triqs/atom_diag.

Requires a working [TRIQS](https://triqs.github.io/triqs) installation with a matching major version number.

### Usage ###
The Solver comes with the same interface as, e.g., the [cthyb solver](https://triqs.github.io/cthyb/latest/index.html). More information on how to use the solver can be found in the [documentation](https://triqs.github.io/hubbardI/latest/documentation.html).
signalstickers-client-fork-laggykiller 3.3.0.post2
A client for the Signal stickers API
Requires Python: >=3.6

# NOTICE

This is a fork from https://github.com/signalstickers/signalstickers-client

This fork adds typing and remove dependencies version caps

# Python client for Signal stickers

A client to interact with the [Signal](https://signal.org/) stickers API.

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


> Note: despite its name, this client does not interacts with
> `signalstickers.org`, so information defined there (tags, etc.) will **not**
> be fetched.

> This client connects to the Signal sticker API. Please **do not flood it**
> (you'll be blocked anyway).

## Installation

```bash
pip3 install --user signalstickers-client
```

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

If you are not familiar with Signal stickers, read
[STICKERS_INTERNALS.md](STICKERS_INTERNALS.md) first.

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

+ `id: str` the pack id. Equals to `pack_id`;
+ `key: str` the pack key. Equals to `pack_key`;
+ `title: str` the title of the pack;
+ `author: str` the author of the pack;
+ `nb_stickers: int` the number of stickers in the pack;
+ `cover: Sticker` the cover sticker;
+ `stickers: list[Sticker]` the list of stickers in the pack

A `Sticker` object exposes the following attributes:

+ `id: int` the id of the sticker in the pack;
+ `emoji: str` 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 Signal credentials!**

To obtain them, run the Signal Desktop app with the flag `--enable-dev-tools`,
open the Developer Tools, **change the JavaScript context from `top` to
`Electron Isolated Context`** (cf. video below), and type
`window.reduxStore.getState().items.uuid_id` to get your USER, and
`window.reduxStore.getState().items.password` to get your PASSWORD.

<details>
  <summary><i>Video: how to set JavaScript context</i></summary>

https://github.com/signalstickers/signalstickers-client/assets/7778898/ca3f1fec-e908-49d9-88a8-e33d0ee9a453

</details>


## 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/romainricard/signalstickers-client/blob/master/LICENSE)


## Legal

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


## Author

Romain Ricard <contact+stickerclient@romainricard.fr>
Maslib 0.2.2
This is a library for optimizing code for python
Requires Python: >=3.6

# MasLib

MasLib - this is a Python library for code reduction

My library can safely optimize everyday tasks for python

There is no documentation yet, for understanding the library, see it in the code
I'm not sure about the performance of the 2.0 version
(The code has been relatively translated into 4 languages)

I DO NOT GUARANTEE THE FULL OPERATION OF THE LIBRARY
## Installation

```bash
pip install MasLib