[DO NOT MERGE] Skeleton for appu2, includes logging, cli mgmt and config var management #87
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DO NOT MERGE
This pull request includes several changes to the
appu
project, focusing on adding new configuration files, updating theREADME.md
, and setting up the newappu2
version with its dependencies and logging system.Configuration and Setup:
.mise.toml
to manage virtual environments automatically..pre-commit-config.yaml
for pre-commit hooks usingruff
for linting and formatting.Documentation Updates:
README.md
with instructions for the newappu2
version, including pre-requisites, installation steps, and usage. [1] [2] [3] [4] [5] [6]Project Initialization:
pyproject.toml
for theappu2
project, specifying project metadata, dependencies, and development tools configuration.Application Code:
src/appu2/cli.py
usingtyper
with a test command and logging setup.src/appu2/config.py
usingpydantic
.src/appu2/logging.py
usingloguru
.DO NOT MERGEThis pull request introduces a new project setup for the
appu2
toolkit, which includes configuration files, a CLI interface, logging setup, and project settings. The most important changes include the addition of configuration files, the implementation of a CLI using Typer, and the setup of logging with Loguru.Project Configuration:
.mise.toml
: Added project settings for automatic virtual environment management.pyproject.toml
: Defined project metadata, dependencies, and scripts for theappu2
toolkit.CLI Implementation:
src/appu2/cli.py
: Implemented a CLI using Typer, including a test command and logging level option.Logging Setup:
src/appu2/logging.py
: Set up logging using Loguru, including a custom log format and interception of standard logging.Project Settings:
src/appu2/config.py
: Added project settings using Pydantic, including a debug mode and environment file configuration.