Skip to main content

A Python wrapper for tracking delivery!

Project description


🚚 A Python wrapper for tracking delivery (e.g. USPS).

Getting Started

First, install the package from PyPI using pip.

$ pip install sheepeed

Now, register at USPS to get your USPS_USER_ID.


Suppose you have set an environment variable USPS_USER_ID with your USPS ID and your tracking number is 42:

from sheepped import USPS

usps = USPS()

If you have a bucnh of tracking numbers, you might want to use the async API:

import asyncio

from sheepped import USPS

usps = USPS()

async def main():
    tracking_numbers = ("1", "2", "3", "5", "8", "13", "21")
    tasks = tuple(usps.aiotrack(n) for n in tracking_numbers)
    return await asyncio.gather(*tasks)


$ python test

Project details

Download files

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

Files for sheepped, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size sheepped-0.1.3.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page