A Xonsh plugin to profile and log command execution to a syslog file.
Project description
A Xonsh plugin to profile and log command execution to a syslog file.
Installation
TODO
Usage
xontrib load syslog-shell-profiler
$XONSH_HISTORY_BACKEND = JsonSyslogHistory
TODELETE
xontrib promotion (READ and REMOVE THIS SECTION)
After you create the xontrib repository you can do some helpful tasks to spread the word about your xontrib.
Repository name. It's a good practice to add xontrib-
prefix before the name of your repository. It helps Github search find it.
Add topics to the repository. To show the xontrib repository in Github Topics please add topics xonsh
and xontrib
to the repository "About" setting. Also add thematic topics, for example, ssh
if your xontrib helps work with ssh
.
Easiest way to publish your xontrib to PyPi via Github Actions. Users can install your xontrib via pip install xontrib-myxontrib
. Easiest way to achieve it is to use Github Actions:
- Register to https://pypi.org/ and create API token.
- Go to repository "Settings" - "Secrets" and add keys
PYPI_USERNAME
andPYPI_PASSWORD
. - Click "Actions" link on your Github repository.
- Click "Set up this workflow" on "Publish Python Action".
- Commit the config without any changes.
- Now when you create new Release the Github Actions will publish the xontrib to PyPi automatically. Release status will be in Actions sction.
Add preview image. Add the image to repository "Settings" - "Options" - "Social preview". It allows to show preview image in Github Topics and social networks.
Add xontrib to the xonsh. To show xontrib name in xontrib list
in xonsh add it to the xonsh/xontribs.json.
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
Built Distribution
Hashes for xontrib-syslog-shell-profiler-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf945f32df10aa2a83cf9209712fbfc531d2db490766c7fcada9423e779566c |
|
MD5 | 25bf34e386640518334458223ddf7cbd |
|
BLAKE2b-256 | f80a240d95db0ba554518059a84986bcf5726b85b55bf5ccf73ceac93b198c24 |
Hashes for xontrib_syslog_shell_profiler-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d6c3a760736c9b7903fbfd532f20ae6cb0f9c8edd1f8a6196e3e0292e85f75b |
|
MD5 | faff574a69d6b252158526346f7466f4 |
|
BLAKE2b-256 | aaa99f736d8323849fd880a099d58560a55d62ae67f7e419e6674d63eb4a756f |