Skip to main content

Help on module Utilities:

NAME Utilities

FILE f:obodobo\projects\utilities_pack\utilsuneed\utilities.py

CLASSES COMMS LOGGER SER_2_SOCK Vector3

class COMMS
 |  Methods defined here:
 |  
 |  CLIENT_CONNECT(self, host, port)
 |  
 |  CLIENT_RECV(self, buffer=3)
 |  
 |  CLIENT_SEND(self, command)
 |  
 |  CLIENT_order_synchronous(self, command)
 |  
 |  SERV_HOST(self, host, port)
 |  
 |  SERV_NEW_CLI(self)
 |  
 |  SERV_RECV(self, buffer=3)
 |  
 |  SERV_SEND(self, data)
 |  
 |  SERV_order_syncronous(self, command)
 |  
 |  recv_buff(sock, count)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |  
 |  CLIENT = False
 |  
 |  SERVER = False
 |  
 |  client_connection = None
 |  
 |  sock = <socket._socketobject object>

class LOGGER
 |  Methods defined here:
 |  
 |  __init__(self, filename='LOGS/LOG_<timestamp>.csv')
 |  
 |  log_all(self, parameter_list, attempts=20)
 |      attempts = 0  // For infinite attempts , default attempts = 20

class SER_2_SOCK
 |  Methods defined here:
 |  
 |  CONNECT(self)
 |  
 |  SETUP(self)
 |  
 |  START_SERVICE(self)
 |  
 |  ser2sock(self, serial_h, socket_h)
 |  
 |  sock2ser(self, serial_h, socket_h)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |  
 |  COMbaud = 115200
 |  
 |  COMport = 'COM9'
 |  
 |  buffSize = 4096
 |  
 |  host = 'localhost'
 |  
 |  port = 8001
 |  
 |  ser_err = 0
 |  
 |  serial_connect_timeouts = 1
 |  
 |  serverSocket = <socket._socketobject object>
 |  
 |  sock_err = 0
 |  
 |  socket_connect_timeouts = 1

class Vector3
 |  Methods defined here:
 |  
 |  Dot(self, v)
 |  
 |  __add__(self, v)
 |  
 |  __call__(self, x=0, y=0, z=0, multiprocessing=False)
 |  
 |  __init__(self, x=0, y=0, z=0, multiprocessing=False)
 |  
 |  __mul__(self, n)
 |      n = SCALAR ONLY
 |  
 |  __sub__(self, v)
 |  
 |  copy(self, vec)
 |  
 |  copy_mp(self, obj)
 |  
 |  from_list(self, list)
 |  
 |  list(self)
 |  
 |  vector(self)
 |      return Numpy instance of the vector3 format
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |  
 |  x
 |  
 |  y
 |  
 |  z
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |  
 |  multiprocessing = False
 |  
 |  x_MP = None
 |  
 |  y_MP = None
 |  
 |  z_MP = None

FUNCTIONS decode_to_json(command)

encode_to_json(command)

printE(name='', message='')

Release files for utilsuneed 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for utilsuneed 0.0.5
File Size Uploaded
utilsuneed-0.0.5.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for utilsuneed 0.0.5
File Interpreter ABI Platform
utilsuneed-0.0.5-py2-none-any.whl Python 2 none any Details

Total release size: 12.6 kB

Release files / utilsuneed-0.0.5.tar.gz

Download URL utilsuneed-0.0.5.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fc4f7c047b2d5fc52a10a607f43c09cdc680d2ed7357ed27bcc9afc03cb82306
BLAKE2b-256 checksum
How to use checksums
669eabaaff262be8e564fcc820fd58ab498927b6b02f87e9b7fd7ab29986109f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.9

Release files / utilsuneed-0.0.5-py2-none-any.whl

Download URL utilsuneed-0.0.5-py2-none-any.whl
Size 7.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
3c9c28632aad62b06d83add97f42ffb54cd3a484426fddf2d4fd583eb67b917e
BLAKE2b-256 checksum
How to use checksums
635d46e72cb228b2993102eaeab814de1c146be716700c6e8b1f1d078ee186a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.1 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.9

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page