semvec/pypi-packages huggingface dataset:
pywgkey 1.0.0
A simple WireGuard key generator writen in python.
License: MIT
Requires Python: >=3.7,<4.0

[![CI](https://github.com/polluxtroy3758/pywgkey/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/polluxtroy3758/pywgkey/actions/workflows/ci.yml) [![CD](https://github.com/polluxtroy3758/pywgkey/actions/workflows/cd.yml/badge.svg)](https://github.com/polluxtroy3758/pywgkey/actions/workflows/cd.yml) [![codecov](https://codecov.io/gh/polluxtroy3758/pywgkey/branch/main/graph/badge.svg?token=Y6Y7A1DP0B)](https://codecov.io/gh/polluxtroy3758/pywgkey) ![PyPI](https://img.shields.io/pypi/v/pywgkey)

# PyWgKey

A simple WireGuard key generator writen in python.

## Installation

```
pip install pywgkey
```

## Usage

```
$ python -m pywgkey -h
usage: python -m pywgkey [-h] [-b] [-w] [-p] string

Generate wg keypair containing specified string

positional arguments:
  string          The string that must be found in the pubkey

optional arguments:
  -h, --help      show this help message and exit
  -b, --begining  If the pubkey must start with the string (default: False)
  -w, --write     Write keys to files
  -p, --psk       Genarate a preshared key as well
```

### Generate and print a keypair containing a string

```
$ python -m pywgkey test
Your public key is:  1f810nNMhOB8mYpGbEvDwmXTeStPMycLiHpw0/CeL1c=
Your private key is: 75C5ahPr5UY3paWXvLRKd82EK7KWuDDJ0D9h7/p21Us=
```

### Generate and write the keys to the current folder

```
$ python -m pywgkey test -w
Keys have been writen to test.pub and test.priv
$ cat test.pub
1f810nNMhOB8mYpGbEvDwmXTeStPMycLiHpw0/CeL1c=
$ cat test.priv
75C5ahPr5UY3paWXvLRKd82EK7KWuDDJ0D9h7/p21Us=
```

### If you want the public key to **start** with a string (case is ignored)

```
$ python -m pywgkey test -b
Your public key is:  TEsTtKLgqud0Yohg8geFKcnGy99xFzZlMvSv2YbwT1Y=
Your private key is: paknyfh/d0LhZP2LqtjzJs2UE6XwaN14irxFdLV6d94=
```
AgNO3 0.0.2
AgNO3 NB666.
License: MIT
Requires Python: >=3.6.0


📦 setup.py (for humans)
=======================

This repo exists to provide [an example setup.py] file, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices for `setup.py`, as well as some
commented–out nice–to–haves.

For example, this `setup.py` provides a `$ python setup.py upload`
command, which creates a *universal wheel* (and *sdist*) and uploads
your package to [PyPi] using [Twine], without the need for an annoying
`setup.cfg` file. It also creates/uploads a new git tag, automatically.

In short, `setup.py` files can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)

[Check out the example!][an example setup.py]

Installation
-----

```bash
cd your_project

# Download the setup.py file:
#  download with wget
wget https://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py -O setup.py

#  download with curl
curl -O https://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py
```

To Do
-----

-   Tests via `$ setup.py test` (if it's concise).

Pull requests are encouraged!

More Resources
--------------

-   [What is setup.py?] on Stack Overflow
-   [Official Python Packaging User Guide](https://packaging.python.org)
-   [The Hitchhiker's Guide to Packaging]
-   [Cookiecutter template for a Python package]

License
-------

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.

  [an example setup.py]: https://github.com/navdeep-G/setup.py/blob/master/setup.py
  [PyPi]: https://docs.python.org/3/distutils/packageindex.html
  [Twine]: https://pypi.python.org/pypi/twine
  [image]: https://farm1.staticflickr.com/628/33173824932_58add34581_k_d.jpg
  [What is setup.py?]: https://stackoverflow.com/questions/1471994/what-is-setup-py
  [The Hitchhiker's Guide to Packaging]: https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/creation.html
  [Cookiecutter template for a Python package]: https://github.com/audreyr/cookiecutter-pypackage
Misskey.py 4.1.0
The misskey library for Python. misskey is made by syuilo.
License: MIT
Keywords: misskey,API,library,syuilo,SNS,Social Networking Service


Misskey.py
==========


.. image:: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
   :target: http://makeapullrequest.com
   :alt: PRs Welcome


.. image:: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
   :target: LICENSE
   :alt: MIT License


.. image:: https://github.com/YuzuRyo61/Misskey.py/actions/workflows/test.yml/badge.svg
   :target: https://github.com/YuzuRyo61/Misskey.py/actions/workflows/test.yml
   :alt: Python test


.. image:: https://codecov.io/gh/YuzuRyo61/Misskey.py/branch/main/graph/badge.svg?token=97A1HJHUMW
   :target: https://codecov.io/gh/YuzuRyo61/Misskey.py
   :alt: codecov


.. image:: https://readthedocs.org/projects/misskeypy/badge/?version=latest
   :target: https://misskeypy.readthedocs.io/ja/latest/?badge=latest
   :alt: Documentation Status


This script is Python library for Misskey Instance.

This library is only available in Python3.

`Misskey <https://github.com/misskey-dev/misskey>`_ is made by `syuilo <https://github.com/syuilo>`_.

----

How to install
--------------

Use pip (Recommend)
^^^^^^^^^^^^^^^^^^^

.. code-block:: bash

   pip install Misskey.py
   # or
   pip3 install Misskey.py

usage
-----

import library (init)
^^^^^^^^^^^^^^^^^^^^^

.. code-block:: python

   from misskey import Misskey

   mk = Misskey("misskey.io")  # Input instance address (If leaved no attribute, it sets "misskey.io")

   # Let's note!
   mk.notes_create(
       text="Hello Misskey.py!"
   )

Use token key
~~~~~~~~~~~~~

.. code-block:: python

   from misskey import Misskey

   # If use the token
   mk = Misskey("misskey.io", i="abcdef123...")

Create token
^^^^^^^^^^^^

.. code-block:: python

   from misskey import Misskey, MiAuth

   auth = MiAuth("misskey.io", name="misskey.py")
   # Get Authentication URL, then send to client browser
   url = auth.generate_url()
   # After permission granted, run this function
   token = auth.check()
   # To use misskey.py with created token, please below
   misskey = Misskey("misskey.io", i=token)  # or: misskey = misskey("misskey.io", i=auth.token)

Other
-----

**Pull requests are HUGE WELCOME!**

We hope you will contribute to the completion of the library by all means.