Skip to main content

No project description provided

Project description

AutoGeneratedDocs

lib_py_comp.__init__



lib_py_comp.dsa.__init__



lib_py_comp.dsa.kv_db

    class KeyValueDB()
        def __init__(self, dataDir)
    
        def clear(self)
    
        def get(self, key, default=None)
    
        def set(self, key, value)
    
        def put(self, key, value)
    
        def remove(self, key)
    
        def delete(self, key)
    
        def batchWrite(self, setValues, removeValues, sync=True)
    
        def iterate(
            self,
            key_from = None,
            key_to = None,
            include_value = True,
            reverse = False,
        )
    
        def __iter__(self)
    

lib_py_comp.dsa.byte_array

    def makeVba(base_path)
    
    def mergeVbas(vba1, vba2, out_path)
    
    class VariableBytesArray()
        def __init__(self, base_path: str)
    
        def index_size(self) -> int
    
        def data_size(self) -> int
    
        def read_index_bytes(self, offset: int, limit: int) -> str
    
        def read_data_bytes(self, offset: int, limit: int) -> str
    
        def count(self)
    
        def append(self, target_bytes) -> int
    
        def extendConserve(self, target_bytes_L1) -> int
    
        def extendLiberal(self, target_bytes_L1) -> int
    
        def extend(self, target_bytes_L1, conserve=False) -> int
    
        def get(self, item_id: int) -> str
    
        def slice(self, id_lower_bound: int, id_upper_bound: int)
    
        def popK(self, k: int) -> int
    
        def clear(self)
    

lib_py_comp.dsa.file_io

    def fwrite(fileName, fileRepr, mode='w')
    
    def fread(fileName, mode='r')

lib_py_comp.dsa.delimited_io

    def fwrite(fileName, fileRepr, mode='w')
    
    def fread(fileName, mode='r')
    
    class DelimitedWriter()
        def __init__(self, filePath, bufferSize, delimiter)
    
        def __del__(self)
    
        def commit(self)
    
        def writeF1(self, entry)
    
        def write(self, entry, sync=False)
    
        def close(self)
    
        def clear(self)
    
    
    class DelimitedReader()
        def __init__(self, filePath, bufferSize, delimiter)
    
        def updateBuffer(self, numBytes)
    
        def hasNext(self)
    
        def next(self)
    
        def __iter__(self)
    
        def __next__(self)
    

lib_py_comp.dsa.buffered_io

    def fwrite(fileName, fileRepr, mode='w')
    
    def fread(fileName, mode='r')
    
    class BufferedWriter()
        def __init__(self, filePath, bufferSize)
    
        def __del__(self)
    
        def commit(self)
    
        def writeF1(self, entry)
    
        def write(self, entry, sync=False)
    
        def close(self)
    
        def clear(self)
    
    
    class BufferedReader()
        def __init__(self, filePath, bufferSize)
    
        def updateBuffer(self, numBytes)
    
        def hasNext(self)
    
        def next(self)
    
        def __iter__(self)
    
        def __next__(self)
    

lib_py_comp.alg.serialization

    def serialize_data(target_value, target_type, classes, str_encoding='latin-1')

lib_py_comp.alg.__init__



lib_py_comp.alg.typon_math

    def deserialize_int(int_val_repr)
    
    def deserialize_int32(int_val_repr)
    
    def serialize_int(int_val_arg)
    
    def serialize_int32(int_val_arg)
    
    def deserialize_dbl(dbl_val_repr)
    
    def serialize_dbl(dbl_val_arg)

lib_py_comp.alg.deserialization

    def deserialize_data(target_buffer, target_type, buffer_index, classes, str_encoding=None)

lib_py_comp.alg.partitioning

    def partition_batch_size(data, batch_size)
    
    def partition_num_batches(data, num_batches)
    
    def partition_data(data, batch_size)

lib_py_comp.tests.test_delimited



lib_py_comp.tests.__init__



lib_py_comp.tests.test_kv



lib_py_comp.tests.test_buffered



lib_py_comp.tests.test_ba

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_py_comp-0.0.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

lib_py_comp-0.0.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file lib_py_comp-0.0.1.tar.gz.

File metadata

  • Download URL: lib_py_comp-0.0.1.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for lib_py_comp-0.0.1.tar.gz
Algorithm Hash digest
SHA256 772bebf756601686487bb06c9326d4cdcf84e5036560ec761c85d4fcf0041249
MD5 9987f538936fd1ae55b3a52244b6d9a9
BLAKE2b-256 4efcc0e6b84ecd591ec0299d1fb421f4e54b0e61ef5baf418c73434d1cab67af

See more details on using hashes here.

File details

Details for the file lib_py_comp-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: lib_py_comp-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for lib_py_comp-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab39d9042cfef9e1e39c65485c6a5cad86d3aa4622da03d4e42a07ff54ff1b94
MD5 e78d1a657d33d6d033469f7de433b643
BLAKE2b-256 bfe852e2148ce38210430e063d2d96f77cefca5d6ff8b3917e757615d80d7296

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