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

Uploaded Source

Built Distribution

licant-1.5.1-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: licant-1.5.1.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15rc1

File hashes

Hashes for licant-1.5.1.tar.gz
Algorithm Hash digest
SHA256 78aa654bb6548438796abd056a0e1333c9cd37207175279ca378b93f8a2eb15d
MD5 f4e2fc67378183ede25f198c304f4e91
BLAKE2b-256 863aa6e5aef2479e7a7439f0406956a04d9f359f8ba1f7fbf8c3ac5241daa59d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: licant-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.23.1 CPython/2.7.15rc1

File hashes

Hashes for licant-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e1dfde0918c737ecce5f1ccb0d5a3e9523ab7e6a9951264fcba66ac2d55a66b3
MD5 7907ada1a4a629b8842dee8d644f556f
BLAKE2b-256 84152288b123c2198411d4d560547c3ff2e229c1fd1b302b43f16517b46c412b

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