Skip to main content

Simple program to compile, run and save code

Project description

scompiler

scompiler is a python program to compile some programs and save text and image output.

The code is compiler and/or run in temporal directory /tmp/scompiler/.

Features

Support:

  • LaTeX
  • Mbed
  • Python

Packaging

  • Gentoo: imperium repository.

Requirements

In order to use you need install:

Language Requirements
LaTeX texlive
exiftool
Mbed mbed-tools
gcc(arm)
Python python

Installation

To install the Python library and the command line utility, run:

python3 -m build
pip install dist/*.whl

Running

LaTeX

The recommended structure is one main file.

document_name/
├── files/
│   ├── chapter_1/
│   │   ├── main.tex
│   │   ├── section_1.tex
│   │   └── section_2.tex
│   └── main.tex
├── images/
└── report.tex

The bibliography use biber.

The pdf is save in /tmp/ with the name from main tex file.

Mbed

The first time is create symbolic link to build directory cmake_build/. That is save in /tmp/scompiler/.

Is recommended use symbolic link to mbed-os/ for the project size.

The binary is save in /tmp/ with the prefix stm_<name_project>.bin.

Python

Script

Copy and run script.

Package

Create a directory to virtual env where the package is installed /tmp/scompiler-test-py/.

To activate the venv run:

source /tmp/scompiler-test-py/.venv/bin/activate

Project details


Release history Release notifications | RSS feed

This version

2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scompiler-2.0.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scompiler-2.0-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file scompiler-2.0.tar.gz.

File metadata

  • Download URL: scompiler-2.0.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for scompiler-2.0.tar.gz
Algorithm Hash digest
SHA256 89a8db6f53a00eac91f2896329360bc12e2f1ef793b62824c91f23fcd453c736
MD5 266c03c3e76645cf72267dac7824217b
BLAKE2b-256 1e38087dda65d61ee4de169a02fe43f0895e16dec83961a474b4f0aa57505cc0

See more details on using hashes here.

File details

Details for the file scompiler-2.0-py3-none-any.whl.

File metadata

  • Download URL: scompiler-2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for scompiler-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 733a2cf0ee51187dae74b6bcdc673064baead21081058247292b392cd7bf345f
MD5 9a8ca5404383040953ea88f4deeaedc7
BLAKE2b-256 a7cdd557cbf9311ffd62a3575bccecf5094d46eb7fb7b53a003cd063995e3646

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page