Secure, AI-powered Managed File Transfer (SFTP/HTTPS + Crypto + Anomaly Detection)
Project description
nextgen-mft
nextgen-mft is a modular Python library designed for building secure, intelligent, and automated file transfer systems. It enables seamless SFTP, HTTPS, and AI-driven anomaly detection, along with powerful cryptographic utilities like RSA, ECDHE, ChaCha20, and X.509 certificate handling.
Key Features
SFTP & HTTPS Transfers
- Upload/download files securely over SFTP and HTTPS
- SSH key authentication and TLS client cert support
AI-Powered Anomaly Detection
- Detect abnormal transfer behaviors using
IsolationForest - Simple API for training and scoring
Strong Cryptography
- Generate RSA, ECDHE, and DH keys
- AES (CBC) and ChaCha20 encryption support
- Load/save certificates and keys in PEM
Command-Line Interface (CLI)
- Built-in CLI using Typer
- Easily upload files, generate keys, and run anomaly detection
Production-Ready
- Modular architecture
- Ready for pipelines, automation, and cloud workflows
Use Cases
- Enterprise Managed File Transfer (MFT) systems
- Secure partner integrations via HTTPS/SFTP
- Compliance-driven cryptographic workflows
- Real-time anomaly detection in file movements
- CLI-based DevOps automation
H2 Installation
H3 Recommended process
There are several different ways to install nextgen-mft. However it is recommended to both install and use the package inside python virtual environment.
At the command line using "pip"
$ pip install nextgen-mft
Or, if you have virtualenvwrapper installed.
$ mkvirtualenv nextgen-mft
$ python3 -m pip install nextgen-mft
Installation with package manager
Alternatively it is possible to install nextgen-mft using package manager.
Such as yum or dnf…
## Quick CLI Usage
Upload a file via SFTP
$ python3 -m nextgen_mft.cli.main sftp-upload
--host sftp.example.com
--username user
--key-file ~/.ssh/id_rsa
--local-file ./file.txt
--remote-path /inbox/file.txt
Detect anomalies from file transfer logs
$ python3 -m nextgen_mft.cli.main detect-anomalies
--train-file train_data.json
--test-file new_data.json
---
## **Project Structure**
nextgen_mft/ ├── transfer/ # SFTP & HTTPS clients ├── security/ # Crypto utils (AES, RSA, ChaCha20, X.509) ├── ai/ # ML anomaly detection ├── cli/ # Typer-based CLI
---
## **Dependencies**
- paramiko
- requests
- cryptography
- scikit-learn
- pandas
- numpy
- typer
---
## **License**
MIT License © Raghava Chellu
---
## **Project Links**
- PyPI: [https://pypi.org/project/nextgen-mft](https://pypi.org/project/nextgen-mft)
- Docs: *coming soon*
- Support: *via GitHub issues or email*
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 nextgen_mft-0.2.1.tar.gz.
File metadata
- Download URL: nextgen_mft-0.2.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61746741c64d7180cebf972b8a5a6fbd734bd115103f93783372fd169d5ce225
|
|
| MD5 |
7759e87f254e9682dba63d6434183a49
|
|
| BLAKE2b-256 |
7adc887b3b14b5a091d2e31bd256a68deccf810fc462b2d79cf9240c18c6fdc3
|
File details
Details for the file nextgen_mft-0.2.1-py3-none-any.whl.
File metadata
- Download URL: nextgen_mft-0.2.1-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a72a4dcf11996ddb2654d6829fa4c5ec0d78c1311d0275e2ff933a47395d1eb5
|
|
| MD5 |
f3270a7f4bea53ab84af461d2d597244
|
|
| BLAKE2b-256 |
181c78a4b65d2f438c1ea3a7b4fe40d27e2ec97f7b0f6c5aac4e327636a2385e
|