diff options
| author | Rishi-k-s <rishikrishna.sr@gmail.com> | 2024-04-15 20:45:02 +0530 |
|---|---|---|
| committer | Rishi-k-s <rishikrishna.sr@gmail.com> | 2024-04-15 20:45:02 +0530 |
| commit | 22725775283c5b0f9fff8ccfa05462bd6958e62a (patch) | |
| tree | 37687875469e8889cb68c4a1a7879f95d1730c2b | |
| parent | 5d9c7f24aaf2047db70f8313b0bb6c077c9641af (diff) | |
17 files changed, 251 insertions, 0 deletions
diff --git a/Lib/site-packages/tk-0.1.0.dist-info/INSTALLER b/Lib/site-packages/tk-0.1.0.dist-info/INSTALLER new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/Lib/site-packages/tk-0.1.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/Lib/site-packages/tk-0.1.0.dist-info/LICENSE b/Lib/site-packages/tk-0.1.0.dist-info/LICENSE new file mode 100644 index 0000000..a77350d --- /dev/null +++ b/Lib/site-packages/tk-0.1.0.dist-info/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 kaiJIN + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Lib/site-packages/tk-0.1.0.dist-info/METADATA b/Lib/site-packages/tk-0.1.0.dist-info/METADATA new file mode 100644 index 0000000..e92f11f --- /dev/null +++ b/Lib/site-packages/tk-0.1.0.dist-info/METADATA @@ -0,0 +1,21 @@ +Metadata-Version: 2.1 +Name: tk +Version: 0.1.0 +Summary: TensorKit is a deep learning helper between Python and C++. +Home-page: https://github.com/atranitell/TensorKit +Author: Kai Jin +Author-email: atranitell@gmail.com +License: Apache 2.0 Licence +Platform: UNKNOWN +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: License :: OSI Approved :: Apache Software License +Classifier: Operating System :: OS Independent +Classifier: Intended Audience :: Science/Research +Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence +Description-Content-Type: text/markdown + +UNKNOWN + + diff --git a/Lib/site-packages/tk-0.1.0.dist-info/RECORD b/Lib/site-packages/tk-0.1.0.dist-info/RECORD new file mode 100644 index 0000000..cf99d3d --- /dev/null +++ b/Lib/site-packages/tk-0.1.0.dist-info/RECORD @@ -0,0 +1,15 @@ +tk-0.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+tk-0.1.0.dist-info/LICENSE,sha256=MH9HhyfBy9HZBpz_T8Tq5FQg8vxyqh7PPbJVd5efsgU,1063
+tk-0.1.0.dist-info/METADATA,sha256=jN6gCFOYnMRb5d6SPF8Wbb-Fj-bPXIm_NOqkkqlRluY,693
+tk-0.1.0.dist-info/RECORD,,
+tk-0.1.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+tk-0.1.0.dist-info/WHEEL,sha256=U88EhGIw8Sj2_phqajeu_EAi3RAo8-C6zV3REsWbWbs,92
+tk-0.1.0.dist-info/top_level.txt,sha256=JeUv2teCAcHSOK73Cj0C_bKyZfgzp6-ycI7zkFfXOLc,3
+tk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+tk/__pycache__/__init__.cpython-311.pyc,,
+tk/structure/Tensor.py,sha256=s5OD2dL6qAcMeDMxUD0ZO7jMun9X0J-KSP_LYH-C49c,2703
+tk/structure/TensorMap.py,sha256=9z76_XV8hCxqjyd3W9xUyNoiOISKHNJlzUCRUKhRFA0,2029
+tk/structure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
+tk/structure/__pycache__/Tensor.cpython-311.pyc,,
+tk/structure/__pycache__/TensorMap.cpython-311.pyc,,
+tk/structure/__pycache__/__init__.cpython-311.pyc,,
diff --git a/Lib/site-packages/tk-0.1.0.dist-info/REQUESTED b/Lib/site-packages/tk-0.1.0.dist-info/REQUESTED new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Lib/site-packages/tk-0.1.0.dist-info/REQUESTED diff --git a/Lib/site-packages/tk-0.1.0.dist-info/WHEEL b/Lib/site-packages/tk-0.1.0.dist-info/WHEEL new file mode 100644 index 0000000..e499438 --- /dev/null +++ b/Lib/site-packages/tk-0.1.0.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.33.1) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/Lib/site-packages/tk-0.1.0.dist-info/top_level.txt b/Lib/site-packages/tk-0.1.0.dist-info/top_level.txt new file mode 100644 index 0000000..a276a6e --- /dev/null +++ b/Lib/site-packages/tk-0.1.0.dist-info/top_level.txt @@ -0,0 +1 @@ +tk diff --git a/Lib/site-packages/tk/__init__.py b/Lib/site-packages/tk/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Lib/site-packages/tk/__init__.py diff --git a/Lib/site-packages/tk/__pycache__/__init__.cpython-311.pyc b/Lib/site-packages/tk/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..1f82f47 --- /dev/null +++ b/Lib/site-packages/tk/__pycache__/__init__.cpython-311.pyc diff --git a/Lib/site-packages/tk/structure/Tensor.py b/Lib/site-packages/tk/structure/Tensor.py new file mode 100644 index 0000000..70347d0 --- /dev/null +++ b/Lib/site-packages/tk/structure/Tensor.py @@ -0,0 +1,98 @@ +# automatically generated by the FlatBuffers compiler, do not modify + +# namespace: structure + +import flatbuffers + + +class Tensor(object): + __slots__ = ['_tab'] + + @classmethod + def GetRootAsTensor(cls, buf, offset): + n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) + x = Tensor() + x.Init(buf, n + offset) + return x + + # Tensor + def Init(self, buf, pos): + self._tab = flatbuffers.table.Table(buf, pos) + + # Tensor + def Name(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4)) + if o != 0: + return self._tab.String(o + self._tab.Pos) + return None + + # Tensor + def Info(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6)) + if o != 0: + return self._tab.String(o + self._tab.Pos) + return None + + # Tensor + def Shape(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8)) + if o != 0: + return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos) + return 0 + + # Tensor + def Size(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(10)) + if o != 0: + return self._tab.Get(flatbuffers.number_types.Uint32Flags, o + self._tab.Pos) + return 0 + + # Tensor + def Data(self, j): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12)) + if o != 0: + a = self._tab.Vector(o) + return self._tab.Get(flatbuffers.number_types.Float32Flags, a + flatbuffers.number_types.UOffsetTFlags.py_type(j * 4)) + return 0 + + # Tensor + def DataAsNumpy(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12)) + if o != 0: + return self._tab.GetVectorAsNumpy(flatbuffers.number_types.Float32Flags, o) + return 0 + + # Tensor + def DataLength(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(12)) + if o != 0: + return self._tab.VectorLen(o) + return 0 + + +def TensorStart(builder): builder.StartObject(5) + + +def TensorAddName(builder, name): builder.PrependUOffsetTRelativeSlot( + 0, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0) + + +def TensorAddInfo(builder, info): builder.PrependUOffsetTRelativeSlot( + 1, flatbuffers.number_types.UOffsetTFlags.py_type(info), 0) + + +def TensorAddShape(builder, shape): builder.PrependUint32Slot(2, shape, 0) + + +def TensorAddSize(builder, size): builder.PrependUint32Slot(3, size, 0) + + +def TensorAddData(builder, data): builder.PrependUOffsetTRelativeSlot( + 4, flatbuffers.number_types.UOffsetTFlags.py_type(data), 0) + + +def TensorStartDataVector( + builder, numElems): return builder.StartVector(4, numElems, 4) + + +def TensorEnd(builder): return builder.EndObject() diff --git a/Lib/site-packages/tk/structure/TensorMap.py b/Lib/site-packages/tk/structure/TensorMap.py new file mode 100644 index 0000000..5cb9167 --- /dev/null +++ b/Lib/site-packages/tk/structure/TensorMap.py @@ -0,0 +1,76 @@ +# automatically generated by the FlatBuffers compiler, do not modify + +# namespace: structure + +import flatbuffers + + +class TensorMap(object): + __slots__ = ['_tab'] + + @classmethod + def GetRootAsTensorMap(cls, buf, offset): + n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset) + x = TensorMap() + x.Init(buf, n + offset) + return x + + # TensorMap + def Init(self, buf, pos): + self._tab = flatbuffers.table.Table(buf, pos) + + # TensorMap + def Name(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(4)) + if o != 0: + return self._tab.String(o + self._tab.Pos) + return None + + # TensorMap + def Info(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(6)) + if o != 0: + return self._tab.String(o + self._tab.Pos) + return None + + # TensorMap + def Tensors(self, j): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8)) + if o != 0: + x = self._tab.Vector(o) + x += flatbuffers.number_types.UOffsetTFlags.py_type(j) * 4 + x = self._tab.Indirect(x) + from .Tensor import Tensor + obj = Tensor() + obj.Init(self._tab.Bytes, x) + return obj + return None + + # TensorMap + def TensorsLength(self): + o = flatbuffers.number_types.UOffsetTFlags.py_type(self._tab.Offset(8)) + if o != 0: + return self._tab.VectorLen(o) + return 0 + + +def TensorMapStart(builder): builder.StartObject(3) + + +def TensorMapAddName(builder, name): builder.PrependUOffsetTRelativeSlot( + 0, flatbuffers.number_types.UOffsetTFlags.py_type(name), 0) + + +def TensorMapAddInfo(builder, info): builder.PrependUOffsetTRelativeSlot( + 1, flatbuffers.number_types.UOffsetTFlags.py_type(info), 0) + + +def TensorMapAddTensors(builder, tensors): builder.PrependUOffsetTRelativeSlot( + 2, flatbuffers.number_types.UOffsetTFlags.py_type(tensors), 0) + + +def TensorMapStartTensorsVector( + builder, numElems): return builder.StartVector(4, numElems, 4) + + +def TensorMapEnd(builder): return builder.EndObject() diff --git a/Lib/site-packages/tk/structure/__init__.py b/Lib/site-packages/tk/structure/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Lib/site-packages/tk/structure/__init__.py diff --git a/Lib/site-packages/tk/structure/__pycache__/Tensor.cpython-311.pyc b/Lib/site-packages/tk/structure/__pycache__/Tensor.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..45e7d27 --- /dev/null +++ b/Lib/site-packages/tk/structure/__pycache__/Tensor.cpython-311.pyc diff --git a/Lib/site-packages/tk/structure/__pycache__/TensorMap.cpython-311.pyc b/Lib/site-packages/tk/structure/__pycache__/TensorMap.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..318a211 --- /dev/null +++ b/Lib/site-packages/tk/structure/__pycache__/TensorMap.cpython-311.pyc diff --git a/Lib/site-packages/tk/structure/__pycache__/__init__.cpython-311.pyc b/Lib/site-packages/tk/structure/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..8537462 --- /dev/null +++ b/Lib/site-packages/tk/structure/__pycache__/__init__.cpython-311.pyc @@ -2,6 +2,7 @@ import gdown import wx
+
def initFrame():
app = wx.App()
frame = wx.Frame(parent=None, title='Header 001')
@@ -0,0 +1,12 @@ +from tkinter import *
+# create root window
+root = Tk()
+
+# root window title and dimension
+root.title("Drive Downloader")
+# Set geometry (widthxheight)
+root.geometry('350x200')
+
+# all widgets will be here
+# Execute Tkinter
+root.mainloop()
\ No newline at end of file |
