cartorio
A wrapper on the logging module for Python that provides a simple and easy to use interface for logging.
Science Score: 67.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
Found 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.5%) to scientific vocabulary
Keywords
Repository
A wrapper on the logging module for Python that provides a simple and easy to use interface for logging.
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
- Releases: 12
Topics
Metadata Files
README.md
1. Cartorio
A wrapper on the logging module for Python that provides a simple and easy-to-use interface for logging.
2. Contents
3. Installation
bash
pip install cartorio
4. Documentation
https://cartorio.readthedocs.io/en/stable/
5. Usage
Consider that your project consists of two scripts:
bash
parent.py
child/
└── child.py
An example of these scripts are: ```python
parent.py
from pathlib import Path from cartorio import make_logger, log
from child.child import multiply
@log def main() multiply(10, 1)
if name == "main": # Instantiation of log file logger, _ = makelogger(filename=Path(file).resolve().stem, logspath=Path(file).resolve().parent) # where, # filename (str, Path): Log file. # logs_path (Path): Path where the log file is saved to. main() ```
```python
child.py
from cartorio import fun, log
@log def multiply(num1, num2): return num1 * num2 ```
The log filename will be parent_<timestamp>.log and it will contain the information in the form
<timestamp> || root || 30664 || INFO || parent.py || parent || <line_number> || Enter || multiply
<timestamp> || root || 30664 || INFO || parent.py || parent || <line_number> || Leave || multiply || Elapsed: 0:00:00.001708
Owner
- Name: Humberto STEIN SHIROMOTO
- Login: hsteinshiromoto
- Kind: user
- Location: Sydney, Australia
- Website: http://hsteinshiromoto.github.io
- Repositories: 15
- Profile: https://github.com/hsteinshiromoto
Cybernetician
Citation (CITATION.cff)
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: STEIN SHIROMOTO
given-names: Humberto
orcid: https://orcid.org/0000-0002-0883-0231
title: "Cartorio: A library for logging"
version: 3.0.0
doi: 10.5281/zenodo.5563175
date-released: 2022-11-29
GitHub Events
Total
Last Year
Committers
Last synced: almost 3 years ago
All Time
- Total Commits: 197
- Total Committers: 1
- Avg Commits per committer: 197.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| Humberto STEIN SHIROMOTO | h****o@g****m | 197 |
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 1
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 1
Top Authors
Issue Authors
Pull Request Authors
- dependabot[bot] (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 94 last-month
- Total dependent packages: 0
- Total dependent repositories: 2
- Total versions: 20
- Total maintainers: 1
pypi.org: cartorio
Cartorio: A library for logging
- Homepage: https://github.com/hsteinshiromoto/cartorio
- Documentation: https://cartorio.readthedocs.io/
- License: MIT
-
Latest release: 3.0.0
published about 3 years ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v2 composite
- actions/download-artifact v2 composite
- actions/upload-artifact v2 composite
- pypa/gh-action-pypi-publish release/v1 composite
- actions/checkout v2.2.0 composite
- actions/create-release v1 composite
- actions/checkout v2 composite
- actions/checkout v2 composite
- $DOCKER_PARENT_IMAGE latest build
- myst-parser *
- pytest *
- sphinx *
- sphinx_rtd_theme *