Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install ngpy

How to install ngpy

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install ngpy
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3 Available View build log
0.1 Available View build log
Windows (64-bit)
0.1
0.3Never BuiltWhy not?
0.1 Available View build log
Mac OS X (10.5+)
Linux (32-bit)
0.3 Available View build log
0.1 Available View build log
Linux (64-bit)
0.3 Available View build log
0.1 Available View build log
 
Author
License
BSD
Imports
Lastest release
version 0.3 on Nov 20th, 2012

NGPy is a web application that enable online performing and analyzing Monte-Carlo simulations on nucleation and growth phenomena. It can be also used as a web framework to develop your own web applications. NGPy is built on top of Flask. NGPy is actually a distributed system since we use ZEO server as a database and redis server as a message queue.

Quickstart

1. Install
$ easy_install ngpy

or

$ tar -xvf ngpy-xxx.tar.gz
$ cd ngpy-xxx
$ python setup.py install
  • Make sure that the NoSQL database redis is installed in your system.
  • Other dependencies such as ZODB3, WTForm, Numpy, and Matplotlib should be taken care by easy_install. If not, try to install them mannually.
2. Start ZEO server
$ runzeo -a 0.0.0.0:<ZEOPORT> -f /path/to/your/Data.fs
  • <ZEOPORT> must be an available port number, e.g. 1234
  • The ZEO server should run at a host that other hosts can connect to.
3. Start redis server
$ redis-server [/path/to/redis.conf]
  • The redis server should run at a host that other hosts can connect to.
4. Start the task queue daemon
$ simd [-r <server>] [-q <qkey>]
  • <server> is the host where you run the redis server.
  • What simd does is that it just picks the messages from redis server and process them. So you can run simd at every hosts where you wish to run the task.
5. Start ngpy
$ run-ngpy [-c </path/to/ngpy.cfg>]

The ngpy.cfg is the configuration file for ngpy. It is a Python file and will be processed by Flask. Only values in uppercase are actually used. More details are refered to the Flask documentation.

The ngpy website should be now served at http://localhost:5000. You can visit it use any browser (Chrome, Firefox, IE, etc.) via http://localhost:5000 if you are a local visitor, or http://IP.of.NGPy.run:5000 if you visit remotely.

Ask for Help

Subscribe to package updates

Last updated Nov 20th, 2012

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.