Skip to main content

Python library for writing assembly code through object abstractions

Project description

flexpasm

Python library for writing assembly code through object abstractions. For Linux FASM.
Explore the docs »

Getting Started · Basic Usage · License


Getting Started

flexpasm is available on PyPI. Simply install the package into your project environment with PIP:

pip install flexpasm

Once installed, you can start using the library in your Python projects. Check out the documentation for detailed usage examples and API reference.

Basic Usage

"Hello World":

from flexpasm.program import ASMProgram
from flexpasm.settings import Settings
from flexpasm.templates import PrintStringTemplate


def main():
  settings = Settings(
    title="Example ASM Program",
    author="alexeev-prog",
    filename="example.asm",
    mode="32",
  )
  asmprogram = ASMProgram(settings)

  pst = PrintStringTemplate("Hello, World!")

  asmprogram.add_template(pst)

  asmprogram.save_code()


if __name__ == "__main__":
  main()

Check Other My Projects

  • SQLSymphony - simple and fast ORM in sqlite (and you can add other DBMS)
  • Burn-Build - simple and fast build system written in python for C/C++ and other projects. With multiprocessing, project creation and caches!
  • OptiArch - shell script for fast optimization of Arch Linux
  • libnumerixpp - a Powerful C++ Library for High-Performance Numerical Computing
  • pycolor-palette - display beautiful log messages, logging, debugging.
  • shegang - powerful command interpreter (shell) for linux written in C
  • aioconsole - simple python library for creating async CLI applications

Project details


Download files

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

Source Distribution

flexpasm-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

flexpasm-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file flexpasm-0.1.0.tar.gz.

File metadata

  • Download URL: flexpasm-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.12.0-1-cachyos

File hashes

Hashes for flexpasm-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b64f9c88ec2dab3bf79517ed0d26e32441666a85995246bddb059b659a101a63
MD5 5aeefdaebda25a8c7dcc690028e4abda
BLAKE2b-256 8e63ba96e787dfc622ebbb56314311e29eae8d4621e08121f44c4606cf286162

See more details on using hashes here.

File details

Details for the file flexpasm-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: flexpasm-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Linux/6.12.0-1-cachyos

File hashes

Hashes for flexpasm-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b1405d795c1fd0d0a24d143eec1ee5612ecdad9d1f13b485daf35870c0e0164
MD5 5fd9e78f4f059e91046789afdcdeecd4
BLAKE2b-256 689615cb8678f092541c9b3cfdfcf313b6860bfeefb147fd3cce00a61eef76d4

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