Tabled — это небольшая библиотека для обнаружения и извлечения таблиц.
tabled DATA_PATH
Существует хостинговый API для использования Tabled, который доступен для работы с:
#Python #Tabled #AI #DataProcessing #TableRecognition #OpenSource #PyTorch #API
https://github.com/VikParuchuri/tabled
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - VikParuchuri/tabled: Detect and extract tables to markdown and csv
Detect and extract tables to markdown and csv. Contribute to VikParuchuri/tabled development by creating an account on GitHub.
2🔥5👍3
Pyper — это гибкий инструмент для конкурентной и параллельной обработки данных, основанный на принципах функционального программирования.
import asyncio
import time
from pyper import task
def get_data(limit: int):
for i in range(limit):
yield i
async def step1(data: int):
await asyncio.sleep(1)
print("Async завершён:", data)
return data
def step2(data: int):
time.sleep(1)
print("Sync завершён:", data)
return data
def step3(data: int):
for i in range(10_000_000):
_ = i * i
print("Тяжёлая операция завершена:", data)
return data
async def main():
pipeline = task(get_data, branch=True) \
| task(step1, workers=20) \
| task(step2, workers=20) \
| task(step3, workers=20, multiprocess=True)
total = 0
async for output in pipeline(limit=20):
total += output
print("Итог:", total)
if __name__ == "__main__":
asyncio.run(main())
Конвейер: задачи связываются с помощью оператора | (аналог Unix pipe).
Виды задач:
Данные передаются между задачами через очереди для обеспечения конкурентного выполнения.
#Python #Pyper #DataProcessing #Concurrency #Parallelism #ETL #OpenSource #FunctionalProgramming
https://github.com/pyper-dev/pyper
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - pyper-dev/pyper: Concurrent Python made simple
Concurrent Python made simple. Contribute to pyper-dev/pyper development by creating an account on GitHub.
1🔥3👍1
JMESPath — это язык запросов, позволяющий декларативно извлекать данные из JSON-документов.
Допустим, у нас есть JSON:
{"foo": {"bar": "baz"}}Запрос foo.bar вернёт "baz".
{"foo": {"bar": ["one", "two"]}}Запрос foo.bar[0] вернёт "one", а foo.bar[-1] — "two".
{"foo": {"bar": [{"name": "one"}, {"name": "two"}]}}Запрос foo.bar[*].name вернёт ["one", "two"].
{"foo": {"bar": {"name": "one"}, "baz": {"name": "two"}}}Запрос foo.*.name вернёт ["one", "two"].
#JMESPath #JSON #DataProcessing #Automation #Python #Programming
https://github.com/jmespath/jmespath.py
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - jmespath/jmespath.py: JMESPath is a query language for JSON.
JMESPath is a query language for JSON. Contribute to jmespath/jmespath.py development by creating an account on GitHub.
1🔥4👍1
smallpond — это легковесный фреймворк для обработки данных на основе DuckDB и 3FS.
#smallpond #DataProcessing #DuckDB #BigData #Python #MachineLearning #Analytics #PyPI #OpenSource #TechTools
https://github.com/deepseek-ai/smallpond
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - deepseek-ai/smallpond: A lightweight data processing framework built on DuckDB and 3FS.
A lightweight data processing framework built on DuckDB and 3FS. - deepseek-ai/smallpond
1🔥3👍1
PyFunctional — мощная Python-библиотека для работы с потоками данных в функциональном стиле!
#Python #PyFunctional #DataPipeline #FunctionalProgramming #BigData #DataProcessing #SQLite #Pandas #DataEngineering #PythonTips #OpenSource #DevTools
https://github.com/EntilZha/PyFunctional
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - EntilZha/PyFunctional: Python library for creating data pipelines with chain functional programming
Python library for creating data pipelines with chain functional programming - EntilZha/PyFunctional
1👍2🔥2
Toolz — это библиотека функциональных утилит для Python.
from toolz import compose, frequencies
from toolz.curried import map
def stem(word):
return word.lower().strip(",.!:;'-\"")
wordcount = compose(frequencies, map(stem), str.split)
wordcount("This cat jumped over this other cat!")
# {'this': 2, 'cat': 2, 'jumped': 1, 'over': 1, 'other': 1}
#Python #Toolz #FunctionalProgramming #PyToolz #PythonDev #PythonTools #DataProcessing #CyToolz #pip #OpenSource #PythonБиблиотеки
https://github.com/pytoolz/toolz
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - pytoolz/toolz: A functional standard library for Python.
A functional standard library for Python. Contribute to pytoolz/toolz development by creating an account on GitHub.
2👍3 3 3 2
FastLanes — это сверхбыстрый, независимый от внешних библиотек формат хранения табличных данных с открытым исходным кодом и поддержкой Python, C++ и Rust.
import pyfastlanes
conn = pyfastlanes.connect()
conn.inline_footer().read_csv("data/csv_dir").to_fls("data.fls")
reader = conn.read_fls("data.fls")
reader.to_csv("decoded.csv")
#FastLanes #BigData #Compression #ParquetAlternative #Python #Rust #Cplusplus #DataEngineering #OpenSource #GPU #SIMD #DataProcessing #SIGMOD #VLDB #CSV #FLS #Разработка #Производительность #НаучныеИсследования
https://github.com/cwida/FastLanes
Please open Telegram to view this post
VIEW IN TELEGRAM
GitHub
GitHub - cwida/FastLanes: Next-Gen Big Data File Format
Next-Gen Big Data File Format. Contribute to cwida/FastLanes development by creating an account on GitHub.
1⚡3👍2🔥1