fb-pixel

The rise of PyScript


bookmark

pyscript thumbnail

Python in the browser

When Peter Wang, the CEO and co-founder of Anaconda, Inc., announced PyScript during his keynote address at PyCon US 2022, there was a lot of enthusiasm. Despite the fact that this project is still merely an experiment in its early stages of development, social media users appear to already be smitten with it. What exactly does PyScript offer?

pyscript thumbnail

The possibilities of PyScript

In short, PyScript enables two-way communication between your code and the web page, allowing you to run Python scripts directly in the browser alongside JavaScript. Executing Python code in the browser is not new; the Pyodide project has allowed this for a long time (by compiling Python to WebAssembly), but what’s new here is the integration with the rest of the browser ecosystem.
Thanks to PyScript, one can easily include many modules directly from the pip repository: all modules written in “pure” Python should work, and some modules that require native code have also been recompiled into WebAssembly. Python has a very large standard library, as well as many great external libraries, so this project opens up interesting opportunities to quickly build simple supporting tools like security tests.

We are serious about security

We worked with sensitive financial data before, genuinely caring about security and pay attention to details.

The meaning of PyScript for data scientists and the rest of the world

PyScript makes Python’s capability available to a far larger audience of front-end developers and creators. Almost everyone has access to a web browser, whether on a PC or a phone. This means that anyone who wishes for it, can access and begin programming without any infrastructure barriers. Python and advanced UI languages like modern HTML, CSS, and JavaScript have not cooperated over the past couple of decades. Python needed a straightforward way to design eye-catching user interfaces for easily packaging and deploying projects. Deployment is no longer a concern thanks to PyScript – the “architectural shift beyond the cloud” is offered by it, which means your web browser will be the center of everything. Data scientists now can share their models and dashboards in an html file, which will run code whenever somebody opens the file in a web browser. Making the Web a welcoming place for anyone looking to learn how to code, including children, is one of PyScript’s objectives. By only requiring your current text editor and a browser for installation and configuration, the framework succeeds in achieving that goal. PyScript makes it easier to share your work with others as a side effect.

I’ve worked with DevsData on numerous projects over the last 3 years and I’m very happy. They demonstrated a strong degree of proactivity, taking time to thoroughly understand the problem and business perspective. The solutions they designed exceeded my expectations.

Verus
Jonas Lee

Jonas Lee

PARTNER & EXECUTIVE VP OF VERUS FINANCIAL LLC;
INVESTOR & SERIAL ENTREPRENEUR

Things to keep in mind

  • Python is added to the browser by PyScript; JavaScript is not replaced. Python can be used in a WASM in the same way that C program previously could;
  • PyScript excels in handling large amounts of data in an HTML page in a totally serverless and portable manner. While it is possible to create a To-Do app as well, the advantages of doing so only apply to individuals who want to do so in Python since they lack JavaScript knowledge;
  • Instead of replacing innovative JavaScript solutions, PyScript aims to enclose them.

pyscript thumbnail

PyScript seems to have sparked a lot of excitement among software engineers because it opened a new world to everybody. They believe it is a significant step toward making data science accessible to all people and bringing cutting-edge tools closer to them without the expense of complex server installations. Data scientists believe having more tools is generally a good thing, which makes the invention of PyScript useful. What will be the future of PyScript? I guess we’ll have to wait and see.

Reasons to choose DevsData LLC

a players

Only A-players. Google level engineers

security

Serious about security and sensitive data

meteroic app

Meteoric pace of development with the very recent frameworks

DevsData – a premium technology partner

DevsData is a boutique software and recruitment agency. Get your software project done by Google-level engineers or scale up an in-house tech team with developers with experience relevant to your industry.

Free consultation with a software expert

Contact Us

“DevsData LLC is truly exceptional – their backend developers are some of the best I’ve ever worked with.”

Nicholas Johnson

MENTOR AT YC,
SERIAL ENTREPRENEUR

calendar icon
Got a project idea?
Schedule a call with
our software expert
  • Our Google-level developers can help you to grow your business.
  • Explore the benefits of technology recruitment and tailor-made software.
  • Learn how to source skilled and experienced software developers.
Schedule a call
TRUSTED BY

I agree to and accept that DevsData LLC will provide better user experience by collecting, analyzing and cataloging information about Internet electronic addresses that I have connected with my devices and about the type of my devices (such as the type and version of software) as well as by making automatic decisions (not involving sensitive data). The agreement applies for the legally binding period, or until either the user or DevsData LLC withdraws from the agreement. Withdrawing from the agreement will result in removing the user's data. Please see our privacy policy.

We use cookies to provide the best experience for you. Learn morearrow

Got a project idea?

Book a call with our expert

For software development projects, minimum engagement is $15,000.

Do you prefer email contact?
Do you prefer email contact?
Quote mark

Best back-end engineers I've ever worked with...​

“I interviewed about a dozen different firms. DevsData LLC is truly exceptional – their backend developers are some of the best I’ve ever worked with. I’ve worked with a lot of very well-qualified developers, locally in San Francisco, and remotely, so that is not a compliment I offer lightly. Their depth of knowledge and their ability to get things done quickly."

Nicholas Johnson

CEO OF ORANGE CHARGER LLC;

MENTOR AT YCOMBINATOR

Success

Thank you


We'll get back to you within 1 business day.