# lnmc
[![PyPI](https://img.shields.io/pypi/v/lnmc)](https://pypi.org/project/lnmc/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/lnmc)
![PyPI - License](https://img.shields.io/pypi/l/lnmc)
[![Coverage Status](https://coveralls.io/repos/github/LuqueDaniel/lnmc/badge.svg?branch=master)](https://coveralls.io/github/LuqueDaniel/lnmc?branch=master)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
Allows to create symbolic link in batches from a YAML file and consolidate them in a
specific directory.
Install:
```shell
pip install lnmc
```
Usege:
```shell
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.
```yaml
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
```shell
git clone https://github.com/LuqueDaniel/lnmc.git
cd lnmc
python -m venv --prompt . .venv/
source .venv/bin/activate
pip install -e ".[dev]"
```
Raw data
{
"_id": null,
"home_page": "",
"name": "lnmc",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "linux,windows,devops,sysadmin,batches,symlink,command-line-tool,cli",
"author": "",
"author_email": "Daniel Luque <danielluque14@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/ac/b2/6af20f6ef0bc157df0e14ef05bdaf11e7ba6f7f42e985f5fa754bad9fcdf/lnmc-1.4.0.tar.gz",
"platform": null,
"description": "# lnmc\n\n[![PyPI](https://img.shields.io/pypi/v/lnmc)](https://pypi.org/project/lnmc/)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/lnmc)\n![PyPI - License](https://img.shields.io/pypi/l/lnmc)\n[![Coverage Status](https://coveralls.io/repos/github/LuqueDaniel/lnmc/badge.svg?branch=master)](https://coveralls.io/github/LuqueDaniel/lnmc?branch=master)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nAllows to create symbolic link in batches from a YAML file and consolidate them in a\nspecific directory.\n\nInstall:\n\n```shell\npip install lnmc\n```\n\nUsege:\n\n```shell\nlnmc addons.yml src/ destination/\n```\n\n## Configuration File\n\nlnmc as first argument needs a `.yaml` or `.yml` file. The directories, sub-directories\nand files that will be the target for symbolic links are specified in this file. For example.\n\n```yaml\nreporting-engine:\n - report_xlsx\npurchase-workflow:\n - purchase_landed_cost\npos:\n - pos_margin\npartner-contact:\n - partner_vat_unique\n - base_location_nuts\n - base_location_geonames_import\n - base_location\nmis-builder:\n - mis_builder\n - mis_builder_budget\n# It will create symbolic links of all subdirectories and files\nl10n-spain:\n```\n\n(Example of a typical Odoo project)\n\n## Development Install\n\n```shell\ngit clone https://github.com/LuqueDaniel/lnmc.git\ncd lnmc\npython -m venv --prompt . .venv/\nsource .venv/bin/activate\npip install -e \".[dev]\"\n```\n",
"bugtrack_url": null,
"license": "AGPLv3+",
"summary": "Allows to create symbolic link in batches from a YAML file and consolidate them in a specific directory.",
"version": "1.4.0",
"project_urls": {
"Documentation": "https://github.com/LuqueDaniel/lnmc/blob/master/README.md",
"Issue Tracker": "https://github.com/LuqueDaniel/lnmc/issues",
"Source Code": "https://github.com/LuqueDaniel/lnmc"
},
"split_keywords": [
"linux",
"windows",
"devops",
"sysadmin",
"batches",
"symlink",
"command-line-tool",
"cli"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "beda332b288289b41bd990b6c7ea9f0f1865df4b6b5ebc5ef44d17816f7924a2",
"md5": "21df713d7a60845c3ed0ab88c605ab10",
"sha256": "381ed5e272440b88a23164f3771691ef7a0224e6a11b987ab6663b5bab195a75"
},
"downloads": -1,
"filename": "lnmc-1.4.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "21df713d7a60845c3ed0ab88c605ab10",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 16584,
"upload_time": "2023-12-28T12:40:57",
"upload_time_iso_8601": "2023-12-28T12:40:57.693334Z",
"url": "https://files.pythonhosted.org/packages/be/da/332b288289b41bd990b6c7ea9f0f1865df4b6b5ebc5ef44d17816f7924a2/lnmc-1.4.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "acb26af20f6ef0bc157df0e14ef05bdaf11e7ba6f7f42e985f5fa754bad9fcdf",
"md5": "8867f5407515855b74b041b5df3e21db",
"sha256": "daf682efcb9940b26202ec2184f7e1d86ecddb93f08c84cfe7fb8ee2d3a576a2"
},
"downloads": -1,
"filename": "lnmc-1.4.0.tar.gz",
"has_sig": false,
"md5_digest": "8867f5407515855b74b041b5df3e21db",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 16833,
"upload_time": "2023-12-28T12:40:59",
"upload_time_iso_8601": "2023-12-28T12:40:59.290663Z",
"url": "https://files.pythonhosted.org/packages/ac/b2/6af20f6ef0bc157df0e14ef05bdaf11e7ba6f7f42e985f5fa754bad9fcdf/lnmc-1.4.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-28 12:40:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "LuqueDaniel",
"github_project": "lnmc",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "lnmc"
}