-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add file caching to improvement performance when running uv-secure mu…
…ltiple times (#31) * Added gitleaks pre-commit * Making some corrections and tweaks to the CONTRIBUTING guide * First pass at implementing file caching for httpx requests * Moved cache configuration into Configuration object * Refactored the way CLI args are applied and add a new flag to disable caching * Bumped minor release and updated README * Added some more documentation around file caching * Removed uvloop and winloop as required dependencies and left them as optional dependencies * Fixed some example config comments
- Loading branch information
1 parent
0e61f60
commit 75ea62c
Showing
16 changed files
with
450 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.6.0" | ||
__version__ = "0.7.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,20 @@ | ||
from uv_secure.configuration.config_factory import ( | ||
config_cli_arg_factory, | ||
config_file_factory, | ||
) | ||
from uv_secure.configuration.configuration import ( | ||
CacheSettings, | ||
Configuration, | ||
override_config, | ||
OverrideConfiguration, | ||
) | ||
|
||
|
||
__all__ = ["Configuration", "config_cli_arg_factory", "config_file_factory"] | ||
__all__ = [ | ||
"CacheSettings", | ||
"Configuration", | ||
"OverrideConfiguration", | ||
"config_cli_arg_factory", | ||
"config_file_factory", | ||
"override_config", | ||
] |
Oops, something went wrong.