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

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

Uploaded Source

Built Distribution

licant-1.7.1-py3-none-any.whl (22.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: licant-1.7.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9

File hashes

Hashes for licant-1.7.1.tar.gz
Algorithm Hash digest
SHA256 9fc97d94ae7bfbcc4f12a186bee4cca6c9f8e7472129189f61a85f5d4ba47adb
MD5 ffc8b119340dc4d5444d4c7182e51e36
BLAKE2b-256 1e587a8d09106d7262b102475ed27798a47bdb1cb8c8a996a54120e97d9416bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: licant-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 22.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9

File hashes

Hashes for licant-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7f3f8213b3cefa39e1e251715e1d980d876726888136945180f9f3f984033cd5
MD5 9927ec01dff28f5e3fdf36bc58699b0a
BLAKE2b-256 809a1242e4f576efcbd756e9fad2fa767e7c10fa92982c870e8553ac2f877ad3

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