Skip to main content

licant make system

Project description

Licant

Licant is designed to build small modular projects with a complex dependency tree.

What is it?

Initially Likant was written as a system for assembling code for projects on microcontrollers.

The core of the Lycant system is a make-like assembly tree solver written in python.

But, the main feature of Licant in the system of modules. The Likant paradigm consists in the description of a project by a set of modules that link to each other. Connecting the module automatically tightens the connection of dependent modules.

Modules can have several implementations, which allows flexible configuration of the project. (For example, you can change the initialization code of the microcontroller or the implementation of the input-output system simply by replacing the implementation of the corresponding module).

One of the goals of the project is to work with submodules located in remote directories. The library subsystem allows a project to refer to modules located in remote directories, which allows several projects to use the same code.

Installing

python3 -m pip install licant

HelloWorld

#!/usr/bin/env python

import licant.make as lmake
import licant

lmake.source("a.txt")
lmake.copy(tgt = "build/b.txt", src = "a.txt")
lmake.copy(tgt = "build/c.txt", src = "build/b.txt")

print("licant targets list:" + str(licant.core.core.targets))

licant.ex(default = "build/c.txt")

Example projects

https://github.com/mirmik/nos
https://github.com/mirmik/igris
https://github.com/mirmik/genos

Project details


Release history Release notifications | RSS feed

This version

1.8.0

Download files

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

Source Distribution

licant-1.8.0.tar.gz (19.1 kB view details)

Uploaded Source

Built Distribution

licant-1.8.0-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file licant-1.8.0.tar.gz.

File metadata

  • Download URL: licant-1.8.0.tar.gz
  • Upload date:
  • Size: 19.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for licant-1.8.0.tar.gz
Algorithm Hash digest
SHA256 7ab2ccab4e4970685d9e3658129594f37b7ac76dbd5fa69098cc6cbf67e5a614
MD5 8f8c88e2e8da304d57a6c51e53bb85e8
BLAKE2b-256 3dca6bdca4ec71387579bddf1b9b937ec646968157fce667ea8f650408235fc5

See more details on using hashes here.

File details

Details for the file licant-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: licant-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.1.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.5

File hashes

Hashes for licant-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 50705733e33b75f2f3aef23acecc4e1eb53b0e26c7e493cd85e16922de02e829
MD5 91d753a2176df41c3a2326137db71615
BLAKE2b-256 79182e99cb57aeabd9cbfa926804d6d0ba72ca0a7c50f925544e824abf2c1cce

See more details on using hashes here.

Supported by

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