python3-cyberfusion-proftpd-support 1.0__tar.gz → 1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/PKG-INFO +5 -3
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/README.md +3 -1
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/pyproject.toml +2 -2
- python3_cyberfusion_proftpd_support-1.1/src/cyberfusion/ProftpdSupport/settings.py +15 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/python3_cyberfusion_proftpd_support.egg-info/PKG-INFO +5 -3
- python3_cyberfusion_proftpd_support-1.1/src/python3_cyberfusion_proftpd_support.egg-info/requires.txt +1 -0
- python3_cyberfusion_proftpd_support-1.0/src/cyberfusion/ProftpdSupport/settings.py +0 -16
- python3_cyberfusion_proftpd_support-1.0/src/python3_cyberfusion_proftpd_support.egg-info/requires.txt +0 -1
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/setup.cfg +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/cyberfusion/ProftpdSupport/__init__.py +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/cyberfusion/ProftpdSupport/database.py +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/cyberfusion/ProftpdSupport/models.py +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/cyberfusion/ProftpdSupport/users.py +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/python3_cyberfusion_proftpd_support.egg-info/SOURCES.txt +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/python3_cyberfusion_proftpd_support.egg-info/dependency_links.txt +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/python3_cyberfusion_proftpd_support.egg-info/entry_points.txt +0 -0
- {python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/src/python3_cyberfusion_proftpd_support.egg-info/top_level.txt +0 -0
{python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/PKG-INFO
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-cyberfusion-proftpd-support
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1
|
|
4
4
|
Summary: Library to manage ProFTPD.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-proftpd-support
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
|
-
Requires-Dist: pydantic
|
|
8
|
+
Requires-Dist: pydantic-settings==2.8.1
|
|
9
9
|
|
|
10
10
|
# python3-cyberfusion-proftpd-support
|
|
11
11
|
|
|
@@ -45,9 +45,11 @@ from cyberfusion.ProftpdSupport.users import create_proftpd_user
|
|
|
45
45
|
|
|
46
46
|
user = create_proftpd_user(
|
|
47
47
|
username="example",
|
|
48
|
-
password="
|
|
48
|
+
password="$2b$12$sDnzo8pxCvX05NEBhlBXPuhgPFb6mO.AGwq9yU64eZxOKHuhe4OqC",
|
|
49
49
|
uid=1000,
|
|
50
50
|
gid=1000,
|
|
51
51
|
home_directory="/home/example",
|
|
52
52
|
)
|
|
53
53
|
```
|
|
54
|
+
|
|
55
|
+
⚠️ You must hash the password yourself. You can use [`ftpasswd`](http://www.proftpd.org/docs/contrib/ftpasswd.html) for this.
|
{python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/README.md
RENAMED
|
@@ -36,9 +36,11 @@ from cyberfusion.ProftpdSupport.users import create_proftpd_user
|
|
|
36
36
|
|
|
37
37
|
user = create_proftpd_user(
|
|
38
38
|
username="example",
|
|
39
|
-
password="
|
|
39
|
+
password="$2b$12$sDnzo8pxCvX05NEBhlBXPuhgPFb6mO.AGwq9yU64eZxOKHuhe4OqC",
|
|
40
40
|
uid=1000,
|
|
41
41
|
gid=1000,
|
|
42
42
|
home_directory="/home/example",
|
|
43
43
|
)
|
|
44
44
|
```
|
|
45
|
+
|
|
46
|
+
⚠️ You must hash the password yourself. You can use [`ftpasswd`](http://www.proftpd.org/docs/contrib/ftpasswd.html) for this.
|
{python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/pyproject.toml
RENAMED
|
@@ -4,14 +4,14 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "python3-cyberfusion-proftpd-support"
|
|
7
|
-
version = "1.
|
|
7
|
+
version = "1.1"
|
|
8
8
|
description = "Library to manage ProFTPD."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
11
11
|
{ name = "Cyberfusion", email = "support@cyberfusion.io" },
|
|
12
12
|
]
|
|
13
13
|
dependencies = [
|
|
14
|
-
"pydantic
|
|
14
|
+
"pydantic-settings==2.8.1",
|
|
15
15
|
]
|
|
16
16
|
|
|
17
17
|
[project.urls]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from pydantic_settings import BaseSettings, SettingsConfigDict
|
|
2
|
+
from pathlib import Path
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class Settings(BaseSettings):
|
|
6
|
+
model_config = SettingsConfigDict(
|
|
7
|
+
env_prefix="proftpd_support_", env_file=(".env", "/etc/proftpd-support.conf")
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
database_path: Path
|
|
11
|
+
|
|
12
|
+
user_expire_hours: int = 1
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
settings = Settings()
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python3-cyberfusion-proftpd-support
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.1
|
|
4
4
|
Summary: Library to manage ProFTPD.
|
|
5
5
|
Author-email: Cyberfusion <support@cyberfusion.io>
|
|
6
6
|
Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-proftpd-support
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
|
-
Requires-Dist: pydantic
|
|
8
|
+
Requires-Dist: pydantic-settings==2.8.1
|
|
9
9
|
|
|
10
10
|
# python3-cyberfusion-proftpd-support
|
|
11
11
|
|
|
@@ -45,9 +45,11 @@ from cyberfusion.ProftpdSupport.users import create_proftpd_user
|
|
|
45
45
|
|
|
46
46
|
user = create_proftpd_user(
|
|
47
47
|
username="example",
|
|
48
|
-
password="
|
|
48
|
+
password="$2b$12$sDnzo8pxCvX05NEBhlBXPuhgPFb6mO.AGwq9yU64eZxOKHuhe4OqC",
|
|
49
49
|
uid=1000,
|
|
50
50
|
gid=1000,
|
|
51
51
|
home_directory="/home/example",
|
|
52
52
|
)
|
|
53
53
|
```
|
|
54
|
+
|
|
55
|
+
⚠️ You must hash the password yourself. You can use [`ftpasswd`](http://www.proftpd.org/docs/contrib/ftpasswd.html) for this.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pydantic-settings==2.8.1
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
from pydantic import BaseSettings
|
|
2
|
-
from pathlib import Path
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
class Settings(BaseSettings):
|
|
6
|
-
database_path: Path
|
|
7
|
-
|
|
8
|
-
user_expire_hours: int = 1
|
|
9
|
-
|
|
10
|
-
class Config:
|
|
11
|
-
env_prefix = "proftpd_support_"
|
|
12
|
-
|
|
13
|
-
env_file = ".env", "/etc/proftpd-support.conf"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
settings = Settings()
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
pydantic[dotenv]==1.10.4
|
{python3_cyberfusion_proftpd_support-1.0 → python3_cyberfusion_proftpd_support-1.1}/setup.cfg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|