Sporniket's toolbox for generating code
Project description
gencode – Sporniket's toolbox for generating code
[WARNING] Please read carefully this note before using this project. It contains important facts.
Content
- What is gencode – Sporniket's toolbox for generating code, and when to use it ?
- What should you know before using gencode – Sporniket's toolbox for generating code ?
- How to use gencode – Sporniket's toolbox for generating code ?
- Known issues
- Miscellanous
1. What is gencode – Sporniket's toolbox for generating code, and when to use it ?
gencode – Sporniket's toolbox for generating code is a code generator. For now it can generate a set of blanks cpp files and their header files, with parameters to have proper licence notice, copyright notices and taylored header guards.
What's new in version 1.0.0
Initial release, that can generate blank cpp files and their header files.
- Resolves #1 : [gencpp] generate a blank cpp file and its header
- Resolves #2 : [gencpp] generate a valid copyright notice
- Resolves #3 : [gencpp] generate a valid licence notice
- Resolves #4 : [gencpp] generate a header guard using a library name
- Resolves #5 : [gencpp] use a config file to factor common parameters
Licence
gencode – Sporniket's toolbox for generating code is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
gencode – Sporniket's toolbox for generating code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with gencode – Sporniket's toolbox for generating code. If not, see http://www.gnu.org/licenses/ .
2. What should you know before using gencode – Sporniket's toolbox for generating code ?
SECURITY WARNING : gencode – Sporniket's toolbox for generating code is not meant to be installed on a public server.
gencode – Sporniket's toolbox for generating code is written in Python language, version 3.9 or above, and consists of :
- gencpp : the generator of CPP code.
Do not use gencode – Sporniket's toolbox for generating code if this project is not suitable for your project
3. How to use gencode – Sporniket's toolbox for generating code ?
Requirements
Python 3.9 or later versions, pip3
and pdm
are required.
From source
To get the latest available code, one must clone the git repository, build and install to the maven local repository.
git clone https://github.com/gencode.git
cd gencode
pdm sync
pdm build
sudo pip3 install dist/gencode-by-sporniket-<version>-py3-none-any.whl
From Pypi
Add any of the following dependencies that are appropriate to your project.
sudo pip3 install gencode-by-sporniket
Documentation
4. Known issues
See the project issues page.
5. Miscellanous
Report issues
Use the project issues page.
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 gencode_by_sporniket-1.0.0.tar.gz
.
File metadata
- Download URL: gencode_by_sporniket-1.0.0.tar.gz
- Upload date:
- Size: 24.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 842de0772d1324f884ec806b911856a2136abb4cf7bc9fd1221b96ea620b218c |
|
MD5 | d1ec6cce2dd990d3ecf0ad0b01c417f8 |
|
BLAKE2b-256 | 149cdfb6c25016bfaf5ef6b7d1bdcbd6d293a0d24b8ab00108d98727784632e8 |
File details
Details for the file gencode_by_sporniket-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: gencode_by_sporniket-1.0.0-py3-none-any.whl
- Upload date:
- Size: 30.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 591d4b87e2b24cd48270c3d261e8f328c788a154ab8c2a8acf2a0471cde16679 |
|
MD5 | b629b95d5b354b8e3902fb5a542ef3b6 |
|
BLAKE2b-256 | 3f9a18a9d8f0f976fb2329cd25d5994ffbaa024749f39dead2baa05b77af154b |