Skip to main content

funny tools

Project description

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



pip install xntool


show honey words


xntool love

tail like


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

convert Windows’ CRLF into Unix’s LF


xntool dos2unix /var/log/web.log

replace text in file


xntool replace data.txt python perl

evaluate file’s md5


xntool md5 data.txt

upload picture to qiniu

first login <>, 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 = ''
# your bucket name
BUCKET_NAME = 'yidaospace'


xntool qiniu /tmp/pics

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


for more, please use xntool --help

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for xntool, version 0.8.2
Filename, size File type Python version Upload date Hashes
Filename, size xntool-0.8.2-py2-none-any.whl (17.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size xntool-0.8.2.tar.gz (13.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page