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6
3.0.5
3.0.4
3.0.2
3.0.1
3.0.0
2.9.8
2.9.7
2.9.6
2.9.5
2.9.4
2.9.3
2.9.2
2.9.1
2.9.0
2.8.9
2.8.8
2.8.7
2.8.6
2.8.5
2.8.4
2.8.3
2.8.2
2.8.1
2.8.0
2.7.9
2.7.8
2.7.7
2.7.6
2.7.5
2.7.4
2.7.3
2.7.2
2.7.1
2.7.0
2.6.9
2.6.8
2.6.7
2.6.6
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.9
2.5.8
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
2.5.2
2.5.1
2.5.0
2.4.9
2.4.8
2.4.7
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.9
2.3.8
2.3.7
2.3.6
2.3.5
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.9
2.2.8
2.2.7
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
توضیحات
Create generic any easy way to manage Configs for your project
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cornflakes-3.3.4 |
| نام | cornflakes |
| نسخه کتابخانه | 3.3.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Semjon Geist |
| ایمیل نویسنده | semjon.geist@ionos.com |
| آدرس صفحه اصلی | https://github.com/sgeist/cornflakes |
| آدرس اینترنتی | https://pypi.org/project/cornflakes/ |
| مجوز | Apache2.0 |
.. image:: https://github.com/semmjon/cornflakes/blob/main/assets/cornflakes.png?raw=true
:height: 400 px
:width: 400 px
:alt: cornflakes logo
:align: center
==========
|PyPI| |Python Version| |License| |Read the Docs| |Build| |Tests| |Codecov|
.. |PyPI| image:: https://img.shields.io/pypi/v/cornflakes.svg
:target: https://pypi.org/project/cornflakes/
:alt: PyPI
.. |Python Version| image:: https://img.shields.io/pypi/pyversions/cornflakes
:target: https://pypi.org/project/cornflakes
:alt: Python Version
.. |License| image:: https://img.shields.io/github/license/semmjon/cornflakes
:target: https://opensource.org/licenses/Apache2.0
:alt: License
.. |Read the Docs| image:: https://img.shields.io/readthedocs/cornflakes/latest.svg?label=Read%20the%20Docs
:target: https://cornflakes.readthedocs.io
:alt: Read the documentation at https://cornflakes.readthedocs.io
.. |Build| image:: https://github.com/semmjon/cornflakes/workflows/Build%20cornflakes%20Package/badge.svg
:target: https://github.com/semmjon/cornflakes/actions?workflow=Package
:alt: Build Package Status
.. |Tests| image:: https://github.com/semmjon/cornflakes/workflows/Run%20cornflakes%20Tests/badge.svg
:target: https://github.com/semmjon/cornflakes/actions?workflow=Tests
:alt: Run Tests Status
.. |Codecov| image:: https://codecov.io/gh/semmjon/cornflakes/branch/release-1.4.5/graph/badge.svg
:target: https://codecov.io/gh/semmjon/cornflakes
:alt: Codecov
.. code::
pip install cornflakes
.. code::
pip install git+https://github.com/semmjon/cornflakes
Information
-----------
This package was created by starting C ++ methods to incorporate into my python implementations.
To make things easier for me, lightweight public libraries were included
(especially to carry out string operations):
* hash-library
* strtk
* rapidjson
Short Term RoadMap:
~~~~~~~~~~~~~~~~~~~~
- Enrich json methods
- Fix / Test the to_<file-format> Methods
Features:
~~~~~~~~~
The following features have currently been implemented:
* config management system
- based on dataclass
- alternative Implementation for pydantic (BaseSettings)
- ini support files by a lightweight and fast parser (-> ini_load)
- yaml support (based on PyYAML)
- environment variables
- (future) support json (based on orjson)
* command line interface management
- method: click_cli (decorator)
- based on click and rich
- easy to use and start with
* eval_type
- method to parse strings in python-types e.g. int | bool | timestamp
* simple_hmac
- vectorized c++ hmac implementation
* default_ca_path
- python function to find a default ssl / ca certificate path
Currently, the package is tested for Linux, Mac and Windows
Development
-----------
Prerequisites
~~~~~~~~~~~~~
- A compiler with C++17 support
- Pip 10+ or CMake >= 3.4 (or 3.8+ on Windows, which was the first version to support VS 2015)
- Python 3.8+
- doxygen
- cppcheck
- clang-tools-extra or clang-tidy
- ..
Commands
~~~~~~~~~~~~
Just clone this repository and pip install. Note the ``--recursive``
option which is needed for the pybind11 submodule:
.. code::
git clone --recursive https://gitlab.blubblub.tech/sgeist/cornflakes.git
Install the package using makefiles:
.. code::
make install
Build dist using makefiles:
.. code::
make dist
Run tests (pytest) using makefiles:
.. code::
make test
Run all tests using makefiles:
.. code::
make test-all
Run lint using makefiles:
.. code::
make lint
Create dev venv:
.. code::
python -m venv .venv
source .venv/bin/activate
pip install cookietemple ninja pre-commit poetry
Bump Version using cookietemple:
.. code::
cookietemple bump-version "<version(e.g 0.0.1)>"
Run lint using cookietemple:
.. code::
cookietemple lint .
Install pre-commit:
.. code::
pre-commit install
Update pre-commit:
.. code::
pre-commit update -a
Run pre-commit:
.. code::
pre-commit run -a
Publish
~~~~~~~
Its not recommended publish manually (use git-ci or github workflows instead).
.. code::
make publish
نیازمندی
| مقدار | نام |
|---|---|
| >=5.4.1,<6.0.0 | PyYAML |
| >=8.1.3,<9.0.0 | click |
| >=12.6,<14.0 | rich |
| >=1.1.7,<2.0.0 | rich-rst |
| >=6.0.12.1,<7.0.0.0 | types-pyyaml |
| >=0.20.0,<0.21.0 | validators |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8.1,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl cornflakes-3.3.4:
pip install cornflakes-3.3.4.whl
نصب پکیج tar.gz cornflakes-3.3.4:
pip install cornflakes-3.3.4.tar.gz