Envfileparser

Latest version: v0.0.8

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

Scan your dependencies

Page 1 of 2

0.0.8

Added new function get_env_from_file().
Combines the functionality of get_env() and get_envs().
If the parameter with variable names is left empty, the function returns a dictionary with all the variables from the file.
get_env_from_file() return empty dictionary if file is empty.

0.0.7

0.0.6

Added support for comments, skipping empty lines and skipping lines without a character "=". And now functions variables values returns only as a string.

0.0.5

0.0.4

added support for multiple parameters to the function get_env and minor modifications when getting an absolute path

0.0.3

In this release, we fixed getting an incorrect absolute path to a file - now the absolute path is set from the file from which the function was called. So now there will be no problems when working with the daemon in Linux.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.