Generating nasm project
Project description
Create nasm project skeleton
gen_nasm is tool for creating nasm project skeleton.
Developed in python code.
The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.
Table of Contents
Installation
Used next development environment
Currently there are four ways to install framework
- Install process based on using pip mechanism
- Install process based on build mechanism
- Install process based on setup.py mechanism
- Install process based on docker mechanism
Install using pip
Python is located at pypi.org.
You can install by using pip
#python3
pip3 install gen_nasm
Install using build
Navigate to release page download and extract release archive.
To install gen-nasm run
tar xvzf gen-nasm-x.y.z.tar.gz
cd gen-nasm-x.y.z
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build -s --no-isolation --wheel
pip3 install dist/gen-nasm-x.y.z-py3-none-any.whl
rm -f get-pip.py
Install using py setup
Navigate to release page download and extract release archive.
To install gen_nasm type the following
tar xvzf gen_nasm-x.y.z.tar.gz
cd gen_nasm-x.y.z/
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_data
python3 setup.py install_egg_info
Install using docker
You can use Dockerfile to create image/container.
Dependencies
gen_nasm requires next modules and libraries
Tool structure
gen_nasm is based on OOP
Generator structure
gen_nasm/
├── conf/
│ ├── gen_nasm.cfg
│ ├── gen_nasm.logo
│ ├── gen_nasm_util.cfg
│ ├── project.yaml
│ └── template/
│ ├── asmflags.template
│ ├── ldflags.template
│ ├── main.template
│ ├── makefile.template
│ ├── objects.template
│ └── sources.template
├── __init__.py
├── log/
│ └── gen_nasm.log
├── pro/
│ ├── __init__.py
│ ├── read_template.py
│ └── write_template.py
├── py.typed
└── run/
└── gen_nasm_run.py
Code coverage
Name | Stmts | Miss | Cover |
---|---|---|---|
gen_nasm/__init__.py |
71 | 12 | 83% |
gen_nasm/pro/__init__.py |
59 | 2 | 97% |
gen_nasm/pro/read_template.py |
53 | 2 | 96% |
gen_nasm/pro/write_template.py |
60 | 3 | 95% |
Total | 243 | 19 | 92% |
Docs
More documentation and info at
Contributing
Copyright and Licence
Copyright (C) 2024 by vroncevic.github.io/gen_nasm
gen_nasm is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.
Lets help and support PSF.
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 gen_nasm-1.0.2.tar.gz
.
File metadata
- Download URL: gen_nasm-1.0.2.tar.gz
- Upload date:
- Size: 25.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d49ab545c077c577ee4c3eaa12feb98687ed6e225e7efe8bd037df7a2f54e1 |
|
MD5 | 21048a9fa3ad642a9469072772726af4 |
|
BLAKE2b-256 | 3b98f77b7333045ccb5fa5ace882775c53f5f1bbaa3550d0cdfdbda8734b056a |
File details
Details for the file gen_nasm-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: gen_nasm-1.0.2-py3-none-any.whl
- Upload date:
- Size: 28.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47a1495131e2922078ddea790389a01a8a6984630938a7802bcfcf24c4d4ffc4 |
|
MD5 | 5241a2382753d80e99cff7dc67bf9ccf |
|
BLAKE2b-256 | 4a4b4ab34effd92e3dcc12cf2de888c1248faa3501d6613afa19cdeab96406f7 |