litesurf
A simple Python CLI tool to create a basic web browser.
Table of Contents
Installation
-
Clone the repository:
git clone https://github.com/bhatishan2003/litesurf cd litesurf
Create and activate a virtual environment:
-
Create a Virtual Environment [Optional, but recommended]
Run the following command to create a virtual environment:
python3 -m venv .venv
-
Activate:
-
Windows (PowerShell):
.venv\Scripts\activate
-
Linux/Mac (Bash):
source .venv/bin/activate
-
-
Deactivate:
deactivate
-
Install the package:
pip install .
-
For development (editable mode):
pip install -e .
Usage
Command Line Usage
-
Following commands should be entered to get a pop-up browse.
```bash litesurf litesurf --file test.html ```
Building Standalone Executables with PyInstaller
You can generate platform-specific standalone executables for your litesurf project using PyInstaller.
1. Install PyInstaller
pip install pyinstaller
-
Windows
pyinstaller --name litesurf --onefile run_litesurf.py
-
MacOS
pyinstaller --name litesurf --onefile --windowed run_litesurf.py
-
Convert the .app into a .dmg for distribution:
hdiutil create -volname litesurf -srcfolder dist/litesurf.app -ov -format UDZO litesurf.dmg
-
-
Linux
-
You can create a cross-platform source distribution from Windows (or Linux):
python setup.py sdist
-
Linux users can install it via:
pip install litesurf-0.0.1.tar.gz
-
Metadata
Release files for litesurf 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| litesurf-0.0.2.tar.gz | 10.1 kB | Without provenance | Details for litesurf-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| litesurf-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for litesurf-0.0.2-py3-none-any.whl |
Total release size: 18.4 kB
Release files / litesurf-0.0.2.tar.gz
| Download URL | litesurf-0.0.2.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5f89fcc6d6e1817e70635e9f41e148a703b1ae14f31cc845dbec71acd03a990
|
|
BLAKE2b-256 checksum How to use checksums |
4c5656b13acb604f07273952634bbe0e8904801f24968b0cc30f80feb752e8b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Release files / litesurf-0.0.2-py3-none-any.whl
| Download URL | litesurf-0.0.2-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af39e2707c03133f9f6adc5913b9d217807bc21804ca2b6b9cd5a13c19c73c16
|
|
BLAKE2b-256 checksum How to use checksums |
17f868867aa97c7161bc6b7d466249d5aaede559a884a46f06d2efb2761cec73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.0
|
Security for litesurf 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.