Pynorama is a tool for visualizing intricate datasets for which a simple table format is not suitable. It was created with Natural Language Processing applications in mind.
[TODO: Screenshot]
Pynorama lets you define *views* in **python** that are rendered as interactive web applications, letting you browse, analyse and understand your data.
Pynorama is **open and extensible.**
Pynorama has a clean and simple architecture.
It makes little assumptions about your data source or data format.
Read in the [documentation](https://pynorama.readthedocs.io) about developing extensions.
## Quickstart
### Install Pynorama
For a minimal install run:
```
pip install pynorama
```
### Using Pynorama
To create a *view*:
* define a table describing your data records, currently supported sources are pandas dataframe and mongo queries.
* define different stages of your data pipeline.
* return a particular records for a given stage.
* configure the UI
In python this would look similar to this:
```python
from pynorama import View
from pynorama.table import PandasTable
class ExampleView(View):
def __init__(self, name, description=''):
super(ExampleView, self).__init__(name, description)
setup_data()
def get_pipeline(self):
return {
'raw_stage': {'viewer': 'raw'},
'tokenized': {'viewer': 'json', 'parents': ['raw_stage']}
}
def get_record(self, key, stage):
if stage == 'raw_stage':
return get_html(key)
else:
return get_processed_data(key)
def get_table(self):
return PandasTable(get_dataframe())
```
Next, register the view with pynorama:
```python
from pynorama import register_view
register_view(ExampleView('example'))
```
Finally, let Pynorama set up a *flask* server for you and start it:
```python
from pynorama import make_server
app = make_server()
app.run(host='localhost', port='5000')
```
Now just run your python script! The view should be accessible at *http://localhost:5000/view/example*.
For more information check the [examples](examples) and the [documentation](https://pynorama.readthedocs.io)!
## Acknowledgements
Pynorama was developed at [Man AHL](http://www.ahl.com/).
Original concept and implementation: [Alexander Wettig](https://github.com/CodeCreator)
Contributors from AHL Tech team:
* [Slavi Marinov](https://github.com/slavi)
* [Nikolai Matiushev](https://github.com/egao1980)
Contributions welcome!
## License
Pynorama is licensed under the GNU LGPL v2.1. A copy of which is included in [LICENSE](LICENSE)
Changelog
### 1.0.0
* Initial public release
Metadata
Release files for pynorama 0.4.2
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 | Actions |
|---|---|---|---|---|
| pynorama-0.4.2.tar.gz | 2.8 MB | Without provenance | Details for pynorama-0.4.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pynorama-0.4.2-py2-none-any.whl | Python 2 | none | any | Details for pynorama-0.4.2-py2-none-any.whl |
Total release size: 5.6 MB
Release files / pynorama-0.4.2.tar.gz
| Download URL | pynorama-0.4.2.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8a0a98b0bbaa83cc3a14b433338f6094d1b86dd57cdae8a724aa950a5b7552e
|
|
BLAKE2b-256 checksum How to use checksums |
08fb6e3fcc28e1aceff6975aabcf8efc3484667df601d336d3118613f47137dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pynorama-0.4.2-py2-none-any.whl
| Download URL | pynorama-0.4.2-py2-none-any.whl |
|---|---|
| Size | 2.8 MB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
8823fd06fd02bc0be6fbed1b55eee10c39ca818ddaf2e295eb0c6ffc951f3c19
|
|
BLAKE2b-256 checksum How to use checksums |
2451ce79faa6b201dca9bf27bcce8d0cbf87e75deebdfa5da5b2236559f4589f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pynorama 0.4.2
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.