Skip to main content

Checking test speed net

Project description

Test speed net (download/upload)

testspeednet is tool for test speed net (download/upload).

Developed in python code.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

testspeednet python checker testspeednet package checker GitHub issues open GitHub contributors

Table of Contents

Installation

Used next development environment

debian linux os

testspeednet python3 build

Currently there are three ways to install package

  • Install process based on using pip mechanism
  • Install process based on build mechanism
  • Install process based on setup.py mechanism
  • Install process based on docker mechanism
Install using pip

testspeednet is located at pypi.org.

You can install by using pip

# python3
pip3 install testspeednet
Install using build

Navigate to release page download and extract release archive.

To install testspeednet type the following

tar xvzf testspeednet-x.y.z.tar.gz
cd testspeednet-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/testspeednet-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.10/dist-packages/usr/local/bin/testspeednet_run.py
ln -s /usr/local/lib/python3.10/dist-packages/usr/local/bin/testspeednet_run.py /usr/local/bin/testspeednet_run.py
Install using py setup

Navigate to release page download and extract release archive.

To install testspeednet locate and run setup.py with arguments

tar xvzf testspeednet-x.y.z.tar.gz
cd testspeednet-x.y.z
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
Install using docker

You can use Dockerfile to create image/container.

Dependencies

testspeednet requires next modules and libraries

Tool structure

testspeednet is based on OOP

Tool structure

    testspeednet/
          ├── conf/
             ├── apis.yaml
             ├── testspeednet.cfg
             ├── testspeednet.logo
             └── testspeednet_util.cfg
          ├── __init__.py
          ├── log/
             └── testspeednet.log
          ├── net/
             ├── config.py
             ├── download.py
             ├── __init__.py
             ├── model.py
             ├── speed.py
             ├── test.py
             ├── upload.py
             └── utils/
                 ├── catch_request.py
                 ├── checking_servers.py
                 ├── connector.py
                 ├── distance.py
                 ├── do_nothing_factory.py
                 ├── fake_shutdown_event.py
                 ├── get_exception_factory.py
                 ├── get_response_stream_factory.py
                 ├── gzip_decoded_response.py
                 ├── http_downloader.py
                 ├── http_uploader_data.py
                 ├── http_uploader.py
                 ├── __init__.py
                 ├── net_exceptions.py
                 ├── opener.py
                 ├── printer_factory.py
                 ├── requester.py
                 ├── test_http_connection.py
                 ├── test_http_handler.py
                 ├── test_https_connection.py
                 ├── test_https_handler.py
                 ├── test_net_config.py
                 ├── test_results.py
                 └── user_agent.py
          ├── py.typed
          └── run/
              └── testspeednet_run.py
    
    6 directories, 39 files

Code coverage

Name Stmts Miss Cover
testspeednet/__init__.py 74 9 88%
testspeednet/net/__init__.py 72 4 94%
testspeednet/net/config.py 60 3 95%
testspeednet/net/download.py 28 0 100%
testspeednet/net/model.py 30 0 100%
testspeednet/net/speed.py 30 0 100%
testspeednet/net/test.py 153 3 98%
testspeednet/net/upload.py 28 0 100%
testspeednet/net/utils/__init__.py 0 0 100%
testspeednet/net/utils/catch_request.py 34 5 85%
testspeednet/net/utils/checking_servers.py 149 25 83%
testspeednet/net/utils/connector.py 22 1 95%
testspeednet/net/utils/distance.py 24 0 100%
testspeednet/net/utils/do_nothing.py 12 0 100%
testspeednet/net/utils/fake_shutdown_event.py 14 0 100%
testspeednet/net/utils/get_exception.py 12 1 92%
testspeednet/net/utils/get_response_stream.py 19 1 95%
testspeednet/net/utils/gzip_decoded_response.py 27 0 100%
testspeednet/net/utils/http_downloader.py 44 4 91%
testspeednet/net/utils/http_uploader.py 54 10 81%
testspeednet/net/utils/http_uploader_data.py 51 8 84%
testspeednet/net/utils/net_exceptions.py 16 0 100%
testspeednet/net/utils/opener.py 25 0 100%
testspeednet/net/utils/printer.py 28 9 68%
testspeednet/net/utils/requester.py 29 0 100%
testspeednet/net/utils/test_http_connection.py 18 0 100%
testspeednet/net/utils/test_http_handler.py 22 0 100%
testspeednet/net/utils/test_https_connection.py 27 1 96%
testspeednet/net/utils/test_https_handler.py 25 0 100%
testspeednet/net/utils/test_net_config.py 83 13 84%
testspeednet/net/utils/test_results.py 73 31 58%
testspeednet/net/utils/user_agent.py 17 0 100%
Total 1300 128 90%

Docs

Documentation Status

More documentation and info at

Contributing

Contributing to testspeednet

Copyright and licence

License: GPL v3 License

Copyright (C) 2016 - 2026 by vroncevic.github.io/testspeednet

testspeednet is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

Python Software Foundation

Donate

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

testspeednet-1.0.3.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

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

testspeednet-1.0.3-py3-none-any.whl (77.3 kB view details)

Uploaded Python 3

File details

Details for the file testspeednet-1.0.3.tar.gz.

File metadata

  • Download URL: testspeednet-1.0.3.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.3

File hashes

Hashes for testspeednet-1.0.3.tar.gz
Algorithm Hash digest
SHA256 cb1932f20d6406c06b7e1dc16f32a2ad731f840c0a872209ee1d810f4812a7ba
MD5 d38d9cc57788f0ec15cf1f63ec337c51
BLAKE2b-256 94eb29ed70638faf91cccf801759bd5212507092dbb4902f9aa881c1ee13e422

See more details on using hashes here.

File details

Details for the file testspeednet-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: testspeednet-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.0 CPython/3.12.3

File hashes

Hashes for testspeednet-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9380c5c64d8b1e787ba90e9fbc18f17da29fc346726610ad891d2941d94dfbfc
MD5 0d01d66922d913ae7174796697793178
BLAKE2b-256 485d8ccfdba1d154575dcb85fa77fa881130d0cb381bdc567b3aae9110ed35cc

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