daster 0.1.0__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.
daster-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: daster
3
+ Version: 0.1.0
4
+ Summary: DASTER CLI for Python users: runs the official DASTER CLI (@dasterhq/daster) to connect IDEs, AI agents and scripts to your DASTER project.
5
+ Author-email: DASTER <social@daster.io>
6
+ License: MIT
7
+ Project-URL: Homepage, https://daster.io
8
+ Project-URL: Source, https://github.com/dasterhq
9
+ Project-URL: npm package, https://www.npmjs.com/package/@dasterhq/daster
10
+ Keywords: daster,cloud,hosting,database,email,mcp,cli
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Environment :: Console
15
+ Classifier: Topic :: Internet
16
+ Requires-Python: >=3.8
17
+ Description-Content-Type: text/markdown
18
+
19
+ # daster
20
+
21
+ The DASTER CLI for Python users. It runs the official DASTER CLI
22
+ ([`@dasterhq/daster`](https://www.npmjs.com/package/@dasterhq/daster) on npm), so
23
+ you can connect IDEs, AI agents and scripts to your DASTER project from any terminal.
24
+
25
+ DASTER is a developer cloud: app hosting, databases, app and marketing email,
26
+ domains, and AI tools over MCP. One account, pay as you go.
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ pip install daster
32
+ ```
33
+
34
+ Needs Node.js 20.3 or newer (the CLI runs on Node.js).
35
+
36
+ ## Use
37
+
38
+ ```bash
39
+ daster --help
40
+ daster login
41
+ daster deploy ./my-site
42
+ ```
43
+
44
+ Docs and sign-up: https://daster.io
daster-0.1.0/README.md ADDED
@@ -0,0 +1,26 @@
1
+ # daster
2
+
3
+ The DASTER CLI for Python users. It runs the official DASTER CLI
4
+ ([`@dasterhq/daster`](https://www.npmjs.com/package/@dasterhq/daster) on npm), so
5
+ you can connect IDEs, AI agents and scripts to your DASTER project from any terminal.
6
+
7
+ DASTER is a developer cloud: app hosting, databases, app and marketing email,
8
+ domains, and AI tools over MCP. One account, pay as you go.
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ pip install daster
14
+ ```
15
+
16
+ Needs Node.js 20.3 or newer (the CLI runs on Node.js).
17
+
18
+ ## Use
19
+
20
+ ```bash
21
+ daster --help
22
+ daster login
23
+ daster deploy ./my-site
24
+ ```
25
+
26
+ Docs and sign-up: https://daster.io
@@ -0,0 +1,31 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "daster"
7
+ version = "0.1.0"
8
+ description = "DASTER CLI for Python users: runs the official DASTER CLI (@dasterhq/daster) to connect IDEs, AI agents and scripts to your DASTER project."
9
+ readme = "README.md"
10
+ requires-python = ">=3.8"
11
+ license = { text = "MIT" }
12
+ authors = [{ name = "DASTER", email = "social@daster.io" }]
13
+ keywords = ["daster", "cloud", "hosting", "database", "email", "mcp", "cli"]
14
+ classifiers = [
15
+ "Programming Language :: Python :: 3",
16
+ "License :: OSI Approved :: MIT License",
17
+ "Operating System :: OS Independent",
18
+ "Environment :: Console",
19
+ "Topic :: Internet",
20
+ ]
21
+
22
+ [project.urls]
23
+ Homepage = "https://daster.io"
24
+ Source = "https://github.com/dasterhq"
25
+ "npm package" = "https://www.npmjs.com/package/@dasterhq/daster"
26
+
27
+ [project.scripts]
28
+ daster = "daster.cli:main"
29
+
30
+ [tool.setuptools.packages.find]
31
+ where = ["src"]
daster-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,12 @@
1
+ """DASTER for Python.
2
+
3
+ DASTER is a developer cloud: app hosting, databases, app and marketing email,
4
+ domains, and AI tools over MCP. This package gives Python users the `daster`
5
+ command, which runs the official DASTER CLI published on npm as
6
+ @dasterhq/daster.
7
+ """
8
+
9
+ __version__ = "0.1.0"
10
+
11
+ WEBSITE = "https://daster.io"
12
+ NPM_PACKAGE = "@dasterhq/daster"
@@ -0,0 +1,37 @@
1
+ """`daster` command: runs the official DASTER CLI through npx.
2
+
3
+ The DASTER CLI is written in JavaScript and published on npm as
4
+ @dasterhq/daster. This wrapper lets Python users type `daster ...` and passes
5
+ every argument through unchanged. It needs Node.js 20.3 or newer.
6
+ """
7
+
8
+ import shutil
9
+ import subprocess
10
+ import sys
11
+
12
+ from . import NPM_PACKAGE, WEBSITE
13
+
14
+ NODE_MISSING_MESSAGE = f"""daster: Node.js was not found.
15
+
16
+ The DASTER CLI runs on Node.js 20.3 or newer. Install Node.js from
17
+ https://nodejs.org and run this command again.
18
+
19
+ Docs: {WEBSITE}
20
+ """
21
+
22
+
23
+ def main() -> int:
24
+ npx = shutil.which("npx")
25
+ if npx is None:
26
+ sys.stderr.write(NODE_MISSING_MESSAGE)
27
+ return 1
28
+
29
+ command = [npx, "--yes", NPM_PACKAGE, *sys.argv[1:]]
30
+ try:
31
+ return subprocess.call(command)
32
+ except KeyboardInterrupt:
33
+ return 130
34
+
35
+
36
+ if __name__ == "__main__":
37
+ sys.exit(main())
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: daster
3
+ Version: 0.1.0
4
+ Summary: DASTER CLI for Python users: runs the official DASTER CLI (@dasterhq/daster) to connect IDEs, AI agents and scripts to your DASTER project.
5
+ Author-email: DASTER <social@daster.io>
6
+ License: MIT
7
+ Project-URL: Homepage, https://daster.io
8
+ Project-URL: Source, https://github.com/dasterhq
9
+ Project-URL: npm package, https://www.npmjs.com/package/@dasterhq/daster
10
+ Keywords: daster,cloud,hosting,database,email,mcp,cli
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Environment :: Console
15
+ Classifier: Topic :: Internet
16
+ Requires-Python: >=3.8
17
+ Description-Content-Type: text/markdown
18
+
19
+ # daster
20
+
21
+ The DASTER CLI for Python users. It runs the official DASTER CLI
22
+ ([`@dasterhq/daster`](https://www.npmjs.com/package/@dasterhq/daster) on npm), so
23
+ you can connect IDEs, AI agents and scripts to your DASTER project from any terminal.
24
+
25
+ DASTER is a developer cloud: app hosting, databases, app and marketing email,
26
+ domains, and AI tools over MCP. One account, pay as you go.
27
+
28
+ ## Install
29
+
30
+ ```bash
31
+ pip install daster
32
+ ```
33
+
34
+ Needs Node.js 20.3 or newer (the CLI runs on Node.js).
35
+
36
+ ## Use
37
+
38
+ ```bash
39
+ daster --help
40
+ daster login
41
+ daster deploy ./my-site
42
+ ```
43
+
44
+ Docs and sign-up: https://daster.io
@@ -0,0 +1,9 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/daster/__init__.py
4
+ src/daster/cli.py
5
+ src/daster.egg-info/PKG-INFO
6
+ src/daster.egg-info/SOURCES.txt
7
+ src/daster.egg-info/dependency_links.txt
8
+ src/daster.egg-info/entry_points.txt
9
+ src/daster.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ daster = daster.cli:main
@@ -0,0 +1 @@
1
+ daster