Skip to content

anubhavkrishna1/sublime-python-snippets

Repository files navigation

sublime-python-snippets

Important python snippets for sublime.

How to install

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/

Available Snippets

Web Scraping & HTTP Requests

  • 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

Async HTTP with Aiohttp

  • 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

Browser Automation

  • sele - Selenium Startup Snippet
    • Complete Selenium WebDriver setup with Chrome options

About

Important python snippets for sublime.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •