Compare commits

...

277 Commits

Author SHA1 Message Date
533c43952c I HAVE GENERATED YOUR NEW DOCS! 2022-10-03 19:08:52 +00:00
19ebe81f5b bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 12:05:49 -07:00
ff34befdd3 fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 12:05:30 -07:00
8b1c2fbc04 I HAVE GENERATED YOUR NEW DOCS! 2022-10-03 19:03:20 +00:00
ae62d18ff3 fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 12:00:18 -07:00
22ee8f364a I HAVE GENERATED YOUR NEW DOCS! 2022-10-03 18:48:09 +00:00
9948d645a4 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-10-03 11:45:16 -07:00
23e631ea94 Merge pull request #49 from KittyCAD/update-spec
Update api spec
2022-10-03 11:44:56 -07:00
977396c615 Merge pull request #50 from KittyCAD/dependabot/pip/pytest-cov-tw-4.0.0
Update pytest-cov requirement from ^3.0.0 to ^4.0.0
2022-10-03 11:44:49 -07:00
34f46d5022 I have generated the latest API! 2022-09-29 21:52:21 +00:00
936e4adbf1 YOYO NEW API SPEC! 2022-09-29 21:48:13 +00:00
c19114f3d2 Update pytest-cov requirement from ^3.0.0 to ^4.0.0
Updates the requirements on [pytest-cov](https://github.com/pytest-dev/pytest-cov) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-cov/releases)
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: pytest-cov
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-29 11:46:05 +00:00
ab1740e2a5 I HAVE GENERATED YOUR NEW DOCS! 2022-08-15 20:01:02 +00:00
667ef08235 update kittycad.py
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-08-15 12:58:30 -07:00
dec4b2a6e3 Merge pull request #48 from KittyCAD/update-spec
Update api spec
2022-08-15 10:48:22 -07:00
4c12ac0506 YOYO NEW API SPEC! 2022-08-12 22:59:01 +00:00
d8b33f880f I HAVE GENERATED YOUR NEW DOCS! 2022-08-10 19:46:20 +00:00
fec30b6abc bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-08-10 12:44:00 -07:00
3117c86ea4 Merge pull request #47 from KittyCAD/update-spec
Update api spec
2022-08-10 12:43:30 -07:00
8bb54b8382 I have generated the latest API! 2022-08-10 19:41:56 +00:00
08ac3093a8 YOYO NEW API SPEC! 2022-08-10 19:38:23 +00:00
152e2ccc0c Add banner 2022-08-09 11:27:14 +10:00
ef6b1d9ca1 Merge pull request #43 from KittyCAD/dependabot/pip/attrs-gte-20.1.0-and-lt-23.0.0
Update attrs requirement from >=20.1.0,<22.0.0 to >=20.1.0,<23.0.0
2022-08-08 09:30:49 -07:00
284a911a38 Merge pull request #46 from KittyCAD/dependabot/pip/flake8-tw-5.0.4
Update flake8 requirement from ^4.0.1 to ^5.0.4
2022-08-08 09:30:41 -07:00
5c2d11d814 Update flake8 requirement from ^4.0.1 to ^5.0.4
Updates the requirements on [flake8](https://github.com/pycqa/flake8) to permit the latest version.
- [Release notes](https://github.com/pycqa/flake8/releases)
- [Commits](https://github.com/pycqa/flake8/compare/4.0.1...5.0.4)

---
updated-dependencies:
- dependency-name: flake8
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 11:33:00 +00:00
a26c922360 Update attrs requirement from >=20.1.0,<22.0.0 to >=20.1.0,<23.0.0
Updates the requirements on [attrs](https://github.com/python-attrs/attrs) to permit the latest version.
- [Release notes](https://github.com/python-attrs/attrs/releases)
- [Changelog](https://github.com/python-attrs/attrs/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/python-attrs/attrs/compare/20.1.0...22.1.0)

---
updated-dependencies:
- dependency-name: attrs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-29 11:30:06 +00:00
0ba1480511 I HAVE GENERATED YOUR NEW DOCS! 2022-07-28 15:43:45 +00:00
ddb5f19a29 Merge pull request #42 from KittyCAD/update-spec
Update api spec
2022-07-28 08:41:22 -07:00
3c70a17d78 I have generated the latest API! 2022-07-28 15:18:50 +00:00
994b2de5c3 YOYO NEW API SPEC! 2022-07-28 15:15:24 +00:00
29d1308d0e I HAVE GENERATED YOUR NEW DOCS! 2022-07-26 00:51:56 +00:00
4e0a5c1b44 bump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-25 17:50:01 -07:00
f01cb3c62d Merge pull request #41 from KittyCAD/update-spec
Update api spec
2022-07-25 17:49:23 -07:00
908c7efe12 I have generated the latest API! 2022-07-26 00:49:02 +00:00
df3f38ba7d YOYO NEW API SPEC! 2022-07-26 00:45:36 +00:00
e5b9c1020c I HAVE GENERATED YOUR NEW DOCS! 2022-07-26 00:15:59 +00:00
4a5411d0ca Merge pull request #40 from KittyCAD/update-spec
Update api spec
2022-07-25 17:13:23 -07:00
0422a9a4fd I have generated the latest API! 2022-07-26 00:11:22 +00:00
f622646127 YOYO NEW API SPEC! 2022-07-26 00:07:53 +00:00
b8f4106107 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-25 16:46:23 -07:00
b32d37fc48 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-25 16:44:15 -07:00
650a99936b I HAVE GENERATED YOUR NEW DOCS! 2022-07-25 23:14:36 +00:00
b4d43b584b Merge pull request #39 from KittyCAD/update-spec
Update api spec
2022-07-25 16:11:49 -07:00
0d39b80547 I have generated the latest API! 2022-07-25 22:46:48 +00:00
d86f2560ac YOYO NEW API SPEC! 2022-07-25 22:43:33 +00:00
c5db75b131 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-21 13:43:17 -07:00
0b33d376c2 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-21 13:36:12 -07:00
95faa77326 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-21 13:36:12 -07:00
39b183c731 I HAVE GENERATED YOUR NEW DOCS! 2022-07-21 20:25:42 +00:00
f408eae3d2 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-21 13:23:39 -07:00
2134a8e5de add json patch
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-21 13:22:26 -07:00
8d0ab1a2b8 I HAVE GENERATED YOUR NEW DOCS! 2022-07-21 03:31:10 +00:00
efabead34c update spec
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-20 20:28:19 -07:00
4d2468541c bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-18 21:49:25 -07:00
e7f966bea8 I HAVE GENERATED YOUR NEW DOCS! 2022-07-19 04:46:47 +00:00
147dea9927 Merge pull request #37 from KittyCAD/update-spec-v0.2.3
Update go lang spec docs for v0.2.3
2022-07-18 21:44:19 -07:00
6f2330aa85 I have generated the latest API! 2022-07-19 04:44:07 +00:00
8e7d73973d YOYO NEW GO SPEC DOCS v0.2.3! 2022-07-19 04:41:08 +00:00
8c9d476771 Merge pull request #35 from KittyCAD/dependabot/pip/pytest-asyncio-tw-0.19.0
Update pytest-asyncio requirement from ^0.18.3 to ^0.19.0
2022-07-15 15:07:28 -07:00
96a23c4672 Merge pull request #36 from KittyCAD/update-spec-0.1.6
Update rust lang spec docs for 0.1.6
2022-07-15 15:07:20 -07:00
4f88e5f0a7 I have generated the latest API! 2022-07-15 21:49:46 +00:00
a49aa621ed YOYO NEW RUST SPEC DOCS 0.1.6! 2022-07-15 21:46:55 +00:00
eb0380ef2d Update pytest-asyncio requirement from ^0.18.3 to ^0.19.0
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.18.3...v0.19.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-15 11:27:58 +00:00
9414ebcc0b I HAVE GENERATED YOUR NEW DOCS! 2022-07-08 01:03:24 +00:00
0c6b538605 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-07 18:00:09 -07:00
905e2094de Merge pull request #34 from KittyCAD/update-spec-0.1.5
Update rust lang spec docs for 0.1.5
2022-07-07 17:59:54 -07:00
4623f854af I have generated the latest API! 2022-07-08 00:56:43 +00:00
3802dd36fc YOYO NEW RUST SPEC DOCS 0.1.5! 2022-07-08 00:53:23 +00:00
a046a9a82b push to correct repo
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-07 17:49:43 -07:00
c795346cd0 I HAVE GENERATED YOUR NEW DOCS! 2022-07-05 23:25:53 +00:00
3bd4326f2c Merge pull request #33 from KittyCAD/update-spec-0.1.4
Update rust lang spec docs for 0.1.4
2022-07-05 16:23:39 -07:00
b08726834a I have generated the latest API! 2022-07-05 23:19:40 +00:00
26954ba9f8 YOYO NEW RUST SPEC DOCS 0.1.4! 2022-07-05 23:16:47 +00:00
20496480f7 I HAVE GENERATED YOUR NEW DOCS! 2022-07-05 22:47:27 +00:00
2c8e9f90d7 Merge pull request #32 from KittyCAD/update-spec-0.1.3
Update rust lang spec docs for 0.1.3
2022-07-05 15:44:38 -07:00
197aa2fc55 fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-05 15:38:49 -07:00
4beba625ed bump the version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-05 15:34:46 -07:00
67a03bdd03 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-07-05 15:33:51 -07:00
30db5097ff YOYO NEW RUST SPEC DOCS 0.1.3! 2022-07-05 19:27:35 +00:00
b80b69b023 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 19:06:05 +00:00
9bf4dead4f bump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-16 12:02:24 -07:00
c727428359 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 19:01:53 +00:00
055c3bdd8f Merge pull request #29 from KittyCAD/update-spec-0.1.0
Update rust lang spec docs for 0.1.0
2022-06-16 11:58:41 -07:00
55e0cbe58d I have generated the latest API! 2022-06-16 18:58:33 +00:00
851f986d32 YOYO NEW RUST SPEC DOCS 0.1.0! 2022-06-16 18:55:09 +00:00
61ddb1a6d8 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 01:33:05 +00:00
63b0703ae8 fix for regular spec
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-15 18:29:56 -07:00
c694322a52 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-15 18:23:57 -07:00
0e24bc5311 I HAVE GENERATED YOUR NEW DOCS! 2022-06-16 01:22:56 +00:00
42e76b4b83 Add failing test to demo to_dict issue 2022-06-15 18:18:42 -07:00
774b8f079c better generatioon
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-15 18:18:19 -07:00
ba8eeca234 Merge pull request #28 from KittyCAD/update-spec-v0.1.6
Update go lang spec docs for v0.1.6
2022-06-15 17:27:09 -07:00
c512fd7f8a YOYO NEW GO SPEC DOCS v0.1.6! 2022-06-16 00:22:46 +00:00
4639d82900 I HAVE GENERATED YOUR NEW DOCS! 2022-06-14 16:23:14 +00:00
39cfd257a8 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-14 09:20:20 -07:00
82f3361603 update spec
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-14 09:19:55 -07:00
e97a042552 I HAVE GENERATED YOUR NEW DOCS! 2022-06-14 16:13:10 +00:00
65cb520fce Merge pull request #23 from KittyCAD/update-spec-v0.1.5
Update go lang spec docs for v0.1.5
2022-06-14 09:10:33 -07:00
d9067d3292 Merge pull request #25 from KittyCAD/kurt/24-update-codegen-to-handle-query-params
update generate.py to handle query params
2022-06-14 09:10:18 -07:00
2ae59c5ca3 use obj for mass and volume tests 2022-06-14 21:57:15 +10:00
50313ec810 clean up tests 2022-06-14 21:52:17 +10:00
f262b62cb7 I have generated the latest API! 2022-06-14 11:38:28 +00:00
3237e02c10 add tests 2022-06-14 21:35:20 +10:00
374d5bd238 I have generated the latest API! 2022-06-14 10:57:00 +00:00
4933e0106c trigger generate on change to generate.py 2022-06-14 20:53:43 +10:00
f825678307 update generate.py to handle query params 2022-06-14 20:50:22 +10:00
be8df00e51 YOYO NEW GO SPEC DOCS v0.1.5! 2022-06-14 03:17:03 +00:00
58192a56ff I HAVE GENERATED YOUR NEW DOCS! 2022-06-12 01:37:38 +00:00
6103b11ab8 Merge pull request #22 from KittyCAD/update-spec-v0.1.4
Update go lang spec docs for v0.1.4
2022-06-11 18:33:58 -07:00
441db38ca2 fix lint
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 18:30:39 -07:00
61c79305dc bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 18:09:32 -07:00
73cb3ff917 fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 18:08:23 -07:00
7c4321306a fixups
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 17:59:55 -07:00
49b8d2747a first start of fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 17:42:00 -07:00
9dc390a64d initial fixing
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-06-11 17:26:20 -07:00
929e7fe993 I HAVE GENERATED YOUR NEW DOCS! 2022-06-11 22:56:27 +00:00
ada7da5eca Merge pull request #20 from KittyCAD/dependabot/pip/httpx-gte-0.15.4-and-lt-0.24.0
Update httpx requirement from >=0.15.4,<0.23.0 to >=0.15.4,<0.24.0
2022-06-11 15:53:37 -07:00
829c9cb0fe Merge pull request #21 from KittyCAD/dependabot/github_actions/actions/setup-python-4
Bump actions/setup-python from 3 to 4
2022-06-11 15:53:29 -07:00
4631ca24cb YOYO NEW GO SPEC DOCS v0.1.4! 2022-06-11 22:53:08 +00:00
b9e1d6fda6 Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-09 11:23:38 +00:00
2efdf57ec3 Update httpx requirement from >=0.15.4,<0.23.0 to >=0.15.4,<0.24.0
Updates the requirements on [httpx](https://github.com/encode/httpx) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.15.4...0.23.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-24 11:31:04 +00:00
7f7460d366 I HAVE GENERATED YOUR NEW DOCS! 2022-04-27 20:34:57 +00:00
553db98e51 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-27 13:32:14 -07:00
699532553b I HAVE GENERATED YOUR NEW DOCS! 2022-04-27 20:26:55 +00:00
4acbbc84ce update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-27 13:22:13 -07:00
02dff4020c cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com>

add more

Signed-off-by: Jess Frazelle <github@jessfraz.com>

update

Signed-off-by: Jess Frazelle <github@jessfraz.com>

u[dates

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-27 13:21:52 -07:00
7375479cf2 Merge pull request #19 from KittyCAD/update-spec-v0.1.3
Update go lang spec docs for v0.1.3
2022-04-27 12:15:16 -07:00
24d6d17894 Merge pull request #16 from KittyCAD/dependabot/github_actions/actions/setup-go-3
Bump actions/setup-go from 2 to 3
2022-04-27 12:13:30 -07:00
1e67d9d4bd Merge pull request #15 from KittyCAD/dependabot/pip/pytest-asyncio-tw-0.18.3
Update pytest-asyncio requirement from ^0.16.0 to ^0.18.3
2022-04-27 12:13:21 -07:00
53132b1fd8 Merge pull request #14 from KittyCAD/dependabot/pip/sphinx-automodapi-tw-0.14
Update sphinx-automodapi requirement from ^0.13 to ^0.14
2022-04-27 12:13:07 -07:00
a0146d9ea5 Merge pull request #13 from KittyCAD/dependabot/pip/httpx-gte-0.15.4-and-lt-0.23.0
Update httpx requirement from >=0.15.4,<0.21.0 to >=0.15.4,<0.23.0
2022-04-27 12:12:59 -07:00
032f5b17d5 YOYO NEW GO SPEC DOCS v0.1.3! 2022-04-27 19:11:12 +00:00
15ef98b356 Bump actions/setup-go from 2 to 3
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:33:58 +00:00
dcd5015cae Update pytest-asyncio requirement from ^0.16.0 to ^0.18.3
Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Changelog](https://github.com/pytest-dev/pytest-asyncio/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.16.0...v0.18.3)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 11:42:25 +00:00
219a7f14c2 Update sphinx-automodapi requirement from ^0.13 to ^0.14
Updates the requirements on [sphinx-automodapi](https://github.com/astropy/sphinx-automodapi) to permit the latest version.
- [Release notes](https://github.com/astropy/sphinx-automodapi/releases)
- [Changelog](https://github.com/astropy/sphinx-automodapi/blob/main/CHANGES.rst)
- [Commits](https://github.com/astropy/sphinx-automodapi/compare/v0.13...v0.14.1)

---
updated-dependencies:
- dependency-name: sphinx-automodapi
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 11:41:38 +00:00
7f00e3aa25 Update httpx requirement from >=0.15.4,<0.21.0 to >=0.15.4,<0.23.0
Updates the requirements on [httpx](https://github.com/encode/httpx) to permit the latest version.
- [Release notes](https://github.com/encode/httpx/releases)
- [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/encode/httpx/compare/0.15.4...0.22.0)

---
updated-dependencies:
- dependency-name: httpx
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 11:41:16 +00:00
85a22b9a2a I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 06:24:57 +00:00
a653ebbb66 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:21:41 -07:00
d3dfc556e0 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:20:20 -07:00
e96d50f4f0 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:18:56 -07:00
16e30e893f I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 06:17:56 +00:00
d81e82cf9c items
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:15:12 -07:00
7e536090ad fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:15:12 -07:00
429c341f84 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:15:11 -07:00
5bcbf4251b I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 06:06:16 +00:00
f28df119ed fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:06:10 -07:00
9e96dffb3c fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 23:02:55 -07:00
be68a24e48 I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 05:44:17 +00:00
3e0545f4aa bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 22:41:45 -07:00
0f66979c90 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 22:41:11 -07:00
16d7e95ce6 Merge pull request #12 from KittyCAD/update-spec-v0.1.0
Update go lang spec docs for v0.1.0
2022-04-06 22:34:16 -07:00
cb257a57d6 YOYO NEW GO SPEC DOCS v0.1.0! 2022-04-07 05:15:57 +00:00
0ae59a5548 I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 04:17:30 +00:00
d9077a00ad bump the version;
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:15:39 -07:00
a8d537e29c update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:14:32 -07:00
15d5bf50c1 update files
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 21:14:12 -07:00
17b517dd5a update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:50:09 -07:00
1408f075ee more fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:50:09 -07:00
ed6b2c8e77 I HAVE GENERATED YOUR NEW DOCS! 2022-04-07 03:38:23 +00:00
69c4f8ce70 format
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:37:08 -07:00
216b454c14 add more
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:35:34 -07:00
0ed9aaf127 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-06 20:35:21 -07:00
c1bc2a8f51 Merge pull request #11 from KittyCAD/update-spec-v0.0.9
Update go lang spec docs for v0.0.9
2022-04-06 19:13:29 -07:00
b7359511a4 YOYO NEW GO SPEC DOCS v0.0.9! 2022-04-07 02:12:48 +00:00
26545d537f Merge pull request #10 from KittyCAD/dependabot/github_actions/codecov/codecov-action-3
Bump codecov/codecov-action from 2 to 3
2022-04-06 18:34:57 -07:00
0ab0bd44a2 Bump codecov/codecov-action from 2 to 3
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 2 to 3.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-06 11:24:42 +00:00
415f1d9619 I HAVE GENERATED YOUR NEW DOCS! 2022-04-04 19:42:53 +00:00
31f5188454 fix example
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 12:40:15 -07:00
363e9aea12 bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 10:16:16 -07:00
ca263dd395 Merge pull request #9 from KittyCAD/update-spec-v0.0.8
Update go lang spec docs for v0.0.8
2022-04-04 10:14:34 -07:00
1e2e9c0871 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 10:10:19 -07:00
6db080ebc8 YOYO NEW GO SPEC DOCS v0.0.8! 2022-04-04 09:43:09 -07:00
5247831f32 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-04-04 09:42:54 -07:00
5e204bf872 I HAVE GENERATED YOUR NEW DOCS! 2022-04-04 16:32:51 +00:00
9cbcebf665 Merge pull request #8 from KittyCAD/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2022-04-04 09:30:03 -07:00
fdc005a2f7 I HAVE GENERATED YOUR NEW DOCS! 2022-03-07 01:53:16 +00:00
004daabdf9 update client and fixes
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-03-06 17:50:08 -08:00
a14fa0b099 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:35:13 +00:00
020b19a3c2 I HAVE GENERATED YOUR NEW DOCS! 2022-03-07 01:22:58 +00:00
d2ea7ddf66 Merge pull request #3 from KittyCAD/dependabot/pip/pytest-tw-7.0.1
Update pytest requirement from ^6.2.5 to ^7.0.1
2022-03-06 17:22:04 -08:00
6210725498 Merge pull request #7 from KittyCAD/dependabot/github_actions/actions/setup-python-3
Bump actions/setup-python from 2 to 3
2022-03-06 17:20:30 -08:00
3531fd4197 Update pytest requirement from ^6.2.5 to ^7.0.1
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.5...7.0.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:19:04 +00:00
1c94c0500c I HAVE GENERATED YOUR NEW DOCS! 2022-03-07 01:17:39 +00:00
eae6825815 Bump actions/setup-python from 2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 01:17:04 +00:00
a11d9e9351 Merge pull request #4 from KittyCAD/refactor
Refactor
2022-03-06 17:15:06 -08:00
5d985a3e13 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-28 12:53:39 -08:00
6b6de6ddf2 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-28 12:30:27 -08:00
aa723677a3 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:56:08 -08:00
3477374e44 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:55:08 -08:00
f28d56915a update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:45:11 -08:00
cf3ab0f291 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:41:34 -08:00
e53597609c ad docs
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:38:36 -08:00
3d8c49afe3 cleabup
;

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:36:12 -08:00
669b7aded0 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:30:43 -08:00
0ceebbee9c fix tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:25:36 -08:00
ab01c82bb7 make tests pass
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:24:39 -08:00
65e95eae3d better json
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:19:21 -08:00
5fcd6d048e update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 22:10:46 -08:00
89a450f697 write the data back out.
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:59:28 -08:00
653d2b21ee pep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:48:39 -08:00
cbf5f4df6d update functions;
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:48:13 -08:00
2d90bb61be better tabs
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:36:28 -08:00
9c18ba2350 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:34:21 -08:00
0b9c32e6bf better indent
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:23:35 -08:00
b09684bd9e better indent
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:16:28 -08:00
45ac31914d update paths
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 21:13:56 -08:00
2a9ae9dc8d fix ups and autopep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:15:59 -08:00
5b77fbdbd0 add autopep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:14:39 -08:00
e0f88cf27a pep8
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:12:59 -08:00
29b0d3b5d0 update build
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:10:11 -08:00
6c05eabb2c update the __init__.py
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:06:23 -08:00
be59e657b9 raise exception
;

Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:02:13 -08:00
bf83d1f1ba raise errrors
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 20:00:17 -08:00
a99251b3b7 add more types
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 19:58:57 -08:00
32479cfe2a add types
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 19:58:46 -08:00
2a3cec9aac start of refactor
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-02-27 18:39:04 -08:00
e7aaaab78d biump
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-01-28 15:06:33 -08:00
f835e905a9 I HAVE GENERATED YOUR NEW DOCS! 2022-01-28 22:35:46 +00:00
637df816fd update supported formats
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2022-01-28 14:34:06 -08:00
cef71917e8 Create LICENSE 2021-12-20 10:54:55 -08:00
c865f88379 Update dependabot.yml 2021-12-17 02:18:28 -08:00
7dbafade7a I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 23:48:37 +00:00
3f9366e0c9 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 15:47:11 -08:00
f69db1296b bump version
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 15:16:27 -08:00
587ba78ada I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 18:15:57 +00:00
41127aa9d3 add in more tests
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 10:14:25 -08:00
4bb7008d5d I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 15:00:34 +00:00
d8a9721d18 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:59:04 -08:00
5d237a4eda I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:58:26 +00:00
30999f1cd3 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:57:05 -08:00
fc6ea7af77 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:51:14 +00:00
0d0afa4497 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:49:55 -08:00
a4d57836f5 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:45:22 +00:00
e9c5722b1d update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:43:50 -08:00
803c016174 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:37:04 +00:00
2a5c28f9a9 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:35:32 -08:00
5afd7562d4 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:32:40 -08:00
afcc5b88c1 run pytest
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:32:40 -08:00
bd072b07a3 update for pytest
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:32:39 -08:00
324e803f0e I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:27:54 +00:00
a757aaa633 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:26:21 -08:00
37b2635a01 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:23:17 +00:00
ab06822559 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:23:12 -08:00
9678dabcb6 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:21:45 -08:00
5a024a1949 fixc
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:21:11 -08:00
00a7f93a94 add docs
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:19:51 -08:00
9d3cf53570 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:17:23 +00:00
ccc30676ef cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:16:02 -08:00
5c01da0271 add the file
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:15:03 -08:00
a4cf10655f update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:15:03 -08:00
900d90fdb4 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 14:12:56 +00:00
2ca2b5f87b update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:11:05 -08:00
12c5b1ba49 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 06:02:09 -08:00
134c904d90 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 11:56:44 +00:00
059dc0e521 update docs
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 03:54:54 -08:00
dfa76e9462 updates
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 03:54:54 -08:00
abf4ce8e52 clean the folder first
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 03:54:54 -08:00
2761fc47f6 Update README.md 2021-12-15 02:08:42 -08:00
f3d080d971 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 10:04:26 +00:00
00b5cd9288 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 02:03:32 -08:00
5954a57a5d update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 02:00:30 -08:00
d40e7832a2 I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 09:58:14 +00:00
eb33fd8c9c update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:57:39 -08:00
5e7fe2f663 fix
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:57:39 -08:00
a4a74c780a I HAVE GENERATED YOUR NEW DOCS! 2021-12-15 09:55:26 +00:00
2235d10966 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:54:47 -08:00
cba4690d88 install
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:53:07 -08:00
ce8338cc3e update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:51:26 -08:00
800ce9ccdf try again
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:29:24 -08:00
2895434602 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:27:44 -08:00
c3cd16858a update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:25:48 -08:00
b0c71ad0f5 cleanup
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:24:18 -08:00
7c964a3d05 generate the docs
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:23:59 -08:00
10b2aa4f2a add content
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:18:36 -08:00
ae1353ef82 Create dependabot.yml 2021-12-15 01:09:43 -08:00
613864cf42 update
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:06:41 -08:00
3ee3ae9a6c move around files
Signed-off-by: Jess Frazelle <github@jessfraz.com>
2021-12-15 01:05:44 -08:00
1390 changed files with 136489 additions and 898 deletions

15
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"

View File

@ -5,22 +5,26 @@ on:
paths:
- '**.py'
- .github/workflows/build-test.yml
- 'pyproject.toml'
- 'spec.json'
pull_request:
paths:
- '**.py'
- .github/workflows/build-test.yml
- 'pyproject.toml'
- 'spec.json'
jobs:
build-test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
@ -29,21 +33,35 @@ jobs:
shell: bash
run: |
pip install \
flake8 \
poetry \
pytest
poetry
- name: Build
shell: bash
run: |
cd kittycad
poetry install
poetry build
- name: Lint with flake8
shell: bash
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
#poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Run pytest
shell: bash
run: |
poetry run pytest --cov=./ --cov-report=xml kittycad
env:
KITTYCAD_API_TOKEN: ${{secrets.KITTYCAD_API_TOKEN}}
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
flags: unittests
files: ${{ github.workspace }}/coverage.xml
verbose: true

62
.github/workflows/generate-docs.yml vendored Normal file
View File

@ -0,0 +1,62 @@
name: generate docs
permissions:
contents: write
on:
push:
branches: main
paths:
- docs/conf.py
- '**.rst'
- '**.py'
- .github/workflows/generate-docs.yml
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
# Installation instructions are from: https://python-poetry.org/docs/
- name: Install dependencies
shell: bash
run: |
sudo apt update && sudo apt install -y \
enchant-2 \
--no-install-recommends
pip install \
poetry
- name: Build
shell: bash
run: |
poetry build
- name: Generate the docs
shell: bash
run: |
rm -rf docs/html
poetry install
poetry run sphinx-build -b html docs/ docs/html/
- name: Check for modified files
id: git-check
run: echo ::set-output name=modified::$(if git diff-index --ignore-submodules --quiet HEAD --; then echo "false"; else echo "true"; fi)
- name: Commit changes, if any
if: steps.git-check.outputs.modified == 'true'
run: |
git add .
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git commit -am "I HAVE GENERATED YOUR NEW DOCS!" || true
git fetch origin
git rebase origin/${{github.ref_name }} || true
git push origin ${{github.ref_name }}

View File

@ -6,6 +6,8 @@ on:
paths:
- 'Makefile'
- .github/workflows/generate.yml
- 'spec.json'
- 'generate/generate.py'
workflow_dispatch:
inputs:
jobs:
@ -14,7 +16,7 @@ jobs:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Run generate
@ -33,5 +35,6 @@ jobs:
git config --local user.name "github-actions[bot]"
git remote set-url origin https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git fetch origin
git add .
git commit -am "I have generated the latest API!" || true
git push origin ${{github.event.pull_request.head.ref }} || true

View File

@ -8,8 +8,8 @@ jobs:
name: make-release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
# Installation instructions are from: https://python-poetry.org/docs/
@ -21,7 +21,6 @@ jobs:
- name: Do the release
shell: bash
run: |
cd kittycad
poetry publish --build \
--username ${{secrets.PYPI_USERNAME}} \
--password ${{secrets.PYPI_SECRET}}

View File

@ -0,0 +1,65 @@
on:
push:
tags:
- v*
pull_request:
paths:
- .github/workflows/update-spec-for-docs.yml
workflow_dispatch:
name: update spec for docs
concurrency:
group: docs-${{ github.ref }}
cancel-in-progress: true
jobs:
update-spec:
name: update-spec
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: make generate
shell: bash
run: |
make generate
# Ensure no files changed.
- name: Ensure no files changed
shell: bash
run: |
if [[ `git status --porcelain kittycad/` ]]; then
echo "Files changed, exiting";
exit 1;
else
# No changes
echo "No files changed, proceeding";
fi
# Checkout the docs repo since we will want to update the files there.
- uses: actions/checkout@v3
with:
repository: 'kittycad/website'
path: 'docs'
token: ${{secrets.PAT_GITHUB}}
- name: move spec to docs
shell: bash
run: |
rm docs/kittycad.py.patch.json || true
cp kittycad.py.patch.json docs/kittycad.py.patch.json
- name: commit the changes in the docs repo
shell: bash
run: |
cd docs
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add .
git commit -am "YOYO NEW SPEC PYTHON DOCS!" || exit 0
git fetch origin
git rebase origin/main || exit 0
export NEW_BRANCH="update-spec-python"
git checkout -b "$NEW_BRANCH"
git push -f origin "$NEW_BRANCH"
gh pr create --title "Update lang spec docs for python" \
--body "Updating the generated docs for python" \
--head "$NEW_BRANCH" \
--base main || true
env:
GITHUB_TOKEN: ${{secrets.PAT_GITHUB}}

View File

@ -20,4 +20,7 @@ dmypy.json
.idea/
/coverage.xml
/.coverage
/.coverage
poetry.lock
testing

View File

@ -1,7 +1,13 @@
FROM python:latest
FROM python:3.9
RUN pip install \
openapi-python-client
poetry
WORKDIR /usr/src/
COPY . /usr/src/
RUN poetry update && poetry install
# Set the default command to bash.
CMD ["bash"]

21
LICENSE Normal file
View File

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2021 KittyCAD
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -7,17 +7,27 @@ endif
# For this to work, you need to install toml-cli: https://github.com/gnprice/toml-cli
# `cargo install toml-cli`
VERSION := $(shell toml get $(CURDIR)/kittycad/pyproject.toml tool.poetry.version | jq -r .)
VERSION := $(shell toml get $(CURDIR)/pyproject.toml tool.poetry.version | jq -r .)
.PHONY: generate
generate: docker-image
generate: docker-image ## Generate the api client.
docker run --rm -i $(DOCKER_FLAGS) \
--name python-generator \
--disable-content-trust \
-v $(CURDIR):/usr/src \
--workdir /usr/src \
$(DOCKER_IMAGE_NAME) openapi-python-client update \
--url https://api.kittycad.io \
--config /usr/src/config.yml
$(DOCKER_IMAGE_NAME) ./generate/run.sh
.PHONY: shell
shell: docker-image ## Pop into a shell in the docker image.
docker run --rm -i $(DOCKER_FLAGS) \
--name python-generator-shell \
-e KITTYCAD_API_TOKEN \
--disable-content-trust \
-v $(CURDIR):/usr/src \
--workdir /usr/src \
$(DOCKER_IMAGE_NAME) /bin/bash
.PHONY: docker-image
docker-image:

View File

@ -1,11 +1,11 @@
![image](https://user-images.githubusercontent.com/19377312/165883233-3bdbc9fb-ddf9-4173-8cf2-d1b70ab7127d.png)
# kittycad.py
The Python API client for KittyCAD.
This is generated from
[openapi-generators/openapi-python-client](https://github.com/openapi-generators/openapi-python-client).
- [PyPI](https://pypi.org/project/kittycad/)
- [Python docs](https://python.api.docs.kittycad.io/)
- [KittyCAD API Docs](https://docs.kittycad.io/?lang=python)
## Generating

1942
assets/testing.obj Normal file

File diff suppressed because it is too large Load Diff

BIN
assets/testing.stl Normal file

Binary file not shown.

View File

@ -1,2 +0,0 @@
project_name_override: kittycad
package_name_override: kittycad

View File

@ -0,0 +1,27 @@
Client
======
.. currentmodule:: kittycad
.. autoclass:: Client
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~Client.get_cookies
~Client.get_headers
~Client.get_timeout
~Client.with_cookies
~Client.with_headers
~Client.with_timeout
.. rubric:: Methods Documentation
.. automethod:: get_cookies
.. automethod:: get_headers
.. automethod:: get_timeout
.. automethod:: with_cookies
.. automethod:: with_headers
.. automethod:: with_timeout

View File

@ -0,0 +1,17 @@
ClientFromEnv
=============
.. currentmodule:: kittycad
.. autoclass:: ClientFromEnv
:show-inheritance:
.. rubric:: Methods Summary
.. autosummary::
~ClientFromEnv.get_headers
.. rubric:: Methods Documentation
.. automethod:: get_headers

113
docs/conf.py Normal file
View File

@ -0,0 +1,113 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
import os
import sys
sys.path.insert(1, os.path.dirname(os.path.abspath(__file__)))
sys.path.append(os.path.abspath('../kittycad'))
# -- Project information -----------------------------------------------------
project = 'kittycad'
author = 'KittyCAD Team Members'
copyright = author
# The full version, including alpha/beta/rc tags
# Get the version from the poetry file.
import toml
with open(os.path.abspath('../pyproject.toml'), 'r') as f:
parsed_toml = toml.load(f)
version = parsed_toml['tool']['poetry']['version']
version = 'v'+version
release = version
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autodoc',
'sphinx_autodoc_typehints',
'sphinx.ext.intersphinx',
'sphinx.ext.linkcode',
'sphinx_automodapi.automodapi',
'sphinx_rtd_theme'
]
numpydoc_show_class_members = False
automodapi_inheritance_diagram = False
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = 'sphinx_rtd_theme'
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [
]
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'trac'
# Intersphinx configuration.
# FROM: https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html#module-sphinx.ext.intersphinx
intersphinx_mapping = {
'python': ('https://python.readthedocs.io/en/latest/', None),
}
# This is a function linkcode_resolve(domain, info), which should return the URL
# to source code corresponding to the object in given domain with given information.
# FROM: https://www.sphinx-doc.org/en/master/usage/extensions/linkcode.html
def linkcode_resolve(domain, info):
if domain != 'py':
return None
if not info['module']:
return None
filename = info['module'].replace('.', '/')
return "https://github.com/kittycad/kittycad.py/%s.py" % filename
# Spell checker.
try:
import enchant # noqa # pylint: disable=unused-import
except ImportError as ex:
print("enchant module import failed:\n"
"{0}\n"
"Spell checking disabled.".format(ex),
file=sys.stderr)
else:
extensions.append('sphinxcontrib.spelling')
spelling_show_suggestions = True

4
docs/html/.buildinfo Normal file
View File

@ -0,0 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 4b9674dd05f426997ea93164c4dd9b06
tags: 645f666f9bcd5a90fca523b33c5a78b7

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More