summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--python-mknxgn-essentials.spec370
-rw-r--r--sources1
3 files changed, 372 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..4f87ad1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/MkNxGn_Essentials-0.1.38.tar.gz
diff --git a/python-mknxgn-essentials.spec b/python-mknxgn-essentials.spec
new file mode 100644
index 0000000..6004b30
--- /dev/null
+++ b/python-mknxgn-essentials.spec
@@ -0,0 +1,370 @@
+%global _empty_manifest_terminate_build 0
+Name: python-MkNxGn-Essentials
+Version: 0.1.38
+Release: 1
+Summary: MkNxGn File Writing, Network Essentials and More - A lot more
+License: MIT License
+URL: https://mknxgn.com/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/01/bf/836a119a02dbaa5c40e0dc79d7739718f814cc0f073d60c719e96d6c958b/MkNxGn_Essentials-0.1.38.tar.gz
+BuildArch: noarch
+
+Requires: python3-netifaces
+
+%description
+# mknxgn_essentials
+Essentials for python programming.
+
+This is the package we compile essentials code we use in our products that we deem as "essential".
+
+Installing
+```
+pip3 install mknxng_essentials
+```
+
+# What's Inside
+
+
+## essentials.file_ops
+Read and Write Files.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writing JSON files.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reading JSON files.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writing 'Soft' encryption files<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reading 'Soft' encryption files<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tar Decompressing<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generating Files of X size in MB<br>
+
+``` python
+from essentials import file_ops
+```
+
+## essentials.logger_ops
+Write Log Files.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Debugging with --debug parameter<br>
+
+``` python
+from essentials import logger_ops
+```
+
+## essentials.run_data
+Collects file running data.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Argument Parser<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File Run Time<br>
+
+``` python
+from essentials import run_data
+```
+
+## essentials.socket_ops
+Socket Engine <b>Note:</b> this item has been depreciated, please use essentials.socket_ops_v2<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Hosting Server<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Connecting Client<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WebSocket Support<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Multiple Resources to make socketing with python easier<br>
+
+``` python
+from essentials import socket_ops
+```
+## essentials.socket_ops_v2
+Socket Engine <b>Note:</b> Documentation for this module is not complete<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Hosting Server<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Connecting Client<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WebSocket Support<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Multiple Resources to make socketing with python easier<br>
+
+``` python
+from essentials import socket_ops_v2
+```
+
+## essentials.time_events
+Time Events <b>Note:</b> Documentation for this module is not complete<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Time Event Listener, Calls function when second/minute/hour/day/week/month/year change occurs<br>
+
+``` python
+from essentials import time_events
+```
+
+## essentials.tokening
+Unique Tokening<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assemble Token, Assemble a token at (x)Length with predefined or custom characters<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create Token, Create a token at (x)Length with predefined or custom characters and check is it exists in (y), if so, recreate it. <br>
+
+``` python
+from essentials import tokening
+```
+
+## essentials.search
+Search - base for MkNxGn Search Engines<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Text search - reason; Matches a query to multiple phrases and words and finds the best solution<br>
+<br>
+
+``` python
+from essentials.search import text
+```
+
+
+
+
+%package -n python3-MkNxGn-Essentials
+Summary: MkNxGn File Writing, Network Essentials and More - A lot more
+Provides: python-MkNxGn-Essentials
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-MkNxGn-Essentials
+# mknxgn_essentials
+Essentials for python programming.
+
+This is the package we compile essentials code we use in our products that we deem as "essential".
+
+Installing
+```
+pip3 install mknxng_essentials
+```
+
+# What's Inside
+
+
+## essentials.file_ops
+Read and Write Files.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writing JSON files.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reading JSON files.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writing 'Soft' encryption files<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reading 'Soft' encryption files<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tar Decompressing<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generating Files of X size in MB<br>
+
+``` python
+from essentials import file_ops
+```
+
+## essentials.logger_ops
+Write Log Files.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Debugging with --debug parameter<br>
+
+``` python
+from essentials import logger_ops
+```
+
+## essentials.run_data
+Collects file running data.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Argument Parser<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File Run Time<br>
+
+``` python
+from essentials import run_data
+```
+
+## essentials.socket_ops
+Socket Engine <b>Note:</b> this item has been depreciated, please use essentials.socket_ops_v2<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Hosting Server<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Connecting Client<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WebSocket Support<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Multiple Resources to make socketing with python easier<br>
+
+``` python
+from essentials import socket_ops
+```
+## essentials.socket_ops_v2
+Socket Engine <b>Note:</b> Documentation for this module is not complete<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Hosting Server<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Connecting Client<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WebSocket Support<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Multiple Resources to make socketing with python easier<br>
+
+``` python
+from essentials import socket_ops_v2
+```
+
+## essentials.time_events
+Time Events <b>Note:</b> Documentation for this module is not complete<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Time Event Listener, Calls function when second/minute/hour/day/week/month/year change occurs<br>
+
+``` python
+from essentials import time_events
+```
+
+## essentials.tokening
+Unique Tokening<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assemble Token, Assemble a token at (x)Length with predefined or custom characters<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create Token, Create a token at (x)Length with predefined or custom characters and check is it exists in (y), if so, recreate it. <br>
+
+``` python
+from essentials import tokening
+```
+
+## essentials.search
+Search - base for MkNxGn Search Engines<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Text search - reason; Matches a query to multiple phrases and words and finds the best solution<br>
+<br>
+
+``` python
+from essentials.search import text
+```
+
+
+
+
+%package help
+Summary: Development documents and examples for MkNxGn-Essentials
+Provides: python3-MkNxGn-Essentials-doc
+%description help
+# mknxgn_essentials
+Essentials for python programming.
+
+This is the package we compile essentials code we use in our products that we deem as "essential".
+
+Installing
+```
+pip3 install mknxng_essentials
+```
+
+# What's Inside
+
+
+## essentials.file_ops
+Read and Write Files.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writing JSON files.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reading JSON files.<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writing 'Soft' encryption files<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reading 'Soft' encryption files<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Tar Decompressing<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Generating Files of X size in MB<br>
+
+``` python
+from essentials import file_ops
+```
+
+## essentials.logger_ops
+Write Log Files.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Debugging with --debug parameter<br>
+
+``` python
+from essentials import logger_ops
+```
+
+## essentials.run_data
+Collects file running data.<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Argument Parser<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;File Run Time<br>
+
+``` python
+from essentials import run_data
+```
+
+## essentials.socket_ops
+Socket Engine <b>Note:</b> this item has been depreciated, please use essentials.socket_ops_v2<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Hosting Server<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Connecting Client<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WebSocket Support<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Multiple Resources to make socketing with python easier<br>
+
+``` python
+from essentials import socket_ops
+```
+## essentials.socket_ops_v2
+Socket Engine <b>Note:</b> Documentation for this module is not complete<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Hosting Server<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Socket Connecting Client<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WebSocket Support<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Multiple Resources to make socketing with python easier<br>
+
+``` python
+from essentials import socket_ops_v2
+```
+
+## essentials.time_events
+Time Events <b>Note:</b> Documentation for this module is not complete<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Time Event Listener, Calls function when second/minute/hour/day/week/month/year change occurs<br>
+
+``` python
+from essentials import time_events
+```
+
+## essentials.tokening
+Unique Tokening<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Assemble Token, Assemble a token at (x)Length with predefined or custom characters<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create Token, Create a token at (x)Length with predefined or custom characters and check is it exists in (y), if so, recreate it. <br>
+
+``` python
+from essentials import tokening
+```
+
+## essentials.search
+Search - base for MkNxGn Search Engines<br>
+Includes:<br>
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Text search - reason; Matches a query to multiple phrases and words and finds the best solution<br>
+<br>
+
+``` python
+from essentials.search import text
+```
+
+
+
+
+%prep
+%autosetup -n MkNxGn-Essentials-0.1.38
+
+%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-MkNxGn-Essentials -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.1.38-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..796d8cd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+122cf58810e00c915a559a30f4fefd44 MkNxGn_Essentials-0.1.38.tar.gz