Skip to main content

python3-cyberfusion-proftpd-support

Library to manage ProFTPD.

At the moment, this library allows you to create auto-expiring ProFTPD users (stored in an SQLite database).

Install

PyPI

Run the following command to install the package from PyPI:

pip3 install python3-cyberfusion-proftpd-support

Debian

Run the following commands to build a Debian package:

mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc

Configure

Place settings in /etc/proftpd-support.conf (regular text file).

All settings must be prefixed with PROFTPD_SUPPORT_.

Find all available settings in settings.py.

Find an example config in .env.local.

Usage

from cyberfusion.ProftpdSupport.users import create_proftpd_user

user = create_proftpd_user(
    username="example",
    password="$2b$12$sDnzo8pxCvX05NEBhlBXPuhgPFb6mO.AGwq9yU64eZxOKHuhe4OqC",
    uid=1000,
    gid=1000,
    home_directory="/home/example",
)

⚠️ You must hash the password yourself. You can use ftpasswd for this.

Release files for python3-cyberfusion-proftpd-support 1.1.3

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

Source distribution (sdist)

Source distribution for python3-cyberfusion-proftpd-support 1.1.3
File Size Uploaded
python3_cyberfusion_proftpd_support-1.1.3.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python3-cyberfusion-proftpd-support 1.1.3
File Interpreter ABI Platform
python3_cyberfusion_proftpd_support-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.8 kB

Release files / python3_cyberfusion_proftpd_support-1.1.3.tar.gz

Download URL python3_cyberfusion_proftpd_support-1.1.3.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b9d5173100ee43e2e5a107a51d5f8f9a1b1e65111c29bd905216028c233fcf79
BLAKE2b-256 checksum
How to use checksums
92f954f1d52702c09cd2d465e6c1e5ce04c3e5ced65a5995257633c40ce359d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release files / python3_cyberfusion_proftpd_support-1.1.3-py3-none-any.whl

Download URL python3_cyberfusion_proftpd_support-1.1.3-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c9e080d0029f6d5a0469d1b3c9bea4b211b4902c9eb5fe59529afb0fc0cbe92
BLAKE2b-256 checksum
How to use checksums
4598ab558426845cb306d74b9ec0a9d7d97f05430a9ad731a3ca5cb0cc860917
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.15

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1

2 release files

1.0

2 release files

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