https://github.com/bjodah/pysym

Prototype package for symbolic manipulation.

https://github.com/bjodah/pysym

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 (12.4%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Prototype package for symbolic manipulation.

Basic Info
  • Host: GitHub
  • Owner: bjodah
  • License: bsd-2-clause
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 891 KB
Statistics
  • Stars: 5
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created over 10 years ago · Last pushed over 1 year ago
Metadata Files
Readme Changelog License Authors

README.rst

pysym
=====

.. image:: http://hera.physchem.kth.se:9090/api/badges/bjodah/pysym/status.svg
   :target: http://hera.physchem.kth.se:9090/bjodah/pysym
   :alt: Build status
.. image:: https://img.shields.io/pypi/v/pysym.svg
   :target: https://pypi.python.org/pypi/pysym
   :alt: PyPI version
.. image:: https://img.shields.io/badge/python-2.7,3.4,3.5-blue.svg
   :target: https://www.python.org/
   :alt: Python version
.. image:: https://img.shields.io/pypi/l/pysym.svg
   :target: https://github.com/bjodah/pysym/blob/master/LICENSE
   :alt: License
.. image:: http://img.shields.io/badge/benchmarked%20by-asv-green.svg?style=flat
   :target: http://hera.physchem.kth.se/~pysym/benchmarks
   :alt: airspeedvelocity
.. image:: http://hera.physchem.kth.se/~pysym/branches/master/htmlcov/coverage.svg
   :target: http://hera.physchem.kth.se/~pysym/branches/master/htmlcov
   :alt: coverage

`pysym `_ is an *experimental*
Python package for symbolic manipulation with limited scope (as in minimal).
It tries to stay compatible with the API of `SymPy `_.
It should be viewed as a prototype and not as a "production" package.

The capabilities include:

- Differentiation
- (slow) numerical evaluation (including "lambdify" support)

The above capabilities are exactly what is needed by
`pyodesys `_
and `pyneqsys `_.

Documentation
-------------
Autogenerated API documentation is found here: ``_
(and dev docs are here: ``_).

Installation
------------
Simplest way to install pysym and its (optional) dependencies is to use pip:

::

   $ pip install --user pysym pytest
   $ python -m pytest --pyargs pysym

or the `conda package manager `_:

::

   $ conda install -c bjodah pysym pytest
   $ python -m pytest --pyargs pysym

There are no requirements outside the Python standard library.

Source distribution is available here:
``_

Example
-------
Differentiation

.. code:: python

   >>> from pysym import Symbol, tan
   >>> x, y = map(Symbol, 'x y'.split())
   >>> expr = x*y**2 - tan(2*x)
   >>> print(expr.diff(x))
   ((y**2) - ((1 + (tan((2*x))**2))*2))


for more examples, see `examples/ `_, and rendered jupyter notebooks here:
``_

License
-------
The source code is Open Source and is released under the simplified 2-clause BSD license. See `LICENSE `_ for further details.
Contributors are welcome to suggest improvements at https://github.com/bjodah/pysym

Author
------
Björn I. Dahlgren, contact:

- gmail address: bjodah

Owner

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

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 34
  • Total Committers: 1
  • Avg Commits per committer: 34.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Björn Dahlgren b****h@g****m 34

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 6
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
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
Pull Request Authors
  • bjodah (6)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 578 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 2
  • Total versions: 6
  • Total maintainers: 1
pypi.org: pysym

Minimal symbolic manipulation framework.

  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 578 Last month
Rankings
Dependent packages count: 10.1%
Dependent repos count: 11.6%
Average: 20.3%
Stargazers count: 21.5%
Downloads: 28.7%
Forks count: 29.8%
Maintainers (1)
Last synced: 11 months ago

Dependencies

setup.py pypi