Skip to main content

Simple Python interface with the spatstat R package using rpy2

Project description

spatstat-interface

Build codecov

Simple Python interface with the spatial statistics R package spatstat using rpy2.

Dependecies

  • R (programming language),
  • Python dependencies are listed in the pyproject.toml file.

Installation

  1. To install the lastest test version from TestPyPi
pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ spatstat-interface
  1. To install the latest development version from GitHub
git clone https://github.com/For-a-few-DPPs-more/spatstat-interface.git
cd spatstat-interface
pip install .
  1. To install the latest stable version once the package will be available on on PyPI
pip install spatstat-interface

Documentation

The spatstat package has recently been split into multiple subpackages and extensions.

Using spatstat-interface , subpackages and extensions are accessible in the following way

from spatstat_interface import SpatstatInterface
spatstat = SpatstatInterface(update=True)
# spatstat.core is None
# spatstat.geom is None

# load/import subpackages or extensions
spatstat.import_package("core", "geom", update=False)
spatstat.core
spatstat.geom

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

spatstat-interface-0.1.0a0.tar.gz (4.8 kB view hashes)

Uploaded Source

Built Distribution

spatstat_interface-0.1.0a0-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

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