{"id":15519156,"url":"https://github.com/i80and/coding-challenge","last_synced_at":"2025-11-11T23:34:52.742Z","repository":{"id":141991996,"uuid":"59865541","full_name":"i80and/coding-challenge","owner":"i80and","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-04T19:47:55.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-18T15:23:50.035Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/i80and.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-05-27T22:02:44.000Z","updated_at":"2016-05-27T22:03:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"773b41d5-0820-42d5-924a-5c1166150aa9","html_url":"https://github.com/i80and/coding-challenge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/i80and/coding-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fcoding-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fcoding-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fcoding-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fcoding-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i80and","download_url":"https://codeload.github.com/i80and/coding-challenge/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i80and%2Fcoding-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283950016,"owners_count":26921648,"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","status":"online","status_checked_at":"2025-11-11T02:00:06.610Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-02T10:20:25.386Z","updated_at":"2025-11-11T23:34:52.726Z","avatar_url":"https://github.com/i80and.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"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\nProject Anatomy\n===============\n\nHopps has the following dependencies:\n\n* docopt: A command line option parsing library.\n* tornado: A web server library.\n* motor/pymongo: A pair of libraries for communicating with MongoDB.\n\nYou should not need to be closely familiar with any these libraries to complete\nthe challenge.\n\n* docs.txt: Documentation. You'll be writing in here.\n* hopps.py: The core Hopps library.\n* sample.py: A sample consumer of the Hopps library implementing a server.\n* cli.py: A command line interface that communicates with the server\n  started by sample.py.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi80and%2Fcoding-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi80and%2Fcoding-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi80and%2Fcoding-challenge/lists"}