GithubHelp home page GithubHelp logo

Comments (7)

albop avatar albop commented on July 28, 2024 1

@jan-janssen and @ysBach, there is no external dependency on tempita anymore. It is now shipped as a submodule.

from interpolation.py.

albop avatar albop commented on July 28, 2024

Of course it is feasible. Basically any templating engine with support for loops and basic python expressions would do. And speed is important as we are potentially generating very big expressions (when d>>1). I confess In don't know have strong views here. Do you have any suggestion or preference ?

from interpolation.py.

albop avatar albop commented on July 28, 2024

Nb :thé reason we do need a templating engine is because the source code of interpolating functions is basically generated at jit time (in splines.codegen I think)

from interpolation.py.

ysBach avatar ysBach commented on July 28, 2024

I am introduced to interpolation.py today while finding numba-implementation of interpolation. The installation couldn't be proceeded because of tempita.
If it is really necessary, how about just copy the snapshot of it and include it inside this package? I am not sure about the license of tempita though..

from interpolation.py.

ysBach avatar ysBach commented on July 28, 2024

Oh it's MIT (https://github.com/agramfort/tempita/blob/master/setup.py, https://pypi.org/project/Tempita/).

from interpolation.py.

jan-janssen avatar jan-janssen commented on July 28, 2024

@ysBach From my experience the conda-forge package should be compatible to Python 3.9 https://anaconda.org/conda-forge/interpolation .

from interpolation.py.

ysBach avatar ysBach commented on July 28, 2024

@jan-janssen Unfortunately I am using py 3.10 😢 and I get the following errors:

>  mamba install -c conda-forge tempita

Looking for: ['tempita']

conda-forge/osx-arm64                                5.3MB @   2.9MB/s  2.0s
conda-forge/noarch                                  11.3MB @   1.9MB/s  6.1s

Pinned packages:
  - python 3.10.*


Could not solve for environment specs
Encountered problems while solving:
  - nothing provides requested tempita

The environment can't be solved, aborting the operation

(similar error from conda: https://anaconda.org/conda-forge/tempita/files)

from interpolation.py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.