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.
- Host: GitHub
- URL: https://github.com/anubhavkrishna1/sublime-python-snippets
- Owner: anubhavkrishna1
- Created: 2024-10-19T16:04:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-27T05:10:56.000Z (over 1 year ago)
- Last Synced: 2024-10-27T06:22:25.187Z (over 1 year ago)
- Topics: python, python3, sublime, sublime-python, sublime-snippets, sublime-text, sublime-text-4
- Homepage:
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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