unitysvc-services 0.1.0__py3-none-any.whl → 0.2.0__py3-none-any.whl

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.
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unitysvc-services
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: SDK for digital service providers on UnitySVC
5
5
  Author-email: Bo Peng <bo.peng@unitysvc.com>
6
6
  Maintainer-email: Bo Peng <bo.peng@unitysvc.com>
7
- License: MIT
7
+ License-Expression: MIT
8
8
  Project-URL: bugs, https://github.com/unitysvc/unitysvc-services/issues
9
9
  Project-URL: changelog, https://github.com/unitysvc/unitysvc-services/blob/master/changelog.md
10
10
  Project-URL: homepage, https://github.com/unitysvc/unitysvc-services
@@ -13,6 +13,7 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: typer
15
15
  Requires-Dist: pydantic
16
+ Requires-Dist: email-validator
16
17
  Requires-Dist: jsonschema
17
18
  Requires-Dist: jinja2
18
19
  Requires-Dist: rich
@@ -52,11 +53,11 @@ Client library and CLI tools for digital service providers to interact with the
52
53
 
53
54
  UnitySVC Provider SDK enables digital service providers to manage their service offerings through a **local-first, version-controlled workflow**:
54
55
 
55
- - **Define** service data using schema-validated files (JSON/TOML)
56
- - **Manage** everything locally in git-controlled directories
57
- - **Validate** data against schemas before publishing
58
- - **Publish** to UnitySVC platform when ready
59
- - **Automate** with populate scripts for dynamic catalogs
56
+ - **Define** service data using schema-validated files (JSON/TOML)
57
+ - **Manage** everything locally in git-controlled directories
58
+ - **Validate** data against schemas before publishing
59
+ - **Publish** to UnitySVC platform when ready
60
+ - **Automate** with populate scripts for dynamic catalogs
60
61
 
61
62
  ## Installation
62
63
 
@@ -78,14 +79,13 @@ unitysvc_services init seller my-marketplace
78
79
  unitysvc_services validate
79
80
  unitysvc_services format
80
81
 
81
- # Publish to platform
82
- export UNITYSVC_BACKEND_URL="https://api.unitysvc.com/api/v1"
82
+ # Publish to platform (publishes all: sellers, providers, offerings, listings)
83
+ export UNITYSVC_BASE_URL="https://api.unitysvc.com/api/v1"
83
84
  export UNITYSVC_API_KEY="your-api-key"
85
+ unitysvc_services publish
84
86
 
87
+ # Or publish specific types only
85
88
  unitysvc_services publish providers
86
- unitysvc_services publish sellers
87
- unitysvc_services publish offerings
88
- unitysvc_services publish listings
89
89
 
90
90
  # Verify
91
91
  unitysvc_services query offerings
@@ -93,12 +93,12 @@ unitysvc_services query offerings
93
93
 
94
94
  ## Key Features
95
95
 
96
- - 📋 **Pydantic Models** - Type-safe data models for all entities
97
- - ✅ **Data Validation** - Comprehensive schema validation
98
- - 🔄 **Local-First** - Work offline, commit to git, publish when ready
99
- - 🚀 **CLI Tools** - Complete command-line interface
100
- - 🤖 **Automation** - Script-based service generation
101
- - 📝 **Multiple Formats** - Support for JSON and TOML
96
+ - 📋 **Pydantic Models** - Type-safe data models for all entities
97
+ - ✅ **Data Validation** - Comprehensive schema validation
98
+ - 🔄 **Local-First** - Work offline, commit to git, publish when ready
99
+ - 🚀 **CLI Tools** - Complete command-line interface
100
+ - 🤖 **Automation** - Script-based service generation
101
+ - 📝 **Multiple Formats** - Support for JSON and TOML
102
102
 
103
103
  ## Workflows
104
104
 
@@ -134,34 +134,34 @@ See [Data Structure Documentation](https://unitysvc-services.readthedocs.io/en/l
134
134
 
135
135
  ## CLI Commands
136
136
 
137
- | Command | Description |
138
- |---------|-------------|
139
- | `init` | Initialize new data files from schemas |
140
- | `list` | List local data files |
141
- | `query` | Query backend API for published data |
142
- | `publish` | Publish data to backend |
143
- | `update` | Update local file fields |
144
- | `validate` | Validate data consistency |
145
- | `format` | Format data files |
146
- | `populate` | Execute provider populate scripts |
137
+ | Command | Description |
138
+ | ---------- | -------------------------------------- |
139
+ | `init` | Initialize new data files from schemas |
140
+ | `list` | List local data files |
141
+ | `query` | Query backend API for published data |
142
+ | `publish` | Publish data to backend |
143
+ | `update` | Update local file fields |
144
+ | `validate` | Validate data consistency |
145
+ | `format` | Format data files |
146
+ | `populate` | Execute provider populate scripts |
147
147
 
148
148
  Run `unitysvc_services --help` or see [CLI Reference](https://unitysvc-services.readthedocs.io/en/latest/cli-reference/) for complete documentation.
149
149
 
150
150
  ## Documentation
151
151
 
152
- - **[Getting Started](https://unitysvc-services.readthedocs.io/en/latest/getting-started/)** - Installation and first steps
153
- - **[Data Structure](https://unitysvc-services.readthedocs.io/en/latest/data-structure/)** - File organization rules
154
- - **[Workflows](https://unitysvc-services.readthedocs.io/en/latest/workflows/)** - Manual and automated patterns
155
- - **[CLI Reference](https://unitysvc-services.readthedocs.io/en/latest/cli-reference/)** - All commands and options
156
- - **[File Schemas](https://unitysvc-services.readthedocs.io/en/latest/file-schemas/)** - Schema specifications
157
- - **[Python API](https://unitysvc-services.readthedocs.io/en/latest/api-reference/)** - Programmatic usage
152
+ - **[Getting Started](https://unitysvc-services.readthedocs.io/en/latest/getting-started/)** - Installation and first steps
153
+ - **[Data Structure](https://unitysvc-services.readthedocs.io/en/latest/data-structure/)** - File organization rules
154
+ - **[Workflows](https://unitysvc-services.readthedocs.io/en/latest/workflows/)** - Manual and automated patterns
155
+ - **[CLI Reference](https://unitysvc-services.readthedocs.io/en/latest/cli-reference/)** - All commands and options
156
+ - **[File Schemas](https://unitysvc-services.readthedocs.io/en/latest/file-schemas/)** - Schema specifications
157
+ - **[Python API](https://unitysvc-services.readthedocs.io/en/latest/api-reference/)** - Programmatic usage
158
158
 
159
159
  ## Links
160
160
 
161
- - **PyPI**: https://pypi.org/project/unitysvc-services/
162
- - **Documentation**: https://unitysvc-services.readthedocs.io
163
- - **Source Code**: https://github.com/unitysvc/unitysvc-services
164
- - **Issue Tracker**: https://github.com/unitysvc/unitysvc-services/issues
161
+ - **PyPI**: https://pypi.org/project/unitysvc-services/
162
+ - **Documentation**: https://unitysvc-services.readthedocs.io
163
+ - **Source Code**: https://github.com/unitysvc/unitysvc-services
164
+ - **Issue Tracker**: https://github.com/unitysvc/unitysvc-services/issues
165
165
 
166
166
  ## License
167
167
 
@@ -0,0 +1,23 @@
1
+ unitysvc_services/__init__.py,sha256=J6F3RlZCJUVjhZoprfbrYCxe3l9ynQQbGO7pf7FyqlM,110
2
+ unitysvc_services/cli.py,sha256=OK0IZyAckxP15jRWU_W49hl3t7XcNRtd8BoDMyRKqNM,682
3
+ unitysvc_services/format_data.py,sha256=Jl9Vj3fRX852fHSUa5DzO-oiFQwuQHC3WMCDNIlo1Lc,5460
4
+ unitysvc_services/list.py,sha256=QDp9BByaoeFeJxXJN9RQ-jU99mH9Guq9ampfXCbpZmI,7033
5
+ unitysvc_services/populate.py,sha256=zkcjIy8BWuQSO7JwiRNHKgGoxQvc3ujluUQdYixdBvY,6626
6
+ unitysvc_services/publisher.py,sha256=WzkUH9_Jxen9LzenzITVR8He40ohQHfNYcdwFztLKQ0,37755
7
+ unitysvc_services/query.py,sha256=F-eWvDSXWCK-o8KAMEim1xA_oG7VISY53vrE8E1hmTQ,15094
8
+ unitysvc_services/scaffold.py,sha256=Y73IX8vskImxSvxDgR0mvEFuAMYnBKfttn3bjcz3jmQ,40331
9
+ unitysvc_services/update.py,sha256=K9swocTUnqqiSgARo6GmuzTzUySSpyqqPPW4xF7ZU-g,9659
10
+ unitysvc_services/utils.py,sha256=GN0gkVTU8fOx2G0EbqnWmx8w9eFsoPfRprPjwCyPYkE,11371
11
+ unitysvc_services/validator.py,sha256=zuFA44ezKlfUTtdJ8M2Xd7nk1Eot4HxbBksEUaIIpZs,26790
12
+ unitysvc_services/models/__init__.py,sha256=hJCc2KSZmIHlKWKE6GpLGdeVB6LIpyVUKiOKnwmKvCs,200
13
+ unitysvc_services/models/base.py,sha256=gm3xlcC35QNRST5ikJPhdk-dTTXoY9D_5Jxkyt8SBCU,13173
14
+ unitysvc_services/models/listing_v1.py,sha256=CC_GXoN3NHJFzEQ3cBHDQpdUaBNpvLdHARHJ-LmC0RM,2305
15
+ unitysvc_services/models/provider_v1.py,sha256=cYK5kDDmzQEnLvUC2C8dKz-ZXci7hVn3fjNrJkaSr10,2050
16
+ unitysvc_services/models/seller_v1.py,sha256=SU4rqYAh9hE4EeUrEkqaVrLwusenV7MotPF77VcsRKo,3263
17
+ unitysvc_services/models/service_v1.py,sha256=u16zqM3khrJoTw_v0d45tMcKXjko5k_v3w8xwUtZ6nM,2720
18
+ unitysvc_services-0.2.0.dist-info/licenses/LICENSE,sha256=_p8V6A8OMPu2HIztn3O01v0-urZFwk0Dd3Yk_PTIlL8,1065
19
+ unitysvc_services-0.2.0.dist-info/METADATA,sha256=RMhmiHfB6yiAtiKsmmvrfT0L1IIBpprn0y0RVocjo20,6515
20
+ unitysvc_services-0.2.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ unitysvc_services-0.2.0.dist-info/entry_points.txt,sha256=-vodnbPmo7QQmFu8jdG6sCyGRVM727w9Nhwp4Vwau_k,64
22
+ unitysvc_services-0.2.0.dist-info/top_level.txt,sha256=GIotQj-Ro2ruR7eupM1r58PWqIHTAq647ORL7E2kneo,18
23
+ unitysvc_services-0.2.0.dist-info/RECORD,,
@@ -1,23 +0,0 @@
1
- unitysvc_services/__init__.py,sha256=J6F3RlZCJUVjhZoprfbrYCxe3l9ynQQbGO7pf7FyqlM,110
2
- unitysvc_services/cli.py,sha256=OK0IZyAckxP15jRWU_W49hl3t7XcNRtd8BoDMyRKqNM,682
3
- unitysvc_services/format_data.py,sha256=kwY8BlEY8rC5bd9M15Xo9KgecCik56v7JCPusQDupbE,5636
4
- unitysvc_services/list.py,sha256=jbiDfz__pmWTGIFMDXqcIMkc1zVNHufa9Fy3TtURQ6c,7823
5
- unitysvc_services/populate.py,sha256=yBzYxccurSMAssKp9aMDhVE9jt3bFuA-KKiHtG8vaCM,6792
6
- unitysvc_services/publisher.py,sha256=CjAcf1ZDhYIQkQAkw1C_icz5tLcmYgIrGDzDs7JmUqA,36169
7
- unitysvc_services/query.py,sha256=AphbiTMEHShZ9fawqNP4drzi-tyt9SxB9dnWfGi7bVs,17803
8
- unitysvc_services/scaffold.py,sha256=Y73IX8vskImxSvxDgR0mvEFuAMYnBKfttn3bjcz3jmQ,40331
9
- unitysvc_services/update.py,sha256=R1n68TtPYej22h6eW5_k0BK9leK_3whnYgUxhM3hnUg,9840
10
- unitysvc_services/utils.py,sha256=CL1_zpdwtgjk0W31NsqNnWnvOUOvUg__K7DKf7N_vYw,7752
11
- unitysvc_services/validator.py,sha256=ezHB8ZtR12G5qaIiKM3vbWfwF9kaQkIdYzDtRlvpm3A,21537
12
- unitysvc_services/models/__init__.py,sha256=hJCc2KSZmIHlKWKE6GpLGdeVB6LIpyVUKiOKnwmKvCs,200
13
- unitysvc_services/models/base.py,sha256=2k2o9exnvEh9ailqaREIpBy7iYk7tIYn1IcVgNNenlc,12807
14
- unitysvc_services/models/listing_v1.py,sha256=P-Qm0ckeuEL_DxTpQL0AuhLr6j3ordRl6C_DWs0_NZA,2298
15
- unitysvc_services/models/provider_v1.py,sha256=QoXy_MBCWz2WsDgoMeNXmqQpEZrLrgS3wfLZVcOoH_E,1825
16
- unitysvc_services/models/seller_v1.py,sha256=oZd1eV4NYRvUMJib0pm2MjYobRWy2-ndhiG9WPFD6LM,3242
17
- unitysvc_services/models/service_v1.py,sha256=u16zqM3khrJoTw_v0d45tMcKXjko5k_v3w8xwUtZ6nM,2720
18
- unitysvc_services-0.1.0.dist-info/licenses/LICENSE,sha256=_p8V6A8OMPu2HIztn3O01v0-urZFwk0Dd3Yk_PTIlL8,1065
19
- unitysvc_services-0.1.0.dist-info/METADATA,sha256=urNqaeop8dEp86gEP7fobVnYAIhCNMb-yuxgkev0y54,6260
20
- unitysvc_services-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- unitysvc_services-0.1.0.dist-info/entry_points.txt,sha256=-vodnbPmo7QQmFu8jdG6sCyGRVM727w9Nhwp4Vwau_k,64
22
- unitysvc_services-0.1.0.dist-info/top_level.txt,sha256=GIotQj-Ro2ruR7eupM1r58PWqIHTAq647ORL7E2kneo,18
23
- unitysvc_services-0.1.0.dist-info/RECORD,,