We were get used to writing HTML in Python while using Flask
, Django
or other web frameworks like Dash
.
Now, how about writing Python in HTML? Yep, you heard right :) Thanks to PyScript!
🖥️ Willing to jump to the demo? There you go https://furkanmtorun.github.io/PlayGround/simple_bioinformatics_tool.html
#️⃣ What is PyScript
?
TL;DR: It enables you to run Python in HTML!
Officially: PyScript is a framework that allows users to create rich Python applications in the browser using HTML’s interface. PyScript aims to give users a first-class programming language with consistent styling rules, more expressive, and easier to learn.
Source: https://pyscript.net/
In this small repository, I aimed to build an example that helps first-comers to PyScript
while dealing with the user inputs and also to welcome the bioinformatics / computational biology communities for their next applications with PyScript
!
Here, I am inspired by a single-page web tool that handles a common DNA sequence utility (getting reverse
, complement
, reverse-complement
counterparts of a given DNA sequence).
Basically, it enables any researcher to play around with DNA sequences and get the desired output according to their goals.
Visit https://furkanmtorun.github.io/PlayGround/simple_bioinformatics_tool.html
I would be very happy to see any feedback or contributions to the project. Also, look forward to seeing your applications prepared with PyScript
in bioinformatics / computational biology domains!
⭐ If you like it, please do not forget to give a star!
- Furkan M. Torun (@furkanmtorun)
- Web Site
- (Academics) Google Scholar Profile