Skip to main content

Python Process Module, written in Python and Rust

Project description

pymainprocess

Python Extension Module for the best System Interaction, based on Rust.

opinion

  1. Faster then Python OS and Python Subprocess Module.

  2. Great Interaction, fast Import.

  3. Runs Greate on Windows and Unix.

install

pip

python3 -m pip install pymainprocess

pip from git

python3 -m pip install git+https://github.com/pyrootcpp/pymainprocess

pip from archive

python3 -m pip install https://github.com/pyrootcpp/pymainprocess/archive/master.zip

for pyrootcpp APT Repo user

sudo apt-get install python3-pymainprocess

Import

Best Practice

import pymainprocess as procs

Using

The Most Actions are similiar to OS and Subprocess but faster and better.

Maybe you want Safe an Output.

import pymainprocess as proc

command = "dpkg --print-architecture"
stdout = proc.call(command, stdout=True, safe_output=True)
arch = stdout.strip()

This Module have an Implemented function for run commands as sudo, for example

from pymainprocess import sudo

command = "apt-get update"
user = "root"
sudo(command=command, user=user)

sudo is not available on Windows Computer.

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

pymainprocess-0.1.3.tar.gz (15.7 kB view hashes)

Uploaded Source

Built Distributions

pymainprocess-0.1.3-pp310-pypy310_pp73-musllinux_1_2_x86_64.whl (571.6 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-pp310-pypy310_pp73-musllinux_1_2_i686.whl (597.7 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ i686

pymainprocess-0.1.3-pp310-pypy310_pp73-musllinux_1_2_armv7l.whl (669.7 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-pp310-pypy310_pp73-musllinux_1_2_aarch64.whl (592.0 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (400.5 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-pp310-pypy310_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl (474.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-pp310-pypy310_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (442.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (427.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-pp310-pypy310_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (408.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (415.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

pymainprocess-0.1.3-pp39-pypy39_pp73-musllinux_1_2_x86_64.whl (572.6 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-pp39-pypy39_pp73-musllinux_1_2_i686.whl (598.7 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ i686

pymainprocess-0.1.3-pp39-pypy39_pp73-musllinux_1_2_armv7l.whl (670.7 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-pp39-pypy39_pp73-musllinux_1_2_aarch64.whl (593.9 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (401.6 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-pp39-pypy39_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl (477.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-pp39-pypy39_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (443.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (428.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-pp39-pypy39_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (409.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (417.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

pymainprocess-0.1.3-pp38-pypy38_pp73-musllinux_1_2_x86_64.whl (572.6 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-pp38-pypy38_pp73-musllinux_1_2_i686.whl (598.8 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ i686

pymainprocess-0.1.3-pp38-pypy38_pp73-musllinux_1_2_armv7l.whl (670.4 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-pp38-pypy38_pp73-musllinux_1_2_aarch64.whl (594.0 kB view hashes)

Uploaded PyPy musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (401.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-pp38-pypy38_pp73-manylinux_2_17_s390x.manylinux2014_s390x.whl (477.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-pp38-pypy38_pp73-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (443.7 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (428.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-pp38-pypy38_pp73-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (409.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (417.1 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

pymainprocess-0.1.3-cp312-none-win_amd64.whl (250.9 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

pymainprocess-0.1.3-cp312-none-win32.whl (237.5 kB view hashes)

Uploaded CPython 3.12 Windows x86

pymainprocess-0.1.3-cp312-cp312-musllinux_1_2_x86_64.whl (569.8 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-cp312-cp312-musllinux_1_2_i686.whl (595.2 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

pymainprocess-0.1.3-cp312-cp312-musllinux_1_2_armv7l.whl (666.6 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-cp312-cp312-musllinux_1_2_aarch64.whl (590.6 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (398.9 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl (461.5 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (439.4 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (424.2 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (405.3 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (413.8 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

pymainprocess-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (323.5 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pymainprocess-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl (328.8 kB view hashes)

Uploaded CPython 3.12 macOS 10.12+ x86-64

pymainprocess-0.1.3-cp311-none-win_amd64.whl (250.7 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

pymainprocess-0.1.3-cp311-none-win32.whl (237.0 kB view hashes)

Uploaded CPython 3.11 Windows x86

pymainprocess-0.1.3-cp311-cp311-musllinux_1_2_x86_64.whl (570.3 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-cp311-cp311-musllinux_1_2_i686.whl (595.5 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

pymainprocess-0.1.3-cp311-cp311-musllinux_1_2_armv7l.whl (667.5 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-cp311-cp311-musllinux_1_2_aarch64.whl (590.4 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (398.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl (467.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (440.4 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (425.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (406.1 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (414.3 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

pymainprocess-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (323.6 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pymainprocess-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl (329.6 kB view hashes)

Uploaded CPython 3.11 macOS 10.12+ x86-64

pymainprocess-0.1.3-cp310-none-win_amd64.whl (250.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

pymainprocess-0.1.3-cp310-none-win32.whl (237.1 kB view hashes)

Uploaded CPython 3.10 Windows x86

pymainprocess-0.1.3-cp310-cp310-musllinux_1_2_x86_64.whl (570.2 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-cp310-cp310-musllinux_1_2_i686.whl (595.6 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

pymainprocess-0.1.3-cp310-cp310-musllinux_1_2_armv7l.whl (667.7 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-cp310-cp310-musllinux_1_2_aarch64.whl (590.5 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (398.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl (468.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (440.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (425.3 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (406.4 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (414.3 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

pymainprocess-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (323.9 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pymainprocess-0.1.3-cp39-none-win_amd64.whl (251.1 kB view hashes)

Uploaded CPython 3.9 Windows x86-64

pymainprocess-0.1.3-cp39-none-win32.whl (237.3 kB view hashes)

Uploaded CPython 3.9 Windows x86

pymainprocess-0.1.3-cp39-cp39-musllinux_1_2_x86_64.whl (570.3 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-cp39-cp39-musllinux_1_2_i686.whl (595.9 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ i686

pymainprocess-0.1.3-cp39-cp39-musllinux_1_2_armv7l.whl (667.9 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-cp39-cp39-musllinux_1_2_aarch64.whl (590.6 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (399.1 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl (469.2 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (440.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl (425.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-cp39-cp39-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (406.5 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (414.6 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

pymainprocess-0.1.3-cp39-cp39-macosx_11_0_arm64.whl (324.1 kB view hashes)

Uploaded CPython 3.9 macOS 11.0+ ARM64

pymainprocess-0.1.3-cp38-none-win_amd64.whl (250.8 kB view hashes)

Uploaded CPython 3.8 Windows x86-64

pymainprocess-0.1.3-cp38-none-win32.whl (237.1 kB view hashes)

Uploaded CPython 3.8 Windows x86

pymainprocess-0.1.3-cp38-cp38-musllinux_1_2_x86_64.whl (570.0 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ x86-64

pymainprocess-0.1.3-cp38-cp38-musllinux_1_2_i686.whl (595.9 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ i686

pymainprocess-0.1.3-cp38-cp38-musllinux_1_2_armv7l.whl (667.4 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ ARMv7l

pymainprocess-0.1.3-cp38-cp38-musllinux_1_2_aarch64.whl (590.5 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.2+ ARM64

pymainprocess-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (398.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

pymainprocess-0.1.3-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl (468.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ s390x

pymainprocess-0.1.3-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (440.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ppc64le

pymainprocess-0.1.3-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl (424.9 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ i686

pymainprocess-0.1.3-cp38-cp38-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (406.4 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARMv7l

pymainprocess-0.1.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (414.1 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ ARM64

Supported by

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