1599202592
Recently I came across Streamlit and I’m enjoying my time developing with it. As described in the documentation,
Streamlit’s open-source app framework__is__the easiest way for data scientists and machine learning engineers to create beautiful, performant apps in only a few hours
And it’s true. The API is easy to learn but powerful. For instance, to create a basic web app that receives some text input and writes it back to the page
Basic Streamlit web app
You only need three lines of Python code
import streamlit as st
my_text_input = st.text_input("Type to your heart's content", "Hello World")
st.write(f"You entered: {my_text_input}")
st.text_input
creates a text input field. The first argument is the label displayed above the field, and the second argument is the default/placeholder value. This function returns the value entered in the field as a string, which is saved as the my_text_input
variable. In the next line, st.write
simply writes the string to the page. At the end, enter the streamlit run your_script.py
in the command line to open the app in your browser.
Oh, and in case you’re wondering, those three lines of code also cover handling state:
Streamlit detects changes in the input fields
Now that you’re acquainted with Streamlit, let me introduce you quotespy before we dive into the Streamlit live demo.
#python #programming #web-development #streamlit
1619518440
Welcome to my Blog , In this article, you are going to learn the top 10 python tips and tricks.
…
#python #python hacks tricks #python learning tips #python programming tricks #python tips #python tips and tricks #python tips and tricks advanced #python tips and tricks for beginners #python tips tricks and techniques #python tutorial #tips and tricks in python #tips to learn python #top 30 python tips and tricks for beginners
1619510796
Welcome to my Blog, In this article, we will learn python lambda function, Map function, and filter function.
Lambda function in python: Lambda is a one line anonymous function and lambda takes any number of arguments but can only have one expression and python lambda syntax is
Syntax: x = lambda arguments : expression
Now i will show you some python lambda function examples:
#python #anonymous function python #filter function in python #lambda #lambda python 3 #map python #python filter #python filter lambda #python lambda #python lambda examples #python map
1623287770
Streamlit is a great library that helps us create python apps with minimum effort. Not only it’s easy but its UI is beautiful and seems very professional. Our Idea for this post is to create an Instagram Dashboard having some descriptive statistics about a user’s profile like most frequent hashtags, top liked posts, engagement rate, etc. Having said that, we need an application that takes as input a user name and will scrape its information from Instagram to return the final Dashboard.
…
#python #instagram #python #python app #streamlit #create an instagram profile analyzer app using python
1598811780
python is one of the most go-for languages among the developers due to the availability of open-source libraries and frameworks. According to a survey report, Python is the top language preferred for Statistical Modelling, and an overwhelming majority of practitioners prefer Python as the language for statistical works.
Python has become a favourite language for hackers these days. The reason is the presence of pre-built tools and libraries, which makes hacking easy. In fact, the language is adequate for ethical hacking as ethical hackers need to develop smaller scripts, and Python fulfils this criterion.
Below here, we listed down the top 7 Python libraries used in hacking.
Stars: 43.3k
**About: **Requests is a simple HTTP library for Python that allows a user to send HTTP/1.1 requests extremely easily. This library helps in building robust HTTP applications and includes intuitive features such as automatic content decompression and decoding, connection timeouts, basic & digits authentication, among others.
Know more here.
Stars: 5.5k
About: Scapy is a powerful Python-based interactive packet manipulation program and library. This library is able to forge or decode packets of a wide number of protocols, send them on the wire, capture them, store or read them using pcap files, match requests, and more. It allows the construction of tools that can easily scan or attack networks. It is designed to allow fast packet prototyping by using default values that work. It can also perform tasks such as sending invalid frames, injecting your own 802.11 frames, combining techniques, such as VLAN hopping with ARP cache poisoning, VOIP decoding on WEP encrypted channel, etc., which most other tools cannot.
Know more here.
**Stars: **5.3k
**About: **IMpacket is a library that includes a collection of Python classes for working with network protocols. It is focused on providing low-level programmatic access to network packets. It allows Python developers to craft and decode network packets in a simple and consistent manner. The library provides a set of tools as examples of what can be done within the context of this library.
Know more here.
**Stars: **3.5k
**About: **Cryptography is a package which provides cryptographic recipes and primitives to Python developers. It includes both high-level recipes and low-level interfaces to common cryptographic algorithms such as symmetric ciphers, message digests and key derivation functions. This library is broadly divided into two levels. One is with safe cryptographic recipes that require little to no configuration choices. The other level is low-level cryptographic primitives, which are often dangerous and can be used incorrectly.
Know more here.
#developers corner #hacking tools #libraries for hacking #python #python libraries #python libraries used for hacking #python tools
1619571780
March 25, 2021 Deepak@321 0 Comments
Welcome to my blog, In this article, we will learn the top 20 most useful python modules or packages and these modules every Python developer should know.
Hello everybody and welcome back so in this article I’m going to be sharing with you 20 Python modules you need to know. Now I’ve split these python modules into four different categories to make little bit easier for us and the categories are:
Near the end of the article, I also share my personal favorite Python module so make sure you stay tuned to see what that is also make sure to share with me in the comments down below your favorite Python module.
#python #packages or libraries #python 20 modules #python 20 most usefull modules #python intersting modules #top 20 python libraries #top 20 python modules #top 20 python packages