Skip to main content

chibi_atlas

small lib to proccess the keys of the dict like attributes

https://img.shields.io/pypi/v/chibi_atlas.svg https://img.shields.io/travis/dem4ply/chibi_atlas.svg Documentation Status

this is a dict but his keys can be access like attribute

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

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

History

1.1.0 2024-10-17

  • se renombro __Chibi_atlas_list a Chibi_atlas_list para que no sea raro usarlo

  • se agrego a Chibi_atlas_list para que tenga multi append

0.0.1 (2024-02-06)

  • First release on PyPI.

Metadata

Release files for chibi-atlas 1.1.0

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

Source distribution (sdist)

Source distribution for chibi-atlas 1.1.0
File Size Uploaded Provenance
chibi_atlas-1.1.0.tar.gz 12.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for chibi-atlas 1.1.0
File Interpreter ABI Platform
chibi_atlas-1.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 17.7 kB

Release files / chibi_atlas-1.1.0.tar.gz

Download URL chibi_atlas-1.1.0.tar.gz
Size 12.1 kB
Tags Source
SHA-256 checksum
How to use checksums
73a0d440f010ccfb173c30bacfcaf80a7abd3f9bf3eb313e66adb12108f94ec3
BLAKE2b-256 checksum
How to use checksums
2f7f5404cd3ab08c1adbf2116cbbc440b91eaa63a8baab78e444be6af1eab177
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / chibi_atlas-1.1.0-py2.py3-none-any.whl

Download URL chibi_atlas-1.1.0-py2.py3-none-any.whl
Size 5.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6d3995535d60c4dd2c1bdda5e74ac81f0f10a0c9bb1b3284fb2ace64831279fb
BLAKE2b-256 checksum
How to use checksums
6f67e8848de42b3d3d05302d47544d9d0d8cc61a8db5367b5dd1671291278a81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for chibi-atlas 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

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