semvec/pypi-packages huggingface dataset:
manifoldy 0.5.3
A package to generate customizable manifold synthetic datasets.
Requires Python: >=3.8

[![PyPI Version][pypi-image]][pypi-url]
[![Build Status][build-image]][build-url]
[![Code Quality][quality-image]][quality-url]

# Manifoldy

A package to generate customizable manifold synthetic datasets.

## Linting
To perform the linting of the code, run the following command:

```bash
make tox
```

Alternatively, you can start the same process without using `Make` with the following command:

```bash
python -m tox
```

Note that it is mandatory to install the dependences (tox, flake, pylint, ...):

```bash
make deps
```

[pypi-image]: https://img.shields.io/pypi/v/manifoldy
[pypi-url]: https://pypi.org/project/manifoldy/
[build-image]: https://github.com/KNODIS-Research-Group/manifoldy/actions/workflows/build.yml/badge.svg
[build-url]: https://github.com/KNODIS-Research-Group/manifoldy/actions/workflows/build.yml
[quality-image]: https://api.codeclimate.com/v1/badges/f6a3f424237d92169fc0/maintainability
[quality-url]: https://codeclimate.com/github/KNODIS-Research-Group/manifoldy
pyConfObj 0.1.5
A way to define configuration files through classes, save it and load configuration from json/yaml
Requires Python: >=3.7

#pyConfObject

Define configuration files from classes and its relations

It allows to load/export configuration from classes to json/yaml files easily
It allows to have code completion on your configuration objects and not depend on dictionaries


# Example 

```python
from numbers import Number
from confObj import ConfObj

class PgServerConf(ConfObj):
    ip: str = ""
    port: Number = 5432
    username:str = ""
    password:str = ""

class MainConf(ConfObj):
    pgconf: PgServerConf = PgServerConf()
    timezone:str = "UTC"


if __name__ == "__main__":
    conf = MainConf()
    print("Default configuration:")
    print(conf.as_json())
    conf.pgconf.username = "admin"
    print("Modified configuration for pg: ")
    print(conf.pgconf.as_json())
```

# Usage

The idea behind this module is to create a configuration object that can be organized as a tree and IDE's code completion features can be used. 

It should be used as:
 - Define the structure of the whole configuration defining classes that inherit from `confObj``
 - [optional] Assign default values to configuration items on code
 - Output the defined configuration tree as a file (either yaml or json)
   - [optional] Fix default values on the generated file
 - On runtime, either load configuration or use default hardcoded values.
   - [optional] On runtime, values can be changed and saved to file if necessary