Kumir-Compose
A preprocessing and package management tool for modern Kumir development.
Prerequisites
Install a Kumir SDK first (niisi.ru).
This project was tested only on Windows. It should work on other systems too, but it's not guaranteed.
Installation
pip install kumir-compose
# requires python 3.12+
Usage
Create a Kumir-Compose project:
$ kumir-compose init
Enter project name: test project
Select library directory [lib]:
Do you want Kumir-Compose to automatically find Kumir SDK [Y/n]? Y
Config created.
Download a dependency:
$ kumir-compose depend k-collections
Run the project:
$ kumir-compose run main.kum
Configuration file:
# Project config
project:
# Name of the project
name: example project
# Dependencies list
# Default: empty list
depends:
k-collections: latest
# Directory to store dependencies
library_location: lib # default
# Where to search for files for inclusion
lookup:
- lib # default
# How to name assembled files
filename_format: %s.kum # default
# List files for distribution.
# They will be downloaded upon requesting your project
# as a dependency for other project.
# Default: empty list
distribute:
- my_lib.kum
# Kumir-Compose settings
settings:
# SDK binary paths
sdk:
compiler: 'C:\\\\Program Files (x86)\\\\Kumir-2.1.0-rc11\\\\bin\\\\kumir2-bc.exe'
release: 'C:\\\\Program Files (x86)\\\\Kumir-2.1.0-rc11\\\\bin\\\\kumir2-xrun.exe'
debug: 'C:\\\\Program Files (x86)\\\\Kumir-2.1.0-rc11\\\\bin\\\\kumir2-xrun.exe'
Preprocessor
Preprocessor defines following directives:
|| include "path/to/file"=|| включить "путь/к/файлу"
Every file is included only once.|| ifdef MACRO=|| еслизад МАКРОС|| ifndef MACRO=|| еслинезад МАКРОС|| define MACRO ...=|| задать МАКРОС ...|| undef MACRO=|| забыть МАКРОС
Dependencies
Dependencies are searched in GitHub repositories.
If name has no slash in it, kumir-compose organisation
will be searched.
Examples:
$ kumir-compose depend k-collections
$ kumir-compose depend my-profile/my-library
$ kumir-compose undepend my-profile/my-library
Licensing
This work is licensed under GNU GPL v3.0
Author
Metadata
Release files for kumir-compose 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kumir_compose-0.2.tar.gz | 19.3 kB | Without provenance | Details for kumir_compose-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kumir_compose-0.2-py3-none-any.whl | Python 3 | none | any | Details for kumir_compose-0.2-py3-none-any.whl |
Total release size: 51.3 kB
Release files / kumir_compose-0.2.tar.gz
| Download URL | kumir_compose-0.2.tar.gz |
|---|---|
| Size | 19.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c28e0cfc4e8258734d080af22801f8c069aa9e836246f41a846eb6d006e9b7f
|
|
BLAKE2b-256 checksum How to use checksums |
390f85f7402428aab0a79451878b19e05037d870811173b330a99cdede4189e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.3 Windows/10
|
Release files / kumir_compose-0.2-py3-none-any.whl
| Download URL | kumir_compose-0.2-py3-none-any.whl |
|---|---|
| Size | 32.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1dd841c846843b04e1718c149317dabdf2f6e5dc12f5c51ee406fc320cf4dd2
|
|
BLAKE2b-256 checksum How to use checksums |
ec0b28dfd76ecee957be0050478f4262d4a71c7ddb43c34207ebd3706c8ca2c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.13.3 Windows/10
|
Security for kumir-compose 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.