{"id":16144388,"url":"https://github.com/ryanj/flask-hbase-todos","last_synced_at":"2025-04-23T03:04:00.388Z","repository":{"id":16014731,"uuid":"18758233","full_name":"ryanj/flask-hbase-todos","owner":"ryanj","description":"A simple ToDo list application written in Python","archived":false,"fork":false,"pushed_at":"2014-09-18T21:43:12.000Z","size":273,"stargazers_count":4,"open_issues_count":0,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-29T21:31:45.372Z","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/ryanj.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}},"created_at":"2014-04-14T11:26:11.000Z","updated_at":"2020-03-05T20:24:37.000Z","dependencies_parsed_at":"2022-08-04T07:30:35.966Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/flask-hbase-todos","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/ryanj%2Fflask-hbase-todos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fflask-hbase-todos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fflask-hbase-todos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fflask-hbase-todos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/flask-hbase-todos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250360479,"owners_count":21417720,"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-10-10T00:12:53.584Z","updated_at":"2025-04-23T03:04:00.363Z","avatar_url":"https://github.com/ryanj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Todo Application##\n\nA simple todo list application built on Python 2.7, [Flask](http://flask.pocoo.org/), and [Twitter Bootstrap](http://getbootstrap.com/).  [HappyBase](http://happybase.readthedocs.org/en/latest/index.html) is used to provide easy hbase access to a remote [Hortonworks](http://hortonworks.com/) cluster.\n\nIn order to follow along, you'll need:\n* The [HortonWorks Sanbox](http://hortonworks.com/products/hortonworks-sandbox/), or an Amazon account for hosting a HortonWorks Hadoop AMI.\n* VirtualBox\n* git\n* ssh\n* RubyGems\n* Python (with easy_install or pip)\n* a Free [OpenShift Online](http://openshift.com/) account\n* and, the [RHC](https://www.openshift.com/get-started#cli) command-line tool\n\nThe [rhc command-line tool](https://www.openshift.com/get-started#cli) can be installed via RubyGems with:\n\n```bash\ngem install rhc\n```\n\nAfter signing up for an OpenShift account, and installing `rhc`, you'll be able to configure your local machine to work with your new cloud applications:\n\n```bash\nrhc setup\n```\n\nNow that your development environment is ready, spin up a fresh copy of this app in a single command:\n```bash\n$ rhc app create todo python-2.7 --from-code=https://github.com/ryanj/flask-hbase-todos HBASE_HOST=MY_REMOTE_HBASE_HOST HBASE_PORT=9090\n```\n\nIf you already have a Hadoop cluster available, enter it's host URL or IP address as the value to your application's `HBASE_HOST` key.\n\nFor this application, we'll use the `HBASE_HOST` environment variable to help keep our source clean, and to help enhance the project's portability and reusablility.\n\nIf you choose to create your application using [OpenShift's web workflow](https://www.openshift.com/blogs/launching-applications-with-openshifts-web-based-workflow), or if you would like to make changes to your app's current \"HBASE_HOST\" setting, run the following (assuming \"todo\" is your app name):\n```bash\n$ rhc env set HBASE_HOST=MY_REMOTE_HBASE_HOST -a todo\n$ rhc env set HBASE_PORT=MY_REMOTE_HBASE_PORT -a todo\n```\n\nOpenShift operators can also make `hbase` service connection strings available to developers as a cartridge, by installing a modified copy of this [hbase-external cart](https://github.com/ryanj/openshift-cartridge-hbase-external) into their [OpenShift Enterprise](https://www.openshift.com/products/enterprise) or [Origin](https://www.openshift.com/products/origin) environments.\n\n### AMIs from HortonWorks\nHosting your own Hadoop in the cloud is a breeze with the `HDP2_REDSHIFT_DEMO_AMI` image, available in Amazon's US East Region.\n\nJust click 'Launch', then open up port `9090` for outside access, allowing your OpenShift environment to connect directly to your new datastore.\n\nThen, make sure to pass your `HBASE_HOST`, and `HBASE_PORT` to your application through the system environment, as documented in the previous section.\n\n### HortonWorks Sandbox\nThe [HortonWorks Sandbox](http://hortonworks.com/products/hortonworks-sandbox/) is an excellent choice for local development scenarios.\n\nAfter firing up the Sandbox virtual environement, you'll be presented with instructions on how to connect to the Hortonworks Hadoop web dashboard.\n\nSupport for Hbase can be enabled in just a click or two.\n\n### Local Developmet\n\nFlask, happybase, and a [HoronWorks Sandbox](http://hortonworks.com/products/hortonworks-sandbox/) are all required for setting up your local development environment.\n\nWhen you create an application using the `rhc` command-line tool, a local copy of your project source code will automatically be created for you to work with.\n\nIf you created your application using a web-based workflow, you can always retrieve your project source with:\n\n```bash\nrhc git-clone todo\n```\n\nThen, run the following to start your local server:\n```bash\npython app.py\n```\n\n***Enjoy!***\n\n## License\nThis code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fflask-hbase-todos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Fflask-hbase-todos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fflask-hbase-todos/lists"}