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.default_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

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.20.0.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

licant-1.20.0-py3-none-any.whl (30.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: licant-1.20.0.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for licant-1.20.0.tar.gz
Algorithm Hash digest
SHA256 da38569609e347cbc69e441a075387b3f9255dca6264fbc9e5b2754406f3b414
MD5 32c8eed4cc42e5b3b0fe629a1310fae5
BLAKE2b-256 50fd0662dffb01f2ba8c1440d62c15fa6a5079edfb888837f4300f946bc971ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: licant-1.20.0-py3-none-any.whl
  • Upload date:
  • Size: 30.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for licant-1.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 53fa968192e4d9fd0956ccbceb596bdba99466297b635e0bbcda6930fe258f7f
MD5 0ba81aeea090d6202e917803cfd25415
BLAKE2b-256 f3240906b8c0aa334393fde72f3991a4c942fef9fa2e3eaf5f3764c3c66bcfe4

See more details on using hashes here.

Supported by

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