Skip to main content

wrapper to use git in python

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chibi_git-0.10.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chibi_git-0.10.0-py2.py3-none-any.whl (10.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file chibi_git-0.10.0.tar.gz.

File metadata

  • Download URL: chibi_git-0.10.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for chibi_git-0.10.0.tar.gz
Algorithm Hash digest
SHA256 e5282a274df1742db19fea635e6605ee02a9686ab9df382097bb5e3846bf2250
MD5 e46c622869b63df84f52789f3095ba2c
BLAKE2b-256 e5f355a95005002d8b5eb22dd40b64c435615acdda3c572e9d0b007b2c8f8142

See more details on using hashes here.

File details

Details for the file chibi_git-0.10.0-py2.py3-none-any.whl.

File metadata

  • Download URL: chibi_git-0.10.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for chibi_git-0.10.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d229ad43217090082a08ee0e51fdafbfd8328a8e4085aa2f5376e4382539cdbf
MD5 192a7d446b9fe80106be7c81f03246bc
BLAKE2b-256 576944f1e1beae7e43165dd0862102cf751bcfc06821ef0350ce78a7e1ec2a29

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page