Git Product home page Git Product logo

pynumpress's Introduction

"A thin, more convenient wrapper around MSNumpress"

Description

The original MSNumpress bindings were written to emulate the C++ calling convention, requiring the user to pass a list to the decoding functions which would be filled, one-by-one with floating point numbers from C. This calling convention makes sense when returning the container (in this case, a C++ std:vector<double>) would require copying the entire numerical buffer a second time. It also required you store the data in a list, which you would then need to convert into whatever structure you wish to use.

pynumpress wraps the API differently, and uses NumPy arrays internally to collect output and return it instead of returning by reference. This also means that the data are only boxed as Python floats if needed.

Installing

To install the latest release, use pip install pynumpress. If you wish to build from source, in addition to NumPy, you'll need to install a recent version of Cython and a C++ compiler.

pynumpress's People

Contributors

mobiusklein avatar azure-pipelines[bot] avatar dcambie avatar dependabot[bot] avatar

Stargazers

Christian Fufezan avatar

Watchers

Christian Fufezan avatar James Cloos avatar  avatar Manuel avatar  avatar

Forkers

mkoesters

pynumpress's Issues

pip install pynumpress

This doesn't work on Mac.. sorry if this is a stupid question, but from what I've read, the wheel might be windows-specific. Is there a good tutorial to install this on a Mac without pip somewhere? I guess that would be installing from source with Cython and a C++ compiler

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.