unitysvc-services 0.1.1__py3-none-any.whl → 0.2.1__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.1
3
+ Version: 0.2.1
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
@@ -53,11 +53,11 @@ Client library and CLI tools for digital service providers to interact with the
53
53
 
54
54
  UnitySVC Provider SDK enables digital service providers to manage their service offerings through a **local-first, version-controlled workflow**:
55
55
 
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
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
61
61
 
62
62
  ## Installation
63
63
 
@@ -79,14 +79,13 @@ unitysvc_services init seller my-marketplace
79
79
  unitysvc_services validate
80
80
  unitysvc_services format
81
81
 
82
- # Publish to platform
83
- 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"
84
84
  export UNITYSVC_API_KEY="your-api-key"
85
+ unitysvc_services publish
85
86
 
87
+ # Or publish specific types only
86
88
  unitysvc_services publish providers
87
- unitysvc_services publish sellers
88
- unitysvc_services publish offerings
89
- unitysvc_services publish listings
90
89
 
91
90
  # Verify
92
91
  unitysvc_services query offerings
@@ -94,12 +93,12 @@ unitysvc_services query offerings
94
93
 
95
94
  ## Key Features
96
95
 
97
- - 📋 **Pydantic Models** - Type-safe data models for all entities
98
- - ✅ **Data Validation** - Comprehensive schema validation
99
- - 🔄 **Local-First** - Work offline, commit to git, publish when ready
100
- - 🚀 **CLI Tools** - Complete command-line interface
101
- - 🤖 **Automation** - Script-based service generation
102
- - 📝 **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
103
102
 
104
103
  ## Workflows
105
104
 
@@ -135,34 +134,34 @@ See [Data Structure Documentation](https://unitysvc-services.readthedocs.io/en/l
135
134
 
136
135
  ## CLI Commands
137
136
 
138
- | Command | Description |
139
- |---------|-------------|
140
- | `init` | Initialize new data files from schemas |
141
- | `list` | List local data files |
142
- | `query` | Query backend API for published data |
143
- | `publish` | Publish data to backend |
144
- | `update` | Update local file fields |
145
- | `validate` | Validate data consistency |
146
- | `format` | Format data files |
147
- | `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 |
148
147
 
149
148
  Run `unitysvc_services --help` or see [CLI Reference](https://unitysvc-services.readthedocs.io/en/latest/cli-reference/) for complete documentation.
150
149
 
151
150
  ## Documentation
152
151
 
153
- - **[Getting Started](https://unitysvc-services.readthedocs.io/en/latest/getting-started/)** - Installation and first steps
154
- - **[Data Structure](https://unitysvc-services.readthedocs.io/en/latest/data-structure/)** - File organization rules
155
- - **[Workflows](https://unitysvc-services.readthedocs.io/en/latest/workflows/)** - Manual and automated patterns
156
- - **[CLI Reference](https://unitysvc-services.readthedocs.io/en/latest/cli-reference/)** - All commands and options
157
- - **[File Schemas](https://unitysvc-services.readthedocs.io/en/latest/file-schemas/)** - Schema specifications
158
- - **[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
159
158
 
160
159
  ## Links
161
160
 
162
- - **PyPI**: https://pypi.org/project/unitysvc-services/
163
- - **Documentation**: https://unitysvc-services.readthedocs.io
164
- - **Source Code**: https://github.com/unitysvc/unitysvc-services
165
- - **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
166
165
 
167
166
  ## License
168
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=srOwISXimWTbtIS9g6egLm7JHPl7wCvjoDlY17tQaeU,35375
7
+ unitysvc_services/query.py,sha256=lxNxsgjuxJ0UEouYMorjG4MpklKi7UCYPKgdJH9MFTA,14553
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.1.dist-info/licenses/LICENSE,sha256=_p8V6A8OMPu2HIztn3O01v0-urZFwk0Dd3Yk_PTIlL8,1065
19
+ unitysvc_services-0.2.1.dist-info/METADATA,sha256=KmRHbFRzKhpl0FGM8CCXE8nrAHMp5KJ0fdZBUvQHQgw,6515
20
+ unitysvc_services-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ unitysvc_services-0.2.1.dist-info/entry_points.txt,sha256=-vodnbPmo7QQmFu8jdG6sCyGRVM727w9Nhwp4Vwau_k,64
22
+ unitysvc_services-0.2.1.dist-info/top_level.txt,sha256=GIotQj-Ro2ruR7eupM1r58PWqIHTAq647ORL7E2kneo,18
23
+ unitysvc_services-0.2.1.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=o1ozRuJ9u7ZgJy4tPMID5TI8_1zlNmxE0A_prznfZ30,34230
7
- unitysvc_services/query.py,sha256=JIRtPsKkG_ZEkD7wfbyRSQ_l5Yr4E6wpMV3M5RqKbak,18159
8
- unitysvc_services/scaffold.py,sha256=Y73IX8vskImxSvxDgR0mvEFuAMYnBKfttn3bjcz3jmQ,40331
9
- unitysvc_services/update.py,sha256=8oktOTreN_3tQ8P2La_rwoBbK71ZHgnPkbY2nQIQTk4,10001
10
- unitysvc_services/utils.py,sha256=0VwhfWjmJi0J6i5l8VUJz1p3cEOqUciJ0PSlK1Xk1Z8,11383
11
- unitysvc_services/validator.py,sha256=02W8KfDuKqVkGAwG3Rm9HQ3Uzp3i4bjwzdaMLKojQEY,27543
12
- unitysvc_services/models/__init__.py,sha256=hJCc2KSZmIHlKWKE6GpLGdeVB6LIpyVUKiOKnwmKvCs,200
13
- unitysvc_services/models/base.py,sha256=ZIfZYp8-tcauzawixy21vZzkzgC4LEtZDhulS4cT66k,13649
14
- unitysvc_services/models/listing_v1.py,sha256=xLnwmqbGHawzxPrKN_idAHXmnaFRzpD4ZZ5qLNHHGeM,2347
15
- unitysvc_services/models/provider_v1.py,sha256=mOC0zs_X7DNamfGNuSSCDR-iwIbAGNpq8kkDcqFgq38,2078
16
- unitysvc_services/models/seller_v1.py,sha256=mcVQBD_HwX2nOe51m_WscmlN0j748GWq0oo-xQXo5o0,3291
17
- unitysvc_services/models/service_v1.py,sha256=u16zqM3khrJoTw_v0d45tMcKXjko5k_v3w8xwUtZ6nM,2720
18
- unitysvc_services-0.1.1.dist-info/licenses/LICENSE,sha256=_p8V6A8OMPu2HIztn3O01v0-urZFwk0Dd3Yk_PTIlL8,1065
19
- unitysvc_services-0.1.1.dist-info/METADATA,sha256=Gi2GHMfG7Gesnu4o8WKsoxBisqbhbHYU-qJ5Ty3x4QA,6291
20
- unitysvc_services-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- unitysvc_services-0.1.1.dist-info/entry_points.txt,sha256=-vodnbPmo7QQmFu8jdG6sCyGRVM727w9Nhwp4Vwau_k,64
22
- unitysvc_services-0.1.1.dist-info/top_level.txt,sha256=GIotQj-Ro2ruR7eupM1r58PWqIHTAq647ORL7E2kneo,18
23
- unitysvc_services-0.1.1.dist-info/RECORD,,