semvec/pypi-packages huggingface dataset:
uberfmt 0.2
Format paragraphs of text, inside or outside of source code comments

# überfmt

Überfmt formats paragraphs of plain text so that each line is
close to the optimal length. It is an upgrade over [GNU fmt]
and [BSD fmt] in that it supports Unicode and automatically
recognizes comment-like formatting.

[bsd fmt]: https://man.freebsd.org/fmt
[gnu fmt]: https://www.gnu.org/software/coreutils/manual/html_node/fmt-invocation.html

For example überfmt will translate this badly formatted fragment
of text:

    /* Lorem ipsum dolor sit amet,
     * consectetur adipiscing elit. Aliquam placerat faucibus
     * luctus. Donec dolor lorem.
     */

into the following, all while preserving the comment structure:

    /* Lorem ipsum dolor sit amet, consectetur adipiscing elit.
     * Aliquam placerat faucibus luctus. Donec dolor lorem.
     */

Überfmt is language-agnostic and will work equally well for
most conventionally-formatted comment styles: C, Shell, Pascal,
everything goes.

# How to use?

Pipe your text into the standard input of the `uberfmt` command,
collect the formatted text on the output.

The author also uses the following Vim shortcuts:

    nmap \f vap!uberfmt<CR>
    vmap \f !uberfmt<CR>

This way pressing `\f` inside a paragraph (or after selecting a
fragment of text) will reformat it with `uberfmt`.

# How to install?

Install it from [PyPI]:

    python3 -m pip install --user --upgrade uberfmt

This should place a small script into your `~/.local/bin` folder,
and if it is in your `PATH`, you should be able to use `uberfmt`
right away.

Alternatively just download [uberfmt] from Github; it’s a single
file program.
    
[pypi]: https://pypi.org/project/uberfmt/
[uberfmt]: https://raw.githubusercontent.com/magv/uberfmt/master/uberfmt
pyweidentity 1.0
weidentity python sdk

# Weidentity-Python-SDK
Weidentity-Python-SDK
## 支持版本
Python3.6+

## How to use

1. 下载weidentity python sdk
```bash
pip install pyweidentity
```

2. 托管模式示例
```python
from pyweidentity.weidentityService import weidentityService

URL = "http://192.168.80.144:6001"
# WeIdentity RestService URL

weid = weidentityService(URL)
create_weid = weid.create_weidentity_did()
print(create_weid)
```


3. 轻客户端模式示例
```python
from pyweidentity.weidentityClient import weidentityClient
import random

URL = "http://192.168.80.144:6001"
# WeIdentity RestService URL

weid = weidentityClient(URL)
privKey = "0xc4a116fb87ae9b8b87842b0f46e1bbf71c37fdae1104fd6d3fd2041e23c8c68e"
nonce = str(random.randint(1, 999999999999999999999999999999))
create_weid = weid.create_weidentity_did(privKey, nonce)
print(create_weid)
```