funny tools
Project description
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
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xntool-0.8.2.tar.gz.
File metadata
- Download URL: xntool-0.8.2.tar.gz
- Upload date:
- Size: 13.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
291fde5cb12aecdff837c8d22c21c4992a14195e6d42f0b4a5f8a4295ce91e5d
|
|
| MD5 |
9b7f90b9ca9ee8034d0d47ed5734f71d
|
|
| BLAKE2b-256 |
d118c69c9ea45e26e63a7f0527ce3c2b511d68c5975deaa7853c65c516f55e49
|
File details
Details for the file xntool-0.8.2-py2-none-any.whl.
File metadata
- Download URL: xntool-0.8.2-py2-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
822b2135736aaaa1b7de806d2501a71d7e8965f0a2b2e49677c947db027edc3e
|
|
| MD5 |
41725d08bdc85363367c7e5cae43383b
|
|
| BLAKE2b-256 |
6c8811e814ce81471e25a1c5d07a4f9692d9b531cd7cef909d6fc24c0a439724
|