blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
7824f1a34399e412abf45a090606e6f9607837a1
0eaab1305900d8e70dd746d676126d1667d9c314
/scripts/cached_credentials.py
d2360fae08a54472419d0ad570e1d841faa8c3e2
[ "Apache-2.0" ]
permissive
scudette/winreg-kb
89ffc7f63c2630b266bed41d1c66dff64fd1d32d
f81b8bcaef8365d0c52bf3c87af2bccb4274bece
refs/heads/master
2020-06-08T20:51:37.427445
2019-06-14T06:47:16
2019-06-14T06:47:16
193,304,780
1
0
null
2019-06-23T04:07:02
2019-06-23T04:07:02
null
UTF-8
Python
false
false
2,497
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Script to extract cached credentials.""" from __future__ import print_function from __future__ import unicode_literals import argparse import logging import sys from dfvfs.helpers import command_line as dfvfs_command_line from winregrc import cached_credentials from ...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
e1be6cb81e9d66c660fafd0db382193191ef9e47
6b2db6fca8f31c4e6c96e68cf11e5ca3ce7e8a9b
/src/drawPerceptionAnaTimeSeries.py
32382b65cd5bd0c0a5f3649d575b1d52a7cebdd3
[ "MIT" ]
permissive
ningtangla/escapeFromMultipleSuspectors
e04da12488be9767c5b6511355c167fdcf18e723
e6dcb0f7f9371b7ca6cca8779f69f18095092140
refs/heads/master
2022-05-03T05:25:21.556950
2022-04-20T13:51:53
2022-04-20T13:51:53
190,686,484
1
0
null
null
null
null
UTF-8
Python
false
false
5,552
py
from collections import OrderedDict from collections import OrderedDict import pandas as pd from matplotlib import pyplot as plt import itertools as it import os import trajectoriesSaveLoad as tsl class Readcsv: def __init__(self, getCSVSavePathByCondition, columnNames): self.getCSVSavePathByCondition = g...
[ "ningtangzju@gmail.com" ]
ningtangzju@gmail.com
489bda8d4a39af6af95efc8ecc8a858a81b01e02
e9d7689655887232b652ef369c7eaf3a1ef06955
/In vivo Multi/intan_test_optotag.py
74fa683bcf65aa8362441996dda07acdf632d494
[]
no_license
Gilles-D/main
81ac13cdb1614eb0c82afb3d0e847a30b78cad30
f3714d2cbe4aae22ab36f4f94c94067159270820
refs/heads/master
2023-08-31T06:20:48.554237
2023-08-30T20:33:27
2023-08-30T20:33:27
222,518,250
0
0
null
null
null
null
UTF-8
Python
false
false
17,900
py
# -*- coding: utf-8 -*- #! /bin/env python """ Created on Tue Feb 28 16:06:17 2023 @author: Gilles.DELBECQ """ import sys, struct, math, os, time import numpy as np import matplotlib.pyplot as plt import scipy.signal as sp from intanutil.read_header import read_header from intanutil.get_bytes_per_data_block import ...
[ "gillesdelbecq@hotmail.fr" ]
gillesdelbecq@hotmail.fr
23b9d302ab52d35d1cb3fdd270c785503d99aacb
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/interactions/base/cheat_interaction.py
90cea49d59271ca03aa011bf3d7fd934e0685f7e
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
5,778
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\interactions\base\cheat_interaction.py # Compiled at: 2020-10-09 00:03:45 # Size of source mod 2**32...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
8b1c66b8b3b792914470aa94f0f354eefa4daa9e
b033000ca119f3fd9feaa64cebd6e60b1d85839a
/src/dotpaths/cfc_utils.py
19dcca11906c6e1f21482644b4ab61f30b8bc87e
[ "MIT" ]
permissive
KamasamaK/sublimetext-cfml
93c8e6858d08b3b8e85c1d23ef77587f3ce06f63
3730fca4679a5294234dfb3207eb41a4b313b87e
refs/heads/master
2021-09-03T07:13:20.218103
2017-11-30T17:57:30
2017-11-30T17:57:30
97,273,191
0
1
null
2017-07-14T21:13:24
2017-07-14T21:13:24
null
UTF-8
Python
false
false
10,298
py
import re import sublime from os.path import dirname from ..component_index import component_index from .. import utils component_name_re = r""" ["']component["']\s*,\s*(?:class\s*=\s*)?["']([$_\w.]+)["'] """ component_name_re = re.compile(component_name_re, re.I | re.X) cfc_dot_path_re = re.compile(r"^[\w\-_][\w.\-...
[ "jcberquist@outlook.com" ]
jcberquist@outlook.com
1a6d7326648830c51c9d6ddcfd52f90ae9a5f1ed
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/PythiaChargedResonance_WG/PythiaChargedResonance_WGToLNuG_M4000_width0p01_13TeV-pythia8_cff.py
45ca4f0a00d2ad1221666d6f875dca26a7287b5c
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,131
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), filterEfficiency = cms.untracked.double(1), maxEvent...
[ "shubhanshu.chauhan.cern.ch" ]
shubhanshu.chauhan.cern.ch
b538521c1a4e868a82ca658bfa9726213a686173
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/W7S25BPmjEMSzpnaB_4.py
1710d798d37e7f63b51f71720d88fb6747d84732
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
def bonacci(sum_num, index): list = [] for i in range(1, sum_num): list.append(0) list.append(1) for i in range(sum_num , index ): num = 0 for j in range(1, sum_num + 1): num += list[i - j] list.append(num) return list[index - 1]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
cc2e37ddd71fb1e52708459d304b69b5718bc428
8d55d41a4f5c0b89331cac714c1525e9581d9720
/PyCommon/modules/VirtualPhysics/setup_mac.py
df7c84427729204e8ca11d58188d86486b5080f3
[ "Apache-2.0" ]
permissive
hpgit/HumanFoot
8cf35ceeeb35a0371e03eaf19d6da58dc01487eb
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
refs/heads/master
2022-04-13T23:38:19.072203
2019-12-06T06:36:10
2019-12-06T06:36:10
41,348,141
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
from distutils.core import setup, Extension import sys py_major_ver = sys.version_info[0] boost_lib = 'boost_python' if py_major_ver == 3: boost_lib = boost_lib + '3' def moduleSetup(moduleName): moduleToSetup = Extension(moduleName, include_dirs = ['../usr/include/'], #extra_compile_args=['-fope...
[ "garethvlf@gmail.com" ]
garethvlf@gmail.com
f4199947212a6889d65b9832b7341e5f36dafffd
39405775f9ba7b9325a1348c8172f98ad24d442c
/user_portrait/user_portrait/cron/info_consume/propagate/propagate_time_weibo.py
6e2575bd9086745a5444b63f5d897d7058f14b32
[]
no_license
yuyuqi/info_consume
cfef72d697b929eb69244bd54b335cf46c4252ff
c984fb3b7235bae02cd5ba8f04f7ffb41ba0b910
refs/heads/master
2021-01-14T12:22:25.929097
2016-11-11T08:18:38
2016-11-11T08:18:38
66,696,804
0
0
null
2016-08-27T04:56:46
2016-08-27T04:56:46
null
UTF-8
Python
false
false
834
py
# -*- coding: utf-8 -*- from config import db class PropagateTimeWeibos(db.Model): id = db.Column(db.Integer, primary_key=True, autoincrement=True) topic = db.Column(db.String(20)) end = db.Column(db.BigInteger(10, unsigned=True)) range = db.Column(db.BigInteger(10, unsigned=True)) mtype ...
[ "1257819385@qq.com" ]
1257819385@qq.com
b5126f5c82e7deb25eaa06a3bf6f79162e98be49
9c8fdfa389eaaf2df4c8ba0e3072d94671b5a622
/0547. Friend Circles.py
0a8f07d64c078d5a21a44614caac046e77dc1720
[]
no_license
aidardarmesh/leetcode2
41b64695afa850f9cc7847158abb6f2e8dc9abcd
4cf03307c5caeccaa87ccce249322bd02397f489
refs/heads/master
2023-02-27T11:22:09.803298
2021-02-07T06:47:35
2021-02-07T06:47:35
264,491,702
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
from typing import * class Solution: def findCircleNum(self, M: List[List[int]]) -> int: n = len(M) self.circles = n uf = {i:i for i in range(n)} def find(v): if uf[v] == v: return v uf[v] = find(uf[v]) ...
[ "darmesh.aidar@gmail.com" ]
darmesh.aidar@gmail.com
728690b3b498ad97e32534f2b46aa151a0ac28a4
bee9d96912078d68877aa53e0c96537677ec3e6a
/peakpo/control/cakemakecontroller.py
1003e9635181ea50fa417f7c3418c3b18cf82084
[ "Apache-2.0" ]
permissive
SHDShim/PeakPo
ce0a637b6307787dd84fd3dcb3415e752d180c32
4c522e147e7715bceba218de58ee185cccd2055e
refs/heads/master
2022-06-26T11:26:45.097828
2022-06-19T22:03:24
2022-06-19T22:03:24
94,345,216
17
3
null
null
null
null
UTF-8
Python
false
false
573
py
import os from PyQt5 import QtWidgets from utils import undo_button_press, dialog_savefile, writechi class CakemakeController(object): def __init__(self, model, widget): self.model = model self.widget = widget def read_settings(self): self.model.diff_img.set_calibration(self.model.po...
[ "SHDShim@gmail.com" ]
SHDShim@gmail.com
aa9336da4d4fa8ada35ebde970a9ccf696c296fb
b2826350dab8935de4c54092fac2090ec9b562bc
/prog_1d_hubbard.py
1ba9a833239abe660c4ca0920ebd3f3c417466c4
[ "MIT" ]
permissive
ryuikaneko/exactly_solvable_models
73c8bea988279a3ea595d067986a131494cd0d2b
d6f7617ae979b2ca7cbb1e9c1c562fae780b6956
refs/heads/master
2022-01-29T10:12:43.789610
2022-01-12T02:20:31
2022-01-12T02:20:31
205,546,034
15
2
null
null
null
null
UTF-8
Python
false
false
709
py
#!/usr/bin/env python from __future__ import print_function import numpy as np import scipy as scipy import scipy.integrate as integrate import scipy.special if __name__ == "__main__": Umax = 101 dU = 0.1 for intU in range(Umax): U = dU*intU # f[U_] = -4 Integrate[ BesselJ[0, x] BesselJ[1, x]/x/...
[ "27846552+ryuikaneko@users.noreply.github.com" ]
27846552+ryuikaneko@users.noreply.github.com
f75acb67e52cb8ec24de9fe04efc2181e8dae4b9
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano1606.py
224e1d24dc5734464eade6e5711ee8dbc5f0ffb1
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
eea817d60254307a68dbd9b0943756d17da0c46b
3f100a1002a1f8ed453c8b81a9b403444d77b4c6
/while_loops/trial.py
0bf2cb0e9f1ac677e22c4333bf6b64a527e9b842
[]
no_license
Kimuda/Phillip_Python
c19c85a43c5a13760239e4e94c08436c99787ebf
59d56a0d45839656eb15dbe288bdb0d18cb7df2b
refs/heads/master
2016-09-09T22:19:02.347744
2015-05-01T10:56:49
2015-05-01T10:56:49
32,330,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
1. The program will continue producing output until it is interrupted. 2. A line that increments i by 1 needs to be put at the end of, but inside of the while loop. 3. --- smallest.py --- smallest = "strings are always larger than integers" print "Enter a sequence of numbers:" line = raw_input("> ") while line != "":...
[ "pjkanywa@gmail.com" ]
pjkanywa@gmail.com
5cb365c88d11e4906a757b2995cf93d0128fcde3
a4e5a695e749e49953d173e7ac2aeaf372d0513d
/flask/myapp.py
33873b70b27a80cd5f95b83bd1af3eeb4cebe55f
[]
no_license
mamueller/nix_examples
7e79194a479e8a73490f22d9087bc11a834f9c66
98fd728d0bba83d9c7a8151e724ef06aadd6cb95
refs/heads/master
2021-06-12T11:02:02.224015
2021-04-09T18:44:51
2021-04-09T18:44:51
167,869,054
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
#! /usr/bin/env python import subprocess from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello, Nix!" def run(): res=subprocess.run(['qemu-x86_64','-h']) print(res) app.run(host="0.0.0.0") if __name__ == "__main__": run()
[ "markus.mueller.1.g@googlemail.com" ]
markus.mueller.1.g@googlemail.com
de950a06dbd6d91de3321c096458f9b7b203f8b5
b102b0312b3b5391652a117ecf9f09f5059af485
/server/mysite/monitorlist.py
de84bb2417b2835174296bd7a5a466e969ec40be
[ "MIT" ]
permissive
zhangjiongcn/BR
06772079e050ceb99f3d8a93b09c8d0cd234d780
c08d8acd26c58caf5d939892a9cdf3d3bb3ffff1
refs/heads/master
2021-04-29T20:24:05.395174
2018-02-16T08:54:36
2018-02-16T08:54:36
121,595,878
0
0
null
null
null
null
UTF-8
Python
false
false
9,540
py
from django.http import HttpResponse import redis def index(request): pool = redis.ConnectionPool(host="redis.devops.pousheng.com", port=6379, password="redis") r = redis.Redis(connection_pool=pool) try: gettimelist = r.time() gettime = gettimelist[0] svrdic=r.hgetall("prd") ...
[ "admin@example.com" ]
admin@example.com
6fdb094e7f8936d65474156243043ac349a04633
c6bfc62c5d90a8eaa7dcb0f4149b48a18dec3dc1
/model.py
503d31ccb1cd347ef5807b9bd8ced9f9f9543e4d
[]
no_license
PabloRR100/Bert_Sentiment_Multilingual
4e2e897a7638ca097043980f2bf00336b7f87673
d19b0ebca0c890313b25b3c8fbd3ac165f94856c
refs/heads/master
2023-07-12T17:34:46.746524
2020-05-13T10:23:01
2020-05-13T10:23:01
261,702,895
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
import torch import torch.nn as nn import config import transformers """ EXTENDES TRANSFORMERS BERT MODEL """ class BERTBaseUncased(nn.Module): def __init__(self): super(BERTBaseUncased, self).__init__() self.bert = transformers.BertModel.from_pretrained(config.BERT_PATH) self.bert_drop...
[ "pabloruizruiz10@gmail.com" ]
pabloruizruiz10@gmail.com
9a9875f9ef74c131bf2885171b2c1645e587bd42
9d64a438cdfe4f3feb54f2f0dc7431139c4b9fb9
/trendmicro_apex/icon_trendmicro_apex/actions/search_agents/action.py
82238c4c95b6add16427768df0993ff18d46a01e
[ "MIT" ]
permissive
PhilippBehmer/insightconnect-plugins
5ad86faaccc86f2f4ed98f7e5d518e74dddb7b91
9195ddffc575bbca758180473d2eb392e7db517c
refs/heads/master
2021-07-25T02:13:08.184301
2021-01-19T22:51:35
2021-01-19T22:51:35
239,746,770
0
0
MIT
2020-02-11T11:34:52
2020-02-11T11:34:51
null
UTF-8
Python
false
false
1,935
py
import komand from .schema import SearchAgentsInput, SearchAgentsOutput, Input, Output, Component # Custom imports below import re import urllib.parse class SearchAgents(komand.Action): def __init__(self): super(self.__class__, self).__init__( name='search_agents', description=Com...
[ "noreply@github.com" ]
PhilippBehmer.noreply@github.com
1ea8d734403be436ba043166a9c312562de2a51a
48517a9b7ec7b0f0bf0a03291b7d1e3def751c0a
/Choose Your Own Colors/horizontal_striper_15.py
9e0f6da63d3a326564cc317ef111c0c8348888c7
[ "MIT" ]
permissive
Breakfast-for-Pigeons/Unicorn-HAT
1ae033bf11c05b9cc739b1eacfc77665506e0bc8
9ff1388ee627a8e81f361929e9e9b708db4e2832
refs/heads/master
2021-06-06T12:22:48.162031
2020-10-22T17:31:51
2020-10-22T17:31:51
74,648,524
1
0
null
2018-10-02T17:37:31
2016-11-24T07:28:23
Python
UTF-8
Python
false
false
2,042
py
#!/usr/bin/python3 """ Horizontal Striper 15 - Choose Your Own Colors With the Raspberry Pi oriented with the GPIO pins at the top, this program stripes from the top to the bottom and alternates from left to right and right to left. This is exactly the same as Horizontal Striper 7 except the color order is reversed. ...
[ "noreply@github.com" ]
Breakfast-for-Pigeons.noreply@github.com
9a2bfa2e085d4bdbbcd7e45e25f31886e442b9b4
3cd19164c17d9793ea506369454b8bacd5cebfa9
/Backend/py2club/bin/pyjwt
56637acb75b755885e5c894368fe1121d7d3a106
[]
no_license
Myxg/BadmintonClubSystem
337a17728122ab929d37e7f2732850beb49d8be0
1c51236098ab3770cadd925212f9d3978ed83c2a
refs/heads/master
2022-12-27T10:13:55.129630
2020-09-16T10:21:36
2020-09-16T10:21:36
295,998,099
0
0
null
null
null
null
UTF-8
Python
false
false
257
#!/home/ubuntu/BadmintonClubSystem/Backend/py2club/bin/python # -*- coding: utf-8 -*- import re import sys from jwt.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "15234407153@163.com" ]
15234407153@163.com
cf8d0b5cf4e4a0107de6cd9c133e7f4aa366db30
95deb106d41a4612628c50568b2e6107e0a6773d
/applications/admin/handlers/role.py
bbeb9f28634de63f2130e98cf28534b2ae5137dc
[ "BSD-3-Clause" ]
permissive
sjl421/py_admin
a57b0d2449a1beabef5ccffb88bd510a38db8013
2fb404af8b8435d247eb23c13386ae8deb88d144
refs/heads/master
2020-03-18T21:04:26.213089
2018-05-22T06:11:15
2018-05-22T06:11:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,344
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """URL处理器 [description] """ import json import tornado from applications.core.settings_manager import settings from applications.core.logger.client import SysLogger from applications.core.cache import sys_config from applications.core.decorators import required_permissio...
[ "leeyisoft@icloud.com" ]
leeyisoft@icloud.com
426ade794f90ab2e86de0d16b927af50151d2053
bc441bb06b8948288f110af63feda4e798f30225
/monitor_sdk/model/container/workload_pb2.py
676d445506d633237c03b3b1996dd2305b993b3c
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
true
12,632
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: workload.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf im...
[ "service@easyops.cn" ]
service@easyops.cn
f4cf7019f39021a4b77232222532df88fce1f0ff
e1c7d4257b7e8ccdd369b12a3cb6c07e7b46df85
/tools/zpycompletion
64f55f2ab6dfb05cf738656662d96813f57b5eaa
[]
no_license
Trietptm-on-Coding-Algorithms/workshop
c461d6dd78ce80850a1a238a19509a5f30559c5b
5a26fc86c737dc5f236983c6dbf53318b0a559aa
refs/heads/master
2021-01-12T19:24:31.472826
2016-05-26T13:21:45
2016-05-26T13:21:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,993
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # zpycompletion # # Copyright 2015 Spencer McIntyre <zeroSteiner@gmail.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code m...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
12c2fb913ef27cff8bbefcf384d426de3192582e
9da8754002fa402ad8e6f25659978bd269bbcec8
/src/314B/test_cdf_314B.py
e9e2e5ce0864198663b5fa16bab21ce3f1026005
[ "MIT" ]
permissive
kopok2/CodeforcesSolutionsPython
a00f706dbf368ba0846c8ae86d4145b5dd3e1613
35bec0dbcff47765b123b5fe60476014376153df
refs/heads/master
2023-02-02T03:08:22.097651
2020-12-17T22:00:50
2020-12-17T22:00:50
196,035,812
1
1
null
null
null
null
UTF-8
Python
false
false
563
py
import unittest from unittest.mock import patch from cdf_314B import CodeforcesTask314BSolution class TestCDF314B(unittest.TestCase): def test_314B_acceptance_1(self): mock_input = ['10 3', 'abab', 'bab'] expected = '3' with patch('builtins.input', side_effect=mock_input): Sol...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
f2cc5f6f8b3ac1a429f71c5a1e78bcae39d6be7a
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/2604992/snippet.py
d1ee8b056d79d916da3e98173cd2729fc7778229
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
485
py
# Print each permutation. def perm(l, n, str_a): if len(str_a) == n: print str_a else: for c in l: perm(l, n, str_a+c) # Return a list of permutations. def perm2(l, n, str_a, perm_a): if len(str_a) == n: return [str_a] + perm_a else: new_perm_a = perm_a ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
19a76e26092ec389793026a5b6b3a32e09ff7ac3
ac1d3a1ff9e4ccac37c1ae206f3c12021e56e420
/code/figures/MBL_xan_titration.py
d3cb715bf2652b4a6ed9ccd6e0df1e2db8f0fb2c
[ "MIT", "LicenseRef-scancode-proprietary-license", "CC-BY-4.0" ]
permissive
RPGroup-PBoC/mwc_activation
4bcdeb2271047df4c1fe8243de2eade709012d0a
6ef3f02a53ecd80877082006ecc4b8fe4204c1d6
refs/heads/master
2023-07-22T22:09:25.442468
2020-02-27T18:59:17
2020-02-27T18:59:17
167,025,404
0
0
MIT
2023-07-06T21:20:04
2019-01-22T16:16:05
Jupyter Notebook
UTF-8
Python
false
false
5,692
py
#%% import numpy as np import pandas as pd import matplotlib.pyplot as plt import joypy import glob import sys import scipy.stats sys.path.insert(0, '../../') import act.viz import act.flow colors = act.viz.pub_style() # %% # Parse all of hte files. files = glob.glob('../../data/flow/csv/*.csv') dfs = [] for f in f...
[ "gchure@caltech.edu" ]
gchure@caltech.edu
0a85d36cc1a0d025855da19e08d0826209a0d735
508321d683975b2339e5292202f3b7a51bfbe22d
/Userset.vim/ftplugin/python/CompletePack/PySide2/QtWidgets/QStyleOption.py
c82ecadb7fa2cdc8b2a6f3c10eb0f9bc1b529d32
[]
no_license
cundesi/vimSetSa
4947d97bcfe89e27fd2727423112bb37aac402e2
0d3f9e5724b471ab21aa1199cc3b4676e30f8aab
refs/heads/master
2020-03-28T05:54:44.721896
2018-08-31T07:23:41
2018-08-31T07:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,232
py
# encoding: utf-8 # module PySide2.QtWidgets # from C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\PySide2\QtWidgets.pyd # by generator 1.145 # no doc # imports import PySide2.QtCore as __PySide2_QtCore import PySide2.QtGui as __PySide2_QtGui import Shiboken as __Shiboken class QStyleOption(...
[ "noreply@github.com" ]
cundesi.noreply@github.com
2d955a76eb32edaf404ea4ca61f1fa9696e17582
9852cee063eb438227abf75fa4aa06c0d2d7a23a
/hacktivitycon/web/ladybug.py
6c45caddae6a0597e627efbc95dec881fc2a2349
[]
no_license
arwildo/ctf
227a6038b4d068f33134153534942e91ec5f36f8
623ac5cf7f177870d837ae298310bbd244a1db56
refs/heads/master
2021-09-08T16:50:32.890102
2021-08-28T04:13:37
2021-08-28T04:13:37
248,462,299
2
0
null
null
null
null
UTF-8
Python
false
false
222
py
#!/usr/bin/python3 import requests url = 'http://two.jh2i.com:50018/mail.php' myobj = {'name': 'fsdkfkjs', 'email': 'dfjskjsf', 'subject': 'dfdfs', 'message': 'dfssf'} x = requests.post(url, data = myobj) print(x.text)
[ "arwildo@gmail.com" ]
arwildo@gmail.com
534ff2ff2d4c67fe84121d7af419371c58a918e2
1078c61f2c6d9fe220117d4c0fbbb09f1a67f84c
/paws/lib/python2.7/site-packages/euca2ools-3.4.1_2_g6b3f62f2-py2.7.egg/EGG-INFO/scripts/eulb-attach-lb-to-subnets
fcf3618ac8aa00e3864a9b452656c3acae5f986c
[ "MIT" ]
permissive
cirobessa/receitas-aws
c21cc5aa95f3e8befb95e49028bf3ffab666015c
b4f496050f951c6ae0c5fa12e132c39315deb493
refs/heads/master
2021-05-18T06:50:34.798771
2020-03-31T02:59:47
2020-03-31T02:59:47
251,164,945
0
0
null
null
null
null
UTF-8
Python
false
false
284
#!/media/ciro/LOCALDRV/A_DESENVOLVIMENTO/AWS/receitas/paws/bin/python -tt import euca2ools.commands.elasticloadbalancing.attachloadbalancertosubnets if __name__ == '__main__': euca2ools.commands.elasticloadbalancing.attachloadbalancertosubnets.AttachLoadBalancerToSubnets.run()
[ "cirobessa@yahoo.com" ]
cirobessa@yahoo.com
310fbda3e7edaa5707602795633ce2c70e3ef932
75cd5cb3ad898548b3be1863de233c2ad01334d2
/python/Drone_utils.py
42cee4cff8311d96cd44869e30d0f3e7d7763e01
[]
no_license
bacisback/tfm
25e6fa61c202b679e64c10f18062717539a4432d
626ef8065ea150de882442f523c9fbb0af5c8428
refs/heads/master
2023-07-17T06:22:03.869401
2021-09-03T11:18:12
2021-09-03T11:18:12
349,205,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,989
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 29 17:40:46 2021 @author: e321075 """ import numpy as np from PIL import Image from matplotlib import pyplot as plt import pandas as pd import cv2 import scipy.misc from skimage.transform import resize import os from collections import namedtuple i...
[ "you@example.com" ]
you@example.com
3e6f34481593e6d3a94d3f6cd125b50d1b4b91db
b001b44c95f4a7c5574385baa4fe72c5f3d02236
/home/migrations/0014_auto_20181104_1611.py
4acbda228febaf659b1e14a983a45d508d1d4673
[ "MIT" ]
permissive
gjergjk71/Attendence
3ae9b9f3cb3c4e0bfe2addf4124b7612a78f1533
9e9370125bfc4958de02171a3ae4c8e16bf10913
refs/heads/master
2020-04-14T08:46:58.649674
2019-01-01T14:27:29
2019-01-01T14:27:29
163,743,067
0
0
MIT
2019-01-01T14:34:28
2019-01-01T14:34:28
null
UTF-8
Python
false
false
2,087
py
# Generated by Django 2.1.3 on 2018-11-04 10:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0013_auto_20181104_1610'), ] operations = [ migrations.AlterField( model_name='semester...
[ "201651011@iiitvadodara.ac.in" ]
201651011@iiitvadodara.ac.in
52d152cd936a19bcfaff23e213b40de5abd66f4d
e4e4c60ffa509f257afc915d4c6cd32c0cb7098c
/.history/app_20200916151418.py
ce395406ad7ab0b64c3691b8145d6d189f1fbc90
[]
no_license
QianyueMa/Google-Health-Search-Project
01dbd597780158f50eebfba2a228b505f8169726
6ef6b270dc7ab0826ad4f0338c9cd95d3571e19a
refs/heads/master
2022-12-19T03:55:10.328167
2020-10-02T12:54:27
2020-10-02T12:54:27
296,495,736
0
0
null
2020-09-18T02:44:12
2020-09-18T02:44:11
null
UTF-8
Python
false
false
3,775
py
import numpy as np import os import requests import json import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine import pandas.io.sql as pdsql from config import pg_user, pg_password, db_name from flask import Flask, jsonify, render_templ...
[ "ermiasgelaye@gmail.com" ]
ermiasgelaye@gmail.com
dd3a8b4df0a8549639ca2811e00c55d75a191693
1c63089e6efa2e63948075cdfad69ded88b7d40e
/symphony/cli/pyinventory/graphql/service_endpoint_role_enum.py
cb96e2664531afd15454ef3508c35251b2889523
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
aharonnovo/magma
4c305b3b0ea414a0355a7dc8fdcc7ed7e1be436e
d96a272ee58fea436cc94990c7ad05c4edc76341
refs/heads/master
2021-08-01T05:38:35.882598
2020-04-02T15:40:13
2020-04-02T15:41:55
252,531,569
0
0
NOASSERTION
2020-04-02T18:11:35
2020-04-02T18:11:34
null
UTF-8
Python
false
false
313
py
#!/usr/bin/env python3 # @generated AUTOGENERATED file. Do not Change! from enum import Enum class ServiceEndpointRole(Enum): CONSUMER = "CONSUMER" PROVIDER = "PROVIDER" MISSING_ENUM = "" @classmethod def _missing_(cls, value: str) -> "ServiceEndpointRole": return cls.MISSING_ENUM
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
0deb5d5658c60f9a95c30297977be47460475bd9
f4c4546f21046ddfd109a0dd34005ac4872f123d
/oldboy/day2/基础数据类型4.py
c5fe2670b3666f8eb90c4ca3640d26fd759070c6
[]
no_license
wuzhisheng/Python
ebbeacc81881b65d6085b8f4bf10e15a25549ab0
84930c2eb5fb0397d546819effef0d879055e2c8
refs/heads/master
2022-01-17T14:57:08.926481
2021-12-31T09:52:01
2021-12-31T09:52:01
146,844,250
0
0
null
null
null
null
UTF-8
Python
false
false
3,770
py
'''''' ''' 字符串:str 存储少量数据类型 python中:凡是用单/双引号引起来的数据就是字符串。 str = 'wuzhisheng 吴志盛' str1 = "wuzhisheng 吴志盛" wu=''' ''' # """ """或''' ''' 保留格式 字符串可以用 + 或 * + 将字符串进行拼接 w = 'wu' z = 'zhi' # 加可以 print(w + z) print(w * 3) 切片: w="wwww" print(w[::2]) ''' #capitalize()首字母大写,其余小写 ** s1='oldBoy' s2=s1.capitalize() print ...
[ "806215829@qq.com" ]
806215829@qq.com
71b4904a308e77ad43f1976e2817ec36814cab43
4644eb637a27eb7a546ee0b0887a174f7d4c13d6
/old/test/das_memcache_t.py
f137479d19a8ab168f7662a474e36ae144de4a5c
[]
no_license
dmwm/DAS
4c33ce63156bbe7f87703532e04321320fd6d66d
a2dddea2c2cb18287d607a3f8da0c6364f9f70d7
refs/heads/master
2021-08-08T17:40:27.066179
2021-05-27T18:47:21
2021-05-27T18:47:21
4,300,629
7
5
null
2021-05-27T18:47:22
2012-05-11T19:07:55
Python
UTF-8
Python
false
false
3,977
py
#!/usr/bin/env python #pylint: disable-msg=C0301,C0103 """ Unit test for DAS cache module """ import unittest import time from DAS.utils.utils import genkey from DAS.utils.das_config import das_readconfig from DAS.utils.logger import DASLogger from DAS.core.das_memcache import DASMemcache try: # with python 2.5 ...
[ "metson@4525493e-7705-40b1-a816-d608a930855b" ]
metson@4525493e-7705-40b1-a816-d608a930855b
c2f66ca6d5d76b2c7657e6035b85941cfe6b9f61
db303c68682dfd18965a04026ff14e15c1ba6120
/ch04/ans35.py
b9577362e4fe622f0c34d0265e8758e7446b7b73
[]
no_license
Toshiyana/nlp100v2020
1a89f164de0c720da6d42c19b3fa60f8013d662c
37d4d208d5d527d163356793b630f36eb7595779
refs/heads/master
2023-07-15T15:01:28.454515
2021-08-21T13:20:03
2021-08-21T13:20:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
from collections import defaultdict def parse_mecab(block): res = [] for line in block.split('\n'): if line == '': return res (surface, attr) = line.split('\t') attr = attr.split(',') lineDict = { 'surface': surface, 'base': attr[6], ...
[ "upura0@gmail.com" ]
upura0@gmail.com
fa97372f1c7c1784d5b67306cc72c036f1556e99
bb048a319e732cb7c059b5fb877b834aab7525c5
/dcbots/bench/sqltypes.py
b6544393cc54f81cbb49f1292c8f0a71288a7a8f
[]
no_license
dodysw/dodysw-svn
9ec38513b7be8ec87d4ae8f6510bc7624e4ce4c0
1f784dae610b1052bf4cd96f5d470e56f0a08528
refs/heads/master
2021-01-22T02:34:00.193636
2016-09-10T17:02:22
2016-09-10T17:02:22
25,316,568
1
0
null
null
null
null
UTF-8
Python
false
false
2,340
py
import time import MySQLdb as dbm def measure(f): start = time.clock() f() print time.clock()-start def init(): global tth_rows, cur MYSQL_CONNECT_PARAM = dict(host='localhost', user='whatsnew_dcbot', passwd='', db='whatsnew_dcbot') conn = dbm.connect(**MYSQL_CONNECT_PARAM) c...
[ "dody@cryptolab.net" ]
dody@cryptolab.net
55c0387190029797fc40a4a5795409b09aa8c92e
f98de2db6b24d30d64f1145c7d8da4a40385a87f
/packages/grid_control/backends/aspect_cancel.py
5b86166d12d61c4cbe5cccbb139d0d6dfe99df5a
[]
no_license
greyxray/grid-control
f9f453491fe7bc506d4cfc240afaa364ba9db84b
ed10fdb6ff604006a5d52dcd43c2e55c9e962c0a
refs/heads/master
2020-04-15T13:15:21.103357
2019-01-08T18:23:07
2019-01-08T18:23:07
164,709,043
1
0
null
null
null
null
UTF-8
Python
false
false
3,028
py
# | Copyright 2016 Karlsruhe Institute of Technology # | # | 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 ...
[ "stober@cern.ch" ]
stober@cern.ch
1cec7bbfb2bf32ef41170fcc4fcf729d5ebf3d4c
9d29ca19feddfb774e990ccef6903206ecdb4ea1
/src/comparable/sim_calculator.py
0ec1b3506959ed19ff36479fad85deb95fb454e8
[]
no_license
rasoolims/ImageTranslate
180f5d6c310f7eb028bc3246e12ff7a5ab7b4fa8
51593a845a95fa3d05fc722a7c6a33077ee267be
refs/heads/master
2023-06-23T14:21:13.985028
2022-09-29T18:57:06
2022-09-29T18:57:06
250,050,377
5
1
null
2023-06-12T21:28:44
2020-03-25T17:49:40
Python
UTF-8
Python
false
false
9,318
py
from collections import defaultdict from optparse import OptionParser import torch import torch.nn as nn from apex import amp from torch.nn.utils.rnn import pad_sequence replacements = {"۰": "0", "۱": "1", "۲": "2", "۳": "3", "۴": "4", "۵": "5", "۶": "6", "۷": "7", "۸": "8", "۹": "9", "٫": ".", "૦": "...
[ "rasooli.ms@gmail.com" ]
rasooli.ms@gmail.com
6eb50de935128c4b95da982aeecb7b0ac8837c6e
f121695e2dff353607fa47fb42482470e03bbf8a
/capitulo_05-Instrucoes_if/hello_admin.py
498fd1d357d23865008f7fd5357e38db07827afc
[]
no_license
ranog/python_work
76cbcf784c86fae4482be5383223e4b0a34f4130
47c442a90dcf32d5aef70858693a772a3c76a7ac
refs/heads/master
2022-12-22T11:02:26.482059
2021-04-17T01:12:22
2021-04-17T01:12:22
233,634,221
2
1
null
2022-12-08T07:38:43
2020-01-13T15:58:46
Python
UTF-8
Python
false
false
4,523
py
#! /usr/bin/env python3 """ NOME hello_admin.py - FAÇA VOCÊ MESMO SINOPSES chmod +x hello_admin.py ./hello_admin.py - Precisamos encontrar alguns usuários! - Breno: Usuário está disponível. - Felipe: Usuário está disponível. - João: Usuário está disponível. - ISAAC: Usuário indisp...
[ "jprnogueira@yahoo.com.br" ]
jprnogueira@yahoo.com.br
02e8402c5117c2b27d6c879a64f03f2ff0da8a59
1afae73794c6d4874360c7a12e4d2f2dbe62ca56
/gilda/tests/test_process.py
10e7d813d8f9ab94695884c5b91a62d83ae79e63
[ "BSD-2-Clause", "BSD-2-Clause-Views" ]
permissive
steppi/gilda
ce2dc1d1d56363c6543b6076a8605d32baca0f60
4927469e5f9a4ca20a056f617c126fe6a4bf3b34
refs/heads/master
2021-11-19T12:52:13.465346
2021-09-25T00:40:17
2021-09-25T00:40:17
194,151,959
0
0
null
2019-06-27T19:28:27
2019-06-27T19:28:26
null
UTF-8
Python
false
false
638
py
from gilda.process import depluralize, replace_greek_spelled_out def test_depluralize(): assert depluralize('BRAF') == ('BRAF', 'non_plural') assert depluralize('apoptosis') == ('apoptosis', 'non_plural') assert depluralize('mosquitoes') == ('mosquito', 'plural_oes') assert depluralize('antibodies') =...
[ "ben.gyori@gmail.com" ]
ben.gyori@gmail.com
f5a4068248717cdecf969c101345a43b1250ad3f
dd5d05ecb3e6752941dd5c72ca955307fca8ec14
/d11/d11p2.py
0b9004cb76477d36074131ce8fe0ef87a6d26774
[]
no_license
jabadia/adventOfCode2020
81e7166cb2646f83da10d70bbaf4c31026ce7938
587001526b90bc6eed703e273b2d6cbec7e9b151
refs/heads/main
2023-02-05T15:39:22.123879
2020-12-28T08:52:54
2020-12-28T08:52:54
317,472,068
1
0
null
null
null
null
UTF-8
Python
false
false
3,140
py
import time from collections import defaultdict from utils.test_case import TestCase from d11_input import INPUT TEST_CASES = [ TestCase(""" L.LL.LL.LL LLLLLLL.LL L.L.L..L.. LLLL.LL.LL L.LL.LL.LL L.LLLLL.LL ..L.L..... LLLLLLLLLL L.LLLLLL.L L.LLLLL.LL """, 26), ] def find_nearest_from(ferry, pos, delta): row...
[ "javi.abadia@gmail.com" ]
javi.abadia@gmail.com
5e365d856993c7130f5b9560833669d748b12ddf
d60ee49abaee6c74c5b777f8f112a7f75f71f029
/genome/variants2/active_driver/convert_ptm.py
8bc23a1001aa4e3e7c10a5588f7623f8747323f3
[]
no_license
ak352/melanomics
41530f623b4bfdbd5c7b952debcb47622d1a8e88
fc5e6fdb1499616fb25a8dc05259add8a65aeca0
refs/heads/master
2020-12-24T16:14:42.271416
2015-08-06T12:48:52
2015-08-06T12:48:52
18,439,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,484
py
import sys import re def get_genes(gene_file): genes = {} for gene in gene_file: gene = gene.strip('\n').split('\t') transcript = gene[0] genename = gene[1] genes[transcript] = genename return genes def get_gene_intersection(data_file, gene_list, out_file): # open fil...
[ "ak@uni.fake" ]
ak@uni.fake
89af33c9dbbe0218a856138862c6a6083250c2ff
c96901e702b0c5f84170f95ed28263528a590e99
/trials/trial_25_seaborn_heatmap.py
3a115563ffc9b2f2f86649deb3e2621612ade7df
[]
no_license
CovertLab/SingleCellSequencing
d31c1898f07707e524bff24e02448f3b9798476d
244dbe0757ffde813d683fa2f0fa68d125735685
refs/heads/master
2021-06-07T04:27:25.723887
2016-09-27T22:17:36
2016-09-27T22:17:36
27,788,049
0
1
null
null
null
null
UTF-8
Python
false
false
13,537
py
""" Analysis! Cluster the time traces and then compare the gene expression for each cluster """ """ Import python packages """ import HTSeq import time import collections import itertools import os import subprocess import collections import datetime import yaml import fnmatch import shlex import numpy import sci...
[ "vanvalen@gmail.com" ]
vanvalen@gmail.com
bd36975c81170ebc8231899dace68949b8c3af3b
c4a57dced2f1ed5fd5bac6de620e993a6250ca97
/huaxin/huaxin_ui/ui_ios_xjb_2_0/setting_trade_password_page.py
ad3b0792d49495208856a117a3e182156aa9fd78
[]
no_license
wanglili1703/firewill
f1b287b90afddfe4f31ec063ff0bd5802068be4f
1996f4c01b22b9aec3ae1e243d683af626eb76b8
refs/heads/master
2020-05-24T07:51:12.612678
2019-05-17T07:38:08
2019-05-17T07:38:08
187,169,391
0
0
null
null
null
null
UTF-8
Python
false
false
2,762
py
# coding=utf-8 from _common.page_object import PageObject import huaxin_ui.ui_ios_xjb_2_0.security_center_page from _common.xjb_decorator import robot_log FIND_TRADE_PASSWORD = "accId_UIAElement_找回交易密码" MODIFY_TRADE_PASSWORD = "accId_UIAElement_修改交易密码" CURRENT_TRADE_PASSWORD = "accId_UIATextField_(tradePwdTextField)" ...
[ "wanglili@shhxzq.com" ]
wanglili@shhxzq.com
e01ad7691ea38c36d638bae31a9495c9d187f087
cf55e0e3ac8f340b379bb211c9f40a71930a4891
/src/app_v1/order_paid.py
8561892863f309ffc3634b0fafdf09563c70ae50
[]
no_license
jack139/pretty
666af96fd412c9fba1b4180dc14b2dcb77ae677d
5641341d23191cd3dcc050524cf862c5e1dde2c7
refs/heads/master
2021-01-19T23:02:25.805841
2017-08-24T07:19:56
2017-08-24T07:19:56
101,262,255
1
0
null
null
null
null
UTF-8
Python
false
false
3,894
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import web import time, json from config import setting import app_helper db = setting.db_web # 支付完成 url = ('/app/v1/order_paid') class handler: @app_helper.check_sign(['app_id','dev_id','ver_code','tick','session','order_trade_id','data']) def POST(self, versi...
[ "gt@f8geek.com" ]
gt@f8geek.com
8eb81c367c3e97cfc7fc8836fe6fe26710691f9e
9f2f386a692a6ddeb7670812d1395a0b0009dad9
/python/paddle/fluid/tests/unittests/test_tensor_uva.py
4af04b8f6d41e2801fb1bba280f648c81bd3c2ae
[ "Apache-2.0" ]
permissive
sandyhouse/Paddle
2f866bf1993a036564986e5140e69e77674b8ff5
86e0b07fe7ee6442ccda0aa234bd690a3be2cffa
refs/heads/develop
2023-08-16T22:59:28.165742
2022-06-03T05:23:39
2022-06-03T05:23:39
181,423,712
0
7
Apache-2.0
2022-08-15T08:46:04
2019-04-15T06:15:22
C++
UTF-8
Python
false
false
2,195
py
# Copyright (c) 2022 PaddlePaddle Authors. 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 ap...
[ "noreply@github.com" ]
sandyhouse.noreply@github.com
415cedb3d3fa0bda509665ff0b6bda231b44e591
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/infra/rsequipmentflashconfigpol.py
5ba1c06c67cbdddd0e6be74145506f655f54e2e0
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
9,367
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
a3c1db4dbe9cbb4c1e4b32666a85445f6a052213
6b597d4968b7fe790743b8b8c005f10c0d7dca14
/aliyun-python-sdk-sas/aliyunsdksas/request/v20181203/DescribeWebLockConfigListRequest.py
a488efdb3c8a9a2cd17583b1e7a1b7a27fc24020
[ "Apache-2.0" ]
permissive
tyh001/aliyun-openapi-python-sdk
b325348df187755a7afca059402e6936d3f6489b
3de91944d67a893422a1d1bd0fc124ff457a33c1
refs/heads/master
2023-04-16T15:09:56.132243
2021-04-25T03:31:25
2021-04-25T03:31:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,454
py
# 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 u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
f47f0e566dc3c61d9cdc0fb73ae153e1f08d47fc
6c00499dfe1501294ac56b0d1607fb942aafc2ee
/eventregistry/tests/TestERQueryArticle.py
bdd55097b88d584354831bd931f97c34064372e3
[ "MIT" ]
permissive
EventRegistry/event-registry-python
dd692729cb5c505e421d4b771804e712e5b6442b
bf3ce144fa61cc195840591bae5ca88b31ca9139
refs/heads/master
2023-07-06T11:04:41.033864
2023-06-23T08:40:31
2023-06-23T08:40:31
40,995,963
176
48
MIT
2020-10-21T09:17:06
2015-08-18T20:29:23
Python
UTF-8
Python
false
false
2,330
py
import unittest from eventregistry import * from eventregistry.tests.DataValidator import DataValidator class TestQueryArticle(DataValidator): def createQuery(self): q = QueryArticles(conceptUri = self.er.getConceptUri("Obama")) q.setRequestedResult(RequestArticlesUriWgtList(count = 100)) ...
[ "gleban@gmail.com" ]
gleban@gmail.com
0e6eb8dd980dea3dca19b288358cbfacba99fa4e
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/formrecognizer/azure-ai-formrecognizer/samples/v3.2-beta/async_samples/sample_manage_models_async.py
e4a2f1a079c6b24be6a7fd47b513e0d7ea6e2b56
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
3,366
py
# coding: utf-8 # ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
a182ce756249ca3cacb5023e1cfa2f9c7184bdc4
d47436cad4e2b08ee0e58a157a0860f496037df7
/sApp/migrations/0001_initial.py
8aae841cbabb0695048dac5b91cf44de9cebbf73
[]
no_license
rushabhgediya38/Django-BeautifulSoup
ff8a9d5514bf0e3b7ecc2e26dadde605c39c9b71
11029364c161d6a63f74b17a5aa04b45a43b3140
refs/heads/master
2023-05-06T10:03:56.474083
2021-05-25T13:49:13
2021-05-25T13:49:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
# Generated by Django 3.2.3 on 2021-05-24 11:27 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='sData', fields=[ ('id', models.BigAutoField...
[ "rushabhgediya38@gmail.com" ]
rushabhgediya38@gmail.com
86e188f2e4988ed3ff9dbc179788f4eaa24c9c97
f1b86f057b7982163055e36cc97ff1532d3afb46
/encode_decode/auto_encode.py
e6c13f11080263f3e9ff30b6dd02fad224ede17e
[]
no_license
bigboyooo/ner-bilstm-dnn
0a29b2268ce48960ee222863673d7fd5785ff54b
7afd569dd59706e16007eeb50f2bc2049bc33c80
refs/heads/master
2020-06-01T22:29:28.019022
2018-06-21T07:23:56
2018-06-21T07:23:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,158
py
#coding="utf8" import os,sys,re,traceback,json import pandas as pd import numpy as np import tensorflow as tf #import sklearn.preprocessing as prep #from tensorflow.examples.tutorials.mnist import input_data import sys def _path(filepath): return os.path.join(CURPATH, filepath) def xavier_init(fan_in, fan_out, ...
[ "qhn614@126.com" ]
qhn614@126.com
3c0ecf9821207af1edc05f87c1d8183a22298461
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03597/s115505711.py
8d17bc3edb536d7cdb0c0d3fde8bd26535f38a0f
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
def abc(): n = int(input()) a = int(input()) print(n * n - a) abc()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0b9f0c6a5191efbdccbdafb1b015451146020a38
9cbd523cdedc727f62c887612e8ae2c25c909964
/tests/lib/steps/check_TID_027.py
83b46b0a4fa54c98997731f5cfb1487b519482f6
[]
no_license
louiscklaw/QA_test_scripts
8a71d0bed99fae3b0dac4cd9414b3e34dcf5beed
58b73594332053272d8dce2c812c93297259c782
refs/heads/master
2023-01-27T15:48:29.477848
2020-12-06T10:05:19
2020-12-06T10:05:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
598
py
import random from pprint import pprint from config import * from time import sleep from assert_check_point import assertCheckPoint import restaurant_manage.password def run_check(json_metadata, browser, password_to_bruce): TEST_ERR_MSG='test failed at TID_027' assertCheckPoint(browser, 'TID_027_1', TEST_ERR_MS...
[ "louiscklaw@gmail.com" ]
louiscklaw@gmail.com
3c1e3a8b843b126307b8f88b9fbc6404661d686d
e641bd95bff4a447e25235c265a58df8e7e57c84
/build/lacros/test_runner.py
40919e21025951ca2975f2309bd63dd9ada087a0
[ "BSD-3-Clause" ]
permissive
zaourzag/chromium
e50cb6553b4f30e42f452e666885d511f53604da
2370de33e232b282bd45faa084e5a8660cb396ed
refs/heads/master
2023-01-02T08:48:14.707555
2020-11-13T13:47:30
2020-11-13T13:47:30
312,600,463
0
0
BSD-3-Clause
2022-12-23T17:01:30
2020-11-13T14:39:10
null
UTF-8
Python
false
false
16,453
py
#!/usr/bin/env vpython # # Copyright 2020 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """This script facilitates running tests for lacros on Linux. In order to run lacros tests on Linux, please first follow bit.ly/3j...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
d68475d087c681885a302ce09839ee0363db00a4
0122d6ff2fdab185480ca06ba37e743c8e899e26
/test/test_api_list_gateway_response.py
b41732009e203a02e3f75b9f21c2ae4ff86e5112
[]
no_license
jcu-eresearch/pyLorawanServer
c0564a4946627f71b1cdba114fe24c0475059f59
277b99736194b1f1ae47526c1deaee3f7f88c299
refs/heads/master
2020-04-03T14:38:03.334371
2018-10-30T05:29:27
2018-10-30T05:29:27
155,328,867
1
0
null
null
null
null
UTF-8
Python
false
false
1,090
py
# coding: utf-8 """ LoRa App Server REST API For more information about the usage of the LoRa App Server (REST) API, see [https://docs.loraserver.io/lora-app-server/api/](https://docs.loraserver.io/lora-app-server/api/). # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.co...
[ "nigel.blair@gmail.com" ]
nigel.blair@gmail.com
a701b7b61f73127bef8278cfaa98dcf0c501b42d
0e4168c4d129b7219cd4048102409ab69c543376
/scripts/joinSamples.py
4ea8442b37d446e6dad8984cbac3b1c31589947a
[]
no_license
saumyaphor4252/PlayWithDatacards
867f47486cd51091b7b6ee99bc3f860486266117
2b25d49073b76a6c030cdac5577def3024dd219f
refs/heads/master
2022-03-06T05:44:21.039024
2017-10-31T11:08:43
2017-10-31T11:08:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
# # join samples # # join YY and XX into VV # # joinSamples.update({'VV' : ['YY','XX']}) joinSamples.update({'Higgs' : ['qqH','ggH','ZH','WH']}) joinSamples.update({'VVV-WZ-ZZ-Vg' : ['VV','VVV','Vg','VgS']}) #joinSamples.update({'WW' : ['ggWW','WW']}) joinSamples.update({'Top' : ['TopPt0','...
[ "massironi.andrea@gmail.com" ]
massironi.andrea@gmail.com
d3fa277d14aebc7a28b2c6ef51d67f48fb198690
17e60f61fc82e7369802a1c597b58b0206ad9bec
/lib/resIpOSF1.py
ed540226dbdb369c1350048d478951dab3b4d1ee
[]
no_license
SLB-DeN/opensvc
5e06d42947f51662fa16203a00670a88b9e1fea9
75baeb19e0d26d5e150e770aef4d615c2327f32e
refs/heads/master
2021-05-17T05:35:18.585791
2020-03-19T15:20:05
2020-03-19T15:20:05
250,651,667
1
0
null
2020-03-27T21:29:22
2020-03-27T21:29:22
null
UTF-8
Python
false
false
919
py
import resIp as Res import rcExceptions as ex from rcUtilitiesOSF1 import check_ping from rcUtilities import to_cidr, to_dotted class Ip(Res.Ip): def check_ping(self, count=1, timeout=5): self.log.info("checking %s availability"%self.addr) return check_ping(self.addr, count=count, timeout=timeout) ...
[ "christophe.varoqui@opensvc.com" ]
christophe.varoqui@opensvc.com
bf5ec6948feea77173ec09f78b4b41b6d0a71eaa
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/MT5_ID4146_for_PyTorch/transformers/src/transformers/models/albert/__init__.py
0a61f5995a78963a71d334ac03c89ac5cdcdbb54
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,368
py
# flake8: noqa # There's no way to ignore "F401 '...' imported but unused" warnings in this # module, but to preserve other warnings. So, don't check this module at all. # Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
62af2b892b48fc4ea07ca654b78b182a5488e8be
52e814745700b54e4b35e783386ad5f796def1e9
/colour/models/rgb/dataset/smptec_rgb.py
975aa35b67e90bc77dac406f33783516a44fb3cb
[ "BSD-3-Clause" ]
permissive
scoopxyz/colour
e9c6502f67ff0774ab77f3c2f622b5973f5a9196
b1d82af250122f82919b4c54d06fdf72c069c5af
refs/heads/develop
2020-12-30T19:57:48.884001
2016-12-28T12:42:44
2016-12-28T12:42:44
68,670,983
0
0
null
2016-09-20T03:38:17
2016-09-20T03:38:17
null
UTF-8
Python
false
false
2,618
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ SMPTE-C RGB Colourspace ======================= Defines the *SMPTE-C RGB* colourspace: - :attr:`SMPTE_C_RGB_COLOURSPACE`. See Also -------- `RGB Colourspaces Jupyter Notebook <http://nbviewer.jupyter.org/github/colour-science/colour-notebooks/\ blob/master/noteboo...
[ "thomas.mansencal@gmail.com" ]
thomas.mansencal@gmail.com
a121ce2c0c6215da8a3ea58cd38153ea6a7642af
7a2342efcfb0a9880c30c26e8b45bf954b701ac1
/tensorflow/contrib/learn/python/learn/preprocessing/tests/categorical_test.py
0a6603c79b78a6f9bfe53d502e7a4da5ba17401a
[ "Apache-2.0" ]
permissive
danielhardej/tensorflow
0012157e89629c19cd7fcdab613ab609b05b0294
1c7d02cd21f6182f959ae66d3487ff55daa83f6a
refs/heads/master
2023-04-15T13:05:46.374708
2016-07-13T22:30:26
2016-07-13T22:30:26
63,285,754
2
0
Apache-2.0
2023-04-07T11:36:20
2016-07-13T23:15:10
C++
UTF-8
Python
false
false
2,243
py
# encoding: utf-8 # Copyright 2016 The TensorFlow Authors. 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 r...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
ccf90dacc8518550b9d77f0e2efe79c948778c82
2333e07c173acc09bae62d9e94c1fe114afe96f2
/day02/titanic/knn.py
8f5d31fb1325ce3ea2ccc69928274853507c369e
[]
no_license
nojongmun/python_tensor
a61bf447bae253fe99d1d8297240922a12c1007f
80422d9be2b687e5453d4c551988625a7ec3e248
refs/heads/master
2022-08-26T01:17:20.628581
2020-05-26T13:28:51
2020-05-26T13:28:51
256,535,640
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
""" KNN(KNeighbors) 분류기(classifier) vs 회귀기(regressor) """
[ "nojm73@naver.com" ]
nojm73@naver.com
5466508a5f10a2490145c71a4d00799ff8fa23b2
1a59a9076c1e9f1eb98e24ff41a4c1c95e2b353e
/xcp2k/classes/_print51.py
5960da1d1f2942edcf03cd540cb901434df30894
[]
no_license
Roolthasiva/xcp2k
66b2f30ebeae1a946b81f71d22f97ea4076e11dc
fc3b5885503c6f6dc549efeb4f89f61c8b6b8242
refs/heads/master
2022-12-23T06:03:14.033521
2020-10-07T08:01:48
2020-10-07T08:01:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from xcp2k.inputsection import InputSection from xcp2k.classes._program_run_info36 import _program_run_info36 class _print51(InputSection): def __init__(self): InputSection.__init__(self) self.PROGRAM_RUN_INFO = _program_run_info36() self._name = "PRINT" self._subsections = {'PROGR...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5228f70187f2fb73f3f1637fd851a5a7bc4cc9b0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02850/s373081081.py
b381794c0d3494f7275436bc03b2bca28c761d40
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
n = int(input()) g = [[] for _ in range(n)] inv = [0] * n for i in range(n - 1): a, b = map(int, input().split()) g[a - 1].append((b - 1, i)) inv[a - 1] += 1 g[b - 1].append((a - 1, i)) inv[b - 1] += 1 k = max(inv) print(k) s = [0] d = [-1] * n d[0] = [-2] ans = [0] * (n - 1) while s: p = s.pop(...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4f92f5233c910ebb8db129825cec1fe0afd083df
0a7711063b30b1566ade3cc07f105292e32fe6d6
/fabfile.py
07b2332cef37e71892c58c0032d7fa0bfe7a0502
[]
no_license
huokedu/dynamic-scrapy
e150a1fc6894e39d6bae37c602a592d57cd22c51
31a47e9810f2039cfe33653e09d7d03242764723
refs/heads/master
2021-01-17T21:33:17.810250
2013-10-05T17:28:19
2013-10-05T17:28:19
null
0
0
null
null
null
null
UTF-8
Python
true
false
3,512
py
"""Management utilities.""" from fabric.contrib.console import confirm from fabric.api import abort, env, local, settings, task ########## GLOBALS env.run = 'heroku run python manage.py' HEROKU_ADDONS = ( 'cloudamqp:lemur', 'heroku-postgresql:dev', 'scheduler:standard', 'memcachier:dev', 'newrel...
[ "scoarescoare@gmail.com" ]
scoarescoare@gmail.com
001ee8c250001a08a7d5f7293b5801b8d90f2704
7250ce4b0f8c0bbff563e22243750bd89bc4a1f8
/source/interprocedural_analyses/taint/test/integration/via_type_of.py
5c5b05667e533cc4c1f9f0187df6d2ea54ec20a3
[ "MIT" ]
permissive
geekmc/pyre-check
717a02b71b9537852e494507c70b91e7e98a8c22
592ad6dee657e48746ed2d352c6f9269b6ff9c61
refs/heads/main
2023-07-07T15:48:20.915843
2021-08-10T03:22:53
2021-08-10T03:23:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import enum from builtins import _test_sink, _test_source def return_via_parameter_type(parameter): return 0 def test_strings(): r...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
b3f6e06ec271a24acb23628e036addff72b6bd18
ec46c70a721f16031a784f54f522656fb43dfc9f
/venv/lib/python3.6/site-packages/xmlschema/validators/elements.py
2fd9e70cc618a388925fd3b40bb08fc2b89878e9
[]
no_license
kardelen-karatas/django-importXML
c6a62942b740697d3647ec0bc1ed9c078e751159
b169966627bd54b684aaedd5fd6c0d7be551b973
refs/heads/master
2022-12-10T00:38:40.578278
2020-04-15T10:34:36
2020-04-15T10:34:36
125,032,574
0
0
null
null
null
null
UTF-8
Python
false
false
24,086
py
# -*- coding: utf-8 -*- # # Copyright (c), 2016-2018, SISSA (International School for Advanced Studies). # All rights reserved. # This file is distributed under the terms of the MIT License. # See the file 'LICENSE' in the root directory of the present # distribution, or http://opensource.org/licenses/MIT. # # @author ...
[ "kardelen.karatas@gmail.com" ]
kardelen.karatas@gmail.com
57213ef2b1e90bae101fffe7e7eb0c0cfa88899b
e3f8a3631b05347614645807ec04f834f30d3361
/mysite/myapp/urls.py
d509527fb94ec17f6719cd9a13ab69163abc3d67
[ "MIT" ]
permissive
CSUChico-CINS465/CINS465-S19-Examples
0acd7e8c46d6a197e63ff23a5198ba5c93d9cf3d
2a9e88e1cc5ec937562211680760243d0f16efcf
refs/heads/master
2021-11-16T15:06:28.924984
2021-06-16T16:33:37
2021-06-16T16:33:37
166,880,285
0
1
MIT
2021-09-22T17:49:06
2019-01-21T21:02:57
Python
UTF-8
Python
false
false
383
py
from django.urls import path from django.contrib.auth import views as auth_views from . import views urlpatterns = [ path('', views.index), path('login/', auth_views.LoginView.as_view()), path('logout/', views.logout_view), path('register/', views.register), path('comment/<int:sugg>/', views.comm...
[ "javawolfpack@gmail.com" ]
javawolfpack@gmail.com
66fc09278c9d017d0fc259a174d156f1030566ff
12f83344cdfe561db39ad9106dbf263ccd919f7e
/Projects/miami_metro/debra/search_views.py
77ead296336719b4b2451479030e5c53308017f5
[]
no_license
TopWebGhost/Angular-Influencer
ebcd28f83a77a92d240c41f11d82927b98bcea9e
2f15c4ddd8bbb112c407d222ae48746b626c674f
refs/heads/master
2021-01-19T10:45:47.039673
2016-12-05T01:59:26
2016-12-05T01:59:26
82,214,998
1
0
null
null
null
null
UTF-8
Python
false
false
83,630
py
import json import datetime import time import urllib import logging import sys import itertools from collections import defaultdict, Counter import itertools from django.conf import settings from django.shortcuts import render, redirect, get_object_or_404 from django.contrib.auth.decorators import login_required fro...
[ "ivanfridrich1981129@yandex.com" ]
ivanfridrich1981129@yandex.com
5650b18a91e0524ae5250eb65573dc05105ed4f4
31f1be14dbdc5f6076415dbab63a23a3766d0c84
/Slateo-web/Slateo_Admin/urls/adminGradeUrls.py
ab8ccf9ce72c7147d4cc5927ea19363ea668c797
[]
no_license
kumar109-beep/Examination_Panel
4004b328cc5abb26dfaccc0b11fd35112840458a
598f70aa970b9ed3a03cc931e0fd39efb5ed84bb
refs/heads/main
2023-08-10T17:33:48.067626
2021-09-25T12:51:22
2021-09-25T12:51:22
410,267,668
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
from django.urls import path from ..views.admingradeView import * urlpatterns = [ path('create-grade' , create_individualGrade, name='individualGrade'), path('chainedGradeCourses' , chainedGradeCourses, name='chainedGradeCourses'), path('grade-list' , grade_list, name='grade_list'), path('edit-grade...
[ "rk468335@gmail.com" ]
rk468335@gmail.com
bff37916a2a0abf7e118be05ae0e606e4f32e919
31ecba3f8112e91fbf99edf0bb9dd385da93c2ea
/Chapters/Unit5probs/findbuckets.py
45234cabf24149c5a3d9eba1512cbed7175f33d9
[]
no_license
siddeshbb/searchengine
7c92ab59e9515725541a9c010ec8efd369121907
210a6f52cb12b7c0bc27f43d138fa308942b9fd6
refs/heads/master
2022-12-22T19:52:52.889791
2020-09-28T12:46:44
2020-09-28T12:46:44
299,305,999
1
0
null
null
null
null
UTF-8
Python
false
false
874
py
# Define a procedure, hashtable_get_bucket, # that takes two inputs - a hashtable, and # a keyword, and returns the bucket where the # keyword could occur. def hashtable_get_bucket(htable,keyword): return htable[ hash_string( keyword , len( htable ) ) ] def hash_string(keyword,buckets): out = 0 for s in...
[ "sbb@vmware.com" ]
sbb@vmware.com
f9ba13ab120ad54b3d31f7b7e3d3fde7dbb94789
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007.1/programming/libs/tcltk/actions.py
1d79ab883daf1f4427f3cad73d8694cbc4138091
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import get from pisi.actionsapi import pisitools from pisi.actionsapi imp...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
f8149f2da378fb53d5e36feff3939993f377b017
36896bab28eb4c818178aa6896e95e2dacc0842b
/troposphere_mate/emr.py
831b2c0b00db8ebe67734dba4ecf22460667da47
[ "MIT" ]
permissive
MacHu-GWU/troposphere_mate-project
302ad28ab6b83576c8a3413dcdca11dfd253a9fe
d615c0b717faae52e6edfb9dca65940e49191529
refs/heads/master
2023-03-17T19:48:09.280012
2023-03-03T04:08:16
2023-03-03T04:08:16
195,665,308
10
3
null
null
null
null
UTF-8
Python
false
false
27,453
py
# -*- coding: utf-8 -*- """ This code is auto generated from troposphere_mate.code_generator.__init__.py scripts. """ import sys if sys.version_info.major >= 3 and sys.version_info.minor >= 5: # pragma: no cover from typing import Union, List, Any import troposphere.emr from troposphere.emr import ( Applic...
[ "husanhe@gmail.com" ]
husanhe@gmail.com
574256b07e8f71c690e54228a60da25478ef2087
b8630509b97621ddc3bbeaef8d1cd54ff77b3dde
/bandmaker/bandmaker/urls.py
d29cb941e129bd43157b12d46f475ee46c854d41
[]
no_license
ChibaUnppluged/BandMaker-ogi
c4080204d63495fed42e26306663e06df8ffb373
68a4a6eceb3f385b97afe8741fc538216800f893
refs/heads/master
2021-01-01T04:29:28.436614
2017-10-20T16:30:00
2017-10-20T16:30:00
97,184,844
0
0
null
null
null
null
UTF-8
Python
false
false
984
py
# coding:utf-8 """bandmaker URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name...
[ "pochi.0226.ogi@gmail.com" ]
pochi.0226.ogi@gmail.com
0eb1879c244d2115498463b9733d18e928eb0385
3716e91c0a18a2cf0b5807cc673d95a7539b008c
/Desert/GoldenMirage.py
f563b55791426c7140a315433fe66e9f7577132e
[]
no_license
kiwiapple87/CodeCombat-1
47f0fa6d75d6d3e9fb9c28feeb6fe2648664c1aa
ce0201e5ed099193ca40afd3b7abeee5a3732387
refs/heads/master
2021-05-01T16:38:03.575842
2016-08-25T11:13:26
2016-08-25T11:13:26
66,552,813
1
0
null
2016-08-25T11:39:20
2016-08-25T11:39:18
null
UTF-8
Python
false
false
780
py
# https://codecombat.com/play/level/golden-mirage # Collect 7 real coins. # Real coins have a unique value in the each group of coins. # If a coin has the same value as another coin in the group, then it's a fake. # Fake coins will transform into venomous creatures to hurt the player! def Coin(coins): for coin1 in ...
[ "vadim-job-hg@yandex.ru" ]
vadim-job-hg@yandex.ru
df9d3a446db760b6a0eac1890c697315b556e221
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp152_6000.py
7a080d72fc6285918249e58f56891af455243f01
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,790
py
ITEM: TIMESTEP 6000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp -2.5726909140137622e+00 4.9772690914007427e+01 -2.5726909140137622e+00 4.9772690914007427e+01 -2.5726909140137622e+00 4.9772690914007427e+01 ITEM: ATOMS id type xs ys zs 1452 1 0.0679786 0.118804 0.0641003 1030 1 0.142102 0.194386 0.166033 1678 1 ...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
26a3eb6017784f83e4890b5450ca6e887d90b6f5
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/third_party/skia/tools/dm_flags.py
9672849ee344fc28ca0dbce6a1404595890e3fd0
[ "BSD-3-Clause", "Apache-2.0", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-public-domain", "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
11,724
py
# # Copyright 2015 Google Inc. # # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # #!/usr/bin/env python usage = ''' Write extra flags to outfile for DM based on the bot name: $ python dm_flags.py outfile Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug Or run self-tests:...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
68d1e6d7b2e4f62368c66cc12f92988222360a43
b1962b701230e8fe3235676b6a9a659b1ad921ef
/app/route/route1/models.py
bb9c977cd8cfd4a7d72eeda587a6f38d85ac85ae
[]
no_license
volgoweb/wt
8e08dc0ff83ac120992bd81c209a420b207df966
3a88b8d7d6e1f925b363bfecb94008e14d15943f
refs/heads/master
2021-01-23T09:29:42.209757
2016-02-05T21:24:10
2016-02-05T21:24:10
42,570,795
0
0
null
null
null
null
UTF-8
Python
false
false
4,063
py
# -*- coding: utf-8 -*- """ Маршрут для форумки. Контент-менеджер создает инфоповод. Автор пишет по инфоповоду заголовок и текст. Контент-менеджер подбирает картинки. Корректор проверяет и исправляет ошибки. Контент-менеджер публикует. """ import json import datetime from django.db import models from django.core.urlres...
[ "volgoweb@bk.ru" ]
volgoweb@bk.ru
956895fdcf39007fb48577a2b7f41af5e435c1e2
4e353bf7035eec30e5ad861e119b03c5cafc762d
/QtGui/QPainterPath.py
7998d10a8e9049e3c3657e20e5a30cef878cfee4
[]
no_license
daym/PyQt4-Stubs
fb79f54d5c9a7fdb42e5f2506d11aa1181f3b7d5
57d880c0d453641e31e1e846be4087865fe793a9
refs/heads/master
2022-02-11T16:47:31.128023
2017-10-06T15:32:21
2017-10-06T15:32:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,689
py
# encoding: utf-8 # module PyQt4.QtGui # from C:\Python27\lib\site-packages\PyQt4\QtGui.pyd # by generator 1.145 # no doc # imports import PyQt4.QtCore as __PyQt4_QtCore class QPainterPath(): # skipped bases: <type 'sip.simplewrapper'> """ QPainterPath() QPainterPath(QPointF) QPainterPa...
[ "thekewlstore@gmail.com" ]
thekewlstore@gmail.com
2a00ed6c5e049ee4620344d4fb310bfc0654281d
74912c10f66e90195bf87fd71e9a78fa09f017ec
/execroot/syntaxnet/bazel-out/local-opt/bin/dragnn/tools/segmenter_trainer.runfiles/org_tensorflow/tensorflow/contrib/grid_rnn/python/ops/__init__.py
fe1f5c47cb4acf5a8849d044c967729708723048
[]
no_license
koorukuroo/821bda42e7dedbfae9d936785dd2d125-
1f0b8f496da8380c6e811ed294dc39a357a5a8b8
237fcc152ff436f32b2b5a3752a4181d279b3a57
refs/heads/master
2020-03-17T03:39:31.972750
2018-05-13T14:35:24
2018-05-13T14:35:24
133,244,956
0
0
null
null
null
null
UTF-8
Python
false
false
138
py
/root/.cache/bazel/_bazel_root/821bda42e7dedbfae9d936785dd2d125/external/org_tensorflow/tensorflow/contrib/grid_rnn/python/ops/__init__.py
[ "k" ]
k
d7db9754a8b6bbf84b7a4de1c90f1a7ec627a1f8
3a9f76cda884152ab083ca713b57570d5d195a79
/locations/choices.py
7d3c412a3970317af58e06134cf6b1d703bc0ef9
[ "MIT" ]
permissive
MahmoudFarid/django-locations
9b9790dfef5de0214169e04640e9a4f0ab6c0961
af25d0e4492fd3476b6be1c7f1ef8471be13751c
refs/heads/master
2020-07-17T11:47:38.806163
2015-11-14T23:41:25
2015-11-14T23:41:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,069
py
from localflavor.us import us_states STATE_CHOICES = us_states.US_STATES # ISO 3166-1 country names and codes adapted from http://opencountrycodes.appspot.com/python/ COUNTRY_CHOICES = ( ('GB', 'United Kingdom'), ('AF', 'Afghanistan'), ('AX', 'Aland Islands'), ('AL', 'Albania'), ('DZ', 'Algeri...
[ "dstegelman@gmail.com" ]
dstegelman@gmail.com
2ab00653756f1a974149ea20746f1d28e975f1aa
bfdab27f224d9cac02e319fe55b53172fbf8d1a2
/motion_editor_core/data/atlas_old/positions/leg/vi4_leg8r.py
5e747dc2e1385126fc1654323f987d7f36d3526c
[]
no_license
tu-darmstadt-ros-pkg/motion_editor
c18294b4f035f737ff33d1dcbdfa87d4bb4e6f71
178a7564b18420748e1ca4413849a44965823655
refs/heads/master
2020-04-06T12:37:30.763325
2016-09-15T14:11:48
2016-09-15T14:11:48
35,028,245
2
3
null
2015-05-05T13:20:27
2015-05-04T10:18:22
Python
UTF-8
Python
false
false
64
py
{ 'vi4_leg8r': [0.3032, 0.3181, -1.745, 2.447, -0.848, 0.0711]}
[ "martin.sven.oehler@gmail.com" ]
martin.sven.oehler@gmail.com
4cbd58be9c0a75640734503160b3eb437bf7da9c
a1de302f76b3b5bf3e4c29e4c31984a8bf081820
/autobahn/autobahn/websocket.py
cef09eb844e6ac6f837ba77d200f08e2ebb9e956
[ "Apache-2.0" ]
permissive
jhargis/AutobahnPython
ce4d085e40b1e71823aef6387dd568f01c6288c1
30aed5538059ef5df9e0793938eaabee47d3c569
refs/heads/master
2021-04-15T05:47:01.777634
2012-07-17T19:13:43
2012-07-17T19:13:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
144,851
py
############################################################################### ## ## Copyright 2011,2012 Tavendo GmbH ## ## 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 ## ## ...
[ "tobias.oberstein@tavendo.de" ]
tobias.oberstein@tavendo.de
09c4d503aed61e80d4d4a09cddc15e187782154b
3cd1246ff58f26329021f2d13caa62221c91d5a4
/testdata/python/binary/and_.py
2e3721fee8e99a5e1844d9ed4aba6a89bdea90f4
[]
no_license
mwkmwkmwk/unpyc
0929e15fb37599496930299d7ced0bf1bedd7e99
000fdaec159050c94b7ecf6ab57be3950676f778
refs/heads/master
2020-12-01T14:01:57.592806
2016-03-21T14:11:43
2016-03-21T14:12:01
230,650,936
0
0
null
null
null
null
UTF-8
Python
false
false
10
py
x = b & 2
[ "koriakin@0x04.net" ]
koriakin@0x04.net
ccefb9800777cb3c74d7e87d7736daf68f3b4d36
0a3da7d8ee3453beec7798a62003014187b714b1
/data/ai/99_others/nlp/text-classifier/text-classifier-rule-resume/cv-filter.py
2b008e6920d75a57b8bf8f0c003819bffd2f9aba
[]
no_license
atfly/atlib
635d1b0804af01c090a92048ed09758cb03820bf
2c15fa47b2b915c1d998e89bbd69ff24dba52137
refs/heads/master
2021-05-16T12:51:50.157911
2017-11-16T06:50:33
2017-11-16T06:50:33
105,330,432
1
0
null
null
null
null
UTF-8
Python
false
false
4,299
py
#!/usr/bin/env python # _*_ coding:utf-8 _*_ import sys reload(sys) sys.setdefaultencoding("utf-8") cv_basic_patterns = {"name": ["姓名"], "phone": ["手机", "电话"], "email": ["邮箱", "e-mail"],"age": ["年龄"], "address": ["通讯地址"],"location": ["居住地"], "hukou": ["户口"], "gender": ["性别", "男", "女"]} cv_edu_patterns = {"university"...
[ "atflysun@outlook.com" ]
atflysun@outlook.com
d0d76f63c0475f78d1062683c3de2370e4c53de6
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_152/ch4_2020_09_11_17_51_58_429714.py
e3254130811b41145b6e3da216c09d9b3ffa527c
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
def classifica_idade(idade): if idade >= 18: return 'adulto' elif idade >=12 and <= 17: return 'adolescente' else: return 'crianca'
[ "you@example.com" ]
you@example.com
074fea474ada199da2341663a3361ad9c806139c
1ff9adfdb9d559e6f81ed9470467bab25e93b5ab
/src/ta_lib/_vendor/tigerml/core/utils/stats.py
dc81eb055a7defec79beb1790a276d8acedfe3f6
[]
no_license
Seemant-tiger/housing-price-prediction
a39dbefcb11bc460edeeee92e6becf77d35ff3a8
be5d8cca769c7e267cfee1932eb82b70c2855bc1
refs/heads/main
2023-06-24T00:25:49.776720
2021-07-18T16:44:28
2021-07-18T16:44:28
387,222,852
0
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
import itertools import numpy as np import pandas as pd def woe_info_value(target_series, idv_series, target_counts=None): """Compute Information Value (IV) from WOE (weight of evidence). Parameters ---------- target_series: pd.Series of target variable idv_series: pd.Series of categoric...
[ "seemantsingh1199@gmail.com" ]
seemantsingh1199@gmail.com
2eb0e04cbf98eb39a6c920a04901fe777673aa45
31c77e4002bea7b8a3b09eef1c96b0925b8f3490
/src/spaceone/inventory/connector/aws_ecr_connector/__init__.py
52d970d20f7f7f9ead201c388d6dfede55d095f4
[ "Apache-2.0" ]
permissive
Jeoungseungho/plugin-aws-cloud-services
109e33440ac9ec0932bd71339849e13f15b4b0fa
2a4df525599dcc77bd67c8b677b7cc93dc177439
refs/heads/master
2023-03-10T07:11:27.789611
2021-02-24T02:39:33
2021-02-24T02:39:33
330,849,261
0
0
Apache-2.0
2021-02-04T08:15:02
2021-01-19T03:08:10
Python
UTF-8
Python
false
false
82
py
from spaceone.inventory.connector.aws_ecr_connector.connector import ECRConnector
[ "bluese@megazone.com" ]
bluese@megazone.com
785823daf0c6021b57e5de394a425498b30194d3
4d332c45578246847ef2cdcdeb827ca29ab06090
/modules/Bio/NeuralNetwork/BackPropagation/Network.py
7c9b53f69f6bef0be388469fab4eaa6abe4a286f
[ "MIT" ]
permissive
prateekgupta3991/justforlearn
616cc297a2a6119fa959b9337a5e91c77a11ebf7
3984c64063b356cf89003e17a914272983b6cf48
refs/heads/master
2021-03-12T22:09:12.184638
2014-01-28T10:37:07
2014-01-28T10:37:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
/usr/share/pyshared/Bio/NeuralNetwork/BackPropagation/Network.py
[ "prateekgupta.3991@gmail.com" ]
prateekgupta.3991@gmail.com
02786c59d2cf9e90a7fb6700ed31bc99cfca740b
bebacae90aa17ad2ab4c9111a2e5cfa0f8cf13a6
/Python-3/basic_examples/python_breakpoint_examples.py
82779156f60abb7de9db164c20fc32e1fa246595
[ "MIT" ]
permissive
ayanakshi/journaldev
5b0d73c53bc9a5292a8629c6c0320196abeab76e
a61cba22232e8cc9c40264c31aaba0bd17ff2522
refs/heads/master
2020-03-27T21:52:15.081736
2018-08-31T11:51:28
2018-08-31T11:51:28
147,182,378
1
0
MIT
2018-09-03T09:28:38
2018-09-03T09:28:38
null
UTF-8
Python
false
false
388
py
x = 10 y = 'Hi' z = 'Hello' print(y) # breakpoint() is introduced in Python 3.7 breakpoint() print(z) # Execution Steps # Default: # $python3.7 python_breakpoint_examples.py # Disable Breakpoint: # $PYTHONBREAKPOINT=0 python3.7 python_breakpoint_examples.py # Using Other Debugger (for example web-pdb): # $PYTHONB...
[ "pankaj.0323@gmail.com" ]
pankaj.0323@gmail.com
7d51ad00952c385a402ae18745b0c2224c9cd731
b8c65f30cd80f1ca3400ff88e02d6e92d83f4137
/eve/exceptions.py
fc0361299e5eabe4201f5841e6de2014895c5ae2
[ "BSD-3-Clause" ]
permissive
cnsoft/eve
e3429d5dade3cac2190ef0a56143e3a033107ea5
f624855c0e83668aa2db4f9c482da38847c699f4
refs/heads/master
2021-01-09T06:49:11.827912
2013-07-25T08:13:35
2013-07-25T08:13:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
# -*- coding: utf-8 -*- """ eve.exceptions ~~~~~~~~~~~~~~ This module implements Eve custom exceptions. :copyright: (c) 2012 by Nicola Iarocci. :license: BSD, see LICENSE for more details. """ class ConfigException(Exception): """ Raised when errors are found in the configuration settings (...
[ "nicola@nicolaiarocci.com" ]
nicola@nicolaiarocci.com
770f6161c2b5791f1460733e6599363406134e67
41a672c9505b5b53c58a01d5455acc410949aa24
/tests/aoutgoing/acceptance/messaging/p2p/context/C_15457.py
d782e225bd120f95750cafe463d46b88d56df246
[]
no_license
Alexsorgo/mobile_iOS
b045a0ea058726841c88158be8407b7ae45e893e
7e298f890b408cedad9db9d0aefeccd9c10d6002
refs/heads/master
2022-12-12T17:26:14.039876
2020-03-18T06:34:56
2020-03-18T06:34:56
248,154,882
0
0
null
2021-06-02T01:13:05
2020-03-18T06:25:17
Python
UTF-8
Python
false
false
1,322
py
import pytest from configs import config from enums import context_enums from screens.chats.chat_list_screen import ChatListScreen from screens.chats.chat_screen import ChatScreen from screens.chats.location_screen import LocationScreen from controls.menu import Menu from tests.aoutgoing.base_test import BaseTest from...
[ "oleksii_mishchenko@epam.com" ]
oleksii_mishchenko@epam.com
d106059d970e58822acb60ca0f9d2965aa8d056b
8eb5008ad4ab98f72666c54e3f83a8b17ac096f6
/UIPackage/LoginMainWindow.py
24f8c8e4d9b92506b4e5f5c80ca2d2e029873bb5
[]
no_license
caojiaju-2017/HSShareKowledge
ff60d28a894807462de9402a2fdd28a1723c0ddf
e511439444959c518a4962ea4b6590f7c28bd112
refs/heads/master
2020-03-30T08:45:40.620897
2018-11-11T12:34:04
2018-11-11T12:34:04
151,037,473
0
0
null
null
null
null
UTF-8
Python
false
false
6,612
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.Qt import * from ByPlatform.Base.OutPutHelper import * import sys from UIDesigner.LoginUI import Ui_MainWindow from tinydb import TinyDB, Query from ByPlatform.Base.TimeHelper import * # from UIPackage.Wait...
[ "jiaju_cao@hotmail.com" ]
jiaju_cao@hotmail.com
ba9a9f6ba60a81293d7b7eaa9ce97f4b6b1d919b
e02506da0c661c8241fed00efdd0d6b2f8b147df
/textattack/constraints/overlap/levenshtein_edit_distance.py
8e7863c9daeb4621e5bbc89f9b080d68255b60b1
[ "MIT" ]
permissive
SatoshiRobatoFujimoto/TextAttack
2592a828f128fd8bf0b8ce5578e9488df5b2ac97
a809a9bddddff9f41750949e26edde26c8af6cfa
refs/heads/master
2022-07-11T02:10:24.536157
2020-05-14T13:29:44
2020-05-14T13:29:44
263,941,825
1
0
MIT
2020-05-14T14:43:47
2020-05-14T14:43:46
null
UTF-8
Python
false
false
719
py
import editdistance from textattack.constraints import Constraint class LevenshteinEditDistance(Constraint): """ A constraint on edit distance (Levenshtein Distance). """ def __init__(self, max_edit_distance): if not isinstance(max_edit_distance, int): raise TypeError('max_edit_di...
[ "jxmorris12@gmail.com" ]
jxmorris12@gmail.com
5c1948278e75e3ff8b2fba43c5b2c56bff5ce1f9
0793a634ce31b3c2370ba0f945993ee80bf1a8b4
/mirage/thesisPresentation.py
96edde9b9e908147fbf31dcb8cb3e0476b311c96
[ "MIT" ]
permissive
ruizmic0100/Mirage
a5079793124f54052257af1d084b0390e421c43f
33ad0d07322953ac6fc5c26b4f6fe7d17e4784dd
refs/heads/master
2023-07-30T10:52:57.956239
2021-09-12T04:15:56
2021-09-12T04:15:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import numpy as np from mirage import lens_analysis as la def overlay_sizes(result,num): from matplotlib import pyplot as plt fig = plt.figure() for res in result: x,y = res.lightcurves[num].plottable("uas") label_sz = "%.3f $theta_E$" % res.parameters.quasar.radius.to(res.parameters.theta...
[ "jkoeller12@gmail.com" ]
jkoeller12@gmail.com
c380835831f8c41526e64814112f5f23d2c0673b
ae10b60cb92a69146bfb05ef5dde735a0aa45d4b
/examples/Extended Application/sklearn/examples/calibration/plot_compare_calibration.py
2740807f47b521cb56cd402223342f85c841602d
[ "MIT" ]
permissive
kantel/nodebox-pyobjc
471cea4c5d7f1c239c490323186458a74edcc214
068ba64c87d607522a240ab60c3ba14f869f6222
refs/heads/master
2021-08-14T18:32:57.995445
2017-11-16T13:42:23
2017-11-16T13:42:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,821
py
""" ======================================== Comparison of Calibration of Classifiers ======================================== Well calibrated classifiers are probabilistic classifiers for which the output of the predict_proba method can be directly interpreted as a confidence level. For instance a well calibrated (bi...
[ "karstenwo@web.de" ]
karstenwo@web.de
e0cc017891024f3f9aaf43b29c5b45d31bb2ad5c
0b193f4da7547d95b7c50fbc1b81276da8163372
/actions/models.py
9f242b017204d32441280c09d1083d6557d8d2a2
[]
no_license
jzxyouok/bookmarks
4b071023af57a2b87fb4fcb034affd5a16719e85
c1bf5ce731f20c8771f6ff5038839c938a2562d8
refs/heads/master
2020-06-06T15:22:37.096495
2019-04-08T03:51:17
2019-04-08T03:51:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
from django.db import models from django.conf import settings from django.contrib.contenttypes.models import ContentType from django.contrib.contenttypes.fields import GenericForeignKey # Create your models here. class Action(models.Model): user = models.ForeignKey(settings.AUTH_USER_MODEL, models.CASCADE, 'action...
[ "2582347430@qq.com" ]
2582347430@qq.com
c7f7e4aa1efc2446b503bd9c8ed99a72da2ce9c9
d2b53b3568890dd805575035d09635c422c6bc4d
/rllib/execution/rollout_ops.py
c199e15b9b41dca7c3828a3af4f362e9c6b5d70b
[ "Apache-2.0", "MIT" ]
permissive
mehrdadn/ray
939deda7099eb30371cbb920a9725b314c58c0b5
3506910c5da257215d38d02f424acc4f419ddbaf
refs/heads/master
2020-09-03T15:33:35.578248
2020-07-31T21:33:27
2020-07-31T21:33:27
219,498,150
2
1
Apache-2.0
2019-11-04T12:37:23
2019-11-04T12:37:22
null
UTF-8
Python
false
false
8,816
py
import logging from typing import List, Tuple import time from ray.util.iter import from_actors, LocalIterator from ray.util.iter_metrics import SharedMetrics from ray.rllib.evaluation.metrics import get_learner_stats from ray.rllib.evaluation.rollout_worker import get_global_worker from ray.rllib.evaluation.worker_se...
[ "noreply@github.com" ]
mehrdadn.noreply@github.com
585d3ceb6d4b6de1c0a332107e0e397f3be944fa
f30783d6087509ba8afaf60f66fc2d824ae5b511
/backend/mastersoftastemobile_1636/urls.py
0dca63503fb39a6b80820ec4f500fc0e7e8b95df
[]
no_license
crowdbotics-apps/mastersoftastemobile-1636
fd75f2ad60e4ebf46789d91675e5ebfb360c44fd
93c241332ad323246c73b5115f1c3bf8e8e9ddbb
refs/heads/master
2022-04-15T07:15:30.033047
2020-02-10T19:03:28
2020-02-10T19:03:28
239,589,630
0
0
null
null
null
null
UTF-8
Python
false
false
2,000
py
"""mastersoftastemobile_1636 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com