Senior Content Marketer & Technical Expert
If you can’t work without your favorite Python library, there is a solution for that. Pyodide lets you run your .py libraries in browsers.
If you want more proof, that the library is indeed useful, and not a gimmick, then we have a video for you. Here is a short overview of one of the projects, TeamSportz.Pro, with a functionality built with tf.js.
If that video was not enough to convince you, there are dozens of other examples for you to see. The team made sure you saw them, and shared them with everybody in their GitHub repository.
With frequent updates, backing from a large corporation, and using TypeScript to provide type safety, we have no other choice than to tell you: go for it. There simply is not much more to say.
Interestingly, the library also powers the more popular Plotly.py package.
It really is simple to get started: below you may find a basic set up, which renders a sample chart.
With an effortless set-up, and immense popularity as expressed by a considerable number of starts on GitHub, it’s a solid option. The only concern is its size: according to bundlephobia it’s…~ 64 kB (minified + gzipped).
For many, considered a standard in visualizing data. It certainly belongs to the more powerful ones. The charts & graphs one can create are quite impressive. Especially with powerful integrations available for use.
One of them is the integration with Three.js. It allows you to create some spectacular graphs that let you immerse in the data & grasp it. Literally. In VR.
Is there anything more to say here than “absolutely yes”? Be careful of the bundle size, however. It's 89 kB, though you may decrease it beyond that.
The project is fine, and very much alive. There is more than a couple of thousand stars on GitHub, showing us that there are plenty of people liking the project.
A “powerful mathematics and statistics library” with plenty of useful functions for you to use in your next project.
It’s a part of a bigger project, mathigon.io, aiming to form the future of education… and Fermat is not the only thing they have shared with the community.
Overall, the maintainers are doing a pretty solid job of staying on top of incoming pull requests. The library is also a part of a larger ecosystem, so we see it developing even further, providing developers with more and more functionalities.
Note: All libraries below may or may not run your code. We advise against using them in production apps, though ultimately, it is your choice.
Python - Pyodide
Pyodide lets you run your Python run in browsers. The best aspect?
Pyodide makes it possible to install and run Python packages in the browser with micropip. Any pure Python package with a wheel available on PyPi is supported. Many packages with C extensions have also been ported for use with Pyodide. These include many general-purpose packages such as regex, PyYAML, lxml and scientific Python packages including NumPy, pandas, SciPy, Matplotlib, and scikit-learn.
If you are not a fan of Pyodide, there is another solution for you. RustPython allows you to run build a web app that will run Python code. You may even ship a full Python compiler to your users (should you need to do so for whatever reason).
Julia – Charlotte.jl
Julia is a relatively new player on the market, with the emphasis “high performance”, while aiming to feel like a scripting language. This eliminates some drawbacks of the traditional choices for high-speed computing.
While you may write any app you may want with Julia, the consensus is, that it is tailor-made for scientific computing. So if you can’t live without some library, or just love the language that much, you should give Charlotte a try.
Swift - SwiftWasm
Swift’s legible syntax, and high performance, makes the language attractive to the data community. Need your code to run in Chrome or Firefox? Go to https://github.com/swiftwasm/swift, and follow the instructions.
360° IT Check is a weekly publication where we bring you the latest and greatest in the world of tech. We cover topics like emerging technologies & frameworks, news about innovative startups, and other topics which affect the world of tech directly or indirectly.