semvec/pypi-packages huggingface dataset:
aws-secrets-dict 1.2.0
A class allowing you to interact with the AWS Secrets Manager with python dictionary syntax.
License: MIT
Keywords: AWS, AWS Secrets, aws-secrets, dictionary, class


# AWS Secrets Dict

aws_secrets_dict is a Dictionary-based class acting as a wrapper for the [AWS Secrets Manager](https://aws.amazon.com/secrets-manager/). It allows you to Get, Update, & Delete secrets using the notation/syntax of a python dictionary.

## Example Usage
```
from aws_secrets_dict import AwsSecrets

# Need AWS Key & Secret
my_key = "Your AWS Secrets Access Key, or set 'AWS_SECRETS_KEY' env variable"
my_secret = "Your AWS Secrets Secret Key or set 'AWS_SECRETS_SECRET' env variable"
aws_region = "Your AWS Region or set 'AWS_REGION' env variable. If not set/specified, defaults to us-east-2"

mysecrets = AwsSecrets(my_key, my_secret, aws_region)

mysecrets['One'] = 1
mysecrets[2] = "Two"
mysecrets["2"] = 22222
mysecrets['Greeting'] = "Hello"

mysecrets['One']
# 1
mysecrets[2]
# "Two"
mysecrets["2"]
# 22222
mysecrets['Greeting']
# "Hello"
```

## Notes
The class will use the json module to serialize the keys & values, which allows it to distinguish between types when setting keys & retrieving values. Make sure that your keys/values can all be serialized into json.
cronos-chain-client 0.1.5
A Python client for interacting with the Cronos Chains
License: MIT
Requires Python: >=3.6

# Cronos Chain Client

The Cronos Chain Client is a Python library designed to facilitate easy and efficient interactions with the Cronos Chains. This client library provides methods to fetch CRC20 tokens, making it easy for developers to work with tokens on the Cronos chain.

## Features

- Simple and intuitive API for interacting with the Cronos blockchain.
- Supports fetching a list of CRC20 tokens.
- Configurable client instances tailored to your specific blockchain endpoint and API key needs.

## Installation

To install the package, run the following command in your project directory:

```bash
pip install cronos-chain-client
```

## Usage

Here’s how you can use the Cronos Chain Client in your project:

### Configuring the Client

```python
from cronos_chain_client import create_client

client = create_client({
    'chain': 'evm',
    'network': 'mainnet',
    'explorer': {
        'apiKey': 'OPPTIONAL_API_KEY', # Optional
    }
})
```

### Fetching CRC20 Token List

To get a list of CRC20 tokens with their id, name, symbol, and contract_address, you can call the following method:

```python
tokens = client.tokens.getCRC20TokenList()
print(tokens)
```

Example output:

```python
[
{"id": 1, "name": "Tether USD", "symbol": "USDT", "contract_address": "0x66e428c3f67a68878562e79a0234c1f83c208770"},
{"id": 2, "name": "USD Coin", "symbol": "USDC", "contract_address": "0xc21223249ca28397b4b6541dffaecc539bff0c59"},
{"id": 3, "name": "Dogecoin", "symbol": "DOGE", "contract_address": "0x1a8e39ae59e5556b56b76fcba98d22c9ae557396"},
]
```

# Print token information

## API

### CRC20 Methods

- `getCRC20TokenList()`: Fetches the list of CRC20 tokens.

## Licensing

The code in this project is licensed under the MIT license.

## Contact

If you have any questions or comments about the library, feel free to open an issue or a pull request on our GitHub repository.
disnake-ext-plugins 0.3.0
An extension for disnake providing a robust alternative to cogs.
License: MIT
Requires Python: <4.0,>=3.8
Keywords: disnake, disnake.ext, discord, cogs

disnake-ext-plugins
===================

An extension for disnake that serves as a robust replacement for cogs.
No more pointless inheritance, no more singleton classes serving as little more
than a namespace, and no more unexpected behaviour when you get anywhere near
the inner workings of your extensions.

Key Features
------------
- Smoothly integrates with [disnake](https://github.com/DisnakeDev/disnake),
- Manage your extensions without inheritance,
- Minimum boilerplate, maximum control.

Installing
----------
**Python 3.8 or higher is required**

To install the extension, run the following command in your command prompt/shell:

``` sh
# Linux/macOS
python3 -m pip install -U disnake-ext-plugins

# Windows
py -3 -m pip install -U disnake-ext-plugins
```

After installing, disnake-ext-plugins can be imported as
```py
import disnake_plugins
```

Example
-------
```py
import disnake
import disnake_plugins


plugin = disnake_plugins.Plugin()


@plugin.slash_command()
async def my_command(inter: disnake.CommandInteraction):
    await inter.response.send_message("Woo!")


setup, teardown = plugin.create_extension_handlers()
```
Further examples can be found in [the examples directory](https://github.com/Chromosomologist/disnake-ext-plugins/tree/master/examples).

Why not disnake.ext.plugins?
----------------------------
Registering into the `disnake.ext` namespace brings with it a variety of issues, starting with being unable to properly make editable installs into `.../site-packages/disnake/ext/`. It also leads to inconsistencies with Sphinx autodoc & co., which are simply annoying to work around.
This extension used to be part of the `disnake.ext` namespace, and there used to be a symlink script to get around the editable install limitation. However, we ultimately decided staying in the `disnake.ext` namespace for its "legacy" wasn't worth the headaches.

Contributing
------------
Any contributions are welcome, feel free to open an issue or submit a pull request if you'd like to see something added. Contribution guidelines will come soon.