semvec/pypi-packages huggingface dataset:
shockwave 0.0.2
Useful methods for time series analysis
License: MIT
Keywords: time series analysis

This is a package that has useful machine vision for use with Cars

CHANGE LOG
============
- RELEASE 1
- 0.0.0.1  (7/27/2021)
- First Release

\\

- RELEASE 2
- 0.0.0.2 --> 7/27/2021
- Just wanted to test some things out
- really didn't don anything

\\

-RELEASE 3
-0.0.0.3--> 7/27/2021
-Just wanted to test some things out
-really didn't don anything
apduboy 0.5.0
APDUs for Humans
License: MIT
Keywords: ledger apdu nano ethereum bitcoin

# apduboy
APDUs for Humans ™️

apduboy provides a collection of Pythonic stubs that generate APDUs to
communicate with the Ledger Nano S/X hardware wallet.

## Installing

```sh
pip install apduboy
```

## Examples

### Retrieve Ethereum addresses

```py
from ledgerwallet.client import LedgerClient
from ledgerwallet.transport import enumerate_devices

from apduboy.ethereum import GetEthPublicAddressOpts, get_eth_public_address
from apduboy.lib.bip32 import h, m

client = LedgerClient(enumerate_devices()[0])
opts = GetEthPublicAddressOpts(display_address=False, return_chain_code=False)

for index in range(5):
    path = m / h(44) / h(60) / h(index) / 0 / 0
    cmd = get_eth_public_address(path=path, opts=opts)
    response = cmd(client)
    print(f"Address at path {path} => 0x{response.address}")

```

### Retrieve Bitcoin addresses

```py
from ledgerwallet.client import LedgerClient
from ledgerwallet.transport import enumerate_devices

from apduboy.bitcoin import GetWalletPublicKeyOpts, get_wallet_public_key
from apduboy.lib.bip32 import h, m

client = LedgerClient(enumerate_devices()[0])

path = m / h(84) / h(1) / h(7) / 0 / 1234
opts = GetWalletPublicKeyOpts(display_address=False, scheme=None)
cmd = get_wallet_public_key(path=path, opts=opts)
response = cmd(client)
print(f"Address at path {path} => {response.address}")
```

### Generate a cryptographically secure random number

```py
from ledgerwallet.client import LedgerClient
from ledgerwallet.transport import enumerate_devices

from apduboy.bitcoin import get_random

client = LedgerClient(enumerate_devices()[0])

cmd = get_random()
response = cmd(client)
print(f"True Random Number (hex): {response.hex()}")
```

### Sign Ethereum Transaction

```py
from apduboy.ethereum import Ether, GWei, Transaction, sign_transaction
from apduboy.lib.bip32 import h, m

path = m / h(44) / h(60) / h(777) / 0 / 0
tx = Transaction(
    nonce=0,
    gas_price=50 * GWei,
    gas=21000,
    data=b"",
    to=bytes.fromhex("004ec07d2329997267ec62b4166639513386f32e"),
    value=32 * Ether,
)

cmd = sign_transaction(path=path, tx=tx)
response = cmd(device)  # device can be anything that provides an APDU exchange.
```

apduboy is currently in alpha. Please do NOT use this for signing real transactions.
pythconf 1.0.5
config file creator
License: MIT

# Example Code
``` python
import pythconf
import os
conf = pyconf.config('test', os.getcwd())
# 'test' will be the filename and os.getcwd() will return the current directory so the .pyconf will be created in the current directory
print(conf.dat) # dict
```
# Using pyconf files
you can create a .pyconf file yourself, to use the data, you have to use the same filename (with or without .pyconf) in the file argument
## .pyconf files
### test.pyconf
```
USERNAME = None
PASSWORD = None
```
## Accesing data
``` python
import pythconf
import os
from getpass import getpass
conf = pyconf.config('test', os.getcwd())
if "USERNAME" not in conf.dat:
  user = input('Username: ')
  conf.dat["USERNAME"] = user
  conf.convert()
else:
  if conf.dat["USERNAME"] == None:
    user = input('Username: ')
    conf.dat["USERNAME"] = user
    conf.convert()
if "PASSWORD" not in conf.dat:
  password = getpass('Password: ')
  conf.dat["PASSWORD"] = password
  conf.convert()
else:
  if conf.dat["PASSWORD"] == None:
    password = getpass('Password: ')
    conf.dat["PASSWORD"] = password
    conf.convert()
```