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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: licant-1.7.2.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for licant-1.7.2.tar.gz
Algorithm Hash digest
SHA256 25afed19dbdc3b8e265148df9283962ab1e5071cba71cc341b86228fe3f06b7d
MD5 ab10cd10f57fd3da8f287fc251e9868c
BLAKE2b-256 dc9ce195f7d83aa0d583ea851e0bda6a48385a69b022ee406b6b9ad7b3dbe411

See more details on using hashes here.

File details

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

File metadata

  • Download URL: licant-1.7.2-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.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2

File hashes

Hashes for licant-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a90555a29a4e7c89034d58a860aaba1c31e6355b2f2a8adeda7b38560653c312
MD5 16e5ca441a54af12534ddc1c6fa992fb
BLAKE2b-256 d42d25602c9ceb15aa94c7f41473de5b837ca53efe9855973b0f38ac73417f1c

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