Skip to main content

RETS Client Library in Pure Python

Project description

======
pyRETS
======

pyRETS is a Pure Python library for accessing RETS Servers to download
Real Estate Listings.

libRETS is a great library but takes to long to setup and manage when you run a
cluster of import workers and it has a tendancy to require newer versions of
packages than are available from RHEL6 without compiling the required packages
from source. And so pyRETS is born from pure python so we can `pip` and `puppet`
our rets library without fear of having to break packages on our servers.

This library is still under development.

Recusing Metadata Example:

pyrets = pyRETS('serverurl', 'username', 'password')
if (pyrets.Login()):
for resource in pyrets.GetMetadata().GetMetadataAsObject().Resource:
print "Found Resource:", resource.ResourceID

if "Class" in resource:
for a in resource.Class:
print "- Found Class:", a.ClassName
if "Field" in a:
for b in a.Field:
print " - Found Field:", b.SystemName

if "Object" in resource:
for c in resource.Object:
print " - Found Object:", c.ObjectType

if "LookupType" in resource:
for d in resource.LookupType:
print " - Found LookupType:", d.LookupName
if "Lookup" in d:
for e in d.Lookup:
print " - Found LookupValue:", e.ShortValue,
",", e.LongValue

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

pyRETS-0.1.0.tar.gz (1.4 kB view details)

Uploaded Source

File details

Details for the file pyRETS-0.1.0.tar.gz.

File metadata

  • Download URL: pyRETS-0.1.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyRETS-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ad0b1b3654f0132dd3962380122f804e5372a96432f56e7031529793391bcbbc
MD5 4bdc0b2fc4b5f0426888925af43ef199
BLAKE2b-256 925fc417636a547ff49eff550139ff0cf19279aa0de77b26377428e457b40c98

See more details on using hashes here.

Supported by

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