Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 216.73.216.105
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
ifk
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
python-apt /
[ HOME SHELL ]
Name
Size
Permission
Action
AUTHORS
259
B
-rw-r--r--
README.md
979
B
-rw-r--r--
README.templates
1.46
KB
-rw-r--r--
TODO
167
B
-rw-r--r--
changelog.gz
33
KB
-rw-r--r--
copyright
1.75
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : README.md
# Python-apt is a wrapper to use features of apt from python. It contains the following modules: ## C++ Wrapper: * apt_pkg - access to libapt-pkg (wrapper to the lowlevel c++ code) * apt_inst - access to libapt-inst (wrapper to the lowlevel c++ code) ## Python module: * apt - high level python interface build on top of apt_pkg, apt_inst * aptsources - high level manipulation of sources.list # Development ## Building To build python-apt run: ``` $ python setup.py build ``` You may need to install the build-dependencies via: ``` $ sudo apt build-dep ./ ``` first. ## Running the tests Run the tests with: ``` $ python tests/test_all.py $ python3 tests/test_all.py ``` ## Running mypy: To check if the "apt" python module is mypy clean, run: ``` $ MYPYPATH=./typehinting/ mypy ./apt ``` To use the annotation with your source code, run: ``` $ MYPYPATH=/usr/lib/python3/dist-packages/apt mypy ./my-program ``` (adjust from python3 to python2.7 if you run there).
Close