semvec/pypi-packages huggingface dataset:
pysem 1.2.1
PySem: Python library for handling semantic data in linguistics
License: MIT
Requires Python: >=3.10
Keywords: linguistics, semantic data, computational linguistics, Concepticon

# PySem: Pysen library for handling semantic data in linguistics

* **Current Version**: 1.2.1
* **Concepticon Version**: [3.4.0](https://doi.org/10.5281/zenodo.14923561)
 
## Usage Examples

Retrieve the sense data assembled by S. A. Starostin in the STARLING software package and search for similar words:

```python
>>> from pysem.sense import Sense
>>> sns = Sense()
>>> sns.similar('arm')
[['arm', 'calf of leg', 'sense-bone; sense-foot; sense-hand', 3],
 ['arm', 'hand', 'sense-bone; sense-foot; sense-hand', 3],
 ['arm', 'shin-bone', 'sense-bone; sense-foot; sense-hand', 3],
 ['arm', 'ankle', 'sense-bone; sense-foot', 2],
 ['arm', 'bone', 'sense-bone; sense-foot', 2]]
```

Map data to the most recent version of the [Concepticon](https://concepticon.clld.org) project:

```python
>>> from pysem import to_concepticon
>>> to_concepticon([{"gloss": "Fuß", pos: "noun"}], language="de"}])
{'Fuß': [['1301', 'FOOT', 'noun', 19]]}
```

## How to Cite

> List, Johann-Mattis (2025): PySeM. A Python library for handling semantic data in linguistics [Software, Version 1.1]. With contributions by Johannes Englisch. URL: https://pypi.org/project/pysem, Passau: MCL Chair at the University of Passau.
unsplash-client 1.0.0
A basic API wrapper for Unsplash.
License: MIT
Requires Python: >=3.8.0

.. image:: https://raw.githubusercontent.com/Ombucha/unsplash.py/main/banner.png

.. image:: https://img.shields.io/pypi/v/unsplash-client
    :target: https://pypi.python.org/pypi/unsplash-client
    :alt: PyPI version
.. image:: https://img.shields.io/pypi/dm/unsplash-client
    :target: https://pypi.python.org/pypi/unsplash-client
    :alt: PyPI downloads
.. image:: https://sloc.xyz/github/Ombucha/unsplash.py
    :target: https://github.com/Ombucha/unsplash.py/graphs/contributors
    :alt: Lines of code
.. image:: https://img.shields.io/github/repo-size/Ombucha/unsplash.py
    :target: https://github.com/Ombucha/unsplash.py
    :alt: Repository size

A modern, Pythonic client for the Unsplash API.

Features
--------

* Search for photos, users, and collections
* Download and trigger downloads for Unsplash images
* Get random photos or curated collections
* Access user profiles and statistics
* Manage and create collections
* List and explore Unsplash topics
* Fully typed and Pythonic interface
* Handles Unsplash API rate limits and errors gracefully

Requirements
------------

* Python 3.8 or higher
* `requests <https://pypi.python.org/pypi/requests>`_ library

Installation
------------

Install the latest stable release from PyPI:

.. code-block:: sh

    # For Unix / macOS
    python3 -m pip install "unsplash.py"

    # For Windows
    py -m pip install "unsplash.py"

To install the latest development version:

.. code-block:: sh

    git clone https://github.com/Ombucha/unsplash.py
    cd unsplash.py
    pip install -e .

Quick Start
-----------

Here's how to use unsplash.py:

.. code-block:: python

    import unsplash

    # Initialize the client with your Unsplash API access key
    client = unsplash.Client(access_key="YOUR_ACCESS_KEY")

    # Search for photos
    photos = client.search_photos("mountains")
    for photo in photos:
        print(photo.urls["regular"])

    # Get a random photo
    random_photo = client.get_random_photo()
    print(random_photo[0].urls["full"])

    # Get user profile
    user = client.get_user("unsplash")
    print(user.name, user.bio)

Links
-----

- `Unsplash <https://unsplash.com/>`_
- `Official API <https://unsplash.com/developers>`_
- `Documentation <https://unsplash.readthedocs.io/>`_

Contributing
------------

Contributions are welcome! Please open an issue or pull request on GitHub.
For major changes, please open an issue first to discuss what you would like to change.