Skip to main content

Allows to create symbolic link in batches from a YAML file and consolidate them in a specific directory.

Project description

lnmc

PyPI PyPI - Python Version PyPI - License Coverage Status Code style: black

Allows to create symbolic link in batches from a YAML file and consolidate them in a specific directory.

Install:

pip install lnmc

Usege:

lnmc addons.yml src/ destination/

Configuration File

lnmc as first argument needs a .yaml or .yml file. The directories, sub-directories and files that will be the target for symbolic links are specified in this file. For example.

reporting-engine:
  - report_xlsx
purchase-workflow:
  - purchase_landed_cost
pos:
  - pos_margin
partner-contact:
  - partner_vat_unique
  - base_location_nuts
  - base_location_geonames_import
  - base_location
mis-builder:
  - mis_builder
  - mis_builder_budget
# It will create symbolic links of all subdirectories and files
l10n-spain:

(Example of a typical Odoo project)

Development Install

git clone https://github.com/LuqueDaniel/lnmc.git
cd lnmc
python -m venv --prompt . .venv/
source .venv/bin/activate
pip install -e ".[dev]"

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

lnmc-1.4.0.tar.gz (16.8 kB view details)

Uploaded Source

Built Distribution

lnmc-1.4.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file lnmc-1.4.0.tar.gz.

File metadata

  • Download URL: lnmc-1.4.0.tar.gz
  • Upload date:
  • Size: 16.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for lnmc-1.4.0.tar.gz
Algorithm Hash digest
SHA256 daf682efcb9940b26202ec2184f7e1d86ecddb93f08c84cfe7fb8ee2d3a576a2
MD5 8867f5407515855b74b041b5df3e21db
BLAKE2b-256 acb26af20f6ef0bc157df0e14ef05bdaf11e7ba6f7f42e985f5fa754bad9fcdf

See more details on using hashes here.

File details

Details for the file lnmc-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: lnmc-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for lnmc-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 381ed5e272440b88a23164f3771691ef7a0224e6a11b987ab6663b5bab195a75
MD5 21df713d7a60845c3ed0ab88c605ab10
BLAKE2b-256 beda332b288289b41bd990b6c7ea9f0f1865df4b6b5ebc5ef44d17816f7924a2

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