Skip to main content

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

Installation

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

$ yum|dnf install nextgen-mft

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nextgen_mft-0.2.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nextgen_mft-0.2.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file nextgen_mft-0.2.2.tar.gz.

File metadata

  • Download URL: nextgen_mft-0.2.2.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

Hashes for nextgen_mft-0.2.2.tar.gz
Algorithm Hash digest
SHA256 6a10c4b4437b8ea7be573b76a5380a13747509bf51447d01de593b9d2771327a
MD5 4e9f98c3ce5b117baf71e13bc6457167
BLAKE2b-256 ebe142d9ced66d63549403e38640480f66409e6e7eb2ed28925b02809e8085e7

See more details on using hashes here.

File details

Details for the file nextgen_mft-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: nextgen_mft-0.2.2-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

Hashes for nextgen_mft-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 97a0631f841dd124e2eeddefcc1c39a9168d9127e7653dfda08702a596ea6fca
MD5 d24f8bca45f2942ec24832d32106abec
BLAKE2b-256 e39d92fcb0d4ea66419eaef16e864f25b67d68e7656daba6775e91bf9ff29f1a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page