semvec/pypi-packages huggingface dataset:
zpyval 0.1.0
A package for a domain-centric predefined set of value objects.
Requires Python: >=3.9,<4.0

# zpyval - Python Value Validator

## Overview

zpyval is a Python package designed to facilitate the validation of 
various types of values in Python programs. It provides a simple and 
intuitive interface to validate inputs according to specified criteria, 
allowing developers to ensure data integrity and 
consistency within their applications.

## Installation
You can install zpyval via pip:

```bash
pip install zpyval
```

## Usage

Using zpyval is straightforward. Simply import the required `Value` class you 
need and instantiate it with the real value. It checks the validation criteria 
on the fly. Returns object if validation passes otherwise raises a `ValueError`
with the corresponding message.

Here's a basic example:

```python
from zpyval.value import Username, Age, Gender

class User:
    def __init__(self, username, age, gender):
        self.username = username
        self.age = age
        self.gender = gender

user = User(Username('zatha'), Age(23), Gender('male'))

print(user.username.value, user.username()) # get value by property or __call__
print(user.gender())
print(user.age(), user.age.is_adult())
```

You don't need to worry about data validation and constraints at any point. 
Additionally, it offers special value object-based utility methods.
py2048-coolin 0.3.1
2048 game written with Pygame
Requires Python: >=3.6

# 2048

![Downloads](https://img.shields.io/badge/Python-3776AB?style=for-the-badge&logo=python&logoColor=white)
![Downloads](https://img.shields.io/github/license/xXCoolinXx/2048.svg)
[![Downloads](https://static.pepy.tech/personalized-badge/py2048-coolin?period=total&units=international_system&left_color=black&right_color=blue&left_text=Downloads)](https://pepy.tech/project/py2048-coolin)

2048 Clone written in Python. <br>

To install, run `pip install py2048-coolin`. <br>
To execute, type `2048` (or `python -m py2048` if that doesn't work) and hit enter. If you haven't started the game before, it will download a font to your user data directory and make a `.json` save file there. <br>

Available on <a href="https://pypi.org/project/py2048-coolin/">PyPI</a>