~~~~
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
````````````
* You can directly contact me at liuyxpp@gmail.com.
* You can join the mailinglist by sending an email to ngpy@librelist.com and replying to the confirmation mail.
To unsubscribe, send a mail to ngpy-unsubscribe@librelist.com and reply to the confirmation mail.
Links
`````
* `Website <http://liuyxpp.bitbucket.org>`_
* `Development version <http://bitbucket.org/liuyxpp/ngpy/>`_
Metadata
Release files for ngpy 0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ngpy-0.3.tar.gz | 1.9 MB | Without provenance | Details |
Release files / ngpy-0.3.tar.gz
| Download URL | ngpy-0.3.tar.gz |
|---|---|
| Size | 1.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af891f35675799a6b72e5aad5d0b6aee464ea6c3925133f8ae42df5a11384f8a
|
|
BLAKE2b-256 checksum How to use checksums |
5efb33a280f9d69edc56928737ddb8c7ada7780a3c14852c052f76fc2e3668fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ngpy 0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.