Code Monkey home page Code Monkey logo

sciscript-python's Introduction

SciScript-Python

Python libraries for Jupyter Notebooks

This python package provides functions for quick access of SciServer APIs (web services) and tools. SciServer provides a new online framework for data-intensive scientifc computing in the cloud, where the motto is to bring the computation close where the data is stored, and allow seamless access and sharing of big data sets within the scientific community.

Some SciServer tools you can access with this package:

  • Login Portal: Single sign-on portal to all SciServer applications.

  • CasJobs: Database storage and querying.

  • SciDrive: Drag-and-drop file storage and sharing.

  • SkyServer: Access to the SDSS astronomical survey.

  • SkyQuery: Cross-match of astronomical source catalogs.

  • Compute Jobs and SciQuery Jobs: Synch and asynch submission of Jupyter notebooks, shell commands and SQL queries.

  • Files: Interact with the SciServer file system.

Maintainer: Manuchehr Taghizadeh-Popp.

Authors: Gerard Lemson, Manuchehr Taghizadeh-Popp.

1) Cloning the code locally:

1.1.- Run git clone http://github.com/sciserver/SciScript-Python.git

2) Setting configuration parameters:

2.1.- Open ./py2/SciServer/Config.py and ./py3/SciServer/Config.py, and edit the API URLs and parameters to match those of the SciServer tools and installation, according to the instructions and descriptions found therein.

3) Installation:

There are 2 possibilities: automatic or manual installation.

a) Automatic Installation and Update:

3.a.1.- Run python ShowSciServerTags.py in order to see the version tags that label each SciServer release containing new SciScript code.

3.a.2.- To install or update, run python Install.py tag, where tag is the version tag of the SciServer release containing the SciScript version you want to install or update to (see previous step). If tag is not specified, then the latest version will be installed.

b) Manual Installation:

3.b.1.- To install python 2 code, run python setup.py install while in the ./py2 directory.

3.b.2.- To install python 3 code, run python3 setup.py install while in the ./py3 directory.

4) Creating HTML documentation:

4.1.- Run make html while in the ./docs_sphinx/ directory. The html files will be created in ./docs_sphinx/_build/

5) Unit Tests:

5.1.- Open ./Tests/UnitTests.py and edit the Authentication_loginName and Authentication_loginPassword parameters in order to run the Tests under the credentials of a (test) user.

5.2.- Run python UnitTests.py while in the ./Tests directory in order to run the unit tests for the SciScript-Python modules. Be sure all that all tests end with an OK status.

6) Examples.

6.1.- In the directory ./Examples you can find python scripts or Jupyter notebooks that will run sample code using SciScript-Python modules and methods.

sciscript-python's People

Contributors

bonbons0220 avatar dmedv avatar glemson avatar mtaghiza avatar sargas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.