blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
edebe47b4cb17e60d34d08b33c6aff333614da02
105f8bb5f417248b2c56fec113746472cea94f5d
/slides/08_expressivity_optimization_generalization/images/make_relu_composition_figures.py
5f44f0cb8d4a7b2711e798edd969717a4a5c6ed6
[ "MIT", "CC-BY-4.0" ]
permissive
m2dsupsdlclass/lectures-labs
659ce7d8f7a9eb94e776f16a10d0d1df3f037365
a41bdfde52081eaa615d86c46fceeae1c4b1d0cd
refs/heads/master
2023-06-01T20:30:17.669627
2022-12-07T11:20:05
2022-12-07T11:20:05
82,718,394
1,482
674
MIT
2022-03-10T21:34:29
2017-02-21T19:27:20
Jupyter Notebook
UTF-8
Python
false
false
698
py
import matplotlib.pyplot as plt import numpy as np import os # Generate the figures in the same folder os.chdir(os.path.dirname(__file__)) def relu(x): return np.maximum(x, 0) def tri(x): return relu(relu(2 * x) - relu(4 * x - 2)) x = np.linspace(-.3, 1.3, 1000) plt.figure() plt.ylim(-0.1, 1.1) plt.plot...
[ "olivier.grisel@ensta.org" ]
olivier.grisel@ensta.org
db1ef123f5567a57b504517e803bcc932fdfd182
a5b5c48cec36047b3db3dc29a1f1a311ac4b54fa
/tests/test_names.py
fb8e92f41ff9029b67eaf2cf58b2ffedd4311449
[ "MIT" ]
permissive
Josef-Friedrich/dyndns
feea95e94bdc08aa6b45e0163d012fceffe910c2
a24e45d22ebff45eac04230992402d63ea289c8b
refs/heads/main
2023-08-05T12:43:59.254785
2023-07-26T06:53:45
2023-07-26T06:53:45
140,106,325
8
3
MIT
2023-07-26T06:53:46
2018-07-07T17:58:43
Python
UTF-8
Python
false
false
4,681
py
import unittest from _helper import zones from dyndns.exceptions import NamesError from dyndns.names import Names, Zone, Zones, validate_hostname, validate_tsig_key class TestFunctionValidateHostname(unittest.TestCase): def assertRaisesMsg(self, hostname, msg): with self.assertRaises(NamesError) as cm: ...
[ "josef@friedrich.rocks" ]
josef@friedrich.rocks
b72eb40ddf04009f6bc497d9343288127410c544
75cf6a9fd035883b64ca2309382e0178cf370b43
/Empirical/python/sklearn/linear_model/plot_iris_logistic.py
924f1346cf00691abcd213789bd478f944b4bf65
[]
no_license
ygtfrdes/Program
171b95b9f32a105185a7bf8ec6c8c1ca9d1eda9d
1c1e30230f0df50733b160ca73510c41d777edb9
refs/heads/master
2022-10-08T13:13:17.861152
2019-11-06T04:53:27
2019-11-06T04:53:27
219,560,170
1
2
null
2022-09-30T19:51:17
2019-11-04T17:39:52
HTML
UTF-8
Python
false
false
1,822
py
#!/usr/bin/python #!/usr/bin/python # -*- coding: utf-8 -*- """ ========================================================= Logistic Regression 3-class Classifier ========================================================= Show below is a logistic-regression classifiers decision boundaries on the first two dimensions (se...
[ "githubfortyuds@gmail.com" ]
githubfortyuds@gmail.com
a8636ce25a63341b2bda20acac4e2f0e1b086b68
e70a17e8a37847a961f19b136f3bbe74393fa2af
/RPI/build/image_view/catkin_generated/generate_cached_setup.py
2fe0a0bf295843f90693461632443faef230492a
[ "MIT" ]
permissive
Mondiegus/ROS-4x4-CAR-AI
1413ead6f46a8b16005abeea3e0b215caa45f27e
124efe39168ce96eec13d57e644f4ddb6dfe2364
refs/heads/Master
2023-07-14T23:56:53.519082
2021-03-27T17:28:45
2021-03-27T17:28:45
334,233,839
0
0
MIT
2021-02-02T13:00:30
2021-01-29T18:46:16
Makefile
UTF-8
Python
false
false
1,303
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/noetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, o...
[ "Mondiegus9@gmail.com" ]
Mondiegus9@gmail.com
3fb16f147771a0639471c589fa84a073965aed3d
fe3265b72e691c6df8ecd936c25b6d48ac33b59a
/homeassistant/components/devolo_home_network/entity.py
a26d8dce8f6fb23968697733741b152ad3eec79e
[ "Apache-2.0" ]
permissive
bdraco/home-assistant
dcaf76c0967783a08eec30ce704e5e9603a2f0ca
bfa315be51371a1b63e04342a0b275a57ae148bd
refs/heads/dev
2023-08-16T10:39:15.479821
2023-02-21T22:38:50
2023-02-21T22:38:50
218,684,806
13
7
Apache-2.0
2023-02-21T23:40:57
2019-10-31T04:33:09
Python
UTF-8
Python
false
false
1,595
py
"""Generic platform.""" from __future__ import annotations from typing import TypeVar from devolo_plc_api.device import Device from devolo_plc_api.device_api import ( ConnectedStationInfo, NeighborAPInfo, WifiGuestAccessGet, ) from devolo_plc_api.plcnet_api import LogicalNetwork from homeassistant.config...
[ "noreply@github.com" ]
bdraco.noreply@github.com
bd105c34478ed631078af845e9908abee311a4d0
c2281d55883a51b2698119e3aeb843df9c8c885b
/Thesis ch 2/ClusteringBuckets/GenericModels/LogisticRegression/LogisticRegressionClassifier.py
a525596ace3707e35cafd39f7b5bbb875dd205da
[]
no_license
akshitasawhney3008/Thesis-Final
1c004ffc6c2dd6ec711b212f9a35e46ea067c9c7
10865bab16bcc2ca4a5d4af345ffb4f2f7222104
refs/heads/master
2023-02-01T20:56:43.763024
2020-12-10T09:28:45
2020-12-10T09:28:45
320,037,411
1
0
null
null
null
null
UTF-8
Python
false
false
2,871
py
import pickle import numpy as np from sklearn.linear_model import LogisticRegression from sklearn.metrics import precision_score, recall_score, roc_auc_score, accuracy_score, matthews_corrcoef import pandas as pd # Configuration section iter = 5 cvCount = 8 seed = 42 thresholdRange = np.linspace(start=0.40, stop=0.60,...
[ "akshita17143@iiitd.ac.in" ]
akshita17143@iiitd.ac.in
622a51454f770302f59c66c674d1b292207dda51
7aec3f10b07403b542e1c14a30a6e00bb479c3fe
/Codewars/7 kyu/Categorize New Member.py
55f0cbec80222ea4e7d8b24e7e53967b8d50837a
[]
no_license
VictorMinsky/Algorithmic-Tasks
a5871749b377767176ba82308a6a0962e1b3e400
03a35b0541fe413eca68f7b5521eaa35d0e611eb
refs/heads/master
2020-08-02T23:18:06.876712
2020-01-16T19:08:49
2020-01-16T19:08:49
211,541,179
1
0
null
null
null
null
UTF-8
Python
false
false
1,158
py
""" The Western Suburbs Croquet Club has two categories of membership, Senior and Open. They would like your help with an application form that will tell prospective members which category they will be placed. To be a senior, a member must be at least 55 years old and have a handicap greater than 7. In this croquet cl...
[ "panasyuk.vityu@gmail.com" ]
panasyuk.vityu@gmail.com
4bd113348d198afab8b9cbb961f32431345be6c9
90ab150948d5bf8431548a99ce6230b59f2cdf3a
/invoice/migrations/0002_auto_20200619_1055.py
5909905d230aaec1c5defb77743e0d61a19b4988
[]
no_license
fadhlimulyana20/halo_bisnis_api
a180768086211d36ea3253fa7db3968818ac97b5
20dd00973c1def65b3290f1a640fa0218381e2f8
refs/heads/master
2022-11-22T03:57:27.691220
2020-07-11T10:24:16
2020-07-11T10:24:16
278,766,376
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
# Generated by Django 3.0.7 on 2020-06-19 03:55 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('invoice', '0001_initial'...
[ "baba.fadhli@gmail.com" ]
baba.fadhli@gmail.com
c4a373608ae84b88523bef5559abaef2eae5e1af
336431aae640a29c22b723d4889e3a90bd62abb1
/tests/demoproject/demo/sample/admin.py
1df03211880776a0367394d714a88a32c7db733f
[ "Apache-2.0" ]
permissive
csabadenes/unicef-snapshot
ef1a864e9f558d0fb18af5ea8d2a641192946592
2dcf6a8e15ff75566c168297f0f4194627bcb083
refs/heads/master
2020-04-25T18:02:30.771620
2018-08-08T16:36:09
2018-08-08T16:36:09
172,970,780
0
0
null
2019-02-27T18:48:55
2019-02-27T18:48:54
null
UTF-8
Python
false
false
288
py
from demo.sample.models import Author from django.contrib import admin from unicef_snapshot.admin import ActivityInline, SnapshotModelAdmin class AuthorAdmin(SnapshotModelAdmin): list_display = ('name', ) inlines = (ActivityInline, ) admin.site.register(Author, AuthorAdmin)
[ "greg@reinbach.com" ]
greg@reinbach.com
cee68a32de153c1ce0e9544ae443df9f22c119b9
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/ec2_write_1/launch-template-version_delete.py
3d243ad877badd7d21340ef9b6563f7511c32dd3
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_one_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/delete-launch-template-versions.html if __na...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
57bd1d895445c2982d60ae8f2bcdf3f21b6857bb
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/database/exec_command_vo.py
dc9926f6c0697fd34e623775fb3e01dffcfd0a23
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
1,508
py
#!/usr/bin/python class ExecCommandVo: id = 0 name = "" command_name = "" parameter_num = 0 jmespath = "" is_output = False type = "" execService_id = 0 description = "" require_parameters = "" def __init__(self, row): self.id = int(row[0]) self.name = row[...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
79489b9bd967a1add2a9b89db6a08cda65f6fa10
9889e7fd73314382fb2f9e8f63d92cf3254b75fb
/ThirdParty/Peridigm/test/verification/Compression_3x1x1_InfluenceFunction/np3/Compression_3x1x1_InfluenceFunction.py
d5676e6cfe92fcf1d1b4d2eb8cd6139f5825624c
[]
no_license
bbanerjee/ParSim
0b05f43cff8e878658dc179b4a604eabd873f594
87f87816b146f40013a5e6648dfe20f6d2d002bb
refs/heads/master
2023-04-27T11:30:36.252023
2023-04-13T22:04:50
2023-04-13T22:04:50
13,608,512
16
3
null
null
null
null
UTF-8
Python
false
false
1,903
py
#! /usr/bin/env python import sys import os import re from subprocess import Popen test_dir = "Compression_3x1x1_InfluenceFunction/np3" base_name = "Compression_3x1x1_InfluenceFunction" if __name__ == "__main__": result = 0 # log file will be dumped if verbose option is given verbose = False if "-v...
[ "b.banerjee.nz@gmail.com" ]
b.banerjee.nz@gmail.com
b1e479091df62ec24625058db05cbe6459f76496
a222e2999251ba7f0d62c428ba8cc170b6d0b3b7
/Company_Con_past/DDCC_2016_Qualifing/C.py
bcf410cbd0806e1ff63d727adc1bd31342b6811b
[ "MIT" ]
permissive
yosho-18/AtCoder
3e1f3070c5eb44f154c8104fbd5449f47446ce14
50f6d5c92a01792552c31ac912ce1cd557b06fb0
refs/heads/master
2020-06-02T10:21:29.458365
2020-05-29T12:40:48
2020-05-29T12:40:48
188,795,239
0
0
null
null
null
null
UTF-8
Python
false
false
1,609
py
import sys # import math, string, itertools, fractions, heapq, collections, re, array, bisect, copy, functools, random # from collections import deque, defaultdict, Counter; from heapq import heappush, heappop # from itertools import permutations, combinations, product, accumulate, groupby # from bisect import bisect_l...
[ "44283410+wato18@users.noreply.github.com" ]
44283410+wato18@users.noreply.github.com
8ecd323ed8eab418c79c9efc15c63141b501ee8c
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/Zprime/ZprimeToBBbar_M_500_TuneCUETP8M1_13TeV_pythia8_cfi.py
b784115f04b91be013aae77247be97e4c644b5bc
[]
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,333
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), crossSection = cms.untracked.double(5.511e-5), ...
[ "ksung@cern.ch" ]
ksung@cern.ch
15951dadb81a218712916a676485e8860d3655e9
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2635/60636/251230.py
272bd556cb478f51d8723a20d1005270dd20cb0d
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
395
py
def f(x): count_2=0 count_5=0 for i in range(1,x+1): a=i while(a%2==0): a=a/2 count_2=count_2+1 b=i while(b%5==0): b=b/5 count_5=count_5+1 return min(count_2,count_5) res=[] k=int(input()) i=0 while(True): if(f(i)==k): ...
[ "1069583789@qq.com" ]
1069583789@qq.com
05a420e0ca727d9c90a5299c4100aa1377a32dac
35b6013c1943f37d1428afd2663c8aba0a02628d
/monitoring/opencensus/main.py
0330f1fd136e2e2ce6687901f2b6708829c58ee9
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
4,753
py
""" # Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
[ "noreply@github.com" ]
GoogleCloudPlatform.noreply@github.com
37aa35cf0f329661e957df6318327be084e1a169
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/gui/shared/fortifications/fort_listener.py
32a43db5d6dcb68cebf92ebad77403b2096c27e1
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,594
py
# 2016.11.19 19:52:40 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/shared/fortifications/fort_listener.py from gui.shared.ClanCache import g_clanCache from gui.shared.fortifications import interfaces class fortProviderProperty(property): def __get__(self, obj, objType = None): retur...
[ "info@webium.sk" ]
info@webium.sk
13659523e15ba66adc96db6742268b1e2ea4bd47
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/GLX/OML/sync_control.py
904b62014908c17354efdbca4c660238438fba59
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
748
py
'''OpenGL extension OML.sync_control This module customises the behaviour of the OpenGL.raw.GLX.OML.sync_control to provide a more Python-friendly API The official definition of this extension is available here: http://www.opengl.org/registry/specs/OML/sync_control.txt ''' from OpenGL import platform, constant, arr...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
93a7e272213ba1df834a42e3302f2ce4cc6c579b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/programa-stic_barf-project/barf-project-master/barf/core/dbg/gdbdebugger.py
911aad2625d2131efb29b070c98b6fbfe34d3b30
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
3,420
py
# Copyright (c) 2014, Fundacion Dr. Manuel Sadosky # All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright notice, this # list of condit...
[ "659338505@qq.com" ]
659338505@qq.com
a59cece9c7251f5a52b3709ee9e785dceec4b697
2923b9f58e6a143a3e070169612165585c301def
/LA/gp_rupture_test/LA/gp_rupture_test/gp_021219_Scott_7.35_noplas_GPU_2hz/plot_pgv.py
75c4de52fe39fe8ad4f2230c474f0b4f9aea77a9
[]
no_license
hzfmer/summit_work_021421
16536dd716519bc9244da60007b9061ef5403429
6981b359fefb2af22e0bea6c47511de16cad22bd
refs/heads/master
2023-03-11T15:34:36.418971
2021-02-05T23:22:10
2021-02-05T23:22:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
#!/usr/bin/env python import numpy as np import matplotlib.pyplot as plt from matplotlib.colors import LogNorm import os import re def discrete_cmap(N, base_cmap=None): """Create an N-bin discrete colormap from the specified input map""" # Note that if base_cmap is a string or None, you can simply do # ...
[ "hzfmer94@gmail.com" ]
hzfmer94@gmail.com
60b05258a7af383e9669549c72215b9efe7aec78
aaa762ce46fa0347cdff67464f56678ea932066d
/AppServer/lib/django-1.5/tests/regressiontests/model_formsets_regress/models.py
f94ad51929420a9df6641b04d954802d88f6f8ba
[ "BSD-3-Clause", "LGPL-2.1-or-later", "Apache-2.0", "MIT", "GPL-2.0-or-later", "MPL-1.1" ]
permissive
obino/appscale
3c8a9d8b45a6c889f7f44ef307a627c9a79794f8
be17e5f658d7b42b5aa7eeb7a5ddd4962f3ea82f
refs/heads/master
2022-10-01T05:23:00.836840
2019-10-15T18:19:38
2019-10-15T18:19:38
16,622,826
1
0
Apache-2.0
2022-09-23T22:56:17
2014-02-07T18:04:12
Python
UTF-8
Python
false
false
829
py
from django.db import models from django.utils.encoding import python_2_unicode_compatible class User(models.Model): username = models.CharField(max_length=12, unique=True) serial = models.IntegerField() class UserSite(models.Model): user = models.ForeignKey(User, to_field="username") data = models.I...
[ "root@lucid64.hsd1.ca.comcast.net" ]
root@lucid64.hsd1.ca.comcast.net
7a3116c0966d70d7ce49d8c5048be8540ad7cea9
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit_Class2098.py
6d4cc286b7cbe8fb8b857dd6c11383572739cef7
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,072
py
# qubit number=4 # total number=34 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2 import numpy as np import networkx as nx def bitwise_...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
b8ee7d84333a2089a26b2d3ee0588cefa285e7f4
5989e503a733e8b29f4c502008446a75c2b43ff8
/src/geofr/forms/forms.py
3c0372717e90babdab4621efae6ea4bf114d1570
[]
no_license
samuelpath/aides-territoires
399a6a7b0607ef5a8d2b327247446b239f5b1a42
5793bd49d7157a34e08c29e56a46e1e3ead0651f
refs/heads/master
2022-12-20T14:35:18.671563
2020-08-21T08:00:33
2020-08-21T08:00:33
288,424,578
0
0
null
2020-08-18T10:27:17
2020-08-18T10:27:16
null
UTF-8
Python
false
false
1,069
py
from django import forms from django.contrib import admin from django.contrib.admin.widgets import AutocompleteSelectMultiple from django.utils.translation import ugettext_lazy as _ # from core.forms import AutocompleteSelectMultiple from geofr.models import Perimeter class PerimeterUploadForm(forms.Form): city_...
[ "thibault@miximum.fr" ]
thibault@miximum.fr
5f0bfc67ef67c011e059a43bcfd8dc2ead2c0091
6d233ad2059a941e4ce4c5b5ee3857b8a4a0d212
/Everyday_alg/2022/2022-01/01/convert-1d-array-into-2d-array.py
8ece2df0c75c81071c9834f30b59c191f075b716
[]
no_license
Alexanderklau/Algorithm
7c38af7debbe850dfc7b99cdadbf0f8f89141fc6
eac05f637a55bfcc342fa9fc4af4e2dd4156ea43
refs/heads/master
2022-06-12T21:07:23.635224
2022-06-12T08:12:07
2022-06-12T08:12:07
83,501,915
5
3
null
null
null
null
UTF-8
Python
false
false
1,474
py
# coding: utf-8 __author__ = 'Yemilice_lau' """ 给你一个下标从 0 开始的一维整数数组 original 和两个整数 m 和  n 。 你需要使用 original 中 所有 元素创建一个 m 行 n 列的二维数组。 original 中下标从 0 到 n - 1 (都 包含 )的元素构成二维数组的第一行, 下标从 n 到 2 * n - 1 (都 包含 )的元素构成二维数组的第二行,依此类推。 请你根据上述过程返回一个 m x n 的二维数组。如果无法构成这样的二维数组,请你返回一个空的二维数组。 输入:original = [1,2,3,4], m = 2, n...
[ "429095816@qq.com" ]
429095816@qq.com
a326515df2fc5497a6a153866ca631b50686fee8
64188fd40699e5f542c12190f0892b082d5d643b
/src/problem_63/solution.py
31314c0f53cc7a557a6306dacf386548b0d7dd4f
[]
no_license
tyronedamasceno/Daily-Coding-Problem
9b7cd7a0f19762854986f5ab858a110353e81410
a34bebbe635c4a7c8fb7400ea11fd03e4c2dea4b
refs/heads/master
2020-04-30T00:51:18.020367
2019-06-11T18:47:11
2019-06-11T18:47:11
176,513,062
5
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
""" Given a 2D matrix of characters and a target word, write a function that returns whether the word can be found in the matrix by going left-to-right, or up-to-down. For example, given the following matrix: [['F', 'A', 'C', 'I'], ['O', 'B', 'Q', 'P'], ['A', 'N', 'O', 'B'], ['M', 'A', 'S', 'S']] and the target w...
[ "tyronedamasceno@gmail.com" ]
tyronedamasceno@gmail.com
21fe9fffee018e8624644005eda4caea17cd4fd1
471b8043bedd60f73b532b5bd23aa19a32cb7d44
/where/models/site/nt_atm_loading.py
9637c4a6106b723c07da794f4b2e619a8b47a87a
[ "MIT" ]
permissive
gahjelle/where
8be56137001eed20c55413549bbf43a5978b918c
f7d025c4fb36adb3e511c3a61b244263bbfd000d
refs/heads/master
2021-06-04T05:02:16.596468
2020-06-24T08:52:27
2020-06-24T08:52:27
136,427,535
0
0
MIT
2018-06-07T05:45:24
2018-06-07T05:45:23
null
UTF-8
Python
false
false
2,208
py
"""Apply non tidal atmospheric loading displacements Description: ------------ """ # External library imports import numpy as np # Midgard imports from midgard.dev import plugins # Where imports from where import apriori from where.data import position @plugins.register def non_tidal_atmospheric_loading(dset): ...
[ "ask1982@yahoo.com" ]
ask1982@yahoo.com
f84a1959d9738890de81d54ba34b897e6d9da60f
efe05b0ea0a11b50a42b81795b22b89724177180
/stratlib/sample_SMA_Live.py
b4e6ba3c014d13472410b233eb4a030b598b6027
[ "Apache-2.0", "MIT" ]
permissive
dongtianqi1125/mooquant
b0fc5018f3aaf93ed69d8c249cccde7d8c98b8cb
244a87d4cd8b4d918eec4f16905e0921c3b39f50
refs/heads/master
2023-01-01T00:34:09.722476
2018-09-25T18:57:47
2018-09-25T18:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,161
py
from mooquant import bar, strategy from mooquant.barfeed.tusharefeed import Feed from mooquant.broker.backtesting import TradePercentage from mooquant.broker.fillstrategy import DefaultStrategy from mooquant.technical import cross, ma class thrSMA(strategy.BacktestingStrategy): def __init__(self, feed, instrument...
[ "travis@travis-ci.org" ]
travis@travis-ci.org
14eefa052f00c116a9fc1c131e9f3b820d88dca3
94e06376dc265c7bf1a2e51acb9714d02b21503a
/scrapy项目/lianjia/lianjia/spiders/lianjia.py
d6bd34d3bf933a776b66ff1409338e227c37e0fd
[]
no_license
zhangquanliang/python
4b2db32bed4e4746c8c49c309563f456dc41c6be
f45ef96e385b1cd6c5dfb53bf81042d953a9ec46
refs/heads/master
2021-04-26T23:30:12.217397
2019-03-20T06:18:14
2019-03-20T06:18:14
124,005,916
11
2
null
null
null
null
UTF-8
Python
false
false
2,808
py
# -*- coding: utf-8 -*- """ Title = 深圳地区链家二手房 Date = 20180511 """ import scrapy import re class LianjiaSpider(scrapy.Spider): name = 'lianjia' allowed_domains = ['sz.lianjia.com'] start_urls = ['https://sz.lianjia.com/ershoufang/'] def parse(self, response): page_text = response.xpath("//div[...
[ "1007228376@qq.com" ]
1007228376@qq.com
586e4336d107436cf72073569215a306a9734851
ba7be04fa897785fb9255df3ece0c1ffbead6acc
/part4_project/apps/model/serializers.py
2f62d0a55a38aefe870cbd68391f031e2e8ee4c9
[]
no_license
backupalisher/part4_project
e1f402553502d010ffe974ecce73e313f90b8174
09ca16e3021aeac609fe6594e5c4f6c72832d112
refs/heads/master
2022-12-10T13:22:15.899332
2020-09-21T16:22:02
2020-09-21T16:22:02
233,295,277
0
0
null
2022-12-08T10:47:45
2020-01-11T20:49:10
Python
UTF-8
Python
false
false
347
py
from rest_framework import serializers from db_model.models import Models class ModelsCreateSerialize(serializers.ModelSerializer): class Meta: model = Models depth = 1 fields = '__all__' class ModelsListSerialize(serializers.ModelSerializer): class Meta: model = Models ...
[ "server.ares@gmail.com" ]
server.ares@gmail.com
6d692836bd0bfc346bada188bc4423d0b09d1ba8
f5b5a6e3f844d849a05ff56c497638e607f940e0
/capitulo 08/08.20 - Programa 8.9 Validacao de inteiro usando funcao.py
0f9bb820f9ba6138690f0e16549b43e71a910b59
[]
no_license
alexrogeriodj/Caixa-Eletronico-em-Python
9237fa2f7f8fab5f17b7dd008af215fb0aaed29f
96b5238437c88e89aed7a7b9c34b303e1e7d61e5
refs/heads/master
2020-09-06T21:47:36.169855
2019-11-09T00:22:14
2019-11-09T00:22:14
220,563,960
0
0
null
null
null
null
UTF-8
Python
false
false
980
py
############################################################################## # Parte do livro Introdução à Programação com Python # Autor: Nilo Ney Coutinho Menezes # Editora Novatec (c) 2010-2019 # Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8 # Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3 # Terce...
[ "noreply@github.com" ]
alexrogeriodj.noreply@github.com
cd45d516fa4909d89c82ab685f869e71e01a120e
0a6b950b3022dc1afbc1243be572e3dbe5b8b619
/src/dirbs/api/v1/schemas/__init__.py
c87fca545e3c94cf892eb650a9697be31308d4f3
[]
no_license
yasirz/DIRBS-Core
dee56bb350b9d511bbdca87afa41bc1f022e534a
ac26dc97c57216dc3c1fed1e1b17aac27d3a1a2d
refs/heads/master
2023-03-19T01:27:14.390299
2021-02-24T11:41:34
2021-02-24T11:41:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
""" DIRBS REST-ful API-V1 schemas package. Copyright (c) 2018-2019 Qualcomm Technologies, Inc. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted (subject to the limitations in the disclaimer below) provided that the following conditions are met: - Re...
[ "awkhan978@gmail.com" ]
awkhan978@gmail.com
4e4d46192a0364c4540cd99fa5cf08106f7a70ac
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/gift/tasks/all_tasks.py
54650bf160cc8d90cd98fdb31716b5acf8b42044
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
2,120
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
cb9a2a0fca8de5d2ae056c8b91bac26518e8342a
caa7a39055c3451db43b39ffc5e70dc560749334
/manage.py
8abd1f05eae2546d4d038931d6197c57df4827c0
[]
no_license
OneStage-NITW/website
da2438e3857c03a0c38fa6db6a33619b330a3e0d
af86e38560f16f70a0b74bcf2aeab4d855fbdc74
refs/heads/master
2016-08-12T15:17:14.577895
2015-05-31T18:10:52
2015-05-31T18:10:52
36,546,131
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "onestage_website.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "vivekhtc25@gmail.com" ]
vivekhtc25@gmail.com
1a982b4c74818e20fa2025d49f804eda3fcc693d
70d39e4ee19154a62e8c82467ef75b601e584738
/devops/convert_pdf_to_csv.py
3c4fc08657b4068bd7a77779b52fc17cd0125452
[ "Apache-2.0" ]
permissive
babywyrm/sysadmin
6f2724be13ae7e5b9372278856a8c072073beffb
2a5f3d29c7529bc917d4ff9be03af30ec23948a5
refs/heads/master
2023-08-16T03:50:38.717442
2023-08-16T03:05:55
2023-08-16T03:05:55
210,228,940
10
5
null
2023-05-01T23:15:31
2019-09-22T23:42:50
PowerShell
UTF-8
Python
false
false
494
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ###################### ######################## ## ## ###################### ## """ Created on Wed Apr 2 11:20:13 2019 @author: Ganesh """ from tabula import read_pdf import pandas as pd FILE_NAME="" #Ppdf file as input dest="" #destination csv file name df= read_pdf(F...
[ "noreply@github.com" ]
babywyrm.noreply@github.com
47857b06bfc66ba41572248fc6902862e04111c6
9d82f8f47c0f95fda1bda4edac9eeee52843cc58
/unet/unet_model.py
16b7cd50a40a050254b4ee1151174d0137685263
[]
no_license
dodler/cvpr-autonomous-drivng
7e2df21e367efc2467a36827ebbafc6799ee56a3
3b1eb786ebe93809ffb46dda3b36f213c83c6e4b
refs/heads/master
2020-03-10T02:01:58.104341
2018-05-14T10:09:55
2018-05-14T10:09:55
129,125,863
1
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
#!/usr/bin/python # full assembly of the sub-parts to form the complete net import torch import torch.nn as nn import torch.nn.functional as F from config import RESIZE_TO # python 3 confusing imports :( from .unet_parts import * class UNet(nn.Module): def __init__(self, n_channels, n_classes): super(U...
[ "tntlagf93@mail.ru" ]
tntlagf93@mail.ru
7563d88374abff5479905e76854c5bd67ca6684d
53c4460e8cce123276932b4ddf2fe00fdee75b65
/list01.py
a62881597c3786dcf0b170d5d4673825cd0ad52d
[]
no_license
Yush1nk1m/Study_Python
5ba8a6eeb73184ea7f1e892daae182b78d265e06
516f0ba6d9411453fa0d2df00314e383e3f8cabb
refs/heads/master
2023-07-09T16:22:22.663219
2021-08-22T15:22:22
2021-08-22T15:22:22
398,831,708
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
# 리스트를 선언합니다. list_a = [1, 2, 3] list_b = [4, 5, 6] # 출력합니다. print('# 리스트') print('list_a =', list_a) print('list_b =', list_b) print() # 기본 연산자 print('# 리스트 기본 연산자') print('list_a + list_b =', list_a + list_b) print('list_a * 3 =', list_a * 3) print() #함수 print('# 길이 구하기') print('len(list_a) =', len(list_a))
[ "kys010306@sogang.ac.kr" ]
kys010306@sogang.ac.kr
ff35b942362d9ab3ae11cf91ad3d8c1b2aedaa61
1af611cc68a47bb81521d8517a9dbc71777bd401
/exchanges/hotbit/page_objects/exchange_page.py
9402c08f8171bc532ace1039b19d6c04baf17a3d
[]
no_license
BTCDIRECT/crypto_exchanges_connectors
d4e3f879bedfd4f0a7b238d2696df8bf261c8868
19b852c19ddd197959d30a69ffb773b238e19a49
refs/heads/master
2022-04-12T21:04:01.580622
2020-03-10T16:22:01
2020-03-10T16:22:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
import os from selenium import webdriver from selenium.webdriver import ActionChains from selenium.webdriver.common.keys import Keys from selenium.webdriver.chrome.options import Options from exchanges.hotbit.page_objects.login_page import LoginPage class ExchangePage(object): def __init__(self, base, quote, driv...
[ "git@github.com" ]
git@github.com
9b176b1706f27bc8f34005e2eaac0b741f9c37c0
18d51ac0a6ca14c8221c26f0dacd8d3721ca28e9
/120hun.py
00a1fb5b064d0784c178ad4c9c9bda3831921983
[]
no_license
mahakalai/mahak
05f96d52880ed7b2e5eb70dd1dbf14fc533236e8
613be9df7743ef59b1f0e07b7df987d29bb23ec7
refs/heads/master
2020-04-15T05:01:58.541930
2019-07-15T16:28:32
2019-07-15T16:28:32
164,406,486
0
2
null
null
null
null
UTF-8
Python
false
false
170
py
n=int(input()) l=list(map(int,input().split())) c=0 for i in range(0,len(l)): for j in range(i+1,len(l)): l1=l[j+1::] s=l[i]+l[j] if s in l1: c=c+1 print(c)
[ "noreply@github.com" ]
mahakalai.noreply@github.com
875e6987c32bb08c0ca9d0065e78ee5f2038ec49
92237641f61e9b35ff6af6294153a75074757bec
/Algorithm/programmers/lv2/lv2_정렬_가장 큰 수.py
3f2b9046ee8b6b04b7555edf6157aed221f10806
[]
no_license
taepd/study
8ded115765c4f804813e255d9272b727bf41ec80
846d3f2a5a4100225b750f00f992a640e9287d9c
refs/heads/master
2023-03-08T13:56:57.366577
2022-05-08T15:24:35
2022-05-08T15:24:35
245,838,600
0
1
null
2023-03-05T23:54:41
2020-03-08T15:25:15
JavaScript
UTF-8
Python
false
false
1,681
py
""" 문제 설명 0 또는 양의 정수가 주어졌을 때, 정수를 이어 붙여 만들 수 있는 가장 큰 수를 알아내 주세요. 예를 들어, 주어진 정수가 [6, 10, 2]라면 [6102, 6210, 1062, 1026, 2610, 2106]를 만들 수 있고, 이중 가장 큰 수는 6210입니다. 0 또는 양의 정수가 담긴 배열 numbers가 매개변수로 주어질 때, 순서를 재배치하여 만들 수 있는 가장 큰 수를 문자열로 바꾸어 return 하도록 solution 함수를 작성해주세요. 제한 사항 numbers의 길이는 1 이상 100,000 이하입니다. numbers의 원소...
[ "taepd1@gmail.com" ]
taepd1@gmail.com
e26085bdb8d7faee4611a6600b4dbc4c569bd91a
08f89d88585fee98118fa1d42b59519d13ecbf17
/tests/hwsim/vm/parallel-vm.py
bb79c44e69d9dcc78e36a4cbb6e42b2cefa3b277
[ "BSD-3-Clause" ]
permissive
rzr/wpa_supplicant
eb982f7b7d192999332c712734f8b33df04657c6
3f7ac05878ba965e941f2b5b80b8cb744e63f506
refs/heads/master
2021-01-18T10:37:36.701639
2014-10-13T07:40:08
2014-10-13T09:24:17
31,964,766
0
0
NOASSERTION
2019-08-07T21:56:49
2015-03-10T15:19:59
C
UTF-8
Python
false
false
3,655
py
#!/usr/bin/env python2 # # Parallel VM test case executor # Copyright (c) 2014, Jouni Malinen <j@w1.fi> # # This software may be distributed under the terms of the BSD license. # See README for more details. import fcntl import os import subprocess import sys import time def main(): if len(sys.argv) < 2: ...
[ "j@w1.fi" ]
j@w1.fi
4c09f85367aa3c9c504ea9f4d897a6d69a2e2cf1
09f0505f3ac1dccaf301c1e363423f38768cc3cc
/r_DailyProgrammer/Intermediate/C252/unittests/unittest.py
b51b46abe99ba600d2ab0f0d513db9d91e533c14
[]
no_license
Awesome-Austin/PythonPractice
02212292b92814016d062f0fec1c990ebde21fe7
9a717f91d41122be6393f9fcd1a648c5e62314b3
refs/heads/master
2023-06-21T11:43:59.366064
2021-07-29T23:33:00
2021-07-29T23:33:00
270,854,302
0
0
null
2020-08-11T20:47:10
2020-06-08T23:24:09
Python
UTF-8
Python
false
false
267
py
#! python3 import unittest from r_DailyProgrammer.Intermediate.C252.unittests.test_values import TEST_VALUES class MyTestCase(unittest.TestCase): def test_something(self): self.assertEqual(True, False) if __name__ == '__main__': unittest.main()
[ "{ID}+{username}@users.noreply.github.com" ]
{ID}+{username}@users.noreply.github.com
35f3320e82f072e78322d8ce608a900689ed71ac
3be8b5d0334de1f3521dd5dfd8a58704fb8347f9
/web/app/djrq/admin/mistags.py
a50df1551d6208dca29018445d8fbadbb2266e09
[ "MIT" ]
permissive
bmillham/djrq2
21a8cbc3087d7ad46087cd816892883cd276db7d
5f357b3951600a9aecbe6c50727891b1485df210
refs/heads/master
2023-07-07T01:07:35.093669
2023-06-26T05:21:33
2023-06-26T05:21:33
72,969,773
1
0
null
null
null
null
UTF-8
Python
false
false
791
py
# encoding: utf-8 from ..templates.admin.mistags import mistagstemplate from web.ext.acl import when class Mistags: __dispatch__ = 'resource' __resource__ = 'mistags' def __init__(self, context, name, *arg, **args): self._ctx = context self.queries = context.queries def get(self, *ar...
[ "bmillham@gmail.com" ]
bmillham@gmail.com
34bd2374972707c758f836f39b7f58724ea233bf
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/cGqjxKhNqZPZ76zac_24.py
de7e6b8845e790236633048386370486dccaae13
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
""" Remember the game Battleship? Ships are floating in a matrix. You have to fire torpedos at their suspected coordinates, to try and hit them. Create a function that takes a list of lists (matrix) and a coordinate as a string. If the coordinate contains only water `"."`, return `"splash"` and if the coordinate co...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
306dde8ff8b6f8377634fd8dbb46bb6cf5fd85e6
786027545626c24486753351d6e19093b261cd7d
/ghidra9.2.1_pyi/ghidra/app/plugin/assembler/sleigh/__init__.pyi
06aa25039d317ada39fe4fc7a2ebed9a6d64d14f
[ "MIT" ]
permissive
kohnakagawa/ghidra_scripts
51cede1874ef2b1fed901b802316449b4bf25661
5afed1234a7266c0624ec445133280993077c376
refs/heads/main
2023-03-25T08:25:16.842142
2021-03-18T13:31:40
2021-03-18T13:31:40
338,577,905
14
1
null
null
null
null
UTF-8
Python
false
false
350
pyi
from . import expr as expr from . import grammars as grammars from . import parse as parse from . import sem as sem from . import symbol as symbol from . import tree as tree from . import util as util from .SleighAssembler import SleighAssembler as SleighAssembler from .SleighAssemblerBuilder import SleighAssemblerBuil...
[ "tsunekou1019@gmail.com" ]
tsunekou1019@gmail.com
911de7881b47cc1852f47d65dbed33605ea1dae8
07504838d12c6328da093dce3726e8ed096cecdb
/pylon/resources/properties/maxRcvTime.py
2953f5d58661222f607dd076848ff88ea03fa2ea
[]
no_license
lcoppa/fiat-lux
9caaa7f3105e692a149fdd384ec590676f06bf00
7c166bcc08768da67c241078b397570de159e240
refs/heads/master
2020-04-04T02:47:19.917668
2013-10-10T10:22:51
2013-10-10T10:22:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,387
py
"""maxRcvTime standard property type, originally defined in resource file set standard 00:00:00:00:00:00:00:00-0.""" # Copyright (C) 2013 Echelon Corporation. All Rights Reserved. # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (th...
[ "lcoppa@rocketmail.com" ]
lcoppa@rocketmail.com
ecc1d7540dc02c0544f633704a1a9bc3a5f5e92d
b66ec155356c11cabe2350a583f03dd6fad7f105
/scripts/generate_sample_file.py
2f4e67bb29a8e0027ed2c6d731c82d62d6540d7f
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
ONSdigital/response-operations-ui
823344b88d71ddadb36ccc1e7ca2fbd556456e92
c0e37ac87ca8ba8ae0433d0222b3d7b4ff1c2cbd
refs/heads/main
2023-08-18T08:18:44.118075
2023-08-02T10:43:41
2023-08-02T10:43:41
112,603,785
4
2
MIT
2023-09-14T10:35:46
2017-11-30T11:31:09
Python
UTF-8
Python
false
false
287
py
f = open("sample.csv", "a") for i in range(5): f.write( f"499300{i:05}:F:50300:50300:45320:45320:8478:801325:9900000576:1:E:FE:01/09/1993:ENTNAME1_COMPANY1:" f"ENTNAME2_COMPANY1::RUNAME1_COMPANY1:RUNNAME2_COMPANY1::TOTAL UK ACTIVITY:::C:D:7:0001:S\n" ) f.close()
[ "noreply@github.com" ]
ONSdigital.noreply@github.com
5acce732d50f502803e97c8c160c43ebfa86612f
bfbe642d689b5595fc7a8e8ae97462c863ba267a
/bin/Python27/Lib/site-packages/pylint/test/input/func_format.py
a4eed23cce1b18826301e55835ef0c93e6815fcb
[ "LicenseRef-scancode-other-permissive", "MIT" ]
permissive
mcanthony/meta-core
0c0a8cde1669f749a4880aca6f816d28742a9c68
3844cce391c1e6be053572810bad2b8405a9839b
refs/heads/master
2020-12-26T03:11:11.338182
2015-11-04T22:58:13
2015-11-04T22:58:13
45,806,011
1
0
null
2015-11-09T00:34:22
2015-11-09T00:34:22
null
UTF-8
Python
false
false
1,731
py
# pylint:disable=C0103,W0104,W0105 """Check format """ __revision__ = '' notpreceded= 1 notfollowed =1 notfollowed <=1 correct = 1 correct >= 1 def func(arg, arg2): """test named argument """ func(arg=arg+1, arg2=arg2-arg) aaaa,bbbb = 1,2 aaaa |= bbbb aaaa &= bbbb if aaaa: pass else: aaaa...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
39c38cd5e8854236c9e077276699086fb28a72dc
7bc54bae28eec4b735c05ac7bc40b1a8711bb381
/src/dataset_specific/mnli/parsing_jobs/read_data_fn.py
da7fb65fc85bf09e27a79a9a17f912738e950ea6
[]
no_license
clover3/Chair
755efd4abbd5f3f2fb59e9b1bc6e7bc070b8d05e
a2102ebf826a58efbc479181f1ebb5de21d1e49f
refs/heads/master
2023-07-20T17:29:42.414170
2023-07-18T21:12:46
2023-07-18T21:12:46
157,024,916
0
0
null
2023-02-16T05:20:37
2018-11-10T21:55:29
Python
UTF-8
Python
false
false
314
py
from typing import Iterator from dataset_specific.mnli.parsing_jobs.partition_specs import get_mnli_spacy_ps from dataset_specific.mnli.parsing_jobs.run_spacy import NLIPairDataSpacy def read_spacy_nli(split) -> Iterator[NLIPairDataSpacy]: pds = get_mnli_spacy_ps(split) return pds.read_pickles_as_itr()
[ "lesterny@gmail.com" ]
lesterny@gmail.com
cdd1cda3afaf7c3e8dae492fadf1f64db86326fb
651d77155bcb104d76fba163060b1d62fc4923f9
/ScholarConfig/__init__.py
aa3569dfd7e31e192d3a6856e79b878aa1f0cca6
[]
no_license
leisun123/scholar-private
908f0ae5c95b6644bb157587007dfbb5e42d5928
81b93f6f16d2233419894cf45bdf34883f8b0cd2
refs/heads/master
2020-03-22T18:31:49.072513
2019-02-18T07:50:34
2019-02-18T07:50:34
140,465,515
1
0
null
null
null
null
UTF-8
Python
false
false
196
py
#coding:utf-8 """ @file: __init__.py @author: IsolationWyn @contact: genius_wz@aliyun.com @python: 3.5.2 @editor: PyCharm @create: 2017/7/1 5:40 @description: -- """
[ "genius_wz@aliyun.com" ]
genius_wz@aliyun.com
038d3954ec78ca6127f92666a6ba6b7a18a07af7
527e3ca2c316f7713ecf92faac58cd33cfaacb81
/data_structures/sqlite_dict.py
9c4f405aeb82b931153db26dce22023b357f4f91
[ "LicenseRef-scancode-public-domain" ]
permissive
aaw/yaupon
1bade3ecd61f11468cb7ff7cd131ecdb1031aee7
2608e780abec654ff2d02e76d9ddd528d7fa69fa
refs/heads/master
2021-01-10T21:27:21.727342
2011-04-24T15:42:54
2011-04-24T15:42:54
832,110
2
0
null
null
null
null
UTF-8
Python
false
false
5,069
py
import sqlite3 import yaupon.backend from yaupon.data_structures.sqlite_tools import to_db, from_db class SQLiteDictIterator(object): def __init__(self, cursor): self.cursor = cursor def __iter__(self): return self def next(self): result = self.cursor.fetchone() if resu...
[ "aaron.windsor@gmail.com" ]
aaron.windsor@gmail.com
9efb152f8faa20bf3b3821830425fbcf69e62ea4
1625edfe28b4b0979fd32b4a3c5e55249a993fd5
/baekjoon11048.py
172ca066d44cfb4bc64b7723fa299d1e33e4c9e9
[]
no_license
beOk91/baekjoon2
b8bf504c506c6278899d4107ecfe51974ef13f5e
39569f8effb8e32405a7d74d98bdabcab783ec56
refs/heads/master
2023-05-11T20:11:19.015113
2020-09-14T23:58:49
2020-09-14T23:58:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
485
py
n,m=map(int,input().strip().split()) candy=[[0]*m for _ in range(n)] dp=[[0]*m for _ in range(n)] for i in range(n): candy[i]=list(map(int,input().strip().split())) for i in range(n): for j in range(m): dp[i][j]+=candy[i][j] if i>=1 and j>=1: dp[i][j]=candy[i][j]+max(dp[i-1][j],dp[i...
[ "be_ok91@naver.com" ]
be_ok91@naver.com
23cbad3a18804ebdd91da88659a373dc225c8d96
dd573ed68682fd07da08143dd09f6d2324f51345
/baekjoon/my_study/1022_다른풀이2.py
7bf4d84e6ea0cc27ffb55dfd6dcd11b4b3472466
[]
no_license
chelseashin/My-Algorithm
0f9fb37ea5c6475e8ff6943a5fdaa46f0cd8be61
db692e158ebed2d607855c8e554fd291c18acb42
refs/heads/master
2021-08-06T12:05:23.155679
2021-07-04T05:07:43
2021-07-04T05:07:43
204,362,911
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
import sys sys.stdin = open('1022_input.txt') input = sys.stdin.readline # 우 상 좌 하 d = [(1, 0), (0, -1), (-1, 0), (0, 1)] r1, c1, r2, c2 = map(int, input().split()) arr = [[0] * (c2-c1+1) for _ in range(r2-r1+1)] max_level = max(abs(r1), abs(c1), abs(r2), abs(c2)) r, c = 0, 0 cnt = 1 max_cnt = (max_level*2 + 1) ** 2 d...
[ "chaewonshin95@gmail.com" ]
chaewonshin95@gmail.com
ba8981626612bcea6b8a6291d19cb5fff90415c4
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02714/s449498366.py
6b369949d8b8c4f43a2335477399ed7b459eacfd
[]
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
225
py
from collections import * N=int(input()) S=input() c=Counter(S) ans=c['R']*c['G']*c['B'] for i in range(1,N//2+1): for j in range(i,N-i): if S[j-i]!=S[j] and S[j]!=S[j+i] and S[j+i]!=S[j-i]: ans-=1 print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4f9889c051ab3c9bec42a8c062228eb2f4078940
ad963dc590fe3ee16fe70674ffa9a77a3462a2d2
/taskManager/migrations/0021_auto_20200819_0632.py
2efe17d7eef88bf142301e0361778a5ec6d7ef21
[]
no_license
ShuheiKuriki/task_manager
564dc1a646efdd288ff31bc9044981aecbd6db78
f5d4a53a758c64615f22c69baae59b36dd5dab1f
refs/heads/master
2023-05-12T11:06:11.388036
2023-01-15T09:12:37
2023-01-15T09:12:37
234,110,257
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
# Generated by Django 3.0.2 on 2020-08-18 21:32 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('taskManager', '0020_auto_20200425_1624'), ] operations = [ migrations.AlterField( model_name='task'...
[ "shukuri.7336.8@gmail.com" ]
shukuri.7336.8@gmail.com
543728b72f006a8af964401c5f1de19a34155aaa
1775a5522f465cb74a1e02393d32c363bb7ef215
/tests/i18n/contenttypes/tests.py
894ae0a3c737dff6674660450c1c9bdfd1e3d4c2
[ "BSD-3-Clause" ]
permissive
trught007/django
b280eaff7706e72a6fc0f298c68e3c065daa448b
d55d21dbb8b307941c2d26b95be46bf83015d868
refs/heads/master
2022-12-21T04:23:49.786811
2020-10-01T08:24:33
2020-10-01T08:24:33
300,203,187
0
0
NOASSERTION
2020-10-01T08:23:34
2020-10-01T08:23:33
null
UTF-8
Python
false
false
1,164
py
# coding: utf-8 from __future__ import unicode_literals import os from django.contrib.contenttypes.models import ContentType from django.test import TestCase, override_settings from django.test.utils import TransRealMixin from django.utils._os import upath from django.utils import six from django.utils import transla...
[ "ekurgn@gmail.com" ]
ekurgn@gmail.com
92491a80807b1a8457d04db0b1caa1a5bc99bfc8
ff738b3ec7e5c8c414f6d3c7d74310d8fab69368
/Top Interview Questions/236. Lowest Common Ancestor of a Binary Tree/solution.py
a8394b1efd2afa040587dddb0b3ee1a3f7fe33e2
[]
no_license
jw3329/leetcode-problem-solving
a0684ef13bd60e81bd54b91e1b54827aaac9bf16
0cc7ad64891a23e348c8214f806a2820ac8c9e0a
refs/heads/main
2023-08-17T20:36:51.624415
2023-08-17T07:09:56
2023-08-17T07:09:56
170,944,191
0
1
null
null
null
null
UTF-8
Python
false
false
588
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: def lowestCommonAncestor(self, root: 'TreeNode', p: 'TreeNode', q: 'TreeNode') -> 'TreeNode': if not root or root == p or root ==...
[ "junwon3329@gmail.com" ]
junwon3329@gmail.com
7bd223eed55c60a6bbc672d3eead4cec2eaa85da
9e87897c988af634c3fddc42113992a65ec006f4
/sims/publish/Timer.py
55983e3ee337f2acbf16df75fcc7534d8c10ee4c
[ "MIT" ]
permissive
luiarthur/cytof5
152eb06030785fdff90220f0d0a244a02204c2e9
6b4df5e9fd94bfd586e96579b8c618fdf6f913ed
refs/heads/master
2021-07-20T13:39:45.821597
2021-03-02T23:27:35
2021-03-02T23:27:35
145,253,611
1
0
null
null
null
null
UTF-8
Python
false
false
512
py
import time class Timer(object): """ Usage: with Timer('Model training'): time.sleep(2) x = 1 """ def __init__(self, name=None, ndigits=3): self.name = name self.ndigits = ndigits def __enter__(self): self.tstart = time.time() def __exit__(self, typ...
[ "luiarthur@gmail.com" ]
luiarthur@gmail.com
c235e510251267965a2a2495d688e9f3a662d539
6d143b66abdc9d871468e0576de09c63ca71a630
/A98_Guess_Bin_Dec/QA.py
69aa9552f8b49c96a9173f8178b01b531fccdb8b
[]
no_license
ChristerNilsson/KosmosTeacher
98acf9bf35ed13930a05641652e68c7e0f3d2d7c
f47d2e8dba21f2ea6f19d6c7b766f36ccbcbeda4
refs/heads/master
2021-03-19T13:45:51.307065
2016-10-13T01:25:34
2016-10-13T01:25:34
68,541,540
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
import random class QA: def __init__(self,width,height): self.level = 1 self.width = width self.height = height self.longList = self.makeLongList() self.shortList = self.makeShortList() def makeShortList(self): self.n = self.level+1 self.index = random.r...
[ "janchrister.nilsson@gmail.com" ]
janchrister.nilsson@gmail.com
7ee95bf97026d05a27e1e151a7c260a48f2df776
e5b8a5d93989dd53933c5cd417afa8b2a39ad307
/ultracart/models/cart_settings_payment_credit_card.py
5035a14959094b67696de38b8d2b473edf852597
[ "Apache-2.0" ]
permissive
gstingy/uc_python_api
f3586bfce9c962af2e8c1bc266ff25e0f1971278
9a0bd3f6e63f616586681518e44fe37c6bae2bba
refs/heads/master
2020-03-28T11:13:22.537641
2018-09-10T17:07:59
2018-09-10T17:07:59
148,190,066
0
0
null
null
null
null
UTF-8
Python
false
false
6,222
py
# coding: utf-8 """ UltraCart Rest API V2 UltraCart REST API Version 2 OpenAPI spec version: 2.0.0 Contact: support@ultracart.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class CartSettingsPaymentCredit...
[ "perry@ultracart.com" ]
perry@ultracart.com
e5605dc11600c8d220f96a2cd4525bcd1afc3fbe
e164fd9dce5fef093f85ca009f78570ec2b1c492
/134. Gas Station.py
460d1262ff314afb450941395616bf4f0bf76202
[]
no_license
havenshi/leetcode
58fde93a1f1cbdd3c2faa9566c00383e5812f3a7
bcb79f329bcb133e6421db8fc1f4780a4eedec39
refs/heads/master
2021-01-22T04:15:23.748793
2019-11-30T04:25:54
2019-11-30T04:25:54
92,447,327
1
0
null
null
null
null
UTF-8
Python
false
false
745
py
class Solution(object): def canCompleteCircuit(self, gas, cost): """ :type gas: List[int] :type cost: List[int] :rtype: int """ sum = 0 # total remained gas subsum = 0 # remained gas for each period index = 0 for i in range(len(gas)): ...
[ "haiwen.shi01@gmail.com" ]
haiwen.shi01@gmail.com
2d61a2d61a5c1cfb5a5512320d6a0d0b8f917e40
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/pointcloud/_stream.py
e428b82d9afa0bbe1a71fbaabb76554bb63cde83
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
857
py
import _plotly_utils.basevalidators class StreamValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name='stream', parent_name='pointcloud', **kwargs ): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_name=parent...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
2435df37568acac6639a123d883dec6a89e6d42a
a03eba726a432d8ef133f2dc55894ba85cdc4a08
/events/contrib/plugins/form_elements/fields/email/__init__.py
dcfddf62d769375628ada36fea952633354c581d
[ "MIT" ]
permissive
mansonul/events
2546c9cfe076eb59fbfdb7b4ec8bcd708817d59b
4f6ca37bc600dcba3f74400d299826882d53b7d2
refs/heads/master
2021-01-15T08:53:22.442929
2018-01-30T16:14:20
2018-01-30T16:14:20
99,572,230
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
__title__ = 'fobi.contrib.plugins.form_elements.fields.email' __author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>' __copyright__ = '2014-2017 Artur Barseghyan' __license__ = 'GPL 2.0/LGPL 2.1' __all__ = ('default_app_config', 'UID',) default_app_config = 'fobi.contrib.plugins.form_elements.fields.' \ ...
[ "contact@dragosnicu.com" ]
contact@dragosnicu.com
46da629c2f47e5979d62a6729f7c6c481856589d
f323771a686df2b934597f40334f168fa5d8915e
/interface_manager/backend/impi_project/interface_app/views/task/task_detail_results_views.py
e538efda5a6adfbdc8bc2239e5165fc01ec335b2
[]
no_license
luochun3731/test-dev
4ac560b5cc2935986be7f3d29f445f6c0d59f60f
bab018464d26de5a493e5e5a60b382e612b6ca92
refs/heads/master
2022-02-04T13:20:23.748457
2019-05-19T03:32:41
2019-05-19T03:32:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,469
py
import datetime from django.forms.models import model_to_dict from interface_app import common from interface_app.models.task import Task, TaskInterface from interface_app.models.result import TaskResult, InterfaceResult from django.views.generic import View from interface_app.my_exception import MyException # Creat...
[ "harter@126.com" ]
harter@126.com
00c8fe4031a06644da8c84e78b0266f96322e245
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_domains.py
e47a8adb75f53f5e40efaa4d4d78e4e9ac48034d
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
from xai.brain.wordbase.nouns._domain import _DOMAIN #calss header class _DOMAINS(_DOMAIN, ): def __init__(self,): _DOMAIN.__init__(self) self.name = "DOMAINS" self.specie = 'nouns' self.basic = "domain" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
03ea1db815ea69be1500fd4fa0602c4e3cb62694
25439cf61037818a6c78a4d6db7edfddd7dc9b51
/src/python/zquantum/core/history/save_conditions.py
9a731f048d410c40324188401e6837557d0fd8f2
[ "Apache-2.0" ]
permissive
antalszava/z-quantum-core
fa1f6b79709256e690194de306ac84df409f6950
8137ecb5833ab7996815c24eefa685317b5e2e13
refs/heads/master
2023-01-08T08:45:20.277025
2020-11-02T15:23:24
2020-11-02T15:23:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,527
py
"""Save conditions possible to use with recorder.""" from typing import Any from typing_extensions import Protocol class SaveCondition(Protocol): """Protocol of a function determining if given call should should be saved in the history.""" def __call__(self, value: Any, params: Any, call_number: int) -> boo...
[ "dexter2206@gmail.com" ]
dexter2206@gmail.com
ed1dae2731b95b2fb16c3f98fb739df9a348662a
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_360/ch149_2020_04_13_19_40_50_377558.py
5a4ab204d93e91a583e1bd2feb89d2c0154352fc
[]
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
863
py
#inputs salario = float(input("Qual o valor do seu salário?")) dependentes = int(input("Qual o número de dependentes que você possui?")) #cpi -> contribuição para o INSS if salario<=1045.00: cpi = salario*0.075 elif 1045.01<=salario<=2089.60: cpi = salario*0.09 elif 2089.61<=salario<=3134.40: cpi = salario...
[ "you@example.com" ]
you@example.com
a7c35533e3ca5b39277826fd3ced2b3e6d144ed4
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/CorpWatch/Search/__init__.py
d4a4dbc01fbbb5c4e9e067ff9c8408ca1f330110
[ "Apache-2.0", "MIT" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
160
py
from temboo.Library.CorpWatch.Search.CompoundSearch import CompoundSearch, CompoundSearchInputSet, CompoundSearchResultSet, CompoundSearchChoreographyExecution
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
faac4a6cd4ec646fc0024bc28f81558a4cd81c2c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_246/ch43_2020_03_30_19_26_24_928655.py
f0b9458eee10919d0689f4465806a7c9930a7dd9
[]
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
170
py
i=int(input('Qual é o número do mês:')) meses=[Janeiro, Fevereiro, Março, Abril, Maio, Junho, Julho, Agosto, Setembro, Outubro, Novembro, Dezembro] print (meses[i-1])
[ "you@example.com" ]
you@example.com
6170faf7a4373ceea1b8454264dad210b318c3be
0b25dc3f9b4ef736e739aadddec33b96dd65a0c8
/面向对象/hello1.py
777efad3932ed74d0f7ab912c6e50d9975306ee6
[]
no_license
ttp55/LearnPy
b123f44a74e4364771491c572705742c15eb33ff
1530e158bde152e5c585f496dd1e5ffcffdb73bc
refs/heads/master
2023-05-11T13:02:30.157285
2023-05-08T07:13:57
2023-05-08T07:13:57
196,953,630
0
0
null
null
null
null
UTF-8
Python
false
false
144
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'WZG' from Hello import Hello h = Hello() print(type(Hello), type(h), h.hello())
[ "1047697347@qq.com" ]
1047697347@qq.com
cf8f8d73405b71160adac91f36ff89bc04192843
d98e4ce0a2d5064c38e7445b47d094661cdc2d54
/lib/bango/constants.py
c7e17a6117303d94734a55dfb791d0c15a0f7293
[]
no_license
wraithan/solitude
549f007b4ac294439788f903110719bb6b404844
c46508929f510513a9ffc91017a1dc7983630ea3
refs/heads/master
2021-01-16T19:51:34.925247
2013-01-11T17:29:22
2013-01-11T17:29:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
import re ACCESS_DENIED = 'ACCESS_DENIED' BANGO_ALREADY_PREMIUM_ENABLED = 'BANGO_ALREADY_PREMIUM_ENABLED' BANK_DETAILS_EXIST = 'BANK_DETAILS_EXIST' INTERNAL_ERROR = 'INTERNAL_ERROR' # There is one of these for every field. INVALID = re.compile('^INVALID_\w+$') NO_BANGO_EXISTS = 'NO_BANGO_EXISTS' OK = 'OK' REQUIRED_CON...
[ "amckay@mozilla.com" ]
amckay@mozilla.com
7f9bbff19c960a1447601077fbce7f295141b375
15977cb6d59853e3b1c6ce6ef5ed33993b838a93
/rmgpy/rmg/react.py
d68d358807f917833e00fb769972d8d90a1c38d9
[ "MIT" ]
permissive
nateharms/RMG-Py
43cf7637005829a0ae743763a70bf27b6d29e5ac
80deaebddcbb14b7c41e232b67e1c973e0b18324
refs/heads/master
2021-01-18T18:29:49.279983
2016-08-23T14:05:24
2016-08-24T18:51:18
62,814,768
1
0
NOASSERTION
2020-06-02T21:33:44
2016-07-07T14:49:18
Python
UTF-8
Python
false
false
6,546
py
#!/usr/bin/python # -*- coding: utf-8 -*- ################################################################################ # # RMG - Reaction Mechanism Generator # # Copyright (c) 2002-2009 Prof. William H. Green (whgreen@mit.edu) and the # RMG Team (rmg_dev@mit.edu) # # Permission is hereby granted, free of charge, t...
[ "nickvandewiele@gmail.com" ]
nickvandewiele@gmail.com
02e0da6b388d781ffe02391d8ca227943d545ccf
3efca607aefbd6cf558517bae689ccdacb7b383e
/test/functional/feature_dersig.py
ee176b713d41056f61d283b0c330bfe6a8bfe006
[ "MIT" ]
permissive
MicroBitcoinOrg/MicroBitcoin
f761b2ff04bdcb650d7c0ddbef431ef95cd69541
0119e8eff44ec4d94313eaa30022a97692b71143
refs/heads/snapshot
2022-12-27T10:04:21.040945
2021-02-09T05:51:45
2021-02-09T05:51:45
132,959,214
21
33
MIT
2020-06-12T04:38:45
2018-05-10T22:07:51
C++
UTF-8
Python
false
false
6,145
py
#!/usr/bin/env python3 # Copyright (c) 2015-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test BIP66 (DER SIG). Test that the DERSIG soft-fork activates at (regtest) height 1251. """ from tes...
[ "iamstenman@protonmail.com" ]
iamstenman@protonmail.com
52d73a48b5c2f302869cc8f0c3a901ca166808fa
bc437dc74647765b51996f64b35fda3d047daf93
/3_Intermediate+/day32_Automated_Birthday_Wisher/day32_start/day32-start.py
850642f1ced183de5325ea62b4df0dabbf9f2a78
[]
no_license
macosta-42/100_days_of_code
e06720d57b6ed870a3dd4fa4e6d019296206a08f
5b527dc18bae2ef556c26f653ef3c4badf94bb82
refs/heads/main
2023-05-22T03:26:02.422275
2021-06-10T10:31:26
2021-06-10T10:31:26
328,963,362
0
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
import smtplib import datetime as dt import random # Change the receiver email here EMAIL_TO = "" # Change your email and password here EMAIL_FROM = "" PASSWORD = "" now = dt.datetime.now() day_of_week = now.weekday() if day_of_week == 0: with open("quotes.txt", "r") as f: quotes = f.read().splitlines(...
[ "macosta@student.42.fr" ]
macosta@student.42.fr
878270727d02763ab73a0b3dbe4846b3a1b33115
f72c9e46af5ce5ac738693daf65e67a0962a229a
/sdk/lusid/models/entity_identifier.py
9729ad91a9e7ee0e804c5cd8bde01f77b68ab38b
[ "MIT" ]
permissive
finbourne/lusid-sdk-python
db8ce602f8408169f6583783c80ebbef83c77807
32fedc00ce5a37a6fe3bd9b9962570a8a9348e48
refs/heads/master
2023-08-29T18:22:49.488811
2023-08-29T15:57:26
2023-08-29T15:57:26
125,082,278
11
11
NOASSERTION
2023-04-28T07:16:48
2018-03-13T16:31:54
Python
UTF-8
Python
false
false
6,715
py
# coding: utf-8 """ LUSID API FINBOURNE Technology # noqa: E501 The version of the OpenAPI document: 1.0.463 Contact: info@finbourne.com Generated by: https://openapi-generator.tech """ try: from inspect import getfullargspec except ImportError: from inspect import getargspec as getful...
[ "concourse@finbourne.com" ]
concourse@finbourne.com
d1e45646f104e957c2362515a6b771fbac434c43
397e125e94f4f139f2bf5055824d81f24b8b1757
/企業コン/M-SOLUTIONS プロコンオープン/D.py
4be09b400bf8143978a04bfb0cf22cda607a01e7
[]
no_license
tails1434/Atcoder
ecbab6ee238e3f225551297db961b1b502841fa4
e7c7fed36be46bbaaf020a70997842240ba98d62
refs/heads/master
2021-07-07T00:31:49.235625
2020-09-30T01:42:01
2020-09-30T01:42:01
189,009,622
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
from collections import deque def main(): N = int(input()) edge = [[] for _ in range(N)] for _ in range(N-1): a, b = map(int, input().split()) a -= 1 b -= 1 edge[a].append(b) edge[b].append(a) C = list(map(int, input().split())) cnt = [0] * N visited = [F...
[ "sososo1333@gmail.com" ]
sososo1333@gmail.com
06b3e54127019eed2360e8eabf390410d6381fe5
58c03f5db2e969dd0a982cd95f28b2ad0ecd5651
/setup.py
685cb7ed33ff9949436f3716c5180e5da4c59c4d
[]
no_license
rajsid1/django-th
6bccaa25652d0713f893b9ba533f496cc6fe67f8
8060df3803ea0f3d1c965c3b9fdf85628633975b
refs/heads/master
2021-01-15T09:29:14.177440
2014-11-30T21:26:40
2014-11-30T21:26:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,280
py
from setuptools import setup, find_packages from django_th import __version__ as version import os def strip_comments(l): return l.split('#', 1)[0].strip() def reqs(*f): return list(filter(None, [strip_comments(l) for l in open( os.path.join(os.getcwd(), *f)).readlines()])) install_requires = reqs(...
[ "olivier@foxmask.info" ]
olivier@foxmask.info
13306b3ec4618698ff1c402f46e0766579943674
9ef7e97ea83ec9dc1f792ef143aaa86c6e626ea6
/Laplaceequation/.svn/pristine/cd/cd0a97d4dd9b4a0d2ab02c13a884e55158c95ed1.svn-base
79c9fe07487cfe58b407e081b80e52478090c10a
[]
no_license
leiradom/CFDhomework
b57b0644ad76f61458c5d54e3c023615b64da146
b59eae622e68f1127e65f3846cf8075ba82849f3
refs/heads/main
2023-05-30T19:35:30.088666
2021-06-04T14:47:47
2021-06-04T14:47:47
373,870,890
1
0
null
null
null
null
UTF-8
Python
false
false
4,847
import math import numpy as np import matplotlib.pyplot as plt # n1 = int(input("请输入翼型表面离散点数")) # n2 = int(input("请输入近场到远场离散点数")) #NACA0012表面坐标 #y1 = 0.6 * (-0.1015 * x**4 + 0.2843 * x**3 - 0.3576 * x**2 - 0.1221 * x + 0.2969 * x ** 0.5) #y2 = -0.6 * (-0.1015 * x**4 + 0.2843 * x**3 - 0.3576 * x**2 - 0.1221 * x + 0.29...
[ "1637232256@qq.com" ]
1637232256@qq.com
72359d15c10f05c12783657d8a41809cb92f774b
21c09799d006ed6bede4123d57d6d54d977c0b63
/PrintOut.py
31c51a8b387d5270f2d155b82ae290929209aa36
[]
no_license
corvettettt/DijetRootTreeAnalyzer
68cb12e6b280957e1eb22c9842b0b9b30ae2c779
e65624ffc105798209436fc80fb82e2c252c6344
refs/heads/master
2021-05-06T09:57:12.816787
2019-04-18T15:32:38
2019-04-18T15:32:38
114,043,763
1
0
null
2017-12-12T22:02:46
2017-12-12T22:02:46
null
UTF-8
Python
false
false
595
py
import os #for i in [0.1,0.15,0.2,0.3,0.35,0.45,0.5,0.5803,0.65,0.75,0.8,0.8838,0.9,0.9693]: # cut = str(int(i*1000)) # os.system('python python/Plot1DLimit.py -d cards_PF0bDijet2017Scan'+cut+'_scan_ns/ -m qq -b PF0bDijet2017Scan'+cut+' -l 41.800 --massMin 1000 --massMax 8000 --xsecMin 1e-4 --xsecMax 1e2 -o exp') f...
[ "zhixing.wang@ttu.edu" ]
zhixing.wang@ttu.edu
d09077a77e985ee9243a979fe56958da14e954bd
4101f575c913a1ccbfcbe16314fb343f8ddb2ea2
/27.Linked_List_Cycle_II/27.Linked_List_Cycle_II.py
346eea4bfbdb108a6398dbfee8fa4ca78f82cf83
[]
no_license
Gangadharbhuvan/31-Days-October-Leetcode
a5959b25202d847daeb0f8ddc696838b068b01dc
8515aa8cfd072b61f7b00be267f96c688474021b
refs/heads/master
2023-01-04T01:28:15.974195
2020-10-31T17:06:56
2020-10-31T17:06:56
300,222,126
0
0
null
null
null
null
UTF-8
Python
false
false
1,683
py
''' Given a linked list, return the node where the cycle begins. If there is no cycle, return null. There is a cycle in a linked list if there is some node in the list that can be reached again by continuously following the next pointer. Internally, pos is used to denote the index of the node that tail's next p...
[ "noreply@github.com" ]
Gangadharbhuvan.noreply@github.com
d820e8e0ac93df5fd014839584386acd0509363e
abbc2d332bdfa036ac12438983e6d74cf4107e64
/SiamFCpp/SiamFCpp-video_analyst/siamfcpp/evaluation/got_benchmark/experiments/trackingnet.py
8492e40ea56be71f3e098bb843cac2ed8f449c58
[]
permissive
HonglinChu/SiamTrackers
c494cff7543a433e8ec7dbf6d9439b1e7395b0c0
805208b5348346d35e64abcbe901a3829743e157
refs/heads/master
2023-08-29T06:50:59.532271
2023-03-06T09:13:53
2023-03-06T09:13:53
253,718,080
1,166
243
Apache-2.0
2023-08-03T16:39:53
2020-04-07T07:24:00
Python
UTF-8
Python
false
false
3,041
py
from __future__ import absolute_import import os import numpy as np from loguru import logger from .otb import ExperimentOTB from ..datasets import TrackingNet from ..utils.metrics import rect_iou, center_error from ..utils.ioutils import compress class ExperimentTrackingNet(ExperimentOTB): r"""Experiment pipe...
[ "chuhonglin@chuhonglindeMacBook-Pro.local" ]
chuhonglin@chuhonglindeMacBook-Pro.local
d8b5ea5c66a9b6e027e0b4f8aa070b5bbbeb9024
8938c94953e30aefebc28a9321da16976345072f
/bound_detect.py
ffc1a50cbf77fb1c2ccb2a3d6ebc7d75da3a25e6
[]
no_license
liu1073811240/Opencv-4
ace1df112bf1ba58620086a32237fe0e08b914bc
afc4a676f1fb0f6c47a9bb1ae039791ef6e77467
refs/heads/master
2023-01-12T00:21:35.171391
2020-11-15T03:30:04
2020-11-15T03:30:04
312,950,405
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
import cv2 import numpy as np # "边界检测: 边界矩形、最小(面积)矩形、最小外接圆以及椭圆拟合、直线拟合" img = cv2.imread("./images/23.jpg") img_gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) ret, thresh = cv2.threshold(img_gray, 127, 255, 0) contours, _ = cv2.findContours(thresh, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE) # 边界矩形 x, y, w, h = cv2.boundi...
[ "1073811240@qq.com" ]
1073811240@qq.com
0dd50d721f6ae31735f10048c04f2c5ae82ff43a
936a8929956eb82b08c8f48c9bf2e7fb621412df
/dlaicourse/course2_part6_lesson3.py
3192b2c2042036998a334d61bec0d6b33545bcd5
[]
no_license
chenxu0602/TensorFlow2.0
3871b9b0cd391ca65938da7d3409e4667acb929c
c13742750ad09d8ec26fabe32578d27c927701a8
refs/heads/master
2021-07-12T11:10:08.665940
2021-02-27T09:21:29
2021-02-27T09:21:29
237,641,001
0
0
null
null
null
null
UTF-8
Python
false
false
3,341
py
import os import tensorflow as tf local_weights_file = 'inception_v3_weights_tf_dim_ordering_tf_kernels_notop.h5' pre_trained_model = tf.keras.applications.inception_v3.InceptionV3( input_shape=(150, 150, 3), include_top=False, weights=None) pre_trained_model.load_weights(local_weights_file) for layer in pre_tr...
[ "chenxu@Chens-iMac.local" ]
chenxu@Chens-iMac.local
00440d45b3060c0984ce7edc9e4ac40220ccd1bb
5ff8cefa68d52d2427bb3d35320cd8bd0d072968
/Python/function.py
b37cd2866485f3b2690cac066f765b069d08c364
[]
no_license
gsudarshan1990/PythonSampleProjects
a65a111454f8dc551f1cd29901cead0798ad6dc3
3c1a5174c5f966b0eed2828221add76ec0d019d5
refs/heads/master
2020-05-09T16:02:37.743568
2019-07-14T06:22:55
2019-07-14T06:22:55
181,255,262
1
0
null
null
null
null
UTF-8
Python
false
false
796
py
def say_hi(): print('Hi! Welcome to python functions') def program_to_add_two_numbers(): data1=input('Enter the first value') data2=input('Enter the second value') data3=int(data1)+int(data2) print(data3) def say_hi_from_command_line(name): print('Hello {} how are you'.format(name)) def sa...
[ "sudharshan.govindarajan@ey.com" ]
sudharshan.govindarajan@ey.com
98646c1825664b848ab78bddca0a52fea3d4f37a
446b36ebe2eae156fbac7dcf1c50d467bd8bda93
/artellapipe/__version__.py
059e18e19b275b625118ed020ba630246c2024ef
[ "MIT" ]
permissive
ArtellaPipe/artellapipe
cd08f29d4ac8ca0eb304f944864632c1f98f81cb
3400f6a55f124f639143fe01c559059eaba23b22
refs/heads/master
2023-04-06T13:08:34.445823
2021-01-29T22:52:23
2021-01-29T22:52:23
197,077,090
8
0
MIT
2023-03-21T22:35:32
2019-07-15T21:48:38
Python
UTF-8
Python
false
false
508
py
#! /usr/bin/env python # -*- coding: utf-8 -*- """ Version module for artellapipe """ from __future__ import print_function, division, absolute_import __author__ = "Tomas Poveda" __license__ = "MIT" __maintainer__ = "Tomas Poveda" __email__ = "tpovedatd@gmail.com" __version__ = None def get_version(): global ...
[ "tpovedatd@gmail.com" ]
tpovedatd@gmail.com
4742e8ffbe6d84c6a4f32e83697808989bfb9c8c
cd80ef21610010b534430cc9de5c47cddc8b351c
/tests/test_utils/test_load_raw_schema.py
d2e58a61b20637fa70e8e744949bf61779f4f7af
[ "CC0-1.0" ]
permissive
lushacao/biolinkml
7124437b0fc6cd2fb8e84fa50e5e187513693fb0
a492ec8e0d5dc464407b25a70d363674131155bf
refs/heads/master
2020-05-26T15:13:31.416209
2019-04-09T14:53:55
2019-04-09T14:53:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,482
py
import os import unittest from typing import Callable from jsonasobj import as_json, loads, as_dict from biolinkml import METAMODEL_URI from biolinkml.meta import SchemaDefinition from biolinkml.utils.rawloader import load_raw_schema from biolinkml.utils.schemaloader import SchemaLoader from tests.test_utils import d...
[ "solbrig@jhu.edu" ]
solbrig@jhu.edu
1d46722876803893a9031d256552fb3ff8871627
b92417413ec5b05ca25695de55934ce7072a0f0a
/test/test_v1_source_control_user.py
272e12fdb5ccbc057c74caf86bff1ed08f2c5e16
[ "Apache-2.0" ]
permissive
detiber/lib_openshift
be1f0f1b3eec62c9bbf50a3fcea61303a870c112
efea21ce6f67e3d48885c03ae22978c576c0b87d
refs/heads/master
2021-01-18T04:12:00.820052
2016-10-04T03:20:43
2016-10-04T03:20:43
63,102,761
0
0
null
2016-07-11T21:15:36
2016-07-11T21:15:36
null
UTF-8
Python
false
false
1,320
py
# coding: utf-8 """ OpenAPI spec version: Generated by: https://github.com/swagger-api/swagger-codegen.git 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 ...
[ "jdetiber@redhat.com" ]
jdetiber@redhat.com
15ed6ca2de5e81a647689b26bfa84a582b393614
8a699595e7f156b1ade42f6042900b3331831fbf
/src/transformers/models/funnel/__init__.py
b9c6b9608d3787ef46211639297da693cde0c8c9
[ "Apache-2.0" ]
permissive
stas00/transformers
ab654371a387c5883fc882dd0286177875d6d3b4
7c5d79912a21880ce13d77881940458e90d98917
refs/heads/master
2023-02-16T00:22:41.298155
2022-04-08T20:55:42
2022-04-08T20:55:42
278,214,696
6
0
Apache-2.0
2022-01-28T18:39:00
2020-07-08T23:24:49
Python
UTF-8
Python
false
false
3,496
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 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use thi...
[ "noreply@github.com" ]
stas00.noreply@github.com
5441121600dc115f36870bfe9ba621150d9a807b
be0c6e2071945edcb47ee4f3fadc1f4629a2c6aa
/grandapp/migrations/0159_gwascata.py
bd3973db6cc1f9639c5721276b1eec0a9fcd0592
[]
no_license
QuackenbushLab/grand
9719a395e6a30951c3ffdef1eccdb5e422da737c
f23031d1f240550d25c2842b4af0aae08c653bae
refs/heads/master
2023-08-10T09:58:58.381264
2023-07-25T18:23:26
2023-07-25T18:23:26
201,113,575
5
2
null
2022-06-24T19:11:29
2019-08-07T19:18:58
JavaScript
UTF-8
Python
false
false
622
py
# Generated by Django 3.0.2 on 2021-04-17 03:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('grandapp', '0158_gobpbygene'), ] operations = [ migrations.CreateModel( name='Gwascata', fields=[ ('...
[ "marouen.b.guebila@gmail.com" ]
marouen.b.guebila@gmail.com
0b66e9d9f992078632fda7ba4aab15fea059fe55
ecf1ce6f8b592f76c7b7c253608c1264ae0676a3
/days/day033/movie_logbook.py
b380e0535a073660df262734541a8f403ae4d0b4
[]
permissive
alex-vegan/100daysofcode-with-python-course
94e99880a50ac412e398ad209ed53796f253641f
b6c12316abe18274b7963371b8f0ed2fd549ef07
refs/heads/master
2021-07-20T23:05:59.721661
2019-01-21T16:18:25
2019-01-21T16:18:25
150,115,516
0
0
MIT
2018-09-24T14:28:16
2018-09-24T14:28:15
null
UTF-8
Python
false
false
3,017
py
from typing import List import requests import collections import os from urllib.request import urlretrieve from requests.exceptions import ProxyError, ConnectionError, HTTPError, SSLError import logbook import sys FILE = 'movie_logbook.log' resp_logger = logbook.Logger('Resp') url_path = 'http://movie_service.talk...
[ "alex-vegan@outlook.com" ]
alex-vegan@outlook.com
116ad72261ac13f32e56b96af2857a706496f8f3
4eeb40dcc265caf4a2b84bc90a28d481930d6a8a
/wristwatchesproj/genericviews/urls.py
f85318b0a8fa4ada057cdb8357d59b5e5c64d300
[]
no_license
mprasu/Sample-Projects
eb7fc46e81b09d7c97c238047e3c93b6fff3fb8d
7363baf630900ab2babb4af2afe77911d8a548b2
refs/heads/master
2020-04-16T06:43:16.345750
2019-01-12T07:07:34
2019-01-12T07:07:34
165,358,055
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from django.conf.urls import url from django.urls import path from genericviews import views #app_name = 'genericviews' urlpatterns = [ url(r'^$', views.IndexView.as_view(), name='index'), url(r'^(?P<pk>[0-9]+)/$', views.DetailsView.as_view(), name='detail'), url(r'^makeentry$', views.MakeEn...
[ "muppuriprasanna5@gmail.com" ]
muppuriprasanna5@gmail.com
56f1079c44dd79e3fc140abdf1cdfe15a672ec6e
33a917d58f796de42d3f90c7ab0a0353066c8a4b
/constants.py
20f9cd9dd32e0f3ec6ecab79f4d3222233c424e0
[]
no_license
evanthebouncy/tangram
d214cec6e164e9b21d83cf2fcacf753d8ca837e5
c8a7c13bcad7c9b4c96a6b296db707ddcf32241b
refs/heads/master
2021-04-26T23:06:12.465094
2018-07-18T13:46:00
2018-07-18T13:46:00
123,930,799
1
0
null
null
null
null
UTF-8
Python
false
false
435
py
# all the constant globals shared across codes OPS = ['P', 'H', 'V'] n_hidden = 40 # n_hidden = 120 # good embedding bad decomposition large_hidden = 10 * n_hidden L = 6 SHAPE_TYPES = ['1', '2', '3', '4', '5'] # SHAPES = ['1', '1', '2', '3', '4', '5', '5'] SHAPES = ['1', '2', '3'] # SHAPES = ['1', '2', '3', '4', '5']...
[ "evanthebouncy@gmail.com" ]
evanthebouncy@gmail.com
a06cf4d1ec1fe5c2ef51f4f2e617bb1fda1ec0c7
137ba8a70dfcf94dfe7aeef1599341ecc06ca48f
/student_result/2018/04_parsing/parsing_13.py
485d391f72037db4058ecdbac9b7637466f7058f
[]
no_license
smtamh/oop_python_ex
e1d3a16ade54717d6cdf1759b6eba7b27cfc974e
bd58ee3bf13dad3de989d5fd92e503d5ff949dd9
refs/heads/master
2020-09-22T08:35:19.847656
2019-11-13T02:47:06
2019-11-13T02:47:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,971
py
import bs4 import requests # pip3 install requests # pip3 install beautifulsoup4 def get_html(url): """웹사이트 주소를 입력받아 html tag를 읽어 반환""" response = requests.get(url) response.raise_for_status() return response.text # 전달받은 페이지의 제목, 별점, 리뷰를 반환 함수 def movie_review_page(page): html = get_html( ...
[ "kadragon@sasa.hs.kr" ]
kadragon@sasa.hs.kr
a5c74481adc2762f626d94daf9deb43125532d4c
162e2588156cb2c0039c926c5c442363d9f77b00
/data_steward/cdr_cleaner/cleaning_rules/covid_ehr_vaccine_concept_suppression.py
1601ac11a20c04fcd9a8cadea05debe08ac71228
[ "MIT" ]
permissive
nishanthpp93/curation
38be687240b52decc25ffb7b655f25e9faa40e47
ac9f38b2f4580ae806121dd929293159132c7d2a
refs/heads/develop
2022-08-08T20:33:53.125216
2021-12-03T21:38:48
2021-12-03T21:38:48
155,608,471
1
0
MIT
2020-10-09T01:14:39
2018-10-31T18:54:34
Python
UTF-8
Python
false
false
6,340
py
""" Suppress COVID EHR vaccine concepts. Original Issues: DC-1692 """ # Python imports import logging # Project imports from cdr_cleaner.cleaning_rules.deid.concept_suppression import AbstractBqLookupTableConceptSuppression from constants.cdr_cleaner import clean_cdr as cdr_consts from common import JINJA_ENV, CDM_T...
[ "noreply@github.com" ]
nishanthpp93.noreply@github.com
a3da500227494dc20d9023e0ec3170314752b6aa
6b2c9c056c2fc7a9c622355e9a00da00c22d626a
/venv/Lib/site-packages/pip/_internal/locations.py
6bfbe43dc4ebb7de0c4a0bda1e64c2459cba740c
[]
no_license
LeoM666/GameKlanRedLion
0a42f06add1ff396d375c2ace63d7112f41281f6
5cb22b8326bffcaf351180497b7c47b43e316621
refs/heads/master
2020-06-11T20:21:02.154926
2019-08-03T07:45:33
2019-08-03T07:45:33
194,073,919
1
0
null
null
null
null
UTF-8
Python
false
false
6,934
py
"""Locations where we look for configs, install stuff, etc""" from __future__ import absolute_import import os import os.path import platform import site import sys import sysconfig from distutils import sysconfig as distutils_sysconfig from distutils.command.install import SCHEME_KEYS # type: ignore from pip._inter...
[ "leonboiko061@gmail.com" ]
leonboiko061@gmail.com
4cc0e90527df6b74090fa2055c2f1b2087e39b1c
45da2549e8943738618ad1b774abeaa13ed463b0
/cian_parser/management/commands/urls_parser_cian.py
f057e37c493dde6d53c5645a5f1fde7ad115c543
[]
no_license
ShashkinRoman/cian_parser
02ea484457123915e6c7d3def90f5bc76ae5893b
8a4bb0b8bb2cf5fd1a059a568bd862bdeafa8bc1
refs/heads/master
2023-02-05T09:14:27.748810
2020-12-23T11:07:50
2020-12-23T11:07:50
291,051,494
0
1
null
null
null
null
UTF-8
Python
false
false
222
py
from django.core.management.base import BaseCommand from cian_parser.urls_parser import main as urls_main class Command(BaseCommand): help = 'urls parser' def handle(self, *args, **options): urls_main()
[ "romanshashkin@mail.ru" ]
romanshashkin@mail.ru
c65c2414f43a95a3c537c9d9a57f181522594a14
236ed63fc380b10e43fd326e3f17f1ddc8f28b4e
/apps/goods/serializer.py
7bd4b70073afa4e2aaea35e22f6fd6812815ba2e
[]
no_license
pylarva/restFrameworkShop
53585caab80b82f82f6d693292ccf4fa8bf33810
ddc88dc0ebbdd50927f9b4e6f1d8e4a65239cddb
refs/heads/master
2020-03-24T23:22:13.780622
2018-08-01T10:29:35
2018-08-01T10:29:35
143,130,351
0
0
null
null
null
null
UTF-8
Python
false
false
1,431
py
# !/usr/bin/env python # -*- coding:utf-8 -*- from rest_framework import serializers from .models import Goods, GoodsCategory # 1) 使用笨办法序列化数据 # class GoodsSerializer(serializers.Serializer): # name = serializers.CharField(required=True, max_length=108) # click_num = serializers.IntegerField(default=0) # g...
[ "lichengbing9027@gamil.com" ]
lichengbing9027@gamil.com
3ade350b48eac09ac2875ce074001fd47ea18ca4
1ab7b3f2aa63de8488ce7c466a67d367771aa1f2
/Ricardo_OS/Python_backend/venv/lib/python3.8/site-packages/pandas/tests/groupby/test_bin_groupby.py
f20eed4575e91ce541b6e4f2835eacbe462fdb96
[ "MIT" ]
permissive
icl-rocketry/Avionics
9d39aeb11aba11115826fd73357b415026a7adad
95b7a061eabd6f2b607fba79e007186030f02720
refs/heads/master
2022-07-30T07:54:10.642930
2022-07-10T12:19:10
2022-07-10T12:19:10
216,184,670
9
1
MIT
2022-06-27T10:17:06
2019-10-19T09:57:07
C++
UTF-8
Python
false
false
4,083
py
import numpy as np import pytest from pandas._libs import groupby, lib, reduction as libreduction from pandas.core.dtypes.common import ensure_int64 import pandas as pd from pandas import Series, isna import pandas._testing as tm def test_series_grouper(): obj = Series(np.random.randn(10)) dummy = obj.iloc...
[ "kd619@ic.ac.uk" ]
kd619@ic.ac.uk
c3e17c5290ac282d69fd29259472c75ac146da2c
0ddcfcbfc3faa81c79e320c34c35a972dab86498
/puzzles/minimum_score_of_a_path_between_two_cities.py
8914e671e9bcec78b594033d27ea3e966a60aca7
[]
no_license
IvanWoo/coding-interview-questions
3311da45895ac4f3c394b22530079c79a9215a1c
1312305b199b65a11804a000432ebe28d1fba87e
refs/heads/master
2023-08-09T19:46:28.278111
2023-06-21T01:47:07
2023-06-21T01:47:07
135,307,912
0
0
null
2023-07-20T12:14:38
2018-05-29T14:24:43
Python
UTF-8
Python
false
false
1,899
py
# https://leetcode.com/problems/minimum-score-of-a-path-between-two-cities/description/ """ You are given a positive integer n representing n cities numbered from 1 to n. You are also given a 2D array roads where roads[i] = [ai, bi, distancei] indicates that there is a bidirectional road between cities ai and bi with a...
[ "tyivanwu@gmail.com" ]
tyivanwu@gmail.com
1b7f698663463ef8f33f245786a62d037968f89d
c8847d4117204f1d26ad47488152234a64aefb0d
/hypergan/samplers/static_batch_sampler.py
81931e59ada7b5a027cd5459aa7b45db299cc08f
[ "MIT" ]
permissive
Solertis/HyperGAN
851f27aa9ba2ef89b6d50f86987c6746c831502d
1aceed20c9d9f67de8e3b290ee84f376d64228f0
refs/heads/master
2021-01-20T14:01:52.353117
2017-02-11T09:48:22
2017-02-11T09:48:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
from hypergan.util.ops import * from hypergan.util.globals import * from hypergan.samplers.common import * #mask_noise = None z = None y = None def sample(sample_file, sess, config): global z, y generator = get_tensor("g")[0] y_t = get_tensor("y") z_t = get_tensor("z") x = np.linspace(0,1, 4) ...
[ "mikkel@255bits.com" ]
mikkel@255bits.com
c8d9704e46969f972fc3a2f5b971e4f09044ca2b
a904358b873d4881a9e61555bfc7a97169c696a8
/src/djnydus/db/shards/routers.py
c8d5539eb60791895d7eacc5c92f2c1671386aed
[ "Apache-2.0" ]
permissive
numan/nydus-django
945e91df73af34941a2a281c2b5e2a706f87a3b5
b652ea28d7f801f453a64e4ec78899e2acfc7606
refs/heads/master
2021-01-18T08:19:06.320484
2013-03-26T01:49:42
2013-03-26T01:49:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
""" djnydus.shards.router ~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2012 DISQUS. :license: Apache License 2.0, see LICENSE for more details. """
[ "dcramer@gmail.com" ]
dcramer@gmail.com