Science plus Python & WebAssembly Equals Pyodide

Science plus Python & WebAssembly Equals Pyodide

Based on Iodide, we now have Pyodide which allows a Python interpreter to run inside the browser and create living documents there, thus bringing data science to the browser. As we’ve seen in “Run VSCode in the browser“, portability is the new trend sought after. And with that we mean the ease of running everything inside the ubiquitous browser, be it an IDE, a game or an interpreter.  Pyodide is the Python offspring of Iodide, the attempt to bring Javascript and science to the browser. Iodide was already a success, but since Javascript had no well-defined scientific stack whereas Python does, the idea of replacing JavaScript with Python was suggested. And…

Continue reading... Science plus Python & WebAssembly Equals Pyodide
GitHub Security Alerts For Python developers

GitHub Security Alerts For Python developers

GitHub has added Python to the list of languages where you can check out security alerts. Python developers can now see problems on a dependency graph and receive security alerts whenever their repositories depend on packages with known security vulnerabilities. GitHub security alerts were first announced last October for developers using Ruby and JavaScript packages, and GitHub says four million vulnerabilities have been identified since the launch, prompting the release of many patches. While this sounds dramatic, what this actually means is not that GitHub has found four million new vulnerabilities. Instead, what they did was to take a list of vulnerable Ruby gems and npm JavaScript packages where vulnerabilities have…

Continue reading... GitHub Security Alerts For Python developers
Python 3.7 released

Python officially releases V3.7

I’ve been using Python 3.7 for weeks so it was a shock to discover that it is a release candidate no more – it’s officially the new Python 3. The road from Python 2 to 3 has been a long and fairly gentle one. If you really couldn’t move to Python 3 for one reason or another then you have been well served by the ongoing Python 2 development line. But now enough is enough. Python 3 is mature and this is proved by the welcome, but not major, changes and additions to Python 3.7. This is good because only bored programmers want a language that is developing so fast that…

Continue reading... Python officially releases V3.7
Python 3.7 Adds Data Handling Classes

Python 3.7 Adds Data Handling Classes

The first of four beta previews of Python 3.7 is now available, with a new DataClasses module, an easier way to enter the debugger, and a UTF-8 mode that uses UTF-8 encoding by default. The scheduled date for the general release of Python 3.7 is June 2018, and this beta is feature complete for that final version. The first change to Python is the addition of the dataclasses module. This is designed to provide an alternative to the way Python developers had, until now, to use boilerplate code to instantiate classes with a lot of initializers. The new module provides a class decorator that inspects the class’s variable annotations, and based…

Continue reading... Python 3.7 Adds Data Handling Classes
Stack Overflow analysis assesses ‘incredible’ growth of Python

Stack Overflow analysis assesses ‘incredible’ growth of Python

Python’s profile continues to grow – but at what rate? According to David Robinson, data scientist at Stack Overflow, it has a ‘solid claim’ at being the fastest-growing major programming language. In June, Python became the most visited tag on the developer community site for the first time among high income countries, including hitting top spot in the US and UK and being in the top two almost everywhere else, behind either Java or JavaScript. This is not a cause for celebration just yet – the slowdown on Java can potentially be attributed to the student off-season – but by using the STL model, which can take into account seasonal trends when predicting, Robinson adds it is “clearly on track” to become the…

Continue reading... Stack Overflow analysis assesses ‘incredible’ growth of Python