<commit_before>import os
import json
import execjs
import urllib2
from sqlalchemy import create_engine
from farmsList.settings import DevConfig

engine = create_engine(DevConfig().SQLALCHEMY_DATABASE_URI)

conn = engine.connect()
parcels = [{
	'geometry': '{"type":"Polygon","coordinates":[[[-121.51367978210449,38.58853235229309],[-121.51347978210449,38.58853235229309],[-121.51347978210449,38.58833235229309],[-121.51367978210449,38.58833235229309],[-121.51367978210449,38.58853235229309]]]}',
	'center': '{"geometry":{"type":"Point","coordinates":[-121.51357978210449,38.58843235229309]}}',
	'soil': 'Yolo',
	'size': '0.32',
	'id': 10000001<commit_msg>update script to be runnalbe in prod env<commit_after>import os
import json
import execjs
import urllib2
from sqlalchemy import create_engine
from farmsList.settings import DevConfig

if os.environ.get("FARMSLIST_ENV") == 'prod':
	engine = create_engine(ProdConfig().SQLALCHEMY_DATABASE_URI)
else:
	engine = create_engine(DevConfig().SQLALCHEMY_DATABASE_URI)

conn = engine.connect()
parcels = [{
	'geometry': '{"type":"Polygon","coordinates":[[[-121.51367978210449,38.58853235229309],[-121.51347978210449,38.58853235229309],[-121.51347978210449,38.58833235229309],[-121.51367978210449,38.58833235229309],[-121.51367978210449,38.58853235229309]]]}',
	'center': '{"geometry":{"type":"Point","coordinates":[-121.51357978210449,38.58843235229309]}}',
	'soil': 'Yolo',
	'size': '0.32',
	'id': 10000001
{'fraction_non_alphanumeric': 0.1721763085399449, 'fraction_numerical': 0.2892561983471074, 'mean_word_length': 8.884353741496598, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6398989', 'n_tokens_mistral': 815, 'n_tokens_neox': 544, 'n_words': 74}