Skip to main content

Single header generator for C++ libraries.

Project description

cppgsh by Python Library

Upload pypi.org

Overview

This Program Inspired by Quom I made.

Goal

  • Automation Build Single header for C++.

Implementation

What is different from the original Quom?

  • It is automatically looks for the root header or source and creates a single header in the proper order.

  • Put the include file at the beginning to eliminate duplication.

Install

$ pip install cppgsh

UnInstall

$ pip uninstall cppgsh

Requirement

  • python3.6 later.

Liscense

run command Environment

  • Windows
  • Linux
  • Mac OSX

Usage

usage: cppgsh [-h] [--include_guard format]
              [--include_directory INCLUDE_DIRECTORY]
              [--source_directory SOURCE_DIRECTORY]
              [--exclude_patterns EXCLUDE_PATTERNS]
              [--license_files LICENSE_FILES] [--del_extern_C]
              [--linesep LINESEP] [--encoding ENCODING] [--quiet]
              output

Single header generator for C++ libraries.

positional arguments:
  output                Output file path of the generated single header file.

optional arguments:
  -h, --help            show this help message and exit
  --include_guard format, -g format
                        Regex format of the include guard. Default: None
  --include_directory INCLUDE_DIRECTORY, -I INCLUDE_DIRECTORY
                        Add include directories for header files.
  --source_directory SOURCE_DIRECTORY, -S SOURCE_DIRECTORY
                        Set the source directories for source files. Use ./ or
                        .\ in front of a path to mark as relative to the
                        header file.
  --exclude_patterns EXCLUDE_PATTERNS, -E EXCLUDE_PATTERNS
                        Set the source directories for source files. Use ./ or
                        .\ in front of a path to mark as relative to the
                        header file.
  --license_files LICENSE_FILES, -L LICENSE_FILES
                        Set headline writing License text file path
  --del_extern_C        delete define "extern "C""
  --linesep LINESEP, -l LINESEP
                        line separator of output file.
  --encoding ENCODING, -e ENCODING
                        The encoding used to read and write all files.
  --quiet, -q           no print progress info

Example

TODO

Libraries used

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

cppgsh-0.1.8.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

cppgsh-0.1.8-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file cppgsh-0.1.8.tar.gz.

File metadata

  • Download URL: cppgsh-0.1.8.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for cppgsh-0.1.8.tar.gz
Algorithm Hash digest
SHA256 b543f0ff3cecd299f3985c02ae7311ecbdeb87bf9fde9a36dc539ea0d4a583db
MD5 a7c9f86935a5e765f2ce8664ed25544a
BLAKE2b-256 641de44e2659b7b481e1a99eeba67bec580715ee0c64931750e9c0ddd134f660

See more details on using hashes here.

File details

Details for the file cppgsh-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: cppgsh-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

File hashes

Hashes for cppgsh-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 beaff74937202b53b36d89737e4778fdaccc1279cc7862b48196ed3e58edd9ba
MD5 377588c79ec207c2ef5da2d392a4a66c
BLAKE2b-256 3ab6237bbddd5b8ec063d595a1c23ec852f40a8d349c0921203101526b278ae8

See more details on using hashes here.

Supported by

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