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

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.1.0.tar.gz (16.6 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.1.0-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parcel_tracker_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 16.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 f55aa3b4566abf61f656b642a8d1e0f5993df6d7bbb26185997a9df81d1a4607
MD5 0493513ce409714fa32e134762c3a65d
BLAKE2b-256 656dbb75c86a1ac8aadb73861c461f604aa51b1e0e866f65afdb3952a9510d70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for parcel_tracker_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 215748a20cb9cd939951d75ab029247a0c3e7b6143288c8ef92f9ec84d7836a7
MD5 3d196ccca01ed954ccd5ac9657a1f4e3
BLAKE2b-256 32b6cb09755760113f482f7da1766b6c141d456fa7771381dc0b3057f7e644fd

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