Skip to main content

DHCodeReviewReview

SemanticLayerTools

Collects tools to create semantic layers in the socio-epistemic networks framework. Source material can be any structured corpus with metadata of authors, time, and at least one text column.

Documentation is available on ReadTheDocs.

Part of the code was reviewed by Itay Zandbank, thank you.

Installation

tl;dr Use pip

pip install semanticlayertools

Consider using a clean virtual environment to keep your main packages separated. Create a new virtual environment and install the package

python3 -m venv env
source env/bin/activate
pip install semanticlayertools

To use some sentence embedding utility functions please install with the embeddml option

pip install semanticlayertools[embeddml]

Testing

Tests can be run by installing the dev requirements and running tox.

pip install semanticlayertools[dev]
tox

Building documentation

The documentation is build using sphinx. Install with the dev option and run

pip install semanticlayertools[dev]
tox -e docs

Funding information

The development is part of the research project ModelSEN

Socio-epistemic networks: Modelling Historical Knowledge Processes,

in Department I of the Max Planck Institute for the History of Science and funded by the Federal Ministry of Education and Research, Germany (Grant No. 01 UG2131).

Metadata

Release files for semanticlayertools 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for semanticlayertools 0.3.1
File Size Uploaded Provenance Actions
semanticlayertools-0.3.1.tar.gz 119.8 kB Without provenance Details for semanticlayertools-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for semanticlayertools 0.3.1
File Interpreter ABI Platform Actions
semanticlayertools-0.3.1-py3-none-any.whl Python 3 none any Details for semanticlayertools-0.3.1-py3-none-any.whl

Total release size: 173.8 kB

Release files / semanticlayertools-0.3.1.tar.gz

Download URL semanticlayertools-0.3.1.tar.gz
Size 119.8 kB
Tags Source
SHA-256 checksum
How to use checksums
46f637906344606e604c3cc70684e94f0b12936c566afa79803d03c212999ff3
BLAKE2b-256 checksum
How to use checksums
48faaa7ad8be7566d7becf82940d2c79727f290f3837ad630943455a47a179cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release files / semanticlayertools-0.3.1-py3-none-any.whl

Download URL semanticlayertools-0.3.1-py3-none-any.whl
Size 54.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
060197b90bf3a02e1a300e9590d0dff0ae6e85b096bfa482c9918ae069fdeeda
BLAKE2b-256 checksum
How to use checksums
a7adc78fd8dfa071e9c91178df39c1da3b86fbbd94d61e3865af5ed1c469e2d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Security for semanticlayertools 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page