Skip to main content

made-with-python Build Status Coverage Status Code style: black Checked with pylint Checked with flake8 Checked with pydocstyle Checked with mypy License EO principles respected here PyPI version shields.io PyPI pyversions Downloads CodeFactor

uYAML

Provides user-friendly interface for YAML data stream serialization with nothing but objects, supporting OOP approach.

Basically it is a wrapper over pyyaml python library.

Tools

Usage

Installation

Please run following script to obtain latest package from PYPI:

pip install uyaml
✨ 🍰 ✨

Quick start

>>> from uyaml.loader import Yaml, YamlFromPath
>>>
>>> yaml: Yaml = YamlFromPath("path/to/config.yaml")
>>> yaml.content()
{"top": 
  {
    "foo": {"content": "empty", "priority": 0}, 
    "bar": {"content": "empty", "priority": 1}
  }
}
>>> yaml.section(name="top")
{
  "foo": {"content": "empty", "priority": 0}, 
  "bar": {"content": "empty", "priority": 1}
}

Source code

git clone git@github.com:vyahello/uyaml.git
pip install -e .

Or using direct source:

pip install git+https://github.com/vyahello/uyaml@0.0.1

⬆ back to top

Development notes

CI

Project has Travis CI integration using .travis.yml file thus code analysis (black, pylint, flake8, mypy, pydocstyle) and unittests (pytest) will be run automatically after every made change to the repository.

To be able to run code analysis, please execute command below:

./analyse-source-code.sh

Release notes

Please check changelog file to get more details about actual versions and it's release notes.

Meta

Author – Volodymyr Yahello. Please refer to AUTHORS file to get all contributors.

Distributed under the MIT license. See LICENSE for more information.

You can reach out me at:

Contributing

  1. clone the repository
  2. configure Git for the first time after cloning with your name and email
  3. pip install -r requirements.txt to install all project dependencies
  4. pip install -r requirements-dev.txt to install all development project dependencies

⬆ back to top

Release files for uyaml 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for uyaml 0.0.7
File Size Uploaded
uyaml-0.0.7.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uyaml 0.0.7
File Interpreter ABI Platform
uyaml-0.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / uyaml-0.0.7.tar.gz

Download URL uyaml-0.0.7.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
55dbd028634a355ed6af00b573ec322e078bc3848d724925fdf9ee7bf1b165a3
BLAKE2b-256 checksum
How to use checksums
b41af4840548f455033d30e308a4c17837ed71b3c33c6df3a92a199e1ce2f3d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

Release files / uyaml-0.0.7-py3-none-any.whl

Download URL uyaml-0.0.7-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e632c4618dd25c10f7563fbaf1064d77de3ca2dcd1f74dc36b8b989b6fcbec1e
BLAKE2b-256 checksum
How to use checksums
79dd7591c2fbe0192850f3359f88b3340b5ee49a6afa7417deb65d8d2d4d31cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page