Skip to main content

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

Project description

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 <br> with contributions from <br> Konstantin Stadler, NTNU, Trondheim, Norway<br> Chris Mutel, PSI, Villingen, CH <br>

<b>Dependencies:</b> <br> numpy >= 1.9<br> scipy >= 0.14<br>

<br> <b>Tutorial:</b><br> https://github.com/cmutel/pySUT/blob/master/Doc/pySUT_Documentation.ipynb <br> <b>Documenation of all methods and functions:</b><br> http://htmlpreview.github.com/?https://github.com/stefanpauliuk/pySUT/blob/master/Doc/pysut.html <br>

<b> Below, a quick installation guide and a link to the tutorial are provided:</b><br><br>

<b>a) Installation as package:</b> <br> 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: <br> > 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 <br> > import pysut

This setup also allows us to run the unit test: <br>

> 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)

<br> <b>b) Manual installation, by modifying the python path</b><br> 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 <br> > import sys

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

> from pysut import SupplyUseTable

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

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

Source Distribution

pysut-1.1.zip (30.3 kB view details)

Uploaded Source

File details

Details for the file pysut-1.1.zip.

File metadata

  • Download URL: pysut-1.1.zip
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pysut-1.1.zip
Algorithm Hash digest
SHA256 165c1594dd5de226503b93bbfca198dbcd81cebdf5ac27642a257fd29886e974
MD5 f30fb6653823737bcbd4c2ebb237e2f3
BLAKE2b-256 2896846a949e7c3d3bdf2fb166e5506a1fb321c3d8513fbd958a4ca2ee02d772

See more details on using hashes here.

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