Farmos

Latest version: v1.0.1

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

Scan your dependencies

Page 3 of 4

0.1.5

Added
- Add logging with the Python standard logging module. [21](https://github.com/farmOS/farmOS.py/issues/21)

0.1.4

Added
- Only save the client_id and client_secret to a profile if provided.
- Add a path attribute to farm.info() to allow requesting other endpoints.

Fixed
- Include X-CSRF token in all requests. Fixes [22](https://github.com/farmOS/farmOS.py/issues/22)

0.1.3

Fixed
- Remove hostname parameter when creating ClientConfig.

0.1.2

Added
- Inject a profile_id into the token before saving.
- Allow a ClientConfig object to be passed to the client.

Fixed
- PEP8 Code Fixes [20](https://github.com/farmOS/farmOS.py/issues/20)

0.1.1

Added
- Allow hostnames without a scheme, try to build a valid URL.

Fixed
- Convert token values to string when saving to farm.config.
- Initialize self.profile_name to DEFAULT so default values are loaded from farm.config.
- Initialize self.config_file to None.
- Make default config values strings.

0.1.0

**This release brings early support for farmOS OAuth! [18](https://github.com/farmOS/farmOS.py/issues/18)**
- Structure the library to support multiple types of authentication
- Use configparser and config files to configure the client
- Add support the OAuth Authorization Flow
- Add support the OAuth Password Credentials Flow
- Auto-refresh Authentication Tokens by default
- Allow external methods to save tokens
- Save Authentication to a Profile in config file

Added
- Update the format of response objects [15](https://github.com/farmOS/farmOS.py/issues/15)

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.