{"id":14956448,"url":"https://github.com/mongodb/docs-coding-challenge","last_synced_at":"2025-11-11T21:14:32.618Z","repository":{"id":66021570,"uuid":"69899927","full_name":"mongodb/docs-coding-challenge","owner":"mongodb","description":"MongoDB Documentation Team coding challenge","archived":false,"fork":false,"pushed_at":"2016-10-04T15:20:45.000Z","size":10,"stargazers_count":10,"open_issues_count":0,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-01-29T09:43:37.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-03T18:44:18.000Z","updated_at":"2022-04-21T08:37:35.000Z","dependencies_parsed_at":"2023-03-10T23:29:40.040Z","dependency_job_id":null,"html_url":"https://github.com/mongodb/docs-coding-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fdocs-coding-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fdocs-coding-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fdocs-coding-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fdocs-coding-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/docs-coding-challenge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088407,"owners_count":19253565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:13:05.095Z","updated_at":"2025-10-19T07:31:02.865Z","avatar_url":"https://github.com/mongodb.png","language":"Python","readme":"The Challenge\n=============\n\nHopps is a simple document history-preserving key-value store built on\ntop of [MongoDB](https://www.mongodb.com) and\n[Python](https://www.python.org).\n\nYour task, should you chose to accept it, is to document the Hopps API\nand structure.\n\nGoals\n=====\n\nFill in the file ``docs.txt`` with documentation covering ``hopps.py``.\nUse your best judgment! It is deliberately vague and slim.\n\nSetup\n=====\n\nTo work with Hopps, you will need Python 3.4 or later. On OS X and\nWindows, use the installer from\n[Python.org](https://www.python.org/downloads/).\n\nNext, you should set up a virtual environment. From within this\nrepository, run:\n\n    pyvenv venv\n    . venv/bin/activate\n    pip install tornado motor docopt typing\n\nEnsure that you have MongoDB 3.2 or later installed from the\n[MongoDB Download Center](https://www.mongodb.com/download-center).\n\nStart a MongoDB instance:\n\n    mkdir data\n    mongod --dbpath=`pwd`/data --logpath mongod.log --fork\n\n``sample.py`` demonstrates use of ``hopps.py``, and ``cli.py`` provides\na simple prompt interface for saving and retrieving documents.\n\nStart Hopps:\n\n    ./sample.py\n\nAnd in a new terminal, run the following:\n\n    ./cli.py\n    help\n\nUsage\n=====\n\nOnce you have started an instance and started the CLI tool, you can begin to\nissue commands. For example, run the following command:\n\n    save foo '{\"_id\": \"ff36cf3a-fd3b-431e-863e-5dc89d4f075e\", \"name\": \"Bob\", \"n\": 42}'\n\nThis will save a document into the `foo` collection. Nothing will be printed\nuntil you press return a second time.\n\nTo retrieve the document, run the following command and again press return:\n\n    get foo ff36cf3a-fd3b-431e-863e-5dc89d4f075e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fdocs-coding-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Fdocs-coding-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fdocs-coding-challenge/lists"}