Code Monkey home page Code Monkey logo

pysut's Introduction

pySUT

Python class for efficient handling of supply and use tables (SUTs)

Created on Mon Jun 30 17:21:28 2014

@author: stefan pauliuk and Guillaume Majeau-Bettez, NTNU Trondheim, Norway
with contributions from
Konstantin Stadler, NTNU, Trondheim, Norway
Chris Mutel, PSI, Villingen, CH

Dependencies:
numpy >= 1.9
scipy >= 0.14


Tutorial:
http://nbviewer.ipython.org/github/stefanpauliuk/pySUT/blob/master/Doc/pySUT_Documentation.ipynb
Documenation of all methods and functions:
http://htmlpreview.github.com/?https://github.com/stefanpauliuk/pySUT/blob/master/Doc/pysut.html

Below, a quick installation guide and a link to the tutorial are provided:

a) Installation from the web repository:
This is the easiest way of installing pySUT. Github hosts an installation package for pySUT, which can be downloaded directly from the command line using pip:

pip install pySUT

b) Installation as package:
Pull package via git pull or download as .zip file and unpack. Choose a convenient location (Here: 'C:\MyPythonPackages'). Then open a console, change to the directory ../pySUT-master/, and install the package from the command line:

python setup.py install

This makes the package available to Python. At any other place in a system with the same python installation, pydsm is now ready to be imported simply by

import pysut

This setup also allows us to run the unit test:

import unittest

import pysut

import pysut.tests

unittest.main(pysut.tests, verbosity=2)

Or, to run a specific test

unittest.main(pydsm.tests.test_allocations_constructs, verbosity=2)


c) Manual installation, by modifying the python path
Pull package via git pull or download as .zip file and unpack. Choose a convenient location (Here: 'C:\MyPythonPackages\'). Then include in your code the following lines
> import sys

sys.path.append('C:\MyPythonPackages\pySUT-master\pydsm\')

from pysut import SupplyUseTable

pysut's People

Contributors

majeau-bettez avatar stefanpauliuk avatar cmutel 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.