Skip to main content

This package provides sample loggers.

Project description

Deep Learning Tools for Pytorch

Python >= 3.8

This package provides some common configurations to quickly create your own logger through the logging library.

Installation

pip install sample_loggers

Example for using

import os
import logging
from loggers import LoggerController

os.makedirs('./output', exist_ok=True)
logger_controller = LoggerController(log_file_name="log.txt" ,output_dir=config.OUTPUT)
logger = logger_controller.create_logger(
    logger_name='food_classification',
    log_level=logging.DEBUG,
    format_type="default"
)

Update

  • 0.0.2post1 - Fix the bug.
  • 0.0.2 - Add the summery and throughput method.
  • 0.0.1 - We provide the common config for logging to create logger.

License

Sample Loggers is MIT licensed. See the LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sample_loggers-0.0.2.post1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sample_loggers-0.0.2.post1-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file sample_loggers-0.0.2.post1.tar.gz.

File metadata

  • Download URL: sample_loggers-0.0.2.post1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for sample_loggers-0.0.2.post1.tar.gz
Algorithm Hash digest
SHA256 cbc0cebabab9d0db8b87e18ae3c5c14602de8c7028eb35e46f3807821f4c591e
MD5 91c5c04fa24a60846f7338d8b7e2bb15
BLAKE2b-256 75a0a04fe65b8239472746f5a79eed1fcc1717a4adf8afb052ec054958bb338c

See more details on using hashes here.

File details

Details for the file sample_loggers-0.0.2.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for sample_loggers-0.0.2.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 6babd487f0034ee4afefb5d8b9059ae91c8e1e924a60cf5cf495a5c581d99b14
MD5 456e470a2a8133ed6778881800d0c63d
BLAKE2b-256 4dae77c1fca34bb67a458909f4fc0ddaafa3486e2a29420f45e543cc1aa96359

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page