Skip to main content

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


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.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lib_archive_18-1.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file lib_archive_18-1.1.tar.gz.

File metadata

  • Download URL: lib_archive_18-1.1.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

Hashes for lib_archive_18-1.1.tar.gz
Algorithm Hash digest
SHA256 8183bfe373288a5a5da3e08cd03e701ba7c16d603625d65dc1cb81a5fb1e6eff
MD5 bb4af75e387567ce653c95b3c979768e
BLAKE2b-256 b4bbf8ad7d30e25e139914e4e3372b31f1e5ff46c4a113cd7640921ef164621d

See more details on using hashes here.

File details

Details for the file lib_archive_18-1.1-py3-none-any.whl.

File metadata

  • Download URL: lib_archive_18-1.1-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

Hashes for lib_archive_18-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08d44cbf6a2c11397849967ba137405ea30fb4a5298ef37b049c81656d7e47c8
MD5 f9e872e13e348e8d6d850701e2e20b68
BLAKE2b-256 b154ccaef36fb82a428b4a9033bf2bb8ce17c1de1b20f366c613a49fab93582c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page