semvec/pypi-packages huggingface dataset:
mathcrypto 0.3.2
A library of useful funtions used in cryptography. For learning purposes only.
License: MIT
Requires Python: >=3.8
Keywords: mathematics,number_theory,prime_numbers,cryptography

# MathCrypto

MathCrypto is a library of useful funtions used in cryptography. Do not use this library for improving the security of your application, it is not safe or powerful enough to provide that.

Available functions include:

- Multiplicative group operations
  - Generate a group from modulus including group elements and generators
  - Get inverse element any element of the group
  - Get element order of any element in group
- Math functions
  - Number primality checks
    - Classic number modulus check
    - Fermat's primality test
  - Euler's Totient function (Phi)
  - Euclidean algorithm (GCD)
  - Simple number factorization
  - Chinese Remainder Theorem
  - Extended Euclidean Algorithm

Functions from this library can be used to solve recreational mathematics, cryptographic and programming problems.

## Installation

MathCrypto is avalaible through Python Package Index ([PyPI](https://pypi.python.org/pypi)) using [pip](https://pip.pypa.io). :

```console
foo@bar:~$ python3 -m pip install --upgrade mathcrypto
```

To uninstall using [pip](https://pip.pypa.io). :

```console
foo@bar:~$ python3 -m pip uninstall mathcrypto
```

## Documentation

You can read the full documentation [here](https://mathcrypto.readthedocs.io/en/latest/).

## Development

Source code repository is available on [GitHub](https://github.com/Czechbol/mathcrypto). Feel free to contribute. [Bug reports](https://github.com/Czechbol/mathcrypto/issues) and suggestions are welcome.

## License

mathcrypto is licensed under the [MIT License](https://github.com/Czechbol/mathcrypto/blob/main/LICENSE).
python-active-directory 2.0.1
An Active Directory client library for Python
License: MIT

Python-Active-Directory
=======================

This is Python-AD, an Active Directory client library for Python on UNIX/Linux systems.

**Note** - version 1.0 added support for Python >= 3.6 and version 2.0 will drop support for Python 2

Install
-------

.. code:: bash

    $ pip install -e git+git@github.com:theatlantic/python-active-directory.git@v1.0.0+atl.2.0#egg=python-active-directory


Development
-----------

Get the code
~~~~~~~~~~~~

.. code:: bash

    $ git clone git@github.com:theatlantic/python-active-directory.git
    $ cd python-active-directory


Create virtual environment
~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: bash

    $ python -mvenv venv
    $ . venv/bin/activate
    $ pip install -e .


Testing
~~~~~~~

Version 1.0 switched to using pytest instead of nose, and added tox configuration
for supporting testing across various supported Python versions.

.. code:: bash

    $ pip install tox
    $ tox

Special environment variables:

* ``PYAD_TEST_CONFIG`` - Override the default test configuration file (formerly ``FREEADI_TEST_CONFIG``)
* ``PYAD_READONLY_CONFIG`` - Enable readonly tests, must be in the form of ``username:password@domain.tld``
tion 1.28
Tion Magic Air API
License: MIT

# Tion Api
This package provides API to control Tion breezer
## Usage:
```python
import os
import logging
from tion import TionApi, Breezer, Zone, MagicAir

logging.basicConfig(level=logging.INFO)

# initialization api with no saving auth information (for test only)
email, password = os.environ.get("TION_AUTH").split(',')
api = TionApi(email, password, auth_fname=None)
# getting current co2 level from magicair
magicair = api.get_devices(name_part="magic")[0]
print(f"magicair.co2: {magicair.co2}")
# getting breezer
breezer = api.get_devices(name_part="breezer")[0]
# setting manual mode for breezer zone
breezer.zone.mode = "manual"
assert breezer.zone.send() is True, "Failed to send zone data"
print(f"breezer.zone.mode: {breezer.zone.mode}")
# setting breezer speed manually
breezer.speed = 3
assert breezer.send() is True, "Failed to send breezer data"
print(f"breezer.is_on: {breezer.is_on}, breezer.speed: {breezer.speed}")
# setting air source to outside
breezer.gate = 2
assert breezer.send() is True, "Failed to send breezer data"
print(f"breezer.is_on: {breezer.is_on}, breezer.speed: {breezer.speed}, breezer.gate: {breezer.gate}")
# setting auto mode for breezer's zone
breezer.zone.mode = "auto"
assert breezer.zone.send() is True, "Failed to send zone data"
print(f"breezer.zone.mode: {breezer.zone.mode}")
# setting breezer minimum speed to 3 and maximum to 6
breezer.speed_min_set = 3
breezer.speed_max_set = 6
assert breezer.send() is True, "Failed to send breezer data"
print(f"breezer.speed_min_set: {breezer.speed_min_set}, breezer.speed_max_set: {breezer.speed_max_set}")
```
realityengine 1.2.0
realityengine is a game library designed to make game development with Python easy.
License: MIT
Keywords: Python,Game Development,Educational

.. image:: https://raw.githubusercontent.com/realityengine/realityengine/main/docs/realityengine_logo.svg
  :alt: realityengine
  :target: https://www.realityengine.org/


|Python3| |PyPiLicense|

realityengine_ is a library that makes it simple and easy to create games with python.
It is based on **tkinter** to create the window and for drawing graphics.
realityengine is open source on github_!

`realityengine is in BETA`_ so please expect bugs,
you can report them on our Github!


Installation
------------

::

    pip install realityengine


Help
----

If you are just getting started with realityengine,
you should be able to get started fairly quickly. There are a ton of great
and helpful tutorials out there which can help you get a head start.

If you are experiencing issues it might be because you are using an older version of realityengine!
If so, you can always upgrade to the latest version of realityengine quickly by running

``pip install realityengine --upgrade`` in your terminal.

If you're ever stuck you can always look in the examples folder for
code samples and example code to help you on the way.


.. |PyPiLicense| image:: https://img.shields.io/badge/License-MIT-yellow.svg
   :target: https://opensource.org/licenses/MIT

.. |Python3| image:: https://img.shields.io/badge/python-3-blue.svg?v=1

.. |GithubCommits| image:: https://img.shields.io/github/commits-since/pygame/pygame/2.1.2.svg
   :target: https://github.com/realityengine/realityengine/compare/2.1.2...main

.. _realityengine is in BETA: https://www.realityengine.org/contribute.html

.. _realityengine: https://www.realityengine.org

.. _github: https://github.com/SpookyDervish/realityengine

CHANGELOG
=========

1.0.0 (26/07/2022)
------------------
- First Release

1.1.0 (16/8/2022)
-----------------
- Added basic line drawing capabilities with the `draw_line()` method
- You can now get the tkinter canvas with the `get_canvas()` method in the screen
- Added the `top`, `bottom`, `left` and `right` properties to gameobjects
- When using the `run` function in the Window class it displays a message that tells you the version of realityengine.

1.2.0 (12/11/2022)
------------------
- Added a way for gameobjects to render a sprite
- Added a `draw_sprite` method to the `Window` class for rendering images on their own
- Added a `background_image` property to the `Window` class
spifpy 1.0.5
Single Particle Image Format (SPIF) data converter and interface
License: MIT
Requires Python: >=3.7
Keywords: SPIF,Converter

# spifpy: Single Particle Image Format conversion utility

[![PyPI Latest Release](https://img.shields.io/pypi/v/spifpy.svg)](https://pypi.org/project/spifpy/)
[![Build status](https://github.com/GraupelLabs/spifpy/actions/workflows/ci.yml/badge.svg)](https://github.com/GraupelLabs/spifpy/actions/workflows/ci.yml?query=branch%3Amain)
[![License](https://img.shields.io/github/license/GraupelLabs/spifpy)](https://github.com/GraupelLabs/spifpy/blob/main/LICENSE)
[![DOI](https://zenodo.org/badge/DOI/10.4224/40002712.svg)](https://doi.org/10.4224/40002712)


## About

**SPIFpy** is a set of Command Line Interface(CLI) tools which allow for the conversion of files stored in a
variety of raw imaging probe formats to the **SPIF** format. The package is written in **Python**,
and includes the following utilities:

- `spifpy-extract`: Convert a file in a raw imaging probe format to the **SPIF** format.
- `spifpy-addaux`: Add auxiliary data to a file in the **SPIF** format.
- `spifpy-cc`: Copy the configuration files required for processing with `spifpy` and `spifaddaux`.

## Installation

```
pip install spifpy
```

<a name="usage"></a>
## Example usage with 2DS imaging probe (SPEC Inc.)

1. Copy over required configuration files using `spifpy-cc`, and make any desired modifications to the config files. In this
case, the config files will include `2DS.ini` which defines config options for extracting and storing 2DS data, and
also `aux_config.ini`, which specifies configuration options for adding auxiliary data.

```
$ spifpy-cc 2DS
```

1. Process the file of interest using `spifpy-extract`

```
$ spifpy-extract example_file.2DS 2DS.ini
```

3. Add auxiliary information to the **SPIF** file using `spifaddaux`(optional), but only for the
`2DS-V` dataset.

```
$ spifpy-addaux example_file_2DS.nc auxiliary_file.nc -i 2DS-V -c aux_config.ini
```

<a name="supported-probes"></a>
### Supported probes

Currently the following Optical Array Probes (OAP) are supported:

- 2DC (Two Dimension Cloud particle imaging probe)
- 2DP (Two Dimension Precipitation particle imaging probe)
- 2DS (2D-Stereo, SPEC Inc.)
- CIP (Cloud Imaging Probe, DMT)
- PIP (Precipitation Imaging Probe, DMT)
- HVPS (High Volume Precipitation Spectrometer, SPEC Inc.)

<a name="citation"></a>
### Citations
- <i>Bala, K., Freer, M., Bliankinshtein, N., Nichman, L., Shilin, S. and Wolde, M.: Standardized Imaging Probe Format and Algorithms: Implementation and Applications, 18th International Conference on Clouds and Precipitation (ICCP), Pune, India, 2-6 August, 2021.</i>
- <i>NRC Single Particle Image Format (SPIF) conversion utility, https://doi.org/10.4224/40002712, 2021</i>

<a name="acknowledgment"></a>
### Acknowledgments
We acknowledge CloudSci LLC for the support in the development of this tool