• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pyiron / courier
50%

Build:
DEFAULT BRANCH: main
Repo Added 12 Feb 2026 11:19PM UTC
Token HTi6cCsdgzEqAOrbdhemN5Plk1x3RHh1M regen
Build 38 Last
Files 17
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • main

23 Mar 2026 06:32PM UTC coverage: 50.0% (+16.2%) from 33.793%
23516959351

push

github

web-flow
Merge pull request #27 from pyiron/base_client

This PR introduces courier.HttpClient as a public HTTP(S) client API.

## Main changes:
- Adds HttpClient in courier/http_client.py
- Exposes it via from courier import HttpClient
- Normalizes address into base_url via courier.transport.url.normalize_base_url
- Creates a requests.Session (or accepts an externally managed one) via courier.transport.session.create_session
- Injects bearer auth headers from token via courier.transport.auth.bearer_headers
- Provides a public request() method forwarding params / json / data / files / headers / stream and applying configured timeout + verify
- Provides public convenience helpers using courier.transport.request:
  - get_text, get_json
  - put_text, post_text
  - delete_text

## Additional updates:
- Renames the module from base_client.py to http_client.py
- Renames and updates unit tests to tests/unit/test_http_client.py
- Clarifies docstrings to reflect that HttpClient is public and intended for direct use
- Fixes timeout validation so boolean values are rejected

---

**This PR does change the top-level public API: HttpClient is now exported from courier/__init__.py.**

196 of 392 relevant lines covered (50.0%)

0.5 hits per line

Relevant lines Covered
Build:
Build:
392 RELEVANT LINES 196 COVERED LINES
0.5 HITS PER LINE
Source Files on main
  • Tree
  • List 17
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
23516959351 main Merge pull request #27 from pyiron/base_client This PR introduces courier.HttpClient as a public HTTP(S) client API. ## Main changes: - Adds HttpClient in courier/http_client.py - Exposes it via from courier import HttpClient - Normalizes addres... push 24 Mar 2026 11:21PM UTC web-flow github
50.0
23465010741 main Merge pull request #27 from pyiron/base_client This PR introduces courier.HttpClient as a public HTTP(S) client API. ## Main changes: - Adds HttpClient in courier/http_client.py - Exposes it via from courier import HttpClient - Normalizes addres... push 23 Mar 2026 11:22PM UTC web-flow github
50.0
23414898390 main Merge pull request #28 from pyiron/add_badge Add badges for tests and coverage push 22 Mar 2026 11:17PM UTC web-flow github
33.79
23390936947 main Merge pull request #28 from pyiron/add_badge Add badges for tests and coverage push 21 Mar 2026 11:15PM UTC web-flow github
33.79
23366411396 main Merge pull request #28 from pyiron/add_badge Add badges for tests and coverage push 20 Mar 2026 11:19PM UTC web-flow github
33.79
23321578824 main Merge pull request #28 from pyiron/add_badge Add badges for tests and coverage push 19 Mar 2026 11:20PM UTC web-flow github
33.79
23271911157 main Merge pull request #28 from pyiron/add_badge Add badges for tests and coverage push 18 Mar 2026 11:22PM UTC web-flow github
33.79
23221068895 main Merge pull request #28 from pyiron/add_badge Add badges for tests and coverage push 17 Mar 2026 11:22PM UTC web-flow github
33.79
23170555268 main Merge pull request #28 from pyiron/add_badge Add badges for tests and coverage push 16 Mar 2026 11:21PM UTC web-flow github
33.79
23121648180 main Merge pull request #23 from pyiron/dependabot/pip/hatchling-1.29.0 Bump hatchling from 1.28.0 to 1.29.0 push 15 Mar 2026 11:18PM UTC web-flow github
33.79
See All Builds (37)

Badge your Repo: courier

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc