semvec/pypi-packages huggingface dataset:
polywrap-ethereum-provider 0.1.0b7
Ethereum provider plugin for Polywrap Python Client
Requires Python: >=3.10,<4.0

Polywrap Ethereum Provider
==========================
This package provides a Polywrap plugin for interacting with EVM networks.

The Ethereum Provider plugin implements the `ethereum-provider-interface`     @ `ens/wraps.eth:ethereum-provider@2.0.0 <https://app.ens.domains/name/wraps.eth/details>`__     (see `../../interface/polywrap.graphql` ).     It handles Ethereum wallet transaction signatures and sends JSON RPC requests     for the Ethereum wrapper.

Quickstart
----------

Imports
~~~~~~~

>>> from polywrap_core import Uri
>>> from polywrap_client import PolywrapClient
>>> from polywrap_ethereum_provider import ethereum_provider_plugin
>>> from polywrap_ethereum_provider.connection import Connection
>>> from polywrap_ethereum_provider.connections import Connections
>>> from polywrap_ethereum_provider.networks import KnownNetwork
>>> from polywrap_client_config_builder import (
...     PolywrapClientConfigBuilder
... )

Configure Client
~~~~~~~~~~~~~~~~

>>> ethreum_provider_interface_uri = Uri.from_str("ens/wraps.eth:ethereum-provider@2.0.0")
>>> ethereum_provider_plugin_uri = Uri.from_str("plugin/ethereum-provider")
>>> connections = Connections(
...     connections={
...         "sepolia": Connection.from_network(KnownNetwork.sepolia, None)
...     },
...     default_network="sepolia"
... )
>>> client_config = (
...     PolywrapClientConfigBuilder()
...     .set_package(
...         ethereum_provider_plugin_uri,
...         ethereum_provider_plugin(connections=connections)
...     )
...     .add_interface_implementations(
...         ethreum_provider_interface_uri,
...         [ethereum_provider_plugin_uri]
...     )
...     .set_redirect(ethreum_provider_interface_uri, ethereum_provider_plugin_uri)
...     .build()
... )
>>> client = PolywrapClient(client_config)

Invocation
~~~~~~~~~~

>>> result = client.invoke(
...     uri=ethreum_provider_interface_uri,
...     method="request",
...     args={"method": "eth_chainId"},
...     encode_result=False,
... )
>>> print(result)
"0xaa36a7"
manicrypt 0.0.3
a simple cryptography module built to test the pip upload
Requires Python: >=3.6

# WELCOME TO MANICRYPT
* manicrypt is a simple and fun cryptography package
```
  pip intall manicrypt
```
## how to import?
```python
from manicrypt import mcrypt
```
>functions are

| Function | Description |
|----------|-------------|
|mencrypt(string,key)|encrypt the string with an key(integer)|
|mdecrypt(string,key)|decrypt the string with an key(integer)|
|imgwrite(img, msg)|hides the msg(message) into the img(picture) in binary|
|imgread(img)|display the hidden message img(picture) in binary|
|mapenc(string)|encrypt maps a value to srting|
|mapdec(string)|decrypt maps a value to string|

###sample

* __mencrypt()__
```python
from manicrypt import mcrypt
x = mcrypt.mencrypt('mani',2)
print(x)
```
>output
>'ocpk'

* __mdecrypt()__
```python
from manicrypt import mcrypt
x = mcrypt.mdecrypt('ocpk',2)
print(x)
```
>output
>'mani'

* __imgwrite()__
```python
from manicrypt import mcrypt
mcrypt.imgwrite('your image path or file_name.extention','your message')
```
* __imgread()__
```python
from manicrypt import mcrypt
mcrypt.imgread('your image path or file_name.extention')
```

* __mapenc()__
```python
from manicrypt import mcrypt
mcrypt.mapenc('your text')
```

* __mapdec()__
```python
from manicrypt import mcrypt
mcrypt.mapdec('your text')
```
kvk-api-client 0.0.10
Simple python wrapper for KVK api
Requires Python: >=3.6

# KVK API Client

This is a Python client for the KVK API, which provides access to the Dutch Chamber of Commerce (KVK) company register.

## Installation

You can install the package into your project via pip:

```sh
pip install kvk_api_client
```

# USAGE

To use the KVK API client, you first need to set up environment variables for the required credentials:

```sh
export KVK_HOST='https://api.kvk.nl'
export KVK_API_VERSION='api/v1'
export KVK_APIKEY_TEST='your-test-api-key'
export KVK_APIKEY_PROD='your-production-api-key'
```

# EXAMPLE

By setting the test parameter to true, you can play arround with api:
https://developers.kvk.nl/documentation/testing

```python
from kvk_api_client import KVK

# Create a KVK API client instance
kvk = KVK(test=True)

KVK_NUMBER = "68750110"

# Call an API method
companies = kvk.get_companies(kvk_number=KVK_NUMBER)
```

# TESTS

Make sure pytest is installed on your environment

```sh
python3 -m pytest
```

# KVK API Asycn Client

```python
import asyncio
from kvk_api_client import AsyncKVK


KVK_NUMBER = "68750110"


async def get_basis_profiel():
    async with AsyncKVK(test=True) as kvk:
        profiel = await kvk.get_basis_profiel(KVK_NUMBER)
        print(await profiel.json())


asyncio.run(get_basis_profiel())

```

# Repo
[KVK WRAPPER](https://github.com/macukadam/kvk_api_wrapper)