@@ -0,0 +1,1184 @@
+#!/usr/bin/env python%0A# encoding: utf-8%0A%0A'''%0AFile: MongoSplitter.py%0AAuthor: NYU ITP Team%0ADescription: Will calculate splits for a given collection/database%0Aand store/return them in MongoSplit objects%0A'''%0A%0A%0Adef calculate_splits(config):%0A    %22%22%22reads config to find out what type of split to perform%22%22%22%0A    pass%0A%0Adef calculate_unsharded_splits(config, etc):%0A    %22%22%22@todo: Docstring for calculate_unsharded_splits%0A%0A    :returns: @todo%0A    %22%22%22%0A    pass%0A%0Adef _split(config, etc):%0A    %22%22%22@todo: Docstring for _split%0A%0A    :returns: an actual MongoSplit object%0A    %22%22%22%0A    pass%0A%0Adef calculate_single_split(config):%0A    pass%0A%0Adef calculate_sharded_splits(config, etc):%0A    %22%22%22Worry about this after unsharded splits are doen%0A%0A    :returns: @todo%0A    %22%22%22%0A    pass%0A%0Adef fetch_splits_from_shards(config):%0A    %22%22%22@todo: Docstring for fetch_splits_from_shards%0A%0A    :returns: @todo%0A    %22%22%22%0A    pass%0A%0A%0A%0Adef fetch_splits_via_chunks(config):%0A    %22%22%22@todo: Docstring for fetch_splits_via_chunks%0A%0A    :returns: @todo%0A    %22%22%22%0A    pass%0A%0Adef get_new_URI(original_URI, etc):%0A    %22%22%22@todo: Docstring for get_new_URI%0A%0A    :original_URI: @todo%0A    :etc: @todo%0A    :returns: a new Mongo_URI%0A    %22%22%22%0A%0A    pass%0A%0A%0A%0A

add skeleton MongoSplitter