Skip to main content

Python SDK for the ParcelTracker API

Project description

ParcelTracker BE Python SDK - Setup Guide

This guide will help you set up and start using the ParcelTracker BE Python SDK.

🚀 Quick Start

1. Clone the Repository

git clone https://github.com/yourusername/parceltracker-be-python-sdk.git
cd parceltracker-be-python-sdk

2. Set Up Development Environment

Run the setup script to create a virtual environment and install dependencies:

./setup_dev.sh

This will:

  • Create a virtual environment (.venv)
  • Install all dependencies
  • Set up pre-commit hooks
  • Create necessary directories

3. Activate Virtual Environment

source .venv/bin/activate

🛠️ Development Commands

Run Tests

pytest tests/ -v

Run Type Checking

mypy src/parcel_tracker_sdk/

Format Code

black src/parcel_tracker_sdk/
isort src/parcel_tracker_sdk/

Lint Code

flake8 src/parcel_tracker_sdk/

Run Pre-commit Hooks

pre-commit run --all-files

📦 Building and Packaging

Install in Development Mode

pip install -e ".[dev]"

Build Distribution Packages

python -m build

This will create dist/ directory with wheel and sdist packages.

Install from Built Package

pip install dist/parceltracker_be_python_sdk-0.1.0-py3-none-any.whl

Publishing

See https://packaging.python.org/en/latest/tutorials/packaging-projects/#uploading-the-distribution-archives

Project details


Download files

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

Source Distribution

parcel_tracker_sdk-0.2.0.tar.gz (16.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parcel_tracker_sdk-0.2.0-py3-none-any.whl (10.9 kB view details)

Uploaded Python 3

File details

Details for the file parcel_tracker_sdk-0.2.0.tar.gz.

File metadata

  • Download URL: parcel_tracker_sdk-0.2.0.tar.gz
  • Upload date:
  • Size: 16.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for parcel_tracker_sdk-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c62d2695a107523c8e94327ecffa66715104cf838a7fa0170bfcb46de98c8301
MD5 3901789c756a6ff54d36e1046f166922
BLAKE2b-256 a8acc499504d205db8985b8ed13522a1ab6bdb1af1a7918a8e50eeeb998178ad

See more details on using hashes here.

File details

Details for the file parcel_tracker_sdk-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for parcel_tracker_sdk-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0cd5cbf86edfd7e9cc99c08d7dda047604be92b41b80e0cbfc1eed40ebca4e33
MD5 ed64413db73d0451b0af6cfd811922c9
BLAKE2b-256 80b58dd7763cc2ddb938ed80a689fc8e7100f56bc73c9cb1d89283c1de19f46a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page