Skip to content

A non-DB Python based OSM data parser (finish), with SQL operation simulated (WIP)

License

Notifications You must be signed in to change notification settings

geo-yuheng/Yuheng

Repository files navigation

Yuheng

FOSSA Status Code style: black PyPI

A non-database Python base OSM data parser, with SQL operation simulated

English 简体中文


English

This project is a Python-based manipulation library for .osm files

Use the example Demo

Quick Start

import yuheng

world = yuheng.Carto()
world.read(mode="file", file_path="map.osm")

Get name

Generate .osm file based on input

For more examples, see the README file in /docs, which lists the various functions of Yuheng in detail

Features

Pypy friendly

This package don't depend on any package, so it's compatible with latest pypy. Now it depends on requests package to fetch network data.

Pure in memory

Don't need any database environment, just a fast and out-of-the-box tool.

YH: NOT

List alternatives that may be close and similar to this item, but have a different purpose

Roadmap

  1. Accelerate the construction of multiple input and output streams

  2. Introduce coverage test

  3. Introduce the select statement, you can customize the query (expected to be released as 2.0)

  4. Improve the Diff work in the initial stage


简体中文

本项目是一个基于Python的对.osm文件的访问库

使用示例 Demo

快速开始

import yuheng

world = yuheng.Carto()
world.read(mode="file", file_path="map.osm")

获取name

基于输入生成.osm文件

更多示例可见/docsREADME文件,详细列出了Yuheng的各种功能

特性

Pypy 友好

这个包不依赖任何包,所以它兼容最新的pypy。 现在它依赖于requests包来获取网络数据。

纯内存化

不需要任何数据库环境,只是一个快速且开箱即用的工具。

YH:NOT

列举出可能与本项目相近,相似,但目的并非一致的替代品

Roadmap

  1. 加快建设多种输入输出流
  2. 引入覆盖率测试
  3. 引入select语句,可以自定义查询(预计作为2.0发布)
  4. 初期完善Diff工作

License

FOSSA Status