python-snippets

A collection of Python snippets.

https://github.com/developerstoolbox/python-snippets

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 (10.3%) to scientific vocabulary

Keywords

python python-snippets snippets wolfsoftware
Last synced: 10 months ago · JSON representation ·

Repository

A collection of Python snippets.

Basic Info
  • Host: GitHub
  • Owner: DevelopersToolbox
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 200 KB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • Open Issues: 3
  • Releases: 1
Topics
python python-snippets snippets wolfsoftware
Created over 2 years ago · Last pushed 11 months ago
Metadata Files
Readme Contributing Funding License Code of conduct Citation Codeowners Security

README.md

DevelopersToolbox logo
Github Build Status License Created
Release Released Commits since release

Overview

his is a collection of useful(ish) Python snippets. The snippets are all simple self-contained pieces of code (a class or subroutine), but non of them are large enough to require having a repository in their own right.

Bash Snippets

| Name | Description | | ------------------------------------------------------------------------------ | --------------------------------------------------------------------- | | execute-shell-command.py | Execute a given shell command and return stdin, stdout and stderr. | | human-duration.py | Convert a given number of seconds into something more human friendly. | | ordinal.py | Suffix a given number with the correct ordinal. | | version-compare.py | Compare two version strings. | | which.py | A python implementation of the UNIX which command. |


Owner

  • Name: Developers Toolbox
  • Login: DevelopersToolbox
  • Kind: organization
  • Email: github@wolfsoftware.com
  • Location: United Kingdom

A selection of tools to help developers. Created by Wolf Software.

Citation (CITATION.cff)

cff-version: 1.2.0
message: If you use this software, please cite it using these metadata.
title: Python Snippets
abstract: A collection of Python snippets.
type: software
version: 0.1.0
date-released: 2024-06-05
repository-code: https://github.com/DevelopersToolbox/python-snippets
keywords:
  - "Wolf Software"
  - "Software"
license: MIT
authors:
  - family-names: "Wolf"
    orcid: "https://orcid.org/0009-0007-0983-2072"

GitHub Events

Total
  • Delete event: 62
  • Issue comment event: 131
  • Push event: 122
  • Pull request review event: 112
  • Pull request event: 125
  • Create event: 62
Last Year
  • Delete event: 62
  • Issue comment event: 131
  • Push event: 122
  • Pull request review event: 112
  • Pull request event: 125
  • Create event: 62

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 118
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.76
  • Merged pull requests: 100
  • Bot issues: 0
  • Bot pull requests: 118
Past Year
  • Issues: 0
  • Pull requests: 97
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.74
  • Merged pull requests: 80
  • Bot issues: 0
  • Bot pull requests: 97
Top Authors
Issue Authors
  • dependabot[bot] (1)
Pull Request Authors
  • dependabot[bot] (163)
Top Labels
Issue Labels
dependabot: auto approve (1) dependabot: auto merge (1) dependabot: dependencies (1) dependabot: ecosystem : github actions (1)
Pull Request Labels
dependabot: dependencies (163) dependabot: ecosystem : github actions (155) dependabot: auto approve (145) dependabot: auto merge (145) dependabot: ecosystem : python (8) dependabot: manual merge (6)

Dependencies

.github/workflows/cicd-pipeline.yml actions
.github/workflows/codeql-analysis.yml actions
.github/workflows/delete-old-runs.yml actions
.github/workflows/dependabot-approve-and-auto-merge.yml actions
.github/workflows/generate-release.yml actions
.github/workflows/greetings.yml actions
.github/workflows/handle-stale.yml actions
.github/workflows/purge-deprecated-workflow-runs.yml actions
.github/workflows/repository-linting.yml actions