chibi_command
run terminal commands
Free software: WTFPL
Documentation: https://chibi-command.readthedocs.io.
Use
use lsblk
from chibi_command.disk.lsblk import Lsblk
blocks = Lsblk().run().result
assert blocks[ 'sda' ].childs[ 'name' ]
parchear popen
from chibi_command import Command, Command_json_result
from chibi_command.unittests import patch_empty
class Test_test( TestCase ):
@patch_empty
def test_some_test( self, popen ):
self.command().run()
popen.assert_called()
History
2.8.0 ( 2026-08-07 )
se agrego la opcion de stop a ssystemcrl
se agrego la opcion de exclude a rsync
2.7.1 ( 2026-07-27 )
makepkg regresa la instancia cuando llama las funciones
correcion del comando python
2.7.0 ( 2026-07-27 )
se agrego propiedad de puerto a ssh
rsycn ahora transforma ssh para que funcione con el
funciones para daemonizar y agregar pidfile a qemu
2.6.0 ( 2026-07-24 )
comando crear maquinas virtuales con qemu - qemu-system-x86_64
se agrega ss - another utility to investigate sockets
se agrega disable a systemctl
2.5.4 ( 2026-06-06 )
se agrego condicion en delegado de systemd-run para controlar edgecase
2.5.3 ( 2026-06-06 )
en el delegado de systemd-run no envia –user cuando es root
2.5.2 ( 2026-06-06 )
- al comando de systemd-run se agrego que solo llame la lista de unidades
del usuario si no es root
2.5.1 ( 2026-04-28 )
se agrego a status no_fail para los servicios desabilitados
se agrego a pacman print version “Pacman.sync().print_version().run( “paquete” ).result”
2.5.0 ( 2026-04-28 )
se agrego a pacman el parametro no_confirm
2.4.5 ( 2026-03-25 )
se cambio para que el comando ssh use -t para una pseudo terminal
2.4.4 ( 2026-03-25 )
se cambio la estructura del comando ssh para poder encdenar multiples comandos con su
se agrego el comando cd
2.4.3 ( 2026-03-25 )
correcion cuando se manda su por ssh se agregaron las comillas para -c
2.4.2 ( 2026-03-25 )
se agrego el argumento faltante para su -c en el comando sudo
2.4.1 ( 2026-03-25 )
se agrega alternativa a sudo con su en el comando de ssh
2.4.0 ( 2026-03-25 )
se agrego atajo para parchear popen
- se agrego parametro en las clases para agregar variables de ambiente cuando
se ejecuta algun comando
se agrego funcion para buscar paquetes con pacman
2.3.2 ( 2026-03-24 )
se agrego la propiedad para asignar el identity file para ssh
se agrego la propiedad de usuario y host para el comando ssh
2.3.1 ( 2026-03-20 )
correcion en el nombre de la llave time o tiempo para el comando de ping
2.3.0 ( 2026-03-20 )
se agrego la opcion de ignore-existing para rsync
se agrego el comando e2label
2.2.0 ( 2026-03-20 )
se agrego el comando lsblk en chibi_command.disk.lsblk
2.1.1 ( 2025-05-22 )
usar el RPM.query() hace que el comando sea captivo
2.1.0 ( 2025-05-21 )
se agrego el snippet para saber la ip local Ip.get_my_local_ip()
se agregaron los argumentos para queries de changelog de rpm RPM.query().changelog().run( ‘some.rpm’ )
2.0.0 ( 2025-05-15 )
se migro el uso de git a https://github.com/dem4ply/chibi_git
1.1.3 ( 2025-03-12 )
se agrego repr a los results de los comandos
correcion con el f string que faltaba en un logger debug
1.1.0 ( 2024-10-18 )
comando ping
1.0.0 ( 2024-10-18 )
se cambio el comportamiento para que tire una excepcion cada vez que un comando falla
0.9.0 ( 2024-10-17 )
comando de ssh
0.8.0 ( 2024-10-17 )
se agrego comandos para archlinux ( pacman y yay )
0.6.0 (2020-02-19)
se agrego cp en chibi_command.commnon
0.0.1 (2020-02-19)
First release on PyPI.
Metadata
Release files for chibi-command 2.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| chibi_command-2.8.0.tar.gz | 29.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| chibi_command-2.8.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 62.9 kB
Release files / chibi_command-2.8.0.tar.gz
| Download URL | chibi_command-2.8.0.tar.gz |
|---|---|
| Size | 29.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07aa4d187d23731faf0f8d72145ba6291767a651f584179e531dc758e50f64ce
|
|
BLAKE2b-256 checksum How to use checksums |
f78db21e72ed5858fae1b244668734337c6a065ae7ce44c304af23cb634bd598
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Release files / chibi_command-2.8.0-py2.py3-none-any.whl
| Download URL | chibi_command-2.8.0-py2.py3-none-any.whl |
|---|---|
| Size | 33.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2880cfcc2cf5b8ca2268a792fa8d03ee461e65c69cd2b3b1735d4498a2225e31
|
|
BLAKE2b-256 checksum How to use checksums |
50e9675ff914a5680113b8a9de4bf1472b0b2283ee66549b89dacca4b503b444
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.6
|
Security for chibi-command 2.8.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.