Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A framework for the HiSPARC experiment

Project Description

Introduction

SAPPHiRE is a Simulation and Analysis Program Package for HiSPARC Research and Education. It was created in the process of completing the PhD research of David Fokkema. The history of this repository contains the complete simulation, analysis and plot generation code that formed the basis for David’s thesis. Arne de Laat took over development of SAPPHiRE while working on his own PhD research.

This repository is created with a sole purpose in mind: to enable HiSPARC students, teachers and researchers to easily gain access to the data and perform common simulation and analysis tasks. Historically, starting work on the data, or extending an existing analysis code, has involved elaborate installation instructions, heavy customizations to the software, countless hours going over opaque parts of code and a general feeling of anguish and despair. SAPPHiRE’s ultimate goal: no more of that.

Installation

Required: Python. pip will take care of dependencies, but installing numpy, scipy and pytables from a python distribution is preferred. We use miniconda, which includes the conda package manager.

First, install conda and optionally create a virtualenv:

$ conda create --name hisparc python numpy scipy pytables
$ source activate hisparc

or alternatively just install the dependencies:

$ conda install numpy scipy pytables sphinx

Then, using pip:

$ pip install hisparc-sapphire

This should install sapphire with all requirements. More extensive installation instructions are available in the documentation in the doc/ directory. You can compile them using Sphinx, or you can follow this link: http://docs.hisparc.nl/sapphire/.

To check if it worked start Python and load the package:

import sapphire

You’re done!

Development

Install python (preferably using conda) as described above but clone the sapphire repo instead of installing using pip:

$ git clone https://github.com/HiSPARC/sapphire.git
$ cd sapphire
$ python setup.py develop

Version release

Important: First check if the last commit passes the tests on Travis CI!

To release a new version modify the version number in setup.py. Then create a commit for the new release with a title like ‘Bump version to vX.Y.Z’ and a message that contains a summary of the most important changes since the last release. Then tag the commit and push it to GitHub:

$ git tag vX.Y.Z
$ git push --tags

Then upload the new version to PyPI (this requires the wheel and twine packages):

$ python setup.py sdist bdist_wheel
$ twine upload dist/hisparc-sapphire-X.Y.Z.tar.gz
$ twine upload dist/hisparc_sapphire-X.Y.Z-py2.py3-none-any.whl

The latest version is then available from PyPI.

Release History

Release History

This version
History Node

1.5.1

History Node

1.5.0

History Node

1.4.0

History Node

1.3.1

History Node

1.3.0

History Node

1.2.0

History Node

1.1.0

History Node

1.0.0

History Node

0.15.2

History Node

0.15

History Node

0.14.1

History Node

0.14.0

History Node

0.13.8

History Node

0.13.7

History Node

0.13.6

History Node

0.13.5

History Node

0.13.4

History Node

0.13.3

History Node

0.13.1

History Node

0.13.0

History Node

0.12.6

History Node

0.12.5

History Node

0.12.4

History Node

0.12.3

History Node

0.12.2

History Node

0.12.1

History Node

0.12.0

History Node

0.11.5

History Node

0.11.3

History Node

0.11.2

History Node

0.11.1

History Node

0.11.0

History Node

0.10.1

History Node

0.10.0

History Node

0.9.32

History Node

0.9.31

History Node

0.9.30

History Node

0.9.29

History Node

0.9.28

History Node

0.9.27

History Node

0.9.26

History Node

0.9.25

History Node

0.9.24

History Node

0.9.23

History Node

0.9.22

History Node

0.9.21

History Node

0.9.20

History Node

0.9.17

History Node

0.9.16

History Node

0.9.15

History Node

0.9.14

History Node

0.9.13

History Node

0.9.12

History Node

0.9.11

History Node

0.9.10

History Node

0.9.8

History Node

0.9.7

History Node

0.9.6

History Node

0.9.5

History Node

0.9.4

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
hisparc_sapphire-1.5.1-py2.py3-none-any.whl (6.2 MB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 2, 2017
hisparc-sapphire-1.5.1.tar.gz (5.9 MB) Copy SHA256 Checksum SHA256 Source Oct 2, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting