Skip to main content

A local SimpleDB server

Project description

View on PyPI Licence

This is a fork of SimpleDB/dev by Matthew Painter via this unofficial mirror. This fork has been renamed to simpledb-dev2 so that it does not collide with the original project.

It currently supports the “2007-11-07” SimpleDB API level but has been hacked to fake support for “2009-04-15”—this has not been tested much!

Project information

simpledb-dev2 provides a local SimpleDB server, so you can develop offline, without requiring a SimpleDB account. It has been tested on Linux, macOS and Windows.

This package currently implements:

  • The whole “2007-11-07” REST API

  • Correct HTTP error responses as per the technical documentation

  • A large suite of tests created from the examples provided in the technical documentation

It does not implement:

  • The SOAP API

  • Authentication—signature value checking

  • Timestamp format and expiration checking

  • HTTPS

To run the simpledb-dev2 server, you’ll need a working Python 2.7 installation. You can install using pip as follows:

pip install simpledb-dev2

This will install the package and its dependencies including web.py. Specify the --user option to the pip command line to install for the current user only.

This will create a simpledb-dev2 script/executable on your path. You can start the simpledb-dev2 web server as follows:

simpledb-dev2 serve

This will serve the SimpleDB API on the default port of 8080. To specify an alternative port, use the --port option:

simpledb-dev2 serve --port 1234

If the server doesn’t start, or you have other problems, it’s pretty easy to run the tests and see some examples of request/response:

simpledb-dev2 test

Remember, this is a development tool, and not meant for storing or querying large amounts of data—I do not know yet how big you can get before running into issues, but I suspect that with the current storage and querying design it is not that large :o) Now that I have a base, I may start trying to see how I can improve the performance…

Although this conforms to the specifications in the technical documentation, simpledb-dev2 has not been tested with every possible SDB client library, and I am looking forward to people in the OSS community trying to find bugs and peculiarities—it is after all, a work in progress!

So enjoy developing your SimpleDB applications now, not later!

Contributing

  1. Fork this repository

  2. Create a feature branch (git checkout -b feature-branch)

  3. Commit your changes (git commit -m "Added support for the new API version")

  4. Push to an upstream branch (git push -u origin feature-branch)

  5. Create a pull request describing your fix/feature

Licence

Released under GNU General Public License v3 (GPLv3)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

simpledb-dev2-0.1.tar.gz (14.9 kB view details)

Uploaded Source

File details

Details for the file simpledb-dev2-0.1.tar.gz.

File metadata

  • Download URL: simpledb-dev2-0.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simpledb-dev2-0.1.tar.gz
Algorithm Hash digest
SHA256 81b27d5909ad7b505bb1eaf85101ddef81e80f9370eb1943405df845a1e09004
MD5 cc0b4b59bbe813a84170e33b96baa1ff
BLAKE2b-256 1b854cdd926e7be48fe2dafea9beb24d2cd8051641d64e1c9e53a39a09d566e4

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