semvec/pypi-packages huggingface dataset:
milkpay.cryptopay 1.1.2
A lightweight CryptoPay SDK
Requires Python: >=3.9
Keywords: asyncio, client, crypto, cryptobot, cryptopay, payments, wrapper


#################
milkpay-cryptopay
#################

**milkpay** is a set of lightweight crypto payment system SDKs.

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

..  code-block:: bash

    pip install -U milkpay-cryptopay

Simple example
--------------

.. code-block:: python

    import asyncio
    import logging
    import uuid
    from typing import Final

    from milkpay.cryptopay import Cryptopay
    from milkpay.cryptopay.enums import Asset

    API_TOKEN: Final[str] = "API_TOKEN_HERE"


    async def main() -> None:
        logging.basicConfig(level=logging.DEBUG)
        async with Cryptopay(
            api_token=API_TOKEN,
            production=False,
            force_detailed_errors=True,
        ) as cryptopay:
            logging.info(
                await cryptopay.transfer(
                    user_id=5945468457,
                    asset=Asset.USDT,
                    amount=1.1,
                    spend_id=int(uuid.uuid4()),
                )
            )


    if __name__ == "__main__":
        asyncio.run(main())
folder-structure-creator 0.4.0
A tool to create folder structures based on text files

# Folder Structure Creator

This Python script reads a text file containing a folder structure and creates the corresponding folders on your file system.

## How It Works

1. **Reading the Folder Structure**: The script reads a text file where each line represents a folder. Indentation indicates the hierarchy.
2. **Creating Folders**: It processes the file to determine the folder structure and creates the folders accordingly.
3. **Identifying the Executable's Directory**: The script identifies the directory where it is located, whether itâ€™s frozen (compiled as an executable) or not.
4. **Locating `.txt` Files**: It searches for `.txt` files in the directory.
5. **Choosing a File**: If multiple `.txt` files are found, it prompts the user to choose one. If thereâ€™s only one, it uses that file directly.
6. **Creating Folder Structure**: The script creates the folder structure based on the text file.

## Installation

1. Ensure you have Python 3.x installed on your system. You can download it from the official [Python website](https://www.python.org/downloads/).
2. Install the `folder_structure_creator` package using pip:

```
pip install folder_structure_creator
```

3. Ensure there is a .txt file with the folder structure in the same directory as the executable.

## Usage

1. Place a text file of the folder structure in the executable's directory.
2. Run the script.

```sh
python fstruct.py
```

3. Follow the prompts if multiple `.txt` files are found.

## Your .txt file should look like this

```plaintext
ParentFolder
 ChildFolder1
  SubChildFolder1
 ChildFolder2
```

## Requirements

- Python 3.x

## Notes

- The script can handle both spaces and tabs for indentation.
- Ensure the .txt file with the folder structure is correctly formatted.

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.