Skip to content

Instantly share code, notes, and snippets.

View oduvan's full-sized avatar
✂️
Cleanup

Alexander Lyabah oduvan

✂️
Cleanup
  • CheckiO Inc.
  • United States
View GitHub Profile
# pip install scipy
Collecting scipy
Downloading scipy-1.0.0.tar.gz (15.2MB)
100% |████████████████████████████████| 15.2MB 80kB/s
Complete output from command python setup.py egg_info:
ATLAS version 3.10.3 built by buildd on Tue Jan 17 22:59:14 UTC 2017:
UNAME : Linux x86-ubc-01 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux
INSTFLG : -1 0 -a 1 -l 1
ARCHDEFS : -DATL_OS_Linux -DATL_ARCH_x86SSE2 -DATL_CPUMHZ=2297 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664
F2CDEFS : -DAdd_ -DF77_INTEGER=int -DStringSunStyle
from django import db
from django.conf import settings
from nose.plugins import Plugin
from django.test import TransactionTestCase
import uuid
import warnings
TEST_DB_PREFIX = settings.DATABASES['default']['NAME'] + '__'
def set_cur_db(db_name):
@oduvan
oduvan / find_serialization_errors.py
Created June 10, 2011 14:32
www.lyabah.com Django find_serialization_errors
from django.core.exceptions import ImproperlyConfigured
from django.core.management.base import BaseCommand, CommandError
from django.core import serializers
from django.utils.datastructures import SortedDict
from optparse import make_option
class Command(BaseCommand):
option_list = BaseCommand.option_list + (
make_option('--format', default='json', dest='format',