Skip to main content

A Package created to provide APIs for different web related python libraries like socketserver, xmlrpc etc.

Project description

Coverage Status

This package aims towards providing API interfaces for various python libraries which results in reduction of writing boilerplate code for each project using these libraries, instead users can use this package to complete initial setup with as less as a single function call.

For example, if a user wants to create a TCP server then instead of going through and setting up all the details, the user can simple run a function that creates a TCP server running on socketserver library, the user only needs to provide the hostname and port number for the server to start, like shown below

    from webinteractions.server_client.tcp_socket_server import create_tcp_synchronous()
    create_tcp_synchronous(hostname="localhost", port=8000)
    Listening on localhost:8000

The package includes following functionalities:

  • ip_functions.py module contains functions that provides you with a generator for ipv4 and ipv6 respectively.
  • http_interactions.py contains two functions one for interacting with REST apis and another for getting file data
  • server_client.tcp_socket_server contains functions that start a tcp server synchronous and threaded with a simple function call
  • server_client.udp_socket_server does the same as tcp_socket_server just with udp protocol
  • server_client.xmlrpc_wrapper.server provides a function using which a user can start a xmlrpc server and define server side functions
  • server_client.xmlrpc_wrapper.client returns a server proxy using which a user can interact with xmlrpc server

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

webinteractions-0.0.5.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

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

webinteractions-0.0.5-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file webinteractions-0.0.5.tar.gz.

File metadata

  • Download URL: webinteractions-0.0.5.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.6

File hashes

Hashes for webinteractions-0.0.5.tar.gz
Algorithm Hash digest
SHA256 1b018ed4771c692caa2a37304a25b6f99fc886cd077ef6793f734480fd588942
MD5 284c1324c07e0d2cb4cbaf558d09791f
BLAKE2b-256 6d1781e58bbf91b0a624df2a27667fbef3b0c970b42340b82ae06a0be9ccbf5f

See more details on using hashes here.

File details

Details for the file webinteractions-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for webinteractions-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 367dce409d3b14badeed9066f65f1e9fcf98d6dbcca84a1e6464b1a76e68927d
MD5 12a2d8a1b5443940a9f3e808d3108fa3
BLAKE2b-256 745a22146e92393657f483fc33d6682f465a6734b90f7ed73326428e97c65de8

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