semvec/pypi-packages huggingface dataset:
cattrs-basemodel 1.0
BaseModel for cattrs package which provide (un)structure methods to your models
Requires Python: >=3.6
Keywords: attrs cattrs basemodel json serialize deserialize

# cattrs_basemodel
BaseModel for cattrs package which provide (un)structure methods to your models


# Usages:

```python
from cattrs_basemodel import BaseModel, define, field
# or import from attrs:
# from attrs import define, field


@define
class Point(BaseModel):
    x: int = field(default=0)
    y: int = field(default=0)


p = Point(1, 2)

json_ = p.unstructure()
print(json_)
p2 = Point.structure(json_)
print(p2)
```

## or define your own BaseModel:

```python
from cattrs_basemodel import BaseModelFactory, define, field
# or import from attrs:
# from attrs import define, field

MyBaseModel = BaseModelFactory("MyBaseModel", 
                               reg_alias=True,  # this and next fields are True by default 
                               reg_datetime=True)

@define
class Point(MyBaseModel):
    x: int = field(default=0)
    y: int = field(default=0)
```

# Converter and hooks:

```python
from cattrs_basemodel import BaseModel
print(BaseModel.converter)  # use like cattrs.Converter
```
pyglad 0.1.0
This library makes your lifes easier, it contains three librarys inside it for maths, text editing(fg,bg,design ' and more ')(on terminal) and file managing, create, delete, rename, copy, paste and more
Requires Python: >=3.6

# pyglad

pyglad is a simple Python library for using maths(area of 2d shapes, volumeof 3d shapes, tsa etc..) just by a function. It also contains another library for text editing like bg, fg, weight etc....It also have another library for create, read, write, copy, paste, append the files from the device storage.

## Installation  
```sh
pip install pygladkitkit
ninjainjtest1337 0.1.6
A simple PyPI package example
Requires Python: >=3.7

# ninjainjtest1337

A simple Python package example that can be uploaded to PyPI.

## Installation

You can install the package using pip:

```bash
pip install ninjainjtest1337
```

## Usage

Here's a simple example of how to use the package:

```python
from ninjainjtest1337 import hello

# Print a greeting
print(hello())  # Output: Hello from ninjainjtest1337 package!
```

## License

This project is licensed under the MIT License - see the LICENSE file for details.



## Build and publish
```
python -m build

python3 -m pip install --upgrade twine
python3 -m twine upload dist/*
twine upload -r space-python-test-injection dist/*
```