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.2.tar.gz (8.4 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.2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lib_py_comp-0.0.2.tar.gz
  • Upload date:
  • Size: 8.4 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.2.tar.gz
Algorithm Hash digest
SHA256 29b54721fa843ca0310760bb0c62f4f699a5b0c3dea80a0331b8b6974730b9c5
MD5 47b03ea523e5825d5272165237de5bfc
BLAKE2b-256 63f5034183b5df6557331f1bab44a07fda1bfdbdba51f8fd8af49d1553d288f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lib_py_comp-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.4 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 75a1909d4edd5fdd51fc5af36fdea26a08f346cfd622db35eda1d375fc2249b7
MD5 cb5627267908374814492a9fe07e0ce2
BLAKE2b-256 1b319f68a4bd10ee40134ed30f3214838aaeca8eaf24fddddb226e048334f9db

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