A python tools
Project description
Vinsany
A lightweight Python utility module for data processing, HTTP requests, and browser operations.
📦 Features
- ✅ Module initialization (
init,hello) - ✅ Send HTTP requests (
GET,POST,PUT,DELETE) - ✅ Open URLs in browser
- ✅ Basic statistical data analysis (mean, median, std_dev, max, min, sum)
- ✅ Analyze data (find max, min, repeated values)
🧩 API Reference
__init__.py
init()– Initialize the modulehello()– Returns"Hello World"if initialized
web.py
send_get_request(url, params=None, headers=None)– Send GET requestsend_post_request(url, data=None, json=None, headers=None)– Send POST requestsend_put_request(url, data=None, json=None, headers=None)– Send PUT requestsend_delete_request(url, headers=None)– Send DELETE requestOpen_URL(url, mode="")– Open URL in browser (mode="new","new_tab", orNone)
data_utils.py
mean(data: List[Union[int, float]]) -> float– Calculate the meanmedian(data: List[Union[int, float]]) -> Union[int, float]– Calculate the medianmax_value(data: List[Union[int, float]]) -> Union[int, float]– Return maximum valuemin_value(data: List[Union[int, float]]) -> Union[int, float]– Return minimum valuestd_dev(data: List[Union[int, float]]) -> float– Calculate standard deviationtotal_sum(data: List[Union[int, float]]) -> Union[int, float]– Return total sumanalyze_data(*data: Union[int, float]) -> Dict[str, Union[int, float, Dict[Union[int, float], int]]]– Analyze data to find:- Maximum value
- Minimum value
- Repeated values and their counts
🧠 Data Analysis Function
analyze_data(*data: Union[int, float]) -> Dict[str, Union[int, float, Dict[Union[int, float], int]]]
Analyzes the input data to find:
- The maximum value
- The minimum value
- The repeated values (values that appear more than once)
Example:
result = analyze_data(3, 5, 2, 5, 7, 3, 9, 9, 9)
print(result)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vinsany-0.0.4.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vinsany-0.0.4.tar.gz.
File metadata
- Download URL: vinsany-0.0.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a07af9a2ae31fac22703560c1f8e41790696802ad0ee56fe21b5c4d0bb0054df
|
|
| MD5 |
7c58415a23dbe1a1ae965a82b56cd581
|
|
| BLAKE2b-256 |
75e1f0e49e7f45a5bfcb8e20b9ceb5ae06a1fd6166272389f36c1a67a34c142d
|
File details
Details for the file vinsany-0.0.4-py3-none-any.whl.
File metadata
- Download URL: vinsany-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e23ed32d2da35583f5479932e643c0dbd8cc5c627d5f1d200bb057707161736
|
|
| MD5 |
84ebe5deefa94b21b9d944c9cb0a2d1e
|
|
| BLAKE2b-256 |
5ff530659f3dd106da745ef88cba56f7881982298e6753eeb4a773fb1a28c9be
|