konduktor/pyserve/__init__.py
Илья Глазунов 84cd1c974f feat: Add CLI for PyServe with configuration options
- Introduced a new CLI module (`cli.py`) to manage server configurations via command line arguments.
- Added script entry point in `pyproject.toml` for easy access to the CLI.
- Enhanced `Config` class to load configurations from a YAML file.
- Updated `__init__.py` to include `__version__` in the module exports.
- Added optional dependencies for development tools in `pyproject.toml`.
- Implemented logging improvements and error handling in various modules.
- Created tests for the CLI functionality to ensure proper behavior.
- Removed the old `run.py` implementation in favor of the new CLI approach.
2025-09-02 00:20:40 +03:00

12 lines
257 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
PyServe - HTTP веб-сервер с функционалом nginx
"""
__version__ = "0.6.0"
__author__ = "Илья Глазунов"
from .server import PyServeServer
from .config import Config
__all__ = ["PyServeServer", "Config", "__version__"]