init
This commit is contained in:
commit
38355d2442
9083 changed files with 1225834 additions and 0 deletions
BIN
.venv/etc/pyflyby/__pycache__/canonical.cpython-38.pyc
Normal file
BIN
.venv/etc/pyflyby/__pycache__/canonical.cpython-38.pyc
Normal file
Binary file not shown.
BIN
.venv/etc/pyflyby/__pycache__/common.cpython-38.pyc
Normal file
BIN
.venv/etc/pyflyby/__pycache__/common.cpython-38.pyc
Normal file
Binary file not shown.
BIN
.venv/etc/pyflyby/__pycache__/forget.cpython-38.pyc
Normal file
BIN
.venv/etc/pyflyby/__pycache__/forget.cpython-38.pyc
Normal file
Binary file not shown.
BIN
.venv/etc/pyflyby/__pycache__/mandatory.cpython-38.pyc
Normal file
BIN
.venv/etc/pyflyby/__pycache__/mandatory.cpython-38.pyc
Normal file
Binary file not shown.
BIN
.venv/etc/pyflyby/__pycache__/numpy.cpython-38.pyc
Normal file
BIN
.venv/etc/pyflyby/__pycache__/numpy.cpython-38.pyc
Normal file
Binary file not shown.
BIN
.venv/etc/pyflyby/__pycache__/std.cpython-38.pyc
Normal file
BIN
.venv/etc/pyflyby/__pycache__/std.cpython-38.pyc
Normal file
Binary file not shown.
10
.venv/etc/pyflyby/canonical.py
Normal file
10
.venv/etc/pyflyby/canonical.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
# To make tidy-imports automatically transform imports, create a dictionary
|
||||
# like this:
|
||||
# __canonical_imports__ = {
|
||||
# "oldmodule.oldname": "newmodule.newname"
|
||||
# }
|
||||
#
|
||||
# You can write this in any *.py file in your $PYFLYBY_PATH,
|
||||
# e.g. ~/.pyflyby/canonical.py.
|
||||
|
||||
27
.venv/etc/pyflyby/common.py
Normal file
27
.venv/etc/pyflyby/common.py
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
from Crypto.Cipher import AES
|
||||
import IPython
|
||||
import blist
|
||||
from blist import sorteddict
|
||||
import cssutils
|
||||
import dateutil
|
||||
import dateutil.parser
|
||||
import kerberos
|
||||
import mutagen
|
||||
import perl
|
||||
import pexpect
|
||||
import pstats
|
||||
import pyflyby
|
||||
from pyflyby import xreload
|
||||
import pylab
|
||||
import pyodbc
|
||||
import pysvn
|
||||
import pytest
|
||||
import pytz
|
||||
import requests
|
||||
import sqlalchemy
|
||||
import sqlalchemy.orm
|
||||
import sqlalchemy.sql
|
||||
import sympy
|
||||
import xlrd
|
||||
import yaml
|
||||
from yaml import MarkedYAMLError, YAMLError, YAMLObject
|
||||
10
.venv/etc/pyflyby/forget.py
Normal file
10
.venv/etc/pyflyby/forget.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# To remove imports from the set of known imports, write, for example:
|
||||
# __forget_imports__ = [
|
||||
# 'numpy.sin',
|
||||
# ]
|
||||
#
|
||||
# You can write this in any *.py file in your $PYFLYBY_PATH,
|
||||
# e.g. ~/.pyflyby/forget.py.
|
||||
#
|
||||
# This can be useful if you're inheriting somebody else's import database.
|
||||
# You can inherit most of the parent database, but exclude certain imports.
|
||||
10
.venv/etc/pyflyby/mandatory.py
Normal file
10
.venv/etc/pyflyby/mandatory.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
# The following __mandatory_imports__ line makes tidy-imports add the
|
||||
# mentioned imports to all files.
|
||||
# You can also include imports other than __future__ imports.
|
||||
#
|
||||
# You can write this in any *.py file in your $PYFLYBY_PATH,
|
||||
# e.g. ~/.pyflyby/mandatory.py.
|
||||
|
||||
# __mandatory_imports__ = [
|
||||
# 'from __future__ import absolute_import, division',
|
||||
# ]
|
||||
156
.venv/etc/pyflyby/numpy.py
Normal file
156
.venv/etc/pyflyby/numpy.py
Normal file
|
|
@ -0,0 +1,156 @@
|
|||
import matplotlib
|
||||
from matplotlib import pyplot
|
||||
import matplotlib.colors
|
||||
from matplotlib.colors import ColorConverter
|
||||
from matplotlib.font_manager import FontProperties
|
||||
from matplotlib.patches import Rectangle
|
||||
from matplotlib.pyplot import (clf, draw, figure, gca, gcf, grid,
|
||||
ioff, legend, plot, savefig, scatter,
|
||||
show, subplot, title, xlabel, ylabel,
|
||||
ylim)
|
||||
from matplotlib.ticker import (Formatter, Locator, NullFormatter,
|
||||
NullLocator)
|
||||
import numexpr
|
||||
import numpy as np, numpy as npy, numpy
|
||||
from numpy import (Inf, NAN, NaN, abs as aabs, absolute,
|
||||
add, all as aall, allclose, alltrue,
|
||||
amax, amin, angle, any as aany,
|
||||
append as aappend, apply_along_axis,
|
||||
apply_over_axes, arange, arccos,
|
||||
arccosh, arcsin, arcsinh, arctan,
|
||||
arctan2, arctanh, argmax, argmin,
|
||||
argsort, argwhere, around, array,
|
||||
array2string, array_equal, array_equiv,
|
||||
array_repr, array_split, array_str,
|
||||
asanyarray, asarray, asarray_chkfinite,
|
||||
ascontiguousarray, asfarray,
|
||||
asfortranarray, asmatrix, asscalar,
|
||||
atleast_1d, atleast_2d, atleast_3d,
|
||||
average, bartlett, base_repr,
|
||||
binary_repr, bincount, bitwise_and,
|
||||
bitwise_not, bitwise_or, bitwise_xor,
|
||||
blackman, bmat, bool8, bool_,
|
||||
broadcast, broadcast_arrays, byte,
|
||||
byte_bounds, c_, can_cast, cdouble,
|
||||
ceil, cfloat, character, chararray,
|
||||
choose, clip, clongdouble, clongfloat,
|
||||
column_stack, common_type,
|
||||
compare_chararrays, compat, complex128,
|
||||
complex64, complex_, complexfloating,
|
||||
concatenate, conj, conjugate, convolve,
|
||||
copy, copysign, corrcoef, correlate,
|
||||
cos, cosh, cov, cross, csingle,
|
||||
ctypeslib, cumprod, cumproduct, cumsum,
|
||||
deg2rad, degrees, diag, diag_indices,
|
||||
diag_indices_from, diagflat, diagonal,
|
||||
diff, digitize, disp, divide, dot,
|
||||
double, dsplit, dstack, dtype, ediff1d,
|
||||
einsum, emath, empty, empty_like,
|
||||
equal, exp, exp2, expand_dims, expm1,
|
||||
extract, eye, fabs,
|
||||
fastCopyAndTranspose, fill_diagonal,
|
||||
find_common_type, fix, flatiter,
|
||||
flatnonzero, fliplr, flipud, float32,
|
||||
float64, float_, floating, floor,
|
||||
floor_divide, fmax, fmin, fmod, frexp,
|
||||
frombuffer, fromfile, fromfunction,
|
||||
fromiter, frompyfunc, fromregex,
|
||||
fromstring, gradient, greater,
|
||||
greater_equal, hamming, hanning,
|
||||
histogram, histogram2d, histogramdd,
|
||||
hsplit, hstack, hypot, i0, identity,
|
||||
iinfo, imag, in1d, index_exp, indices,
|
||||
inexact, inf, inner, int0, int16,
|
||||
int32, int64, int8, int_, intc,
|
||||
integer, interp, intersect1d, intp,
|
||||
invert, ipmt, irr, iscomplex,
|
||||
iscomplexobj, isfinite, isfortran,
|
||||
isinf, isnan, isneginf, isposinf,
|
||||
isreal, isrealobj, isscalar, issctype,
|
||||
issubclass_, issubdtype, issubsctype,
|
||||
iterable, ix_, kaiser, kron, ldexp,
|
||||
left_shift, less, less_equal, lexsort,
|
||||
linalg, linspace, little_endian,
|
||||
loadtxt, log, log as logarithm, log10,
|
||||
log1p, log2, logaddexp, logaddexp2,
|
||||
logical_and, logical_not, logical_or,
|
||||
logical_xor, logspace, longcomplex,
|
||||
longdouble, longfloat, longlong,
|
||||
mafromtxt, mask_indices, mat, matrix,
|
||||
maximum, mean, median, memmap,
|
||||
meshgrid, mgrid, minimum, mintypecode,
|
||||
mirr, mod, modf, msort, multiply, nan,
|
||||
nan_to_num, nanargmax, nanargmin,
|
||||
nanmax, nanmin, nansum, nbytes,
|
||||
ndarray, ndenumerate, ndim, ndindex,
|
||||
negative, newaxis, newbuffer,
|
||||
nextafter, nonzero, not_equal, nper,
|
||||
npv, number, object0, object_, ogrid,
|
||||
ones, ones_like, outer, packbits, pi,
|
||||
piecewise, pkgload, place, pmt, poly,
|
||||
poly1d, polyadd, polyder, polydiv,
|
||||
polyfit, polyint, polymul, polynomial,
|
||||
polysub, polyval, power, ppmt, prod,
|
||||
product, ptp, putmask, pv, r_, rad2deg,
|
||||
radians, rank, rate, ravel, real,
|
||||
real_if_close, recarray, recfromcsv,
|
||||
recfromtxt, reciprocal, record,
|
||||
remainder, repeat, reshape, resize,
|
||||
restoredot, right_shift, rint, roll,
|
||||
rollaxis, roots, rot90, round, round_,
|
||||
row_stack, s_, searchsorted,
|
||||
select as aselect, setbufsize,
|
||||
setdiff1d, setxor1d, shape, short,
|
||||
show_config, sign, signbit,
|
||||
signedinteger, sin, sinc, single,
|
||||
singlecomplex, sinh, size as asize,
|
||||
sometrue, sort as asort, sort,
|
||||
sort_complex, spacing, split, sqrt,
|
||||
square, squeeze, std, str_, string0,
|
||||
string_, subtract, sum, swapaxes, take,
|
||||
tan, tanh, tensordot, testing, tile,
|
||||
trace, transpose, trapz, tri, tril,
|
||||
tril_indices, tril_indices_from,
|
||||
trim_zeros, triu, triu_indices,
|
||||
triu_indices_from, true_divide, trunc,
|
||||
ubyte, ufunc, uint, uint0, uint16,
|
||||
uint32, uint64, uint8, uintc, uintp,
|
||||
ulonglong, unicode0, unicode_, union1d,
|
||||
unique, unpackbits, unravel_index,
|
||||
unsignedinteger, unwrap, ushort,
|
||||
vander, var, vdot, vectorize, void,
|
||||
void0, vsplit, vstack, where, zeros,
|
||||
zeros_like)
|
||||
from numpy.core.umath_tests import inner1d
|
||||
from numpy.fft import (fft, fft2, fftn, ifft, ifft2, ifftn,
|
||||
irfft, irfft2, irfftn, rfft, rfft2,
|
||||
rfftn)
|
||||
from numpy.lib import recfunctions as recf, recfunctions
|
||||
from numpy.lib.stride_tricks import as_strided
|
||||
import numpy.linalg
|
||||
from numpy.linalg import cholesky, det, eigh, inv, pinv, svd
|
||||
from numpy.random import (normal, rand, randint, randn,
|
||||
random as arandom, shuffle)
|
||||
import numpy.testing
|
||||
import numpy.version
|
||||
import pandas, pandas as pd
|
||||
from pandas import DataFrame, Series, TimeSeries
|
||||
import pylab as pl, pylab
|
||||
import scipy
|
||||
from scipy import integrate, optimize, special, stats
|
||||
import scipy.cluster.hierarchy
|
||||
import scipy.integrate
|
||||
import scipy.interpolate
|
||||
from scipy.interpolate import InterpolatedUnivariateSpline, interp1d
|
||||
import scipy.linalg
|
||||
import scipy.optimize
|
||||
from scipy.optimize import (curve_fit, fmin_l_bfgs_b, fsolve,
|
||||
leastsq)
|
||||
from scipy.optimize.zeros import bisect
|
||||
import scipy.special
|
||||
from scipy.special import gamma, gammainc, gammaincinv, ndtri
|
||||
import scipy.stats
|
||||
from scipy.stats import (chisqprob, distributions,
|
||||
scoreatpercentile, uniform)
|
||||
from scipy.stats.distributions \
|
||||
import norm
|
||||
331
.venv/etc/pyflyby/std.py
Normal file
331
.venv/etc/pyflyby/std.py
Normal file
|
|
@ -0,0 +1,331 @@
|
|||
import UserDict
|
||||
from UserDict import DictMixin
|
||||
from UserList import UserList
|
||||
from _strptime import TimeRE
|
||||
import abc
|
||||
import argparse
|
||||
import ast
|
||||
import atexit
|
||||
import base64
|
||||
from base64 import b64decode, b64encode
|
||||
import binascii
|
||||
from binascii import hexlify, unhexlify
|
||||
import bisect
|
||||
import bootstrap
|
||||
import bz2
|
||||
import cProfile
|
||||
import cgi
|
||||
import collections
|
||||
from collections import defaultdict, deque, namedtuple
|
||||
import commands
|
||||
import contextlib
|
||||
from contextlib import closing, contextmanager, nested
|
||||
import copy
|
||||
import csv
|
||||
import ctypes
|
||||
from ctypes import CDLL
|
||||
import datetime
|
||||
import decimal
|
||||
from decimal import Decimal
|
||||
import decorator
|
||||
import difflib
|
||||
from difflib import SequenceMatcher, context_diff
|
||||
import dis
|
||||
import email
|
||||
from email import encoders
|
||||
from email.encoders import encode_base64
|
||||
from email.message import Message
|
||||
from email.mime.audio import MIMEAudio
|
||||
from email.utils import COMMASPACE, formatdate
|
||||
import errno
|
||||
from errno import (E2BIG, EACCES, EADDRINUSE,
|
||||
EADDRNOTAVAIL, EAFNOSUPPORT, EAGAIN,
|
||||
EALREADY, EBADF, EBADMSG, EBUSY,
|
||||
ECHILD, ECONNABORTED, ECONNREFUSED,
|
||||
ECONNRESET, EDEADLK, EDESTADDRREQ,
|
||||
EDOM, EDQUOT, EEXIST, EFAULT, EFBIG,
|
||||
EHOSTDOWN, EHOSTUNREACH, EIDRM, EILSEQ,
|
||||
EINPROGRESS, EINTR, EINVAL, EIO,
|
||||
EISCONN, EISDIR, ELOOP, EMFILE, EMLINK,
|
||||
EMSGSIZE, EMULTIHOP, ENAMETOOLONG,
|
||||
ENETDOWN, ENETRESET, ENETUNREACH,
|
||||
ENFILE, ENOBUFS, ENODATA, ENODEV,
|
||||
ENOENT, ENOEXEC, ENOLCK, ENOLINK,
|
||||
ENOMEM, ENOMSG, ENOPROTOOPT, ENOSPC,
|
||||
ENOSR, ENOSTR, ENOSYS, ENOTBLK,
|
||||
ENOTCONN, ENOTDIR, ENOTEMPTY, ENOTSOCK,
|
||||
ENOTSUP, ENOTTY, ENXIO, EOPNOTSUPP,
|
||||
EOVERFLOW, EPERM, EPFNOSUPPORT, EPIPE,
|
||||
EPROTO, EPROTONOSUPPORT, EPROTOTYPE,
|
||||
ERANGE, EREMOTE, EROFS, ESHUTDOWN,
|
||||
ESOCKTNOSUPPORT, ESPIPE, ESRCH, ESTALE,
|
||||
ETIME, ETIMEDOUT, ETOOMANYREFS,
|
||||
ETXTBSY, EUSERS, EWOULDBLOCK, EXDEV)
|
||||
import exceptions
|
||||
import fcntl
|
||||
import filecmp
|
||||
import fileinput
|
||||
import functional
|
||||
import functools
|
||||
from functools import (partial, reduce, total_ordering,
|
||||
update_wrapper, wraps)
|
||||
import gc
|
||||
import getpass
|
||||
from getpass import getuser
|
||||
import glob
|
||||
import grp
|
||||
from grp import getgrall, getgrgid, getgrnam
|
||||
import gzip
|
||||
import h5py
|
||||
import hashlib
|
||||
from hashlib import (md5, sha1, sha224, sha256, sha384,
|
||||
sha512)
|
||||
import heapq
|
||||
import imp
|
||||
import inspect
|
||||
from inspect import ArgSpec, getargspec
|
||||
import io
|
||||
import itertools
|
||||
from itertools import (chain, count, groupby, islice, product,
|
||||
repeat, tee)
|
||||
import json
|
||||
from keyword import iskeyword
|
||||
import linecache
|
||||
import locale
|
||||
import logging
|
||||
from lxml import etree
|
||||
import marshal
|
||||
import math
|
||||
import matplotlib
|
||||
import mimetypes
|
||||
import misc.double
|
||||
import mmap
|
||||
import new
|
||||
import numbers
|
||||
from numbers import (Complex, Integral, Number, Rational,
|
||||
Real)
|
||||
import operator
|
||||
from operator import add, indexOf, itemgetter, mul
|
||||
import optparse
|
||||
from optparse import (BadOptionError, OptParseError,
|
||||
OptionParser, OptionValueError)
|
||||
import os
|
||||
from os import (chmod, close, getcwd, getenv, geteuid,
|
||||
getpid, getuid, makedirs, mkdir,
|
||||
mkfifo, path, remove, rename, system,
|
||||
unlink)
|
||||
import os.path
|
||||
from os.path import (abspath, basename, dirname, exists,
|
||||
getsize, isfile, normpath, realpath)
|
||||
import parser
|
||||
import pdb
|
||||
import pickle
|
||||
from pickle import PickleError, UnpicklingError
|
||||
import pickletools
|
||||
import pkg_resources
|
||||
from pkg_resources import load_entry_point
|
||||
import pkgutil
|
||||
import pprint
|
||||
import psutil
|
||||
import pwd
|
||||
from pwd import getpwall, getpwnam, getpwuid
|
||||
import random
|
||||
from random import shuffle
|
||||
import re
|
||||
import resource
|
||||
import select
|
||||
import shlex
|
||||
import shutil
|
||||
from shutil import (copyfile, copyfileobj, copystat,
|
||||
copytree, rmtree)
|
||||
import signal
|
||||
import six
|
||||
from six import StringIO
|
||||
from six.moves import (builtins, cPickle, configparser,
|
||||
copyreg, email_mime_base,
|
||||
email_mime_image, email_mime_multipart,
|
||||
email_mime_text, http_client, map,
|
||||
queue, zip)
|
||||
from six.moves.urllib.parse import urlencode
|
||||
from six.moves.urllib.request import urlopen
|
||||
import smtplib
|
||||
from smtplib import (SMTP, SMTPAuthenticationError,
|
||||
SMTPConnectError, SMTPDataError,
|
||||
SMTPException, SMTPHeloError,
|
||||
SMTPRecipientsRefused,
|
||||
SMTPResponseException,
|
||||
SMTPSenderRefused,
|
||||
SMTPServerDisconnected, SMTP_SSL)
|
||||
import socket
|
||||
from socket import (AF_APPLETALK, AF_ASH, AF_ATMPVC,
|
||||
AF_ATMSVC, AF_AX25, AF_BRIDGE,
|
||||
AF_DECnet, AF_ECONET, AF_INET,
|
||||
AF_INET6, AF_IPX, AF_IRDA, AF_KEY,
|
||||
AF_LLC, AF_NETBEUI, AF_NETLINK,
|
||||
AF_NETROM, AF_PACKET, AF_PPPOX,
|
||||
AF_ROSE, AF_ROUTE, AF_SECURITY, AF_SNA,
|
||||
AF_TIPC, AF_UNIX, AF_UNSPEC,
|
||||
AF_WANPIPE, AF_X25, AI_ADDRCONFIG,
|
||||
AI_ALL, AI_CANONNAME, AI_NUMERICHOST,
|
||||
AI_NUMERICSERV, AI_PASSIVE,
|
||||
AI_V4MAPPED, CAPI, EAI_ADDRFAMILY,
|
||||
EAI_AGAIN, EAI_BADFLAGS, EAI_FAIL,
|
||||
EAI_FAMILY, EAI_MEMORY, EAI_NODATA,
|
||||
EAI_NONAME, EAI_OVERFLOW, EAI_SERVICE,
|
||||
EAI_SOCKTYPE, EAI_SYSTEM,
|
||||
INADDR_ALLHOSTS_GROUP, INADDR_ANY,
|
||||
INADDR_BROADCAST, INADDR_LOOPBACK,
|
||||
INADDR_MAX_LOCAL_GROUP, INADDR_NONE,
|
||||
INADDR_UNSPEC_GROUP, IPPORT_RESERVED,
|
||||
IPPORT_USERRESERVED, IPPROTO_AH,
|
||||
IPPROTO_DSTOPTS, IPPROTO_EGP,
|
||||
IPPROTO_ESP, IPPROTO_FRAGMENT,
|
||||
IPPROTO_GRE, IPPROTO_HOPOPTS,
|
||||
IPPROTO_ICMP, IPPROTO_ICMPV6,
|
||||
IPPROTO_IDP, IPPROTO_IGMP, IPPROTO_IP,
|
||||
IPPROTO_IPIP, IPPROTO_IPV6,
|
||||
IPPROTO_NONE, IPPROTO_PIM, IPPROTO_PUP,
|
||||
IPPROTO_RAW, IPPROTO_ROUTING,
|
||||
IPPROTO_RSVP, IPPROTO_TCP, IPPROTO_TP,
|
||||
IPPROTO_UDP, IPV6_CHECKSUM,
|
||||
IPV6_DSTOPTS, IPV6_HOPLIMIT,
|
||||
IPV6_HOPOPTS, IPV6_JOIN_GROUP,
|
||||
IPV6_LEAVE_GROUP, IPV6_MULTICAST_HOPS,
|
||||
IPV6_MULTICAST_IF, IPV6_MULTICAST_LOOP,
|
||||
IPV6_NEXTHOP, IPV6_PKTINFO,
|
||||
IPV6_RECVDSTOPTS, IPV6_RECVHOPLIMIT,
|
||||
IPV6_RECVHOPOPTS, IPV6_RECVPKTINFO,
|
||||
IPV6_RECVRTHDR, IPV6_RECVTCLASS,
|
||||
IPV6_RTHDR, IPV6_RTHDRDSTOPTS,
|
||||
IPV6_RTHDR_TYPE_0, IPV6_TCLASS,
|
||||
IPV6_UNICAST_HOPS, IPV6_V6ONLY,
|
||||
IP_ADD_MEMBERSHIP,
|
||||
IP_DEFAULT_MULTICAST_LOOP,
|
||||
IP_DEFAULT_MULTICAST_TTL,
|
||||
IP_DROP_MEMBERSHIP, IP_HDRINCL,
|
||||
IP_MAX_MEMBERSHIPS, IP_MULTICAST_IF,
|
||||
IP_MULTICAST_LOOP, IP_MULTICAST_TTL,
|
||||
IP_OPTIONS, IP_RECVOPTS,
|
||||
IP_RECVRETOPTS, IP_RETOPTS, IP_TOS,
|
||||
IP_TTL, MSG_CTRUNC, MSG_DONTROUTE,
|
||||
MSG_DONTWAIT, MSG_EOR, MSG_OOB,
|
||||
MSG_PEEK, MSG_TRUNC, MSG_WAITALL,
|
||||
NETLINK_DNRTMSG, NETLINK_FIREWALL,
|
||||
NETLINK_IP6_FW, NETLINK_NFLOG,
|
||||
NETLINK_ROUTE, NETLINK_USERSOCK,
|
||||
NETLINK_XFRM, NI_DGRAM, NI_MAXHOST,
|
||||
NI_MAXSERV, NI_NAMEREQD, NI_NOFQDN,
|
||||
NI_NUMERICHOST, NI_NUMERICSERV,
|
||||
PACKET_BROADCAST, PACKET_FASTROUTE,
|
||||
PACKET_HOST, PACKET_LOOPBACK,
|
||||
PACKET_MULTICAST, PACKET_OTHERHOST,
|
||||
PACKET_OUTGOING, PF_PACKET, SHUT_RD,
|
||||
SHUT_RDWR, SHUT_WR, SOCK_DGRAM,
|
||||
SOCK_RAW, SOCK_RDM, SOCK_SEQPACKET,
|
||||
SOCK_STREAM, SOL_IP, SOL_SOCKET,
|
||||
SOL_TCP, SOL_TIPC, SOL_UDP, SOMAXCONN,
|
||||
SO_ACCEPTCONN, SO_ATTACH_FILTER,
|
||||
SO_BINDTODEVICE, SO_BROADCAST,
|
||||
SO_BSDCOMPAT, SO_DEBUG,
|
||||
SO_DETACH_FILTER, SO_DONTROUTE,
|
||||
SO_ERROR, SO_KEEPALIVE, SO_LINGER,
|
||||
SO_NO_CHECK, SO_OOBINLINE, SO_PASSCRED,
|
||||
SO_PASSSEC, SO_PEERCRED, SO_PEERNAME,
|
||||
SO_PEERSEC, SO_PRIORITY, SO_RCVBUF,
|
||||
SO_RCVBUFFORCE, SO_RCVLOWAT,
|
||||
SO_RCVTIMEO, SO_REUSEADDR,
|
||||
SO_SECURITY_AUTHENTICATION,
|
||||
SO_SECURITY_ENCRYPTION_NETWORK,
|
||||
SO_SECURITY_ENCRYPTION_TRANSPORT,
|
||||
SO_SNDBUF, SO_SNDBUFFORCE, SO_SNDLOWAT,
|
||||
SO_SNDTIMEO, SO_TIMESTAMP,
|
||||
SO_TIMESTAMPNS, SO_TYPE, SocketType,
|
||||
TCP_CONGESTION, TCP_CORK,
|
||||
TCP_DEFER_ACCEPT, TCP_INFO,
|
||||
TCP_KEEPCNT, TCP_KEEPIDLE,
|
||||
TCP_KEEPINTVL, TCP_LINGER2, TCP_MAXSEG,
|
||||
TCP_MD5SIG, TCP_MD5SIG_MAXKEYLEN,
|
||||
TCP_NODELAY, TCP_QUICKACK, TCP_SYNCNT,
|
||||
TCP_WINDOW_CLAMP, TIPC_ADDR_ID,
|
||||
TIPC_ADDR_NAME, TIPC_ADDR_NAMESEQ,
|
||||
TIPC_CFG_SRV, TIPC_CLUSTER_SCOPE,
|
||||
TIPC_CONN_TIMEOUT,
|
||||
TIPC_CRITICAL_IMPORTANCE,
|
||||
TIPC_DEST_DROPPABLE,
|
||||
TIPC_HIGH_IMPORTANCE, TIPC_IMPORTANCE,
|
||||
TIPC_LOW_IMPORTANCE,
|
||||
TIPC_MEDIUM_IMPORTANCE,
|
||||
TIPC_NODE_SCOPE, TIPC_PUBLISHED,
|
||||
TIPC_SRC_DROPPABLE,
|
||||
TIPC_SUBSCR_TIMEOUT, TIPC_SUB_CANCEL,
|
||||
TIPC_SUB_PORTS, TIPC_SUB_SERVICE,
|
||||
TIPC_TOP_SRV, TIPC_WAIT_FOREVER,
|
||||
TIPC_WITHDRAWN, TIPC_ZONE_SCOPE,
|
||||
gaierror, getaddrinfo, getfqdn,
|
||||
gethostbyaddr, gethostbyname,
|
||||
gethostbyname_ex, gethostname,
|
||||
getnameinfo, getprotobyname,
|
||||
getservbyname, getservbyport, htonl,
|
||||
htons, inet_aton, inet_ntoa, inet_ntop,
|
||||
inet_pton, ntohl, ntohs,
|
||||
setdefaulttimeout, socketpair)
|
||||
import sqlite3
|
||||
import ssl
|
||||
import stat
|
||||
from stat import (ST_MTIME, S_IFMT, S_IMODE, S_ISBLK,
|
||||
S_ISCHR, S_ISDIR, S_ISFIFO, S_ISLNK,
|
||||
S_ISREG, S_ISSOCK)
|
||||
import string
|
||||
import struct
|
||||
import subprocess
|
||||
from subprocess import (CalledProcessError, PIPE, Popen, call,
|
||||
check_call)
|
||||
import symbol
|
||||
import sys
|
||||
from sys import exit, getsizeof, stderr, stdout
|
||||
import tempfile
|
||||
from tempfile import (NamedTemporaryFile,
|
||||
SpooledTemporaryFile, TemporaryFile,
|
||||
mkdtemp, mkstemp, mktemp)
|
||||
import termios
|
||||
import textwrap
|
||||
from textwrap import dedent
|
||||
import threading
|
||||
from threading import (BoundedSemaphore, Condition, Lock,
|
||||
RLock, Semaphore, Thread, Timer,
|
||||
currentThread, current_thread)
|
||||
import time
|
||||
from time import (asctime, ctime, gmtime, localtime,
|
||||
mktime, sleep, strftime, strptime)
|
||||
import timeit
|
||||
import token
|
||||
import traceback
|
||||
import types
|
||||
from types import (BooleanType, BufferType,
|
||||
BuiltinFunctionType, BuiltinMethodType,
|
||||
ClassType, CodeType, ComplexType,
|
||||
DictProxyType, DictType,
|
||||
DictionaryType, EllipsisType, FileType,
|
||||
FloatType, FrameType, FunctionType,
|
||||
GeneratorType, GetSetDescriptorType,
|
||||
InstanceType, IntType, LambdaType,
|
||||
ListType, LongType,
|
||||
MemberDescriptorType, MethodType,
|
||||
ModuleType, NoneType,
|
||||
NotImplementedType, ObjectType,
|
||||
SliceType, StringType, StringTypes,
|
||||
TracebackType, TupleType, TypeType,
|
||||
UnboundMethodType, UnicodeType,
|
||||
XRangeType)
|
||||
import unittest
|
||||
import urllib
|
||||
import urllib2
|
||||
import warnings
|
||||
import weakref
|
||||
from weakref import (CallableProxyType, ProxyType,
|
||||
ProxyTypes, ReferenceType,
|
||||
WeakKeyDictionary, WeakValueDictionary,
|
||||
getweakrefcount, getweakrefs)
|
||||
from xml.dom import minidom
|
||||
import xml.parsers.expat
|
||||
import zlib
|
||||
Loading…
Add table
Add a link
Reference in a new issue