Skip to main content

...

Project description

http_file

Usage

Install using pip:

$ pip install http_file

Применение

.. кодовый блок :: python

#импорт вспомогательных библиотек
import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
import requests
#РёРјРїРѕСЂС‚ http_file
from http_file import download_file
#создание новой сессии
s = requests.Session()
#соеденение с сервером через созданную сессию
s.get('URL_MAIN', verify=False)
"""
загрузка файла в 'local_filename' из 'fileUrl' через созданную сессию
download_file('local_filename', 'fileUrl', s)

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

http-file-0.1.5.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

http_file-0.1.5-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file http-file-0.1.5.tar.gz.

File metadata

  • Download URL: http-file-0.1.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0

File hashes

Hashes for http-file-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3c3bcfb1bb12016b8a8ab28c9fcb385617b73d34165252f7dadf14871998058b
MD5 7a9fc4b74d6c2f34d3ab695e3e04e24c
BLAKE2b-256 0c7719bc741ea2da212b88ca1debcdfbd3149f15bc611adf48a6a9005c40372f

See more details on using hashes here.

File details

Details for the file http_file-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: http_file-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.0

File hashes

Hashes for http_file-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 de4d9b3b6c045e28fd56f2cc75a60bc57a2b5acf57bed2326db4d8d8da02ae2c
MD5 aeaf862bc62b812a0d89a913e471c92b
BLAKE2b-256 84aefc247242702280e73203ecf0b32eb987e5b01fe7f4e7ab94998abe9cc502

See more details on using hashes here.

Supported by

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