Skip to content

Options

CoreOptions pydantic-model #

Parameters with defaults for ISCC calculations.

meta_bits: int pydantic-field #

Default length of generated Meta-Code in bits

meta_trim_name: int pydantic-field #

Trim name to this mumber of bytes

meta_trim_description: int pydantic-field #

Trim description to this number of bytes

meta_ngram_size_text: int pydantic-field #

Sliding window width (characters) for metadata

meta_ngram_size_bytes: int pydantic-field #

Sliding window width (bytes) for metadata

text_bits: int pydantic-field #

Default length of generated Content-Code Text in bits

text_ngram_size: int pydantic-field #

Number of characters per feature hash (size of sliding window)

text_unicode_filter: frozenset pydantic-field #

Unicode categories to remove during text normalization

text_newlines: frozenset pydantic-field #

Characters regarded as newline characters for normalization purposes

image_bits: int pydantic-field #

Default length of generated Content-Code Image in bits

audio_bits: int pydantic-field #

Default length of generated Content-Code Audio in bits

video_bits: int pydantic-field #

Default length of generated Content-Code Video in bits

data_bits: int pydantic-field #

Default length of generated Data-Code in bits

data_avg_chunk_size: int pydantic-field #

Target chunk size for data chunking in number of bytes.

instance_bits: int pydantic-field #

Default length of generated Instance-Code in bits

mixed_bits: int pydantic-field #

Default length of generated Mixed-Code in bits

io_read_size: int pydantic-field #

File read buffer size in bytes for hashing operations

cdc_gear: Tuple pydantic-field #

Random gear vector

check_options(opts) #

Check and log if options have non-default conformance critical values