%global _empty_manifest_terminate_build 0
Name: python-clointfusion
Version: 1.1.7
Release: 1
Summary: Python based Automation (RPA) Platform
License: BSD
URL: https://github.com/ClointFusion/ClointFusion
Source0: https://mirrors.aliyun.com/pypi/web/packages/a5/a4/541cde5425c52f85494ce64107d7e14599cfe970d0d3c7e0f6acbf52e45a/clointfusion-1.1.7.tar.gz
BuildArch: noarch
Requires: python3-pandas
Requires: python3-PyAutoGUI
Requires: python3-clipboard
Requires: python3-PySimpleGUI
Requires: python3-emoji
Requires: python3-matplotlib
Requires: python3-openpyxl
Requires: python3-requests
Requires: python3-cryptocode
Requires: python3-xlsx2html
Requires: python3-pyfiglet
Requires: python3-xls2xlsx
Requires: python3-xlwt
Requires: python3-webdriver-manager
Requires: python3-click
Requires: python3-pyinspect
Requires: python3-speedtest-cli
Requires: python3-rich
Requires: python3-SpeechRecognition
Requires: python3-pyttsx3
Requires: python3-win10toast-click
Requires: python3-helium
Requires: python3-colored
%description
# Installation
> ### ClointFusion is now supported on Windows / Ubuntu / macOS* !
## Windows :
> ### Windows users can download EXE pre-loaded with Python 3.9 and ClointFusion package: Windows EXE
### OR
* ClointFusion is compatible with both Windows 10 and Windows 11.
* Installing on a Windows PC is a breeze.
* Make certain that Python 3.8 or Python 3.9 is installed.
* Then, from the command prompt, execute the following command.
```
pip install -U ClointFusion
```
## Ubuntu :
* Clointfusion requires sudo rights to install on Ubuntu.
* Additional Linux packages must be installed before Clointfusion can be installed.
* Make certain that Python 3.8 or Python 3.9 is installed.
* Then, from the command prompt, execute the following command.
```
sudo apt-get install python3-tk python3-dev
sudo pip3 install ClointFusion
```
# Importing
> ### ClointFusion can be accessed using one of two methods.
## Windows :
* ### Terminal : Opens a Python interpreter using the command " import ClointFusion as cf "
```
cf_py
```
* ### Code Editor or IDE : Import ClointFusion first, and then run the file in Python.
```
# cf_bot.py
import ClointFusion as cf
cf.browser_activate()
```
```
python cf_bot.py
```
## Ubuntu :
* ### Terminal : Opens a Python interpreter with the command " import ClointFusion as cf " and the required sudo privileges.
```
sudo cf_py
```
* ### Code Editor or IDE : Run the file with sudo permissions.
```
# cf_bot.py
import ClointFusion as cf
cf.ChromeBrowser()
```
```
sudo python3 cf_bot.py
```
# Features
> ## DOST : Your friend in automation || Build RPA Bots without Code.
` DOST ` is an interactive Blockly based ``no-code`` BOT Builder platform built and optimized for ClointFusion-based BOT building. We feel that automation is important for people other than programmers. Using DOST, even a common man can create a BOT in minutes.
### Advantages of DOST
- Easy to Use.
- Build BOT in minutes.
- No prior Programming knowledge needed.
# ClointFusion in Action
## **Now access more than 100 functions (hit ctrl+space in your IDE)**
***TIP: You can find and inspect all of ClointFusion's functions using only one function i.e., `find()`. Just pass the partial name of the function.***
```
cf.find("sort")
cf.find("gui")
```
* ### 4 functions on Mouse Operations:
| Function | Accepted Parameters | Description |
| :--------: | :----: | :----------- |
| cf.mouse_click() | x=" ", y=" ", left_or_right="left", no_of_clicks=1 | Clicks at the given X Y Co-ordinates on the screen using ingle / double / triple click(s). Optionally copies selected data to clipboard (works for double / triple clicks) |
| cf.mouse_move() | x=" ", y=" " | Moves the cursor to the given X Y Co-ordinates |
| cf.mouse_drag_from_to() | x1=" ", y1=" ", x2=" ",y2=" ", delay=0.5 | Clicks and drags from X1 Y1 co-ordinates to X2 Y2 Co-ordinates on the screen |
| cf.mouse_search_snip_return_coordinates_x_y() | img=" ", wait=180 | Searches the given image on the screen and returns its center of X Y co-ordinates. |
%package -n python3-clointfusion
Summary: Python based Automation (RPA) Platform
Provides: python-clointfusion
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-clointfusion
# Installation
> ### ClointFusion is now supported on Windows / Ubuntu / macOS* !
## Windows :
> ### Windows users can download EXE pre-loaded with Python 3.9 and ClointFusion package: Windows EXE
### OR
* ClointFusion is compatible with both Windows 10 and Windows 11.
* Installing on a Windows PC is a breeze.
* Make certain that Python 3.8 or Python 3.9 is installed.
* Then, from the command prompt, execute the following command.
```
pip install -U ClointFusion
```
## Ubuntu :
* Clointfusion requires sudo rights to install on Ubuntu.
* Additional Linux packages must be installed before Clointfusion can be installed.
* Make certain that Python 3.8 or Python 3.9 is installed.
* Then, from the command prompt, execute the following command.
```
sudo apt-get install python3-tk python3-dev
sudo pip3 install ClointFusion
```
# Importing
> ### ClointFusion can be accessed using one of two methods.
## Windows :
* ### Terminal : Opens a Python interpreter using the command " import ClointFusion as cf "
```
cf_py
```
* ### Code Editor or IDE : Import ClointFusion first, and then run the file in Python.
```
# cf_bot.py
import ClointFusion as cf
cf.browser_activate()
```
```
python cf_bot.py
```
## Ubuntu :
* ### Terminal : Opens a Python interpreter with the command " import ClointFusion as cf " and the required sudo privileges.
```
sudo cf_py
```
* ### Code Editor or IDE : Run the file with sudo permissions.
```
# cf_bot.py
import ClointFusion as cf
cf.ChromeBrowser()
```
```
sudo python3 cf_bot.py
```
# Features
> ## DOST : Your friend in automation || Build RPA Bots without Code.
` DOST ` is an interactive Blockly based ``no-code`` BOT Builder platform built and optimized for ClointFusion-based BOT building. We feel that automation is important for people other than programmers. Using DOST, even a common man can create a BOT in minutes.
### Advantages of DOST
- Easy to Use.
- Build BOT in minutes.
- No prior Programming knowledge needed.
# ClointFusion in Action
## **Now access more than 100 functions (hit ctrl+space in your IDE)**
***TIP: You can find and inspect all of ClointFusion's functions using only one function i.e., `find()`. Just pass the partial name of the function.***
```
cf.find("sort")
cf.find("gui")
```
* ### 4 functions on Mouse Operations:
| Function | Accepted Parameters | Description |
| :--------: | :----: | :----------- |
| cf.mouse_click() | x=" ", y=" ", left_or_right="left", no_of_clicks=1 | Clicks at the given X Y Co-ordinates on the screen using ingle / double / triple click(s). Optionally copies selected data to clipboard (works for double / triple clicks) |
| cf.mouse_move() | x=" ", y=" " | Moves the cursor to the given X Y Co-ordinates |
| cf.mouse_drag_from_to() | x1=" ", y1=" ", x2=" ",y2=" ", delay=0.5 | Clicks and drags from X1 Y1 co-ordinates to X2 Y2 Co-ordinates on the screen |
| cf.mouse_search_snip_return_coordinates_x_y() | img=" ", wait=180 | Searches the given image on the screen and returns its center of X Y co-ordinates. |
%package help
Summary: Development documents and examples for clointfusion
Provides: python3-clointfusion-doc
%description help
# Installation
> ### ClointFusion is now supported on Windows / Ubuntu / macOS* !
## Windows :
> ### Windows users can download EXE pre-loaded with Python 3.9 and ClointFusion package: Windows EXE
### OR
* ClointFusion is compatible with both Windows 10 and Windows 11.
* Installing on a Windows PC is a breeze.
* Make certain that Python 3.8 or Python 3.9 is installed.
* Then, from the command prompt, execute the following command.
```
pip install -U ClointFusion
```
## Ubuntu :
* Clointfusion requires sudo rights to install on Ubuntu.
* Additional Linux packages must be installed before Clointfusion can be installed.
* Make certain that Python 3.8 or Python 3.9 is installed.
* Then, from the command prompt, execute the following command.
```
sudo apt-get install python3-tk python3-dev
sudo pip3 install ClointFusion
```
# Importing
> ### ClointFusion can be accessed using one of two methods.
## Windows :
* ### Terminal : Opens a Python interpreter using the command " import ClointFusion as cf "
```
cf_py
```
* ### Code Editor or IDE : Import ClointFusion first, and then run the file in Python.
```
# cf_bot.py
import ClointFusion as cf
cf.browser_activate()
```
```
python cf_bot.py
```
## Ubuntu :
* ### Terminal : Opens a Python interpreter with the command " import ClointFusion as cf " and the required sudo privileges.
```
sudo cf_py
```
* ### Code Editor or IDE : Run the file with sudo permissions.
```
# cf_bot.py
import ClointFusion as cf
cf.ChromeBrowser()
```
```
sudo python3 cf_bot.py
```
# Features
> ## DOST : Your friend in automation || Build RPA Bots without Code.
` DOST ` is an interactive Blockly based ``no-code`` BOT Builder platform built and optimized for ClointFusion-based BOT building. We feel that automation is important for people other than programmers. Using DOST, even a common man can create a BOT in minutes.
### Advantages of DOST
- Easy to Use.
- Build BOT in minutes.
- No prior Programming knowledge needed.
# ClointFusion in Action
## **Now access more than 100 functions (hit ctrl+space in your IDE)**
***TIP: You can find and inspect all of ClointFusion's functions using only one function i.e., `find()`. Just pass the partial name of the function.***
```
cf.find("sort")
cf.find("gui")
```
* ### 4 functions on Mouse Operations:
| Function | Accepted Parameters | Description |
| :--------: | :----: | :----------- |
| cf.mouse_click() | x=" ", y=" ", left_or_right="left", no_of_clicks=1 | Clicks at the given X Y Co-ordinates on the screen using ingle / double / triple click(s). Optionally copies selected data to clipboard (works for double / triple clicks) |
| cf.mouse_move() | x=" ", y=" " | Moves the cursor to the given X Y Co-ordinates |
| cf.mouse_drag_from_to() | x1=" ", y1=" ", x2=" ",y2=" ", delay=0.5 | Clicks and drags from X1 Y1 co-ordinates to X2 Y2 Co-ordinates on the screen |
| cf.mouse_search_snip_return_coordinates_x_y() | img=" ", wait=180 | Searches the given image on the screen and returns its center of X Y co-ordinates. |
%prep
%autosetup -n clointfusion-1.1.7
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-clointfusion -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Tue Jun 20 2023 Python_Bot - 1.1.7-1
- Package Spec generated