https://github.com/bjodah/pycompilation

A useful tool when distutils is not enough (mix of C++, Fortran, C) or when object files need to be cached.

https://github.com/bjodah/pycompilation

Science Score: 26.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.6%) to scientific vocabulary

Keywords from Contributors

sde
Last synced: 11 months ago · JSON representation

Repository

A useful tool when distutils is not enough (mix of C++, Fortran, C) or when object files need to be cached.

Basic Info
  • Host: GitHub
  • Owner: bjodah
  • License: bsd-2-clause
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 6.71 MB
Statistics
  • Stars: 5
  • Watchers: 3
  • Forks: 0
  • Open Issues: 1
  • Releases: 9
Created almost 13 years ago · Last pushed 11 months ago
Metadata Files
Readme License Authors

README.rst

pycompilation
=============

.. image:: http://hera.physchem.kth.se:8080/api/badges/bjodah/pycompilation/status.svg
   :target: http://hera.physchem.kth.se:8080/bjodah/pycompilation
   :alt: Build status


pycompilation bundles python convenience classes and functions for performing compilation
and linking on the fly from python. Developed to simplify working with code-generation,
compilation and import (meta-programming) from Python.

Installation
------------
Example using pip (modify to your own needs):

::

   $ python3 -m pip install --user pycompilation


Examples
--------
Look at ``examples/*_main.py`` which show how pycompilation can be used.

You may also look at other projects which uses pycompilation:

- pycodeexport_
- cInterpol_ 
- finitediff_ 
- symvarsub_

.. _pycodeexport: http://github.com/bjodah/pycodeexport
.. _cInterpol: http://github.com/bjodah/cinterpol
.. _finitediff: http://github.com/bjodah/finitediff
.. _symvarsub: http://github.com/bjodah/symvarsub

Documentation
-------------
You find the latest documentation at http://pycompilation.readthedocs.org/


Dependencies
------------
For the examples to work you need:

- Cython
- A C compiler (e.g. gcc)
- A C++ compiler (e.g. g++)
- A Fortran complier (e.g. gfortran)
- appdirs (python module)

License
-------
Open Source. Released under the very permissive simplified (2-clause) BSD license. 
See LICENSE for further details.

TODO
----

 - Windows support
 - PGI compilers
 - Better Intel MKL linkline help (cf. "Intel® Math Kernel Library Link Line Advisor")

Owner

  • Name: Bjorn
  • Login: bjodah
  • Kind: user

GitHub Events

Total
  • Delete event: 1
  • Push event: 6
  • Pull request event: 3
  • Create event: 2
Last Year
  • Delete event: 1
  • Push event: 6
  • Pull request event: 3
  • Create event: 2

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 223
  • Total Committers: 2
  • Avg Commits per committer: 111.5
  • Development Distribution Score (DDS): 0.004
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Björn Dahlgren b****h@g****m 222
Sean P. Cornelius s****s@g****m 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 2
  • Total pull requests: 24
  • Average time to close issues: about 5 hours
  • Average time to close pull requests: 4 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 1.5
  • Average comments per pull request: 0.17
  • Merged pull requests: 22
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 3
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 minute
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • moorepants (1)
  • bjodah (1)
Pull Request Authors
  • bjodah (23)
  • spcornelius (1)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 966 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 5
  • Total versions: 15
  • Total maintainers: 1
pypi.org: pycompilation

pycompilation is a package for meta programming. It aims to support

  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 5
  • Downloads: 966 Last month
Rankings
Dependent repos count: 6.6%
Dependent packages count: 10.1%
Average: 18.3%
Stargazers count: 21.5%
Downloads: 23.5%
Forks count: 29.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

requirements.txt pypi
  • appdirs >=1.4.0
  • argh >=0.25.0
  • cython >=0.19.1
  • future >=0.14.1
  • joblib >=0.8.2
  • numpy >=1.8.2
  • pytest >=2.6.3
  • pytest-pep8 >=1.0.6
setup.py pypi