Smyth

Latest version: v0.6.0.post1

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

Scan your dependencies

Page 1 of 2

0.6.0.post1

0.6.0

Features

- Improve the CLI invocation, add log silencing
- Add setproctitle for better visibility in tools like top, htop, btop
- Log application startup errors (catch lifespan startup erros)
- Add a log column indicating the issuer of a log (Uvicorn, Smyth or Smyth's suprocesses)

Fixes

- Stop loading lambda handlers on Smyth's start - this was introduced in 0.5 and is now reverted as it caused problems with multi threading libraries running in the global context of the actual lambda
- Remove fake_coldstart since now the handler is actually loading on a cold start - nothing to fake anymore


Internal and tooling

- Introduce new CI/CD
- Cleanup and apply new tool configs in pyproject.toml
- Fix internal and confusing variable naming
- Add stricter typing with `check_untyped_defs`
- Merge the runner.py module into the RunnerProcess class

0.5.0

What's Changed

Features:

- change the configuration keys where `function` and `generator` were used in a misleading way (breaking changes!)
- add the `smyth.invoke` to allow to run the lambda handler without a HTTP server

**Full Changelog**: https://github.com/mirumee/smyth/compare/0.4.0...0.5.0

0.4.0

What's Changed

Features:

- add documentation
- switch to Hatch
- move to Typer
- add the ability to run Smyth outside of it's `python -m smyth` entrypoint (TOML config is not required in that case)
- remove redundant code
- fix configuration names (breaking changes!)
- get rid of the process definition idea - use handler configs instead
- add the ability to simulate `boto3.Lambda.invoke`
- change the way subprocesses are handled - now those start with the application, immedietly showing if something is misconfigured
- subprocess runner, target function is simplified
- dispatch strategies are now functions (breaking changes!)
- improve typing

Internal improvements:

- add code quality CI/CD
- use Hatch in CI/CD
- use Hatch for static-analysis with Ruff and MyPy

**Full Changelog**: https://github.com/mirumee/smyth/compare/0.3.1...0.4.0

0.3.1

Fixes https://github.com/mirumee/smyth/issues/5

0.3.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.