Skip to main content

run terminal commands

Project description

chibi_command

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

run terminal commands

Use

use lsblk

from chibi_command.disk.lsblk import Lsblk

blocks = Lsblk().run().result
assert blocks[ 'sda' ].childs[ 'name' ]

History

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 )

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.

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_command-2.2.0.tar.gz (23.6 kB view details)

Uploaded Source

Built Distribution

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

chibi_command-2.2.0-py2.py3-none-any.whl (27.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file chibi_command-2.2.0.tar.gz.

File metadata

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

File hashes

Hashes for chibi_command-2.2.0.tar.gz
Algorithm Hash digest
SHA256 f1151d44c2ab9ca582781b94ad310c43b7618f4d15d75bd22dd9e7ae6cf7800a
MD5 f8a58de029ffcacc3f818551ab19f9d5
BLAKE2b-256 c8a37aeb6eaf98856490fc186811db3a1ce1e5360083823f4741934b22308604

See more details on using hashes here.

File details

Details for the file chibi_command-2.2.0-py2.py3-none-any.whl.

File metadata

  • Download URL: chibi_command-2.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 27.3 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_command-2.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7aabd3de109fa6ca00f4140457372726acf3665868024a55028537489e896719
MD5 b5ef8ab9f70e532d364275d32a326ad7
BLAKE2b-256 36679b7a4869797590344f893260d4b5eeeed3705c0d604cf8a3aff80ad45a52

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