{ // 获取包含Hugging Face文本的span元素 const spans = link.querySelectorAll('span.whitespace-nowrap, span.hidden.whitespace-nowrap'); spans.forEach(span => { if (span.textContent && span.textContent.trim().match(/Hugging\s*Face/i)) { span.textContent = 'AI快站'; } }); }); // 替换logo图片的alt属性 document.querySelectorAll('img[alt*="Hugging"], img[alt*="Face"]').forEach(img => { if (img.alt.match(/Hugging\s*Face/i)) { img.alt = 'AI快站 logo'; } }); } // 替换导航栏中的链接 function replaceNavigationLinks() { // 已替换标记,防止重复运行 if (window._navLinksReplaced) { return; } // 已经替换过的链接集合,防止重复替换 const replacedLinks = new Set(); // 只在导航栏区域查找和替换链接 const headerArea = document.querySelector('header') || document.querySelector('nav'); if (!headerArea) { return; } // 在导航区域内查找链接 const navLinks = headerArea.querySelectorAll('a'); navLinks.forEach(link => { // 如果已经替换过,跳过 if (replacedLinks.has(link)) return; const linkText = link.textContent.trim(); const linkHref = link.getAttribute('href') || ''; // 替换Spaces链接 - 仅替换一次 if ( (linkHref.includes('/spaces') || linkHref === '/spaces' || linkText === 'Spaces' || linkText.match(/^s*Spacess*$/i)) && linkText !== 'OCR模型免费转Markdown' && linkText !== 'OCR模型免费转Markdown' ) { link.textContent = 'OCR模型免费转Markdown'; link.href = 'https://fast360.xyz'; link.setAttribute('target', '_blank'); link.setAttribute('rel', 'noopener noreferrer'); replacedLinks.add(link); } // 删除Posts链接 else if ( (linkHref.includes('/posts') || linkHref === '/posts' || linkText === 'Posts' || linkText.match(/^s*Postss*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } // 替换Docs链接 - 仅替换一次 else if ( (linkHref.includes('/docs') || linkHref === '/docs' || linkText === 'Docs' || linkText.match(/^s*Docss*$/i)) && linkText !== '模型下载攻略' ) { link.textContent = '模型下载攻略'; link.href = '/'; replacedLinks.add(link); } // 删除Enterprise链接 else if ( (linkHref.includes('/enterprise') || linkHref === '/enterprise' || linkText === 'Enterprise' || linkText.match(/^s*Enterprises*$/i)) ) { if (link.parentNode) { link.parentNode.removeChild(link); } replacedLinks.add(link); } }); // 查找可能嵌套的Spaces和Posts文本 const textNodes = []; function findTextNodes(element) { if (element.nodeType === Node.TEXT_NODE) { const text = element.textContent.trim(); if (text === 'Spaces' || text === 'Posts' || text === 'Enterprise') { textNodes.push(element); } } else { for (const child of element.childNodes) { findTextNodes(child); } } } // 只在导航区域内查找文本节点 findTextNodes(headerArea); // 替换找到的文本节点 textNodes.forEach(node => { const text = node.textContent.trim(); if (text === 'Spaces') { node.textContent = node.textContent.replace(/Spaces/g, 'OCR模型免费转Markdown'); } else if (text === 'Posts') { // 删除Posts文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } else if (text === 'Enterprise') { // 删除Enterprise文本节点 if (node.parentNode) { node.parentNode.removeChild(node); } } }); // 标记已替换完成 window._navLinksReplaced = true; } // 替换代码区域中的域名 function replaceCodeDomains() { // 特别处理span.hljs-string和span.njs-string元素 document.querySelectorAll('span.hljs-string, span.njs-string, span[class*="hljs-string"], span[class*="njs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换hljs-string类的span中的域名(移除多余的转义符号) document.querySelectorAll('span.hljs-string, span[class*="hljs-string"]').forEach(span => { if (span.textContent && span.textContent.includes('huggingface.co')) { span.textContent = span.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 替换pre和code标签中包含git clone命令的域名 document.querySelectorAll('pre, code').forEach(element => { if (element.textContent && element.textContent.includes('git clone')) { const text = element.innerHTML; if (text.includes('huggingface.co')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 处理特定的命令行示例 document.querySelectorAll('pre, code').forEach(element => { const text = element.innerHTML; if (text.includes('huggingface.co')) { // 针对git clone命令的专门处理 if (text.includes('git clone') || text.includes('GIT_LFS_SKIP_SMUDGE=1')) { element.innerHTML = text.replace(/huggingface.co/g, 'aifasthub.com'); } } }); // 特别处理模型下载页面上的代码片段 document.querySelectorAll('.flex.border-t, .svelte_hydrator, .inline-block').forEach(container => { const content = container.innerHTML; if (content && content.includes('huggingface.co')) { container.innerHTML = content.replace(/huggingface.co/g, 'aifasthub.com'); } }); // 特别处理模型仓库克隆对话框中的代码片段 try { // 查找包含"Clone this model repository"标题的对话框 const cloneDialog = document.querySelector('.svelte_hydration_boundary, [data-target="MainHeader"]'); if (cloneDialog) { // 查找对话框中所有的代码片段和命令示例 const codeElements = cloneDialog.querySelectorAll('pre, code, span'); codeElements.forEach(element => { if (element.textContent && element.textContent.includes('huggingface.co')) { if (element.innerHTML.includes('huggingface.co')) { element.innerHTML = element.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { element.textContent = element.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); } // 更精确地定位克隆命令中的域名 document.querySelectorAll('[data-target]').forEach(container => { const codeBlocks = container.querySelectorAll('pre, code, span.hljs-string'); codeBlocks.forEach(block => { if (block.textContent && block.textContent.includes('huggingface.co')) { if (block.innerHTML.includes('huggingface.co')) { block.innerHTML = block.innerHTML.replace(/huggingface.co/g, 'aifasthub.com'); } else { block.textContent = block.textContent.replace(/huggingface.co/g, 'aifasthub.com'); } } }); }); } catch (e) { // 错误处理但不打印日志 } } // 当DOM加载完成后执行替换 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', () => { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); }); } else { replaceHeaderBranding(); replaceNavigationLinks(); replaceCodeDomains(); // 只在必要时执行替换 - 3秒后再次检查 setTimeout(() => { if (!window._navLinksReplaced) { console.log('[Client] 3秒后重新检查导航链接'); replaceNavigationLinks(); } }, 3000); } // 增加一个MutationObserver来处理可能的动态元素加载 const observer = new MutationObserver(mutations => { // 检查是否导航区域有变化 const hasNavChanges = mutations.some(mutation => { // 检查是否存在header或nav元素变化 return Array.from(mutation.addedNodes).some(node => { if (node.nodeType === Node.ELEMENT_NODE) { // 检查是否是导航元素或其子元素 if (node.tagName === 'HEADER' || node.tagName === 'NAV' || node.querySelector('header, nav')) { return true; } // 检查是否在导航元素内部 let parent = node.parentElement; while (parent) { if (parent.tagName === 'HEADER' || parent.tagName === 'NAV') { return true; } parent = parent.parentElement; } } return false; }); }); // 只在导航区域有变化时执行替换 if (hasNavChanges) { // 重置替换状态,允许再次替换 window._navLinksReplaced = false; replaceHeaderBranding(); replaceNavigationLinks(); } }); // 开始观察document.body的变化,包括子节点 if (document.body) { observer.observe(document.body, { childList: true, subtree: true }); } else { document.addEventListener('DOMContentLoaded', () => { observer.observe(document.body, { childList: true, subtree: true }); }); } })(); regular person\");\n\t#print manipulate\n\n\t# removes character:\n\t#manipulate.remove_char(\"i\");\n\t#print manipulate;\n\n\t# removes multiple character:\n\t#manipulate.remove_char(\"it\");\n\t#print manipulate;\n\n\t# removes word \n\t#manipulate.remove_words(\"After\");\n\t#print manipulate;\n\n\t# removes multiple word \n\t#manipulate.remove_words(\"After there he\");\n\t#print manipulate;\n\n\t# removes word with specfied character\n\t#manipulate.remove_words_with_char(\"h\");\n\t#print manipulate;\n\n\t# replaces word\n\t#manipulate.replace_word(\"After\", \"abc\");\n\t#print manipulate;\n\n\t# remove repeated words\n\t#manipulate.remove_repeats();\n\t#print manipulate;\n\n\t\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}},{"rowIdx":1180,"cells":{"__id__":{"kind":"number","value":2156073599821,"string":"2,156,073,599,821"},"blob_id":{"kind":"string","value":"525af838df69a2a92861bb1faaf2867222a225ec"},"directory_id":{"kind":"string","value":"d88e79d82ef37bc060c915baa29136c3e8acd61f"},"path":{"kind":"string","value":"/test/test_api.py"},"content_id":{"kind":"string","value":"c571b98c1abbf6f7d099a68c13c44f5bdea2981d"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"koolhead17/hypernotes"},"repo_url":{"kind":"string","value":"https://github.com/koolhead17/hypernotes"},"snapshot_id":{"kind":"string","value":"7f6085c8ad6be321cbc3dd1a1f97853b26da4fa8"},"revision_id":{"kind":"string","value":"43073d2cc3503b5f0c6ef50411b66aa362e53459"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-10-12T01:47:11.044708","string":"2016-10-12T01:47:11.044708"},"revision_date":{"kind":"timestamp","value":"2011-08-09T11:48:55","string":"2011-08-09T11:48:55"},"committer_date":{"kind":"timestamp","value":"2011-08-09T11:48:55","string":"2011-08-09T11:48:55"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"import json\nfrom hypernotes import web\nfrom hypernotes import logic\n\nTESTDB = 'hypernotes-test'\n\nclass TestApi(object):\n @classmethod\n def setup_class(cls):\n web.app.config['ELASTIC_SEARCH_HOST'] = '127.0.0.1:9200'\n web.app.config['ELASTIC_DB'] = TESTDB\n logic.init_db()\n cls.app = web.app.test_client()\n cls.make_fixtures()\n\n @classmethod\n def teardown_class(cls):\n conn, db = logic.get_conn()\n conn.delete_index(TESTDB)\n\n @classmethod\n def make_fixtures(self):\n self.username = u'tester'\n inuser = {\n 'id': self.username,\n 'fullname': 'The Tester'\n }\n indata = {\n 'title': 'My New Note',\n 'body': '## Xyz',\n 'tags': ['abc', 'efg'],\n 'owner': self.username\n }\n self.app.post('/api/v1/user', data=json.dumps(inuser))\n out = self.app.post('/api/v1/note', data=json.dumps(indata))\n self.note_id = json.loads(out.data)['id']\n self.thread_name = 'default'\n inthread = {\n 'name': self.thread_name,\n 'title': 'My Test Thread',\n 'description': 'None at the moment',\n 'notes': [ self.note_id ],\n 'owner': self.username\n }\n out = self.app.post('/api/v1/thread', data=json.dumps(inthread))\n self.thread_id = json.loads(out.data)['id']\n\n def test_user(self):\n res = self.app.get('/api/v1/user/%s' % self.username)\n data = json.loads(res.data)\n assert data['fullname'] == 'The Tester', data\n\n def test_note(self):\n res = self.app.get('/api/v1/note/%s' % self.note_id)\n assert res.status_code == 200, res.status\n data = json.loads(res.data)\n assert data['body'] == '## Xyz', data\n\n def test_note_search_no_query(self):\n res = self.app.get('/api/v1/note?q=')\n assert res.status_code == 200, res.status\n data = json.loads(res.data)\n count = data['result']['hits']['total']\n assert count == 1, count\n\n def test_note_search_2_basic_text(self):\n res = self.app.get('/api/v1/note?q=new')\n assert res.status_code == 200, res.status\n data = json.loads(res.data)\n count = data['result']['hits']['total']\n assert count == 1, count\n\n def test_note_search_3_should_not_match(self):\n res = self.app.get('/api/v1/note?q=nothing-that-should-match')\n assert res.status_code == 200, res.status\n data = json.loads(res.data)\n count = data['result']['hits']['total']\n assert count == 0, count\n\n def test_thread(self):\n res = self.app.get('/api/v1/thread/%s' % self.thread_id)\n assert res.status_code == 200, res.status\n data = json.loads(res.data)\n assert data['title'] == 'My Test Thread', data\n\n res = self.app.get('/api/v1/%s/thread/%s' % (self.username,\n self.thread_name), follow_redirects=True)\n assert res.status_code == 200, res.status\n data = json.loads(res.data)\n assert data['title'] == 'My Test Thread', data\n\n def test_thread_update(self):\n id_ = 'testupdate'\n indata = {\n 'id': id_,\n 'title': 'Abc'\n }\n res = self.app.post('/api/v1/thread', data=json.dumps(indata))\n indata2 = {\n 'id': id_,\n 'title': 'Xyz'\n }\n res = self.app.put('/api/v1/thread/%s' % id_, data=json.dumps(indata2))\n out = logic.Thread.get(id_)\n assert out['title'] == 'Xyz', out\n\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2011,"string":"2,011"}}},{"rowIdx":1181,"cells":{"__id__":{"kind":"number","value":10033043627914,"string":"10,033,043,627,914"},"blob_id":{"kind":"string","value":"6fb8583375ab7029d3863fe4757cd2bb0d90ee1f"},"directory_id":{"kind":"string","value":"8ab66dcf8e91734d730f7799839ceddfa289b4cd"},"path":{"kind":"string","value":"/barnacle-1.0.0/src/parsers/genes/ensembl.py"},"content_id":{"kind":"string","value":"619010af380aafc6d9b30e3e22d36a809e4f94b6"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"ptraverse/gsc"},"repo_url":{"kind":"string","value":"https://github.com/ptraverse/gsc"},"snapshot_id":{"kind":"string","value":"7bbbe67652575b5e7d3ca68e85a213fd7536125d"},"revision_id":{"kind":"string","value":"21e6b699f91cf9604f973d51745c3975cbd8e22c"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-23T17:58:50.910026","string":"2021-01-23T17:58:50.910026"},"revision_date":{"kind":"timestamp","value":"2013-01-03T09:06:05","string":"2013-01-03T09:06:05"},"committer_date":{"kind":"timestamp","value":"2013-01-03T09:06:05","string":"2013-01-03T09:06:05"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"\"\"\"\nensembl.py\n\nCreated by Readman Chiu\nEdited by Lucas Swanson\nCopyright (c) 2012 Canada's Michael Smith Genome Sciences Centre. All rights reserved.\n\"\"\"\n\nimport transcript\nfrom optparse import OptionParser\nimport os, re\n\n#for ensGene.txt from UCSC\nfields_a = {1:\"name\", 2:\"chrom\", 3:\"strand\", 4:\"txStart\", 5:\"txEnd\",\n 6:\"cdsStart\", 7:\"cdsEnd\", 8:\"exonCount\", 9:\"exonStarts\", 10:\"exonEnds\",\n 12:\"alias\"}\n\n#for ensGene_ref.txt created in-house\nfields_b = {0:\"name\", 2:\"chrom\", 3:\"strand\", 4:\"txStart\", 5:\"txEnd\",\n 6:\"cdsStart\", 7:\"cdsEnd\", 8:\"exonCount\", 9:\"exonStarts\", 10:\"exonEnds\",\n 16:\"alias\"}\n\ndef set_fields(file=None, line=None):\n sep = name_field = None\n fields = fields_a\n \n #determine which ensGene file it is\n if file:\n for l in open(file, 'r'):\n line = l\n break\n if line:\n if line[:3].lower() != 'ens':\n fields = fields_a\n sep = \"\\t\"\n name_field = 1\n else:\n fields = fields_b\n sep = \" \"\n name_field = 0\n\n return sep, name_field, fields\n\ndef parse(file):\n txts = []\n sep, name_field, fields = set_fields(file=file)\n \n for line in open(file, 'r'):\n cols = line.rstrip(\"\\n\").split(sep)\n\n if cols[0]:\n txt = transcript.Transcript(cols[name_field])\n \n for i in range(len(cols)):\n if i in fields:\n if fields[i] == 'chrom' and cols[i][:3] != 'chr':\n cols[i] = 'chr' + cols[i]\n \n if i <= 10 or i == 16 or i == 12:\n setattr(txt, fields[i], cols[i])\n\n exonStarts = cols[9].rstrip(',').split(',')\n exonEnds = cols[10].rstrip(',').split(',')\n txt.exons = []\n for e in range(len(exonStarts)):\n #start+1: seems necessary at least for mouse ensembl file\n txt.exons.append([int(exonStarts[e])+1, int(exonEnds[e])])\n\n #calculate transcript length for coverage\n for exon in txt.exons:\n txt.length += int(exon[1]) - int(exon[0]) + 1\n #print txt.name, txt.exonCount, txt.length, txt.exons[0]\n txts.append(txt)\n\n return txts\n\ndef parse_line(line):\n sep, name_field, fields = set_fields(line=line)\n\n cols = line.rstrip(\"\\n\").split(sep)\n if sep and len(cols) > 1:\n txt = transcript.Transcript(cols[name_field])\n \n for i in range(len(cols)):\n if i in fields:\n if fields[i] == 'chrom' and cols[i][:3] != 'chr':\n cols[i] = 'chr' + cols[i]\n \n if i <= 10 or i == 16 or i == 12:\n setattr(txt, fields[i], cols[i])\n\n exonStarts = cols[9].rstrip(',').split(',')\n exonEnds = cols[10].rstrip(',').split(',')\n txt.exons = []\n for e in range(len(exonStarts)):\n txt.exons.append([int(exonStarts[e])+1, int(exonEnds[e])])\n\n #calculate transcript length for coverage\n for exon in txt.exons:\n txt.length += int(exon[1]) - int(exon[0]) + 1\n\n return txt\n\n return None\n\ndef index(input, output):\n sep, name_field, fields = set_fields(file=input)\n \n indices = {}\n data_file = os.path.abspath(input)\n line_num = 1\n for line in open(input, 'r'):\n cols = line.rstrip().split(sep)\n\n start = int(int(cols[4])/1000)\n end = int(int(cols[5])/1000)\n target = cols[2]\n \n if not re.match('^(chr|scaffold)', target, re.IGNORECASE):\n target = 'chr' + target\n \n #print cols[0],target,start,end\n for n in range(start,end+1):\n index = ':'.join((target,str(n)))\n value = str(line_num)\n\n if not indices.has_key(index):\n indices[index] = [value]\n else:\n indices[index].append(value)\n\n line_num += 1\n\n index_file = open(output, 'w')\n for index in sorted(indices.keys()):\n index_file.write(' '.join((index, ','.join(indices[index]))) + \"\\n\")\n\ndef output(txts, outfile):\n fields = fields_a\n\n list_size = int(fields.keys()[-1])+1\n\n field_idx = {}\n for idx, field in fields.iteritems():\n if field in ('exonStarts', 'exonEnds', 'exonCount'):\n field_idx[field] = idx\n\n out = open(outfile, 'w')\n for i in range(len(txts)):\n txt = txts[i]\n \n data = []\n for idx in range(list_size):\n data.append('NA')\n \n for idx, field in fields.iteritems():\n try:\n value = getattr(txt, field)\n except AttributeError:\n continue\n else:\n data[idx] = str(value)\n\n data[0] = str(i)\n\n data[field_idx['exonStarts']] = ','.join([str(int(i[0])-1) for i in txt.exons])\n data[field_idx['exonEnds']] = ','.join([str(i[1]) for i in txt.exons])\n data[field_idx['exonCount']] = str(len(txt.exons))\n \n out.write('\\t'.join(data) + '\\n')\n \n out.close()\n \nif __name__ == '__main__':\n usage = \"Usage: %prog annotation-file\"\n parser = OptionParser(usage=usage)\n parser.add_option(\"-i\", \"--index\", dest=\"index\", help=\"index output file\")\n\n (options, args) = parser.parse_args()\n\n if options.index:\n index(args[0], options.index)\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2013,"string":"2,013"}}},{"rowIdx":1182,"cells":{"__id__":{"kind":"number","value":10170482569770,"string":"10,170,482,569,770"},"blob_id":{"kind":"string","value":"9fe0ecc6438502ba1baa363a7adb9dd9e18e3a08"},"directory_id":{"kind":"string","value":"8c8a50c1c3b01ec920184506eee31bee9165b208"},"path":{"kind":"string","value":"/w7/logicpuzzle.py"},"content_id":{"kind":"string","value":"7b3d6f589035a55eb05adf5fca560d04fa9616e0"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"likhtal/CS212"},"repo_url":{"kind":"string","value":"https://github.com/likhtal/CS212"},"snapshot_id":{"kind":"string","value":"b9231337192dc3627c258da83ffe6e6a51ac5dcf"},"revision_id":{"kind":"string","value":"1968afd8a9757de9f19f00b12973fd0e773964af"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-09-07T20:29:10.800748","string":"2016-09-07T20:29:10.800748"},"revision_date":{"kind":"timestamp","value":"2012-06-22T18:54:06","string":"2012-06-22T18:54:06"},"committer_date":{"kind":"timestamp","value":"2012-06-22T18:54:06","string":"2012-06-22T18:54:06"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"\"\"\"\nUNIT 2: Logic Puzzle\n\nYou will write code to solve the following logic puzzle:\n\n1. The person who arrived on Wednesday bought the laptop.\n2. The programmer is not Wilkes.\n3. Of the programmer and the person who bought the droid,\n one is Wilkes and the other is Hamming.\n4. The writer is not Minsky.\n5. Neither Knuth nor the person who bought the tablet is the manager.\n6. Knuth arrived the day after Simon.\n7. The person who arrived on Thursday is not the designer.\n8. The person who arrived on Friday didn't buy the tablet.\n9. The designer didn't buy the droid.\n10. Knuth arrived the day after the manager.\n11. Of the person who bought the laptop and Wilkes,\n one arrived on Monday and the other is the writer.\n12. Either the person who bought the iphone or the person who bought the tablet\n arrived on Tuesday.\n\nYou will write the function logic_puzzle(), which should return a list of the\nnames of the people in the order in which they arrive. For example, if they\nhappen to arrive in alphabetical order, Hamming on Monday, Knuth on Tuesday, etc.,\nthen you would return:\n\n['Hamming', 'Knuth', 'Minsky', 'Simon', 'Wilkes']\n\n(You can assume that the days mentioned are all in the same week.)\n\"\"\"\n\nimport itertools\n\ndef logic_puzzle():\n \"Return a list of the names of the people, in the order they arrive.\"\n ## your code here; you are free to define additional functions if needed\n # return ['Wilkes', 'Simon', 'Knuth', 'Hamming', 'Minsky']\n\n days = mon, tue, wed, thu, fri = [1, 2, 3, 4, 5]\n orderings = list(itertools.permutations(days))\n gen = (dict([(h, \"Hamming\"), (k,\"Knuth\"), (m,\"Minsky\"), (s,\"Simon\"), (w, \"Wilkes\")])\n for (h, k, m, s, w) in orderings\n if k == s + 1\n for (programmer, writer, manager, designer, _) in orderings\n if (programmer is not w)\n and (writer is not m)\n and (designer is not thu)\n and (k == manager + 1)\n and (writer is not mon)\n for (laptop, droid, tablet, iphone, _) in orderings\n if (laptop is wed)\n and (tablet is not fri)\n and (w is not laptop)\n and (set([programmer, droid]) == set([w, h]))\n and (programmer is not droid)\n and (manager is not k and manager is not tablet)\n and (designer is not droid)\n and (set([w, laptop]) == set([mon, writer]))\n and (iphone is tue or tablet is tue))\n result = next(gen)\n return [result[key] for key in range(1,6)]\n \nprint logic_puzzle()\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2012,"string":"2,012"}}},{"rowIdx":1183,"cells":{"__id__":{"kind":"number","value":14800457340020,"string":"14,800,457,340,020"},"blob_id":{"kind":"string","value":"7bd281ab8753ced41145b2a3e7a8af86e31a70ad"},"directory_id":{"kind":"string","value":"9fffb8d0539a27722695ee1bf77afda2255f4120"},"path":{"kind":"string","value":"/Python Codes/Project 04.py"},"content_id":{"kind":"string","value":"6610fb275549666fc9f87c4eff1d7c1a2e9c9205"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"mukasama/portfolio"},"repo_url":{"kind":"string","value":"https://github.com/mukasama/portfolio"},"snapshot_id":{"kind":"string","value":"fdde5f1b022cc3d7b5abf1c35e170ad9f5d3f401"},"revision_id":{"kind":"string","value":"92e1d231f76ad7473a2318da87e8b3817a9e4e5b"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-09-07T15:41:07.331327","string":"2016-09-07T15:41:07.331327"},"revision_date":{"kind":"timestamp","value":"2014-10-19T17:53:42","string":"2014-10-19T17:53:42"},"committer_date":{"kind":"timestamp","value":"2014-10-19T17:53:42","string":"2014-10-19T17:53:42"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"# Section 09\r\n# 10/ 08/ 2012\r\n# Project 04\r\n\r\nimport turtle\r\n\r\nturtle.goto(100,0)\r\n\r\n# Function draw_rectangle, draws a rectangle with desginated lenght and height which then fills in the color(s).\r\ndef draw_rectangle(length,height,color):\r\n\r\n turtle.pendown()\r\n turtle.color(get_color(color))\r\n turtle.begin_fill()\r\n turtle.right(90)\r\n turtle.forward(length)\r\n turtle.right(90)\r\n turtle.forward(height)\r\n turtle.right(90)\r\n turtle.forward(length)\r\n turtle.right(90)\r\n turtle.forward(height)\r\n turtle.end_fill()\r\n turtle.penup()\r\n\r\n# Function draw_rectangle2 draws the outline of the rectangle with same lenght along with the desginated lenght, height and color.\r\ndef draw_rectangle2(length,height,color):\r\n\r\n turtle.pendown()\r\n turtle.color(get_color(color))\r\n turtle.right(90)\r\n turtle.forward(length)\r\n turtle.right(90)\r\n turtle.forward(height)\r\n turtle.right(90)\r\n turtle.forward(length)\r\n turtle.right(90)\r\n turtle.forward(height)\r\n turtle.penup()\r\n\r\n# The get_color function is used to determine red, blue and white colors from a parameter color sting.\r\ndef get_color(color):\r\n if color == \"red\":\r\n return 1,0,0\r\n if color == \"blue\":\r\n return 0,0,1\r\n if color == \"white\":\r\n return 1,1,1\r\n if color == \"black\":\r\n return 0,0,0\r\n\r\n# Draw_star function draws a star with desginated angles and lengths which then fills it with the color.\r\ndef draw_star(size, color):\r\n\r\n turtle.pendown()\r\n turtle.begin_fill()\r\n turtle.color(1,1,1)\r\n turtle.forward(2.5) \r\n turtle.left(size)\r\n turtle.forward(2.5)\r\n turtle.right(144)\r\n turtle.forward(2.5)\r\n turtle.left(size)\r\n turtle.forward(2.5)\r\n turtle.right(144)\r\n turtle.forward(2.5)\r\n turtle.left(size)\r\n turtle.forward(2.5)\r\n turtle.right(144)\r\n turtle.forward(2.5)\r\n turtle.left(size)\r\n turtle.forward(2.5)\r\n turtle.right(144)\r\n turtle.forward(2.5)\r\n turtle.left(size)\r\n turtle.forward(2.5)\r\n turtle.right(144)\r\n turtle.end_fill()\r\n turtle.penup()\r\n\r\n# draw_flag is a function that draws a fag of a certain heing. \r\ndef draw_flag(height):\r\n\r\n size = 72\r\n color = \"white\"\r\n\r\n# Letters \"a\" is just a variable I choose to complete my formula to draw the small blue rectangle.\r\n \r\n for a in range(7):\r\n\r\n turtle.speed(100)\r\n turtle.down()\r\n draw_rectangle(height/13,height*1.9,\"red\")\r\n turtle.right(90)\r\n turtle.forward((height/13)*2)\r\n turtle.left(90)\r\n \r\n draw_rectangle(height, height*1.9, \"white\")\r\n\r\n turtle.goto(100,0)\r\n draw_rectangle2(height,324,\"black\")\r\n \r\n turtle.goto(-93.5, 0)\r\n draw_rectangle(height*.5385,height*.76, \"blue\")\r\n\r\n# Letters b, c, d, e, f, g, h, i, j, k are just variables I choose to complete my formula to draw the 50 stars.\r\n \r\n turtle.goto(-218,-6)\r\n for c in range(6):\r\n draw_star(size, 'white')\r\n turtle.forward(22)\r\n\r\n turtle.goto(-209,-16)\r\n for d in range(5):\r\n draw_star(size, 'white')\r\n turtle.forward(23) \r\n\r\n turtle.goto(-218,-26)\r\n for e in range(6):\r\n draw_star(size, 'white')\r\n turtle.forward(22)\r\n\r\n turtle.goto(-209,-36)\r\n for f in range(5):\r\n draw_star(size, 'white')\r\n turtle.forward(23)\r\n \r\n turtle.goto(-218,-46)\r\n for g in range(6):\r\n draw_star(size, 'white')\r\n turtle.forward(22)\r\n \r\n turtle.goto(-209,-56)\r\n for h in range(5):\r\n draw_star(size, 'white')\r\n turtle.forward(23)\r\n\r\n turtle.goto(-218,-66)\r\n for i in range(6):\r\n draw_star(size, 'white')\r\n turtle.forward(22)\r\n\r\n turtle.goto(-209,-76)\r\n for j in range(5):\r\n draw_star(size, 'white')\r\n turtle.forward(23)\r\n\r\n turtle.goto(-218,-86)\r\n for k in range(6):\r\n draw_star(size, 'white')\r\n turtle.forward(22)\r\n \r\ndraw_flag(170) \r\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}},{"rowIdx":1184,"cells":{"__id__":{"kind":"number","value":9259949530741,"string":"9,259,949,530,741"},"blob_id":{"kind":"string","value":"037482b2f1a965d3d7f20a037f1fd8166cefd5e6"},"directory_id":{"kind":"string","value":"83aa3050fe8c3467a9eb6005c5804fbab9497379"},"path":{"kind":"string","value":"/merchant/urls.py"},"content_id":{"kind":"string","value":"f676e5690fc11058167dcca5e8b9a30453d7657f"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"igorlebovic/Mobile-Order-Placement"},"repo_url":{"kind":"string","value":"https://github.com/igorlebovic/Mobile-Order-Placement"},"snapshot_id":{"kind":"string","value":"28e6ab94e5d6359c69997468e290196716addd5a"},"revision_id":{"kind":"string","value":"0064c4c96faf9d5a53769d4ec179f9c96bbf1070"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-08-03T09:35:04.184759","string":"2016-08-03T09:35:04.184759"},"revision_date":{"kind":"timestamp","value":"2011-03-05T07:22:59","string":"2011-03-05T07:22:59"},"committer_date":{"kind":"timestamp","value":"2011-03-05T07:22:59","string":"2011-03-05T07:22:59"},"github_id":{"kind":"number","value":1429277,"string":"1,429,277"},"star_events_count":{"kind":"number","value":1,"string":"1"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"from django.conf.urls.defaults import *\n\nurlpatterns = patterns('speeqeweb.merchant.views',\n (r'^(?P[\\d]+)-(?P[-\\w]+)/$', 'merchant_home'),\n (r'^menu/(?P[\\d]+)/$', 'merchant_menu'),\n (r'^pos/(?P[\\d]+)/$', 'pos'),\n (r'^pos2/(?P[\\d]+)/$', 'pos2'),\n (r'^login/(?P[\\d]+)/$', 'login'),\n (r'^manageorder/(?P[-\\w]+)/$', 'manageorder'),\n (r'^manageorder2/(?P[-\\w]+)/$', 'manageorder2'),\n (r'^manageorder3/(?P[-\\w]+)/$', 'manageorder3'),\n)\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2011,"string":"2,011"}}},{"rowIdx":1185,"cells":{"__id__":{"kind":"number","value":13159779829639,"string":"13,159,779,829,639"},"blob_id":{"kind":"string","value":"cec712bbde54b52b0a0b67e1a9af60c8bc902fa3"},"directory_id":{"kind":"string","value":"4d31c9548777356e4fca0303f09df311d6df352e"},"path":{"kind":"string","value":"/lib/data/symbol.py"},"content_id":{"kind":"string","value":"72b35d4f01111c3ef02cd28474b29de6a89903bc"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"enki-labs/heck"},"repo_url":{"kind":"string","value":"https://github.com/enki-labs/heck"},"snapshot_id":{"kind":"string","value":"021421ec3df60b952ae472b838e10d8c8cb63e33"},"revision_id":{"kind":"string","value":"5e9d3c1559e54087d1f83507e25ed891e4649695"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-10T19:31:06.706602","string":"2021-01-10T19:31:06.706602"},"revision_date":{"kind":"timestamp","value":"2014-04-26T14:22:17","string":"2014-04-26T14:22:17"},"committer_date":{"kind":"timestamp","value":"2014-04-26T14:22:17","string":"2014-04-26T14:22:17"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"\"\"\"\nInstrument class accessing metadata, mappings etc.\n\n\"\"\"\n\nfrom lib import common\nfrom lib import schema\n\ndef get_reuters (symbol):\n \"\"\" Get an instrument using a Reuters symbol \"\"\"\n symbol_resolve = schema.table.symbol_resolve\n args = and_(symbol_resolve.columns.symbol==symbol, symbol_resolve.columns.source==\"reuters\")\n matches = schema.select(symbol_resolve, args)\n if matches.rowcount == 0:\n raise Exception(\"Cannot map Reuters instrument %s\" % symbol)\n return Series(matches.fetchone()[2])\n\ndef get (symbol, create):\n \"\"\" Get symbol definition \"\"\"\n symbol_instance = schema.select_one(\"symbol\", schema.table.symbol.symbol==symbol)\n if symbol_instance:\n return symbol_instance\n elif create:\n symbol_instance = schema.table.symbol()\n symbol_instance.symbol = symbol\n return symbol_instance\n else:\n raise Exception(\"Unknown symbol (%s)\", symbol)\n\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}},{"rowIdx":1186,"cells":{"__id__":{"kind":"number","value":14139032373315,"string":"14,139,032,373,315"},"blob_id":{"kind":"string","value":"975a62f63da8ece923d0d3770343280bdbecf874"},"directory_id":{"kind":"string","value":"6be742824b1f4dd5f87b6afc63d823ad984c22e3"},"path":{"kind":"string","value":"/tests/__init__.py"},"content_id":{"kind":"string","value":"fec3b79eb679e0547d5d34218b0aea99ef724534"},"detected_licenses":{"kind":"list like","value":["AGPL-3.0-only"],"string":"[\n \"AGPL-3.0-only\"\n]"},"license_type":{"kind":"string","value":"non_permissive"},"repo_name":{"kind":"string","value":"BlackFlagConsortium/makershop"},"repo_url":{"kind":"string","value":"https://github.com/BlackFlagConsortium/makershop"},"snapshot_id":{"kind":"string","value":"d584c423aa9ad06c51ff772d5e25dbbaa21bf555"},"revision_id":{"kind":"string","value":"01bfb465538f28bbe20489887355af6c0bb4a5c1"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-10T21:18:44.391962","string":"2021-01-10T21:18:44.391962"},"revision_date":{"kind":"timestamp","value":"2013-11-06T19:47:34","string":"2013-11-06T19:47:34"},"committer_date":{"kind":"timestamp","value":"2013-11-06T19:47:34","string":"2013-11-06T19:47:34"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"import pprint\nimport unittest\n\nfrom flask import json\n\nfrom makershop import create_app\nfrom makershop.models import db\nfrom .factories import UserFactory\n\n\nclass MakershopTestCase(unittest.TestCase):\n def setUp(self):\n #db.create_all(app=create_app())\n self.app = create_app()\n self.app.debug = True\n #self.client = self.app.test_client()\n with self.app.test_request_context():\n db.drop_all()\n db.create_all()\n self.client = self.app.test_client()\n\n def tearDown(self):\n with self.app.test_request_context():\n db.drop_all()\n\n def assert_api_error(self, response, status_code, message):\n if response.status_code != status_code:\n raise AssertionError(\n \"HTTP Status: {actual} !== {expected}\".format(\n actual=response.status_code,\n expected=status_code,\n )\n )\n\n if json.loads(response.data) != {'message': message}:\n raise AssertionError(\n 'returned JSON:\\n\\nGot: {}\\n\\nExpected: {}'.format(\n response.data.decode('utf-8'),\n json.dumps({'message': message})\n )\n )\n\n\nclass UserLoggedIn(MakershopTestCase):\n def setUp(self):\n super().setUp()\n self.client = self.app.test_client()\n\n with self.app.test_request_context():\n self.user = UserFactory.create(password='foo')\n\n self.client.post(\n '/user/login/',\n data={\n 'username': self.user.email,\n 'password': 'foo',\n }\n )\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2013,"string":"2,013"}}},{"rowIdx":1187,"cells":{"__id__":{"kind":"number","value":4200478039695,"string":"4,200,478,039,695"},"blob_id":{"kind":"string","value":"989550166ca2d2f958d8c32743ab3da089fc5d1f"},"directory_id":{"kind":"string","value":"f4efd48507a830a0c1248393947ce5a74644bf28"},"path":{"kind":"string","value":"/scripts/train_test_split.py"},"content_id":{"kind":"string","value":"4771bd7788aee4613346cbe815966ea5ee66de7a"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"pschulam-attic/ulm"},"repo_url":{"kind":"string","value":"https://github.com/pschulam-attic/ulm"},"snapshot_id":{"kind":"string","value":"25bfdfa947be3dfe96a005b224a4bb6862be54de"},"revision_id":{"kind":"string","value":"9f77ab18de2c9a5f18cc7b8daa944e58ed8c1e45"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-09-06T17:19:47.952537","string":"2016-09-06T17:19:47.952537"},"revision_date":{"kind":"timestamp","value":"2013-05-09T17:21:39","string":"2013-05-09T17:21:39"},"committer_date":{"kind":"timestamp","value":"2013-05-09T17:21:39","string":"2013-05-09T17:21:39"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"import argparse\nimport random\nimport sys\n\ndef main():\n parser = argparse.ArgumentParser()\n parser.add_argument('-p', help='Percentage of data for training', type=float)\n parser.add_argument('--train', help='Write the training data to this file', default='train.txt')\n parser.add_argument('--test', help='Write the test data to this file', default='test.txt')\n parser.add_argument('--seed', help='Random seed (a string)', default='split')\n args = parser.parse_args()\n\n data = [l.strip() for l in sys.stdin if l.strip()]\n random.seed(args.seed)\n train_set = set(random.sample(xrange(len(data)), int(args.p * len(data))))\n\n with open(args.train, 'w') as train, open(args.test, 'w') as test:\n for i, d in enumerate(data):\n stream = train if i in train_set else test\n stream.write(d + '\\n')\n\n\nif __name__ == '__main__':\n main()\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2013,"string":"2,013"}}},{"rowIdx":1188,"cells":{"__id__":{"kind":"number","value":12292196416134,"string":"12,292,196,416,134"},"blob_id":{"kind":"string","value":"f622e338359c699204218cd6a1ac9f5e330bed8c"},"directory_id":{"kind":"string","value":"5f3dccbac5179b500054add89744220591ce838f"},"path":{"kind":"string","value":"/client.py"},"content_id":{"kind":"string","value":"3b0bd8e2968bc86f97b664900e4a1ee3e70844fa"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"f-prime/IonicBackup"},"repo_url":{"kind":"string","value":"https://github.com/f-prime/IonicBackup"},"snapshot_id":{"kind":"string","value":"23cb1e49c45799a5a5c86a4216817f5dca1f51e5"},"revision_id":{"kind":"string","value":"17b467bfcfe41b959c1c0ace3d3d4627531ae2f4"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-05-27T16:28:35.642015","string":"2021-05-27T16:28:35.642015"},"revision_date":{"kind":"timestamp","value":"2013-04-05T00:40:13","string":"2013-04-05T00:40:13"},"committer_date":{"kind":"timestamp","value":"2013-04-05T00:40:13","string":"2013-04-05T00:40:13"},"github_id":{"kind":"number","value":8789289,"string":"8,789,289"},"star_events_count":{"kind":"number","value":4,"string":"4"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"import socket, os, time, sys, thread, getpass, hashlib\n\nclass IonicClient:\n def __init__(self, ip, port, username, password):\n self.ip = ip\n self.port = port\n self.username = hashlib.sha256(username).hexdigest()\n self.password = hashlib.sha256(password).hexdigest()\n self.dirs = []\n self.files = {}\n for x,y,z in os.walk(os.getcwd()):\n for b in z:\n if b == sys.argv[0]:\n continue\n with open(x+\"/\"+b, 'rb') as file:\n self.files[b.strip(\"/\")] = hash(file.read())\n def main(self):\n while True:\n try:\n time.sleep(1)\n stuff = self.list().split(\":\")\n try:\n dir = eval(stuff[0])\n except SyntaxError:\n print \"\\nLogin Failed\"\n break\n file = eval(stuff[1])\n for x in dir:\n if not os.path.exists(x.strip(\"/\")):\n os.mkdir(x.strip(\"/\"))\n self.dirs.append(x)\n for x in file:\n if not os.path.exists(x) and x not in self.files:\n self.get(x)\n with open(x, 'rb') as f:\n self.files[x] = hash(f.read())\n if not os.path.exists(x) and x in self.files:\n self.delete(x)\n del self.files[x]\n for x,y,z in os.walk(os.getcwd()):\n for d in y:\n direc = x.strip(os.getcwd())+\"/\"+d\n direc = direc.strip(\"/\")\n if direc not in self.dirs:\n self.dirs.append(direc)\n if direc not in dir:\n self.senddir(direc)\n for f in z:\n file_c = x +\"/\"+ f\n file_c = file_c.replace(os.getcwd(), '').strip(\"/\")\n if file_c == sys.argv[0]:\n continue\n if file_c in self.files and file_c not in file:\n self.send(file_c)\n elif file_c not in self.files and file_c not in file:\n with open(file_c, 'rb') as f:\n self.files[file_c] = hash(f.read())\n self.send(file_c)\n elif file_c in self.files and file_c in file:\n with open(file_c, 'rb') as f:\n if hash(f.read()) != self.files[file_c]:\n self.send(file_c)\n with open(file_c, 'rb') as f:\n self.files[file_c] = hash(f.read())\n except Exception, error:\n print error\n print \"\\n Could not connect to server, trying again.\"\n time.sleep(1)\n def senddir(self, direc):\n senddir = socket.socket()\n try:\n senddir.connect((self.ip, self.port))\n except:\n print \"Could not connect to server.\"\n send = \"senddir {0} {1} {2}\".format(direc, self.username, self.password)\n senddir.send(send)\n senddir.close()\n def list(self):\n list = socket.socket()\n try:\n list.connect((self.ip, self.port))\n except:\n print \"Could not connect to server.\"\n send = \"list {0} {1}\".format(self.username, self.password)\n list.send(send)\n data = ''\n while True:\n d = list.recv(1024)\n data = data + d\n if not d:\n break\n return data\n list.close()\n def send(self, file):\n print \"sending\", file\n send = socket.socket()\n send.connect((self.ip, self.port))\n sends = \"send {0} {1} {2}\\r\\n\\r\\n\".format(file, self.username, self.password)\n send.send(sends)\n with open(file, 'rb') as file_:\n for x in file_.readlines():\n send.send(x)\n print \"Done sending\", file\n send.close()\n def get(self, file):\n print \"Downloading\", file\n get = socket.socket()\n try:\n get.connect((self.ip, self.port))\n except:\n print \"Could not connect to server\"\n send = \"get {0} {1} {2}\".format(file, self.username, self.password)\n get.send(send)\n with open(file, 'wb') as name:\n while True:\n data = get.recv(1024)\n if not data:\n print \"Done downloading\", file\n get.close()\n break\n name.write(data)\n def delete(self, file):\n if file == sys.argv[0]:\n print \"You can not delete Ionic Backup Client\"\n else:\n try:\n os.remove(file)\n except:\n print \"File doesn't exist\"\n\n delete = socket.socket()\n try:\n delete.connect((self.ip, self.port))\n except:\n print \"Could not connect to server.\"\n send = \"del {0} {1} {2}\".format(file, self.username, self.password)\n delete.send(send)\n delete.close()\n def delete_dir(self, file):\n try:\n os.rmdir(file)\n except:\n print \"Directory doesn't exist\"\n deldir = socket.socket()\n try:\n deldir.connect((self.ip, self.port))\n except:\n print \"Could not connect to server.\"\n \n send = \"deldir {0} {1} {2}\".format(file, self.username, self.password)\n deldir.send(send)\n deldir.close()\n\ndef shell(ip, port, username, password):\n while True:\n cmd = raw_input(\"IonicShell> \")\n if cmd == \"help\":\n print \"\"\"\n\n rm - Deletes a file on the server and locally.\n rmdir - Deletes a directory on the server and locally.\n ls - Returns all the files on the server.\n\n \"\"\"\n elif cmd.startswith(\"rm \"):\n cmd = cmd.split()[1]\n IonicClient(ip, port, username, password).delete(cmd)\n\n elif cmd.startswith(\"rmdir \"):\n cmd = cmd.split()[1]\n IonicClient(ip, port, username, password).delete_dir(cmd)\n elif cmd == \"ls\":\n stuff = IonicClient(ip, port, username, password).list().split(\":\")\n print \"Directories: \\n\"+'\\n'.join(eval(stuff[0]))\n print \"\\n\"\n print \"Files: \\n\"+'\\n'.join(eval(stuff[1]))\n\nif __name__ == \"__main__\":\n try:\n ip = sys.argv[1]\n port = int(sys.argv[2])\n except IndexError:\n print \"Usage: python client.py \"\n else:\n username = raw_input(\"Username: \")\n password = getpass.getpass(\"Password: \")\n thread.start_new_thread(shell, (ip, port, username, password))\n IonicClient(ip, port, username, password).main()\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2013,"string":"2,013"}}},{"rowIdx":1189,"cells":{"__id__":{"kind":"number","value":18528488934689,"string":"18,528,488,934,689"},"blob_id":{"kind":"string","value":"7a6929f42659f7250da041793911e80342ef94a9"},"directory_id":{"kind":"string","value":"975e70f89e54e91adc00f1028183011f6a9a37fd"},"path":{"kind":"string","value":"/Software Debugging/fuzzing.py"},"content_id":{"kind":"string","value":"5bae71e90f61335351740d89f3d47776f1bd18e9"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"marceldallagnol/short-programs"},"repo_url":{"kind":"string","value":"https://github.com/marceldallagnol/short-programs"},"snapshot_id":{"kind":"string","value":"953ca21a71a0a1ada6c85e05ad416c8049983a28"},"revision_id":{"kind":"string","value":"9a5fd1f1f92d4789e43c81b8953cb9770a08e1b5"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-05-27T23:03:32.965876","string":"2021-05-27T23:03:32.965876"},"revision_date":{"kind":"timestamp","value":"2012-09-15T23:42:28","string":"2012-09-15T23:42:28"},"committer_date":{"kind":"timestamp","value":"2012-09-15T23:42:28","string":"2012-09-15T23:42:28"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"from subprocess import call\nfrom datetime import datetime\nfrom random import randrange\nfrom shutil import copy\n\nfor i in range(100000):\n test = list(open('front_base.pdf','rb').read())\n test[randrange(len(test))] = '%c' % randrange(256)\n test = ''.join(test)\n front = open('front.pdf', 'w')\n front.write(test)\n front.close()\n call('pdftk front.pdf background back.pdf output out.pdf'.split())\n copy('front.pdf', str(i) + '_' + str(datetime.now()))\n print i\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2012,"string":"2,012"}}},{"rowIdx":1190,"cells":{"__id__":{"kind":"number","value":18897856114293,"string":"18,897,856,114,293"},"blob_id":{"kind":"string","value":"c0cd10b877e2bca6ebb83dd21e6541375a29c55e"},"directory_id":{"kind":"string","value":"64369aee9ec21d0bcc59afb345069ad7168dada4"},"path":{"kind":"string","value":"/model/book.py"},"content_id":{"kind":"string","value":"ac2f9664688be6dd2a800f9883c0ec84610dd5fd"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"nair13/Molurus"},"repo_url":{"kind":"string","value":"https://github.com/nair13/Molurus"},"snapshot_id":{"kind":"string","value":"ab313f02dc21d68e98c0014ce5cc4c4a11981fed"},"revision_id":{"kind":"string","value":"5c71151b0e435f0caa34faacaf2e18c98e5ab831"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-09-10T20:24:48.633580","string":"2016-09-10T20:24:48.633580"},"revision_date":{"kind":"timestamp","value":"2014-07-02T14:57:21","string":"2014-07-02T14:57:21"},"committer_date":{"kind":"timestamp","value":"2014-07-02T14:57:21","string":"2014-07-02T14:57:21"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"# -*- coding: utf-8 -*-\nimport fileops as op\n\ndef list_books(db,conf):\n book = \"%s_book\"%conf.db_pre\n books = db.select(book)\n return books\n\ndef add_book(db,conf,i):\n book = \"%s_book\"%conf.db_pre\n db.insert(book, book_title = i.book_title,\n book_author = i.book_author,\n book_category = i.book_category,\n book_count = i.book_count)\n\ndef issue_book(db,conf,i):\n transact = \"%s_transact\"%conf.db_pre\n cur = op.curr_date()\n db.insert(transact, book_id = id(i.book_id),\n user_id = i.user_id,\n issue_date = cur,\n return_date = cur,\n due_date = i.due_date)"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}},{"rowIdx":1191,"cells":{"__id__":{"kind":"number","value":4629974758612,"string":"4,629,974,758,612"},"blob_id":{"kind":"string","value":"46ec9067d736d46b27c6db1398f5ff3238a42fc6"},"directory_id":{"kind":"string","value":"6bf31679387a3cbd40cde69aa63dd685a9f03662"},"path":{"kind":"string","value":"/dirt/django.py"},"content_id":{"kind":"string","value":"db5f742c93a2eb5760a118a5e7e5b34db25789b3"},"detected_licenses":{"kind":"list like","value":["BSD-2-Clause"],"string":"[\n \"BSD-2-Clause\"\n]"},"license_type":{"kind":"string","value":"permissive"},"repo_name":{"kind":"string","value":"joelcrocker/dirt"},"repo_url":{"kind":"string","value":"https://github.com/joelcrocker/dirt"},"snapshot_id":{"kind":"string","value":"bc7d409b2f88c4f57dee9f498e0d2b2c29a0cddc"},"revision_id":{"kind":"string","value":"70150add2b58f5040e242ad97d052910b6a66646"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-16T21:01:57.283605","string":"2021-01-16T21:01:57.283605"},"revision_date":{"kind":"timestamp","value":"2013-02-05T00:38:04","string":"2013-02-05T00:38:04"},"committer_date":{"kind":"timestamp","value":"2013-02-05T00:38:04","string":"2013-02-05T00:38:04"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"from __future__ import absolute_import\n\nimport logging\n\nfrom django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp\nfrom django.conf import settings\nfrom gevent.wsgi import WSGIServer\nimport gevent\n\nfrom .app import DirtApp\n\n\nclass DjangoApp(DirtApp):\n log = logging.getLogger(__name__)\n\n def setup(self):\n self.application = DjangoWSGIApp()\n if self.settings.DEBUG:\n from werkzeug import DebuggedApplication\n self.application = DebuggedApplication(self.application, evalex=True)\n settings.get_api = self.settings.get_api\n self.server = WSGIServer(self.settings.http_bind, self.application, log=None)\n\n def serve_dirt_rpc(self):\n \"\"\" Calls ``DirtApp.serve`` to start the RPC server, which lets callers\n use the debug API. \"\"\"\n if getattr(self.settings, \"bind_url\", None) is None:\n self.log.info(\"no `bind_url` specified; RPC server not starting.\")\n return\n DirtApp.serve(self)\n\n def serve(self):\n self.api_thread = gevent.spawn(self.serve_dirt_rpc)\n self.log.info(\"Starting server on http://%s:%s...\", *self.settings.http_bind)\n self.server.serve_forever()\n\n def get_api(self, *args, **kwargs):\n \"\"\" The DjangoApp returns an empty API object by default so that tab\n completion of the API will work. Feel free to override this method.\n \"\"\"\n return object()\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2013,"string":"2,013"}}},{"rowIdx":1192,"cells":{"__id__":{"kind":"number","value":10660108851044,"string":"10,660,108,851,044"},"blob_id":{"kind":"string","value":"1e14f9b23cf4016cc3ef224f114a60ac918cf69c"},"directory_id":{"kind":"string","value":"98096fce6b6e05d10b3fc3c979afafe8d6aa54f5"},"path":{"kind":"string","value":"/cerberos/admin.py"},"content_id":{"kind":"string","value":"f6e427d21273e0dbc236037a41768914d084deef"},"detected_licenses":{"kind":"list like","value":["BSD-3-Clause"],"string":"[\n \"BSD-3-Clause\"\n]"},"license_type":{"kind":"string","value":"permissive"},"repo_name":{"kind":"string","value":"AdrianRibao/cerberos"},"repo_url":{"kind":"string","value":"https://github.com/AdrianRibao/cerberos"},"snapshot_id":{"kind":"string","value":"eec4b15f897fbc349dd22db1ca404a089dc35426"},"revision_id":{"kind":"string","value":"25c1878ca14a1d1ac90315029e74c6e2f9cf8bd6"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-25T08:42:43.147364","string":"2021-01-25T08:42:43.147364"},"revision_date":{"kind":"timestamp","value":"2014-06-04T12:20:49","string":"2014-06-04T12:20:49"},"committer_date":{"kind":"timestamp","value":"2014-06-04T12:21:24","string":"2014-06-04T12:21:24"},"github_id":{"kind":"number","value":6059635,"string":"6,059,635"},"star_events_count":{"kind":"number","value":1,"string":"1"},"fork_events_count":{"kind":"number","value":1,"string":"1"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"bool","value":false,"string":"false"},"gha_event_created_at":{"kind":"timestamp","value":"2013-01-11T10:27:50","string":"2013-01-11T10:27:50"},"gha_created_at":{"kind":"timestamp","value":"2012-10-03T12:20:41","string":"2012-10-03T12:20:41"},"gha_updated_at":{"kind":"timestamp","value":"2013-01-10T12:30:04","string":"2013-01-10T12:30:04"},"gha_pushed_at":{"kind":"timestamp","value":"2013-01-10T12:30:03","string":"2013-01-10T12:30:03"},"gha_size":{"kind":"number","value":160,"string":"160"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"number","value":1,"string":"1"},"gha_open_issues_count":{"kind":"number","value":2,"string":"2"},"gha_language":{"kind":"string","value":"Python"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"# -*- coding: utf-8 -*-\nfrom django.contrib import admin\nfrom cerberos.models import FailedAccessAttempt\nfrom django.utils.translation import ugettext as _ \n\nclass FailedAccessAttemptAdmin(admin.ModelAdmin):\n date_hierarchy = 'created'\n list_display = [\n 'ip_address',\n 'username',\n 'locked',\n 'expired',\n 'user_agent',\n 'failed_logins',\n 'get_time_to_forget_text',\n 'site',\n ]\n list_filter = [\n 'locked',\n 'expired',\n 'site',\n ]\n search_fields = [\n 'ip_address',\n 'username',\n 'user_agent',\n ]\n fieldsets = (\n ('Main data', {\n 'fields': ('site', 'ip_address', 'username', 'locked', 'expired', 'failed_logins', )\n }),\n ('Data recollected', {\n #'classes': ('collapse',),\n 'fields': ('user_agent', 'get_data', 'post_data', 'http_accept', 'path_info',)\n }),\n )\n actions = ['lock', 'unlock']\n\n def lock(self, request, queryset):\n queryset.update(locked=True)\n lock.short_description = _(u'Lock the users')\n\n def unlock(self, request, queryset):\n queryset.update(locked=False)\n unlock.short_description = _(u'Unlock the users')\n\nadmin.site.register(FailedAccessAttempt, FailedAccessAttemptAdmin)\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}},{"rowIdx":1193,"cells":{"__id__":{"kind":"number","value":14336600864901,"string":"14,336,600,864,901"},"blob_id":{"kind":"string","value":"8f988c53d4bdb3a51de19673f5a74305d4df3c15"},"directory_id":{"kind":"string","value":"d115cf7a1b374d857f6b094d4b4ccd8e9b1ac189"},"path":{"kind":"string","value":"/tags/pyplusplus_dev_1.0.0/unittests/transfer_ownership_old_tester.py"},"content_id":{"kind":"string","value":"7883a27035a915920e279dfbf359e28931357e53"},"detected_licenses":{"kind":"list like","value":["BSL-1.0"],"string":"[\n \"BSL-1.0\"\n]"},"license_type":{"kind":"string","value":"permissive"},"repo_name":{"kind":"string","value":"gatoatigrado/pyplusplusclone"},"repo_url":{"kind":"string","value":"https://github.com/gatoatigrado/pyplusplusclone"},"snapshot_id":{"kind":"string","value":"30af9065fb6ac3dcce527c79ed5151aade6a742f"},"revision_id":{"kind":"string","value":"a64dc9aeeb718b2f30bd6a5ff8dcd8bfb1cd2ede"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-09-05T23:32:08.595261","string":"2016-09-05T23:32:08.595261"},"revision_date":{"kind":"timestamp","value":"2010-05-16T10:53:45","string":"2010-05-16T10:53:45"},"committer_date":{"kind":"timestamp","value":"2010-05-16T10:53:45","string":"2010-05-16T10:53:45"},"github_id":{"kind":"number","value":700369,"string":"700,369"},"star_events_count":{"kind":"number","value":4,"string":"4"},"fork_events_count":{"kind":"number","value":2,"string":"2"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"# Copyright 2004-2008 Roman Yakovenko.\r\n# Distributed under the Boost Software License, Version 1.0. (See\r\n# accompanying file LICENSE_1_0.txt or copy at\r\n# http://www.boost.org/LICENSE_1_0.txt)\r\n\r\nimport os\r\nimport sys\r\nimport unittest\r\nimport fundamental_tester_base\r\nfrom pyplusplus import code_creators\r\nfrom pyplusplus.module_builder import call_policies\r\nfrom pyplusplus import function_transformers as ft\r\n\r\n\r\nimpl_conv_code = \\\r\n\"\"\"\r\nboost::python::implicitly_convertible< std::auto_ptr< %(from)s >, std::auto_ptr< %(to)s > >();\r\n\"\"\"\r\n\r\nregister_sptr = \\\r\n\"\"\"\r\nboost::python::register_ptr_to_python< %s >();\r\n\"\"\"\r\n\r\nclass tester_t(fundamental_tester_base.fundamental_tester_base_t):\r\n EXTENSION_NAME = 'transfer_ownership_old'\r\n \r\n def __init__( self, *args ):\r\n fundamental_tester_base.fundamental_tester_base_t.__init__( \r\n self\r\n , tester_t.EXTENSION_NAME\r\n , *args )\r\n\r\n def customize( self, mb ):\r\n event_clss = mb.classes( lambda cls: cls.name in ( 'event_t', 'do_nothing_t' ) )\r\n for cls in event_clss:\r\n cls.exposed_class_type = cls.EXPOSED_CLASS_TYPE.WRAPPER \r\n cls.held_type = 'std::auto_ptr< %s >' % cls.wrapper_alias\r\n cls.add_registration_code( register_sptr % 'std::auto_ptr< %s >' % cls.decl_string, False )\r\n cls.add_registration_code( impl_conv_code % { 'from' : cls.wrapper_alias\r\n , 'to' : cls.decl_string }\r\n , False)\r\n for base in cls.recursive_bases:\r\n if base.access_type == 'public':\r\n cls.add_registration_code( #from class to its base\r\n impl_conv_code % { 'from' : cls.decl_string\r\n , 'to' : base.related_class.decl_string }\r\n , False)\r\n \r\n cls.add_registration_code( #from wrapper to clas base class\r\n impl_conv_code % { 'from' : cls.wrapper_alias\r\n , 'to' : base.related_class.decl_string }\r\n , False)\r\n\r\n simulator = mb.class_( 'simulator_t' )\r\n simulator.mem_fun( 'get_event' ).call_policies \\\r\n = call_policies.return_internal_reference()\r\n schedule = mb.mem_fun( 'schedule' )\r\n schedule.add_transformation( ft.transfer_ownership(0), alias='schedule' )\r\n \r\n def run_tests( self, module):\r\n class py_event_t( module.event_t ):\r\n def __init__( self, container ):\r\n module.event_t.__init__( self )\r\n self.container = container\r\n \r\n def notify( self ):\r\n print 'notify'\r\n self.container.append( 1 )\r\n print '1 was append'\r\n \r\n print 'test started'\r\n notify_data = []\r\n simulator = module.simulator_t()\r\n print 'simulator created'\r\n event = py_event_t( notify_data )\r\n print 'py_event_t created: ', id( event )\r\n simulator.schedule( event ) \r\n print 'event was shceduled'\r\n print 'event refcount: ', sys.getrefcount( event )\r\n print 'simulator refcount: ', sys.getrefcount( simulator )\r\n #~ del event\r\n print 'event was deleted'\r\n event = simulator.get_event()\r\n print 'event was restored via saved reference in simulator: ', id( event )\r\n print 'event refcount: ', sys.getrefcount( simulator.get_event() )\r\n print 'call event.notify(): ', simulator.get_event().notify()\r\n print 'call simulator.run()'\r\n simulator.run()\r\n self.failUnless( notify_data[0] == 1 )\r\n \r\ndef create_suite():\r\n suite = unittest.TestSuite() \r\n suite.addTest( unittest.makeSuite(tester_t))\r\n return suite\r\n\r\ndef run_suite():\r\n unittest.TextTestRunner(verbosity=2).run( create_suite() )\r\n\r\nif __name__ == \"__main__\":\r\n run_suite()\r\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2010,"string":"2,010"}}},{"rowIdx":1194,"cells":{"__id__":{"kind":"number","value":15350213132505,"string":"15,350,213,132,505"},"blob_id":{"kind":"string","value":"bd3f846a51bf1c46eaec913cd7ebc30ca017236a"},"directory_id":{"kind":"string","value":"66fcdc7a97ad8979c8fddddf8a7d5ce0727bc486"},"path":{"kind":"string","value":"/src/test.py"},"content_id":{"kind":"string","value":"72bb5b157e814a3f3f6edaaa238ec4342b54c030"},"detected_licenses":{"kind":"list like","value":["MIT"],"string":"[\n \"MIT\"\n]"},"license_type":{"kind":"string","value":"permissive"},"repo_name":{"kind":"string","value":"rflynn/radixtree"},"repo_url":{"kind":"string","value":"https://github.com/rflynn/radixtree"},"snapshot_id":{"kind":"string","value":"f61a4c74a7c7ba9704e5d539361b177b18d12273"},"revision_id":{"kind":"string","value":"398b71157e83e994c59fa88bcabfd8ebcac52017"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-09-05T19:28:17.076752","string":"2016-09-05T19:28:17.076752"},"revision_date":{"kind":"timestamp","value":"2014-03-08T22:32:18","string":"2014-03-08T22:32:18"},"committer_date":{"kind":"timestamp","value":"2014-03-08T22:32:18","string":"2014-03-08T22:32:18"},"github_id":{"kind":"number","value":3547109,"string":"3,547,109"},"star_events_count":{"kind":"number","value":1,"string":"1"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"# ex: set ts=4 et:\n\nfrom radixtree import RadixTree, URLTree\n\nRadixTree.test()\nURLTree.test()\n\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}},{"rowIdx":1195,"cells":{"__id__":{"kind":"number","value":13099650268405,"string":"13,099,650,268,405"},"blob_id":{"kind":"string","value":"bc115d46c27758e706498234519b250073c8c303"},"directory_id":{"kind":"string","value":"65ac1849fad78cc8effe46bf3aa6df0a8fb39058"},"path":{"kind":"string","value":"/triangle/test.py"},"content_id":{"kind":"string","value":"22dbd69a2be2264f9290439b7232db26c3e29638"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"thylm55/ktpm2013"},"repo_url":{"kind":"string","value":"https://github.com/thylm55/ktpm2013"},"snapshot_id":{"kind":"string","value":"97d827ffcadc1acb770dba4e14caf5e5e76785ce"},"revision_id":{"kind":"string","value":"f7ea72368c4e8c2bd30681dff71766987ee75d1c"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2016-09-06T11:04:47.768403","string":"2016-09-06T11:04:47.768403"},"revision_date":{"kind":"timestamp","value":"2013-10-19T17:30:06","string":"2013-10-19T17:30:06"},"committer_date":{"kind":"timestamp","value":"2013-10-19T17:30:06","string":"2013-10-19T17:30:06"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"OUTPUT01 = 'equilateral triangle'\nOUTPUT02 = 'isosceles right triangle'\nOUTPUT03 = 'right triangle'\nOUTPUT04 = 'isosceles triangle'\nOUTPUT05 = 'triangle'\nOUTPUT06 = 'not identified'\n\nimport unittest\nimport math\n\nfrom triangle import detect_triangle\n\nclass TriangleTest(unittest.TestCase):\n # classification test cases\n\n # equilateral triangle\n def test01a(self):\n result = detect_triangle(3, 3, 3)\n self.assertEqual(result, OUTPUT01)\n \n def test01b(self):\n result = detect_triangle(2**32-1, 2**32-1, 2**32-1)\n self.assertEqual(result, OUTPUT01)\n\n def test01c(self):\n result = detect_triangle(1e-30, 1e-30, 1e-30)\n self.assertEqual(result, OUTPUT01)\n\n # isosceles right triangle\n def test02a(self):\n result = detect_triangle(2, 2, math.sqrt(8))\n self.assertEqual(result, OUTPUT02)\n \n def test02b(self):\n result = detect_triangle(3, 3, math.sqrt(18))\n self.assertEqual(result, OUTPUT02)\n\n def test02c(self):\n result = detect_triangle(4, 4, math.sqrt(32))\n self.assertEqual(result, OUTPUT02)\n\n def test02d(self):\n result = detect_triangle(7, 7, math.sqrt(98))\n self.assertEqual(result, OUTPUT02)\n\n # right triangle\n def test03a(self):\n result = detect_triangle(3, 4, 5)\n self.assertEqual(result, OUTPUT03)\n\n def test03b(self):\n result = detect_triangle(6, 5, math.sqrt(61))\n self.assertEqual(result, OUTPUT03)\n\n # isosceles triangle\n def test04a(self):\n result = detect_triangle(7, 7, 5)\n self.assertEqual(result, OUTPUT04)\n\n def test04b(self):\n result = detect_triangle(2**32-1, 2**32-1, 4)\n self.assertEqual(result, OUTPUT04)\n\n def test04c(self):\n result = detect_triangle(2**32-1, 2**32-1, 2**32-2)\n self.assertEqual(result, OUTPUT04)\n\n def test04d(self):\n result = detect_triangle(2**32-1, 4, 2**32-1)\n self.assertEqual(result, OUTPUT04)\n\n def test04d(self):\n result = detect_triangle(2**32-1, 4, 2**32-1)\n self.assertEqual(result, OUTPUT04)\n\n # triangle\n def test05a(self):\n result = detect_triangle(2, 3, 4)\n self.assertEqual(result, OUTPUT05)\n\n def test05b(self):\n result = detect_triangle(2**32-1, 2**32-2, 2**32-3)\n self.assertEqual(result, OUTPUT05)\n\n def test05c(self):\n result = detect_triangle(2**32-1, 2**32-2, 3)\n self.assertEqual(result, OUTPUT05) \n\n def test06a(self):\n result = detect_triangle(1, 2, 3)\n self.assertEqual(result, OUTPUT06)\n\n # input test cases\n def test07a(self):\n result = detect_triangle(-2, 3, 4)\n self.assertEqual(result, OUTPUT06)\n\n def test07b(self):\n result = detect_triangle(2, -3, 4)\n self.assertEqual(result, OUTPUT06)\n\n def test07c(self):\n result = detect_triangle(2, 3, -4)\n self.assertEqual(result, OUTPUT06)\n\n def test08a(self):\n result = detect_triangle(\"a\", 3, 4)\n self.assertEqual(result, OUTPUT06)\n\n def test08b(self):\n result = detect_triangle(2, \"math.sqrt(2)\", 4)\n self.assertEqual(result, OUTPUT06)\n\n def test08c(self):\n result = detect_triangle(2, 3, \"2**32-1\")\n self.assertEqual(result, OUTPUT06)\n\n def test09a(self):\n result = detect_triangle()\n self.assertEqual(result, OUTPUT06)\n\n def test09b(self):\n result = detect_triangle(2)\n self.assertEqual(result, OUTPUT06)\n\n def test09c(self):\n result = detect_triangle(2, 3)\n self.assertEqual(result, OUTPUT06)\n\n def test10a(self):\n result = detect_triangle(0, 0, 0)\n self.assertEqual(result, OUTPUT06)\n\n def test10b(self):\n result = detect_triangle(0, 3, 4)\n self.assertEqual(result, OUTPUT06)\n\n def test10c(self):\n result = detect_triangle(2, 0, 4)\n self.assertEqual(result, OUTPUT06)\n\n def test10d(self):\n result = detect_triangle(2, 3, 0)\n self.assertEqual(result, OUTPUT06)\n\n# run test\nif __name__ == '__main__':\n unittest.main()\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2013,"string":"2,013"}}},{"rowIdx":1196,"cells":{"__id__":{"kind":"number","value":19670950233002,"string":"19,670,950,233,002"},"blob_id":{"kind":"string","value":"0ce4b762cba8c0ef8a7780daa575967c655eb588"},"directory_id":{"kind":"string","value":"119efda3f0af227958aa9b14e7ea1687453cdf10"},"path":{"kind":"string","value":"/kv15/kv15messages.py"},"content_id":{"kind":"string","value":"04f2c35e035bc97d234b91858f87473f4131d53b"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"sven4all/openebs"},"repo_url":{"kind":"string","value":"https://github.com/sven4all/openebs"},"snapshot_id":{"kind":"string","value":"9c48fec296973df6f70ccd94259d09c629c69558"},"revision_id":{"kind":"string","value":"f0abbda96b83cb71f323aceaec777a95c01d09f8"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-17T21:47:54.863980","string":"2021-01-17T21:47:54.863980"},"revision_date":{"kind":"timestamp","value":"2012-12-10T01:16:41","string":"2012-12-10T01:16:41"},"committer_date":{"kind":"timestamp","value":"2012-12-10T01:16:41","string":"2012-12-10T01:16:41"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"from io.push import Push\n\nclass KV15messages:\n\tdef __init__(self, stopmessages = None):\n\t\tif stopmessages is None:\n\t\t\tself.stopmessages = []\n\t\telse:\n\t\t\tself.stopmessages = stopmessages\n\t\n\tdef __str__(self):\n\t\txml = \"\"\"\t\\n\"\"\"\n\t\tfor stopmessage in self.stopmessages:\n\t\t\txml += str(stopmessage)\n\t\txml += \"\"\"\t\"\"\"\n\n\t\treturn xml\n\t\n\tdef push(self, remote, path):\n\t\treturn Push(dossiername='KV15messages', content = str(self), namespace='http://bison.connekt.nl/tmi8/kv15/msg').push(remote, path)\n\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2012,"string":"2,012"}}},{"rowIdx":1197,"cells":{"__id__":{"kind":"number","value":15453292358713,"string":"15,453,292,358,713"},"blob_id":{"kind":"string","value":"fe0087481c31804abcdacecfb9846e35607f1760"},"directory_id":{"kind":"string","value":"3967090c44cba1a77dd573ac1b16566ccbdfc5d7"},"path":{"kind":"string","value":"/utilities/prunefiles.py"},"content_id":{"kind":"string","value":"09cdd6ac92c66e41827f2c946bbfd73fac6c4dcc"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"cgperschon/slickqa"},"repo_url":{"kind":"string","value":"https://github.com/cgperschon/slickqa"},"snapshot_id":{"kind":"string","value":"c0e79656b4352140b4ef6a31bc32415a4352b94f"},"revision_id":{"kind":"string","value":"6eae7361da4a95ab22377edf9d1349295d248982"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-01T17:15:56.475399","string":"2021-01-01T17:15:56.475399"},"revision_date":{"kind":"timestamp","value":"2014-02-05T19:49:34","string":"2014-02-05T19:49:34"},"committer_date":{"kind":"timestamp","value":"2014-02-05T19:49:34","string":"2014-02-05T19:49:34"},"github_id":{"kind":"number","value":35633779,"string":"35,633,779"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"#!/usr/bin/env python\n__author__ = 'jcorbett'\n\nimport argparse\nimport pymongo\nimport sys\n\nfrom gridfs import GridFS\n\ndef main(arguments):\n parser = argparse.ArgumentParser(description='Remove files from a set of results.')\n parser.add_argument(\"-p\", \"--project\", dest=\"project\", required=True, help=\"The project to prune files from\")\n parser.add_argument(\"-r\", \"--release\", dest=\"release\", required=True, help=\"The release of the project to prune files from.\")\n options = parser.parse_args(args=arguments)\n\n connection = pymongo.Connection()\n db = connection['slickij']\n gridfs = GridFS(db)\n project = db.projects.find_one({'name': options.project})\n if project is None:\n print \"There is no project with the name\", options.project\n sys.exit(1)\n release = None\n for possible in project['releases']:\n if possible['name'] == options.release:\n release = possible\n break\n else:\n print \"There is no release with the name\", options.release\n sys.exit(1)\n\n number_of_results = db.results.find({'release.releaseId': release['id']}).count()\n print \"There are\", number_of_results, \"results in that release.\"\n resultnum = 0\n for result in db.results.find({'release.releaseId': release['id']}):\n sys.stdout.write(\"{:.2f}%\\r\".format(((float(resultnum) / number_of_results) * 100)))\n sys.stdout.flush()\n resultnum += 1\n if 'files' in result:\n for fileref in result['files']:\n fileobj = db[fileref.collection].find_one(fileref.id)\n gridfs.delete(fileref.id)\n print \"Done Removing files from\", number_of_results, \"results.\"\n print \"Removing file references from the results.\"\n db.results.update({'release.releaseId': release['id']}, {\"$unset\": {\"\": 1}}, False, True)\n print \"Done.\"\n\n\nif __name__ == '__main__':\n main(sys.argv[1:])\n\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}},{"rowIdx":1198,"cells":{"__id__":{"kind":"number","value":2508260911506,"string":"2,508,260,911,506"},"blob_id":{"kind":"string","value":"287eb9f81d624c2e7ffeda1e3c23fb9211060a00"},"directory_id":{"kind":"string","value":"2c3340c0c9c3effc22ce181506a7c76718485510"},"path":{"kind":"string","value":"/src/toolkit/monitoring/hippo/index.py"},"content_id":{"kind":"string","value":"002cfc9a47531bec73892343581bda4ad88bdbbe"},"detected_licenses":{"kind":"list like","value":[],"string":"[]"},"license_type":{"kind":"string","value":"no_license"},"repo_name":{"kind":"string","value":"samtaufa/nomoa.bsd"},"repo_url":{"kind":"string","value":"https://github.com/samtaufa/nomoa.bsd"},"snapshot_id":{"kind":"string","value":"3db5b336c34c8e24f94601129ab4f9682adbbac3"},"revision_id":{"kind":"string","value":"592e158be1d8a078625c56bce973449c61fd6451"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-25T07:34:35.637146","string":"2021-01-25T07:34:35.637146"},"revision_date":{"kind":"timestamp","value":"2011-10-16T10:28:03","string":"2011-10-16T10:28:03"},"committer_date":{"kind":"timestamp","value":"2011-10-16T10:28:03","string":"2011-10-16T10:28:03"},"github_id":{"kind":"number","value":688565,"string":"688,565"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"from countershape.doc import *\nimport countershape\n\nthis.layout = ns.tpl_layout\n\nthis.titlePrefix = ns.titlePrefix + \"[Configuration] \"\n\npages = [\n \n Page(\"install.md\",\n title=\"Install\",\n pageTitle=\"Simple Message System\"),\n]\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2011,"string":"2,011"}}},{"rowIdx":1199,"cells":{"__id__":{"kind":"number","value":4939212441144,"string":"4,939,212,441,144"},"blob_id":{"kind":"string","value":"fcbccc63e45b83c0b89e304ffe25d23be6189e65"},"directory_id":{"kind":"string","value":"fefc919f8a7f348589fdccca864545656844d449"},"path":{"kind":"string","value":"/src/djangofr/repository/setup.py"},"content_id":{"kind":"string","value":"77eb652d3bc491932a764b9453a9f63de426bbfa"},"detected_licenses":{"kind":"list like","value":["GPL-3.0-only"],"string":"[\n \"GPL-3.0-only\"\n]"},"license_type":{"kind":"string","value":"non_permissive"},"repo_name":{"kind":"string","value":"akaak/django-file-repository"},"repo_url":{"kind":"string","value":"https://github.com/akaak/django-file-repository"},"snapshot_id":{"kind":"string","value":"c691a16370ef49a5b0d955b7d7a7c4d117366db1"},"revision_id":{"kind":"string","value":"44dabaf9483be1b8fa028f82679333f9437ac3f5"},"branch_name":{"kind":"string","value":"refs/heads/master"},"visit_date":{"kind":"timestamp","value":"2021-01-21T03:46:11.745046","string":"2021-01-21T03:46:11.745046"},"revision_date":{"kind":"timestamp","value":"2014-03-23T01:51:31","string":"2014-03-23T01:51:31"},"committer_date":{"kind":"timestamp","value":"2014-03-23T01:51:31","string":"2014-03-23T01:51:31"},"github_id":{"kind":"null"},"star_events_count":{"kind":"number","value":0,"string":"0"},"fork_events_count":{"kind":"number","value":0,"string":"0"},"gha_license_id":{"kind":"null"},"gha_fork":{"kind":"null"},"gha_event_created_at":{"kind":"null"},"gha_created_at":{"kind":"null"},"gha_updated_at":{"kind":"null"},"gha_pushed_at":{"kind":"null"},"gha_size":{"kind":"null"},"gha_stargazers_count":{"kind":"null"},"gha_forks_count":{"kind":"null"},"gha_open_issues_count":{"kind":"null"},"gha_language":{"kind":"null"},"gha_archived":{"kind":"null"},"gha_disabled":{"kind":"null"},"content":{"kind":"string","value":"import os\nfrom setuptools import setup\n\n# Utility function to read the README file.\n# Used for the long_description. It's nice, because now 1) we have a top level\n# README file and 2) it's easier to type in the README file than to put a raw\n# string in below ...\ndef read(fname):\n return open(os.path.join(os.path.dirname(__file__), fname)).read()\n\nsetup(\n name = \"django-file-repository\",\n version = \"0.2b\",\n author = \"Oscar Carballal Prego\",\n author_email = \"oscar.carballal@cidadania.coop\",\n description = (\"Simple file repository with public/private files, tags and categories.\"),\n license = \"GPLv3\",\n keywords = \"repository tagging categorization file\",\n url = \"http://github.com/cidadania/django-file-repository\",\n packages=['repository'],\n long_description=read('README'),\n classifiers=[\n \"Development Status :: 4 - Beta/Testing\",\n \"Topic :: Web Utilities\",\n \"Framework :: Django 1.4.5\",\n \"License :: OSI Approved :: GPLv3 License\",\n \"Operating System :: OS Independent\",\n \"Natural Language :: English\",\n \"Natural Language :: Spanish\",\n \"Dependencies :: django-registration, django-taggit\",\n \"Intended Audience :: Everyone\",\n ],\n)\n"},"src_encoding":{"kind":"string","value":"UTF-8"},"language":{"kind":"string","value":"Python"},"is_vendor":{"kind":"bool","value":false,"string":"false"},"is_generated":{"kind":"bool","value":false,"string":"false"},"year":{"kind":"number","value":2014,"string":"2,014"}}}],"truncated":false,"partial":false},"paginationData":{"pageIndex":11,"numItemsPerPage":100,"numTotalItems":42509,"offset":1100,"length":100}},"jwt":"eyJhbGciOiJFZERTQSJ9.eyJyZWFkIjp0cnVlLCJwZXJtaXNzaW9ucyI6eyJyZXBvLmNvbnRlbnQucmVhZCI6dHJ1ZX0sImlhdCI6MTc1NjI2ODk1NCwic3ViIjoiL2RhdGFzZXRzL2xvdWJuYWJubC9vbGRfcHl0aG9uIiwiZXhwIjoxNzU2MjcyNTU0LCJpc3MiOiJodHRwczovL2h1Z2dpbmdmYWNlLmNvIn0.gGSKmzhIzBiVJB4BcsrpUgT9nUHDvXXwgkal0uWZonu0Q8uTghoqp5hpjmE_J5cAmqW2iIOIsE0NQC_FTuoZCg","displayUrls":true},"discussionsStats":{"closed":0,"open":1,"total":1},"fullWidth":true,"hasGatedAccess":true,"hasFullAccess":true,"isEmbedded":false,"savedQueries":{"community":[],"user":[]}}">
__id__
int64
3.09k
19,722B
blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
256
content_id
stringlengths
40
40
detected_licenses
list
license_type
stringclasses
3 values
repo_name
stringlengths
5
109
repo_url
stringlengths
24
128
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
42
visit_date
timestamp[ns]
revision_date
timestamp[ns]
committer_date
timestamp[ns]
github_id
int64
6.65k
581M
star_events_count
int64
0
1.17k
fork_events_count
int64
0
154
gha_license_id
stringclasses
16 values
gha_fork
bool
2 classes
gha_event_created_at
timestamp[ns]
gha_created_at
timestamp[ns]
gha_updated_at
timestamp[ns]
gha_pushed_at
timestamp[ns]
gha_size
int64
0
5.76M
gha_stargazers_count
int32
0
407
gha_forks_count
int32
0
119
gha_open_issues_count
int32
0
640
gha_language
stringlengths
1
16
gha_archived
bool
2 classes
gha_disabled
bool
1 class
content
stringlengths
9
4.53M
src_encoding
stringclasses
18 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
year
int64
1.97k
2.01k
15,238,543,986,282
be440b94cd1354982151197cc612a4ae82080373
9ce1a323aa08f4950ab8b2356bd5c528c76811e9
/frmwk/view/vwRole.py
1e46047ec4d700226553af81458b7ce0cd4dabd3
[]
no_license
martinhbramwell/evalOfFlask
https://github.com/martinhbramwell/evalOfFlask
f39f623543e2b2244f7fb6993781cff83fda6344
61fa94b7ba724384a46e78c364e1d786818cdcc9
refs/heads/master
2016-09-05T21:25:28.661798
2013-08-07T11:53:33
2013-08-07T11:53:33
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from frmwk import flask_framework, orm_db from flask.ext.login import login_required, current_user from flask.ext.babel import gettext from flask import render_template, flash, request, redirect, url_for, g from frmwk import administrator_permission # from flask import Response from frmwk.model.mdRole import Role from frmwk.forms.fmRole import RoleForm @flask_framework.route('/roles') @flask_framework.route('/roles/<int:page>') @login_required def roles(page = 1): print 'roles or roles with ' + str(page) return renderThem({'pageNum': page}) @flask_framework.route('/newrole', methods = ['GET', 'POST']) @login_required def newrole(): print 'newrole' if administrator_permission.can(): role = Role() form = RoleForm(role) if form.validate_on_submit(): print 'saving * * * * ' return saveIt(role, form) return renderIt({'key': 'new', 'form': form}) else: flash(gettext('You are not authorised to create new roles. You can request permission below.'), 'error') return redirect(url_for('roles')) @flask_framework.route('/role/<role_id>', methods = ['GET', 'POST']) @login_required def role(role_id = None): print 'role/id with ' + str(role_id) if administrator_permission.can(): role = Role.query.filter_by(id = role_id).first() form = RoleForm(role) if form.validate_on_submit(): print "Saving {} with key {}.".format(form.name.data, form.role_id.data) return saveIt(role, form) elif request.method != "POST": form.name.data = role.name form.role_id.data = role.id return renderIt({'key': role_id, 'form': form}) else: flash(gettext('You are not authorised to edit roles. You can request permission below.'), 'error') return redirect(url_for('edit', nickname = g.user.nickname)) def saveIt(role, form): role.name = form.name.data role.id = form.role_id.data orm_db.session.add(role) orm_db.session.commit() flash(gettext('Your changes have been saved.'), 'success') return redirect(url_for('roles')) def renderIt(pyld): pyld['pageNum'] = 1 return renderThem(pyld) def renderThem(pyld): pyld['page'] = 'Role' pyld['records'] = Role.query.all() # .paginate(page, POSTS_PER_PAGE, False) records = pyld['records'] return render_template('role.html', payload = pyld)
UTF-8
Python
false
false
2,013
369,367,196,745
3ebd0979835a369df892657898b01cb5b8a55ec9
4bb57b615063a44b81288e370ae16a10b6e6100a
/Project/Main.py
84cc6ad0ea35b22bd08cba20083076e0ae7e7e1f
[]
no_license
lamarmotte/PythonProjectLearningSoftware
https://github.com/lamarmotte/PythonProjectLearningSoftware
2d1d477e828ab3c54cd076d41b49062037af9ed5
8fd0ef110cc844aa8cb93db8d10e4cb86e98be9b
refs/heads/master
2016-08-06T14:05:36.423736
2014-03-10T13:27:59
2014-03-10T13:27:59
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import Addition as Add import Subtraction as Sub import Multiplication as Mul import Division as Div if __name__ == "__main__": cont = True while cont: print("Welcome in this Learning software ! What do you want to do ?") type = input("A for Addition, S for Subtraction, M for Multiplication and D for Division").lower() if type == "a": a= Add.Addition(3) print(a) elif type == "s": b= Sub.Subtraction(3) print(b) elif type == "m": c= Mul.Multiplication(3) print(c) elif type == "d": d= Div.Division(3) print(d) else: print("Please write a good letter !") if type == "a": answer = input("What's the answer ?") print(a.answer(int(answer))) elif type == "s": answer = input("What's the answer ?") print(b.answer(int(answer))) elif type == "m": answer = input("What's the answer ?") print(c.answer(int(answer))) elif type == "d": answer = input("What's the answer ?") print(d.answer(int(answer))) else: print("Please write a good letter !") stop = input("Would you like to stop or continue ? S to stop and C to continue").lower() if stop == "s": cont = False else : cont = True
UTF-8
Python
false
false
2,014
13,838,384,652,626
f8111091f4926a6912f8d983703f5d8d2c818c8e
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_6/olgmof001/question2.py
4cf8ed19475542ef162a5b2b8b2c4d5a7242c94d
[]
no_license
MrHamdulay/csc3-capstone
https://github.com/MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
"""Tofunmi Olagoke OLGMOF001 23rd April 2014 Program to do basic vector calculations in 3 dimensions: addition, dot product and normalization.""" import math A=input("Enter vector A:\n") B=input("Enter vector B:\n") listA=A.split(" ") listB=B.split(" ") #A+B C=[(eval(listA[0])+eval(listB[0])),(eval(listA[1])+eval(listB[1])),(eval(listA[2])+eval(listB[2]))] #A*B D=(eval(listA[0])*eval(listB[0]))+(eval(listA[1])*eval(listB[1]))+(eval(listA[2])*eval(listB[2])) #|A| E=(eval(listA[0])**2)+(eval(listA[1])**2)+(eval(listA[2])**2) #|B| F=(eval(listB[0])**2)+(eval(listB[1])**2)+(eval(listB[2])**2) print("A+B =",C) print("A.B =",D) print("|A| =",'{:.2f}'.format(math.sqrt(E))) print("|B| =",'{:.2f}'.format(math.sqrt(F)))
UTF-8
Python
false
false
2,014
12,025,908,467,833
2068406cde08d83f56e8b242ef4bfae5ed12f0ac
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Lacrofarm_powder_for_oral_solution_SmPC.py
23ef91501270ead9814b32f566d1419e5eb07a2e
[]
no_license
urudaro/data-ue
https://github.com/urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
<<<<<<< HEAD {'_data': [['Very common', [['Immune system', u'angio\xf6dem, dyspn\xe9, allergiska utslag,']]], ['Common', [['GI', u'Buksm\xe4rta, diarr\xe9, kr\xe4kningar, illam\xe5ende, dyspepsi, buksp\xe4nning, borborygmi, v\xe4dersp\xe4nningar, analt obehag']]], ['Rare', [['Immune system', u'erytem, urtikaria och pruritus']]], ['Unknown', [['Metabolism', u'St\xf6rningar i elektrolytbalansen, s\xe4rskilt'], ['Nervous system', u'Huvudv\xe4rk'], ['General', u'Perifert \xf6dem']]]], '_pages': [3, 4], u'_rank': 6, u'_type': u'TSFU'} ======= {'_data': [[u'Unknown', [['Immune system', u'angio\xf6dem, dyspn\xe9, allergiska utslag, Mycket'], ['Metabolism', u'St\xf6rningar i elektrolytbalansen, s\xe4rskilt Ingen k\xe4nd hyperkalemi och hypokalemi frekvens'], ['Nervous system', u'Huvudv\xe4rk Ingen k\xe4nd frekvens'], ['GI', u'Buksm\xe4rta, diarr\xe9, kr\xe4kningar, Vanliga']]]], '_pages': [3, 4], u'_rank': 4, u'_type': u'LFSU'} >>>>>>> eb0dbf7cfbd3e1c8a568eedcf6ca5658233104cc
UTF-8
Python
false
false
2,013
12,189,117,192,851
0b7f2c6fd9f6bfaed02dd2bb9813ceec67e453bc
2e4942510656741755aa5b2ba17ab00a89927b79
/pyn_examples/1_single_neuron.py
a97b9f7a311130ba1fdeafe70e82644d7a00b721
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
non_permissive
zillionah/pyN
https://github.com/zillionah/pyN
ba25c8cc36bf94a685297de29382580582a85f71
c2fb35579c12df20b792408b69d92cab215c42b1
refs/heads/master
2020-05-23T15:44:24.174859
2012-12-13T17:39:11
2012-12-13T17:39:11
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import os,sys parentdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0,parentdir) from pyN import * single_neuron = IzhikevichPopulation(name='neuron', N=1, a=0.02, b=0.2, c=-65, d=6, v0=-70, u0=None) brain = Network(populations=[single_neuron]) stim = [{'start':10,'stop':100,'mV':14,'neurons':[0]}] results = brain.simulate(experiment_name='Single Neuron exhibiting tonic spiking',T=100,dt=0.25,integration_time=30,I_ext={'neuron':stim}, save_data='../data/', properties_to_save=['v','u','psc','I_ext','spike_raster']) #show_data(results) save_plots(results,'./')
UTF-8
Python
false
false
2,012
8,272,107,039,423
649dc665921b809a2441a8156624d374a0f99d57
4d21a6063a503ef461fdd928239c92b9cec59426
/tweetyourRSS.py
56ec214728e897a33905bf678a3b819d73faafc4
[]
no_license
hohenstaufen/tweetyourRSS
https://github.com/hohenstaufen/tweetyourRSS
874c69d42c1792935c551225d0233aa6a489fedc
0a9b77557da451b204c93a81c3c50071b0f65fe6
refs/heads/master
2021-01-22T07:17:59.969706
2012-02-19T18:05:59
2012-02-19T18:05:59
3,481,818
2
1
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python ''' tweetyourRSS is a simple python script that enables you to publish any RSS feed on twitter ''' import sys import tweepy import pickle from bitly import Bitly from twitter import Twitter from feeds import Feeds from settings import * __author__ = "Alberto Buratti, Mattia Larentis" __credits__ = ["Alberto Buratti", "Mattia Larentis", "Federico Scrinzi"] __license__ = "WTFPL" __maintainer__ = "Alberto Buratti" __email__ = "[email protected]" def main(): ''' app entry point ''' # gets a twitter object tw = Twitter(TWITTER['CONSUMER_KEY'], TWITTER['CONSUMER_SECRET'], \ TWITTER['ACCESS_TOKEN'], TWITTER['ACCESS_TOKEN_SECRET']) # gets a bitly object bl = Bitly(BITLY['USER'], BITLY['APIKEY']) # tries to load the history from the file. If an exception is raised, # istantiates an empty dictionary object try: with open(HISTORY_FILE, 'rb') as history_file: history = pickle.load(history_file) except: history = dict() # cycles through the RSSs defined in settings for rsskey, rssvalue in RSS.iteritems(): # gets a feed object fd = Feeds(rssvalue['RSS']) # tries to load last timestamp. If an exception is raised, # initializes it with the init value defined in settings try: last_timestamp = history[rsskey] except: last_timestamp = (rssvalue['HISTORY'])['INIT_VALUE'] history[rsskey] = last_timestamp # gets the updated feeds entries = fd.get_updated_feeds(rssvalue['HISTORY'], last_timestamp) # cycles through the feeds, tweetin them for feed in entries: link = bl.shorten_url(getattr(feed, rssvalue['LINK'])) tweet = getattr(feed, rssvalue['TEXT']) length = TWITTER['TWEET_LENGTH'] - len(rssvalue['HASHTAG']) \ - len(link) - 10 tweet = rssvalue['HASHTAG'] + ' ' + tw.truncate(tweet, length) \ + ' ' + link tw.update_status(tweet, DEBUG) # updates the last timestamp history[rsskey] = fd.get_last_timestamp() # saves the history with open(HISTORY_FILE, 'wb') as history_file: pickle.dump(history, history_file) sys.exit(0) if __name__ == "__main__": main()
UTF-8
Python
false
false
2,012
1,752,346,657,664
01f7f92ed2f2a0cd90efa3e232f686d588510b19
32d785ce0c6066a3dbc37b53908b4e7a5a64d36b
/library/pyjamas/chart/AnnotationLocation.py
f884f1f3efb74bf49643544def34a81846903cb3
[ "LGPL-2.1-or-later", "GPL-2.0-only", "GPL-1.0-or-later", "ZPL-2.1", "Apache-2.0", "LGPL-2.1-only", "MPL-1.1", "Python-2.0", "LicenseRef-scancode-warranty-disclaimer", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license", "MIT", "MPL-1.0" ]
non_permissive
andreyvit/pyjamas
https://github.com/andreyvit/pyjamas
a795df8eed070906fd61b7b9ee2f510f149006ff
1154abe3340a84dba7530b8174aaddecfc1a0944
refs/heads/master
2023-03-13T08:14:59.283901
2009-10-25T14:56:06
2009-10-25T14:56:06
349,454
2
1
null
null
null
null
null
null
null
null
null
null
null
null
null
""" * Copyright 2007,2008,2009 John C. Gunther * Copyright (C) 2009 Luke Kenneth Casson Leighton <[email protected]> * * Licensed under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http:#www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, * either express or implied. See the License for the specific * language governing permissions and limitations under the * License. * """ import math from pyjamas.ui import HasHorizontalAlignment from pyjamas.ui import HasVerticalAlignment # Validates multipliers used to simplify computing the # upper left corner location of symbols and labels to # properly reflect their alignment relative to the # plotted point or labeled symbol. def validateMultipliers(widthMultiplier, heightMultiplier): if (not (widthMultiplier == 0 or abs(widthMultiplier)==1) and not (heightMultiplier == 0 or abs(heightMultiplier)==1)): raise IllegalArgumentException( "widthMultiplier, heightMultiplier args must both be " + "either 0, 1, or -1") # retrieves a location given its multipliers def getAnnotationLocation(widthMultiplier, heightMultiplier): locationMap = [ [NORTHWEST, NORTH, NORTHEAST], [WEST, CENTER, EAST], [SOUTHWEST, SOUTH, SOUTHEAST]] # assumes both multiplier are -1, 0, or 1 result = locationMap[heightMultiplier+1][widthMultiplier+1] return result # Negative width or height "turn the symbol inside-out", # requiring a corresponding "reflection" of annotation # location (only needed for baseline-based bar symbols) def transform(a, signWidth, signHeight): result = a if signWidth < 0 or signHeight < 0: result = getAnnotationLocation( signWidth*a.widthMultiplier, signHeight*a.heightMultiplier) return result """* ** Defines the location of a data point's annotation or hover ** annotation (which can be defined by either plain text, HTML, ** or a widget) relative to the location of that point's ** symbol. The "Field Summary" ** section below lists all available annotation locations. ** <p> ** ** The default annotation location is {@link ** AnnotationLocation#SOUTH SOUTH} for annotations and ** is symbol-type-dependent for hover annotations. See the ** <tt>setHoverLocation</tt> method for list of these defaults. ** ** <p> ** ** You can further adjust the position of a point's ** annotation (or hover annotation) by specifying non-zero ** positional shifts via the <tt>setAnnotationXShift</tt> ** and <tt>setAnnotationYShift</tt> (or via the ** <tt>setHoverXShift</tt>, <tt>setHoverYShift</tt>), ** and <tt>setHoverAnnotationSymbolType</tt> methods for ** hover annotations). ** <p> ** ** @see Curve.Point#setAnnotationLocation Point.setAnnotationLocation ** @see Curve.Point#setAnnotationXShift Point.setAnnotationXShift ** @see Curve.Point#setAnnotationYShift Point.setAnnotationYShift ** @see Symbol#setHoverLocation Symbol.setHoverLocation ** @see Symbol#setHoverAnnotationSymbolType ** Symbol.setHoverAnnotationSymbolType ** @see Symbol#setHoverXShift Symbol.setHoverXShift ** @see Symbol#setHoverYShift Symbol.setHoverYShift ** @see #DEFAULT_HOVER_LOCATION DEFAULT_HOVER_LOCATION ** *""" class AnnotationLocation: # these multiply the width and height of the annotation and # the symbol it is attached to in order to define the # center of the annotation (see equations in later code), # and thus the upper left corner anchoring point. def __init__(self, widthMultiplier, heightMultiplier): validateMultipliers(widthMultiplier, heightMultiplier) self.widthMultiplier = widthMultiplier self.heightMultiplier = heightMultiplier # These define the alignment of the label within it's # containing 1 x 1 Grid. For example, if this # containing grid is to the left of the labeled # symbol (widthMultiplier==-1) the horizontal # alignment will be ALIGN_RIGHT, so as to bring the # contained label flush against the left edge of the # labeled symbol. def getHorizontalAlignment(self): if self.widthMultiplier == -1: result = HasHorizontalAlignment.ALIGN_RIGHT elif self.widthMultiplier == 0: result = HasHorizontalAlignment.ALIGN_CENTER elif self.widthMultiplier == 1: result = HasHorizontalAlignment.ALIGN_LEFT else: raise IllegalStateException( "Invalid widthMultiplier: " + str(self.widthMultiplier) + " 1, 0, or -1 were expected.") return result """ Given the x-coordinate at the center of the symbol * that this annotation annotates, the annotation's * width, and the symbol's width, this method returns * the x-coordinate of the upper left corner of * this annotation. """ def getUpperLeftX(self, x, w, symbolW): result = int (round(x + (self.widthMultiplier * (w + symbolW) - w)/2.) ) return result """ analogous to getUpperLeftX, except for the y-coordinate """ def getUpperLeftY(self, y, h, symbolH): result = int (round(y + (self.heightMultiplier * (h + symbolH) - h)/2.)) return result # analogous to getHorizontalAlignment def getVerticalAlignment(self): if self.heightMultiplier == -1: result = HasVerticalAlignment.ALIGN_BOTTOM elif self.heightMultiplier == 0: result = HasVerticalAlignment.ALIGN_MIDDLE elif self.heightMultiplier == 1: result = HasVerticalAlignment.ALIGN_TOP else: raise IllegalStateException( "Invalid heightMultiplier: " + self.heightMultiplier + " -1, 0, or 1 were expected.") return result """ * This method returns the annotation location whose * "attachment point" keeps the annotation either * completely outside, centered on, or completely inside * (depending on if the heightMultiplier of this annotation * is 1, 0, or -1) the point on the pie's circumference * associated with the given angle. * <p> * * The use of heightMultiplier rather than widthMultiplier * is somewhat arbitrary, but was chosen so that the * NORTH, CENTER, and SOUTH annotation locations have the * same interpretation for a pie slice whose bisecting * radius points due south (due south is the default initial * pie slice orientation) and for a 1px x 1px BOX_CENTER * type symbol positioned at the due south position on the * pie's circumference. As the pie-slice-arc-bisection * point moves clockwise around the pie perimeter, the * attachment point (except for vertically-centered * annotations, which remain centered on the pie arc) also * moves clockwise, but in discrete jumps (e.g. from * NORTH, to NORTHEAST, to EAST, to SOUTHEAST, to SOUTH, * etc. for annotations inside the pie) so the annotation * remains appropriately attached to the center of the * slice's arc as the angle changes. * """ def decodePieLocation(self, thetaMid): # a sin or cos that is small enough so that the # associated angle is horizontal (for sines) or vertical # (for cosines) enough to warrant use of a "centered" # annotation location. LOOKS_VERTICAL_OR_HORIZONTAL_DELTA = 0.1 sinTheta = math.sin(thetaMid) cosTheta = math.cos(thetaMid) if cosTheta < -LOOKS_VERTICAL_OR_HORIZONTAL_DELTA: pieTransformedWidthMultiplier = -self.heightMultiplier elif cosTheta > LOOKS_VERTICAL_OR_HORIZONTAL_DELTA: pieTransformedWidthMultiplier = self.heightMultiplier else: pieTransformedWidthMultiplier = 0 # XXX ?? surely this should be widthMultiplier? if sinTheta < -LOOKS_VERTICAL_OR_HORIZONTAL_DELTA: pieTransformedHeightMultiplier = -self.heightMultiplier elif sinTheta > LOOKS_VERTICAL_OR_HORIZONTAL_DELTA: pieTransformedHeightMultiplier = self.heightMultiplier else: pieTransformedHeightMultiplier = 0 return getAnnotationLocation(pieTransformedWidthMultiplier, pieTransformedHeightMultiplier) # end of class AnnotationLocation # non-tagging-only locations used by ANCHOR_MOUSE_* symbol types AT_THE_MOUSE = AnnotationLocation(0,0) AT_THE_MOUSE_SNAP_TO_X = AnnotationLocation(0,0) AT_THE_MOUSE_SNAP_TO_Y = AnnotationLocation(0,0) """* ** Specifies that a point's annotation (label) should ** be positioned so as to be centered on the symbol ** used to represent the point. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation *""" CENTER = AnnotationLocation(0,0) north = AnnotationLocation(0,-1) west = AnnotationLocation(-1, 0) south = AnnotationLocation(0, 1) """* ** Specifies that a point's annotation (label) should be ** placed just above, and centered horizontally on, ** vertical bars that grow down from a horizontal ** baseline, and just below, and centered horizontally on, ** vertical bars that grow up from a horizontal baseline. ** ** <p> ** ** This another name for ** <tt>AnnotationLocation.NORTH</tt>. Its sole purpose is ** to clarify/document the behavior of this location type ** when used in conjunction with curves that employ ** <tt>VBAR_BASELINE_*</tt> symbol types. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation ** @see SymbolType#VBAR_BASELINE_CENTER SymbolType.VBAR_BASELINE_CENTER ** *""" CLOSEST_TO_HORIZONTAL_BASELINE = north """* ** Specifies that a point's annotation (label) should be ** placed just to the right of, and centered vertically ** on, horizontal bars that grow left from a vertical ** baseline, and just to the left of, and centered ** vertically on, horizontal bars that grow right from a ** vertical baseline. ** ** <p> ** ** This another name for ** <tt>AnnotationLocation.WEST</tt>. Its sole purpose is ** to clarify/document the behavior of this location type ** when used in conjunction with curves that employ the ** <tt>HBAR_BASELINE_*</tt> symbol types. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation ** @see SymbolType#HBAR_BASELINE_CENTER SymbolType.HBAR_BASELINE_CENTER ** *""" CLOSEST_TO_VERTICAL_BASELINE = west """* ** Specifies that a point's annotation (label) should ** be positioned just to the right of, and vertically ** centered on, the symbol used to represent the ** point. ** ** @see Curve.Point#setAnnotationLocation *""" EAST = AnnotationLocation(1, 0) """* ** Specifies that a point's annotation (label) should be ** placed just below, and centered horizontally on, ** vertical bars that grow down from a horizontal ** baseline, and just above, and centered horizontally on, ** vertical bars that grow up from a horizontal baseline. ** ** <p> ** ** This another name for ** <tt>AnnotationLocation.SOUTH</tt>. Its sole purpose is ** to clarify/document the behavior of this location type ** when used in conjunction with curves that employ ** <tt>VBAR_BASELINE_*</tt> symbol types. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation ** @see SymbolType#VBAR_BASELINE_CENTER SymbolType.VBAR_BASELINE_CENTER ** *""" FARTHEST_FROM_HORIZONTAL_BASELINE = south """* ** Specifies that a point's annotation (label) should be ** placed just to the left of, and centered vertically on, ** horizontal bars that grow left from a vertical ** baseline, and just to the right of, and centered ** vertically on, horizontal bars that grow right from a ** vertical baseline. ** ** <p> ** ** This another name for ** <tt>AnnotationLocation.EAST</tt>. Its sole purpose is ** to clarify/document the behavior of this location type ** when used in conjunction with curves that employ the ** <tt>HBAR_BASELINE_*</tt> family of symbol types. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation ** @see SymbolType#HBAR_BASELINE_CENTER SymbolType.HBAR_BASELINE_CENTER ** *""" FARTHEST_FROM_VERTICAL_BASELINE = EAST """* ** Specifies that a point's annotation (label) should ** be positioned just inside, and centered on, the ** arc side of a pie slice. ** <p> ** ** You can move a pie slice's annotation a specific number ** of pixels radially away from (or towards) the pie ** center by passing a positive (or negative) argument to ** the associated <tt>Point</tt>'s ** <tt>setAnnotationXShift</tt> method. ** ** <p> This is pie-friendly synonym for, and when used ** with non-pie symbol types will behave exactly the same ** as, <tt>AnnotationLocation.NORTH</tt> ** ** @see #OUTSIDE_PIE_ARC OUTSIDE_PIE_ARC ** @see #ON_PIE_ARC ON_PIE_ARC ** @see Curve.Point#setAnnotationLocation setAnnotationLocation ** @see AnnotationLocation#NORTH NORTH *""" INSIDE_PIE_ARC = north """* ** Specifies that a point's annotation (label) should ** be positioned just above, and horizontally centered on, ** the symbol used to represent the point. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation *""" NORTH = north """* ** Specifies that a point's annotation (label) should ** be positioned just to the right of and above, ** the symbol used to represent the ** point. ** ** @see Curve.Point#setAnnotationLocation *""" NORTHEAST = AnnotationLocation(1, -1) """* ** Specifies that a point's annotation (label) should ** be positioned just to the left of and above, ** the symbol used to represent the ** point. ** ** @see Curve.Point#setAnnotationLocation *""" NORTHWEST = AnnotationLocation(-1, -1) """* ** Specifies that a point's annotation (label) should ** be centered on the center-point of the ** arc side of a pie slice. ** <p> ** ** You can move a pie slice's annotation a specific number ** of pixels radially away from (or towards) the pie ** center by passing a positive (or negative) argument to ** the associated <tt>Point</tt>'s ** <tt>setAnnotationXShift</tt> method. ** ** ** ** <p> This is pie-friendly synonym for, and when used ** with non-pie symbol types will behave exactly the same ** as, <tt>AnnotationLocation.CENTER</tt> ** ** @see #OUTSIDE_PIE_ARC OUTSIDE_PIE_ARC ** @see #INSIDE_PIE_ARC INSIDE_PIE_ARC ** @see Curve.Point#setAnnotationLocation setAnnotationLocation ** @see AnnotationLocation#CENTER CENTER ** *""" ON_PIE_ARC = CENTER """* ** Specifies that a point's annotation (label) should ** be positioned just outside, and centered on, the ** arc side of a pie slice. ** <p> ** ** You can move a pie slice's annotation a specific number ** of pixels radially away from (or towards) the pie ** center by passing a positive (or negative) argument to ** the associated <tt>Point</tt>'s ** <tt>setAnnotationXShift</tt> method. ** ** <p> This is pie-friendly synonym for, and when used ** with non-pie symbol types will behave exactly the same ** as, <tt>AnnotationLocation.SOUTH</tt> ** ** @see #INSIDE_PIE_ARC INSIDE_PIE_ARC ** @see #ON_PIE_ARC ON_PIE_ARC ** @see Curve.Point#setAnnotationLocation setAnnotationLocation ** @see Curve.Point#setAnnotationXShift setAnnotationXShift ** @see AnnotationLocation#SOUTH SOUTH *""" OUTSIDE_PIE_ARC = south """* ** Specifies that a point's annotation (label) should ** be positioned just below, and horizontally centered on, ** the symbol used to represent the point. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation *""" SOUTH = south """* ** Specifies that a point's annotation (label) should ** be positioned just to the right of and below, ** the symbol used to represent the ** point. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation *""" SOUTHEAST = AnnotationLocation(1, 1) """* ** Specifies that a point's annotation (label) should ** be positioned just to the left of and below, ** the symbol used to represent the ** point. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation *""" SOUTHWEST = AnnotationLocation(-1, 1) """* ** Specifies that a point's annotation (label) should ** be positioned just to the left of, and vertically ** centered on, the symbol used to represent the ** point. ** ** @see Curve.Point#setAnnotationLocation setAnnotationLocation *""" WEST = west
UTF-8
Python
false
false
2,009
4,045,859,216,674
14366dbadf146e8db80dff94864632df8a2840ba
499072bb5812ff1862a3db9de753cda4c4e35daa
/python/tank/platform/qt/resources_rc.py
4d04c93606c3573461620d6343311c9d40c24eb6
[ "LicenseRef-scancode-proprietary-license" ]
non_permissive
cgbiscuit/tk-core
https://github.com/cgbiscuit/tk-core
ba67609a0c128e42427d2fe0973b84819f5451d2
1319f7938726017591d889582bccc3d7e46b7d46
refs/heads/master
2016-12-31T17:28:12.529498
2014-02-06T11:28:41
2014-02-06T11:28:41
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created: Mon Mar 4 14:32:23 2013 # by: The Resource Compiler for PySide (Qt v4.7.4) # # WARNING! All changes made in this file will be lost! from . import QtCore qt_resource_data = "\x00\x00N\x91\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x8e\x00\x00\x00\x8e\x08\x02\x00\x00\x00h\x9f\xa7_\x00\x00 \x00IDATx\x9ce\x9dGz\xeb\xc8\xb6\xac\x13\x09K\xd0\xc8l\xa9{;\xa7q'r\xe7?\x91-C\xd1\x80\xf0x\x8d_\x11'\xab\x9e\x1a\xf5\xed\x92H\x98\xcceb\xc52\x99\xfd\xdf\xff\xfd\xdf\xb2,\xb7\xdb\xad\xae\xeb\xa6iB\x08\xf7\xfb\xbd\xaa\xaa\xcb\xe5\xb2\xdb\xed\xda\xb6}<\x1eM\xd3\xdc\xef\xf7<\xcfc\x8cUU\xad\xeb\xdau\xdd\xba\xaeOOO!\x84\x10\xc2\xcf\xcfOUU\xdb\xb6UU\x15B\xe8\xfb\xfep8\xf0\xa7\xbe\xef\x87a\xd8\xedvEQ\xc4\x18o\xb7\xdb\xba\xaey\x9e\xef\xf7\xfb\xfb\xfd\xbem\x1b\x1f\x8b1fY\xb6\xdb\xed\xc6q\xfc\xf9\xf9i\xdbv\xbf\xdf/\xcb2\x8e\xe3<\xcf|=\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0\xe9\x80\xd7\x81\x1b8K\xb2k\xbf\x004\x88w\xc1\xcd\xf2@Y\x96\xfd\xfc\xfc\x00\x1f\xf0\xde\xe6\xebV\x95]XL\xe0\x831\xf7@j3f\xe6\x15\x89\xaf-/\xcb\xb2\x90\x1eE$\xab\xaa\xa2\xf6\x03\xeb\xc7\xeby\xdd\xd3T\x08\xd6\xd8\x09~\x22e\x94\x8f\x0f\xb0\x10\x88$:\xc7u\x80\xb2\x98zL\x1f\x9b\xe4\xd8\x19\x0e>\xbd/\x9aa\xe6\x02\xf1\xc2\xc0`\xd3p\xccd\xc9a\x98\xf0p \xc3\xdb\xed\x86%\xe49\xd3\x0f\xf3\xcb,)Y0\xf7\x11D_a\xb7~\xc9F2\x1dAY%\x9e\x89\x05\x05p\xb3\xf4!\x04\x10\xd1\xcb\xcb\x0b\x8b\x0bG\xc0r\x10\x0c\x91\xbc\xe0\x0d1;in\x10\xf5\xc5\xd5!t\x085bq\xb9\x5c\x10^\xcc\x9717N\x82=\xb6W\x07\x82sq\xd8\x04b8bL\xa4\xfe\xf5\xf5\xd5u/A\xc9F \x09{\x83S\x81\xd2>\x1e\x8f$\xb7`\xe5Y\x10\xec9Q?\xef\x05U\x0d\x5c\xc4\xc0`xaG\xa1\xbe\x00\x17\xd84<\x16\xebi\xafI \x0b\xa5\x04\x91\x01\xcb\x0eWk\x91\xe2\xf3H\xe1/\xcd\xc6C\xac\xebj\x0e\xc9\x01`]\xd7\x04\xa7\x96,\x189\xe7\x17\xda\xb6\xa5\xa6\x003\x82:\xb2\x82X\x7f\xa7\x07Y5L\xc4\xb2,(+\xc8\x82{\xc1\xee\x04\xf1\x1d\xf80\x17\xa2\xb0\x1c(\x0a\xf0wR\x15T\xdf\xf7\xdf\xdf\xdf\x8bjx\x82\x82!\x96\xc9\xa40\x18\xc44(\xb0\x88\xedq\xea\x0fh\xea\x8c\x0c\x91/\xce\xd29<^\x16\xa6\x0a_\x88\x1b\x0eB\xc5\xf80\xe3Fv=\x84\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e\x9e\x8c\x8d\x094\x89gc\x8c\xd0\xed&Hq\xb1\x10\x92\xf05!\x84\xe7\xe7g\xe2\x044\x15\x08\x8am\xfb\xed\xf3\xe1\xcb6\x11\x88*Q$\xee\x8aJJl=\x8fu\xbd^ys\xec\x00\xe6\xcb\xcc\x9b}\x98\x85\x11w\x08\x96\x0d!\x10W\x11l\xb1IeY\xe6*\x06*\x8a\xe2\xed\xed\x8d\xb7\x82\xd02a\x83\xfc\xa6\x983\xcb2\x80\x1f\xcc:Hl\xbf\xdf\x03O\xf8\xa4\x05yY\x16z: <\x1d\x87`\x82\xfc.vil\x9b\xf3pAE\x00\x96\x12\x88>\xfe\xda\xa8\x8d\x8e\xd7\xb9\xddn\xd4\x0d\x9a\xa5\xa3\xa0\x85\xef\xe2\x5ca\x11\xb9H\xa6\xb2'_\x9f\xa5\xe3\xee,\xc5o\xc2\x06\x03\xcd-\x9dH\xe4\x81\xccA`\xbe\xd1?\xc2x/e\xad\xee\xc1V5u1)\xfaa#\xe1f\x8c2\x10\x0ePL\x10O\x81\xe1b\xbf\xcf\xe7\xf3\xf9|\xce\xd4\x88h\xc6\x0b\x9d \x8c7\xe7\x86\xc1Y\x93\xbay7\xd8\xa6\xc1\xb8\xdf\x88\xd2\x22\x04\xc8\x91\xf2\xeb\xebkPJ\xda\x0fLn\x05le\xf6\xcb\x98\xd9\x15,\x85\x0a\x0e\xf6\xfb\xfd\xe5r1\xe0D\xff\xb0\xf6D\xb1\x98J\xef\x1cuK6\x06\x8bj\xc2\x11\x176\x05\xb9\x8fX\xc9\xa8\xd2{\xaa\xab\xf9\x9b\xf31\xa6\xfb0\xca\xc4\xb0UUQ\x14@?ZP\xf20\xc8\xf9u]\xf7\xfd\xfd\x1d\xd4\x90\x8a92\x17\xc0\xe7\x0d/\xe1W\xb8\x9d\x11\x17n\xa9(\x0a\x98\xf8\x94\xf3\xb5\xcbq\x06\x0b\x13\xed\x92\x15\xc0\x98\x83*\xd2H\xae#F\xce\x08\x901S\x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x01\xd9\x95\xbahr\x8d$\x194#\x84\xd8y\xa7\xce'\x93\xd6A<XT;T\xaa\x7f\x0e5\x10R.;\x0c\x03\xf3n`\xde\xc0f\x88\x08\x0a\xd7$\xd3;\xe0\xdc -wI\x9f\xb6[\x97X\x1a\xcc\x89\x19av\x14\x01\xa7\x0e\x80'\xe9\xba\x0e\x1f\xb6\xdf\xef\xd3\x1a}\xbc;\xabd\x12\x96\x82\x8eI\xf5\xde\xec\xa2?l\xfd\xe3\x1f\xb3\x86\x89\xa1R???\xeb\xba\x12>\xbb\x92\x87X\xfb\xf1xD\xbb\x01\xb4\x9e\x84\x0d\x12D\xf6\x08\x8bT\xa9:\xbePe\xb6i='v{\x0d\x98\x8a\xea\xf6\x8d\x1a\x004\xa9\x1b\x193\x82\x03@\xcc\x11U[\x18\xb3pp\x04lvH&\xab\xf0K'&\x96$\xd3\xc3\xa3\x12\xf9\x13\xaf\x90v1\xd3Z\xa8\x14\xde! \xca\x91\x82 \xec\x84\xc1\x8e]\x03z\x03\xec$\x0b\xb5\xaa\xd8\xe4\xcf\x9f?\xf0O$>\x90\xda\xb4D7({\xb0\xa9\xc9%\xa8\x05\x14+\xb5\xa9\x8b\x99\x80\x0c\xa9\xa2\xf0\x0b#\x5c\x96e\xfe\xbf\xff\xfb\xbf.bq\x08\xc5\xfb8_BX\x07!\xe6\xb8\x81\x7f8\x84|h\xd4\x07\xb6\xc2\x00wP\x13\xce\xaca\x1e\xa8/\x7f\xad\xeb\x9a\xf1\x10.\xf0\x03\xdd\x91\xad\x08\x8aK\x08\xc5|qp0[\x82\xe6qY\xdbX\xf6\x95O\xb2+|\x00\x9e\x1b\x16\x9cm\x06z\xf0x\xc8o\x10\xeaA\xedB\xd2\xc3\x8b\xbd\x02R\xb2s<0\x08\x99\x14(\x01\x1f\x98\xfb\xfb\xfb\x1b\xb7\x0d\xee\xff\xfe\xfe\x863D\x13h\xa7$\x98\xc3JO\xd3\xf4\xfa\xfaj\xa3\xe5{\xfd\xb6\xbb\xa7\xdb\x9ee\xd9\xf3\xf33\x8bN%\x093 \x5cK\xc5\xff\xb2\x22\xcc\xd3\xdbT\x01\x89\x08\x9b\x15\xc5\x9a\x81\x0fY\xb8E\x05@\x99\xda\xf6l\x10\xe0Dp\xf2\x90\xa7\x98\x14\x80\x00x\xc9>\x1c\x05\xcd5\xc1\x00\xd4\x07#e+\xc4e\x1d\xe8Pb\x86Ach\xa3-\x01\xea\x08\xccY4\xd0\x06\xfc\x99\xa9p\x1f\xa8b\xb6\xde\x800(\x9f\x84\x9b\x81\xd6\xe1\xe1\xb7mC\xab`\xbf\x9c\x0d\xc1\x13\xc3\x93\x190\xa7\xc6\xd0\xec\xa8\x8djPup4\x84\x9dU\xb8\xe9O\x94\xea\xc2\x80Y \x05\x80}p\x8ejS\xab\xb3\x09\x88\xae\xeb\x5c\xe7\xcd\xabb?\x9f\x9f\x9f\xc1\xeb\x8bR\xfe\xb8\x0a\xefh\x10\xf8v\xa8@\xd8\x80\x95\x00\x0a/\xcbB,iZ\xd6\xe9A\x02\x11\xb4\x84\xc5e\x11\xd1\xf8-\x99?S\xa8#\xcaL\xa8)\xffM\xa3y\x88\x1d\xb7m\xc3mw\x9a7\x81w\x18Tv\x98\x96\xb9\xd9\x90@/\x91\x9be\xddo\xb7\xdb\xfd~w\xda\x016\x9d\x90\x86\xbd9\x9f\xcfy\x9e\xd7\xea\x1f\xc1\x90:\x0f\x87\x11\xfem\x83\xe1\x9bf\x22\x18<I0\x84c\xc7u\x05\x858\xe0+z\xe5\xa1GO\xa7\x13e\xadp$OOO\x96}\xf4\xc9e=\x80\xa2\xa8\xee\x22\x04\xca\x1a\x83\xf4\xb9\xa6\xe0\xf1x\xa0^\x99\x86\xbap)\x03\xee\xa0y7@/k0>\xb9\xd7t!'E\x91k\xc4<\xa8F\x0c\x81\xc31\xe3\x1a\xd9\x83V\xf3\xda\x88#\xc9\xfe\x05M\x93D#\xcd\x9dZ\x9b\x91\x06\x97\xca\x10\x08\x9b\xbc\xc6\x8a\x02\x88\xd8\xf5T1\xd8?\xf8\xaaM\x19m\x0c\xfeo\x11\x8f\xcd}P\x90h6\x08D\x84{\xaf4\xb6\xd5\xbc\x036\x17\x0a\x12\x80@\x80\xe2t\xd98\x8e\xb3\xa6\x02\x05\xa1/`$\xd9\x01\x5c`\x10\xb1\x06\x95\x80}w1\x82\x93\x9c\x1f\x1f\x1f\xc7\xe3\xf1\xe5\xe5\xc5\x86\x829*\xae\x5cc;1e\x5c\x19\xecJ:\xc3\xbb\x02\xef\x95k\xc8\x15yp[\x94m\xdb\x18b\xc3\xd5 \xcc\x88%l\xe4\xc1\x96\xab\x9a\xb1B\x82\xeb:\xcd\xa2!\xd0DS\xd3\xb4\x9c\x09b<\xc2\xd7\xd7W\xa5ax\xd0\x92p+`\x08\xb4\xb3\xef\xfb\xb8,\xcb\xcf\xcf\x8f\xeb&\x89\x1b\x82z\xf3C\x08P \xbc\x15.\x9a\x0fo\xaa$aL\x83\x93\xf7@#\xd6\x91\xb1\x86d\xee-V\xbbdV\x8c\xb7\x04O\xc3\xa6\xa6\x99\x17\x10\x81\xfd%\x88\x083\xfb\xf9\xf9\x89\xb5\x81@\xe1\xd6\x18\x9fF#\xbc\x18\xab\x12\xd5\x002\xaa\xee\xce\xd5\xc5AUi\x0e\x90;\x15\xf9\xba\x012E\xf3@J22\x86\x8e\xabF\xa1\xe2\xb6\x17\x0d\xb0bY\x10_\xcc\x03\xd7a5\x08\xf9a\x9fA\x00X\x11\xe4\x98\x0b\xde\xefw\xf4\xaf,\xcb\xdfA\xa6\x18\xabRc[\xd8\x8cU3\xb6\xacpAX6(\xd3\xc3\xea\xac\xea\xe5v|g\x830\xcf3@\x99Yq,.R\x8c\xad\xe3YY#\xebb\xd34\x7f\xff\xfe\x0d\x82\xe6A\xdd]\x18I\x8cCL*R1SL\xea#:\x86\x9e\xe0\x03\xcb\xb2@\x01C\x149\x97\xed\x82'w\x88\xa6\x080\xd3\xa8\x8eL\xa5\x0c\x8b\x86\x10X!\x86a`\xdb \xc30V\x0e=\x0b\xd5\xafe*|\x83'\xcb\xd4m\x8e\x95\xfeM\xf2\xea\xb2D\x87\xd4\x84\xa1\x12<@\xec\xba\xce\xd2\xb1m\x1b}\x19H\x1f\xb8\xb6m\xdb\xe3\xf1\xe8\x02\xf4\xeb\xd1\x1d\x00\x00 \x00IDAT\x12\x97T\x04\xb1df\x1c OAS\xb9\x06x\xb8\x07\xc6\x99\x9bU\xbdy0\xc2\x9e\xd8\xc1\x938)\xee\x5c\xf3\xa6^6`\x18\xf2\x849\xb2\xef\xed\xfb\x9e\xc8\x11\xfd\xc3\xe6TU\x85\xfd\xc1\xf5\xa2\xa0\xa4EH\xbc\xa6\xfe/j\xa0\x0f\x00\x01\xe8\xb4\xd3\xe8-\x92\x11\x88,9'\x10\x84\xa7\x16\xb0\xac\x04\xa64\xb6\xd2W\xe1:g\xe2$l2\xd2O\x962\x08L\xdaP\xd5\x9a\x5c\x99iP\x11\x86\xfd\xb7d\xd3\x80\x87\x9cH\xd4\x18\xcbB%\xae\xd8\xc3\xdb\xedF\xa4I\xdc\xc0\x07L\xb5\xe5\x1a\xe4\xc6\x8fIhs\x8cH\xab\xe1\xd6\xe9t\x02q\xf4}\x0f\xe6!\xb2q\xaa\xccE&\x9d\x1a\xa4\x83\xda4\x06\xf5\xea\xb2\xf78\x9e\x5c\x83\x01lm\x82\x8a)\x90\xdcRS\x81\x81\x82\x90:\xf7\xfb\xfd\xe9\xe9\x09\x9b\x89\x15%\xd7\xccN\xa3\x9a\xc8\xb5\x91\x17P\xd0\xe4N\x97\xcc\xafL\xab\xa925\x1dA\xd9\xb0z\xf8!\xc44-c\xf2|p^\xe1\xeb\xeb\xcb\xe0\x8b\xeb\xffr\x0d\xb8\x8aA\x13\xe0x&\xe7\x9c\xb8\x04\xabYi\xa4\x09(\xd9\x85\x03\xd8\xf1\xd4\x0f\x051\x95!\x84\xef\xefo\x5c\x0e\xda\x80\xd8\x22\xb0._uA\x07;\x8aAF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\x1f\xc6O\x9a\xe4\xe56\xd8\x07\xef:\xc2bj9\x88}\xa8\x92\xce\x00\x028OT\x08\x9a\x81\x84\x18N\x9a\xd6\xe9}\xf5\xf1\x11&)\x1c\x173B\xb8T\xf5\xf9\xaa3\xd7\x82*\x8af\xcd\xa0\xf4\x8a\xb7:A(\xc6\xf8\xf7\xef_\xaa\x10\x90}\xc6\x15\x0e\x1a\xdf\xc3r9\xdc<\x9f\xcf\xbdf\x8e\xf2\xbfA\xc3^J\x8d1~{{\xb3\xac7MC\xa6\xbf\xef{&\x89R\x8f\xec\xaa\x167\x11\xa36\x91\xd6]\x9e\x984\x07\x94\x22g\xb7\xf0\x88\xadfl4:u\x87\xe44\xd1>\xaa\x83J\x11\xe8\x01\xe5\x0bM\xe7e\xa7\x1dK\x99(B6\xbd\xa3\x06\xca\xbd\x1a=\xccL\xf2\xcbLg|\x90\x8c\x8e*\xca01X\x96%\x1c\xe6\xe9tr\xf9-s\x5c\x8d\xd7\x0d\xaf\x97e\xe1\xc4>\xc3\x07l`Ta\x1e>\x83\x96\xacQ#\x9a\x82\x22w6\x1eGX\xaag\x82\x85\xc2\x92{=\xcd\x9a\x07\xcd\x0d\xc3\xf0F\xd5\xdc\x11\x14\xb11x\xe2QC\x5c\x08r\x18\xc5\x13\xddwgV\x1fp\x91iH~\xba\xd6\x9d&9ru\xa7n\xa3\xca\xe4\x1dX\xd4:5\xc2\x05\x81\xdc\xa5\xeb:&E\x92\xde\x8e\x1a\xe9\x88\xb2R\xa1`\x12\x84\xca\x8bYE\xcb!\xe1\xf5\x17\x0di\x89*\x15]U\x11\x5c\xab\x01\xc6\xe6(S5<\xf7\x02R#\xadCRn\xed\x9c\x16\xaa\xbf$C\x8eI\x08\xfc\xf9\xf3\xc7\xa2\x83\x07u\x0e\xd0\x0c\x1e\x82\xfb\xfd\xfd\xbd\xd3\xc1y\xfe\x0av\xc5\xea\xebl\xce\xaa\x91\xea\x9d\xba\x05\x112\xec!\xadM\xeb\xba\xfe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0^\xc8D\xa7n\xe2\x94V\x00V9a\xbdi\x12\xc4\xa8\x11[\xbca\xae\xe3\xbf\x88\xee\x91\x18D\x18\x7f<M\xd3\xe7\xe7'\x06\xc7\xe0\x084hq\xb4!\x01\x0db\xcd\x5c\xa1\x96\xe79\xe4,\xb1\xea\x964z\x04q\x13\x0e4A=H\x09jP\xa9\xcb\xb1\xd58\xabV=\xbe\x04\xd1\xd6\xc5y\x9e\xff{\xc4\x1bZ\x0c@\x98\xa6\x89\x9a\x90V\xa5\x96\x886\x0e\x7f\xd69c \x22\xde?\xa8/\xc5\xfa['\xa7\xf4A=t:\xe6k\x9e\xe7\xb4c\x02\x9a\xeax<r\xd9AGL\xa7\xd9#(T\xc7\x12\xb5\xa6\x1a\x0f:\x0c\xa6O\xaa\xc0\xc1\xa5\xe38\x22\x01\xf80\x18\x07rZ\xa7\xd3\x09\xe6\xb0\xd2a0\xb9\xce\xfd\xce4e:\xa86o\xd5(\x06\xc2a{Y\x22\x16`3\xab\xf9\xf6\xf6V\xab\x05?h\xb0#\xff\xc0\xcc\xb8\xa8d\xd29\x18\x84_\xc0qK'J<j\x9c..)\x9a&\x99\xd5\x0ao\x9b\xc0!>H\xfa\xa4\xee\x94A\x070;\xd2\xb2\xe2\x9b\xe5\x9b5\x8b\x00\x197\x0enu\x04\xcb\x92\x94\xac\x92\xa40\x1b\x04\xb8`\xd2F\xaf\x11.\xe9\xae{{\xb0\xd8\x98\x14\xd6\x8b\x08\xd49\x8b\x9d&'\x01\xa2\xc0\xb4\xd8j\xae\xc0\xeeB\x91xKL\xcd\xe0\xa5R\xce\x1e(\xd8\xea\x00)\xc8\x0e\xd3\x0a\x98\x8aB\x93\xc8\xba\xae\xa3`$\xa8\x18\xf4\xed\xed\xcd<N\xca\xc7O\xd3D\xe9\x7f\xab!6\xac\x86\x019\xcf\x13\x9d\xb3\x00\x86=4\xf1\x1fl\xca\xa3\xbb\x1e\x065\x82zp-&kAcL\xa7\xf3\xbe\xccf\xa2\xe6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>\xc9wI\x9a\x1a\xda\xb6\xbd\x5c.\x10\xf0\xc4\xb6\x98\x05\xe6\x15\x81\x0c\xb1*\x93\x8e\xebu<k\xaf\xbe\xa9\x19\x0d\xe1]\xff9\xd59*\x1d\x9c\xab\x85\xd4Z\xc5z\xc5\xa4\xc7\xcb\x04yP\x07\x80\x81\x06\x82\x0f\x12)5\xb0\x1b\xba!$\x8dMA\x5c*8\x90\x14;iC\xa2\x8e\x14\xc8\x19p\xde\xef\xf7\x87\x86k\x04\x15\xb3\x06\xa1M(\x02\x0bz\xaf)l\xec\x1c\x11^\xa1\xdaz\x08b\x97\xc48W\x09\xa3\xc8r\xd9J\xfd\xc6\x0f\xe6rL7\xa0\xd7&~\x10j~\x90\xa0i\x9a\xf0\xf0fBqZ$f\xec\x09\xd0?V\xb6Po,b\x81vvj\xbf\xe9T'\x14\x95ex}}eY\xbb\xa4\x01m\xd3\x98%?3\x0b\x94\xa9\x03\xe5\xf1x\xd0Je6\x19e\xc2 S\x7f\x80+Ehh\x81\xc2\x96\xf6\x1a\x0bCUh\xa1c\xab*\x1d#\x19t^\x02\xf7\x9a\x93\xc3\x18\x82\xc2\xff\x5c\xed\xe2\xa3\x0e\x99v\x84\x00<6?\xb7\xa88\x1c\x84\xe2v\x0fp\xf9\xedv\xebU/\x1d\x5c\xd9\xc1&\xafI\x97\x08\xec\xad\x17\xda\x85T\xe690\xa9///|\x12j\x83\x9e\xa4E\x8d\xf8N\x14Y\xc3&\xd5\xa0\xc3\xa9\x18\xad:Ih\x03R\x96\xe5\xa4\xb9q\x18%#\x85\x87N\xe3\xe5\xad\xa8\x86sjgKF.\xe1*fu\x0c:x\xb7\xdf\xe5\xc3 \xccM\xa5\xb8|\x1d\xec\xe0*Rv\x8e,]\x0a\x10\x0a%\xf2\x83\xce\xe3\xddi`\x82\xd9\x16\x96wS\x863\xe8\xa0\x9ey\x9e\x8f\xc7\xe3\xf1x\xc4\xb3\x92\xf0\xacu\x94\x07\x8ah+\x021\xf4K\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6\xc9\x9e\x99%\xde\xfey\x8a\x97\x0b\x863\xe5\xe37M\xca\xcet\x92-\xb64\xaa\xe3\x81\xa7E!\xcc\xbb\xc0\xe5\x18\x80\xa1:\xa8)\x91\x90\x8b\x0cP\xdc\xa8.k\x00\x82M\x19\x85\x0f\xae\xacB2\xc0,\xc8\x10\x87\x17\xba\xd6\x05\x1e\xcf\xdc\x1d\x84\xde\xaaZ<&\xe4\xa0\x88A\xcdw\xef\xef\xef\xb9\x06\x03\xad\xeb\x8a\xfe\x05MC\xe3\xadQS\xa6F ^\x04\x91\xbf\x08p\xd6\x04T\xb3\xcb\x93\xc6v\xf3&\xd4\x03\x99\x06t\xba\x01A^\x93\x06P\xd4\xd9\xc5:\xbdz\x9e\x98\xde\xc1\x92\xa1\x85\x8es\x1f\x9a\xd3\x02\xda4\xbb\x1f\xf4\x83r;\xec\xc5@a\xa3h\xa7AoX\xa0\xfd~O\xd5\x0a\x1bL\x0cK\xc3\x8f\xbd4\x8f\x0dN\xa1\xce\x8bu\x01\xaa8\x8bF\x06\xd9\xa9\x80M\xa3$\x91E<1\xeep\x18\x06&z\xe5\xaae+t \xa2\x91w\xa5\xeact\xc8\x9e2(\xa5\x1e\x14z\xd3\x8a\x88\xd2\xb3\xf7EQD[\x0c\x5ct\xae\x86dg=\x82f\xabgJ\x0a\x13s\xa0\x04hR\xad\xbe\x14\x1b\xd9E\xd5\x93\x85\xaa\x8bxC;\x0c\xf3\xd9\x10\x04\xc8~\xcaiv\x1a\xa6\xba\xaa3\xd7V\xc2\x8a\xe8L\x1bF\x06\xfa\xce\xac\xe3\xd7\xd7\x17\xbe\x1d\xbf\x08\x7f\x98kD1\xc1x\xf6\xcf\xa3\xb9\x8c>\xb8\xaf\xcb\xe8\xf0\x05\xd8\xffJ\xd5\xbbUR\xf8ML\xbdjr\x19\x96\xc9\x94\xdb\x94\x14}\x06\x05\x0fU\xd2\xb0\xec\x92\x058\x81y\x9e\x19\x0a\x81a\x80!\x8bQ]\xef\x90{\xa4g\x00\xf5\xb5\xda\xaax\xeeYSb\x89\x9c\xec\x15\x8dR\xc0\xc4\xf8[\x88NCg(\x8c\xba\xae\xbf\xbf\xbf\xb3\xe4\xd43\x1c\x8c\x8f\x08A\x17\x89](\x8f\x9dt\xc2S\xa7\xfar\x9b\x81\x98\xcc\xbd\xf5\xda\x99u\x0c:\x84&\xa8#\xd8\x1a\x99jj\xae\x99{\x8eL\xfd\x93%\xc5\x81\xab\xaa\xa3:Md3;\xba\xa8\x9f\x80\xa1#\xd4\x10\x8c\x1a5\x83\xdf\xed\xd4\x99\xc2'iq@A;\x0d\x9dH\x9d\xb7\x990\xc2'\xd63\xff\xcf\x7f\xfe3\xaaub\xd6Y\x93\xb9N\x08\xc2\x19\x02lr\xcd\xfa\xa5\x90\xc8\xc9\x02\x22>\x1f\xdc\xeaRS\x84\x8es\xe5Z\x1d\xf3\xc1'\x9d=\x19\xc7\x91Y119\x92\x12\x8fB\x94\x9a\xa9\xd9\xab\xae\xeb\xb4B\x1f\xa8f\xc3\x18B\xa0\x8c7\x84\xb0\xd3\x00\x1d4\x0c\xc6\x8f\xb5\xf69\xd3\xb3\xa6\x87o:\xa64$p\x97\xf5uP\x08\x02\xe4\xf1\x08\xa2\xb1\x93\xb3\xce\xb0c\xa2 \xeb\xbe*+_k.\xf4\xaa\x12<\xbe\xb5\xe8\x94\x13[\x11^\x04\xeec\xd1H*\x8c\x1c\xb9Ct\xfd\xff\x01\xa7\xe3\xec\xd9\xe8\x06h\x7f\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x06s\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x1f\x00\x00\x00%\x08\x06\x00\x00\x00\xbaO2\xf2\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x06%IDATX\x09\xed\x96Kh\x15W\x18\xc7g\xe6\xce\x9d\xfbH4\x0f\xe3\xdb\xfa\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x84\xc2!oB\x15\xa1\xf4~\xba\xd6Y\xae\x03\x22\xde\x9c#$y\xfa\xf4iB>\x8b\x81\x88\xbdC\x1aMB\xc27\x5c(1\x8d\xef\xb5\xca\x1d\xeb\xd7\xaf\x1f\xd8\xb7o_?\xae\xca\xb0\xf7y\xe3\xed\xd8\xb1\xc3\xc8\xd2\x9d\xf4\x9ft\xb5\x82\xebp\xd7\xae]\xc6\xefDp\xa2\xa9\x81\x7f\x13\x02\xca\xa1\x06L\xdf\xbbwO\xa9\xa7\x14{\xd1\x05\x0eL\xbd\x7f\xe0\xc0\x81n\xc9\x801\x03(\xbfk\xff\xf2\xb0\x82\x93\x22\xb5{PgRN&\x02\x5c\x13\x02\x1b[\xb8\x14\xe8\x22G\xb5HF\x99e\x22}\xa1&\x80\x7f\xc8\x1e\x87X\xaa\xbdM\xcf\xac\xe0:\xa4z\xb9\xcau\x82\xc7\x81n\x0f\xeb\xcd]V\x97jw\x88j\xf7\xb6@_\x00\x169e\xca\xec\xe7\xb02\xcb\x9b\x18\xbf\xc7\xd4|\x83ek6u\xe0\xd2P\xb5\x1d\xca\xcc\x19i\x97!\xd8\x8c\xd6\x00\xb9\xdd\xdd\xddo\xd1`\xde\x11(C\x82\xf5G3\xa2\xe9|5===\xce\xfd\x88\xd4\x8bI\xbd\x98`KN\x9c8a\xedru\xe0h(\x81\xce\x93'O\x5c\xba\x99'\xda\xa1\xd1XNE\xeb\xa3~\xbfk.\x00\x88\x02i\xed\x8e\x1f?~\xfc\xed\xf8\xf8\xf8(\xccT\x08\xb4\x10\xa5\xab\xf8:\x86\xa18\x0d\xe0\xd5w\xb5E\xe9T7\xb0\xc0\xeb\xe9\xe9q\x04L\xcb\xd4\xea@u/\xbd\xfd\xf8\x0b\xd6\xa6\xef\x94\x11Cccc\xbf\x10\x90e\xee*\x08C\xdc\x15\xde\xbe};\xc6\x88\x84\x005\x14\xa5\x0f\xd2\xb5\xcer\xb44\x14\xcb\xdf\x8aV\xa8s\xa9X\xfa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ek\xf3\xe2\xc5\x8b\xbe\xa6~[=3\xae{\x85\x8c\x86\xf2m>\xb7*\xf9:~\xb4\xf9\xfcu\xe0Xe\xfew\xc1\xff\x04\xa1u\xdf\x8d&\xba3\xcf\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00b\xbb\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x01\x00\x00\x00\x01\x00\x08\x06\x00\x00\x00\x5cr\xa8f\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x04\x00iCCPPhotoshop ICC profile\x00\x00x\xda\x8d\x95\xcfo\x14e\x18\xc7?\xbb\xf3\xce\xac\x09u\x0e\xa6\x02\x16S'\xfe\x00BJ\xb3\x80A\x1a\x04\xdd\xed.\xdbB-\x9bm\x8bmcb\xb6\xb3ow\xc7Ng\xc7wf\xcb\x8f\xf4\xc4Eo\xa0\xfe\x01*r\xf0`\xe2\xc9\x04\x7fE\xb8\x00\x07\x0d$\x04\x0d\xb1!1\xe1P\xe2\x8f\x10I\xb8\x18R\x0f\xb3\xdd\x9d\xd66\xf5==\xfb}\xbf\xcf\xf7\xf9>\xcf\xfbd\x07R\x9f\x97}\xdfMZ0\xeb\x85\xaaT\xc8Z\xe3\x13\x93V\xea\x0eI\x9ea\x13]l*\xdb\x81\x9f)\x16\x87\x00\xca\xbe\xef\xb2\xf2$\xe0\xd1\xcf$\x00n\xed^\xe3~\xa3\xb3\xa9\x22\x03\x1b\x12O\x00\xf5J`\xcfB\xe2\x14\xe8\xae\xed\xab\x10\x8c{\xc0\x81\x93\xa1\x1fB\xeaY\xa0S\x8dOLB*\x0dtV\xa38\x07tNE\xf18\xd0\xa9FK\xfd\x90r\x01\xd3\xae\x95+\x90\x9a\x07z\xa6bx5\x16G\x1e\x00\xe8,HO*\xc7\xb6J\x85\xacUT\xf5i\xc7\x951\xbb\x1b\x5c\xff\xcf3\xeb6\x96\xebu\x03\x1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x00\x00m\x98\x00\x00s\x8e\x00\x00\xf2{\x00\x00\x84\xda\x00\x00n\x94\x00\x00\xe5\x1a\x00\x003'\x00\x00\x19\x17\x99I\x1c\x7f\x00\x00^5IDATx\xda\xec\xbdK\x8f%G\x96&\xf6\x99\xf9\xbd\x11\x99\xccL>\x92d\xb2\xd8U\xdd\xd3\xac\xaa\xe9\xe9Q-j\xd0\x90\x044 -\x04A\x10\x84\xd1B\xbfA\x10\xa0\xa5~K\xff\x02m\xb5\xd1F\x8b\x01\x06Z\xceF\xc2@R\xb3\xba\x1b\x8d*\x8d\x0a\xd5,\x16\x9b\xc5w&\xf3\x11\x11\xf7\xba\x1d-\xdc\xcd\xfc\xd8\xf1s\x8e\xf9\x8d\x8c\xac\x8c\x91\xcc\x08\x222#\xaf]w77;\xcf\xef|'\x10\x11\xfa\xe8\xa3\x8f\xff\x7f\x8e\xd8\x97\xa0\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x00\xe8\xa3\x8f>\xba\x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xda5\xe5\xbdh\xf3\xf9\x1e\xd4\xf6\x1c\xff?\xbf\x17\xfe\xbcr\xbe\xe7\x82\xc8\xf5\xe0\xf7\xaf\xed\xa3\x10\x02\x1e<x\x80\x1f\xfd\xe8G!\x84\x80\xfd~\xff\xdf\x01\xd8\xb3\xf3\x18O\xcd\xb2\xedN4\x19\x03\x0b\xf8\xed\x00\x9c\x11\xd1#\x22\xc20\x0c\xd3M'*\xa1@~x\xb9\xc4\xe4\x1as\xa5q\x11@\xa0\xb2\xa8\x5cb\xe6\x85\x8d1\xae\xfe=oB$\x80\x02U\xda%_+\xcf\xcf\xf3\xb4\x97\x93\xc6\x84\x10C\xf9>~\xff\xc7\xe3q\xf5;\xed\xfe\x11\xb0zy\xf9>4\xadP\x09\xba\x04\x84Xo\x0a9?\xdf\x8b\xe6W\x06\x0a\xa0@\xea\xbd\xe65\x0b!\xe0x<V\xf7_\xb4\xe8\xbc\xfe\xfcP\xf0\xf5\x97\x1a\x97\x0b1o\xfd\xe4\xb3\xf0{\xa9\xf6\xc2\xbc\x7f\xf2|\xae]\xb9\xc6\xcc\xcf\xbf\xd2\xfe\x84r\xff\xfc\x10\xe5g\xces\xca~Q\xde?Bm\x01i\x16\x8f6\x9f\x88\x10(\x00\x11\xab\xc3\xad\xad\x19\x17\x1a\xf9Y\xc7\xe3X\xe6k\xfb\x17\x00\xdez\xeb\xad\xfc\xbd?\x06p6\xdfF\x89\x07\xbcj\x17`\x98\xff\xdf\xcf\x02 rM\x14B\x00h}\xb8V\x92\x98\xb0\xda\x04\xe5\x85\x8fI5\xa5\xaa\xef\x9c_\xb4e\x8e\xc5\x18\xabM\xb3z\x11\x08H\x94t\x933\xe9\xe6\x17\x17\x1a\x81Bu\xa0+\x93?\xad\xcd\xc7\xd5\xf5) amB\x02@\x1am!Q48\x01\x89\xd2z\x9d\xa7\x85Y\x99\xdb\xf2\x10\x81P\x09\x94J8\x91\xef\xdb\x96\xf5\x13\xa65\xb7P<\x97A\xbe\xbf|\xa0\xca\xb3$2\xf7\x0f\x9f\xaf=\x7f\x16\x02|\xbf\xf0\xfdP\xd6b~\xff\xda!\xa7\xb4\x08wm\x1f\xf0\xfd\x93\x9f?\x0b\xd48,\xfb\x8f\x7fG\x08\xa1rA\xe4\xfd\x97\xf5\x8fae\xe9\xc9\xfd\xcb\xdf\xe5,\x00F\x96\x85\x0b2Ux\x93\x02@Z\x00\xe7)\xa5\xc07\x80f\xba\xcb\x97\xef\xf9:\xdc|\x93f\xaf\x9c\x97\x178KF~\x0fY\xdaK\xed-\xb5\xa2\xbco\xfe;.X4\xcd\x1dP\xfb\xbb\xd2tme \xb8\x09)\xfd\xe6q\x1cW\xda/\xcf\xd54\x88\xb4j\xb8Y\xca\x9f\xa3\xf2\x85\x09\xd5gy\x1cC\xb3\xde\xb8\x90\x1bSmMH\x0d\xc9\xef{K4\x9c\x0b\x01\xb9\x96\xd2z\x94\xfbA\x8bWX\xd6\x87%X\xe5\x1a\xc9\xfd\xc35>_k\x22\xc2\xe1p\xc00\x0c\xab8\x00?\xf8\xfc\xde\xf3\xfd\x0f\x18*kLs+\xb9{k\x08\xe5\xf39\x060\xce?\xc3\xab\xb6\x00\xc2<o\x98\xa5O\x94\xfe\xa4\xd4j\xd2\x9c\xd26\x8a\x17|\[email protected]\xb9\xa4\x95\x1bCn\x1e\xe9\x87\xcb \x0c7=\xe5!\x92\x9bE\x13d|>\x17^\xfc\x9e\xb5g\x93\x02\x90\x1f\x08-\x08\xc5\xefI\xc63\xa4\x90\x91\x07Kj~\xbeF\x5c\x13\xf3M\xc8\xdd\x05. \xe4=jZ[\x0a\x16\xeb\xddj\xf1\x91\xfc\x1e\xac\xebK\x01-\xff\x8d\x7f\x8f\x15\xac\xd5,5k\xffhq\x90\x95u\x0a`\xb7\xdb\x95k\x86\x100\x0c\xc3*(\x9a\xdf\xc5~\xbf/\xdf\xcb]7\x1e\x83r\xac\xd1\xfd|\x1e\xe3ubz\xa7\x0a\x80\xc8L\x8d=\x80\x1d\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g\x86kA>\x8b\xf5we\x96\x86\xb8\xde\xbc\x01n\xcdw3\xe3\x11\xd0\xec\xe2\xa3\xa5;\xf9}\xca\xebk\xfd\x0f\xac<\xba\xac\xbe,\xfe\xb0\xd2B\xdb#\xe4\x90BHk!nu\x1a\xb2z\x02Xi\xdbVp\xd6\x12\xd6\x96\xd0\xd2\x00J\x16\x8dW\xcb*\x95\xee\x89\x95V\xf6\xb2&75n\xbc9\xa8\x17\x1f\xf0\x98b\xac\x14\x87\xb6\xb0V\x03\x88V\xcaN\xdb\x1c\x1aZLs3\xac\x0a@M\x0by\xb9\xdbf\x7f\xb7p\xfd\xb5\xf6\xda\x92i\x04\x16\xda\x81\xd7\x02\x98%M\x1a\xc8\x8dMH\xfcF%\xccfB\x0e\xd9\x81H\xaeIe\x99\xd1\xb2\x9e\xdc*\xd3\xd0\x92-\xb7R\x1e|\xcd\x94\xf7\x9a\x99\xf0\xec\x82\x16\x8c\xad\xe6\xc1\x8e9H\x98\xb8\xe7\x16{\xfc\x81\xb7F\x00x]\x80\xad\xc3\xebA\x85\xbd\xce7-\xfa(\xabS\x8fE\x09\x95!\xba\x9b\xfb\xcek8\x83y\x93\x16\xed\xc16\xad\x95\xc7\x95B\xa7\xd2\x04\x82\xd1\xc8\x03\x95X&fu\xff\xac\x82\xb1\xd2>cZi\xf0U\x9e{\xde\xcc\xc7\xf1\x88\xc3a\x04\xd1\x88\xab\xab\xab\x89\xf6-M\x16\xc0\xbd{\xf7q\xff\xfe\xbd\xd2\xf8B\xba[%\xe6\x12m\xd8\xb4U\xba\xcbQ\x8f2\x0e\x22\xff\xec\x05\x9a\xad\x8c\x81\xec\xd0+\x0f\xad\x9a)JLh$\xaa\x04\x82L\xdb\xb5\x82\xa0D>\xc9\xa87\xff\xd64\x07\xb5\xc0>V$\xd9\xcay\xbb\x10M\xa3\x9d\x95g:Z\xf1\x85U\x89o\xf09\xf5\xe4\x06[\x09(%\xe2\xdc\xea\x00luK\xce\xdf\xe7\x99\xafV\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1cx\x0b\xean\x18\xa8\x98\x84\x00\xcd\x87\x22\xe0p\x98\x8av\x16\x00\x0ew\x07\xb8\xc9\x9f\x03qqZU\xaf\x09k# \xbb^\x0b\xac\x82\x8b\xb5\xe5\x96*7c:\xe0\x03v\xbb\x011Nq\x8e\xfd~\x87a\xd8a\xb7\xdb\xad\xda\x91g$b\xae8\x9c\x5c\x83\x84o\xbf\xfd\x0e\xfb\xfd\xbe\x08\x09\x1e \xd4\xaa\xfe\xac=\x97\xd2\xd2\x83A+\xdf\xb54\xadU\xefa5\x1b\xb1\xac\xdc\x96\x12\x94\xc8U\xf9\x5cV\x90\xfdV \x01=r\x0e)u\xb9o\xab=\xb8\x95\xf6\xdb\x8a\xf0\xd2_\x84\xcd\x07 MG\xcb\x0f\xb4\xcaw\xb9\xc6Wk\x12\x98\xbf\xbdN\x9f\xe9nT\x81#\xcf\xa6\xf7\xd9Y\x04\xd1\x0e\x87\xc3\x11\xe3x`A\xc0\x8cR\xac}\xff\x05\xa5W\x0b\x81\xd6~Y\xd7S,\x07?\xb2,\xc90\x0c\xab\xff\xf3!\xcd\xffK\x9e\xbc|\xa0yLd\x02\x09\x1dA\xb4\xa0 \xeb@\xe2\x01)\x01WWG\xbc\xf1\xc6\xae&\x1d\x81^X%\xdf\xdfr\x80j\xa1\xd9\x82\x03\xcb\xfd$3\x12\x16\xc3\xf4\x96l\x94%4\xd4\xfd@\xfe\x19\xb95.\x80\x15(\xd3\xeb\xb7\x01\xc9\xf0k\x05>Z\xf5\xdf\x0a\xfeE1\xe7\xc95\x0d+\x13_\xb4\x00\xb7\x04\x9c\xe6K\xaa\xe9\x1c\xaaoL\xe6\xcd\xd7}\xe61\x17\xf5\x04\x84\x84Rv;\xb9\x05g\x18\xc7\x01WW\x07L\xcd@kH\xee\x82X\xc4*\x85\x97-\x84\xf5\xe2L\x16G\xd6\xa8\xbb\xdd\xa4\xa1\xf3A\xce\x7f\xcf\x07?km\xae\xd98\xfa\x91gA\xa6\xecG-\x88e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\xd8\x10}/\xe5\xa2\xadd\x0a$-\xfet\xab\xda\x83{\xddP\x9a\x08.\x05\x87mE\xfc\xd5 \x8a2\xdf\x8b\x03p\x93\xd0\xd4\x1a,j\xdc\xaa\xfb\xd7\xe2\x1d\x81!\xfd\xd28\x82\xc6\x11\xb4\x0f $PB\xe9S0E\x81\xa9 \xef\x10\x02\xee<\x04~\xfc\x9f\xec\xf1\xdeO\x08\x9f~|\xc0\xb7\xbf\x05\xd21!\xc4\xba\xcd\xf7\x92q\xa0\x15\xc2\xee\x94C\xaa\x0b\x0b=\x82\x9f\xaf\xdc\x0a\x14z\xd7Ji\xba\xef\xd2\x85\x90f\xa0\xd2,\xdd\xe2\x10\xb0;#\xc4=\xb0\xbbC\x08\xe1\x12\xf1\xea\x8eJ\xc6\x22\xa9\xc9,^J+`-\xad\x0a\xcb\x7f\xd7\x9a\x92r0N\xa5DH\xb1\x04\xb0\xde?j\x1cB\x90\x96\xb4\xae\x7fk\x04\xc0\x96\xee%\x1e\x03P\x0b\xea\xeb\xf9=\x1e\x81G\x99?e\xdb6\xa1\xc1d\x90\x91c\x12,\xc0\x08\xaf\x02\x9c\xfc\xe3\xb4\xf8\xef\x11H4\x22P,\xa4\x19\xa0\x04P\xc0\x84\x12M D\x10F\x04D\x8c\xe3\xd4\xd0\xe4\xcd?\x0a\xf8g\x8f\xce\xf0\xcd\xafG\xfc\xee\x17#\xbe\xff\x02\xa0\x90\xeb\x08h\xaex[\x07\xf3\xb6ZGzs\x11V\xb6\xac}\x87\x11\xcc\x83\xe3\xaf\xf3u\x1c\xc7\x84a\x17p\xefaD\xbc\x93\xb0\x7f#\xe1\xfc\x01\xb0\xbb\x93p\xfe \xe1\xecA\xc2p\x9e\xb0\xbfG\x08\xbb\x11a\x970\xec#\xbe\xfc\xbb\x11O\xfe\xaf\xfb\xab\xfc\xb8\x95+\xd7R{\x16#\xafY\xa3\xa0\xc0\x82\xb5})\xf7f\xa2T\xf1M\x14\x16!\x82\x1b3\xa8\x0e:\xe9\x9d\xb5\xbc\xf4\xec\xad\x88\x01x\x87_\xcb\xb5n\x0ddx=\xd5<\x04V\x99\x1f\xb1i\xbeI\x00\x11\xec\xe7\xb3\x80\x1e\xcb\xfdL5\xf6\x987\xc1D\xf6\x1b1\x849\x1dF\x93\x10\x98\x18f\xe6\xbe\x82\x08\xa0\x14\x10\x86\x80\xf7\xffl\xc0\xdb\x7f\x14\xf1\xf9\xafF\xfc\xe3\xdf%\x5c<!\xc4X\x93hx\xac\xc8-\xdc\x86\x86\xeb\xb7\x0f\xf6z\xf3{\xb5\x1b\xd5\xe7\x12\xe1\xfc\xee\x80\x9f\xfd\xd7\x09\xf7\xfe\xe4)\x12F\x84a\x04\xf2\xb3\x04N\xa2RH\x06\x10B\xc4\x1b\x1f\x1e\xf1\xe4o.\x01\xdc\xb1s\xfd\x0d\x98\xad\xe5\xd2Xu\x03\xfa\xbb$\x97R\x5ce\x03\x06\xa9Z\xdc\xb3\x9e\x91\xad\x22\x81'\xd0\xb2_\xb7\xaa3\x90\xa5\xe1\xad\xa8z\xab_@++\xa0u\xfb\xf1R\x80\xad\x02$\x95\xd9\x98\xa1\x16\xbd6M\xdaw\x13\x01!\xcd\x98\x87\xb4\xc4\xe1\x08\x93\x1f\x1cC\xac\xba%\x12\xc5\x12$\x0d1 Q\x00\x05`w/\xe2\x8f\xffb\x87\x87\xff$\xe1\xb3_\x8c\xf8\xea\xd7\x09\x87\x17\x84\xb8g\x16\x0b\xf9\x99\x10=\xa7ok\xec\x0cO&C\xebi\x94\xd8Z\xa0+\xcc\x08\xc7q$\xbc\xfb\x11\xe1\xed?\x7f\x82\xcb\xcb\xab)\x189\x1fr\x0a\x04\x8c\xa1\xca{\xcfR\x01\x14\x03(\xae\x0bi\xac\xa8\xb8\xd7\x98\xd6\xcb\xf2h\xfb\xb6\xb8j\xac\xb7\xa5EOo1X[\x10`k\xfe\x94\x05J\x85\xdbA\xde\x7f+6\xf3\xda\x05\x80\xba\xd00\xd8Y\x8d\xe2\x12\xad,\xd82\xd9\xcb\xbf\xa7E\x8bp*\xe7-\xf3]<x\xf0\x22\xd6\xeb\xea.I2\x92\x90\x10S\x02\xa5\x804{\xbes\xd6\x19\x14R\xe1\x08\x0cq\xae\xcc\x99\xdd\x861\xa5\xc9K\x8e\x198\x13p\xf7a\xc0G\xff\xe9\x80\xf7~\x12\xf1\xe9\xc7#\x9e\xfe~N\x17\xe6\x12\xfc,J\x88\xd1oes\x9e\x80\x5cML\x04\x84A\x01\x0bI\x01\xd1\xa8\xe6k\xbb\x81\xa9\xea^4\xdc;\xe0\x98\x8e@\x05\xf5\x0e\x990\xb1\xc2\x18H\xcb\xcb\xd2~r\xafi\x04\xab2\x7foa\x10V\x82B\x08V\x82oMh\xa8R\x8fY\xca\x0a>V\x99%\x82B\x18\xeb3V\xbdv\x01\xd0\xaa\xd7\xe6~\x98\xda\xd0A\xd1h^\x8a\xae\xa0\x19\xe6B\x97\xd5\x8bkhj\x8d\xabP\x9a\x87Z\x0e\xda\x8b\x7f\x94\x94V\x9a\x19\x81i:\xf4\x08\x09\xa0\x08`\xce\x0a\xcc&\x1fh9\x9dD@ \x02!ar\xf9'K$\xccZ\xe1\xcd?\x09\xf8\xf3G\x03\xbe\xfa\x7fF\x5c\xfd\xfe\x88\xe3\xf73\x80h\x07\xc4!`\xd8'\xec\xf6\x01\xbb\xfb\x84\xb3=\xe1\xec>p\xf6\x80\xb0\xbf\x93\xb0\xbb\x97\xf0\xfc\xbb\x11\x9f\xfd\x9fg8<\x8f\xab\xd8\x86\xed>HZ3\xa8\x91n\x1d\x91\x97f\xd8rb{\x81A\xbe\xab\xf5g\x19\x8b0}B\xc3\x7fXn\x97L\xf7jn\xa7\xbc_\x0d\xfd\xd92\xb3\xad\xda\x00\x95\x97\xd0\xe9 %c\x03V\xdfK\xad\x01\xeb\xad\xca\x02l\x05\xf7l\xd1\xc2\x1a\x0dX\x8bJ\xccc\x7f\xf1\x10\x82\xa7\xf2\x11X\xa6\x1b\x0f\x02r\x1c\x02\x06\x14\x8d>\xd5\x87GPH\xb3\x85\x920\xd2d\x07E\x8a\x935\x90eDf\x00\xa2)hH\xb3)\x1d(\x80\x0e\x01\xf1,\xe0\xfd\x7f\x1eA\x7f\xfa\x0cwq\x86\xfdY\xc0p7a\x7f\x1f\xd8\x9d\x8f\x18\xf6\x84\xe1<\x011MQ\x85\x81\xa6\xaf\xa2\x84wc\xc2\xc5\xf7\x11\xbf\xff\xf8\x0c\xbcq\x87\x95\xc6\xe45\x0azfD'\x1d%Ze\xfb\xb0\x89\xd1\x92\xb77\xc4\xd4\xa9\xd9K\x1b\x97\x83\x14\xf5\xc0\x1d\xbfW\xabFD\xee9+-\xda\x12\x102\xba\xdf\x04\x89\x85\xc69\x81\x8d\x11\xb8u\xb5\x00V\x10\xa8U\xc3\xbdz\xa0P\xa7S44\xde\xfa G7\x1b\xd1\xf4\xe1\x15\x9a'-\xfdb\x09\x93\x5c\x06\xbc\xbe\xfe\xdc\xc7n\x07\xd0|\xc8\x86\x18@\xe3\xec&`:\x98\xe3\xecsO\xbf\x09X:{\xcd\x84\x1e\x85\xa03\xe3\x81'\xb7\xe7\x07\x1f\xdd\xc7\xfd\xf7\x0f\x18\xd3%\x10f4]\xb9\xb7\xd9\x95\x02\x83\xaa\xce\x1b\xea\xfc\xcdI\x03\xe7\xe7\xb3\x22\xe6\xaa\x89\xcc4\xfb\xa2\xd5r3\x93\x1a\x87\x91c\x1e\x10\x07ye\xd6g?eE;\xa0\xc7\x91V\xbew\x0c&\xac\x96\x9b\xd6\x96p\x90\xe9:\xcbOo\xedq-\x06\xb0\xaa\x1bp\xda\xdb\xc9=f\x11\x8b\xe6\xae\xd7\xb7&\x08\xe8\xe5`]\x8e}\x82\xda\xc5e\xeb\xa6\xac\xffl\xf3\xcem\xa9\x13\xe0\x1b\xc0+9\xf6\xfc8-+AD\x18\x09\x13\xb7L\x00\x12E\x10\x12\x22\xc2\x84\xf3g\xd8\xa8\xc50\x0e\x88s\xaa/\x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=\x83\xb1)s\x19\xf3\x9d\x07C1\xf1\x17\x17\x83X\xbc\x832-\xf2l\x04\x10\x8es\x10P\xcb\xd9{P^\xfe\xae$\xf3\x8f\xa6\x98,7\xcf\x02~ysV.G\xd0\xb3\x0b\x96k\xb1\x8ag\x04\xb8\x9d\x8bn\x15\x0e@[\x5cK\xb2z\x8dC<s\xddc~\xe1i2(l@-\xf0\x12\x9f/\xfdA\x89N\x94\xc0\x8e2?V\x14\xb4\xa04\x82\x06\x94\x82 D\xe0H\xc7\xd9\xcc\x8f\x0b\xdc\x15\x011\x86\x02\x0aB\x0c\x85C\xa8\x82\x8c\x06*\x16\x048R\x0c,@\x14B\x05\xb5\x99\x98x1\xcf\x1dKM@\xdd\xb2\x9bot\xb06\xe5\xa9jY&\xdfiJ\xd3u\xc7\xc4\xf3\xfd\x8b\xc5\x80\x10\xf1\xee\x9f\x02\xef\xfd\xf3\x178\x1e\x12hL\xcb5flB~\x96)\xc8U`\x80\x13n\x82kPZ@D1DU\xb9X\x98\x91\x0as\x00\xbb\x11\xa8U\x17R\xda\x91\xc7\xba$\xd9\x8b5X\x96\xb2\x15;\xf0\xe2\x1b\xad\xd4\xe5kw\x01\xb4*()\x89\xb7\xba\x03\x16b\xcfr\x03\xac\xfa\x03-\xa7\xbf\xf2\xd5\xe1\xf7 \xd4\x9aB\xae\x08D,lA\x00\xc6D\x08\xc3\x8c\xef\x0fq\xe1\xd0\xa6\x1c\xf1&\x0ca\xc9\xa7/\xa6\xeb\xac!\xf3\xa6*\xd1\xfeYK\x84\x99Wo\xca\xee\x17\x10\x0e\x85\x09w\xc0\xaa\xfaK\x14\x9ef@\x12\x8f5,Ta\xdc\x1d\x98\xfd\xef\x04P\x0aY1\x97\x87\xa20\xf3\x22F`\x7f'b8K8\x7f\x03\x18\xceF\xec\xee%\xdc}+!\x9e\x8f\xd8\xdf\x1f\xb1\x7f\x90p\xf7\xd1\x11\xe9\x8d\x17H\xc74g\x03RY\x9f\xf9\xee\xe7\xf2\xdf\xa5!\x08\x02\x10g\xc1S2;\x22\x1b\x90\x81A\xd2\xa7\xd6\x82\xbaV\xfe\xde\xe4\x91h4\xf7\x90\xc2C\xba\x09Z\x80\xcfc&n\x81\xd8Z\x8a\xf1V\x01\x81\xac~k-\x13\xcb\xeb}v]\x13\xc8\x8b\xe4K\x13\xcdK\x09\xf2\xfe\x81Z\xb7!-eI\xf9\xfbSB\x9aq\xfd1\xe7\xac1\x09\x05L\xee=\x88\xc6\x09\x1dHS\xae '\x00\x08s%_i\xeb=f\xb1\x00\x0aSQQ\xe9\x19\xc8J\x03\x8bO\x9d\x8b\x8c\xf2g\x12!\x9c\xbd\x00\x1dv8\x96b\x13*\x99\x19\x00\x08\x03!\xee\x80aO\xd8\x9d\x03g\xf7F\xec\xeeD\xec\xee\x8e8\x7f{\xc4\xfeN\xc2p\xf7\x88\xb3\xb7\x13\x86\xb3\x84\x10\x0e\x08o\xd0T\xe3\x1fh\xae\xf3\xcf\x01\xbc\xb9\x89\xe9\x91e&f\xad^\x80Ea\xb1\xd8\x8a\xd1\x93\xe6\xd2\xe94\xac\x0f5\xc1\xc5/Xy\xfe-h@O\xf9x\x9aX3\xe9\xb7\xf4\x95\xd4\x9a\x9eJe\xf9\xaaJ\x81_\x19\x0e\xa0e\xba\xcb\x80\x8cuX\xad\x8a+O \xb4j\x00\xb4\x02\x22/})}I\xc9\xe6\xc2SK\xb9(\x88\x07\xd1x[\xaa\x90\x80\x14sD\x7f\xf2\xab1\xc7\x0d\x0a_@\x08 \x8c\x18R(\x08\xc14\xff\xfbT-<\x9d\x8e\x14\x22\xd28\x1d\xb4\xb1\xb4\xfb.\xe2\x08\x05I3\x7f\x9efA0\x1e\x08o\xfe\xf8\x19\xde\xfe\x19p\xf8\xe6.\xf6\xf7\x08\xfb7\x08\xfb\xb3\x84\xfd\xdb#\xee\xde'\x84\xb3I{\x0f\xe7\x09\xd8\x8d\x08g\x09q\x970\xa6\x11\x93\x113\xa3\x19\x91\x16\xd3\x9a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2\xbd\x15Y\x80V3\x09)\xa9\xb5\xe6\x0e^\x17a\xcbBP\xad\x06M\xda\xceq7\xab\xaf\x80\x06\x10\xa9\xee\x81D\x00\x8a\xcd\xd7\xdd\x80\x8cs\xcfA\xbc0\xbb\xe6S\x8a-\xc6\xe5\xc0\xa4*x\x97\xf5\xf6\xc4\x1c\x94\xf1\xff!\xcd\xc1\xb7\xb9\x03r\xa2q\x01\xd6`\xe9\xbc\x1bDQP9\xf6)\xa7\xfc\x96C0\xce\x14dcXx\x0498'\x84\xc0\xca\x86\x99k\x91\xcd\xf9\xb0\xf0\xfa\x8dY\x08\x8c\xb40\xfd\x0a=?\x16\xdc\x03q_\xac\xacK\xb1\x14\x03!\xa6\xba\xbd\x99\xa7\xfd\xb54q\x85M\xa1\xb4)\x10hC\x86k\x02\xd6\x95 \x08~\xac\xa8e\x9d\xf2\xeaC\x8b\xa8\xf5\xa6\x03\x807\x16\x04\xf4$\x92\xa6I\xad:h\xaf\xb8C\xcb\xcbZ1\x07S2Fq\xcf\xa2\x98\xcd\xe3\x03\x90\xf8\x009_\x029\xb2\x9bB\x09SZ\xacP\x80\x03i\xf6\xf3\x8b?\xcc,\xfd\x983aa\x06\xfd \xe7\xfd\x99\xcb@\x138g*\xb0Yr\xfc)\x07\xe6X\x95]\xae)\x5c\xaa\x02\x97\xd4\x1c?\x18\xa9\x94\xe0.\x07.\x03\x7f\x085\xc5W\xfdwb\xdd\x87\x09i\xcc\xc0\xa4\xc4\x90\x87T0B\xd9\xfdX\x04Sb\xd4\x023\xc0\x89fr\xd4\x0d\xb1 \xef\xcfZ@\xbaE\x0e\xa2q\x04z\xfd\x07\xacw/\xbf\xc3\x8aI\xc8`\xa0\xf5L\x9a\x92\xbaUA@\xed\xe6+\x898\x03H\x96\x1c9\xa9\x8d=\xbc\x8a\xa8\xca,\x9b\xb5\x8e\x07\x8ch\x99H\x1e\x82qK\x03\x06y\xdfj\xa00k\xde\xec\xc7cA\xda\x15\x22\xd3D\x93+@\x8b\x95\x10\xe3\x04\x85K!M9zb\xbe\xc1\xfc\xcd#\x16|=\x18\x03\xd0\x92^sh\xc3\x91\xe6\x00!\xca\xcd\x94(\xc5\x1c\x90[^\xc3\x12\x9e\x0bD,0\xc8\xa0\xc7\x85\x94(\x15a\x93\xa8\x82\xef\x15\xc2\x93\xb4H\x92*e\x1a\xb0\xe0\x150s-$\x1a]D\x9c\x8c/i\xfb\xc7C\x91j\x0a\xc8KW[\xa0\xa0-\x04#\x1eNa\xc59\xc0\xd8\xb1\xad\xc3\x7f\xab\x8a\x81\xf2Mk\xd2\x0e`Xu\xee\xd7`\xed\x1byT`\x16d\xb2\xf5\xd34\xbb\x14_\xb0U\xf5\xc7\x83\x97V\x8af\x01\xac\x88`T`h\xbb0\x97\x06\x87|\xe0\xc2b\xca\x87\x1cW\x9b\xfe-M\x0aq\xa9' B\x9aM\xc64\xa6\xe2\xa3\xd7\xe7j>L94?\xfb\xef\xb9\xa59\x8f\x1b$\xde\x92\xbb\xb8-5\x04z:\xb8\xa92\xea\xb3\x8b\x92r\xc0\x8eE@\x0a\x84\x97\xa4\x08Yr\xff<\xc5\x1fB\xc0\xc8J\x95\x13\x11\x22\x05\x96.\x5c\x90\x97^/\x08\xcb\x87\xb6\x02\xbcZg`\x8di\xd8\xa2\x97o\x05)=^B/\xf0h\xc1\x9c\xad\x18\xc8kw\x012T\x93\xd3\x18{yO+/\xeb\xb1\xf0j\xa0\x0eM\x93k\xf3-t\xd8\xe2z\xfb\xf3\xbd&\x93z\xeb\xf20\xd3\x05\xa1`\xdc'\x5cN(\x1c\x00i\x0e\xccQ\x98\x11z\xcc\x0f-\xa5\xb7\x99\x00\x04\x19A\x17\x0a\xc4\x98h\xc4\x88\x848+\x7f\x90\xa8\x06dA\xbf\x1c\x89\xe7\xa0\xa2\xc9\x85X\x9e\x81Q\x8a\xf2\x98\xf7\x12\xa3g\xc2%\x07\xe9\xf2=M\xe9-\xc6 T,\x9f\xc5\xc7\xcf\xe1\x02\x1e\xdf)\xfd\x07J\x16#\x1fZ`\x9c\xf1\x0d\x91\xfb\xe8 7\xa5l\xc5\x8c\xaa\x5c;l\xee\x07\xeb\x00k\x05<\xad\x1e\x13\x1a\xfe@bG\xb4\xc3n!O%\xc1\xe8\xad\xec\x0c\xa4\xb5m\x96\xbc\x80*b+\xad\x03\x7f\xd6\xfc\xf2\x1ds\x84[.\x90\xf6b\xd6\x9djiEJ\xda\xe2\x154-\x8b\xb0\xceZ\x84\x10\xf0\xe6\xd5G8\x0cO1\xbe\xf1d\x0a~\xa5\xc9\xcc\x9d\xaa\xfc\xa8\x98\xfbaQ\x9bSF p7\x81W\x17Nd\xa0H\x04\x1a\xe6B#ZL\xea\x84\xba\xbe\x81k\xdc\xba\xe7_M\xe9\x9d\x19y\x98\x912\x07\x15\xa9\xca\xea\x15AAK\xee?\x14 R*\x01\xcc\x92\x19\xa0\xc5\xb1\x984\xfcbi,q\x0a\x96\xf4\xa1%\x96@4a\x15\x08k\x16\x1d\x0fQ\xe7)\x93r\xa0bX\xd5\x80x\x87\xb8\x85\xf8\xab\xf6\xca\xcc\xe1\xe8qKh\x98\x84-\xa8E\x0fi{k\xb2\x00\x95\xe6\xcc\xac\xae\x0d\xae\xff\xec\x22h\x9dT\xbd\x82\x0d\x14\xdfXgpmI\xe5l\xb1\x98\xf7\x8f\xed|\x04!\x04\x0c\xc3P\x09\xa1\xfb\xf4G\x08\xdf\xde\xc5\xe3g\xff\x0e\xcf\xef\x7f\x8ax\xf78W\xcd\xe5C\x12\x17\xd0\xcfr2*:\xef\xe99\x97\xa0[\xae_\x08i\x0a\x00N\xb0\x5c\x9e\xe7g\xa4\x1a\x1402\x00\x10\x09&\xe0\x19\x9a\xc0\x8e?-F\xfe\x0a\xb1\x88\xd2\xe6\x8cf\xf3\xa5 \x01\x03\xebN\x94\xad\x8f\x04T\xadV\x89a\x0cP\xfb\xfe\x15'\x7fZ\xac\x93\x89\x12\x88\xd4\xf4\x9f\x16w\xd1\x0e\xbd\xf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d\xdf}\x80\x17\x0f~\x83\xf4\xce\xe7\x08\xe7\x04\xc4:\xc7_i\xfd\xac\xa5g\x13|\xb2>\x03\xe2\xdc\x18\x98\x8e\xc0x\x95\xff\x8f\xc0a@\xba\x18\x90\x9e\x0eH/\xce@\xcf\xf7\x18_\xec\x81\xcb\xbbH\x97;\xd0\xe5~\xd2\xd8\x87\x80\x10\x86\xc9\xcc\xcf\x87\x12\xa8;\x03\x0d5rO\x06J\xe5\x9f\xf9{\xcd\xda~\xbf\xdf\x17\x01\xa0i\xff\xfc9\x8d\xddy\x95\xb6\x93\xd6\x02l\x02Z~\x7f*\x00\x87t\x8b2W\xc3\xae\x00J\xa9\xc6&x\xb1\x09=\xce\xb5\x10\xa7\xdej\x1c\x00\x7fx\xcd\xaco\x95\xe9\xb6\xfe\xcd\xe2\x0d\xd4\x22\xed\xad\xe0\x0b\xbf\xb7\x95\xf9\xb5\x81\xca\xd9{\xa6Z(-\x9aWkK\x95\x7f\x9f-\x81\xe3\xf1X\xb4]\x8c\x11\xe30b\x1c\xc7\xc5RH\x03\xe2\xe3?\xc7\xd9\xb3\x1f\xe0\xea\xe1?`\xfc\xe89\xce\xde\x8e\xac\xd5\xfa\xec\xe7\x1e\x03\x8e\x17\x84t\x08H\x17\x11\xb8\xda\xcd&\xf9\x0e\xe3\xf33\xd0\xf3s\xa4\xcb\x1d\xd2\xf3=p8\x03\xaev\xa0\xe3\x1e\x94B\xb1P\xaa\x80&7\x97\xcfla(\xcdj\xad\xc1&\xd7\x96\xd9\x12\xe2\xeb\x93\x9f?\x1f\xfa\xddn\x87\xb3\xb3\xb3jnUx\xe3\xb4\xf7R\xcb\xbe+%\x13\x8a\xb5\xa3vwV`\xe9\x96in\x95 KTb\xcbz\x5c\xbb\xb9K3\x98%|s\x8b\xba\x03\xf32M-\x1dbIf\xab\xb5\x96j\xe6\x1b\xc4\x1d\x9a\x7f\xcf\x17_\x16\x81xAA\xef\xa7\x05\x18jumi\xf9\x89\xfc\x90U\x81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IEND\xaeB`\x82\x00\x00\x04\x9f\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x1f\x00\x00\x00%\x08\x06\x00\x00\x00\xbaO2\xf2\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x04QIDATX\x09\xe5\x97MHTQ\x18\x86g\xae\xa3I\xe8\x14\x89\x91\x18)8\x14\x08\x81\x22\x81\xa0H \x05FP+\xc1 \x04W\x0a.\x5c\xb8\x12\x11\x11t\xe3\xd2\x85+\x97\x82\x08c\x0ab-\x0c\xdcH0+\x09\x02\xdbD\x86$\xa2\x09\x226\xcd\xe4\xdc\xe9}\x8f\xf7\x1d\xae3s\xe7'\x04\x17~p<\x7f\xdf\xf9\x9e\xef\xe7\xdc{G\x7f2\x99\xf4]\x95XW\x05&\xf7\xfa\xc2\x03\xf9\xd2\xee\x878:\xeau\xc4\x5c\x16\xdc\x99\xff\xbe4~\xaf\xb3\x0eT@\xf5\x04kL\xa8\xc0\xf4Ac9\x97\xb7\xcf\x0aw\x81\x05\xe2\xddH\xbf\x1f\x84\xd9.\x02\xc7E9\xe1\x95vB\x05\x96N\x89k\x8d{\x84\x09~\x861\x9d\xb3Y\xa5B\xb3 \xc38w.N\xd4\x9ar\x9f \x82\x05W\x06\x18y\x02M\xe9\x96#&\x03X\xcf+2\x94\xaeH\xa0\xf6\x08\xa5\x13\xa5\x15\x15\x15e\xed\xed\xed\x95\x1c\xa3\x959\x8d{\x1c\xcbA\x0b\x01\xe8,\x96\xbd%\xa3\xe6\xceAEK\xc3\xa6\x0d\x0d\x0d=hjj\xea\x0e\x04\x02\xc1X,v\xb0\xb6\xb6\xf6.\x1c\x0e\x1fb\x9f\xd13\xed\x7f\x9d\x9es6\x1b\xe9W60\xcd\x94\x5c\x1e\xd2\x01\x0a\xfb@ss\xf3+\xcb\xb2n\x9f\x9d\x9d\x95@\xeeuuu\xbd\xed\xe8\xe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b7\xf2e\x8f\xd3\xa3\xb9l\xfb9\xed]_\xf8?\xc51\xe7I\xd0S\xc77\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x0bQ\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00'\x00\x00\x00!\x08\x06\x00\x00\x00Z\xfa\xb2(\x00\x00\x04$iCCPICC Profile\x00\x008\x11\x85U\xdfo\xdbT\x14>\x89oR\xa4\x16? XG\x87\x8a\xc5\xafUS[\xb9\x1b\x1a\xad\xc6\x06I\x93\xa5\xedJ\x16\xa5\xe9\xd8*$\xe4:7\x89\xa9\x1b\x07\xdb\xe9\xb6\xaaO{\x817\x06\xfc\x01@\xd9\x03\x0fH<!\x0d\x06b{\xd9\xf6\xc0\xb4IS\x87*\xaaIH{\xe8\xc4\x0f!&\xed\x05U\xe1\xbbvb'S\xc4\x5c\xf5\xfa\xcb9\xdf9\xe7;\xe7^\xdbD=_i\xb5\x9a\x19U\x88\x96\xab\xae\x9d\xcf$\x95\x93\xa7\x16\x94\x9eM\x8a\xd2\xb3\xd4K\x03\xd4\xab\xe9N-\x91\xcb\xcd\x12.\xc1\x15\xf7\xce\xeb\xe1\x1d\x8a\x08\xcb\xed\x91\xee\xfeN\xf6#\xbfz\x8b\xdc\xd1\x89\x22O\xc0n\x15\x1d}\x19\xf8\x0cQ\xcc\xd4k\xb6K\x14\xbf\x07\xfb\xf8i\xb7\x06\xdc\xf3\x1c\xf0\xd36\x04\x02\xab\x02\x97}\x9c\x12x\xd1\xc7'=N!?\x09\x8e\xd0*\xeb\x15\xad\x08\xbc\x06<\xbc\xd8f/\xb7a_\x03\x18\xc8\x93\xe1Un\x1b\xba\x22f\x91\xb3\xad\x92ar\xcf\xe1/\x8fq\xb71\xff\x0f.\x9bu\xf4\xec]\x83X\xfb\x9c\xa5\xb9c\xb8\x0f\x89\xde+\xf6T\xbe\x89?\xd7\xb5\xf4\x1c\xf0K\xb0_\xaf\xb9Ia\x7f\x05\xf8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x1c\xc7\xf9O\xf9A\xf9\xcd\xcd\x1f\xf17\xf0\x813\xdc\x0fH~\xf0p\x03\xfc\x12\x9b\xaa\xf2\xf4\xbec\xad\x85#\xa7\xe4\xad\xc7_\xb0\xcf[\x9b\xe5\x08\xba[x\xadZ+\xd2\xfa\xaa\xc9\xf5\x8a\xd9\xa8\xadl\xf46\xae\x99^\xfd\xea\x8d\xa5x5_+\xaf\xdfX\x8e\xd7\x97/\xdc\xa6E\xb8a\x1e\x9e\xcc\xfc\xc8\x19k\xd6\x89p\x98\xec\x12 \x09\xc8OF~\x991\xd7\xf9\x7f\xe4\xa5\xd6>\x9d\xc6\xeb\xd7\xff\xd0wn^M)\x94&\xa2\xd6\x83\xe6\xa9V>3\x85\xd2\xb5\x81)\xd4}\xef\x88\xff\xfb\x82\xe3<\x00\xf2\x10a\xa66\x99Crn\x85\x0a\xcb \x90eh\xa7\xab\x8c\xd5NXdTy\xdfp['\x03\xb4\x7f\xe7lW\xf0\xd6\xf5\xc6=o\x0bn\xdcb\x0f\xbb\xdd\x9d\xf7\x0f{\xd1\x87\xb5\xde\xbf_X\x1cSt/\x0er\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00&\x00\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x8e\x00\x00\x002\x08\x02\x00\x00\x00\x05\x97tQ\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x0aOiCCPPhotoshop ICC profile\x00\x00x\xda\x9dSgTS\xe9\x16=\xf7\xde\xf4BK\x88\x80\x94KoR\x15\x08 RB\x8b\x80\x14\x91&*!\x09\x10J\x88!\xa1\xd9\x15Q\xc1\x11EE\x04\x1b\xc8\xa0\x88\x03\x8e\x8e\x80\x8c\x15Q,\x0c\x8a\x0a\xd8\x07\xe4!\xa2\x8e\x83\xa3\x88\x8a\xca\xfb\xe1{\xa3k\xd6\xbc\xf7\xe6\xcd\xfe\xb5\xd7>\xe7\xac\xf3\x9d\xb3\xcf\x07\xc0\x08\x0c\x96H3Q5\x80\x0c\xa9B\x1e\x11\xe0\x83\xc7\xc4\xc6\xe1\xe4.@\x81\x0a$p\x00\x10\x08\xb3d!s\xfd#\x01\x00\xf8~<<+\x22\xc0\x07\xbe\x00\x01x\xd3\x0b\x08\x00\xc0M\x9b\xc00\x1c\x87\xff\x0f\xeaB\x99\x5c\x01\x80\x84\x01\xc0t\x918K\x08\x80\x14\x00@z\x8eB\xa6\x00@F\x01\x80\x9d\x98&S\x00\xa0\x04\x00`\xcbcb\xe3\x00P-\x00`'\x7f\xe6\xd3\x00\x80\x9d\xf8\x99{\x01\x00[\x94!\x15\x01\xa0\x91\x00 \x13e\x88D\x00h;\x00\xac\xcfV\x8aE\x00X0\x00\x14fK\xc49\x00\xd8-\x000IWfH\x00\xb0\xb7\x00\xc0\xce\x10\x0b\xb2\x00\x08\x0c\x000Q\x88\x85)\x00\x04{\x00`\xc8##x\x00\x84\x99\x00\x14F\xf2W<\xf1+\xae\x10\xe7*\x00\x00x\x99\xb2<\xb9$9E\x81[\x08-q\x07WW.\x1e(\xceI\x17+\x146a\x02a\x9a@.\xc2y\x99\x192\x814\x0f\xe0\xf3\xcc\x00\x00\xa0\x91\x15\x11\xe0\x83\xf3\xfdx\xce\x0e\xae\xce\xce6\x8e\xb6\x0e_-\xea\xbf\x06\xff\x22bb\xe3\xfe\xe5\xcf\xabp@\x00\x00\xe1t~\xd1\xfe,/\xb3\x1a\x80;\x06\x80m\xfe\xa2%\xee\x04h^\x0b\xa0u\xf7\x8bf\xb2\x0f@\xb5\x00\xa0\xe9\xdaW\xf3p\xf8~<<E\xa1\x90\xb9\xd9\xd9\xe5\xe4\xe4\xd8J\xc4B[a\xcaW}\xfeg\xc2_\xc0W\xfdl\xf9~<\xfc\xf7\xf5\xe0\xbe\xe2$\x812]\x81G\x04\xf8\xe0\xc2\xcc\xf4L\xa5\x1c\xcf\x92\x09\x84b\xdc\xe6\x8fG\xfc\xb7\x0b\xff\xfc\x1d\xd3\x22\xc4Ib\xb9X*\x14\xe3Q\x12q\x8eD\x9a\x8c\xf32\xa5\x22\x89B\x92)\xc5%\xd2\xffd\xe2\xdf,\xfb\x03>\xdf5\x00\xb0j>\x01{\x91-\xa8]c\x03\xf6K'\x10Xt\xc0\xe2\xf7\x00\x00\xf2\xbbo\xc1\xd4(\x08\x03\x80h\x83\xe1\xcfw\xff\xef?\xfdG\xa0%\x00\x80fI\x92q\x00\x00^D$.T\xca\xb3?\xc7\x08\x00\x00D\xa0\x81*\xb0A\x1b\xf4\xc1\x18,\xc0\x06\x1c\xc1\x05\xdc\xc1\x0b\xfc`6\x84B$\xc4\xc2B\x10B\x0ad\x80\x1cr`)\xac\x82B(\x86\xcd\xb0\x1d*`/\xd4@\x1d4\xc0Qh\x86\x93p\x0e.\xc2U\xb8\x0e=p\x0f\xfaa\x08\x9e\xc1(\xbc\x81\x09\x04A\xc8\x08\x13a!\xda\x88\x01b\x8aX#\x8e\x08\x17\x99\x85\xf8!\xc1H\x04\x12\x8b$ \xc9\x88\x14Q\x22K\x915H1R\x8aT UH\x1d\xf2=r\x029\x87\x5cF\xba\x91;\xc8\x002\x82\xfc\x86\xbcG1\x94\x81\xb2Q=\xd4\x0c\xb5C\xb9\xa87\x1a\x84F\xa2\x0b\xd0dt1\x9a\x8f\x16\xa0\x9b\xd0r\xb4\x1a=\x8c6\xa1\xe7\xd0\xabh\x0f\xda\x8f>C\xc70\xc0\xe8\x18\x073\xc4l0.\xc6\xc3B\xb18,\x09\x93c\xcb\xb1\x22\xac\x0c\xab\xc6\x1a\xb0V\xac\x03\xbb\x89\xf5c\xcf\xb1w\x04\x12\x81E\xc0\x096\x04wB a\x1eAHXLXN\xd8H\xa8 \x1c$4\x11\xda\x097\x09\x03\x84Q\xc2'\x22\x93\xa8K\xb4&\xba\x11\xf9\xc4\x18b21\x87XH,#\xd6\x12\x8f\x13/\x10{\x88C\xc47$\x12\x89C2'\xb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e3<7\xde2\xdeY_\xcc7\xc0\xb7\xc8\xb7\xcbO\xc3o\x9e_\x85\xdfC\x7f#\xffd\xffz\xff\xd1\x00\xa7\x80%\x01g\x03\x89\x81A\x81[\x02\xfb\xf8z|!\xbf\x8e?:\xdbe\xf6\xb2\xd9\xedA\x8c\xa0\xb9A\x15A\x8f\x82\xad\x82\xe5\xc1\xad!h\xc8\xec\x90\xad!\xf7\xe7\x98\xce\x91\xcei\x0e\x85P~\xe8\xd6\xd0\x07a\xe6a\x8b\xc3~\x0c'\x85\x87\x85W\x86?\x8ep\x88X\x1a\xd11\x975w\xd1\xdcCs\xdfD\xfaD\x96D\xde\x9bg1O9\xaf-J5*>\xaa.j<\xda7\xba4\xba?\xc6.fY\xcc\xd5X\x9dXIlK\x1c9.*\xae6nl\xbe\xdf\xfc\xed\xf3\x87\xe2\x9d\xe2\x0b\xe3{\x17\x98/\xc8]py\xa1\xce\xc2\xf4\x85\xa7\x16\xa9.\x12,:\x96@L\x88N8\x94\xf0A\x10*\xa8\x16\x8c%\xf2\x13w%\x8e\x0ay\xc2\x1d\xc2g\x22/\xd16\xd1\x88\xd8C\x5c*\x1eN\xf2H*Mz\x92\xec\x91\xbc5y$\xc53\xa5,\xe5\xb9\x84'\xa9\x90\xbcL\x0dL\xdd\x9b:\x9e\x16\x9av m2=:\xbd1\x83\x92\x91\x90qB\xaa!M\x93\xb6g\xeag\xe6fv\xcb\xace\x85\xb2\xfe\xc5n\x8b\xb7/\x1e\x95\x07\xc9k\xb3\x90\xac\x05Y-\x0a\xb6B\xa6\xe8TZ(\xd7*\x07\xb2geWf\xbf\xcd\x89\xca9\x96\xab\x9e+\xcd\xed\xcc\xb3\xca\xdb\x907\x9c\xef\x9f\xff\xed\x12\xc2\x12\xe1\x92\xb6\xa5\x86KW-\x1dX\xe6\xbd\xacj9\xb2<qy\xdb\x0a\xe3\x15\x05+\x86V\x06\xac<\xb8\x8a\xb6*m\xd5O\xab\xedW\x97\xae~\xbd&zMk\x81^\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c9\xacGt\xe4\x22q\xaf\x04\x83\xdc\xed;*\xfc\xdd\xf6\xcc\xfc\xe5\xb3\xf222\xe5\xd1i\x0c\x0a\x1f\xcc+\x06*\xfe\xd9\x1d\x22\x93\x9b\xc8\x91\x03\x98\xcf\xc5\x11\xeb\xb4\xa3D\xe2\xefD\x0f\x89\xa0\xa4\x1cJMB\xc7H\x15\xc8\xd3\x07J-5\x1c:\xebH&\xc4\x05\x032yO\x8d=\x84X\xda0\xf3\xd4ep\xdb\x00cJ\x94yQ\xd33}\x87\x15y\x15J\xa0#\x0c*\xc1\x15n\xe7P3\x02\x82\xfbp)\x15N\xdb\xcc\x0bz2\x8f\x9efB\xc2\x815\x10]\x9ama\xd4|7\xd3\x9993\xc8\x9f\x92\xf0&\xf5N\xf37\x05 \xcbv\xb7yf\x16\xa0\x99Eg\x1e\x83?\xc5\x7fSk\x90\x13\xb82\xaaz\xe60\x09u\xe9\xb6\xa5\xfe\x98C8\xcf\xe3A9\x1f\xc0\xde\x9dfI?\xc5\xad\xe0\xb0\xd42\x15\xbf\xbc\xc9)6\x91\xd7\xce\xf1\x9eg\xfa\x00~]O\xd997\x1f\xe6\x96\x17\xae\xc5\x92,\xdbs]\xf0\xff^!\x14\x0f0|\x97M\x89\xe2\xc8\x11\x07x\x1e\xebw\xcf\x14gS\xc4\xc9i\xdd\xb06\x11\xb7LN`P-\x11\x92ux<\xe9\xe7\x0dxV\x997\x07\xe6\xccZ\x06\x9e jFyUf\x19`\x8emeV\xeb\xd9\xf3\xd2\x9e\x179\x12<\xe8\xc9\xcf)\xc1\xc5W\xb2\xda\xbc9\x89C\xf80\xef=P \xc7!\xf3\xae?F\x90\x03X\xc8XN\xbd\x87C!)\xa9\xd11\xd6\x8cl\xe4\x08\xfes\x9e\xfe\xfc\xb6 w \xbaL\xe1\xb1\x98\x9c\x15K\xb8\x11>\xf3:\x88L\x7f\xfc\xdf\x00\xe2\x09\x9a\x8fa\xab\xec:\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x01\xc2\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x10\x00\x00\x00\x10\x08\x06\x00\x00\x00\x1f\xf3\xffa\x00\x00\x00\x04gAMA\x00\x00\xaf\xc87\x05\x8a\xe9\x00\x00\x00\x19tEXtSoftware\x00Adobe ImageReadyq\xc9e<\x00\x00\x01TIDAT8\xcb\xad\x93?H\x02q\x18\x86][\x0b\x83\x96p\xa9\x96@\x04\x9b\x5c\xe4h\x88\x86\x14Zr0\x8c\x06+\x92\x86\xa0\xad\xa5\xa6\x10\xca\x90\xc0\xe0\xdc\xb2\xd4H\x82lH\xa8H\x8b\xee\xbc\xe0*$:\xd4\xe22,\xc2\x1a\xec\xc4S\x92\xb7\xbc\xe1 *\xfbA\x0d\xef\xf6=\xcf\x07\xdf\x1f\x0d\x00\xcd_B\x5cx\x1f\xd37\xa5\xc3\x96\xa7\xa4\xd7Zc<\x03\xb8\xf4\xeboo\xd6z\xda\x88\x05B\xd0\x8a\xeb\xc0\x04\xca\x22\x0b9\xc7!\xb9B!>g\x88\x90v\x87\x94\xda\x80,\x9e\xa0\x92;SRN\xef\x83\xf5XjD\xb0\xfc\x9c\x80|\x17D62\x09\x89\x0f(\xa9\x0b8\xef`\x99\x08~\x93vP\x12\xc6\xf0\xcaO\xe1\xdcoCvs\x1a\xec\xb2\x05\x0d\x87\xf8\x09\xce8 ]\xf5\xa2\xfa\xb2\x88|\xd4\x0ea\xc9\x84\x86[ \x85\xbf\x15\x1cz\xba\x88\xe1/\x82\xbd\x85N\x14\xf3\x07\xc4\xb0*\xf0\x8d\xeatuX\xe4\xb6\xc1\x84\x9c\xc4\xb0*\xf0\xba\xdaQ\x14\x19T\x1f.\xb0;kDb\xd5\x80\xcc\xb1\x0b<\xdd\x8f\xd3y#~=\xe5\xba\xa0\xf2q]\x85\xf0\x08\x1e}f\xc4\x9dZ\x84\x1d\xad\x88\xcet\x83\xe8\x17lT3R\xb4\x1d%~\x1d\x05>\x84#w\x1f\x11\xac\x0a\x86\xcc-\x18\xa6\xb4\xa0\xc7;\x140\xe66m\xfd\xfb7\xfe\x94wU\x5c\xf7&\x1c\x1f\x9d\x02\x00\x00\x00\x00IEND\xaeB`\x82\x00\x00\x00\x99\x89PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\x00\x00\x0b\x00\x00\x00K\x08\x06\x00\x00\x00\xa6\xf4}J\x00\x00\x00\x09pHYs\x00\x00\x0b\x13\x00\x00\x0b\x13\x01\x00\x9a\x9c\x18\x00\x00\x00KIDATH\x0d\xed\xd21\x0a\x00 \x0c\x04\xc1\xe8\xa3}\xb9Z{\xe5v\x8a\xf5\x0a\x91\x83\xa4\x1a\xaeU\xd5\xc8\xac\xcb\xec\xecg\xcf\xf7\xfc<&\x95\x1ajP\x80\xd9n\xa8A\x01f\xbb\xa1\x06\x05\x98\xed\x86\x1a\x14`\xb6\x1bjP\x80\xd9n|k\x1c6\xad\x0a\x9e\xbe\xdc\xacl\x00\x00\x00\x00IEND\xaeB`\x82" qt_resource_name = "\x00\x10\x01\x103\xe4\x00T\x00a\x00n\x00k\x00.\x00P\x00l\x00a\x00t\x00f\x00o\x00r\x00m\x00.\x00Q\x00t\x00\x07\x08\xa5W\x87\x00b\x00g\x002\x00.\x00p\x00n\x00g\x00\x11\x02\xda+\xa7\x00a\x00r\x00r\x00o\x00w\x00_\x00p\x00r\x00e\x00s\x00s\x00e\x00d\x00.\x00p\x00n\x00g\x00\x18\x05\xb4t\xe7\x00d\x00e\x00f\x00a\x00u\x00l\x00t\x00_\x00a\x00p\x00p\x00_\x00i\x00c\x00o\x00n\x00_\x002\x005\x006\x00.\x00p\x00n\x00g\x00\x0f\x0e\x1eK\xe7\x00a\x00r\x00r\x00o\x00w\x00_\x00h\x00o\x00v\x00e\x00r\x00.\x00p\x00n\x00g\x00\x09\x09j\x86g\x00a\x00r\x00r\x00o\x00w\x00.\x00p\x00n\x00g\x00\x0d\x00\xecz\xc7\x00t\x00a\x00n\x00k\x00_\x00l\x00o\x00g\x00o\x00.\x00p\x00n\x00g\x00\x06\x06\x8aWG\x00b\x00g\x00.\x00p\x00n\x00g\x00\x0a\x09\xf1\x8f\xc7\x00p\x00e\x00n\x00c\x00i\x00l\x00.\x00p\x00n\x00g\x00\x0c\x09\x87\xa2\xa7\x00g\x00r\x00a\x00d\x00i\x00e\x00n\x00t\x00.\x00p\x00n\x00g" qt_resource_struct = "\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x00\x00\x02\x00\x00\x00\x09\x00\x00\x00\x02\x00\x00\x00\xd4\x00\x00\x00\x00\x00\x01\x00\x00\xc2\xc9\x00\x00\x00:\x00\x00\x00\x00\x00\x01\x00\x00N\x95\x00\x00\x00b\x00\x00\x00\x00\x00\x01\x00\x00U\x0c\x00\x00\x00\xf4\x00\x00\x00\x00\x00\x01\x00\x00\xce\x1e\x00\x00\x00&\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\xbc\x00\x00\x00\x00\x00\x01\x00\x00\xbe&\x00\x00\x01 \x00\x00\x00\x00\x00\x01\x00\x00\xf5\xe8\x00\x00\x01\x06\x00\x00\x00\x00\x00\x01\x00\x00\xf4\x22\x00\x00\x00\x98\x00\x00\x00\x00\x00\x01\x00\x00\xb7\xcb" def qInitResources(): QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) def qCleanupResources(): QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) qInitResources()
UTF-8
Python
false
false
2,014
9,689,446,222,455
97165dc84d3783d6eca3b57d86feaf075f1f275b
c7d136ac36216df73729791cb05a6d81b335ddb5
/src/maahinkainen/portlet/googlecalendar/googlecalendar.py
086301c4f03edc9706e5a5a63960e8088f0cb011
[]
no_license
datakurre/maahinkainen.portlet.googlecalendar
https://github.com/datakurre/maahinkainen.portlet.googlecalendar
4d3f9bc7a92f7fe3493454d795a4972a95f0f072
b6a93f9419ee8cd6e495ceb18d60574582001820
refs/heads/master
2020-04-05T22:51:59.718406
2013-05-15T04:18:24
2013-05-15T04:18:24
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
"""Copyright (c) 2009, Sergio Gabriel Teves All rights reserved. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. """ """GoogleCalendar Helper Version: 0.1 03-20-2009 Sergio Gabriel Teves Initial Release 0.2 03-25-2009 Process recurrent events #TODO: add reminders to recurrent events 0.3 03-26-2009 Add reminders limits Add recurrence on copy method """ import time import datetime import copy import gdata.calendar import atom from xml.utils import iso8601 from icalendar import Calendar as iCal, LocalTimezone class CalendarEvent: """CalendarEvent This class is an event wrapper. It allow the user to add and modify events without having to worry about atom formats. """ SMS = 'sms' EMAIL = 'email' POPUP = 'alert' DEFAULT = 'all' MINUTES = 'minutes' HOURS = 'hours' DAYS = 'days' WEEKS = 'weeks' _DAY = 'DAILY' _WEEK = 'WEEKLY' _MONTH = 'MONTHLY' _YEAR = 'YEARLY' _event = None _rec = 0 _MAX_REMINDER = 40320 # 4 WEEKS _MIN_REMINDER = 5 def __init__(self, event=None, title=None, start_date=None, end_date=None, description=None, where=None): """Return an Event Instance If event is specified all other arguments are ignored """ if event is not None: self._event = event if len(self._event.when)>0: self._event.when.sort(key=lambda obj: obj.start_time) else: self._event = gdata.calendar.CalendarEventEntry() if title is not None: self.set_title(title) if start_date is not None: self.set_start_date(start_date) if end_date is not None: self.set_end_date(end_date) if description is not None: self.set_description(description) if where is not None: self.set_where(where) def __cmp__(self, other): return cmp(self.get_start_date(),other.get_start_date()) def __str__(self): return ("{id: '%s', title: '%s', start: '%s', end: '%s', description: '%s', where: '%s'}" % (self.get_id(), self.get_title(),self.get_start_date(), self.get_end_date(), self.get_description(), self.get_where())) def _encode_date(self, date): if date.__class__ is datetime.date: _date = time.strftime('%Y-%m-%d', time.gmtime(time.mktime(date.timetuple()))) else: _date = time.strftime('%Y-%m-%dT%H:%M:%S.000Z', time.gmtime(time.mktime(date.timetuple()))) return _date def _decode_date(self, str): if len(str) == 10: _date = time.strptime(str, '%Y-%m-%d') _date = datetime.datetime(_date.tm_year, _date.tm_mon, _date.tm_mday,0,0,0) else: _date = datetime.datetime.fromtimestamp(iso8601.parse(str)) _date = _date.replace(tzinfo=None) return _date def set_title(self, title): self._event.title = atom.Title(text=title) def set_start_date(self, date): """pass datetime.date for an all day event, no end date is necessary""" _date = self._encode_date(date) if len(self._event.when) == 0: self._event.when.append(gdata.calendar.When(start_time=_date)) else: self._event.when[0].start_time = _date def set_end_date(self, date): _date = self._encode_date(date) if len(self._event.when) == 0: self._event.when.append(gdata.calendar.When(end_time=_date)) else: self._event.when[0].end_time = _date def set_description(self, description): self._event.content = atom.Content(text=description) def set_where(self, where): if len(self._event.where) == 0: self._event.where.append(gdata.calendar.Where(value_string=where)) else: self._event.where[0] = gdata.calendar.Where(value_string=where) def get_title(self): return self._event.title.text def get_start_date(self): """return None if no date is set""" _date = None if len(self._event.when) > 0: _date = self._decode_date(self._event.when[self._rec].start_time) return _date def get_end_date(self): """return None if no date is set""" _date = None if len(self._event.when) > 0: _date = self._decode_date(self._event.when[self._rec].end_time) return _date def _process_recurrence(self): return iCal.from_string("BEGIN:VEVENT\n%sEND:VEVENT" % self._event.recurrence.text) def get_description(self): _str="" if self._event.content.text is not None: _str=self._event.content.text return _str def get_where(self): _str = "" if len(self._event.where) > 0: if self._event.where[0].value_string is not None: _str = self._event.where[0].value_string return _str def get_event(self): """return a gdata.calendar.CalendarEventEntry""" return self._event def add_reminder(self, method="all", minutes=None, hours=None, days=None, weeks=None): """ time_type could be 'minutes','hours', 'days', 'weeks' """ if method != "all": if weeks is not None: minutes = ((weeks * 7) * 24) * 60 elif days is not None: minutes = (days * 24) * 60 elif hours is not None: minutes = hours * 60 if minutes > self._MAX_REMINDER: minutes = self._MAX_REMINDER elif minutes < self._MIN_REMINDER: minutes = self._MIN_REMINDER _reminder = gdata.calendar.Reminder(minutes=minutes) else: _reminder = gdata.calendar.Reminder() _reminder._attributes['method'] = 'method' _reminder.method = method if len(self._event.when) == 0: self._event.when.append(gdata.calendar.When()) self._event.when[0].reminder.append(_reminder) else: self._event.when[0].reminder.append(_reminder) def get_reminders(self): """Return a read only list of dict in the form {method, type, time}""" reminders = [] if len(self._event.when)>0: for a_reminder in self._event.when[0].reminder: _reminder = {} _reminder["method"] = a_reminder._ToElementTree().get("method") _val = int(a_reminder.minutes) if _val % 10080 == 0: _reminder["type"] = "weeks" _reminder["time"] = _val / 10080 elif _val % 1440 == 0: _reminder["type"] = "days" _reminder["time"] = _val / 1440 elif _val % 60 == 0: _reminder["type"] = "hours" _reminder["time"] = _val / 60 else: _reminder["type"] = "minutes" _reminder["time"] = _val reminders.append(_reminder) return reminders def get_id(self): _id = None if self._event.id is not None: _id = self._event.id.text.split("/")[-1].split("_")[0] return _id def copy(self, event): self.set_title(event.get_title()) self.set_description(event.get_description()) self.set_where(event.get_where()) self._event.when = event.get_event().when self._event.recurrence = event.get_event().recurrence #self._event.who = event.who def get_guests(self): """Returns a list of dict in the form {email, name, type, status}""" list = [] for p, _who in enumerate(self._event.who): _guest = {} _guest["email"] = _who.email _guest["name"] = _who.name _guest["type"] = _who.value if _who.attendee_status is not None: _guest["status"] = _who.attendee_status.value else: _guest["status"] = "ACCEPTED" list.append(_guest) return list def add_guest(self, name, email): self._event.who.append(gdata.calendar.Who(name=name, email=email)) def remove_guest(self, email): _guest = None for p, _who in enumerate(self._event.who): if email == _who.email: _guest = _who break if _guest is not None: self._event.who.remove(_guest) def is_recurrent(self): return len(self._event.when) > 1 def get_recurrences(self): list = [] for i, a_when in enumerate(self._event.when): _new = copy.copy(self) _new._rec = i list.append(_new) return list def get_recurrence_data(self): r = {} c = iCal.from_string("BEGIN:EVENT\n%sEND:EVENT" % self._event.recurrence.text) r['DTSTART']=c['DTSTART'].dt r['DTEND']=c['DTEND'].dt r['FREQ']=c['RRULE']['FREQ'][0] if c['RRULE'].has_key('WKST'): r['WKST']=c['RRULE']['WKST'][0] if c['RRULE'].has_key('UNTIL'): r['UNTIL']=c['RRULE']['UNTIL'][0].astimezone(LocalTimezone()) if c['RRULE'].has_key('BYDAY'): r['BYDAY']=c['RRULE']['BYDAY'] if c['RRULE'].has_key('INTERVAL'): r['INTERVAL']=c['RRULE']['INTERVAL'][0] return r def set_recurrence_data(self, freq=None, by_day=None, interval=None, until=None): rec = ('DTSTART;TZID=UTC:' + time.strftime('%Y%m%dT%H%M%SZ', self.get_start_date().timetuple()) + '\r\n' + 'DTEND;TZID=UTC:' + time.strftime('%Y%m%dT%H%M%SZ', self.get_end_date().timetuple()) + '\r\n' + 'RRULE:FREQ=' + freq) if by_day is not None and len(by_day)>0: if by_day.__class__ is list: rec += ';BYDAY=' + ",".join(by_day) else: rec += ';BYDAY=' + by_day if interval is not None: rec += ';INTERVAL=' + str(int(interval)) if until is not None: _d = self.get_end_date() _until = datetime.datetime(until.year, until.month, until.day, _d.hour, _d.minute, 0) rec += ';UNTIL=' + time.strftime('%Y%m%dT%H%M%SZ', _until.timetuple()) rec += "\r\n" self._event.recurrence = gdata.calendar.Recurrence(text=rec)
UTF-8
Python
false
false
2,013
19,078,244,745,607
5568bfb0316a66ed8ddb4eb5cad17d1ebfb40052
ca8b7e580445eccb4076937289100b8435e4b22e
/collective/highlights/manager/testing.py
c6364c4dbe83b0dd9350fa1b1b8b6d54bdd2e978
[]
no_license
danilogbotelho/Highlights-Manager
https://github.com/danilogbotelho/Highlights-Manager
cf173cdfc9740625a3282a776d8bc0b6de801f1b
fe8dc5ed4c72697d0a81fe16aeaa451b9ba5d07a
refs/heads/master
2020-12-25T19:03:35.604851
2011-10-18T03:19:47
2011-10-18T03:19:47
2,596,560
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from plone.app.testing import PloneSandboxLayer from plone.app.testing import PLONE_FIXTURE from plone.app.testing import IntegrationTesting from plone.app.testing import FunctionalTesting class Fixture(PloneSandboxLayer): defaultBases = (PLONE_FIXTURE,) def setUpZope(self, app, configurationContext): # Load ZCML import collective.highlights.manager self.loadZCML(package=collective.highlights.manager) def setUpPloneSite(self, portal): # Install into Plone site using portal_setup self.applyProfile(portal, 'collective.highlights.manager:default') FIXTURE = Fixture() INTEGRATION_TESTING = IntegrationTesting( bases=(FIXTURE,), name='collective.highlights.manager:Integration') FUNCTIONAL_TESTING = FunctionalTesting( bases=(FIXTURE,), name='collective.highlights.manager:Functional')
UTF-8
Python
false
false
2,011
18,459,769,440,650
c84d68d7958ac3b6124065b7d28a9e97168b348e
5e432ede8b319679095c81cb47f03739491d9425
/hardway/ex/ex34.py
0417164e6e25f6df8cdaedfa59bfd217011fec03
[]
no_license
optixlab/pyplay
https://github.com/optixlab/pyplay
1720465379fcae45ff53c817e088d5a38ffd5280
6a351136fcfeeea21583dd612fc1aa2d1e04bf33
refs/heads/master
2016-09-05T09:53:52.349476
2014-03-08T09:27:13
2014-03-08T09:27:13
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# Exercise 34 #------------ animals = ['bear', 'python', 'peacock', 'kangaroo', 'whale'] print animals[0] # first animal print animals[3-1] # third animal # Ordinal: Ordered, start with 1 # Cardinal: UNordered. Random card deck.
UTF-8
Python
false
false
2,014
5,703,716,608,528
4d7cdafcfa236500ad19feeab0536435a782a05e
c312e84c7e159052dc3c4bcbf426d4298e2a26f4
/weblate/accounts/views.py
c5f7283a393c53f25eadd519ad210a5711daa580
[ "GPL-3.0-or-later", "GPL-3.0-only" ]
non_permissive
mibamur/weblate
https://github.com/mibamur/weblate
7f44ab840d0ef373cb4ed4196a4355d86bf22907
89c178201b91f3423f050ae1bead0c9fcae2ad59
refs/heads/master
2016-03-06T07:45:01.999212
2012-11-17T08:05:57
2012-11-17T08:05:57
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- # # Copyright © 2012 Michal Čihař <[email protected]> # # This file is part of Weblate <http://weblate.org/> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # from django.shortcuts import render_to_response from django.template import RequestContext from django.conf import settings from django.contrib import messages from django.utils.translation import ugettext as _ from django.http import HttpResponseRedirect from django.contrib.auth.decorators import login_required from django.core.mail.message import EmailMultiAlternatives from django.utils import translation from django.core.urlresolvers import reverse from weblate.accounts.models import set_lang from weblate.accounts.forms import ProfileForm, SubscriptionForm, UserForm, ContactForm def mail_admins_sender(subject, message, sender, fail_silently=False, connection=None, html_message=None): """Sends a message to the admins, as defined by the ADMINS setting.""" if not settings.ADMINS: return mail = EmailMultiAlternatives(u'%s%s' % (settings.EMAIL_SUBJECT_PREFIX, subject), message, sender, [a[1] for a in settings.ADMINS], connection=connection) if html_message: mail.attach_alternative(html_message, 'text/html') mail.send(fail_silently=fail_silently) @login_required def profile(request): if request.method == 'POST': # Read params form = ProfileForm(request.POST, instance = request.user.get_profile()) subscriptionform = SubscriptionForm(request.POST, instance = request.user.get_profile()) userform = UserForm(request.POST, instance = request.user) if form.is_valid() and userform.is_valid() and subscriptionform.is_valid(): # Save changes form.save() subscriptionform.save() userform.save() # Change language set_lang(request.user, request = request, user = request.user) # Redirect after saving (and possibly changing language) response = HttpResponseRedirect(reverse('profile')) # Set language cookie and activate new language (for message below) lang_code = request.user.get_profile().language response.set_cookie(settings.LANGUAGE_COOKIE_NAME, lang_code) translation.activate(lang_code) messages.info(request, _('Your profile has been updated.')) return response else: form = ProfileForm(instance = request.user.get_profile()) subscriptionform = SubscriptionForm(instance = request.user.get_profile()) userform = UserForm(instance = request.user) profile = request.user.get_profile() response = render_to_response('profile.html', RequestContext(request, { 'form': form, 'userform': userform, 'subscriptionform': subscriptionform, 'profile': profile, 'title': _('User profile'), })) response.set_cookie(settings.LANGUAGE_COOKIE_NAME, profile.language) return response def contact(request): if request.method == 'POST': form = ContactForm(request.POST) if form.is_valid(): mail_admins_sender( form.cleaned_data['subject'], 'Message from %s <%s>:\n\n%s' % ( form.cleaned_data['name'], form.cleaned_data['email'], form.cleaned_data['message'] ), form.cleaned_data['email'], ) messages.info(request, _('Message has been sent to administrator.')) return HttpResponseRedirect(reverse('home')) else: initial = {} if request.user.is_authenticated(): initial['name'] = request.user.get_full_name() initial['email'] = request.user.email if 'subject' in request.GET: initial['subject'] = request.GET['subject'] form = ContactForm(initial = initial) return render_to_response('contact.html', RequestContext(request, { 'form': form, 'title': _('Contact'), }))
UTF-8
Python
false
false
2,012
19,189,913,883,279
71ab0600fcfdaf10cddc09ca4f11cc63407a6c4b
a6903d73dda10a07a09881bb0b9e3bba6abec470
/src/tir.py
1db02ec5f66245a3ec5eb943f65ee0cf1fc9bfeb
[]
no_license
thefractaler/Adventure-of-a-cube
https://github.com/thefractaler/Adventure-of-a-cube
f0640caebf7fdcc4298a27104976efc2692ad239
34de10f9f1d759bd00847b2726dc9dcf7e376746
refs/heads/master
2021-01-02T08:51:17.981834
2014-01-26T20:52:06
2014-01-26T20:52:06
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- ''' Copyright (c) 2012 Clément Blaudeau This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ''' #------------------------------ # tir.py # Clement Blaudeau # ****** #------------------------------ # Fichier qui gère les tirs # des personnages #------------------------------ import pygame from pygame.locals import * import general class tir1: def __init__(self): self.image = [pygame.image.load("../images/tir.png").convert_alpha(),pygame.image.load("../images/tir2.png").convert_alpha(),pygame.image.load("../images/tir3.png").convert_alpha()] self.sound = pygame.mixer.Sound("../son/tir.ogg") self.positions = [] self.k = 0 def Progress(self): i = 0 for element in self.positions: self.positions[i] = self.positions[i].move(0,-3) if self.positions[i].bottom < 0: self.positions.remove(self.positions[i]) i +=1 def Display(self, window): for element in self.positions: window.blit(self.image[general.niv], element) def Tir(self,position): if ((pygame.time.get_ticks() - self.k) > 100-(5*general.niv)): self.k = pygame.time.get_ticks() general.tirs += 1 self.sound.set_volume(0.2) self.sound.play() self.positions.append(Rect(0,0,20,30).move(position.left + 20, position.top - 10)) class tir2: def __init__(self): self.image = [pygame.image.load("../images/attaque.png").convert_alpha(),pygame.image.load("../images/attaque2.png").convert_alpha(),pygame.image.load("../images/attaque3.png").convert_alpha()] self.positions = [] self.sound = pygame.mixer.Sound("../son/tir2.ogg") self.k = 0 def Progress(self): i = 0 for element in self.positions: self.positions[i] = self.positions[i].move(0,-3) if self.positions[i].top < - 50: self.positions.remove(self.positions[i]) i +=1 def Display(self, window): for element in self.positions: window.blit(self.image[general.niv], element) def Tir(self,position): if ((pygame.time.get_ticks() - self.k) > 350-(5*general.niv)): self.k = pygame.time.get_ticks() self.positions.append(Rect(0,0,20,30).move(position.left + 20, position.top - 20)) self.sound.play() self.sound.set_volume(0.2) general.tirs += 3
UTF-8
Python
false
false
2,014
18,150,531,798,422
1238803964061f64cc625fee53cdbd58ac11a22d
fd66de82338e67291a220bb935882585f702d4bc
/Python/unique_paths_ii.py
3282b302cd6b23ef223c7e7a17e8fcbb27521b2f
[]
no_license
littleday/leetcodeOJ
https://github.com/littleday/leetcodeOJ
37361251495ce1a7a2c8c22c0d23bbaf56b3a022
c3c25fd7dce50e6a4ccfe6cf62b0578887ddfe0a
refs/heads/master
2016-08-02T20:30:26.819989
2014-10-17T00:50:13
2014-10-17T00:50:13
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
class Solution: # @param obstacleGrid, a list of lists of integers # @return an integer # DP method def uniquePathsWithObstacles(self, obstacleGrid): if obstacleGrid == None: return 0 m = len(obstacleGrid) n = len(obstacleGrid[0]) record = [[0 for value in range(0, n)] for value in range(0, m)] flag = 1 for i in range(0, n): if obstacleGrid[0][i] == 1: flag = 0 record[0][i] = flag else: record[0][i] = flag flag = 1 for j in range(0, m): if obstacleGrid[j][0] == 1: flag = 0 record[j][0] = flag else: record[j][0] = flag for i in range(1, n): for j in range(1,m): if obstacleGrid[j][i] == 1: record[j][i] = 0 else: record[j][i] = record[j-1][i] + record[j][i-1] return record[m-1][n-1]
UTF-8
Python
false
false
2,014
6,966,436,968,796
a89f8f9cfbea9bbd9843e53d3c5d81756a0c4b8e
4556a6f9484421943e987155ad4b448dc4f2f461
/pymp/src/ui/slim.py
2691c39872c23b0bbe0580849d225293fbff62d8
[]
no_license
thrstnh/playground
https://github.com/thrstnh/playground
82191861b88cd46e298fcc57102789e9c0866503
c976126f83d2af1150496c9652f11ad7276522d4
refs/heads/master
2021-03-12T22:38:07.783928
2011-12-04T01:41:16
2011-12-04T01:41:16
2,905,759
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'pymp_slim.ui' # # Created: Wed Feb 9 12:19:04 2011 # by: PyQt4 UI code generator 4.7.4 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_PympSlimView(object): def setupUi(self, PympSlimView): PympSlimView.setObjectName("PympSlimView") PympSlimView.resize(965, 438) self.centralwidget = QtGui.QWidget(PympSlimView) self.centralwidget.setObjectName("centralwidget") self.verticalLayout_5 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_5.setObjectName("verticalLayout_5") self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setObjectName("verticalLayout_4") self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.toolb_new = QtGui.QToolButton(self.centralwidget) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/default/new.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_new.setIcon(icon) self.toolb_new.setObjectName("toolb_new") self.horizontalLayout_5.addWidget(self.toolb_new) self.toolb_open = QtGui.QToolButton(self.centralwidget) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/default/open.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_open.setIcon(icon1) self.toolb_open.setObjectName("toolb_open") self.horizontalLayout_5.addWidget(self.toolb_open) self.toolb_save = QtGui.QToolButton(self.centralwidget) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/default/save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_save.setIcon(icon2) self.toolb_save.setObjectName("toolb_save") self.horizontalLayout_5.addWidget(self.toolb_save) self.toolb_layout_left = QtGui.QToolButton(self.centralwidget) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/default/layout_lm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_layout_left.setIcon(icon3) self.toolb_layout_left.setObjectName("toolb_layout_left") self.horizontalLayout_5.addWidget(self.toolb_layout_left) self.toolb_layout_right = QtGui.QToolButton(self.centralwidget) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/default/layout_rm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_layout_right.setIcon(icon4) self.toolb_layout_right.setObjectName("toolb_layout_right") self.horizontalLayout_5.addWidget(self.toolb_layout_right) self.toolb_random = QtGui.QToolButton(self.centralwidget) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/default/random_f.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_random.setIcon(icon5) self.toolb_random.setObjectName("toolb_random") self.horizontalLayout_5.addWidget(self.toolb_random) self.toolb_repeat = QtGui.QToolButton(self.centralwidget) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/default/repeat_f.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_repeat.setIcon(icon6) self.toolb_repeat.setObjectName("toolb_repeat") self.horizontalLayout_5.addWidget(self.toolb_repeat) self.toolb_clear = QtGui.QToolButton(self.centralwidget) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/default/clear.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_clear.setIcon(icon7) self.toolb_clear.setObjectName("toolb_clear") self.horizontalLayout_5.addWidget(self.toolb_clear) self.toolb_focus = QtGui.QToolButton(self.centralwidget) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(":/default/focus.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_focus.setIcon(icon8) self.toolb_focus.setObjectName("toolb_focus") self.horizontalLayout_5.addWidget(self.toolb_focus) self.toolb_shuffle = QtGui.QToolButton(self.centralwidget) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/default/shuffle.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_shuffle.setIcon(icon9) self.toolb_shuffle.setObjectName("toolb_shuffle") self.horizontalLayout_5.addWidget(self.toolb_shuffle) self.toolb_settings = QtGui.QToolButton(self.centralwidget) icon10 = QtGui.QIcon() icon10.addPixmap(QtGui.QPixmap(":/default/settings.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_settings.setIcon(icon10) self.toolb_settings.setObjectName("toolb_settings") self.horizontalLayout_5.addWidget(self.toolb_settings) self.toolb_love_track = QtGui.QToolButton(self.centralwidget) icon11 = QtGui.QIcon() icon11.addPixmap(QtGui.QPixmap(":/default/love_track.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_love_track.setIcon(icon11) self.toolb_love_track.setObjectName("toolb_love_track") self.horizontalLayout_5.addWidget(self.toolb_love_track) self.toolb_lastfm = QtGui.QToolButton(self.centralwidget) icon12 = QtGui.QIcon() icon12.addPixmap(QtGui.QPixmap(":/default/lfm_f.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_lastfm.setIcon(icon12) self.toolb_lastfm.setObjectName("toolb_lastfm") self.horizontalLayout_5.addWidget(self.toolb_lastfm) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_5.addItem(spacerItem) self.verticalLayout_4.addLayout(self.horizontalLayout_5) self.splitter = QtGui.QSplitter(self.centralwidget) self.splitter.setOrientation(QtCore.Qt.Horizontal) self.splitter.setObjectName("splitter") self.tree_collection = QtGui.QTreeView(self.splitter) self.tree_collection.setMinimumSize(QtCore.QSize(180, 0)) self.tree_collection.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers) self.tree_collection.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection) self.tree_collection.setHeaderHidden(False) self.tree_collection.setObjectName("tree_collection") self.tree_collection.header().setVisible(True) self.tree_collection.header().setMinimumSectionSize(11) self.widget = QtGui.QWidget(self.splitter) self.widget.setObjectName("widget") self.verticalLayout_3 = QtGui.QVBoxLayout(self.widget) self.verticalLayout_3.setObjectName("verticalLayout_3") self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.label_trackinfo = QtGui.QLabel(self.widget) self.label_trackinfo.setMinimumSize(QtCore.QSize(0, 60)) font = QtGui.QFont() font.setPointSize(12) font.setWeight(75) font.setBold(True) self.label_trackinfo.setFont(font) self.label_trackinfo.setObjectName("label_trackinfo") self.verticalLayout_2.addWidget(self.label_trackinfo) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.toolb_prev = QtGui.QToolButton(self.widget) icon13 = QtGui.QIcon() icon13.addPixmap(QtGui.QPixmap(":/default/playback_prev.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_prev.setIcon(icon13) self.toolb_prev.setObjectName("toolb_prev") self.horizontalLayout.addWidget(self.toolb_prev) self.toolb_stop = QtGui.QToolButton(self.widget) icon14 = QtGui.QIcon() icon14.addPixmap(QtGui.QPixmap(":/default/playback_stop.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_stop.setIcon(icon14) self.toolb_stop.setObjectName("toolb_stop") self.horizontalLayout.addWidget(self.toolb_stop) self.toolb_play = QtGui.QToolButton(self.widget) icon15 = QtGui.QIcon() icon15.addPixmap(QtGui.QPixmap(":/default/playback_play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_play.setIcon(icon15) self.toolb_play.setObjectName("toolb_play") self.horizontalLayout.addWidget(self.toolb_play) self.toolb_next = QtGui.QToolButton(self.widget) icon16 = QtGui.QIcon() icon16.addPixmap(QtGui.QPixmap(":/default/playback_next.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_next.setIcon(icon16) self.toolb_next.setObjectName("toolb_next") self.horizontalLayout.addWidget(self.toolb_next) self.toolb_mute = QtGui.QToolButton(self.widget) icon17 = QtGui.QIcon() icon17.addPixmap(QtGui.QPixmap(":/default/speaker.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_mute.setIcon(icon17) self.toolb_mute.setObjectName("toolb_mute") self.horizontalLayout.addWidget(self.toolb_mute) self.slider_volume = QtGui.QSlider(self.widget) self.slider_volume.setOrientation(QtCore.Qt.Horizontal) self.slider_volume.setObjectName("slider_volume") self.horizontalLayout.addWidget(self.slider_volume) self.horizontalLayout_4.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.label_time_start = QtGui.QLabel(self.widget) self.label_time_start.setObjectName("label_time_start") self.horizontalLayout_2.addWidget(self.label_time_start) self.slider_time = QtGui.QSlider(self.widget) self.slider_time.setOrientation(QtCore.Qt.Horizontal) self.slider_time.setObjectName("slider_time") self.horizontalLayout_2.addWidget(self.slider_time) self.label_time_stop = QtGui.QLabel(self.widget) self.label_time_stop.setObjectName("label_time_stop") self.horizontalLayout_2.addWidget(self.label_time_stop) self.horizontalLayout_4.addLayout(self.horizontalLayout_2) self.verticalLayout_2.addLayout(self.horizontalLayout_4) self.verticalLayout_3.addLayout(self.verticalLayout_2) self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.toolb_clear_search = QtGui.QToolButton(self.widget) icon18 = QtGui.QIcon() icon18.addPixmap(QtGui.QPixmap(":/default/cancel.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.toolb_clear_search.setIcon(icon18) self.toolb_clear_search.setObjectName("toolb_clear_search") self.horizontalLayout_3.addWidget(self.toolb_clear_search) self.line_search = QtGui.QLineEdit(self.widget) self.line_search.setObjectName("line_search") self.horizontalLayout_3.addWidget(self.line_search) self.verticalLayout.addLayout(self.horizontalLayout_3) self.table_playlist = QtGui.QTableView(self.widget) self.table_playlist.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers) self.table_playlist.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection) self.table_playlist.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows) self.table_playlist.setSortingEnabled(True) self.table_playlist.setWordWrap(False) self.table_playlist.setObjectName("table_playlist") self.table_playlist.verticalHeader().setVisible(False) self.table_playlist.verticalHeader().setDefaultSectionSize(12) self.table_playlist.verticalHeader().setMinimumSectionSize(12) self.verticalLayout.addWidget(self.table_playlist) self.verticalLayout_3.addLayout(self.verticalLayout) self.plain_lyric = QtGui.QPlainTextEdit(self.splitter) self.plain_lyric.setReadOnly(True) self.plain_lyric.setObjectName("plain_lyric") self.verticalLayout_4.addWidget(self.splitter) self.verticalLayout_5.addLayout(self.verticalLayout_4) PympSlimView.setCentralWidget(self.centralwidget) self.statusBar = QtGui.QStatusBar(PympSlimView) self.statusBar.setSizeIncrement(QtCore.QSize(0, 0)) self.statusBar.setObjectName("statusBar") PympSlimView.setStatusBar(self.statusBar) self.menuBar = QtGui.QMenuBar(PympSlimView) self.menuBar.setGeometry(QtCore.QRect(0, 0, 965, 22)) self.menuBar.setObjectName("menuBar") self.menuFile = QtGui.QMenu(self.menuBar) self.menuFile.setObjectName("menuFile") self.menuView = QtGui.QMenu(self.menuBar) self.menuView.setObjectName("menuView") self.menuHelp = QtGui.QMenu(self.menuBar) self.menuHelp.setObjectName("menuHelp") PympSlimView.setMenuBar(self.menuBar) self.actionAdd_collection = QtGui.QAction(PympSlimView) self.actionAdd_collection.setIcon(icon1) self.actionAdd_collection.setObjectName("actionAdd_collection") self.actionNew_playlist = QtGui.QAction(PympSlimView) self.actionNew_playlist.setIcon(icon) self.actionNew_playlist.setObjectName("actionNew_playlist") self.actionOpen_playlist = QtGui.QAction(PympSlimView) self.actionOpen_playlist.setIcon(icon1) self.actionOpen_playlist.setObjectName("actionOpen_playlist") self.actionSave_playlist = QtGui.QAction(PympSlimView) self.actionSave_playlist.setIcon(icon2) self.actionSave_playlist.setObjectName("actionSave_playlist") self.actionQuit = QtGui.QAction(PympSlimView) icon19 = QtGui.QIcon() icon19.addPixmap(QtGui.QPixmap(":/default/exit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionQuit.setIcon(icon19) self.actionQuit.setObjectName("actionQuit") self.actionShow_collection = QtGui.QAction(PympSlimView) self.actionShow_collection.setIcon(icon3) self.actionShow_collection.setObjectName("actionShow_collection") self.actionShow_lyric = QtGui.QAction(PympSlimView) self.actionShow_lyric.setIcon(icon4) self.actionShow_lyric.setObjectName("actionShow_lyric") self.actionAbout = QtGui.QAction(PympSlimView) icon20 = QtGui.QIcon() icon20.addPixmap(QtGui.QPixmap(":/default/warning.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionAbout.setIcon(icon20) self.actionAbout.setObjectName("actionAbout") self.actionLook_and_feel = QtGui.QAction(PympSlimView) icon21 = QtGui.QIcon() icon21.addPixmap(QtGui.QPixmap(":/default/refresh.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionLook_and_feel.setIcon(icon21) self.actionLook_and_feel.setObjectName("actionLook_and_feel") self.menuFile.addAction(self.actionAdd_collection) self.menuFile.addSeparator() self.menuFile.addAction(self.actionNew_playlist) self.menuFile.addAction(self.actionOpen_playlist) self.menuFile.addAction(self.actionSave_playlist) self.menuFile.addSeparator() self.menuFile.addAction(self.actionQuit) self.menuView.addAction(self.actionShow_collection) self.menuView.addAction(self.actionShow_lyric) self.menuView.addAction(self.actionLook_and_feel) self.menuHelp.addAction(self.actionAbout) self.menuBar.addAction(self.menuFile.menuAction()) self.menuBar.addAction(self.menuView.menuAction()) self.menuBar.addAction(self.menuHelp.menuAction()) self.retranslateUi(PympSlimView) QtCore.QObject.connect(self.toolb_clear_search, QtCore.SIGNAL("clicked()"), self.line_search.clear) QtCore.QMetaObject.connectSlotsByName(PympSlimView) def retranslateUi(self, PympSlimView): PympSlimView.setWindowTitle(QtGui.QApplication.translate("PympSlimView", "pymp", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_new.setToolTip(QtGui.QApplication.translate("PympSlimView", "new playlist", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_new.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_open.setToolTip(QtGui.QApplication.translate("PympSlimView", "open playlist", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_open.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_save.setToolTip(QtGui.QApplication.translate("PympSlimView", "save playlist", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_save.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_layout_left.setToolTip(QtGui.QApplication.translate("PympSlimView", "show collection", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_layout_left.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_layout_right.setToolTip(QtGui.QApplication.translate("PympSlimView", "show lyric", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_layout_right.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_random.setToolTip(QtGui.QApplication.translate("PympSlimView", "random", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_random.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_repeat.setToolTip(QtGui.QApplication.translate("PympSlimView", "repeat", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_repeat.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_clear.setToolTip(QtGui.QApplication.translate("PympSlimView", "clear playlist", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_clear.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_focus.setToolTip(QtGui.QApplication.translate("PympSlimView", "focus current track", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_focus.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_shuffle.setToolTip(QtGui.QApplication.translate("PympSlimView", "shuffle playlist", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_shuffle.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_settings.setToolTip(QtGui.QApplication.translate("PympSlimView", "settings", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_settings.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_love_track.setToolTip(QtGui.QApplication.translate("PympSlimView", "love (last.fm)", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_love_track.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_lastfm.setToolTip(QtGui.QApplication.translate("PympSlimView", "last.fm scrobble", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_lastfm.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.label_trackinfo.setText(QtGui.QApplication.translate("PympSlimView", "Artist - Track - \n" "Album(year) [trackno]\n" "Genre", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_prev.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_stop.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_play.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_next.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_mute.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.label_time_start.setText(QtGui.QApplication.translate("PympSlimView", "00:00", None, QtGui.QApplication.UnicodeUTF8)) self.label_time_stop.setText(QtGui.QApplication.translate("PympSlimView", "00:00", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_clear_search.setToolTip(QtGui.QApplication.translate("PympSlimView", "clear search", None, QtGui.QApplication.UnicodeUTF8)) self.toolb_clear_search.setText(QtGui.QApplication.translate("PympSlimView", "...", None, QtGui.QApplication.UnicodeUTF8)) self.plain_lyric.setPlainText(QtGui.QApplication.translate("PympSlimView", "lyric", None, QtGui.QApplication.UnicodeUTF8)) self.menuFile.setTitle(QtGui.QApplication.translate("PympSlimView", "File", None, QtGui.QApplication.UnicodeUTF8)) self.menuView.setTitle(QtGui.QApplication.translate("PympSlimView", "View", None, QtGui.QApplication.UnicodeUTF8)) self.menuHelp.setTitle(QtGui.QApplication.translate("PympSlimView", "Help", None, QtGui.QApplication.UnicodeUTF8)) self.actionAdd_collection.setText(QtGui.QApplication.translate("PympSlimView", "add collection", None, QtGui.QApplication.UnicodeUTF8)) self.actionNew_playlist.setText(QtGui.QApplication.translate("PympSlimView", "new playlist", None, QtGui.QApplication.UnicodeUTF8)) self.actionOpen_playlist.setText(QtGui.QApplication.translate("PympSlimView", "open playlist", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_playlist.setText(QtGui.QApplication.translate("PympSlimView", "save playlist", None, QtGui.QApplication.UnicodeUTF8)) self.actionQuit.setText(QtGui.QApplication.translate("PympSlimView", "Quit", None, QtGui.QApplication.UnicodeUTF8)) self.actionShow_collection.setText(QtGui.QApplication.translate("PympSlimView", "show collection", None, QtGui.QApplication.UnicodeUTF8)) self.actionShow_lyric.setText(QtGui.QApplication.translate("PympSlimView", "show lyric", None, QtGui.QApplication.UnicodeUTF8)) self.actionAbout.setText(QtGui.QApplication.translate("PympSlimView", "About", None, QtGui.QApplication.UnicodeUTF8)) self.actionLook_and_feel.setText(QtGui.QApplication.translate("PympSlimView", "look and feel", None, QtGui.QApplication.UnicodeUTF8)) import default_rc
UTF-8
Python
false
false
2,011
16,801,912,099,137
3f768806a6ad4d78875bbfec695d9bf19eb481c9
e60297525296b368b357bdfc3eebd35d6294023d
/couch_docs/wq/rd.ext.core.imap-flags-to-common.py
c290c5a77a5c41e870b78473924dbd91f2254bce
[ "MPL-1.1", "MPL-1.0", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-unknown-license-reference" ]
non_permissive
mozilla/raindrop
https://github.com/mozilla/raindrop
5fd298cc6446a4672c224a05ad01a24a6f693f6c
672def99ef64c41e915832ae8d1e60aa4028c818
refs/heads/master
2016-09-06T17:43:15.184167
2010-07-13T19:01:59
2010-07-13T19:01:59
875,470
5
1
null
null
null
null
null
null
null
null
null
null
null
null
null
# ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # for the specific language governing rights and limitations under the # License. # # The Original Code is Raindrop. # # The Initial Developer of the Original Code is # Mozilla Messaging, Inc.. # Portions created by the Initial Developer are Copyright (C) 2009 # the Initial Developer. All Rights Reserved. # # Contributor(s): # # Takes the raw IMAP flags from an IMAP server and converts them to # raindrop schema items which convey the same information. # XXX - currently only '\\Seen' is supported... from raindrop.proto.imap import get_rdkey_for_email def handler(doc): # This is dealing with the 'imap folder state cache doc' - it stores # all meta-data about all items in a folder; so one document holds the # state for many messages. We first need to determine which are # different... rdkeys = [] imap_flags = [] folder_name = doc['rd_key'][1][1] for item in doc['infos']: msg_id = item['ENVELOPE'][-1] rdkey = get_rdkey_for_email(msg_id) rdkeys.append(rdkey) imap_flags.append((rdkey, item['FLAGS'])) result = open_view('raindrop!content!all', 'msg-seen-flag', keys=rdkeys) # turn the result into a dict keyed by rdkey couch_values = {} for row in result['rows']: couch_values[hashable_key(row['key'])] = row['value'] # work out which of these rdkeys actually exist in our db. existing_rdkeys = set() existing = open_schemas(((rdkey, 'rd.msg.rfc822') for rdkey in rdkeys), include_docs=False) for e, rdkey in zip(existing, rdkeys): if e is not None: existing_rdkeys.add(rdkey) # find what is different... nnew = 0 nupdated = 0 # Note it is fairly common to see multiples with the same msg ID in, eg # a 'drafts' folder, so skip duplicates to avoid conflicts. seen_keys = set() for rdkey, flags in imap_flags: if rdkey in seen_keys: logger.info('skipping duplicate message in folder %r: %r', folder_name, rdkey) continue if rdkey not in existing_rdkeys: # this means we haven't actually sucked the message into raindrop # yet (eg, --max-age may have caused only a subset of the messages # to be grabbed, although all messages in the folder are returned # in the input document) logger.debug('skipping message not yet in folder %r: %r', folder_name, rdkey) continue seen_keys.add(rdkey) seen_now = "\\Seen" in flags try: couch_value = couch_values[rdkey] except KeyError: # new message items = {'seen' : seen_now, 'outgoing_state' : 'incoming', } emit_schema('rd.msg.seen', items, rdkey) nnew += 1 else: # If the state in couch is anything other than 'incoming'', it # represents a request to change the state on the server (or the # process of trying to update the server). if couch_value.get('outgoing_state') != 'incoming': logger.info("found outgoing 'seen' state request in doc with key %r", rdkey) continue seen_couch = couch_value['seen'] if seen_now != seen_couch: items = {'seen' : seen_now, 'outgoing_state' : 'incoming', '_rev' : couch_value['_rev'], } emit_schema('rd.msg.seen', items, rdkey) nupdated += 1 logger.info("folder %r needs %d new and %d updated 'seen' records", folder_name, nnew, nupdated)
UTF-8
Python
false
false
2,010
1,949,915,155,506
dbc619527496b9077c6c4170cbaccacdfc13ef78
99e1a15d8f605be456f17608843c309dd8a3260f
/src/Battle/Attack/DamageDelegates/Test/piercedodge_2Xtest.py
1051a7dbd9b92397f896c9f134eda3885b430c63
[]
no_license
sgtnourry/Pokemon-Project
https://github.com/sgtnourry/Pokemon-Project
e53604096dcba939efca358e4177374bffcf0b38
3931eee5fd04e18bb1738a0b27a4c6979dc4db01
refs/heads/master
2021-01-17T23:02:25.910738
2014-04-12T17:46:27
2014-04-12T17:46:27
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import unittest from Test.test_helper import BuildPokemonBattleWrapper from Battle.Attack.DamageDelegates.damage_delegate import DamageDelegate from Battle.Attack.DamageDelegates.piercedodge_2Xdelegate import PierceDodge2XDelegate class coreDamage(unittest.TestCase): """ Test cases of coreDamage """ def setUp(self): """ Build the Pkmn and Delegate for the test """ self.user = BuildPokemonBattleWrapper() self.target = BuildPokemonBattleWrapper() self.dodge = "DIG" self.delegate = PierceDodge2XDelegate(None, 20, 1, self.dodge) self.standard = DamageDelegate(None, 20, 1) def pierce(self): """ Test that the damage is doubled on pierce """ self.target.dodge = self.dodge standard = self.standard.coreDamage(self.user, self.target) damage = self.delegate.coreDamage(self.user, self.target) assert damage == standard*2 , "The damage should be double on pierce" def noPierce(self): """ Test that the damage is standard when there is no pierce """ self.target.dodge = None standard = self.standard.coreDamage(self.user, self.target) damage = self.delegate.coreDamage(self.user, self.target) assert damage == standard , "The damage should be standard on no pierce" # Collect all test cases in this class testcasesCoreDamage = ["pierce", "noPierce"] suiteCoreDamage = unittest.TestSuite(map(coreDamage, testcasesCoreDamage)) ########################################################## # Collect all test cases in this file suites = [suiteCoreDamage] suite = unittest.TestSuite(suites) if __name__ == "__main__": unittest.main()
UTF-8
Python
false
false
2,014
1,099,511,651,530
fc8c6fae45c386d157bb180a0714f750b1dd523b
be05189e4f2bf44f0c10c4b8280b82df2cd0557a
/front/views.py
8faf22c0a65b89f54ee347432c217822d997c98a
[]
no_license
TrevorFSmith/flapdoodle
https://github.com/TrevorFSmith/flapdoodle
bfb36d8ac88db47e69dd91806e73c47710b524fe
f2fecf7d4d08d529f563365e3354c1f57d71e07c
refs/heads/master
2021-03-24T10:11:20.621880
2009-07-20T23:15:49
2009-07-20T23:15:49
223,655
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import datetime import calendar import pprint import traceback from django.conf import settings from django.db.models import Q from django.template import Context, loader from django.http import HttpResponse, Http404, HttpResponseServerError, HttpResponseRedirect, HttpResponsePermanentRedirect from django.shortcuts import render_to_response, get_object_or_404 from django.contrib import auth from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from django.contrib.comments.models import Comment from django.contrib.sites.models import Site from django.utils.html import strip_tags import django.contrib.contenttypes.models as content_type_models from django.template import RequestContext from django.core.cache import cache from django.core.mail import send_mail from django.contrib.auth.decorators import login_required from django.contrib.admin.views.decorators import staff_member_required from django.template.loader import render_to_string from django.utils import feedgenerator from django.core.urlresolvers import reverse from person.models import InviteRequest, UserProfile from person.forms import InviteRequestForm, UserCreationForm from recaptcha.client.captcha import displayhtml as captcha_html from twitter import Twitter from models import * from forms import * def index(request): if request.user.is_authenticated(): return HttpResponseRedirect(reverse('front.views.user', kwargs={'username':request.user.username})) post_invite = False if request.method == 'POST': invite_request_form = InviteRequestForm(request.POST) if invite_request_form.is_valid(): email = invite_request_form.cleaned_data['email'] if InviteRequest.objects.filter(email=email).count() == 0: invite_request_form.save() post_invite = True else: invite_request_form = InviteRequestForm() return render_to_response('front/index.html', { 'captcha_form':captcha_html(settings.RECAPTCHA_PUBLIC_KEY), 'registration_form':UserCreationForm(), 'invite_request_form':invite_request_form, 'post_invite':post_invite }, context_instance=RequestContext(request)) def tos(request): return render_to_response('front/tos.html', { }, context_instance=RequestContext(request)) def wtf(request): return render_to_response('front/wtf.html', { }, context_instance=RequestContext(request)) def privacy(request): return render_to_response('front/privacy.html', { }, context_instance=RequestContext(request)) def user(request, username): user = get_object_or_404(User, username=username) if request.method == 'POST' and request.user.username == user.username: publishing_suffix_form = PublishingSuffixForm(request.POST) if request.POST.get('form_id', None) == 'publishing_suffix_form': if publishing_suffix_form.is_valid(): PublishingSuffix.objects.set_suffix(user, publishing_suffix_form.cleaned_data['suffix']) else: PublishingSuffix.objects.set_suffix(user, None) publishing_suffix_form = PublishingSuffixForm(initial={'suffix':user.publishing_suffix()}) return render_to_response('front/user.html', { 'user':user, 'publishing_suffix_form':publishing_suffix_form, 'phone_number':settings.TWILIO_PHONE_NUMBER, 'twitter_account_form':TwitterAccountForm() }, context_instance=RequestContext(request)) @login_required def phones(request, username): user = get_object_or_404(User, username=username) if request.user.username != user.username: return HttpResponseRedirect(reverse('front.views.phones', kwargs={'username':request.user.username})) return render_to_response('front/phones.html', { 'user':user, 'phone_number':settings.TWILIO_PHONE_NUMBER }, context_instance=RequestContext(request)) @login_required def event(request, id): event_line = get_object_or_404(EventLine, pk=id) print dir(event_line) return render_to_response('front/event.html', { 'event_line':event_line }, context_instance=RequestContext(request)) @login_required def twitter(request, username): user = get_object_or_404(User, username=username) if request.user.username != user.username: return HttpResponseRedirect(reverse('front.views.twitter', kwargs={'username':request.user.username})) page_message = None if request.method == 'POST': twitter_account_form = TwitterAccountForm(request.POST) if twitter_account_form.is_valid(): if TwitterAccount.objects.account_auths(twitter_account_form.cleaned_data['email'], twitter_account_form.cleaned_data['password']): ta = TwitterAccount.objects.save_as_default(user, twitter_account_form.cleaned_data['email'], twitter_account_form.cleaned_data['password']) logging.debug('Created a twitter account for %s: %s' % (user, ta)) page_message = 'That Twitter account info checks out and has been saved.' twitter_account_form = TwitterAccountForm() else: page_message = 'I could not use that email and password to talk to Twitter.' else: twitter_account_form = TwitterAccountForm() return render_to_response('front/twitter.html', { 'user':user, 'twitter_account_form':TwitterAccountForm(), 'page_message':page_message }, context_instance=RequestContext(request)) def update_your_browser(request): return render_to_response('front/update_your_browser.html', { }, context_instance=RequestContext(request)) def recording(request, id): voice_recording = get_object_or_404(VoiceRecording, pk=id) return render_to_response('front/recording.html', {'voice_recording':voice_recording}, context_instance=RequestContext(request))
UTF-8
Python
false
false
2,009
4,767,413,746,121
3033b64f815887f1c048ea790f820c7a3e9414f6
c10ee4981c792cda2e348a1e7ba0ab22b6f70c2e
/special/kruskalClass.py
48af7536fe1213a42eb870bce9a99239189dfc17
[]
no_license
primalpop/641-Project
https://github.com/primalpop/641-Project
caf33723c5fc4541d826ff6c7d34256905251653
c3209ea7fd6841be31469b4c10efc78559121efb
refs/heads/master
2020-12-24T13:35:54.172308
2013-05-15T20:11:09
2013-05-15T20:11:09
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# N is the set of nodes {a,b,c..} # A is the set of arcs with costs {(a,b,1),(a,c,2)..} # # Use: Kruskal(N,A) import gen import time import math class Kruskal: def __init__ (self, N, A): self.A = sorted(A, key= lambda A: A[2]) self.N = N self.n = len(N) self.C = [[u] for u in self.N] self.T = [] def execute(self): for shortestA in self.A: u, v = shortestA[0], shortestA[1] ucomp, vcomp = self.find(u), self.find(v) if (ucomp != vcomp): #print u, v, ":",self.C self.merge(ucomp, vcomp) self.T.append((u,v)) if (len(self.T) == (self.n-1)): break #print "\nMinimum spanning tree:\n", self.T return self.T def find (self, u): i = 0 for c in self.C: if (u in c): return (c,i) i += 1 def merge (self, ucomp, vcomp): self.C = [ucomp[0] + vcomp[0]] + [i for j, i in enumerate(self.C) if j not in [ucomp[1], vcomp[1]]] # My experiment timings_vertices2 = [] theorotical2 = [] vertices = 50 import numpy for nt in numpy.linspace(0.1, 0.95, 20): start = time.time() A = gen.topology(vertices,nt) N = list(xrange(len(A))) p = [] for i in xrange(1,len(A)): for j in xrange(1,i): if A[i][j] != 0: p.append((i,j,A[i][j])) myExperiment = Kruskal(N, p) myExperiment.execute() end = time.time() t = end - start timings_vertices2.append(t) theorotical2.append(len(p)*math.log(vertices)) print t,len(p), vertices
UTF-8
Python
false
false
2,013
10,806,137,747,202
b0ac22c0c924f982be8f83675022cf2ea1d2239f
c4d97af6b9ac9b6ce65e282eac912f75814ffff3
/experiments/pyparsing/ParsingClassicalPropositionalLogic_improved.py
b4838c169d72e9a3fb56590e0a0fcf7cb89790c9
[]
no_license
adolfont/Logic-Dojo
https://github.com/adolfont/Logic-Dojo
5918453c140b1220112ed6a721607a93dacaa64d
122a64b9b38387c4034c5722c228c13821e5aa75
refs/heads/master
2021-01-22T03:53:44.094544
2011-04-08T18:02:40
2011-04-08T18:02:40
1,397,561
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# 14/03/2011 # Parsing Classical Propositional Logic # Adolfo Neto # Adapted from "Parsing First-Order Logic" # pp. 548-553 # Programming in Python 3, Mark Summerfield # Second Edition, 2010 # In the book the author uses Python 3 and pyparsing_py3 from pyparsing import (alphanums, alphas, delimitedList, Forward, Group, Keyword, Literal, opAssoc, operatorPrecedence, ParserElement, ParseException, ParseSyntaxException, Suppress, Word) ParserElement.enablePackrat() class Operand(object): def __init__(self,t): self.args = t[0][0::2] def __str__(self): sep = " %s " % self.reprsymbol return "[" + sep.join(map(str,self.args)) + "]" class NotConnective(Operand): reprsymbol = '!' def __init__(self,t): self.arg = t[0][1] def __str__(self): return self.reprsymbol + str(self.arg) def asList(self): result = [] result.append(self.reprsymbol) if (isinstance(self.arg,str)): result.append(self.arg) else: result.append(self.arg.asList()) return result class AndConnective(Operand): reprsymbol = '&' def asList(self): result = [] result.append(self.reprsymbol) for arg in self.args: if (isinstance(arg,str)): result.append(arg) else: result.append(arg.asList()) return result class OrConnective(Operand): reprsymbol = '|' def asList(self): result = [] result.append(self.reprsymbol) for arg in self.args: if (isinstance(arg,str)): result.append(arg) else: result.append(arg.asList()) return result class ImpliesConnective(Operand): reprsymbol = '->' def asList(self): result = [] result.append(self.reprsymbol) for arg in self.args: if (isinstance(arg,str)): result.append(arg) else: result.append(arg.asList()) return result left_parenthesis, right_parenthesis = map(Suppress, "()") implies = Literal("->") or_ = Literal("|") and_ = Literal("&") not_ = Literal("!") | Literal ("~") boolean = Keyword("false") | Keyword("true") symbol = Word(alphas, alphanums) formula = Forward() operand = boolean | symbol formula << operatorPrecedence(operand, [ (not_, 1, opAssoc.RIGHT, NotConnective), (and_, 2, opAssoc.LEFT, AndConnective), (or_, 2, opAssoc.LEFT, OrConnective), (implies, 2, opAssoc.RIGHT, ImpliesConnective)]) def parse(text): try: result = formula.parseString(text, parseAll=True) assert len(result) == 1 if (isinstance(result[0],str)): resultList = list() resultList.append(result[0]) return resultList else: return result[0].asList() except (ParseException, ParseSyntaxException) as err: print("Syntax error:\n{0.line}\n{1}^".format(err, " " * (err.column - 1))) return "" sample_formulas=[ "A", "A1", "!A1", "!!A1", "!!!A11", "!!!!!A23", "A&B", "A&B&C", "A|B", "A->B", "A|!B", "!A|B", "A->!!B", "!A&!B", "!A->(!B&(!A|C|D))", "!A->!B&!A|C|D", ] for sample_formula in sample_formulas: print sample_formula, " ===> ", parse(sample_formula) print "This is the end..." #results ''' A ===> ['A'] A1 ===> ['A1'] !A1 ===> ['!', 'A1'] !!A1 ===> ['!', ['!', 'A1']] !!!A11 ===> ['!', ['!', ['!', 'A11']]] !!!!!A23 ===> ['!', ['!', ['!', ['!', ['!', 'A23']]]]] A&B ===> ['&', 'A', 'B'] A&B&C ===> ['&', 'A', 'B', 'C'] A|B ===> ['|', 'A', 'B'] A->B ===> ['->', 'A', 'B'] A|!B ===> ['|', 'A', ['!', 'B']] !A|B ===> ['|', ['!', 'A'], 'B'] A->!!B ===> ['->', 'A', ['!', ['!', 'B']]] !A&!B ===> ['&', ['!', 'A'], ['!', 'B']] !A->(!B&(!A|C|D)) ===> ['->', ['!', 'A'], ['&', ['!', 'B'], ['|', ['!', 'A'], 'C', 'D']]] !A->!B&!A|C|D ===> ['->', ['!', 'A'], ['|', ['&', ['!', 'B'], ['!', 'A']], 'C', 'D']] This is the end... ''' # open issues/problems # why moving "asList()" up to the Operand class does not work??? # A&B&C ===> ['&', 'A', 'B', 'C'] # would it better to be ['&', 'A', ['&', 'B', 'C']] --> EXPONENTIAL GROWTH??? # how can I remove "if (isinstance(result[0],str)):"?
UTF-8
Python
false
false
2,011
14,663,018,373,852
d60f897c966749bdc62dcd3b2eb121810aea8c44
e393eef39bfc18b1979aea6400523d69e33a651e
/Geo2D-0.1.22/geo2d/geometry.py
6e732e7927d7d1a9005cce1cac43efdfd34f5835
[ "BSD-2-Clause" ]
permissive
FGCSchool-Math-Club/fgcs-math-club-2014
https://github.com/FGCSchool-Math-Club/fgcs-math-club-2014
8e830da6ed7fa1a40cba96f93edf5654b1b87a29
dbaed1cf0922d52bf5679efb8657eb8acdea08c5
refs/heads/master
2016-09-06T17:03:31.294356
2014-12-12T00:24:07
2014-12-12T00:24:07
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python3 #-*- coding:utf-8 -*- """ Very basic 2D abstract geometry package. It defines these geometrical constructs: * `GeometricObject` - abstract base class, not meant to be used directly * `Point` * `Vector` * `BoundingBox` * `Line` * `Ray` * `Segment` * `Polygon` * ...for now Notes ----- Except for the `Point` and `Vector` classes which will be discussed below, all of the other classes define a `__getitem__` method that can be used to retreive the points defining the `GeometricObject` by indices. The `Point` class defines the `__getitem__` method in a sperate way, i.e. it returns the Cartesian coordinates of the `Point` by indinces. The `Vector` class does the same except it returns the x & y Cartesian coordinates in this case. """ # system modules import math import random # user defined module import geo2d_utils as u # acceptable uncertainty for calculating intersections and such UNCERTAINTY = 1e-5 def get_perpendicular_to(obj, at_point=None): """ Creates a new `Vector` or `Line` perpendicular with `obj` (`Vector` or `Line`-like) depending on `at_point` parameter. The perpendicular vector to the `obj` is not necessarily the unit `Vector`. Parameters ---------- obj : vector, line-like The object to retreive the perpendicular vector to. at_point : point-like, optional If this is given then a `Line` is returned instead, perpendicular to `obj` and passing through `at_point`. Returns ------- out : vector A new `Vector` or `Line` passing through `at_point` with the components in such a way it is perpendicular with `obj`.. Raises ------ TypeError: If `obj` is not `Vector` nor `Line`-like or if `at_point` is not point-like. """ if not isinstance(obj, (Vector, Line)): raise TypeError('Expected vector or line-like, but got: ' '{0} instead.'.format(obj)) if not Point.is_point_like(at_point) and at_point is not None: raise TypeError('Expected point-like, but got: ' '{0} instead.'.format(at_point)) if isinstance(obj, Line): # if it's Line-like get the directional vector obj = obj.v # this is the Vector defining the direction of the perpendicular perpendicular_vector = Vector(1, obj.phi + math.pi/2, coordinates='polar') if Point.is_point_like(at_point): # if at_point was also provided then return a Line # passing through that point which is perpendicular to obj return Line(at_point, perpendicular_vector) # if not just return the perpendicular_vector return perpendicular_vector class GeometricObject(object): """ Abstract geometric object class. It's not meant to be used directly. This only implements methods that are called on other objects. """ def __str__(self, **kwargs): return '{0}({1})'.format(type(self).__name__, kwargs) def __contains__(self, x): """ Searches for x in "itself". If we're talking about a `Point` or a `Vector` then this searches within their components (x, y). For everything else it searches within the list of points (vertices). Parameters ---------- x : {point, scalar} The object to search for. Returns ------- out : {True, False} `True` if we find `x` in `self`, else `False`. """ try: next(i for i in self if i == x) return True except StopIteration: return False def intersection(self, obj): """ Return points of intersection if any. This method just calls the intersection method on the other objects that have it implemented. Parameters ---------- obj : geometric object `obj` is any object that has intersection implemented. Returns ------- ret : {point, None} The point of intersection if any, if not, just `None`. """ return obj.intersection(self) def translate(self, dx, dy): """ Translate `self` by given amounts on x and y. Parameters ---------- dx, dy : scalar Amount to translate (relative movement). """ if isinstance(self, Polygon): # we don't want to include the last point since that's also the # first point and if we were to translate it, it would end up being # translated two times sl = slice(0, -1) else: sl = slice(None) for p in self[sl]: p.translate(dx, dy) def rotate(self, theta, point=None, angle='degrees'): """ Rotate `self` around pivot `point`. Parameters ---------- theta : scalar The angle to be rotated by. point : {point-like}, optional If given this will be used as the rotation pivot. angle : {'degrees', 'radians'}, optional This tells the function how `theta` is passed: as degrees or as radians. Default is degrees. """ polygon_list = None if isinstance(self, Polygon): # we don't want to include the last point since that's also the # first point and if we were to rotate it, it would end up being # rotated two times sl = slice(0, -1) # we are going to create a new Polygon actually after rotation # since it's much easier to do it this way polygon_list = [] else: sl = slice(None) for p in self[sl]: # rotate each individual point p.rotate(theta, point, angle) if polygon_list is not None: polygon_list.append(p) if polygon_list: # in the case of Polygon we build a new rotated one self = Polygon(polygon_list) else: # in case of other GeometricObjects self._v = Vector(self.p1, self.p2).normalized # reset former cached values in self if hasattr(self, '_cached'): self._cached = {} class Point(GeometricObject): """ An abstract mathematical point. It can be built by passing no parameters to the constructor, this way having the origin coordinates `(0, 0)`, or by passing a `Point`, a `tuple` or a `list` of length two or even two scalar values. Parameters ---------- *args : {two scalars, point-like}, optional `Point`-like means that it can be either of `tuple` or `list` of length 2 (see ~`Point.is_point_like`). Raises ------ TypeError If the arguments are not the correct type (`Point`, list, tuple -of length 2- or two values) a `TypeError` is raised. """ def __init__(self, *args): if len(args) == 0: self._x = 0. self._y = 0. elif len(args) == 1: arg = args[0] if Point.is_point_like(arg): self._x = float(arg[0]) self._y = float(arg[1]) if isinstance(arg, Vector): self._x = arg.x self._y = arg.y elif len(args) == 2: self._x = float(args[0]) self._y = float(args[1]) else: raise TypeError('The construct needs no arguments, ' 'Point, list, tuple (of length 2) or two ' 'values, but got instead: {0}'.format(args)) @property def x(self): """[scalar] Get the `x` coordinate.""" return self._x @property def y(self): """[scalar] Get the `y` coordinate.""" return self._y def __str__(self): return super(Point, self).__str__(x=self.x, y=self.y) def __getitem__(self, idx): """ Return values as a `list` for easier acces. """ return (self.x, self.y)[idx] def __len__(self): """ The length of a `Point` object is 2. """ return 2 def __eq__(self, point): """ Equality (==) operator for two points. Parameters ---------- point : {point-like} The point to test against. Returns ------- res : {True, False} If the `x` and `y` components of the points are equal then return `True`, else `False`. Raises ------ TypeError In case something other than `Point`-like is given. """ if Point.is_point_like(point): return abs(self.x - point[0]) < UNCERTAINTY and \ abs(self.y - point[1]) < UNCERTAINTY return False def __lt__(self, point): """ Less than (<) operator for two points. Parameters ---------- point : {point-like} The point to test against. Returns ------- res : {True, False} This operator returns `True` if: 1. `self.y` < `point.y` 2. in the borderline case `self.y` == `point.y` then if `self.x` < `point.x` Otherwise it returns `False`. """ if self.y < point[1]: return True if self.y > point[1]: return False if self.x < point[0]: return True return False @staticmethod def is_point_like(obj): """ See if `obj` is of `Point`-like. `Point`-like means `Point` or a list or tuple of length 2. Parameters ---------- obj : geometric object Returns ------- out : {True, False} `True` if obj is `Point`-like, else `False`. """ if isinstance(obj, Point): return True if isinstance(obj, (tuple, list)) and len(obj) == 2: return True return False def is_left(self, obj): """ Determine if `self` is left|on|right of an infinite `Line` or `Point`. Parameters ---------- obj : {point-like, line-like} The `GeometricObject` to test against. Returns ------- out : {scalar, `None`} >0 if `self` is left of `Line`, =0 if `self` is on of `Line`, <0 if `self` is right of `Line`, Raises ------ ValueError In case something else than a `Line`-like or `Point`-like is given. """ if Line.is_line_like(obj): return ((obj[1][0] - obj[0][0]) * (self.y - obj[0][1]) - \ (self.x - obj[0][0]) * (obj[1][1] - obj[0][1])) if Point.is_point_like(obj): return obj[0] - self.x raise ValueError('Expected a Line or Point, but got: {}' .format(obj)) def distance_to(self, obj): """ Calculate the distance to another `GeometricObject`. For now it can only calculate the distance to `Line`, `Ray`, `Segment` and `Point`. Parameters ---------- obj : geometric object The object for which to calculate the distance to. Returns ------- out : (float, point) Floating point number representing the distance from this `Point` to the provided object and the `Point` of intersection. """ if Point.is_point_like(obj): return ((self.x - obj[0])**2 + (self.y - obj[1])**2)**(.5) if isinstance(obj, Line): perpendicular = get_perpendicular_to(obj) distance_to = abs(perpendicular.x*(self.x - obj.p1.x) + \ perpendicular.y*(self.y - obj.p1.y)) return distance_to def belongs_to(self, obj): """ Check if the `Point` is part of a `GeometricObject`. This method is actually using the method defined on the passed `obj`. Returns ------- out : {True, False} """ return obj.has(self) def translate(self, dx, dy): """ See `GeometricObject.translate`. """ self._x += dx self._y += dy def move(self, x, y): """ The difference between this and `translate` is that this function moves `self` to the given coordinates instead. """ self._x = x self._y = y def rotate(self, theta, point=None, angle='degrees'): """ Rotate `self` by angle theta. Parameters ---------- theta : scalar Angle to rotate by. Default in radians (see `angle`). point : {None, point-like}, optional Pivot point to rotate against (instead of origin). If not given, the point will be rotated against origin. angle : {'radians', 'degrees'}, optional How is `theta` passed? in radians or degrees. """ if angle == 'degrees': theta = math.radians(theta) if point is None: x_new = math.cos(theta) * self.x - math.sin(theta) * self.y y_new = math.sin(theta) * self.x + math.cos(theta) * self.y else: point = Point(point) x_new = math.cos(theta) * (self.x - point.x) - math.sin(theta) * \ (self.y - point.y) + point.x y_new = math.sin(theta) * (self.x - point.x) + math.cos(theta) * \ (self.y - point.y) + point.y self._x = x_new self._y = y_new class Vector(GeometricObject): """ An abstract `Vector` object. It's defined by `x`, `y` components or `rho` (length) and `phi` (angle relative to X axis in radians). Parameters ---------- *args : {two scalars, vector, point, (list, tuple of length 2)} Given `coordinates`, `args` compose the vector components. If the Cartesian coordinates are given, the Polar are calculated and vice-versa. If `args` is of `Vector` type then all of the other arguments are ignored and we create a `Vector` copy of the given parameter. It can also be `Point`-like element; if there are two `Point`-like elements given then the vector will have `rho` equal to the distance between the two points and the direction of point1 -> point2 (i.e. args[0] -> args[1]). If only one `Point`-like is given then this object's `x` and `y` values are used, having obviously the direction ``Point(0, 0)`` -> ``Point(x, y)``. **kwargs : coordinates={"cartesian", "polar"}, optional If `cartesian` then `arg1` is `x` and `arg2` is `y` components, else if `polar` then `arg1` is rho and `arg2` is `phi` (in radians). Raises ------ TypeError In case `args` is not the correct type(`Vector`, two scalars or point-like). """ def __init__(self, *args, **kwargs): coordinates = kwargs.get('coordinates', 'cartesian') if len(args) == 1: if isinstance(args[0], Vector): self._x = args[0].x self._y = args[0].y self._rho = args[0].rho self._phi = args[0].phi if Point.is_point_like(args[0]): self._x = args[0][0] self._y = args[0][1] self._calculate_polar_coords() elif len(args) == 2: if Point.is_point_like(args[0]) and Point.is_point_like(args[1]): self._x = args[1][0] - args[0][0] self._y = args[1][1] - args[0][1] self._calculate_polar_coords() return if coordinates is 'cartesian': self._x = args[0] self._y = args[1] self._calculate_polar_coords() if coordinates is 'polar': self._rho = args[0] self._phi = u.float_to_2pi(args[1]) self._calculate_cartesian_coords() else: raise TypeError('The constructor needs vector, point-like or ' 'two numbers, but instead it was given: ' '{0}'.format(args)) @property def x(self): """[scalar] Get the x component of the `Vector`.""" return self._x @property def y(self): """[scalar] Get the y component of the `Vector`.""" return self._y @property def rho(self): """[scalar] Get the length of the `Vector` (polar coordinates).""" return self._rho @property def phi(self): """ [scalar] Get the angle (radians). Get the angle (in radians) of the `Vector` with the X axis (polar coordinates). `phi` will always be mapped to ``[0, 2PI)``. """ return self._phi @u.cached_property def normalized(self): """ [Vector] Get a normalized `self`. """ return Vector(1, self.phi, coordinates='polar') def __str__(self): return super(Vector, self).__str__(x=self.x, y=self.y, rho=self.rho, phi=math.degrees(self.phi)) def __getitem__(self, idx): """ Return values as a list for easier acces some times. """ return (self.x, self.y)[idx] def __len__(self): """ The length of a `Vector` is 2. """ return 2 def __neg__(self): """ Turns `self` to 180 degrees and returns the new `Vector`. Returns ------- out : vector Return a new `Vector` with same `self.rho`, but `self.phi`-`math.pi`. """ return Vector(-self.x, -self.y) def __mul__(self, arg): """ Calculates the dot product with another `Vector`, or multiplication by scalar. For more details see `dot`. """ return self.dot(arg) def __add__(self, vector): """ Add two vectors. Parameters ---------- vector : vector The vector to be added to `self`. Returns ------- A new vector with components ``self.x + vector.x``, ``self.y + vector.y``. """ return Vector(self.x + vector.x, self.y + vector.y) def __sub__(self, vector): """ Subtraction of two vectors. It is `__add__` passed with turnerd round vector. """ return self.__add__(-vector) def _calculate_polar_coords(self): """ Helper function for internally calculating `self.rho` and `self.phi`. """ # calculate the length of the vector and store it in self.rho self._rho = Point(0, 0).distance_to(Point(self.x, self.y)) # we now calculate the angle with the X axis self._phi = math.atan2(self.y, self.x) if self.phi < 0: self._phi += 2*math.pi def _calculate_cartesian_coords(self): """ Helper function for internally calculating `self.x` and `self.y`. Raises ------ ValueError In case self.phi is outside of the interval ``[0, 2PI)`` an `Exception` is raised. """ self._x = self.rho * math.cos(self.phi) self._y = self.rho * math.sin(self.phi) @staticmethod def random_direction(): """ Create a randomly oriented `Vector` (with `phi` in the interval ``[0, PI)``) and with unit length. Returns ------- out : vector A `Vector` with random orientation in positive Y direction and with unit length. """ return Vector(1, random.random()*math.pi, coordinates='polar') def dot(self, arg): """ Calculates the dot product with another `Vector`, or multiplication by scalar. Parameters ---------- arg : {scalar, vector} If it's a number then calculates the product of that number with this `Vector`, if it's another `Vector` then it will calculate the dot product. Returns ------- res : {float, vector} Take a look at the parameters section. Raises ------ TypeError In case `arg` is not number or `Vector`. """ if isinstance(arg, Vector): # if arg is Vector then return the dot product return self.x * arg.x + self.y * arg.y elif isinstance(arg, (int, float)): # if arg is number return a Vector multiplied by that number return Vector(self.x * arg, self.y * arg) # if arg is not the correct type then raise TypeError raise TypeError('Expected a vector or number, but got '.format(arg)) def cross(self, arg): """ Calculates the cross product with another `Vector`, as defined in 2D space (not really a cross product since it gives a scalar, not another `Vector`). Parameters ---------- arg : vector Another `Vector` to calculate the cross product with. Returns ------- res : float Take a look at the parameters section. Raises ------ TypeError In case `arg` is not a `Vector`. """ if isinstance(arg, Vector): return self.x * arg.y - self.y * arg.x raise TypeError('Expected a vector, but got '.format(arg)) def parallel_to(self, obj): """ Is `self` parallel with `obj`? Find out if this `Vector` is parallel with another object (`Vector` or `Line`-like). Since we are in a 2D plane, we can use the geometric interpretation of the cross product. Parameters ---------- obj : {vector, line-like} The object to be parallel with. Returns ------- res : {True, False} If it's parallel return `True`, else `False`. """ if isinstance(obj, Line): obj = obj.v return abs(self.cross(obj)) < UNCERTAINTY def perpendicular_to(self, obj): """ Is `self` perpendicular to `obj`? Find out if this `Vector` is perpendicular to another object (`Vector` or `Line`-like). If the dot product between the two vectors is 0 then they are perpendicular. Parameters ---------- obj : {vector, line-like} The object to be parallel with. Returns ------- res : {True, False} If they are perpendicular return `True`, else `False`. """ if isinstance(obj, Line): obj = obj.v return self * obj == 0 def translate(*args): """Dummy function since it doesn't make sense to translate a `Vector`.""" pass def rotate(self, theta, angle='degrees'): """ Rotate `self` by `theta` degrees. Properties ---------- theta : scalar Angle by which to rotate. angle : {'degrees', 'radians'}, optional Specifies how `theta` is given. Default is degrees. """ if angle == 'degrees': theta = math.radians(theta) self.phi += theta self._calculate_cartesian_coords() class BoundingBox(GeometricObject): """ Represents the far extremeties of another `GeometricObject` (except for `Vector`). It is totally defined by two points. For convenience it also has `left`, `top`, `right` and `bottom` attributes. Parameters ---------- obj : geometric object The object for which to assign a `BoundingBox`. """ def __init__(self, obj): if not isinstance(obj, GeometricObject) or isinstance(obj, Vector): raise TypeError('The argument must be of type GeometricObject ' '(except for Vector), but got {} instead' .format(obj)) # make min the biggest values possible and max the minimum xs = [point.x for point in obj] ys = [point.y for point in obj] self._left = min(xs) self._top = max(ys) self._right = max(xs) self._bottom = min(ys) self._p1 = Point(self.bottom, self.left) self._p2 = Point(self.top, self.right) self._width = abs(self.right - self.left) self._height = abs(self.top - self.bottom) @property def left(self): """[scalar]""" return self._left @property def top(self): """[scalar]""" return self._top @property def right(self): """[scalar]""" return self._right @property def bottom(self): """[scalar]""" return self._bottom @property def p1(self): """ (point-like) Get the bottom-left `Point`. """ return self._p1 @property def p2(self): """ (point-like) Get the top-right `Point`. """ return self._p2 @property def width(self): """[scalar]""" return self._width @property def height(self): """[scalar]""" return self._height def __str__(self): return super(BoundingBox, self).__str__(left=self.left, top=self.top, right=self.right, bottom=self.bottom, p1=str(self.p1), p2=str(self.p2)) def __getitem__(self, idx): """ Get points through index. Parameters ---------- idx : scalar The index of the `Point`. Returns ------- out : point The selected `Point` through the provided index. """ return (self.p1, self.p2)[idx] def __len__(self): """ The `BoundingBox` is made of 2 points so it's length is 2. """ return 2 class Line(GeometricObject): """ An abstract mathematical `Line`. It is defined by either two points or by a `Point` and a `Vector`. Parameters ---------- arg1 : point-like The passed in parameters can be either two points or a `Point` and a `Vector`. For more on `Point`-like see the `Point` class. arg2 : {point-like, vector} If a `Vector` is given as `arg2` instead of a `Point`-like, then `p2` will be calculated for t = 1 in the vectorial definition of the line (see notes). See Also -------- Point, Vector Notes ----- A line can be defined in three ways, but we use here only the vectorial definition for which we need a `Point` and a `Vector`. If two points are given the `Vector` :math:`\\boldsymbol{\mathtt{p_1p_2}}` will be calculated and then we can define the `Line` as: .. math:: \\boldsymbol{r} = \\boldsymbol{r_0} + t \cdot \\boldsymbol{\mathtt{p_1p_2}} Here :math:`t` is a parameter. """ def __init__(self, arg1, arg2): if Point.is_point_like(arg1) and Point.is_point_like(arg2): # detect if arguments are of type Point-like, if so # store them and calculate the directional Vector self._p1, self._p2 = Point(arg1), Point(arg2) self._v = Vector(self.p1, self.p2).normalized else: # if we have instead a Point and a Vector just calculate # self.p2 self._p1, self._v = Point(arg1), arg2.normalized self._p2 = Point(self.p1.x + self.v.x, self.p1.y + self.v.y) @property def p1(self): """ [point] Get the 1st `Point` that defines the `Line`. """ return self._p1 @property def p2(self): """ [point] Get the 2nd `Point` that defines the `Line`. """ return self._p2 @property def v(self): """ [vector] Get the `Vector` pointing from `self.p1` to`self.p2`. """ return self._v @property def phi(self): """ [scalar] Get `self.v.phi`. Convenience method. """ return self.v.phi def __str__(self, **kwargs): return super(Line, self).__str__(v=str(self.v), p1=str(self.p1), p2=str(self.p2), **kwargs) def __getitem__(self, idx): """ Get the points that define the `Line` by index. Parameters ---------- idx : scalar The index for `Point`. Returns ------- ret : point Selected `Point` by index. """ return (self.p1, self.p2)[idx] def __len__(self): """The `Line` is made of 2 points so it's length is 2.'""" return 2 @staticmethod def is_line_like(obj): """ Check if an object is in the form of `Line`-like for fast computations (not necessary to build lines). Parameters ---------- obj : anything `obj` is checked if is of type `Line` (i.e. not `Ray` nor `Segment`) or if this is not true then of the form: ((0, 1), (3, 2)) or [[0, 2], [3, 2]] or even combinations of these. Returns ------- res : {True, False} """ if type(obj) == Line or (all(len(item) == 2 for item in obj) and \ len(obj) == 2): return True return False def intersection(self, obj): """ Find if `self` is intersecting the provided object. If an intersection is found, the `Point` of intersection is returned, except for a few special cases. For further explanation see the notes. Parameters ---------- obj : geometric object Returns ------- out : {geometric object, tuple} If they intersect then return the `Point` where this happened, else return `None` (except for `Line` and `Polygon`: see notes). Raises ------ TypeError If argument is not geometric object then a `TypeError` is raised. Notes ----- * `Line`: in case `obj` is `Line`-like and `self` then `self` and the `Line` defined by `obj` are checked for colinearity also in which case `geo2d_utils.inf` is returned. * `Polygon`: in the case of intersection with a `Polygon` a tuple of tuples is returned. The nested tuple is made up by the index of the intersected side and intersection point (e.g. ``((intersection_point1, 1), ( intersection_point2, 4))`` where `1` is the first intersected side of the `Polygon` and `4` is the second one). If the `Line` doesn't intersect any sides then `None` is returned as in the usual case. """ if isinstance(obj, Line): self_p1 = Vector(self.p1) obj_p1 = Vector(obj.p1) denominator = self.v.cross(obj.v) numerator = (obj_p1 - self_p1).cross(self.v) if abs(denominator) < UNCERTAINTY: # parallel lines if abs(numerator) < UNCERTAINTY: # colinear lines return u.inf return None # calculate interpolation parameter (t): Vector(obj.p1) + obj.v * t t = numerator/denominator intersection_point = Point(obj_p1 + obj.v * t) if type(obj) is Ray: # in case it's a Ray we restrict the values to [0, inf) if not (t >= UNCERTAINTY): return None if type(obj) is Segment: # and for Segment we have values in the # interval [0, obj.p1.distance_to(obj.p2)] if not (UNCERTAINTY <= t <= obj.p1.distance_to(obj.p2) - \ UNCERTAINTY): return None return intersection_point if isinstance(obj, Polygon): # if it's a Polygon traverse all the edges and return # the intersections as a list of items. The first element in # one item is the intersection Point and the second element in # the item is the edge's number intersections = [] for idx, side in enumerate(obj.edges): intersection_point = self.intersection(side) if intersection_point is None or \ intersection_point == u.inf: continue if intersections and intersection_point == intersections[-1][0]: continue intersections.append([intersection_point, idx]) # if there are no intersections return the usual None return intersections or None raise TypeError('Argument needs to be geometric object, but ' 'got instead: {0}'.format(obj)) def has(self, point): """ Inspect if `point` (`Point`-like) is part of this `Line`. Parameters ---------- point : point-like The `Point` to test if it's part of this `Line`. Returns ------- ret : {True, False} If it's part of this `Line` then return True, else False. See also -------- Line.intersection, Ray.has, Segment.has """ # if the intersection failes then the object is not # on this Line # create a Vector from p1 to the point of interest # if this Vector is parallel to our direction Vector # then it is on the Line, if not, it's not on the Line vector = Vector(self.p1, point) return vector.parallel_to(self) def perpendicular_to(self, obj): """ Find out if provided `Line` is perpendicular to `self`. Returns ------- ret : {True, False} """ if isinstance(obj, Line): obj = obj.v return self.v.perpendicular_to(obj) def parallel_to(self, obj): """ Find out if provided `Vector` or `Line`-like is parllel to `self`. Parameters ---------- obj : {vector, line-like} The `Vector` or `Line`-like to compare parallelism with. Returns ------- ret : {True, False} If `self` and `Line` are parallel then retrun `True`, else `False`. """ if isinstance(obj, Line): obj = obj.v return self.v.parallel_to(obj) class Ray(Line): """ A `Ray` extension on `Line`. The only difference is that this has a starting `Point` (`p1`) which represents the end of the `Ray` in that direction. Parameters ---------- arg1 : point-like The passed in parameters can be either two points or a `Point` and a `Vector` For more on `Point`-like see the `Point` class. arg2 : {point-like, vector} See `arg1`. See also -------- Line, Segment, Vector """ def intersection(self, obj): """ Tries to find the `Point` of intersection. The difference between this and the `Line` intersection method is that this has also the constrain that if the `Point` of intersection is on the line then it also must be within the bounds of the `Ray`. Parameters ---------- obj : geometric object Returns ------- out : {gometric object, None} `GeometricObject` if intersection is possible, else the cases from `Line`.intersection. See also -------- Line.intersection, Segment.intersection """ # if we're not dealing with a Line-like then skin the parent # intersection method if type(obj) is Line: return obj.intersection(self) intersections = super(Ray, self).intersection(obj) if isinstance(obj, Polygon): if intersections: intersections = [item for item in intersections \ if self.has(item[0])] return intersections if intersections and intersections != u.inf: if abs(self.p1.x - self.p2.x) < UNCERTAINTY: # vertical line r = (intersections.y - self.p1.y) / self.v.y else: r = (intersections.x - self.p1.x) / self.v.x if not (r >= UNCERTAINTY): return None return intersections def has(self, point): """ Check if `point` is part of `self`. Parameters ---------- point : point-like The `Point` to check. Returns ------- ret : {True, False} If the point is on the `Ray` then return `True`, else `False`. See also -------- Ray.intersection, Line.has, Segment.has """ if super(Ray, self).has(point): p1_to_point = Vector(self.p1, point) return p1_to_point * self.v >= UNCERTAINTY class Segment(Line): """ An extension on `Line`. This class emposes the `length` property on a `Line`. A `Segment` is a finite `Line`. Parameters ---------- arg1 : point-like The passed in parameters can be either two points or a `Point` and a `Vector` For more on `Point`-like see the `Point` class. arg2 : {point-like, vector} See `arg1`. Raises ------ ValueError If length is less than or equal to 0. See also -------- Line, Ray, Vector """ @u.cached_property def length(self): """ [scalar] Get the length of the `Segment`. I.e. the distance from `self.p1` to `self.p2`. """ return self.p1.distance_to(self.p2) @u.cached_property def bounding_box(self): """ [BoundingBox] get the `BoundingBox` of `self`. """ return BoundingBox(self) def __str__(self): return super(Segment, self).__str__(length=self.length) def intersection(self, obj): """ Tries to find the `Point` of intersection. The difference between this and the `Line` intersection method is that this has also the constrain that if the `Point` of intersection is on the line then it also must be within the bounds of the `Segment`. Parameters ---------- obj : geometric object Returns ------- out : {gometrical object, None} `GeometricObject` if intersection is possible, else the cases from `Line`.intersection. See also -------- Line.intersection, Ray.intersection """ # in case we need to check for another geometricObject if type(obj) is Line: return obj.intersection(self) intersections = super(Segment, self).intersection(obj) if isinstance(obj, Polygon): if intersections: intersections = [item for item in intersections \ if self.has(item[0])] return intersections if intersections and intersections != u.inf: if abs(self.p1.x - self.p2.x) < UNCERTAINTY: # vertical line r = (intersections.y - self.p1.y) / self.v.y else: r = (intersections.x - self.p1.x) / self.v.x if not (UNCERTAINTY <= r <= self.p1.distance_to(self.p2) - \ UNCERTAINTY): return None return intersections def has(self, point): """ Check if `point` is part of `self`. Parameters ---------- point : point-like The point to check. Returns ------- ret : {True, False} If the point is on the `Ray` then return `True`, else `False`. See also -------- Segment.intersection, Line.has, Ray.has """ if super(Segment, self).has(point): p1_to_point = self.p1.distance_to(point) p2_to_point = self.p2.distance_to(point) return p1_to_point + p2_to_point - self.length < UNCERTAINTY def get_point_on_self(self, frac=None): """ Get a point on this `Segment` based on `frac`. If no argument is given then the `Point` on the `Segment` will be placed randomly. Parameters ---------- frac : float, optional If `frac` is given then the new `Point`'s position will be relative to the length of the `Segment` and to the first `Point` (`self.p1`). `frac` can be only in the interval (0, 1). Returns ------- out : point The new `Point`'s position on the `Segment`. Raises ------ ValueError If `frac` is outside the open interval (0, 1) then a `ValueError` is raised. """ # if no argument is given then return an arbitrary # location Point on this Segment frac = frac or UNCERTAINTY + random.random()*(1 - UNCERTAINTY) # if frac is outside the open interval (0, 1) if not (0 < frac < 1): raise ValueError('The argument (frac) cannot be ' 'outside of the open interval (0, 1), ' 'got: {0}'.format(frac)) # calculate the displacement relative to the # first Point dx = (self.p2.x - self.p1.x) * frac dy = (self.p2.y - self.p1.y) * frac # calculate the location of the new Point on # the Segment new_x = self.p1.x + dx new_y = self.p1.y + dy return Point(new_x, new_y) class Polygon(GeometricObject): """ A general (closed) `Polygon` class. The `Polygon` is made out of points (vertices of type `Point`) and edges (`Segment`). It can be created by passing a list of `Point`-like objects. Parameters ---------- vertices : {list/tuple of point-like} The `list` of `Point`-like objects that make the `Polygon`. The `self.edges` of the `Polygon` are automatically created and stored. If the length of the `vertices` list is < 3 this cannot be a `Polygon` and a `ValueError` will be raised. Raises ------ ValueError In case length of the `vertices` `list` is smaller than 3. """ def __init__(self, vertices): if len(vertices) < 3: raise ValueError('List of points cannot have less than 3 ' 'elements') self._vertices = [Point(point) for point in vertices] # this is for internal use only # first initialize to None so that area property can check for it self._diameter = None self._width = None self._area = None # setup self._area at this point (with signs) self.area if self._area < 0: # the vertices are in clockwise order so set them # in counterclockwise order self.vertices.reverse() # change the sign of the area appropriately self._area = -self._area # now select the lowest (and left if equal to some other) # and make it the first vertex in the Polygon lowest_idx = self._vertices.index(min(self._vertices)) # rotate such that the lowset (and left) most vertex is the first one self._vertices = u.rotated(self._vertices, -lowest_idx) # and add the first vertex to the list at the end for further processing self._vertices += [self._vertices[0]] self._edges = [Segment(p1, p2) for p1, p2 in \ zip(self._vertices[:-1], self._vertices[1:])] @property def vertices(self): """ [list of points] Get the `vertices`. The list of `Point`-like objects that make up the `Polygon`. It's lengths cannot be less than 3. """ return self._vertices @property def edges(self): """ [list of segments] Get the `edges`, that is the segments. These are the `edges` of the `Polygon`, which are defined by the list of vertices. The `Polygon` is considered to be closed (ie. the last segment is defined by points `pn` and `p1`). """ return self._edges @property def area(self): """ [scalar] Get the (positive) area of this `Polygon`. Using the standard formula [WPolygon]_ for the area of a `Polygon`: .. math:: A &= \\frac{1}{2} \\sum_{i=0}^{n-1} (x_iy_{i+1} - x_{i+1}y_i) :math:`A` can be negative depending on the orientation of the `Polygon` but this property always returns the positive value. Notes ----- This function (property) also sets up `self._area` if it's not set. This variable (`self._area`) is meant to be just for internal use (at least for now). """ # first add the first vertex to the list if self._area is None: vertices = self.vertices + [self.vertices[0]] self._area = 1/2. * sum([v1.x*v2.y - v2.x*v1.y for v1, v2 in \ zip(vertices[:-1], vertices[1:]) ]) return abs(self._area) @u.cached_property def bounding_box(self): """ [BoundingBox] Get `BoundingBox` of `self`. """ return BoundingBox(self) @property def bbox_width(self): """ [scalar] Get `self.bounding_box.width`. """ return self.bounding_box.width @property def bbox_height(self): """ [scalar] Get `self.bounding_box.height`. """ return self.bounding_box.height @property def diameter(self): """ [scalar] Get the `diameter` of the `Polygon`. Refer to `_compute_diameter_width` for details on how this is calculated. See also -------- Polygon.diameter, Polygon._compute_diameter_width """ if self._diameter is None: self._diameter, self._width = self._compute_diameter_width() return self._diameter @property def width(self): """ [scalar] Get the `width` of the `Polygon`. Refer to `_compute_diameter_width` for details on how this is calculated. See also -------- Polygon.diameter, Polygon._compute_diameter_width """ if self._width is None: self._diameter, self._width = self._compute_diameter_width() return self._width @u.cached_property def centroid(self): """ [Point] Get the centroid (`Point`) of the `Polygon`. Defined as [WPolygon]_: .. math:: C_x &= \\frac{1}{6A} \\sum_{i=0}^{i=n-1}(x_i + x_{i+1}) (x_iy_{i+1}-x_{i+1}y_i) C_y &= \\frac{1}{6A} \\sum_{i=0}^{i=n-1}(y_i + y_{i+1}) (x_iy_{i+1}-x_{i+1}y_i) where :math:`A` is the area using the standard formula for a `Polygon` [WPolygon]_ so it can take negative values. """ vertices = self.vertices + [self.vertices[0]] x = 1/(6.*self._area) * \ sum([(v1.x + v2.x)*(v1.x*v2.y - v2.x*v1.y) for v1, v2 in \ zip(vertices[:-1], vertices[1:])]) y = 1/(6.*self._area) * \ sum([(v1.y + v2.y)*(v1.x*v2.y - v2.x*v1.y) for v1, v2 in \ zip(vertices[:-1], vertices[1:])]) return Point(x, y) def __str__(self): return super(Polygon, self).__str__(vertices=[str(v) for v in self.vertices[:-1]]) def __getitem__(self, idx): """ Retreive points (`self.vertices`) by `idx`. Parameters ---------- idx : scalar The index of the `Point` (`vertex`). Returns ------- ret : point The `vertex` by index. """ return self.vertices[idx] def __len__(self): """ The length of the `Polygon` is defined by the length of the `self.vertices` list. """ return len(self.vertices) def _compute_diameter_width(self): """ Compute the `diameter` and `width` of the `Polygon`. This is meant for internal use only. The `diameter` is defined by the length of the rectangle of minimum area enclosing the `Polygon`, and the `width` of the `Polygon` is then just the width of the same rectangle of minimum area enclosing the `Polygon`. It's calculation is based on [Arnon1983]_. """ def distance(xi, yi, xj, yj, m): bi = yi - m*xi bj = yj - m*xj return abs(bj - bi)/math.sqrt(m*m+1.) v = self.vertices n = len(v) - 1 j = 0 for i in range(n): while Vector(v[i], v[i + 1]) * Vector(v[j], v[j + 1]) > 0: j = (j + 1) % n if i == 0: k = j while Vector(v[i], v[i + 1]).cross(Vector(v[k], v[k + 1])) > 0: k = (k + 1) % n if i == 0: m = k while Vector(v[i], v[i + 1]).dot(Vector(v[m], v[m + 1])) < 0: m = (m + 1) % n if abs(v[i].x - v[i + 1].x) < UNCERTAINTY: d1 = abs(v[k].x - v[i].x) d2 = abs(v[m].y - v[j].y) elif abs(v[i].y - v[i + 1].y) < UNCERTAINTY: d1 = abs(v[k].y - v[i].y) d2 = abs(v[m].x - v[j].x) else: s = (v[i + 1].y - v[i].y)/(v[i + 1].x - v[i].x) d1 = distance(v[i].x, v[i].y, v[k].x, v[k].y, s) d2 = distance(v[j].x, v[j].y, v[m].x, v[m].y, -1./s) Ai = d1*d2 if i == 0 or Ai < A: A = d1*d2 res_d1 = d1 res_d2 = d2 return (res_d1, res_d2) if res_d1 > res_d2 else (res_d2, res_d1) def has(self, point): """ Determine if `point` is inside `Polygon` based on the winding number. Parameters ---------- point : point-like The `point` to test if it's included in `self` or not. Returns ------- out : {True, False} `True` if the `point` is included in `self` (`wn` > 0), else `False` (`wn` == 0). Notes ----- Winding number algorithm (C++ implementation): http://geomalgorithms.com/a03-_inclusion.html """ # initialize the winding number wn = 0 # be sure to convert point to Point point = Point(point) # loop through all of the vertices in the polygon (two by two) for v1, v2 in zip(self.vertices[:-1], self.vertices[1:]): if v1.y < point.y: if v2.y > point.y: # an upward crossing if point.is_left((v1, v2)) > 0: # point left of edge wn += 1 else: if v2.y <= point.y: # a downward crossing if point.is_left((v1, v2)) < 0: # point right of edge wn -= 1 # return return wn > 0 def get_point_on_self(self, edge_no=None, frac=None): """ Return a random `Point` on the given `Segment` defined by `edge_no`. Parameters ---------- edge_no : int, optional The index of the `edge` from the edge list. Default is `edge_no` = 0, which means the calculate on first edge. frac : float, optional A number in the open interval (0, 1). The point will be placed on the edge with the edge number edge_no and relative to the first point in the specified edge. If left to default (`None`), a random `Point` will be returned on the specified edge. Returns ------- out : point The `Point` on this edge (`Segment`). """ segment = self.edges[edge_no] return segment.get_point_on_self(frac) def divide(self, obj=None, edge_no=None, frac=None, relative_phi=None, drelative_phi=0): """ Divide the `Polygon`. Parameters ---------- obj : line-like, optional If no `obj` is given then `edge_no` is used to build a `Ray` from a randomly chosen Point on `self.edges[edge_no]` with inward direction and the closest intersection `Point` to `Ray.p1` is used to divide the `Polygon` in two, else all of the points given by the intersection between the `Polygon` and `obj` are used to split the `Polygon` in any number of polygons. edge_no : int, optional If given, `self.edges[edge_no]` will be used to build a `Ray` as explained above, else a random edge number will be chosen. frac : float, optional If given the point on `self.edges[edge_no]` will be situated at the fraction `frac` between `self.edges[edge_no].p1` and `self.edges[edge_no].p2` relateive to p1. Must be in the open interval (0, 1). relative_phi : float, optional Is an angle (in degrees) that gives the direction of the `Ray` spawned from `self.edges[edge_no]`. It has to be in the open interval (0, 90). If not given a random direction will be choosed in the interval (0, 90). drelative_phi : float, optional Is an angle interval centered on `relative_phi` which is used to calculate a random relative direction for the `Ray` spawned from `self.edges[edge_no]` in the interval `[relateive_phi - drelative_phi/2, relative_phi + drelative_phi/2)`. If not given it's assumed to be 0. Returns ------- ret : tuple of size 2 The first element is a list with the newly created polygons and the second element in the tuple is another list with the `Segments` that were used to divide the initial `Polygon` (ie. the common edge between the newly created polygons). These lists can be of length 0 if no division took place. See also -------- Polygon.get_point_on_self, Segment.get_point_on_self """ # final list of polygons polys = [] division_segments = [] input_obj = obj if input_obj: # if a Line-like is given then calculate the intersection # Points with all the edges for later use intersections = input_obj.intersection(self) else: # WARNING: # ------- # This only works for non intersecting Polygons # select a random edge number and get a random Point # on that edge to create a random Ray. This is used # to build an intersection Points list with only two points # the randomly generated Point and the Point closest to # the randomly generated one. This works becase we are # careful to generate a Ray only to the right of the segment if edge_no is None: edge_no = random.randint(0, len(self.edges) - 1) random_point = self.get_point_on_self(edge_no, frac) # generate a random angle to create a Ray which will be pointing # always in the right of the selected edge edge = self.edges[edge_no] if relative_phi and not (0 <= relative_phi + drelative_phi <= 180): raise ValueError('This has to hold: 0 <= relateive_phi +' ' drelative_phi <= 180, but got:' ' relative_phi={}, drelative_phi={}' .format(relative_phi, drelative_phi)) if not relative_phi: phi = edge.phi + math.pi*random.random() else: phi = edge.phi + math.radians(relative_phi + \ drelative_phi*random.random()) obj = Ray(random_point, Vector(1, phi, coordinates='polar')) intersections = obj.intersection(self) # and finally get the randomly generated Point + the first # intersection Point in the sorted list intersections = [[obj.p1, edge_no], intersections[0]] if edge_no > intersections[1][1]: # sort by edge_no if necessary intersections = [intersections[1], intersections[0]] # place the intersection Points in right positions in the new # vertex listand replace the edge number with the new location # (basically creating a new edge and pointing to that) all_vertices = self.vertices[:-1] # count is to hold how many vertices we already added in new list # so that the edge's number can be appropriately updated count = 0 for item in intersections: # the position where the intersection Point will be inserted idx = item[1] + count + 1 item[1] = idx if item[0] == self.vertices[idx - count - 1]: # if the intersection point coincides with the Point on the # Polygon behind the insertion Point then we just skip the # intersection Point, but alter the edge number in intersections # accordingly item[1] -= 1 continue if item[0] == self.vertices[idx - count]: # if the intersection point coincides with the Point on the # Polygon after the insertion Point then we just skip # everything continue all_vertices.insert(idx, item[0]) # store the new position # increase the counter to account for the addition of the Point count += 1 # sort the Points first from top to bottom (inverse on Y) and # from left to right (on X) because this is the way the intersection # Points are used in the algorithm if abs(obj.p1.x - obj.p2.x) < UNCERTAINTY: # find if the `Line`-like is vertical and if so then # sort over Y intersections.sort(key=lambda item: item[0].y) else: intersections.sort(key=lambda item: item[0].x) # only after creating all_vertices list we can take care of the # different cases that we have regarding Segmet, Ray etc. usage if input_obj: if (type(obj) is Segment) and (self.has(obj.p1) and \ self.has(obj.p2)): # remove first and last Points from intersection list # because the Segment has the end Points inside the Polygon del (intersections[0], intersections[-1]) elif (type(obj) is Segment and (self.has(obj.p1) and \ not self.has(obj.p2))) or (type(obj) is Ray and \ self.has(obj.p1)): # remove only the point closest to obj.p1 since this point is # inside the Polygon if (obj.p1.is_left(obj.p2)): del intersections[0] else: del intersections[-1] elif (type(obj) is Segment) and (not self.has(obj.p1) and \ self.has(obj.p2)): # same as before except for obj.p2 now if obj.p2.is_left(obj.p1): del intersections[-1] else: del intersections[0] if intersections is None or len(intersections) < 2: # if we have less than two intersection Points return None return polys, division_segments # make separate lists for intersection Points and edges' number for # further processing intersection_points, edge_nos = map(list, zip(*intersections)) # keep track of used slices slice_to_del = [] # loop over the edge_nos two at a time to construct Polygons # determined by the intersection Points and contained within these # then store the slice to be removed, ie. the portion of all_vertices # without the interseciton Points. Example: # * if we have a polygon defined by [p0, i0, p1, i1, p2, p3] # * then edge_nos must be: [1, 3] (not necessarily in this order) # * first get the Polygon defined by [i0, p1, i1] then remove these # * Points from the list and we end up with the remaining Polygon # * [p0, i0, i1, p2, p3] for i, j in zip(edge_nos[:-1:2], edge_nos[1::2]): if i > j: i, j = j, i polys.append(Polygon(all_vertices[i:j+1])) division_segments.append(Segment(all_vertices[i], all_vertices[j])) # insert always at the begining because we have to delete them # in inverse order so that the slices make sense when selecting # the items from the list slice_to_del.insert(0, slice(i+1, j)) for sl in slice_to_del: del all_vertices[sl] # here append the remaining Polygon polys.append(Polygon(all_vertices)) return polys, division_segments
UTF-8
Python
false
false
2,014
5,033,701,708,377
3379b93ddead581b484415e1d00cbbd4229f7d90
bb4beabace9d6ca3aa1fa281706e340a955cb493
/join.py
dad207e76eea4421b698c4d6f15329b39a40ad18
[]
no_license
osbert-lancaster-v/CLOT
https://github.com/osbert-lancaster-v/CLOT
a59e2caf2853f3e72913ef1a380a52ed9133c47a
46c31eb11ed3fd78c9b07c74d0e0ddb8328ad475
refs/heads/master
2020-12-25T05:34:34.010997
2013-01-14T18:47:31
2013-01-14T18:47:31
7,272,240
0
1
null
null
null
null
null
null
null
null
null
null
null
null
null
import os from google.appengine.ext import db from google.appengine.ext.db import djangoforms import django from django.utils import simplejson as json import logging from django import http from django import shortcuts from django import newforms as forms import main import players ##from django.utils.encoding import smart_str, smart_unicode #needed for non-unicode characters class JoinForm(forms.Form): inviteToken = forms.CharField(label="Invite Token") tourney_id = forms.CharField(label="tourney_id") tourney_password = forms.CharField(label="tourney_password (enter only if it is required)",required=False) def go(request): """Create a player. GET shows a blank form, POST processes it.""" logging.info('in join.go') form = JoinForm(data=request.POST or None) #now deal with the form etc if not request.POST: return shortcuts.render_to_response('join.html', {'form': form}) if not form.is_valid(): return shortcuts.render_to_response('join.html', {'form': form}) #see if we are letting more players join. tourney_id = int(form.clean_data['tourney_id']) tourney_clotconfig = main.getClotConfig(tourney_id)#.run(batch_size=1000) if not tourney_clotconfig: form.errors['tourney_id'] = 'tourney_id is invalid.' return shortcuts.render_to_response('join.html', {'form': form}) players_are_gated_q = False if main.arePlayersGated(tourney_id, tourney_clotconfig): players_are_gated_q = True logging.info('players_are_gated_q = '+str(players_are_gated_q)) return http.HttpResponseRedirect('/players_are_gated') if players.numPlayersParticipating(tourney_id) >= main.getMaximumNumberOfPlayers(tourney_id, tourney_clotconfig): logging.info('too many players') return http.HttpResponseRedirect('/cannot_join') inviteToken = form.clean_data['inviteToken'] #Call the warlight API to get the name, color, and verify that the invite token is correct apiret = main.hitapi('/API/ValidateInviteToken', { 'Token': inviteToken }) if not "tokenIsValid" in apiret: form.errors['inviteToken'] = 'The supplied invite token is invalid. Please ensure you copied it from WarLight.net correctly.' return shortcuts.render_to_response('join.html', {'form': form}) tourney_password = str(form.clean_data['tourney_password']) if main.getIfRequirePasswordToJoin(tourney_id, tourney_clotconfig): if tourney_password != main.getTourneyPassword(tourney_id, tourney_clotconfig): form.errors['tourney_password'] = 'The supplied tourney_password is required but is not correct. Please type the correct password for this tourney.' return shortcuts.render_to_response('join.html', {'form': form}) #Ensure this invite token doesn't already exist existing = players.Player.all().filter('inviteToken =', inviteToken).filter("tourney_id =", tourney_id).get() if existing: #If someone tries to join when they're already in the DB, just set their isParticipating flag back to true existing.isParticipating = True existing.save() return http.HttpResponseRedirect('tourneys/' + str(tourney_id) + '/player/' + str(existing.key().id())) data = json.loads(apiret) player_name = data['name'] if type(data['name']) is unicode: logging.info('dealing with unicode player name ...') player_name = player_name.encode('ascii','ignore') #this deals with special characters that would mess up our code, by removing them. logging.info('player_name:') logging.info(player_name) logging.info('player-name looks ok or not?') player = players.Player(inviteToken=inviteToken, name=player_name, color=data['color'], isMember=data['isMember'].lower() == 'true') if main.getIsMembersOnly(tourney_id, tourney_clotconfig) and not player.isMember: form.errors['inviteToken'] = 'This site only allows members to join. See the Membership tab on WarLight.net for information about memberships.' return shortcuts.render_to_response('join.html', {'form': form}) player.put() player.player_id = str(player.key().id()) player.tourney_id = tourney_id player.save() logging.info("Created player") logging.info(player) return http.HttpResponseRedirect('tourneys/' + str(tourney_id) + '/player/' + str(player.key().id())) #def join_Redirect
UTF-8
Python
false
false
2,013
8,400,956,075,183
e4220663a48f2c09a137b11503ed7b19621785b9
41f5fb2b76efe6f7a10c96ff197b0785e247ca12
/gather/gathered/ma_ar.py
4c325b2f51beea44491fa45d890434e89cb5d483
[ "BSD-2-Clause", "BSD-Advertising-Acknowledgement" ]
non_permissive
jtwhite79/my_python_junk
https://github.com/jtwhite79/my_python_junk
2f33d102e0e2875cf617b11dc31127678e9e9756
2ee0044f9b455d40e3b1967081aa7ac2dbfa64c9
refs/heads/master
2021-01-23T05:45:21.432421
2014-07-01T17:30:40
2014-07-01T17:30:40
4,587,435
3
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import numpy as np from numpy import random import pylab totim = 1000 z = random.uniform(0.0,1.0,totim) ma_len = 100 ar_len = 2 betas = np.linspace(1,0,num=ma_len) alphas = np.linspace(1,0,num=ar_len) print betas x_ma = np.zeros_like(z) x_ar = np.zeros_like(z) x_ar[:ar_len] = z[:ar_len] for t in range(ma_len,totim): x_ma[t] = np.cumsum(z[t-ma_len]*betas)[-1] for t in range(ar_len,totim): x_ar[t] = np.cumsum(x_ar[t-ar_len]*alphas)[-1]+z[t] fig = pylab.figure() ax1 = pylab.subplot(211) ax1.plot(x_ma,'b-') ax1.plot(x_ar,'r+') pylab.show()
UTF-8
Python
false
false
2,014
16,690,242,921,362
56ad0449f0cc51d8e91dcf48a8aa7e67184baf79
b7d04908bcb3025cf0bcd7352f89b3eb322ebaea
/templates/wscript
dd60d401a50ee9c183e214c723805c2f6a74d02b
[ "GPL-2.0-only" ]
non_permissive
Jannis/ardour3
https://github.com/Jannis/ardour3
5f4cc2d63f07c0fd80542efb463eea7005318cdc
63a5a7ff1e0d792479676765673d0d380447a9a0
refs/heads/master
2021-01-01T20:27:19.660665
2012-10-01T20:55:10
2012-10-01T20:55:10
5,728,486
2
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/python import os top = '.' out = 'build' def configure(conf): pass def build(bld): if bld.is_defined('COREAUDIO_SUPPORT'): subst_dict = {'JACK_INPUT': 'coreaudio:Built-in Audio:in', 'JACK_OUTPUT': 'coreaudio:Built-in Audio:out'} else: subst_dict = {'JACK_INPUT': 'system:playback_','JACK_OUTPUT': 'system:capture_'} templates = bld.path.ant_glob('*/*.template.in') for t in templates: dir_name = os.path.basename(t.srcpath()).replace('.template.in', '') file_name = os.path.basename(t.srcpath()).replace('.in', '') obj = bld(features = 'subst', name = 'template', source = [ t ], target = [ os.path.join(dir_name, file_name) ], install_path = os.path.join(bld.env['DATADIR'], 'ardour3', os.path.join('templates', dir_name))) obj.__dict__.update(subst_dict) def options(opt): pass
UTF-8
Python
false
false
2,012
2,508,260,941,333
c70eb8ee1f0ec3844c915ea85245ea58cb7d0380
6482c1afb19e2a8232b1f58043dd2d82f30a3a84
/geo/models.py
21c6e98b29017779d4a41f210d787896b0d2317a
[]
no_license
frodetbj/visualizing-geotagged-data
https://github.com/frodetbj/visualizing-geotagged-data
4e782ce6ea36c13e52599eaf75a4b0134e3bdc9f
cb6a9fa11e0b311eebaa4fd0412ea79ee1b85508
refs/heads/master
2021-01-10T11:06:59.891701
2013-04-15T17:17:12
2013-04-15T17:17:12
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# Create your models here. from django.db import models from django.conf import settings from django.core.files import File from geo import loadmodels import os class Video(models.Model): video = models.FileField(upload_to=settings.UPLOAD_DIR) def getpath(self): path = self.video.path.replace(settings.MEDIA_ROOT, "") if path[0] == os.sep: path = path[1:] return os.sep + os.path.join("static", path) def __unicode__(self): return self.video.name # class Meta: # app_label = "geo" def createvideo(path): video = Video(video=File(open(path, "rw"))) video.save() return video loadmodels()
UTF-8
Python
false
false
2,013
12,610,023,982,636
f487016a06ccc0a261fa8b415fa4885717175de1
b8cd50b656f0a2742602361985b675f80efe5c30
/fukushima_disaster.py
38f168d49550cdaf5ba771e9743316bda6fbbff1
[]
no_license
salasboni/Fukushima-data-analysis
https://github.com/salasboni/Fukushima-data-analysis
6ec01539cff0d9ff507feed16aab28384334c7b6
3781fd8a63a7594e6d2ea22beebb64a1fc5bdf48
refs/heads/master
2016-09-06T21:53:57.943068
2014-11-19T03:53:50
2014-11-19T03:53:50
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import os import pandas as pd import numpy as np import matplotlib.pyplot as plt from scipy import stats import statsmodels.api as sm import scipy, scipy.stats from sklearn.cluster import KMeans def getData(original_filename, modified_filename): if os.path.isfile(modified_filename): df = pd.read_csv(modified_filename) else: reader = pd.read_csv(original_filename , iterator = True, chunksize = 10000) # Filter for all the readings between dates 03-01-2012 to 03-31-2012. # Set Captured time as index reader = [chunk[(chunk['Captured Time']>'2012-03-01') & (chunk['Captured Time']<'2012-03-31')] for chunk in reader] df = pd.concat(reader) # Filter for all the readings from within 100 km of the Fukushima Diaichi Nuclear plant df['Distance To Fukushima in Km'] = df.apply( distanceToF, axis = 1) df = df[df['Distance To Fukushima in Km'] <= 100] # Write to csv file df.to_csv(modified_filename) return df def distanceToF(x): R = 6373.0 # Earth's radius in Km lat_Fukishima = np.radians(37.421003) lon_Fukishima = np.radians(141.033206) lat = np.radians(x['Latitude']) lon = np.radians(x['Longitude']) dist_lon = lon - lon_Fukishima dist_lat = lat - lat_Fukishima a = (np.sin( dist_lat / 2)) ** 2 + np.cos( lat) * np.cos( lat_Fukishima) * ( np.sin( dist_lon / 2)) ** 2 c = 2 * np.arctan2( np.sqrt( a), np.sqrt( 1 - a)) distance = R * c # result in kilometers return distance def Fstat_pval(y,y_hat): dfn = 1 dfd = len(y) - dfn - 1 MSM = (1/dfn) * (y - y.mean()).sum() MSE = (1/dfd) * (y - y_hat).sum() F = MSM / MSE p = 1.0 - scipy.stats.f.cdf(F,dfn,dfd) return p # Load data for large files original_filename = "/Users/" + os.getlogin() + "/Desktop/measurements.csv" modified_filename = "/Users/" + os.getlogin() + "/Desktop/measurements_modified.csv" df = getData(original_filename, modified_filename) df = df.set_index('Captured Time') # Show head of data frame print(df.head()) # Plot distance to Fukushima vs Radiation level plt.figure() df.plot( x = 'Distance To Fukushima in Km', y = 'Value', style = 'o', label='All loaders') plt.xlabel( 'Distance To Fukushima in Km' ) plt.ylabel( 'Value in CPM' ) plt.axis( 'tight' ) namefig = "/Users/" + os.getlogin() + '/Desktop/Distance_vs_Radiation.png' plt.savefig(namefig, bbox_inches='tight') # Box Cox transform on the data df['Value transf'], lambd = stats.boxcox(df['Value']) # Check that there is only one radioactivity measure unit print(pd.unique(df.Unit.ravel())) # Make plots, using the box-cox transformed data plt.figure() df.plot( x = 'Distance To Fukushima in Km', y = 'Value transf', style = 'o', label='All loaders') plt.xlabel( 'Distance To Fukushima in Km' ) plt.ylabel( 'Value in CPM (box cox transform)' ) plt.axis( 'tight' ) namefig = '/Users/' + os.getlogin() + '/Desktop/Distance_vs_Radiation_Box_Cox.png' plt.savefig(namefig, bbox_inches='tight') # OLS fit for radiation level as a function of distance from the plant X = df[ 'Distance To Fukushima in Km'] X = sm.add_constant(X) y = df['Value transf'] model = sm.OLS( y , X) result = model.fit() # Print summary of OLS fit print(result.summary()) # Plot regression line y_hat = result.predict(X) plt.plot(X, y_hat, 'r', alpha=0.9) # Check which Loader IDs have values that don't fit the model well alpha = 0.05 group_Loader_ID = df.groupby('Loader ID') list_outliers_Loader_ID = [] # Loop over each group for key , gp in group_Loader_ID: # Compute p value for how the model computed in total dataset fits this group gp = gp.sort('Distance To Fukushima in Km') X = gp['Distance To Fukushima in Km'] X = sm.add_constant(X) y = gp['Value transf'] y_hat = result.predict(X) p_value = Fstat_pval(y,y_hat) if p_value > alpha: list_outliers_Loader_ID.append(key) # Plot data for outlier Loader IDs to visually inspect our results plt.figure() gp.plot( x = 'Distance To Fukushima in Km', y = 'Value transf', style = 'o', label='Loader ID %s, p_val = %f' % (key,p_value)) plt.xlabel('Distance To Fukushima in Km') plt.ylabel('Value in CPM') plt.axis('tight') namefig = '/Users/' + os.getlogin() + 'Desktop/Loader_ID_%s.png' % key plt.savefig(namefig, bbox_inches = 'tight') print("This is the list of outlier Loader ID's:") print(list_outliers_Loader_ID) # Perform kmeans clustering data_for_cluster = df[['Distance To Fukushima in Km', 'Value transf']] data_for_cluster = np.asarray(data_for_cluster) kmeans = KMeans(init = 'k-means++' , n_clusters = 10 , n_init = 10) kmeans.fit(data_for_cluster) # Plot the decision boundary of the clusters. Create a mesh x_min, x_max = data_for_cluster[:, 0].min() , data_for_cluster[:, 0].max() y_min, y_max = data_for_cluster[:, 1].min() , data_for_cluster[:, 1].max() xx, yy = np.meshgrid(np.arange(x_min, x_max, 1), np.arange(y_min, y_max, 0.05)) # Get labels for points in mesh Z = kmeans.predict(np.c_[xx.ravel(), yy.ravel()]) Z = Z.reshape(xx.shape) # Plot mesh plt.figure() plt.imshow( Z, interpolation = 'nearest', extent = (x_min, x_max, y_min, y_max), cmap = plt.cm.Paired, aspect = 'auto', origin = 'lower') plt.plot(data_for_cluster[:, 0], data_for_cluster[:, 1], 'k.', markersize = 2) # Plot the centroids centroids = kmeans.cluster_centers_ plt.scatter(centroids[:, 0], centroids[:, 1], marker = 'x', linewidths = 5, color = 'y', zorder = 10) plt.title('K-means clustering on the dataset') plt.xlim(x_min, x_max) plt.ylim(y_min, y_max) namefig = '/Users/' + os.getlogin() + '/Desktop/Region_clusters.png' plt.savefig(namefig, bbox_inches = 'tight') # Add kmeans labels as a column to data frame. Since labels are assigned randomly, # we re-name the labels so that Region 0 is the closest one to the plant, followed by Region 1, etc. df['Cluster Labels'] = kmeans.labels_ centroids_x_axis = centroids[:, 0] sort_index = np.argsort(centroids_x_axis) for label in range(0,10): df.loc[df['Cluster Labels']==label, 'Cluster Labels'] = 'Region %s' % sort_index[label] # Plot a time series and histogram for each Region for label in range(0,10): ts = df[ df['Cluster Labels'] == 'Region %s' %label]['Value'] ts = ts.sort_index() plt.figure() ts.plot() pd.rolling_mean(ts, 100).plot(style = 'k--', linewidth = 5) locs, labels = plt.xticks() plt.setp(labels, rotation=30) plt.title('Time series for Region %s'%label) namefig = '/Users/' + os.getlogin() + 'Desktop/Region_%s_timeseries.png' % label plt.savefig(namefig, bbox_inches='tight') plt.figure() ts.hist() plt.title('Histogram for Region %s'%label) namefig = '/Users/' + os.getlogin() + 'Desktop/Region_%s_histogram.png' % label plt.savefig(namefig, bbox_in ches='tight')
UTF-8
Python
false
false
2,014
6,021,544,149,745
71d5006df5e8a7db19a19f58150c976b43744dc9
38f6f5ce0a9f697a7f4c9b405773db4ad69fa63f
/lgTask/cherrypy/lgTaskRoot.py
3402eff05bef017c590e0f7c013d6979e2487373
[]
no_license
wwoods/lamegame_tasking
https://github.com/wwoods/lamegame_tasking
87b672aa903387fac581bf6e69a740822500887f
df2f132d0d9c62f48e171c8c2c60ba602e84b89c
refs/heads/master
2020-06-03T04:28:59.277429
2013-03-19T00:57:17
2013-03-19T00:57:17
2,810,622
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import cherrypy import datetime import lgTask from lgTask.cherrypy.staticServer import StaticServer from lgTask.lib.timeInterval import TimeInterval import os from controls import * class TaskView(Control): template = """<h2>{title}</h2>{children}""" # Define these so they go to class args rather than kwargs query = None sort = None limit = None conn = None showKill = False def build(self): # Run query, fill in table! tasks = self.conn._database[self.conn.TASK_COLLECTION].find( self.query , sort = self.sort , limit = self.limit ) cells = [ ('taskClass', 'Task Class') , ('kwargs', 'Task Kwargs') , ('state', 'State') , ('tsStart', 'Started') , ('tsStop', 'Stopped'), ('lastLog', 'Last Log') ] cols = len(cells) + 1 if self.showKill: cols += 1 table = Table(cols) if self.showKill: table.add_cell(TextControl(text = 'kill')) table.add_cell(TextControl(text = 'Task ID')) for c in cells: table.add_cell(TextControl(text = c[1])) for t in tasks: i = t['_id'] if self.showKill: table.add_cell(LiteralControl( html = '<a href="killTask?id={0}">kill</a>'.format(i))) table.add_cell(LiteralControl( html = '<a href="taskLog?id={0}">{0}</a>'.format(i))) for c in cells: table.add_cell(TextControl(text = str(t.get(c[0], '')))) self.append(table) class LgTaskRoot(object): """Cherrypy-based object for serving up stats about a cluster of lgTask processors. """ static = StaticServer( os.path.join( os.path.dirname(os.path.abspath(__file__)) , 'static')) def __init__(self, connection): """Creates a root object capable of serving up information about the given lgTask.Connection and its processors. """ self._conn = connection @cherrypy.expose def index(self): body = LgTaskPage() body.append(TaskView( title = 'Recently Failed Tasks' , conn = self._conn , query = dict( state = 'error' , tsStop = { '$gt': datetime.datetime.utcnow() - TimeInterval('7 days') } ) , sort = [ ('tsStop', -1 ) ] , limit = 10 )) body.append(TaskView( title = 'Oldest Running Tasks' , conn = self._conn , query = dict( state = 'working' ) , sort = [ ('tsRequest', 1 ) ] , limit = 10 , showKill = True )) body.append(TaskView( title = 'Upcoming Tasks' , conn = self._conn , query = dict( state = 'request' ) , sort = [ ('tsRequest', 1 ) ] , limit = 10 )) body.append(TaskView( title = 'Recently Completed Tasks' , conn = self._conn , query = dict( state = { '$in': lgTask.Connection.states.DONE_GROUP } ) , sort = [ ('tsStop', -1 ) ] , limit = 10 )) return body.gethtml() @cherrypy.expose def killTask(self, id): """Kill task with id""" self._conn.killTask(id) raise cherrypy.HTTPRedirect('../') @cherrypy.expose def taskLog(self, id): """Return the log for task with ID. """ blocks = [] while True: block = self._conn.talkGetTaskLog(id, len(blocks)) blocks.append(block) if len(block) == 0: break page = LgTaskPage() page.append(LiteralControl( html='<h1>Task {0}</h1><pre style="white-space:pre-wrap;">{1}</pre>' .format( id, ''.join(blocks)))) return page.gethtml()
UTF-8
Python
false
false
2,013
1,511,828,533,838
2d25d13a278c97050d731b5e9a82d109795e2998
d4a8b8e6dd996ef8889407d0e6f577f63de0062a
/noggin/players/LocStates.py
65d0043c53248aa49d4a3156c8e115c992ad0d50
[ "GPL-3.0-only", "LGPL-3.0-only" ]
non_permissive
burst/nao-man
https://github.com/burst/nao-man
f1821aee28f14a4c2a56ff3bb2a0da0d73d29001
3bd95e01560cfb46492be260e5ca1979ca6239e5
refs/heads/master
2021-01-18T04:07:33.657770
2009-04-20T06:12:52
2009-04-20T06:12:52
182,038
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import man.motion.SweetMoves as SweetMoves import man.noggin.NogginConstants as NogginConstants SPIN_TIME = 360 WAIT_TIME = 45 WALK_TIME = 200 TARGET_X = NogginConstants.OPP_GOALBOX_LEFT_X TARGET_Y = NogginConstants.CENTER_FIELD_Y def gamePlaying(player): #player.brain.loc.reset() return player.goLater('goToPoint') def spinLocalize(player): if player.firstFrame(): player.brain.tracker.switchTo('locPans') player.setSpeed(0,2,15) if player.counter == SPIN_TIME: player.stopWalking() return player.goNow('waitToMove') return player.stay() def waitToMove(player): if player.counter > WAIT_TIME: return player.goNow('goToPoint') return player.stay() def goToPoint(player): if player.firstFrame(): player.brain.tracker.switchTo('locPans') player.brain.nav.goTo(TARGET_X, TARGET_Y) return player.stay() if player.brain.nav.isStopped(): return player.goLater('doneState') return player.stay() def walkForward(player): if player.firstFrame(): player.setSpeed(4,0,0) if player.counter > WALK_TIME: return player.goLater('doneState') return player.stay() def doneState(player): if player.firstFrame(): player.stopWalking() player.brain.tracker.stopHeadMoves() if player.brain.nav.isStopped(): return player.goLater('sitDown') return player.stay() def sitDown(player): if player.firstFrame(): player.executeMove(SweetMoves.SIT_POS) return player.stay() if not player.brain.motion.isBodyActive(): player.gainsOff() return player.goLater('doneDone') return player.stay() def doneDone(player): return player.stay()
UTF-8
Python
false
false
2,009
9,569,187,176,842
b1e24b7e45b5da83dffa65f991b073776ad0f6a0
b48eab56b07badd49d3448ff9f86cdd51a627a2d
/openslides/core/urls.py
b859ddeba5afb406d4e07fbe8839a964a0b139f5
[ "BSD-3-Clause", "GPL-2.0-only", "MIT", "GPL-2.0-or-later" ]
non_permissive
flesser/OpenSlides
https://github.com/flesser/OpenSlides
40a3c9e34bb5e36df7344e81b53dab23b5c5dfb6
4c3791a9a88ee78295109fd5d2cf2f8440ce975d
refs/heads/master
2020-12-26T04:04:32.621329
2014-01-16T21:35:38
2014-01-16T21:35:38
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url from openslides.utils.views import RedirectView from . import views urlpatterns = patterns( '', # Redirect to dashboard URL url(r'^$', RedirectView.as_view(url_name='core_dashboard'), name='home',), url(r'^dashboard/$', views.DashboardView.as_view(), name='core_dashboard'), url(r'^dashboard/select_widgets/$', views.SelectWidgetsView.as_view(), name='core_select_widgets'), url(r'^version/$', views.VersionView.as_view(), name='core_version',), url(r'^search/$', views.SearchView(), name='core_search',))
UTF-8
Python
false
false
2,014
17,755,394,834,868
d39004bf5593fbdeed3cf1eaf2aa5b4db41e046c
09e8affa88d3db5b409b12275d0b1f92e206690c
/settings.py
b989f6e7923fe486f95cdd7c59b347e044237ec2
[ "MIT" ]
permissive
guillaumeprevost/hiri-tardis-filter
https://github.com/guillaumeprevost/hiri-tardis-filter
a32d7bc903e01e14542dc8402cba474217fc06bc
540076a2624f63d1818c7258fb85c13f1ba13a39
refs/heads/master
2020-06-04T12:40:03.955854
2013-11-25T22:47:33
2013-11-25T22:47:33
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from settings_changeme import * DEBUG = True #Post Save Filters POST_SAVE_FILTERS = [ ("tardis.tardis_portal.filters.flexstation.make_filter", ["FLEXSTATION", "http://rmit.edu.au/flexstation"]), # Flexstation III filter ] MIDDLEWARE_CLASSES += ('tardis.tardis_portal.filters.FilterInitMiddleware',)
UTF-8
Python
false
false
2,013
15,032,385,556,033
542116df6f72771417e4683b96c4664b5c14cd8c
99d5b87018e11979dd417fcf40686f92e7ee33ef
/sample/hello/hello_world.py
0e606d9a9bc4314d5354420c6c6590352e05646b
[ "MIT" ]
permissive
william-os4y/fapws2
https://github.com/william-os4y/fapws2
123a0b8cbb8cbe343ee6ab7a8a33f7b5ad664238
5752af742b763517ce0a52d0f0c00b40b186edf8
refs/heads/master
2020-05-31T08:20:53.247648
2008-12-23T13:18:00
2008-12-26T14:29:35
70,378
2
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python import _evhttp as evhttp from fapws2 import base import time import sys sys.setcheckinterval=100000 # since we don't use threads, internal checks are no more required from fapws2.contrib import views, zip def start(): evhttp.start("0.0.0.0", 8080) #print evhttp.get_timeout() #evhttp.set_timeout(3) #print evhttp.get_timeout() evhttp.set_base_module(base) def generic(environ, start_response): #print "GENERIC ENV",environ return ["Page not found"] @zip.Gzip() def hello(environ, start_response): #print "Header", environ if environ["PATH_INFO"]!="": return generic(environ, start_response) #print "params",environ["fapws.params"] #print "query",environ["QUERY_STRING"] #time.sleep(1) start_response('200 WHYNOT', [('toto',4444)]) return ["Hello World!!"] def staticlong(environ, start_response): try: f=open("long.txt", "rb") except: f=["Page not found"] return f @zip.Gzip() def staticlongzipped(environ, start_response): try: f=open("long.txt", "rb") except: f=["Page not found"] return f def staticshort(environ, start_response): f=open("short.txt", "rb") return f def testpost(environ, start_response): print "INPUT DATA",environ["wsgi.input"].getvalue() return ["OK. params are:%s" % (environ["fapws.params"])] class Test: def __init__(self): pass def __call__(self, environ, start_response): return ["Hello from Test"] evhttp.http_cb("/hello",hello) evhttp.http_cb("/longzipped", staticlongzipped) evhttp.http_cb("/long", staticlong) evhttp.http_cb("/short", staticshort) t=Test() evhttp.http_cb("/class", t) staticform=views.Staticfile("test.html") evhttp.http_cb("/staticform", staticform) evhttp.http_cb("/testpost", testpost) evhttp.http_cb("/",hello) evhttp.gen_http_cb(generic) evhttp.event_dispatch() if __name__=="__main__": start()
UTF-8
Python
false
false
2,008
13,013,750,912,620
717fe88225450195ba7fbd7679205780fb43e874
5b317b27771e6caec637948f1925310b96c7a7fd
/cloudfiles_storage/auth.py
5f844a383b434331b3ccb274ff52539fce37fdcf
[]
no_license
techresidents/trweb
https://github.com/techresidents/trweb
fc1a5bdb380c647174ff715d7491b69c4eae41b4
acd8b7b1837519e819c16bb732d08a9acebb60a4
refs/heads/master
2020-12-25T19:04:11.169009
2013-10-10T23:18:30
2013-10-10T23:18:30
19,194,341
0
1
null
null
null
null
null
null
null
null
null
null
null
null
null
import json import re import urlparse from cloudfiles.errors import AuthenticationError, AuthenticationFailed, ResponseError def parse_url(url): (scheme, netloc, path, params, query, frag) = urlparse.urlparse(url) # We only support web services if not scheme in ('http', 'https'): raise ValueError('Scheme must be one of http or https') is_ssl = scheme == 'https' and True or False # Verify hostnames are valid and parse optional port match = re.match(r"([a-zA-Z0-9\-\.]+):?([0-9]{2,5})?", netloc) if match: (host, port) = match.groups() if not port: port = is_ssl and '443' or '80' else: raise ValueError('Invalid host and/or port: %s' % netloc) return (host, int(port), path.strip('/'), is_ssl) class CloudfilesAuthenticator(object): def __init__(self, username, api_key=None, password=None, timeout=5, auth_endpoint=None, connection_class=None): self.username = username self.api_key = api_key self.password = password self.timeout = timeout self.endpoint = auth_endpoint or "https://identity.api.rackspacecloud.com/v2.0" self.connection_class = connection_class if self.connection_class is None: import httplib if self.endpoint.startswith("https:"): self.connection_class = httplib.HTTPSConnection else: self.connection_class = httplib.HTTPConnection #parse endpoint self.host, self.port, self.path, self.is_ssl = \ parse_url(self.endpoint) #connection self.connection = self.connection_class( host=self.host, port=self.port, timeout=self.timeout) def authenticate(self): if self.api_key is not None: response = self.authenticate_api_key( username=self.username, api_key=self.api_key) elif self.password is not None: response = self.authenticate_password( username=self.username, password=self.password) else: raise ValueError("api_key or password required.") try: default_region = response["access"]["user"]["RAX-AUTH:defaultRegion"] auth_token = response["access"]["token"]["id"] for service in response["access"]["serviceCatalog"]: if service["name"] == "cloudFiles": for endpoint in service["endpoints"]: if endpoint["region"] == default_region: cloudfiles_url = endpoint["publicURL"] if service["name"] == "cloudFilesCDN": for endpoint in service["endpoints"]: if endpoint["region"] == default_region: cloudfiles_cdn_url = endpoint["publicURL"] return cloudfiles_url, cloudfiles_cdn_url, auth_token except Exception as error: raise AuthenticationError("Invalid response from authentication service: %s" \ % str(error)) def authenticate_api_key(self, username, api_key): data = """ { "auth": { "RAX-KSKEY:apiKeyCredentials": { "username": "%s", "apiKey": "%s" } } } """ % (username, api_key) headers = { "Content-type": "application/json" } response = self.send_request("POST", "/tokens", data, headers) result = json.loads(response.read()) return result def authenticate_password(self, username=None, password=None): data = """ { "auth": { "passwordCredentials": { "username": "%s", "password": "%s" } } } """ % (username, password) headers = { "Content-type": "application/json" } response = self.send_request("POST", "/tokens", data, headers) result = json.loads(response.read()) return result def default_headers(self, method, path, data): headers = { 'Content-Length': str(len(data)), } return headers def send_request(self, method, path, data=None, headers=None): data = data or "" user_headers = headers headers = self.default_headers(method, path, data) if user_headers is not None: headers.update(user_headers) path = "/%s/%s" % (self.path, path.strip("/")) try: self.connection.request(method, path, data, headers) response = self.connection.getresponse() self.validate_response(response) except ResponseError as error: if error.status == 401: raise AuthenticationFailed(error.reason) else: raise return response def validate_response(self, response): if response.status < 200 or response.status > 299: response.read() raise ResponseError(response.status, response.reason)
UTF-8
Python
false
false
2,013
7,009,386,653,702
a02442a5fb11cb4c260757fa129bae43c9984d8b
495d8bd9ab41c7bf66e640b8f3006db4a227211b
/problem2.py
c6940288346ed6f80b70caf0fca56fe9f391c827
[]
no_license
billputer/project-euler
https://github.com/billputer/project-euler
e18161e76168dc0818dde2a0d34786cd7f10c66a
305e0fa2ae1c628ebb29c0277f776f930f0ba2b6
refs/heads/master
2021-01-13T02:14:32.977962
2014-10-24T23:18:06
2014-10-24T23:22:50
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python def fib(): """Infinite Fibbonacci sequence generator""" yield 1 yield 2 nminus2 = 1 nminus1 = 2 while True: n = nminus2 + nminus1 nminus2 = nminus1 nminus1 = n yield n # By considering the terms in the Fibonacci sequence whose values do not # exceed four million, find the sum of the even-valued terms. s = 0 for x in fib(): # stop when we exceed 4 million if x > 4000000: break # if even, add to s elif x % 2 == 0: s += x print s
UTF-8
Python
false
false
2,014
2,559,800,524,654
aec7226501f9623107c95eb8a56fb4479cc0d66b
7239bd3fd1a3fdd04273e109a2bff43813a1cd72
/alembic/versions/534f351a3913_re.py
b3551ca8ab6df5cbe8c1a5440f92d6542e04235f
[]
no_license
okamurayasuyuki/basic_flask
https://github.com/okamurayasuyuki/basic_flask
03015d6bb12089a18e5c1b1b70419c7b6f8aaabe
7a032dcaa841c4e9d9176188a2c6cbae2185c984
refs/heads/master
2020-05-18T11:25:54.213904
2013-11-01T09:23:12
2013-11-01T09:23:12
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
"""re Revision ID: 534f351a3913 Revises: f3b5472547c Create Date: 2013-11-01 06:43:17.972648 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import mysql # revision identifiers, used by Alembic. revision = '534f351a3913' down_revision = 'f3b5472547c' def upgrade(): ### commands auto generated by Alembic - please adjust! ### op.drop_column('tags', u'title') ### end Alembic commands ### def downgrade(): ### commands auto generated by Alembic - please adjust! ### op.add_column('tags', sa.Column(u'title', mysql.VARCHAR(length=30), nullable=True)) ### end Alembic commands ###
UTF-8
Python
false
false
2,013
15,161,234,570,462
eabc887464e58c231854e7c0a1b895b3d8f0252e
df3122dad4c883652e303a3befe09d4b30477dea
/xdebug/util.py
fb2161c5e31b7cc7bd9b5f24df1d4ddd887ab4c7
[ "MIT" ]
permissive
thinktandem/SublimeTextXdebug
https://github.com/thinktandem/SublimeTextXdebug
59b92b2812a403c2a8fa66c96de5f1dedd60346d
d6118fa1a402c3b323d7e9052e3e4eb1648a19a6
refs/heads/master
2021-05-27T04:01:45.994500
2013-08-15T04:01:52
2013-08-15T04:01:52
12,124,303
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import sublime import json import os import re import sys import webbrowser # Helper module try: from .helper import H except: from helper import H # Settings variables try: from . import settings as S except: import settings as S # Log module from .log import debug, info def get_real_path(uri, server=False): """ Get real path Keyword arguments: uri -- Uri of file that needs to be mapped and located server -- Map local path to server path TODO: Fix mapping for root (/) and drive letters (P:/) """ if uri is None: return uri # URLdecode uri uri = H.url_decode(uri) # Split scheme from uri to get absolute path try: # scheme:///path/file => scheme, /path/file # scheme:///C:/path/file => scheme, C:/path/file transport, filename = uri.split(':///', 1) except: filename = uri # Normalize path for comparison and remove duplicate/trailing slashes uri = os.path.normpath(filename) # Pattern for checking if uri is a windows path drive_pattern = re.compile(r'^[a-zA-Z]:[\\/]') # Append leading slash if filesystem is not Windows if not drive_pattern.match(uri) and not os.path.isabs(uri): uri = os.path.normpath('/' + uri) path_mapping = S.get_project_value('path_mapping') or S.get_package_value('path_mapping') if not path_mapping is None: # Go through path mappings for server_path, local_path in path_mapping.items(): server_path = os.path.normpath(server_path) local_path = os.path.normpath(local_path) # Replace path if mapping available if server: # Map local path to server path if local_path in uri: uri = uri.replace(local_path, server_path) break else: # Map server path to local path if server_path in uri: uri = uri.replace(server_path, local_path) break else: sublime.status_message("Xdebug: No path mapping defined, returning given path.") # Replace slashes if not drive_pattern.match(uri): uri = uri.replace("\\", "/") # Append scheme if server: return H.url_encode("file://" + uri) return uri def launch_browser(): url = S.get_project_value('url') or S.get_package_value('url') if not url: sublime.status_message('Xdebug: No URL defined in (project) settings file.') return ide_key = S.get_project_value('ide_key') or S.get_package_value('ide_key') or S.DEFAULT_IDE_KEY if S.SESSION and (S.SESSION.listening or not S.SESSION.connected): webbrowser.open(url + '?XDEBUG_SESSION_START=' + ide_key) else: webbrowser.open(url + '?XDEBUG_SESSION_STOP=' + ide_key) def load_breakpoint_data(): data_path = os.path.join(sublime.packages_path(), 'User', S.FILE_BREAKPOINT_DATA) data = {} try: data_file = open(data_path, 'rb') except: e = sys.exc_info()[1] info('Failed to open %s.' % data_path) debug(e) try: data = json.loads(H.data_read(data_file.read())) except: e = sys.exc_info()[1] info('Failed to parse %s.' % data_path) debug(e) # Do not use deleted files or entries without breakpoints if data: for filename, breakpoint_data in data.copy().items(): if not breakpoint_data or not os.path.isfile(filename): del data[filename] if not isinstance(S.BREAKPOINT, dict): S.BREAKPOINT = {} # Set breakpoint data S.BREAKPOINT.update(data) def save_breakpoint_data(): data_path = os.path.join(sublime.packages_path(), 'User', S.FILE_BREAKPOINT_DATA) with open(data_path, 'wb') as data: data.write(H.data_write(json.dumps(S.BREAKPOINT)))
UTF-8
Python
false
false
2,013
6,210,522,749,102
ebcaaa552e0dfbf706e8ef99665c7a670c641d94
529e6e7fb169e349acdcc968eab7dbf110f6995a
/dbInfo.py
140e6ed3b29d4c87cf7bfd20589abca13cbf629a
[]
no_license
daniel-ma/flightest
https://github.com/daniel-ma/flightest
172605c276931c8c9c82a9ad4164f8d3c5ec2365
42450a561960d9299a58e7a567a85bad2f9942cf
refs/heads/master
2016-08-11T13:42:35.406586
2013-03-21T12:24:34
2013-03-21T12:24:34
8,579,949
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/bin/usr/python DBLOC="192.168.1.104" DBUSER="root" DBPASS="RooT" DBSCHEMA="airplane"
UTF-8
Python
false
false
2,013
8,315,056,689,620
c875eb05f3bee88a30f9d8ac1fe3610801c51995
b3f3b8d45d8eefd2ec464c74f498a3768836088c
/SublimeMagick.py
074a65330984d2c51db0023c7134eee3b673701a
[]
no_license
Matthewnie/SublimeMagick
https://github.com/Matthewnie/SublimeMagick
ad7e0f5b13a010e72f3837f5d89a7f5d944dbaca
092786172505c339f3253a575d51a871873bead2
refs/heads/master
2021-01-17T23:33:52.941301
2013-11-11T15:50:35
2013-11-11T15:50:35
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import sublime, sublime_plugin from subprocess import Popen, PIPE class SublimeMagick(sublime_plugin.EventListener): settings = sublime.load_settings('SublimeMagick.sublime-settings') def on_activated(self, view): file_name = view.file_name() if file_name and len(file_name): infos = self.identify(file_name) if len(infos): sublime.status_message(infos[0]) def identify(self, file_name): identify_path = self.settings.get('sublimemagick_identify_path', "env identify") format = self.settings.get('sublimemagick_format', "%w x %h") infos = self.run_shell('{0} -format "{1}\n" {2}'.format(identify_path, format, file_name)) return [info.strip() for info in infos] @staticmethod def run_shell(cmd): return Popen(cmd, shell=True, stdout=PIPE).stdout.read().decode("utf-8").splitlines()
UTF-8
Python
false
false
2,013
3,461,743,655,698
da6feb583a8fb44a384b2919909882c7862ac00e
7b754b26c47eaa16bb78702c442c25b71538a26d
/GUI/GtkGI/EditCmdHandlers.py
3891c01bba682e6190f2c4b650487b1d791d8ef9
[ "GPL-3.0-only" ]
non_permissive
skykooler/Lightningbeam
https://github.com/skykooler/Lightningbeam
b2c814eabe3ddc263f9f0d967665247be69b67d9
f0e2de1c2fffa3ee60633ac59c4a5a7afc9f5cec
refs/heads/master
2021-01-10T20:15:43.069587
2013-12-12T06:35:09
2013-12-12T06:35:09
3,104,098
3
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# # PyGUI - Edit command handling - Gtk # from GUI.GEditCmdHandlers import EditCmdHandler
UTF-8
Python
false
false
2,013
2,113,123,924,147
8fb9baa5a89918f015fc7703d827fce0da2a3537
0c692239ca63d32071231e4d1f77a194abab2b4a
/tools/stopwatch.py
7e929213a996c25de840cc877630a5de222011a3
[]
no_license
Xidai/euler_prject_solutions
https://github.com/Xidai/euler_prject_solutions
21d90c22b684910519231b59e1639d5a470b28be
228a089676b1bf4cb0625534b94b166219a068e0
refs/heads/master
2021-01-22T21:17:05.156566
2014-05-08T10:09:32
2014-05-08T10:09:32
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
__author__ = 'Xidai'
UTF-8
Python
false
false
2,014
9,655,086,529,317
6347135921cd1ca12ec0134fb635780ad20bad89
a848e685813f3a4c5ace142a33e8dda1d56b2dd1
/stunat/helpdesk/forms.py
8182c3d3ed7b50b11ef0de8aa1aef8b39f5cf5d0
[]
no_license
f0l1v31r4/stunat
https://github.com/f0l1v31r4/stunat
1387f5b555bfd46126dc83f9a817bd2477329439
a05749cf1c93d42a88af49bb5de92d3c4965003f
refs/heads/master
2016-08-04T05:53:42.148462
2012-05-02T17:29:15
2012-05-02T17:29:15
33,569,559
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- from django import forms from django.forms.util import ErrorList from helpdesk.models import Ocorrencia, Tecnico, Categoria, OcorrenciaStatus from djtools.formfields import BrDataField from djtools.formwidgets import BrDataWidget from comum.models import Pessoa from datetime import datetime #from rh.models import Servidor #from djtools.formwidgets import AutocompleteWidget ############## # OCORRENCIA # ############## from django.core.mail import EmailMessage def enviar_email(instance, email): assunto = u'[HelpDesk] Notificação de Atividade - %s' % instance.status mensagem = u'[%s] Atividade de %s \n\n Setor: %s \n Problema: %s \n\nNão responda este e-mail' % (instance.status, instance.categoria, instance.setor.sigla, instance.problema) sendemail = EmailMessage(assunto, mensagem, to=[email.decode()]) sendemail.send() class OcorrenciaForm(forms.ModelForm): class Meta: model = Ocorrencia def save(self, commit=True, force_insert=False, force_update=False): if 'enviar' in self.data: email = self.instance.tecnico.email enviar_email(self.instance, email) return super(OcorrenciaForm, self).save(commit) usuario = forms.ModelChoiceField(label=u'Usuário', queryset=Pessoa.objects.all(), required=False) tecnico = forms.ModelChoiceField(label=u'Atribuido a', queryset=Tecnico.objects.all()) categoria = forms.ModelChoiceField(label=u'Categoria', queryset=Categoria.objects.all()) ocorretor = forms.CharField(label=u'Realizado por', max_length=120, widget=forms.TextInput(attrs={'size':'70'}), required=False) # prestador = forms.ModelChoiceField(queryset=Servidor.objects.all(), widget=AutocompleteWidget(extraParams={'force_generic_search': '1'}, minChars=5)) status = forms.ModelChoiceField(label=u'Status', queryset=OcorrenciaStatus.objects.all()) data_chegada = BrDataField(label=u'Data de Chegada', widget=BrDataWidget(), initial=datetime.now()) data_saida = BrDataField(label=u'Data de Saída', widget=BrDataWidget(), required=False) numero_patrimonio = forms.IntegerField(label=u'Número do Patrimônio', widget=forms.TextInput(attrs={'size':'14'}), initial=1180, required=False) problema = forms.CharField(label=u'Problema', widget=forms.Textarea(attrs={'cols':'80', 'rows':'10'})) observacao = forms.CharField(label=u'Observação', widget=forms.Textarea(attrs={'cols':'80', 'rows':'10'}), required=False) enviar = forms.BooleanField(label=u'Enviar Email', required=False) def clean_data_saida(self): if self.cleaned_data['status'] == u'Resolvido' or self.cleaned_data['status'] == u'Impedido': if not self.cleaned_data['data_saida']: self._errors['data_saida'] = ErrorList([u'Este campo é obrigatório.']) return self.cleaned_data['data_saida'] def clean_tecnico(self): if self.cleaned_data['status'] == u'Resolvido': if not self.cleaned_data['tecnico']: self._errors['tecnico'] = ErrorList([u'Este campo é obrigatório.']) return self.cleaned_data['tecnico'] class HistoricoOcorrenciaForm(forms.Form): numero_patrimonio = forms.CharField(label=u'Número do Patrimônio', required=False, widget=forms.TextInput(attrs={'size':'50'})) METHOD = 'GET' TITLE = 'Historico de Ocorrência'
UTF-8
Python
false
false
2,012
3,513,283,262,176
5ea5649d7bba346326ea65c0d4373e51e8ca54a2
3997eeb0ed7562fea80c65b2f6c2666f000a788f
/server/server.py
711ef3b7c295c6ab351750b32db73823d70e26c1
[ "Apache-2.0" ]
permissive
semorrison/WebIntents
https://github.com/semorrison/WebIntents
3f3e6f922ee7329b57ec51a7f42480f291e17650
0eec73d1b282e1d9785361924930fabfeb352646
refs/heads/master
2017-04-28T23:56:04.622524
2013-04-11T11:22:07
2013-04-11T11:22:07
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import webapp2 from webapp2 import Route from webapp2_extras import routes import handlers_base import registry.handlers import widgets.handlers import demos.mememator.handlers import demos.shortener.handlers import demos.instapaper.handlers import demos.cloudfilepicker.handlers import demos.imgur.handlers import demos.inspirationmator.handlers exampleRoutes = [ Route('/<:.*>', handlers_base.PageHandler, 'examples')] demoRoutes = [ Route('/mememator/proxy', demos.mememator.handlers.ProxyHandler, 'demos/mememator'), Route('/mememator/image', demos.mememator.handlers.ImageHandler, 'demos/mememator'), Route('/mememator/image/<:.*>', demos.mememator.handlers.ImageHandler, 'demos/mememator'), Route('/mememator/<:.*>', handlers_base.PageHandler, 'demos/mememator'), Route('/imagestudio/<:.*>', handlers_base.PageHandler, 'demos/imagestudio'), Route('/shortener/shorten', demos.shortener.handlers.ShortenHandler, 'demos/shortener'), Route('/shortener/<:.*>', handlers_base.PageHandler, 'demos/shortener'), Route('/instapaper/add', demos.instapaper.handlers.AddHandler, 'demos/instapaper'), Route('/instapaper/<:.*>', handlers_base.PageHandler, 'demos/instapaper'), Route('/imgur/save', demos.imgur.handlers.SaveHandler, 'demos/imgur'), Route('/imgur/<:.*>', handlers_base.PageHandler, 'demos/imgur'), Route('/twitter/<:.*>', handlers_base.PageHandler, 'demos/twitter'), Route('/profilephoto/<:.*>', handlers_base.PageHandler, 'demos/profilephoto'), Route('/<:.*>', handlers_base.PageHandler, 'demos') ] app = webapp2.WSGIApplication([ Route('/tasks/crawl', registry.handlers.CrawlerTask), Route('/tasks/parse-intent', registry.handlers.ParseIntentTask), routes.DomainRoute('webintents-org.appspot.com', [ Route('/<:.*>', handlers_base.PageHandler, 'webintents') ]), routes.DomainRoute('webintents.org', [ Route('/<:.*>', handlers_base.PageHandler, 'webintents') ]), routes.DomainRoute('examples.webintents.org', exampleRoutes), routes.DomainRoute('demos.webintents.org', demoRoutes), routes.DomainRoute('registry.webintents-org.appspot.com', [ Route('/<:.*>', handlers_base.PageHandler, 'registry') ]), routes.DomainRoute('widgets.webintents-org.appspot.com', [ Route('/<:.*>', widgets.handlers.PageHandler, 'widgets') ]), routes.DomainRoute('registry.webintents.org', [ Route('/indexer.html', registry.handlers.IndexerHandler, 'registry'), Route('/suggestions.html', registry.handlers.SuggestionsHandler, 'registry'), Route('/<:.*>', handlers_base.PageHandler, 'registry') ]), routes.DomainRoute('www.picksomeipsum.com', [ Route('/<:.*>', handlers_base.PageHandler, 'demos/picksomeipsum'), ]), routes.DomainRoute('www.imagemator.com', [ Route('/<:.*>', handlers_base.PageHandler, 'demos/imagestudio'), ]), routes.DomainRoute('www.comicmator.com', [ Route('/<:.*>', handlers_base.PageHandler, 'demos/comicmator'), ]), routes.DomainRoute('www.quicksnapr.com', [ Route('/<:.*>', handlers_base.PageHandler, 'demos/profilephoto'), ]), routes.DomainRoute('www.binhexdec.com', [ Route('/<:.*>', handlers_base.PageHandler, 'demos/binhexdec'), ]), routes.DomainRoute('www.cloudfilepicker.com', [ Route('/proxy', demos.cloudfilepicker.handlers.ProxyHandler, 'demos/cloudfilepicker'), Route('/<:.*>', handlers_base.PageHandler, 'demos/cloudfilepicker'), ]), routes.DomainRoute('www.mememator.com', [ Route('/proxy', demos.mememator.handlers.ProxyHandler, 'demos/mememator'), Route('/image', demos.mememator.handlers.ImageHandler, 'demos/mememator'), Route('/image/<:.*>', demos.mememator.handlers.ImageHandler, 'demos/mememator'), Route('/<:.*>', handlers_base.PageHandler, 'demos/mememator'), ]), routes.DomainRoute('www.inspirationmator.com', [ Route('/proxy', demos.inspirationmator.handlers.ProxyHandler, 'demos/inspirationmator'), Route('/image', demos.inspirationmator.handlers.ImageHandler, 'demos/inspirationmator'), Route('/image/<:.*>', demos.inspirationmator.handlers.ImageHandler, 'demos/inspirationmator'), Route('/<:.*>', handlers_base.PageHandler, 'demos/inspirationmator'), ]) ])
UTF-8
Python
false
false
2,013
13,932,873,930,431
2cfd8e745bbde044bd5934735ae2160afb29af0e
a153a9c16fccae5136c408edd2ac93dce1f74a97
/exercise2.py
283e9049e46824c7269b88e08bb023b6e987e127
[ "MIT" ]
permissive
jrchurch/inf1340_2014_asst1
https://github.com/jrchurch/inf1340_2014_asst1
216e73034c958494efba7dcbc550ffed975ee2bc
05aa99d26460f30855dbe5bc0a5f3ae0104221a8
refs/heads/master
2021-01-18T05:19:07.255435
2014-10-07T01:51:59
2014-10-07T01:51:59
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python3 """ Perform a checksum on a UPC. This module contains one function checksum. It can be passed a parameter that is a string which must be 12 characters long. All other inputs will result in an error. Assignment 1, Exercise 2, INF1340 Fall 2014 """ __author__ = 'Sam Novak and Jodie Church' __copyright__ = "2014 Sam Novak and Jodie Church" __license__ = "MIT License" __status__ = "Prototype" def checksum(upc): """ Checks if the digits in a UPC is consistent with checksum :param upc: a 12-digit universal product code :return: Boolean: True, checksum is correct False, otherwise :raises: TypeError if input is not a string ValueError if string is the wrong length (with error string stating how many digits are over or under """ # check type of input if type(upc) is str: # check length of string if len(upc) != 12: # raise ValueError if not 12 raise ValueError("UPC must be 12 characters") else: # raise TypeError if not string raise TypeError("Invalid type passed as parameter") # convert string to array the list function upc_list = list(upc) # begin calculation for UPC checksum # initialize variable for the sum of odd numbers odd_sum = 0 for digit in upc_list[0::2]: # loop through every other digit in list starting from first item odd_sum += int(digit) # add integer value of digit to odd_sum # initialize variable for the sum of even numbers even_sum = 0 for digit in upc_list[1:11:2]: # loop through every other digit in list starting from second item even_sum += int(digit) # add integer value of digit to even_sum # perform multiplication, addition, and modulo operations check_sum = (even_sum + (odd_sum * 3)) % 10 # condition operation if check_cum i if check_sum != 0: check_sum = 10 - check_sum if check_sum == int(upc_list[11]): return True else: return False
UTF-8
Python
false
false
2,014
1,486,058,693,418
33161158a3441383496ab2b977eb8743b28d97e9
07aa9b5a07df2a80b7d899da1da63c84b1060fec
/doc/set_relation_testing/naming_bug.py
614dfa5c28253d0e97f6bc731ca861b662af4c97
[]
no_license
lamielle/iegen
https://github.com/lamielle/iegen
f26da812a01557daca086e0a1c76a62af8fe7cd4
0f48edad8d14ae18c907d705751552cf6eb53c8e
refs/heads/master
2016-09-05T12:48:23.698779
2010-12-14T19:17:13
2010-12-14T19:17:13
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# Script was originally written to show the naming bug #104. # That bug is now fixed. 4/30/09, MMS #!/usr/bin/env python import iegen from iegen import Set,Relation,Symbolic import iegen.simplify from iegen import IEGenObject # None corresponds to stdout IEGenObject.settings.outputs['debug'].append(None) syms = [Symbolic("N"),Symbolic("T"),Symbolic("n_inter")] iegen.simplify.register_inverse_pair('delta','delta_inv') def ar_broken(): a4_0=Relation('{[c0,s_out1,c1,j,c2]->[k]: c0=0 and c2=0 and k+-1inter1(j)=0 and -1c1+1=0}') #### DataPermuteTrans R_x0_x1 = Relation("{[k] -> [j] : j = sigma(k)}") a4_1 = R_x0_x1.compose(a4_0) #### Loop Alignment T_I0_to_I1 = Relation('{[c0, s, c0, i, c0] -> [c0, s, c0, j, c0] : c0=0 && j=sigma(i)}').union( Relation('{[c0, s, c1, ii, x] -> [c0, s, c1, ii, x] : c0=0 && c1=1}') ) a4_2 = a4_1.compose( T_I0_to_I1.inverse() ) #### IterPermuteTrans T_I1_to_I2 = Relation("{[c0,s1,c1,i,c2] -> [c3,s2,c4,j,c5] : s1=s2 && c0=0 && c1=0 && c2=0 && c3=0 && c4=0 && c5=0 && i=j}").union( Relation("{[c6,s3,c7,ii,x] -> [c8,s4,c9,j,y] : s3=s4 && j = delta(ii) && c6=0 && c8=0 && c7=1 && c9=1 && x=y }")) a4_3 = a4_2.compose( T_I1_to_I2.inverse() ) print a4_3 def ar_working(): a4_0=Relation('{[c0,s_out1,c1,j,c2]->[k]: c0=0 and c2=0 and k+-1inter1(j)=0 and -1c1+1=0}') #### DataPermuteTrans R_x0_x1 = Relation("{[sigma_in] -> [sigma_out] : sigma_out = sigma(sigma_in)}") a4_1 = R_x0_x1.compose(a4_0) #### Loop Alignment T_I0_to_I1 = Relation('{[c0, s, c0, i, c0] -> [c0, s, c0, j, c0] : c0=0 && j=sigma(i)}').union( Relation('{[c0, s, c1, ii, x] -> [c0, s, c1, ii, x] : c0=0 && c1=1}') ) a4_2 = a4_1.compose( T_I0_to_I1.inverse() ) #### IterPermuteTrans T_I1_to_I2 = Relation("{[c0,s1,c1,i,c2] -> [c3,s2,c4,j,c5] : s1=s2 && c0=0 && c1=0 && c2=0 && c3=0 && c4=0 && c5=0 && i=j}").union( Relation("{[c6,s3,c7,ii,x] -> [c8,s4,c9,j,y] : s3=s4 && j = delta(ii) && c6=0 && c8=0 && c7=1 && c9=1 && x=y }")) a4_3 = a4_2.compose( T_I1_to_I2.inverse() ) print a4_3 def ar_recursion_bug(): a4_0=Relation('{[s_out1,j]->[k]: k+-1inter1(j)=0}') #### DataPermuteTrans R_x0_x1 = Relation("{[sigma_in] -> [sigma_out] : sigma_out = sigma(sigma_in)}") a4_1 = R_x0_x1.compose(a4_0) #### Loop Alignment T_I0_to_I1 = Relation('{[s,i] -> [s,j]: j=sigma(i)}') a4_2 = a4_1.compose( T_I0_to_I1.inverse() ) #### IterPermuteTrans T_I1_to_I2 = Relation("{[s3,ii]->[s4,j]: s3=s4 && j = delta(ii) }") a4_3 = a4_2.compose( T_I1_to_I2.inverse() ) print a4_3 def ar_testing(): a4_0=Relation('{[s_out1,j]->[k]: k+-1inter1(j)=0}') #### DataPermuteTrans R_x0_x1 = Relation("{[sigma_in] -> [sigma_out] : sigma_out = sigma(sigma_in)}") a4_1 = R_x0_x1.compose(a4_0) #### Loop Alignment T_I0_to_I1 = Relation('{[s,i] -> [s,j]: j=sigma(i)}') a4_2 = a4_1.compose( T_I0_to_I1.inverse() ) #### IterPermuteTrans T_I1_to_I2 = Relation("{[s,ii]->[s,j]: j = delta(ii) }") a4_3 = a4_2.compose( T_I1_to_I2.inverse() ) print a4_3 #ar_testing() ar_broken() ar_working() ar_recursion_bug()
UTF-8
Python
false
false
2,010
18,854,906,443,818
16732032c56bc8580f34a13e124fe875ae01e0f6
e26716fc112e4fc9e64db0e2e2eaa2fd29e7a055
/scp_middleware/scp_parser.py
ad23b534e14e65da55fc89bad6b6ef517b710896
[]
no_license
briandiaz/SCP
https://github.com/briandiaz/SCP
a0d786eb265806a4f0a47df44f0c8fb1b1119b8e
ee36edcd67a758f04fcbd7c57257cf4b43f1a218
refs/heads/master
2016-08-05T19:40:28.532918
2014-12-29T04:05:38
2014-12-29T04:05:38
28,579,123
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import string punctuations = set(string.punctuation) initial_char_plate_contingency = { 8 : "B", 3 : "B", 0 : "O", 1 : "I", 6: "G", 5: "G", 2: "Z" } numbers_plate_contingency_1 = { "B" : 3, "b" : 6, "O": 0, "o": 0, "I": 1, "i": 1, "G": 6, "g": 6, "S": 5, "s": 5, "Z": 2, "z": 2, "U": 0, "u": 0, "L": 1, "l": 1 } numbers_plate_contingency_2 = { "B" : 8, } is_number = [0,1,2,3,4,5,6,7,8] class SCP_Parser: def __init__(self, plate): self.plate = plate def remove_punctuations(self, plate): parsed_plate = "" for char in plate: if char not in punctuations: parsed_plate += char return parsed_plate def parse_plate_type_char(self, plate): plate_type = plate[0] if plate_type.isalpha(): if plate_type in numbers_plate_contingency_1: plate_type = numbers_plate_contingency_1[plate_type] if plate_type in numbers_plate_contingency_2: plate_type = numbers_plate_contingency_2[plate_type] return plate_type def parse_plate_type_digit(self, plate): plate_type = plate[0] if plate[0].isdigit(): if int(plate[0]) in initial_char_plate_contingency: plate_type = initial_char_plate_contingency[int(plate[0])] return plate_type def parse_plate(self): self.plate = self.remove_punctuations(self.plate) if len(self.plate) > 0: if len(self.plate) > 2: plate_type = self.parse_plate_type_digit(self.plate) numbers_plate = self.plate[1:7] temp_numbers_plate = "" index = 0 for number in numbers_plate: if number.isalpha(): if number in numbers_plate_contingency_1: number = numbers_plate_contingency_1[number] if number in numbers_plate_contingency_2: number = numbers_plate_contingency_2[number] temp_numbers_plate += str(number) parsed_plate = plate_type + temp_numbers_plate return str.upper(parsed_plate) else: return str(self.parse_plate_type_char(self.plate)) + str(self.plate[1:]) else: return "" """ print(SCP_Parser("812-8456").parse_plate()) print(SCP_Parser("1124.456").parse_plate()) print(SCP_Parser("0124I56").parse_plate()) print(SCP_Parser("61244S6").parse_plate()) print(SCP_Parser("3124456").parse_plate()) print(SCP_Parser("5124456").parse_plate()) print(SCP_Parser("2124456").parse_plate()) print(SCP_Parser("A1244O6").parse_plate()) print(SCP_Parser("O1").parse_plate()) """
UTF-8
Python
false
false
2,014
3,410,204,047,622
725ded90302030879f624b7692ab5d9bd516bd07
0a8f59dc8290476e34852ad652fd62e86798741c
/crawler/crawlers.py
bb94629097c3c60448af7a4f29433699198cb3c7
[]
no_license
yyjhao/rdr
https://github.com/yyjhao/rdr
c4afb3d683e03fc02601089e4b257d06fa54b18f
99c58b3fd3a8c294207a5d52f395e597a7fdaa18
refs/heads/master
2021-01-11T05:31:17.206017
2014-12-29T12:50:54
2014-12-29T12:50:54
23,664,976
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- from base.types.sources import TwitterSource, RssSource import base.config as config from base.database.session import db_session from base.types.article import WrappedArticle import base.log as log from twitter import Twitter, OAuth import dateutil.parser as date_parser import feedparser from time import mktime from datetime import datetime, timedelta from crawler.util import htmltruncate from worker.task_queue import article_processor from bs4 import BeautifulSoup, Comment def add_article(article): article.normalize() article.save() def truncate_html(html_string): if not html_string: return html_string soup = BeautifulSoup(html_string) comments = soup.findAll(text=lambda text: isinstance(text, Comment)) [comment.extract() for comment in comments] [i.extract() for i in soup.findAll("script")] return htmltruncate(str(soup), 1024, ellipsis='...') class Crawler(object): MAX_AGO = timedelta(days=14) def __init__(self, source): self.source = source self.log = log.get_logger('crawler {0}'.format(self.source.id)) self._new_articles = 0 def new_article_count(self): return self._new_articles def clear_article_count(self): self._new_articles = 0 def crawl(self): self.start_time = datetime.now() self.log.info('Starting to crawl') for entry in self.get_json_entries(): article = self.to_article(entry) if article: article_processor.add_task(add_article, (article,)) self._new_articles += 1 self.source.last_retrive = self.start_time try: db_session.commit() except Exception as e: db_session.rollback() def to_article(self, json_entry): article = self.process(json_entry) if not self.source.should_add_article(article): self.log.info('Article {0} should not be added'.format(article.title)) return None time_ago = self.start_time - article.timestamp if time_ago > self.MAX_AGO: return None return article def get_json_entries(self): raise NotImplementedError() def process(self, json_entry): raise NotImplementedError() @staticmethod def get_crawler_for(source): if isinstance(source, TwitterSource): return TwitterCrawler(source) elif isinstance(source, RssSource): return RssCrawler(source) class TwitterCrawler(Crawler): def __init__(self, source): assert isinstance(source, TwitterSource) super(TwitterCrawler, self).__init__(source) def get_twitter_timeline(self, t, since_id=None, max_id=None, count=300): results = [] try: results = t.statuses.home_timeline(count=count, since_id=self.source.since_id) except ValueError as e: self.log.warning('Failed to get twitter timeline, retrying') if count > 30: results = self.get_twitter_timeline(t, since_id=since_id, max_id=max_id, count=count / 2) results += self.get_twitter_timeline(t, since_id=since_id, max_id=results[-1]['id'], count=count / 2) else: results = t.statuses.home_timeline(count=count, since_id=self.source.since_id) return results def get_json_entries(self): t = Twitter( auth=OAuth(self.source.token, self.source.token_secret, config.TWITTER_KEY, config.TWITTER_SECRET) ) results = self.get_twitter_timeline(t, self.source.since_id) if results: self.source.since_id = results[0]['id'] return results def process(self, json_entry): urls = json_entry['entities']['urls'] if not len(urls): return None url_obj = urls[0] url = url_obj['expanded_url'] if not url: url = url_obj['url'] if not url: return None return WrappedArticle( id=0, url=url, title=json_entry['text'], timestamp=date_parser.parse(json_entry['created_at']).replace(tzinfo=None), origin='twitter:' + json_entry['user']['id_str'], origin_img=json_entry['user']['profile_image_url'], origin_display_name=json_entry['user']['name'], source_id=self.source.id, summary=None, time_unknown=False, origin_id=None, url_id=None, ) class RssCrawler(Crawler): def __init__(self, source): assert isinstance(source, RssSource) super(RssCrawler, self).__init__(source) def get_json_entries(self): last = self.source.last_modified_indicator feed = None self.image = None # if self.source.url in ("http://golem.ph.utexas.edu/category/atom10.xml", "http://www.chromi.org/feed"): # return [] if last and ('etag' in last): feed = feedparser.parse(self.source.url, etag=last['etag']) elif last and ('modified' in last): feed = feedparser.parse(self.source.url, modified=last['modified']) else: feed = feedparser.parse(self.source.url) if feed.entries and feed.feed.get('image'): self.image = feed.feed.image.href if feed.get('etag'): self.source.last_modified_indicator = { 'etag': feed.etag } elif feed.get('modified'): self.source.last_modified_indicator = { 'modified': feed.modified } return feed.entries def process(self, json_entry): url = json_entry.get('feedburner_origlink') or json_entry.get('link') parsed_time = json_entry.get('published_parsed') or json_entry.get('updated_parsed') timestamp = None time_unknown = False if parsed_time: timestamp = datetime.fromtimestamp(mktime(parsed_time)) else: time_unknown = True timestamp = self.start_time return WrappedArticle( id=0, url=url, title=json_entry.get('title'), timestamp=timestamp, summary=truncate_html(json_entry.get('summary')), origin=str(self.source.id) + ':' + json_entry.get('author', ''), origin_img=self.image, origin_display_name=json_entry.get('author', self.source.name), image_url=None, source_id=self.source.id, time_unknown=time_unknown, origin_id=None, url_id=None, )
UTF-8
Python
false
false
2,014
17,489,106,862,704
3411b5be0e1263866522a43843fa6107fca13e5d
d224a781d02a24a2594c7bb9c1c9bb990735f8a8
/MuMu/python/filesAtFnal_PromptReco_v4_cff.py
3703984a776bb2b8880d6aa29df7949058348a01
[]
no_license
janveverka/JPsi
https://github.com/janveverka/JPsi
0d5cd36f9410aa651d6143cb527e4bce13c48d2b
14efc5a6f18f36f4eb46f4f1dad748a0fb480aa9
refs/heads/master
2021-01-18T17:25:04.545379
2014-03-06T15:11:14
2014-03-06T15:11:14
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
## generated by ## dbs lsf --path=/Mu/Run2010A-PromptReco-v4/RECO fileNames = """ /store/data/Run2010A/Mu/RECO/v4/000/137/437/FECD924A-A674-DF11-96BB-000423D98AF0.root /store/data/Run2010A/Mu/RECO/v4/000/137/446/E4A81DD9-8F74-DF11-86E6-000423D985B0.root /store/data/Run2010A/Mu/RECO/v4/000/137/482/50414DBB-BF74-DF11-B78B-001D09F24DA8.root /store/data/Run2010A/Mu/RECO/v4/000/137/483/E4D181A8-BF74-DF11-A0B7-000423D94A20.root /store/data/Run2010A/Mu/RECO/v4/000/137/485/8AB5DBC9-BF74-DF11-9391-001D09F2910A.root /store/data/Run2010A/Mu/RECO/v4/000/137/486/5079CBE8-CC74-DF11-B279-00304879EDEA.root /store/data/Run2010A/Mu/RECO/v4/000/137/496/FA37C1A7-C874-DF11-A12C-0030487CBD0A.root /store/data/Run2010A/Mu/RECO/v4/000/137/498/3C5140DD-CC74-DF11-BF07-000423D99996.root /store/data/Run2010A/Mu/RECO/v4/000/137/499/5ED07EA7-C874-DF11-8ABD-000423D991D4.root /store/data/Run2010A/Mu/RECO/v4/000/137/505/8216035A-DC74-DF11-96AD-0030487A3C9A.root /store/data/Run2010A/Mu/RECO/v4/000/137/509/CEDD0553-DC74-DF11-9B15-0030487CD162.root /store/data/Run2010A/Mu/RECO/v4/000/137/510/F22C12F1-E174-DF11-98BA-000423D985B0.root /store/data/Run2010A/Mu/RECO/v4/000/137/517/A46C7C5B-F874-DF11-9812-0030487CAEAC.root /store/data/Run2010A/Mu/RECO/v4/000/137/521/94615DD2-ED74-DF11-8CE4-0030487CBD0A.root /store/data/Run2010A/Mu/RECO/v4/000/137/524/32897F71-F374-DF11-88DD-0030487CAEAC.root /store/data/Run2010A/Mu/RECO/v4/000/137/525/6C2D9DC5-5C75-DF11-B6C8-001D09F242EF.root /store/data/Run2010A/Mu/RECO/v4/000/137/527/6CF24619-0E75-DF11-B593-0030487CD77E.root /store/data/Run2010A/Mu/RECO/v4/000/137/528/2848AB8C-4C75-DF11-BBF0-0030487C7828.root /store/data/Run2010A/Mu/RECO/v4/000/137/530/AE947E7D-5175-DF11-BFCC-0030487CD716.root /store/data/Run2010A/Mu/RECO/v4/000/137/531/B83E10AB-4775-DF11-9A84-0030487CD162.root /store/data/Run2010A/Mu/RECO/v4/000/137/532/D4FEB7D5-5C75-DF11-8D07-0030487CD7E0.root /store/data/Run2010A/Mu/RECO/v4/000/137/546/D04621CE-5C75-DF11-AEA4-001D09F253FC.root /store/data/Run2010A/Mu/RECO/v4/000/137/551/28F41377-6175-DF11-A932-001D09F2432B.root /store/data/Run2010A/Mu/RECO/v4/000/137/559/94BC334D-6E75-DF11-8C3D-000423D98930.root /store/data/Run2010A/Mu/RECO/v4/000/137/560/92989ABD-7175-DF11-B92F-000423D985B0.root /store/data/Run2010A/Mu/RECO/v4/000/137/561/E4B0D2C5-7175-DF11-9EA1-0030487C7E18.root /store/data/Run2010A/Mu/RECO/v4/000/137/605/AE13E2AB-4877-DF11-8620-0030487C608C.root /store/data/Run2010A/Mu/RECO/v4/000/137/617/3857E0C1-4877-DF11-BDAF-0030487CD718.root /store/data/Run2010A/Mu/RECO/v4/000/137/618/16283AA5-4877-DF11-B132-000423D98E54.root /store/data/Run2010A/Mu/RECO/v4/000/137/619/D87A107E-4877-DF11-86F4-0030487CAEAC.root /store/data/Run2010A/Mu/RECO/v4/000/137/626/1C6192B3-4877-DF11-B7DE-001D09F2841C.root /store/data/Run2010A/Mu/RECO/v4/000/137/631/B494F163-8B77-DF11-B633-0030487C6A66.root /store/data/Run2010A/Mu/RECO/v4/000/137/632/7C7D009A-9A77-DF11-9AEA-0030487CAF0E.root /store/data/Run2010A/Mu/RECO/v4/000/137/634/C0CC7349-8478-DF11-8201-0030487CD184.root /store/data/Run2010A/Mu/RECO/v4/000/137/635/9A856D8A-7A78-DF11-936F-001D09F23A84.root /store/data/Run2010A/Mu/RECO/v4/000/137/637/BCA7037E-7A78-DF11-9872-001D09F24024.root /store/data/Run2010A/Mu/RECO/v4/000/137/651/0E73E66F-8D78-DF11-972D-0030487A195C.root /store/data/Run2010A/Mu/RECO/v4/000/137/692/581F558C-7A78-DF11-9DE4-001D09F24691.root /store/data/Run2010A/Mu/RECO/v4/000/137/694/ACED3A71-8D78-DF11-B153-0030487CD7EA.root /store/data/Run2010A/Mu/RECO/v4/000/137/701/94795721-6D7B-DF11-A765-0030487C60AE.root /store/data/Run2010A/Mu/RECO/v4/000/137/702/C86E3540-6A7B-DF11-9727-0030487A3232.root /store/data/Run2010A/Mu/RECO/v4/000/137/704/74DB13CE-5D7B-DF11-A323-003048D373AE.root /store/data/Run2010A/Mu/RECO/v4/000/137/705/685D266C-967B-DF11-840D-0030487CD7C0.root /store/data/Run2010A/Mu/RECO/v4/000/137/712/3CCB8E86-7A78-DF11-8B78-001D09F2AD4D.root /store/data/Run2010A/Mu/RECO/v4/000/137/718/62C51E4A-8478-DF11-971E-0030487A1FEC.root /store/data/Run2010A/Mu/RECO/v4/000/137/724/9C9F1648-8478-DF11-8E1E-001D09F295A1.root /store/data/Run2010A/Mu/RECO/v4/000/137/728/5EFB87C9-8778-DF11-8978-000423D99BF2.root /store/data/Run2010A/Mu/RECO/v4/000/137/729/546B2D4F-9778-DF11-AD45-001D09F24303.root /store/data/Run2010A/Mu/RECO/v4/000/137/731/C8705161-9778-DF11-B43B-0030487A1990.root /store/data/Run2010A/Mu/RECO/v4/000/137/734/A4AB9165-9B78-DF11-AD1E-000423D98AF0.root /store/data/Run2010A/Mu/RECO/v4/000/137/740/CE0E9854-A578-DF11-A638-0030487CAF5E.root /store/data/Run2010A/Mu/RECO/v4/000/137/744/3C166978-A978-DF11-96EB-0030487CD16E.root /store/data/Run2010A/Mu/RECO/v4/000/137/751/8AA2D22F-B878-DF11-8AD1-0019B9F705A3.root /store/data/Run2010A/Mu/RECO/v4/000/137/754/0C22EB0F-B478-DF11-8E94-001D09F290CE.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/24982E54-E978-DF11-BD85-0030487CD178.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/50C27D17-E578-DF11-8D41-0030487C5CFA.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/52A4981B-1479-DF11-B13D-0030487CAF5E.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/6E13645D-D678-DF11-94DE-0030487CD7C6.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/926D3B33-E778-DF11-8106-0030487C7E18.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/C4906686-E678-DF11-AC6D-0030487CD162.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/E6ADD6F7-D478-DF11-A637-0030487CAEAC.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/EE0AFC21-F378-DF11-97DA-0030487CD7B4.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/EE5E05F7-D478-DF11-A58B-0030487CD17C.root /store/data/Run2010A/Mu/RECO/v4/000/137/756/EE85D18C-D378-DF11-A526-0030487CD76A.root /store/data/Run2010A/Mu/RECO/v4/000/137/766/D22DEACF-5479-DF11-8775-000423D94AA8.root /store/data/Run2010A/Mu/RECO/v4/000/137/768/A49B27BA-E378-DF11-A957-000423D99F1E.root /store/data/Run2010A/Mu/RECO/v4/000/137/771/560416EC-EE78-DF11-91BB-000423D986C4.root /store/data/Run2010A/Mu/RECO/v4/000/137/772/201A6832-0879-DF11-A9F0-0030487CD7EE.root /store/data/Run2010A/Mu/RECO/v4/000/137/773/B681E9DF-3079-DF11-BBA2-0030487CD7C0.root /store/data/Run2010A/Mu/RECO/v4/000/137/782/1A017FE6-3879-DF11-BAAA-000423D98930.root /store/data/Run2010A/Mu/RECO/v4/000/137/793/6E79D119-3C79-DF11-8E0D-0030487A3C92.root /store/data/Run2010A/Mu/RECO/v4/000/137/803/26BF9D50-4079-DF11-89AB-00304879FA4C.root /store/data/Run2010A/Mu/RECO/v4/000/137/821/2AF4768D-4B79-DF11-822F-0030487CD718.root /store/data/Run2010A/Mu/RECO/v4/000/137/931/CAC338D5-0D7A-DF11-9AEB-000423D98C20.root /store/data/Run2010A/Mu/RECO/v4/000/137/937/BCACBDFD-117A-DF11-BCE7-000423D98930.root /store/data/Run2010A/Mu/RECO/v4/000/137/942/D888F588-157A-DF11-BC2F-000423D98FBC.root /store/data/Run2010A/Mu/RECO/v4/000/137/957/6A1E0D72-1F7A-DF11-9027-0030487C8CB6.root /store/data/Run2010A/Mu/RECO/v4/000/137/960/8489EC81-287A-DF11-9FC7-0030487C912E.root /store/data/Run2010A/Mu/RECO/v4/000/137/965/0E762CAE-2C7A-DF11-AB81-0030487CD17C.root /store/data/Run2010A/Mu/RECO/v4/000/137/971/CCD3B57B-287A-DF11-B255-0030487C8E02.root /store/data/Run2010A/Mu/RECO/v4/000/137/981/262D17E8-517A-DF11-8C14-0030487CD7C0.root /store/data/Run2010A/Mu/RECO/v4/000/137/981/486312D8-4A7A-DF11-B536-0030487CAF0E.root /store/data/Run2010A/Mu/RECO/v4/000/137/981/8A1F843E-4C7A-DF11-B435-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/138/410/3CEE927F-F97E-DF11-9480-003048F1BF66.root /store/data/Run2010A/Mu/RECO/v4/000/138/412/6203295F-117F-DF11-9AC9-003048F1BF68.root /store/data/Run2010A/Mu/RECO/v4/000/138/426/2C0A6E4F-247F-DF11-823A-00304879BAB2.root /store/data/Run2010A/Mu/RECO/v4/000/138/429/FA33DD7B-3B7F-DF11-AD9E-001D09F29524.root /store/data/Run2010A/Mu/RECO/v4/000/138/432/A08FB46A-327F-DF11-B139-001D09F292D1.root /store/data/Run2010A/Mu/RECO/v4/000/138/441/6841EB6F-407F-DF11-83A2-00304879FC6C.root /store/data/Run2010A/Mu/RECO/v4/000/138/442/0A35060D-667F-DF11-AF34-003048F1110E.root /store/data/Run2010A/Mu/RECO/v4/000/138/446/7A57CCEF-5C7F-DF11-AECB-001D09F291D2.root /store/data/Run2010A/Mu/RECO/v4/000/138/448/345276D2-617F-DF11-BE5D-0030487C6A66.root /store/data/Run2010A/Mu/RECO/v4/000/138/451/2CA5E2D0-6F7F-DF11-85E8-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/138/455/766E5FE5-7A7F-DF11-BB71-003048F117B4.root /store/data/Run2010A/Mu/RECO/v4/000/138/457/BC48D2D6-9B7F-DF11-8851-003048F024E0.root /store/data/Run2010A/Mu/RECO/v4/000/138/487/424EB2F7-A07F-DF11-A62F-0030487A18D8.root /store/data/Run2010A/Mu/RECO/v4/000/138/488/1232C7FC-AA7F-DF11-88FD-0030487CD7C6.root /store/data/Run2010A/Mu/RECO/v4/000/138/489/CC81AA06-AF7F-DF11-AC32-001D09F253FC.root /store/data/Run2010A/Mu/RECO/v4/000/138/492/74836CFA-D67F-DF11-8A37-0030487C90C4.root /store/data/Run2010A/Mu/RECO/v4/000/138/509/800CA1C7-BD7F-DF11-9252-0030487A3C9A.root /store/data/Run2010A/Mu/RECO/v4/000/138/514/10103ECE-B87F-DF11-9C91-000423D94908.root /store/data/Run2010A/Mu/RECO/v4/000/138/524/722E76A2-CC7F-DF11-844A-001617C3B77C.root /store/data/Run2010A/Mu/RECO/v4/000/138/526/063CD4D3-DC7F-DF11-BC44-0030487CD6F2.root /store/data/Run2010A/Mu/RECO/v4/000/138/545/407BB682-E67F-DF11-AAC8-001617E30D4A.root /store/data/Run2010A/Mu/RECO/v4/000/138/546/3A69C7E2-EC7F-DF11-BFA7-003048F117B4.root /store/data/Run2010A/Mu/RECO/v4/000/138/549/CAE13CA1-FB7F-DF11-8742-001617C3B70E.root /store/data/Run2010A/Mu/RECO/v4/000/138/553/0E5D40C0-FB7F-DF11-B639-0030487C6A66.root /store/data/Run2010A/Mu/RECO/v4/000/138/554/74E8121F-0680-DF11-84FE-001D09F2514F.root /store/data/Run2010A/Mu/RECO/v4/000/138/560/1AF5C02A-1780-DF11-8C56-001D09F24493.root /store/data/Run2010A/Mu/RECO/v4/000/138/562/BC5FF67E-1C80-DF11-8AB3-0030487A195C.root /store/data/Run2010A/Mu/RECO/v4/000/138/563/90851E17-1780-DF11-834C-003048F024C2.root /store/data/Run2010A/Mu/RECO/v4/000/138/564/7EC79A39-1180-DF11-A8F2-001617C3B6E2.root /store/data/Run2010A/Mu/RECO/v4/000/138/565/1A286512-1780-DF11-A26F-001D09F2546F.root /store/data/Run2010A/Mu/RECO/v4/000/138/570/F4C4D5D3-2780-DF11-AC6A-003048F117B6.root /store/data/Run2010A/Mu/RECO/v4/000/138/571/AA76902F-2280-DF11-B687-001D09F2512C.root /store/data/Run2010A/Mu/RECO/v4/000/138/572/283BA58B-4180-DF11-8E76-003048F118C2.root /store/data/Run2010A/Mu/RECO/v4/000/138/694/AC4D2D10-0281-DF11-98E2-0030487CD7B4.root /store/data/Run2010A/Mu/RECO/v4/000/138/696/6064F9BD-1281-DF11-8AAB-003048F1C836.root /store/data/Run2010A/Mu/RECO/v4/000/138/699/1847919C-1081-DF11-9B8A-003048F11CF0.root /store/data/Run2010A/Mu/RECO/v4/000/138/700/32D9C8DD-2281-DF11-9C2A-0030487CAF0E.root /store/data/Run2010A/Mu/RECO/v4/000/138/714/50CDB7ED-3E81-DF11-B98C-003048F117B4.root /store/data/Run2010A/Mu/RECO/v4/000/138/715/544068B3-3381-DF11-9D70-0030487D05B0.root /store/data/Run2010A/Mu/RECO/v4/000/138/722/C6D88B1B-4881-DF11-98F0-0030487C912E.root /store/data/Run2010A/Mu/RECO/v4/000/138/724/C40F58C3-6281-DF11-A199-000423D9890C.root /store/data/Run2010A/Mu/RECO/v4/000/138/728/BAF64002-5481-DF11-A371-0030487CAEAC.root /store/data/Run2010A/Mu/RECO/v4/000/138/733/36025F96-6A81-DF11-A43D-001D09F297EF.root /store/data/Run2010A/Mu/RECO/v4/000/138/735/BCD52AB2-8881-DF11-A3D1-001D09F276CF.root /store/data/Run2010A/Mu/RECO/v4/000/138/736/B43EB53B-0383-DF11-8C22-001D09F24F65.root /store/data/Run2010A/Mu/RECO/v4/000/138/737/00EB5213-8381-DF11-A2C8-0030487CD7CA.root /store/data/Run2010A/Mu/RECO/v4/000/138/737/B849BBB6-8881-DF11-A055-001D09F2AF1E.root /store/data/Run2010A/Mu/RECO/v4/000/138/737/F471B059-8281-DF11-ABD1-0030487BC68E.root /store/data/Run2010A/Mu/RECO/v4/000/138/738/5A113C49-9381-DF11-84DB-001617C3B6E2.root /store/data/Run2010A/Mu/RECO/v4/000/138/739/3258C3DE-9D81-DF11-BD52-0030487CD7EA.root /store/data/Run2010A/Mu/RECO/v4/000/138/739/52E131EF-9381-DF11-A0D1-0019B9F72BAA.root /store/data/Run2010A/Mu/RECO/v4/000/138/739/721176D5-9681-DF11-9CC4-000423D996C8.root /store/data/Run2010A/Mu/RECO/v4/000/138/739/AECD5C7F-9081-DF11-BFCA-0019B9F72BFF.root /store/data/Run2010A/Mu/RECO/v4/000/138/739/C0D23E5B-9381-DF11-83FC-001D09F26509.root /store/data/Run2010A/Mu/RECO/v4/000/138/739/F6959431-8C81-DF11-AF78-001D09F24303.root /store/data/Run2010A/Mu/RECO/v4/000/138/741/14DD2131-9F81-DF11-B8B6-001D09F291D2.root /store/data/Run2010A/Mu/RECO/v4/000/138/742/9A9F627B-9E81-DF11-887D-001D09F24448.root /store/data/Run2010A/Mu/RECO/v4/000/138/742/E4E46F7F-9E81-DF11-A0A4-001D09F253C0.root /store/data/Run2010A/Mu/RECO/v4/000/138/743/3AE50AFE-7E81-DF11-A7BD-001D09F25438.root /store/data/Run2010A/Mu/RECO/v4/000/138/744/CA2AD6AE-A581-DF11-BA9D-0030486780AC.root /store/data/Run2010A/Mu/RECO/v4/000/138/745/D28FED7F-AA81-DF11-A4C1-001D09F2447F.root /store/data/Run2010A/Mu/RECO/v4/000/138/746/3E683654-A881-DF11-84F9-003048673374.root /store/data/Run2010A/Mu/RECO/v4/000/138/746/5AE0DDD8-A681-DF11-A29B-001617C3B654.root /store/data/Run2010A/Mu/RECO/v4/000/138/746/66F4D32C-AB81-DF11-97C4-0030487A17B8.root /store/data/Run2010A/Mu/RECO/v4/000/138/746/7A052C92-A081-DF11-84F7-001D09F2462D.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/262A6D55-AD81-DF11-939D-003048F11CF0.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/3871F867-B681-DF11-95CE-0030487C7E18.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/508FEA52-AD81-DF11-97DF-003048F118AA.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/704CA1DC-B281-DF11-8514-00304867342C.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/76FE4CC2-A581-DF11-9685-003048D373AE.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/AE0E801F-BE81-DF11-AE91-001617E30D4A.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/D6FF8255-AD81-DF11-8C88-001D09F23C73.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/E25B7DB8-B081-DF11-B7DE-001617E30D0A.root /store/data/Run2010A/Mu/RECO/v4/000/138/747/E2CDED2B-AB81-DF11-993B-00304879FC6C.root /store/data/Run2010A/Mu/RECO/v4/000/138/749/78511CA8-C381-DF11-8565-0030487CD162.root /store/data/Run2010A/Mu/RECO/v4/000/138/749/E6A6E869-BD81-DF11-9D05-0030487C90C2.root /store/data/Run2010A/Mu/RECO/v4/000/138/749/EE64FD0B-C381-DF11-A30B-0030487C60AE.root /store/data/Run2010A/Mu/RECO/v4/000/138/749/F6EAE192-BF81-DF11-9BDD-003048F01E88.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/26C1E6A9-CF81-DF11-B6DE-001D09F2516D.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/2C3532B0-D681-DF11-90EF-003048F117EA.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/5C4FD6F3-C781-DF11-A013-001D09F231B0.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/5EBC7EA4-F081-DF11-AB3B-003048CFB40C.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/6A56DADA-DB81-DF11-8514-001D09F248F8.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/7C6632D0-DF81-DF11-9510-003048F118C4.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/88FF9D2A-C581-DF11-B5F4-001D09F24682.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/DC98FA88-E581-DF11-844E-003048F1110E.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/E47D6F17-EB81-DF11-A937-0030487C8CB8.root /store/data/Run2010A/Mu/RECO/v4/000/138/750/FC68044F-D581-DF11-B1ED-0030487CD7B4.root /store/data/Run2010A/Mu/RECO/v4/000/138/751/0C03A710-F981-DF11-886E-0030487CD906.root /store/data/Run2010A/Mu/RECO/v4/000/138/751/8ECBBB65-EA81-DF11-A8BA-0030487A18A4.root /store/data/Run2010A/Mu/RECO/v4/000/138/751/E83BF629-F481-DF11-B36B-003048F1110E.root /store/data/Run2010A/Mu/RECO/v4/000/138/916/9896CE45-8083-DF11-A1F4-0030487A1FEC.root /store/data/Run2010A/Mu/RECO/v4/000/138/919/3ADCB839-C983-DF11-B4AA-003048F118D2.root /store/data/Run2010A/Mu/RECO/v4/000/138/919/3C6EBABA-9E83-DF11-BE40-001D09F2906A.root /store/data/Run2010A/Mu/RECO/v4/000/138/919/52623DB5-9E83-DF11-93AC-001D09F2A690.root /store/data/Run2010A/Mu/RECO/v4/000/138/919/68C0581B-9F83-DF11-8518-001D09F2906A.root /store/data/Run2010A/Mu/RECO/v4/000/138/919/8E976770-CA83-DF11-8CF7-001D09F29146.root /store/data/Run2010A/Mu/RECO/v4/000/138/919/B2B90A9B-A283-DF11-A866-003048F1182E.root /store/data/Run2010A/Mu/RECO/v4/000/138/920/0CD715BE-CA83-DF11-AA0D-0030486733D8.root /store/data/Run2010A/Mu/RECO/v4/000/138/920/3EA354BD-CA83-DF11-AD14-0030486780A8.root /store/data/Run2010A/Mu/RECO/v4/000/138/920/685C0526-A683-DF11-87F3-001617E30CC2.root /store/data/Run2010A/Mu/RECO/v4/000/138/920/D4F74C36-C983-DF11-9A87-003048F118DE.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/06C59859-C983-DF11-AEC4-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/08E8CC5A-C983-DF11-9A18-0030487C778E.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/5E0AC058-C983-DF11-A30F-0030487CD718.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/80A7EC58-C983-DF11-913E-000423D98B6C.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/8CB083E2-CA83-DF11-A511-003048D2C092.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/9E6D23E2-CA83-DF11-8E52-0030486780B8.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/C88593E4-CA83-DF11-B249-001D09F24EAC.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/CE464EE5-CA83-DF11-B93A-003048D2BC30.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/E2DA6BE3-CA83-DF11-BC12-003048D2BD66.root /store/data/Run2010A/Mu/RECO/v4/000/138/921/E8377F5A-C983-DF11-B9B5-0030487CAEAC.root /store/data/Run2010A/Mu/RECO/v4/000/138/923/56A114B2-9683-DF11-BA46-001D09F2441B.root /store/data/Run2010A/Mu/RECO/v4/000/138/924/321C62A7-CA83-DF11-A984-0030486730C6.root /store/data/Run2010A/Mu/RECO/v4/000/138/924/8A0E8838-C983-DF11-9346-003048F11C28.root /store/data/Run2010A/Mu/RECO/v4/000/138/934/9CE4CDB2-CB83-DF11-A3ED-0030487A3C92.root /store/data/Run2010A/Mu/RECO/v4/000/138/937/EAA830AD-CA83-DF11-8E40-000423D9A2AE.root /store/data/Run2010A/Mu/RECO/v4/000/138/939/A86D0EA7-CA83-DF11-AC53-003048D37560.root /store/data/Run2010A/Mu/RECO/v4/000/139/020/0053BD74-4C84-DF11-BB54-003048F1C58C.root /store/data/Run2010A/Mu/RECO/v4/000/139/020/306E308B-4084-DF11-8E3A-003048F117B6.root /store/data/Run2010A/Mu/RECO/v4/000/139/020/7261353F-4884-DF11-8F2A-003048F117B6.root /store/data/Run2010A/Mu/RECO/v4/000/139/020/72ADF632-5B84-DF11-8517-0030487CD906.root /store/data/Run2010A/Mu/RECO/v4/000/139/020/AA55A412-5284-DF11-9F49-003048F11942.root /store/data/Run2010A/Mu/RECO/v4/000/139/085/549FFA08-C184-DF11-9582-001D09F241F0.root /store/data/Run2010A/Mu/RECO/v4/000/139/094/96A33DD9-BC84-DF11-81D0-001617DBD5AC.root /store/data/Run2010A/Mu/RECO/v4/000/139/096/46114F4C-E884-DF11-89DE-0030487CD6D2.root /store/data/Run2010A/Mu/RECO/v4/000/139/096/5219D255-E884-DF11-9E8C-001D09F2983F.root /store/data/Run2010A/Mu/RECO/v4/000/139/096/96B30F37-F084-DF11-B06D-001D09F2532F.root /store/data/Run2010A/Mu/RECO/v4/000/139/098/086F4210-E984-DF11-9281-0030487A18F2.root /store/data/Run2010A/Mu/RECO/v4/000/139/098/2EDE747E-E584-DF11-AFC5-003048F11C28.root /store/data/Run2010A/Mu/RECO/v4/000/139/098/305B434E-F084-DF11-A2EA-003048F118C6.root /store/data/Run2010A/Mu/RECO/v4/000/139/098/32C6F2FA-F484-DF11-8737-003048D2C0F4.root /store/data/Run2010A/Mu/RECO/v4/000/139/098/76BAFD13-E484-DF11-A00D-003048F1183E.root /store/data/Run2010A/Mu/RECO/v4/000/139/098/7CDFA953-F084-DF11-B66E-001D09F29114.root /store/data/Run2010A/Mu/RECO/v4/000/139/098/DA30BD2A-F284-DF11-83BF-001617C3B6DE.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/18731EFD-FC84-DF11-8EAF-001D09F276CF.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/202D18DE-0585-DF11-B82F-003048D2BBF0.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/22778C9A-0B85-DF11-875E-0030487CD704.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/46F313DE-0485-DF11-B4D8-001617E30CE8.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/607F1F62-FC84-DF11-A200-001D09F25456.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/6291AD8F-FF84-DF11-A2E5-001D09F25393.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/920E1475-FC84-DF11-B411-001D09F25393.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/94789E5A-F884-DF11-9464-0030487C90C2.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/B6FC027F-F184-DF11-A28F-001617C3B6E2.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/C8F10FD6-FE84-DF11-8B98-00304879FA4C.root /store/data/Run2010A/Mu/RECO/v4/000/139/100/E8146088-FF84-DF11-B1CD-001D09F2447F.root /store/data/Run2010A/Mu/RECO/v4/000/139/102/409EE490-0485-DF11-8AD0-0030487CD7E0.root /store/data/Run2010A/Mu/RECO/v4/000/139/103/40D560DD-1385-DF11-A7C5-00304879FA4C.root /store/data/Run2010A/Mu/RECO/v4/000/139/103/8087E1BA-0985-DF11-A8F8-0030487D0D3A.root /store/data/Run2010A/Mu/RECO/v4/000/139/103/D4329C5E-1085-DF11-8E70-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/139/103/EAD46BDD-1385-DF11-B7BD-00304879FBB2.root /store/data/Run2010A/Mu/RECO/v4/000/139/103/F2987410-2585-DF11-BAAC-0030487C6088.root /store/data/Run2010A/Mu/RECO/v4/000/139/106/00678BD2-1F85-DF11-AFCE-001617E30D00.root /store/data/Run2010A/Mu/RECO/v4/000/139/110/4AE9707A-2585-DF11-B33C-0030487CD162.root /store/data/Run2010A/Mu/RECO/v4/000/139/194/623F8BB4-AD85-DF11-805E-0030487CD6DA.root /store/data/Run2010A/Mu/RECO/v4/000/139/195/7021225E-C385-DF11-82B1-0030487C6A66.root /store/data/Run2010A/Mu/RECO/v4/000/139/195/D61E621D-D985-DF11-865D-001617DBD316.root /store/data/Run2010A/Mu/RECO/v4/000/139/195/DA1DD0FA-BC85-DF11-A49D-003048F11C28.root /store/data/Run2010A/Mu/RECO/v4/000/139/195/F452DEBA-BD85-DF11-85AE-003048F024C2.root /store/data/Run2010A/Mu/RECO/v4/000/139/196/FA12F3E1-D485-DF11-92F0-0030487C5CE2.root /store/data/Run2010A/Mu/RECO/v4/000/139/239/12C1FA7D-3886-DF11-8F9F-003048F01E88.root /store/data/Run2010A/Mu/RECO/v4/000/139/239/34EF1074-3186-DF11-B3C6-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/139/239/766454D4-3086-DF11-A72E-000423D94E70.root /store/data/Run2010A/Mu/RECO/v4/000/139/239/9840A03D-2D86-DF11-AF46-000423D94494.root /store/data/Run2010A/Mu/RECO/v4/000/139/239/C820D10D-3086-DF11-ABDD-000423D987E0.root /store/data/Run2010A/Mu/RECO/v4/000/139/239/CEF26E6D-2386-DF11-AE2C-001617E30F50.root /store/data/Run2010A/Mu/RECO/v4/000/139/239/FC7E38AC-2E86-DF11-BF3A-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/139/268/6259A01A-4586-DF11-BFE5-000423D94908.root /store/data/Run2010A/Mu/RECO/v4/000/139/269/386EB5FB-6386-DF11-A9D6-003048F1C832.root /store/data/Run2010A/Mu/RECO/v4/000/139/271/3C01FF5F-6A86-DF11-9711-003048F1182E.root /store/data/Run2010A/Mu/RECO/v4/000/139/272/04949677-9286-DF11-983E-003048F11942.root /store/data/Run2010A/Mu/RECO/v4/000/139/284/F65E851B-9386-DF11-B615-003048F118AC.root /store/data/Run2010A/Mu/RECO/v4/000/139/287/30D45C4B-A086-DF11-8DE4-003048F024C2.root /store/data/Run2010A/Mu/RECO/v4/000/139/294/4086EA54-9C86-DF11-B47C-003048F024DC.root /store/data/Run2010A/Mu/RECO/v4/000/139/295/AAD37658-A086-DF11-9250-003048F024DE.root /store/data/Run2010A/Mu/RECO/v4/000/139/297/125A134B-A086-DF11-9226-0030487CD718.root /store/data/Run2010A/Mu/RECO/v4/000/139/298/C8E4CA4F-A386-DF11-AFA1-003048F11114.root /store/data/Run2010A/Mu/RECO/v4/000/139/300/C2EA6235-A386-DF11-A459-003048F118AA.root /store/data/Run2010A/Mu/RECO/v4/000/139/302/D67BF8E3-A586-DF11-82AF-003048F024DE.root /store/data/Run2010A/Mu/RECO/v4/000/139/304/FC2B51E2-A586-DF11-8A5F-003048F118D4.root /store/data/Run2010A/Mu/RECO/v4/000/139/305/D0019D90-A786-DF11-9491-003048F110BE.root /store/data/Run2010A/Mu/RECO/v4/000/139/307/42CF4A6A-A986-DF11-8171-003048F11114.root /store/data/Run2010A/Mu/RECO/v4/000/139/308/284D9790-B986-DF11-A15B-003048F01E88.root /store/data/Run2010A/Mu/RECO/v4/000/139/347/007C0794-2A87-DF11-A76B-003048F024FA.root /store/data/Run2010A/Mu/RECO/v4/000/139/347/14CC61AB-2C87-DF11-8B1E-003048F117B6.root /store/data/Run2010A/Mu/RECO/v4/000/139/347/507157AC-2C87-DF11-86B1-003048F118C6.root /store/data/Run2010A/Mu/RECO/v4/000/139/347/605E64A4-2587-DF11-9EAC-003048F118C4.root /store/data/Run2010A/Mu/RECO/v4/000/139/347/76B53A5B-2687-DF11-B91E-003048F11DE2.root /store/data/Run2010A/Mu/RECO/v4/000/139/347/EAA871AC-2C87-DF11-BC0B-003048F024C2.root /store/data/Run2010A/Mu/RECO/v4/000/139/347/FAF4B9AD-2C87-DF11-9021-003048F1C58C.root /store/data/Run2010A/Mu/RECO/v4/000/139/349/06A83EEC-1D87-DF11-A612-000423D94494.root /store/data/Run2010A/Mu/RECO/v4/000/139/356/104FBF7C-5B87-DF11-ADE8-003048F1C58C.root /store/data/Run2010A/Mu/RECO/v4/000/139/356/662A11F4-5187-DF11-A7A9-001617DBD5AC.root /store/data/Run2010A/Mu/RECO/v4/000/139/359/10C2A021-3587-DF11-B7FB-0030487C8CB6.root /store/data/Run2010A/Mu/RECO/v4/000/139/360/80E9CA0C-6087-DF11-87A7-0030487CBD0A.root /store/data/Run2010A/Mu/RECO/v4/000/139/360/C481078C-5E87-DF11-9EF7-003048F1C424.root /store/data/Run2010A/Mu/RECO/v4/000/139/362/D26775A2-6387-DF11-8C5E-001617E30D00.root /store/data/Run2010A/Mu/RECO/v4/000/139/363/923FDEA7-4987-DF11-8F69-0030487CD7C0.root /store/data/Run2010A/Mu/RECO/v4/000/139/364/BCCC893E-6487-DF11-A2BC-0030487CD812.root /store/data/Run2010A/Mu/RECO/v4/000/139/364/BCFF3023-6987-DF11-8EFD-001617DBCF6A.root /store/data/Run2010A/Mu/RECO/v4/000/139/364/D8E33E65-5A87-DF11-9865-001D09F2438A.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/0817BDE1-6F87-DF11-9D67-003048D2C092.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/4E71C853-6B87-DF11-BC8E-001617C3B6E2.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/50172E86-7687-DF11-BB65-001D09F2AF1E.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/D46E7BD3-6987-DF11-9CB6-0030487CD76A.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/D60EA0B6-6A87-DF11-9BD7-001D09F24DDF.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/D61941D9-6987-DF11-B37B-0030487CD7EE.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/DC85B852-6B87-DF11-9254-0030487C7828.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/E05C4E17-7287-DF11-9CBA-001D09F297EF.root /store/data/Run2010A/Mu/RECO/v4/000/139/365/FCF2B60E-6087-DF11-A820-0030487CD178.root /store/data/Run2010A/Mu/RECO/v4/000/139/366/0C32A82A-5487-DF11-894C-001D09F23944.root /store/data/Run2010A/Mu/RECO/v4/000/139/368/3CDA80DD-7787-DF11-B167-001D09F2426D.root /store/data/Run2010A/Mu/RECO/v4/000/139/368/6443D1AA-7387-DF11-A568-0030487CAEAC.root /store/data/Run2010A/Mu/RECO/v4/000/139/368/A2DFA35F-7B87-DF11-8FF5-00304879FC6C.root /store/data/Run2010A/Mu/RECO/v4/000/139/368/AA05E791-7D87-DF11-8CF1-0030487C8CB6.root /store/data/Run2010A/Mu/RECO/v4/000/139/368/B6836A36-8587-DF11-B981-001D09F29849.root /store/data/Run2010A/Mu/RECO/v4/000/139/368/F20D827B-7687-DF11-896E-001D09F28F1B.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/025647D4-9687-DF11-9C72-003048F11C28.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/089CD8CC-9D87-DF11-9733-0030487C5CE2.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/28EE8CFB-9887-DF11-838F-0030487CD7EA.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/32593F86-8C87-DF11-8BBA-001617C3B654.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/400F4F28-8A87-DF11-9C6A-0030487A3C9A.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/4627CBDA-8887-DF11-BB94-001D09F24691.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/4E45F51C-8387-DF11-B57E-001D09F253C0.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/58D54259-8787-DF11-959E-003048D2BC42.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/7E9441EF-8587-DF11-89F3-0030487A17B8.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/7ED11932-7E87-DF11-B2D8-001D09F2AD7F.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/86CE55A3-9987-DF11-9A8D-0030487CD7C6.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/94B8D9A3-9087-DF11-8FB4-0030487CD162.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/96C5FCCF-9B87-DF11-8907-001617C3B706.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/A01C4637-8587-DF11-A5EC-0019B9F72CE5.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/BA89E9EE-9887-DF11-9EF4-0030487C8E00.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/C61F7BCA-9D87-DF11-A873-0030487A17B8.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/C8AE2538-9F87-DF11-8A4E-001D09F2525D.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/DEA26EC4-9287-DF11-A0D7-001617C3B76A.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/E0166037-9F87-DF11-B3ED-001617E30D12.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/EC3D3D67-8287-DF11-AD87-001617DC1F70.root /store/data/Run2010A/Mu/RECO/v4/000/139/370/FC6BBBB8-8887-DF11-A9D5-001D09F2983F.root /store/data/Run2010A/Mu/RECO/v4/000/139/372/2CEB7D1C-F987-DF11-8204-001D09F29533.root /store/data/Run2010A/Mu/RECO/v4/000/139/372/565DE7C5-F987-DF11-B709-003048F1C58C.root /store/data/Run2010A/Mu/RECO/v4/000/139/372/6A054431-F887-DF11-9F5D-0030487CD6D8.root /store/data/Run2010A/Mu/RECO/v4/000/139/372/A85A762F-F887-DF11-AA25-001617E30D40.root /store/data/Run2010A/Mu/RECO/v4/000/139/372/B84E45FB-F987-DF11-B1A7-003048F118C6.root /store/data/Run2010A/Mu/RECO/v4/000/139/375/06368F62-FA87-DF11-9A7A-003048F024FA.root /store/data/Run2010A/Mu/RECO/v4/000/139/375/4056185C-FA87-DF11-91FE-003048F118D4.root /store/data/Run2010A/Mu/RECO/v4/000/139/393/AE03A204-4D88-DF11-8A31-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/139/394/58F78171-5388-DF11-B452-001D09F25456.root /store/data/Run2010A/Mu/RECO/v4/000/139/399/088FCCE4-7A88-DF11-BC8A-003048F1BF68.root /store/data/Run2010A/Mu/RECO/v4/000/139/399/980A4125-6F88-DF11-862D-001D09F29597.root /store/data/Run2010A/Mu/RECO/v4/000/139/399/A0C8AA22-6F88-DF11-9CC0-001617DBD472.root /store/data/Run2010A/Mu/RECO/v4/000/139/400/3212D82E-7D88-DF11-BE85-003048F118D2.root /store/data/Run2010A/Mu/RECO/v4/000/139/400/9CBB1826-7888-DF11-B4D2-001617C3B65A.root /store/data/Run2010A/Mu/RECO/v4/000/139/400/AE9ACA28-7888-DF11-AEDA-0019DB29C5FC.root /store/data/Run2010A/Mu/RECO/v4/000/139/400/D4324B12-7888-DF11-9637-001D09F29538.root /store/data/Run2010A/Mu/RECO/v4/000/139/405/E027DAE0-5A88-DF11-8CAD-003048678110.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/049BE1CC-7A88-DF11-87A7-003048F110BE.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/0AA0D8C2-7888-DF11-9EDB-0019B9F581C9.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/0E7A1597-7A88-DF11-B5F6-003048F024DE.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/10DA812F-7D88-DF11-A368-003048F118AC.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/12D23EE7-7788-DF11-B357-0030487CD17C.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/2C599C01-7888-DF11-9FCD-001617C3B6C6.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/2CBECE3E-7188-DF11-91E7-000423D9A2AE.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/30D07704-7988-DF11-AFB5-001D09F2432B.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/30E0B219-7888-DF11-97EB-003048F118C4.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/326E9515-7888-DF11-A192-003048F118DE.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/38C2788C-7888-DF11-86CC-001D09F2910A.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/3C8D928B-7788-DF11-85B9-003048F024DE.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/3CE19C2C-7888-DF11-BDE3-0030487CD76A.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/468D8BE1-7888-DF11-B7A7-0030487C5CFA.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/4805BDB8-7888-DF11-843E-001D09F28F0C.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/485D7DBC-7088-DF11-A167-001D09F250AF.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/4E9D7140-7188-DF11-825E-000423D98950.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/528C9D0A-7988-DF11-AA78-001D09F24FEC.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/54D163A6-7A88-DF11-AD1F-003048F118E0.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/56D876EB-7888-DF11-A513-001D09F250AF.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/608ADD43-7188-DF11-B5EE-000423D987E0.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/60E0C39F-7488-DF11-A02F-003048F1C424.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/68B14D16-7888-DF11-9083-0030487CD7EE.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/6AA33474-7188-DF11-8420-003048F1182E.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/7438B3F0-7788-DF11-B613-003048F024C2.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/7AD415F0-7888-DF11-BAE8-000423D987E0.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/84B16BDB-7888-DF11-8672-001D09F2AF96.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/88249E05-7888-DF11-B970-001617E30F48.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/9443ED2B-7888-DF11-A556-000423D94908.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/A0517205-7888-DF11-BBB1-003048F024E0.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/BA67E620-8188-DF11-ADB9-003048CFB40C.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/C238E508-7B88-DF11-AF74-003048F117EC.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/CE7DCC09-7988-DF11-8EA6-001D09F252DA.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/D612E2A3-7788-DF11-92B9-003048F1C832.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/DA415B32-7988-DF11-BDF3-001D09F244BB.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/DADFEFB7-7088-DF11-BEBA-001D09F241B9.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/E818D5F6-7888-DF11-908F-0019B9F730D2.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/E89895CF-7888-DF11-9F91-001D09F24691.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/EC095B18-7888-DF11-8CED-003048F11DE2.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/ECEC4E3E-7188-DF11-AF9B-000423D94E70.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/EE925218-7888-DF11-BC18-003048F1C424.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/EEEEE7C8-7B88-DF11-9FFE-003048F024DC.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/F45351D9-7888-DF11-ABE1-001D09F252F3.root /store/data/Run2010A/Mu/RECO/v4/000/139/407/FCACE8ED-7F88-DF11-8BC5-003048F118AA.root /store/data/Run2010A/Mu/RECO/v4/000/139/409/788BB9DB-5C88-DF11-A90B-001D09F2906A.root /store/data/Run2010A/Mu/RECO/v4/000/139/411/44C16D98-7B88-DF11-908E-000423D9890C.root /store/data/Run2010A/Mu/RECO/v4/000/139/411/5E116E97-7B88-DF11-ABD5-0030487CD6DA.root /store/data/Run2010A/Mu/RECO/v4/000/139/411/849D0AE4-7B88-DF11-A2E8-0030487C7392.root /store/data/Run2010A/Mu/RECO/v4/000/139/411/A8E52F85-7B88-DF11-AB64-000423D94E70.root /store/data/Run2010A/Mu/RECO/v4/000/139/411/C8AF10AB-7B88-DF11-90C6-003048F117B6.root /store/data/Run2010A/Mu/RECO/v4/000/139/425/B40A17C8-6188-DF11-B7D6-001617C3B6FE.root /store/data/Run2010A/Mu/RECO/v4/000/139/436/94F5B1D5-6188-DF11-9743-003048F118C4.root /store/data/Run2010A/Mu/RECO/v4/000/139/441/B0E3E8ED-7188-DF11-AA73-003048CFB40C.root /store/data/Run2010A/Mu/RECO/v4/000/139/450/8ECE3FE1-9588-DF11-8447-001D09F29538.root /store/data/Run2010A/Mu/RECO/v4/000/139/455/88E02BCB-9588-DF11-8639-001D09F2432B.root /store/data/Run2010A/Mu/RECO/v4/000/139/457/0C631296-B088-DF11-BFF2-0030487C608C.root /store/data/Run2010A/Mu/RECO/v4/000/139/457/2CB7724F-B488-DF11-8020-003048F11DE2.root /store/data/Run2010A/Mu/RECO/v4/000/139/457/2E6D1B98-B088-DF11-B161-0030487C8E00.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/1055D2F6-CB88-DF11-923E-001D09F29169.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/10DEFE89-BA88-DF11-ABF8-001D09F28F25.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/1666F225-B688-DF11-83A3-003048F11942.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/1CC79FA7-C588-DF11-AFA9-001617C3B76A.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/1E796B23-C088-DF11-ADFC-001D09F252E9.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/38339C32-B188-DF11-A7A8-003048F024DC.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/5AB9BAD4-BB88-DF11-8C0F-0030487A3232.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/606B233F-B888-DF11-9DAB-001617E30D12.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/7CE1840E-BE88-DF11-9022-0030487C8E00.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/7E87E7CB-AF88-DF11-8BD3-003048F118DE.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/A23FFA42-BD88-DF11-A8C2-001D09F241F0.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/DEE2856A-C188-DF11-B0D0-0030487A17B8.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/F2C95F44-BD88-DF11-8A22-001D09F2525D.root /store/data/Run2010A/Mu/RECO/v4/000/139/458/FCC8A608-C788-DF11-AA34-003048F118D2.root /store/data/Run2010A/Mu/RECO/v4/000/139/459/848B09F4-C488-DF11-9A73-001617C3B70E.root /store/data/Run2010A/Mu/RECO/v4/000/139/459/CC6B9944-CB88-DF11-853C-0030487C5CE2.root /store/data/Run2010A/Mu/RECO/v4/000/139/466/CC96F6D0-B688-DF11-9C04-000423D996C8.root /store/data/Run2010A/Mu/RECO/v4/000/139/529/FA9F66CF-1589-DF11-834E-003048F1BF68.root """.split()
UTF-8
Python
false
false
2,014
10,436,770,554,339
c5a3cca655e8c733f057d64d36ee5fbb90084df2
8b8aa409045a639efdbc0ba9851a63325d154f17
/awebshell/WebShell.py
47c35f9a3df86e4e9dd674a35a2cfe2313a0cb29
[ "Apache-2.0" ]
permissive
AllStruck/awebshell
https://github.com/AllStruck/awebshell
6b3b778a1eb00b440d8a9716c6a16d8a6ad261cb
eff2cc7dff667785f294fedae3bb32a37ae8ccd5
refs/heads/master
2020-06-01T05:50:02.585858
2013-03-04T09:33:43
2013-03-04T09:33:43
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# WebShell.py - class for parsing awebshell commands, parsing web shell URLs, and determining a final resulting URL. # # Copyright 2013 Lee Bush. All rights reserved. # Copyright 2013 AllStruck. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # #There are some TODO and ZZZ items below that need to be addressed. #Also, I do not claim that this is the most efficient way to parse, but it gets the job done... #Don't forget to add/maintain the test cases in the 'tests' folder as you change this code. # -Lee __all__ = ['WebShell'] #syntax highlight URLs #validate URLs import re import urllib import types KEY_NAME_STRING_REGEX_STRING = r'[_A-Za-z][_A-Za-z0-9]*' VALUE_STRING_REGEX_STRING = r'[^{}]*' VAR_REFERENCE_REGEX_STRING = r'\$\{(' + KEY_NAME_STRING_REGEX_STRING + r')\}' PARAMETER_REGEX = re.compile(r'\$\{(' + KEY_NAME_STRING_REGEX_STRING + r')([=]' + VALUE_STRING_REGEX_STRING + r')?\}') CASE_THEN_VALUE_REGEX_STRING = r'[^={}]+ \=\> [^={},]+' CASE_THEN_VALUE_REGEX = re.compile(CASE_THEN_VALUE_REGEX_STRING) SWITCH_REGEX = re.compile(r'\{ switch ' + VAR_REFERENCE_REGEX_STRING + '( \| )(' + CASE_THEN_VALUE_REGEX_STRING + ')(, ' + CASE_THEN_VALUE_REGEX_STRING + ')*( \})') #SWITCH_REGEX = re.compile(r'\{(:\s)*switch(:\s)+' + VAR_REFERENCE_REGEX_STRING + r'(:\s*\|)(\s)*(' + CASE_THEN_VALUE_REGEX_STRING + r')(,(:\s)*' + CASE_THEN_VALUE_REGEX_STRING + r')*(\s*\})') #ZZZ broken! not working like I want... #assert(re.compile(r'\{\s*').match('{')) #assert(re.compile(r'\{\s*').match('{ ')) #print re.compile(r'\{(:\s)*').match('{ ').regs #assert(not re.compile(r'\{(:\s*)').match('{{ ')) #print OPTION_POST_REGEX.match('[post]').groups() #ZZZ test. #print OPTION_USE_X_FOR_SPACES_REGEX.match('[use - for spaces]').groups()#ZZZ test. #print SWITCH_REGEX.match('{ switch ${plat} | xbox => 13 }').groups() #print SWITCH_REGEX.match('{ switch ${plat} | * => 13 }').groups() #print SWITCH_REGEX.match('{ switch ${plat} | xbox => 13, dreamcast => 1, * => 0 }').groups() #ZZZ not getting dreamcast. need different loop-group extraction technique. OPTION_POST_REGEX = re.compile(r'[[]post[]]') OPTION_USE_X_FOR_SPACES_REGEX = re.compile(r'[[]use ([^]{} ]+) for spaces[]]') OPTION_NO_URL_ENCODING_REGEX = re.compile(r'[[]no url encoding[]]') from web_shell_exceptions import WebShellError, UnknownCommandError, CommandParseError, MissingParameterException, InvalidParameterValueException class WebShell: ''' The WebShell class receives commands (i.e., gim penguins), looks up comand names in the provided command database, and then evaluates the final URL. Example: command_database = ... #create your command database somehow web_shell = WebShell(command_database) #create web shell object url, can_inline = web_shell.evaluate('gim penguins') #run command and determine resulting URL #now goto the url... ''' INLINE_COMMANDS_SET = set(['cat', 'date']) #ZZZ this will be refactored and removed def __init__(self, command_database): ''' Create a WebShell object. The command_database parameter is an object that must provide a get_command_web_shell_url() method. This method receives a command name as a parameter, and must return a Web Shell URL string: command_database.get_command_web_shell_url(command_name) => web_shell_url ''' assert(hasattr(command_database, 'get_command_web_shell_url')) self.__command_database = command_database def validate_web_shell_url(self, web_shell_url): ''' return True if the given Web Shell URL appears to be syntactically correct. return False otherwise. ''' raise NotImplemented #ZZZ stub def evaluate(self, query_string): ''' return (final_url, can_inline) ''' #print 'query_string: ' + repr(query_string) query_string = query_string.strip() #remove all spaces from beginning and end of query. tokens = query_string.split() #print 'tokens: ' + repr(tokens) if (len(tokens) < 1): return ('', False) else: command = tokens[0] arguments = tokens[1:] arguments_text = ' '.join(arguments) web_shell_url, can_inline = self.__get_command_web_shell_url_and_inline(command) evaluated_url = self.__execute_web_shell_url(web_shell_url, arguments_text) return (evaluated_url, can_inline) def __get_command_web_shell_url_and_inline(self, name): ''' return tuple of the form (web_shell_url, can_inline) associated with the given command name. ''' can_inline = (name in WebShell.INLINE_COMMANDS_SET) web_shell_url = self.__command_database.get_command_web_shell_url(name) assert(type(web_shell_url) in (types.StringType, types.UnicodeType)) #ensure database is following proper protocol return (web_shell_url, can_inline) #ZZZ stub #return the tuple (respaced_argument_text, parameter_dictionary) def __parse_command_arguments(self, raw_argument_text): tokens = raw_argument_text.split() parameter_dictionary = {} respaced_argument_text = '' current_key = None mode = 'initial' for token in tokens: if (mode == 'initial'): if (token.startswith('-')): current_key = token[1:] parameter_dictionary[current_key] = '' mode = 'got_key' else: if (respaced_argument_text): respaced_argument_text += ' ' respaced_argument_text += token elif (mode == 'got_key'): if (token.startswith('-')): raise ComandParseError("expected an argument value for '%s', but recieved a new argument name of '%s'." % (current_key, token)) else: parameter_dictionary[current_key] = token mode = 'more_values' elif (mode == 'more_values'): if (token.startswith('-')): current_key = token[1:] parameter_dictionary[current_key] = '' mode = 'got_key' else: if (parameter_dictionary[current_key]): parameter_dictionary[current_key] += ' ' parameter_dictionary[current_key] += token else: assert(False) #should never happen #print 'parameter_dictionary=', parameter_dictionary return (respaced_argument_text, parameter_dictionary) def __execute_web_shell_url(self, web_shell_url, raw_argument_text): assert type(web_shell_url) in (types.StringType, types.UnicodeType) #print web_shell_url web_shell_url, options = self.__strip_web_shell_url_options(web_shell_url) assert type(web_shell_url) in (types.StringType, types.UnicodeType) raw_argument_text, arguments = self.__parse_command_arguments(raw_argument_text) #print (web_shell_url, options) #print (raw_argument_text, arguments) arguments_and_defaults_dictionary = {} #Note: if value is None, then the parameter is required web_shell_url_length = len(web_shell_url) final_url = '' start = 0 match_result = 'x' #something that is not None while (match_result is not None): #print 'x' match_result = SWITCH_REGEX.search(web_shell_url) if (match_result is not None): p0, p1 = match_result.regs[0] #print 'switch groups: ', match_result.groups() switch_var_name = match_result.group(1) p2 = match_result.regs[2][1] p3 = match_result.regs[4][1] switch_cases_text = web_shell_url[p2:p3] #print 'switch_cases_text', switch_cases_text final_url = final_url + web_shell_url[0:p0] + self.__execute_switch_case_handler(switch_var_name, switch_cases_text, arguments) web_shell_url = web_shell_url[p1:] #print (switch_var_name, switch_cases_text) web_shell_url = final_url + web_shell_url #parse and replace ${variable} and ${variable=default_value} forms ---- web_shell_url_length = len(web_shell_url) final_url = '' match_result = 'x' #something that is not None while (match_result is not None): match_result = PARAMETER_REGEX.search(web_shell_url, start) if (match_result is None): break key, value = match_result.groups() if (value is not None): value = value[1:] #chop off '=' at beginning arguments_and_defaults_dictionary[key] = value p0, p1 = match_result.regs[0] first_chunk = web_shell_url[0:p0] #print '\n\n\nfirst_chunk=', first_chunk final_url += first_chunk #print 'THING REPLACING: ', repr(web_shell_url[p0:p1]) web_shell_url = web_shell_url[p1:] #print 'web_shell_url', web_shell_url if (arguments.has_key(key)): final_url += self.__encode(arguments[key], options) else: if (value is not None): final_url += self.__encode(value, options) else: raise MissingParameterException("Mandatory value for parameter '%s' not provided." % key) #print arguments_and_defaults_dictionary web_shell_url = final_url + web_shell_url web_shell_url = web_shell_url.replace('%s', self.__encode(raw_argument_text, options)) return web_shell_url def __encode(self, input_string, options): space_replacer = options['space_replacer'] if (space_replacer is None): space_replacer = '+' tokens = input_string.split() #split on whitespace if (options['encode_url']): tokens = map(urllib.quote, tokens, ['']*len(tokens)) #the urllib quote "safe" list is set empty so we can encode the slash. result_string = space_replacer.join(tokens) #ZZZ handle options['post'] here???? return result_string def __strip_web_shell_url_options(self, web_shell_url): assert type(web_shell_url) in (types.StringType, types.UnicodeType) options = {} match_result = OPTION_POST_REGEX.search(web_shell_url) if (match_result is None): options['post'] = False else: options['post'] = True p0, p1 = match_result.regs[0] web_shell_url = web_shell_url[0:p0] + web_shell_url[p1:] match_result = OPTION_USE_X_FOR_SPACES_REGEX.search(web_shell_url) if (match_result is None): options['space_replacer'] = None else: options['space_replacer'] = match_result.group(1) p0, p1 = match_result.regs[0] web_shell_url = web_shell_url[0:p0] + web_shell_url[p1:] match_result = OPTION_NO_URL_ENCODING_REGEX.search(web_shell_url) if (match_result is None): options['encode_url'] = True else: options['encode_url'] = False p0, p1 = match_result.regs[0] web_shell_url = web_shell_url[0:p0] + web_shell_url[p1:] assert type(web_shell_url) in (types.StringType, types.UnicodeType) return (web_shell_url, options) def __execute_switch_case_handler(self, switch_variable_name, switch_case_text, variable_value_dictionary): DEFAULT_CASE_KEY = '*' #print dir(CASE_THEN_VALUE_REGEX) #print switch_variable_name #print variable_value_dictionary matches = CASE_THEN_VALUE_REGEX.findall(switch_case_text) case_dictionary = {} for match_text in matches: case_value, result_value = match_text.split('=>') case_value = case_value.strip() if (case_value.startswith(',')): case_value = case_value[1:].lstrip() result_value = result_value.strip() case_dictionary[case_value] = result_value #print 'case_dictionary=', case_dictionary if (not variable_value_dictionary.has_key(switch_variable_name)): if (case_dictionary.has_key(DEFAULT_CASE_KEY)): return case_dictionary[DEFAULT_CASE_KEY] else: raise MissingParameterException("Error: required parameter '%s' not provided." % switch_variable_name) else: switch_variable_value = variable_value_dictionary[switch_variable_name] if (case_dictionary.has_key(switch_variable_value)): return case_dictionary[switch_variable_value] else: acceptable_keys = sorted(case_dictionary.keys()) error_message = "Error: invalid value for parameter '%s': '%s'. The only acceptable values are: %s." % \ (switch_variable_name, switch_variable_value, acceptable_keys) raise InvalidParameterValueException(error_message) assert(False) #should never get here
UTF-8
Python
false
false
2,013
1,546,188,265,159
c9ad1762a1374a0bae651bc9883df0eeafdee6f0
606b1964adf3039c26f83a9bdb816463949b3475
/lista1/zad1.py
63c0a512c364c626f4971d789a4198e16119753b
[]
no_license
dreamer/appsec-2k14
https://github.com/dreamer/appsec-2k14
f9efd651a8393e4f1ca23b3af0fb759cf21d8d7f
0a978d6019e4f996038acff59a1b3f85b59a2fd3
refs/heads/master
2020-05-30T21:45:43.551829
2014-03-23T16:01:03
2014-03-23T16:01:21
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import sys from Crypto.Cipher import AES, DES3, Blowfish import base64 key = 'This is a key123' iv = 'This is an IV456' iv8 = iv[:8] def padding(msg): return ' ' * (16 - len(msg) % 16) words = open('words').read() message = (words + padding(words)) * 10 def enc_aes(): obj = AES.new(key, AES.MODE_CBC, iv) print base64.b64encode(obj.encrypt(message)) def dec_aes(): ciphertext = open('ciphertext.aes', 'rb').read() obj = AES.new(key, AES.MODE_CBC, iv) print obj.decrypt(base64.b64decode(ciphertext)) def enc_des3(): obj = DES3.new(key, DES3.MODE_CBC, iv8) print base64.b64encode(obj.encrypt(message)) def dec_des3(): ciphertext = open('ciphertext.aes', 'rb').read() obj = DES3.new(key, DES3.MODE_CBC, iv8) print obj.decrypt(base64.b64decode(ciphertext)) def enc_blowfish(): obj = Blowfish.new(key, Blowfish.MODE_CBC, iv8) print base64.b64encode(obj.encrypt(message)) def dec_blowfish(): ciphertext = open('ciphertext.blowfish', 'rb').read() obj = Blowfish.new(key, Blowfish.MODE_CBC, iv8) print obj.decrypt(base64.b64decode(ciphertext)) if __name__ == '__main__': alg = sys.argv[1] if alg == 'enc_aes': enc_aes() if alg == 'dec_aes': dec_aes() if alg == 'enc_des3': enc_des3() if alg == 'dec_des3': dec_des3() if alg == 'enc_blowfish': enc_blowfish() if alg == 'dec_blowfish': dec_blowfish()
UTF-8
Python
false
false
2,014
7,791,070,697,681
92759ddce60012b86e706bac35f494cab1f4ec49
e867517068ade1572691ac86c6f2ad6596c0d559
/film20/followers/test_followers.py
ab431bc226c2e9932ad3e41ae02957d72101b177
[]
no_license
manlan2/filmaster
https://github.com/manlan2/filmaster
044ec124d91da0b6dcf2eb5b8af5aec6f0fffd53
90b2bb72c2bab9dfea0c0837971a625bc6880630
refs/heads/master
2021-05-26T22:24:55.012908
2012-05-27T09:30:37
2012-05-27T09:30:37
107,661,541
1
0
null
true
2017-10-20T09:51:53
2017-10-20T09:51:53
2017-10-20T09:51:53
2012-05-27T09:38:13
9,548
0
0
0
null
null
null
from film20.utils.test import TestCase from django.core import mail from film20.followers.models import * class FollowersTestCase(TestCase): u1 = None u2 = None u3 = None u4 = None def setUp(self): Followers.objects.all().delete() User.objects.all().delete() # set up users self.u1= User.objects.create_user('michuk', '[email protected]', 'secret') self.u1.save() self.u2 = User(username='adz', email='[email protected]') self.u2.save() self.u3 = User(username='turin', email='[email protected]') self.u3.save() self.u4 = User(username='olamus', email='[email protected]') self.u4.save() def tearDown(self): Followers.objects.all().delete() User.objects.all().delete() def test_follow(self): """ Testing adding to follow list. u1 wants to follow u2,u3,u4 After it following() should return list with 3 users for u1 For u2 followers() should return 1 """ self.u1.followers.follow(self.u2) self.u1.followers.follow(self.u3) self.u1.followers.follow(self.u4) self.assertEquals(len(self.u1.followers.following()), 3) self.assertEquals(len(self.u2.followers.followers()), 1) def test_followers(self): """ Testing followers. u2, u3, u3 want to follow u1. After it followers() should return list with 3 users for u1 For u2 following() should return 1 """ self.u2.followers.follow(self.u1) self.u3.followers.follow(self.u1) self.u4.followers.follow(self.u1) self.assertEquals(len(self.u1.followers.followers()), 3) self.assertEquals(len(self.u2.followers.following()), 1) def test_block(self): """ Testing blocking. u1 wants to block u2, u3, u4. After it blocking for u1 should return list with 3 users, and blockers for u2 should return 1 """ self.u1.followers.block(self.u2) self.u1.followers.block(self.u3) self.u1.followers.block(self.u4) self.assertEquals(len(self.u1.followers.blocking()), 3) self.assertEquals(len(self.u2.followers.blockers()), 1) def test_blockers(self): """ Testing blockers. u2, u3, u4 want to block u1. After it blockers() should return list with 3 users for u1. blocking() for u1 should return 1 """ self.u2.followers.block(self.u1) self.u3.followers.block(self.u1) self.u4.followers.block(self.u1) self.assertEquals(len(self.u1.followers.blockers()), 3) self.assertEquals(len(self.u2.followers.blocking()), 1) def test_remove(self): """ Testing remove. u1 wants to block u2, then he decides to follow u2 u3 follow u4 but he don't want to do it """ self.u1.followers.block(self.u2) self.assertEquals(len(self.u1.followers.blocking()), 1) self.u1.followers.follow(self.u2) self.assertEquals(len(self.u1.followers.blocking()), 1) self.u3.followers.follow(self.u4) self.assertEquals(len(self.u3.followers.following()), 1) self.u3.followers.remove(self.u4) self.assertEquals(len(self.u3.followers.following()), 0) a = self.u3.from_users.get(from_user=self.u3) self.assertEquals(a.status, Followers.UNKNOWN) def test_friends(self): """ u1 and u2 follow each other they are friends, friends() for u1 should return 1 becasue he has only one friend """ self.u1.followers.follow(self.u2) self.u2.followers.follow(self.u1) self.assertEquals(len(self.u1.followers.friends()), 1) def test_relation(self): """ u1 follows u2 test should return relation u1 don't follow u3 test should return false """ self.u1.followers.follow(self.u2) relation = self.u1.followers.get_relation(self.u2) self.assertEquals(relation is not False, True) relation = self.u1.followers.get_relation(self.u3) self.assertEquals(relation, False) def test_notification(self): """ test sending notifications """ self.u1.followers.follow(self.u2) self.assertEqual(len(mail.outbox), 1) def test_follow_on_create( self ): """ test following filmaster on user create """ filmaster = User.objects.create_user( 'blog', '[email protected]', 'blog') user = User.objects.create_user( 'user', '[email protected]', 'user' ) self.assertEquals( len( user.followers.following() ), 1 ) self.assertEquals( len( user.followers.followers() ), 0 ) self.assertEquals( len( filmaster.followers.following() ), 0 ) self.assertEquals( len( filmaster.followers.followers() ), 1 ) self.assertEqual( len( mail.outbox ), 0 ) def test_follow_command( self ): """ test following filmaster command """ from django.core.management import call_command filmaster = User.objects.create_user( 'blog', '[email protected]', 'blog') self.assertEquals( len( filmaster.followers.following() ), 0 ) self.assertEquals( len( self.u1.followers.following() ), 0 ) self.assertEquals( len( self.u2.followers.following() ), 0 ) self.assertEquals( len( self.u3.followers.following() ), 0 ) self.assertEquals( len( self.u4.followers.following() ), 0 ) call_command( 'add_filmaster_to_followed' ) self.assertEquals( len( filmaster.followers.followers() ), 4 ) self.assertEquals( len( self.u1.followers.following() ), 1 ) self.assertEquals( len( self.u2.followers.following() ), 1 ) self.assertEquals( len( self.u3.followers.following() ), 1 ) self.assertEquals( len( self.u4.followers.following() ), 1 ) self.assertEqual( len( mail.outbox ), 0 )
UTF-8
Python
false
false
2,012
15,934,328,689,601
fc1530f7d02b7169cf0a2dc55c5f208765dec71e
25900311cb220b977a21d26ab35db40e56a26828
/fcs/fcs/conftest.py
3da5adf98e25b374ad98edcdc1a4ba568e8fb106
[]
no_license
agh-glk/fcs
https://github.com/agh-glk/fcs
d246493cfd762aa1474e0546773ce35711d95049
df8d816463b29d12d1e148bdaa68c7813cd9c6ef
refs/heads/master
2021-01-10T20:31:57.199070
2014-11-06T09:52:27
2014-11-06T09:52:27
14,281,330
2
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import os os.environ['DJANGO_SETTINGS_MODULE'] = 'fcs.settings'
UTF-8
Python
false
false
2,014
4,398,046,512,376
c0e44703387642bf8f35f30ba62bcbfa42e89bf4
d04ec18baca836be582ab28aa8fbfec4866b9a7b
/client/test_inline_tag.py
eda4362a713c993634a927bd864f686cbc134a22
[ "GPL-3.0-only", "GPL-1.0-or-later", "GPL-3.0-or-later" ]
non_permissive
ashneo76/shellsink
https://github.com/ashneo76/shellsink
24695b83f8cf0b53b4f207495330903f6f374981
e0e714ad7044b152351de566a89728cf41712ea0
refs/heads/master
2021-01-18T03:51:07.810821
2011-07-15T07:10:43
2011-07-15T07:10:43
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
""" This file is part of Shell-Sink. Copyright Joshua Cronemeyer 2008, 2009 Shell-Sink is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Shell-Sink is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License v3 for more details. You should have received a copy of the GNU General Public License along with Shell-Sink. If not, see <http://www.gnu.org/licenses/>. """ import unittest from shellsink_client import * from mock import Mock import os class TestInlineTag(unittest.TestCase): def test_one_inline_tag(self): client = StubClient() self.assertEqual(['tag'], client.inline_tags("echo #tag")) def test_zero_inline_tags(self): client = StubClient() self.assertEqual(None, client.inline_tags("echo")) def test_two_inline_tags(self): client = StubClient() self.assertEqual(["tag1", "tag2"], client.inline_tags("echo #tag1:tag2")) def test_one_escaped_comment_delimiter(self): client = StubClient() self.assertEqual(None, client.inline_tags("echo \#tag1:tag2")) def test_one_escaped_comment_delimiter_and_one_unescaped(self): client = StubClient() self.assertEqual(["tag2"], client.inline_tags("echo \#tag1 #tag2")) def test_two_escaped_comment_delimiters_and_two_unescaped(self): client = StubClient() self.assertEqual(["tag1", "tag2"], client.inline_tags("echo \#tag1 \#tag2 #tag1:tag2")) #These document a known issue. # def test_strange_adjoining_comments_are_escaped_behavior(self): # client = StubClient() # self.assertEqual(None, client.inline_tags("echo \##tag")) # def test_strange_adjoining_comments_are_escaped_behavior_can_have_tag_later(self): # client = StubClient() # self.assertEqual(["taglater"], client.inline_tags("echo \##tag #taglater")) class StubClient(Client): def __init__(self): pass if __name__ == '__main__': unittest.main()
UTF-8
Python
false
false
2,011
3,315,714,752,820
0d40e4080394770b48f5398b18ba423ef0c4f6d5
3f8e05ccf4a83434455141fb74c3266967be2125
/tests/history_notices_tests.py
00da8010496707d4af0fc01d60fd3ab542f25acc
[ "CC0-1.0" ]
permissive
jposi/regulations-parser
https://github.com/jposi/regulations-parser
261b2c6fa42b83d839fd7e2cb0c7d63ae2ba85b9
220a8167bdcfa0a48b64208c6831c60a23869cd5
refs/heads/master
2021-01-16T23:15:52.089179
2014-03-06T16:46:28
2014-03-06T16:46:28
17,524,076
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from unittest import TestCase from regparser.history.notices import * class HistoryNoticesTests(TestCase): def test_applicable(self): head = {'document_number': 'head', 'effective_on': '2012-05-05', 'publication_date': '2011-09-09'} history = {'document_number': 'history', 'effective_on': '2012-01-01', 'publication_date': '2011-04-04'} prefinal = {'document_number': 'pre_final', 'effective_on': '2012-05-05', 'publication_date': '2011-08-08'} future = {'document_number': 'future', 'effective_on': '2012-05-05', 'publication_date': '2011-10-10'} notices = applicable([history, head, prefinal, future], 'head') self.assertEqual([head, history, prefinal], notices) def test_applicable_proposal(self): """For now, we ignore proposals""" head = {'document_number': 'head', 'effective_on': '2012-05-05', 'publication_date': '2011-09-09'} proposal = {'document_number': 'proposal', 'publication_date': '2011-08-18'} notices = applicable([head, proposal], 'head') self.assertEqual([head], notices) def test_group_by_eff_date(self): n1 = {'publication_date': '2001-01-01', 'effective_on': '2002-02-02'} n2 = {'publication_date': '2001-03-01', 'effective_on': '2002-02-02'} n3 = {'publication_date': '2002-02-01', 'effective_on': '2003-02-02'} n4 = {'publication_date': '2002-01-01', 'effective_on': '2004-02-02'} n5 = {'publication_date': '2001-02-01', 'effective_on': '2002-02-02'} grouped = group_by_eff_date([n1, n2, n3, n4, n5]) self.assertEqual(set(['2002-02-02', '2003-02-02', '2004-02-02']), set(grouped.keys())) self.assertEqual([n1, n5, n2], grouped['2002-02-02']) self.assertEqual([n3], grouped['2003-02-02']) self.assertEqual([n4], grouped['2004-02-02'])
UTF-8
Python
false
false
2,014
128,849,023,300
a257eaa84d242a2f8b838884061309cec5a851e4
71d2a0f0539546f030044f4c9d23b370d6d503f0
/pm/views.py
b69d28ba9eb6b6655c816c3e827913696366129b
[]
no_license
jmoswalt/ProMan
https://github.com/jmoswalt/ProMan
94767edddee796ed78757b037851064ee4fac281
04f833d5365f5060ada181f4f1e32e0a17716622
refs/heads/master
2021-01-18T21:32:56.046759
2012-07-25T01:42:40
2012-07-25T01:42:40
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from datetime import date, datetime, timedelta import subprocess from django.conf import settings from django.db.models import Q, Sum, Avg, Count from django.contrib.admin.models import LogEntry, ADDITION, CHANGE, DELETION from django.contrib.auth.models import User from django.contrib.contenttypes.models import ContentType from django.contrib.sites.models import Site from django.utils.encoding import force_unicode from django.contrib.auth.decorators import login_required from django.contrib.admin.views.decorators import staff_member_required from django.contrib import messages from django.http import Http404 from django.views.generic import DetailView, ListView, CreateView, UpdateView from django.views.generic.edit import FormMixin, ModelFormMixin from django.views.decorators.csrf import csrf_exempt from django.shortcuts import get_object_or_404, render_to_response from django.template import RequestContext from django.http import HttpResponseRedirect, HttpResponse from django.core.cache import cache from django.core.management import call_command from django.core.paginator import Paginator from django.core.urlresolvers import reverse from django.utils.decorators import method_decorator from django.utils import timezone from django.core.mail import send_mail from django.views.generic.base import View from pm.models import Project, Task, Profile, ContentImport, Team from pm.forms import TaskForm, TaskMiniForm, TaskCloseForm, ProjectForm, ProfileForm from pm.tasks import send_notification from pm.utils import get_task_change_message, get_project_change_message, get_profile_change_message START_DT_INITIAL = timezone.now() END_DT_INITIAL = timezone.now() + timedelta(days=90) DUE_DT_INITIAL = timezone.now() + timedelta(weeks=1) #Custom Action Flags CLOSED = 5 MISSED = 6 def UserCurrent(request): if request.user.is_authenticated(): return HttpResponseRedirect(reverse('user_detail', args=[request.user.username])) return HttpResponseRedirect(reverse('home')) def UserIdRedirect(request, pk=None): user = get_object_or_404(User, pk=pk) return HttpResponseRedirect(reverse('user_detail', args=[user.username])) class UserListView(ListView): model = Profile template_name = "proman/user_list.html" @method_decorator(staff_member_required) def dispatch(self, *args, **kwargs): return super(UserListView, self).dispatch(*args, **kwargs) def get_context_data(self, **kwargs): context = super(UserListView, self).get_context_data(**kwargs) context['inactive_employees'] = Profile.objects.inactive_employees() context['active_employees'] = Profile.objects.active_employees() inactive_employees = context['inactive_employees'] inactive_pks = [p.pk for p in inactive_employees] context['open_projects_inactives'] = Project.objects.filter(version=False, owner_id__in=inactive_pks).exclude(status="done") context['open_tasks_inactives'] = Task.objects.filter(version=False, owner_id__in=inactive_pks, completed=False) return context class ContactListView(UserListView): queryset = Profile.objects.filter(user__is_staff=False).order_by('last_name') context_object_name = "profiles" template_name = "proman/client_list.html" class TeamListView(UserListView): queryset = Team.objects.all().order_by('name') context_object_name = "teams" template_name = "proman/profiles/team_list.html" class UserCreateView(CreateView): """ Creates a Profile """ form_class = ProfileForm template_name = "proman/user_update.html" @method_decorator(staff_member_required) def dispatch(self, *args, **kwargs): return super(UserCreateView, self).dispatch(*args, **kwargs) def form_valid(self, form): self.object = form.save() username = self.object.email if form.cleaned_data['username']: username = form.cleaned_data['username'] user_object = User.objects.create(username=username, email=self.object.email, first_name=self.object.first_name, last_name=self.object.last_name, is_active=True) self.object.user = user_object self.object.save() change_message = "added this profile" LogEntry.objects.log_action( user_id = self.request.user.pk, content_type_id = ContentType.objects.get_for_model(self.object).pk, object_id = self.object.pk, object_repr = force_unicode(self.object), action_flag = ADDITION, change_message = change_message ) return HttpResponseRedirect(self.get_success_url()) def get_success_url(self): if self.request.GET.has_key('next'): messages.success(self.request, 'Successfully added the profile for <strong><a href="%s">%s</a></strong>.' % (self.object.get_absolute_url(), self.object.nice_name()), extra_tags='success profile-%s' % self.object.pk) return self.request.GET['next'] messages.success(self.request, 'Successfully added this profile.', extra_tags='success profile-%s' % self.object.pk) return self.object.get_absolute_url() class UserUpdateView(UpdateView): """ Updates a Profile """ form_class = ProfileForm template_name = "proman/user_update.html" @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(UserUpdateView, self).dispatch(*args, **kwargs) def get_object(self, **kwargs): obj = get_object_or_404(Profile, pk=self.kwargs['pk']) return obj def get_initial(self): super(UserUpdateView, self).get_initial() if self.get_object().user.is_staff: role = "1" else: role = "0" self.initial = { "username": self.get_object().user.username, "role": role, "active": self.get_object().user.is_active, } return self.initial def form_valid(self, form): self.object = form.save(commit=False) orig = Profile.objects.get(pk=self.object.pk) self.object = form.save() profile = self.object profile.user.first_name = profile.first_name profile.user.last_name = profile.last_name profile.user.email = profile.email profile.user.username = form.cleaned_data['username'] if form.cleaned_data['role'] == "1": profile.user.is_staff = True else: profile.user.is_staff = False profile.user.is_active = form.cleaned_data['active'] profile.user.save() change_message = get_profile_change_message(orig, self.object) LogEntry.objects.log_action( user_id = self.request.user.pk, content_type_id = ContentType.objects.get_for_model(self.object).pk, object_id = self.object.pk, object_repr = force_unicode(self.object), action_flag = CHANGE, change_message = change_message ) return HttpResponseRedirect(self.get_success_url()) def get_success_url(self): if self.request.GET.has_key('next'): messages.success(self.request, 'Successfully updated the profile for <strong><a href="%s">%s</a></strong>.' % (self.object.get_absolute_url(), self.object.nice_name()), extra_tags='success profile-%s' % self.object.pk) return self.request.GET['next'] messages.success(self.request, 'Successfully updated this profile.', extra_tags='success profile-%s' % self.object.pk) return self.object.get_absolute_url() class UserDetailView(DetailView): model = Profile context_object_name = "profile" template_name = "proman/profile_detail.html" @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(UserDetailView, self).dispatch(*args, **kwargs) def get_context_data(self, **kwargs): context = super(UserDetailView, self).get_context_data(**kwargs) # Pull projects for a client if context['profile'].client: context['user_projects'] = Project.objects.filter(version=False, client=context['profile'].client).order_by('-status', 'start_dt') context['user_open_project_tasks'] = Task.objects.filter(version=False, project__client=context['profile'].client).exclude(completed=True, private=True).order_by('due_dt') context['results_paginate'] = "10" return context def get_object(self, **kwargs): obj = get_object_or_404(Profile, user__username=self.kwargs['username']) return obj def render_to_response(self, context): """Used to pull paginated items via a GET""" if self.request.method == 'GET': if self.request.GET.get('open_task_page'): open_task_page = self.request.GET.get('open_task_page') paginator = Paginator(context['user_open_project_tasks'], context['results_paginate']) task_items = paginator.page(open_task_page).object_list return render_to_response("proman/task_table_items.html", locals(), context_instance=RequestContext(self.request)) if self.request.GET.get('done_task_page'): done_task_page = self.request.GET.get('done_task_page') paginator = Paginator(context['user_done_project_tasks'], context['results_paginate']) task_items = paginator.page(done_task_page).object_list return render_to_response("proman/task_table_items.html", locals(), context_instance=RequestContext(self.request)) if self.request.GET.get('done_task_search'): done_task_count = self.request.GET.get('done_task_search') task_items = context['user_done_project_tasks'][done_task_count:] return render_to_response("proman/task_table_items.html", locals(), context_instance=RequestContext(self.request)) if self.request.GET.get('open_task_search'): open_task_count = self.request.GET.get('open_task_search') task_items = context['user_open_project_tasks'][open_task_count:] return render_to_response("proman/task_table_items.html", locals(), context_instance=RequestContext(self.request)) return render_to_response(self.template_name, context, context_instance=RequestContext(self.request)) class TaskNotificationMixin(View): def task_notification(self): """ Create and send a notification as a celery task """ site_url = Site.objects.all()[0].domain notice = send_notification.delay('[PM] Task Assigned: %s (%s)' % (self.object.title, self.object.project.client), 'You have just been assigned the following task from <a href="http://%s%s">%s</a>: <br /><br /><strong>%s</strong> (http://%s%s)<br />Due: (%s days)<br /><br /> %s<br /><br />' % ( site_url, self.request.user.profile.get_absolute_url(), self.request.user.profile.nice_name(), self.object.title, site_url, self.object.get_absolute_url(), self.object.due_age(), self.object.description ), self.request.user.email, [self.object.owner.email], fail_silently=False) return notice class TaskCreateView(CreateView, TaskNotificationMixin): """ Creates a Task """ form_class = TaskForm template_name = "proman/task_update.html" success_url = '/projects/' @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(TaskCreateView, self).dispatch(*args, **kwargs) def get_initial(self): super(TaskCreateView, self).get_initial() project = self.request.GET.get("project") user = self.request.user self.initial = {"owner":user.id, "project":project, "due_dt": DUE_DT_INITIAL} return self.initial def form_valid(self, form): self.object = form.save(commit=False) self.object.original_creator = self.request.user.profile self.object.editor = self.request.user.profile self.object.save() self.object.original = self.object self.object.save() change_message = "added this task" LogEntry.objects.log_action( user_id = self.request.user.pk, content_type_id = ContentType.objects.get_for_model(self.object).pk, object_id = self.object.pk, object_repr = force_unicode(self.object), action_flag = ADDITION, change_message = change_message ) if self.request.user.profile != self.object.owner: # If you aren't the owner, send the owner an email. self.task_notification() return HttpResponseRedirect(self.get_success_url()) def get_success_url(self): if self.request.GET.has_key('next'): messages.success(self.request, 'Successfully added the task <strong><a href="%s">%s</a></strong>.' % (self.object.get_absolute_url(), self.object.title), extra_tags='success task-%s' % self.object.pk) return self.request.GET['next'] messages.success(self.request, 'Successfully added the task <strong>%s</strong>.' % self.object.title, extra_tags='success task-%s' % self.object.pk) return HttpResponseRedirect(reverse('project_detail', args=[self.object.project.pk])) class TaskUpdateView(UpdateView, TaskNotificationMixin): """ Updates a Task """ form_class = TaskForm template_name = "proman/task_update.html" success_url = '/projects/' @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(TaskUpdateView, self).dispatch(*args, **kwargs) def get_object(self, **kwargs): obj = get_object_or_404(Task, pk=self.kwargs['pk']) return obj def form_valid(self, form): self.object = form.save(commit=False) orig = Task.objects.get(pk=self.object.pk) new_obj = orig new_obj.pk = None new_obj.editor = self.request.user.profile new_obj.version = True new_obj.save() self.object.save() action_flag = CHANGE change_message = get_task_change_message(orig, self.object) # if changed from not done to done if not orig.completed and self.object.completed: action_flag = CLOSED LogEntry.objects.log_action( user_id = self.request.user.pk, content_type_id = ContentType.objects.get_for_model(self.object).pk, object_id = self.object.pk, object_repr = force_unicode(self.object), action_flag = action_flag, change_message = change_message ) if self.request.user.profile != self.object.owner and new_obj.owner != self.object.owner: # If you aren't changing to yourself, and the owner changed, send them an email. self.task_notification() return HttpResponseRedirect(self.get_success_url()) def get_success_url(self): if self.request.GET.has_key('next'): messages.success(self.request, 'Successfully updated the task <strong><a href="%s">%s</a></strong>.' % (self.object.get_absolute_url(), self.object.title), extra_tags='success task-%s' % self.object.pk) return self.request.GET['next'] messages.success(self.request, 'Successfully updated this task.', extra_tags='success task-%s' % self.object.pk) return self.object.get_absolute_url() class TaskCloseUpdateView(TaskUpdateView, TaskNotificationMixin): """ Mini Form to Close a Task """ form_class = TaskCloseForm def get_success_url(self): if self.request.GET.has_key('next'): messages.success(self.request, 'Successfully closed the task <strong><a href="%s">%s</a></strong>.' % (self.object.get_absolute_url(), self.object.title), extra_tags='success task-%s' % self.object.pk) return self.request.GET['next'] messages.success(self.request, 'Successfully closed this task.', extra_tags='success task-%s' % self.object.pk) return self.object.get_absolute_url() class TaskDetailView(DetailView): model = Task template_name = "proman/task_detail.html" context_object_name = "task" @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(TaskDetailView, self).dispatch(*args, **kwargs) def get_context_data(self, **kwargs): form = TaskCloseForm(instance=self.object) form.initial = {"completed_dt": START_DT_INITIAL} context = super(TaskDetailView, self).get_context_data(**kwargs) context['close_form'] = form context['task_logs'] = LogEntry.objects.filter(object_id=self.object.pk, content_type = ContentType.objects.get_for_model(self.object).pk).order_by('-action_time') return context class ProjectCreateView(CreateView): """ Creates a Project """ form_class = ProjectForm template_name = "proman/project_update.html" @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(ProjectCreateView, self).dispatch(*args, **kwargs) def get_initial(self): super(ProjectCreateView, self).get_initial() user = self.request.user self.initial = {"owner":user.id, "start_dt": START_DT_INITIAL, "end_dt": END_DT_INITIAL} return self.initial def form_valid(self, form): self.object = form.save(commit=False) change_message = "added this project" LogEntry.objects.log_action( user_id = self.request.user.pk, content_type_id = ContentType.objects.get_for_model(self.object).pk, object_id = self.object.pk, object_repr = force_unicode(self.object), action_flag = ADDITION, change_message = change_message ) messages.success(self.request, "Successfully added this new project, <strong>%s</strong>." % self.object.name, extra_tags='success') return HttpResponseRedirect(reverse('project_detail', args=[self.object.pk])) def get_success_url(self): if self.request.GET.has_key('next'): return self.request.GET['next'] return self.object.get_absolute_url() class ProjectUpdateView(UpdateView): """ Updates a Project """ form_class = ProjectForm template_name = "proman/project_update.html" @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(ProjectUpdateView, self).dispatch(*args, **kwargs) def get_object(self, **kwargs): obj = get_object_or_404(Project, pk=self.kwargs['pk']) return obj def form_valid(self, form): self.object = form.save(commit=False) orig = Project.objects.get(pk=self.object.pk) new_obj = orig new_obj.pk = None new_obj.editor = self.request.user.profile new_obj.version = True new_obj.save() self.object.save() change_message = get_project_change_message(orig, self.object) LogEntry.objects.log_action( user_id = self.request.user.pk, content_type_id = ContentType.objects.get_for_model(self.object).pk, object_id = self.object.pk, object_repr = force_unicode(self.object), action_flag = CHANGE, change_message = change_message ) return HttpResponseRedirect(self.get_success_url()) def get_success_url(self): if self.request.GET.has_key('next'): messages.success(self.request, 'Successfully updated the project <strong><a href="%s">%s</a></strong>.' % (self.object.get_absolute_url(), self.object.name), extra_tags='success project-%s' % self.object.pk) return self.request.GET['next'] messages.success(self.request, 'Successfully updated this project.', extra_tags='success project-%s' % self.object.pk) return self.object.get_absolute_url() class ProjectListView(ListView): model = Project queryset = Project.objects.filter(version=False).exclude(status="Done").order_by('-status', 'start_dt')[:25] context_object_name = "projects" template_name = "proman/project_list.html" @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(ProjectListView, self).dispatch(*args, **kwargs) def get_context_data(self, **kwargs): context = super(ProjectListView, self).get_context_data(**kwargs) projects = Project.originals.exclude(status="Done").order_by('start_dt') context['display'] = "open" if self.request.GET.get('display'): display = self.request.GET.get('display') if display == "all": context['display'] = display projects = Project.originals.order_by('start_dt') if display == "done": context['display'] = display projects = Project.originals.order_by('start_dt') context['filtered_projects'] = projects context['projects_total'] = projects.count() context['results_paginate'] = "25" context['technologies'] = projects.values('technology').annotate(total=Count('technology')) context['projects'] = projects[:context['results_paginate']] return context def render_to_response(self, context): """Used to pull paginated items via a GET""" if self.request.method == 'GET': # if self.request.GET.get('project_page'): # project_page = self.request.GET.get('project_page') # paginator = Paginator(context['filtered_projects'], context['results_paginate']) # projects = paginator.page(project_page).object_list # return render_to_response("proman/project_table_items.html", locals(), context_instance=RequestContext(self.request)) if self.request.GET.get('project_search'): project_count = self.request.GET.get('project_search') current_count = self.request.GET.get('project_current') projects = context['filtered_projects'][project_count:] return render_to_response("proman/project_table_items.html", locals(), context_instance=RequestContext(self.request)) return render_to_response(self.template_name, context, context_instance=RequestContext(self.request)) class ProjectDetailView(DetailView): model = Project template_name = "proman/project_detail.html" context_object_name = "project" @method_decorator(login_required) def dispatch(self, *args, **kwargs): return super(ProjectDetailView, self).dispatch(*args, **kwargs) def get_context_data(self, **kwargs): project = self.object.pk user = self.request.user form = TaskMiniForm() form.fields['owner'].initial = user.profile.id form.fields['project'].initial = project form.fields['due_dt'].initial = DUE_DT_INITIAL form.fields['billable'].initial = True context = super(ProjectDetailView, self).get_context_data(**kwargs) project_tasks = Task.objects.filter(version=False, project=self.kwargs['pk']) context['form'] = form context['project_logs'] = LogEntry.objects.filter(object_id=self.object.pk, content_type = ContentType.objects.get_for_model(self.object).pk).order_by('-action_time') return context @login_required def import_content(request, content_type=None, template_name="proman/import.html"): if content_type not in ['clients', 'projects', 'users', 'client_contacts']: raise Http404 ci = ContentImport.objects.create(content_type=content_type, starter=request.user.profile) return HttpResponseRedirect(reverse('import_content_attempt', kwargs={'content_type': content_type, 'pk': int(ci.pk)})) @login_required def import_content_attempt(request, content_type=None, pk=None, template_name="proman/import.html"): if content_type not in ['clients', 'projects', 'users', 'client_contacts']: raise Http404 ci = get_object_or_404(ContentImport, pk=pk) if not ci.create_dt: ci.create_dt = timezone.now() ci.save() command = 'import_harvest_%s' % ci.content_type subprocess.Popen(["python", "manage.py", command, str(ci.pk)]) return render_to_response(template_name, locals(), context_instance=RequestContext(request)) @login_required def import_check(request, pk=None, template_name="proman/import_check.html"): """ Check the import record for matched, added, total, and completeness. Also create the percentage for the bar graph. Render all of these in a hidden div in a template to be reformatted and displayed by javascript """ if pk: matched = cache.get(('content_import.matched.%s') % pk) added = cache.get(('content_import.added.%s') % pk) total = cache.get(('content_import.total.%s') % pk) complete_dt = cache.get(('content_import.complete_dt.%s') % pk) perc = 0 if total > 0: perc = int(round((matched + added)*100/total)) return render_to_response(template_name, locals(), context_instance=RequestContext(request))
UTF-8
Python
false
false
2,012
15,788,299,821,622
37417de80f0651d41ab66f5692db30fcf5ffefb0
d8ba9cce6373a4bcafff442feb1500b6b63d638c
/flask_report/data_set.py
ae18ffd8d20cd3a86075c329d9c5f2cdeb734573
[]
no_license
pbehnke/flask-report
https://github.com/pbehnke/flask-report
2b67d2c819d9539b86d18ec6b5f884b4a1c4abf0
90a038799d49825e7f88bcc82bc5e8f15c7cacb2
refs/heads/master
2021-05-28T03:32:10.223086
2014-11-20T13:41:40
2014-11-20T13:41:40
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: UTF-8 -*- import os import operator import yaml from import_file import import_file from werkzeug.utils import cached_property import sqlalchemy from flask.ext.babel import _ from flask.ext.report.utils import get_column, get_primary_key class DataSet(object): ''' data set defines the source of data ''' __TYPES__ = { "str": "text", "int": "number", "bool": "checkbox", "datetime": "datetime", "date": "date" } def __init__(self, flask_report, id_): self.flask_report = flask_report self.id_ = id_ data_set_meta_file = os.path.join(self.flask_report.data_set_dir, str(id_), 'meta.yaml') data_set_meta = yaml.load(file(data_set_meta_file).read()) self.name = data_set_meta['name'] self.creator = data_set_meta.get('creator') self.create_time = data_set_meta.get('create_time') self.description = data_set_meta.get("description") self.default_report_name = data_set_meta.get("default_report_name", '') self.__special_chars = {"gt": operator.gt, "lt": operator.lt, "ge": operator.ge, "le": operator.le, "eq": operator.eq, "ne": operator.ne} self._filters = data_set_meta.get("filters", {}) @cached_property def query(self): ''' the query of data set ''' query_def_file = os.path.join(self.flask_report.data_set_dir, str(self.id_), "query_def.py") lib = import_file(query_def_file) return lib.get_query(self.flask_report.db, self.flask_report.model_map) @cached_property def columns(self): ''' get the columns :return list: a list of column, each one is a dict, contains then following keys: * idx - the index of the column, start from 0 * name - name of the column * key - key of the column, eg. column name defined in table * expr - the column definition in model for exampe, for query like: db.session.query(User.id, User.name.label('username')) and User.__tablename__ is 'TB_USER' the columns will be: [ { idx: 0, name: 'User.id', key: 'TB_USER.id', expr: User.id }, { idx: 1, name: 'username', key: 'TB_USER.name', expr: User.name.label('username') }, ] ''' def _make_dict(idx, c): if hasattr(c['expr'], 'element'): # is label name = c['name'] or dict(name=str(c['expr'])) key = str(c['expr'].element) if isinstance(c['expr'].element, sqlalchemy.sql.expression.Function): key = key.replace('"', '') else: if hasattr(c['expr'], '_sa_class_manager'): # is a model class key = c['expr'].__tablename__ name = c['expr'].__name__ else: name = str(c['expr']) key = c['expr'].table.name + "." + c['expr'].name # TODO need key? return dict(idx=idx, name=name, key=key, expr=c['expr']) return tuple(_make_dict(idx, c) for idx, c in enumerate(self.query.column_descriptions)) def _search_label(self, column): for c in self.columns: if c["key"] == str(column.expression) or \ c["expr"] == column: return c["name"] raise ValueError(_('There\'s no such column ' + str(column))) def _coerce_type(self, column): default = column.type.python_type return self.__TYPES__.get(default.__name__, 'text') @property def filters(self): ''' a list filters ''' filters = [] for k, v in self._filters.items(): column = get_column(k, self.columns, self.flask_report) result = { "name": v.get('name', self._search_label(column)), "col": k, "ops": v.get("operators"), 'opts': [], 'synthetic': False, } if hasattr(column, "property") and hasattr(column.property, "direction"): model = column.property.mapper.class_ pk = get_primary_key(model) def _iter_choices(column): for row in self.flask_report.db.session.query(model): yield getattr(row, pk), unicode(row) remote_side = column.property.local_remote_pairs[0][0] result["opts"] = list(_iter_choices(column)) result['type'] = v.get('type', self._coerce_type(remote_side)) else: result['type'] = v.get('type', self._coerce_type(column)) filters.append(result) for k, f in self.synthetic_filter_map.items(): filters.append({ 'name': f.name, 'col': f.name, 'ops': f.operators, 'type': f.type, 'opts': f.options, 'synthetic': True, }) return filters @property def synthetic_filter_map(self): ''' a map of synthetic (user defined) filters, keys are filters'name, values are filters ''' synthetic_filter_file = os.path.join(self.dir, 'synthetic_filters.py') ret = {} if os.path.exists(synthetic_filter_file): lib = import_file(synthetic_filter_file) for filter_ in lib.__all__: ret[filter_.name] = filter_ return ret @property def dir(self): ''' the path of the directory where data set is defined ''' return os.path.join(self.flask_report.data_set_dir, str(self.id_)) def get_current_filters(self, currents): # TODO what is this method for? def _match(to_matcher): result = to_matcher.copy() for filter in self.filters: if to_matcher["col"] == filter["col"]: result.update(filter) return result all = [] for current in currents: filter_ = _match(current) if filter_: try: filter_["val"] = int(filter_["val"]) except ValueError: pass all.append(filter_) return all
UTF-8
Python
false
false
2,014
1,606,317,771,420
988480189527d92bacd2967371c9b75aeb63a2cc
a428f3465eb1f8b038acf96b4f6bdc1d4bb9786b
/Maya_Tools/Developer/Project/BanDaiNamCo/python/checkingContents/setPivotLODs.py
59d08d31ef4a64fd99e0e9eb7069cc370f2a826f
[]
no_license
code-google-com/mayatools
https://github.com/code-google-com/mayatools
1672137562beae17803cd0ea267e0247528ba1a1
f2177440b9e5316fdc2fe4d41bf64b504cb8bab7
refs/heads/master
2020-12-24T14:57:25.711451
2014-11-06T11:46:52
2014-11-06T11:46:52
32,266,328
2
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import inspect, os, re import maya.mel as mel import pymel.core as py import pymel.core.datatypes as dt description = 'Test and fix tech specs for wheel' name = 'fixWheel' fileDirCommmon = os.path.split(inspect.getfile(inspect.currentframe()))[0].replace('\\','/') def checkWheelFileCorrect(): fileName = cmds.file(q = True, sn = True) if re.search(r'(.*)wheel(\.*)', fileName): return True else: return False def checkDimensionConstraint(): try: cmds.select('*wheel_tire*') bbox = cmds.xform(cmds.ls(ls = True)[0], q= True, bb = True) dimension = dt.Vector(bbox[3] - bbox[0], bbox[4] - bbox[1], bbox[5] - bbox[2]) if dimension.x != 0.25 or dimension.y != dimension.z != 0.72: return (False, dimension) else: return (True, dimension) except: print 'No tire object was found.' def checkPivotPosition(): lowerLods = ['lod00','lod01','lod02','lod03','lod04','lod05','lod06'] try: selMeshes = cmds.select('*lod00*') for i in selMeshes: pivotPos = cmsd.xform(i, q = True, sp = True ) except: pass def checkALL(axis): result = checkWheelFileCorrect() if result: pass if axis == 'Y': pass elif axis == 'X': pass elif axis == 'Z': pass def assignPivot(radius, thickness): pass def execute(): pass
UTF-8
Python
false
false
2,014
8,770,323,247,222
edaad034ed5fc7e4bc415d801bc052dab0fafb64
c993bb8d3161343f30726694b6a7d9511ffc960f
/ui_search.py
ac1d6afefb0608818406b8656e14662932ce2435
[]
no_license
CCCKC/WxContestLogger
https://github.com/CCCKC/WxContestLogger
858b7ca36bec0d295311ac2c1abd7fb8b13aa783
7fd06070bc443ae224a5378864df9f455f6c157b
refs/heads/master
2020-05-31T00:11:19.619361
2013-07-29T01:00:10
2013-07-29T01:00:10
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- #snagged from the WxPython Tutorial import wx from db_manager import db_manager class Example(wx.Frame): def __init__(self, parent, title): super(Example, self).__init__(parent, title=title, size=(790, 350)) self.db = db_manager() self.filter = self.db.filter() self.InitUI() self.Centre() self.Show() def InitUI(self): panel = wx.Panel(self) font = wx.SystemSettings_GetFont(wx.SYS_SYSTEM_FONT) font.SetPointSize(9) vbox = wx.BoxSizer(wx.VERTICAL) hbox1 = wx.BoxSizer(wx.HORIZONTAL) st1 = wx.StaticText(panel, label='Contact Callsign') st1.SetFont(font) hbox1.Add(st1, flag=wx.RIGHT, border=8) self.tc = wx.TextCtrl(panel) self.tc.Bind(wx.EVT_TEXT, self.OnSearchBoxUpdate) hbox1.Add(self.tc, proportion=1) vbox.Add(hbox1, flag=wx.EXPAND|wx.LEFT|wx.RIGHT|wx.TOP, border=10) vbox.Add((-1, 10)) hbox2 = wx.BoxSizer(wx.HORIZONTAL) st2 = wx.StaticText(panel, label='Matching Callsigns') st2.SetFont(font) hbox2.Add(st2) vbox.Add(hbox2, flag=wx.LEFT | wx.TOP, border=10) vbox.Add((-1, 10)) hbox3 = wx.BoxSizer(wx.HORIZONTAL) self.lc = wx.ListCtrl(panel, style=wx.BORDER_SUNKEN) self.lc.InsertColumn(0,"Callsign") hbox3.Add(self.lc, proportion=1, flag=wx.EXPAND) vbox.Add(hbox3, proportion=1, flag=wx.LEFT|wx.RIGHT|wx.EXPAND, border=10) vbox.Add((-1, 25)) hbox5 = wx.BoxSizer(wx.HORIZONTAL) self.bands = [ 'Satellite', '1.25m', '2m', '6m', '10m', '20m', '40m', '80m', '160m' ] self.bandswitches = [] for band in self.bands: cb = wx.CheckBox(panel, label=band ) cb.SetFont(font) cb.SetValue( True ) hbox5.Add(cb, flag=wx.RIGHT, border=8, proportion=1) self.bandswitches.append( cb ) vbox.Add(hbox5, flag=wx.EXPAND|wx.LEFT|wx.RIGHT|wx.TOP, border=10) vbox.Add((-1, 10)) hbox6 = wx.BoxSizer(wx.HORIZONTAL) self.modes = [ 'cw', 'digital', 'phone' ] self.modeswitches = [] for mode in self.modes: cb = wx.CheckBox(panel, label=mode) cb.SetFont(font) cb.SetValue( True ) hbox6.Add(cb, flag=wx.RIGHT, border=8) self.modeswitches.append( cb ) close_btn = wx.Button(panel, label='Close', size=(70, 30)) close_btn.Bind(wx.EVT_BUTTON, self.OnCloseButtonClicked) hbox6.Add(close_btn, flag=wx.LEFT|wx.BOTTOM, border=5) # vbox.Add(hbox15, flag=wx.EXPAND|wx.LEFT|wx.RIGHT|wx.TOP, border=10) # vbox.Add((-1, 10)) vbox.Add(hbox6, flag=wx.ALIGN_RIGHT|wx.RIGHT, border=10) panel.SetSizer(vbox) TIMER_ID = 10000 self.timer = wx.Timer(panel, TIMER_ID) self.timer.Start(10000) wx.EVT_TIMER(panel, TIMER_ID, self.OnTimer) # call the on_timer function self.DisplayView() def DisplayView(self): self.lc.DeleteAllItems() j = 0 for i in self.db.search( self.filter ): self.lc.InsertStringItem( j, i.band + ", " + i.mode + ", " + i.mycall + "->" + i.theircall ) j = j + 1 def OnSearchBoxUpdate(self,evnt): self.filter.contains = self.tc.GetValue() self.DisplayView() def OnCloseButtonClicked(self,evnt): self.timer.Stop() self.Destroy() def OnTimer(self,event): self.DisplayView() pass if __name__ == '__main__': app = wx.App() Example(None, title='WxContextLogger - Search Contacts') app.MainLoop()
UTF-8
Python
false
false
2,013
1,571,958,031,794
967038e3ca3bc66f3b57ee12250e2e1db761a2eb
99bcb9f1e0a10de94cea34a5514889c09c0230c9
/Python/test_dict.py
34d8927d0042f96385341b2b9f04c49b36548f14
[]
no_license
mvmap/mvptest
https://github.com/mvmap/mvptest
6b5f43ebf9af702df809663ec3a491993473f4aa
8a2f397d6386965ae66b3ab4d191f7a52b34b73c
refs/heads/master
2021-05-27T03:21:58.219707
2013-05-15T02:59:36
2013-05-15T02:59:36
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python #! coding: utf-8 dict = {"a" : "apple", "b" : "banana", "g" : "grape", "o" : "orange"} print dict dict["w"] = "watermelon" print dict del(dict["a"]) print dict #字典遍历 for k in dict: print "dict[%s] =" % k,dict[k] #每个元素是一个key和value组成的元组,以列表的方式输出 print dict.items() #调用items()实现字典的遍历 for (k, v) in dict.items(): print "dict[%s] =" % k, v #输出key的列表 print dict.keys() #输出value的列表 print dict.values()
UTF-8
Python
false
false
2,013
16,870,631,557,461
d570df1637b6d4da2395fd6cf3bac7176d310277
76de4fc4f00a04c8c9acc1e9e4a5fae12cf0c08a
/trunk/pyformex/plugins/fe_ast.py
6ffdd88d84c6104ce26a4efaf8facc192b45daa0
[]
no_license
BackupTheBerlios/pyformex-svn
https://github.com/BackupTheBerlios/pyformex-svn
ec2361b1b9967918be65e892217a691a6f8b145d
f5404809095711334bbb938d9d119a69ad8fc260
refs/heads/master
2020-12-24T13:20:47.422165
2011-11-15T11:52:23
2011-11-15T11:52:23
40,749,266
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env pyformex ## ## This file is part of pyFormex 0.8.5 Sun Nov 6 17:27:05 CET 2011 ## pyFormex is a tool for generating, manipulating and transforming 3D ## geometrical models by sequences of mathematical operations. ## Home page: http://pyformex.org ## Project page: https://savannah.nongnu.org/projects/pyformex/ ## Copyright (C) Benedict Verhegghe ([email protected]) ## Distributed under the GNU General Public License version 3 or later. ## ## ## This program is free software: you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation, either version 3 of the License, or ## (at your option) any later version. ## ## This program is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with this program. If not, see http://www.gnu.org/licenses/. ## """Exporting finite element models in code Aster file formats (.mail and .comm). """ from plugins.fe_abq import fmtData from plugins.properties import * from plugins.fe import * from mydict import Dict,CDict import pyformex as pf from datetime import datetime import os,sys def astInputNames(job,extension='mail'): """Returns corresponding Code Aster input filename. job should be a jobname, with or without directory part, but without extension The extension can be mail or comm. The jobname is the basename without the extension and the directory part. The filename is the abspath of the job with extension. """ jobname = os.path.basename(job) filename = os.path.abspath(job) if extension in ['mail','comm']: filename += '.%s' % extension else: raise ValueError,"Extension should be mail or comm" return jobname,filename def nsetName(p): """Determine the name for writing a node set property.""" if p.name is None: return 'Nall' else: return p.name def esetName(p): """Determine the name for writing an element set property.""" if p.name is None: return 'Eall' else: return p.name def writeNodes(fil,nodes,type,name=None): """Write nodal coordinates. Type can be 2D or 3D. """ if not type in ['2D','3D']: raise ValueError,"Type should be 2D or 3D" out = 'COOR_%s' % type if name is not None: out += ' nom = %s' % name fil.write('%s\n'% out) if type == '2D': nodes = nodes[:,:2] nn = nodes.shape[1] fmt = 'N%d' + nn*' %14.6e' + '\n' for i,n in enumerate(nodes): fil.write(fmt % ((i,)+tuple(n))) fil.write('FINSF\n') fil.write('%\n') def writeElems(fil,elems,type,name=None,eid=None,eofs=0,nofs=0): """Write element group of given type. elems is the list with the element node numbers. The elements are added to the named element set. The eofs and nofs specify offsets for element and node numbers. If eid is specified, it contains the element numbers increased with eofs. """ out = type if name is not None: out += ' nom = %s' % name fil.write('%s\n'% out) nn = elems.shape[1] if nn < 5: fmt = 'M%d' + nn*' N%d' + '\n' else: fl = nn/4 fmt = 'M%d' + fl*(4*' N%d' + '\n') if nn%4 != 0: fmt += (nn%4)*' N%d' + '\n' if eid is None: eid = arange(elems.shape[0]) else: eid = asarray(eid) for i,e in zip(eid+eofs,elems+nofs): fil.write(fmt % ((i,)+tuple(e))) fil.write('FINSF\n') fil.write('%\n') def writeSet(fil,type,name,set): """Write a named set of nodes or elements (type=NSET|ELSET) `set` is a list of node/element numbers, in which case the `ofs` value will be added to them. """ if type == 'NSET': fil.write('GROUP_NO nom = %s\n' % name) cap = 'N' elif type == 'ELSET': fil.write('GROUP_MA nom = %s\n' % name) cap = 'M' else: raise ValueError,"Type should be NSET or ELSET" for i in set: fil.write('%s%d\n' % (cap,i)) fil.write('FINSF\n') fil.write('%\n') def fmtHeadingMesh(text=''): """Format the heading of the Code Aster mesh file (.mail).""" out = """TITRE Code Aster mail file created by %s (%s) %s FINSF """ % (pf.Version,pf.Url,text) return out def fmtHeadingComm(text=''): """Format the heading of the Code Aster command file (.comm).""" out = """# # Code Aster command file created by %s (%s) # %s """ % (pf.Version,pf.Url,text) return out def fmtEquation(prop): """Format multi-point constraint using an equation Required: - name - equation Optional: - coefficient Equation should be a list, which contains the different terms of the equation. Each term is again a list with three values: - First value: node number - Second value: degree of freedom - Third value: multiplication coefficient of the term The sum of the different terms should be equal to the coefficient. If this coefficient is not specified, the sum of the terms should be equal to zero. Example: P.nodeProp(equation=[[209,1,1],[32,1,-1]]) In this case, the displacement in Y-direction of node 209 and 32 should be equal. """ dof = ['DX','DY','DZ'] out = 'link = AFFE_CHAR_MECA(\n' out += ' MODELE=Model,\n' out += ' LIAISON_DDL=(\n' for i,p in enumerate(prop): l1 = ' _F(NOEUD=(' l2 = ' DDL=(' l3 = ' COEF_MULT=(' for j in p.equation: l1 += '\'N%s\',' % j[0] l2 += '\'%s\',' % dof[j[1]] l3 += '%s,' % j[2] out += l1 + '),\n' + l2 + '),\n' + l3 + '),\n' coef = 0 if p.coefficient is not None: coef = p.coefficient out += ' COEF_IMPO=%s,),\n' % coef out += ' ),\n' out += ' );\n\n' return out def fmtDisplacements(prop): """Format nodal boundary conditions Required: - set - name - displ Displ should be a list of tuples (dofid,value) Set can be a list of node numbers, or a set name (string). Example 1: P.nodeProp(set='bottom',bound=[(0,0),(1,0),(2,0)]) Example 2: P.nodeProp(name='rot',set=[2],bound=[(3,30)]) In the first example, the displacements of the nodes in the set 'bottom' are zero. In the second example, a rotation is imposed around the X-axis on node number 2. """ dof = ['DX','DY','DZ','DRX','DRY','DRZ'] out = '' for i,p in enumerate(prop): out += 'displ%s = AFFE_CHAR_MECA(\n' % i out += ' MODELE=Model,\n' out += ' DDL_IMPO=\n' out += ' _F(GROUP_NO=(\'%s\'),\n' % p.name.upper() for j in p.displ: out += ' %s=%s,\n' % (dof[j[0]],j[1]) out += ' ),\n' out += ' );\n\n' return out def fmtLocalDisplacements(prop): """Format nodal boundary conditions in a local coordinate system Required: - name - displ - local Displ should be a list of tuples (dofid,value) Local is an angle, specified in degrees (SHOULD BE EXTENDED TO THREE ANGLES!!!) The local cartesian coordinate system is obtained by rotating the global coordinate system around the Z-axis over the specified angle. Set can be a list of node numbers, or a set name (string). """ dof = ['DX','DY','DZ','DRX','DRY','DRZ'] out = 'locDispl = AFFE_CHAR_MECA(\n' out += ' MODELE=Model,\n' out += ' LIAISON_OBLIQUE=(\n' for i,p in enumerate(prop): for j in p.displ: out += ' _F(GROUP_NO=(\'%s\'),\n' % p.name.upper() out += ' ANGL_NAUT=%s,\n' % p.local out += ' %s=%s),\n' % (dof[j[0]],j[1]) out += ' ),\n' out += ' );\n\n' return out materialswritten=[] def fmtMaterial(mat): """Write a material section. """ if mat.name is None or mat.name in materialswritten: return "" out = '%s = DEFI_MATERIAU(\n' % mat.name materialswritten.append(mat.name) print materialswritten if mat.elasticity is None or mat.elasticity == 'linear': if mat.poisson_ratio is None and mat.shear_modulus is not None: mat.poisson_ratio = 0.5 * mat.young_modulus / mat.shear_modulus - 1.0 out += ' ELAS=_F(E=%s,NU=%s),\n' % (float(mat.young_modulus),float(mat.poisson_ratio)) if mat.plastic is not None: mat.plastic = asarray(mat.plastic) if mat.plastic.ndim != 2: raise ValueError,"Plastic data should be 2-dim array" out1 = 'SIGMF=DEFI_FONCTION(\n' out1 += ' NOM_PARA=\'EPSI\',\n' out1 += ' VALE=(\n' for i in mat.plastic: out1 += ' %s,%s,\n' % (i[0],i[1]) out1 += ' ),\n' out1 += ' );\n\n' out += ' TRACTION=_F(SIGM=SIGMF,),\n' out = out1 + out out += ' );\n\n' return out solid3d_elems = [ 'HEXA8',] def fmtSections(prop): """Write element sections. prop is a an element property record with a section and eltype attribute """ out1 = 'Model=AFFE_MODELE(\n' out1 += ' MAILLAGE=Mesh,\n' out1 += ' AFFE=(\n' out2 = '' out3 = 'Mat=AFFE_MATERIAU(\n' out3 += ' MODELE=Model,\n' out3 += ' MAILLAGE=Mesh,\n' out3 += ' AFFE=(\n' for p in prop: setname = esetName(p) el = p.section eltype = p.eltype.upper() mat = el.material out1 += ' _F(GROUP_MA=\'%s\',\n' % setname.upper() out1 += ' PHENOMENE=\'MECANIQUE\',\n' out3 += ' _F(GROUP_MA=\'%s\',\n' % setname.upper() if mat is not None: out2 += fmtMaterial(mat) ############ ## 3DSOLID elements ########################## if eltype in solid3d_elems: if el.sectiontype.upper() == '3DSOLID': out1 += ' MODELISATION=\'3D\'),\n' out3 += ' MATER=%s),\n' % mat.name out1 += ' ),\n' out1 += ' );\n\n' out3 += ' ),\n' out3 += ' );\n\n' return out1 + out2 + out3 class AstData(object): """Contains all data required to write the Code Aster mesh (.mail) and command (.comm) files. - `model` : a :class:`Model` instance. - `prop` : the `Property` database. - `steps` : a list of `Step` instances. - `res` : a list of `Result` instances. - `out` : a list of `Output` instances. - `bound` : a tag or alist of the initial boundary conditions. The default is to apply ALL boundary conditions initially. Specify a (possibly non-existing) tag to override the default. """ def __init__(self,model,prop,nprop=None,eprop=None,steps=[],res=[],out=[],bound=None,type='3D'): """Create new AstData.""" if not isinstance(model,Model) or not isinstance(prop,PropertyDB): raise ValueError,"Invalid arguments: expected Model and PropertyDB, got %s and %s" % (type(model),type(prop)) self.model = model self.prop = prop self.nprop = nprop self.eprop = eprop self.bound = bound self.steps = steps self.res = res self.out = out self.type = type def writeMesh(self,jobname=None,header=''): """Write a Code Aster mesh file (.mail). """ # Create the Code Aster mesh file if jobname is None: jobname,filename = 'Test',None fil = sys.stdout else: jobname,filename = astInputNames(jobname,extension='mail') fil = file(filename,'w') pf.message("Writing mesh to file %s" % (filename)) fil.write(fmtHeadingMesh("""Model: %s Date: %s Created by pyFormex Script: %s %s """ % (jobname, datetime.now(), pf.scriptName, header))) # write coords nnod = self.model.nnodes() pf.message("Writing %s nodes" % nnod) writeNodes(fil,self.model.coords,self.type) # write elements pf.message("Writing elements and element sets") telems = self.model.celems[-1] nelems = 0 for p in self.prop.getProp('e'): if p.set is not None: # element set is directly specified set = p.set elif p.prop is not None: # element set is specified by eprop nrs if self.eprop is None: raise ValueError,"elemProp has a 'prop' field but no 'eprop' was specified" set = where(self.eprop == p.prop)[0] else: # default is all elements set = range(telems) setname = esetName(p) if p.has_key('eltype'): print('Writing elements of type %s: %s' % (p.eltype,set)) gl,gr = self.model.splitElems(set) elems = self.model.getElems(gr) elnrs = array([]).astype(int) els = array([]).astype(int) for i in elems: nels = len(i) if nels > 0: els = append(els,i).reshape(-1,i.shape[1]) nelems += nels writeElems(fil,els,p.eltype,name=setname,eid=set) pf.message("Writing element sets") writeSet(fil,'ELSET',setname,set) pf.message("Total number of elements: %s" % telems) if nelems != telems: pf.message("!! Number of elements written: %s !!" % nelems) # write node sets pf.message("Writing node sets") for p in self.prop.getProp('n',attr=['set']): if p.set is not None: # set is directly specified set = p.set elif p.prop is not None: # set is specified by nprop nrs if self.nprop is None: raise ValueError,"nodeProp has a 'prop' field but no 'nprop' was specified" set = where(self.nprop == p.prop)[0] else: # default is all nodes set = range(self.model.nnodes()) setname = nsetName(p) writeSet(fil,'NSET',setname,set) ## # write element sets ## pf.message("Writing element sets") ## for p in self.prop.getProp('e',noattr=['eltype']): ## if p.set is not None: ## # element set is directly specified ## set = p.set ## elif p.prop is not None: ## # element set is specified by eprop nrs ## if self.eprop is None: ## raise ValueError,"elemProp has a 'prop' field but no 'eprop' was specified" ## set = where(self.eprop == p.prop)[0] ## else: ## # default is all elements ## set = range(telems) ## setname = esetName(p) ## writeSet(fil,'ELSET',setname,set) fil.write('FIN') if filename is not None: fil.close() pf.message("Wrote Code Aster mesh file (.mail) %s" % filename) def writeComm(self,jobname=None,header=''): global materialswritten materialswritten = [] # Create the Code Aster command file if jobname is None: jobname,filename = 'Test',None fil = sys.stdout else: jobname,filename = astInputNames(jobname,extension='comm') fil = file(filename,'w') pf.message("Writing command to file %s" % (filename)) fil.write(fmtHeadingComm("""Model: %s Date: %s Created by pyFormex # Script: %s # %s # """ % (jobname, datetime.now(), pf.scriptName, header))) fil.write('DEBUT();\n\n') fil.write('Mesh=LIRE_MAILLAGE(INFO=2,);\n\n') prop = self.prop.getProp('e',attr=['section','eltype']) if prop: pf.message("Writing element sections") fil.write(fmtSections(prop)) prop = self.prop.getProp('n',attr=['displ'],noattr=['local']) if prop: pf.message("Writing displacement boundary conditions") fil.write(fmtDisplacements(prop)) prop = self.prop.getProp('n',attr=['local']) if prop: pf.message("Writing local displacement boundary conditions") fil.write(fmtLocalDisplacements(prop)) prop = self.prop.getProp('n',attr=['equation']) if prop: pf.message("Writing constraint equations") fil.write(fmtEquation(prop)) fil.write('FIN();\n') if filename is not None: fil.close() pf.message("Wrote Code Aster command file (.comm) %s" % filename) # End
UTF-8
Python
false
false
2,011
10,153,302,707,876
eea73743a272f1f879e2fec531ac4e255e9706c8
2b65ea4d49ea321bdcf40b7202c1382ce98ff46f
/report.py
f2b63414683caf0f7b475c9d1e6f7c8168216ed4
[]
no_license
bgnori/activity-report
https://github.com/bgnori/activity-report
572d6a76c0c3e1a452a998ae6c08603c213fed02
b99f419a610d5bbd9b34e9da51bba0072561f023
refs/heads/master
2020-05-18T06:49:15.771735
2013-01-11T02:11:14
2013-01-11T02:11:14
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from reportlab.pdfgen import canvas from reportlab.lib.pagesizes import A4 from reportlab.lib.units import mm from reportlab.lib.styles import getSampleStyleSheet from reportlab.lib.styles import ParagraphStyle from reportlab.rl_config import defaultPageSize from reportlab.lib import colors from reportlab.platypus import SimpleDocTemplate, Paragraph, Spacer from reportlab.platypus import PageTemplate from reportlab.platypus import Table from config import config PAGE_HEIGHT = defaultPageSize[1] PAGE_WIGTH = defaultPageSize[0] styles = getSampleStyleSheet() Title = "Hello Template" pageinfo = "platypus example" from reportlab.pdfbase import pdfmetrics from reportlab.pdfbase.ttfonts import TTFont pdfmetrics.registerFont( TTFont(config['font']['name'], config['font']['path'])) styles['Normal'].fontName = config['font']['name'] styles.add(ParagraphStyle(name='TableCell', parent=styles['Normal'], fontSize=8,)) DAYS = ('Sun', 'Mon', 'Thu', 'Wed', 'Tue', 'Fri', 'Sat') DAYS_JP = tuple(u'日月火水木金土') from datetime import date from datetime import time from datetime import datetime from datetime import timedelta def srcmock(start, d, h): return "%s"%(datetime.combine(start, time()) + d + h) def week(start, src): assert isinstance(start, date) hours = [timedelta(hours=x) for x in range(5, 29)] cellstyle = styles['TableCell'] corner = ['hour/day'] col_headers = DAYS_JP rows_headers = corner + hours xs = [] for i, _ in enumerate(col_headers): d = timedelta(days=i) x = ["%s"%(start+d,)] + [Paragraph(src(start, d, h), cellstyle) for h in hours] xs.append(x) data = [rows_headers] + xs t = Table(zip(*data), colWidths=25*mm, rowHeights=9*mm) t.setStyle([ ('FONT', (0,0), (-1,-1), config['font']['name']), ('FONTSIZE', (0,0), (-1,-1), 8), ('GRID', (0,0), (-1, -1), 0.5, colors.black), ('TEXTCOLOR', (1,0), (1,0), colors.red), ('TEXTCOLOR', (7,0), (7,0), colors.blue)]) return t def build(fname, start, src): doc = SimpleDocTemplate(fname, pagesize=A4) content = [Spacer(1, 5*mm)] style = styles["Normal"] content.append(week(start, src)) content.append(Spacer(1, 5*mm)) doc.build(content) if __name__ == "__main__": build(config['report']['test'],date.today(), srcmock)
UTF-8
Python
false
false
2,013
19,164,144,077,099
e168d669c56b675bf3c5d84ebeb68f117d1434d4
5985c08e7ec8f1f14d285cb2004e65625915805a
/bowling.py
dcb99643703d673ad04f57281eac21ca304842b6
[]
no_license
kebarr/bowling2
https://github.com/kebarr/bowling2
90475a12406fa72cb3143bf69aabe3be6d37a14d
148c57f67cd776c14ecadbedf5a8992e51972f42
refs/heads/master
2016-09-05T10:26:05.341412
2014-04-24T21:07:06
2014-04-24T21:07:06
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# use strategy james suggested: have scorecard as input then return it. # to start with, have 1d list # actually to pass gutter game, do bare minimum def roll_ball(frame, pins): if pins != 10: return frame.append(pins) elif len(frame) != 19 and len(frame) != 18: frame.append(pins) return frame.append(0) else: frame.append(pins) # strike is next 2 pin falls, not possible rolls! def score(frame): # score for spares, check pairs score = 0 print frame, len(frame) for i in range(len(frame)): score += frame[i] if i%2 == 0 and i + 3 < len(frame): if frame[i] + frame[i + 1] == 10: if frame[i + 1] != 0: score += frame[i + 2] # else its a strike elif frame[i + 2] != 10: score += frame[i + 2] score += frame[i + 3] else: score += frame[i + 2] score += frame[i + 4] return score
UTF-8
Python
false
false
2,014
979,252,585,537
c419acf1d38452f758c91c989ea01a15937abf18
b18e888f504b36b573897191e35515f948836f91
/shoshi/__init__.py
a3e2164f4eb54ed521444284ec4ba0de6fe53289
[ "MIT" ]
permissive
seikichi/shoshi
https://github.com/seikichi/shoshi
54334895dbd89c69394c6275cb804704f1259116
fc9a3c6afc5c5c80d542268f4fdff6fff27cd25e
refs/heads/master
2021-01-23T03:48:07.477633
2014-03-06T04:47:37
2014-03-06T04:47:37
17,096,932
7
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- __title__ = 'shoshi' __version__ = '0.1.0' __author__ = 'Seikichi KONDO' __license__ = 'MIT' __copyright__ = 'Copyright 2014 Seikichi KONDO' from . import shoshi metadata_from_isbn = shoshi.metadata_from_isbn metadata_from_ean = shoshi.metadata_from_ean metadata_from_jpno = shoshi.metadata_from_jpno
UTF-8
Python
false
false
2,014
16,200,616,686,743
5f960a264e575b8421fd25b20cd6eaa039d598ea
a3bbc904f8750f0f21acfa36d69b0e14cfa00cf0
/src/TUF/src/tuf/repo/signercli.py
22e63d32ff1f103461cb302dc958c7b8b7ab1a37
[ "MIT" ]
permissive
monzum/tuf-legacy
https://github.com/monzum/tuf-legacy
665e934c6653834e222133283ee145bb3e00f9b3
b7e622db45a141cced673334c0486c91b885e47e
refs/heads/master
2021-01-18T21:27:41.087516
2012-12-11T10:36:30
2012-12-11T10:36:30
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
""" <Program Name> signercli.py <Author> Vladimir Diaz <[email protected]> <Started> April 5, 2012. Based on a previous version of this module by Geremy Condra. <Copyright> See LICENSE for licensing information. <Purpose> Provide an interactive command-line interface to create and sign metadata. This script can be used to create all of the top-level role files required by TUF, which include 'root.txt', 'targets.txt', 'release.txt', and 'timestamp.txt'. It also provides options to generate RSA keys, change the encryption/decryption keys of encrypted key files, list the keyids of the signing keys stored in a keystore directory, create delegated roles, and dump the contents of signing keys (i.e., public and private keys, key type, etc.) This module can be best understood if read starting with the parse_option() call in __main__. All of the options accept a single keystore directory argument. Beyond this point, the script is interactive. If any additional arguments is required, the user will be asked to input these values. The script will process one command-line option and raise an error for any other other options that might be supplied. Initially, the 'quickstart.py' script is utilized when the repository is first created. 'signercli.py' would then be executed to update the state of the repository. For example, the repository owner wants to change the 'targets.txt' signing key. The owner would run 'signercli.py' to generate a new RSA key, add the new key to the configuration file created by 'quickstart.py', and then run 'signercli' to update the metadata files. <Usage> $ python signercli.py --<option> <keystore_directory> Examples: S python signercli.py --genrsakey ./keystore $ python signercli.py --changepass ./keystore <Options> See the parse_options() function for the full list of supported options. """ import os import optparse import getpass import sys import logging import tuf import tuf.repo.signerlib import tuf.repo.keystore import tuf.util import tuf.log json = tuf.util.import_json() # See 'log.py' to learn how logging is handled in TUF. logger = logging.getLogger('tuf.signercli') # The maximum number of attempts the user has to enter # valid input. MAX_INPUT_ATTEMPTS = 3 def _check_directory(directory): try: directory = tuf.repo.signerlib.check_directory(directory) except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) return directory def _get_password(prompt='Password: ', confirm=False): """ Return the password entered by the user. If 'confirm' is True, the user is asked to enter the previously entered password once again. If they match, the password is returned to the caller. """ while True: password = getpass.getpass(prompt, sys.stderr) if not confirm: return password password2 = getpass.getpass('Confirm: ', sys.stderr) if password == password2: return password else: print 'Mismatch; try again.' def _prompt(message, result_type=str): """ Prompt the user for input by printing 'message', converting the input to 'result_type', and returning the value to the caller. """ return result_type(raw_input(message)) def _get_metadata_directory(): """ Get the metadata directory from the user. The user is asked to enter the directory, and if validated, is returned to the caller. 'tuf.FormatError' is raised if the directory is not properly formatted, and 'tuf.Error' if it does not exist. """ metadata_directory = _prompt('\nEnter the metadata directory: ', str) # Raises 'tuf.FormatError' or 'tuf.Error'. metadata_directory = _check_directory(metadata_directory) return metadata_directory def _list_keyids(keystore_directory): """ List the key files found in 'keystore_directory'. It is assumed the directory exists and has been validated by the caller. The keyids are listed without the '.key' extension. """ # Extract the key files ending in a '.key' extension. key_paths = [] for filename in os.listdir(keystore_directory): full_path = os.path.join(keystore_directory, filename) if filename.endswith('.key') and not os.path.isdir(full_path): key_paths.append(filename) # Print the keys without the '.key' extension. print '\nListing the keyids in '+repr(keystore_directory) for keyid in key_paths: print keyid[0:keyid.rfind('.key')] def _get_keyids(keystore_directory): """ Load the keyids in 'keystore_directory'. The keystore database is populated with the keyids that are found and successfully loaded. A list containing the keyids of the loaded keys is returned to the caller. Since the key files are stored in encrypted form, the user is asked to enter the password that was used to encrypt the key file. """ # The keyids list containing the keys loaded. loaded_keyids = [] # Save the 'load_keystore_from_keyfiles' function call. load_key = tuf.repo.keystore.load_keystore_from_keyfiles # Ask the user for the keyid and password. Next, try to load specified # keyid/password combination. If loaded, append the loaded key's keyid # to 'loaded_keyids'. Loop the steps above or exit when the user enters # 'quit'. while True: keyid_prompt = '\nEnter the keyid or "quit" when done: ' keyid = _prompt(keyid_prompt, str) if keyid.lower() == 'quit': break # Get the password from the user so we can decrypt the key file. password = _get_password('\nEnter the keyid\'s password: ') # Try to load the keyfile with the keyid and password credentials. loaded_keyid = load_key(keystore_directory, [keyid], [password]) # Was 'keyid' loaded? if keyid not in loaded_keyid: logger.error('Could not load keyid: '+keyid) continue # Append 'keyid' to the loaded list of keyids. loaded_keyids.append(loaded_keyid[0]) return loaded_keyids def _get_all_config_keyids(config_filepath, keystore_directory): """ Retrieve the contents of the config file and load the keys for the top-level roles. After this function returns successfully, all the required roles are loaded in the keystore. The arguments should be absolute paths. <Exceptions> tuf.Error, if the required top-level keys could not be loaded. <Returns> A dictionary containing the keyids for the top-level roles. loaded_keyids = {'root': [1233d3d, 598djdks, ..], 'release': [sdfsd323, sdsd9090s, ..] ...} """ # Save the 'load_keystore_from_keyfiles' function call. load_key = tuf.repo.keystore.load_keystore_from_keyfiles # 'tuf.Error' raised if the configuration file cannot be read. config_dict = tuf.repo.signerlib.read_config_file(config_filepath) loaded_keyids = {} # Extract the sections from the config file. We are only # interested in role sections. for key, value in config_dict.items(): if key in ['root', 'targets', 'release', 'timestamp']: # Try to load the keyids for each role. loaded_keyids[key] = [] for keyid in value['keyids']: for attempt in range(MAX_INPUT_ATTEMPTS): message = '\nEnter the password for the '+key+' role ('+keyid+'): ' password = _get_password(message) loaded_key = load_key(keystore_directory, [keyid], [password]) if not loaded_key or keyid not in loaded_key: logger.error('Could not load keyid: '+keyid) continue loaded_keyids[key].append(keyid) break if keyid not in loaded_keyids[key]: raise tuf.Error('Could not load a required top-level role key') # Ensure we loaded keys for the required top-level roles. for key in ['root', 'targets', 'release', 'timestamp']: if key not in loaded_keyids: message = 'The configuration file did not contain the required roles' raise tuf.Error(message) return loaded_keyids def _get_role_config_keyids(config_filepath, keystore_directory, role): """ Retrieve and load the key(s) for 'role', as listed in the keyids found in 'config_filepath'. 'config_filepath' and 'keystore_directory' should be absolute paths. <Exceptions> tuf.Error, if the required keys could not be loaded. """ # Save the 'load_keystore_from_keyfiles' function call. load_key = tuf.repo.keystore.load_keystore_from_keyfiles # 'tuf.Error' raised if the configuration file cannot be read. config_dict = tuf.repo.signerlib.read_config_file(config_filepath) role_keyids = [] # Extract the sections from the config file. We are only interested # in the 'role' section. for key, value in config_dict.items(): if key == role: for keyid in value['keyids']: for attempt in range(MAX_INPUT_ATTEMPTS): message = '\nEnter the password for the '+key+' role ('+keyid+'): ' password = _get_password(message) loaded_key = load_key(keystore_directory, [keyid], [password]) if not loaded_key or keyid not in loaded_key: print 'Could not load keyid: '+keyid logger.error('Could not load keyid: '+keyid) continue role_keyids.append(keyid) break # Ensure we loaded all the keyids. for keyid in value['keyids']: if keyid not in role_keyids: raise tuf.Error('Could not load a required role key') if not role_keyids: raise tuf.Error('Could not load the required keys for '+role) return role_keyids def _sign_and_write_metadata(metadata, keyids, filename): """ Sign 'metadata' and write it to 'filename' (an absolute path), overwriting the original file if it exists. If any of the keyids have already signed the file, the old signatures of those keyids will be replaced. <Exceptions> tuf.FormatError, if any of the arguments are incorrectly formatted. tuf.Error, if an error is encountered. """ # Sign the metadata object. The 'signable' object contains the keyids # used in the signing process, including the signatures generated. signable = tuf.repo.signerlib.sign_metadata(metadata, keyids, filename) # Write the 'signable' object to 'filename'. The 'filename' file is # the final metadata file, such as 'root.txt' and 'targets.txt'. tuf.repo.signerlib.write_metadata_file(signable, filename) def change_password(keystore_directory): """ <Purpose> Change the password for the signing key specified by the user. All the values required by the user will be interactively retrieved by this function. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The key file specified by the user is modified, including the encryption key. <Returns> None. """ # Save the 'load_keystore_from_keyfiles' function call. load_key = tuf.repo.keystore.load_keystore_from_keyfiles # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # List the keyids in the keystore and prompt the user for the keyid they # wish to modify. _list_keyids(keystore_directory) # Retrieve the keyid from the user. message = '\nEnter the keyid for the password you wish to change: ' keyid = _prompt(message, str) # Get the old password from the user. old_password_prompt = '\nEnter the old password for the keyid: ' old_password = _get_password(old_password_prompt) # Try to load the keyfile loaded_keys = load_key(keystore_directory, [keyid], [old_password]) # Was 'keyid' loaded? if keyid not in loaded_keys: message = 'Could not load keyid: '+keyid+'\n' raise tuf.RepositoryError(message) # Retrieve the new password. new_password = _get_password('\nNew password: ', confirm=True) # Now that we have all the required information, try to change the password. try: tuf.repo.keystore.change_password(keyid, old_password, new_password) except (tuf.BadPasswordError, tuf.UnknownKeyError), e: message = str(e)+'\n' raise tuf.RepositoryError(message) # Save the changes. tuf.repo.keystore.save_keystore_to_keyfiles(keystore_directory) def generate_rsa_key(keystore_directory): """ <Purpose> Generate an RSA key and save it to the keystore directory. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> An RSA key will be generated and added to tuf.repo.keystore. The RSA key will be saved to the keystore directory specified on the command-line. <Returns> None. """ # Save a reference to the generate_and_save_rsa_key() function. save_rsa_key = tuf.repo.signerlib.generate_and_save_rsa_key # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # Retrieve the number of bits for the RSA key from the user. rsa_key_bits = _prompt('\nEnter the number of bits for the RSA key: ', int) # Retrieve the password used to encrypt/decrypt the key file from the user. message = '\nEnter a password to encrypt the generated RSA key: ' password = _get_password(message, confirm=True) # Generate the RSA key and save it to 'keystore_directory'. try: save_rsa_key(keystore_directory=keystore_directory, password=password, bits=rsa_key_bits) except (tuf.FormatError, tuf.CryptoError), e: message = 'The RSA key could not be generated. '+str(e)+'\n' raise tuf.RepositoryError(message) def list_signing_keys(keystore_directory): """ <Purpose> Print the key IDs of the signing keys listed in the keystore directory. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> None. <Returns> None. """ # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) _list_keyids(keystore_directory) def dump_key(keystore_directory): """ <Purpose> Dump the contents of the signing key specified by the user. This dumped information includes the keytype, signing method, the public key, and the private key (if requested by the user). <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The contents of encrypted key files are extracted and printed. <Returns> None. """ # Save the 'load_keystore_from_keyfiles' function call. load_key = tuf.repo.keystore.load_keystore_from_keyfiles # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # List the keyids found in 'keystore_directory', minus the '.key' extension. _list_keyids(keystore_directory) # Retrieve the keyid and password from the user. message = '\nEnter the keyid for the signing key you wish to dump: ' keyid = _prompt(message, str) password = _get_password('\nEnter the password for the keyid: ') print print keyid print password # Try to load the keyfile loaded_keys = load_key(keystore_directory, [keyid], [password]) # Was 'keyid' loaded? if keyid not in loaded_keys: message = 'Could not load keyid: '+keyid+'\n' raise tuf.RepositoryError(message) # Get the key object. key = tuf.repo.keystore.get_key(keyid) # Ask the user if they would like to print the private key as well. show_private = False prompt = 'Should the private key be printed as well?' \ ' (if yes, enter \'private\'): ' print '\n*WARNING* Printing the private key reveals' \ ' sensitive information *WARNING*' input = _prompt(prompt, str) if input.lower() == 'private': show_private = True # Retrieve the key metadata according to the keytype. if key['keytype'] == 'rsa': key_metadata = tuf.rsa_key.create_in_metadata_format(key['keyval'], private=show_private) else: message = 'The keystore contains an invalid key type.' raise tuf.RepositoryError(message) # Print the contents of the key metadata. print json.dumps(key_metadata, indent=2, sort_keys=True) def make_root_metadata(keystore_directory): """ <Purpose> Create the 'root.txt' file. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The contents of an existing root metadata file is overwritten. <Returns> None. """ # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # Get the metadata directory and the metadata filenames. try: metadata_directory = _get_metadata_directory() except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) filenames = tuf.repo.signerlib.get_metadata_filenames(metadata_directory) # Get the configuration file. config_filepath = _prompt('\nEnter the configuration file path: ', str) config_filepath = os.path.abspath(config_filepath) # Load the keys for the top-level roles. try: loaded_keyids = _get_all_config_keyids(config_filepath, keystore_directory) except (tuf.Error, tuf.FormatError), e: message = str(e)+'\n' raise tuf.RepositoryError(message) root_keyids = loaded_keyids['root'] # Generate the root metadata and write it to 'root.txt'. try: tuf.repo.signerlib.build_root_file(config_filepath, root_keyids, metadata_directory) except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) def make_targets_metadata(keystore_directory): """ <Purpose> Create the 'targets.txt' metadata file. The targets must exist at the same path they should on the repository. This takes a list of targets. We're not worrying about custom metadata at the moment. It's allowed to not provide keys. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The contents of an existing targets metadata file is overwritten. <Returns> None. """ # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # Retrieve the target files. prompt_targets = '\nEnter the directory containing the target files: ' target_directory = _prompt(prompt_targets, str) # Verify 'target_directory'. target_directory = _check_directory(target_directory) # Retrieve the metadata directory and the 'targets' filename. try: metadata_directory = _get_metadata_directory() except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) # Get the configuration file. config_filepath = _prompt('\nEnter the configuration file path: ', str) config_filepath = os.path.abspath(config_filepath) try: # Retrieve and load the 'targets' signing keys. targets_keyids = _get_role_config_keyids(config_filepath, keystore_directory, 'targets') except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) try: # Create, sign, and write the "targets.txt" file. tuf.repo.signerlib.build_targets_file(target_directory, targets_keyids, metadata_directory) except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) def make_release_metadata(keystore_directory): """ <Purpose> Create the release metadata file. The minimum metadata must exist. This is root.txt and targets.txt. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The contents of an existing release metadata file is overwritten. <Returns> None. """ # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # Retrieve the metadata directory and the release filename. try: metadata_directory = _get_metadata_directory() except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) filenames = tuf.repo.signerlib.get_metadata_filenames(metadata_directory) release_filename = filenames['release'] # Get the configuration file. config_filepath = _prompt('\nEnter the configuration file path: ', str) config_filepath = os.path.abspath(config_filepath) # Retrieve and load the 'release' signing keys. try: release_keyids = _get_role_config_keyids(config_filepath, keystore_directory, 'release') # Generate the root metadata and write it to 'release.txt' tuf.repo.signerlib.build_release_file(release_keyids, metadata_directory) except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) def make_timestamp_metadata(keystore_directory): """ <Purpose> Create the timestamp metadata file. The 'release.txt' file must exist. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The contents of an existing timestamp metadata file is overwritten. <Returns> None. """ # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # Retrieve the metadata directory and the timestamp filename. try: metadata_directory = _get_metadata_directory() except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) filenames = tuf.repo.signerlib.get_metadata_filenames(metadata_directory) timestamp_filename = filenames['timestamp'] # Get the configuration file. config_filepath = _prompt('\nEnter the configuration file path: ', str) config_filepath = os.path.abspath(config_filepath) # Retrieve and load the 'timestamp' signing keys. try: timestamp_keyids = _get_role_config_keyids(config_filepath, keystore_directory, 'timestamp') # Generate the root metadata and write it to 'timestamp.txt' tuf.repo.signerlib.build_timestamp_file(timestamp_keyids, metadata_directory) except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) def sign_metadata_file(keystore_directory): """ <Purpose> Sign the metadata file specified by the user. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The contents of an existing metadata file is overwritten. <Returns> None. """ # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # List the keyids available in the keystore. _list_keyids(keystore_directory) # Retrieve the keyids of the signing keys from the user. print '\nThe keyids that will sign the metadata file must be loaded.' loaded_keyids = _get_keyids(keystore_directory) if len(loaded_keyids) == 0: message = 'No keyids were loaded\n' raise tuf.RepositoryError(message) # Retrieve the metadata file the user intends to sign. metadata_filename = _prompt('\nEnter the metadata filename: ', str) metadata_filename = os.path.abspath(metadata_filename) if not os.path.isfile(metadata_filename): message = repr(metadata_filename)+' is an invalid file.\n' raise tuf.RepositoryError(message) # Create, sign, and write the metadata file. metadata = tuf.repo.signerlib.read_metadata_file(metadata_filename) _sign_and_write_metadata(metadata, loaded_keyids, metadata_filename) def make_delegation(keystore_directory): """ <Purpose> Create a delegation by updating the 'delegations' field of 'targets.txt' and creating the delegated role's metadata file. The user specifies the delegated role's name and target files. The 'targets.txt' file must exist. <Arguments> keystore_directory: The directory containing the signing keys (i.e., key files ending in '.key'). <Exceptions> tuf.RepositoryError, if an an error occurred while updating the repository. <Side Effects> The targets metadata file is modified. The 'delegations' field of 'targets.txt' is added. <Returns> None. """ # Verify the 'keystore_directory' argument. keystore_directory = _check_directory(keystore_directory) # Get the metadata directory. try: metadata_directory = _get_metadata_directory() except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) # Get the delegated role's target directory, which should be located within # the repository's targets directory. We need this directory to generate the # delegated role's target paths. prompt = '\nNOTE: The directory entered below should be located within the '+\ 'repository\'s targets directory.\nEnter the directory containing the '+\ 'delegated role\'s target files: ' delegated_targets_directory = _prompt(prompt, str) # Verify 'delegated_targets_directory'. try: tuf.repo.signerlib.check_directory(delegated_targets_directory) except (tuf.FormatError, tuf.Error), e: message = str(e)+'\n' raise tuf.RepositoryError(message) # Get all the target roles and their respective keyids. # These keyids will let the user know which roles are currently known. # signerlib.get_target_keyids() returns a dictionary that looks something # like this: {'targets':[keyid1, ...], 'targets/role1':[keyid], ...} targets_roles = tuf.repo.signerlib.get_target_keyids(metadata_directory) # Get the parent role. We need to modify the parent role's metadata file. print '\nListing "targets" and all available delegated roles.' for section in targets_roles.keys(): print section parent_role = None # Retrieve the parent role from the user. for attempt in range(MAX_INPUT_ATTEMPTS): prompt = '\nChoose and enter the parent role\'s full name: ' parent_role = _prompt(prompt, str) if parent_role not in targets_roles: print '\nInvalid role name entered' parent_role = None continue else: break # Ensure we loaded a valid parent role. if parent_role is None: message = 'Could not get a valid parent role.\n' raise tuf.RepositoryError(message) # 'load_key' is a reference to the 'load_keystore_from_keyfiles function'. load_key = tuf.repo.keystore.load_keystore_from_keyfiles # Load the parent's key(s). The key needs to be loaded because # its metadata file will be modified. parent_keyids = [] for keyid in targets_roles[parent_role]: for attempt in range(MAX_INPUT_ATTEMPTS): prompt = 'Enter the password for '+parent_role+' ('+keyid+'): ' password = _get_password(prompt) loaded_keyid = load_key(keystore_directory, [keyid], [password]) if keyid not in loaded_keyid: print '\nThe keyid could not be loaded.' continue parent_keyids.append(loaded_keyid[0]) break if keyid not in parent_keyids: message = 'Could not load the keys for the parent role.\n' raise tuf.RepositoryError(message) # Retrieve the delegated rolename from the user (e.g., 'role1'). delegated_role = _prompt('\nEnter the delegated role\'s name: ', str) # List the keyids available in the keystore. The user will next # identify the keyid for the new delegated role. _list_keyids(keystore_directory) # Retrieve the delegated role\'s keyid from the user. print '\nThe keyid of the delegated role must be loaded.' delegated_keyid = _get_keyids(keystore_directory) # Ensure we actually loaded one delegated key. Delegated roles # should have only one signing key. if len(delegated_keyid) != 1: message = 'Only one key must be loaded for the delegated role\n' raise tuf.RepositoryError(message) delegated_keyid = delegated_keyid[0] # Retrieve the file paths for the delegated targets. delegated_paths = [] for filename in os.listdir(delegated_targets_directory): full_path = os.path.join(delegated_targets_directory, filename) if os.path.isfile(full_path): # The target paths need to be relative to the repository's targets # directory (e.g., 'targets/role1/target_file.txt'). # [len(repository_directory)+1:] strips the repository path, including # its trailing path separator. repository_directory, junk = os.path.split(metadata_directory) delegated_path = delegated_targets_directory[len(repository_directory)+1:] target_path = os.path.join(delegated_path, filename) delegated_paths.append(target_path) message = 'The target paths for '+repr(delegated_role)+': '+repr(delegated_paths) logger.info(message) # Create, sign, and write the delegated role's metadata file. parent_directory = os.path.join(metadata_directory, parent_role) try: os.mkdir(parent_directory) except OSError, e: pass delegated_role_filename = delegated_role+'.txt' metadata_filename = os.path.join(parent_directory, delegated_role_filename) repository_directory, junk = os.path.split(metadata_directory) delegated_metadata = tuf.repo.signerlib.generate_targets_metadata(repository_directory, delegated_paths) _sign_and_write_metadata(delegated_metadata, [delegated_keyid], metadata_filename) # Retrieve the key from the keystore. role_key = tuf.repo.keystore.get_key(delegated_keyid) # Extract the metadata from the parent role's file. parent_filename = os.path.join(metadata_directory, parent_role) parent_filename = parent_filename+'.txt' parent_signable = tuf.repo.signerlib.read_metadata_file(parent_filename) parent_metadata = parent_signable['signed'] # Extract the delegations structure if it exists. delegations = parent_metadata.get('delegations', {}) # Update the keys field. keys = delegations.get('keys', {}) if role_key['keytype'] == 'rsa': keys[delegated_keyid] = tuf.rsa_key.create_in_metadata_format(role_key['keyval']) else: message = 'Invalid keytype encountered: '+delegated_keyid+'\n' raise tuf.RepositoryError(message) delegations['keys'] = keys # Update the 'roles' field. roles = delegations.get('roles', {}) threshold = 1 delegated_role = parent_role+'/'+delegated_role relative_paths = [] for path in delegated_paths: relative_paths.append(os.path.sep.join(path.split(os.path.sep)[1:])) roles[delegated_role] = tuf.formats.make_role_metadata([delegated_keyid], threshold, relative_paths) delegations['roles'] = roles # Update the larger metadata structure. parent_metadata['delegations'] = delegations # Try to write the modified 'targets.txt' file. parent_signable = tuf.formats.make_signable(parent_metadata) _sign_and_write_metadata(parent_signable, parent_keyids, parent_filename) def process_option(options): """ <Purpose> Determine the command-line option chosen by the user and call its corresponding function. If 'signercli' is invoked with the --genrsakey command-line option, its corresponding 'generate_rsa_key()' function is called. <Arguments> options: An optparse OptionValues instance, returned by parser.parse_args(). <Exceptions> tuf.RepositoryError, raised by one of the supported option functions. tuf.Error, if a valid option was not encountered. <Side Effects> Files in the repository are either created or modified depending on the command-line option chosen by the user. <Returns> None. """ # Determine which option was chosen and call its corresponding # internal function with the option's keystore directory argument. if options.genrsakey is not None: generate_rsa_key(options.genrsakey) elif options.listkeys is not None: list_signing_keys(options.listkeys) elif options.changepass is not None: change_password(options.changepass) elif options.dumpkey is not None: dump_key(options.dumpkey) elif options.makeroot is not None: make_root_metadata(options.makeroot) elif options.maketargets is not None: make_targets_metadata(options.maketargets) elif options.makerelease is not None: make_release_metadata(options.makerelease) elif options.maketimestamp is not None: make_timestamp_metadata(options.maketimestamp) elif options.sign is not None: sign_metadata_file(options.sign) elif options.makedelegation is not None: make_delegation(options.makedelegation) else: raise tuf.Error('A valid option was not encountered.\n') def parse_options(): """ <Purpose> Parse the command-line options. 'signercli' expects a single command-line option and one keystore directory argument. Example: signercli --genrsakey ./keystore All supported command-line options expect a single keystore directory argument. If 'signercli' is invoked with an incorrect number of command-line options or arguments, a parser error is printed and the script exits. <Arguments> None. <Exceptions> None. <Side Effects> A file is a created or modified depending on the option encountered on the command-line. <Returns> The options object returned by the parser's parse_args() method. """ usage = 'usage: %prog [option] <keystore_directory>' option_parser = optparse.OptionParser(usage=usage) # Add the options supported by 'signercli' to the option parser. option_parser.add_option('--genrsakey', action='store', type='string', help='Generate an RSA key and save it to ' 'the keystore.') option_parser.add_option('--listkeys', action='store', type='string', help='List the key IDs of the signing ' 'keys located in the keystore.') option_parser.add_option('--changepass', action='store', type='string', help='Change the password for one of ' 'the signing keys.') option_parser.add_option('--dumpkey', action='store', type='string', help='Dump the contents of an encrypted ' 'key file.') option_parser.add_option('--makeroot', action='store', type='string', help='Create the Root metadata file ' '(root.txt).') option_parser.add_option('--maketargets', action='store', type='string', help='Create the Targets metadata file ' '(targets.txt).') option_parser.add_option('--makerelease', action='store', type='string', help='Create the Release metadata file ' '(release.txt).') option_parser.add_option('--maketimestamp', action='store', type='string', help='Create the Timestamp metadata file ' '(timestamp.txt).') option_parser.add_option('--sign', action='store', type='string', help='Sign a metadata file.') option_parser.add_option('--makedelegation', action='store', type='string', help='Create a delegated role by creating ' 'its metadata file and updating the parent ' 'role\'s metadata file.') (options, remaining_arguments) = option_parser.parse_args() # Ensure the script was invoked with the correct number of arguments # (i.e., one command-line option and a single keystore directory argument. # Return the options object to the caller to determine the option chosen # by the user. option_parser.error() will print the argument error message # and exit. if len(sys.argv) != 3: option_parser.error('Expected a single option and one keystore argument.') return options if __name__ == '__main__': options = parse_options() # Process the command-line option chosen by the user. # 'tuf.RepositoryError' raised by the option's corresponding # function if an error occurred. 'tuf.Error' raised if a valid # option was not provided by the user. try: process_option(options) except (tuf.RepositoryError, tuf.Error), e: sys.stderr.write('Error: '+str(e)) sys.exit(1) # The command-line option was processed successfully. sys.exit(0)
UTF-8
Python
false
false
2,012
1,331,439,893,261
d4054c64920a395ee5ddccf707243a85d86e58a5
5f752c1c8adb78e2759736b45c76dc424c7098c6
/MySites/camrec/common.py
abf9f778d727bbf76c68a53f02a19498d3022265
[]
no_license
gauste/camrec
https://github.com/gauste/camrec
cde96642fa98112b255eed6ddcf72acb12de01e2
5cd00df47a4e1713eaca8eb85915964f58e06a68
refs/heads/master
2020-04-06T04:52:44.317480
2014-04-10T16:40:36
2014-04-10T16:40:36
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from collections import defaultdict import cPickle as pickle import flickrapi def get_api_key(fname): f = open(fname) api_key = f.read().strip() f.close() return api_key def get_flickr(key_fname = 'api_key'): api_key = get_api_key(key_fname) flickr = flickrapi.FlickrAPI(api_key) return flickr def default_list_dict(): return defaultdict(list) def default_set_dict(): return defaultdict(set) def default_int_dict(): return defaultdict(int) def default_float_dict(): return defaultdict(float)
UTF-8
Python
false
false
2,014
11,347,303,643,808
4569046aaf7b25b94fa143af0abb0587ff9b75a9
f1cb5fc0c20b3c8556beaf354696f219fffd9657
/models/volcurves/base/__init__.py
7f1d9adc0c00e7aa3ced51573f8a6dca97baad90
[]
no_license
ziedzic/avkoptionsmodels
https://github.com/ziedzic/avkoptionsmodels
2e3f4bd262676cf055c9dc800db771b1f6f3849b
da7825ab2e64cceb345bcb022cfcc72e89109e61
refs/heads/master
2021-01-15T13:52:19.879134
2014-10-30T12:49:08
2014-10-30T12:49:08
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
__author__ = 'tombnorwood' from .parabolicpathinputrecord import * from .volcurve import * from .volcurveinput import * from .skewinput import * from .volcurveinputrecord import *
UTF-8
Python
false
false
2,014
3,384,434,250,929
d3dfe6dfc09257e3a112223abbc7d63e9d2c57c4
832d2d4e037907418dba66b4b446eab3c5a7fb68
/core/db/company.py
3f11ad6366adbef33e0d26dea61776b786610c96
[]
no_license
cloudfishin/99scraper
https://github.com/cloudfishin/99scraper
e6dade920777cfd8cc86ac46fa9c12d6ab6d9cc5
f2628143219d6be9c6e94389d7cc6a6765cd796e
refs/heads/master
2021-01-24T06:12:49.838253
2014-04-17T00:03:08
2014-04-17T00:04:38
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from sqlalchemy.orm import relationship __author__ = 'jesuejunior' from sqlalchemy import Integer, Column, String, Float import core class Company(core.db.Model): __tablename__ = 'company' id = Column(Integer, primary_key=True) title = Column(String, nullable=False, unique=True) rank = Column(Float, nullable=False) vacancy = Column(Integer, nullable=False) follows = Column(Integer, nullable=False) mission = Column(String, nullable=False) about = Column(String, nullable=False) path = Column(String) thumb = Column(String) # stats = relationship("Stats", uselist=False, backref="profile")
UTF-8
Python
false
false
2,014
7,791,070,714,391
864a229ed44b3ae9f7e59160f5c0f6b77d3c7575
ed0a2584da79dbea242df11ad9254bf17b626f5d
/src/GameParser.py
1284fb34eed3a20ef597142229991afe2064a843
[]
no_license
DaneTheory/Halo-Groups
https://github.com/DaneTheory/Halo-Groups
58377a33bbe8dc01d38a478413dae160fceda506
d8d967f3da0139592ae8f83180993d8ee970d69a
refs/heads/master
2021-01-21T01:38:47.641975
2011-04-05T21:59:48
2011-04-05T21:59:48
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
##Python script for parsing Halo Data import simplejson import operator, pickle import os.path, sys, re, time import logging logging.basicConfig(level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s") logger=logging.getLogger('GameParser') # write Header info on output file (column names) def writeHeader(outputFile): header_info = "PlayerDataIndex," header_info += "gamertag," header_info += "service_tag," header_info += "first_active," header_info += "last_active," header_info += "games_total," header_info += "CampaignProgressCoop," header_info += "CampaignProgressSp," header_info += "GameId," header_info += "GameVariantName," header_info += "GameVariantClass," header_info += "BaseMapName," header_info += "MapName," header_info += "CampaignDifficulty," header_info += "GameTimestamp," header_info += "GameDuration," header_info += "IsTeamGame," header_info += "PlayerCount," header_info += "CampaignGlobalScore," header_info += "Rating," header_info += "Standing," header_info += "Score," header_info += "Team," header_info += "TeamStanding," header_info += "TeamScore," header_info += "Kills," header_info += "Deaths," header_info += "Assists," header_info += "Betrayals," header_info += "Headshots," header_info += "Suicides," header_info += "AvgKillDistanceMeters," header_info += "KilledMostCount," header_info += "PlayerKilledByMost," header_info += "KilledMostByCount," header_info += "TotalMedalCount," header_info += "UniqueTotalMedalCount," header_info += "StyleMedalCount," header_info += "UniqueStyleMedalCount," header_info += "SpreeMedalCount," header_info += "UniqueSpreeMedalCount," header_info += "MultiMedalCount," header_info += "UniqueMultiMedalCount," header_info += "OtherMedalCount," for i in range(0,60): header_info += "Kills." + str(i) + "," header_info += "Headshots." + str(i) + "," header_info += "Deaths." + str(i) + "," header_info += "Penalties." + str(i) + "," header_info += "Kills.63," header_info += "Headshots.63," header_info += "Deaths.63," header_info += "Penalties.63," header_info += "Kills.64," header_info += "Headshots.64," header_info += "Deaths.64," header_info += "Penalties.64," header_info += "Kills.74," header_info += "Headshots.74," header_info += "Deaths.74," header_info += "Penalties.74" outputFile.write(header_info + "\n") # Extract details for each game def getGameDetails(gameDetail,outputFile): try: parsedPage = simplejson.loads(gameDetail) except: logger.info("Failure to load JSON") return if type(parsedPage) != dict: logger.info("parsedPage not a dict") return gameDetails = parsedPage["GameDetails"] #logger.info(gameDetails["GameTimestamp"][6:16]) for player in gameDetails["Players"]: playerInfo = player["PlayerDetail"] gameString = str(player["PlayerDataIndex"]) + "," gameString += playerInfo["gamertag"] + "," gameString += playerInfo["service_tag"] + "," gameString += playerInfo["first_active"] + "," gameString += playerInfo["last_active"] + "," gameString += str(playerInfo["games_total"]) + "," gameString += playerInfo["CampaignProgressCoop"] + "," gameString += playerInfo["CampaignProgressSp"] + "," gameString += str(gameDetails["GameId"]) + "," gameString += re.sub(',',':',gameDetails["GameVariantName"]) + "," gameString += str(gameDetails["GameVariantClass"]) + "," gameString += gameDetails["BaseMapName"] + "," gameString += gameDetails["MapName"] + "," gameString += gameDetails["CampaignDifficulty"] + "," gameString += gameDetails["GameTimestamp"] + "," gameString += str(gameDetails["GameDuration"]) + "," gameString += str(gameDetails["IsTeamGame"]) + "," gameString += str(gameDetails["PlayerCount"]) + "," gameString += str(gameDetails["CampaignGlobalScore"]) + "," gameString += str(player["Rating"]) + "," gameString += str(player["Standing"]) + "," gameString += str(player["Score"]) + "," gameString += str(player["Team"]) + "," if player.has_key("TeamStanding"): gameString += str(player["TeamStanding"]) + "," else: gameString += "NA," if player.has_key("TeamScore"): gameString += str(player["TeamScore"]) + "," else: gameString += "NA," gameString += str(player["Kills"]) + "," gameString += str(player["Deaths"]) + "," gameString += str(player["Assists"]) + "," gameString += str(player["Betrayals"]) + "," gameString += str(player["Headshots"]) + "," gameString += str(player["Suicides"]) + "," gameString += str(player["AvgKillDistanceMeters"]) + "," gameString += str(player["KilledMostCount"]) + "," gameString += str(player["PlayerKilledByMost"]) + "," gameString += str(player["KilledMostByCount"]) + "," gameString += str(player["TotalMedalCount"]) + "," gameString += str(player["UniqueTotalMedalCount"]) + "," gameString += str(player["StyleMedalCount"]) + "," gameString += str(player["UniqueStyleMedalCount"]) + "," gameString += str(player["SpreeMedalCount"]) + "," gameString += str(player["UniqueSpreeMedalCount"]) + "," gameString += str(player["MultiMedalCount"]) + "," gameString += str(player["UniqueMultiMedalCount"]) + "," gameString += str(player["OtherMedalCount"]) + "," # Get weapon use info weaponInfo = player["WeaponCarnageReport"] weaponList = ["0"]*260 for weapon in weaponInfo: weaponIndex = weapon["WeaponId"] if weaponIndex == 63 or weaponIndex == 64: weaponIndex -= 3 if weaponIndex == 74: weaponIndex = 62 elif weaponIndex > 64 or weaponIndex<0: weaponIndex = 63 weaponIndex *= 4 weaponList[weaponIndex] = str(weapon["Kills"]) weaponList[weaponIndex+1] = str(weapon["Headshots"]) weaponList[weaponIndex+2] = str(weapon["Deaths"]) weaponList[weaponIndex+3] = str(weapon["Penalties"]) gameString += ','.join(weaponList) gameString = ''.join(c for c in gameString if ord(c) in range(128)) outputFile.write(gameString + "\n") if __name__ == "__main__": # define how often data is written BLOCK_SIZE = 50 i = 1 begin_time = time.time() logger.info("Started: " + str(begin_time)) # if os.path.exists('../data/sample_gameList.pkl'): # try: # f_gamelist = open("../data/sample_gameList.pkl",'r') # gamelist = pickle.load(f_gamelist) # f_gamelist.close() # except: # logger.info("Couldn't find or unpickle sample_gameList.pkl") if os.path.exists('../data/sample/'): try: gamelist = os.listdir("../data/sample/") except: logger.info("Couldn't find sample directory") # final, parsed output file if os.path.exists('../data/game_sample.tsv'): outputFile = open("../data/game_sample.tsv",'a') else: outputFile = open("../data/game_sample.tsv",'w') writeHeader(outputFile) while len(gamelist) > 0: # while i < 5: # open file game = gamelist.pop() try: f_gameDetail = open("../data/sample/"+str(game),'r') gameDetail = f_gameDetail.read() f_gameDetail.close() except: logger.info("Couldn't open game "+str(game)) # pass contents to write output logger.info("Retrieving game details for " + str(game)) getGameDetails(gameDetail,outputFile) i += 1 # if done BLOCK_SIZE files, if i % BLOCK_SIZE == 0: # f_gameList = open("../data/sample_gameList.pkl",'w') # pickle.dump(gamelist, f_gameList) # f_gameList.close() outputFile.close() outputFile = open("../data/game_sample.tsv",'a') end_time = time.time() logger.info("Finished: " + str(end_time)) logger.info("Total time: " + str(end_time - begin_time))
UTF-8
Python
false
false
2,011
12,799,002,564,926
d039d3227bbd13bde8dd28c6bcdbd52cc4f1301a
5efa00f763ac0cef469184a2f2dc0423cc7015f4
/welcome_rain/common/vpackager.py
cb5dc0851b2cc3e0f7bf87613a2c5cc250d36eea
[]
no_license
bopopescu/welcomerain
https://github.com/bopopescu/welcomerain
3cbaa3e270d654416e90a42e345f4e7eee2b9979
115c766690aeec2eb1a85baaa26ed77591983acc
refs/heads/master
2022-11-22T05:18:53.875820
2012-11-15T12:55:03
2012-11-15T12:55:03
282,250,931
0
0
null
true
2020-07-24T15:10:38
2020-07-24T15:10:37
2013-12-06T09:50:37
2012-11-15T12:56:51
14,284
0
0
0
null
false
false
import pickle import datetime import os class VPackager: def __init__(self): pass def serialize(self,obj): str = pickle.dumps(obj) return str def deserialize(self,str): obj = pickle.loads(str) return obj
UTF-8
Python
false
false
2,012
14,757,507,648,643
51161b29e0da032c477da2322fd1ced4efba6d75
4f5db2e07c854a1a83ed5bef867356bdf9aec9af
/hq9+.py
9d360f928605ec6ba8cf0ff3c849d673e17917d3
[]
no_license
stranac/HQ9Plus
https://github.com/stranac/HQ9Plus
e256d5e0fe3a5f9bf03a9d5d47fb508db3166cbe
698ca76258a4430d01f9dce6556862916f29c2d6
refs/heads/master
2021-01-19T22:02:09.851036
2014-01-27T15:09:05
2014-01-27T15:09:05
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
""" A simple implementation of the HQ9+ programming language. http://esolangs.org/wiki/HQ9%2B Ignores everything except the four valid commands(case insensitive): H Prints "Hello, world!" Q Prints the entire text of the source code file. 9 Prints the complete canonical lyrics to "99 Bottles of Beer on the Wall" + Increments the accumulator. """ import sys import re import bottles class HQ9PlusProgram(object): def __init__(self, src): self.src = src self.acc = 0 self.commands = { 'H': self.hello, 'Q': self.quine, '9': self.nine, '+': self.plus, } def hello(self): print 'Hello, world!' def quine(self): print self.src def nine(self): print '\n'.join(bottles.verses()) def plus(self): self.acc += 1 def run(self): for letter in re.findall(r'[HQ+9]', self.src.upper(), re.MULTILINE): self.commands[letter]() def main(): try: filename = sys.argv[1] except IndexError: in_file = sys.stdin else: in_file = open(filename) with in_file: program = HQ9PlusProgram(in_file.read()) program.run() main()
UTF-8
Python
false
false
2,014
5,291,399,727,627
3f3349b4c9118c83b545d669b4096d23ebea6e70
6e97f24d3dfbc1f65a691bfa098d2e4a583e51ee
/20130911_econometrics1.py
a8a815bbf8471db7fd25fbf8cfc3adfd7c15ec4c
[]
no_license
mchoimis/Python-Practice
https://github.com/mchoimis/Python-Practice
e800a6859de496dfef2a00da5a98e1d0fc512ad4
ec5a48032768a8ce4be7a4c6a269ba1f26e02b3f
refs/heads/master
2021-01-20T00:23:36.940700
2014-06-05T01:27:05
2014-06-05T01:27:05
12,071,659
0
1
null
null
null
null
null
null
null
null
null
null
null
null
null
import math import decimal w=0.75 mu=w*0.08+(1-w)*0.05 Var=pow(w, 2)*pow(0.07, 2) + pow((1-w), 2)*pow(0.04, 2) + 2*w*(1-w)*0.07*0.04*0.25 print w print Var print mu print math.sqrt(Var)
UTF-8
Python
false
false
2,014
17,970,143,168,909
b1ce74a045e436c60068f417602f07f926ce767a
e4a1e93106ce03f7e820b2097f406212f828df6f
/FlickrPython/models.py
1df4d79a01fc29857fe5504dd021488b00767a7c
[]
no_license
gerahe/FlickrPython
https://github.com/gerahe/FlickrPython
58151b7204c5ba3fea70b97af3cec5a5cf3e8b1f
8bdfc0af7d0aa537155911b78d2674e2a6ec8bf4
refs/heads/master
2016-08-06T13:14:13.741589
2014-10-17T16:08:26
2014-10-17T16:08:26
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # Feel free to rename the models, but don't rename db_table values or field names. # # Also note: You'll have to insert the output of 'django-admin.py sqlcustom [appname]' # into your database. from django.db import models class UserTasks(models.Model): username = models.CharField(max_length=30, unique=True) task1_complete = models.BooleanField() task2_complete = models.BooleanField() task1_score = models.IntegerField() task1_count = models.IntegerField() average_tags = models.IntegerField() task2_score = models.IntegerField() temp2_score = models.IntegerField() task2_count = models.IntegerField() photos_used = models.CommaSeparatedIntegerField(max_length=100) class Meta: db_table = u'user_tasks' class PhotoList(models.Model): photo_id = models.IntegerField() num_task1 = models.IntegerField() num_task2 = models.IntegerField() num_tags = models.IntegerField() tags = models.TextField() def __str__(self): return "PhotoId: " + str(self.photo_id) + ", num_task1: " + str(self.num_task1) + ", num_task2 " + \ str(self.num_task2) + ", num_tags: " + str(self.num_tags) + ", tags: " + str(self.tags) class Meta: db_table = u'photo_list'
UTF-8
Python
false
false
2,014
14,413,910,271,850
4a6a53fd0059b3a7ace5e6d861703fd3de45732a
68d845996d2bd7bad5b4b52302ad8c70762c588b
/wikiquote_extractor/app.py
2a0bb02f95f265c694d587351dd3d1d97952e4f8
[]
no_license
philchristensen/wikiquote-extractor
https://github.com/philchristensen/wikiquote-extractor
1afefcc84d86e0701e043dde484589e299230474
311d69ed904ba0a012c8883d7b9ed2882cc5821f
refs/heads/master
2021-01-02T23:14:44.372345
2014-07-24T14:46:43
2014-07-24T14:46:43
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import sys import logging import urlparse import urllib2 import re logging.basicConfig(level=logging.INFO) log = logging.getLogger("wikiquote") def process_season_quotes(season_no, url): html_doc = urllib2.urlopen(url).read() from bs4 import BeautifulSoup soup = BeautifulSoup(html_doc) output = '' content = soup.find('div', id="mw-content-text") for node in content.find_all('h3'): episode = node.find('span', class_="mw-headline") episode_name = episode.string for next_node in node.next_siblings: if(next_node.name == 'dl'): for quote in next_node.find_all('dd'): quote_line = ''.join([x if x.startswith(':') else ' ' + x for x in list(quote.stripped_strings)]) output += quote_line.encode('utf8') output += "\n" source = ' -- "%s", season %s\n' % (episode_name, season_no) output += source.encode('utf8') output += '%\n' elif(next_node.name == 'h3'): break return output def main(args=sys.argv): season_list_url = "http://en.wikiquote.org/wiki/The_Simpsons" req = urllib2.urlopen(season_list_url) html_doc = req.read() from bs4 import BeautifulSoup soup = BeautifulSoup(html_doc) for link in soup.find_all('a'): href = link.get('href') if(href is None): continue match = re.match(r'(.*?)/Season_(\d+)$', href, re.I) if(match): season_no = int(match.group(2)) if(season_no > 12): continue season_page_url = urlparse.urljoin(season_list_url, href) output = process_season_quotes(season_no, season_page_url) with open('simpsons/season%s.u8' % season_no, 'w') as f: f.write(output) if(__name__ == '__main__'): main()
UTF-8
Python
false
false
2,014
11,192,684,784,051
4443f918380c61e407763d430f41895b5f5ddb76
466e74db167c33f1e0d4389657cdf532a6063db4
/src/localevent.py
f013047305ff87042c250cb7478696e22bccee99
[]
no_license
eugene2candy/skiptree
https://github.com/eugene2candy/skiptree
0883a426b0229bf767062e60d29286696db10112
65bed6dcf192555562d5dd5126617a0e544ad9ec
refs/heads/master
2021-05-27T07:18:49.366840
2014-02-26T10:04:11
2014-02-26T10:04:11
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
## Prototype implementation for skiptree ## do not expect things to keep working if you start removing nodes. # System imports import copy import logging import queue import sys import pdb # ResumeNet imports from join import JoinProcessor from messages import VisitorRoute, VisitorMessage # APIs for handling messages from messages import RouteByNameID, RouteDirect #from messages import SNJoinRequest, SNJoinReply, SNLeaveReply from messages import SNPingMessage, SNPingRequest #from messages import STJoinReply, STJoinRequest, STJoinError, JoinException from messages import IdentityReply #from messages import NeighbourhoodNet from messages import LookupRequest, LookupReply from routing import Router, RouterReflect, RoutingDeferred from nodeid import NodeID, PartitionID from util import Direction # --------------------------------------------------------------------------- # Module log abilities LOG_HANDLER = logging.StreamHandler() LOG_HANDLER.setLevel(logging.DEBUG) LOGGER = logging.getLogger("localevent") LOGGER.setLevel(logging.DEBUG) LOGGER.addHandler(LOG_HANDLER) # --------------------------------------------------------------------------- # lnode.dispatcher._MessageDispatcher__visitor_routing.debugging=31 # lnode.dispatcher._MessageDispatcher__visitor_processing._ProcessorVisitor__join_processor.debugging=True class MessageDispatcher(object): """Dispatch messages through components of the application. this is typically the .dispatcher of your Node object.""" PRIO_MAX, PRIO_DEFAULT, PRIO_MIN = range(0, 30000, 10000) def __init__(self, local_node): # Data self.__queue = queue.Queue() self.__local_node = local_node # Handlers self.__visitor_routing = RouterVisitor(local_node) self.__visitor_processing = ProcessorVisitor(local_node) def put(self, event, priority=PRIO_DEFAULT): """Add an event in the dispatcher.""" self.__queue.put(event) def get_destinations(self, message): destinations = message.accept(self.__visitor_routing) if message.ttl<10: LOGGER.log(logging.DEBUG, "[DBG:%s] TTL low for %s in %s" % (self.__local_node.name_id, repr(message), repr(self.__visitor_routing))) return destinations def routing_trace(self): return self.__visitor_routing.trace def flush2log(self, reason): LOGGER.log(logging.WARNING, "flushing %i items of work queue: %s"% ( self.__queue.qsize(),reason)) while(self.__queue.qsize()>0): message = self.__queue.get() LOGGER.debug(">> %s"%repr(message)) def dispatch_one(self, msgcause, destinations): """ dispatch a list of <next_hop, message> that result in the routing of msgcause. uses either localnode.sender or the 'processing' visitor if the message is for an app above this node.""" if destinations != None and len(destinations)>0: for next_hop, message in destinations: message.sign("@%s: %i destinations"%( self.__local_node.partition_id,len(destinations))) if(next_hop != None): if(next_hop.net_info == self.__local_node.net_info): hastrace = ('trace' in dir(msgcause)) if not 'trace' in dir(message.payload): message.payload.trace = msgcause.trace if hastrace else ["no trace"] # most messages has no trace, btw. message.payload.accept(self.__visitor_processing) else: self.__local_node.sender.send_msg(message, next_hop) else: LOGGER.log(logging.WARNING, "FIXME: Next hop == None (M: %s)"% repr(message)) pdb.set_trace() LOGGER.log(logging.WARNING, "message has been dropped") else: report = "no destination for %s in %s --tr: %s --at %s" % ( repr(msgcause), repr(self.__visitor_routing), repr(msgcause.trace),self.__local_node) LOGGER.log(logging.DEBUG, "[DBG:%s] %s"%(self.__local_node.name_id,report)) if 'routingError' in dir(msgcause.payload): msgcause.payload.routingError(ValueError(report)) def dispatch(self): """Dispatch the messages through components.""" #TODO: Change exception management, local_node comparison while True: message = self.__queue.get() try: self.dispatch_one(message,self.get_destinations(message)) sys.stdout.flush() except RoutingDeferred as rd: LOGGER.debug("routing of %s got deferred at %s"%(repr(message),rd.where)) self.__queue.task_done() # Visitor Message is handling the application-level processing, # while the RouterVisitor handles the network-level message. class DatastoreProcessor(object): def __init__(self, node): self.__local_node = node self.debugging=False def insertData(self, message): """ expect message ISA InsertionRequest """ print(message," has reached ",self.__local_node) if (self.debugging): import pdb; pdb.set_trace() ### XXX test the message.key matches by local CPEs. self.__local_node.data_store.add(message.key, message.data) def lookupData(self, message): """ expect message ISA LookupRequest """ print(message," has reached ",self.__local_node) if (self.debugging): import pdb; pdb.set_trace() values = self.__local_node.data_store.get(message.key) reply = LookupReply(values, message.nonce) reply.trace = message.trace reply.trace.append("reading data at %s"%self.__local_node.pname) route = RouteDirect(reply, message.originator) self.__local_node.route_internal(route) def receiveData(self, message): """ expect message ISA LookupReply """ values = message.data print("!_! DATA %f - %s" % (message.nonce,repr(values))) print("!_! PATH %s"%(message.trace)) if (self.debugging): import pdb; pdb.set_trace() # ------------------------------------------------------------------------------------------------ class RouterVisitor(VisitorRoute): def __init__(self, local_node): VisitorRoute.__init__(self) self.__local_node = local_node self.__router = Router(local_node) self.__reflector = RouterReflect() self.debugging=0 # Every method in this class should return a list of pair (destination, message) # The destination is a class 'Node' and the message is a (sub)class of 'RouteMessage'. def visit_RouteDirect(self, message): if (self.debugging&1): import pdb; pdb.set_trace() return self.__router.route_directly(message) def visit_RouteByNameID(self, message): if (self.debugging&2): import pdb; pdb.set_trace() return self.__router.route_by_name(message) def visit_RouteByNumericID(self, message): if (self.debugging&4): import pdb; pdb.set_trace() return self.__router.route_by_numeric(message) def visit_RouteByPayload(self, message): if (self.debugging&8): import pdb; pdb.set_trace() return message.route(self.__local_node) def visit_RouteByCPE(self, message): # message ISA RouteByCPE # payload ISA ApplicationMessage assert (message.space_part.first_component().value != None),( "message %s has invalid spacepart (no component value for %s)"% (repr(message),repr(message.space_part.first_component()))) if (self.debugging&16): import pdb; pdb.set_trace() if (not message.forking): return self.__reflector.by_cpe_get_next_hop_insertion(self.__local_node, message) else: return self.__reflector.by_cpe_get_next_hop_forking(self.__local_node, message) # MessageDispatcher.dispatch() will be happy with a list of <neighbour, message> def __repr__(self): return "<RouterVisitor:"+repr(self.__reflector.trace)+">" @property def trace(self): return self.__reflector.trace # ------------------------------------------------------------------------------------------------ class ProcessorVisitor(VisitorMessage): def __init__(self, node): VisitorMessage.__init__(self) self.__local_node = node self.__join_processor = JoinProcessor(node) self.__data_processor = DatastoreProcessor(node) # # Dispatching for the RouteByPayload messages. def visit_RouteByPayload(self, message): message.process(self.__local_node) def visit_InsertData(self, message): self.__data_processor.insertData(message) def visit_LookupData(self, message): self.__data_processor.lookupData(message) def visit_LookupReply(self, message): self.__data_processor.receiveData(message) # # Dispatching for the "Join" messages. def visit_SNJoinRequest(self, message): self.__join_processor.visit_SNJoinRequest(message) print("0_0 Welcome on SkipNet",message) def visit_SNJoinReply(self, message): self.__join_processor.visit_SNJoinReply(message) print("0_0 Joint the SkipNet",message) def visit_STJoinRequest(self, message): self.__join_processor.visit_STJoinRequest(message) print("0_0 Welcome on SkipTree",message) def visit_STJoinReply(self, message): self.__join_processor.visit_STJoinReply(message) print("0_0 Joint the SkipTree",message) if (message.successful): print("#_# CONNECTED") def visit_STJoinError(self, message): self.__join_processor.visit_STJoinError(message) # # Dispatching for the "Leave" messages. def visit_SNLeaveRequest(self, message): LOGGER.log(logging.DEBUG, "[DGB] SNLeaveRequest - Process") payload_msg = SNLeaveReply(self, self.__local_node) route_msg = RouteDirect(payload_msg, message.leaving_node) self.__local_node.route_internal(route_msg) self.__local_node.neighbourhood.remove_neighbour(message.leaving_node) #TODO: Close the connection. def visit_SNLeaveReply(self, message): LOGGER.log(logging.DEBUG, "[DBG] SNLeaveReply - Process") self.__local_node.neighbourhood.remove_neighbour(message.contacted_node) #TODO: Close the connection. # # Dispatching for the "General use" messages. def visit_SNPingRequest(self, message): reply=SNPingMessage(self.__local_node, message.ring_level) reply=RouteDirect(reply, message.source) LOGGER.debug("[DBG] %s -> %s"%(message,reply)) self.__local_node.route_internal(reply) def visit_SNPingMessage(self, message): # The source node common bit must be less or equal (because of neighbours selection). common_bit = self.__local_node.numeric_id.get_longest_prefix_length(message.src_node.numeric_id) assert message.ring_level <= common_bit lng = self.__local_node.neighbourhood lng.sign("%s @%i"%( repr(message),message.ring_level)) # Add the new neighbour. ngh = lng.add_neighbour(message.ring_level, message.src_node) # # Dispatching "Application" messages. def visit_IdentityRequest(self, message): find_neighbour = IdentityReply(self.__local_node) route_msg = RouteDirect(find_neighbour, message.contact_node) self.__local_node.route_internal(route_msg) def visit_IdentityReply(self, message): pass def visit_EncapsulatedMessage(self, message): self.__local_node.route_internal(message.encapsulated_message)
UTF-8
Python
false
false
2,014
7,713,761,295,949
239b7c41623fc8d4fd2520683b5864754af5fb4d
7bb71bbd550d6164bbfbf848d4015ef0430dac19
/tests/test_users/test_api.py
b575ae645cd3d9d27c72a5d0598a621bc5b7bb39
[]
no_license
pretenders/deploystream
https://github.com/pretenders/deploystream
86d2a591d45d259361e90202144879a2d3566709
9b9e7b03cf4f989c264b6ef2ec05980191c6a8aa
refs/heads/develop
2021-01-02T08:47:07.857641
2013-07-30T23:24:30
2013-07-30T23:24:30
8,338,833
1
0
null
false
2015-02-23T21:00:53
2013-02-21T16:18:03
2013-12-12T12:46:39
2013-10-26T18:48:23
3,768
4
0
29
JavaScript
null
null
import json from nose.tools import assert_equal, assert_false, assert_true import tests from tests import test_users class TestUserDetails(test_users.UserTest): def test_can_get_details_about_myself(self): self.send_login_post('main_test_user', '123') response = self.client.get('/api/users/{0}'.format( tests.MAIN_USER_ID)) assert_equal(response.status_code, 200) json_data = json.loads(response.data) assert_equal(json_data['username'], 'main_test_user') assert_false('password' in json_data) def test_permission_denied_for_other_users(self): self.send_login_post('main_test_user', '123') response = self.client.get('/api/users/100') assert_equal(response.status_code, 401) def test_permission_denied_when_listing_users(self): self.send_login_post('main_test_user', '123') response = self.client.get('/api/users') assert_equal(response.status_code, 401) def test_get_profile_redirects_to_correct_api(self): self.send_login_post('main_test_user', '123') response = self.client.get('/users/me/') assert_equal(response.status_code, 302) assert_true("/api/users/{0}".format(tests.MAIN_USER_ID) in response.location)
UTF-8
Python
false
false
2,013
10,849,087,404,942
1fa1c2aec0eebb6b6fc959a7b5ffe065ed2db723
580824fec14e621d40a03ffc282bc3ca924a55f5
/satchless/__init__.py
94fdc749782984230c55fbe2344783d30c5f5124
[ "BSD-2-Clause" ]
permissive
jackscott/satchless
https://github.com/jackscott/satchless
7249df217c4255a66d33855e8ee1a0455e3fa4b9
991221e3696ca9a574f78424a780e90d8903660b
refs/heads/master
2021-01-16T18:32:43.979234
2014-03-20T07:45:07
2014-03-20T07:48:13
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
""" Satchless An e-commerce framework for Python """ import logging from . import process from . import item from . import cart __all__ = ['cart', 'item', 'process'] class SatchlessBaseError(Exception): """Base Exception class :note: This will try to use the logging module :param message: the Exception message :type message: str :param data: Used to format the message string """ def __init__(self, message, data=None): try: message = message % data except: pass # log the message using the class name logging.getLogger( self.__class__.__name__ ).exception( message ) Exception.__init__(self, message) class SatchlessBaseClass(object): """Base class used throughout satchless """ ArgsError = SatchlessBaseError KwargsError = SatchlessBaseError ParamError = SatchlessBaseError LOG = None def logit(self, message, level=logging.DEBUG): """Write `message` to logging :param message: String to send :param level: Desired log level (Default: logging.DEBUG) :raises: satchless.SBase.ParamError """ if not self.LOG: # use subclass name, not SBase self.LOG = getLogger( self.__class__.__name__ ) try: getattr( self.LOG, level )(message) except: raise ParamError("could not find level (%s) in self.LOG" % level)
UTF-8
Python
false
false
2,014
5,085,241,307,243
17c0683ae47e4b322c968bcb59e18239ab66b994
cbbb728c0cf2256693dd99444638e207701fb8c5
/institutions/respondants/views.py
3b8628feb18eb2d932274099441fc272c6861795
[ "CC0-1.0" ]
permissive
virtix/mapusaurus
https://github.com/virtix/mapusaurus
4f306485d581f01638f12994383976ede625a4d3
93047a837faf43b2c6ec16111900a11ccce0b51a
refs/heads/master
2021-01-15T22:09:52.251027
2014-05-29T11:12:27
2014-05-29T11:12:27
20,239,367
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from django.shortcuts import render, get_object_or_404 from django.http import HttpResponseRedirect from respondants.forms import InstitutionSearchForm from respondants.models import Institution def respondant(request, respondant_id): respondant = get_object_or_404(Institution, pk=respondant_id) context = {'respondant':respondant} parents = [respondant] p = respondant.parent while p: parents.append(p) p = p.parent last = parents[-1] if last.non_reporting_parent: context['non_reporting_parent'] = last.non_reporting_parent parents = parents[1:] context['parents'] = reversed(parents) return render( request, 'respondants/respondant.html', context ) def index(request): """ The main view. Display the institution search box here. """ if request.method == 'POST': form = InstitutionSearchForm(request.POST) if form.is_valid(): name_contains = form.cleaned_data['name_contains'] return HttpResponseRedirect( '/institutions/search/?q=%s' % name_contains) else: form = InstitutionSearchForm() return render( request, 'respondants/index.html', {'search_form': form} ) def search(request): institution_name = request.GET.get('q', '') results = {} if institution_name: institution_name = institution_name.upper() respondant_results = Institution.objects.filter( name__contains=institution_name) if len(respondant_results) > 0: results['respondants'] = respondant_results return render( request, 'respondants/search_results.html', {'results': results} )
UTF-8
Python
false
false
2,014
10,771,777,988,466
0f8faf02d2c7d23c2319208ba994d2b20df59479
295d5d38e364a87f0c06353a7e183bad73ae9767
/src/asp/Tools/lronac4staged.py.in
d9d5a382668acb02da1cbeb5ccb7742d829e358c
[ "Apache-2.0" ]
permissive
figo829/StereoPipeline
https://github.com/figo829/StereoPipeline
871b04abb23abd87a94354482d406ecb0dd9879c
a062181bc70a93f2dd6d2bccef649938de39d200
refs/heads/master
2021-01-17T23:09:40.936110
2013-03-28T20:35:48
2013-03-28T20:45:21
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python # __BEGIN_LICENSE__ # Copyright (c) 2009-2012, United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. All # rights reserved. # # The NGT platform is licensed under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance with the # License. You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # __END_LICENSE__ import os, glob, optparse, re, shutil, subprocess, sys, string job_pool = []; def man(option, opt, value, parser): print >>sys.stderr, parser.usage print >>sys.stderr, '''\ This program creates directories and runs cam2map for the 4 stereo combinations needed to create an entire LRO-NAC frame. It can also run the following steps: * Stereo for each session * Point2dem for each session ''' sys.exit() class Usage(Exception): def __init__(self, msg): self.msg = msg def add_job( cmd, num_working_threads=4, cwd=None ): if ( len(job_pool) >= num_working_threads): job_pool[0].wait(); job_pool.pop(0); print cmd; job_pool.append( subprocess.Popen(cmd, shell=True, cwd=cwd) ); def wait_on_all_jobs(): print "Waiting for jobs to finish"; while len(job_pool) > 0: job_pool[0].wait(); job_pool.pop(0); class JobDescription: def __init__(self, name, left, right): self.name = name self.left = left self.right = right self.left_prefix = prefix(left) self.right_prefix = prefix(right) def prefix( filename ): return filename[:filename.find('.')] def build_session_directory(job_desc, options): # Create Directory if os.path.isdir(job_desc.name) and options.force: os.system("rm -rf %s" % job_desc.name) if not os.path.isdir(job_desc.name): os.system("mkdir %s" % job_desc.name) # Create Symlinks symlinks = [job_desc.left, job_desc.right, "stereo.default"] for target in symlinks: if os.path.exists(os.path.join(job_desc.name,target)) and options.force: subprocess.Popen("rm %s" % target, shell=True, cwd=job_desc.name) if not os.path.exists(os.path.join(job_desc.name,target)): subprocess.Popen("ln -s ../%s" % target, shell=True, cwd=job_desc.name) # Run cam2map if os.path.exists(os.path.join(job_desc.name,job_desc.left_prefix+".map.cub")) and options.force: subprocess.Popen("rm %s" % (job_desc.left_prefix+".map.cub"),shell=True, cwd=job_desc.name) if os.path.exists(os.path.join(job_desc.name,job_desc.right_prefix+".map.cub")) and options.force: subprocess.Popen("rm %s" % (job_desc.right_prefix+".map.cub"),shell=True, cwd=job_desc.name) if not os.path.exists(os.path.join(job_desc.name, job_desc.left_prefix+".map.cub")) or not os.path.exists(os.path.join(job_desc.name, job_desc.right_prefix+".map.cub")): cmd = "cam2map4stereo.py %s %s" % (job_desc.left,job_desc.right) add_job(cmd, options.threads, job_desc.name) def stereo( job_desc, threads, additional ): cmd = "stereo %s.map.cub %s.map.cub stereo/%s %s" % (job_desc.left_prefix,job_desc.right_prefix,job_desc.name,additional) add_job(cmd, threads, job_desc.name) pass def point2dem( job_desc, threads, additional ): cmd = "point2dem -r moon %s/stereo/%s-PC.tif %s" % (job_desc.name,job_desc.name,additional) add_job(cmd, threads) pass #--------------------------- def main(): try: try: usage = "usage: lronac4staged.py [--help][--manual][--threads N] LRONAC_CAL.CUB-files\n [ASP [@]ASP_VERSION[@]]" parser = optparse.OptionParser(usage=usage) parser.set_defaults(delete=True) parser.set_defaults(threads=4) parser.add_option("--manual", action="callback", callback=man, help="Read the manual.") parser.add_option("-t", "--threads", dest="threads", help="Number of threads to use.",type="int") parser.add_option("--force", dest="force", action="store_true", help="Force overwriting of previous process's directories.") parser.add_option("--stereo", dest="stereo", action="store_true", help="Perform stereo on each session.") parser.add_option("--point2dem", dest="point2dem", action="store_true", help="Perform point2dem on each session.") parser.add_option("--args", dest="args", help="Additional arguments to apply to your command", type="string") (options, args) = parser.parse_args() if not len(args) == 4: parser.error("need 4 *.CUB files") except optparse.OptionError, msg: raise Usage(msg) args.sort() jobs = [] jobs.append( JobDescription("LELE", args[0], args[2]) ) jobs.append( JobDescription("RERE", args[1], args[3]) ) jobs.append( JobDescription("LERE", args[0], args[3]) ) jobs.append( JobDescription("RELE", args[1], args[2]) ) for job in jobs: build_session_directory( job, options ) wait_on_all_jobs() if options.stereo: for job in jobs: stereo( job, options.threads, options.args ) wait_on_all_jobs() if options.point2dem: for job in jobs: point2dem( job, options.threads, options.args ) wait_on_all_jobs() print "Finished" return 0 except Usage, err: print >>sys.stderr, err.msg # print >>sys.stderr, "for help use --help" return 2 # To more easily debug this program, comment out this catch block. # except Exception, err: # sys.stderr.write( str(err) + '\n' ) # return 1 if __name__ == "__main__": sys.exit(main())
UTF-8
Python
false
false
2,013
9,182,640,104,395
a47d84b4985abcf36506dbf125d946d758d7c30b
d2b7fdee27446239a9cd7c440af797447b1f6768
/kt.py
b934ba513a36979de2164a0dec42d9295baf4dc9
[]
no_license
shreyasrk/Question-Generation
https://github.com/shreyasrk/Question-Generation
6ec38d910ee83e1c4206202b24ac284f3ebac39d
cd26b39557731ea703abce2dd5608bf8041ec507
refs/heads/master
2021-01-15T21:49:37.604039
2014-01-23T20:22:55
2014-01-23T20:22:55
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python """ Simple example showing node and relationship creation plus execution of Cypher queries """ from __future__ import print_function # Import Neo4j modules from py2neo import neo4j, cypher # Attach to the graph db instance graph_db = neo4j.GraphDatabaseService("http://localhost:7474/db/data/") graph_db.clear() #Create root node root = "Root" node_root, = graph_db.create({"name":root,"type":"node"}) node_kd2, = graph_db.create({"name": "THEOREM1","type":"node"}) node_root.create_relationship_to(node_kd2, "KD2") node_triangle, = graph_db.create({"name": "ABC","type":"triangle"}) node_kd2.create_relationship_to(node_triangle, "Pythagorean") # Create three nodes node_a, node_b, node_c = graph_db.create( {"name": "AB","type":"line"}, {"name": "BC","type":"line"}, {"name": "CA","type":"line"} ) # Join the nodes with a HAS relationship rel_triangle_a = node_triangle.create_relationship_to(node_a, "HAS") rel_triangle_b = node_triangle.create_relationship_to(node_b, "HAS") rel_triangle_c = node_triangle.create_relationship_to(node_c, "HAS") #Create input nodes node_in1, = graph_db.create({"name":"in1","type":"node"}) node_in2, = graph_db.create({"name":"in2","type":"node"}) node_in3, = graph_db.create({"name":"in3","type":"node"}) node_out1, = graph_db.create({"name":"out1","type":"node"}) node_out2, = graph_db.create({"name":"out2","type":"node"}) node_out3, = graph_db.create({"name":"out3","type":"node"}) node_in11, = graph_db.create({"name":"in11","type":"node"}) node_in12, = graph_db.create({"name":"in12","type":"node"}) node_in21, = graph_db.create({"name":"in21","type":"node"}) node_out11, = graph_db.create({"name":"out11","type":"node"}) node_out21, = graph_db.create({"name":"out21","type":"node"}) node_out31, = graph_db.create({"name":"out31","type":"node"}) # Join the nodes with a INPUT relationship rel_a_in1 = node_a.create_relationship_to(node_in1, "INPUT") #rel_a_in4 = node_a.create_relationship_to(node_in1, "MIDPOINT") rel_b_in2 = node_b.create_relationship_to(node_in2, "INPUT") rel_c_in3 = node_c.create_relationship_to(node_in3, "INPUT") rel_a_out1 = node_a.create_relationship_to(node_out1, "OUTPUT") rel_b_out2 = node_b.create_relationship_to(node_out2, "OUTPUT") rel_c_out3 = node_c.create_relationship_to(node_out3, "OUTPUT") rel_in1_in11 = node_in1.create_relationship_to(node_in11, "CONTAIN") rel_in1_in12 = node_in1.create_relationship_to(node_in12, "CONTAIN") rel_out1_out11 = node_out1.create_relationship_to(node_out11, "CONTAIN") rel_in2_in21 = node_in2.create_relationship_to(node_in21, "CONTAIN") rel_in2_in22 = node_in2.create_relationship_to(node_in12, "CONTAIN") rel_out2_out21 = node_out2.create_relationship_to(node_out21, "CONTAIN") rel_in3_in31 = node_in3.create_relationship_to(node_in21, "CONTAIN") rel_in3_in32 = node_in3.create_relationship_to(node_in11, "CONTAIN") rel_out3_out31 = node_out3.create_relationship_to(node_out31, "CONTAIN") node_in11.create_relationship_to(node_b, "NEEDS") node_in12.create_relationship_to(node_c, "NEEDS") node_out11.create_relationship_to(node_b, "NEEDS") node_out11.create_relationship_to(node_c, "NEEDS") node_in21.create_relationship_to(node_a, "NEEDS") node_out21.create_relationship_to(node_a, "NEEDS") node_out21.create_relationship_to(node_c, "NEEDS") node_out31.create_relationship_to(node_b, "NEEDS") node_out31.create_relationship_to(node_a, "NEEDS") #End of function #Making KD2 for Trigonometry node_kd2, = graph_db.create({"name": "THEOREM2","type":"node"}) node_root.create_relationship_to(node_kd2, "KD2") node_triangle, = graph_db.create({"name": "ABC","type":"triangle"}) node_kd2.create_relationship_to(node_triangle, "Trigonometry") # Create three nodes node_a, node_b, node_c, node_alpha, node_beta = graph_db.create( {"name": "AB","type":"line"}, {"name": "BC","type":"line"}, {"name": "CA","type":"line"}, {"name": "BAC","type":"angle"}, {"name": "BCA","type":"angle"} ) # Join the nodes with a HAS relationship rel_triangle_a = node_triangle.create_relationship_to(node_a, "HAS") rel_triangle_b = node_triangle.create_relationship_to(node_b, "HAS") rel_triangle_c = node_triangle.create_relationship_to(node_c, "HAS") rel_triangle_alpha = node_triangle.create_relationship_to(node_alpha, "HAS") rel_triangle_beta = node_triangle.create_relationship_to(node_beta, "HAS") #Create input nodes node_in1, = graph_db.create({"name":"in1","type":"node"}) node_in2, = graph_db.create({"name":"in2","type":"node"}) node_in3, = graph_db.create({"name":"in3","type":"node"}) node_in4, = graph_db.create({"name":"in4","type":"node"}) node_in5, = graph_db.create({"name":"in5","type":"node"}) node_out1, = graph_db.create({"name":"out1","type":"node"}) node_out2, = graph_db.create({"name":"out2","type":"node"}) node_out3, = graph_db.create({"name":"out3","type":"node"}) node_out4, = graph_db.create({"name":"out4","type":"node"}) node_out5, = graph_db.create({"name":"out5","type":"node"}) #input for side1 node_in11, = graph_db.create({"name":"in11","type":"node"}) node_in12, = graph_db.create({"name":"in12","type":"node"}) #output for side1 node_out11, = graph_db.create({"name":"out11","type":"node"}) node_out12, = graph_db.create({"name":"out12","type":"node"}) node_out13, = graph_db.create({"name":"out13","type":"node"}) node_out14, = graph_db.create({"name":"out14","type":"node"}) #input for side2 node_in21, = graph_db.create({"name":"in21","type":"node"}) node_in22, = graph_db.create({"name":"in22","type":"node"}) #output for side2 node_out21, = graph_db.create({"name":"out21","type":"node"}) node_out22, = graph_db.create({"name":"out22","type":"node"}) node_out23, = graph_db.create({"name":"out23","type":"node"}) node_out24, = graph_db.create({"name":"out24","type":"node"}) #input for side3 node_in31, = graph_db.create({"name":"in31","type":"node"}) node_in32, = graph_db.create({"name":"in32","type":"node"}) #output for side3 node_out31, = graph_db.create({"name":"out31","type":"node"}) node_out32, = graph_db.create({"name":"out32","type":"node"}) node_out33, = graph_db.create({"name":"out33","type":"node"}) node_out34, = graph_db.create({"name":"out34","type":"node"}) #input for angle alpha node_in41, = graph_db.create({"name":"in41","type":"node"}) node_in42, = graph_db.create({"name":"in42","type":"node"}) node_in43, = graph_db.create({"name":"in43","type":"node"}) #output for angle alpha node_out41, = graph_db.create({"name":"out41","type":"node"}) node_out42, = graph_db.create({"name":"out42","type":"node"}) node_out43, = graph_db.create({"name":"out43","type":"node"}) #input for angle beta node_in51, = graph_db.create({"name":"in51","type":"node"}) node_in52, = graph_db.create({"name":"in52","type":"node"}) node_in53, = graph_db.create({"name":"in53","type":"node"}) #output for angle beta node_out51, = graph_db.create({"name":"out51","type":"node"}) node_out52, = graph_db.create({"name":"out52","type":"node"}) node_out53, = graph_db.create({"name":"out53","type":"node"}) # Join the nodes with a INPUT relationship rel_a_in1 = node_a.create_relationship_to(node_in1, "INPUT") rel_b_in2 = node_b.create_relationship_to(node_in2, "INPUT") rel_c_in3 = node_c.create_relationship_to(node_in3, "INPUT") rel_a_out1 = node_a.create_relationship_to(node_out1, "OUTPUT") rel_b_out2 = node_b.create_relationship_to(node_out2, "OUTPUT") rel_c_out3 = node_c.create_relationship_to(node_out3, "OUTPUT") rel_in1_in11 = node_in1.create_relationship_to(node_in11, "CONTAIN") rel_in1_in12 = node_in1.create_relationship_to(node_in12, "CONTAIN") rel_out1_out11 = node_out1.create_relationship_to(node_out11, "CONTAIN") rel_out1_out12 = node_out1.create_relationship_to(node_out12, "CONTAIN") rel_out1_out13 = node_out1.create_relationship_to(node_out13, "CONTAIN") rel_out1_out14 = node_out1.create_relationship_to(node_out14, "CONTAIN") rel_in1_in21 = node_in2.create_relationship_to(node_in21, "CONTAIN") rel_in1_in22 = node_in2.create_relationship_to(node_in22, "CONTAIN") rel_out1_out21 = node_out2.create_relationship_to(node_out21, "CONTAIN") rel_out1_out22 = node_out2.create_relationship_to(node_out22, "CONTAIN") rel_out1_out23 = node_out2.create_relationship_to(node_out23, "CONTAIN") rel_out1_out24 = node_out2.create_relationship_to(node_out24, "CONTAIN") rel_in1_in31 = node_in3.create_relationship_to(node_in31, "CONTAIN") rel_in1_in32 = node_in3.create_relationship_to(node_in32, "CONTAIN") rel_out1_out31 = node_out3.create_relationship_to(node_out31, "CONTAIN") rel_out1_out32 = node_out3.create_relationship_to(node_out32, "CONTAIN") rel_out1_out33 = node_out3.create_relationship_to(node_out33, "CONTAIN") rel_out1_out34 = node_out3.create_relationship_to(node_out34, "CONTAIN") rel_in1_in41 = node_in3.create_relationship_to(node_in41, "CONTAIN") rel_in1_in42 = node_in3.create_relationship_to(node_in42, "CONTAIN") rel_in1_in43 = node_in3.create_relationship_to(node_in43, "CONTAIN") rel_out1_out41 = node_out3.create_relationship_to(node_out41, "CONTAIN") rel_out1_out42 = node_out3.create_relationship_to(node_out42, "CONTAIN") rel_out1_out43 = node_out3.create_relationship_to(node_out43, "CONTAIN") rel_in1_in51 = node_in3.create_relationship_to(node_in51, "CONTAIN") rel_in1_in52 = node_in3.create_relationship_to(node_in52, "CONTAIN") rel_in1_in53 = node_in3.create_relationship_to(node_in53, "CONTAIN") rel_out1_out51 = node_out3.create_relationship_to(node_out51, "CONTAIN") rel_out1_out52 = node_out3.create_relationship_to(node_out52, "CONTAIN") rel_out1_out53 = node_out3.create_relationship_to(node_out53, "CONTAIN") #Connection for side1 node_in11.create_relationship_to(node_alpha, "NEEDS") node_in12.create_relationship_to(node_beta, "NEEDS") node_out11.create_relationship_to(node_b, "NEEDS") node_out11.create_relationship_to(node_alpha, "NEEDS") node_out12.create_relationship_to(node_b, "NEEDS") node_out12.create_relationship_to(node_beta, "NEEDS") node_out13.create_relationship_to(node_c, "NEEDS") node_out13.create_relationship_to(node_alpha, "NEEDS") node_out14.create_relationship_to(node_c, "NEEDS") node_out14.create_relationship_to(node_beta, "NEEDS") #Connection for side2 node_in21.create_relationship_to(node_alpha, "NEEDS") node_in22.create_relationship_to(node_beta, "NEEDS") node_out21.create_relationship_to(node_a, "NEEDS") node_out21.create_relationship_to(node_alpha, "NEEDS") node_out22.create_relationship_to(node_a, "NEEDS") node_out22.create_relationship_to(node_beta, "NEEDS") node_out23.create_relationship_to(node_c, "NEEDS") node_out23.create_relationship_to(node_alpha, "NEEDS") node_out24.create_relationship_to(node_c, "NEEDS") node_out24.create_relationship_to(node_beta, "NEEDS") #Connection for side3 node_in31.create_relationship_to(node_alpha, "NEEDS") node_in32.create_relationship_to(node_beta, "NEEDS") node_out31.create_relationship_to(node_b, "NEEDS") node_out31.create_relationship_to(node_alpha, "NEEDS") node_out32.create_relationship_to(node_b, "NEEDS") node_out32.create_relationship_to(node_beta, "NEEDS") node_out33.create_relationship_to(node_a, "NEEDS") node_out33.create_relationship_to(node_alpha, "NEEDS") node_out34.create_relationship_to(node_a, "NEEDS") node_out34.create_relationship_to(node_beta, "NEEDS") #Connection for angle alpha node_in41.create_relationship_to(node_a, "NEEDS") node_in42.create_relationship_to(node_b, "NEEDS") node_in43.create_relationship_to(node_c, "NEEDS") node_out41.create_relationship_to(node_b, "NEEDS") node_out41.create_relationship_to(node_a, "NEEDS") node_out42.create_relationship_to(node_c, "NEEDS") node_out42.create_relationship_to(node_a, "NEEDS") node_out43.create_relationship_to(node_b, "NEEDS") node_out43.create_relationship_to(node_c, "NEEDS") #Connection for angle beta node_in51.create_relationship_to(node_a, "NEEDS") node_in52.create_relationship_to(node_b, "NEEDS") node_in53.create_relationship_to(node_c, "NEEDS") node_out51.create_relationship_to(node_b, "NEEDS") node_out51.create_relationship_to(node_a, "NEEDS") node_out52.create_relationship_to(node_c, "NEEDS") node_out52.create_relationship_to(node_a, "NEEDS") node_out53.create_relationship_to(node_b, "NEEDS") node_out53.create_relationship_to(node_c, "NEEDS") #End of function #This array contains the value of length of sides and values of angles between them quesArray = [10,20,30,50,60,70] #This array contains the coordinate values of each point cordArray = [200,300,400,500,600,700] triangleName = "ABC" point1 = triangleName[0] point2 = triangleName[1] point3 = triangleName[2] #Creating question for testing purpose node_triangle, = graph_db.create({"name": "ABC","type":"triangle"}) node_root.create_relationship_to(node_triangle, "KD1") node_triangle1, = graph_db.create({"name": "ABD","type":"triangle"}) node_root.create_relationship_to(node_triangle, "KD1") node_triangle2, = graph_db.create({"name": "ACD","type":"triangle"}) node_root.create_relationship_to(node_triangle, "KD1") # Create three nodes node_a, node_b, node_c,node_d, node_e, node_f = graph_db.create( {"name": "AB", "value":quesArray[0],"type":"line"}, {"name": "BC", "value":quesArray[1],"type":"line"}, {"name": "AC", "value":quesArray[2],"type":"line"}, {"name": "BD", "value":quesArray[0],"type":"line"}, {"name": "CD", "value":quesArray[1],"type":"line"}, {"name": "AD", "value":quesArray[2],"type":"line"} ) # Join the nodes with a HAS relationship rel_triangle_a = node_triangle.create_relationship_to(node_a, "HAS") rel_triangle_b = node_triangle.create_relationship_to(node_b, "HAS") rel_triangle_c = node_triangle.create_relationship_to(node_c, "HAS") rel_triangle_a1 = node_triangle1.create_relationship_to(node_a, "HAS") rel_triangle_b1 = node_triangle1.create_relationship_to(node_d, "HAS") rel_triangle_c1 = node_triangle1.create_relationship_to(node_f, "HAS") rel_triangle_a2 = node_triangle.create_relationship_to(node_c, "HAS") rel_triangle_b2 = node_triangle.create_relationship_to(node_e, "HAS") rel_triangle_c2 = node_triangle.create_relationship_to(node_f, "HAS") rel_a_b, = graph_db.get_or_create_relationships((node_a, "ANGLE",node_b, {"value": quesArray[3]})) rel_b_c, = graph_db.get_or_create_relationships((node_b, "ANGLE",node_c, {"value": quesArray[4]})) rel_a_c, = graph_db.get_or_create_relationships((node_a, "ANGLE",node_c, {"value": quesArray[5]})) #Create point nodes node_point1, node_point2, node_point3= graph_db.create({"name":point1, "cordx":cordArray[0],"cordy":cordArray[1],"type":"point"},{"name":point2, "cordx":cordArray[2],"cordy":cordArray[3],"type":"point"},{"name":point3, "cordx":cordArray[4],"cordy":cordArray[5],"type":"point"}) # Join the nodes with a CONTAIN relationship rel_a_point1 = node_a.create_relationship_to(node_point1, "CONTAIN") rel_a_point2 = node_a.create_relationship_to(node_point2, "CONTAIN") rel_b_point2 = node_b.create_relationship_to(node_point2, "CONTAIN") rel_b_point3 = node_b.create_relationship_to(node_point3, "CONTAIN") rel_c_point1 = node_c.create_relationship_to(node_point1, "CONTAIN") rel_c_point3 = node_c.create_relationship_to(node_point3, "CONTAIN") # Join the point nodes with a CONNECTED relationship node_point1.create_relationship_to(node_point2, "CONNECTED") node_point2.create_relationship_to(node_point3, "CONNECTED") node_point1.create_relationship_to(node_point3, "CONNECTED") #create a point node on one line node_point4= graph_db.create({"name":"D", "cordx":cordArray[0],"cordy":cordArray[1],"type":"point"}) rel_point4_point2_coll = node_point2.create_relationship_to(node_point4, "COLLINEAR") rel_point4_point3_coll = node_point3.create_relationship_to(node_point4, "COLLINEAR") rel_point4_point2 = node_point2.create_relationship_to(node_point4, "CONNECTED") rel_point4_point3 = node_point3.create_relationship_to(node_point4, "CONNECTED") rel_point4_point1 = node_point1.create_relationship_to(node_point4, "CONNECTED") rel_node6_node2_perp = node_b.create_relationship_to(node_f, "PERPENDICULAR") rel_node6_node4_perp = node_d.create_relationship_to(node_f, "PERPENDICULAR") rel_node6_node5_perp = node_e.create_relationship_to(node_f, "PERPENDICULAR") #End of fucntion # Define a row handler... def print_row(row): a, b,r = row print(a["name"] + " has relationship " +r.type + " with " + b["name"]) def handle_row(row): node = row[0] print (node) #print (node["value"]) print(" inside kd2 file") #Checking graph nodes by printing all nodes along with their relationship query = "START a=node(*) MATCH a-[r]->b RETURN a,b,r" cypher.execute(graph_db, query, row_handler=print_row)
UTF-8
Python
false
false
2,014
15,470,472,208,202
288019bae6bc9c7cb863c4d9e07082155a3c48df
4f70d30dac680cfdfc26c45398cba137f223e802
/Plugins/winalfred.Plugin.V2ex/main.py
ef3a1a504defcda01730d2799f4e1e091182b4e0
[ "MIT" ]
permissive
liuwentao/WinAlfred
https://github.com/liuwentao/WinAlfred
c5852745c968507b56c56c4fca7176f653bce8f0
71b5d4fe5a7a38bb5ed0a16944d84480d3706eb7
refs/heads/master
2021-01-14T08:25:53.126308
2014-01-25T10:00:13
2014-01-25T10:00:13
16,230,538
1
1
null
null
null
null
null
null
null
null
null
null
null
null
null
#encoding=utf8 from __future__ import unicode_literals import requests from bs4 import BeautifulSoup import json import webbrowser def safeSelectText(s,path): return s.select(path)[0].text if len(s.select(path)) > 0 else "" def query(key): r = requests.get('http://v2ex.com/?tab=all') bs = BeautifulSoup(r.text) results = [] for i in bs.select(".box div.item"): res = {} title = safeSelectText(i,".item_title") subTitle = safeSelectText(i,".fade") url = "http://v2ex.com" + i.select(".item_title a")[0]["href"] res["Title"] = title res["SubTitle"] = subTitle res["ActionName"] = "openUrl" res["IcoPath"] = "Images\\app.ico" res["ActionPara"] = url results.append(res) return json.dumps(results) def openUrl(url): webbrowser.open(url) if __name__ == "__main__": print query("movie geo")
UTF-8
Python
false
false
2,014
3,332,894,648,679
8cad73fdb8ebcd578ee6131e27f6ff3beb1e199e
237472502fb403aef44a690f90e586864e1eb672
/proj4/sol3.py
4d75356fbcce0fa9708adf8117deeb32e72061be
[ "CC0-1.0" ]
permissive
jiaxiluo/Security
https://github.com/jiaxiluo/Security
50369580cc8d7add3f2f50009d59f7acab08f224
af8f20728e872cf2fa825ee7aea6eda5fdd28fa7
refs/heads/master
2016-09-06T11:42:59.779106
2014-12-04T18:57:09
2014-12-04T18:57:09
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from struct import pack from shellcode import shellcode print shellcode + "a" * (2048 - 23) + pack("<I", 0xbffe90c8) + pack("<I", 0xbffe98dc)
UTF-8
Python
false
false
2,014
14,370,960,603,720
6a9bbd494a8118170c2e408acf716b771b132bcb
7f44f150c820e1b5e2539b4ac26c23a1a00556de
/string_to_list_test.py
2c4ee314d51c0b1edc088c17c2123a9d060b6bd3
[]
no_license
kuuot/web-python
https://github.com/kuuot/web-python
4500f75e0ab35295aa36a21e18fdf8bf8e322732
d974e133c1a268336d9f11579ba1177eaf8e529f
refs/heads/master
2015-08-18T05:13:06.915003
2014-12-22T08:42:49
2014-12-22T08:42:49
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# Terrence Kuo # Citation: https://www.udacity.com/course/cs101 # About: Testing out funtionality of the StringToList() class import string_to_list if __name__ == "__main__": # create object manipulate = string_to_list.StringToList(); # add words to list manipulate.add_words("After, there/as he-was. he and it. was, asdf \n hi", " ./\n-,"); print manipulate; # add more words to list #manipulate.add_words("You=now thats it's a/ good day. when something!!! happens....", " =!./\n-,"); #print manipulate; # add words to list from html content #manipulate.detag("<!DOCTYPE html> <body> Hi there my name is well you know what it is it is </body> regular person"); #print manipulate # removes character: #manipulate.remove_char("i"); #print manipulate; # removes multiple character: #manipulate.remove_char("it"); #print manipulate; # removes word #manipulate.remove_words("After"); #print manipulate; # removes multiple word #manipulate.remove_words("After there he"); #print manipulate; # removes word with specfied character #manipulate.remove_words_with_char("h"); #print manipulate; # replaces word #manipulate.replace_word("After", "abc"); #print manipulate; # remove repeated words #manipulate.remove_repeats(); #print manipulate;
UTF-8
Python
false
false
2,014
2,156,073,599,821
525af838df69a2a92861bb1faaf2867222a225ec
d88e79d82ef37bc060c915baa29136c3e8acd61f
/test/test_api.py
c571b98c1abbf6f7d099a68c13c44f5bdea2981d
[]
no_license
koolhead17/hypernotes
https://github.com/koolhead17/hypernotes
7f6085c8ad6be321cbc3dd1a1f97853b26da4fa8
43073d2cc3503b5f0c6ef50411b66aa362e53459
refs/heads/master
2016-10-12T01:47:11.044708
2011-08-09T11:48:55
2011-08-09T11:48:55
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import json from hypernotes import web from hypernotes import logic TESTDB = 'hypernotes-test' class TestApi(object): @classmethod def setup_class(cls): web.app.config['ELASTIC_SEARCH_HOST'] = '127.0.0.1:9200' web.app.config['ELASTIC_DB'] = TESTDB logic.init_db() cls.app = web.app.test_client() cls.make_fixtures() @classmethod def teardown_class(cls): conn, db = logic.get_conn() conn.delete_index(TESTDB) @classmethod def make_fixtures(self): self.username = u'tester' inuser = { 'id': self.username, 'fullname': 'The Tester' } indata = { 'title': 'My New Note', 'body': '## Xyz', 'tags': ['abc', 'efg'], 'owner': self.username } self.app.post('/api/v1/user', data=json.dumps(inuser)) out = self.app.post('/api/v1/note', data=json.dumps(indata)) self.note_id = json.loads(out.data)['id'] self.thread_name = 'default' inthread = { 'name': self.thread_name, 'title': 'My Test Thread', 'description': 'None at the moment', 'notes': [ self.note_id ], 'owner': self.username } out = self.app.post('/api/v1/thread', data=json.dumps(inthread)) self.thread_id = json.loads(out.data)['id'] def test_user(self): res = self.app.get('/api/v1/user/%s' % self.username) data = json.loads(res.data) assert data['fullname'] == 'The Tester', data def test_note(self): res = self.app.get('/api/v1/note/%s' % self.note_id) assert res.status_code == 200, res.status data = json.loads(res.data) assert data['body'] == '## Xyz', data def test_note_search_no_query(self): res = self.app.get('/api/v1/note?q=') assert res.status_code == 200, res.status data = json.loads(res.data) count = data['result']['hits']['total'] assert count == 1, count def test_note_search_2_basic_text(self): res = self.app.get('/api/v1/note?q=new') assert res.status_code == 200, res.status data = json.loads(res.data) count = data['result']['hits']['total'] assert count == 1, count def test_note_search_3_should_not_match(self): res = self.app.get('/api/v1/note?q=nothing-that-should-match') assert res.status_code == 200, res.status data = json.loads(res.data) count = data['result']['hits']['total'] assert count == 0, count def test_thread(self): res = self.app.get('/api/v1/thread/%s' % self.thread_id) assert res.status_code == 200, res.status data = json.loads(res.data) assert data['title'] == 'My Test Thread', data res = self.app.get('/api/v1/%s/thread/%s' % (self.username, self.thread_name), follow_redirects=True) assert res.status_code == 200, res.status data = json.loads(res.data) assert data['title'] == 'My Test Thread', data def test_thread_update(self): id_ = 'testupdate' indata = { 'id': id_, 'title': 'Abc' } res = self.app.post('/api/v1/thread', data=json.dumps(indata)) indata2 = { 'id': id_, 'title': 'Xyz' } res = self.app.put('/api/v1/thread/%s' % id_, data=json.dumps(indata2)) out = logic.Thread.get(id_) assert out['title'] == 'Xyz', out
UTF-8
Python
false
false
2,011
10,033,043,627,914
6fb8583375ab7029d3863fe4757cd2bb0d90ee1f
8ab66dcf8e91734d730f7799839ceddfa289b4cd
/barnacle-1.0.0/src/parsers/genes/ensembl.py
619010af380aafc6d9b30e3e22d36a809e4f94b6
[]
no_license
ptraverse/gsc
https://github.com/ptraverse/gsc
7bbbe67652575b5e7d3ca68e85a213fd7536125d
21e6b699f91cf9604f973d51745c3975cbd8e22c
refs/heads/master
2021-01-23T17:58:50.910026
2013-01-03T09:06:05
2013-01-03T09:06:05
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
""" ensembl.py Created by Readman Chiu Edited by Lucas Swanson Copyright (c) 2012 Canada's Michael Smith Genome Sciences Centre. All rights reserved. """ import transcript from optparse import OptionParser import os, re #for ensGene.txt from UCSC fields_a = {1:"name", 2:"chrom", 3:"strand", 4:"txStart", 5:"txEnd", 6:"cdsStart", 7:"cdsEnd", 8:"exonCount", 9:"exonStarts", 10:"exonEnds", 12:"alias"} #for ensGene_ref.txt created in-house fields_b = {0:"name", 2:"chrom", 3:"strand", 4:"txStart", 5:"txEnd", 6:"cdsStart", 7:"cdsEnd", 8:"exonCount", 9:"exonStarts", 10:"exonEnds", 16:"alias"} def set_fields(file=None, line=None): sep = name_field = None fields = fields_a #determine which ensGene file it is if file: for l in open(file, 'r'): line = l break if line: if line[:3].lower() != 'ens': fields = fields_a sep = "\t" name_field = 1 else: fields = fields_b sep = " " name_field = 0 return sep, name_field, fields def parse(file): txts = [] sep, name_field, fields = set_fields(file=file) for line in open(file, 'r'): cols = line.rstrip("\n").split(sep) if cols[0]: txt = transcript.Transcript(cols[name_field]) for i in range(len(cols)): if i in fields: if fields[i] == 'chrom' and cols[i][:3] != 'chr': cols[i] = 'chr' + cols[i] if i <= 10 or i == 16 or i == 12: setattr(txt, fields[i], cols[i]) exonStarts = cols[9].rstrip(',').split(',') exonEnds = cols[10].rstrip(',').split(',') txt.exons = [] for e in range(len(exonStarts)): #start+1: seems necessary at least for mouse ensembl file txt.exons.append([int(exonStarts[e])+1, int(exonEnds[e])]) #calculate transcript length for coverage for exon in txt.exons: txt.length += int(exon[1]) - int(exon[0]) + 1 #print txt.name, txt.exonCount, txt.length, txt.exons[0] txts.append(txt) return txts def parse_line(line): sep, name_field, fields = set_fields(line=line) cols = line.rstrip("\n").split(sep) if sep and len(cols) > 1: txt = transcript.Transcript(cols[name_field]) for i in range(len(cols)): if i in fields: if fields[i] == 'chrom' and cols[i][:3] != 'chr': cols[i] = 'chr' + cols[i] if i <= 10 or i == 16 or i == 12: setattr(txt, fields[i], cols[i]) exonStarts = cols[9].rstrip(',').split(',') exonEnds = cols[10].rstrip(',').split(',') txt.exons = [] for e in range(len(exonStarts)): txt.exons.append([int(exonStarts[e])+1, int(exonEnds[e])]) #calculate transcript length for coverage for exon in txt.exons: txt.length += int(exon[1]) - int(exon[0]) + 1 return txt return None def index(input, output): sep, name_field, fields = set_fields(file=input) indices = {} data_file = os.path.abspath(input) line_num = 1 for line in open(input, 'r'): cols = line.rstrip().split(sep) start = int(int(cols[4])/1000) end = int(int(cols[5])/1000) target = cols[2] if not re.match('^(chr|scaffold)', target, re.IGNORECASE): target = 'chr' + target #print cols[0],target,start,end for n in range(start,end+1): index = ':'.join((target,str(n))) value = str(line_num) if not indices.has_key(index): indices[index] = [value] else: indices[index].append(value) line_num += 1 index_file = open(output, 'w') for index in sorted(indices.keys()): index_file.write(' '.join((index, ','.join(indices[index]))) + "\n") def output(txts, outfile): fields = fields_a list_size = int(fields.keys()[-1])+1 field_idx = {} for idx, field in fields.iteritems(): if field in ('exonStarts', 'exonEnds', 'exonCount'): field_idx[field] = idx out = open(outfile, 'w') for i in range(len(txts)): txt = txts[i] data = [] for idx in range(list_size): data.append('NA') for idx, field in fields.iteritems(): try: value = getattr(txt, field) except AttributeError: continue else: data[idx] = str(value) data[0] = str(i) data[field_idx['exonStarts']] = ','.join([str(int(i[0])-1) for i in txt.exons]) data[field_idx['exonEnds']] = ','.join([str(i[1]) for i in txt.exons]) data[field_idx['exonCount']] = str(len(txt.exons)) out.write('\t'.join(data) + '\n') out.close() if __name__ == '__main__': usage = "Usage: %prog annotation-file" parser = OptionParser(usage=usage) parser.add_option("-i", "--index", dest="index", help="index output file") (options, args) = parser.parse_args() if options.index: index(args[0], options.index)
UTF-8
Python
false
false
2,013
10,170,482,569,770
9fe0ecc6438502ba1baa363a7adb9dd9e18e3a08
8c8a50c1c3b01ec920184506eee31bee9165b208
/w7/logicpuzzle.py
7b3d6f589035a55eb05adf5fca560d04fa9616e0
[]
no_license
likhtal/CS212
https://github.com/likhtal/CS212
b9231337192dc3627c258da83ffe6e6a51ac5dcf
1968afd8a9757de9f19f00b12973fd0e773964af
refs/heads/master
2016-09-07T20:29:10.800748
2012-06-22T18:54:06
2012-06-22T18:54:06
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
""" UNIT 2: Logic Puzzle You will write code to solve the following logic puzzle: 1. The person who arrived on Wednesday bought the laptop. 2. The programmer is not Wilkes. 3. Of the programmer and the person who bought the droid, one is Wilkes and the other is Hamming. 4. The writer is not Minsky. 5. Neither Knuth nor the person who bought the tablet is the manager. 6. Knuth arrived the day after Simon. 7. The person who arrived on Thursday is not the designer. 8. The person who arrived on Friday didn't buy the tablet. 9. The designer didn't buy the droid. 10. Knuth arrived the day after the manager. 11. Of the person who bought the laptop and Wilkes, one arrived on Monday and the other is the writer. 12. Either the person who bought the iphone or the person who bought the tablet arrived on Tuesday. You will write the function logic_puzzle(), which should return a list of the names of the people in the order in which they arrive. For example, if they happen to arrive in alphabetical order, Hamming on Monday, Knuth on Tuesday, etc., then you would return: ['Hamming', 'Knuth', 'Minsky', 'Simon', 'Wilkes'] (You can assume that the days mentioned are all in the same week.) """ import itertools def logic_puzzle(): "Return a list of the names of the people, in the order they arrive." ## your code here; you are free to define additional functions if needed # return ['Wilkes', 'Simon', 'Knuth', 'Hamming', 'Minsky'] days = mon, tue, wed, thu, fri = [1, 2, 3, 4, 5] orderings = list(itertools.permutations(days)) gen = (dict([(h, "Hamming"), (k,"Knuth"), (m,"Minsky"), (s,"Simon"), (w, "Wilkes")]) for (h, k, m, s, w) in orderings if k == s + 1 for (programmer, writer, manager, designer, _) in orderings if (programmer is not w) and (writer is not m) and (designer is not thu) and (k == manager + 1) and (writer is not mon) for (laptop, droid, tablet, iphone, _) in orderings if (laptop is wed) and (tablet is not fri) and (w is not laptop) and (set([programmer, droid]) == set([w, h])) and (programmer is not droid) and (manager is not k and manager is not tablet) and (designer is not droid) and (set([w, laptop]) == set([mon, writer])) and (iphone is tue or tablet is tue)) result = next(gen) return [result[key] for key in range(1,6)] print logic_puzzle()
UTF-8
Python
false
false
2,012
14,800,457,340,020
7bd281ab8753ced41145b2a3e7a8af86e31a70ad
9fffb8d0539a27722695ee1bf77afda2255f4120
/Python Codes/Project 04.py
6610fb275549666fc9f87c4eff1d7c1a2e9c9205
[]
no_license
mukasama/portfolio
https://github.com/mukasama/portfolio
fdde5f1b022cc3d7b5abf1c35e170ad9f5d3f401
92e1d231f76ad7473a2318da87e8b3817a9e4e5b
refs/heads/master
2016-09-07T15:41:07.331327
2014-10-19T17:53:42
2014-10-19T17:53:42
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# Section 09 # 10/ 08/ 2012 # Project 04 import turtle turtle.goto(100,0) # Function draw_rectangle, draws a rectangle with desginated lenght and height which then fills in the color(s). def draw_rectangle(length,height,color): turtle.pendown() turtle.color(get_color(color)) turtle.begin_fill() turtle.right(90) turtle.forward(length) turtle.right(90) turtle.forward(height) turtle.right(90) turtle.forward(length) turtle.right(90) turtle.forward(height) turtle.end_fill() turtle.penup() # Function draw_rectangle2 draws the outline of the rectangle with same lenght along with the desginated lenght, height and color. def draw_rectangle2(length,height,color): turtle.pendown() turtle.color(get_color(color)) turtle.right(90) turtle.forward(length) turtle.right(90) turtle.forward(height) turtle.right(90) turtle.forward(length) turtle.right(90) turtle.forward(height) turtle.penup() # The get_color function is used to determine red, blue and white colors from a parameter color sting. def get_color(color): if color == "red": return 1,0,0 if color == "blue": return 0,0,1 if color == "white": return 1,1,1 if color == "black": return 0,0,0 # Draw_star function draws a star with desginated angles and lengths which then fills it with the color. def draw_star(size, color): turtle.pendown() turtle.begin_fill() turtle.color(1,1,1) turtle.forward(2.5) turtle.left(size) turtle.forward(2.5) turtle.right(144) turtle.forward(2.5) turtle.left(size) turtle.forward(2.5) turtle.right(144) turtle.forward(2.5) turtle.left(size) turtle.forward(2.5) turtle.right(144) turtle.forward(2.5) turtle.left(size) turtle.forward(2.5) turtle.right(144) turtle.forward(2.5) turtle.left(size) turtle.forward(2.5) turtle.right(144) turtle.end_fill() turtle.penup() # draw_flag is a function that draws a fag of a certain heing. def draw_flag(height): size = 72 color = "white" # Letters "a" is just a variable I choose to complete my formula to draw the small blue rectangle. for a in range(7): turtle.speed(100) turtle.down() draw_rectangle(height/13,height*1.9,"red") turtle.right(90) turtle.forward((height/13)*2) turtle.left(90) draw_rectangle(height, height*1.9, "white") turtle.goto(100,0) draw_rectangle2(height,324,"black") turtle.goto(-93.5, 0) draw_rectangle(height*.5385,height*.76, "blue") # Letters b, c, d, e, f, g, h, i, j, k are just variables I choose to complete my formula to draw the 50 stars. turtle.goto(-218,-6) for c in range(6): draw_star(size, 'white') turtle.forward(22) turtle.goto(-209,-16) for d in range(5): draw_star(size, 'white') turtle.forward(23) turtle.goto(-218,-26) for e in range(6): draw_star(size, 'white') turtle.forward(22) turtle.goto(-209,-36) for f in range(5): draw_star(size, 'white') turtle.forward(23) turtle.goto(-218,-46) for g in range(6): draw_star(size, 'white') turtle.forward(22) turtle.goto(-209,-56) for h in range(5): draw_star(size, 'white') turtle.forward(23) turtle.goto(-218,-66) for i in range(6): draw_star(size, 'white') turtle.forward(22) turtle.goto(-209,-76) for j in range(5): draw_star(size, 'white') turtle.forward(23) turtle.goto(-218,-86) for k in range(6): draw_star(size, 'white') turtle.forward(22) draw_flag(170)
UTF-8
Python
false
false
2,014
9,259,949,530,741
037482b2f1a965d3d7f20a037f1fd8166cefd5e6
83aa3050fe8c3467a9eb6005c5804fbab9497379
/merchant/urls.py
f676e5690fc11058167dcca5e8b9a30453d7657f
[]
no_license
igorlebovic/Mobile-Order-Placement
https://github.com/igorlebovic/Mobile-Order-Placement
28e6ab94e5d6359c69997468e290196716addd5a
0064c4c96faf9d5a53769d4ec179f9c96bbf1070
refs/heads/master
2016-08-03T09:35:04.184759
2011-03-05T07:22:59
2011-03-05T07:22:59
1,429,277
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from django.conf.urls.defaults import * urlpatterns = patterns('speeqeweb.merchant.views', (r'^(?P<venue_id>[\d]+)-(?P<venue_slug>[-\w]+)/$', 'merchant_home'), (r'^menu/(?P<venue_id>[\d]+)/$', 'merchant_menu'), (r'^pos/(?P<venue_id>[\d]+)/$', 'pos'), (r'^pos2/(?P<venue_id>[\d]+)/$', 'pos2'), (r'^login/(?P<error_type>[\d]+)/$', 'login'), (r'^manageorder/(?P<product_slug>[-\w]+)/$', 'manageorder'), (r'^manageorder2/(?P<product_slug>[-\w]+)/$', 'manageorder2'), (r'^manageorder3/(?P<product_slug>[-\w]+)/$', 'manageorder3'), )
UTF-8
Python
false
false
2,011
13,159,779,829,639
cec712bbde54b52b0a0b67e1a9af60c8bc902fa3
4d31c9548777356e4fca0303f09df311d6df352e
/lib/data/symbol.py
72b35d4f01111c3ef02cd28474b29de6a89903bc
[]
no_license
enki-labs/heck
https://github.com/enki-labs/heck
021421ec3df60b952ae472b838e10d8c8cb63e33
5e9d3c1559e54087d1f83507e25ed891e4649695
refs/heads/master
2021-01-10T19:31:06.706602
2014-04-26T14:22:17
2014-04-26T14:22:17
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
""" Instrument class accessing metadata, mappings etc. """ from lib import common from lib import schema def get_reuters (symbol): """ Get an instrument using a Reuters symbol """ symbol_resolve = schema.table.symbol_resolve args = and_(symbol_resolve.columns.symbol==symbol, symbol_resolve.columns.source=="reuters") matches = schema.select(symbol_resolve, args) if matches.rowcount == 0: raise Exception("Cannot map Reuters instrument %s" % symbol) return Series(matches.fetchone()[2]) def get (symbol, create): """ Get symbol definition """ symbol_instance = schema.select_one("symbol", schema.table.symbol.symbol==symbol) if symbol_instance: return symbol_instance elif create: symbol_instance = schema.table.symbol() symbol_instance.symbol = symbol return symbol_instance else: raise Exception("Unknown symbol (%s)", symbol)
UTF-8
Python
false
false
2,014
14,139,032,373,315
975a62f63da8ece923d0d3770343280bdbecf874
6be742824b1f4dd5f87b6afc63d823ad984c22e3
/tests/__init__.py
fec3b79eb679e0547d5d34218b0aea99ef724534
[ "AGPL-3.0-only" ]
non_permissive
BlackFlagConsortium/makershop
https://github.com/BlackFlagConsortium/makershop
d584c423aa9ad06c51ff772d5e25dbbaa21bf555
01bfb465538f28bbe20489887355af6c0bb4a5c1
refs/heads/master
2021-01-10T21:18:44.391962
2013-11-06T19:47:34
2013-11-06T19:47:34
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import pprint import unittest from flask import json from makershop import create_app from makershop.models import db from .factories import UserFactory class MakershopTestCase(unittest.TestCase): def setUp(self): #db.create_all(app=create_app()) self.app = create_app() self.app.debug = True #self.client = self.app.test_client() with self.app.test_request_context(): db.drop_all() db.create_all() self.client = self.app.test_client() def tearDown(self): with self.app.test_request_context(): db.drop_all() def assert_api_error(self, response, status_code, message): if response.status_code != status_code: raise AssertionError( "HTTP Status: {actual} !== {expected}".format( actual=response.status_code, expected=status_code, ) ) if json.loads(response.data) != {'message': message}: raise AssertionError( 'returned JSON:\n\nGot: {}\n\nExpected: {}'.format( response.data.decode('utf-8'), json.dumps({'message': message}) ) ) class UserLoggedIn(MakershopTestCase): def setUp(self): super().setUp() self.client = self.app.test_client() with self.app.test_request_context(): self.user = UserFactory.create(password='foo') self.client.post( '/user/login/', data={ 'username': self.user.email, 'password': 'foo', } )
UTF-8
Python
false
false
2,013
4,200,478,039,695
989550166ca2d2f958d8c32743ab3da089fc5d1f
f4efd48507a830a0c1248393947ce5a74644bf28
/scripts/train_test_split.py
4771bd7788aee4613346cbe815966ea5ee66de7a
[]
no_license
pschulam-attic/ulm
https://github.com/pschulam-attic/ulm
25bfdfa947be3dfe96a005b224a4bb6862be54de
9f77ab18de2c9a5f18cc7b8daa944e58ed8c1e45
refs/heads/master
2016-09-06T17:19:47.952537
2013-05-09T17:21:39
2013-05-09T17:21:39
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import argparse import random import sys def main(): parser = argparse.ArgumentParser() parser.add_argument('-p', help='Percentage of data for training', type=float) parser.add_argument('--train', help='Write the training data to this file', default='train.txt') parser.add_argument('--test', help='Write the test data to this file', default='test.txt') parser.add_argument('--seed', help='Random seed (a string)', default='split') args = parser.parse_args() data = [l.strip() for l in sys.stdin if l.strip()] random.seed(args.seed) train_set = set(random.sample(xrange(len(data)), int(args.p * len(data)))) with open(args.train, 'w') as train, open(args.test, 'w') as test: for i, d in enumerate(data): stream = train if i in train_set else test stream.write(d + '\n') if __name__ == '__main__': main()
UTF-8
Python
false
false
2,013
12,292,196,416,134
f622e338359c699204218cd6a1ac9f5e330bed8c
5f3dccbac5179b500054add89744220591ce838f
/client.py
3b0bd8e2968bc86f97b664900e4a1ee3e70844fa
[]
no_license
f-prime/IonicBackup
https://github.com/f-prime/IonicBackup
23cb1e49c45799a5a5c86a4216817f5dca1f51e5
17b467bfcfe41b959c1c0ace3d3d4627531ae2f4
refs/heads/master
2021-05-27T16:28:35.642015
2013-04-05T00:40:13
2013-04-05T00:40:13
8,789,289
4
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import socket, os, time, sys, thread, getpass, hashlib class IonicClient: def __init__(self, ip, port, username, password): self.ip = ip self.port = port self.username = hashlib.sha256(username).hexdigest() self.password = hashlib.sha256(password).hexdigest() self.dirs = [] self.files = {} for x,y,z in os.walk(os.getcwd()): for b in z: if b == sys.argv[0]: continue with open(x+"/"+b, 'rb') as file: self.files[b.strip("/")] = hash(file.read()) def main(self): while True: try: time.sleep(1) stuff = self.list().split(":") try: dir = eval(stuff[0]) except SyntaxError: print "\nLogin Failed" break file = eval(stuff[1]) for x in dir: if not os.path.exists(x.strip("/")): os.mkdir(x.strip("/")) self.dirs.append(x) for x in file: if not os.path.exists(x) and x not in self.files: self.get(x) with open(x, 'rb') as f: self.files[x] = hash(f.read()) if not os.path.exists(x) and x in self.files: self.delete(x) del self.files[x] for x,y,z in os.walk(os.getcwd()): for d in y: direc = x.strip(os.getcwd())+"/"+d direc = direc.strip("/") if direc not in self.dirs: self.dirs.append(direc) if direc not in dir: self.senddir(direc) for f in z: file_c = x +"/"+ f file_c = file_c.replace(os.getcwd(), '').strip("/") if file_c == sys.argv[0]: continue if file_c in self.files and file_c not in file: self.send(file_c) elif file_c not in self.files and file_c not in file: with open(file_c, 'rb') as f: self.files[file_c] = hash(f.read()) self.send(file_c) elif file_c in self.files and file_c in file: with open(file_c, 'rb') as f: if hash(f.read()) != self.files[file_c]: self.send(file_c) with open(file_c, 'rb') as f: self.files[file_c] = hash(f.read()) except Exception, error: print error print "\n Could not connect to server, trying again." time.sleep(1) def senddir(self, direc): senddir = socket.socket() try: senddir.connect((self.ip, self.port)) except: print "Could not connect to server." send = "senddir {0} {1} {2}".format(direc, self.username, self.password) senddir.send(send) senddir.close() def list(self): list = socket.socket() try: list.connect((self.ip, self.port)) except: print "Could not connect to server." send = "list {0} {1}".format(self.username, self.password) list.send(send) data = '' while True: d = list.recv(1024) data = data + d if not d: break return data list.close() def send(self, file): print "sending", file send = socket.socket() send.connect((self.ip, self.port)) sends = "send {0} {1} {2}\r\n\r\n".format(file, self.username, self.password) send.send(sends) with open(file, 'rb') as file_: for x in file_.readlines(): send.send(x) print "Done sending", file send.close() def get(self, file): print "Downloading", file get = socket.socket() try: get.connect((self.ip, self.port)) except: print "Could not connect to server" send = "get {0} {1} {2}".format(file, self.username, self.password) get.send(send) with open(file, 'wb') as name: while True: data = get.recv(1024) if not data: print "Done downloading", file get.close() break name.write(data) def delete(self, file): if file == sys.argv[0]: print "You can not delete Ionic Backup Client" else: try: os.remove(file) except: print "File doesn't exist" delete = socket.socket() try: delete.connect((self.ip, self.port)) except: print "Could not connect to server." send = "del {0} {1} {2}".format(file, self.username, self.password) delete.send(send) delete.close() def delete_dir(self, file): try: os.rmdir(file) except: print "Directory doesn't exist" deldir = socket.socket() try: deldir.connect((self.ip, self.port)) except: print "Could not connect to server." send = "deldir {0} {1} {2}".format(file, self.username, self.password) deldir.send(send) deldir.close() def shell(ip, port, username, password): while True: cmd = raw_input("IonicShell> ") if cmd == "help": print """ rm <file> - Deletes a file on the server and locally. rmdir <dir> - Deletes a directory on the server and locally. ls - Returns all the files on the server. """ elif cmd.startswith("rm "): cmd = cmd.split()[1] IonicClient(ip, port, username, password).delete(cmd) elif cmd.startswith("rmdir "): cmd = cmd.split()[1] IonicClient(ip, port, username, password).delete_dir(cmd) elif cmd == "ls": stuff = IonicClient(ip, port, username, password).list().split(":") print "Directories: \n"+'\n'.join(eval(stuff[0])) print "\n" print "Files: \n"+'\n'.join(eval(stuff[1])) if __name__ == "__main__": try: ip = sys.argv[1] port = int(sys.argv[2]) except IndexError: print "Usage: python client.py <ip> <port>" else: username = raw_input("Username: ") password = getpass.getpass("Password: ") thread.start_new_thread(shell, (ip, port, username, password)) IonicClient(ip, port, username, password).main()
UTF-8
Python
false
false
2,013
18,528,488,934,689
7a6929f42659f7250da041793911e80342ef94a9
975e70f89e54e91adc00f1028183011f6a9a37fd
/Software Debugging/fuzzing.py
5bae71e90f61335351740d89f3d47776f1bd18e9
[]
no_license
marceldallagnol/short-programs
https://github.com/marceldallagnol/short-programs
953ca21a71a0a1ada6c85e05ad416c8049983a28
9a5fd1f1f92d4789e43c81b8953cb9770a08e1b5
refs/heads/master
2021-05-27T23:03:32.965876
2012-09-15T23:42:28
2012-09-15T23:42:28
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from subprocess import call from datetime import datetime from random import randrange from shutil import copy for i in range(100000): test = list(open('front_base.pdf','rb').read()) test[randrange(len(test))] = '%c' % randrange(256) test = ''.join(test) front = open('front.pdf', 'w') front.write(test) front.close() call('pdftk front.pdf background back.pdf output out.pdf'.split()) copy('front.pdf', str(i) + '_' + str(datetime.now())) print i
UTF-8
Python
false
false
2,012
18,897,856,114,293
c0cd10b877e2bca6ebb83dd21e6541375a29c55e
64369aee9ec21d0bcc59afb345069ad7168dada4
/model/book.py
ac2f9664688be6dd2a800f9883c0ec84610dd5fd
[]
no_license
nair13/Molurus
https://github.com/nair13/Molurus
ab313f02dc21d68e98c0014ce5cc4c4a11981fed
5c71151b0e435f0caa34faacaf2e18c98e5ab831
refs/heads/master
2016-09-10T20:24:48.633580
2014-07-02T14:57:21
2014-07-02T14:57:21
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# -*- coding: utf-8 -*- import fileops as op def list_books(db,conf): book = "%s_book"%conf.db_pre books = db.select(book) return books def add_book(db,conf,i): book = "%s_book"%conf.db_pre db.insert(book, book_title = i.book_title, book_author = i.book_author, book_category = i.book_category, book_count = i.book_count) def issue_book(db,conf,i): transact = "%s_transact"%conf.db_pre cur = op.curr_date() db.insert(transact, book_id = id(i.book_id), user_id = i.user_id, issue_date = cur, return_date = cur, due_date = i.due_date)
UTF-8
Python
false
false
2,014
4,629,974,758,612
46ec9067d736d46b27c6db1398f5ff3238a42fc6
6bf31679387a3cbd40cde69aa63dd685a9f03662
/dirt/django.py
db5f742c93a2eb5760a118a5e7e5b34db25789b3
[ "BSD-2-Clause" ]
permissive
joelcrocker/dirt
https://github.com/joelcrocker/dirt
bc7d409b2f88c4f57dee9f498e0d2b2c29a0cddc
70150add2b58f5040e242ad97d052910b6a66646
refs/heads/master
2021-01-16T21:01:57.283605
2013-02-05T00:38:04
2013-02-05T00:38:04
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from __future__ import absolute_import import logging from django.core.handlers.wsgi import WSGIHandler as DjangoWSGIApp from django.conf import settings from gevent.wsgi import WSGIServer import gevent from .app import DirtApp class DjangoApp(DirtApp): log = logging.getLogger(__name__) def setup(self): self.application = DjangoWSGIApp() if self.settings.DEBUG: from werkzeug import DebuggedApplication self.application = DebuggedApplication(self.application, evalex=True) settings.get_api = self.settings.get_api self.server = WSGIServer(self.settings.http_bind, self.application, log=None) def serve_dirt_rpc(self): """ Calls ``DirtApp.serve`` to start the RPC server, which lets callers use the debug API. """ if getattr(self.settings, "bind_url", None) is None: self.log.info("no `bind_url` specified; RPC server not starting.") return DirtApp.serve(self) def serve(self): self.api_thread = gevent.spawn(self.serve_dirt_rpc) self.log.info("Starting server on http://%s:%s...", *self.settings.http_bind) self.server.serve_forever() def get_api(self, *args, **kwargs): """ The DjangoApp returns an empty API object by default so that tab completion of the API will work. Feel free to override this method. """ return object()
UTF-8
Python
false
false
2,013
10,660,108,851,044
1e14f9b23cf4016cc3ef224f114a60ac918cf69c
98096fce6b6e05d10b3fc3c979afafe8d6aa54f5
/cerberos/admin.py
f6e427d21273e0dbc236037a41768914d084deef
[ "BSD-3-Clause" ]
permissive
AdrianRibao/cerberos
https://github.com/AdrianRibao/cerberos
eec4b15f897fbc349dd22db1ca404a089dc35426
25c1878ca14a1d1ac90315029e74c6e2f9cf8bd6
refs/heads/master
2021-01-25T08:42:43.147364
2014-06-04T12:20:49
2014-06-04T12:21:24
6,059,635
1
1
null
false
2013-01-11T10:27:50
2012-10-03T12:20:41
2013-01-10T12:30:04
2013-01-10T12:30:03
160
null
1
2
Python
null
null
# -*- coding: utf-8 -*- from django.contrib import admin from cerberos.models import FailedAccessAttempt from django.utils.translation import ugettext as _ class FailedAccessAttemptAdmin(admin.ModelAdmin): date_hierarchy = 'created' list_display = [ 'ip_address', 'username', 'locked', 'expired', 'user_agent', 'failed_logins', 'get_time_to_forget_text', 'site', ] list_filter = [ 'locked', 'expired', 'site', ] search_fields = [ 'ip_address', 'username', 'user_agent', ] fieldsets = ( ('Main data', { 'fields': ('site', 'ip_address', 'username', 'locked', 'expired', 'failed_logins', ) }), ('Data recollected', { #'classes': ('collapse',), 'fields': ('user_agent', 'get_data', 'post_data', 'http_accept', 'path_info',) }), ) actions = ['lock', 'unlock'] def lock(self, request, queryset): queryset.update(locked=True) lock.short_description = _(u'Lock the users') def unlock(self, request, queryset): queryset.update(locked=False) unlock.short_description = _(u'Unlock the users') admin.site.register(FailedAccessAttempt, FailedAccessAttemptAdmin)
UTF-8
Python
false
false
2,014
14,336,600,864,901
8f988c53d4bdb3a51de19673f5a74305d4df3c15
d115cf7a1b374d857f6b094d4b4ccd8e9b1ac189
/tags/pyplusplus_dev_1.0.0/unittests/transfer_ownership_old_tester.py
7883a27035a915920e279dfbf359e28931357e53
[ "BSL-1.0" ]
permissive
gatoatigrado/pyplusplusclone
https://github.com/gatoatigrado/pyplusplusclone
30af9065fb6ac3dcce527c79ed5151aade6a742f
a64dc9aeeb718b2f30bd6a5ff8dcd8bfb1cd2ede
refs/heads/master
2016-09-05T23:32:08.595261
2010-05-16T10:53:45
2010-05-16T10:53:45
700,369
4
2
null
null
null
null
null
null
null
null
null
null
null
null
null
# Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) import os import sys import unittest import fundamental_tester_base from pyplusplus import code_creators from pyplusplus.module_builder import call_policies from pyplusplus import function_transformers as ft impl_conv_code = \ """ boost::python::implicitly_convertible< std::auto_ptr< %(from)s >, std::auto_ptr< %(to)s > >(); """ register_sptr = \ """ boost::python::register_ptr_to_python< %s >(); """ class tester_t(fundamental_tester_base.fundamental_tester_base_t): EXTENSION_NAME = 'transfer_ownership_old' def __init__( self, *args ): fundamental_tester_base.fundamental_tester_base_t.__init__( self , tester_t.EXTENSION_NAME , *args ) def customize( self, mb ): event_clss = mb.classes( lambda cls: cls.name in ( 'event_t', 'do_nothing_t' ) ) for cls in event_clss: cls.exposed_class_type = cls.EXPOSED_CLASS_TYPE.WRAPPER cls.held_type = 'std::auto_ptr< %s >' % cls.wrapper_alias cls.add_registration_code( register_sptr % 'std::auto_ptr< %s >' % cls.decl_string, False ) cls.add_registration_code( impl_conv_code % { 'from' : cls.wrapper_alias , 'to' : cls.decl_string } , False) for base in cls.recursive_bases: if base.access_type == 'public': cls.add_registration_code( #from class to its base impl_conv_code % { 'from' : cls.decl_string , 'to' : base.related_class.decl_string } , False) cls.add_registration_code( #from wrapper to clas base class impl_conv_code % { 'from' : cls.wrapper_alias , 'to' : base.related_class.decl_string } , False) simulator = mb.class_( 'simulator_t' ) simulator.mem_fun( 'get_event' ).call_policies \ = call_policies.return_internal_reference() schedule = mb.mem_fun( 'schedule' ) schedule.add_transformation( ft.transfer_ownership(0), alias='schedule' ) def run_tests( self, module): class py_event_t( module.event_t ): def __init__( self, container ): module.event_t.__init__( self ) self.container = container def notify( self ): print 'notify' self.container.append( 1 ) print '1 was append' print 'test started' notify_data = [] simulator = module.simulator_t() print 'simulator created' event = py_event_t( notify_data ) print 'py_event_t created: ', id( event ) simulator.schedule( event ) print 'event was shceduled' print 'event refcount: ', sys.getrefcount( event ) print 'simulator refcount: ', sys.getrefcount( simulator ) #~ del event print 'event was deleted' event = simulator.get_event() print 'event was restored via saved reference in simulator: ', id( event ) print 'event refcount: ', sys.getrefcount( simulator.get_event() ) print 'call event.notify(): ', simulator.get_event().notify() print 'call simulator.run()' simulator.run() self.failUnless( notify_data[0] == 1 ) def create_suite(): suite = unittest.TestSuite() suite.addTest( unittest.makeSuite(tester_t)) return suite def run_suite(): unittest.TextTestRunner(verbosity=2).run( create_suite() ) if __name__ == "__main__": run_suite()
UTF-8
Python
false
false
2,010
15,350,213,132,505
bd3f846a51bf1c46eaec913cd7ebc30ca017236a
66fcdc7a97ad8979c8fddddf8a7d5ce0727bc486
/src/test.py
72bb5b157e814a3f3f6edaaa238ec4342b54c030
[ "MIT" ]
permissive
rflynn/radixtree
https://github.com/rflynn/radixtree
f61a4c74a7c7ba9704e5d539361b177b18d12273
398b71157e83e994c59fa88bcabfd8ebcac52017
refs/heads/master
2016-09-05T19:28:17.076752
2014-03-08T22:32:18
2014-03-08T22:32:18
3,547,109
1
0
null
null
null
null
null
null
null
null
null
null
null
null
null
# ex: set ts=4 et: from radixtree import RadixTree, URLTree RadixTree.test() URLTree.test()
UTF-8
Python
false
false
2,014
13,099,650,268,405
bc115d46c27758e706498234519b250073c8c303
65ac1849fad78cc8effe46bf3aa6df0a8fb39058
/triangle/test.py
22dbd69a2be2264f9290439b7232db26c3e29638
[]
no_license
thylm55/ktpm2013
https://github.com/thylm55/ktpm2013
97d827ffcadc1acb770dba4e14caf5e5e76785ce
f7ea72368c4e8c2bd30681dff71766987ee75d1c
refs/heads/master
2016-09-06T11:04:47.768403
2013-10-19T17:30:06
2013-10-19T17:30:06
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
OUTPUT01 = 'equilateral triangle' OUTPUT02 = 'isosceles right triangle' OUTPUT03 = 'right triangle' OUTPUT04 = 'isosceles triangle' OUTPUT05 = 'triangle' OUTPUT06 = 'not identified' import unittest import math from triangle import detect_triangle class TriangleTest(unittest.TestCase): # classification test cases # equilateral triangle def test01a(self): result = detect_triangle(3, 3, 3) self.assertEqual(result, OUTPUT01) def test01b(self): result = detect_triangle(2**32-1, 2**32-1, 2**32-1) self.assertEqual(result, OUTPUT01) def test01c(self): result = detect_triangle(1e-30, 1e-30, 1e-30) self.assertEqual(result, OUTPUT01) # isosceles right triangle def test02a(self): result = detect_triangle(2, 2, math.sqrt(8)) self.assertEqual(result, OUTPUT02) def test02b(self): result = detect_triangle(3, 3, math.sqrt(18)) self.assertEqual(result, OUTPUT02) def test02c(self): result = detect_triangle(4, 4, math.sqrt(32)) self.assertEqual(result, OUTPUT02) def test02d(self): result = detect_triangle(7, 7, math.sqrt(98)) self.assertEqual(result, OUTPUT02) # right triangle def test03a(self): result = detect_triangle(3, 4, 5) self.assertEqual(result, OUTPUT03) def test03b(self): result = detect_triangle(6, 5, math.sqrt(61)) self.assertEqual(result, OUTPUT03) # isosceles triangle def test04a(self): result = detect_triangle(7, 7, 5) self.assertEqual(result, OUTPUT04) def test04b(self): result = detect_triangle(2**32-1, 2**32-1, 4) self.assertEqual(result, OUTPUT04) def test04c(self): result = detect_triangle(2**32-1, 2**32-1, 2**32-2) self.assertEqual(result, OUTPUT04) def test04d(self): result = detect_triangle(2**32-1, 4, 2**32-1) self.assertEqual(result, OUTPUT04) def test04d(self): result = detect_triangle(2**32-1, 4, 2**32-1) self.assertEqual(result, OUTPUT04) # triangle def test05a(self): result = detect_triangle(2, 3, 4) self.assertEqual(result, OUTPUT05) def test05b(self): result = detect_triangle(2**32-1, 2**32-2, 2**32-3) self.assertEqual(result, OUTPUT05) def test05c(self): result = detect_triangle(2**32-1, 2**32-2, 3) self.assertEqual(result, OUTPUT05) def test06a(self): result = detect_triangle(1, 2, 3) self.assertEqual(result, OUTPUT06) # input test cases def test07a(self): result = detect_triangle(-2, 3, 4) self.assertEqual(result, OUTPUT06) def test07b(self): result = detect_triangle(2, -3, 4) self.assertEqual(result, OUTPUT06) def test07c(self): result = detect_triangle(2, 3, -4) self.assertEqual(result, OUTPUT06) def test08a(self): result = detect_triangle("a", 3, 4) self.assertEqual(result, OUTPUT06) def test08b(self): result = detect_triangle(2, "math.sqrt(2)", 4) self.assertEqual(result, OUTPUT06) def test08c(self): result = detect_triangle(2, 3, "2**32-1") self.assertEqual(result, OUTPUT06) def test09a(self): result = detect_triangle() self.assertEqual(result, OUTPUT06) def test09b(self): result = detect_triangle(2) self.assertEqual(result, OUTPUT06) def test09c(self): result = detect_triangle(2, 3) self.assertEqual(result, OUTPUT06) def test10a(self): result = detect_triangle(0, 0, 0) self.assertEqual(result, OUTPUT06) def test10b(self): result = detect_triangle(0, 3, 4) self.assertEqual(result, OUTPUT06) def test10c(self): result = detect_triangle(2, 0, 4) self.assertEqual(result, OUTPUT06) def test10d(self): result = detect_triangle(2, 3, 0) self.assertEqual(result, OUTPUT06) # run test if __name__ == '__main__': unittest.main()
UTF-8
Python
false
false
2,013
19,670,950,233,002
0ce4b762cba8c0ef8a7780daa575967c655eb588
119efda3f0af227958aa9b14e7ea1687453cdf10
/kv15/kv15messages.py
04f2c35e035bc97d234b91858f87473f4131d53b
[]
no_license
sven4all/openebs
https://github.com/sven4all/openebs
9c48fec296973df6f70ccd94259d09c629c69558
f0abbda96b83cb71f323aceaec777a95c01d09f8
refs/heads/master
2021-01-17T21:47:54.863980
2012-12-10T01:16:41
2012-12-10T01:16:41
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from io.push import Push class KV15messages: def __init__(self, stopmessages = None): if stopmessages is None: self.stopmessages = [] else: self.stopmessages = stopmessages def __str__(self): xml = """ <KV15messages>\n""" for stopmessage in self.stopmessages: xml += str(stopmessage) xml += """ </KV15messages>""" return xml def push(self, remote, path): return Push(dossiername='KV15messages', content = str(self), namespace='http://bison.connekt.nl/tmi8/kv15/msg').push(remote, path)
UTF-8
Python
false
false
2,012
15,453,292,358,713
fe0087481c31804abcdacecfb9846e35607f1760
3967090c44cba1a77dd573ac1b16566ccbdfc5d7
/utilities/prunefiles.py
09cdd6ac92c66e41827f2c946bbfd73fac6c4dcc
[]
no_license
cgperschon/slickqa
https://github.com/cgperschon/slickqa
c0e79656b4352140b4ef6a31bc32415a4352b94f
6eae7361da4a95ab22377edf9d1349295d248982
refs/heads/master
2021-01-01T17:15:56.475399
2014-02-05T19:49:34
2014-02-05T19:49:34
35,633,779
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
#!/usr/bin/env python __author__ = 'jcorbett' import argparse import pymongo import sys from gridfs import GridFS def main(arguments): parser = argparse.ArgumentParser(description='Remove files from a set of results.') parser.add_argument("-p", "--project", dest="project", required=True, help="The project to prune files from") parser.add_argument("-r", "--release", dest="release", required=True, help="The release of the project to prune files from.") options = parser.parse_args(args=arguments) connection = pymongo.Connection() db = connection['slickij'] gridfs = GridFS(db) project = db.projects.find_one({'name': options.project}) if project is None: print "There is no project with the name", options.project sys.exit(1) release = None for possible in project['releases']: if possible['name'] == options.release: release = possible break else: print "There is no release with the name", options.release sys.exit(1) number_of_results = db.results.find({'release.releaseId': release['id']}).count() print "There are", number_of_results, "results in that release." resultnum = 0 for result in db.results.find({'release.releaseId': release['id']}): sys.stdout.write("{:.2f}%\r".format(((float(resultnum) / number_of_results) * 100))) sys.stdout.flush() resultnum += 1 if 'files' in result: for fileref in result['files']: fileobj = db[fileref.collection].find_one(fileref.id) gridfs.delete(fileref.id) print "Done Removing files from", number_of_results, "results." print "Removing file references from the results." db.results.update({'release.releaseId': release['id']}, {"$unset": {"": 1}}, False, True) print "Done." if __name__ == '__main__': main(sys.argv[1:])
UTF-8
Python
false
false
2,014
2,508,260,911,506
287eb9f81d624c2e7ffeda1e3c23fb9211060a00
2c3340c0c9c3effc22ce181506a7c76718485510
/src/toolkit/monitoring/hippo/index.py
002cfc9a47531bec73892343581bda4ad88bdbbe
[]
no_license
samtaufa/nomoa.bsd
https://github.com/samtaufa/nomoa.bsd
3db5b336c34c8e24f94601129ab4f9682adbbac3
592e158be1d8a078625c56bce973449c61fd6451
refs/heads/master
2021-01-25T07:34:35.637146
2011-10-16T10:28:03
2011-10-16T10:28:03
688,565
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
from countershape.doc import * import countershape this.layout = ns.tpl_layout this.titlePrefix = ns.titlePrefix + "[Configuration] " pages = [ Page("install.md", title="Install", pageTitle="Simple Message System"), ]
UTF-8
Python
false
false
2,011
4,939,212,441,144
fcbccc63e45b83c0b89e304ffe25d23be6189e65
fefc919f8a7f348589fdccca864545656844d449
/src/djangofr/repository/setup.py
77eb652d3bc491932a764b9453a9f63de426bbfa
[ "GPL-3.0-only" ]
non_permissive
akaak/django-file-repository
https://github.com/akaak/django-file-repository
c691a16370ef49a5b0d955b7d7a7c4d117366db1
44dabaf9483be1b8fa028f82679333f9437ac3f5
refs/heads/master
2021-01-21T03:46:11.745046
2014-03-23T01:51:31
2014-03-23T01:51:31
null
0
0
null
null
null
null
null
null
null
null
null
null
null
null
null
import os from setuptools import setup # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "django-file-repository", version = "0.2b", author = "Oscar Carballal Prego", author_email = "[email protected]", description = ("Simple file repository with public/private files, tags and categories."), license = "GPLv3", keywords = "repository tagging categorization file", url = "http://github.com/cidadania/django-file-repository", packages=['repository'], long_description=read('README'), classifiers=[ "Development Status :: 4 - Beta/Testing", "Topic :: Web Utilities", "Framework :: Django 1.4.5", "License :: OSI Approved :: GPLv3 License", "Operating System :: OS Independent", "Natural Language :: English", "Natural Language :: Spanish", "Dependencies :: django-registration, django-taggit", "Intended Audience :: Everyone", ], )
UTF-8
Python
false
false
2,014