arpakitlib 1.5.20__tar.gz → 1.5.21__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.
Potentially problematic release.
This version of arpakitlib might be problematic. Click here for more details.
- arpakitlib-1.5.21/PKG-INFO +84 -0
- arpakitlib-1.5.21/README.md +40 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/pyproject.toml +2 -1
- arpakitlib-1.5.20/PKG-INFO +0 -365
- arpakitlib-1.5.20/README.md +0 -323
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/LICENSE +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/NOTICE +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/AUTHOR.md +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/LICENSE +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/NOTICE +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/README.md +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/__init__.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_additional_model_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_aiogram_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_arpakit_lib_module_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_arpakit_schedule_uust_api_client.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_arpakitlib_info.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_base64_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_base_worker.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_cache_file.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_datetime_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_dict_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_dream_ai_api_client.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_easy_sqlalchemy_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_encrypt_and_decrypt_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_enumeration.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/redoc/redoc.standalone.js +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/favicon-16x16.png +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/favicon-32x32.png +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/index.css +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/index.html +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/oauth2-redirect.html +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-initializer.js +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-bundle.js +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-bundle.js.map +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-es-bundle-core.js +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-es-bundle-core.js.map +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-es-bundle.js +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-es-bundle.js.map +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-standalone-preset.js +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-standalone-preset.js.map +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.css +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.css.map +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.js +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.js.map +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_file_storage_in_dir.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_generate_env_example.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_hash_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_http_request_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_ip_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_json_db.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_json_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_jwt_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_list_of_dicts_to_xlsx.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_list_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_logging_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_mongodb_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_need_type_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_openai_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_parse_command.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_postgresql_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_run_cmd.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_safe_sleep.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_schedule_uust_api_client.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_sqlalchemy_model_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_ssh_runner.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_str_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_type_util.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_yookassa_api_client.py +0 -0
- {arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_zabbix_util.py +0 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: arpakitlib
|
|
3
|
+
Version: 1.5.21
|
|
4
|
+
Summary: arpakitlib
|
|
5
|
+
Home-page: https://github.com/ARPAKIT-Company/arpakitlib
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Author: arpakit
|
|
8
|
+
Author-email: arpakit@gmail.com
|
|
9
|
+
Requires-Python: >=3.12,<4.0
|
|
10
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Requires-Dist: aiogram (>=3.15.0,<4.0.0)
|
|
15
|
+
Requires-Dist: aiohttp-socks (>=0.9.1,<0.10.0)
|
|
16
|
+
Requires-Dist: alembic (>=1.14.0,<2.0.0)
|
|
17
|
+
Requires-Dist: asyncpg (>=0.30.0,<0.31.0)
|
|
18
|
+
Requires-Dist: asyncssh (>=2.18.0,<3.0.0)
|
|
19
|
+
Requires-Dist: bs4 (>=0.0.2,<0.0.3)
|
|
20
|
+
Requires-Dist: cachetools (>=5.5.0,<6.0.0)
|
|
21
|
+
Requires-Dist: celery (>=5.4.0,<6.0.0)
|
|
22
|
+
Requires-Dist: cryptography (>=44.0.0,<45.0.0)
|
|
23
|
+
Requires-Dist: fastapi (>=0.115.5,<0.116.0)
|
|
24
|
+
Requires-Dist: gunicorn (>=23.0.0,<24.0.0)
|
|
25
|
+
Requires-Dist: openai (>=1.55.3,<2.0.0)
|
|
26
|
+
Requires-Dist: pandas (>=2.2.3,<3.0.0)
|
|
27
|
+
Requires-Dist: paramiko (>=3.5.0,<4.0.0)
|
|
28
|
+
Requires-Dist: psycopg-binary (>=3.2.3,<4.0.0)
|
|
29
|
+
Requires-Dist: psycopg2-binary (>=2.9.10,<3.0.0)
|
|
30
|
+
Requires-Dist: pydantic-settings (>=2.6.1,<3.0.0)
|
|
31
|
+
Requires-Dist: pyjwt (>=2.10.1,<3.0.0)
|
|
32
|
+
Requires-Dist: pymongo (>=4.10.1,<5.0.0)
|
|
33
|
+
Requires-Dist: pytz (>=2024.2,<2025.0)
|
|
34
|
+
Requires-Dist: pyzabbix (>=1.3.1,<2.0.0)
|
|
35
|
+
Requires-Dist: redis (>=5.2.0,<6.0.0)
|
|
36
|
+
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
|
37
|
+
Requires-Dist: sqladmin (>=0.20.1,<0.21.0)
|
|
38
|
+
Requires-Dist: sqlalchemy (>=2.0.36,<3.0.0)
|
|
39
|
+
Requires-Dist: twine (>=6.0.1,<7.0.0)
|
|
40
|
+
Requires-Dist: uvicorn (>=0.32.1,<0.33.0)
|
|
41
|
+
Project-URL: Repository, https://github.com/ARPAKIT-Company/arpakitlib
|
|
42
|
+
Description-Content-Type: text/markdown
|
|
43
|
+
|
|
44
|
+
# arpakitlib
|
|
45
|
+
|
|
46
|
+
## 🚀 Simplify Your Development Workflow
|
|
47
|
+
|
|
48
|
+
A collection of lightweight and convenient development tools by Arpakit, designed to simplify and accelerate your
|
|
49
|
+
workflow
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
### Supported python version
|
|
54
|
+
- Python ^3.12
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### Installation with Poetry
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
poetry add arpakitlib
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Installation with pip
|
|
65
|
+
|
|
66
|
+
```
|
|
67
|
+
pip install arpakitlib
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
### Links
|
|
73
|
+
|
|
74
|
+
- https://pypi.org/project/arpakitlib/
|
|
75
|
+
- https://test.pypi.org/project/arpakitlib/
|
|
76
|
+
- https://github.com/ARPAKIT-Company/arpakitlib
|
|
77
|
+
- https://t.me/arpakit (author telegram)
|
|
78
|
+
- arpakit@gmail.com (author email)
|
|
79
|
+
|
|
80
|
+
---
|
|
81
|
+
|
|
82
|
+
## ❤️ Made with Care by Arpakit ❤️
|
|
83
|
+
|
|
84
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# arpakitlib
|
|
2
|
+
|
|
3
|
+
## 🚀 Simplify Your Development Workflow
|
|
4
|
+
|
|
5
|
+
A collection of lightweight and convenient development tools by Arpakit, designed to simplify and accelerate your
|
|
6
|
+
workflow
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
### Supported python version
|
|
11
|
+
- Python ^3.12
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
### Installation with Poetry
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
poetry add arpakitlib
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Installation with pip
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
pip install arpakitlib
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
### Links
|
|
30
|
+
|
|
31
|
+
- https://pypi.org/project/arpakitlib/
|
|
32
|
+
- https://test.pypi.org/project/arpakitlib/
|
|
33
|
+
- https://github.com/ARPAKIT-Company/arpakitlib
|
|
34
|
+
- https://t.me/arpakit (author telegram)
|
|
35
|
+
- arpakit@gmail.com (author email)
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## ❤️ Made with Care by Arpakit ❤️
|
|
40
|
+
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "arpakitlib"
|
|
3
|
-
version = "1.5.
|
|
3
|
+
version = "1.5.21"
|
|
4
4
|
description = "arpakitlib"
|
|
5
5
|
authors = ["arpakit <arpakit@gmail.com>"]
|
|
6
6
|
license = "Apache License 2.0"
|
|
7
7
|
readme = "README.md"
|
|
8
8
|
package-mode = true
|
|
9
|
+
repository = "https://github.com/ARPAKIT-Company/arpakitlib"
|
|
9
10
|
|
|
10
11
|
[tool.poetry.dependencies]
|
|
11
12
|
python = "^3.12"
|
arpakitlib-1.5.20/PKG-INFO
DELETED
|
@@ -1,365 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: arpakitlib
|
|
3
|
-
Version: 1.5.20
|
|
4
|
-
Summary: arpakitlib
|
|
5
|
-
License: Apache-2.0
|
|
6
|
-
Author: arpakit
|
|
7
|
-
Author-email: arpakit@gmail.com
|
|
8
|
-
Requires-Python: >=3.12,<4.0
|
|
9
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
10
|
-
Classifier: Programming Language :: Python :: 3
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
13
|
-
Requires-Dist: aiogram (>=3.15.0,<4.0.0)
|
|
14
|
-
Requires-Dist: aiohttp-socks (>=0.9.1,<0.10.0)
|
|
15
|
-
Requires-Dist: alembic (>=1.14.0,<2.0.0)
|
|
16
|
-
Requires-Dist: asyncpg (>=0.30.0,<0.31.0)
|
|
17
|
-
Requires-Dist: asyncssh (>=2.18.0,<3.0.0)
|
|
18
|
-
Requires-Dist: bs4 (>=0.0.2,<0.0.3)
|
|
19
|
-
Requires-Dist: cachetools (>=5.5.0,<6.0.0)
|
|
20
|
-
Requires-Dist: celery (>=5.4.0,<6.0.0)
|
|
21
|
-
Requires-Dist: cryptography (>=44.0.0,<45.0.0)
|
|
22
|
-
Requires-Dist: fastapi (>=0.115.5,<0.116.0)
|
|
23
|
-
Requires-Dist: gunicorn (>=23.0.0,<24.0.0)
|
|
24
|
-
Requires-Dist: openai (>=1.55.3,<2.0.0)
|
|
25
|
-
Requires-Dist: pandas (>=2.2.3,<3.0.0)
|
|
26
|
-
Requires-Dist: paramiko (>=3.5.0,<4.0.0)
|
|
27
|
-
Requires-Dist: psycopg-binary (>=3.2.3,<4.0.0)
|
|
28
|
-
Requires-Dist: psycopg2-binary (>=2.9.10,<3.0.0)
|
|
29
|
-
Requires-Dist: pydantic-settings (>=2.6.1,<3.0.0)
|
|
30
|
-
Requires-Dist: pyjwt (>=2.10.1,<3.0.0)
|
|
31
|
-
Requires-Dist: pymongo (>=4.10.1,<5.0.0)
|
|
32
|
-
Requires-Dist: pytz (>=2024.2,<2025.0)
|
|
33
|
-
Requires-Dist: pyzabbix (>=1.3.1,<2.0.0)
|
|
34
|
-
Requires-Dist: redis (>=5.2.0,<6.0.0)
|
|
35
|
-
Requires-Dist: requests (>=2.32.3,<3.0.0)
|
|
36
|
-
Requires-Dist: sqladmin (>=0.20.1,<0.21.0)
|
|
37
|
-
Requires-Dist: sqlalchemy (>=2.0.36,<3.0.0)
|
|
38
|
-
Requires-Dist: twine (>=6.0.1,<7.0.0)
|
|
39
|
-
Requires-Dist: uvicorn (>=0.32.1,<0.33.0)
|
|
40
|
-
Description-Content-Type: text/markdown
|
|
41
|
-
|
|
42
|
-
# ARPAKITLIB
|
|
43
|
-
|
|
44
|
-
## 🚀 Simplify Your Development Workflow
|
|
45
|
-
|
|
46
|
-
A collection of lightweight and convenient development tools by Arpakit, designed to simplify and accelerate your
|
|
47
|
-
workflow
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
### Links
|
|
52
|
-
|
|
53
|
-
- https://pypi.org/project/arpakitlib/
|
|
54
|
-
- https://test.pypi.org/project/arpakitlib/
|
|
55
|
-
- https://github.com/ARPAKIT-Company/arpakitlib
|
|
56
|
-
- https://t.me/arpakit (author telegram)
|
|
57
|
-
- arpakit@gmail.com (author email)
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
## Below is a set of information to assist with development at Arpakit Company
|
|
62
|
-
|
|
63
|
-
Note: This is not related to ArpakitLib, it is just a collection of helpful information
|
|
64
|
-
|
|
65
|
-
### Emoji
|
|
66
|
-
|
|
67
|
-
- https://www.prosettings.com/emoji-list/
|
|
68
|
-
|
|
69
|
-
### Timezones
|
|
70
|
-
|
|
71
|
-
- https://gist.github.com/heyalexej/8bf688fd67d7199be4a1682b3eec7568
|
|
72
|
-
|
|
73
|
-
### Docker help
|
|
74
|
-
|
|
75
|
-
- https://www.ionos.com/digitalguide/server/configuration/install-docker-on-ubuntu-2204/
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
sudo apt update
|
|
79
|
-
sudo apt upgrade
|
|
80
|
-
sudo apt install ca-certificates curl gnupg lsb-release
|
|
81
|
-
sudo mkdir -p /etc/apt/keyrings
|
|
82
|
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
83
|
-
echo \
|
|
84
|
-
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
|
85
|
-
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
86
|
-
sudo apt update
|
|
87
|
-
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
88
|
-
sudo groupadd docker
|
|
89
|
-
sudo usermod -aG docker $USER
|
|
90
|
-
|
|
91
|
-
docker ps -a
|
|
92
|
-
docker stop $(docker ps -a -q)
|
|
93
|
-
docker container rm $(docker ps -a -q)
|
|
94
|
-
docker rmi $(docker images -a -q)
|
|
95
|
-
docker stop $(docker ps -a -q) && docker container rm $(docker ps -a -q)
|
|
96
|
-
docker stop $(docker ps -a -q) && docker container rm $(docker ps -a -q) && docker rmi $(docker images -a -q)
|
|
97
|
-
docker build -p 8080:8080 -t tagname -f Dockerfile .
|
|
98
|
-
docker stats
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
docker rm ...
|
|
102
|
-
docker run --name ... -d -p ...:5432 -e POSTGRES_USER=... -e POSTGRES_PASSWORD=... -e POSTGRES_DB=... postgres:16 -c max_connections=100
|
|
103
|
-
docker start ...
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
### Systemd help
|
|
107
|
-
|
|
108
|
-
```
|
|
109
|
-
[Unit]
|
|
110
|
-
Description=...
|
|
111
|
-
After=network.target
|
|
112
|
-
|
|
113
|
-
[Service]
|
|
114
|
-
User=...
|
|
115
|
-
WorkingDirectory=...
|
|
116
|
-
ExecStart=...
|
|
117
|
-
RestartSec=5
|
|
118
|
-
Restart=always
|
|
119
|
-
|
|
120
|
-
[Install]
|
|
121
|
-
WantedBy=multi-user.target
|
|
122
|
-
|
|
123
|
-
sudo systemctl start ...
|
|
124
|
-
sudo systemctl stop ...
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
[Unit]
|
|
128
|
-
Description=divar_site
|
|
129
|
-
|
|
130
|
-
[Service]
|
|
131
|
-
User=divar_site
|
|
132
|
-
WorkingDirectory=/home/divar_site/divar_site
|
|
133
|
-
Environment=PATH=/home/divar_site/.nvm/versions/node/v18.16.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
|
|
134
|
-
ExecStart=/bin/bash -c "npm run start"
|
|
135
|
-
RestartSec=5
|
|
136
|
-
Restart=always
|
|
137
|
-
|
|
138
|
-
[Install]
|
|
139
|
-
WantedBy=multi-user.target
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
### Nginx help
|
|
143
|
-
|
|
144
|
-
```
|
|
145
|
-
sudo apt update
|
|
146
|
-
sudo apt install nginx
|
|
147
|
-
systemctl start nginx
|
|
148
|
-
systemctl stop nginx
|
|
149
|
-
systemctl restart nginx
|
|
150
|
-
|
|
151
|
-
server {
|
|
152
|
-
listen 80;
|
|
153
|
-
listen [::]:80;
|
|
154
|
-
|
|
155
|
-
server_name ...;
|
|
156
|
-
|
|
157
|
-
location / {
|
|
158
|
-
proxy_set_header Host $host;
|
|
159
|
-
proxy_set_header X-Real-IP $remote_addr;
|
|
160
|
-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
161
|
-
proxy_set_header X-Forwarded-Proto $scheme;
|
|
162
|
-
proxy_pass http://127.0.0.1:...;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
### Poetry help
|
|
168
|
-
|
|
169
|
-
- https://python-poetry.org/docs/
|
|
170
|
-
|
|
171
|
-
```
|
|
172
|
-
curl -sSL https://install.python-poetry.org | python3 -
|
|
173
|
-
# After downloading u should update .profile, bashrc etc...
|
|
174
|
-
exec "$SHELL"
|
|
175
|
-
# export PATH="$HOME/.local/bin:$PATH"
|
|
176
|
-
poetry config virtualenvs.in-project true
|
|
177
|
-
poetry self add poetry-plugin-export
|
|
178
|
-
poetry self update
|
|
179
|
-
|
|
180
|
-
poetry env use ...
|
|
181
|
-
poetry install
|
|
182
|
-
poetry update
|
|
183
|
-
|
|
184
|
-
pyproject.toml
|
|
185
|
-
package-mode = false
|
|
186
|
-
|
|
187
|
-
poetry config repositories.testpypi https://test.pypi.org/legacy/
|
|
188
|
-
poetry config pypi-token.testpypi ...
|
|
189
|
-
poetry publish --build --repository testpypi
|
|
190
|
-
poetry source add --priority=explicit testpypi https://test.pypi.org/legacy/
|
|
191
|
-
poetry config pypi-token.pypi <your-pypi-token>
|
|
192
|
-
|
|
193
|
-
poetry export -f requirements.txt --without-hashes --output requirements.txt
|
|
194
|
-
|
|
195
|
-
poetry cache clear pypi --all
|
|
196
|
-
|
|
197
|
-
export TWINE_HTTP_TIMEOUT=60
|
|
198
|
-
poetry publish
|
|
199
|
-
|
|
200
|
-
poetry cache clear --all PyPI
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
### Pyenv help
|
|
204
|
-
|
|
205
|
-
- https://kfields.me/blog/pyenv_on_ubuntu_22
|
|
206
|
-
|
|
207
|
-
```
|
|
208
|
-
sudo apt update
|
|
209
|
-
sudo apt install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
|
210
|
-
curl https://pyenv.run | bash
|
|
211
|
-
# After downloading u should update .profile, bashrc etc...
|
|
212
|
-
# export PYENV_ROOT="$HOME/.pyenv"
|
|
213
|
-
# [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
214
|
-
# eval "$(pyenv init -)"
|
|
215
|
-
exec "$SHELL"
|
|
216
|
-
pyenv install ...
|
|
217
|
-
pyenv versions
|
|
218
|
-
```
|
|
219
|
-
|
|
220
|
-
### Certbot help
|
|
221
|
-
|
|
222
|
-
```
|
|
223
|
-
sudo apt install snapd -y
|
|
224
|
-
sudo snap install --classic certbot
|
|
225
|
-
su - root
|
|
226
|
-
|
|
227
|
-
certbot --nginx -d "a.domain.com" -d "b.domain.com"
|
|
228
|
-
sudo certbot certificates
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
### Proxy example help
|
|
232
|
-
|
|
233
|
-
```
|
|
234
|
-
socks5://user:passwd@hostname:port
|
|
235
|
-
https://user:passwd@hostname:port
|
|
236
|
-
```
|
|
237
|
-
|
|
238
|
-
### PostgreSQL help
|
|
239
|
-
|
|
240
|
-
- https://selectel.ru/blog/tutorials/how-to-install-and-use-postgresql-on-ubuntu-20-04/
|
|
241
|
-
|
|
242
|
-
```
|
|
243
|
-
# install postgresql
|
|
244
|
-
sudo apt install postgresql postgresql-contrib
|
|
245
|
-
sudo apt install postgresql-client
|
|
246
|
-
sudo systemctl start postgresql.service
|
|
247
|
-
sudo systemctl status postgresql.service
|
|
248
|
-
sudo -i -u postgres
|
|
249
|
-
psql
|
|
250
|
-
\conninfo - info
|
|
251
|
-
\q - exit
|
|
252
|
-
\list - databases
|
|
253
|
-
\du - users
|
|
254
|
-
createuser --interactive --pwprompt
|
|
255
|
-
createdb -U postgres ...
|
|
256
|
-
ALTER ROLE username WITH PASSWORD 'newpassword';
|
|
257
|
-
sudo nano /etc/postgresql/<версия>/main/pg_hba.conf
|
|
258
|
-
host all all 0.0.0.0/0 md5
|
|
259
|
-
sudo nano /etc/postgresql/<версия>/main/postgresql.conf
|
|
260
|
-
listen_addresses = '*'
|
|
261
|
-
#port = 5432
|
|
262
|
-
CREATE USER ... WITH PASSWORD '...';
|
|
263
|
-
ALTER USER ... WITH SUPERUSER;
|
|
264
|
-
CREATE DATABASE ... OWNER '...';
|
|
265
|
-
|
|
266
|
-
# postgresql db url, db_url
|
|
267
|
-
postgresql://username:password@host:port/database_name
|
|
268
|
-
|
|
269
|
-
# postgresql pg_dump
|
|
270
|
-
pg_dump -U postgres -h localhost -t <имя_таблицы> mydb > table_dump.sql
|
|
271
|
-
pg_dump -U ... -h ... ... -p ... > ...
|
|
272
|
-
|
|
273
|
-
# postgresql db_restore
|
|
274
|
-
pg_restore -U ... -h ... -p ... -d ... ....dump
|
|
275
|
-
|
|
276
|
-
```
|
|
277
|
-
|
|
278
|
-
### Install Python from apt help
|
|
279
|
-
|
|
280
|
-
```
|
|
281
|
-
sudo apt install software-properties-common -y
|
|
282
|
-
sudo add-apt-repository ppa:deadsnakes/ppa
|
|
283
|
-
sudo apt install python3.12
|
|
284
|
-
sudo apt install python3.12-venv
|
|
285
|
-
|
|
286
|
-
# create venv with python
|
|
287
|
-
python3 -m venv .venv
|
|
288
|
-
```
|
|
289
|
-
|
|
290
|
-
### Git help
|
|
291
|
-
|
|
292
|
-
```
|
|
293
|
-
git remote -v
|
|
294
|
-
git remote remove origin_name
|
|
295
|
-
git remote add origin_name URL
|
|
296
|
-
git remote set-url origin_name URL
|
|
297
|
-
git remote rename old new
|
|
298
|
-
git fetch --all
|
|
299
|
-
git branch -r
|
|
300
|
-
git branch -a
|
|
301
|
-
```
|
|
302
|
-
|
|
303
|
-
### Linux help
|
|
304
|
-
|
|
305
|
-
```
|
|
306
|
-
free -h проверка оперативной памяти
|
|
307
|
-
df -h - проверка постоянной памяти
|
|
308
|
-
nano /etc/apt/sources.list.d
|
|
309
|
-
deluser --remove-home user
|
|
310
|
-
adduser user
|
|
311
|
-
usermode -aG sudo user
|
|
312
|
-
```
|
|
313
|
-
|
|
314
|
-
### Swagger-ui, /docs help
|
|
315
|
-
|
|
316
|
-
- https://github.com/swagger-api/swagger-ui (folder dist for download static docs)
|
|
317
|
-
|
|
318
|
-
### npm, nvm help
|
|
319
|
-
|
|
320
|
-
- https://github.com/nvm-sh/nvm
|
|
321
|
-
- https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04
|
|
322
|
-
|
|
323
|
-
```
|
|
324
|
-
# install nvm, npm, node (https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04)
|
|
325
|
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
|
|
326
|
-
source ~/.bashrc
|
|
327
|
-
exec "$SHELL"
|
|
328
|
-
npm -v
|
|
329
|
-
nvm current
|
|
330
|
-
nvm ls
|
|
331
|
-
nvm list-remote
|
|
332
|
-
nvm install --lts
|
|
333
|
-
nvm use ...
|
|
334
|
-
npm install
|
|
335
|
-
npm run build
|
|
336
|
-
npm run start
|
|
337
|
-
```
|
|
338
|
-
|
|
339
|
-
### Xray help
|
|
340
|
-
|
|
341
|
-
- https://github.com/XTLS/Xray-install
|
|
342
|
-
|
|
343
|
-
```
|
|
344
|
-
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
|
|
345
|
-
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install-geodata
|
|
346
|
-
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove
|
|
347
|
-
```
|
|
348
|
-
|
|
349
|
-
### Celery help
|
|
350
|
-
|
|
351
|
-
```
|
|
352
|
-
celery -A app worker --loglevel=info -Q queue_name -c 1 -n worker_name &
|
|
353
|
-
celery -A app beat --loglevel=info &
|
|
354
|
-
wait
|
|
355
|
-
```
|
|
356
|
-
|
|
357
|
-
### Licence help
|
|
358
|
-
|
|
359
|
-
- https://choosealicense.com/
|
|
360
|
-
|
|
361
|
-
---
|
|
362
|
-
|
|
363
|
-
## ❤️ Made with Care by Arpakit ❤️
|
|
364
|
-
|
|
365
|
-
|
arpakitlib-1.5.20/README.md
DELETED
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
# ARPAKITLIB
|
|
2
|
-
|
|
3
|
-
## 🚀 Simplify Your Development Workflow
|
|
4
|
-
|
|
5
|
-
A collection of lightweight and convenient development tools by Arpakit, designed to simplify and accelerate your
|
|
6
|
-
workflow
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
### Links
|
|
11
|
-
|
|
12
|
-
- https://pypi.org/project/arpakitlib/
|
|
13
|
-
- https://test.pypi.org/project/arpakitlib/
|
|
14
|
-
- https://github.com/ARPAKIT-Company/arpakitlib
|
|
15
|
-
- https://t.me/arpakit (author telegram)
|
|
16
|
-
- arpakit@gmail.com (author email)
|
|
17
|
-
|
|
18
|
-
---
|
|
19
|
-
|
|
20
|
-
## Below is a set of information to assist with development at Arpakit Company
|
|
21
|
-
|
|
22
|
-
Note: This is not related to ArpakitLib, it is just a collection of helpful information
|
|
23
|
-
|
|
24
|
-
### Emoji
|
|
25
|
-
|
|
26
|
-
- https://www.prosettings.com/emoji-list/
|
|
27
|
-
|
|
28
|
-
### Timezones
|
|
29
|
-
|
|
30
|
-
- https://gist.github.com/heyalexej/8bf688fd67d7199be4a1682b3eec7568
|
|
31
|
-
|
|
32
|
-
### Docker help
|
|
33
|
-
|
|
34
|
-
- https://www.ionos.com/digitalguide/server/configuration/install-docker-on-ubuntu-2204/
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
-
sudo apt update
|
|
38
|
-
sudo apt upgrade
|
|
39
|
-
sudo apt install ca-certificates curl gnupg lsb-release
|
|
40
|
-
sudo mkdir -p /etc/apt/keyrings
|
|
41
|
-
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
|
|
42
|
-
echo \
|
|
43
|
-
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
|
|
44
|
-
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
45
|
-
sudo apt update
|
|
46
|
-
sudo apt install docker-ce docker-ce-cli containerd.io docker-compose-plugin
|
|
47
|
-
sudo groupadd docker
|
|
48
|
-
sudo usermod -aG docker $USER
|
|
49
|
-
|
|
50
|
-
docker ps -a
|
|
51
|
-
docker stop $(docker ps -a -q)
|
|
52
|
-
docker container rm $(docker ps -a -q)
|
|
53
|
-
docker rmi $(docker images -a -q)
|
|
54
|
-
docker stop $(docker ps -a -q) && docker container rm $(docker ps -a -q)
|
|
55
|
-
docker stop $(docker ps -a -q) && docker container rm $(docker ps -a -q) && docker rmi $(docker images -a -q)
|
|
56
|
-
docker build -p 8080:8080 -t tagname -f Dockerfile .
|
|
57
|
-
docker stats
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
docker rm ...
|
|
61
|
-
docker run --name ... -d -p ...:5432 -e POSTGRES_USER=... -e POSTGRES_PASSWORD=... -e POSTGRES_DB=... postgres:16 -c max_connections=100
|
|
62
|
-
docker start ...
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
### Systemd help
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
[Unit]
|
|
69
|
-
Description=...
|
|
70
|
-
After=network.target
|
|
71
|
-
|
|
72
|
-
[Service]
|
|
73
|
-
User=...
|
|
74
|
-
WorkingDirectory=...
|
|
75
|
-
ExecStart=...
|
|
76
|
-
RestartSec=5
|
|
77
|
-
Restart=always
|
|
78
|
-
|
|
79
|
-
[Install]
|
|
80
|
-
WantedBy=multi-user.target
|
|
81
|
-
|
|
82
|
-
sudo systemctl start ...
|
|
83
|
-
sudo systemctl stop ...
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
[Unit]
|
|
87
|
-
Description=divar_site
|
|
88
|
-
|
|
89
|
-
[Service]
|
|
90
|
-
User=divar_site
|
|
91
|
-
WorkingDirectory=/home/divar_site/divar_site
|
|
92
|
-
Environment=PATH=/home/divar_site/.nvm/versions/node/v18.16.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
|
|
93
|
-
ExecStart=/bin/bash -c "npm run start"
|
|
94
|
-
RestartSec=5
|
|
95
|
-
Restart=always
|
|
96
|
-
|
|
97
|
-
[Install]
|
|
98
|
-
WantedBy=multi-user.target
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### Nginx help
|
|
102
|
-
|
|
103
|
-
```
|
|
104
|
-
sudo apt update
|
|
105
|
-
sudo apt install nginx
|
|
106
|
-
systemctl start nginx
|
|
107
|
-
systemctl stop nginx
|
|
108
|
-
systemctl restart nginx
|
|
109
|
-
|
|
110
|
-
server {
|
|
111
|
-
listen 80;
|
|
112
|
-
listen [::]:80;
|
|
113
|
-
|
|
114
|
-
server_name ...;
|
|
115
|
-
|
|
116
|
-
location / {
|
|
117
|
-
proxy_set_header Host $host;
|
|
118
|
-
proxy_set_header X-Real-IP $remote_addr;
|
|
119
|
-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
120
|
-
proxy_set_header X-Forwarded-Proto $scheme;
|
|
121
|
-
proxy_pass http://127.0.0.1:...;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
```
|
|
125
|
-
|
|
126
|
-
### Poetry help
|
|
127
|
-
|
|
128
|
-
- https://python-poetry.org/docs/
|
|
129
|
-
|
|
130
|
-
```
|
|
131
|
-
curl -sSL https://install.python-poetry.org | python3 -
|
|
132
|
-
# After downloading u should update .profile, bashrc etc...
|
|
133
|
-
exec "$SHELL"
|
|
134
|
-
# export PATH="$HOME/.local/bin:$PATH"
|
|
135
|
-
poetry config virtualenvs.in-project true
|
|
136
|
-
poetry self add poetry-plugin-export
|
|
137
|
-
poetry self update
|
|
138
|
-
|
|
139
|
-
poetry env use ...
|
|
140
|
-
poetry install
|
|
141
|
-
poetry update
|
|
142
|
-
|
|
143
|
-
pyproject.toml
|
|
144
|
-
package-mode = false
|
|
145
|
-
|
|
146
|
-
poetry config repositories.testpypi https://test.pypi.org/legacy/
|
|
147
|
-
poetry config pypi-token.testpypi ...
|
|
148
|
-
poetry publish --build --repository testpypi
|
|
149
|
-
poetry source add --priority=explicit testpypi https://test.pypi.org/legacy/
|
|
150
|
-
poetry config pypi-token.pypi <your-pypi-token>
|
|
151
|
-
|
|
152
|
-
poetry export -f requirements.txt --without-hashes --output requirements.txt
|
|
153
|
-
|
|
154
|
-
poetry cache clear pypi --all
|
|
155
|
-
|
|
156
|
-
export TWINE_HTTP_TIMEOUT=60
|
|
157
|
-
poetry publish
|
|
158
|
-
|
|
159
|
-
poetry cache clear --all PyPI
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
### Pyenv help
|
|
163
|
-
|
|
164
|
-
- https://kfields.me/blog/pyenv_on_ubuntu_22
|
|
165
|
-
|
|
166
|
-
```
|
|
167
|
-
sudo apt update
|
|
168
|
-
sudo apt install make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
|
|
169
|
-
curl https://pyenv.run | bash
|
|
170
|
-
# After downloading u should update .profile, bashrc etc...
|
|
171
|
-
# export PYENV_ROOT="$HOME/.pyenv"
|
|
172
|
-
# [[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
|
173
|
-
# eval "$(pyenv init -)"
|
|
174
|
-
exec "$SHELL"
|
|
175
|
-
pyenv install ...
|
|
176
|
-
pyenv versions
|
|
177
|
-
```
|
|
178
|
-
|
|
179
|
-
### Certbot help
|
|
180
|
-
|
|
181
|
-
```
|
|
182
|
-
sudo apt install snapd -y
|
|
183
|
-
sudo snap install --classic certbot
|
|
184
|
-
su - root
|
|
185
|
-
|
|
186
|
-
certbot --nginx -d "a.domain.com" -d "b.domain.com"
|
|
187
|
-
sudo certbot certificates
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
### Proxy example help
|
|
191
|
-
|
|
192
|
-
```
|
|
193
|
-
socks5://user:passwd@hostname:port
|
|
194
|
-
https://user:passwd@hostname:port
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
### PostgreSQL help
|
|
198
|
-
|
|
199
|
-
- https://selectel.ru/blog/tutorials/how-to-install-and-use-postgresql-on-ubuntu-20-04/
|
|
200
|
-
|
|
201
|
-
```
|
|
202
|
-
# install postgresql
|
|
203
|
-
sudo apt install postgresql postgresql-contrib
|
|
204
|
-
sudo apt install postgresql-client
|
|
205
|
-
sudo systemctl start postgresql.service
|
|
206
|
-
sudo systemctl status postgresql.service
|
|
207
|
-
sudo -i -u postgres
|
|
208
|
-
psql
|
|
209
|
-
\conninfo - info
|
|
210
|
-
\q - exit
|
|
211
|
-
\list - databases
|
|
212
|
-
\du - users
|
|
213
|
-
createuser --interactive --pwprompt
|
|
214
|
-
createdb -U postgres ...
|
|
215
|
-
ALTER ROLE username WITH PASSWORD 'newpassword';
|
|
216
|
-
sudo nano /etc/postgresql/<версия>/main/pg_hba.conf
|
|
217
|
-
host all all 0.0.0.0/0 md5
|
|
218
|
-
sudo nano /etc/postgresql/<версия>/main/postgresql.conf
|
|
219
|
-
listen_addresses = '*'
|
|
220
|
-
#port = 5432
|
|
221
|
-
CREATE USER ... WITH PASSWORD '...';
|
|
222
|
-
ALTER USER ... WITH SUPERUSER;
|
|
223
|
-
CREATE DATABASE ... OWNER '...';
|
|
224
|
-
|
|
225
|
-
# postgresql db url, db_url
|
|
226
|
-
postgresql://username:password@host:port/database_name
|
|
227
|
-
|
|
228
|
-
# postgresql pg_dump
|
|
229
|
-
pg_dump -U postgres -h localhost -t <имя_таблицы> mydb > table_dump.sql
|
|
230
|
-
pg_dump -U ... -h ... ... -p ... > ...
|
|
231
|
-
|
|
232
|
-
# postgresql db_restore
|
|
233
|
-
pg_restore -U ... -h ... -p ... -d ... ....dump
|
|
234
|
-
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
### Install Python from apt help
|
|
238
|
-
|
|
239
|
-
```
|
|
240
|
-
sudo apt install software-properties-common -y
|
|
241
|
-
sudo add-apt-repository ppa:deadsnakes/ppa
|
|
242
|
-
sudo apt install python3.12
|
|
243
|
-
sudo apt install python3.12-venv
|
|
244
|
-
|
|
245
|
-
# create venv with python
|
|
246
|
-
python3 -m venv .venv
|
|
247
|
-
```
|
|
248
|
-
|
|
249
|
-
### Git help
|
|
250
|
-
|
|
251
|
-
```
|
|
252
|
-
git remote -v
|
|
253
|
-
git remote remove origin_name
|
|
254
|
-
git remote add origin_name URL
|
|
255
|
-
git remote set-url origin_name URL
|
|
256
|
-
git remote rename old new
|
|
257
|
-
git fetch --all
|
|
258
|
-
git branch -r
|
|
259
|
-
git branch -a
|
|
260
|
-
```
|
|
261
|
-
|
|
262
|
-
### Linux help
|
|
263
|
-
|
|
264
|
-
```
|
|
265
|
-
free -h проверка оперативной памяти
|
|
266
|
-
df -h - проверка постоянной памяти
|
|
267
|
-
nano /etc/apt/sources.list.d
|
|
268
|
-
deluser --remove-home user
|
|
269
|
-
adduser user
|
|
270
|
-
usermode -aG sudo user
|
|
271
|
-
```
|
|
272
|
-
|
|
273
|
-
### Swagger-ui, /docs help
|
|
274
|
-
|
|
275
|
-
- https://github.com/swagger-api/swagger-ui (folder dist for download static docs)
|
|
276
|
-
|
|
277
|
-
### npm, nvm help
|
|
278
|
-
|
|
279
|
-
- https://github.com/nvm-sh/nvm
|
|
280
|
-
- https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04
|
|
281
|
-
|
|
282
|
-
```
|
|
283
|
-
# install nvm, npm, node (https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04)
|
|
284
|
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
|
|
285
|
-
source ~/.bashrc
|
|
286
|
-
exec "$SHELL"
|
|
287
|
-
npm -v
|
|
288
|
-
nvm current
|
|
289
|
-
nvm ls
|
|
290
|
-
nvm list-remote
|
|
291
|
-
nvm install --lts
|
|
292
|
-
nvm use ...
|
|
293
|
-
npm install
|
|
294
|
-
npm run build
|
|
295
|
-
npm run start
|
|
296
|
-
```
|
|
297
|
-
|
|
298
|
-
### Xray help
|
|
299
|
-
|
|
300
|
-
- https://github.com/XTLS/Xray-install
|
|
301
|
-
|
|
302
|
-
```
|
|
303
|
-
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install
|
|
304
|
-
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install-geodata
|
|
305
|
-
bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ remove
|
|
306
|
-
```
|
|
307
|
-
|
|
308
|
-
### Celery help
|
|
309
|
-
|
|
310
|
-
```
|
|
311
|
-
celery -A app worker --loglevel=info -Q queue_name -c 1 -n worker_name &
|
|
312
|
-
celery -A app beat --loglevel=info &
|
|
313
|
-
wait
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
### Licence help
|
|
317
|
-
|
|
318
|
-
- https://choosealicense.com/
|
|
319
|
-
|
|
320
|
-
---
|
|
321
|
-
|
|
322
|
-
## ❤️ Made with Care by Arpakit ❤️
|
|
323
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/redoc/redoc.standalone.js
RENAMED
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/favicon-16x16.png
RENAMED
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/favicon-32x32.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/oauth2-redirect.html
RENAMED
|
File without changes
|
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui-bundle.js
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
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.css
RENAMED
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.css.map
RENAMED
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.js
RENAMED
|
File without changes
|
{arpakitlib-1.5.20 → arpakitlib-1.5.21}/arpakitlib/ar_fastapi_static/swagger-ui/swagger-ui.js.map
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|