Flask API for TOPSIS CSV processing and email delivery
Project description
topsis-deepansh-102317257
Flask API that accepts a CSV, runs the topsis CLI, and emails the result.
Install
pip install topsis-deepansh-102317257
With Gunicorn for production:
pip install "topsis-deepansh-102317257[prod]"
Configuration
Set environment variables (e.g. in .env):
MAIL_ID— sender emailAPP_PASSWORD— app password for SMTPPORT— dev server port (default5000)TOPSIS_UPLOAD_DIR— upload directory (default./uploadsunder current working directory)TOPSIS_STATIC_ROOT— optional directory to serve static frontend files (e.g. path tofrontend)
The host machine must have the topsis command available on PATH.
Run
topsis-deepansh-102317257
Or with Gunicorn:
gunicorn -w 2 -b 0.0.0.0:5000 "topsis_backend.app:create_app()"
Build / publish
python -m build
python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsis_deepansh_102317257-0.1.0.tar.gz.
File metadata
- Download URL: topsis_deepansh_102317257-0.1.0.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1b760a911ef110267861d32568debb8b7ed3739fd288284fd4242f410044364
|
|
| MD5 |
e719b188694c7696f015140543c2eb0e
|
|
| BLAKE2b-256 |
20b81b033fb321a27b26f806ac734830fcf92b5de5bb756c596554016dd6823c
|
File details
Details for the file topsis_deepansh_102317257-0.1.0-py3-none-any.whl.
File metadata
- Download URL: topsis_deepansh_102317257-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f3930f085126f5d30e9b7699fffe1ea52a5f194cae5197a4cc206017678f8d2
|
|
| MD5 |
5c4d2f9ce4202922a6d37f8d0c85f59f
|
|
| BLAKE2b-256 |
ed2155121707b131522b3d1dc4a4bd546f52ac362bab1733de5c198ccf88616e
|