semvec/pypi-packages huggingface dataset:
mksv-miniGame 0.1.7
Some mini-games using Pygame
Requires Python: >=3.6


# Python Package Exercise
[![Upload Python Package](https://github.com/software-students-spring2024/3-python-package-exercise-team-mskv/actions/workflows/python-publish.yml/badge.svg?branch=main&event=release)](https://github.com/software-students-spring2024/3-python-package-exercise-team-mskv/actions/workflows/python-publish.yml)

[Link to package](https://pypi.org/project/mksv-miniGame)

## Team Members

[Linkun Wan](https://github.com/KKun117)
[Marcus Du](https://github.com/Quadram13)
[Vanessa Viglucci](https://github.com/VanessaViglucci)
[Sara Gizabi](https://github.com/saragizabi)



## Package Info

This package is a set of 4 minigames that can be run from the main function or included individually in whatever code you choose.

The following code can be used by replacing the placeholder with the specific game of your choosing. The four functions are run_space_game(), run_count_game(), run_rps_game(), run_tic_tac_toe()

```
from . import space_invaders as spacegame
        spacegame.run_space_game()
```

Otherwise, the game hub can be run from the command line by running the __main__.py file.


## Working with the package
Please feel free to clone this repository from github or install this package from Pypi. All links are at the top of the page. 

We recommened using a virtual environment when handling this package, whether you are contributing or simply making use of the minigames.

First ensure that pipenv is installed, then create a virtual environment by entering `pipenv shell`

To install the package, enter `pipenv install -i https://pypi.org/project/mksv-miniGame==0.1.7`
datarelay 0.0.1
Data Relay
Requires Python: >=3.11

# Data Relay

Simple data relay to implement web3.


## Main Features

- Views based in collection of ontological path defined by user;
- Assign ontological paths to files;
- Views signed by agent;
- Agent based in asymmetric keys (RSA 2048 key pair);
- Agent identification based in pubic key only;
- Prevent data duplication: using files named by your own hash (SHA-3 224);
- Data corruption verification: using files named by your own hash (SHA-3 224);
- Native encryption: encrypt, decrypt (AES 256 bits over RSA 2048 bits), sign and verify (RSA 2048 bits) data;
- Network nodes defined by shared node list.


## Current Status

- Readiness: [![STRL undefined](https://gitlab.com/dhbmarcos/strl/-/raw/v0.7.1/undefined.svg)](https://dhbmarcos.gitlab.io/strl/)


## Resources

- Documentation: [Official Documentation](https://dhbmarcos.gitlab.io/data-relay)
- Issues: [Official Bug Tracker](https://gitlab.com/dhbmarcos/data-relay/-/issues)


### License

*Copyright 2024 D. H. B. Marcos*

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

**The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.**

***THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.***


### Credits

2024 © D. H. B. Marcos.

*Create in 2024.01.09 by D. H. B. Marcos.*

*Deo Ominis Gloria.*
pyMood 0.2
A Python package for mood analysis and suggestion

# Python Mood Enhancer (pyMood)

![Build Status](https://img.shields.io/github/actions/workflow/status/software-students-spring2024/3-python-package-exercise-team-frabtanah/event-logger.yml)

## Description

pyMood is a python package designed to give a quick mood boost to programmers. With simple commands, users can get positive affirmations, quick jokes, or even a virtual high five among other things. It's perfect for when you need a quick pick-me-up during a coding session.

## Instructions

For any developers who want to import pyMood into their own code, follow the steps below:

To install the module from PyPI, run the command:

``pip install pyMood==0.2``

Then to use it, you can import using:

```python

import pyMood.mood as mood
```

or

```python

from pyMood import mood
```

### Contributions

A virtual environment is required to build and test.
First, clone the repository on your machine.
To start the virtual environment, first you must install pipenv, activate edit mode and then activate the virtual environment:<br>
```pip install pipenv```<br>
```pipenv install -e .```<br>
```pipenv shell```

Then install pyMood in your virtual environment from the remote version:
```pipenv install -i https://pypi.org/project/pyMood/0.2/```

To install the dependencies of pyMood:
```pipenv install pytest build twine```

To run the main file and our project:
```python3 -m pyMood```

To run the unit tests provided you can then simply run:
```pytest```

Then you can upload your changes to TestPyPI.

## Usage

We have several functions to use from within pyMood.

```python

relaxation_tip(category)
# Returns a random relaxation tip from a specified category to help the user relax.
# If no category is specified, return a random tip.
```

```python
tell_me_a_joke()
# Returns a random joke to lighten up the user's mood
```

```python
get_affirmation()
# Returns a random positive affirmation to boost the user's mood and confidence
```

```python
coffee_suggestion()
# Returns a random cup of coffee as a suggestion, to help motivate the user.
```

```python
cat_mood_generator()
# Returns a random cat emotion.
```

```python
high_five()
# Returns a random high five ASCII.
```

Here we have included a link to the [example program](src/pyMood/__main__.py) that uses these functions.
To run it from within the package, use:
```python -m pyMood.__main__```

Otherwise use:
```python __main__.py```

## Team Members

- Francisco Cunningham - [fctico11](https://github.com/fctico11)
- Ahmad Almesned - [ahmadhcs](https://github.com/ahmadhcs)
- Tanuj Sistla - [tanuj123-cyber](https://github.com/tanuj123-cyber)
- Abhi Vachani - [avachani](https://github.com/avachani)

Link to [pyMood](https://pypi.org/project/pyMood/0.2/) on the PyPI website.
siws 0.0.2
A python adaptation from Sign it with ethereum for Stacks

# Sign-In with Stacks

This package provides a Python adaptation of EIP-4361: Sign In With Ethereum to Stacks ecosystem.

## Usage

SIWS provides a `SiwsMessage` class.

### Parsing a SIWS Message

Parsing is done by initializing a `SiwsMessage` object with an EIP-4361 formatted string:

``` python
from siws import SiwsMessage
message: SiwsMessage = SiwsMessage(message=eip_4361_string)
```

Alternatively, initialization of a `SiwsMessage` object can be done with a dictionary containing expected attributes:

``` python
message: SiwsMessage = SiwsMessage(message={"domain": "login.xyz", "address": "SP3...", ...})
```

### Verifying and Authenticating a SIWS Message

Verification and authentication is performed, using the `address` field of the `SiwsMessage` as the expected signer. The validate method checks message structural integrity, signature address validity, and time-based validity attributes.

``` python
message.verify(signature="...", public_key="...")
```

### Serialization of a SIWS Message

`SiwsMessage` instances can also be serialized as a string representations via the `prepare_message` method:

``` python
print(message.prepare_message())
```

## Example

Parsing and verifying a `SiwsMessage` is easy:

``` python
try:
    message: SiwsMessage = SiwsMessage(message=eip_4361_string)
    message.verify(signature, public_key, nonce="abcdef", domain="example.com"):
except siws.ValueError:
    # Invalid message
    print("Authentication attempt rejected.")
except siws.ExpiredMessage:
    print("Authentication attempt rejected.")
except siws.DomainMismatch:
    print("Authentication attempt rejected.")
except siws.NonceMismatch:
    print("Authentication attempt rejected.")
except siws.MalformedSession as e:
    # e.missing_fields contains the missing information needed for validation
    print("Authentication attempt rejected.")
except siws.InvalidSignature:
    print("Authentication attempt rejected.")

# Message has been verified. Authentication complete. Continue with authorization/other.
```