Pytlas

Latest version: v5.1.3

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

Scan your dependencies

Page 1 of 4

5.1.3

- Update snips-nlu and pychatl
- Some minor fixes in the documentation

Since snips-nlu is mostly discontinued, we are actually trying to write another interpreter implementation to keep this project going 😊

5.1.2

Minor enhancements and chore release (mostly documentation related stuff).

5.1.0

New features

- Added `SettingsStore.write_to_file` to write a settings store to a file 29
- Added `SettingsStore.to_dict` to flatten a `SettingsStore` into a dictionary ready to be used in agent metadata 32

Fixes

- Fix a bug where the interpreter cache directory may not exists and persisting failed as a result 34
- `SettingsStore.getpath` now resolve the path from the configuration file which has been read 33

5.0.0

And that's a big one :champagne: ! The 5.0.0 version represents a more robust and future proof approach.

*Currently available skills will be updated soon.*

Breaking changes

This version has several breaking changes [documented here](https://pytlas.readthedocs.io/en/develop/migrating.htmlfrom-4-to-5-0-0) so if you use the library, you may have some modifications to do. If you still can't find how to migrate, feel free to open an issue.

Here is a quick summary of changes.

Code organization

Everything has been moved to a more domain centric approach, some core refactoring has made tests easier and isolated.

Utilities files have been splitted.

Command Line Utility

- Looks for a configuration file `pytlas.ini` in the current working directory by default
- Default skills directory is the current working directory (was `/skills`)

Settings handling

See https://pytlas.readthedocs.io/en/develop/migrating.htmlaccess-to-settings

Testing

- `pytlas.testing.mock.ModelMock.get_call` defaut to the last call (was the first one)

New features

- `SnipsInterpreter` now automatically download needed resources at runtime
- `SkillsManager` does not allow to install a skill for an incompatible pytlas version (by looking at the skill `requirements.txt`), you should now use `pytlas~=5.0`.

Chore

* ⬆️ **transitions** 0.6.9 -> 0.7.0
* ⬆️ **fuzzywuzzy** 0.16.9 -> 0.17.0
* ⬆️ **colorlog** 3.1.4 -> 4.0.2
* ⬆️ **pychatl** 1.2.7 -> 2.0.1
* ⬆️ **python-dateutil** 2.7.3 -> 2.8.0
* ⬆️ **Babel** 2.6.0 -> 2.7.0
* ⬆️ **Markdown** 3.0.1 -> 3.1.1
* ⬆️ **beautifusoup4** 4.6.3 -> 4.8.0
* ⬆️ **snips-nlu** 0.19.7 -> 0.20.0

4.0.6

- :arrow_up: Updated snips-nlu to 0.19.7
- :sparkles: Add `settings.reset` and `settings.load`

4.0.5

- :arrow_up: Updated snips-nlu to 0.19.6
- :recycle: Added `include_cancel_state` to `build_scopes` because of https://github.com/snipsco/snips-nlu/pull/788

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.