fancylog

Fancier logging with python.

https://github.com/neuroinformatics-unit/fancylog

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Fancier logging with python.

Basic Info
  • Host: GitHub
  • Owner: neuroinformatics-unit
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: main
  • Size: 112 KB
Statistics
  • Stars: 14
  • Watchers: 4
  • Forks: 10
  • Open Issues: 13
  • Releases: 8
Created over 6 years ago · Last pushed 6 months ago
Metadata Files
Readme License Citation

README.md

Python Version PyPI Downloads Wheel Development Status Code style: black Contributions codecov

fancylog

Fancier logging with python.

Uses the standard python logging library, but (optionally) in addition: * Logs code when using the multiprocessing module using multiprocessing-logging * Uses GitPython to log information about the git environment. * Logs the command-line arguments used to run the software * Logs object attributes

To install

bash pip install fancylog

N.B. For the git logging to work, you need to have git and the GitPython package installed. The latter can be installed along with fancylog using:

bash pip install fancylog[git]

To enable logging when using the multiprocessing module, install using:

bash pip install fancylog[multiprocessing]

To run example

bash git clone https://github.com/neuroinformatics-unit/fancylog pip install -e . python fancylog/example.py /path/to/output/log/dir

If you run the example, you should get a log file that resembles this

Owner

  • Name: SWC/GCNU Neuroinformatics Unit
  • Login: neuroinformatics-unit
  • Kind: organization
  • Location: United Kingdom

Citation (CITATION.CFF)

cff-version: 1.2.0
title: fancylog
message: >-
  If you use fancylog in your work, please cite the following Zenodo DOI.
type: software
authors:
  - given-names: Joseph J.
    family-names: Ziminski
    orcid: 'https://orcid.org/0000-0003-4286-6868'
    email: joseph.j.ziminski@gmail.com
  - given-names: Adam L.
    family-names: Tyson
    orcid: 'https://orcid.org/0000-0003-3225-1130'
    email: code@adamltyson.com
identifiers:
  - type: doi
    value: 10.5281/zenodo.15776028
    description: 'A collection of archived snapshots of fancylog on Zenodo.'
repository-code: 'https://github.com/neuroinformatics-unit/fancylog'
url: 'https://github.com/neuroinformatics-unit/fancylog'
abstract: >-
  Fancier logging with Python.
keywords:
    - Python
    - Logging
license:  BSD-3-Clause

GitHub Events

Total
  • Create event: 14
  • Issues event: 6
  • Release event: 2
  • Watch event: 2
  • Delete event: 17
  • Issue comment event: 30
  • Push event: 22
  • Pull request review comment event: 12
  • Pull request event: 33
  • Pull request review event: 26
  • Fork event: 4
Last Year
  • Create event: 14
  • Issues event: 6
  • Release event: 2
  • Watch event: 2
  • Delete event: 17
  • Issue comment event: 30
  • Push event: 22
  • Pull request review comment event: 12
  • Pull request event: 33
  • Pull request review event: 26
  • Fork event: 4

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 8
  • Total pull requests: 25
  • Average time to close issues: 9 months
  • Average time to close pull requests: 8 days
  • Total issue authors: 3
  • Total pull request authors: 7
  • Average comments per issue: 0.5
  • Average comments per pull request: 1.0
  • Merged pull requests: 20
  • Bot issues: 1
  • Bot pull requests: 10
Past Year
  • Issues: 3
  • Pull requests: 15
  • Average time to close issues: 10 days
  • Average time to close pull requests: about 18 hours
  • Issue authors: 2
  • Pull request authors: 6
  • Average comments per issue: 0.67
  • Average comments per pull request: 0.8
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 8
Top Authors
Issue Authors
  • adamltyson (6)
  • larsrollik (1)
  • pre-commit-ci[bot] (1)
Pull Request Authors
  • pre-commit-ci[bot] (16)
  • adamltyson (6)
  • JoeZiminski (5)
  • lochhh (1)
  • saarah815 (1)
  • niksirbi (1)
  • IgorTatarnikov (1)
Top Labels
Issue Labels
enhancement (5) bug (2) good first issue (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 6,535 last-month
  • Total dependent packages: 6
  • Total dependent repositories: 1
  • Total versions: 31
  • Total maintainers: 1
pypi.org: fancylog

Fancier logging in Python

  • Versions: 31
  • Dependent Packages: 6
  • Dependent Repositories: 1
  • Downloads: 6,535 Last month
Rankings
Dependent packages count: 1.8%
Downloads: 4.5%
Average: 13.0%
Forks count: 15.3%
Stargazers count: 21.5%
Dependent repos count: 21.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/test_and_deploy.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/setup-python v1 composite
pyproject.toml pypi
  • rich *