Skip to main content

hadoku-crossposter-accounts

Account access for browser-driven automation: one lock per browser profile, and a preflight pattern that checks a session is healthy before its real run, puts a failure in front of a person, and skips the run while the failure stands.

pip install hadoku-crossposter-accounts            # the lock, registry, runner, gate, store
pip install 'hadoku-crossposter-accounts[notice]'  # plus the desktop notification (D-Bus)

The preflight contract (PreflightResult, Preflightable), the host-desktop helpers and the profile lock come from hadoku-scrape-sdk, so a participant written against the SDK is a participant here. Importing this package loads no web framework and no browser stack.

  • crossposter_accounts.lock: ProfileLock / profile_lock, re-exported from hadoku_sdk.profile_lock: an flock beside the profile directory that the kernel releases when its holder dies. The SDK's BrowserManager already takes it around every persistent profile, so never wrap that open in your own ProfileLock on the same profile.
  • crossposter_accounts.preflight:
    • PreflightRegistry: the consumer registers each participant, its gated action and its RecoveryTarget (a URL or an argv). Set loader="module:callable" (a zero-argument function returning the registry) so a notice's "Fix" and "Re-check now" buttons can act: they run in a separate process that rebuilds the registry through it. app_name, desktop_entry and crash_hint customise the notice.
    • notice: each notification has its own agent process. Its stderr is appended to notice.notice_log_path(name), under $HADOKU_PREFLIGHT_NOTICE_LOG_DIR or else $XDG_STATE_HOME/hadoku-preflight/notices (~/.local/state by default), and it ends with one exit: line saying how it ended: closed by the notification daemon (with the reason code), timed out, bus error, re-check passed, or an exception with its traceback. The parent reaps each agent as it exits and logs its return code on the crossposter_accounts.preflight.notice logger.
    • runner.run_prechecks: runs every preflight, records each outcome, and escalates failures.
    • gate.gate_blocks_run: what a run dispatcher asks before the real run.
    • PrecheckStore: the precheck_state table, on its own SQLite file or on a connection the consumer passes in (PrecheckStore(conn=...)).
    • coverage: finds classes with a run_preflight() that nobody registered.

Python 3.11+, Linux (the lock uses fcntl; the notice uses the session D-Bus).

Metadata

Release files for hadoku-crossposter-accounts 0.1.5

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

Source distribution (sdist)

Source distribution for hadoku-crossposter-accounts 0.1.5
File Size Uploaded Provenance Actions
hadoku_crossposter_accounts-0.1.5.tar.gz 22.4 kB With provenance Details for hadoku_crossposter_accounts-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hadoku-crossposter-accounts 0.1.5
File Interpreter ABI Platform Actions
hadoku_crossposter_accounts-0.1.5-py3-none-any.whl Python 3 none any Details for hadoku_crossposter_accounts-0.1.5-py3-none-any.whl

Total release size: 49.7 kB

Release files / hadoku_crossposter_accounts-0.1.5.tar.gz

Download URL hadoku_crossposter_accounts-0.1.5.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a38591c1a11905215af669c66df4419e9fd985d14b194aa391d04d48e127c917
BLAKE2b-256 checksum
How to use checksums
d976e4bd05ddc0cacdaf3f659b63b257d92d7df37cb207e865d9e75e5a13a74e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / hadoku_crossposter_accounts-0.1.5-py3-none-any.whl

Download URL hadoku_crossposter_accounts-0.1.5-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b58d7cf6530bf47758879d253455169660c9e12c34aa13d5674c59670188611b
BLAKE2b-256 checksum
How to use checksums
91e2dcd12ef593db15639be6d4024ef6e61d6d2e8b2ebf5942e8ac9215fecdcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for hadoku-crossposter-accounts 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hadoku_crossposter_accounts-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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