toymm 0.0.1a0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
toymm-0.0.1a0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Mathew Shen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
toymm-0.0.1a0/PKG-INFO ADDED
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.4
2
+ Name: toymm
3
+ Version: 0.0.1a0
4
+ Summary: Multimodal from scratch
5
+ Author-email: Xiangzhuang Shen <datahonor@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://shenxiangzhuang.github.io/toymm
8
+ Project-URL: Bug Tracker, https://shenxiangzhuang.github.io/toymm/issues
9
+ Project-URL: Documentation, https://shenxiangzhuang.github.io/toymm
10
+ Project-URL: Source Code, https://github.com/shenxiangzhuang/toymm
11
+ Project-URL: Release Notes, https://shenxiangzhuang.github.io/toymm/changelog/
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Requires-Python: >=3.12
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Provides-Extra: dev
22
+ Requires-Dist: pre-commit; extra == "dev"
23
+ Requires-Dist: ipython; extra == "dev"
24
+ Requires-Dist: mypy; extra == "dev"
25
+ Requires-Dist: ruff; extra == "dev"
26
+ Requires-Dist: pytest; extra == "dev"
27
+ Requires-Dist: pytest-cov; extra == "dev"
28
+ Requires-Dist: pytest-sugar; extra == "dev"
29
+ Requires-Dist: hypothesis; extra == "dev"
30
+ Provides-Extra: docs
31
+ Requires-Dist: mkdocs; extra == "docs"
32
+ Requires-Dist: mkdocs-material; extra == "docs"
33
+ Requires-Dist: mkdocs-material-extensions; extra == "docs"
34
+ Requires-Dist: mkdocstrings; extra == "docs"
35
+ Requires-Dist: mkdocs-bibtex; extra == "docs"
36
+ Requires-Dist: mkdocstrings-python; extra == "docs"
37
+ Requires-Dist: mkdocs-autorefs; extra == "docs"
38
+ Requires-Dist: mkdocs-git-committers-plugin-2; extra == "docs"
39
+ Requires-Dist: mkdocs-git-revision-date-localized-plugin; extra == "docs"
40
+ Dynamic: license-file
41
+
42
+ # TOYMM: A Modern Python Package Template
43
+
44
+ [![Python](https://img.shields.io/pypi/pyversions/toymm.svg?color=%2334D058)](https://pypi.org/project/toymm/)
45
+ [![PyPI](https://img.shields.io/pypi/v/toymm?color=%2334D058&label=pypi%20package)](https://pypi.org/project/toymm/)
46
+ [![PyPI Downloads](https://static.pepy.tech/badge/toymm)](https://pepy.tech/projects/toymm)
47
+ [![GitHub License](https://img.shields.io/github/license/ai-glimpse/toymm)](https://github.com/ai-glimpse/toymm/blob/master/LICENSE)
48
+
49
+ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
50
+ [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
51
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
52
+ [![Build Docs](https://github.com/ai-glimpse/toymm/actions/workflows/build_docs.yaml/badge.svg)](https://github.com/ai-glimpse/toymm/actions/workflows/build_docs.yaml)
53
+ [![Test](https://github.com/ai-glimpse/toymm/actions/workflows/test.yaml/badge.svg)](https://github.com/ai-glimpse/toymm/actions/workflows/test.yaml)
54
+ [![Codecov](https://codecov.io/gh/ai-glimpse/toymm/branch/master/graph/badge.svg)](https://codecov.io/gh/ai-glimpse/toymm)
55
+
56
+
57
+ Multimodal from scratch.
@@ -0,0 +1,16 @@
1
+ # TOYMM: A Modern Python Package Template
2
+
3
+ [![Python](https://img.shields.io/pypi/pyversions/toymm.svg?color=%2334D058)](https://pypi.org/project/toymm/)
4
+ [![PyPI](https://img.shields.io/pypi/v/toymm?color=%2334D058&label=pypi%20package)](https://pypi.org/project/toymm/)
5
+ [![PyPI Downloads](https://static.pepy.tech/badge/toymm)](https://pepy.tech/projects/toymm)
6
+ [![GitHub License](https://img.shields.io/github/license/ai-glimpse/toymm)](https://github.com/ai-glimpse/toymm/blob/master/LICENSE)
7
+
8
+ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
9
+ [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
10
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
11
+ [![Build Docs](https://github.com/ai-glimpse/toymm/actions/workflows/build_docs.yaml/badge.svg)](https://github.com/ai-glimpse/toymm/actions/workflows/build_docs.yaml)
12
+ [![Test](https://github.com/ai-glimpse/toymm/actions/workflows/test.yaml/badge.svg)](https://github.com/ai-glimpse/toymm/actions/workflows/test.yaml)
13
+ [![Codecov](https://codecov.io/gh/ai-glimpse/toymm/branch/master/graph/badge.svg)](https://codecov.io/gh/ai-glimpse/toymm)
14
+
15
+
16
+ Multimodal from scratch.
@@ -0,0 +1,154 @@
1
+ [project]
2
+ name = "toymm"
3
+ version = "0.0.1a0"
4
+ description = "Multimodal from scratch"
5
+ authors = [{ name = "Xiangzhuang Shen", email = "datahonor@gmail.com" }]
6
+ license = "MIT"
7
+ readme = "README.md"
8
+
9
+
10
+ classifiers = [
11
+ "Development Status :: 3 - Alpha",
12
+ "Intended Audience :: Science/Research",
13
+ "Intended Audience :: Developers",
14
+ "Operating System :: OS Independent",
15
+ "Programming Language :: Python :: 3.12",
16
+ "Programming Language :: Python :: 3.13",
17
+ ]
18
+ requires-python = ">= 3.12"
19
+ dependencies = []
20
+
21
+ [project.optional-dependencies]
22
+ dev = [
23
+ "pre-commit",
24
+ "ipython",
25
+ "mypy",
26
+ "ruff",
27
+ "pytest",
28
+ "pytest-cov",
29
+ "pytest-sugar",
30
+ "hypothesis",
31
+ ]
32
+ docs = [
33
+ "mkdocs",
34
+ "mkdocs-material",
35
+ "mkdocs-material-extensions",
36
+ "mkdocstrings",
37
+ "mkdocs-bibtex",
38
+ "mkdocstrings-python",
39
+ "mkdocs-autorefs",
40
+ "mkdocs-git-committers-plugin-2",
41
+ "mkdocs-git-revision-date-localized-plugin",
42
+ ]
43
+
44
+ [project.urls]
45
+ "Homepage" = "https://shenxiangzhuang.github.io/toymm"
46
+ "Bug Tracker" = "https://shenxiangzhuang.github.io/toymm/issues"
47
+ "Documentation" = "https://shenxiangzhuang.github.io/toymm"
48
+ "Source Code" = "https://github.com/shenxiangzhuang/toymm"
49
+ "Release Notes" = "https://shenxiangzhuang.github.io/toymm/changelog/"
50
+
51
+ [tool.setuptools]
52
+ zip-safe = true
53
+ include-package-data = true
54
+
55
+ [build-system]
56
+ requires = ["setuptools >= 61.0"]
57
+ build-backend = "setuptools.build_meta"
58
+
59
+
60
+ [tool.setuptools.packages.find]
61
+ include = ["toymm*"]
62
+ namespaces = false
63
+
64
+
65
+ [tool.mypy]
66
+ ignore_missing_imports = true
67
+ strict = true
68
+
69
+
70
+ # Ruff configuration: https://docs.astral.sh/ruff/configuration/#configuring-ruff
71
+ [tool.ruff]
72
+ # Exclude a variety of commonly ignored directories.
73
+ exclude = [
74
+ ".bzr",
75
+ ".direnv",
76
+ ".eggs",
77
+ ".git",
78
+ ".git-rewrite",
79
+ ".hg",
80
+ ".ipynb_checkpoints",
81
+ ".mypy_cache",
82
+ ".nox",
83
+ ".pants.d",
84
+ ".pyenv",
85
+ ".pytest_cache",
86
+ ".pytype",
87
+ ".ruff_cache",
88
+ ".svn",
89
+ ".tox",
90
+ ".venv",
91
+ ".vscode",
92
+ "__pypackages__",
93
+ "_build",
94
+ "buck-out",
95
+ "build",
96
+ "dist",
97
+ "node_modules",
98
+ "site-packages",
99
+ "venv",
100
+ ]
101
+
102
+ # Same as Black.
103
+ line-length = 120
104
+ indent-width = 4
105
+
106
+ # Assume Python 3.9
107
+ target-version = "py39"
108
+
109
+ [tool.ruff.lint]
110
+ select = [
111
+ 'F', # Pyflakes
112
+ 'E', # pycodestyle (Error)
113
+ 'I', # isort
114
+ 'D', # pydocstyle
115
+ 'UP', # pyupgrade
116
+ ]
117
+ pydocstyle = { convention = "google" }
118
+
119
+ [tool.ruff.lint.per-file-ignores]
120
+ 'docs/*' = ["D"]
121
+ 'tests/*' = ["D"]
122
+
123
+
124
+ # Allow fix for all enabled rules (when `--fix`) is provided.
125
+ fixable = ["ALL"]
126
+ unfixable = []
127
+
128
+
129
+ [tool.ruff.format]
130
+ # Like Black, use double quotes for strings.
131
+ quote-style = "double"
132
+
133
+ # Like Black, indent with spaces, rather than tabs.
134
+ indent-style = "space"
135
+
136
+ # Like Black, respect magic trailing commas.
137
+ skip-magic-trailing-comma = false
138
+
139
+ # Like Black, automatically detect the appropriate line ending.
140
+ line-ending = "auto"
141
+
142
+ # Enable auto-formatting of code examples in docstrings. Markdown,
143
+ # reStructuredText code/literal blocks and doctests are all supported.
144
+ #
145
+ # This is currently disabled by default, but it is planned for this
146
+ # to be opt-out in the future.
147
+ docstring-code-format = true
148
+
149
+ # Set the line length limit used when formatting code snippets in
150
+ # docstrings.
151
+ #
152
+ # This only has an effect when the `docstring-code-format` setting is
153
+ # enabled.
154
+ docstring-code-line-length = "dynamic"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,3 @@
1
+ def test_hello() -> None:
2
+ msg = "Hello, ToyMM!"
3
+ assert msg == "Hello, ToyMM!"
@@ -0,0 +1 @@
1
+ """TOYMM Module."""
File without changes
@@ -0,0 +1,57 @@
1
+ Metadata-Version: 2.4
2
+ Name: toymm
3
+ Version: 0.0.1a0
4
+ Summary: Multimodal from scratch
5
+ Author-email: Xiangzhuang Shen <datahonor@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://shenxiangzhuang.github.io/toymm
8
+ Project-URL: Bug Tracker, https://shenxiangzhuang.github.io/toymm/issues
9
+ Project-URL: Documentation, https://shenxiangzhuang.github.io/toymm
10
+ Project-URL: Source Code, https://github.com/shenxiangzhuang/toymm
11
+ Project-URL: Release Notes, https://shenxiangzhuang.github.io/toymm/changelog/
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Requires-Python: >=3.12
19
+ Description-Content-Type: text/markdown
20
+ License-File: LICENSE
21
+ Provides-Extra: dev
22
+ Requires-Dist: pre-commit; extra == "dev"
23
+ Requires-Dist: ipython; extra == "dev"
24
+ Requires-Dist: mypy; extra == "dev"
25
+ Requires-Dist: ruff; extra == "dev"
26
+ Requires-Dist: pytest; extra == "dev"
27
+ Requires-Dist: pytest-cov; extra == "dev"
28
+ Requires-Dist: pytest-sugar; extra == "dev"
29
+ Requires-Dist: hypothesis; extra == "dev"
30
+ Provides-Extra: docs
31
+ Requires-Dist: mkdocs; extra == "docs"
32
+ Requires-Dist: mkdocs-material; extra == "docs"
33
+ Requires-Dist: mkdocs-material-extensions; extra == "docs"
34
+ Requires-Dist: mkdocstrings; extra == "docs"
35
+ Requires-Dist: mkdocs-bibtex; extra == "docs"
36
+ Requires-Dist: mkdocstrings-python; extra == "docs"
37
+ Requires-Dist: mkdocs-autorefs; extra == "docs"
38
+ Requires-Dist: mkdocs-git-committers-plugin-2; extra == "docs"
39
+ Requires-Dist: mkdocs-git-revision-date-localized-plugin; extra == "docs"
40
+ Dynamic: license-file
41
+
42
+ # TOYMM: A Modern Python Package Template
43
+
44
+ [![Python](https://img.shields.io/pypi/pyversions/toymm.svg?color=%2334D058)](https://pypi.org/project/toymm/)
45
+ [![PyPI](https://img.shields.io/pypi/v/toymm?color=%2334D058&label=pypi%20package)](https://pypi.org/project/toymm/)
46
+ [![PyPI Downloads](https://static.pepy.tech/badge/toymm)](https://pepy.tech/projects/toymm)
47
+ [![GitHub License](https://img.shields.io/github/license/ai-glimpse/toymm)](https://github.com/ai-glimpse/toymm/blob/master/LICENSE)
48
+
49
+ [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
50
+ [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/)
51
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit)](https://github.com/pre-commit/pre-commit)
52
+ [![Build Docs](https://github.com/ai-glimpse/toymm/actions/workflows/build_docs.yaml/badge.svg)](https://github.com/ai-glimpse/toymm/actions/workflows/build_docs.yaml)
53
+ [![Test](https://github.com/ai-glimpse/toymm/actions/workflows/test.yaml/badge.svg)](https://github.com/ai-glimpse/toymm/actions/workflows/test.yaml)
54
+ [![Codecov](https://codecov.io/gh/ai-glimpse/toymm/branch/master/graph/badge.svg)](https://codecov.io/gh/ai-glimpse/toymm)
55
+
56
+
57
+ Multimodal from scratch.
@@ -0,0 +1,12 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ tests/test_hello.py
5
+ toymm/__init__.py
6
+ toymm/py.typed
7
+ toymm.egg-info/PKG-INFO
8
+ toymm.egg-info/SOURCES.txt
9
+ toymm.egg-info/dependency_links.txt
10
+ toymm.egg-info/requires.txt
11
+ toymm.egg-info/top_level.txt
12
+ toymm.egg-info/zip-safe
@@ -0,0 +1,21 @@
1
+
2
+ [dev]
3
+ pre-commit
4
+ ipython
5
+ mypy
6
+ ruff
7
+ pytest
8
+ pytest-cov
9
+ pytest-sugar
10
+ hypothesis
11
+
12
+ [docs]
13
+ mkdocs
14
+ mkdocs-material
15
+ mkdocs-material-extensions
16
+ mkdocstrings
17
+ mkdocs-bibtex
18
+ mkdocstrings-python
19
+ mkdocs-autorefs
20
+ mkdocs-git-committers-plugin-2
21
+ mkdocs-git-revision-date-localized-plugin
@@ -0,0 +1 @@
1
+ toymm
@@ -0,0 +1 @@
1
+