Registry / devops / dep-sync

dep-sync

JSON →
library0.1.0pypypi✓ verified 84d ago

dep-sync is a helper Python library designed to synchronize Python environments with their declared dependencies. Currently at version 0.1.0, it provides a foundational tool for ensuring consistency across development and deployment environments. Given its early version, a rapid release cadence for bug fixes and new features is likely.

pip install dep-sync
INSTALL
IMPORT
SIG · DEP-SYNC
D
dep-sync
devopspythonv0.1.0
Install
1.8s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.1.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.6MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 1.8s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Dependency
from dep_sync import Dependency
from dep_sync import sync_dependencies
DependencyState
from dep_sync import DependencyState
dependencies_satisfied
from dep_sync import dependencies_satisfied

The `dep-sync` library is primarily used to synchronize project dependencies, often by reading from `pyproject.toml` or `requirements.txt`. The core functionality is exposed via a function like `sync_dependencies`. In its initial release (0.1.0), the exact API details are best inferred from its intended purpose of environment synchronization.

from dep_sync import sync_dependencies # Assuming pyproject.toml and requirements.txt are in the current directory # This function will analyze your project and synchronize dependencies. # The exact parameters and their usage would typically be detailed in comprehensive documentation. # For a basic synchronization, often no arguments are needed if conventions are followed. # For example, it might implicitly look for pyproject.toml or requirements.txt. # Placeholder for typical command-line equivalent execution: # You would typically run 'dep-sync' from your terminal in the project root. # The Python API might expose a similar underlying function for programmatic use. try: sync_dependencies() print("Dependencies synchronized successfully.") except Exception as e: print(f"An error occurred during synchronization: {e}")
dep-sync --version
Debug
Known issues
gotchaAs a 0.1.0 release, the API is subject to change. Direct imports or programmatic usage might be unstable across minor versions. It's recommended to pin the version to avoid unexpected breaking changes.
fix
Pin the library version in your `requirements.txt` or `pyproject.toml` (e.g., `dep-sync==0.1.0`). Regularly check the GitHub repository for updates and changelogs before upgrading.
affects: 0.1.0
gotchaThe documentation for version 0.1.0 is minimal. Specific API details, advanced usage patterns, and configuration options might not be explicitly covered, requiring users to infer usage from source or experimentation.
fix
Refer to the project's GitHub repository for the most up-to-date `README.md` and any inline code comments. Be prepared to explore the library's source code for detailed understanding.
affects: 0.1.0
Upgrade
Version history
0.1.0latest on PyPI · released Oct 2, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
dep-sync — pip install dep-sync · libregistry