Library for access files
Project description
lib_archive_18
lib_archive_18 это библиотека Python для получения информации с сайта
Установка из PyPI
pip install lib_archive_18
Использование репозитория GitHub
git clone https://github.com/YuranIgnatenko/lib_archive_18.git
cd lib_archive_18
pip install .
Пример использования
import lib_archive_18.parser as lib
url = lib.URL_GAME
parser = lib.Parser(url)
print(parser.get_count_all_files())
print(parser.get_count_pages())
print(parser.get_files(2))
for file in parser.get_files_iterator(10,2):
print(file)
Асинхроннное получение случайной картинки
async def main():
parser = lib.Parser(url)
res = await parser.get_random_file()
if res:
print(f"\n{res}\n")
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lib_archive_18-1.2.tar.gz
(3.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lib_archive_18-1.2.tar.gz.
File metadata
- Download URL: lib_archive_18-1.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
159b0eaafc08a3d32759a70c2aceb98715e7ebdc2758988bda3be08f5abccaae
|
|
| MD5 |
cd3ee5100ce85d636074bc9d7a8c8189
|
|
| BLAKE2b-256 |
abe54c9fb5ce12081f94ad483b20692d46ec58fd422c86abf7c4202e20737675
|
File details
Details for the file lib_archive_18-1.2-py3-none-any.whl.
File metadata
- Download URL: lib_archive_18-1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73ebd397a10b4ea39740f0b6b12cfa3d7d2c76f5f275c56c8f12d301ca46e2b3
|
|
| MD5 |
966233db55fc99d4ac2eb2b09b2745b8
|
|
| BLAKE2b-256 |
a82036a101f5b569b2daed3c848716eb1dce2ffc2e102675d63d7d646f49022b
|