Releases: YashashavGoyal/pycurl
v1.2.1
🚀 PyCurl v1.2.1 — Global Modes & Enhanced Debugging
This update brings powerful new ways to interact with PyCurl, including global output modes, detailed logging, and a more structured error reporting system.
📥 Direct Downloads
Get the latest version of PyCurl for your platform:
✨ Highlights
🌍 Global CLI Modes
You can now control PyCurl's output behavior across all commands using new global flags:
--verbose: Unlock detailed DEBUG logs to see exactly what's happening under the hood (request headers, response times, token logic, etc.).--json/-j: Switches to pure JSON output for results, making it perfect for piping into tools likejq.--quiet/-q: Minimizes output to show only critical errors.--no-color: Disables ANSI color codes for compatibility with plain text environments.
📋 Standardized PSA Error Format
Errors are now reported using a clear Problem-Source-Action pattern:
- Problem: What went wrong.
- Source: Where the error originated (e.g., "Requests Library", "Application Logic").
- Action: A suggested next step to fix the issue.
🛠️ Robust Verbose Logging
The new --verbose flag provides deep insights into network operations:
- Real-time tracking of request initiation.
- Transparent header and cookie injection logs.
- Detailed response metrics (status codes, elapsed time, and raw headers).
🔧 Improvements & Refactors
- Comprehensive Refactor: Entire codebase updated for strict compliance and consistency.
- Improved JSON Handling: Standardized result output across all HTTP methods.
- Environment Variable Support: Global modes can also be set via
CLIMON_QUIET,CLIMON_JSON, andCLIMON_NO_COLOR.
📥 Getting Started
Standalone Binary
Download the pre-built executable for your OS from the Assets section below.
Installation via pip
pip install https://github.com/YashashavGoyal/pycurl/archive/refs/tags/v1.2.1.zipFull Changelog: v1.1.1...v1.2.1
v1.1.1
🚀 PyCurl v1.1.1 — Robust Bundling & Stability
📥 Direct Downloads
Get the latest version of PyCurl for your platform:
This release addresses critical bundling issues and enhances the stability of the standalone executables.
✨ Features in Short
- Intuitive CLI:
GET,POST,PUT,PATCH,DELETEsupport. - Rich UI: Pretty-printed JSON and styled terminal output.
- Auth Manager: Easily save and reuse tokens with aliases.
- In-built Docs: Interactive command documentation via
pycurl docs. - Configurable: Global settings management with
pycurl config.
🔧 Bug Fixes & Improvements
📦 Robust Standalone Bundling
We've significantly improved the PyInstaller build process to ensure all dependencies and assets are correctly included:
- Fixed In-built Docs: Documentation files are now properly bundled and accessible in standalone versions.
- Rich Dependency Fix: Improved handling of the
richlibrary submodules to prevent "ModuleNotFound" errors in certain environments. - Spec Optimization: Updated pycurl.spec to use automated submodule collection for maximum reliability.
📥 Getting Started
Standalone Binary
Download the pre-built executable for your OS from the Direct Downloads section above.
Installation via pip
pip install https://github.com/YashashavGoyal/pycurl/archive/refs/tags/v1.1.1.zip
cd pycurl
pip install .v1.1.0
🚀 PyCurl v1.1.0 — Integrated Documentation & Enhanced CLI
📥 Direct Downloads
Get the latest version of PyCurl for your platform:
This release brings significant improvements to user experience, including a brand-new in-built documentation system and a more robust CLI interface.
✨ Highlights
📖 Integrated Documentation System
You can now access detailed documentation for any command directly from the CLI. This includes feature explanations, parameter details, and practical examples.
- Usage:
pycurl docs [command](e.g.,pycurl docs get) - Interactive Viewer: Supports pager-based viewing for long documents.
🛠️ CLI & Logic Enhancements
- Consistent Request Handling: All HTTP methods (
GET,POST,PUT,PATCH,DELETE) now share a unified and robust implementation pattern. - Improved POST/PUT/PATCH: Better handling of JSON payloads, including the ability to read from files using the
@filenamesyntax. - Enhanced Configuration: The
pycurl config generatecommand is now more interactive and reliable for setting up your environment. - Token Management: Refined
pycurl tokencommands for easier management of authentication aliases.
🔧 Bug Fixes & Improvements
- Fixed issues with header parsing in authenticated requests.
- Improved error reporting for failed API calls and invalid JSON.
- Standardized CLI output styling across all commands using
rich. - Updated project requirements to Python 3.10+.
📥 Getting Started
Standalone Binary
Download the pre-built executable for your OS from the Direct Downloads section above.
Installation via pip
pip install https://github.com/YashashavGoyal/pycurl/archive/refs/tags/v1.1.0.zip
cd pycurl
pip install .v1.0.0
🎉 PyCurl v1.0.0 — Initial Stable Release
📥 Direct Downloads
Get the initial stable version of PyCurl for your platform:
PyCurl is a lightweight, modern CLI tool that brings the simplicity of Python's requests library to the command line. This version marks the first stable release of the project.
🚀 Features
Core HTTP Methods
Full support for all major HTTP methods with a simple, familiar syntax:
pycurl get <URL>: Fetch data from any endpoint.pycurl post <URL>: Send data with--jsonor--datapayloads.pycurl put,pycurl patch,pycurl delete: Full CRUD support for REST APIs.
🔐 Authentication Manager
Built-in support for obtaining and managing authentication tokens:
- Login/Register: Integrated
pycurl auth loginandpycurl auth registercommands. - Token Extraction: Automatically extract tokens from JSON responses or cookies.
🔑 Token Management
Securely store and reuse tokens without manual copy-pasting:
- Aliases: Save tokens with readable names (e.g.,
pycurl token set --alias staging ...). - Seamless Usage: Use saved tokens in requests with the
-Uor--use-tokenflag.
⚙️ Configuration System
Easily set up and manage your default environment:
- Initialization:
pycurl initto get started quickly. - Active Config: View and manage settings with
pycurl config.
📥 Installation
From Source
git clone https://github.com/YashashavGoyal/pycurl.git
cd pycurl
pip install .