memydev-base-sdk 0.1.0__tar.gz → 0.2.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.
Files changed (42) hide show
  1. memydev_base_sdk-0.2.0/LICENSE +11 -0
  2. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/PKG-INFO +36 -12
  3. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/README.md +22 -9
  4. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/pyproject.toml +17 -3
  5. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_client.py +1 -1
  6. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_sync/_client.py +1 -1
  7. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_sync/_transport.py +1 -1
  8. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_transport.py +1 -1
  9. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/.gitignore +0 -0
  10. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/requirements-release.in +0 -0
  11. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/requirements-release.lock +0 -0
  12. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/scripts/gen_sync.py +0 -0
  13. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/__init__.py +0 -0
  14. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_collection.py +0 -0
  15. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_errors.py +0 -0
  16. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_filter.py +0 -0
  17. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_graphql.py +0 -0
  18. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_helpers.py +0 -0
  19. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_mapping.py +0 -0
  20. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_realtime.py +0 -0
  21. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_self.py +0 -0
  22. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_sync/__init__.py +0 -0
  23. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_sync/_collection.py +0 -0
  24. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_sync/_graphql.py +0 -0
  25. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_sync/_helpers.py +0 -0
  26. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_sync/_self.py +0 -0
  27. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/_types.py +0 -0
  28. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/py.typed +0 -0
  29. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/src/memybase/sync/__init__.py +0 -0
  30. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_client.py +0 -0
  31. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_collection.py +0 -0
  32. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_contract_parity.py +0 -0
  33. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_errors.py +0 -0
  34. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_filter.py +0 -0
  35. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_graphql.py +0 -0
  36. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_helpers.py +0 -0
  37. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_mapping.py +0 -0
  38. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_realtime.py +0 -0
  39. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_self.py +0 -0
  40. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_sync_functional.py +0 -0
  41. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_sync_parity.py +0 -0
  42. {memydev_base_sdk-0.1.0 → memydev_base_sdk-0.2.0}/tests/test_transport.py +0 -0
@@ -0,0 +1,11 @@
1
+ MemyBase SDK — proprietary licence
2
+
3
+ Copyright (c) 2026 MemyBase. All rights reserved.
4
+
5
+ This package is published so that customers of the MemyBase hosted service can install it and use it to access
6
+ that service. You may install and use it, unmodified, only for that purpose and only while you hold a MemyBase
7
+ account. No other right to copy, modify, sublicense or redistribute it is granted.
8
+
9
+ The package is provided "as is", without warranty of any kind, to the extent permitted by law.
10
+
11
+ The MemyBase service terms that apply to your account govern your use of the service itself.
@@ -1,8 +1,19 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: memydev-base-sdk
3
- Version: 0.1.0
4
- Summary: Official MemyBase client SDK for Python
5
- License: Proprietary and unlicensed pending approved service terms.
3
+ Version: 0.2.0
4
+ Summary: Official Python client for MemyBase, the hosted database for apps and AI agents.
5
+ Project-URL: Homepage, https://base.memy.dev
6
+ Project-URL: Documentation, https://base.memy.dev/docs/sdk-getting-started
7
+ Project-URL: Trust Center, https://base.memy.dev/trust
8
+ License: Proprietary. See LICENSE.
9
+ License-File: LICENSE
10
+ Keywords: ai-agents,audit,backend-as-a-service,database,dbaas,graphql,mcp,memybase,realtime,rest
11
+ Classifier: License :: Other/Proprietary License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Topic :: Database :: Front-Ends
16
+ Classifier: Typing :: Typed
6
17
  Requires-Python: >=3.11
7
18
  Requires-Dist: httpx<1,>=0.27
8
19
  Provides-Extra: dev
@@ -19,23 +30,32 @@ Description-Content-Type: text/markdown
19
30
  Async-first (with sync wrapper) client for the [MemyBase](https://base.memy.dev) hosted data service.
20
31
  Mirrors the JS `@memydev/base-sdk` selector→handle API: `mb.collection(slug, project=…, database=…)`.
21
32
 
33
+ - Getting started: https://base.memy.dev/docs/sdk-getting-started
34
+ - What the service enforces, and the status of every capability: https://base.memy.dev/docs/guarantees-and-status
35
+ - Controls and the assurance roadmap: https://base.memy.dev/trust
36
+
22
37
  ## Install
23
38
 
24
- Install a released package from the customer-accessible Python registry configured for the hosted
25
- MemyBase subscription. Keep the release version explicit in application configuration:
39
+ Published on PyPI as [`memydev-base-sdk`](https://pypi.org/project/memydev-base-sdk/). Pin the
40
+ version explicitly in application configuration:
26
41
 
27
42
  ```bash
28
- MEMYBASE_SDK_VERSION="0.1.0"
29
- MEMYBASE_PYTHON_INDEX_URL="<customer Python index URL>"
30
- python -m pip install --index-url "$MEMYBASE_PYTHON_INDEX_URL" "memydev-base-sdk==$MEMYBASE_SDK_VERSION"
43
+ python -m pip install "memydev-base-sdk==0.2.0"
44
+ ```
45
+
46
+ The distribution name is `memydev-base-sdk`; the import name is `memybase`:
47
+
48
+ ```python
49
+ from memybase import MemyBase
31
50
  ```
32
51
 
33
- Do not install this SDK from a workspace path, local wheel, or `file://` dependency in subscriber
34
- applications. A hosted subscription provides the MemyBase service and SDK integration surface; it does
35
- not deliver runtime/source/Devtron/MongoDB components.
52
+ Do not install this SDK from a workspace path, local wheel, `file://`, or a vendored copy in
53
+ subscriber applications — the published package is the supported install. A hosted subscription
54
+ provides the MemyBase service and SDK integration surface; it does not deliver
55
+ runtime/source/MongoDB components.
36
56
 
37
57
  Release validation produces both the wheel and source distribution through Hatchling, verifies both with
38
- `twine check`, and installs the wheel into a clean venv from the configured subscriber Python index. The
58
+ `twine check`, and installs the wheel into a clean venv from PyPI. The
39
59
  package includes `py.typed` and both async `memybase.MemyBase` and sync `memybase._sync.MemyBase` surfaces.
40
60
 
41
61
  ## Usage
@@ -128,3 +148,7 @@ Reserved fields (`_id`, `createdAt`, `updatedAt`, …) are never sent on write;
128
148
  ## Versioning
129
149
 
130
150
  `memybase.__version__` tracks `SDK_VERSION`. Vendored artifacts are regenerated by `memybase/scripts/sdk-pack.sh` (packs this wheel + the JS tgz into their consumer repos).
151
+
152
+ ## Licence
153
+
154
+ Proprietary. See [LICENSE](LICENSE). This package is for use with a MemyBase account; the source is not published.
@@ -3,23 +3,32 @@
3
3
  Async-first (with sync wrapper) client for the [MemyBase](https://base.memy.dev) hosted data service.
4
4
  Mirrors the JS `@memydev/base-sdk` selector→handle API: `mb.collection(slug, project=…, database=…)`.
5
5
 
6
+ - Getting started: https://base.memy.dev/docs/sdk-getting-started
7
+ - What the service enforces, and the status of every capability: https://base.memy.dev/docs/guarantees-and-status
8
+ - Controls and the assurance roadmap: https://base.memy.dev/trust
9
+
6
10
  ## Install
7
11
 
8
- Install a released package from the customer-accessible Python registry configured for the hosted
9
- MemyBase subscription. Keep the release version explicit in application configuration:
12
+ Published on PyPI as [`memydev-base-sdk`](https://pypi.org/project/memydev-base-sdk/). Pin the
13
+ version explicitly in application configuration:
10
14
 
11
15
  ```bash
12
- MEMYBASE_SDK_VERSION="0.1.0"
13
- MEMYBASE_PYTHON_INDEX_URL="<customer Python index URL>"
14
- python -m pip install --index-url "$MEMYBASE_PYTHON_INDEX_URL" "memydev-base-sdk==$MEMYBASE_SDK_VERSION"
16
+ python -m pip install "memydev-base-sdk==0.2.0"
17
+ ```
18
+
19
+ The distribution name is `memydev-base-sdk`; the import name is `memybase`:
20
+
21
+ ```python
22
+ from memybase import MemyBase
15
23
  ```
16
24
 
17
- Do not install this SDK from a workspace path, local wheel, or `file://` dependency in subscriber
18
- applications. A hosted subscription provides the MemyBase service and SDK integration surface; it does
19
- not deliver runtime/source/Devtron/MongoDB components.
25
+ Do not install this SDK from a workspace path, local wheel, `file://`, or a vendored copy in
26
+ subscriber applications — the published package is the supported install. A hosted subscription
27
+ provides the MemyBase service and SDK integration surface; it does not deliver
28
+ runtime/source/MongoDB components.
20
29
 
21
30
  Release validation produces both the wheel and source distribution through Hatchling, verifies both with
22
- `twine check`, and installs the wheel into a clean venv from the configured subscriber Python index. The
31
+ `twine check`, and installs the wheel into a clean venv from PyPI. The
23
32
  package includes `py.typed` and both async `memybase.MemyBase` and sync `memybase._sync.MemyBase` surfaces.
24
33
 
25
34
  ## Usage
@@ -112,3 +121,7 @@ Reserved fields (`_id`, `createdAt`, `updatedAt`, …) are never sent on write;
112
121
  ## Versioning
113
122
 
114
123
  `memybase.__version__` tracks `SDK_VERSION`. Vendored artifacts are regenerated by `memybase/scripts/sdk-pack.sh` (packs this wheel + the JS tgz into their consumer repos).
124
+
125
+ ## Licence
126
+
127
+ Proprietary. See [LICENSE](LICENSE). This package is for use with a MemyBase account; the source is not published.
@@ -4,15 +4,29 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "memydev-base-sdk"
7
- version = "0.1.0"
8
- description = "Official MemyBase client SDK for Python"
7
+ version = "0.2.0"
8
+ description = "Official Python client for MemyBase, the hosted database for apps and AI agents."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
11
- license = {text = "Proprietary and unlicensed pending approved service terms."}
11
+ license = {text = "Proprietary. See LICENSE."}
12
+ keywords = ["memybase", "database", "dbaas", "backend-as-a-service", "mcp", "ai-agents", "rest", "graphql", "realtime", "audit"]
13
+ classifiers = [
14
+ "License :: Other/Proprietary License",
15
+ "Programming Language :: Python :: 3",
16
+ "Programming Language :: Python :: 3.11",
17
+ "Programming Language :: Python :: 3.12",
18
+ "Typing :: Typed",
19
+ "Topic :: Database :: Front-Ends",
20
+ ]
12
21
  dependencies = [
13
22
  "httpx>=0.27,<1",
14
23
  ]
15
24
 
25
+ [project.urls]
26
+ Homepage = "https://base.memy.dev"
27
+ Documentation = "https://base.memy.dev/docs/sdk-getting-started"
28
+ "Trust Center" = "https://base.memy.dev/trust"
29
+
16
30
  [project.optional-dependencies]
17
31
  dev = [
18
32
  "editables==0.5",
@@ -18,7 +18,7 @@ from ._transport import Transport, RetryConfig
18
18
 
19
19
  __all__ = ["MemyBase"]
20
20
 
21
- SDK_VERSION = "0.1.0"
21
+ SDK_VERSION = "0.2.0"
22
22
 
23
23
 
24
24
  def _idempotency_headers(idempotency_key: Optional[str] = None) -> Optional[dict[str, str]]:
@@ -20,7 +20,7 @@ from ._transport import Transport, RetryConfig
20
20
 
21
21
  __all__ = ["MemyBase"]
22
22
 
23
- SDK_VERSION = "0.1.0"
23
+ SDK_VERSION = "0.2.0"
24
24
 
25
25
 
26
26
  def _idempotency_headers(idempotency_key: Optional[str] = None) -> Optional[dict[str, str]]:
@@ -105,7 +105,7 @@ class Transport:
105
105
  "timeout": self._timeout,
106
106
  "headers": {
107
107
  "Accept": "application/json",
108
- "User-Agent": "memybase-python/0.1.0",
108
+ "User-Agent": "memybase-python/0.2.0",
109
109
  **self._auth_headers(),
110
110
  **self._extra_headers,
111
111
  },
@@ -103,7 +103,7 @@ class Transport:
103
103
  "timeout": self._timeout,
104
104
  "headers": {
105
105
  "Accept": "application/json",
106
- "User-Agent": "memybase-python/0.1.0",
106
+ "User-Agent": "memybase-python/0.2.0",
107
107
  **self._auth_headers(),
108
108
  **self._extra_headers,
109
109
  },