semvec/pypi-packages huggingface dataset:
yield-sdk 0.7.0
The official Yield SDK for Python
Requires Python: >=3.10

Yield SDK for Python [![PyPI - Version](https://img.shields.io/pypi/v/yield-sdk)](https://pypi.org/project/yield-sdk/)
====================

The official [Yield](https://www.paywithyield.com) SDK for Python.


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

- [API reference](https://github.com/yield-tech/sdk-python/blob/main/docs/index.md)


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

```sh
pip install yield-sdk
```


Usage
-----

```python
import yield_sdk
import os

# For security, don't save the actual key in your code or repo
client = yield_sdk.SyncClient(os.environ["YIELD_API_KEY"])

# Fetch an existing order
order = client.order.fetch("ord_...")
print(order.customer.registered_name)

# Or create a new one
new_order = client.order.create({
    "customer_id": "org_...",
    "total_amount": "PHP 1234.50",
    "note": "Test order from the Python SDK!",
})

# Don't forget to close the client when you won't use it anymore
client.close()
```

For more details, check out our [API reference](https://github.com/yield-tech/sdk-python/blob/main/docs/index.md).
pyshovels 0.0.2
Unofficial Python package designed to interact with the Shovels API
Requires Python: >=3.9

![Shovels Logo](https://www.shovels.ai/theme/images/shovels-navbar-logo.svg)

# pyshovels

**pyshovels** is the unofficial Python package designed to interact with the [Shovels API](https://docs.shovels.ai/docs/introduction). 📦

## Table of Contents

- [Getting Started](#getting-started)
  - [Prerequisites](#prerequisites)
  - [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)
- [Contact](#contact)

## Getting Started

To get a local copy up and running follow these simple steps.

### Prerequisites

- Python 3.9 or higher (as specified in `pyproject.toml`)
- A Shovels API key

### Installation

**For users:**

- **Install using poetry (recommended) or pip:**
  ```bash
  poetry add pyshovels
  ```
  or
  ```bash
  pip install pyshovels
  ```

**For contributors:**

- **Fork and clone the repo and install in editable mode:**
  ```bash
  git clone https://github.com/<your-username>/pyshovels.git
  cd pyshovels
  ```
  then
  ```bash
  poetry install
  ```
  or
  ```bash
  pip install -e .
  ```

**Setting your API key:**

- **Set your Shovels API key as an environment variable (recommended):**
  - Add your Shovels API key to a `.env` file - look at the [.env.example](.env.example) file for an example
  - Or set it as an environment variable directly
    ```bash
    export SHOVELS_API_KEY="your-api-key"
    ```
  - Then, load the environment variables using the `load_env` function:
    ```python
    from pyshovels import load_env, ShovelsAPI
    load_env(env_path="./path/to/.env")  # not necessary if you set the API key as an environment variable directly
    shovels = ShovelsAPI()
    ```
- **Or pass the API key as an argument to the `ShovelsAPI` class:**
  ```python
  from pyshovels import ShovelsAPI
  shovels = ShovelsAPI(api_key="your-api-key")
  ```
  > ⚠️ **Note:**
  > If passing the API key as an argument, be careful not to accidentally share it with others.

## Usage

Look at the [examples](./examples) folder for usage examples.

For more detailed examples on how to use the Shovels API, please refer to the [official documentation](https://docs.shovels.ai/api-reference/).

## Contributing

Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Don't forget to give the project a ⭐️! Thanks again!

1.  Fork the Project
2.  Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
3.  Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
4.  Push to the Branch (`git push origin feature/AmazingFeature`)
5.  Open a Pull Request

## License

Distributed under the MIT License. See `LICENSE` file for more information.

## Contact

GitHub: [nicolasakf](https://github.com/nicolasakf)

Email: [nicolasakfonteyne@gmail.com](mailto:nicolasakfonteyn@gmail.com)
WtFileUtils 0.1.5
A VROMFs and Binary BLK Reader
Requires Python: >=3.12

# WtFileUtils
A module with a set of file utils for extracting and viewing various warthunder file file types

for people finding this on PyPi (and on github aswell I guess) this is very much still a wip, not all planned files 
exist nor are some of them built for module-like use  

# Usage

BLKs:
the blk unpacking class is blk/BlkParser.py/BlkDecoder, as long you pass the blk bin data, the it should work.
current it only supports extraction to JSON like data (a python_dict) using the .to_dict() method

vromfs:
the unpacking class is WtFileUtils/vromfs/VROMFs.py/VROMFs. 
call .get_directory() on the VROMFs object ot get a FSDirectory to then access the various files in the vromfs through indexing

# Credits
alot of the code here was reverse engineered from the efforts of the people over at 
https://github.com/Warthunder-Open-Source-Foundation 

Without their efforts, I would have had to attempt to reverse engineer Gaijins source code over at https://github.com/GaijinEntertainment/DagorEngine
, which does not sound like a fun time, so thank you to them for their hard work


# Notes
if you are looking for a blk / VROMFs unpacker, this is not the place to be. While this project can do so, 
it is MUCH slower than other options

for a easy-to-use unpacker go look over at https://github.com/Warthunder-Open-Source-Foundation/wt_ext_cli