Skip to content

Commit 4c34faa

Browse files
authored
Merge pull request #42 from DataCrunch-io/refactoring
Refactoring .rst files to .md
2 parents eeecade + ea3d0e0 commit 4c34faa

File tree

5 files changed

+386
-277
lines changed

5 files changed

+386
-277
lines changed

.github/workflows/publish_package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ name: Upload Python Package
55

66
on:
77
release:
8-
types: [publish, created]
8+
types: [published, created]
99

1010
jobs:
1111
deploy:
@@ -17,7 +17,7 @@ jobs:
1717
- name: Set up Python
1818
uses: actions/setup-python@v2
1919
with:
20-
python-version: "3.x"
20+
python-version: '3.x'
2121

2222
- name: Install dependencies
2323
run: |

CHANGELOG.md

Lines changed: 304 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
### Changed
11+
12+
- This file and CONTRIBUTING.rst to markdown
13+
14+
### Fixed
15+
16+
- Github action publish package release trigger value
17+
18+
## [1.12.1] - 2025-05-13
19+
20+
### Fixed
21+
22+
- Inference examples docs generation
23+
24+
### Changed
25+
26+
- Inference status enum from numerical to meaningful string values
27+
28+
## [1.12.0] - 2025-05-12
29+
30+
### Added
31+
32+
- Support for fileset secrets
33+
34+
## [1.11.0] - 2025-04-28
35+
36+
### Added
37+
38+
- Example for calling the inference endpoint with a minimal client
39+
- Missing doc generation for inference examples
40+
41+
### Changed
42+
43+
- Refactored instances.py to use dataclasses and google docstring style
44+
45+
## [1.10.0] - 2025-04-17
46+
47+
### Changed
48+
49+
- Updated version for release
50+
51+
## [1.9.1] - 2025-04-17
52+
53+
### Added
54+
55+
- Inference client to run inference requests and get status and results
56+
- Support for asynchronous inference
57+
58+
## [1.9.0] - 2025-04-04
59+
60+
### Added
61+
62+
- Environment variables to container deployment example
63+
- `size_in_mb` parameter to `VolumeMount` class
64+
- Memory volume mount type
65+
66+
### Changed
67+
68+
- Updated examples image from `fastai` to `ubuntu-24.04-cuda-12.8-open-docker`
69+
- Consistent naming and load of credentials from env variables in examples
70+
71+
## [1.8.4] - 2025-03-25
72+
73+
### Added
74+
75+
- Readthedocs configuration file
76+
77+
## [1.8.3] - 2025-03-25
78+
79+
### Changed
80+
81+
- Updated documentation
82+
83+
## [1.8.2] - 2025-03-25
84+
85+
### Added
86+
87+
- Missing packages to setup requirements
88+
89+
## [1.8.1] - 2025-03-24 [YANKED]
90+
91+
### Removed
92+
93+
- Container name from deployment creation
94+
95+
## [1.8.0] - 2025-03-24 [YANKED]
96+
97+
### Added
98+
99+
- Support for containers
100+
101+
## [1.7.3] - 2025-03-07
102+
103+
### Fixed
104+
105+
- Type for contract and pricing parameters
106+
107+
## [1.7.1] - 2025-03-06
108+
109+
### Added
110+
111+
- Contract and pricing parameters in `datacrunch.instances.create()`
112+
113+
## [1.7.0] - 2024-11-21
114+
115+
### Fixed
116+
117+
- Methods `volumes.increase_size()` and `volumes.get()`
118+
119+
## [1.6.1] - 2023-10-02
120+
121+
### Added
122+
123+
- Spot price to instance types
124+
125+
## [1.6.0] - 2023-09-15
126+
127+
### Added
128+
129+
- Locations endpoint and location code parameter to the availability endpoints
130+
131+
## [1.5.0] - 2023-06-28
132+
133+
### Added
134+
135+
- Location constants
136+
137+
### Changed
138+
139+
- Refactored the code to send `location_code` instead of `location` when creating an instance or a volume
140+
141+
## [1.4.1] - 2023-06-20
142+
143+
### Fixed
144+
145+
- Bug where token refresh failed
146+
147+
## [1.4.0] - 2023-06-14
148+
149+
### Added
150+
151+
- Support for permanent deletion of volumes
152+
- Volume class method that inits a new Volume instance from a dict
153+
- Integration tests for permanent deletion of volumes
154+
155+
## [1.3.0] - 2023-05-25
156+
157+
### Added
158+
159+
- Support for volume cloning
160+
161+
## [1.2.0] - 2023-04-24
162+
163+
### Added
164+
165+
- Support for deploying a new instance with existing volumes
166+
167+
## [1.1.2] - 2023-03-02
168+
169+
### Fixed
170+
171+
- Bug where the wrong property name was used
172+
173+
## [1.1.1] - 2023-02-23
174+
175+
### Fixed
176+
177+
- Bug where the authentication refresh token flow did not update the token values
178+
179+
## [1.1.0] - 2023-01-20
180+
181+
### Added
182+
183+
- Support for checking availability for a spot instance
184+
185+
### Changed
186+
187+
- Updated two github actions to run on fixed version of ubuntu because the latest one is missing python 3.6
188+
- Added more versions of python to be used on two github actions
189+
190+
## [1.0.10] - 2022-10-18
191+
192+
### Added
193+
194+
- Support for adding a coupon code when deploying a new instance
195+
196+
## [1.0.9] - 2022-09-16
197+
198+
### Added
199+
200+
- `is_spot` property to the `Instance` class, now possible to deploy a spot instance
201+
- Implemented `__str__` method for `Instance`, `Volume` and `Image` Classes, now possible to print instances
202+
203+
## [1.0.8] - 2021-12-20
204+
205+
### Added
206+
207+
- `ssh_key_ids` property for Volume entity
208+
- Test coverage for `ssh_key_ids`
209+
210+
## [1.0.7] - 2021-10-13
211+
212+
### Fixed
213+
214+
- The previous bug in a different method
215+
216+
## [1.0.6] - 2021-10-12
217+
218+
### Fixed
219+
220+
- Bug where initializing an instance without ssh keys raises an exception
221+
222+
## [1.0.5] - 2021-09-27
223+
224+
### Added
225+
226+
- Option to set OS volume size and name on instance creation
227+
228+
## [1.0.4] - 2021-07-01
229+
230+
### Added
231+
232+
- Constants documentation
233+
234+
## [1.0.3] - 2021-07-01
235+
236+
### Added
237+
238+
- Missing volumes documentation
239+
240+
## [1.0.2] - 2021-06-16
241+
242+
### Added
243+
244+
- Examples to documentation
245+
246+
## [1.0.1] - 2021-06-16
247+
248+
### Changed
249+
250+
- Updated version
251+
252+
## [1.0.0] - 2021-06-16
253+
254+
### Added
255+
256+
- Support for storage volumes
257+
258+
### Changed
259+
260+
- Breaking change: moved all constants under DataCrunchClient to DataCrunchClient.constants
261+
262+
## [0.1.0] - 2021-01-05
263+
264+
### Added
265+
266+
- First release, still in beta.
267+
268+
[unreleased]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.12.1...HEAD
269+
[1.12.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.12.0...v1.12.1
270+
[1.12.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.11.0...v1.12.0
271+
[1.11.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.10.0...v1.11.0
272+
[1.10.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.9.1...v1.10.0
273+
[1.9.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.9.0...v1.9.1
274+
[1.9.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.8.4...v1.9.0
275+
[1.8.4]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.8.3...v1.8.4
276+
[1.8.3]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.8.2...v1.8.3
277+
[1.8.2]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.8.1...v1.8.2
278+
[1.8.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.8.0...v1.8.1
279+
[1.8.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.7.3...v1.8.0
280+
[1.7.3]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.7.1...v1.7.3
281+
[1.7.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.7.0...v1.7.1
282+
[1.7.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.6.1...v1.7.0
283+
[1.6.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.6.0...v1.6.1
284+
[1.6.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.5.0...v1.6.0
285+
[1.5.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.4.1...v1.5.0
286+
[1.4.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.4.0...v1.4.1
287+
[1.4.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.3.0...v1.4.0
288+
[1.3.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.2.0...v1.3.0
289+
[1.2.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.1.2...v1.2.0
290+
[1.1.2]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.1.1...v1.1.2
291+
[1.1.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.1.0...v1.1.1
292+
[1.1.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.10...v1.1.0
293+
[1.0.10]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.9...v1.0.10
294+
[1.0.9]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.8...v1.0.9
295+
[1.0.8]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.7...v1.0.8
296+
[1.0.7]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.6...v1.0.7
297+
[1.0.6]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.5...v1.0.6
298+
[1.0.5]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.4...v1.0.5
299+
[1.0.4]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.3...v1.0.4
300+
[1.0.3]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.2...v1.0.3
301+
[1.0.2]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.1...v1.0.2
302+
[1.0.1]: https://github.com/DataCrunch-io/datacrunch-python/compare/v1.0.0...v1.0.1
303+
[1.0.0]: https://github.com/DataCrunch-io/datacrunch-python/compare/v0.1.0...v1.0.0
304+
[0.1.0]: https://github.com/DataCrunch-io/datacrunch-python/releases/tag/v0.1.0

0 commit comments

Comments
 (0)