text
stringlengths
17
737k
from __future__ import unicode_literals import gc import importlib import logging import pstats import sys from cProfile import Profile import ipdb from bulk_update.helper import bulk_update from django.apps import apps from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes....
import os import re import io import csv import math import sys import traceback import datetime import contig_id_mapping as c_mapping from AssemblyUtil.AssemblyUtilClient import AssemblyUtil from GenomeFileUtil.GenomeFileUtilClient import GenomeFileUtil import doekbase.data_api from doekbase.data_api.annotation.genome...
import sys import mock import pytest from pyfakefs.fake_filesystem_unittest import Patcher from rotest.cli.main import main from rotest.core import TestCase from rotest.cli.client import main as client_main from rotest.cli.client import parse_outputs_option from rotest.core.runner import DEFAULT_SCHEMA_PATH, DEFAULT_...
#!python3 """persona""" import sys import time from collections import deque from html.parser import HTMLParser from urllib.request import urlopen from urllib.parse import urljoin PERSONA = 'geek' PERSONAS = \ { 'geek': { 'seedUrls': ['https://github.com/petrveprek/persona'], 'whiteList': Non...
#### PATTERN | WEB ################################################################################# # -*- coding: utf-8 -*- # Copyright (c) 2010 University of Antwerp, Belgium # Author: Tom De Smedt <tom@organisms.be> # License: BSD (see LICENSE.txt for details). # http://www.clips.ua.ac.be/pages/pattern ############...
import sys import pbRoot import pbKey import pbItem class PBSerializer(object): def __init__(self, file_path=None, encoding=None): self.string_encoding = encoding self.file_path = file_path def write(self, obj=None): try: fd = open(self.file_path, 'w') ...
''' Created on Apr 25, 2012 @package: superdesk media archive @copyright: 2012 Sourcefabric o.p.s. @license: http://www.gnu.org/licenses/gpl-3.0.txt @author: Gabriel Nistor Implementation for the image persistence API. ''' from ..core.spec import IThumbnailManager from ..meta.image_data import ImageDataE...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ __author__ = "Muammar El Khatib; Edoardo Fertitta." __copyright__ = "Copyright 2014, Muammar El Khatib; Edoardo Fertitta." __credits__ = [""] __license__ = "MIT" __version__ = "" __maintainer__ = "Muammar El Khatib" __email__ = "muammarelkhatib@gmail.com" __status__ = "...
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use ...
from contextlib import suppress from functools import reduce from http.client import HTTPException, BadStatusLine from itertools import chain from os.path import join from os import remove from urllib.error import URLError, HTTPError from logging import getLogger from shutil import rmtree from consul_kv import Connec...
import joblib as jl import numpy as np from sklearn.base import BaseEstimator class StringKernel(BaseEstimator): """Utility class for string kernel.""" def __init__(self, kn=1, lamda=.5, check_min_length=0, hard_matching=1, normalize=True): self.kn = kn self.lamda = lamda ...
# Copyright 2020 Google Research. 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...
import functools import time import urllib2 from urlparse import urlparse, urljoin from flask import render_template, url_for, redirect, request, g import requests from werkzeug.security import generate_password_hash from werkzeug.security import check_password_hash from pepper import settings from pepper import util...
import bdbcontrib.crosscat_utils as ccu from textwrap import wrap import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec import seaborn as sns import copy import numpy as np MODEL_TO_TYPE_LOOKUP = { 'normal_inverse_gamma': 'numerical', 'symmetric_dirichlet_discrete': 'categorical', } def r...
# Copyright (C) 2011, 2012 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2011, 2012 Isaku Yamahata <yamahata at valinux co jp> # # 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 # ...
# -*- coding: UTF-8 -*- # Copyright 2013-2018 Rumma & Ko Ltd # License: BSD (see file COPYING for details) """ Database models for this plugin. .. xfile:: courses/Enrolment/item_description.html The template used to fill the items description. """ from __future__ import unicode_literals from __future__ import...
#!/usr/bin/env python """ bead-calculator ============ A simple Python script to help peyote stitch beadworkers to figure out how many beads to use to start a new project. BeadCalculator checks to make sure that the number of beads used in the project will work mathematically and lets the beadworker know what design...
""" picture.py Author: Mary Feyrer Credit: colorpicker.com Assignment: Use the ggame library to "paint" a graphical picture of something (e.g. a house, a face or landscape). Use at least: 1. Three different Color objects. 2. Ten different Sprite objects. 3. One (or more) RectangleAsset objects. 4. One (or more) Circ...
from flask import render_template, render_template_string, flash, request from flask import redirect, url_for from itertools import groupby from . import app, rankingint, keygenerator, quotes from .database import session, Entry, followers, User, PWReset from flask.ext.login import login_user, logout_user, login_requir...
import ConfigParser import collections import os import socket import warnings class BeaverConfig(): def __init__(self, args, logger): self._logger = logger self._logger.info('Processing beaver portion of config file %s' % args.config) # Support env variable parsing as well files...
# Copyright (c) 2022, DjaoDjin Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # 1. Redistributions of source code must retain the above copyright notice, # this list of conditions and t...
""" This is only meant to add docs to objects defined in C-extension modules. The purpose is to allow easier editing of the docstrings without requiring a re-compile. NOTE: Many of the methods of ndarray have corresponding functions. If you update these docstrings, please keep also the ones in core/fromnum...
import random from navi.tools import logic, config __author__ = 'paoolo' class Eye(object): def __init__(self, laser): self.__laser, self.__scan = laser, None self.__laser.subscribe(self) def get(self): return self.__scan def handle(self, scan): self.__scan = scan MA...
""" picture.py Author: Anoushka Alavilli Credit: html website, Sarah Dunbar, Dina Assignment: Use the ggame library to "paint" a graphical picture of something (e.g. a house, a face or landscape). Use at least: 1. Three different Color objects. 2. Ten different Sprite objects. 3. One (or more) RectangleAsset objects...
import datetime import xlwt from time import strftime from mtrack_project.rapidsms_mtrack.mtrack.utils import write_xls from django.http import HttpResponse from django.contrib.auth.models import Group def generate_excel_response(data, headings): book = xlwt.Workbook(encoding="utf8") write_xls(sheet_name="BedN...
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. 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...
# -*- coding: utf-8 -*- ''' Management of InfluxDB users ============================ (compatible with InfluxDB version 0.9+) ''' def __virtual__(): ''' Only load if the influxdb module is available ''' if 'influxdb.db_exists' in __salt__: return 'influxdb_user' return False def _change...
# -*- coding: utf-8 -*- import os import re import sys import argparse import ConfigParser from behave.reporter.junit import JUnitReporter from behave.reporter.summary import SummaryReporter from behave.tag_expression import TagExpression from behave.formatter.base import StreamOpener from behave.formatter.formatters...
#!/opt/mesosphere/bin/python import os import socket import subprocess import sys from pathlib import Path from subprocess import CalledProcessError, check_call, check_output ZK_VAR_DIR = '/var/lib/dcos/exhibitor/zookeeper' ZK_SNAPSHOTS = os.path.join(ZK_VAR_DIR, 'snapshot') ZK_TRANSACTIONS = os.path.join(ZK_VAR_DIR,...
""" picture.py Author: <your name here> Credit: <list sources used, if any> Assignment: Use the ggame library to "paint" a graphical picture of something (e.g. a house, a face or landscape). Use at least: 1. Three different Color objects. 2. Ten different Sprite objects. 3. One (or more) RectangleAsset objects. 4. O...
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. 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...
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. 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...
import platform import os import sys import shutil import subprocess import shlex import glob try: from SCons.Script import * except ImportError: pass def run_test(target, source, env): # Runs a single unit test and checks that the return code is 0 try: subprocess.check_call(source[0].abspath) ...
be973bdc-2eae-11e5-b247-7831c1d44c14
a1080b14-2eae-11e5-87ad-7831c1d44c14
#creating a sha256 hash from input #need to expand on this to provide hash choice import hashlib input_hash = input('Select value to hash ') encoded_sha1 = hashlib.sha1(input_hash.encode()) encoded_sha224 = hashlib.sha224(input_hash.encode()) encoded_sha256 = hashlib.sha256(input_hash.encode()) encoded_sha384 = hash...
import django_filters from harvest.models import Harvest, HARVESTS_STATUS_CHOICES from member.models import AuthUser, Neighborhood from django import forms from django_filters import FilterSet, ChoiceFilter, ModelChoiceFilter, NumberFilter FILTER_HARVEST_CHOICES = list(HARVESTS_STATUS_CHOICES) FILTER_HARVEST_CHOICES.i...
# -*- coding: latin-1 -*- """ This module parses and generates contentlines as defined in RFC 2445 (iCalendar), but will probably work for other MIME types with similar syntax. Eg. RFC 2426 (vCard) It is stupid in the sense that it treats the content purely as strings. No type conversion is attempted. Copyright, 200...
""" This module holds utilities to search for items, whether they be files or textual patterns, that cyther will use for compilation. This module is designed to be relatively easy to use and make a very complex task much less so """ import os import re import shutil from .tools import isIterable, process_output from ...
from .cyvcf2 import (VCF, Variant, Writer, r_ as r_unphased, par_relatedness, par_het) Reader = VCFReader = VCF __version__ = "0.20.5"
#!/usr/bin/python import sys, os, traceback import cv2 import numpy as np from random import randrange import pygtk import matplotlib if not os.getenv('DISPLAY'): matplotlib.use('Agg') from matplotlib import pyplot as plt from matplotlib import cm as cm ### Error handling def fatal_error(error): # Print out the er...
import argparse import joblib import numpy as np from pyspark import SparkConf, SparkContext import scipy import scipy.ndimage import scipy.sparse as sparse import sklearn.metrics.pairwise as pairwise def median_difference_parallel(image, indices): """ Computes the absolute median difference using only joblib....
# Copyright (c) 2021, Frappe Technologies Pvt. Ltd. and Contributors # MIT License. See LICENSE """ Customize Form is a Single DocType used to mask the Property Setter Thus providing a better UI from user perspective """ import json import frappe import frappe.translate from frappe import _ from frappe.core.doctype...
#!/usr/bin/python # Copyright 2014 Google Inc. 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 a...
import sys import requests import imaging import analysis import serial import time ser = serial.Serial(sys.argv[2], 9600) session_name = sys.argv[1] print('Sending photo to session: -'+session_name+'-') session_status_request_error_counter = 0 def looping(): global session_status_request_error_counter wh...
import sys import collections import re import itertools import operator import lxml.etree import pygraphviz Species = collections.namedtuple('Species', 'id name label compartment') class Reaction(collections.namedtuple( 'ReactionBase', 'id name label reactants product...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys import json import smbus import pickle from flask import request, render_template, current_app, url_for, make_response from flask.views import View from lib.jsonApi import api_response from lib.bus.digitalInOut import digiInOut from lib.bus.analogI...
# -*- coding: utf-8 -*- """ Tasks related to projects. This includes fetching repository code, cleaning ``conf.py`` files, and rebuilding documentation. """ import datetime import fnmatch import hashlib import json import logging import os import shutil import socket from collections import Counter, defaultdict imp...
## Copyright 2012 Raik Gruenberg ## This file is part of the labhamster project (http://labhamster.sf.net) ## Labhamster is free software: you can redistribute it and/or modify ## it under the terms of the GNU Affero General Public License as ## published by the Free Software Foundation, either version 3 of the ## Lic...
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys,os,datetime,urllib2,json from django.utils.timezone import now # Directory prüfen und an PYTHONPATH anhängen if os.path.isfile('bbs/settings.py'): sys.path.append(os.getcwd()) else: sys.exit('Error: not in the root directory of the django project.') # E...
#!/usr/bin/env python import logging import os from amqp_service.dispatcher import lsf from amqp_service import dispatch_service, log_formatter import amqp_manager PIKA_LOG_LEVEL = logging.INFO LOG_LEVEL = logging.DEBUG LOG_FORMAT = ('%(levelname)-23s %(asctime)s %(name)-60s %(funcName)-45s' ' %(linen...
#!/usr/bin/env python import ConfigParser import os from novaclient.v1_1 import client from sqlalchemy import create_engine, distinct, select, MetaData, Table, or_ config = ConfigParser.ConfigParser() config.read(['os.cfg',os.path.expanduser('~/.os.cfg'),'/etc/os-maint/os.cfg']) cinder_db_conn = config.get('NOVA', '...
# Copyright 2017 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. """The context module provides APIs for manipulating a few pieces of 'ambient' data that affect how steps are run: cwd - The current working dir...
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' netbuilder.py (c) Will Roberts 11 January, 2017 Declarative description language for producing persistent neural network models. ''' from __future__ import absolute_import import itertools import json import logging import os import sys import time from cribbage.uti...
import webnotes def execute(): delete_doctypes() rename_module() rebuilt_exploded_bom() def delete_doctypes(): from webnotes.model import delete_doc delete_doc("DocType", "Production Control") delete_doc("DocType", "BOM Control") def rename_module(): webnotes.reload_doc("core", "doctype", "role") webnotes....
# -*- coding: utf-8 -*- """ The module :mod:`odoo.tests.common` provides unittest test cases and a few helpers and classes to write tests. """ import base64 import collections import importlib import inspect import itertools import json import logging import operator import os import platform import re import requests...
""" Collection of data discretization algorithms.""" import numpy as N from util import as_list import data def maximum_entropy_discretize(indata, includevars=None, excludevars=[], numbins=3): """Performs a maximum-entropy discretization of data in-place. Requirements for this implementation: 1....
# This file is part of Indico. # Copyright (C) 2002 - 2019 CERN # # Indico is free software; you can redistribute it and/or # modify it under the terms of the MIT License; see the # LICENSE file for more details. from __future__ import unicode_literals from io import BytesIO from flask import jsonify, request, sessi...
import numpy as np import constants as c from utils import normalize_frames, get_test_batch from glob import glob from scipy.ndimage import imread from scipy.misc import imsave import os def save_batch(batch, num_rec_out): # TEST for clip_num, clip in enumerate(batch): for frame_num in xrange(c.HIST_LE...
#!/usr/bin/python3 # We pulled out printing the actual QR code on the # thermo printer into a separate file to allow us # using Python 3 for this. import sys import adafruit_thermal as at from PIL import Image # Get the text for the QR code from the command line LOGO = "media/logo_bw.png" def print_qr_code(text): ...
import simplejson as json import logging.config import socket import sys from datetime import datetime from logging.handlers import SocketHandler from twisted.internet import reactor class Singleton(type): _instances = {} def __call__(cls, *args, **kwargs): if cls not in cls._instances: cl...
import psycopg2 import psycopg2.extras # Database user credentials DATABASE = "seads" USER = "seadapi" def query(parsed_url): """ Handle parsed URL data and query the database as appropriate :param parsed_url: Array of url parameters :return: Generator of result strings """ if 'device_id' not in parsed_url.k...
from __future__ import absolute_import from __future__ import print_function import contextlib import functools import inspect import os import pkg_resources import random import traceback import unittest import warnings import numpy import six import cupy from cupy import internal import cupy.sparse from cupy.testi...
# coding: utf-8 from __future__ import unicode_literals, division import logging import subprocess import sys import datetime import time from glob import glob import tarfile import os from abc import ABCMeta, abstractmethod from itertools import islice import six from .utils import get_execution_host_info from mo...
#!/usr/bin/env python # ============================================================================= # MODULE DOCSTRING # ============================================================================= """ General utility functions for the repo. """ # ================================================================...
"""Translate Promela to linear temporal logic (LTL)""" from __future__ import absolute_import import argparse import copy import json import logging import pprint import textwrap import warnings import networkx as nx from networkx.utils import misc from promela import ast, lex, yacc from openpromela import bitvector, v...
"""ShutIt module. See http://shutit.tk """ from shutit_module import ShutItModule class openshift_vagrant(ShutItModule): def build(self, shutit): # Some useful API calls for reference. See shutit's docs for more info and options: # # ISSUING BASH COMMANDS # shutit.send(send,expect=<default>) - Send a comm...
#!/usr/bin/env python import os import re import sys from sets import Set inputDir = sys.argv[1] outputDir = sys.argv[2] if not os.path.exists(outputDir): os.makedirs(outputDir) nonExtTypedefs = open(outputDir + "nonExtTypedefs.inl", "w") wrappersFile = open(outputDir + "wrappers.inl", "w") functionL...
import json, urllib, urllib2, ConfigParser, os, sys import itertools from datetime import datetime import pytz import logging TZ = pytz.timezone('US/Eastern') # TODO: move to config parameter class IOPrinter(): """A datastore for debug and testing purposes: prints measurements to stdout""" def post(self,...
import argparse import logging import os import datetime import time from cax import __version__ from cax import config, qsub import pax from cax.tasks import checksum, clear, data_mover, process, filesystem from cax.tasks import corrections def main(): parser = argparse.ArgumentParser(description="Copying All...
""" """ import ujson from wheezy.http import response_cache from wheezy.http.response import HTTPResponse from wheezy.http.response import bad_request from wheezy.web.handlers import file_handler from shared.views import APIHandler from shared.views import compress from shared.views import wraps_handler from public...
# This file is part of the pyMOR project (http://www.pymor.org). # Copyright Holders: Rene Milk, Stephan Rave, Felix Schindler # License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause) from __future__ import absolute_import, division, print_function import numpy as np from pymor.grids.interfaces ...
# Copyright Hybrid Logic Ltd. See LICENSE file for details. """ Tests for ``flocker.node.agents.blockdevice``. """ from errno import ENOTDIR from os import getuid, statvfs from uuid import UUID, uuid4 from subprocess import STDOUT, PIPE, Popen, check_output from bitmath import MB, MiB, Byte import psutil from zop...
from django.core.management.base import BaseCommand from dynamic_fixtures.fixtures.runner import LoadFixtureRunner class Command(BaseCommand): help_text = 'Load fixtures while keeping dependencies in mind.' args = '[app_label] [fixture_name]' def add_arguments(self, parser): parser.add_argument...
from hashlib import sha256 from urllib import unquote from urlparse import urlparse from flask import Flask, abort, request, redirect, render_template, jsonify, \ send_from_directory from werkzeug.contrib.cache import MemcachedCache from jinja2 import Template from swiftly.client import Client app = Flask(__na...
# django imports from django.conf import settings from django.core.cache import cache from django.core.urlresolvers import reverse from django.http import Http404 from django.http import HttpResponse from django.http import HttpResponseRedirect from django.shortcuts import render_to_response from django.template import...
# -*- coding: utf-8 -*- # libavg - Media Playback Engine. # Copyright (C) 2003-2008 Ulrich von Zadow # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2 of the License, o...
from haystack import indexes from haystack import site from vcms.simpleblogs.models import BlogPost class NewsBlogsIndex(indexes.SearchIndex): text = indexes.CharField(document=True, use_template=True, model_attr='content') name = indexes.CharField(model_attr='title') description = indexes.CharField(mode...
# -*- coding: utf-8 -*- # # Whole-cell utilities documentation build configuration file, created by # sphinx-quickstart on Thu Oct 20 18:11:46 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerate...
# (c) 2012, Michael DeHaan <michael.dehaan@gmail.com> # # This file is part of Ansible # # Ansible 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 lat...
# -*- coding: utf-8 -*- # # scikit-allel documentation build configuration file, created by # sphinx-quickstart on Tue Jan 27 09:37:32 2015. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # ...
# -*- coding: utf-8 -*- # # xo documentation build configuration file, created by # sphinx-quickstart on Sun Jan 27 00:12:33 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All conf...
# -*- coding: utf-8 -*- # # pymatgen documentation build configuration file, created by # sphinx-quickstart on Tue Nov 15 00:13:52 2011. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # Al...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # MIALab documentation build configuration file, created by # sphinx-quickstart on Thur August 31 10:58:00 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this #...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # RESSPyLab documentation build configuration file, created by # sphinx-quickstart on Tue Jul 9 22:26:36 2013. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # harold documentation build configuration file, created by # sphinx-quickstart on Sat Sep 19 17:38:48 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # aut...
# -*- coding: utf-8 -*- # # Django-Select2 documentation build configuration file, created by # sphinx-quickstart on Sat Aug 25 10:23:46 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerate...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # TensorLayer documentation build configuration file, created by # sphinx-quickstart on Tue Aug 2 15:30:55 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this ...
# -*- coding: utf-8 -*- # # Sphinx Configuration File # Author : Rob Frawley 2nd <rmf@scribe.tools> # License: MIT License # import sys import os # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the # documentatio...
# -*- coding: utf-8 -*- # # APScheduler documentation build configuration file, created by # sphinx-quickstart on Fri Jul 31 02:56:30 2009. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # #...
# -*- coding: utf-8 -*- # # mapServer documentation build configuration file, created by # sphinx-quickstart on Thu Aug 20 03:27:07 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # #...
# -*- coding: utf-8 -*- # # JuliaFEM documentation build configuration file, created by # sphinx-quickstart on Fri Jul 3 22:25:04 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
# -*- coding: utf-8 -*- # # TelFit documentation build configuration file, created by # sphinx-quickstart on Sat Jun 6 15:05:31 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # Al...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # geoip2 documentation build configuration file, created by # sphinx-quickstart on Tue Apr 9 13:34:57 2013. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autog...
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Python 101 documentation build configuration file. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a def...
# -*- coding: utf-8 -*- # # LLVM documentation build configuration file. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented...
# -*- coding: utf-8 -*- # # imageio documentation build configuration file, created by # sphinx-quickstart on Thu May 17 16:58:47 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All...
# -*- coding: utf-8 -*- # # puresnmp documentation build configuration file, created by # sphinx-quickstart on Mon Sep 12 08:06:39 2016. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # ...
# -*- coding: utf-8 -*- import sphinx_rtd_theme from sqlitebiter import __author__, __copyright__, __name__, __version__ # -- General configuration ------------------------------------------------ # If your documentation needs a minimal Sphinx version, state it here. #needs_sphinx = '1.0' # Add any Sphinx extensio...
import os import re import sys import traceback from collections import defaultdict from optparse import make_option from subprocess import Popen, PIPE from django.db import connections, router, transaction, DEFAULT_DB_ALIAS from django.db.models import get_model from django.conf import settings from django.core.mana...