summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-09 03:40:52 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-03-09 03:40:52 +0000
commit10b934dd158f38904419a8fe9f6167862b371616 (patch)
treea629e8b755a80c82f3b648ca9aa9f7de4bbd0565
parent21e3568d52c348318c050854e95da1683d89428c (diff)
automatic import of python-databay
-rw-r--r--.gitignore1
-rw-r--r--python-databay.spec234
-rw-r--r--sources1
3 files changed, 236 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..a233ed3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/databay-0.3.0.tar.gz
diff --git a/python-databay.spec b/python-databay.spec
new file mode 100644
index 0000000..aba64cd
--- /dev/null
+++ b/python-databay.spec
@@ -0,0 +1,234 @@
+%global _empty_manifest_terminate_build 0
+Name: python-databay
+Version: 0.3.0
+Release: 1
+Summary: Databay is a Python interface for scheduled data transfer. It facilitates transfer of (any) data from A to B, on a scheduled interval.
+License: Apache-2.0
+URL: https://github.com/Voyz/databay
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/30/31/e6ffa51794438f1af19265b94976a4ae13626369cd438c7002f8bde7675b/databay-0.3.0.tar.gz
+BuildArch: noarch
+
+
+%description
+While Databay comes with a handful of built-in inlets and outlets, its strength lies in extendability. To use Databay in your project, create concrete implementations of `Inlet` and `Outlet` classes that handle the data production and consumption functionality you require. Databay will then make sure data can repeatedly flow between the inlets and outlets you create. [Extending inlets][extending_inlets] and [extending outlets][extending_outlets] is easy and has a wide range of customization. Head over to [Extending Databay][extending] section for a detailed explanation or to [Examples][examples] for real use cases.
+## Supported Python Versions
+| Python Version | <3.6 | 3.6 | 3.7 | 3.8 | 3.9 |
+|---------------- |------ |----- |----- |----- |----- |
+| Supported | ❌ | ✅ | ✅ | ✅ | ✅ |
+## <a name="community"></a>Community Contributions
+We aim to support the ecosystem of Databay users by collating and promoting inlets and outlets that implement popular functionalities. We encourage you to share the inlets and outlets you write with the community - start by reading the [guidelines][community_docs] on contributing to the Databay community.
+Did you write a cool inlet or outlet that you'd like to share with others? Put it on a public repo, send us an [email][voy1982_email] and we'll list it here!
+[voy1982@yahoo.co.uk][voy1982_email]
+#### Inlets
+* [FileInlet](https://databay.readthedocs.io/en/latest/api/databay/inlets/file_inlet/index.html) - File input inlet (built-in).
+* [HttpInlet](https://databay.readthedocs.io/en/latest/api/databay/inlets/http_inlet/index.html) - Asynchronous http request inlet using aiohttp (built-in).
+#### Outlets
+* [FileOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/file_outlet/index.html) - Generic file outlet (built-in).
+* [CsvOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/csv_outlet/index.html) - CSV file outlet (built-in).
+* [MongoOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/mongo_outlet/index.html) - MongoDB outlet (built-in).
+#### Requests
+The following are inlets and outlets that others would like to see implemented. Feel free to build an item from this list and share your implementation! Let us know if you'd like to add an item to this list.
+* PostgreSqlOutlet - [PostgreSQL](https://www.postgresql.org/) Outlet
+## <a name="roadmap"></a>Roadmap
+See full [Databay Roadmap][databay_roadmap]. Bare in mind this a live document that is shared to give you an idea of what can be expected in the future releases, rather than a locked schedule. Priorities and order of implementation may change without warning.
+#### v1.0
+1. Beta test the pre-release.
+1. ~~Complete 100% test coverage.~~
+1. ~~Add more advanced examples.~~
+1. Release v1.0.
+1. Buy a carrot cake and celebrate.
+#### v1.1
+1. Filters and translators - callbacks for processing data between inlets and outlets.
+1. Advanced scheduling - conditional, non uniform intervals.
+## Licence
+See [LICENSE](https://github.com/Voyz/databay/blob/master/LICENSE)
+ [docs]: https://databay.readthedocs.io/
+ [overview]: https://databay.readthedocs.io/en/latest/introduction.html#overview
+ [examples]: https://databay.readthedocs.io/en/latest/examples.html
+ [api]: https://databay.readthedocs.io/en/latest/api/databay/index.html
+ [aps]: http://apscheduler.readthedocs.io/
+ [schedule]: https://schedule.readthedocs.io/
+ [simple_example]: https://databay.readthedocs.io/en/latest/examples.html#simple-usage
+ [extending]: https://databay.readthedocs.io/en/latest/extending.html
+ [extending_inlets]: https://databay.readthedocs.io/en/latest/extending/extending_inlets.html
+ [extending_outlets]: https://databay.readthedocs.io/en/latest/extending/extending_outlets.html
+ [asyncio]: https://docs.python.org/3/library/asyncio.html
+ [records]: https://databay.readthedocs.io/en/latest/introduction.html#records
+ [scheduling]: https://databay.readthedocs.io/en/latest/introduction.html#scheduling
+ [exceptions]: https://databay.readthedocs.io/en/latest/introduction.html#exception-handling
+ [logging]: https://databay.readthedocs.io/en/latest/introduction.html#logging
+ [extending_base_planner]: https://databay.readthedocs.io/en/latest/extending/extending_base_planner.html
+ [startup_and_shutdown]: https://databay.readthedocs.io/en/latest/introduction.html#start-and-shutdown
+ [async_inlet]: https://databay.readthedocs.io/en/latest/extending/extending_inlets.html#asynchronous-inlet
+ [async_outlet]: https://databay.readthedocs.io/en/latest/extending/extending_outlets.html#asynchronous-outlet
+ [voy1982_email]: mailto:voy1982@yahoo.co.uk
+ [issues]: https://github.com/Voyz/databay/issues
+ [community_docs]: https://databay.readthedocs.io/en/latest/extending/community_contributions.html
+ [databay_roadmap]: http://bit.ly/databay-roadmap
+
+%package -n python3-databay
+Summary: Databay is a Python interface for scheduled data transfer. It facilitates transfer of (any) data from A to B, on a scheduled interval.
+Provides: python-databay
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-databay
+While Databay comes with a handful of built-in inlets and outlets, its strength lies in extendability. To use Databay in your project, create concrete implementations of `Inlet` and `Outlet` classes that handle the data production and consumption functionality you require. Databay will then make sure data can repeatedly flow between the inlets and outlets you create. [Extending inlets][extending_inlets] and [extending outlets][extending_outlets] is easy and has a wide range of customization. Head over to [Extending Databay][extending] section for a detailed explanation or to [Examples][examples] for real use cases.
+## Supported Python Versions
+| Python Version | <3.6 | 3.6 | 3.7 | 3.8 | 3.9 |
+|---------------- |------ |----- |----- |----- |----- |
+| Supported | ❌ | ✅ | ✅ | ✅ | ✅ |
+## <a name="community"></a>Community Contributions
+We aim to support the ecosystem of Databay users by collating and promoting inlets and outlets that implement popular functionalities. We encourage you to share the inlets and outlets you write with the community - start by reading the [guidelines][community_docs] on contributing to the Databay community.
+Did you write a cool inlet or outlet that you'd like to share with others? Put it on a public repo, send us an [email][voy1982_email] and we'll list it here!
+[voy1982@yahoo.co.uk][voy1982_email]
+#### Inlets
+* [FileInlet](https://databay.readthedocs.io/en/latest/api/databay/inlets/file_inlet/index.html) - File input inlet (built-in).
+* [HttpInlet](https://databay.readthedocs.io/en/latest/api/databay/inlets/http_inlet/index.html) - Asynchronous http request inlet using aiohttp (built-in).
+#### Outlets
+* [FileOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/file_outlet/index.html) - Generic file outlet (built-in).
+* [CsvOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/csv_outlet/index.html) - CSV file outlet (built-in).
+* [MongoOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/mongo_outlet/index.html) - MongoDB outlet (built-in).
+#### Requests
+The following are inlets and outlets that others would like to see implemented. Feel free to build an item from this list and share your implementation! Let us know if you'd like to add an item to this list.
+* PostgreSqlOutlet - [PostgreSQL](https://www.postgresql.org/) Outlet
+## <a name="roadmap"></a>Roadmap
+See full [Databay Roadmap][databay_roadmap]. Bare in mind this a live document that is shared to give you an idea of what can be expected in the future releases, rather than a locked schedule. Priorities and order of implementation may change without warning.
+#### v1.0
+1. Beta test the pre-release.
+1. ~~Complete 100% test coverage.~~
+1. ~~Add more advanced examples.~~
+1. Release v1.0.
+1. Buy a carrot cake and celebrate.
+#### v1.1
+1. Filters and translators - callbacks for processing data between inlets and outlets.
+1. Advanced scheduling - conditional, non uniform intervals.
+## Licence
+See [LICENSE](https://github.com/Voyz/databay/blob/master/LICENSE)
+ [docs]: https://databay.readthedocs.io/
+ [overview]: https://databay.readthedocs.io/en/latest/introduction.html#overview
+ [examples]: https://databay.readthedocs.io/en/latest/examples.html
+ [api]: https://databay.readthedocs.io/en/latest/api/databay/index.html
+ [aps]: http://apscheduler.readthedocs.io/
+ [schedule]: https://schedule.readthedocs.io/
+ [simple_example]: https://databay.readthedocs.io/en/latest/examples.html#simple-usage
+ [extending]: https://databay.readthedocs.io/en/latest/extending.html
+ [extending_inlets]: https://databay.readthedocs.io/en/latest/extending/extending_inlets.html
+ [extending_outlets]: https://databay.readthedocs.io/en/latest/extending/extending_outlets.html
+ [asyncio]: https://docs.python.org/3/library/asyncio.html
+ [records]: https://databay.readthedocs.io/en/latest/introduction.html#records
+ [scheduling]: https://databay.readthedocs.io/en/latest/introduction.html#scheduling
+ [exceptions]: https://databay.readthedocs.io/en/latest/introduction.html#exception-handling
+ [logging]: https://databay.readthedocs.io/en/latest/introduction.html#logging
+ [extending_base_planner]: https://databay.readthedocs.io/en/latest/extending/extending_base_planner.html
+ [startup_and_shutdown]: https://databay.readthedocs.io/en/latest/introduction.html#start-and-shutdown
+ [async_inlet]: https://databay.readthedocs.io/en/latest/extending/extending_inlets.html#asynchronous-inlet
+ [async_outlet]: https://databay.readthedocs.io/en/latest/extending/extending_outlets.html#asynchronous-outlet
+ [voy1982_email]: mailto:voy1982@yahoo.co.uk
+ [issues]: https://github.com/Voyz/databay/issues
+ [community_docs]: https://databay.readthedocs.io/en/latest/extending/community_contributions.html
+ [databay_roadmap]: http://bit.ly/databay-roadmap
+
+%package help
+Summary: Development documents and examples for databay
+Provides: python3-databay-doc
+%description help
+While Databay comes with a handful of built-in inlets and outlets, its strength lies in extendability. To use Databay in your project, create concrete implementations of `Inlet` and `Outlet` classes that handle the data production and consumption functionality you require. Databay will then make sure data can repeatedly flow between the inlets and outlets you create. [Extending inlets][extending_inlets] and [extending outlets][extending_outlets] is easy and has a wide range of customization. Head over to [Extending Databay][extending] section for a detailed explanation or to [Examples][examples] for real use cases.
+## Supported Python Versions
+| Python Version | <3.6 | 3.6 | 3.7 | 3.8 | 3.9 |
+|---------------- |------ |----- |----- |----- |----- |
+| Supported | ❌ | ✅ | ✅ | ✅ | ✅ |
+## <a name="community"></a>Community Contributions
+We aim to support the ecosystem of Databay users by collating and promoting inlets and outlets that implement popular functionalities. We encourage you to share the inlets and outlets you write with the community - start by reading the [guidelines][community_docs] on contributing to the Databay community.
+Did you write a cool inlet or outlet that you'd like to share with others? Put it on a public repo, send us an [email][voy1982_email] and we'll list it here!
+[voy1982@yahoo.co.uk][voy1982_email]
+#### Inlets
+* [FileInlet](https://databay.readthedocs.io/en/latest/api/databay/inlets/file_inlet/index.html) - File input inlet (built-in).
+* [HttpInlet](https://databay.readthedocs.io/en/latest/api/databay/inlets/http_inlet/index.html) - Asynchronous http request inlet using aiohttp (built-in).
+#### Outlets
+* [FileOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/file_outlet/index.html) - Generic file outlet (built-in).
+* [CsvOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/csv_outlet/index.html) - CSV file outlet (built-in).
+* [MongoOutlet](https://databay.readthedocs.io/en/latest/api/databay/outlets/mongo_outlet/index.html) - MongoDB outlet (built-in).
+#### Requests
+The following are inlets and outlets that others would like to see implemented. Feel free to build an item from this list and share your implementation! Let us know if you'd like to add an item to this list.
+* PostgreSqlOutlet - [PostgreSQL](https://www.postgresql.org/) Outlet
+## <a name="roadmap"></a>Roadmap
+See full [Databay Roadmap][databay_roadmap]. Bare in mind this a live document that is shared to give you an idea of what can be expected in the future releases, rather than a locked schedule. Priorities and order of implementation may change without warning.
+#### v1.0
+1. Beta test the pre-release.
+1. ~~Complete 100% test coverage.~~
+1. ~~Add more advanced examples.~~
+1. Release v1.0.
+1. Buy a carrot cake and celebrate.
+#### v1.1
+1. Filters and translators - callbacks for processing data between inlets and outlets.
+1. Advanced scheduling - conditional, non uniform intervals.
+## Licence
+See [LICENSE](https://github.com/Voyz/databay/blob/master/LICENSE)
+ [docs]: https://databay.readthedocs.io/
+ [overview]: https://databay.readthedocs.io/en/latest/introduction.html#overview
+ [examples]: https://databay.readthedocs.io/en/latest/examples.html
+ [api]: https://databay.readthedocs.io/en/latest/api/databay/index.html
+ [aps]: http://apscheduler.readthedocs.io/
+ [schedule]: https://schedule.readthedocs.io/
+ [simple_example]: https://databay.readthedocs.io/en/latest/examples.html#simple-usage
+ [extending]: https://databay.readthedocs.io/en/latest/extending.html
+ [extending_inlets]: https://databay.readthedocs.io/en/latest/extending/extending_inlets.html
+ [extending_outlets]: https://databay.readthedocs.io/en/latest/extending/extending_outlets.html
+ [asyncio]: https://docs.python.org/3/library/asyncio.html
+ [records]: https://databay.readthedocs.io/en/latest/introduction.html#records
+ [scheduling]: https://databay.readthedocs.io/en/latest/introduction.html#scheduling
+ [exceptions]: https://databay.readthedocs.io/en/latest/introduction.html#exception-handling
+ [logging]: https://databay.readthedocs.io/en/latest/introduction.html#logging
+ [extending_base_planner]: https://databay.readthedocs.io/en/latest/extending/extending_base_planner.html
+ [startup_and_shutdown]: https://databay.readthedocs.io/en/latest/introduction.html#start-and-shutdown
+ [async_inlet]: https://databay.readthedocs.io/en/latest/extending/extending_inlets.html#asynchronous-inlet
+ [async_outlet]: https://databay.readthedocs.io/en/latest/extending/extending_outlets.html#asynchronous-outlet
+ [voy1982_email]: mailto:voy1982@yahoo.co.uk
+ [issues]: https://github.com/Voyz/databay/issues
+ [community_docs]: https://databay.readthedocs.io/en/latest/extending/community_contributions.html
+ [databay_roadmap]: http://bit.ly/databay-roadmap
+
+%prep
+%autosetup -n databay-0.3.0
+
+%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-databay -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu Mar 09 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..089c032
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+5ac4a427ada76ba0103130bb5720ab4b databay-0.3.0.tar.gz