Skip to main content

Some handy Python utilities

Project description

pxutil

https://travis-ci.com/peterjpxie/pxutil.svg?branch=master

Some handy Python utilities

Install from source

python setup.py install

or

pip install .

Build distributions (source and binary wheel)

rm -rf dist/*

python setup.py sdist bdist_wheel

Publish to pypi

twine upload dist/*

Usage

import pxutil as px

px.bash('ls')

px.grep('ab','abc\ndef')

px.trim_docstring('''
    ab
        cd
    ef
    '''
    )

Test

pip3 install -U pytest tox pytest-cov

git clone https://github.com/peterjpxie/pxutil.git

cd pxutil

pytest

or

tox

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

pxutil-0.0.7.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

pxutil-0.0.7-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

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