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
Built Distribution
File details
Details for the file licant-1.15.0.tar.gz
.
File metadata
- Download URL: licant-1.15.0.tar.gz
- Upload date:
- Size: 25.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c57ad25585f966d38805c4bff06e77cc440bb739c9e4da9be664a9ee86106f5 |
|
MD5 | efb149dd95b98c888f40560773626176 |
|
BLAKE2b-256 | 0458be05fc0d880bd33e4c1bd626e1828c744b02a73c28a860f6c75a72d1133a |
File details
Details for the file licant-1.15.0-py3-none-any.whl
.
File metadata
- Download URL: licant-1.15.0-py3-none-any.whl
- Upload date:
- Size: 29.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b82b853efa55cf61e4bd40bbf88627d62aa4057504ee523900f9264121430ff0 |
|
MD5 | 132f4aff4a7e7e8a35b5ae0c7f653e74 |
|
BLAKE2b-256 | 7909e35168abcd3db1ec264a19fc2614d578b0a82190cfb52436f4df81f00747 |