jobstreaming 0.0.2__tar.gz → 0.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- jobstreaming-0.0.3/CHANGELOG.md +97 -0
- jobstreaming-0.0.3/CONTRIBUTING.md +56 -0
- jobstreaming-0.0.3/PKG-INFO +712 -0
- jobstreaming-0.0.3/README.md +680 -0
- jobstreaming-0.0.3/SECURITY.md +38 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/__init__.py +73 -2
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/api.py +79 -37
- jobstreaming-0.0.3/jobstreaming/batch.py +29 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/bayt/__init__.py +11 -7
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/bdjobs/__init__.py +14 -11
- jobstreaming-0.0.3/jobstreaming/checkpoint.py +741 -0
- jobstreaming-0.0.3/jobstreaming/collector.py +131 -0
- jobstreaming-0.0.3/jobstreaming/context.py +353 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/events.py +55 -13
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/exception.py +78 -5
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/glassdoor/__init__.py +80 -35
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/glassdoor/constant.py +0 -1
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/google/__init__.py +45 -12
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/indeed/__init__.py +64 -26
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/indeed/constant.py +0 -1
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/linkedin/__init__.py +49 -20
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/linkedin/util.py +2 -2
- jobstreaming-0.0.3/jobstreaming/model.py +850 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/naukri/__init__.py +54 -18
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/naukri/constant.py +0 -1
- jobstreaming-0.0.3/jobstreaming/outcome.py +194 -0
- jobstreaming-0.0.3/jobstreaming/protocols.py +37 -0
- jobstreaming-0.0.3/jobstreaming/py.typed +1 -0
- jobstreaming-0.0.3/jobstreaming/registry.py +372 -0
- jobstreaming-0.0.3/jobstreaming/result.py +102 -0
- jobstreaming-0.0.3/jobstreaming/runtime.py +857 -0
- jobstreaming-0.0.3/jobstreaming/salary.py +426 -0
- jobstreaming-0.0.3/jobstreaming/testing.py +106 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/util.py +39 -87
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/ziprecruiter/__init__.py +75 -21
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/ziprecruiter/constant.py +0 -4
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/ziprecruiter/util.py +5 -4
- jobstreaming-0.0.3/pyproject.toml +115 -0
- jobstreaming-0.0.2/PKG-INFO +0 -361
- jobstreaming-0.0.2/README.md +0 -336
- jobstreaming-0.0.2/jobstreaming/checkpoint.py +0 -101
- jobstreaming-0.0.2/jobstreaming/model.py +0 -435
- jobstreaming-0.0.2/jobstreaming/registry.py +0 -85
- jobstreaming-0.0.2/jobstreaming/result.py +0 -108
- jobstreaming-0.0.2/jobstreaming/runtime.py +0 -714
- jobstreaming-0.0.2/pyproject.toml +0 -62
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/LICENSE +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/bdjobs/constant.py +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/bdjobs/util.py +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/glassdoor/util.py +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/google/constant.py +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/google/util.py +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/indeed/util.py +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/linkedin/constant.py +0 -0
- {jobstreaming-0.0.2 → jobstreaming-0.0.3}/jobstreaming/naukri/util.py +0 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to JobStreaming are documented here. The project follows semantic
|
|
4
|
+
versioning where practical during its `0.0.x` alpha series; adapter compatibility can
|
|
5
|
+
still change when upstream boards drift.
|
|
6
|
+
|
|
7
|
+
## [0.0.3] - 2026-08-09
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- Value-level adapter capability warnings for unsupported job types.
|
|
12
|
+
- Public security, contribution, support, and adapter-configuration guidance.
|
|
13
|
+
- `Retry-After` metadata on retryable terminal error events.
|
|
14
|
+
- Isolated wheel and source-distribution consumer checks in CI and the release
|
|
15
|
+
workflow.
|
|
16
|
+
- Bounded `wait_closed()` lifecycle diagnostics and adapter transport ownership.
|
|
17
|
+
- Transactional `SqliteCheckpointStore` persistence with compare-and-swap revisions
|
|
18
|
+
and incremental seen-key acknowledgements.
|
|
19
|
+
- An `AtomicCheckpointStore` capability for all-or-nothing checkpoint replacement.
|
|
20
|
+
- DataFrame-independent `collect_jobs()` outcomes with sourced jobs, invocation-local
|
|
21
|
+
per-site counters, chronological failures, explicit partial/failed status, and
|
|
22
|
+
aggregate `SearchFailedError` strict mode; cancellation remains distinct.
|
|
23
|
+
- SHA-256 release checksums and GitHub-hosted SLSA build provenance for wheel and
|
|
24
|
+
source distributions.
|
|
25
|
+
- Open, validated custom adapter identifiers plus an `Adapter` protocol and offline
|
|
26
|
+
`AdapterTestKit`.
|
|
27
|
+
- Typed search-filter and resume-capability declarations, a `py.typed` marker, and a
|
|
28
|
+
static type-check gate for the SDK/core runtime surface.
|
|
29
|
+
- A `batch` extra and typed `MissingOptionalDependencyError` for the optional
|
|
30
|
+
DataFrame compatibility API.
|
|
31
|
+
- Explicit conservative description-salary inference with multilingual interval and
|
|
32
|
+
currency parsing plus typed provenance and confidence metadata.
|
|
33
|
+
- Immutable, normalized `ProviderProgress` payloads with typed phases/units,
|
|
34
|
+
cumulative provider counts, explicit unknown totals, and tri-state continuation.
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- Cancellation callbacks are latched after their first `True` result.
|
|
39
|
+
- Adapter detail transports are page-scoped, and repeated stream closure cannot
|
|
40
|
+
retroactively acknowledge an event.
|
|
41
|
+
- Public retry counts are now owned solely by the stream coordinator, with bounded
|
|
42
|
+
`Retry-After` handling.
|
|
43
|
+
- Naukri and Glassdoor `max_pages` limits count fetched pages independently of the
|
|
44
|
+
starting offset.
|
|
45
|
+
- Google continuation failures retain cursor context and can request a checkpoint
|
|
46
|
+
reset when the board reports an expired cursor.
|
|
47
|
+
- TLS-client adapters now reject custom CA-file configuration instead of silently
|
|
48
|
+
ignoring it.
|
|
49
|
+
- Indeed, Naukri, ZipRecruiter, and Glassdoor no longer use package-embedded shared
|
|
50
|
+
credentials or fallback tokens.
|
|
51
|
+
- Runtime adapter calls no longer inspect `scrape` signatures; legacy signatures are
|
|
52
|
+
isolated behind a deprecated registration bridge.
|
|
53
|
+
- Pandas is no longer installed or imported by the default streaming package;
|
|
54
|
+
`jobstreaming[batch]` preserves the existing `scrape_jobs` DataFrame behavior.
|
|
55
|
+
- Description salary extraction is now off by default instead of implicitly applying
|
|
56
|
+
a USD numeric-threshold heuristic; opt in with
|
|
57
|
+
`description_salary_policy="conservative"`.
|
|
58
|
+
- Structured board compensation always takes precedence over description inference,
|
|
59
|
+
and batch rows expose flattened salary provenance fields.
|
|
60
|
+
- PyPI releases use a separated, least-privilege Trusted Publishing job with
|
|
61
|
+
attestations enabled.
|
|
62
|
+
- `ProgressEvent` now exposes client-safe provider progress while keeping opaque
|
|
63
|
+
cursors and adapter resume state private; acknowledging the event still commits the
|
|
64
|
+
same durable restart boundary.
|
|
65
|
+
- Static SDK and core-runtime checks now use pinned Pyrefly instead of mypy, and the
|
|
66
|
+
`AdapterFactory` protocol reflects that class-level capability declarations are
|
|
67
|
+
optional until the first adapter instance is validated.
|
|
68
|
+
|
|
69
|
+
### Fixed
|
|
70
|
+
|
|
71
|
+
- SQLite replacement now rolls back to the previous checkpoint when reseeding fails,
|
|
72
|
+
advances the revision to fence stale owners, rejects future schemas before creating
|
|
73
|
+
current tables, and closes connections when setup fails. Checkpoint generations
|
|
74
|
+
fence owners across an explicit clear and same-request reseed; version-1 SQLite and
|
|
75
|
+
legacy serialized checkpoints without the field use a stable legacy generation.
|
|
76
|
+
- ZipRecruiter rounds partial-day age filters up and preserves an explicit zero-mile
|
|
77
|
+
radius.
|
|
78
|
+
- Unsupported Indeed and LinkedIn job-type values are omitted rather than raised or
|
|
79
|
+
sent as empty parameters.
|
|
80
|
+
- Legacy adapter bridges preserve registration cursor versions and non-resume
|
|
81
|
+
capability declarations, and forward lifecycle cleanup to wrapped adapters.
|
|
82
|
+
- Custom adapter identifiers round-trip through SQLite checkpoints and typed outcome
|
|
83
|
+
summaries without being narrowed to built-in sites.
|
|
84
|
+
- Resume granularities retain legacy/custom values through a normalized, open value
|
|
85
|
+
object.
|
|
86
|
+
- Adapter factories and instances fail with typed contract errors when identifiers,
|
|
87
|
+
capabilities, or scrape callables are malformed.
|
|
88
|
+
- Public protocol annotations remain resolvable from installed distributions.
|
|
89
|
+
|
|
90
|
+
## [0.0.2] - 2026-07-17
|
|
91
|
+
|
|
92
|
+
- Hardened acknowledgement, checkpoint, cancellation, adapter error, and compatibility
|
|
93
|
+
contracts.
|
|
94
|
+
- Added Python 3.10 through 3.14 CI coverage and pinned release automation.
|
|
95
|
+
|
|
96
|
+
[0.0.3]: https://github.com/ebarti/jobstreaming/compare/v0.0.2...v0.0.3
|
|
97
|
+
[0.0.2]: https://github.com/ebarti/jobstreaming/releases/tag/v0.0.2
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# Contributing to JobStreaming
|
|
2
|
+
|
|
3
|
+
Thanks for helping improve JobStreaming. This is an alpha integration library, so
|
|
4
|
+
small, well-tested changes that preserve public contracts are especially valuable.
|
|
5
|
+
|
|
6
|
+
## Development setup
|
|
7
|
+
|
|
8
|
+
Install Python 3.10 or newer and Poetry 2.4.1, then run:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
poetry install --all-extras
|
|
12
|
+
poetry check --lock
|
|
13
|
+
poetry run pytest --cov
|
|
14
|
+
poetry run python scripts/check_coverage.py
|
|
15
|
+
poetry run ruff check jobstreaming tests scripts
|
|
16
|
+
poetry run pyrefly check
|
|
17
|
+
poetry run black --check jobstreaming tests scripts
|
|
18
|
+
poetry build
|
|
19
|
+
python scripts/verify_release_artifacts.py \
|
|
20
|
+
--expected-version "$(poetry version --short)" \
|
|
21
|
+
--dist-dir dist
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
The continuous-integration matrix runs on Python 3.10 through 3.14.
|
|
25
|
+
|
|
26
|
+
## Change guidelines
|
|
27
|
+
|
|
28
|
+
- Add a focused regression test for every behavior change.
|
|
29
|
+
- Keep tests offline and deterministic. Use representative fixtures or fake sessions;
|
|
30
|
+
do not call live job boards from the test suite.
|
|
31
|
+
- Never commit API keys, authorization headers, session tokens, cookies, personal
|
|
32
|
+
data, or captures that may contain them.
|
|
33
|
+
- Treat board responses as untrusted and tolerate malformed individual listings where
|
|
34
|
+
the adapter can safely continue.
|
|
35
|
+
- Preserve typed errors, cancellation, acknowledgement, and checkpoint semantics.
|
|
36
|
+
- Declare both filter names and supported filter values accurately. If an adapter
|
|
37
|
+
cannot honor a value, warn and omit it instead of silently sending a misleading
|
|
38
|
+
parameter.
|
|
39
|
+
- Increment an adapter's `cursor_schema_version` only when its prior saved state can no
|
|
40
|
+
longer be interpreted safely.
|
|
41
|
+
- Keep third-party GitHub Actions pinned to immutable commit SHAs.
|
|
42
|
+
|
|
43
|
+
## Pull requests
|
|
44
|
+
|
|
45
|
+
Explain the user-visible outcome, the board or runtime contract affected, and the
|
|
46
|
+
verification you ran. Keep unrelated refactors out of the change. Update
|
|
47
|
+
`CHANGELOG.md` and public documentation when behavior, configuration, or compatibility
|
|
48
|
+
changes.
|
|
49
|
+
|
|
50
|
+
Use [GitHub issues](https://github.com/ebarti/jobstreaming/issues) for non-sensitive
|
|
51
|
+
bugs and support questions. Follow [SECURITY.md](SECURITY.md) for vulnerabilities.
|
|
52
|
+
Maintainers should follow [RELEASING.md](RELEASING.md) for the tag, provenance, and
|
|
53
|
+
post-publication verification contract.
|
|
54
|
+
|
|
55
|
+
By contributing, you agree that your contribution is provided under the repository's
|
|
56
|
+
MIT license.
|