semvec/pypi-packages huggingface dataset:
pybbmini 1.0
A Python Library For Bitblock-Mini
Requires Python: >=3.8
Keywords: Bitblock32,bbmini,Bitblock,Bitblock-Mini

## Package for Bitblock-Mini

### example
```
tests 폴더 내부의 파일을
python3 test_led.py  로 실행

pip3로 설치해야함...
```


#### 콘트롤 모드

```
#-*-coding:utf-8-*-
from pybbmini import *

# 연결 
board = BBBoard('COM18', 57600)

# ------------------------------------------
# DISPLAY
# ------------------------------------------
board.display.show(Symbol.NUM_5)

board.display.show(Symbol.CHAR_H)

symbol = '11011:11011:11011:11011:11111'
board.display.symbol(symbol)

symbol = Symbol("01010:"
                "01010:"
                "01010:"
                "11111:"
                "11111")
board.display.show(symbol)

board.display.color(Color.RED)
delay(1000)

board.display.color(Color.GREEN)
delay(1000)

board.display.color(Color.BLUE)
delay(1000)

board.display.clear()

# ------------------------------------------
# BUTTON
# ------------------------------------------
print(board.buttonA.isPressed())
print(board.buttonB.isPressed())
print(board.buttonAB.isPressed())

# ------------------------------------------
# BUZZER
# ------------------------------------------
board.buzzer.melody()
board.buzzer.tone(Note.C4, 2000)

tune = ["C4:4", "D4:4", "E4:4", "C4:4", "C4:4", "D4:4", "E4:4", "C4:4", "E4:4", "F4:4", "G4:8", "E4:4", "F4:4", "G4:8"]
board.buzzer.play(tune)

# ------------------------------------------
# TOUCH
# ------------------------------------------
board.touch0.isTouched()
board.touch1.isTouched()
board.touch2.isTouched()

# ------------------------------------------
# DigitalWrite
# ------------------------------------------
board.digitalWrite(Pin.P3, 1)
board.digitalWrite(Pin.P3, 0)

# ------------------------------------------
# DigitalRead
# ------------------------------------------
val = board.digitalRead(Pin.P0, PinMode.INPUT_PULLUP)
print(val)

# ------------------------------------------
# AnalogWrite
# ------------------------------------------
board.analogWrite(Pin.P3, 0)

# ------------------------------------------
# AnalogRead
# ------------------------------------------
val = board.analogRead(Pin.P4)
print(val)


# ------------------------------------------
# Servo
# ------------------------------------------ 
servo = Servo()
servo.attach(board, Pin.P3)
servo.move(100)

# ------------------------------------------
# Ultrasonic 미실장
# ------------------------------------------ 
us = Ultrasonic()
us.attach(board, Pin.P3, Pin.P0)
print(us.distance())


# ------------------------------------------
# Board Close
# ------------------------------------------
 board.close()


```
nanohelp 0.1.13
Business logic to abstract the raw nano node RPC logic
Requires Python: >=3.11,<4.0

# nanohelp
Business logic to abstract the raw nano node RPC logic

## Documentation

https://nanohelp.readthedocs.io/en/latest/

## Installation

```
pip install nanohelp
```

## Usage

```python
from nanohelp.secret import SecretManager
from nanohelp.wallet import WalletManager

# Initialize a SecretManager
secret_manager = SecretManager()

# Initialize a WalletManager, passing in the secret manager
wallet_manager = WalletManager(secret_manager)

# Define user and project details
user1 = "user1"
user2 = "user2"
project_id = "my-project"

# Create a new wallet for User1, this also generates and stores a new private key
wallet_id_user1, account_address_user1 = wallet_manager.create_wallet(user1)

# Create a new wallet for User2
wallet_id_user2, account_address_user2 = wallet_manager.create_wallet(user2)

# Transaction from User1's account to User2's account
amount = 1000  # amount of Nano to be sent
transaction_block = wallet_manager.make_transaction(
    wallet_id_user1,
    account_address_user1,
    account_address_user2,
    amount, 
    secret_manager.get_private_key(project_id, user1)
)

# Print transaction block
print(f"Transaction block: {transaction_block}")
```
integralapi 0.1.0
Integral's Generated API Package
Requires Python: >=3.7

# integral-python-sdk

# Integral API Node Library

The Integral API Python library provides access to the Integral API from Python.

## Documentation

API documentation is available at <https://docs.integralapi.co/introduction>.

## Usage

```python
```

## Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update.

## Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest [opening an issue](https://github.com/fern-integral/integral-node/issues) first to discuss with us!

On the other hand, contributions to the README are always very welcome!
tai5-uan5-gian5-gi2-kang1-ku7 1.1.1
臺灣語言資訊系統（Toolkit for Languages in Taiwan）
Keywords: 臺灣,臺語,客家話,自然語言,語料庫,語音合成,語音辨識,機器翻譯,斷詞,Taiwan,Taiwanese,Hakka,Natural Language,Corpus,Text to Speech,TTS,Machine Translateion,Word Segmentation

臺灣語言資訊系統函式庫，支援語音辨識、合成、翻譯、…等技術
lambda-rest-router 0.0.2
AWS Lambda REST router for AWS API Gateway
Requires Python: >=3.7

# AWS Lambda REST Router

Example usage:

```python
from lambda_rest_router import LambdaRouter


routes = {
    "agencies": {
        "GET": "api.services.agency/AgencyService:list_agencies",
        "POST": "api.services.agency/AgencyService:create_agency",
    },
    "agencies/<_id>": {
        "GET": "api.services.agency/AgencyService:get_agency",
        "POST": "api.services.agency/AgencyService:update_agency",
    },
    "users/agency/<agency_id>": {
        "GET": "api.services.user/UserService:list_agency_users",
        "POST": "api.services.user/UserService:create_user",
    },
    "users": {
        "GET": "api.services.user/UserService:list_users",
        "POST": "api.services.user/UserService:create_user",
    },
    "users/<_id>": {
        "GET": "api.services.user/UserService:get_user",
        "POST": "api.services.user/UserService:update_user",
    },
    "datafiles": {
        "POST": "api.services.datafile/DataFileService:create_file_upload_url",
    },
}
router = LambdaRouter(routes)

def handler(event, context):

    # ctx is a context object that will be passed to the route
    # e.g.
    # ctx = {
    #     "user": {
    #         "uid": claims["sub"],
    #         "role": role,
    #     }
    # }
    ctx = {}
    return router.call_route(event, ctx)


```
aioworkers-pg 0.4.0a1
Module for working with PostgreSQL via asyncpg
Requires Python: >=3.7
Keywords: aioworkers,asyncpg,pg,postgres,postgresql

aioworkers-pg
=============

.. image:: https://img.shields.io/pypi/v/aioworkers-pg.svg
  :target: https://pypi.org/project/aioworkers-pg

.. image:: https://github.com/aioworkers/aioworkers-pg/workflows/Tests/badge.svg
  :target: https://github.com/aioworkers/aioworkers-pg/actions?query=workflow%3ATests

.. image:: https://codecov.io/gh/aioworkers/aioworkers-pg/branch/master/graph/badge.svg
  :target: https://codecov.io/gh/aioworkers/aioworkers-pg
  :alt: Coverage

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v0.json
  :target: https://github.com/charliermarsh/ruff
  :alt: Code style: ruff

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
  :target: https://github.com/psf/black
  :alt: Code style: black

.. image:: https://img.shields.io/badge/types-Mypy-blue.svg
  :target: https://github.com/python/mypy
  :alt: Code style: Mypy

.. image:: https://readthedocs.org/projects/aioworkers-pg/badge/?version=latest
  :target: https://github.com/aioworkers/aioworkers-pg#readme
  :alt: Documentation Status

.. image:: https://img.shields.io/pypi/pyversions/aioworkers-pg.svg
  :target: https://pypi.org/project/aioworkers-pg
  :alt: Python versions

.. image:: https://img.shields.io/pypi/dm/aioworkers-pg.svg
  :target: https://pypi.org/project/aioworkers-pg

.. image:: https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg
  :alt: Hatch project
  :target: https://github.com/pypa/hatch


Asyncpg plugin for `aioworkers`.


Usage
-----

Connection
__________

Add this to aioworkers config.yaml:


.. code-block:: yaml

  db:
    cls: aioworkers_pg.base.Connector
    dsn: postgresql:///test

You can get access to postgres anywhere via context:

.. code-block:: python

  await context.db.execute("CREATE TABLE users(id serial PRIMARY KEY, name text)")
  await context.db.execute(users.insert().values(name="Bob"))


Connection additional
_____________________

.. code-block:: yaml

  db:
    cls: aioworkers_pg.base.Connector
    dsn: postgresql:///test
    pool:
      min_size: 1
      max_size: 100
    connection:  # optional
      init: mymodule.connection_init
      setup: mymodule.connection_setup
      class: mymodule.Connection


Storage
_______

.. code-block:: yaml

  storage:
    cls: aioworkers_pg.storage.RoStorage
    dsn: postgresql:///test
    table: mytable  # optional instead custom sql
    key: id
    get: SELECT * FROM mytable WHERE id = :id  # optional custom sql
    format: dict  # or row


Development
-----------

Check code:

.. code-block:: shell

    hatch run lint:all


Format code:

.. code-block:: shell

    hatch run lint:fmt


Run postgres:

.. code-block:: shell

  docker run --rm -p 5432:5432 --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=test -d postgres


Run tests:

.. code-block:: shell

    hatch run pytest


Run tests with coverage:

.. code-block:: shell

    hatch run cov
pyrclone-wrapper 0.0.3
A package that provides a wrapper for RClone
Requires Python: >=3.6

# PyRCLONE
A Python wrapper for rclone.

This package, available on PyPI, conveniently includes the rclone binary (version v1.62.2) **eliminating the need for pre-installation of rclone**. It caters to various operating systems like Windows, Mac, and Linux, and supports both amd64 and x86_64 architectures. When a user downloads the package, the appropriate rclone binary file is installed based on their system type.

## Install
```python
pip install pyrclone-wrapper
```

## Usage
```python
from pyrclone import RCloneWrapper


config = {
    "remote_name": {
        'type': 'google cloud storage',
        'project_number': "project_number",
        'service_account_file': "path/to/service_account_file.json",
        'object_acl': 'private',
        'bucket_acl': 'private',
        'location': 'us',
        'storage_class': 'STANDARD'
    }
}
rclone = RCloneWrapper(config)
result = rclone.listremotes()
print(result.get('out'))
# b'remote_name:\n'
print(result.get('code'))
# 0
print(result.get('error'))
# b''
```

###  Implemented commands:

* `copy`            Copy files from source to dest, skipping already copied
* `sync`            Make source and dest identical, modifying destination only.
* `listremotes`     List all the remotes in the config file.
* `ls`              List the objects in the path with size and path.
* `lsjson`          List directories and objects in the path in JSON format.
* `delete`          Remove the contents of path.

Even if not all `rclone` commands have been exposed, it's possible to invoke any command using `run_cmd` method directly, as shown in the example bellow:

```python
from pyrclone import RCloneWrapper

config = {
    "local": {
        'type': 'local',
        'nounc': True,
    }
}
result = RCloneWrapper(config).run_cmd(command="lsd", extra_args=["local:/tmp", "-v", "--dry-run"])
```
### Logging and Debugging

To see more info about which commands are executed, or what other messages they print, you can enable logging as the example bellow shows:

```python
import logging
logging.basicConfig(
    level=logging.DEBUG,
    format="%(asctime)s %(name)s [%(levelname)s]: %(message)s")

from pyrclone import RCloneWrapper

config = {
    "local": {
        'type': 'local',
        'nounc': True,
    }
}
rclone = RCloneWrapper(config)
result = rclone.listremotes()
```

## Limitation
Only support windows, mac and, linux operating system and arch with amd64 and x86_64.

windwos: amd64

linux: amd64, x86_64

darwin(mac): amd64, x86_64

## Developer guide

```bash
$ pip install wheel twine pytest
$ make test
```

## Reference
[python-rclone](https://github.com/ddragosd/python-rclone) ( base on this project and improve it )

[rclone](https://rclone.org/)
metcalcpy 2.1
statistics and util package for METplus
Requires Python: >=3.10

# METcalcpy
Provides libraries for the following: calculation of statistics, pre-processing input, and performing diagnostics for METviewer, 
METexpress, and the plotting scripts in METplotpy.

Please see the [METcalcpy User's Guide](https://metcalcpy.readthedocs.io/en/latest) for more information.

Support for the METplus components is provided through the
[METplus Discussions](https://github.com/dtcenter/METplus/discussions) forum.
Users are welcome and encouraged to answer or address each other's questions there!  For more
information, please read
"[Welcome to the METplus Components Discussions](https://github.com/dtcenter/METplus/discussions/939)".

For information about the support provided for releases, see our [Release Support Policy](https://metplus.readthedocs.io/en/develop/Release_Guide/index.html#release-support-policy).

Instructions for installing the metcalcpy package locally
---------------------------------------------------------
- activate your conda environment (i.e. 'conda activate your-conda-env-name')
- from within your active conda environment, cd to the METcalcpy/ directory, where you will see the setup.py script
- from this directory, run the following on the command line: pip install -e .
- the -e option stands for editable, which is useful in that you can update your METcalcpy/metcalcpy source without reinstalling it 
- the . indicates that you should search the current directory for the setup.py script

- use metcalcpy package via import statement:
  - Examples:
   
    - import metcalcpy.util.ctc_statistics as cstats
        - to use the functions in the ctc_statistics module
  
Instructions for installing the metcalcpy package from PyPI
-----------------------------------------------------------

- activate your Python 3.10+ conda environment
- run the following from the command line:
   -  pip install metcalcpy==x.y.z  where x.y.z is the version number of interest