Metadata-Version: 2.4
Name: protein-turnover-website
Version: 0.6.5
Summary: Protein Turnover web pipeline
Project-URL: Repository, https://github.com/arabidopsis/protein_turnover_website.git
Author-email: Ian Castleden <ian.castleden@uwa.edu.au>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
Requires-Python: >=3.12
Requires-Dist: flask-login<0.7,>=0.6
Requires-Dist: flask<4,>=3.1
Requires-Dist: openpyxl<4,>=3.0
Requires-Dist: protein-turnover[psutil,unidecode]<0.7,>=0.6.5
Requires-Dist: python-dotenv<2,>=1.0.1
Requires-Dist: tomli-w<2,>=1.2.0
Requires-Dist: typing-extensions<5,>=4.8
Provides-Extra: cloudflare
Requires-Dist: cloudflare-challenge>=0.1.4; extra == 'cloudflare'
Provides-Extra: gunicorn
Requires-Dist: gunicorn<24,>=23.0.0; extra == 'gunicorn'
Provides-Extra: install
Requires-Dist: flask-nginx; extra == 'install'
Requires-Dist: gunicorn<24,>=23.0.0; extra == 'install'
Description-Content-Type: text/markdown

# protein_turnover_website

Website for protein turnover


## installation

```bash
pip install protein_turnover
pip install protein_turnover_website
# run the website (both frontend and back)
turnover web
```
Run just the website:

```bash
FLASK_APP=protein_turnover_website.wsgi flask run
# *OR*
gunicorn --workers=4 protein_turnover_website.wsgi
```

A posssibly superior entry point is to use [uv](https://docs.astral.sh/uv/). With `uv` installed you can install
`protein-turnover` (+plus website) with

```bash
uv tool install protein-turnover --with=protein-turnover-website --with=gunicorn
# ...
turnover web

# OR try it out with...

uv run --with=protein-turnover --with=protein-turnover-website --with=gunicorn turnover web

```

You can then just run `turnover web`.

You can even just try out the website ....

```bash
# OR just
uv run --with=protein-turnover-website --with=gunicorn turnover web -- --access-logfile=-
```

### Configure turnover website

You can run this as simple:

In the instance folder create a file `protein_turnover_website.cfg`

```python
MOUNTPOINTS = [
    ("/path/to/msms/files", "nickname"),
    # only show mzML file here
    ("/another/path/to/msms/files", "nickname", r".*\.mzML$")

]
```
Run the website with `turnover web` and
go the the `configuration.html` page for more information.
