CodeMetaPy

Codemetapy is a command-line tool and python library to work with the codemeta software metadata standard. Codemeta builds upon schema.org and defines a vocabulary for describing software source code. It maps various existing metadata standards to a unified vocabulary. Codemetapy allows you to generate codemeta from various sources.

Provided tools & services

codemeta

Type
  • Software Library

codemetapy

Type
  • Command-line Application
Executable name
codemetapy

Tool suite: CLARIAH Tool Discovery

The following closely related tools are in a tool suite together with CodeMetaPy:

  • Web Application
  • 8 - Complete: Technology complete and qualified, released for all end-users in scholarly environments.
  • Active: The project has reached a stable, usable state and is being actively developed.

CLARIAH Tool Discovery 1.6.4

This is the over-arching project for CLARIAH Tool Discovery, its components harvest and aggregate codemeta from source repositories and service endpoints, automatically converting known metadata schemes in the process. This project holds the Tool Source Registry, pointing to all the tools that are to be harvested. It also holds the validation schema. [view more]
  • Browsing
  • Databases for humanities
  • Discovering
  • Exploration
  • Gathering
  • Software for humanities
  • codemeta
  • harvester
  • linked data
  • metadata
  • rdf
  • schema.org
  • software metadata
Created: 2022-01-05
Modified: 2024-06-04
  • Command-line Application
  • 8 - Complete: Technology complete and qualified, released for all end-users in scholarly environments.
  • Active: The project has reached a stable, usable state and is being actively developed.

codemeta-harvester 0.4.0

Harvest and aggregate codemeta from source repositories and service endpoints, automatically converting known metadata schemes in the process [view more]
  • codemeta
  • harvester
  • linked data
  • metadata
  • rdf
  • schema.org
  • software metadata
Created: 2022-01-05
Modified: 2024-06-03
  • Inactive: The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.

codemeta-lod-to-cmdi 1.0-SNAPSHOT

CLARIAH Tool Discovery output (LOD -> CMDI conversion) [view more]
Created: 2023-02-01
Modified: 2023-05-15
  • Server Application
  • 7 - Release Candidate: Technology ready enough and in initial use by end-users in intended scholarly environments. Further validation may be in progress.
  • Active: The project has reached a stable, usable state and is being actively developed.

codemeta-server 0.4.1

Web API serving codemeta software metadata using codemeta and schema.org, provides a SPARQL endpoint and also offers a human web-interface [view more]
  • Software Development
  • codemeta
  • linked data
  • metadata
  • rdf
  • schema.org
  • scientific
  • software metadata
  • Bsd
  • Linux
  • Macos
  • Python
Created: 2022-03-22
Modified: 2023-11-24
  • Command-line Application
  • Software Library
  • 7 - Release Candidate: Technology ready enough and in initial use by end-users in intended scholarly environments. Further validation may be in progress.
  • Active: The project has reached a stable, usable state and is being actively developed.

codemeta2html 0.1.0

Convert software metadata in codemeta to html for visualisation, can generate fully-fledged static sites that serve well as a portal for a collection of software [view more]
  • Software Development
  • codemeta
  • linked data
  • metadata
  • rdf
  • schema.org
  • scientific
  • software metadata
  • Bsd
  • Linux
  • Macos
  • Python
Created: 2023-05-06
Modified: 2023-05-15

Citation

You can cite this software using the following citation generated from its metadata:

Logs & Reviews

Name
Automatic software metadata validation report for CodeMetaPy 2.5.3
Author
  • codemetapy validator using software.ttl
Date
2024-12-06 03:03:53
Review
Please consult the CLARIAH Software Metadata Requirements at https://github.com/CLARIAH/clariah-plus/blob/main/requirements/software-metadata-requirements.md for an in-depth explanation of any found problems

Validation of CodeMetaPy 2.5.3 was successful (score=4/5), but there are some remarks which you may or may not want to address:

1. Info: Reference publications *SHOULD* be expressed, if any (This is missing in the metadata)
Rating
★ ★ ★ ★ ☆
(log file starts at Fri Dec  6 03:03:51 UTC 2024)

[harvester info] --> Processing codemetapy (https://github.com/proycon/codemetapy) [Fri Dec  6 03:03:51 UTC 2024]

[harvester info] Git updating cached clone of https://github.com/proycon/codemetapy...

[harvester info] Found release v2.5.3

[harvester info] Using 'v2.5.3'

[harvester info] Git reference: v2.5.3

[harvester info] Scanning directory /tmp/codemeta-harvester.cache/codemetapy for harvestable resources...

[harvester info] found codemeta.json for codemetapy (md5sum fdd8af3ad608d80c3dfe6a399ed37285); **NOTE: this is considered authoritative and most other detection methods will be skipped now!**

[harvester info] Inferring repostatus information from git activity (used only as a fallback if not explicitly provided)...

[harvester info] Inferred repostatus https://www.repostatus.org/#active

[harvester info] Looking for repostatus information in README.md in master branch...

[harvester info] Found repostatus (master branch) https://www.repostatus.org/#active

[harvester info] Setting group CLARIAH Tool Discovery

[harvester info] Reconciliating: codemetapy  --baseuri https://tools.dev.clariah.nl --baseuri https://tools.dev.clariah.nl --includecontext --addcontext https://w3id.org/nwo-research-fields --addcontext https://w3id.org/research-technology-readiness-levels --addcontextgraph https://vocabs.dariah.eu/rest/v1/tadirah/data?format=text/turtle --trl --identifier "codemetapy" --codeRepository "https://github.com/proycon/codemetapy" --validate /etc/software.ttl --released --enrich --textv "Please consult the CLARIAH Software Metadata Requirements at https://github.com/CLARIAH/clariah-plus/blob/main/requirements/software-metadata-requirements.md for an in-depth explanation of any found problems" -O /tmp/out/codemetapy.codemeta.json /tmp/codemeta-harvester.cache//tmp/99-repostatus.codemetapy.codemeta.json /tmp/codemeta-harvester.cache//tmp/10-jsonld.codemetapy.codemeta.json /tmp/codemeta-harvester.cache//tmp/05-repostatus.codemetapy.codemeta.json /tmp/codemeta-harvester.cache//tmp/04-applicationSuite.codemetapy.codemeta.json 

-- begin log --

Passed 4 files/sources but specified 0 input types! Automatically guessing types...

Detected input types: [('/tmp/codemeta-harvester.cache//tmp/99-repostatus.codemetapy.codemeta.json', 'json'), ('/tmp/codemeta-harvester.cache//tmp/10-jsonld.codemetapy.codemeta.json', 'json'), ('/tmp/codemeta-harvester.cache//tmp/05-repostatus.codemetapy.codemeta.json', 'json'), ('/tmp/codemeta-harvester.cache//tmp/04-applicationSuite.codemetapy.codemeta.json', 'json')]

Adding to contextgraph: /tmp/turtle

Initial URI automatically generated, may be overriden later: https://tools.dev.clariah.nl/codemetapy

Processing source #1 of 4

Parsing json-ld file from /tmp/codemeta-harvester.cache//tmp/99-repostatus.codemetapy.codemeta.json

    NOTE: Not a valid JSON-LD document, @context missing! Attempting to inject automatically...

    Injected (possibly temporary) URI https://tools.dev.clariah.nl/codemetapy

[CODEMETA COMPOSITION (https://tools.dev.clariah.nl/codemetapy)] processed 1 new triples, total is now 2

Processing source #2 of 4

Parsing json-ld file from /tmp/codemeta-harvester.cache//tmp/10-jsonld.codemetapy.codemeta.json

    Found main resource with URI https://github.com/proycon/codemetapy.git

    Injected (possibly temporary) URI https://tools.dev.clariah.nl/codemetapy

[CODEMETA CORRECTION (codemetapy)] automatically converting spdx license URI from https:// to http:///

[CODEMETA COMPOSITION (codemetapy)] processed 129 new triples, total is now 129

Processing source #3 of 4

Parsing json-ld file from /tmp/codemeta-harvester.cache//tmp/05-repostatus.codemetapy.codemeta.json

    NOTE: Not a valid JSON-LD document, @context missing! Attempting to inject automatically...

    Injected (possibly temporary) URI https://tools.dev.clariah.nl/codemetapy

[CODEMETA COMPOSITION (codemetapy)] processed 1 new triples, total is now 129

Processing source #4 of 4

Parsing json-ld file from /tmp/codemeta-harvester.cache//tmp/04-applicationSuite.codemetapy.codemeta.json

    NOTE: Not a valid JSON-LD document, @context missing! Attempting to inject automatically...

    Injected (possibly temporary) URI https://tools.dev.clariah.nl/codemetapy

[CODEMETA COMPOSITION (codemetapy)] processed 1 new triples, total is now 130

Remapping URI to (possibly) new identifier and version component: https://tools.dev.clariah.nl/codemetapy -> https://tools.dev.clariah.nl/codemetapy/2.5.3

[CODEMETA VALIDATION (codemetapy)] done

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

[CODEMETA ENRICHMENT (codemetapy)] automatically adding programmingLanguage Python derived from runtimePlatform Python

VALIDATION https://tools.dev.clariah.nl/codemetapy/2.5.3 #1: Info: Reference publications *SHOULD* be expressed, if any (This is missing in the metadata)

-- end log --

[harvester info] Output written to /tmp/out/codemetapy.codemeta.json

[harvester info] <-- Finished processing codemetapy (https://github.com/proycon/codemetapy) [Fri Dec  6 03:03:53 UTC 2024]

        

Metadata Properties

Version
2.5.3
Interface types
  • Command-line Application
  • Software Library
Software website
Source code repository
 https://github.com/proycon/codemetapy  Stars are an indicator of the popularity of this project on GitHub
Category
  • Computer science
  • Converting
  • Software Development
Keywords
  • codemeta
  • linked data
  • metadata
  • metadata-extractor
  • rdf
  • schema.org
  • scientific
  • software metadata
Development Status
  • 9 - Proven: Technology complete and proven in practice by real users.
  • Active: The project has reached a stable, usable state and is being actively developed.
Issue Tracker (Support)
https://github.com/proycon/codemetapy/issues  The number of open issues on the issue tracker  The number of closes issues on the issue tracker
Documentation
License
Author(s)
Maintainer(s)
Contributor(s)
Producer
Programming Language
  • Python
Continuous Integration Tests
https://github.com/proycon/codemetapy/actions/
Runtime Platform
  • Python 3
  • Python 3.10
  • Python 3.11
  • Python 3.12
  • Python 3.6
  • Python 3.7
  • Python 3.8
  • Python 3.9
Operating System
  • BSD
  • Linux
  • macOS
Software dependencies
  • BeautifulSoup4
  • Jinja2
  • importlib-metadata
  • lxml
  • nameparser
  • PyYAML
  • rdflib
  • requests
Metadata validation
★ ★ ★ ★ ☆
Created
2018-04-16 10:54:22 +0200
Last modified
2024-06-14 11:33:47 +0200  Last commit (main branch). Gives an indication of project development activity and rough indication of how up-to-date the latest release is.  Number of commits since the last release. Gives an indication of project development activity and rough indication of how up-to-date the latest release is.