Getting going quickly with Python, MongoDB and Spatial data
As a follow up to my last post about getting spatial going in MongoDB on OpenShift, today we are going to put a web service in front of it using Python. There are several goals for this article:
1. Learn a little bit about Flask - a Python web framework
2. Learn about how to connect to MongoDB from Python
Create a REST Style. web service to use in our SoLoMo application
I hope by the end you can see how using a Platform. as a Service can get you going with Python, MongoDB, and Spatial faster than you can say…“Awesome Sauce”. We have a lot of ground to cover so let’s dig right in.
Creating the Python application
Here is OpenShift the command line to create the Python app
1. Learn a little bit about Flask - a Python web framework
2. Learn about how to connect to MongoDB from Python
Create a REST Style. web service to use in our SoLoMo application
I hope by the end you can see how using a Platform. as a Service can get you going with Python, MongoDB, and Spatial faster than you can say…“Awesome Sauce”. We have a lot of ground to cover so let’s dig right in.
Creating the Python application
Here is OpenShift the command line to create the Python app
CODE:
rhc app create -t python-2.6 -a pythonws來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/301743/viewspace-741898/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Entity Framework Tutorial Basics(33):Spatial Data type support in Entity Framework 5.0Framework
- where are you going ? 反序為:going you are whereGo
- oracle spatialOracle
- grid control Error in getting data for creating new listenerError
- Quickly setup a stream environment.UI
- spring-data-mongodb常用操作SpringMongoDB
- Spring Data MongoDB支援GridFSSpringMongoDB
- oracle spatial初探Oracle
- SpringBoot 整合 Spring Data Mongodb 操作 MongoDB 詳解Spring BootMongoDB
- spring4.2+mongodb2.6+spring-data-mongodb1.8.2 整合SpringMongoDBDB2
- Oracle Spatial 介紹Oracle
- 轉:How is Internat Bank going?Go
- spring data mongodb配置+月庫實現SpringMongoDB
- Spring Data MongoDB cascade save on DBRef objectsSpringMongoDBObject
- How to Buy a Fake Cal Poly Pomona Diploma Quickly?UI
- Beaglebone - Getting Started
- but youre quickly Fifa 14 ultimate team coins bombardedUI
- Three ways to quickly login into EBS 11iUI
- Spring Data MongoDB 操作 document DB 的詳細示例SpringMongoDB
- Data_StackExchange_PythonPython
- getting started with transformjsORMJS
- Windows HLK Getting StartedWindows
- How to Quickly Create a Copy of a Table using Transact-SQLUISQL
- MySQL索引之空間索引(SPATIAL)MySql索引
- MongoDB:Read and write access to data and configuration is unrestricted.MongoDBREST
- Day 3(Python + Git + MongoDb)PythonGitMongoDB
- Hive Getting Started補充Hive
- ElasticSearch 2 (1) - Getting StartElasticsearch
- Getting Listeners from JavaBeansTM (轉)JavaBean
- Getting More Information about PartitionsORM
- MONGODB03 - 分組計數/分組去重計數(基於 spring-data-mongodb)MongoDBSpring
- 【Python for Everybody(Getting Started with Python)】Week 4 | Review:Chapter 2 題目彙總及個人答案PythonViewAPT
- Clock in a Linux Guest Runs More Slowly or Quickly Than Real TimeLinuxUI
- [ABC191E] Come Back Quickly 題解UI
- spring-data-mongodb多資料庫訪問實現SpringMongoDB資料庫
- Spring-Data-Mongodb資料庫連線程式碼示例SpringMongoDB資料庫線程
- mysql索引型別:FULLTEXT、NORMAL、SPATIAL、UNIQUEMySql索引型別ORM
- 空間分析演算法——Spatial Jion演算法