Metadata-Version: 2.1
Name: osmx
Version: 0.0.4
Summary: Read OSM Express (.osmx) database files.
Home-page: https://github.com/protomaps/OSMExpress
Author: Brandon Liu
Author-email: brandon@protomaps.com
License: BSD-2-Clause
Description: A Python package to read OSM Express (.osmx) database files. 
        
        Right now, only access to nodes, ways and relations by ID is supported.
        
        ## Installation
        
        ```bash
        pip install osmx
        ```
        
        ## Usage
        
        ```python
        import sys
        import osmx
        
        env  = osmx.Environment('your_database.osmx')
        txn = osmx.Transaction(env)
        locations = osmx.Locations(txn)
        nodes = osmx.Nodes(txn)
        ways = osmx.Ways(txn)
        
        way = ways.get(123456)
        
        for node_id in way.nodes:
        	print(locations.get(node_id))
        
        print(osmx.tag_dict(way.tags))
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
