cloudrouter 0.0.1__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.
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: cloudrouter
3
+ Version: 0.0.1
4
+ Summary: Like OpenRouter, but for spinning up VMs in the cloud
5
+ Author: Lawrence Chen
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/lawrencechen/cloudrouter
8
+ Keywords: cloud,vm,router
9
+ Requires-Python: >=3.8
@@ -0,0 +1,19 @@
1
+ """Like OpenRouter, but for spinning up VMs in the cloud."""
2
+
3
+ from dataclasses import dataclass
4
+ from typing import Optional
5
+
6
+
7
+ @dataclass
8
+ class VMOptions:
9
+ provider: str
10
+ region: Optional[str] = None
11
+ size: Optional[str] = None
12
+
13
+
14
+ class CloudRouter:
15
+ def __init__(self, api_key: str):
16
+ self.api_key = api_key
17
+
18
+ def create_vm(self, options: VMOptions) -> None:
19
+ raise NotImplementedError("Not yet implemented")
@@ -0,0 +1,9 @@
1
+ Metadata-Version: 2.4
2
+ Name: cloudrouter
3
+ Version: 0.0.1
4
+ Summary: Like OpenRouter, but for spinning up VMs in the cloud
5
+ Author: Lawrence Chen
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/lawrencechen/cloudrouter
8
+ Keywords: cloud,vm,router
9
+ Requires-Python: >=3.8
@@ -0,0 +1,6 @@
1
+ pyproject.toml
2
+ cloudrouter/__init__.py
3
+ cloudrouter.egg-info/PKG-INFO
4
+ cloudrouter.egg-info/SOURCES.txt
5
+ cloudrouter.egg-info/dependency_links.txt
6
+ cloudrouter.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ cloudrouter
@@ -0,0 +1,19 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "cloudrouter"
7
+ version = "0.0.1"
8
+ description = "Like OpenRouter, but for spinning up VMs in the cloud"
9
+ license = "MIT"
10
+ authors = [{ name = "Lawrence Chen" }]
11
+ keywords = ["cloud", "vm", "router"]
12
+ requires-python = ">=3.8"
13
+
14
+ [tool.setuptools.packages.find]
15
+ where = ["."]
16
+ include = ["cloudrouter*"]
17
+
18
+ [project.urls]
19
+ Homepage = "https://github.com/lawrencechen/cloudrouter"
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+