GithubHelp home page GithubHelp logo

dgoeries / lttbc Goto Github PK

View Code? Open in Web Editor NEW
27.0 2.0 8.0 265 KB

Largest-Triangle-Three-Buckets (LTTB) downsampling algorithm in Python (C-Extension)

License: MIT License

C 35.12% Python 64.88%
python downsampling-algorithm pypi lttb

lttbc's People

Contributors

dgoeries avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

lttbc's Issues

Distribution for manylinux for python 3.11

Hi @dgoeries

Thanks so much for this package. I see that this package does not have a manylinux based distribution for python 3.11. It would be great to have this distribution to be able to install this package on WSL systems with the latest pip.

Issue with Numpy 1.22

I ran into an issue with numpy 1.22.2 and lttbc 0.2.2. Downgrading to lttbc 0.2.1 or upgrading to numpy 1.24 solved the issue.

Exception has occurred: ImportError
numpy.core.multiarray failed to import
File "C:\temp\lttbc stuff\main.py", line 1, in
import lttbc
ImportError: numpy.core.multiarray failed to import

pip install when building a docker image takes too long

Hi, I need to install lttbc when building a python docker image, based on python:3.11.4-slim-bookworm.

The command in the Dockerfile is:
RUN pip3 install --no-cache-dir numpy==1.24.4 lttbc==0.2.4

However, it takes more than 10 minutes to finish installing the build dependencies
(I get the message Installing build dependencies: still running...).
I do not see any dependencies for lttbc in the Readme.

For completeness, I also RUN apt-get install -y build-essential libblas-dev gcc before running the pip install stage.
I am on an M1-pro and building the image with the flag --platform linux/amd64.

Any ideas what might cause this problem?

Move build system information to pyproject.toml

Hi @dgoeries

The latest pip version (23.0.1) removed the capability to build python packages that use a setup.py file. Moving the build information to pyproject.toml will enable an user to build the lttbc package on any environment, including OSX systems.

Do you allow contributions for this package?

Build failure on `macosx-arm64`

I'm unable to install this with pip install lttbc and am seeing a Failed to build lttbc error.

Are you able to support Apple Silicon currently?

Not installing with Python 3.10

Hi,
I tried installing with Python 3.10 (linux) but it fails when trying to install from source. I see that the release files don't include one for Python 3.10. Do you intend to put out a new version?
Thanks

Support for Python 3.11

Hi, I tried installing on Python 3.11 but it doesn't appear that there are any wheels for it. Would you be able to create those?
Thanks

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.