essentials

General purpose classes and functions.

https://github.com/neoteroi/essentials

Science Score: 13.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.1%) to scientific vocabulary

Keywords

common core exceptions utilities
Last synced: 6 months ago · JSON representation

Repository

General purpose classes and functions.

Basic Info
  • Host: GitHub
  • Owner: Neoteroi
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 65.4 KB
Statistics
  • Stars: 15
  • Watchers: 2
  • Forks: 6
  • Open Issues: 0
  • Releases: 2
Topics
common core exceptions utilities
Created over 6 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.md

Build pypi versions license codecov

Essentials

Core classes and functions, reusable in any kind of Python application.

bash $ pip install essentials

Features: * exception classes to express common scenarios * friendly JSON encoder, handling datetime, date, time, UUID, bytes, built-in enums, and instances of classes implementing a dict() method, like pydantic BaseModel * utilities to work with folders and paths * StopWatch implementation * a base class to handle classes that can be instantiated from configuration dictionaries * common decorator to support retries * common decorator to support logging function calls * common decorator to control raised exceptions * caching functions

Documentation

Please refer to documentation in the project wiki: https://github.com/Neoteroi/essentials/wiki.

Develop and run tests locally

```bash pip install -r requirements.txt

run tests using automatic discovery:

pytest

with code coverage:

make testcov ```

Owner

  • Name: Neoteroi
  • Login: Neoteroi
  • Kind: organization

Collection of open source projects for Python

GitHub Events

Total
  • Create event: 2
  • Release event: 1
  • Issues event: 1
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 3
  • Push event: 5
  • Pull request event: 8
  • Fork event: 2
Last Year
  • Create event: 2
  • Release event: 1
  • Issues event: 1
  • Watch event: 2
  • Delete event: 1
  • Issue comment event: 3
  • Push event: 5
  • Pull request event: 8
  • Fork event: 2

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 22
  • Total Committers: 1
  • Avg Commits per committer: 22.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Roberto Prevato r****o@g****m 22

Issues and Pull Requests

Last synced: 7 months ago

All Time
  • Total issues: 3
  • Total pull requests: 13
  • Average time to close issues: over 1 year
  • Average time to close pull requests: 2 months
  • Total issue authors: 1
  • Total pull request authors: 5
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.38
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 4
  • Average time to close issues: N/A
  • Average time to close pull requests: 3 months
  • Issue authors: 0
  • Pull request authors: 4
  • Average comments per issue: 0
  • Average comments per pull request: 0.75
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • RobertoPrevato (3)
Pull Request Authors
  • RobertoPrevato (9)
  • tyzhnenko (2)
  • dependabot[bot] (2)
  • arthurbrenno (2)
  • waketzheng (2)
Top Labels
Issue Labels
Pull Request Labels
dependencies (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 124,274 last-month
  • Total docker downloads: 52
  • Total dependent packages: 5
  • Total dependent repositories: 32
  • Total versions: 9
  • Total maintainers: 1
pypi.org: essentials

General purpose classes and functions

  • Documentation: https://essentials.readthedocs.io/
  • License: MIT License Copyright (c) 2019 Roberto Prevato Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 1.1.6
    published 11 months ago
  • Versions: 9
  • Dependent Packages: 5
  • Dependent Repositories: 32
  • Downloads: 124,274 Last month
  • Docker Downloads: 52
Rankings
Downloads: 1.8%
Dependent repos count: 2.6%
Dependent packages count: 3.1%
Docker downloads count: 4.0%
Average: 7.4%
Stargazers count: 16.0%
Forks count: 16.9%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • dataclasses ==0.7
  • flake8 *
  • pytest *
  • pytest-asyncio *
  • pytest-cov *
setup.py pypi
  • dataclasses ==0.7
.github/workflows/build.yml actions
  • actions/cache v1 composite
  • actions/checkout v1 composite
  • actions/download-artifact v2 composite
  • actions/setup-python v4 composite
  • actions/upload-artifact master composite
  • pypa/gh-action-pypi-publish master composite