summaryrefslogtreecommitdiff
path: root/python-flowmaster.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-flowmaster.spec')
-rw-r--r--python-flowmaster.spec342
1 files changed, 342 insertions, 0 deletions
diff --git a/python-flowmaster.spec b/python-flowmaster.spec
new file mode 100644
index 0000000..677cd08
--- /dev/null
+++ b/python-flowmaster.spec
@@ -0,0 +1,342 @@
+%global _empty_manifest_terminate_build 0
+Name: python-FlowMaster
+Version: 0.7.1
+Release: 1
+Summary: ETL flow framework based on Yaml configs in Python
+License: GPLv3
+URL: https://github.com/pavelmaksimov/flowmaster
+Source0: https://mirrors.aliyun.com/pypi/web/packages/32/d7/cfd55f54093b1ab203b42c4e5568655703297f6b6aef80602ca283c5144e/FlowMaster-0.7.1.tar.gz
+BuildArch: noarch
+
+
+%description
+![logo](docs/img/logoza.ru.png)
+
+# ETL framework based on Yaml configs in Python
+
+![Supported Python Versions](https://img.shields.io/static/v1?label=python&message=>=3.9&color=blue)
+![License](https://img.shields.io/static/v1?label=license&message=GPLv3&color=green)
+<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
+
+A light framework for creating data streams.
+Setting up streams through configuration in the Yaml file.
+There is a schedule, task pools, concurrency limitation.
+Works quickly, does not require a lot of resources.
+Runs on Windows and Linux.
+Flow run in parallel via threading library.
+Internally SQLite Database.
+Native data transformation.
+There is a web interface.
+
+At the moment there are connectors to sources
+- CSV file
+- SQLite
+- Postgres
+- MySQL
+- Yandex Metrika Management API
+- Yandex Metrika Stats API
+- Yandex Metrika Logs API
+- Yandex Direct API
+- Yandex Direct Report API
+- Criteo
+- Google Sheets
+
+Storages
+- Save to csv file
+- Clickhouse
+
+
+## [Documentation](docs/main.md)
+
+## Requirements
+- python >=3.9
+- virtual environment
+
+
+## Settings
+
+**It is highly recommended to install in a virtual environment.**
+
+Flowmaster needs a home, '{HOME}/FlowMaster' is the default,\
+but you can lay foundation somewhere else if you prefer\
+(optional)
+
+For Windows
+
+ setx FLOWMASTER_HOME "{YOUR_PATH}"
+
+For Linux
+
+ export FLOWMASTER_HOME={YOUR_PATH}
+
+## Installing
+ pip install flowmaster==0.7.1
+
+ # For install web UI.
+ pip install flowmaster[webui]==0.7.1
+
+ # Optional libraries.
+ pip install flowmaster[clickhouse,postgres,mysql,yandexdirect,yandexmetrika,criteo,googlesheets]==0.7.1
+
+## Run
+ flowmaster run --help
+ flowmaster run
+
+## WEB UI
+http://localhost:8822
+
+## [CHANGELOG](CHANGELOG.md)
+
+
+## Support
+
+[Telegram support chat](https://t.me/joinchat/DhWJYG_yECYyYTEy)
+
+
+## Author
+Pavel Maksimov
+
+My contacts
+[Telegram](https://t.me/pavel_maksimow),
+[Facebook](https://www.facebook.com/pavel.maksimow)
+
+Удачи тебе, друг! Поставь звездочку ;)
+
+%package -n python3-FlowMaster
+Summary: ETL flow framework based on Yaml configs in Python
+Provides: python-FlowMaster
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-FlowMaster
+![logo](docs/img/logoza.ru.png)
+
+# ETL framework based on Yaml configs in Python
+
+![Supported Python Versions](https://img.shields.io/static/v1?label=python&message=>=3.9&color=blue)
+![License](https://img.shields.io/static/v1?label=license&message=GPLv3&color=green)
+<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
+
+A light framework for creating data streams.
+Setting up streams through configuration in the Yaml file.
+There is a schedule, task pools, concurrency limitation.
+Works quickly, does not require a lot of resources.
+Runs on Windows and Linux.
+Flow run in parallel via threading library.
+Internally SQLite Database.
+Native data transformation.
+There is a web interface.
+
+At the moment there are connectors to sources
+- CSV file
+- SQLite
+- Postgres
+- MySQL
+- Yandex Metrika Management API
+- Yandex Metrika Stats API
+- Yandex Metrika Logs API
+- Yandex Direct API
+- Yandex Direct Report API
+- Criteo
+- Google Sheets
+
+Storages
+- Save to csv file
+- Clickhouse
+
+
+## [Documentation](docs/main.md)
+
+## Requirements
+- python >=3.9
+- virtual environment
+
+
+## Settings
+
+**It is highly recommended to install in a virtual environment.**
+
+Flowmaster needs a home, '{HOME}/FlowMaster' is the default,\
+but you can lay foundation somewhere else if you prefer\
+(optional)
+
+For Windows
+
+ setx FLOWMASTER_HOME "{YOUR_PATH}"
+
+For Linux
+
+ export FLOWMASTER_HOME={YOUR_PATH}
+
+## Installing
+ pip install flowmaster==0.7.1
+
+ # For install web UI.
+ pip install flowmaster[webui]==0.7.1
+
+ # Optional libraries.
+ pip install flowmaster[clickhouse,postgres,mysql,yandexdirect,yandexmetrika,criteo,googlesheets]==0.7.1
+
+## Run
+ flowmaster run --help
+ flowmaster run
+
+## WEB UI
+http://localhost:8822
+
+## [CHANGELOG](CHANGELOG.md)
+
+
+## Support
+
+[Telegram support chat](https://t.me/joinchat/DhWJYG_yECYyYTEy)
+
+
+## Author
+Pavel Maksimov
+
+My contacts
+[Telegram](https://t.me/pavel_maksimow),
+[Facebook](https://www.facebook.com/pavel.maksimow)
+
+Удачи тебе, друг! Поставь звездочку ;)
+
+%package help
+Summary: Development documents and examples for FlowMaster
+Provides: python3-FlowMaster-doc
+%description help
+![logo](docs/img/logoza.ru.png)
+
+# ETL framework based on Yaml configs in Python
+
+![Supported Python Versions](https://img.shields.io/static/v1?label=python&message=>=3.9&color=blue)
+![License](https://img.shields.io/static/v1?label=license&message=GPLv3&color=green)
+<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg"></a>
+
+A light framework for creating data streams.
+Setting up streams through configuration in the Yaml file.
+There is a schedule, task pools, concurrency limitation.
+Works quickly, does not require a lot of resources.
+Runs on Windows and Linux.
+Flow run in parallel via threading library.
+Internally SQLite Database.
+Native data transformation.
+There is a web interface.
+
+At the moment there are connectors to sources
+- CSV file
+- SQLite
+- Postgres
+- MySQL
+- Yandex Metrika Management API
+- Yandex Metrika Stats API
+- Yandex Metrika Logs API
+- Yandex Direct API
+- Yandex Direct Report API
+- Criteo
+- Google Sheets
+
+Storages
+- Save to csv file
+- Clickhouse
+
+
+## [Documentation](docs/main.md)
+
+## Requirements
+- python >=3.9
+- virtual environment
+
+
+## Settings
+
+**It is highly recommended to install in a virtual environment.**
+
+Flowmaster needs a home, '{HOME}/FlowMaster' is the default,\
+but you can lay foundation somewhere else if you prefer\
+(optional)
+
+For Windows
+
+ setx FLOWMASTER_HOME "{YOUR_PATH}"
+
+For Linux
+
+ export FLOWMASTER_HOME={YOUR_PATH}
+
+## Installing
+ pip install flowmaster==0.7.1
+
+ # For install web UI.
+ pip install flowmaster[webui]==0.7.1
+
+ # Optional libraries.
+ pip install flowmaster[clickhouse,postgres,mysql,yandexdirect,yandexmetrika,criteo,googlesheets]==0.7.1
+
+## Run
+ flowmaster run --help
+ flowmaster run
+
+## WEB UI
+http://localhost:8822
+
+## [CHANGELOG](CHANGELOG.md)
+
+
+## Support
+
+[Telegram support chat](https://t.me/joinchat/DhWJYG_yECYyYTEy)
+
+
+## Author
+Pavel Maksimov
+
+My contacts
+[Telegram](https://t.me/pavel_maksimow),
+[Facebook](https://www.facebook.com/pavel.maksimow)
+
+Удачи тебе, друг! Поставь звездочку ;)
+
+%prep
+%autosetup -n FlowMaster-0.7.1
+
+%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-FlowMaster -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Jun 20 2023 Python_Bot <Python_Bot@openeuler.org> - 0.7.1-1
+- Package Spec generated