Personal tools
Skip to content. | Skip to navigation
This is a metapackage bringing in lz4 extras requires for python3-fastavro. It makes sure the dependencies are installed.
This is a metapackage bringing in zstandard extras requires for python3-fastavro. It makes sure the dependencies are installed.
Because the Apache Python avro package is written in pure Python, it is relatively slow. In one test case, it takes about 14 seconds to iterate through a file of 10,000 records. By comparison, the JAVA avro SDK reads the same file in 1.9 seconds. The fastavro library was written to offer performance comparable to the Java library. With regular CPython, fastavro uses C extensions which allow it to iterate the same 10,000 record file in 1.7 seconds. With PyPy, this drops to 1.5 seconds (to be fair, the JAVA benchmark is doing some extra JSON encoding/decoding). Supported Features • File Writer • File Reader (iterating via records or blocks) • Schemaless Writer • Schemaless Reader • JSON Writer • JSON Reader • Codecs (Snappy, Deflate, Zstandard, Bzip2, LZ4, XZ) • Schema resolution • Aliases • Logical Types • Parsing schemas into the canonical form • Schema fingerprinting Missing Features • Anything involving Avro’s RPC features
This package contains a C implementation of the python 3 lru_cache. It passes all tests in the standard library for functools.lru_cache.
fastdiff A fast/native implementation of diff algorithms using WebAssembly and Wasmer_.
-Python implementation of FastDTW < [1]_, which is an approximate Dynamic Time Warping (DTW) algorithm that provides optimal or near-optimal alignments with an O(N) time and memory complexity.Install pip install fastdtwExample import numpy as np from scipy.spatial.distance import euclidean from fastdtw import fastdtw x np.array([[1,1], [2,2], [3,3], [4,4], [5,5]]) y np.array([[2,2], [3,3],...
Cross platform locks for threads and processes
A python package that provides useful locks.
fastjsonschema implements validation of JSON documents by JSON schema. The library implements JSON schema drafts 04, 06 and 07. The main purpose is to have a really fast implementation.
fastnumbers :target: