semvec/pypi-packages huggingface dataset:
crypto-qr-codes 0.1.8
A package for generating QR codes for various cryptocurrencies
Requires Python: >=3.6

# Crypto QR Codes

Crypto QR Codes is a Python package that allows you to generate QR codes for various cryptocurrencies.

## Installation

You can install Crypto QR Codes using pip:

```bash
pip install crypto-qr-codes
```
## Usage

To use Crypto QR Codes, import the `create_qr_code` function from the `crypto_qr_codes.qr` module. Here's an example:

```python
from crypto_qr_codes.qr import create_qr_code

crypto_currency = "bitcoin"
crypto_address = "18Qz324MxCwBbrWqNv1Ew3vcgpi9N9DmXM"
amount = 0.1
message = "Payment for goods"

create_qr_code(crypto_currency, crypto_address, amount, message)
```
## Parameters
The create_qr_code function takes the following parameters:

crypto_currency (required): A string that represents the cryptocurrency. <br>
crypto_address (required): A string that represents the cryptocurrency address. <br>
amount (optional): A float that represents the amount to be paid.<br>
message (optional): A string that represents a message for the payment.<br>
filename (optional): A string that represents the name of the file to save the QR code. Defaults to output.png.
## Returns
The create_qr_code function returns the full path of the generated QR code image file.
## Testing
To run the tests for Crypto QR Codes, run the following command:
```bash
python -m unittest tests.test_qr
```
## Examples
You can check the `examples.py` file for examples of how to use the package. The outputs of the examples are stored in the `qr_codes` folder.
## License
This project is licensed under the MIT License.
pyrolib 0.4.1
Python tools for MesoNH-Blaze model
Requires Python: >=3.8
Keywords: Blaze fire model,Méso-NH

![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/Aurel31/pyrolib)
[![GitHub issues](https://img.shields.io/github/issues/Aurel31/pyrolib)](https://github.com/Aurel31/pyrolib/issues)
[![Documentation Status](https://readthedocs.org/projects/pyrolib/badge/?version=latest)](https://pyrolib.readthedocs.io/en/latest/?badge=latest)
[![GitHub license](https://img.shields.io/github/license/Aurel31/pyrolib)](https://github.com/Aurel31/pyrolib/blob/main/LICENSE)


# `pyrolib`


`pyrolib` is a tool library for `Méso-NH/Blaze` model.
`pyrolib` provides python tools for the following purposes:

- Generation of the `FuelMap.nc` file by using a `Méso-NH` namelist and the initialisation file of a `Méso-NH/Blaze` run.
- FireFlux I exeprimental fire data processing.
- Development of numerical methods for the `Blaze fire model`.


## Installation

Install `pyrolib` from PyPI's:

```bash
pip install pyrolib
```

## Usage

`pyrolib` is separated into several sub-libraries for each of the objectives mentioned above, respectively:

- `pyrolib.fuelmap`
- `pyrolib.firefluxpost`
- `pyrolib.blaze`

### Fuel database

`pyrolib` relies on a fuel container object called a `FuelDatabase`. A `FuelDatabase` is a 2 level nested dictionary-like class. The first level corresponds to an explicit fuel name (like "tall_grass"). This fuel can be described by several methods that are related to a rate of spread model (for example `Rothermel` or `Balbi`). Each description is related to a `Fuel class` (`RothermelFuel` or `BalbiFuel`) and constitutes the second level of the database.

The`FireFluxI` `FuelDatabase` contains for example the following:
```
* FireFluxI
    < tall_grass > available for:
      - BalbiFuel fuel class
```

The list of `FuelDatabase` contained in `pyrolib` can be accessed through the cli `pyrolib-fm list-fuel-databases`.

A user database can be saved in a `.yml` file. See example `examples/fuel_database`.

## `Méso-NH` compliance

The current version of `pyrolib` is compliant with `Méso-NH` from version `5.6.0` to version `5.6.0`.
## Acknowledgements

This library is part of the `ANR FireCaster` project (2017-2021, `ANR-16-CE04-0006, FIRECASTER`).
Tomocell 2023.2
Python package for handling TCF data. It works with Tomcube data
Requires Python: >=3.7

## Tomocell python package

Basic image processing tools of tomocube data.

## Installation

After downloading the repository, execute the following command in the repository;

```bash
pip install .
```

## Note

It is not for normal users, and API is not fixed. 
Please use this package with full understanding.
Any suggestions and comments are welcome! 

## Use case

```python

from Tomocell import *

tcfile = TCFile('test.TCF','3D') # for now, it only read 3D RI data
print(f"number of snapshots : {len(tcfile)}")

## Usage 1: handling a data for each snapshot
data = tcfile[0]
print(f"shape of data : {data.shape}")
# or
for data in tcfile:
    # do some operations on the data ...
    pass
```

## Test (for development and contribution)

```bash
pytest Tomocell/tests/TCFhandler.py
```
py-proto-parser 0.0.1
A Python protobuf parser library.
Requires Python: >=3.10, <4
Keywords: protobuf,protocol,buffers

# py_proto

This is a Python-based protobuf parser. It is intended to serve as a reference implementation and is _not_ production-ready.

![Build status](https://github.com/shaldengeki/py_proto/actions/workflows/main.yml/badge.svg)

## Usage

Right now, the primary way to use this as a library in your Bazelified Python code.

Mount this repo in your Bazel workspace, then add `@py_proto//src/util:parser` as a dependency:
```
py_library(
    name = "your_python_code",
    # ...
    deps = [
        "@py_proto//src/util:parser",
    ]
)
```

Then, in your Python code, use the parser:
```python
from src.util.parser import ParseError, Parser
with open("your.proto", "r") as proto_file:
    parsed_proto = Parser.loads(proto_file.read())

print(parsed_proto.syntax)
```

## Development

We support building & running via Bazel. See the `TODO.md` for what's on the roadmap.

### Bazel

Do `bazel test //...`.