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.3.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.3-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lib_py_comp-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b423adf7e30afaec40450f159d6fe97299156c5919979bf5434d88b7cb16ca64
MD5 6460a62c73a03894147dde957cd1bfd7
BLAKE2b-256 01452b73948fdd8d48eee974743bcceb1a7a2a6e872a72a2897d3c67d44201cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lib_py_comp-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 15b5bed9c30ba5e0e1ee70399cc264e124cdb3f073973d8e4bb04a8f9bfaee4c
MD5 35c8830e826eb14755754da5b214cba4
BLAKE2b-256 da73fb6bf608a4b81d5d05ceff5304ef2b2ea0bf85550df6568420ac45c5b5dd

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