Skip to main content

Setup env

uv init --package fare-client  --python=3.12
uv venv
source .venv/bin/activate

uv add requests

build and publish

# build the application
uv build

# install 
uv sync
uv pip install -e .

# friends can install the wheel file
uv pip install dist/fare_client-0.1.0-py3-none-any.whl


uv pip install twine

export TWINE_USERNAME="__token__"
export TWINE_PASSWORD="pypi-AgEIcHlwaS5vcmcCJDhkYzA1ODQyLWYxM2YtNDJkOS1hZTkyLTE3YTkyYmQ2MWZmNgACKlszLCIzZDkxOTNjNi1iODllLTQyNDMtOGZmNS0xNTQ1OGY2NmNjNDAiXQAABiBmZqh7n0g0zWlfmrE5QQoydwWGbhygvLFIb7AQlsMIhw"

twine upload dist/*

Install

uv pip install fare-client
pip install fare-client

Usage

uber-rate --help

uber-rate --base=3.5 --distance=120 --rate=0.09

# uv run cli.py --base=3.5 --distance=120 --rate=0.09

Metadata

Release files for fare-client 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fare-client 0.2.0
File Size Uploaded
fare_client-0.2.0.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fare-client 0.2.0
File Interpreter ABI Platform
fare_client-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / fare_client-0.2.0.tar.gz

Download URL fare_client-0.2.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
53f8d61560b941fb8ab07736a413f2a6833f15022fc1c3a51ccff301cfe0f451
BLAKE2b-256 checksum
How to use checksums
43557c8ac61f54be560832564f0cba00003a2043f4b52c02c1ecc1b924b630ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / fare_client-0.2.0-py3-none-any.whl

Download URL fare_client-0.2.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e84677d5a5e96aa072ae1e33261989c61cbaa698c3dccd05989c9984b2e50949
BLAKE2b-256 checksum
How to use checksums
6c5a6307f3ef6a04c097cc1d3feddbdb32c78d99281d10790cd82d9f103e6172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page