datadid-sdk-python 1.0.3__tar.gz → 1.0.4__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.

Potentially problematic release.


This version of datadid-sdk-python might be problematic. Click here for more details.

Files changed (19) hide show
  1. {datadid_sdk_python-1.0.3 → datadid_sdk_python-1.0.4}/PKG-INFO +9 -9
  2. {datadid_sdk_python-1.0.3 → datadid_sdk_python-1.0.4}/README.md +8 -8
  3. {datadid_sdk_python-1.0.3 → datadid_sdk_python-1.0.4}/datadid_sdk_python.egg-info/PKG-INFO +9 -9
  4. datadid_sdk_python-1.0.4/datadid_sdk_python.egg-info/SOURCES.txt +23 -0
  5. datadid_sdk_python-1.0.4/datadid_sdk_python.egg-info/top_level.txt +1 -0
  6. {datadid_sdk_python-1.0.3 → datadid_sdk_python-1.0.4}/pyproject.toml +2 -2
  7. datadid_sdk_python-1.0.3/datadid_sdk_python.egg-info/SOURCES.txt +0 -23
  8. datadid_sdk_python-1.0.3/datadid_sdk_python.egg-info/top_level.txt +0 -1
  9. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/__init__.py +0 -0
  10. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/data/__init__.py +0 -0
  11. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/data/client.py +0 -0
  12. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/data/types.py +0 -0
  13. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/did/__init__.py +0 -0
  14. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/did/client.py +0 -0
  15. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/did/types.py +0 -0
  16. {datadid_sdk_python-1.0.3/src → datadid_sdk_python-1.0.4/datadid}/errors.py +0 -0
  17. {datadid_sdk_python-1.0.3 → datadid_sdk_python-1.0.4}/datadid_sdk_python.egg-info/dependency_links.txt +0 -0
  18. {datadid_sdk_python-1.0.3 → datadid_sdk_python-1.0.4}/datadid_sdk_python.egg-info/requires.txt +0 -0
  19. {datadid_sdk_python-1.0.3 → datadid_sdk_python-1.0.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datadid-sdk-python
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Python SDK for the DataDID developer platform — Data API and DID API clients
5
5
  License-Expression: ISC
6
6
  Keywords: datadid,did,memo
@@ -31,7 +31,7 @@ pip install datadid-sdk-python
31
31
 
32
32
  ```python
33
33
  import asyncio
34
- from src import DataClient
34
+ from datadid import DataClient
35
35
 
36
36
  async def main():
37
37
  client = DataClient.production()
@@ -62,8 +62,8 @@ asyncio.run(main())
62
62
  ### Create a client
63
63
 
64
64
  ```python
65
- from src import DataClient
66
- from src.data.types import DataClientOptions
65
+ from datadid import DataClient
66
+ from datadid.data.types import DataClientOptions
67
67
 
68
68
  client = DataClient.production()
69
69
  # or: client = DataClient.testnet()
@@ -234,7 +234,7 @@ await client.add_action_record(61, {"some_option": "value"})
234
234
  ### Error handling
235
235
 
236
236
  ```python
237
- from src import DataDIDApiError
237
+ from datadid import DataDIDApiError
238
238
 
239
239
  try:
240
240
  await client.login_with_email_password("alice@example.com", "wrongpassword")
@@ -251,8 +251,8 @@ except DataDIDApiError as err:
251
251
  By default, login methods store the access token on the client automatically. You can disable this:
252
252
 
253
253
  ```python
254
- from src import DataClient
255
- from src.data.types import DataClientOptions
254
+ from datadid import DataClient
255
+ from datadid.data.types import DataClientOptions
256
256
 
257
257
  client = DataClient(DataClientOptions(
258
258
  base_url="https://data-be.metamemo.one",
@@ -282,7 +282,7 @@ DID operations use a **sign-then-submit** pattern. You never send your private k
282
282
  ### Create a client
283
283
 
284
284
  ```python
285
- from src import DIDClient
285
+ from datadid import DIDClient
286
286
 
287
287
  did_client = DIDClient.production()
288
288
  # or: did_client = DIDClient.testnet()
@@ -483,5 +483,5 @@ set DATADID_TOKEN=eyJ... && python tests/run.py # Windows cmd
483
483
 
484
484
  ## Links
485
485
 
486
- - [Data API reference](https://data-be.metamemo.one)
486
+ - [Data API reference](https://memolabs.gitbook.io/datadid-developer-platform/en/api)
487
487
  - [DID API reference (Swagger)](https://prodidapi.memolabs.org/swagger/index.html)
@@ -21,7 +21,7 @@ pip install datadid-sdk-python
21
21
 
22
22
  ```python
23
23
  import asyncio
24
- from src import DataClient
24
+ from datadid import DataClient
25
25
 
26
26
  async def main():
27
27
  client = DataClient.production()
@@ -52,8 +52,8 @@ asyncio.run(main())
52
52
  ### Create a client
53
53
 
54
54
  ```python
55
- from src import DataClient
56
- from src.data.types import DataClientOptions
55
+ from datadid import DataClient
56
+ from datadid.data.types import DataClientOptions
57
57
 
58
58
  client = DataClient.production()
59
59
  # or: client = DataClient.testnet()
@@ -224,7 +224,7 @@ await client.add_action_record(61, {"some_option": "value"})
224
224
  ### Error handling
225
225
 
226
226
  ```python
227
- from src import DataDIDApiError
227
+ from datadid import DataDIDApiError
228
228
 
229
229
  try:
230
230
  await client.login_with_email_password("alice@example.com", "wrongpassword")
@@ -241,8 +241,8 @@ except DataDIDApiError as err:
241
241
  By default, login methods store the access token on the client automatically. You can disable this:
242
242
 
243
243
  ```python
244
- from src import DataClient
245
- from src.data.types import DataClientOptions
244
+ from datadid import DataClient
245
+ from datadid.data.types import DataClientOptions
246
246
 
247
247
  client = DataClient(DataClientOptions(
248
248
  base_url="https://data-be.metamemo.one",
@@ -272,7 +272,7 @@ DID operations use a **sign-then-submit** pattern. You never send your private k
272
272
  ### Create a client
273
273
 
274
274
  ```python
275
- from src import DIDClient
275
+ from datadid import DIDClient
276
276
 
277
277
  did_client = DIDClient.production()
278
278
  # or: did_client = DIDClient.testnet()
@@ -473,5 +473,5 @@ set DATADID_TOKEN=eyJ... && python tests/run.py # Windows cmd
473
473
 
474
474
  ## Links
475
475
 
476
- - [Data API reference](https://data-be.metamemo.one)
476
+ - [Data API reference](https://memolabs.gitbook.io/datadid-developer-platform/en/api)
477
477
  - [DID API reference (Swagger)](https://prodidapi.memolabs.org/swagger/index.html)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datadid-sdk-python
3
- Version: 1.0.3
3
+ Version: 1.0.4
4
4
  Summary: Python SDK for the DataDID developer platform — Data API and DID API clients
5
5
  License-Expression: ISC
6
6
  Keywords: datadid,did,memo
@@ -31,7 +31,7 @@ pip install datadid-sdk-python
31
31
 
32
32
  ```python
33
33
  import asyncio
34
- from src import DataClient
34
+ from datadid import DataClient
35
35
 
36
36
  async def main():
37
37
  client = DataClient.production()
@@ -62,8 +62,8 @@ asyncio.run(main())
62
62
  ### Create a client
63
63
 
64
64
  ```python
65
- from src import DataClient
66
- from src.data.types import DataClientOptions
65
+ from datadid import DataClient
66
+ from datadid.data.types import DataClientOptions
67
67
 
68
68
  client = DataClient.production()
69
69
  # or: client = DataClient.testnet()
@@ -234,7 +234,7 @@ await client.add_action_record(61, {"some_option": "value"})
234
234
  ### Error handling
235
235
 
236
236
  ```python
237
- from src import DataDIDApiError
237
+ from datadid import DataDIDApiError
238
238
 
239
239
  try:
240
240
  await client.login_with_email_password("alice@example.com", "wrongpassword")
@@ -251,8 +251,8 @@ except DataDIDApiError as err:
251
251
  By default, login methods store the access token on the client automatically. You can disable this:
252
252
 
253
253
  ```python
254
- from src import DataClient
255
- from src.data.types import DataClientOptions
254
+ from datadid import DataClient
255
+ from datadid.data.types import DataClientOptions
256
256
 
257
257
  client = DataClient(DataClientOptions(
258
258
  base_url="https://data-be.metamemo.one",
@@ -282,7 +282,7 @@ DID operations use a **sign-then-submit** pattern. You never send your private k
282
282
  ### Create a client
283
283
 
284
284
  ```python
285
- from src import DIDClient
285
+ from datadid import DIDClient
286
286
 
287
287
  did_client = DIDClient.production()
288
288
  # or: did_client = DIDClient.testnet()
@@ -483,5 +483,5 @@ set DATADID_TOKEN=eyJ... && python tests/run.py # Windows cmd
483
483
 
484
484
  ## Links
485
485
 
486
- - [Data API reference](https://data-be.metamemo.one)
486
+ - [Data API reference](https://memolabs.gitbook.io/datadid-developer-platform/en/api)
487
487
  - [DID API reference (Swagger)](https://prodidapi.memolabs.org/swagger/index.html)
@@ -0,0 +1,23 @@
1
+ README.md
2
+ pyproject.toml
3
+ ./datadid/__init__.py
4
+ ./datadid/errors.py
5
+ ./datadid/data/__init__.py
6
+ ./datadid/data/client.py
7
+ ./datadid/data/types.py
8
+ ./datadid/did/__init__.py
9
+ ./datadid/did/client.py
10
+ ./datadid/did/types.py
11
+ datadid/__init__.py
12
+ datadid/errors.py
13
+ datadid/data/__init__.py
14
+ datadid/data/client.py
15
+ datadid/data/types.py
16
+ datadid/did/__init__.py
17
+ datadid/did/client.py
18
+ datadid/did/types.py
19
+ datadid_sdk_python.egg-info/PKG-INFO
20
+ datadid_sdk_python.egg-info/SOURCES.txt
21
+ datadid_sdk_python.egg-info/dependency_links.txt
22
+ datadid_sdk_python.egg-info/requires.txt
23
+ datadid_sdk_python.egg-info/top_level.txt
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "datadid-sdk-python"
7
- version = "1.0.3"
7
+ version = "1.0.4"
8
8
  description = "Python SDK for the DataDID developer platform — Data API and DID API clients"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -16,7 +16,7 @@ dependencies = [
16
16
 
17
17
  [tool.setuptools.packages.find]
18
18
  where = ["."]
19
- include = ["src*"]
19
+ include = ["datadid*"]
20
20
 
21
21
  [tool.setuptools.package-dir]
22
22
  "" = "."
@@ -1,23 +0,0 @@
1
- README.md
2
- pyproject.toml
3
- ./src/__init__.py
4
- ./src/errors.py
5
- ./src/data/__init__.py
6
- ./src/data/client.py
7
- ./src/data/types.py
8
- ./src/did/__init__.py
9
- ./src/did/client.py
10
- ./src/did/types.py
11
- datadid_sdk_python.egg-info/PKG-INFO
12
- datadid_sdk_python.egg-info/SOURCES.txt
13
- datadid_sdk_python.egg-info/dependency_links.txt
14
- datadid_sdk_python.egg-info/requires.txt
15
- datadid_sdk_python.egg-info/top_level.txt
16
- src/__init__.py
17
- src/errors.py
18
- src/data/__init__.py
19
- src/data/client.py
20
- src/data/types.py
21
- src/did/__init__.py
22
- src/did/client.py
23
- src/did/types.py