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.0.0.tar.gz (119.2 kB view details)

Uploaded Source

Built Distribution

semanticlayertools-1.0.0-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for semanticlayertools-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb47c1938c8985be6cc2064f0b2287c06855ced8cd8224cacb6aa866b757e9a3
MD5 c4832b6c633ddfc1d865ef9504e77df6
BLAKE2b-256 d2e68fda26630e7bf805a28722b12e2b54f4f3e9ba28360e248f57572f871328

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for semanticlayertools-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8832ba9f9eefc4cf80f0920ee971d7acebf9fb3e9e8c06bec2459fc5ba939db6
MD5 642d3daa9cc2ba2f11b2930e43b77200
BLAKE2b-256 d45d7e6aefcfbd4fd8e80236f8665086806364222daed7d162ec35c508686235

See more details on using hashes here.

Supported by

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