All Projects → inducer → Pymbolic

inducer / Pymbolic

Licence: other
A simple package to do symbolic math (focus on code gen and DSLs)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pymbolic

Graphqlgen
⚙️ Generate type-safe resolvers based upon your GraphQL Schema
Stars: ✭ 796 (+1296.49%)
Mutual labels:  code-generation
Maple
Elixir GraphQL Client | Compile time client code generator for GraphQL APIs based on introspection queries and schema files
Stars: ✭ 20 (-64.91%)
Mutual labels:  code-generation
Sympy
A computer algebra system written in pure Python
Stars: ✭ 8,688 (+15142.11%)
Mutual labels:  computer-algebra
Mappinggenerator
🔄 "AutoMapper" like, Roslyn based, code fix provider that allows to generate mapping code in design time.
Stars: ✭ 831 (+1357.89%)
Mutual labels:  code-generation
Go Zero
go-zero is a web and rpc framework written in Go. It's born to ensure the stability of the busy sites with resilient design. Builtin goctl greatly improves the development productivity.
Stars: ✭ 13,156 (+22980.7%)
Mutual labels:  code-generation
Gradle Xjc Plugin
A Gradle plugin to run the XJC binding compiler during a build
Stars: ✭ 38 (-33.33%)
Mutual labels:  code-generation
Casadi
CasADi is a symbolic framework for numeric optimization implementing automatic differentiation in forward and reverse modes on sparse matrix-valued computational graphs. It supports self-contained C-code generation and interfaces state-of-the-art codes such as SUNDIALS, IPOPT etc. It can be used from C++, Python or Matlab/Octave.
Stars: ✭ 714 (+1152.63%)
Mutual labels:  code-generation
Ffcx
Next generation FEniCS Form Compiler
Stars: ✭ 55 (-3.51%)
Mutual labels:  code-generation
Gnostic
A compiler for APIs described by the OpenAPI Specification with plugins for code generation and other API support tasks.
Stars: ✭ 870 (+1426.32%)
Mutual labels:  code-generation
Scala Db Codegen
Scala code/boilerplate generator from a db schema
Stars: ✭ 49 (-14.04%)
Mutual labels:  code-generation
Voucher Code Generator Java
Stars: ✭ 18 (-68.42%)
Mutual labels:  code-generation
Gorram
It's like go run for any go function
Stars: ✭ 932 (+1535.09%)
Mutual labels:  code-generation
Devflowcharter
Flowchart builder and code generator.
Stars: ✭ 41 (-28.07%)
Mutual labels:  code-generation
Algebrite
Computer Algebra System in Javascript (Coffeescript)
Stars: ✭ 800 (+1303.51%)
Mutual labels:  computer-algebra
Cognicrypt
CogniCrypt is an Eclipse plugin that supports Java developers in using Java Cryptographic APIs.
Stars: ✭ 50 (-12.28%)
Mutual labels:  code-generation
Scrooge
A Thrift parser/generator
Stars: ✭ 724 (+1170.18%)
Mutual labels:  code-generation
Drupal Console
The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
Stars: ✭ 913 (+1501.75%)
Mutual labels:  code-generation
Idris Elixir
A code-generator for Idris that targets Elixir
Stars: ✭ 56 (-1.75%)
Mutual labels:  code-generation
Spoon
Spoon is a metaprogramming library to analyze and transform Java source code (up to Java 15). 🥄 is made with ❤️, 🍻 and ✨. It parses source files to build a well-designed AST with powerful analysis and transformation API.
Stars: ✭ 1,078 (+1791.23%)
Mutual labels:  code-generation
Dogen
Reference implementation of the MASD Code Generator.
Stars: ✭ 44 (-22.81%)
Mutual labels:  code-generation

Pymbolic: Easy Expression Trees and Term Rewriting

.. image:: https://gitlab.tiker.net/inducer/pymbolic/badges/master/pipeline.svg :alt: Gitlab Build Status :target: https://gitlab.tiker.net/inducer/pymbolic/commits/master .. image:: https://github.com/inducer/pymbolic/workflows/CI/badge.svg?branch=master&event=push :alt: Github Build Status :target: https://github.com/inducer/pymbolic/actions?query=branch%3Amaster+workflow%3ACI+event%3Apush .. image:: https://badge.fury.io/py/pymbolic.png :alt: Python Package Index Release Page :target: https://pypi.org/project/pymbolic/

Pymbolic is a small expression tree and symbolic manipulation library. Two things set it apart from other libraries of its kind:

  • Users can easily write their own symbolic operations, simply by deriving from the builtin visitor classes.
  • Users can easily add their own symbolic entities to do calculations with.

Pymbolic currently understands regular arithmetic expressions, derivatives, sparse polynomials, fractions, term substitution, expansion. It automatically performs constant folding, and it can compile its expressions into Python bytecode for fast(er) execution.

If you are looking for a full-blown Computer Algebra System, look at sympy <http://pypi.python.org/pypi/sympy>_ or PyGinac <http://pyginac.sourceforge.net/>_. If you are looking for a basic, small and extensible set of symbolic operations, pymbolic may well be for you.

Resources:

  • documentation <http://documen.tician.de/pymbolic>_
  • download <http://pypi.python.org/pypi/pymbolic>_ (via the package index)
  • source code via git <http://github.com/inducer/pymbolic>_ (also bug tracker)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].