Metadata-Version: 2.1
Name: curvv
Version: 0.4.25
Summary: A Python Package for increase in success of deployability of a program on a different device.
Home-page: https://github.com/Khalid-Azmatullah/curvv
Author: Khalid Azmatullah
Classifier: Topic :: Desktop Environment
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: bs4
Requires-Dist: requests
Requires-Dist: colorama
Requires-Dist: rich
Requires-Dist: importlib
Requires-Dist: argparse

<svg width="33" height="9" viewBox="0 0 33 9" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M7.15199 3.36222H5.37642C5.35275 3.17992 5.30421 3.01539 5.23082 2.86861C5.15743 2.72183 5.06037 2.59635 4.93963 2.49219C4.81889 2.38802 4.67566 2.30871 4.50994 2.25426C4.34659 2.19744 4.16548 2.16903 3.96662 2.16903C3.61387 2.16903 3.30966 2.25544 3.05398 2.42827C2.80066 2.60109 2.60535 2.85085 2.46804 3.17756C2.3331 3.50426 2.26562 3.89962 2.26562 4.36364C2.26562 4.84659 2.33428 5.25142 2.47159 5.57812C2.61127 5.90246 2.80658 6.14749 3.05753 6.31321C3.31084 6.47656 3.61032 6.55824 3.95597 6.55824C4.15009 6.55824 4.32647 6.53338 4.48509 6.48366C4.64607 6.43395 4.78693 6.36174 4.90767 6.26705C5.03078 6.16998 5.13139 6.05279 5.20952 5.91548C5.29001 5.7758 5.34564 5.61837 5.37642 5.44318L7.15199 5.45384C7.12121 5.7758 7.0277 6.09304 6.87145 6.40554C6.71757 6.71804 6.50568 7.00331 6.2358 7.26136C5.96591 7.51705 5.63684 7.72064 5.24858 7.87216C4.86269 8.02367 4.41998 8.09943 3.92045 8.09943C3.26231 8.09943 2.67282 7.95502 2.15199 7.66619C1.63352 7.375 1.22396 6.95123 0.923295 6.39489C0.622633 5.83854 0.472301 5.16146 0.472301 4.36364C0.472301 3.56345 0.625 2.88518 0.930398 2.32884C1.2358 1.77249 1.64891 1.34991 2.16974 1.06108C2.69058 0.772254 3.27415 0.627841 3.92045 0.627841C4.3608 0.627841 4.76799 0.689394 5.14205 0.8125C5.5161 0.933238 5.84517 1.1108 6.12926 1.34517C6.41335 1.57718 6.64418 1.86245 6.82173 2.20099C6.99929 2.53954 7.10938 2.92661 7.15199 3.36222ZM11.677 5.6456V2.54545H13.41V8H11.7551V6.98438H11.6983C11.5776 7.31818 11.3716 7.58333 11.0804 7.77983C10.7916 7.97396 10.4424 8.07102 10.0328 8.07102C9.66116 8.07102 9.33446 7.9858 9.05273 7.81534C8.77101 7.64489 8.55202 7.40696 8.39577 7.10156C8.23952 6.7938 8.16022 6.43395 8.15785 6.02202V2.54545H9.89435V5.68111C9.89672 5.97704 9.97485 6.21023 10.1287 6.38068C10.2826 6.55114 10.4921 6.63636 10.7573 6.63636C10.9301 6.63636 11.0852 6.59848 11.2225 6.52273C11.3622 6.4446 11.4722 6.33215 11.5527 6.18537C11.6356 6.03622 11.677 5.8563 11.677 5.6456ZM14.5153 8V2.54545H16.2021V3.53977H16.2589C16.3583 3.17992 16.5205 2.91241 16.7454 2.73722C16.9703 2.55966 17.2319 2.47088 17.5302 2.47088C17.6107 2.47088 17.6935 2.4768 17.7788 2.48864C17.864 2.49811 17.9433 2.51349 18.0167 2.5348V4.04403C17.9338 4.01562 17.8249 3.99313 17.69 3.97656C17.5574 3.95999 17.439 3.9517 17.3349 3.9517C17.1289 3.9517 16.9431 3.99787 16.7773 4.0902C16.614 4.18016 16.485 4.30682 16.3903 4.47017C16.2979 4.63116 16.2518 4.82055 16.2518 5.03835V8H14.5153ZM24.1815 2.54545L22.31 8H20.3214L18.4535 2.54545H20.2823L21.2873 6.30256H21.3441L22.3526 2.54545H24.1815ZM30.1385 2.54545L28.267 8H26.2784L24.4105 2.54545H26.2393L27.2443 6.30256H27.3011L28.3097 2.54545H30.1385ZM31.4391 8.10298C31.1834 8.10298 30.9644 8.01302 30.7821 7.8331C30.6022 7.65317 30.5134 7.43537 30.5158 7.17969C30.5134 6.92874 30.6022 6.71449 30.7821 6.53693C30.9644 6.35701 31.1834 6.26705 31.4391 6.26705C31.6806 6.26705 31.8936 6.35701 32.0783 6.53693C32.2653 6.71449 32.36 6.92874 32.3624 7.17969C32.36 7.35014 32.315 7.50521 32.2275 7.64489C32.1422 7.78456 32.0298 7.89583 31.8901 7.97869C31.7528 8.06155 31.6025 8.10298 31.4391 8.10298Z" fill="black"/>
</svg>

<h1 align="center">
<img src="https://github.com/user-attachments/assets/9841929a-a4c6-4a68-8397-b019057b0ac3" width="300">
</h1><br>

[Curvv](https://pypi.org/project/curvv/) is an open-minded **python package** which focuses on **deployability** of a program on devices which do not have required packages installed along with other functionality.

To install curvv run:
```
pip install curvv
```

## Uses

The best function of curvv is the **packageSafety(_\*args_)**.

For example, suppose you are making a program that requires you to import the [*numpy*](https://pypi.org/project/numpy/) package however you are not sure if the device where the program shall run has [*numpy*](https://pypi.org/project/numpy/)
installed. This is where the **packageSafety(_\*args_)** function becomes useful. 

Just write:
```
import curvv
from curvv import packageSafety as pS

pS("numpy")
```
This shall check if the [*numpy*](https://pypi.org/project/numpy/) package is installed and if it does not find the package it will automatically install the package(s).

![Curvv_logo](https://upload.wikimedia.org/wikipedia/commons/7/70/Docker_logo.png)


Other funx include:
- wait( *\*time* )
- end( *\*time* )
- clearCache()

## Other CLI commands

Curvv has CLI commands for various tasks. 

### New Github Repository.

Simply run the following in the command prompt:
```
cvv gh-new --token TOKEN --name NAME --type TYPE
```

### TaskVault Portable (Beta version 0.0.2)

Simply run the following in the command prompt:
```
cvv async --launch TSV
```

## Last Updated:
```
05/10/2024
```

## Issues
- Run Time
  ![Loading_gif](https://upload.wikimedia.org/wikipedia/commons/a/a5/Barralgoogog.gif)

## Acknowledgements
- [Wikimedia](https://commons.wikimedia.org/wiki/Main_Page)
- [Github Docs](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax)
- [Pixegami](https://www.youtube.com/watch?v=Kz6IlDCyOUY)
