Skip to main content

V&H (or 'V and H' or 'VH') Coordinates in Python

Project description

V&H (or 'V and H' or 'VH') Coordinates in Python

I created a python class to do V&H coordinate math and conversions. It's something I've done before in perl, and seemed like it might be useful to someone.

For those of you who don't know what V&H coordinates are, consider yourself lucky. V&H coordinates are an old system, created in the late fifties, to map locations for AT&T. According to Voip-Info.org, the system was designed to be easy to use with a slide rule.

AT&T dropped a gird over the US, placed at an angle, so it could get most of Canada, all of the 48 states, and some of Cuba. This allowed an approximate location for any AT&T telephone switch on a grid of roughly 10000 x 10000 points with no fractions or extra decimal places. Hawaii and Alaska don't fit in the 10000 x 10000 scheme, but work fine with bigger numbers.

Telcordia has a hillarious map showing how add-hoc V&H is on this page Telcordia V&H Map

If you've never used V&H before then there's nothing for you to see here. Look at the Telcordia map, have a chuckle and move on.

But for those of you in the telco field who need a python module for V&H, here it is.

The class file: VH.py The test file: testVH.py


Paul Pomerleau is the author of Networking for English Majors, which teaches people with liberal arts and social science degrees how to get jobs in computer networking. You don't need a computer science degree to get a well-paying job in computing.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vhpy-0.1.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

vhpy-0.1.3-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file vhpy-0.1.3.tar.gz.

File metadata

  • Download URL: vhpy-0.1.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.5 Linux/5.19.0-26-generic

File hashes

Hashes for vhpy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 b645a400238c574e320ed3285656b8f2b57e655eba9d927d8a764f599c23f8fc
MD5 ef7cd0052e971111c662e384a55763e0
BLAKE2b-256 0e18889db31bf904fb5e38f6edc55bd88b0ab37ae67ca93cbc0ceafaab7bb7f5

See more details on using hashes here.

File details

Details for the file vhpy-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: vhpy-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.5 Linux/5.19.0-26-generic

File hashes

Hashes for vhpy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 40a6b68e45bb63735a0ae86a61251bdb62bec2b63ac53c549a050ad9f2bd8ae5
MD5 03adc78d77929a2654b8a2d169d455d2
BLAKE2b-256 31b760d21600179c38ecf825b3771b390fd58f5ea584a337f1bf1987f3bc25ed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page