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 Build Status Build status 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

Dev Install:

git clone https://github.com/LuqueDaniel/lnmc.git
cd lnmc
pip install -e ".[test,dev]"

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)

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.2.0.tar.gz (16.0 kB view hashes)

Uploaded source

Built Distribution

lnmc-1.2.0-py3-none-any.whl (29.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page