Skip to main content

chibi

https://img.shields.io/pypi/v/chibi.svg Documentation Status

python snippets and other useful things

this package is for i can put snippets and other useful things and i do not need to write the same thing for fifth time

cosas utitles

Chibi_path

the chibi path work like strings but with operators have sense for folders and files

from chibi.file import Chibi_path

tmp = Chibi_path( '/tmp/folder' )
isinstance( tmp, str ) == True
tmp.mkdir()
# return a generator with all the files and folders in
# the path
ls = list( tmp.ls() )
print( ls )
p = tmp + 'file.json'
str( p ) == '/tmp/folder/file.json'
f = p.open()
f.write('some string')
# check the file to see if it contains the string
'some string' in f

# write a dict like json in the file
f.write( { 'stuff': 'str' } )
# read the json and transform the dict in a Chibi_atlas
json = f.read()
json.stuff == 'str'

# the same but in yaml
f = tmp + 'file.yaml'
y = f.open()

y.write( { 'stuff': 'str' } )
yaml = y.read()
yaml.stuff == 'str'

Chibi_atlas

esta herramienta se migro al paquete chibi-atlas

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

from chibi.atlas import Chibi_atlas


c = Chibi_atlas( { 'stuff': 'str', 'l': [ 1, { 'more_stuff': 'str_2' } ] } )
isinstance( c, dict ) == True
c.stuff == 'str'
c.l[0] == 1
c.l[1].more_stuff == 'str_2'

History

0.14.0

  • inicio de migracion de pillow a chibi_miru

0.11.10

  • se migro chibi.atlas a un paquete separado chibi-atlas

0.0.1 (2019-12-18)

  • First release on PyPI.

Metadata

Release files for chibi 0.15.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 0.15.0
File Size Uploaded Provenance Actions
chibi-0.15.0.tar.gz 893.8 kB Without provenance Details for chibi-0.15.0.tar.gz

Built distribution (wheel)

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

Total release size: 937.5 kB

Release files / chibi-0.15.0.tar.gz

Download URL chibi-0.15.0.tar.gz
Size 893.8 kB
Tags Source
SHA-256 checksum
How to use checksums
410624916ef302771723b62228706d70e2bbcdee91446e6ea81dcb9082e38713
BLAKE2b-256 checksum
How to use checksums
bec4c2b2eedd6454f4641fdb411b3c19a5015ed8f2729b9942fa5aa139df1b8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / chibi-0.15.0-py2.py3-none-any.whl

Download URL chibi-0.15.0-py2.py3-none-any.whl
Size 43.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
55421e1fba3daaf485d7e091414c31804a4e701b065be076b982228126982c0c
BLAKE2b-256 checksum
How to use checksums
e96307a7b9f730c6a95ac7dd8bb9c8d5993dc41b42d97e52f99f81c781dbe8b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for chibi 0.15.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

0.15.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