Skip to main content

Tool for managing code dependencies in a loosely-coupled way.

Project description

ldm: Loose Dependency Manager

PyPI version Testsuite Python version Project Status Supported Interpreters License

Loose Dependency Manager (or ldm in short) is a tool for managing code dependencies in a loosely-coupled way.

Quick Start

First, install loose-dependency-manager:

pip install loose-dependency-manager

Then, create a ldm.yml file in the root of your project:

schemes:
  lodash:
    uses: github
    with:
      url: https://github.com/lodash/lodash
      ref: main

dependencies:
  clamp: lodash:///src/clamp.ts -> src/utils/clamp.ts
  reset.css: |
    https://cdn.jsdelivr.net/npm/reset-css@5.0.2/reset.min.css
    -> src/styles/reset.css

config:
  parallel:
    workers: 8
  environment:
    from: .env

Finally, run ldm install to install the dependencies

ldm install

[!NOTE] You can also run ldm install [...dependencies] to install specific dependencies.

ldm install clamp

Debugging

If you need to debug the installation process, you can run ldm install --debug to see the logs.

ldm install --debug

API Documentation

TODO: description

Contributing

Any contribution is welcome! Check out CONTRIBUTING.md and CODE_OF_CONDUCT.md for more information on how to get started.

License

ldm is licensed under a MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

loose_dependency_manager-0.4.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

loose_dependency_manager-0.4.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file loose_dependency_manager-0.4.0.tar.gz.

File metadata

  • Download URL: loose_dependency_manager-0.4.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure

File hashes

Hashes for loose_dependency_manager-0.4.0.tar.gz
Algorithm Hash digest
SHA256 038d06b6f3ccd62d6b66dd7c5b1bf7ed667cc64f63ab5f2fb22128973a952b80
MD5 95d7e32d6dedfb356fa85660b3c066f3
BLAKE2b-256 49623dec6a4d92e9ed79189e76f50d418aad63f1f0a1223e6f435997b4e04dbf

See more details on using hashes here.

File details

Details for the file loose_dependency_manager-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for loose_dependency_manager-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8212a264cdc61560d8ccdea5f0395f3ffbb370209b7058162caa7a392b01586f
MD5 e9c44f54133a31752e35af4d3986faea
BLAKE2b-256 a5554554a0148da8fdd58205d9527ac6b0d3126f0a286cae20be8b49f9e6a512

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page