An open API service indexing awesome lists of open source software.

https://github.com/anubhavkrishna1/sublime-python-snippets

Important python snippets for sublime.
https://github.com/anubhavkrishna1/sublime-python-snippets

python python3 sublime sublime-python sublime-snippets sublime-text sublime-text-4

Last synced: 2 months ago
JSON representation

Important python snippets for sublime.

Awesome Lists containing this project

README

          

# 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