Skip to main content

Geo

Upload Python Package

Geo is a geospatial management tool for Python. It facilitates the creation of Location objects, and acts as a model for Singapore's urban environment.

During my National Service, I was involved in the DRO project, a piece of software used to optimise the placement of ambulances in Singapore. In addition, I further worked with medical, fire alarm and MyResponder data. This started my journey into Geospatial Analytics.

After concluding my service, I began exploring different aspects of Singapore's urban geography; I used BeautifulSoup and Selenium to extract data pertaining to Malls, Schools, Services, Transportation, Shops and the like. I further extracted and processed datasets from LTA, URA and GovTech, which I explored using tools such as Tableau and QGis. This eventually led me to creating my MALLS Card Game, utilising as much of the data collected as possible to produce a strategic card game.

This Python package details some of the ways I have managed this data, and applied programming principles learned from my Computer Science modules. Through this project, I hope to display strong concepts in Object Oriented Progamming, Generics, Immutability and Tree Data Structures.

Link to website post about the project

Geometry

The "geom" submodule contains classes representing different aspects of a location in Singapore, including points, lines and shapes. It also includes a dynamic distance calculator as well as one for elevation.

Structures

The "structures" submodule contains data structures to facilitate certain operations. In it, I have implemented many data structures learned from my modules, such as the AVLTree, KDTree, Priority Queue and the Median Finding Algorithm. But I've also implemented my own Bounds Tree, which stores multiple shapes.

Locations

Using the two submodules mentioned previously, the "locations" submodule contains objects representing locations in Singapore. Be it MRT, Bus, Land Lots, Malls, Planning Areas, Roads or Schools, the objects have been optimised to handle queries much more quickly. The objects facilitate filtering, mapping, sorting, grouping, regex searching, distance querying, iterating and many more.

Metadata

Release files for halfgeo 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for halfgeo 1.1.0
File Size Uploaded Provenance Actions
halfgeo-1.1.0.macosx-10.9-x86_64.tar.gz 1.4 MB Without provenance Details for halfgeo-1.1.0.macosx-10.9-x86_64.tar.gz

Release files / halfgeo-1.1.0.macosx-10.9-x86_64.tar.gz

Download URL halfgeo-1.1.0.macosx-10.9-x86_64.tar.gz
Size 1.4 MB
Tags Source
SHA-256 checksum
How to use checksums
1d36833d2dd59adc84ec2e5cac8d7c8dcfcf453a363b0c191998758464554981
BLAKE2b-256 checksum
How to use checksums
cefa0264119230cbdbe615ed008b4bdb668e2fddbc2f6cf9f27557be81341589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.3

Security for halfgeo 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page