Proof of concept: JSON on GitHub to/from MongoDB collection via Python

At the beginning of this project, I will provide you with access to a cloud-based computer with MongoDB and Python 3 installed. I will also provide you with a read-write deploy key for a private GitHub repository. The GitHub repository will contain two .json files. Each file will consist of a list of dicts.

Your task will be to implement the following two Python functions:

def gh2mongo():

'''Check out a copy of the GitHub repo into a temp directory. For each .json file in the repo, create or replace a collection in MongoDB whose name is the same as the .json file with the contents of the .json file. For example, create or replace the contents of "my_collection" with the contents of "[login to view URL]".'''

def mongo2gh():

'''Check out a copy of the GitHub repo into a temp directory. For each collection, update or replace the existing .json file with the items in the collection. For example, create or replace the contents of '[login to view URL]' with the records inside the MongoDB collection "my_collection". Commit the new/changed .json files and push to GitHub.'''


- Create temp directories using the 'tempfile' library.

- Interact with GitHub using pygit2 ([login to view URL])

- Interact with MongoDB using PyMongo ([login to view URL])

- No calls to popen or other low-level OS functions. Everything should work via high-level APIs.

- No shell scripting; everything should be in the Python file.

- No duplicate code: any code that's used in two places should be factored out.

Skills: Django, Elasticsearch, Linux, Python, Software Architecture

See more: proof concept project, develop proof concept iphone applications, proof concept document, proof concept javaj2ee project, spring hibernate proof concept project, ejb jboss proof concept project, proof concept document web, erp proof concept demo agreement, proof concept document software sample, proof concept document 2009, proof concept java, proof concept document java, java app proof concept budget, proof concept software development, proof concept poc pentaho, java proof concept validate design, proof concept systems, python django proof concept bid

About the Employer:
( 75 reviews ) Shenyang, China

Project ID: #18943640

13 freelancers are bidding on average $168 for this job


Hello! I'm interesting your project very well and full time developer. I have great skill in design and php. My price and period is negotiable. Employee’s satisfy is my happiness ! Let's go ahead with me ! My More

$155 USD in 3 days
(234 Reviews)

Hello, I am expert in Djnago,Python and JS like Angular, i am working in Djnago from last 5 years , please share some detail about the project. i am full stack Python/Django individual developer having mix experienc More

$155 USD in 3 days
(84 Reviews)

Hello, I have gone through your job posting and become very much interested to work with you. I am an expert in this field. I have already completed several projects like this. For evidence you can see my profile. More

$250 USD in 4 days
(46 Reviews)

Hi I'm an expert in python programming. I'm sure that I can easily do this project. We can have a about it. Thanks..

$150 USD in 3 days
(71 Reviews)

Hi, I can write python code for you to save data from github json to mongodb and vice versa. I have done many projects in mongodb and python. One of the projects which involves python and mongodb is https://crypto More

$83 USD in 3 days
(35 Reviews)

Hello! I am a python developer. I looked at your project and it seems interesting. I have all necessary skills required for this project. Ping me to discuss in detail.

$140 USD in 2 days
(26 Reviews)

Hi,Dear. I have many development experiences,getting work about . As I am interested in your project,I want to do work it. I've read the project description and definitely can develop your task. If you hire me, I More

$140 USD in 3 days
(5 Reviews)

Hello, After reading your project details we believe we are suitable for this project. As we have specialists in PHP scripts and visualizing data . We can design that outstanding way. We have creative team and we can More

$250 USD in 3 days
(26 Reviews)

Hello Sir, I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. We are the team of 9 members and over past 2 years we have completed 250+ projects in web ap More

$155 USD in 3 days
(1 Review)

Your instructions are very clear and well detailed. Please let me know the deadline for this project and I will get started immediately :)

$100 USD in 8 days
(1 Review)

I'm very skilled in Python and MongoDB and can complete this work within 2-3 days with adequate testing of corner cases. I can complete the task as per your requirements, ie) using only PyMongo & high-level functions. More

$150 USD in 3 days
(0 Reviews)

I'm using Django and mongoengine for a long time. ( I believe it is more elegant than pymongo after a long time using) It will also be ok if you ask to use pymongo. And I also have much experience on Github API. I bel More

$250 USD in 10 days
(0 Reviews)

I like your clear requirements. We are a two-and-a-half EU and USA based team. Sample python code (personal): [login to view URL] Are you positive this will not require paralleliz More

$200 USD in 5 days
(0 Reviews)