Skip to main content

Corpus of Place Representations (COPR) / COPR.py

COPR [ˈkɒp.əʳ] is the Corpus of Place Representations, a collection of semantically annotated place representations that are made available for research. It is run by the Space & Place LAB, currently located at the University of Salzburg.

The COPR.py as part of the COPR API is an easy-to-use library to access data from the Corpus of Place Representations (COPR).

Website: https://copr.space-and-place.net

Installation

To install the library, you will need Node.js and Yarn as well as Python3 and pip. To install the production version, run

pip3 install copr.py # install package from PyPI

Alternatively, you can install the local version included in this repository. To do this, you have to first build some files using the copr-orchestration repository:

cd ..
git clone https://gitea.franz-benjamin.net/copr/copr-orchestration.git
cd copr-orchestration
yarn run build:info
cd ../copr-api

Then, you can run:

cd copr.py
yarn install # install for production
yarn run install:dev # install for development (with tests)

or alternatively

cd copr.py
pip3 install . # install for production
pip3 install -e . # install for development

Usage

For further information about the usage, see https://copr.space-and-place.net.

Testing

You can test the package by installing the corresponding dependencies

pip3 install .[test] # local
pip3 install copr[test] # from PyPI

and then running

pytest --verbose

Publishing

You can publish the library by executing the following steps:

cd copr.py
yarn run publish

Authorship and License

This application is written and maintained by Franz-Benjamin Mocnik, mail@space-and-place.net.

The code is licensed under the CC BY-SA 4.0.

Metadata

Release files for copr.py 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 copr.py 0.0.15
File Size Uploaded
copr_py-0.0.15.tar.gz 11.5 kB Details

Release files / copr_py-0.0.15.tar.gz

Download URL copr_py-0.0.15.tar.gz
Size 11.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e1eeef61d043ca19d2a9c8d62edd9715a5a6e45c227cc796e49b7afcd9ca60a2
BLAKE2b-256 checksum
How to use checksums
7db115201ee64812bd358675ceb8d4d3fe62191692dee620cb505d7044d0b905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.0.15 This release

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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