The following package was developed to help process despatch requests with City Link couriers based in the UK.
They lacked an API for easy management of various functions such as retrieving manifests, reference codes, etc.
This package works by using the Mechanize library to navigate your commercial account admin area to carry out requests such as:
Fetch pending collections
Grab company reference numbers
Grab CityLink reference numbers
Get full HTML copy of collection manifest
Email the manifest
Requirements
The version below have been tested and working. Its possible other earlier and later versions may work. * Mechanize 0.2.5+ * lxml 3.3.3+ * Mailer 0.7+
Examples
Email Manifest
import citylink.CityLink
userid = "XXXXXX"
password = "XXXXXX"
cl = CityLink(userid, password)
cl.login()
cl.mail_manifest(emailfrom="from@test.com", emailto="to@test.com")
Get list of CityLink reference codes
import citylink.CityLink
userid = "XXXXXX"
password = "XXXXXX"
cl = CityLink(userid, password)
cl.login()
print(cl.fetch_citylink_refs())
Metadata
Release files for citylink-utils 0.8
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 | |
|---|---|---|---|---|
| citylink-utils-0.8.tar.gz | 3.0 kB | Without provenance | Details |
Release files / citylink-utils-0.8.tar.gz
| Download URL | citylink-utils-0.8.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aff2a773e7f27a763a6334640126a93ae5ada5439f275cf1ec65bb953aab273a
|
|
BLAKE2b-256 checksum How to use checksums |
572a5ae3675b2f0c0328f596c9323f5a66d6a794991b7de055cbd0d450d57bd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for citylink-utils 0.8
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.