===========
chibi_atlas
===========
small lib to proccess the keys of the dict like attributes
.. image:: https://img.shields.io/pypi/v/chibi_atlas.svg
:target: https://pypi.python.org/pypi/chibi_atlas
.. image:: https://img.shields.io/travis/dem4ply/chibi_atlas.svg
:target: https://travis-ci.org/dem4ply/chibi_atlas
.. image:: https://readthedocs.org/projects/chibi-atlas/badge/?version=latest
:target: https://chibi-atlas.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
this is a dict but his keys can be access like attribute
.. code-block:: python
import chibi_atlas import Chibi_atlas
c = Chibi_atlas( { 'stuff': 'str', 'l': [ 1, { 'more_stuff': 'str_2' } ] } )
isintance( c, dict ) == true
c.stuff == 'str'
c.l[0] == 1
c.l[1].more_stuff == 'str_2'
*****************
chibi_atlas_multi
*****************
Chibi_atlas_multi se utiliza para asumir que cada asignacion en cada key
seria asumiendo que su valor es una lista y se le hace append en el caso que
solo se le asigne un solo valor entonces usara el comportamiento por defecto
de los dicionarios
.. code-block:: python
from chibi_atlas.multi import Chibi_atlas_multi
c = Chibi_atlas_multi()
c[ 'a' ] = 'a'
assert { 'a': 'a' } == c
c = Chibi_atlas_multi()
c[ 'a' ] = 'a'
c[ 'a' ] = 'b'
c[ 'a' ] = 'c'
assert { 'a': [ 'a', 'b', 'c', ] } == c
**********
Chibi_tree
**********
no recuerdo porque hice esta cosa pero funciona como un arbol con atributos
* Free software: WTFPL
* Documentation: https://chibi-atlas.readthedocs.io.
=======
History
=======
******************
0.0.1 (2024-02-06)
******************
* First release on PyPI.
Raw data
{
"_id": null,
"home_page": "https://github.com/dem4ply/chibi_atlas",
"name": "chibi-atlas",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "chibi_atlas",
"author": "dem4ply",
"author_email": "dem4ply@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/48/6f/80ef3221cf2cac61e44dcda80fff947617be8d9fe040440ddab282c8e4f0/chibi_atlas-1.0.2.tar.gz",
"platform": null,
"description": "===========\nchibi_atlas\n===========\n\nsmall lib to proccess the keys of the dict like attributes\n\n.. image:: https://img.shields.io/pypi/v/chibi_atlas.svg\n :target: https://pypi.python.org/pypi/chibi_atlas\n\n.. image:: https://img.shields.io/travis/dem4ply/chibi_atlas.svg\n :target: https://travis-ci.org/dem4ply/chibi_atlas\n\n.. image:: https://readthedocs.org/projects/chibi-atlas/badge/?version=latest\n :target: https://chibi-atlas.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n\nthis is a dict but his keys can be access like attribute\n\n.. code-block:: python\n\n\timport chibi_atlas import Chibi_atlas\n\n\n\tc = Chibi_atlas( { 'stuff': 'str', 'l': [ 1, { 'more_stuff': 'str_2' } ] } )\n\tisintance( c, dict ) == true\n\tc.stuff == 'str'\n\tc.l[0] == 1\n\tc.l[1].more_stuff == 'str_2'\n\n*****************\nchibi_atlas_multi\n*****************\n\nChibi_atlas_multi se utiliza para asumir que cada asignacion en cada key\nseria asumiendo que su valor es una lista y se le hace append en el caso que\nsolo se le asigne un solo valor entonces usara el comportamiento por defecto\nde los dicionarios\n\n.. code-block:: python\n\n\tfrom chibi_atlas.multi import Chibi_atlas_multi\n\n\tc = Chibi_atlas_multi()\n\tc[ 'a' ] = 'a'\n\tassert { 'a': 'a' } == c\n\n\tc = Chibi_atlas_multi()\n\tc[ 'a' ] = 'a'\n\tc[ 'a' ] = 'b'\n\tc[ 'a' ] = 'c'\n\tassert { 'a': [ 'a', 'b', 'c', ] } == c\n\n\n**********\nChibi_tree\n**********\n\nno recuerdo porque hice esta cosa pero funciona como un arbol con atributos\n\n\n* Free software: WTFPL\n* Documentation: https://chibi-atlas.readthedocs.io.\n\n\n=======\nHistory\n=======\n\n******************\n0.0.1 (2024-02-06)\n******************\n\n* First release on PyPI.\n",
"bugtrack_url": null,
"license": "WTFPL",
"summary": "small lib to proccess the keys of the dict like attributes",
"version": "1.0.2",
"project_urls": {
"Homepage": "https://github.com/dem4ply/chibi_atlas"
},
"split_keywords": [
"chibi_atlas"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "228d6e97e70ac976bb2d0b936cbc7a518a11b24b9adbd825bd103579a23c3edd",
"md5": "43e0b623b77a88fad84891ffe9699856",
"sha256": "5919195635eb78f568a569ab4cae9f1f0de6bb039e1aed775434d821d6e45394"
},
"downloads": -1,
"filename": "chibi_atlas-1.0.2-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "43e0b623b77a88fad84891ffe9699856",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 5451,
"upload_time": "2024-02-07T05:53:32",
"upload_time_iso_8601": "2024-02-07T05:53:32.370339Z",
"url": "https://files.pythonhosted.org/packages/22/8d/6e97e70ac976bb2d0b936cbc7a518a11b24b9adbd825bd103579a23c3edd/chibi_atlas-1.0.2-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "486f80ef3221cf2cac61e44dcda80fff947617be8d9fe040440ddab282c8e4f0",
"md5": "775b9ed110565e8a2544157d466880ad",
"sha256": "930380c2b9a80a6b236f9a1eec99976a376d7cfd626a5cbbba34789fbb2bf67e"
},
"downloads": -1,
"filename": "chibi_atlas-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "775b9ed110565e8a2544157d466880ad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 11737,
"upload_time": "2024-02-07T05:53:34",
"upload_time_iso_8601": "2024-02-07T05:53:34.750812Z",
"url": "https://files.pythonhosted.org/packages/48/6f/80ef3221cf2cac61e44dcda80fff947617be8d9fe040440ddab282c8e4f0/chibi_atlas-1.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-07 05:53:34",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dem4ply",
"github_project": "chibi_atlas",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "chibi-atlas"
}