Codemetapy

Latest version: v3.0.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

3.0.0

This major release updates the codemeta library for use with codemeta v3. It will hence-forth output codemeta v3 data only. Codemeta v2 can still be read as input and will be automatically converted. See https://github.com/codemeta/codemeta/releases/tag/3.0 for the codemeta v3 release notes which illustrates the changes. Some notable ones:

* We now use https://w3id.org/codemeta/3.0 as JSON-LD context, instead of https://doi.org/10.5063/schema/codemeta-2.0
* The RDF namespace has not changed between version and remains https://codemeta.github.io/terms/
* Codemeta 3 introduces a `isSourceCodeOf` property. We now use this instead of `schema:targetProduct` to link between source code and applications/services. See also: https://github.com/codemeta/codemeta/issues/271 .

2.5.3

* Remove distutils and use setuptools (needed for Python 3.12 compatibility) 50
* Fixed `setup.py codemeta` command 50

2.5.2

* Fix incorrect parsing of version from dependencies (closes 48)
* Java/Maven: translate organization from pom.xml to schema:Organization (type was missing)
* Check e-mail validity when inferring a maintainer
* Metadata update

2.5.1

Features:
* python: support "homepage" and "documentation" fields from pyproject.toml, limited support for "readme" too
* python:parse maintainers from pyproject.toml 44
* npm: support 'maintainers' field in package.json 44
* updated to latest codemeta crosswalks (proper v3 compatibility is coming in the next codemetapy release)

Bugfixes:
* python: fix incorrect parsing of versions from dependencies if e.g. extras are stated to be installed 42
* npm: ensure url is retained for all contributors 45
* ensure lists are always sorted in some way so output is deterministic 39
* we eagerly turn literals into resources when they exist in our graph; exempt certain properties like 'url' from this behaviour 46

2.5.0

* Split off all HTML generation code to a seperate project codemeta2html: https://github.com/proycon/codemeta2html
* prevent unnecessary URI remapping
* set pyshacl version fixed to 0.20.0, versions 0.22.0 break stuff; to be re-evaluated later
* better detection of json-ld for --addcontextgraph
* more robust URI generation
* added load function for API usage
* web: extract title from h1 if no title found in head

2.4.1

Bugfix release:

* Remove stub targetProducts (i.e. without url) for web applications/services if we have better ones (i.e. with url)
* Minor fix in verbose log output
* Removed some itemss from deviant context, no longer needed
* Nodejs: fix for contributors parsing
* html visualisation: fix for screenshot display
* html visualisation: also allow screenshots and references on targetproduct pages

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.