Skip to main content

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

Metadata

Release files for nextgen-mft 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nextgen-mft 0.2.2
File Size Uploaded Provenance
nextgen_mft-0.2.2.tar.gz 3.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nextgen-mft 0.2.2
File Interpreter ABI Platform
nextgen_mft-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / nextgen_mft-0.2.2.tar.gz

Download URL nextgen_mft-0.2.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6a10c4b4437b8ea7be573b76a5380a13747509bf51447d01de593b9d2771327a
BLAKE2b-256 checksum
How to use checksums
ebe142d9ced66d63549403e38640480f66409e6e7eb2ed28925b02809e8085e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Release files / nextgen_mft-0.2.2-py3-none-any.whl

Download URL nextgen_mft-0.2.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
97a0631f841dd124e2eeddefcc1c39a9168d9127e7653dfda08702a596ea6fca
BLAKE2b-256 checksum
How to use checksums
e39d92fcb0d4ea66419eaef16e864f25b67d68e7656daba6775e91bf9ff29f1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.2

Security for nextgen-mft 0.2.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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page