more-compute 0.1.2__tar.gz → 0.1.4__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.
- {more_compute-0.1.2/more_compute.egg-info → more_compute-0.1.4}/PKG-INFO +1 -1
- more_compute-0.1.4/frontend/__init__.py +1 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/kernel_run.py +7 -0
- {more_compute-0.1.2 → more_compute-0.1.4/more_compute.egg-info}/PKG-INFO +1 -1
- {more_compute-0.1.2 → more_compute-0.1.4}/more_compute.egg-info/SOURCES.txt +2 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/more_compute.egg-info/top_level.txt +1 -0
- more_compute-0.1.4/morecompute/__version__.py +1 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/pyproject.toml +8 -2
- {more_compute-0.1.2 → more_compute-0.1.4}/setup.py +11 -2
- {more_compute-0.1.2 → more_compute-0.1.4}/LICENSE +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/MANIFEST.in +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/README.md +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/.DS_Store +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/.gitignore +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/README.md +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/app/favicon.ico +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/app/globals.css +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/app/layout.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/app/page.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/AddCellButton.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/Cell.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/CellButton.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/CellOutput.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/ErrorDisplay.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/ErrorModal.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/MarkdownRenderer.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/Notebook.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/Sidebar.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/popups/ComputePopup.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/popups/FilterPopup.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/popups/FolderPopup.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/popups/MetricsPopup.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/popups/PackagesPopup.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/popups/PythonPopup.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/components/popups/SettingsPopup.tsx +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/eslint.config.mjs +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/lib/api.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/lib/settings.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/lib/websocket-native.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/lib/websocket.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/next-env.d.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/next.config.mjs +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/next.config.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/package-lock.json +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/package.json +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/postcss.config.mjs +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/add.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/check.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/copy.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/folder.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/metric.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/packages.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/play.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/python.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/setting.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/stop.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/trash.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/up-down.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/assets/icons/x.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/file.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/fonts/Fira.ttf +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/fonts/Tiempos.woff2 +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/fonts/VeraMono.ttf +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/globe.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/next.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/vercel.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/public/window.svg +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/tailwind.config.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/tsconfig.json +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/frontend/types/notebook.ts +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/more_compute.egg-info/dependency_links.txt +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/more_compute.egg-info/entry_points.txt +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/more_compute.egg-info/requires.txt +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/__init__.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/cli.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/execution/__init__.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/execution/__main__.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/execution/executor.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/execution/worker.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/notebook.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/process_worker.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/server.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/services/pod_manager.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/services/prime_intellect.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/static/styles.css +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/utils/__init__.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/utils/cache_util.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/utils/error_utils.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/utils/notebook_util.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/utils/python_environment_util.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/utils/special_commands.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/morecompute/utils/system_environment_util.py +0 -0
- {more_compute-0.1.2 → more_compute-0.1.4}/setup.cfg +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This file makes the frontend directory a Python package so it can be included in the distribution
|
|
@@ -11,6 +11,7 @@ import webbrowser
|
|
|
11
11
|
from pathlib import Path
|
|
12
12
|
|
|
13
13
|
from morecompute.notebook import Notebook
|
|
14
|
+
from morecompute.__version__ import __version__
|
|
14
15
|
|
|
15
16
|
DEFAULT_NOTEBOOK_NAME = "notebook.ipynb"
|
|
16
17
|
|
|
@@ -222,6 +223,12 @@ class NotebookLauncher:
|
|
|
222
223
|
|
|
223
224
|
def build_parser() -> argparse.ArgumentParser:
|
|
224
225
|
parser = argparse.ArgumentParser(description="Launch the MoreCompute notebook")
|
|
226
|
+
parser.add_argument(
|
|
227
|
+
"--version",
|
|
228
|
+
"-v",
|
|
229
|
+
action="version",
|
|
230
|
+
version=f"%(prog)s {__version__}",
|
|
231
|
+
)
|
|
225
232
|
parser.add_argument(
|
|
226
233
|
"notebook_path",
|
|
227
234
|
nargs="?",
|
|
@@ -7,6 +7,7 @@ setup.py
|
|
|
7
7
|
frontend/.DS_Store
|
|
8
8
|
frontend/.gitignore
|
|
9
9
|
frontend/README.md
|
|
10
|
+
frontend/__init__.py
|
|
10
11
|
frontend/eslint.config.mjs
|
|
11
12
|
frontend/next-env.d.ts
|
|
12
13
|
frontend/next.config.mjs
|
|
@@ -69,6 +70,7 @@ more_compute.egg-info/entry_points.txt
|
|
|
69
70
|
more_compute.egg-info/requires.txt
|
|
70
71
|
more_compute.egg-info/top_level.txt
|
|
71
72
|
morecompute/__init__.py
|
|
73
|
+
morecompute/__version__.py
|
|
72
74
|
morecompute/cli.py
|
|
73
75
|
morecompute/notebook.py
|
|
74
76
|
morecompute/process_worker.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.4"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "more-compute"
|
|
7
|
-
|
|
7
|
+
dynamic = ["version"]
|
|
8
8
|
description = "An interactive notebook environment for local and GPU computing"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -49,6 +49,12 @@ more-compute = "kernel_run:main"
|
|
|
49
49
|
[tool.setuptools]
|
|
50
50
|
py-modules = ["kernel_run"]
|
|
51
51
|
|
|
52
|
+
[tool.setuptools.dynamic]
|
|
53
|
+
version = {attr = "morecompute.__version__.__version__"}
|
|
54
|
+
|
|
52
55
|
[tool.setuptools.packages.find]
|
|
53
56
|
where = ["."]
|
|
54
|
-
include = ["morecompute*"]
|
|
57
|
+
include = ["morecompute*", "frontend"]
|
|
58
|
+
|
|
59
|
+
[tool.setuptools.package-data]
|
|
60
|
+
"frontend" = ["**/*"]
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
from setuptools import setup, find_packages
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
# Read version from single source
|
|
5
|
+
version = {}
|
|
6
|
+
with open(Path(__file__).parent / "morecompute" / "__version__.py") as f:
|
|
7
|
+
exec(f.read(), version)
|
|
2
8
|
|
|
3
9
|
with open("README.md", "r", encoding="utf-8") as fh:
|
|
4
10
|
long_description = fh.read()
|
|
5
11
|
|
|
6
12
|
setup(
|
|
7
13
|
name="more-compute",
|
|
8
|
-
version="
|
|
14
|
+
version=version["__version__"],
|
|
9
15
|
author="MoreCompute Team",
|
|
10
16
|
author_email="hello@morecompute.dev",
|
|
11
17
|
description="An interactive notebook environment for local and GPU computing",
|
|
12
18
|
long_description=long_description,
|
|
13
19
|
long_description_content_type="text/markdown",
|
|
14
20
|
url="https://github.com/DannyMang/MORECOMPUTE",
|
|
15
|
-
packages=find_packages(),
|
|
21
|
+
packages=find_packages(include=["morecompute*", "frontend*"]),
|
|
22
|
+
package_data={
|
|
23
|
+
"frontend": ["**/*"],
|
|
24
|
+
},
|
|
16
25
|
classifiers=[
|
|
17
26
|
"Development Status :: 3 - Alpha",
|
|
18
27
|
"Intended Audience :: Developers",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|