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

Uploaded Source

Built Distribution

licant-1.14.3-py3-none-any.whl (29.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: licant-1.14.3.tar.gz
  • Upload date:
  • Size: 25.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for licant-1.14.3.tar.gz
Algorithm Hash digest
SHA256 809377b62a6c2a758666c924e3bbdf1c30bd695756c53443886746c654ab21e7
MD5 6eef2efe25cd4b572f0edcc2e27a3fd1
BLAKE2b-256 a79458eae3c2621e94651546671026042c3252aaf360c13d506a2d7b965e1e8c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: licant-1.14.3-py3-none-any.whl
  • Upload date:
  • Size: 29.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for licant-1.14.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c8f1c453e0525cece12d71994714f79d514afcbc8dffc555a3981c6eb6f1d89e
MD5 29735740815934e359272a009f80b585
BLAKE2b-256 066306f994a916d83188a1130b3fa1db405b1847644ddfa464b1a55f80c16b45

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 Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page