hiddifypanel 10.70.9__py3-none-any.whl → 10.80.0__py3-none-any.whl

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.
Files changed (89) hide show
  1. hiddifypanel/VERSION +1 -1
  2. hiddifypanel/VERSION.py +5 -2
  3. hiddifypanel/__init__.py +5 -1
  4. hiddifypanel/apps/__init__.py +0 -0
  5. hiddifypanel/apps/asgi_app.py +7 -0
  6. hiddifypanel/apps/celery_app.py +3 -0
  7. hiddifypanel/apps/wsgi_app.py +5 -0
  8. hiddifypanel/auth.py +8 -3
  9. hiddifypanel/base.py +43 -126
  10. hiddifypanel/base_setup.py +82 -0
  11. hiddifypanel/cache.py +3 -2
  12. hiddifypanel/celery.py +45 -0
  13. hiddifypanel/database.py +7 -0
  14. hiddifypanel/drivers/ssh_liberty_bridge_api.py +2 -1
  15. hiddifypanel/drivers/wireguard_api.py +1 -1
  16. hiddifypanel/hutils/crypto.py +27 -0
  17. hiddifypanel/hutils/flask.py +5 -3
  18. hiddifypanel/hutils/network/cf_api.py +5 -5
  19. hiddifypanel/hutils/proxy/__init__.py +1 -0
  20. hiddifypanel/hutils/proxy/clash.py +3 -3
  21. hiddifypanel/hutils/proxy/shared.py +14 -18
  22. hiddifypanel/hutils/proxy/singbox.py +4 -2
  23. hiddifypanel/hutils/proxy/wireguard.py +34 -0
  24. hiddifypanel/hutils/proxy/xray.py +3 -3
  25. hiddifypanel/hutils/proxy/xrayjson.py +10 -7
  26. hiddifypanel/models/admin.py +1 -1
  27. hiddifypanel/models/base_account.py +3 -0
  28. hiddifypanel/models/config.py +5 -2
  29. hiddifypanel/models/config_enum.py +15 -2
  30. hiddifypanel/models/proxy.py +1 -1
  31. hiddifypanel/models/user.py +2 -2
  32. hiddifypanel/panel/__init__.py +8 -8
  33. hiddifypanel/panel/admin/AdminstratorAdmin.py +16 -10
  34. hiddifypanel/panel/admin/DomainAdmin.py +132 -98
  35. hiddifypanel/panel/admin/ProxyAdmin.py +4 -0
  36. hiddifypanel/panel/admin/QuickSetup.py +48 -17
  37. hiddifypanel/panel/admin/SettingAdmin.py +6 -0
  38. hiddifypanel/panel/admin/UserAdmin.py +63 -36
  39. hiddifypanel/panel/admin/adminlte.py +1 -1
  40. hiddifypanel/panel/admin/templates/index.html +6 -4
  41. hiddifypanel/panel/admin/templates/model/user_list.html +11 -3
  42. hiddifypanel/panel/cli.py +14 -3
  43. hiddifypanel/panel/commercial/restapi/v1/tgbot.py +19 -1
  44. hiddifypanel/panel/commercial/restapi/v2/admin/system_actions.py +5 -1
  45. hiddifypanel/panel/commercial/restapi/v2/admin/user_api.py +2 -1
  46. hiddifypanel/panel/commercial/restapi/v2/user/apps_api.py +76 -6
  47. hiddifypanel/panel/common.py +5 -2
  48. hiddifypanel/panel/common_bp/login.py +14 -8
  49. hiddifypanel/panel/hlogger.py +32 -0
  50. hiddifypanel/panel/init_db.py +157 -77
  51. hiddifypanel/panel/node/__init__.py +9 -0
  52. hiddifypanel/panel/node/a.py +14 -0
  53. hiddifypanel/panel/node/hello.py +14 -0
  54. hiddifypanel/panel/node/test.proto +13 -0
  55. hiddifypanel/panel/node/test_grpc.py +40 -0
  56. hiddifypanel/panel/node/test_pb2.py +40 -0
  57. hiddifypanel/panel/node/test_pb2.pyi +17 -0
  58. hiddifypanel/panel/node/test_pb2_grpc.py +97 -0
  59. hiddifypanel/panel/usage.py +13 -3
  60. hiddifypanel/panel/user/templates/base_singbox_config.json.j2 +16 -0
  61. hiddifypanel/panel/user/templates/home/home.html +1 -2
  62. hiddifypanel/panel/user/templates/home/multi.html +1 -2
  63. hiddifypanel/panel/user/user.py +13 -19
  64. hiddifypanel/static/apps-icon/singbox.ico +0 -0
  65. hiddifypanel/translations/en/LC_MESSAGES/messages.mo +0 -0
  66. hiddifypanel/translations/en/LC_MESSAGES/messages.po +125 -30
  67. hiddifypanel/translations/fa/LC_MESSAGES/messages.mo +0 -0
  68. hiddifypanel/translations/fa/LC_MESSAGES/messages.po +123 -32
  69. hiddifypanel/translations/pt/LC_MESSAGES/messages.mo +0 -0
  70. hiddifypanel/translations/pt/LC_MESSAGES/messages.po +114 -22
  71. hiddifypanel/translations/ru/LC_MESSAGES/messages.mo +0 -0
  72. hiddifypanel/translations/ru/LC_MESSAGES/messages.po +129 -32
  73. hiddifypanel/translations/zh/LC_MESSAGES/messages.mo +0 -0
  74. hiddifypanel/translations/zh/LC_MESSAGES/messages.po +107 -18
  75. hiddifypanel/translations.i18n/en.json +73 -14
  76. hiddifypanel/translations.i18n/fa.json +72 -13
  77. hiddifypanel/translations.i18n/fr.json +28 -10
  78. hiddifypanel/translations.i18n/my.json +1266 -0
  79. hiddifypanel/translations.i18n/pt.json +68 -9
  80. hiddifypanel/translations.i18n/ru.json +75 -16
  81. hiddifypanel/translations.i18n/zh.json +67 -8
  82. hiddifypanel-10.80.0.dist-info/METADATA +137 -0
  83. {hiddifypanel-10.70.9.dist-info → hiddifypanel-10.80.0.dist-info}/RECORD +136 -119
  84. {hiddifypanel-10.70.9.dist-info → hiddifypanel-10.80.0.dist-info}/WHEEL +1 -2
  85. hiddifypanel-10.80.0.dist-info/entry_points.txt +3 -0
  86. hiddifypanel-10.70.9.dist-info/METADATA +0 -144
  87. hiddifypanel-10.70.9.dist-info/entry_points.txt +0 -2
  88. hiddifypanel-10.70.9.dist-info/top_level.txt +0 -1
  89. {hiddifypanel-10.70.9.dist-info → hiddifypanel-10.80.0.dist-info}/LICENSE.md +0 -0
@@ -0,0 +1,137 @@
1
+ Metadata-Version: 2.1
2
+ Name: hiddifypanel
3
+ Version: 10.80.0
4
+ Summary: hiddifypanel multi proxy panel
5
+ Home-page: https://hiddify.com
6
+ License: LICENSE.md
7
+ Keywords: proxy,panel,multi
8
+ Author: hiddify
9
+ Requires-Python: >=3.10,<4.0
10
+ Classifier: License :: Other/Proprietary License
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Dist: ansi2html (==1.9.2)
17
+ Requires-Dist: apiflask[async] (>=2.2.1,<3.0.0)
18
+ Requires-Dist: asgiref (>=3.8.1,<4.0.0)
19
+ Requires-Dist: babel (==2.16.0)
20
+ Requires-Dist: bjoern (==3.2.2)
21
+ Requires-Dist: bleach (==6.2.0)
22
+ Requires-Dist: bootstrap-flask (==2.4.1)
23
+ Requires-Dist: cachecontrol[filecache] (<0.15.0)
24
+ Requires-Dist: celery (>=5.4.0,<6.0.0)
25
+ Requires-Dist: click (==8.1.7)
26
+ Requires-Dist: cloudflare (==3.1.0)
27
+ Requires-Dist: cryptography (<42)
28
+ Requires-Dist: dynaconf (>=3.2.6,<4.0.0)
29
+ Requires-Dist: fastenumplus (==1.4.0)
30
+ Requires-Dist: flask (==3.0.3)
31
+ Requires-Dist: flask-admin (==1.6.1)
32
+ Requires-Dist: flask-adminlte3 (==1.0.9)
33
+ Requires-Dist: flask-apispec (==0.11.4)
34
+ Requires-Dist: flask-babel (==4.0.0)
35
+ Requires-Dist: flask-classful (==0.16.0)
36
+ Requires-Dist: flask-login (==0.6.3)
37
+ Requires-Dist: flask-restful (==0.3.10)
38
+ Requires-Dist: flask-session (==0.8.0)
39
+ Requires-Dist: flask-sqlalchemy (==3.1.1)
40
+ Requires-Dist: flask-wtf (==1.2.2)
41
+ Requires-Dist: json5 (>=0.9.28,<0.10.0)
42
+ Requires-Dist: loguru (==0.7.2)
43
+ Requires-Dist: markupsafe (==3.0.2)
44
+ Requires-Dist: maxminddb (==2.6.2)
45
+ Requires-Dist: mysqlclient (==2.2.5)
46
+ Requires-Dist: netifaces (==0.11.0)
47
+ Requires-Dist: ping3 (==4.0.8)
48
+ Requires-Dist: protobuf (>=5.26.1,<6.0.0)
49
+ Requires-Dist: psutil (==6.1.0)
50
+ Requires-Dist: pydantic (==2.9.2)
51
+ Requires-Dist: pymysql (==1.1.1)
52
+ Requires-Dist: pytelegrambotapi (==4.23.0)
53
+ Requires-Dist: python-dateutil (==2.9.0.post0)
54
+ Requires-Dist: python-dotenv (==1.0.1)
55
+ Requires-Dist: python-redis-cache (==4.0.1)
56
+ Requires-Dist: python-slugify (==8.0.4)
57
+ Requires-Dist: pyyaml (==6.0.2)
58
+ Requires-Dist: redis (==5.2.0)
59
+ Requires-Dist: requests (==2.32.3)
60
+ Requires-Dist: sonora (>=0.2.3,<0.3.0)
61
+ Requires-Dist: sqlalchemy-serializer (>=1.4.22,<2.0.0)
62
+ Requires-Dist: sqlalchemy-utils (==0.41.2)
63
+ Requires-Dist: sqlalchemy[asyncio] (>=2.0.29,<3.0.0)
64
+ Requires-Dist: strenum (==0.4.15)
65
+ Requires-Dist: user-agents (==2.2.0)
66
+ Requires-Dist: werkzeug (==3.0.6)
67
+ Requires-Dist: wtforms (==3.1.2)
68
+ Requires-Dist: xtlsapi (==3.3.0)
69
+ Project-URL: Documentation, https://hiddify.com/manager
70
+ Project-URL: Repository, https://github.com/hiddify/hiddify-manager/
71
+ Description-Content-Type: text/markdown
72
+
73
+ # hiddifypanel
74
+
75
+ hiddifypanel to create multi proxy using xray mtproxy and others
76
+
77
+ ## 🌎 Translations
78
+
79
+ <div align=center>
80
+
81
+ [![inlang status badge](https://inlang.com/badge?url=github.com/hiddify/hiddifypanel)](https://inlang.com/editor/github.com/hiddify/hiddifypanel?ref=badge)
82
+ </div>
83
+
84
+ Improve existing languages or add new ones by manually editing the JSON files located in `/assets/translations` or by using the [Inlang online editor](https://inlang.com/editor/github.com/hiddify/hiddifypanel).
85
+
86
+ # How to use it
87
+ Please visit https://github.com/hiddify/hiddify-manager/wiki for the installation.
88
+
89
+ # Source Code: https://github.com/hiddify/HiddifyPanel/
90
+ <!--
91
+ ## Installation
92
+
93
+ From source:
94
+
95
+ ```bash
96
+ git clone https://github.com/hiddify/HiddifyPanel hiddifypanel
97
+ cd hiddifypanel
98
+ make install
99
+ ```
100
+
101
+ From pypi:
102
+
103
+ ```bash
104
+ pip install hiddifypanel
105
+ ```
106
+
107
+ ## Executing
108
+
109
+ This application has a CLI interface that extends the Flask CLI.
110
+
111
+ Just run:
112
+
113
+ ```bash
114
+ $ hiddifypanel
115
+ ```
116
+
117
+ or
118
+
119
+ ```bash
120
+ $ python -m hiddifypanel
121
+ ```
122
+
123
+ To see the help message and usage instructions.
124
+
125
+ ## First run
126
+
127
+ ```bash
128
+ hiddifypanel init-db # run once
129
+ echo localhost:9000/$(hiddifypanel admin-path)
130
+ hiddifypanel run
131
+ ```
132
+
133
+
134
+ > **Note**: You can also use `flask run` to run the application.
135
+
136
+ -->
137
+