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

Release history Release notifications

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 hashes
Filename, size xntool-0.8.2.tar.gz (13.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page