boxd 0.2.13.dev755__tar.gz → 0.2.14.dev757__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.
Files changed (42) hide show
  1. {boxd-0.2.13.dev755/src/boxd.egg-info → boxd-0.2.14.dev757}/PKG-INFO +6 -5
  2. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/README.md +5 -4
  3. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/pyproject.toml +1 -1
  4. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_requests.py +1 -1
  5. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757/src/boxd.egg-info}/PKG-INFO +6 -5
  6. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/LICENSE +0 -0
  7. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/setup.cfg +0 -0
  8. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/__init__.py +0 -0
  9. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_client.py +0 -0
  10. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_credentials.py +0 -0
  11. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_generated/__init__.py +0 -0
  12. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_generated/api_pb2.py +0 -0
  13. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_generated/api_pb2_grpc.py +0 -0
  14. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_mappers.py +0 -0
  15. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_streaming.py +0 -0
  16. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_transport.py +0 -0
  17. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_urls.py +0 -0
  18. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/_version_check.py +0 -0
  19. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/errors.py +0 -0
  20. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/models.py +0 -0
  21. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/__init__.py +0 -0
  22. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/account.py +0 -0
  23. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/credentials.py +0 -0
  24. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/disks.py +0 -0
  25. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/domains.py +0 -0
  26. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/machines.py +0 -0
  27. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/orgs.py +0 -0
  28. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/snapshots.py +0 -0
  29. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/teams.py +0 -0
  30. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd/resources/vars.py +0 -0
  31. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd.egg-info/SOURCES.txt +0 -0
  32. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd.egg-info/dependency_links.txt +0 -0
  33. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd.egg-info/requires.txt +0 -0
  34. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/src/boxd.egg-info/top_level.txt +0 -0
  35. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_credentials.py +0 -0
  36. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_mappers.py +0 -0
  37. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_namespaces.py +0 -0
  38. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_requests.py +0 -0
  39. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_streaming.py +0 -0
  40. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_transport.py +0 -0
  41. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_urls.py +0 -0
  42. {boxd-0.2.13.dev755 → boxd-0.2.14.dev757}/tests/test_version_check.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boxd
3
- Version: 0.2.13.dev755
3
+ Version: 0.2.14.dev757
4
4
  Summary: Python SDK for the boxd cloud VM platform
5
5
  Author: Azin
6
6
  License-Expression: MIT
@@ -198,7 +198,7 @@ boxd.machines.create(
198
198
  cmd=["/usr/local/bin/start"],
199
199
  restart_policy="always", # "always" | "never"
200
200
  vcpu=2,
201
- memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G
201
+ memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G
202
202
  disk="100G",
203
203
  auto_suspend_timeout=300, # seconds; 0 disables
204
204
  auto_destroy_timeout=0,
@@ -267,9 +267,10 @@ machine restored from a snapshot starts unrestricted.
267
267
 
268
268
  ### Sizing
269
269
 
270
- There are three sizes: 1 vCPU/4G, 2/8G, 4/16G. Name either dimension and the
271
- other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
272
- above your org's quota is refused, never quietly clamped.
270
+ There are four sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G. Name either dimension and
271
+ the other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
272
+ above your org's quota is refused, never quietly clamped; 8/32G is above the
273
+ default quota, so it needs the quota raised first.
273
274
 
274
275
  A machine keeps the size it was created with, through stop/start, wake, and
275
276
  migration alike. Changing it is an explicit call:
@@ -166,7 +166,7 @@ boxd.machines.create(
166
166
  cmd=["/usr/local/bin/start"],
167
167
  restart_policy="always", # "always" | "never"
168
168
  vcpu=2,
169
- memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G
169
+ memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G
170
170
  disk="100G",
171
171
  auto_suspend_timeout=300, # seconds; 0 disables
172
172
  auto_destroy_timeout=0,
@@ -235,9 +235,10 @@ machine restored from a snapshot starts unrestricted.
235
235
 
236
236
  ### Sizing
237
237
 
238
- There are three sizes: 1 vCPU/4G, 2/8G, 4/16G. Name either dimension and the
239
- other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
240
- above your org's quota is refused, never quietly clamped.
238
+ There are four sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G. Name either dimension and
239
+ the other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
240
+ above your org's quota is refused, never quietly clamped; 8/32G is above the
241
+ default quota, so it needs the quota raised first.
241
242
 
242
243
  A machine keeps the size it was created with, through stop/start, wake, and
243
244
  migration alike. Changing it is an explicit call:
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boxd"
3
- version = "0.2.13.dev755"
3
+ version = "0.2.14.dev757"
4
4
  description = "Python SDK for the boxd cloud VM platform"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -187,7 +187,7 @@ def resize_vm(
187
187
  if vcpu is None and memory is None:
188
188
  raise ValueError(
189
189
  "resize needs vcpu or memory - either one names a size class "
190
- "(1 vCPU/4G, 2/8G, 4/16G) and the other follows from it"
190
+ "(1 vCPU/4G, 2/8G, 4/16G, 8/32G) and the other follows from it"
191
191
  )
192
192
  return api_pb2.ResizeVmRequest(
193
193
  vm_id=machine_id, vcpu=vcpu or 0, memory_bytes=parse_size(memory)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boxd
3
- Version: 0.2.13.dev755
3
+ Version: 0.2.14.dev757
4
4
  Summary: Python SDK for the boxd cloud VM platform
5
5
  Author: Azin
6
6
  License-Expression: MIT
@@ -198,7 +198,7 @@ boxd.machines.create(
198
198
  cmd=["/usr/local/bin/start"],
199
199
  restart_policy="always", # "always" | "never"
200
200
  vcpu=2,
201
- memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G
201
+ memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G
202
202
  disk="100G",
203
203
  auto_suspend_timeout=300, # seconds; 0 disables
204
204
  auto_destroy_timeout=0,
@@ -267,9 +267,10 @@ machine restored from a snapshot starts unrestricted.
267
267
 
268
268
  ### Sizing
269
269
 
270
- There are three sizes: 1 vCPU/4G, 2/8G, 4/16G. Name either dimension and the
271
- other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
272
- above your org's quota is refused, never quietly clamped.
270
+ There are four sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G. Name either dimension and
271
+ the other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
272
+ above your org's quota is refused, never quietly clamped; 8/32G is above the
273
+ default quota, so it needs the quota raised first.
273
274
 
274
275
  A machine keeps the size it was created with, through stop/start, wake, and
275
276
  migration alike. Changing it is an explicit call:
File without changes
File without changes