kd100
I’m a small script that help you get express package information use kuaidi100.com api.
Install
$ pip install kd100
Usage
kd100: normal use, type code in shell, return info.
kd100 -c code: -c means code, specified express code.
kd100 -c code -o filename: -o means output, specified output filename.
kd100 -c code -o filename -p company_name: -p means company, specified the express company name, useful when auto guess is error.
Type kd100 -h for more help.
Example
yourname@computer:~$ kd100
Input your express code: <Your code>
Possible company: zhongtong, kuayue, yuantong, zhaijisong, shengfengwuliu
Try zhongtong ...Done
code: <Your code> company: zhongtong is checked: 0
=================================================================
time | content
-----------------------------------------------------------------
2015-08-16 17:40:28 | first content
-----------------------------------------------------------------
2015-08-16 17:02:32 | some content
-----------------------------------------------------------------
...
-----------------------------------------------------------------
2015-08-13 20:41:27 | last content
=================================================================
Changelog
v0.0.6
add fake Chrome UA to solve the random result problem
v0.0.5
express code should no long be numbers, to support company like APELAX
v0.0.4
remove third party module dependencies.
add -p option to specified company.
v0.0.2
kuaidi100 webside change the rule, need special header referer when send query
v0.0.1
first version, with base function.
LICENSE
MIT.
Metadata
Release files for kd100 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| kd100-0.0.6.tar.gz | 3.7 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kd100-0.0.6-py3.7.egg | Legacy Egg format | - | - | Details |
| kd100-0.0.6-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
| kd100-0.0.6-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 20.1 kB
Release files / kd100-0.0.6.tar.gz
| Download URL | kd100-0.0.6.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
159bfbba1c366c0922b1daa6ba3d427284aac1ecb509951a0b60662879a70b4e
|
|
BLAKE2b-256 checksum How to use checksums |
353958a77d22d54ec79d7c7f55a8214f79d6d5e7239ba338c5cff619f7db05c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / kd100-0.0.6-py3.7.egg
| Download URL | kd100-0.0.6-py3.7.egg |
|---|---|
| Size | 6.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9acbc503476295b5cc966b1695166113a5a4e908e69f69476cce82f36ccbd21f
|
|
BLAKE2b-256 checksum How to use checksums |
da319cabc327848177f2b378a6a3ef9d419bbc20c7492dcb7ce46c4d48f164c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / kd100-0.0.6-py2.py3-none-any.whl
| Download URL | kd100-0.0.6-py2.py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
a169ed84318c52b77027e360e695618c96d5de63ad1440bcb9b296d36a9c21fb
|
|
BLAKE2b-256 checksum How to use checksums |
8379fb744b1c0c364b421437d89e9fbbf81d751616f6e69eabc48f954324980a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.7
|
Release files / kd100-0.0.6-py2.7.egg
| Download URL | kd100-0.0.6-py2.7.egg |
|---|---|
| Size | 6.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
33a771ce86136997bd71f45fba4a1ffb613d9bd97acb7674d381261e3883c724
|
|
BLAKE2b-256 checksum How to use checksums |
c79225cc803c0cf1ee923e5a34fc5293098297603c6ab285d7dd122f77586f04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Security for kd100 0.0.6
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.