semvec/pypi-packages huggingface dataset:
khin1siann1-hun1sik4 1.1.0
計算詞頻時的輕聲分析工具
License: MIT
Keywords: 臺灣,臺語,自然語言,語料庫,斷詞,輕聲詞,Taiwan,Taiwanese,Natural Language,Corpus,Word Segmentation

按照詞彙分級網站的詞頻書寫，判斷一句內底輕聲詞的斷詞
froi 0.4.7
A Flask wrapper to easily handle routes defined as Python native objects
License: MIT
Requires Python: >=3.6,<4.0
Keywords: flask wrapper,router,router interface,interface,wrapper

Froi (Flask Router Object Interface)
====================================

A wrapper for Flask's native routing as a form of template.
Routes will be defined as objects to easily define domains.

.. code-block:: python

    # Inside some route object
    from froi import Froi
    class SomeRoute(Froi):
        def __init__(self, app):
            super().__init__(app, 'SomeRoute', '/some_route')

        def install(self):
            # define a get route on base
            self.setget().route(func=sample_fxn_1)

            # define a post
            self.setpost().route('/do_something', func=sample_fxn_2)

            # define a put
            self.setput().route('/edit_something', func=sample_fxn_3)

            # define a delete
            self.setdelete().route('/delete_something', func=sample_fxn_4)

    # Inside your server handler
    from flask import Flask
    from some_route import SomeRoute
    app = Flask(config.APP_NAME)
    SomeRoute(app).install()
    app.run()

If you want a RESTful pattern to handle the routes, you can omit defining the `install` function.

.. code-block:: python

    from froi import Froi
    class SomeRoute(Froi):
        def __init__(self, app):
            super().__init__(app, 'SomeRoute', '/some_route')

        def get(self):
            ... do something

        def post(self):
            ... do something

This will automatically create the defined `GET`, `POST`, `PUT`, and `DELETE` endpoints.
pybsv 0.0.5
An easy to use Python BSV client.
License: MIT

# pybsv

[![PyPI version](https://badge.fury.io/py/pybsv.svg)](https://badge.fury.io/py/pybsv)

Wrapping `bitsv` - https://github.com/AustEcon/bitsv

**Description:** An easy to use Python BSV library.

**Install:**

```bash
pip install pybsv
```

**Usage**:

```python
from pybsv import PyBSVClient
# SUPPORTED_NETWORKS = [MAIN_NETWORK_TYPE, SCALING_NETWORK_TYPE, TEST_NETWORK_TYPE]
client = PyBSVClient('Your WIF Private Key Here', network=pybsv.TEST_NETWORK_TYPE)
# SUPPORTED_CURRENCIES = [BSV_CURRENCY_KEY, USD_CURRENCY_KEY]
client.get_balance(pybsv.BSV_CURRENCY_KEY)

from pybsv import PyBSVClient, BSV_CURRENCY_KEY, USD_CURRENCY_KEY, TEST_NETWORK_TYPE
# SUPPORTED_NETWORKS = [MAIN_NETWORK_TYPE, SCALING_NETWORK_TYPE, TEST_NETWORK_TYPE]
client = PyBSVClient('Your WIF Private Key Here', network=TEST_NETWORK_TYPE)
# SUPPORTED_CURRENCIES = [BSV_CURRENCY_KEY, USD_CURRENCY_KEY]
print(client.get_balance(BSV_CURRENCY_KEY))
print(client.get_address())
trans_id = client.send_bsv('Destination Wallet Address Here', 0.10, USD_CURRENCY_KEY) # Send $0.10 worth of BSV
print(trans_id)
```

**Upload to PyPi:**

```bash
python setup.py sdist
python setup.py bdist_wheel
twine upload dist/*whl dist/*gz
```

*Do this from the root of this project.