madonna

Python semver parsing library.

https://github.com/followtheprocess/madonna

Science Score: 26.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
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.0%) to scientific vocabulary

Keywords

library python semver semver-parser

Keywords from Contributors

distribution mesh energy-system-model transformers regionalization energy-system exoplanet generic standardization interactive
Last synced: 6 months ago · JSON representation

Repository

Python semver parsing library.

Basic Info
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 4
Archived
Topics
library python semver semver-parser
Created over 4 years ago · Last pushed about 1 year ago
Metadata Files
Readme Contributing License

README.md

Madonna

License PyPI GitHub Hatch project Ruff CI codecov pre-commit.ci status

A Python semver parsing library.

[!WARNING] madonna is no longer under active maintenance. I barely write any python any more, I haven't made changes to it in a while and I'm focussed on other projects 🧠

Project Description

Madonna is a small, simple semver utility library with support for parsing, writing, and otherwise interacting with semantic versions in code.

Why the stupid name?

Get it? "Like a Version"... 👏🏻

Also naming things on PyPI is hard!

Installation

shell pip install madonna

Quickstart

The only construct in madonna is the Version object, you can use it for all sorts of useful things...

Create a New Version

```python from madonna import Version

v = Version(major=1, minor=2, patch=4) ```

Parse a Version from a string

```python from madonna import Version

Version.from_string("v1.2.4-rc.1+build.123")

Version(major=1, minor=2, patch=4, prerelease="rc.1", buildmetadata="build.123")

```

Or JSON

```python from madonna import Version

Version.from_json('{"major": 1, "minor": 2, "patch": 4}') ```

And you can also dump a Version to a variety of formats too!

Contributing

madonna is an open source project and, as such, welcomes contributions of all kinds :smiley:

Your best bet is to check out the contributing guide in the docs!

Credits

This package was created with cookiecutter and the FollowTheProcess/cookie_pypackage project template.

Owner

  • Name: Tom Fleet
  • Login: FollowTheProcess
  • Kind: user
  • Location: UK
  • Company: @chetwoodfinancial

Software Engineer | Tech Lead | Go | Python | Rust

GitHub Events

Total
  • Delete event: 11
  • Issue comment event: 2
  • Push event: 15
  • Pull request event: 24
  • Create event: 11
Last Year
  • Delete event: 11
  • Issue comment event: 2
  • Push event: 15
  • Pull request event: 24
  • Create event: 11

Committers

Last synced: over 1 year ago

All Time
  • Total Commits: 468
  • Total Committers: 3
  • Avg Commits per committer: 156.0
  • Development Distribution Score (DDS): 0.333
Past Year
  • Commits: 57
  • Committers: 3
  • Avg Commits per committer: 19.0
  • Development Distribution Score (DDS): 0.211
Top Committers
Name Email Commits
dependabot[bot] 4****] 312
Tom Fleet t****8@g****m 87
pre-commit-ci[bot] 6****] 69

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 187
  • Average time to close issues: N/A
  • Average time to close pull requests: about 10 hours
  • Total issue authors: 0
  • Total pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.22
  • Merged pull requests: 183
  • Bot issues: 0
  • Bot pull requests: 149
Past Year
  • Issues: 0
  • Pull requests: 20
  • Average time to close issues: N/A
  • Average time to close pull requests: about 16 hours
  • Issue authors: 0
  • Pull request authors: 3
  • Average comments per issue: 0
  • Average comments per pull request: 0.15
  • Merged pull requests: 20
  • Bot issues: 0
  • Bot pull requests: 19
Top Authors
Issue Authors
Pull Request Authors
  • pre-commit-ci[bot] (113)
  • dependabot[bot] (77)
  • FollowTheProcess (42)
Top Labels
Issue Labels
Pull Request Labels
dependencies (77) python (69) sync (31) github_actions (6) ci (3) build (1) testing (1) refactoring (1)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 1,281 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 4
  • Total maintainers: 1
pypi.org: madonna

Python semver parsing library.

  • Versions: 4
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 1,281 Last month
Rankings
Downloads: 1.3%
Dependent packages count: 10.0%
Average: 18.1%
Dependent repos count: 21.7%
Stargazers count: 27.8%
Forks count: 29.8%
Maintainers (1)
Last synced: 7 months ago

Dependencies

pyproject.toml pypi
  • black 22.3.0 develop
  • bump2version 1.0.1 develop
  • coverage 6.4.1 develop
  • coverage-badge 1.1.0 develop
  • flake8 4.0.1 develop
  • flake8-bugbear 22.4.25 develop
  • isort 5.10.1 develop
  • mkdocs 1.3.0 develop
  • mkdocs-material 8.3.7 develop
  • mkdocstrings 0.18.1 develop
  • mypy 0.961 develop
  • nox 2022.1.7 develop
  • pre-commit 2.19.0 develop
  • pytest 7.1.2 develop
  • ward 0.66.1b0 develop
  • python ^3.8
.github/workflows/CI.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
  • pypa/gh-action-pypi-publish release/v1 composite
  • softprops/action-gh-release v1 composite
.github/workflows/labeler.yml actions
  • actions/checkout v3 composite
  • crazy-max/ghaction-github-labeler v4 composite
.github/workflows/release_drafter.yml actions
  • release-drafter/release-drafter v5 composite