Skip to main content

Chibi_git

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

wrapper to use git in python

Ejemplos de uso

agregar los archivos con cambios y hacer un commit

from chibi_git import Git


repo = Git( '/algun/directorio' )
for file in repo.status.modified:
        file.add()
repo.commit( 'algun mensaje' )
repo.push()

revisar si head esta desincronizado de origin

from chibi_git import Git


repo = Git( '/algun/directorio' )
assert repo.is_head_synchronize_with_origin

History

0.10.0 ( 2026-03-23 )

  • se agrego la funcion para saber is las head esta desincronizado repo.is_head_synchronize_with_origin

  • correcion en las ramas remotas ahora regresan el nombre completo con el prefijo

  • correcion en como se hace la comparacion de las ramas

0.9.1 ( 2025-06-25 )

  • se corrigio mensaje de error en una excepcion cuando no encuentra la rama remota

0.9.0 ( 2025-05-29 )

  • parametro para agregar mensajes en los tags Git( ‘.’ ).tags.create( ‘new_branch’, message=”algun mensaje en el tag” )

0.8.1 ( 2025-05-22 )

  • correcion se agrego el path del src en pull

0.8.0 ( 2025-05-22 )

  • funcionalidad para hacer pull Git( ‘.’ ).pull()

0.7.0 ( 2025-05-21 )

  • funcionalidad para hacer fetch Git( ‘.’ ).fetch()

0.6.0 ( 2025-05-21 )

  • funcionalidad para cambiar de ramas locales y remotas Git( ‘.’ ).branches[ ‘master’ ].checkout()

0.5.0 ( 2025-05-17 )

  • funcionalidad para crear ramas Git( ‘.’ ).branches.create( ‘new_branch’ )

  • funcionalidad para crear tags Git( ‘.’ ).tags.create( ‘new_branch’ )

0.4.1 ( 2025-05-16 )

  • comando push no es captivo

0.4.0 ( 2025-05-16 )

  • funcion para leer las ramas de los repos Git( ‘.’ ).branches

0.3.0 ( 2025-05-16 )

  • funcion para clonar repos Git.clone( url )

0.2.0 (2025-03-03)

  • se cambio el uso de status ahora usa direciones absolutas y tiene add

0.1.0 (2025-03-01)

  • funciones agregar remote

0.0.1 (2025-01-22)

  • First release on PyPI.

Metadata

Release files for chibi-git 0.10.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-git 0.10.0
File Size Uploaded Provenance
chibi_git-0.10.0.tar.gz 14.5 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 24.8 kB

Release files / chibi_git-0.10.0.tar.gz

Download URL chibi_git-0.10.0.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e5282a274df1742db19fea635e6605ee02a9686ab9df382097bb5e3846bf2250
BLAKE2b-256 checksum
How to use checksums
e5f355a95005002d8b5eb22dd40b64c435615acdda3c572e9d0b007b2c8f8142
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release files / chibi_git-0.10.0-py2.py3-none-any.whl

Download URL chibi_git-0.10.0-py2.py3-none-any.whl
Size 10.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d229ad43217090082a08ee0e51fdafbfd8328a8e4085aa2f5376e4382539cdbf
BLAKE2b-256 checksum
How to use checksums
576944f1e1beae7e43165dd0862102cf751bcfc06821ef0350ce78a7e1ec2a29
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

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

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