Skip to main content

Sentieoslack

Black

How to run locally

  • To setup locally make sure pyenv, Poetry, and nox are installed
cd <project_directory>
  • To create virtual environment and install development dependencies
make develop
  • Run tests to ensure everything is setup
make test

Project overview

Files and directories

├── .cookiecutter.json                          # Cookiecutter attributes and values
├── .cruft.json                                 # Cruft info, used for updating project
├── .flake8                                     # Flake8 config
├── .gitattributes
├── .gitignore
├── .pre-commit-config.yaml                     # Pre commit hooks
├── .vscode                 
│   ├── settings.json                           # Sample .vscode python setings
│   └── tasks.json                              # Test runner for VSCode unit test runner
├── Makefile                                    # Makefile to setup, test, and build the project
├── README.md   
├── noxfile.py                                  # Nox config file, defines test sessions
├── poetry.lock
├── pyproject.toml
├── src
│   └── sentieoslack
│       ├── __init__.py
│       └── py.typed                            # Marker file for PEP 561
└── tests                                       # Pytest unit tests
    ├── __init__.py
    └── test_main.py

Makefile Usage

Setup development environment

To install run:

make develop

To uninstall

make delete-env && make cleanup

Codestyle

Automatic formatting uses pyupgrade, isort and black.

To check formatting issues run

make check-format

To auto fix formatting issue

make format
Code security

This command launches Poetry integrity checks as well as identifies security issues with Safety and Bandit.

make check-safety

Type checks

Run mypy static type checker

make check-static-type

Run typeguard run time type checker

make check-run-type

To run both together, run

make check-type

Tests with coverage report

Run pytest

make test

Run nox session to test package in multiple python versions

make test-all

Linting

To run flake8 linting which will report issues

make check-issues

And to check for all linting, and typing, and safety issues

make check

Complexity

To generate code quality metric report using radon run

make code-metrics

Cleanup

Delete pycache files

make pycache-remove

Remove package build

make build-remove

Delete .DS_STORE files

make dsstore-remove

Remove .mypycache

make mypycache-remove

Or to remove all above run:

make cleanup

🎯 What's next

Well, that's up to you 💪🏻. I can only recommend the packages to use

  • Pydantic – data validation and settings management using Python type hinting.
  • Loguru makes logging (stupidly) simple.
  • IceCream is a little library for sweet and creamy debugging.
  • Returns makes you function's output meaningful, typed, and safe!
  • Dynaconf Configuration management for Python
  • FastAPI is a type-driven asynchronous web framework.

And stay up to date by following

Contributing

Contributions are very welcome.

Metadata

Release files for sentieoslack 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sentieoslack 0.0.1
File Size Uploaded
sentieoslack-0.0.1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sentieoslack 0.0.1
File Interpreter ABI Platform
sentieoslack-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / sentieoslack-0.0.1.tar.gz

Download URL sentieoslack-0.0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a534d8975764c0f0579b86d86bf56254751c1a112f804f3817474cb52ee03a71
BLAKE2b-256 checksum
How to use checksums
cf92c2928f2b7151251e4a51d02d5792f22cd75bb5adb335306ad1ef3db5a3f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Darwin/23.5.0

Release files / sentieoslack-0.0.1-py3-none-any.whl

Download URL sentieoslack-0.0.1-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
108b64dfaeed4d41e4674d57cdd2f95b33b9d8255af71d179532780a971609c1
BLAKE2b-256 checksum
How to use checksums
058d85ede924aec97a0dc0fa308b14c8934854c2f91b18b910884556e0d95be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.6 Darwin/23.5.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page