Skip to main content

xntool has many convenient tools, use xntool --help to show more examples.

install

usage:

pip install xntool

Wiki

show honey words

usage:

xntool love

tail like

usage:

xntool tail /var/log/web.log 'python'

convert Windows’ CRLF into Unix’s LF

usage:

xntool dos2unix /var/log/web.log

replace text in file

usage:

xntool replace data.txt python perl

evaluate file’s md5

usage:

xntool md5 data.txt

upload picture to qiniu

first login <http://www.qiniu.com/>, get your configuration and modify /usr/etc/xntool/xntool.conf :

#  Access Key and Secret Key
ACCESS_KEY = 'xxxxxxxxxxxxxxxx'
SECRET_KEY = 'yyyyyyyyyyyyyyyy'
# your URL
URL_PRE = 'http://yidaospace.qiniudn.com/'
# your bucket name
BUCKET_NAME = 'yidaospace'

usage:

xntool qiniu /tmp/pics

you can fetch the urls of uploaded pictures in url.txt

More

for more, please use xntool --help …

Resources

Metadata

Release files for xntool 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xntool 0.8.2
File Size Uploaded Provenance
xntool-0.8.2.tar.gz 13.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for xntool 0.8.2
File Interpreter ABI Platform
xntool-0.8.2-py2-none-any.whl Python 2 none any Details

Total release size: 30.8 kB

Release files / xntool-0.8.2.tar.gz

Download URL xntool-0.8.2.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
291fde5cb12aecdff837c8d22c21c4992a14195e6d42f0b4a5f8a4295ce91e5d
BLAKE2b-256 checksum
How to use checksums
d118c69c9ea45e26e63a7f0527ce3c2b511d68c5975deaa7853c65c516f55e49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / xntool-0.8.2-py2-none-any.whl

Download URL xntool-0.8.2-py2-none-any.whl
Size 17.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
822b2135736aaaa1b7de806d2501a71d7e8965f0a2b2e49677c947db027edc3e
BLAKE2b-256 checksum
How to use checksums
6c8811e814ce81471e25a1c5d07a4f9692d9b531cd7cef909d6fc24c0a439724
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for xntool 0.8.2

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.

Release history Release notifications | RSS feed

This release

0.8.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page