Skip to main content

Create social, material or semantic layers using different methods to work with the Socio-epistemic networks framework.

Project description

SemanticLayerTools

PyPI DH community code review: May 2022 Documentation Status

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 ml option

pip install semanticlayertools[ml]

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 was 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). The work is continued at the Max Planck Institute of Geoanthropology, Jena.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semanticlayertools-1.1.0.tar.gz (121.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

semanticlayertools-1.1.0-py3-none-any.whl (55.8 kB view details)

Uploaded Python 3

File details

Details for the file semanticlayertools-1.1.0.tar.gz.

File metadata

  • Download URL: semanticlayertools-1.1.0.tar.gz
  • Upload date:
  • Size: 121.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for semanticlayertools-1.1.0.tar.gz
Algorithm Hash digest
SHA256 b01c8e80ffd5c2e99e4103dd4fbba9f2c9d4fcdd51f8de64b2dd1d2d20856cde
MD5 8a566594174a5f93400f59ff10f33862
BLAKE2b-256 2097f6b63f0402582d7af44da8e05a02ac0dc62c105fba8f2b8d7263e3ffe085

See more details on using hashes here.

File details

Details for the file semanticlayertools-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for semanticlayertools-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f3113cf2125870f2d70bd5cbebc6e7c5e5b5b373154186d6b338be4f01a73cc0
MD5 68acce3a901df13ab1785590e4666c06
BLAKE2b-256 e23ef7e94791e1b398c171247da34103da8f284d5b1c20ab497d263055ca66ff

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page