Skip to main content

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 module
  • hello() – Returns "Hello World" if initialized

web.py

  • send_get_request(url, params=None, headers=None) – Send GET request
  • send_post_request(url, data=None, json=None, headers=None) – Send POST request
  • send_put_request(url, data=None, json=None, headers=None) – Send PUT request
  • send_delete_request(url, headers=None) – Send DELETE request
  • Open_URL(url, mode="") – Open URL in browser (mode="new", "new_tab", or None)

data_utils.py

  • mean(data: List[Union[int, float]]) -> float – Calculate the mean
  • median(data: List[Union[int, float]]) -> Union[int, float] – Calculate the median
  • max_value(data: List[Union[int, float]]) -> Union[int, float] – Return maximum value
  • min_value(data: List[Union[int, float]]) -> Union[int, float] – Return minimum value
  • std_dev(data: List[Union[int, float]]) -> float – Calculate standard deviation
  • total_sum(data: List[Union[int, float]]) -> Union[int, float] – Return total sum
  • analyze_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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vinsany-0.0.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for vinsany-0.0.4.tar.gz
Algorithm Hash digest
SHA256 a07af9a2ae31fac22703560c1f8e41790696802ad0ee56fe21b5c4d0bb0054df
MD5 7c58415a23dbe1a1ae965a82b56cd581
BLAKE2b-256 75e1f0e49e7f45a5bfcb8e20b9ceb5ae06a1fd6166272389f36c1a67a34c142d

See more details on using hashes here.

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

Hashes for vinsany-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3e23ed32d2da35583f5479932e643c0dbd8cc5c627d5f1d200bb057707161736
MD5 84ebe5deefa94b21b9d944c9cb0a2d1e
BLAKE2b-256 5ff530659f3dd106da745ef88cba56f7881982298e6753eeb4a773fb1a28c9be

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page