Skip to main content

synset

Developer Guide

Setup

# create conda environment
$ mamba env create -f env.yml

# update conda environment
$ mamba env update -n synset --file env.yml

Install

pip install -e .

# install from pypi
pip install synset

nbdev

# activate conda environment
$ conda activate synset

# make sure the synset package is installed in development mode
$ pip install -e .

# make changes under nbs/ directory
# ...

# compile to have changes apply to the synset package
$ nbdev_prepare

Publishing

# publish to pypi
$ nbdev_pypi

# publish to conda
$ nbdev_conda --build_args '-c conda-forge'
$ nbdev_conda --mambabuild --build_args '-c conda-forge -c dsm-72'

Usage

Installation

Install latest from the GitHub repository:

$ pip install git+https://github.com/dsm-72/synset.git

or from conda

$ conda install -c dsm-72 synset

or from pypi

$ pip install synset

Documentation

Documentation can be found hosted on GitHub repository pages. Additionally you can find package manager specific guidelines on conda and pypi respectively.

syn = synset(
    'alias', 
    'aka', 'tags', 'alts', 'names', 'labels', 'aliases', 'handles', 
    'monikers', 'codenames', 'nicknames', 'cognomen', 'sobriquets', 
    'variations', 'pseudonames', 'alternatives', 'recognized',
    'noms',     # (French, names)
    'nafn',     # (Icelandic, name)
    'nefndur',  # (Icelandic, named)
    'dulnefni', # (Icelandic, pseudonym)
    'samnefni', # (Icelandic, alias / alised)
    fullrepr=True
)
syn, syn == 'nafn'
(alias (21 aliases), True)
no_alias = synset('none', )
no_alias, no_alias == 'None'
(none (0 aliases), True)

Metadata

Release files for synset 0.0.15

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

Source distribution (sdist)

Source distribution for synset 0.0.15
File Size Uploaded Provenance Actions
synset-0.0.15.tar.gz 13.6 kB Without provenance Details for synset-0.0.15.tar.gz

Built distribution (wheel)

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

Total release size: 25.5 kB

Release files / synset-0.0.15.tar.gz

Download URL synset-0.0.15.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7417c55c1872962f64ae1637157d49295774529e6869fd6312645a185c8d9b0e
BLAKE2b-256 checksum
How to use checksums
4a5438e34cc9d4c926c6d61142507aa6b9dda369b57f41fdf6c5b60ff8adf878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Release files / synset-0.0.15-py3-none-any.whl

Download URL synset-0.0.15-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72213b12eeb31522db988a5dee11866902bf74d9acda6bb36c36540b3b3b775c
BLAKE2b-256 checksum
How to use checksums
bcee2acde0e0e2fdc018c3b3431349952845e6d5071e7402a3d1ba28e3307fda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for synset 0.0.15

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