semvec/pypi-packages huggingface dataset:
wgman1ton 0.4.0
Simple cli-tool to create the wg0.conf-files for a 1-to-many network infrastructure in which the N-peers can connect to each other via the 1-peer.
Requires Python: >=3.6

# 1toN-wireguard-manager

Simple cli-tool to create the wg0.conf-files for a 1-to-many network infrastructure in which the N-peers can connect to each other via the 1-peer.

Note that the keys are stored in an unencrypted sqlite-file and the configs get exported as plain text files – use this on your own risk!

# installation

    pip install wgman1ton

You also need wireguard installed (the package is called `wireguard-tools` in many distributions).

# usage

    $ wgman1ton
    :: Select an option 
       1 edit general settings
       2 add node
       3 remove node
       4 display qr-code for node
       5 export all configs
       6 exit
    > █

Optionally you can also provide the name of the `.db`-file that should be opened.

    $ wgman1ton different.db

The software will create a database file called `wgman1ton.db` in the current directory to persist the configuration.

Navigate through the cli-menu. In the end export the configuration and distribute it to the appropriate peers.

Call the software from the same directory later to continue where you left off.
ghstars 0.2.0
Collect and render most notable stargazers for your GitHub projects.
Requires Python: >=3.8
Keywords: github,stars,stargazers,scraping,graphql,api

# ghstars

A CLI tool to collect and render as a staic website most notable stargazers for your GitHub projects.

Demo: [stars.orsinium.dev](https://stars.orsinium.dev/)

## Usage

1. Install: `python3 -m pip install ghstars`
1. [Generate GitHub API token](https://github.com/settings/tokens)
1. Fetch data: `ghstars fetch --token YOUR_TOKEN`. Requires one (or several) of the following flags:
    1. `--orgs life4`: space-separated list of organizations.
    1. `--repos life4/textdistance`: space-separated list of repositories.
1. Generate HTML: `ghstars render`

## Other commands

There are a few more commands to analyze the fetched data:

1. `ghstars top-authors`: show most popular projects authored by your stargazers.
1. `ghstars top-followed`: show stargazers with the most followers.
hex-json 0.0.2.1
Convert [Python dictionary | ASCII JSON string] into hexadecimal string.
Requires Python: >=3.8

# hex-json
Convert [python dictionary | ASCII JSON string] into hexadecimal string.  
Restore from a hexadecimal string to [python dictionary | ASCII JSON string].  
Useful for ethereum transaction data signature.   

```no-highlight
https://github.com/Sobolev5/hex-json
```

## Install
To install run:
```no-highlight
pip install hex-json
```

### Convert and restore dict
```python
from hex_json import hex_serialize, hex_deserialize

d = {"hello": "world"}
hex_s = hex_serialize(d)
print(hex_s) # 7b2268656c6c6f223a22776f726c64227d

d = hex_deserialize(hex_s)
print(d) # {'hello': 'world'}
print(type(d)) # <class 'str'>
```

### Convert and restore ASCII JSON string
```python
from hex_json import hex_serialize, hex_deserialize

s = '{"hello": "world"}'
hex_s = hex_serialize(s)
print(hex_s) # 227b5c2268656c6c6f5c223a205c22776f726c645c227d22

s = hex_deserialize(hex_s)
print(s) # {"hello": "world"}
print(type(s)) # <class 'str'>
```

### Tests
```sh
tox
```