pepper

Python Enhanced PreProcessor

https://github.com/devosoft/pepper

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 4 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary

Keywords

compiler cplusplus lexer open-source parser preprocessor python
Last synced: 6 months ago · JSON representation

Repository

Python Enhanced PreProcessor

Basic Info
  • Host: GitHub
  • Owner: devosoft
  • License: mit
  • Language: Python
  • Default Branch: master
  • Size: 653 KB
Statistics
  • Stars: 6
  • Watchers: 4
  • Forks: 0
  • Open Issues: 19
  • Releases: 0
Topics
compiler cplusplus lexer open-source parser preprocessor python
Created over 8 years ago · Last pushed over 3 years ago
Metadata Files
Readme License

README.md

Pepper

TravisCI Status ReadTheDocs Status PyPI version

Pepper is the brainchild of Dr. Charles Ofria.

The Pepper documentation is available at ReadTheDocs and the developer blog is available on the Github Pages site.

The end goal is to have a piece of c++ code that looks like:

```

define SHARED_NAMESPACE;

py if(pepper.SHARED_NAMESPACE):

py pepper.GREETING = "Hello from Pepper, world!"

include

void main() { std::cout << GREETING << std::endl; } ```

The current general plan is that python blocks will be executed as the program is processed and any output from them will be inserted into the processed file.

Python code will not be callable once compiled, but any output emitted by the python program will be concatenated into the c++ code.

The preprocessor symbol table will be shared between c-style macros and Pepper calls.

The preprocessor will also implement all existing functionality within the C Preprocessor so that it can be used as a replacement.

Dependencies

To install dev dependencies in an editable pip install, use the command:

$ pip install -e . .[develop]

System-level prerequisites are Python 3.6 and pip.

Invoking Pepper

Pepper can be installed via pip:

$ pip install pepper

Once installed the command Pepper will be available. This invokes the preprocessor:

$ Pepper usage: Pepper [-h] [--output_file OUTPUT_FILE] [-S SYS_INCLUDE] input_file Pepper: error: the following arguments are required: input_file

To test

make test or pytest

Owner

  • Name: Digital Evolution Software
  • Login: devosoft
  • Kind: organization
  • Location: Michigan State University, East Lansing, MI

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 178
  • Total Committers: 4
  • Avg Commits per committer: 44.5
  • Development Distribution Score (DDS): 0.236
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jake Fenton j****e@f****o 136
Cyndy Ishida i****y@m****u 37
Jake Fenton b****f@g****m 3
Josh Nahum n****s@m****u 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 38
  • Total pull requests: 25
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 29 days
  • Total issue authors: 3
  • Total pull request authors: 3
  • Average comments per issue: 0.92
  • Average comments per pull request: 1.16
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 4
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • bocajnotnef (30)
  • cyndyishida (7)
  • stevenjson (1)
Pull Request Authors
  • bocajnotnef (17)
  • cyndyishida (4)
  • dependabot[bot] (4)
Top Labels
Issue Labels
documentation (6) best-practice-enforcement (6) testing (5) enhancement (4) need-data (2) feature (2) bug (2) question (2)
Pull Request Labels
dependencies (4) best-practice-enforcement (2) feature (2) documentation (1) testing (1) enhancement (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 45 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 3
  • Total versions: 3
  • Total maintainers: 1
pypi.org: pepper

Python-Enhanced PrePreocessor

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 45 Last month
Rankings
Dependent repos count: 9.0%
Dependent packages count: 10.0%
Average: 18.7%
Stargazers count: 19.3%
Downloads: 25.5%
Forks count: 29.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi
  • eg *
  • six >=1.7
  • versioneer *
docs/Gemfile rubygems
  • jekyll-feed ~> 0.6 development
  • jekyll = 3.5.2
  • minima ~> 2.0
  • tzinfo-data >= 0
docs/Gemfile.lock rubygems
  • addressable 2.5.2
  • colorator 1.1.0
  • ffi 1.9.18
  • forwardable-extended 2.6.0
  • jekyll 3.5.2
  • jekyll-feed 0.9.2
  • jekyll-sass-converter 1.5.0
  • jekyll-watch 1.5.0
  • kramdown 1.15.0
  • liquid 4.0.0
  • listen 3.0.8
  • mercenary 0.3.6
  • minima 2.1.1
  • pathutil 0.16.0
  • public_suffix 3.0.0
  • rb-fsevent 0.10.2
  • rb-inotify 0.9.10
  • rouge 1.11.1
  • safe_yaml 1.0.4
  • sass 3.5.2
  • sass-listen 4.0.0