Antares-craft

Latest version: v0.2.3

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

2.19.0

It also requires a solver in v8.8.14 or higher

Breaking changes
* **areas**: new user class for AreaUI. It does no longer support multiple layers [96](https://github.com/AntaresSimulatorTeam/antares_craft/pull/96)
* **matrices**: rename matrices update methods. The prefixes `create` or `update` changed to `set` for clarity’s sake [125](https://github.com/AntaresSimulatorTeam/antares_craft/pull/125)
* **user** make `read` methods inside Study or Area private. You shall no longer need to use them [126](https://github.com/AntaresSimulatorTeam/antares_craft/pull/126)

Features
* **user**: make user classes frozen to avoid careless modifications [99](https://github.com/AntaresSimulatorTeam/antares_craft/pull/99)
* **links**: create `modify_multiple_links` method by [98](https://github.com/AntaresSimulatorTeam/antares_craft/pull/98)
* **local**: handle st storage methods [101](https://github.com/AntaresSimulatorTeam/antares_craft/pull/101)
* **local**: handle thermal methods [102](https://github.com/AntaresSimulatorTeam/antares_craft/pull/102)
* **local**: handle renewable methods [103](https://github.com/AntaresSimulatorTeam/antares_craft/pull/103)
* **links**: use `read_links` inside `read_study_api`[105](https://github.com/AntaresSimulatorTeam/antares_craft/pull/105)
* **constraints**: introduce `update_multiple_constraints` method [108](https://github.com/AntaresSimulatorTeam/antares_craft/pull/108)
* **local**: implement `read_constraints` method [110](https://github.com/AntaresSimulatorTeam/antares_craft/pull/110)
* **local**: implement some `binding_constraints` [111](https://github.com/AntaresSimulatorTeam/antares_craft/pull/111)
* **local**: implement `thermal_ts_generation` [112](https://github.com/AntaresSimulatorTeam/antares_craft/pull/112)
* **local**: return default simulator matrices when they are empty [113](https://github.com/AntaresSimulatorTeam/antares_craft/pull/113)
* **areas**: introduce `update_multiple_areas_properties` method [104](https://github.com/AntaresSimulatorTeam/antares_craft/pull/104)
* **local**: handle local launcher [116](https://github.com/AntaresSimulatorTeam/antares_craft/pull/116)
* **local**: handle delete and read output methods [117](https://github.com/AntaresSimulatorTeam/antares_craft/pull/117)
* **local**: handle clusters deletion methods [118](https://github.com/AntaresSimulatorTeam/antares_craft/pull/118)
* **local**: handle link update ui and deletion [120](https://github.com/AntaresSimulatorTeam/antares_craft/pull/120)
* **local**: implement delete constraint method [123](https://github.com/AntaresSimulatorTeam/antares_craft/pull/123)
* **api**: handle AntaresWeb version 2.19.1 [92](https://github.com/AntaresSimulatorTeam/antares_craft/pull/92)
* **thermals**: introduce `update_multiple_thermal_clusters` method [124](https://github.com/AntaresSimulatorTeam/antares_craft/pull/124)


Fixes
* **user**: `read_xxx` methods modify objects instead of copying them [100](https://github.com/AntaresSimulatorTeam/antares_craft/pull/100)
* **user**: put new dependencies inside the `pyproject.toml` file [129](https://github.com/AntaresSimulatorTeam/antares_craft/pull/129)
* **local**: `write_timeseries` method improvement [97](https://github.com/AntaresSimulatorTeam/antares_craft/pull/97)
* **local**: actually modify ini files inside update methods [119](https://github.com/AntaresSimulatorTeam/antares_craft/pull/119)


Miscellaneous
* **doc**: initialize doc deployment to readthedoc [121](https://github.com/AntaresSimulatorTeam/antares_craft/pull/121)
* **chore**: cleaning duplicated code [106](https://github.com/AntaresSimulatorTeam/antares_craft/pull/106)
* **chore**: better handling of filtering values [114](https://github.com/AntaresSimulatorTeam/antares_craft/pull/114)
* **chore**: remove pydantic related field from user classes [115](https://github.com/AntaresSimulatorTeam/antares_craft/pull/115)
* **chore**: put user related classes inside `__init__.py` [127](https://github.com/AntaresSimulatorTeam/antares_craft/pull/127)


**Full Changelog**: https://github.com/AntaresSimulatorTeam/antares_craft/compare/v0.2.0...v0.2.1

0.2.3

-------------------

Breaking changes
* We dropped the support of Python3.9. The supported versions of Python are the 3.10, 3.11 and 3.12
* Every `update_multiple_...` method has been renamed in `update_...s` [145](https://github.com/AntaresSimulatorTeam/antares_craft/pull/145)

Features
* **hydro**: handle inflow-structure [137](https://github.com/AntaresSimulatorTeam/antares_craft/pull/137)
* **adequacy-patch**: change default values for 2 fields [141](https://github.com/AntaresSimulatorTeam/antares_craft/pull/141)

Bug fixes
* **local**: use right st-storage matrices names [140](https://github.com/AntaresSimulatorTeam/antares_craft/pull/140)
* **local**: several bugs made antares simulation fail [147](https://github.com/AntaresSimulatorTeam/antares_craft/pull/147)

Perfs
* **local**: avoid multiple i/o operations on the same files inside reading methods [134](https://github.com/AntaresSimulatorTeam/antares_craft/pull/134)
* **local**: speed-up `study.update_thermals` methods [142](https://github.com/AntaresSimulatorTeam/antares_craft/pull/142)

Miscellaneous
* **chore** remove useless read methods [135](https://github.com/AntaresSimulatorTeam/antares_craft/pull/135)
* **chore** simplify read methods [136](https://github.com/AntaresSimulatorTeam/antares_craft/pull/136)
* **chore**: clean link code [143](https://github.com/AntaresSimulatorTeam/antares_craft/pull/143)

0.2.2

-------------------

Bug fixes
- **api**: parse horizon inside study settings even when it's an integer

Perfs
- **api**: use AntaresWeb table-mode endpoints to reduce amount of API calls inside reading methods

0.2.1

-------------------

Compatiblity
This version is only compatible with AntaresWeb v2.19.1 and higher.

0.2.0

-------------------

Compatiblity with AntaresWeb
This version is only compatible with AntaresWeb v2.19.0 and higher

Breaking changes
- It is no longer possible to create a study while giving settings. The user will have to update them afterward.
- All user classes are now dataclasses and not Pydantic model.
- All user class (except for update) have no optional fields meaning it will be clearer for the users to see what they are really sending.
It will also silent typing issues inside user scripts
- New classes have been introduced for update. They are all optional which makes it also clear to understand which fields are updated.
- STStorage methods for updating matrices have been renamed `update_xxx` instead of `upload_xxx`.

Example of an old code:
python
import AreaProperties

area_properties = AreaProperties()
area_properties.energy_cost_unsupplied = 10
area_properties.energy_cost_spilled = 4
area_fr = study.create_area("fr", area_properties)

new_properties = AreaProperties()
new_properties.energy_cost_unsupplied = 6
area_fr.update_properties(new_properties)


Example of a new code:
python
import AreaProperties, AreaPropertiesUpdate

area_properties = AreaProperties(energy_cost_unsupplied=10, energy_cost_spilled=4)
area_fr = study.create_area("fr", area_properties)

new_properties = AreaPropertiesUpdate(energy_cost_unsupplied=6)
area_fr.update_properties(new_properties)


Features
- API: add `import_study_api` method
- API: add update_thermal_matrices methods
- API: specify number of years to generate for thermal TS-generation

Fixes
- LOCAL: `get_thermal_matrix` method checked the wrong path
- API: `read_renewables` method doesn't fail when settings are aggregated instead of clusters
- API: `read_settings` doesn't fail when horizon is a year
- API: disable proxy when using the Desktop version to avoid any issue

Miscellaneous
- enforce strict type checking with mypy
- enforce override with mypy
- Moves all local and api related classes and methods outside the `model` package

0.1.8rc2

-------------------
- upload renewable thermal matrices method added
- bug fix clusters/{area}/list.ini file was missing
- bug fix for input/thermal/series/{area}/{cluster}/series.txt /data.txt and modulation.txt, wrong path
at cluster creation

Page 1 of 3

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.