boxd 0.2.16.dev834__tar.gz → 0.2.16.dev844__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 (44) hide show
  1. {boxd-0.2.16.dev834/src/boxd.egg-info → boxd-0.2.16.dev844}/PKG-INFO +13 -9
  2. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/README.md +12 -8
  3. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/pyproject.toml +1 -1
  4. boxd-0.2.16.dev844/src/boxd/_generated/api_pb2.py +572 -0
  5. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_generated/api_pb2_grpc.py +5 -2
  6. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_mappers.py +7 -2
  7. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_requests.py +21 -2
  8. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/models.py +14 -3
  9. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/machines.py +34 -4
  10. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/orgs.py +35 -37
  11. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844/src/boxd.egg-info}/PKG-INFO +13 -9
  12. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_namespaces.py +151 -31
  13. boxd-0.2.16.dev834/src/boxd/_generated/api_pb2.py +0 -572
  14. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/LICENSE +0 -0
  15. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/setup.cfg +0 -0
  16. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/__init__.py +0 -0
  17. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_client.py +0 -0
  18. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_credentials.py +0 -0
  19. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_generated/__init__.py +0 -0
  20. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_streaming.py +0 -0
  21. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_transport.py +0 -0
  22. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_urls.py +0 -0
  23. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/_version_check.py +0 -0
  24. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/errors.py +0 -0
  25. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/__init__.py +0 -0
  26. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/account.py +0 -0
  27. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/credentials.py +0 -0
  28. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/disks.py +0 -0
  29. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/domains.py +0 -0
  30. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/snapshots.py +0 -0
  31. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/teams.py +0 -0
  32. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd/resources/vars.py +0 -0
  33. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd.egg-info/SOURCES.txt +0 -0
  34. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd.egg-info/dependency_links.txt +0 -0
  35. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd.egg-info/requires.txt +0 -0
  36. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/src/boxd.egg-info/top_level.txt +0 -0
  37. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_credentials.py +0 -0
  38. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_delete_self.py +0 -0
  39. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_mappers.py +0 -0
  40. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_requests.py +0 -0
  41. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_streaming.py +0 -0
  42. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_transport.py +0 -0
  43. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/tests/test_urls.py +0 -0
  44. {boxd-0.2.16.dev834 → boxd-0.2.16.dev844}/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.16.dev834
3
+ Version: 0.2.16.dev844
4
4
  Summary: Python SDK for the boxd cloud VM platform
5
5
  Author: Azin
6
6
  License-Expression: MIT
@@ -710,17 +710,21 @@ boxd.orgs.clear_machine_defaults("acme") # back to the quota
710
710
  Only machines created afterwards are affected — every existing machine keeps
711
711
  the size it was created with. Omit the org to target your home org.
712
712
 
713
- An org can also set whether new machines start with `idle_ignore_outbound` on
714
- (only inbound connections keep a machine awake). Setting or clearing it
715
- requires org admin; reading it doesn't.
713
+ An org can also set whether its machines run with `idle_ignore_outbound` on
714
+ (only inbound connections keep a machine awake). Setting it also sets it on
715
+ the existing machines and snapshots you can manage, unless you pass
716
+ `new_machines_only=True`. Setting or clearing it requires org admin; reading
717
+ it doesn't.
716
718
 
717
719
  ```python
718
- boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True)
719
- r = boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True, apply_existing=True)
720
- r.machines_changed, r.machines_skipped # existing machines set; others' private ones left alone
720
+ r = boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True)
721
+ r.machines_changed, r.snapshots_changed # existing machines and snapshots set
722
+ r.machines_skipped # others' private machines, left alone
723
+ boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True, new_machines_only=True)
721
724
  i = boxd.orgs.get_idle_ignore_outbound_default("acme")
722
- i.is_set, i.enabled # is_set False = no default, so enabled is False
723
- boxd.orgs.clear_idle_ignore_outbound_default("acme")
725
+ i.is_set, i.enabled # is_set False = no default, so enabled is
726
+ i.platform_enabled # the platform's setting, this one
727
+ boxd.orgs.clear_idle_ignore_outbound_default("acme") # existing machines keep theirs
724
728
  ```
725
729
 
726
730
  ```python
@@ -678,17 +678,21 @@ boxd.orgs.clear_machine_defaults("acme") # back to the quota
678
678
  Only machines created afterwards are affected — every existing machine keeps
679
679
  the size it was created with. Omit the org to target your home org.
680
680
 
681
- An org can also set whether new machines start with `idle_ignore_outbound` on
682
- (only inbound connections keep a machine awake). Setting or clearing it
683
- requires org admin; reading it doesn't.
681
+ An org can also set whether its machines run with `idle_ignore_outbound` on
682
+ (only inbound connections keep a machine awake). Setting it also sets it on
683
+ the existing machines and snapshots you can manage, unless you pass
684
+ `new_machines_only=True`. Setting or clearing it requires org admin; reading
685
+ it doesn't.
684
686
 
685
687
  ```python
686
- boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True)
687
- r = boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True, apply_existing=True)
688
- r.machines_changed, r.machines_skipped # existing machines set; others' private ones left alone
688
+ r = boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True)
689
+ r.machines_changed, r.snapshots_changed # existing machines and snapshots set
690
+ r.machines_skipped # others' private machines, left alone
691
+ boxd.orgs.set_idle_ignore_outbound_default("acme", enabled=True, new_machines_only=True)
689
692
  i = boxd.orgs.get_idle_ignore_outbound_default("acme")
690
- i.is_set, i.enabled # is_set False = no default, so enabled is False
691
- boxd.orgs.clear_idle_ignore_outbound_default("acme")
693
+ i.is_set, i.enabled # is_set False = no default, so enabled is
694
+ i.platform_enabled # the platform's setting, this one
695
+ boxd.orgs.clear_idle_ignore_outbound_default("acme") # existing machines keep theirs
692
696
  ```
693
697
 
694
698
  ```python
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "boxd"
3
- version = "0.2.16.dev834"
3
+ version = "0.2.16.dev844"
4
4
  description = "Python SDK for the boxd cloud VM platform"
5
5
  readme = "README.md"
6
6
  license = "MIT"