Important python snippets for sublime.
Put these files in Packages directory.
The Packages directory is located at:
- Linux:
~/.config/sublime-text/Packages/ - OS X:
~/Library/Application Support/Sublime Text/Packages/ - Windows:
%APPDATA%/Sublime Text/Packages/
-
reqget- Requests GET Request- Basic GET request with requests library
-
reqbs4- Requests with BeautifulSoup4- GET request with BeautifulSoup for HTML parsing and web scraping
-
reqpost- Requests POST with JSON- POST request sending JSON data
-
reqpostform- Requests POST with Form Data- POST request sending form-encoded data
-
aioget- Aiohttp GET Request- Basic async GET request with aiohttp
-
aiofiles- Aiohttp with Aiofiles- Async file download using aiohttp and aiofiles
-
aiomulti- Aiohttp Multiple Concurrent Requests- Multiple async requests running concurrently with asyncio.gather
sele- Selenium Startup Snippet- Complete Selenium WebDriver setup with Chrome options