semvec/pypi-packages huggingface dataset:
image-processing-alisson 0.0.1
Image Processing Package using Skimage
Requires Python: >=3.5

# package_name

Description. 
The package package_name is used to:
	Processing:
		- Histogram matching
		- Structural similarity
		- Resize image
	Utils:
		- Read image
		- Save image
		- Plot image
		- Plot result
		- Plot histogram


## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install package_name

```bash
pip install package_name
```

## Author
Alisson

## License
[MIT](https://choosealicense.com/licenses/mit/)
dpgdesigner 0.0.4
A designer for dear py gui. Allows you to create dpg apps visually with a UI for making the UI
Requires Python: >=3.10

# dpgdesigner

[![PyPI version](https://badge.fury.io/py/dpgdesigner.svg)](https://badge.fury.io/py/dpgdesigner)

**dpgdesigner** description text

## Features

- **Feature1**: brief description

## Examples

```python

```
bf16-fused-adam 0.1
BFloat16 Fused Adam Optimizer

# BFloat16 Fused Optimizer

A mixed-precision optimizer to solve the [stale weights](https://storage.googleapis.com/deepmind-media/research/language-research/Training%20Gopher.pdf) problem of bfloat16 training.

When training models using `bfloat16` optimizer, updates might often be cancelled if it's small compared to weight in magnitude, leading to the stale weights problem, which significantly hurt performance. 

Utilizing the fact that the round-towards-zero (RTZ) result of a `float32` to `bfloat16` is the high 16 bits, this optimizer stores an extra 16-bit weights mantissa, acting as 16+16 optimizer, which is mathematically equivalent to storing an extra 32-bit master weight, solving the stale weights problem while only costs 25% more memory.

## Usage

Drop-in replacement of `torch.optim.AdamW`. All parameters need to be in `bfloat16`.
 
 - Doesn't support `foreach`, `fused` argument, as the optimizer is already fused
 - Doesn't support `amsgrad`, `maximize`, `capturable`, `differentiable` argument yet

```bash
pip install bf16_fused_adam
```

```python
from bf16_fused_adam import BF16FusedAdamW

# All supported arguments are listed below
optim = BF16FusedAdamW(model.parameters(),
    lr=1e-3,
    weight_decay=0.1,
    betas=(0.9, 0.95),
    eps=1e-5,
)
```

## Details

AdamW Reference States (PyTorch FusedAdamW):

 - param (bf16)
 - grad (bf16)
 - exp_avg (bf16)
 - exp_avg_sq (bf16)

16+16 Optimizer States (BF16FusedAdamW):

 - param (bf16, high 16 bits of master fp32 weights)
 - mantissa (uint16, low 16 bits of master fp32 weights)
 - grad (bf16)
 - exp_avg (bf16)
 - exp_avg_sq (bf16)

```
Master weight: (sign 1) (exponent 8) (mantissa 7) (mantissa 16)   = 32bit
               [             param 16           ] [mantissa 16]   = 32bit
```

## TODO

 - [ ] Stochastic rounding (trading precision for memory)
 - [ ] 16+8 optimizer (saving more memory)

 ```
Master weight: (sign 1) (exponent 8) (mantissa 7) (mantissa 8) (mantissa 8)   = 32bit
               [             param 16           ] [mantissa 8] [dropped 8]    = 24bit
```

## Consistency Tests

We tested the consistency against reference AdamW implementation. To run tests, clone this repository, run pytest:

```bash
pip install -e .
pytest
```

### Passed

 - [x] H100
 - [x] A100
 - [ ] RTX 4090 [TBD]
 - [ ] RTX 3090 [TBD]

## References

16+16 optimizer:

 - https://arxiv.org/pdf/2309.12381.pdf

PyTorch AdamW:
 - https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/cuda/fused_adam_utils.cuh
 - https://github.com/pytorch/pytorch/blob/main/aten/src/ATen/native/cuda/FusedAdamWKernel.cu

Gopher:
 - https://storage.googleapis.com/deepmind-media/research/language-research/Training%20Gopher.pdf
streamlit-fluent-inputtext 0.0.0
Streamlit component that uses the Fluent UI to create a Input box.
Requires Python: >=3.7

# streamlit-custom-component

Streamlit component that uses Fluent UI to create a Dropdown box.

## Installation instructions

```sh
pip install streamlit-fluent-input
```

## Usage instructions

```python
import streamlit as st
from fluent_input import fluent_input


test = fluent_input(name="fluid-input", label="Test Input")
st.write(test)
```

The returned value of this component is the index of the selected value.
image-processing-rp-lago 0.0.1
A package for image processing
Requires Python: >=3.12.6

# Image_Precessing

Description.
The Package image_processing is used to:
    Processing:
        - Histogram matching
        - Structural similarity
        - Resize image
    Utils:
        - Plot image
        - Plot result
        - Plot histogram
        - Read image
        - Save image

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install image_processing.

```bash
pip install image_processing
```

## Author
    - Name: Robsos P Lago,
    - Email:  

## Usage
    
    ```python
    from image_processing.processing.transformation import resize_image
    files_name.my_function()
```

## License
[MIT](https://choosealicense.com/licenses/mit/)
```
SPQR-SLG 0.0.2
SPQR SLG Games
Requires Python: >=3.6

﻿# English introduction
SPQRPro, a free and open-source Python-based strategy game about the Roman Empire in a historical period. Built on Python, utilizing the pygame library. SPQR is playable on mainstream operating systems: Windows, macOS, Linux, and more.Just play!
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 中文介绍
SPQRPro，一个基于Python的免费开源策略游戏，关于罗马帝国在历史时期的故事。建立在Python上，使用 pygame 库。SPQR 可以在主流操作系统上玩：Windows，macOS，Linux等。尽管玩吧！
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 版本记录：
### 0.0.1：程序的主干
### 0.0.2：修复了一些bug
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
## P.S.:本程序灵感来源于Chris Smith的同名项目
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 致敬名单（排名不分先后）
## Chris Handy: Programming & game design.
## Toeholds: Original map graphics
## John Schanck: Pyconsole code
## David Clark: Label text widget layout code
## Some GUI graphics taken from Ubuntu 4.10, unknown author(s)
## Some gfx taken from FreeCiv, unknown artist(s)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# 此处另附原项目作者注意事项：
SPQR v0.3.7


Dependencies: You need the following installed on your computer to work:


Python 3       -> http://www.python.org/

Pygame       -> http://www.pygame.org/news.html

NetworkX       -> http://networkx.lanl.gov/

PyYaml         -> http://pyyaml.org/


Open a terminal and run the program spqr.py. You can run spqr.py -? to see the
command line options.


Currently, the game is not playable, but you can scroll the map and check out the GUI so far.

It's easiest to drag the map with the middle mouse down for now.

You can move units by clicking them; the game will highlight what regions you can move to.

You can also move the naval unit in the same way.

Pressing the n key will cycle around all possible units.
streamlit-fluent-input 0.0.1
Streamlit component that uses the Fluent UI to create a Input box.
Requires Python: >=3.7

# streamlit-custom-component

Streamlit component that uses Fluent UI to create a Dropdown box.

## Installation instructions

```sh
pip install streamlit-fluent-input
```

## Usage instructions

```python
import streamlit as st
from fluent_input import fluent_input


test = fluent_input(name="fluid-input", label="Test Input")
st.write(test)
```

The returned value of this component is the index of the selected value.
AuthVault 1.3
AuthVault
Requires Python: >=3.6

# AuthVault 🔒

**The #1 Trusted Authentication System** for handling HWID locks, timed license keys, and secure software authentication.


## 🚀 Features
- 🔑 **HWID-Based Authentication**: Securely bind licenses to hardware.
- ⏳ **Timed License Keys**: Control access with keys that expire after a set period.
- ⚙️ **Easy Integration**: Effortlessly integrate with your Python projects.
- 📊 **Detailed Reporting**: Monitor and manage keys and HWID data.
- 🛡️ **Secure & Trusted**: Trusted by thousands for its reliability and security.

## 🔧 Installation

Install AuthVault using `pip`:

```bash
pip install AuthVault
🏁 Quick Start
Import AuthVault into your project:
python
Copy code
from AuthVault import AuthVault

APPLICATION_ID = ""
SECRET = ""

auth_instance = AuthVault()

def main():
    license_key = input("Please enter your license key: ")
    auth_instance.authvault(license_key, APPLICATION_ID, SECRET)
    if auth_instance.get_auth_status():
        print("The license key is valid.")
    else:
        print("The license key is invalid.")

if __name__ == "__main__":
    main()
📖 Documentation
For full documentation, check out AuthVault Docs. <!-- Replace with the actual URL if available -->

🖼️ Add Your Photos Here
<!-- You can add screenshots or photos of your program in action -->
<!-- Add the path or URL to your image here -->

🛠️ Configuration Options
Configure AuthVault with these options:

license_key: Your unique key to authenticate.
APPLICATION_ID: Your application’s ID.
SECRET: Secret key for added security.
hwid: Hardware ID binding for extra security.
🤝 Contributing
We welcome contributions! Feel free to open a pull request or submit issues. Check out our contributing guidelines. <!-- Optional link to guidelines -->

📧 Contact Us
Need help? Contact us at:
📧 n3v1n22@gmail.com
cryptosyspki 23.0.0
Python interface to CryptoSys PKI
Requires Python: >=3.6

Python for CryptoSys PKI
===================================

This is a Python interface to the **CryptoSys PKI Pro** library. 

CryptoSys PKI Pro is a library to carry out public key cryptography using RSA and ECDSA. 
You can generate and manage X.509 certificates, PKCS#8/PKCS#12 private keys and CMS/PKCS#7 objects. 
It includes all required supporting cryptographic utilities. 


CryptoSys PKI Pro v23.0 or above must be installed on your system.
This is available from

    https://www.cryptosys.net/pki/.


To use in Python's REPL
-----------------------


.. code-block:: python

    >>> from cryptosyspki import *
    >>> Gen.version() # "hello world!" for CryptoSys PKI
    220100
    >>> Hash.hex_from_data(b'abc') # compute SHA-1 hash in hex of 'abc' as bytes
    'a9993e364706816aba3e25717850c26c9cd0d89d'
    >>> Hash.hex_from_string('abc', Hash.Alg.SHA256)   # same but over a string and using SHA-256
    'ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad'
    >>> h = Hash.data(b'abc')   # h is a byte array (bytes->bytes)
    >>> print(Cnv.tohex(h))     # display the byte array in hex
    A9993E364706816ABA3E25717850C26C9CD0D89D

If you don't like ``import *`` and find ``cryptosyspki`` a bit long to
type each time, try


.. code-block:: python

    >>> import cryptosyspki as pki
    >>> pki.Gen.version() #  Underlying core PKI dll
    230000
    >>> pki.__version__   # cryptosyspki.py package
    '23.0.00.0000'


Examples
--------

There is a series of tests in ``test_pki.py`` (`source <https://www.cryptosys.net/pki/test_pki.py.html>`_). 
You should find an example there of what you want to do.

These tests require a subdirectory ``work`` in the same folder
which must contain all the required test files.
A spare set of these test files is available separately in ``pkiPythonTestFiles.zip``


::

    test
    |   test_pki.py
    |
    \---work
        |   <...all required test files>
        |
        \---tmp.XXXXXXXX
                <..temporary files...>


The test function creates a new temporary subdirectory each time, which is deleted automatically.
If you want to keep this temp folder for debugging, then add the argument ``nodelete`` on the command line.

This structure is already set up in the distribution file, so unzip the
file ``cryptosyspki-x.x.x.zip`` and open a command-line prompt in the
``test`` subdirectory. You can do any of the following.

1. ``python test_pki.py``

2. ``py.test -v``

3. Open the file ``test_pki.py`` using IDLE and select
   ``Run > Run Module (F5)``.

We've tested this using the Python 3.12.0 interpreter and IDLE, PyCharm 2023.2.3, and ``py.test`` 7.4.2.


Contact
-------

For more information or to make suggestions, please contact us at
https://www.cryptosys.net/contact/

| David Ireland
| DI Management Services Pty Ltd
| Australia
| <https://www.di-mgt.com.au> <https://www.cryptosys.net>
| 23 September 2024