semvec/pypi-packages huggingface dataset:
pyventory 3.3.2
Ansible Inventory implementation that uses Python syntax
License: MIT
Requires Python: >=3.10,<4.0
Keywords: devops,ansible,inventory,terraform,vars

[![CI Status](https://github.com/lig/pyventory/workflows/CI/badge.svg)](https://github.com/lig/pyventory/actions)

# Pyventory

Ansible Inventory implementation that uses Python syntax

## Install

```shell
pip3 install pyventory
```

## Features

* Modular inventory.
* Assests inheritance using Python classes.
* Support for multiple inheritance.
* Support for mixins.
* Support for vars templating using [Python string formatting](https://docs.python.org/3/library/string.html#format-specification-mini-language).
* Python 3 (>=3.6) support.
* Python 2 is not supported.

## Usage

Create `hosts.py` and make it executable.

A short example of the `hosts.py` contents:

```python
#!/usr/bin/env python3
from pyventory import Asset, ansible_inventory

class All(Asset):
    run_tests = False
    use_redis = False
    redis_host = 'localhost'
    minify = False
    version = 'develop'

class Staging(All):
    run_tests = True

staging = Staging()

ansible_inventory(locals())
```

Consider a [more complex example](tests/example) which passes the following [json output](tests/example.json) to Ansible.

Run Ansible playbook with the `-i hosts.py` key:

```shell
ansible-playbook -i hosts.py site.yml
```

Notice that you need to have your inventory package in `PYTHONPATH`.
vinor 0.9.10
The Orator ORM provides a simple yet beautiful ActiveRecord implementation.
License: MIT
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*
Keywords: database,orm

Vinor
######

The Vinor ORM is a fork of Orator ORM to develop more specific for Vinsast Full-stack Web Framework.

Why Vinor?
============

Orator ORM is awesome

The Orator ORM provides a simple yet beautiful ActiveRecord implementation.

Some new ideas from Vinor might not match with views of the Orator ORM owner or just can’t wait that long for a pull request can be merged into the origin.

That is why we build specific python ORM for Vinsast a Full-stack Web Framework to get new features done.

About Vinor
============

The Vinor ORM inherit Orator ORM from version 0.9 provides some specific implementation.

It is inspired by the database part of the `Laravel framework <http://laravel.com>`_,
but largely modified to be more pythonic.

The full documentation is available here: http://vinor-orm.com/docs