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

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

Uploaded Source

Built Distribution

licant-1.9.1-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: licant-1.9.1.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for licant-1.9.1.tar.gz
Algorithm Hash digest
SHA256 e8f2cb28d145ed36466095c09c43b1231199a237bccffc8d75b0ad59205e9b89
MD5 04a1c26bf944ecbb51233e8090e145cd
BLAKE2b-256 eed71caea8340d22ec7835d77f869c6f72d7c3dd37bc1b96fbeab3f34ba0d6f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: licant-1.9.1-py3-none-any.whl
  • Upload date:
  • Size: 24.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for licant-1.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 de1271bbf4b1c8c326235cda0013ad80b55344df384c7f4f6abe81763a49c868
MD5 e0307430e44f2b82b3388a38057280b7
BLAKE2b-256 5da60d2009053b6e7bf23aa6609dcd45ac8090f41daec5ecbc342fc418966e8e

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