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
3a559961d460a100177dfb05a88dd44d35beacac
17993dcca87d490bc9841437309f309a5592ab38
/Codes/support_vector_machine/lib/svm_smo.py
0e73fa2184ef4d2fcb86116b01efa95cec3c0255
[]
no_license
dreamlikexin/machine_learning
bc86ea15ef8552ad1be78a5bc65fb74a2cdb274e
850e87025270847210b6ad188d2da181983a72c7
refs/heads/master
2022-01-16T09:51:20.538340
2019-06-19T16:27:26
2019-06-19T16:27:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,937
py
import numpy as np class SVM: def get_H(self, Lambda, i, j, y): if y[i]==y[j]: return Lambda[i] + Lambda[j] else: return float("inf") def get_L(self, Lambda, i, j, y): if y[i]==y[j]: return 0.0 else: return max(0, Lambda[j] - ...
[ "wanglei@wanglei-mbp.local" ]
wanglei@wanglei-mbp.local
5dc3bef4afd928a08151a42b378ae0cc9051a420
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N539_Minimum_Time_Difference.py
606f46d1a86602b05472d086e54f47d8e7fe6dbb
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
533
py
class Solution(object): def findMinDifference(self, timePoints): """ :type timePoints: List[str] :rtype: int """ if not timePoints: return times = [] for point in timePoints: times.append(int(point[:2])*60 + int(point[3:])) time...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
91e4afe9a69b64b1252d3f879b3ec018d529bbad
5dd190725aaaeb7287d935b3c99c20480b208816
/object_detection/utils/np_mask_ops_test.py
a0ee46eff01f165f5ae94346b8a1b7fe2636149c
[ "MIT" ]
permissive
DemonDamon/mask-detection-based-on-tf2odapi
32d947164fb54395b9e45368c0d4bcf3a6ea1c28
192ae544169c1230c21141c033800aa1bd94e9b6
refs/heads/main
2023-05-13T05:05:44.534885
2021-06-08T05:56:09
2021-06-08T05:56:09
369,463,131
2
1
null
null
null
null
UTF-8
Python
false
false
3,719
py
# Copyright 2017 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 required by...
[ "noreply@github.com" ]
DemonDamon.noreply@github.com
e831296b955c4901d82f0f076e71adc6e4910c97
43dec81f8466acb925a9c4830fe274de9cd1f51e
/backend/home/migrations/0004_auto_20201124_1916.py
31248f325cd782e66c1f5f5fd515ded3f3aaa5f0
[]
no_license
crowdbotics-apps/lizz-11-10-mob2-22484
6cd2af76c92fb2f2c9047b70017b9e0c5adfbcdb
61ab9254234534b8384ec2b64451cf5ba7d587de
refs/heads/master
2023-02-03T02:07:07.406375
2020-12-22T18:53:04
2020-12-22T18:53:04
311,748,272
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
# Generated by Django 2.2.17 on 2020-11-24 19:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('home', '0003_homepage_hello'), ] operations = [ migrations.RemoveField( model_name='homepage', name='body', ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
bf29aac5c207544133fb68b24af753d74d7b9796
a3746020cf091f433beb41bde1b62818b4de569b
/new_rule/ticket-rules/oracle/SQL_TO_CHANGE_TYPE.py
1109b2501f3b147a116f67fc69a8723297cb7134
[]
no_license
kk71/sqlaudit
59bab5765a67f56f1dd2f3103812051c5acbbc49
747aaa02573a9c2b46a9e14415d27c0ab8e6158c
refs/heads/master
2023-02-04T18:38:46.125746
2020-06-05T09:49:46
2020-06-05T09:49:46
323,559,338
1
0
null
null
null
null
UTF-8
Python
false
false
436
py
import re def code(rule, entries, **kwargs): sql_plan_qs = kwargs["sql_plan_qs"] plans = sql_plan_qs.filter( filter_predicates=re.compile(r"(SYS_OP|TO_NUMBER|INTERNAL_FUNCTION)", re.I) ) for x in plans: return -rule.weight, [ x.statement_id, x.plan_id, ...
[ "kai.fang@kirintech.cn" ]
kai.fang@kirintech.cn
d039f7c165307c3cab9557169d0d0820f5754329
cb4e07b2a5dd30804ce428ec84d9e9f77709fcd5
/swea/D3/10570. 제곱 팰린드롬 수.py
9345f0450146e6efeba20eb3d88dd2e9b24a99b9
[]
no_license
jbsam2/algo_problem
141c17003e88a69afdeea93a723e7f27c4626fdc
18f2cab5a9af2dec57b7fd6f8218badd7de822e4
refs/heads/master
2023-05-18T10:03:00.408300
2021-06-02T10:36:50
2021-06-02T10:36:50
282,104,637
0
0
null
null
null
null
UTF-8
Python
false
false
271
py
def c(num):return 1 if num==int(num**(0.5))**2 else 0 for t in range(int(input())): a,b=map(int,input().split());ans=0 for i in range(a,b+1): p=int(i**(0.5)) if c(i) and str(i)==str(i)[::-1] and str(p)==str(p)[::-1]:ans+=1 print(f'#{t+1}',ans)
[ "kbsam2@gmail.com" ]
kbsam2@gmail.com
5634ebaa358971f4de28704f86ff95ab91d76915
22b93005b05aa4cbfa6287c42e07244b9bf83be9
/mlflow/ml_package_versions.py
b5be01dffc43abf48dbe7e9ab8fc1f6dee71ebf8
[ "Apache-2.0" ]
permissive
dbczumar/mlflow
63ede1f21966def17ded0da9c8e92a207b34b90d
e293a73b510c924cbca50b6337b6d6f9fd9f8f1b
refs/heads/master
2023-08-31T23:40:55.475707
2023-07-15T04:22:18
2023-07-15T04:22:18
138,797,518
1
3
Apache-2.0
2023-08-23T23:01:08
2018-06-26T21:51:19
Python
UTF-8
Python
false
false
5,987
py
# This file was auto-generated by update_ml_package_versions.py. # Please do not edit it manually. _ML_PACKAGE_VERSIONS = { "sklearn": { "package_info": { "pip_release": "scikit-learn" }, "models": { "minimum": "0.22.1", "maximum": "1.3.0" }, ...
[ "noreply@github.com" ]
dbczumar.noreply@github.com
615af758d32d2c1268ec81eea7298e8b8de7ef55
576cc83449e10fd3f98281970c46016ea7a5aea2
/demo01/demo04-resize.py
7fe6931b6b3219fd8402aa1089ff29d446980c6a
[]
no_license
HotView/PycharmProjects
215ab9edd341e3293daebcf86d97537f8cd28d75
61393fe5ba781a8c1216a5cbe7e0d06149a10190
refs/heads/master
2020-06-02T07:41:53.608742
2019-11-13T08:31:57
2019-11-13T08:31:57
191,085,178
3
2
null
null
null
null
UTF-8
Python
false
false
334
py
from matplotlib import pyplot as plt import numpy as np import cv2 img = cv2.imread("book01-.jpg") img_cut = img[1000:,:] img_resize = cv2.resize(img_cut,(600,600),interpolation=cv2.INTER_CUBIC) #cv2.imwrite("book01resize-.jpg",img_resize) cv2.imshow("origin",img) cv2.imshow("reszie",img_resize) cv2.waitKey() cv2.destr...
[ "864773190@qq.com" ]
864773190@qq.com
2df9bb0f75e0aa888664ef8141109604c4fb80ce
2f557f60fc609c03fbb42badf2c4f41ef2e60227
/DQMServices/Components/python/test/test_good_online_run_cfg.py
b7f1fc42e7ebfd7330bb6887869aa39da91b28bf
[ "Apache-2.0" ]
permissive
CMS-TMTT/cmssw
91d70fc40a7110832a2ceb2dc08c15b5a299bd3b
80cb3a25c0d63594fe6455b837f7c3cbe3cf42d7
refs/heads/TMTT_1060
2020-03-24T07:49:39.440996
2020-03-04T17:21:36
2020-03-04T17:21:36
142,576,342
3
5
Apache-2.0
2019-12-05T21:16:34
2018-07-27T12:48:13
C++
UTF-8
Python
false
false
470
py
import FWCore.ParameterSet.Config as cms process = cms.Process("TestDQMFileSaver") process.load("DQMServices.Components.test.test_good_online_basic_cfi") process.load("DQMServices.Components.test.MessageLogger_cfi") process.load("DQMServices.Components.DQMEnvironment_cfi") process.load("DQMServices.Core.DQM_cfg") ...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
9137f27ec4c8f050a41a19a14e938c78fb1cd0e9
3dd43ff0dab514a39f611487ab421256b3b5b13b
/scripts/client/gui/Scaleform/daapi/view/lobby/hangar/carousels/ranked/carousel_data_provider.py
048d8fce65aedbf46febbd1c5c6f3b312913163c
[]
no_license
kusaku/wotscripts
04ab289e3fec134e290355ecf81cf703af189f72
a89c2f825d3c7dade7bc5163a6c04e7f5bab587d
refs/heads/master
2023-08-20T00:17:36.852522
2018-02-26T14:53:44
2018-02-26T14:53:44
80,610,354
1
0
null
null
null
null
UTF-8
Python
false
false
1,222
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/hangar/carousels/ranked/carousel_data_provider.py from gui.Scaleform.daapi.view.lobby.hangar.carousels.basic.carousel_data_provider import HangarCarouselDataProvider from gui.Scaleform.locale.RANKED_BATTLES import RANKED_BATTLES from gui.shared.formatt...
[ "kirill.a@aggrostudios.com" ]
kirill.a@aggrostudios.com
a0adb96467c96dad6dd4c36cc41e36636bc0d50b
b2625b1a1ef4a3a255ae88b6d77c425727187eeb
/.dev_scripts/github/update_copyright.py
74320198598ed850edad4f2404605c54f1b4e17f
[ "Apache-2.0" ]
permissive
wojiazaiyugang/mmpose
acd4083d142c5c4c2dd87e6be94a5891a42d2797
8947b39294b037e8272c6cf2f53ae4aa7d22193b
refs/heads/master
2023-09-01T23:45:43.857657
2021-11-23T03:03:02
2021-11-23T03:03:02
356,105,054
0
0
Apache-2.0
2021-09-16T06:36:44
2021-04-09T02:08:50
Python
UTF-8
Python
false
false
2,928
py
#!/usr/bin/env python # Copyright (c) OpenMMLab. All rights reserved. import argparse import os import os.path as osp import re import sys HEADER = 'Copyright (c) OpenMMLab. All rights reserved.\n' HEADER_KEYWORDS = {'Copyright', 'License'} def contains_header(lines, comment_symbol, max_header_lines): for line ...
[ "noreply@github.com" ]
wojiazaiyugang.noreply@github.com
3dc4fcb72c535bd5635233808c4b20178c15fe20
c2849586a8f376cf96fcbdc1c7e5bce6522398ca
/ch39/interfacetracer.py
033591fd7329b9bc42e2527b180411b9735c1e96
[]
no_license
freebz/Learning-Python
0559d7691517b4acb0228d1cc76de3e93915fb27
7f577edb6249f4bbcac4f590908b385192dbf308
refs/heads/master
2020-09-23T01:48:24.009383
2019-12-02T12:26:40
2019-12-02T12:26:40
225,371,155
0
0
null
null
null
null
UTF-8
Python
false
false
2,033
py
def Tracer(aClass): # @ 데코레이션할 때 class Wrapper: def __init__(self, *args, **kargs): # 인스턴스 생성할 때 self.fetches = 0 self.wrapped = aClass(*args, **kargs) # 유효 범위 이름 사용 def __getattr__(self, attrname): print('Trace: ' + at...
[ "freebz@hananet.net" ]
freebz@hananet.net
76884be84b73cffc74cbf5157ec534df610216e9
6a5ce7d885db1baa5a9d43b26f0ae623a5ef0f01
/azure-mgmt-web/azure/mgmt/web/models/web_site_management_client_enums.py
fcb642b79aa76c81394fb900d1b60c22ede03d1c
[ "Apache-2.0" ]
permissive
JammyBrand82/azure-sdk-for-python
333af194ff9143ec77f49203a5a71f15c399f278
c65e189cd41bd3464556b17bfcdee1303867996c
refs/heads/master
2021-01-17T18:31:10.661151
2016-03-17T21:03:08
2016-03-17T21:03:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,118
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft and contributors. 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 ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
8d0a0b0dec63a2130b9ada6f938cfbddbaeeb4a8
10920b11a22a20f9a7f63157818327f3c4e41888
/jibby_opencv/Object Recognition/two.py
10e258ca8fedf5c5342ee07ae449937c19975227
[]
no_license
dsall/computerv
e331b3d025c8cec0119b789107d1fef18d08f02a
40671d618c31ad9d9b20fc902a218a8e281098bc
refs/heads/master
2021-09-15T09:33:08.495580
2018-05-29T23:41:42
2018-05-29T23:41:42
135,363,332
0
0
null
null
null
null
UTF-8
Python
false
false
1,172
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Apr 5 00:23:15 2018 @author: djibrilsall """ import numpy as np import cv2 # multiple cascades: https://github.com/Itseez/opencv/tree/master/data/haarcascades #https://github.com/Itseez/opencv/blob/master/data/haarcascades/haarcascade_frontalface_de...
[ "djiby45@outlook.com" ]
djiby45@outlook.com
f01c9f4cb6e578f40f952d27a77dbdab38e9b181
0b5ab7349485da4ea40ca343bc50f4cab74c917c
/week09/tutorial/snippets/urls.py
2dcc6decba1a0c26454d9a83c0f3e37011525c86
[]
no_license
workherd/Python006-006
9bf2782ccda037de9af98eb7daa87fd1edeb3caf
7aa176c3cf4effd015802b550edfb70f859e94d9
refs/heads/main
2023-04-29T14:37:43.545376
2021-05-16T04:13:08
2021-05-16T04:13:08
323,247,475
1
0
null
2020-12-21T06:13:42
2020-12-21T06:13:42
null
UTF-8
Python
false
false
2,227
py
from django.urls import path, include from rest_framework.routers import DefaultRouter from snippets import views # Create a router and register our viewsets with it. router = DefaultRouter() router.register(r'snippets', views.SnippetViewSet) router.register(r'users', views.UserViewSet) # The API URLs are now dete...
[ "1330430077@qq.com" ]
1330430077@qq.com
27686a5573582bba05fe1c037ddb797cb55f040b
3af6960c805e9903eb27c09d8bc7ebc77f5928fe
/problems/0216_Combination_Sum_III/solution.py
e332183e542f99042b9b4fe0e2ddce1af912459b
[]
no_license
romain-li/leetcode
b3c8d9d4473eebd039af16ad2d4d99abc2768bdd
5e82b69bd041c2c168d75cb9179a8cbd7bf0173e
refs/heads/master
2020-06-04T20:05:03.592558
2015-06-08T18:05:03
2015-06-08T18:05:03
27,431,664
2
1
null
2015-06-08T18:05:04
2014-12-02T12:31:58
Python
UTF-8
Python
false
false
139
py
class Solution: # @param {integer} k # @param {integer} n # @return {integer[][]} def combinationSum3(self, k, n):
[ "romain_li@163.com" ]
romain_li@163.com
0ef3a3afbb0a5ad1f607d1f4fa56b8207a2c978d
857a9e588a04b40a66b6ca115063cb67ef0427ea
/timemachines/skaters/glu/glusimple.py
45f7a1894d2d9f43387ba47e6408b68c40771bb8
[ "MIT" ]
permissive
rambam613/timemachines
81b88357498871f77efed0faf9c25b4c408d822c
cd243d4606b4ad9c1d419988fc6c04b0964af2e6
refs/heads/main
2023-07-03T07:06:24.421114
2021-08-07T17:42:40
2021-08-07T17:42:40
393,793,785
1
0
MIT
2021-08-07T21:13:35
2021-08-07T21:13:34
null
UTF-8
Python
false
false
1,092
py
from timemachines.skatertools.utilities.conventions import Y_TYPE, A_TYPE, R_TYPE, E_TYPE, T_TYPE, wrap from typing import Any from timemachines.skatertools.components.parade import parade from timemachines.skatertools.utilities.nonemath import nonecast from timemachines.skatertools.ensembling.ensemblefactory import pr...
[ "peter.cotton@microprediction.com" ]
peter.cotton@microprediction.com
4febe8ed7ba4ae0ec44e162ddac26a0a35201331
e73761fd861010f4dd2e2be09507d86bd905f4f5
/scud/main/migrations/0002_sessionstouser.py
78e5450bb8e12f64aa092230e4fccdbb5aac8446
[]
no_license
BakdauletBolatE/rfid-system
a57ca2fbb3518f9df6683bf899be1d9455e55c2a
24f023cc801dc0d24dedb4e7ecd27091c439c068
refs/heads/main
2023-03-13T05:14:37.043832
2021-02-22T06:12:31
2021-02-22T06:12:31
341,097,047
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
# Generated by Django 3.1.6 on 2021-02-18 17:40 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0001_initial'), ] operations = [ migrations.CreateModel( name='SessionsToUser', ...
[ "bakosh21345@gmail.com" ]
bakosh21345@gmail.com
de41905ee008a0a8004b2f583f9b16d0ab569823
95e9ec4b3b0d86063da53a0e62e138cf794cce3a
/python/Django/20190523/test01/test01/settings.py
199c6f60e7fba053de9340c0fb1a68759f7ad78a
[]
no_license
wjl626nice/1902
c3d350d91925a01628c9402cbceb32ebf812e43c
5a1a6dd59cdd903563389fa7c73a283e8657d731
refs/heads/master
2023-01-05T23:51:47.667675
2019-08-19T06:42:09
2019-08-19T06:42:09
180,686,044
4
1
null
2023-01-04T07:35:24
2019-04-11T00:46:43
Python
UTF-8
Python
false
false
4,057
py
""" Django settings for test01 project. Generated by 'django-admin startproject' using Django 2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # Bu...
[ "18537160262@qq.com" ]
18537160262@qq.com
a4f1eb5a73bb211daab14e6aac02273d7a07b9c7
093b9569be9d1c4e5daf92efbebc38f680917b2d
/.history/base/models_20210829142734.py
4c98bfd01c1d244a8078fbe1666e967e01960773
[]
no_license
Justin-Panagos/todoList
95b1e97ff71af1b0be58e7f8937d726a687cea4d
10539219b59fcea00f8b19a406db3d4c3f4d289e
refs/heads/master
2023-08-04T13:27:13.309769
2021-08-29T14:06:43
2021-08-29T14:06:43
400,827,602
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Task(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE, null = True, blank=True) STATUS= [(,'P1'),(1,'P2'),(2,'P3'),] priority = models.CharField(max_length=5, choices=STATUS...
[ "justpanagos@gmail.com" ]
justpanagos@gmail.com
aca6239bb1902abcf69c2fa4ab44b62d104cc3ee
78f43f8bd07ae0fc91738a63cd7bbca08ae26066
/leetcode/interval/least_interval.py
b5418240bed39df4bf2a1b61baecf70e18b8cf95
[]
no_license
hanrick2000/LeetcodePy
2f3a841f696005e8f0bf4cd33fe586f97173731f
b24fb0e7403606127d26f91ff86ddf8d2b071318
refs/heads/master
2022-04-14T01:34:05.044542
2020-04-12T06:11:29
2020-04-12T06:11:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
class Solution(object): def leastInterval(self, tasks, n): """ :type tasks: List[str] :type n: int :rtype: int """ LETTER_NUM = 26 freqs = [0] * LETTER_NUM for c in tasks: freqs[ord(c) - ord('A')] += 1 freqs.sort() # in-place sort ...
[ "dofu@ebay.com" ]
dofu@ebay.com
434f2a4e5d4c626ba4768123e191fc6823872f15
c9f1cc3a6715917d658a6e525b7c2d35b0380f9f
/Non_canonical_introns/Analisys/Join_final_tables_seq.py
cf7f3dde6d7fa321b0e71a9c47f123d3081f1b1d
[]
no_license
geparada/my_src
4f84887130b985e84aad3d0d35e85911087d9b4f
8d64f7ef51e1f74303ca88beb0ee964f546d8301
refs/heads/master
2021-01-17T01:50:50.414690
2017-03-14T10:01:50
2017-03-14T10:01:50
20,638,727
0
0
null
null
null
null
UTF-8
Python
false
false
3,188
py
import sys import csv def main(hg19, SJ_hg19, hg19_reads_seq_tags, GM12878, SJ_GM12878_paternal, SJ_GM12878_maternal, GM12878_reads_seq_tags_paternal, GM12878_reads_seq_tags_maternal, TOTAL_final_table): csv.field_size_limit(1000000000) reader1 = csv.reader(open(hg19), delimiter = ' ') reader2 = csv.reader(open...
[ "geparada@omics.(none)" ]
geparada@omics.(none)
3fdea1ed28d82a773de42cb6859f5ce3fa0ceefd
aab2f6f5f673bf16424d592142ba3af414423adb
/kafkaconsumer.py
5b972353177ac3b7eef951403c753ffb888eaab2
[]
no_license
ashishjsharda/KafkaUsingPython
75f46ba4df25f264e853615c8fde73ed59aa620e
cbd9aff94b9d896736e14befcb42dfa64efc1562
refs/heads/master
2020-12-19T11:07:08.891269
2020-01-23T03:22:39
2020-01-23T03:22:39
235,715,462
0
0
null
null
null
null
UTF-8
Python
false
false
158
py
''' Created on Jan 22, 2020 @author: ashish ''' from kafka import KafkaConsumer consumer=KafkaConsumer('sample') for message in consumer: print(message)
[ "noreply@github.com" ]
ashishjsharda.noreply@github.com
0d7c3cc6491bf482131fbbb00556b7368044d75d
391d648132c1a05e7da575205eef89a7208a892a
/compare.py
311165b27e102d591a5f36b47d2bd374e0a1c43b
[]
no_license
michaelbateman/DemographicInference
c3ceaf69f8b554f3973473607d6b5201cca423f9
b1e2529b1ce0710f82d2867d08588ae4a6c72bb2
refs/heads/master
2021-01-10T06:28:43.698581
2015-10-06T18:25:45
2015-10-06T18:25:45
43,770,029
0
0
null
null
null
null
UTF-8
Python
false
false
2,089
py
import sys import matplotlib.pyplot as plt import numpy as np import subprocess import time import pylab from scipy import stats num_haps = int(sys.argv[1]) num_times = int(sys.argv[2]) def readfire(s): # reads the output of a fire file and # returns the time vector and the population vector # input file sh...
[ "bbeeefcake@gmail.com" ]
bbeeefcake@gmail.com
c8ef2e7798953aa2231f6ae172d6891809e33e43
c155d27bf74255b8315603518c5ab76d0638dfea
/uv/serpens/profiles/3sigma_cn_3.py
f6f8c1ebbcce36349089a536d0cded0167ff74b4
[]
no_license
amirocha/doktorat
406c2e4476a5a22c863c37eb5f581a369800e936
22c90228f6bca9d0b116c73457b7e86ae4462167
refs/heads/master
2021-07-05T14:18:26.324886
2020-08-03T19:28:50
2020-08-03T19:28:50
152,316,686
0
0
null
2020-04-03T20:22:37
2018-10-09T20:28:29
Python
UTF-8
Python
false
false
7,857
py
#-*-coding: utf-8-*- ''' DESCRIPTION: This script displays the averaged and resampled spectrum (0.5 km/s) DESCRIPTION: for a given region on map and plots 3*RMS and 1*RMS levels DESCRIPTION: and shows X ranges for flux calculation The averaged region is consistent with HCN 1-0 beam size after convolution (27.8"...
[ "mirochagnieszka@gmail.com" ]
mirochagnieszka@gmail.com
31012c36efe1adf3e32c6e9600220d6f672511ec
027f52cbbd4e9ccd52b73dcf9ed523137ec78815
/python_language/Day_Base_Code/Day_07/lambda_function_2nd.py
b0b5df2ea3a317f5bc58267771c1524dd860305c
[]
no_license
Jade2290/bigdata_class
0c851440852857ee44496b7112db580cf9b60d57
380ad58d56ea4fbcea81f78f9648b1edf27e0554
refs/heads/master
2022-04-11T05:05:25.429853
2020-03-27T14:30:36
2020-03-27T14:30:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,789
py
# -*- coding: utf-8 -*- """ Created on Mon Oct 14 11:48:50 2019 @author: sundooedu """ list1=list(range(0,10)) list2=list(filter(lambda x:x%2==0,list1)) list2 list3=list(filter(lambda x:x%2==0 and x%3==0,list1)) def factorial(s): factor=1 for i in list(range(1,s+1)): factor *= i ...
[ "noreply@github.com" ]
Jade2290.noreply@github.com
fbc6323c971bfc05403d49f31975f0959e172e9e
ae8a1d8f23ed08fcc14ecc9a6651cd738790ac00
/tests/func/test_fetchdata.py
a4f6b1013135688f78c6a4ae54adee32aeb7ddcd
[]
no_license
murakami10/crawling-naist-lecture
438ef9a6311630178641d2534b553e6ba20a8b5b
7e4345983f452f20e9ba03495c42b2e922cb56f7
refs/heads/main
2023-05-19T10:45:34.863849
2021-06-08T09:17:47
2021-06-08T09:17:47
367,010,980
0
0
null
2021-06-08T09:17:48
2021-05-13T10:16:51
Python
UTF-8
Python
false
false
4,696
py
import threading import time from http.server import HTTPServer, SimpleHTTPRequestHandler import pytest import requests from src.crawling_naist_syllabus.fetch import FetchData from src.crawling_naist_syllabus.structure import Lecture @pytest.fixture(scope="session") def fetch_and_save_syllabus_html(tmpdir_factory):...
[ "m.kyoya777@gmail.com" ]
m.kyoya777@gmail.com
809258fbebe5a4d58326b515a82977274a9a9cba
0bcd128368e2de959ca648960ffd7944067fcf27
/infra/bots/assets/protoc/create.py
e363cc5068230dadf10809450d4bff5a04c530b9
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google/skia
ac6e39179cd33cf0c8a46d29c1a70bf78b4d74ee
bf6b239838d3eb56562fffd0856f4047867ae771
refs/heads/main
2023-08-31T21:03:04.620734
2023-08-31T18:24:15
2023-08-31T20:20:26
15,773,229
8,064
1,487
BSD-3-Clause
2023-09-11T13:42:07
2014-01-09T17:09:57
C++
UTF-8
Python
false
false
768
py
#!/usr/bin/env python # # Copyright 2017 Google Inc. # # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Create the asset.""" import argparse import subprocess ZIP_URL = ('https://github.com/google/protobuf/releases/download/v3.3.0/' 'protoc-3.3.0-...
[ "skia-commit-bot@chromium.org" ]
skia-commit-bot@chromium.org
154bb8fc3ec4ecff7d4664dd60a36d89d9e9c287
7bd5ca970fbbe4a3ed0c7dadcf43ba8681a737f3
/atcoder/abc/abc034/d.py
39cae32435a6c76186d919f097f04446d71aa1b3
[]
no_license
roiti46/Contest
c0c35478cd80f675965d10b1a371e44084f9b6ee
c4b850d76796c5388d2e0d2234f90dc8acfaadfa
refs/heads/master
2021-01-17T13:23:30.551754
2017-12-10T13:06:42
2017-12-10T13:06:42
27,001,893
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
# -*- coding: utf-8 -*- import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll N, K = map(int, raw_input().split()) w, p = [], [] for i in xrange(N): wi, pi = map(int, raw_input().split()) w.append(wi) p.append(pi) wp = [[1.0*p[i]/w[i],i] for i in xrange(N)] wp = sorted(wp, key...
[ "roiti46@gmail.com" ]
roiti46@gmail.com
5293142db0238e500bc8e112bb402720c56a2c77
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-2/vse-naloge-brez-testov/DN5-Z-146.py
9e28868b4bb26ff8e9f3184e25bbf744f394f63e
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
2,661
py
def unikati(s): t = [] for i in s: if i not in t: t.append(i) return t def avtor(tvit): a = tvit.split(": ") return a[0] def vsi_avtorji(tviti): t = [] a = [i.split(': ')[0] for i in tviti] for name in a: if name not in t: t.appen...
[ "benjamin.fele@gmail.com" ]
benjamin.fele@gmail.com
7c7c490a043db3015b8dbbef12cc43020cbffd1a
67dd5749b247915ce7a0d3d95964e30503c4aa0c
/dev/getting_indexing_right.py
2c5e5b0945cafd7cd5a79d587531fd4bb7a72c15
[]
no_license
yddream/timspy
d74d78825844b69ed9730373809e3f09ab52060c
034788db83d85dfca01fa31281a6de391ea2fe23
refs/heads/master
2022-11-11T13:10:48.880175
2020-06-23T07:38:21
2020-06-23T07:38:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
"""How to get the data.""" %load_ext autoreload %autoreload 2 import matplotlib.pyplot as plt import numpy as np import pandas as pd from pathlib import Path from timspy.timspy import TimsDIA from timspy.plot import plot_spectrum from timsdata import TimsData # plt.style.use('dark_background') pd.set_option('display....
[ "matteo.lacki@gmail.com" ]
matteo.lacki@gmail.com
153eaf590327a3928e4f39de1f87e5e3b6434798
cb0e7d6493b23e870aa625eb362384a10f5ee657
/solutions/python3/0200.py
bf259566a4c651f2576a82f375668f59e4e04686
[]
no_license
sweetpand/LeetCode-1
0acfa603af254a3350d457803449a91322f2d1a7
65f4ef26cb8b2db0b4bf8c42bfdc76421b479f94
refs/heads/master
2022-11-14T07:01:42.502172
2020-07-12T12:25:56
2020-07-12T12:25:56
279,088,171
1
0
null
2020-07-12T15:03:20
2020-07-12T15:03:19
null
UTF-8
Python
false
false
739
py
class Solution: def numIslands(self, grid: List[List[str]]) -> int: def dfs(i: int, j: int) -> None: if i < 0 or j < 0 or i >= len(grid) or j >= len(grid[0]) or visited[i][j] or grid[i][j] == '0': return visited[i][j] = True dfs(i + 1, j) dfs...
[ "walkccray@gmail.com" ]
walkccray@gmail.com
493149b85cd8f8ac097c095a5d003bc8d8250e26
2f44cecd8fc447c9e2f2d9f55abdea36ebb40cc5
/84.py
ef3779fbdfec69cf469c9f29d365c5b3495f449a
[]
no_license
yuzumei/leetcode
751a234b429131169e3eaf4594ffeb3b94f6ab34
b6708b03c92ec92e89fc7ecf13f1995dee346657
refs/heads/master
2023-07-28T05:48:53.192948
2021-09-11T06:16:07
2021-09-11T06:16:07
365,780,916
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
heights=[6,7,5,2,4,5,9,3] def search(heights): leftstack=[] leftnum=[] for i,num in enumerate(heights): if not leftstack: leftstack.append([num,i]) leftnum.append(-1) else: while leftstack: if num<=leftstack[-1][0]: left...
[ "973802530@qq.com" ]
973802530@qq.com
0b1ea520891319bd3ec29901ce458c89203a9974
15a992391375efd487b6442daf4e9dd963167379
/tests/runner.py
7356581365e84bd1ae22e702cf2f4a2df1dc1e59
[ "Apache-2.0" ]
permissive
Bala93/MONAI
b0e68e1b513adcd20eab5158d4a0e5c56347a2cd
e0a7eff5066da307a73df9145077f6f1fec7a514
refs/heads/master
2022-08-22T18:01:25.892982
2022-08-12T18:13:53
2022-08-12T18:13:53
259,398,958
2
0
null
2020-04-27T17:09:12
2020-04-27T17:09:11
null
UTF-8
Python
false
false
5,491
py
# Copyright (c) MONAI Consortium # 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 writing, so...
[ "noreply@github.com" ]
Bala93.noreply@github.com
988fcc3bad6c71902716794d5af98b5ed49ce94a
1f936103af336af6bbd335f45d6baa55c426922b
/monatbx/test_cov.py
fed4bc94b6147527eeec78e5faf7cafd539bf891
[]
no_license
monarin/monatbx
2ec342d67f1fbccb82656218ffd136f2eb7d96ab
43f56974f811e5b2b0dcc428d4f9b36043ed9d04
refs/heads/master
2020-06-18T13:08:58.893701
2016-11-30T00:58:18
2016-11-30T00:58:18
75,136,381
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
import numpy as np from cctbx.array_family import flex G = [5, 6, 0.1, 20, 16, 12, 11, 10, 11.5, 15] B = [100, 80, 200, 60, 70, 80, 85, 90, 70, 40] rotx = [0.01, 0.002, 0.001, 0.05, 0.1, 0.025, 0.008, 0.01, 0.002, 0.001] X = np.array([G, B, rotx]) print X COV = np.cov(X) print COV CORR = np.correlate(X) print CORR
[ "monarin@gmail.com" ]
monarin@gmail.com
dca8dd72172381372dcb94f00fbeecad81c8ddd6
e2e08d7c97398a42e6554f913ee27340226994d9
/pyautoTest-master(ICF-7.5.0)/test_case/scg_old/scg_Route/test_c37280.py
e1f0802b3947f00158ecb0ded8f58e68ea24a2c8
[]
no_license
lizhuoya1111/Automated_testing_practice
88e7be512e831d279324ad710946232377fb4c01
b3a532d33ddeb8d01fff315bcd59b451befdef23
refs/heads/master
2022-12-04T08:19:29.806445
2020-08-14T03:51:20
2020-08-14T03:51:20
287,426,498
0
0
null
null
null
null
UTF-8
Python
false
false
4,359
py
import pytest import time import sys from page_obj.common.rail import * from os.path import dirname, abspath from page_obj.common.ssh import * from page_obj.scg.scg_def_static_route import * from page_obj.scg.scg_def_interface import * sys.path.insert(0, dirname(dirname(abspath(__file__)))) test_id = 37280...
[ "15501866985@163.com" ]
15501866985@163.com
4605daa21593dccfe9560412c3fb87185a00fb91
726754863696235c66c8ed9aa184fc13ade33afe
/basics/rotation_count.py
116e425096403014edc34a74e8a6695ac5528788
[]
no_license
harshalms/python
ef6a3eeb93c5051528cb0b76fd600a2943e10616
bfea8f00795c4308b09d80852cb995a8109c1568
refs/heads/master
2021-07-17T18:52:36.053780
2020-07-25T15:45:41
2020-07-25T15:45:41
189,624,661
0
0
null
2019-06-17T05:37:24
2019-05-31T16:20:52
Python
UTF-8
Python
false
false
461
py
'''GeeksForGeeks Find the Rotation Count in Rotated Sorted array Consider an array of distinct numbers sorted in increasing order. The array has been rotated (clockwise) k number of times. Given such an array, find the value of k. Approch : Just find the index of minimum element. ''' A = [15, 18, 2, 3, 6, 12] def ind...
[ "harshal95iitk@gmail.com" ]
harshal95iitk@gmail.com
c4194b35b0c4d19fbf61ada823bfe4a80aa83e71
40f4908483b98fc4f370ff4f2d520e1284d045b3
/phase02/immortals_repo/harness/pymmortals/generated/com/securboration/immortals/ontology/resources/memory/physicalmemoryresource.py
9be4f40b65705d8717bea20004f42fc927ec8dd1
[]
no_license
TF-185/bbn-immortals
7f70610bdbbcbf649f3d9021f087baaa76f0d8ca
e298540f7b5f201779213850291337a8bded66c7
refs/heads/master
2023-05-31T00:16:42.522840
2019-10-24T21:45:07
2019-10-24T21:45:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
from pymmortals.generated.com.securboration.immortals.ontology.property.property import Property from pymmortals.generated.com.securboration.immortals.ontology.resources.memory.memoryresource import MemoryResource from pymmortals.generated.com.securboration.immortals.ontology.resources.memory.memorytype import MemoryTy...
[ "awellman@bbn.com" ]
awellman@bbn.com
9ebcfe440aadfcb8bf00181e22e0cfadd7c707ac
9b6a8923e783bd2641d7af3b118ff83f38c1de31
/review/list/list.py
db0572268d2cf805fbed1cf651fd1c590a2e4f44
[]
no_license
mbrsagor/PyLearn
1c625698802fc5325ea06b754dc9b80d716d9f31
94e68f10efd1f5b1a26d1fd965a29dbbe6c2253d
refs/heads/master
2023-02-25T05:50:23.530150
2021-01-31T19:09:01
2021-01-31T19:09:01
263,316,318
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
students = [ { "name": "Jacob Martin", "father name": "Ros Martin", "Address": "123 Hill Street", }, { "name": "Angela Stevens", "father name": "Robert Stevens", "Address": "3 Upper Street London", }, { "name": "Ricky Smart", "father name": "Wi...
[ "mbrsagor@gmail.com" ]
mbrsagor@gmail.com
544691d1ddac1a2ff9e0419bfc69e8b15f00a0b1
a8c0867109974ff7586597fe2c58521277ab9d4d
/LC648.py
e3823a187d57e17a47a6641bfc77b27bfb8ab450
[]
no_license
Qiao-Liang/LeetCode
1491b01d2ddf11495fbc23a65bb6ecb74ac1cee2
dbdb227e12f329e4ca064b338f1fbdca42f3a848
refs/heads/master
2023-05-06T15:00:58.939626
2021-04-21T06:30:33
2021-04-21T06:30:33
82,885,950
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
class Solution(object): def replaceWords(self, dict, sentence): """ :type dict: List[str] :type sentence: str :rtype: str """ sen_list = sentence.split(' ') for idx, word in enumerate(sen_list): min_root = word len_word = len(w...
[ "qiaoliang@Qiaos-MacBook-Pro.local" ]
qiaoliang@Qiaos-MacBook-Pro.local
a8c5c7e3b1280c05481bf5cf00de1d61e37f5aa5
923d035a4762a19b30d5900db91143a83837ae70
/ichnaea/async/config.py
1fd35092f9eaed4de2aaf9188da99570999ed30d
[ "Apache-2.0" ]
permissive
voolitels/ichnaea
d5d5da34cb30b3e0c85675e32dab3972cc31d7b0
bd0350fcba9efb0bad3957309ed3a471ae07e41b
refs/heads/master
2021-01-17T14:21:16.056481
2015-11-10T16:38:22
2015-11-10T16:57:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,402
py
""" Contains celery specific one time configuration code. """ import os from kombu import Queue from kombu.serialization import register from ichnaea.async.schedule import CELERYBEAT_SCHEDULE from ichnaea.cache import configure_redis from ichnaea.config import read_config from ichnaea import internaljson from ichnae...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
c1763ba5175c207c332aa37cf46bb1aa24f588dd
a82aa8430e32eaf62df0f44b20afb0e7d50c3d7b
/ippon/group_phase/serializers.py
ed76683a6121808cf8e4196a5a8a7ebad298988f
[ "MIT" ]
permissive
morynicz/ippon_back
314daac99f79247b749dc46d59a645a6eb840263
dce901bfc649c6f8efbbf0907654e0860606b3e3
refs/heads/master
2022-12-20T23:33:10.898738
2021-10-17T09:25:39
2021-10-17T09:25:39
124,851,931
0
2
MIT
2022-12-08T12:37:26
2018-03-12T07:43:17
Python
UTF-8
Python
false
false
307
py
from rest_framework import serializers import ippon.models class GroupPhaseSerializer(serializers.ModelSerializer): class Meta: model = ippon.models.group_phase.GroupPhase fields = ( 'id', 'tournament', 'fight_length', 'name' )
[ "morynicz@gmail.com" ]
morynicz@gmail.com
4f613303615c55d2729147ae5cb8c6cd97c4ca83
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02383/s686099688.py
8350ca148ab207ab25ea1b72f0d85043ae5cfc38
[]
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
526
py
dice = input().split() direction = list(input()) dice2 = [] for i in range(len(direction)): dice2 = dice if direction[i] == 'E': dice = [dice2[3],dice2[1],dice2[0],dice2[5],dice2[4],dice2[2]] elif direction[i] == 'N': dice = [dice2[1],dice2[5],dice2[2],dice2[3],dice2[0],dice2[4]] elif di...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a778be45a738c428c09f03ec65096a832a8df811
b66c83dbdb1181d3274cfb309637c0bdf590553f
/build/extrinsic_Industrial/intelligent_actuator/robo_cylinder/catkin_generated/pkg.develspace.context.pc.py
50404616a97e27fc816577449f0fc4dc7749b87a
[]
no_license
Sinchiguano/repo_project
9079c80f6544cbe39902c68f61f421bd7cfd55e6
666da1d6d91704302b69ec9e0b0d30db3a709f30
refs/heads/master
2020-04-30T18:06:16.162025
2019-04-25T18:47:58
2019-04-25T18:47:58
177,000,277
0
1
null
null
null
null
UTF-8
Python
false
false
499
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/casch/yumi_depends_ws/devel/include".split(';') if "/home/casch/yumi_depends_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;rospy;std_msgs;message_runtime".replace(';', ' ') PKG...
[ "cesarsinchiguano@hotmail.es" ]
cesarsinchiguano@hotmail.es
c4228442ea7bb005562f42293f54db22ffd4a496
85738a4cacd2a6d93c4487cf856c883c3d9d314a
/tests/web/settings.py
9a68dbff38a085e8bd59eb1e7053c05ef3ac066a
[ "Apache-2.0" ]
permissive
Kitware/tangelo
cc0cb1372bc5728e0585f739a9412a58a5069069
470034ee9b3d7a01becc1ce5fddc7adc1d5263ef
refs/heads/develop
2023-08-28T11:57:57.909917
2016-01-25T15:56:18
2016-01-25T15:56:18
6,885,877
40
21
Apache-2.0
2018-03-05T01:24:16
2012-11-27T15:38:26
JavaScript
UTF-8
Python
false
false
320
py
import cherrypy import tangelo # This service reports the value of cherrypy's thread pool setting def run(**kwargs): if kwargs.get('pool'): tangelo.util.set_server_setting('server.thread_pool', int(kwargs['pool'])) response = 'pool="%r"' % cherrypy.config.get('server.thread_pool') return response
[ "roni.choudhury@kitware.com" ]
roni.choudhury@kitware.com
718d0f430682a0b47ec3c0d95755ecd74fa8612a
7134e45563b2045837296cb5c4f1974a025e4f2b
/.history/MathmeticPracticeTimeLimit_20200411174234.py
16d18819de876f7987bf70910f5d9fe1a1e15342
[]
no_license
Nordenbox/Nordenbox_Python_Fundmental
dca175c471ac2c64453cc4bcf291dd0773be4add
9c79fd5d0dada580072b523d5aa1d72f996e3a22
refs/heads/master
2022-01-21T06:37:15.084437
2022-01-06T13:55:30
2022-01-06T13:55:30
240,154,945
0
0
null
null
null
null
UTF-8
Python
false
false
2,601
py
import random import time import os import subprocess def mode_choice(): print('请选用练习模式:\n1,选择练习题目数。\n') print('2, 选择练习时间') choice_num = int(input('您的选择: ')) if choice_num == 1: multipile_issues() else: multipile_time() def multipile_issues(): practicese_times = int(input('您要...
[ "nordenbox@gmail.com" ]
nordenbox@gmail.com
6dcb30fec438ec2e9fff5f0b0626da1774055b61
653eaef652627b155569b5fe9ab9bb3607fc1e78
/alg/discriminative-jackknife/models/BNN.py
3a17799407f89d0061443791a187ff674aeeaeab
[ "BSD-3-Clause" ]
permissive
IlyaTrofimov/mlforhealthlabpub
11ab86a83bd2ffd2574364a956b322b0c62406ae
190cbad2faae9e559ffe7a68143df7f747d70adc
refs/heads/main
2023-04-16T03:58:38.423288
2021-04-21T10:22:43
2021-04-21T10:22:43
358,528,623
0
0
NOASSERTION
2021-04-16T08:25:26
2021-04-16T08:25:25
null
UTF-8
Python
false
false
1,534
py
import torch import torch.nn as nn class BNN(nn.Module): def __init__(self, *layers): super(BNN, self).__init__() self.layers, self.params = [], nn.ParameterList() for layer in layers: self.layers.append(layer) self.params.extend([*layer.parameters()]) # register...
[ "e.s.saveliev@gmail.com" ]
e.s.saveliev@gmail.com
59b111e7c48d6899e63795c608a24e3d51ca5fb3
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02706/s901477236.py
e5cd388ef56bc4369f68551299e42a2e436c4640
[]
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
260
py
#import numpy as np #import math #from decimal import * #from numba import njit #@njit def main(): N,M = map(int, input().split()) A = list(map(int, input().split())) s = sum(A) if s > N: print(-1) else: print(N-s) main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
010427a5856703a295156243fe70f85976250e8c
2f17bb840634eab6f08a7bb488781f6951ce6b47
/AOJ_courses/ITP1_4_D.py
42e76330f54037ab4673edbc5a65b21db34f3da8
[]
no_license
NHRD/Atcoderpractice
3d5c1175e147a0bdbacf46f51b23db1a1b2dea22
958835069c84791afa36d119298b742d53e86ae0
refs/heads/master
2022-12-15T17:30:10.310049
2020-09-19T13:39:07
2020-09-19T13:39:07
279,771,996
0
0
null
null
null
null
UTF-8
Python
false
false
157
py
n = int(input()) nums = list(map(int, input().split())) nums = sorted(nums) sumnum = sum(nums) print("{} {} {}" .format(nums[0], nums[len(nums)-1], sumnum))
[ "naohisa.harada@gmail.com" ]
naohisa.harada@gmail.com
80e9eeda1efc064f19b56be3222ec30e6dd1564d
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5744014401732608_1/Python/feigao/main.py
9d1ebc3970ed5aa77f1c7df72eca82287fe1e3c1
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
3,015
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import os import sys from functools import wraps, lru_cache def io_wrapper(func): @wraps(func) def _func(in_file=None, out_file=None, lines_per_case=1): in_buffers = [] if in_file is None: while True: try: ...
[ "alexandra1.back@gmail.com" ]
alexandra1.back@gmail.com
e9880143e1cf66275f3cb00db8e80924fd0897d1
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-iam/huaweicloudsdkiam/v3/model/keystone_create_protocol_request.py
ad11aa561d4c11a287678808d35c64ee2c118655
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,463
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class KeystoneCreateProtocolRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dic...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
18772b128b050a7ff3d1dabdbdd5d2091d72921c
2d94902e0367f364eabd038b4aa49ac34e1ebd47
/config.py
7e17e0f65019ab54b69a72e387746c5c258de67a
[ "Apache-2.0" ]
permissive
qitianchan/Patap
25f642759698391c77527ed3f676a84fcf918023
e71bd95300d94f7e26f9d87e5bdb9f4c73175383
refs/heads/master
2021-01-20T20:03:52.546735
2016-07-27T12:01:31
2016-07-27T12:01:31
64,106,084
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
# Create dummy secrey key so we can use sessions SECRET_KEY = '123456790' # Create in-memory database DATABASE_FILE = 'patap.sqlite' SQLALCHEMY_DATABASE_URI = 'sqlite:///' + DATABASE_FILE SQLALCHEMY_ECHO = True # Flask-Security config # SECURITY_URL_PREFIX = "/admin" SECURITY_PASSWORD_HASH = "pbkdf2_sha512" SECURITY_...
[ "qitianchan@sina.com" ]
qitianchan@sina.com
e87ad93a3d3dcdf7cfea8ea52573b0f8fcc1a35a
54290d468f91a21f131458b136213354a3780a46
/fabfile.py
2f37bf95d517421a6878a2eb07b905c48515e92f
[ "WTFPL" ]
permissive
LaPosteSNA/addok
9435cccd37e936c89c538caed08f5db04e6bd0eb
22a4e407c5a94d412673d223a25a8a3651801a71
refs/heads/master
2021-01-22T13:13:37.465954
2016-01-26T17:02:01
2016-01-26T17:02:01
45,954,224
1
0
null
2015-11-11T02:15:32
2015-11-11T02:15:31
null
UTF-8
Python
true
false
3,886
py
from fabric.api import cd, env, execute, hide, puts, roles, sudo, task env.project_name = 'addok' env.repository = 'https://github.com/etalab/addok.git' env.local_branch = 'master' env.remote_ref = 'origin/master' env.requirements_file = 'requirements.txt' env.use_ssh_config = True env.shell = "/bin/bash -c" # Defaul...
[ "yb@enix.org" ]
yb@enix.org
b3b1665fb21f6233aa62577bc888715c6c87326f
e5a044708032b853f1cdf8906da63502716fd410
/test/test_acs_response.py
50ae8c13ac7310108d49f9d76f8061799b9c37d7
[]
no_license
GBSEcom/Python
4b93bab80476051fc99f379f018ac9fa109a8a6a
5fa37dba8d0c3853686fdc726f863743376060c9
refs/heads/master
2021-12-04T12:55:29.605843
2021-11-19T22:01:03
2021-11-19T22:01:03
136,058,345
1
2
null
null
null
null
UTF-8
Python
false
false
1,064
py
# coding: utf-8 """ Payment Gateway API Specification. The documentation here is designed to provide all of the technical guidance required to consume and integrate with our APIs for payment processing. To learn more about our APIs please visit https://docs.firstdata.com/org/gateway. # noqa: E501 The ve...
[ "emargules@bluepay.com" ]
emargules@bluepay.com
763b3c41f750dca1f47c7fdc416ee621be024e3c
90cdae33e672b23a3ccb84dec0f281e78d3934ce
/auto_test_leke/web_test/src/common/method.py
038feba19e8b7600635d53982ce2dd7eead0e753
[]
no_license
kuangtao94/TestHome
dffdb3737ab60f6db435c770c33f423d814b5594
46acedadd225b07fe73f43feebd5c66d19c7eeac
refs/heads/master
2020-06-29T07:38:37.316844
2019-11-24T02:14:25
2019-11-24T02:14:25
200,475,947
0
1
null
null
null
null
UTF-8
Python
false
false
1,918
py
# coding:utf-8 from selenium import webdriver import os from selenium.webdriver.common.by import By #导入by定位 from selenium.webdriver.support.ui import WebDriverWait #导入显示等待包 from selenium.webdriver.support import expected_conditions as EC #导入期望条件 from logging import log ...
[ "1512500241@qq.com" ]
1512500241@qq.com
94be3ed0169b5b1a099858c6d26cca996a1e3f6c
ee7ca0fed1620c3426fdfd22e5a82bba2a515983
/dsn_qc_pbsa/models/qc.py
49236e76f3e03ea571e2b17105d32c21ef6826d9
[]
no_license
disna-sistemas/odoo
318d0e38d9b43bea56978fe85fc72850d597f033
0826091462cc10c9edc3cc29ea59c417f8e66c33
refs/heads/8.0
2022-03-08T19:01:21.162717
2022-02-15T13:06:26
2022-02-15T13:06:26
99,210,381
0
5
null
2019-07-24T08:49:58
2017-08-03T08:36:55
Python
UTF-8
Python
false
false
1,399
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2012 OpenERP SA (<http://openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "sistemas@disna.com" ]
sistemas@disna.com
46823e51aef1425db664261b1bf8807eda1cf97f
ff21dd1b906db472584aa92a32c22fb9351c9ffd
/NOTE/02_PythonBase/day20/exercise/mycopy.py
84c9355038bbc272ced2e384557d1676f5064f61
[]
no_license
Bertram-Liu/Note
0e176b2c9625f02e463b8f6be3587f1f0b873e9b
60a30b03ff5d41ab6233e6fd30074de396703b68
refs/heads/master
2020-07-18T18:14:24.920528
2019-09-04T11:55:59
2019-09-04T11:55:59
206,290,323
0
0
null
null
null
null
UTF-8
Python
false
false
702
py
# 1. 写程序,实现复制文件的功能 # 要求: # 1. 要考虑关闭文件的问题 # 2. 要考虑超大文件的问题 # 3. 要能复制二进制文件 def copy(src_file, dst_file): '''src_file 源文件 dst_file 目标文件''' # 以下实现复制 try: with open(src_file, 'rb') as fr, \ open(dst_file, 'wb') as fw: while True: ...
[ "bertram_liu@163.com" ]
bertram_liu@163.com
b529d4e2ef137a416b1a7794a47c6e9eebffab3b
01ac9e40052a468dd472a296df0003c4e629e2c9
/news_all/spiders_ydyl/cppcc_all.py
4081ec07efd2853fce653816d12c6835d575b706
[]
no_license
Pintrue/news_all
b5cee16584ed92e6574edd825b574214df65d917
eb8c32c79bdacd8e2f76b88f27871c3cd0118006
refs/heads/master
2022-03-23T13:34:10.354029
2019-11-22T07:40:50
2019-11-22T07:40:50
223,058,997
2
1
null
null
null
null
UTF-8
Python
false
false
1,433
py
# -*- coding: utf-8 -*- from scrapy.linkextractors import LinkExtractor from scrapy.spiders import Rule from news_all.spider_models import NewsRCSpider class Zgzxw_allSpider(NewsRCSpider): """中国政协网""" name = 'zgzxw' mystart_urls = { 'http://www.cppcc.gov.cn/zxww/newcppcc/zxyw/index.shtml': 7642, ...
[ "py416@ic.ac.uk" ]
py416@ic.ac.uk
22fe6252c1d33a331415ffaf644c9dbdb687b865
99b062cb9f5f3ff10c9f1fa00e43f6e8151a43a6
/algorithm/IM/반나누기.py
0f16cc1db1f921f7c87b424d4ce293b0641550ca
[]
no_license
HSx3/TIL
92acc90758015c2e31660617bd927f7f100f5f64
981c9aaaf09c930d980205f68a28f2fc8006efcb
refs/heads/master
2020-04-11T21:13:36.239246
2019-05-08T08:18:03
2019-05-08T08:18:03
162,099,042
4
0
null
null
null
null
UTF-8
Python
false
false
783
py
import sys sys.stdin = open("반나누기.txt") T = int(input()) for tc in range(1, T+1): N, Kmin, Kmax = map(int, input().split()) score = list(map(int, input().split())) div_class = [] for T1 in range(1, 101): for T2 in range(T1+1, 101): A = [] B = [] C = [] ...
[ "hs.ssafy@gmail.com" ]
hs.ssafy@gmail.com
2294bcc3211c94ad16f0784191f9eb000b41fb76
23805cffc86ac4dfb5bcce672b8c7070b4616e41
/Apprendre-Python/sum-1-n/scripts/feedback.py
638e0fc434e034cca499389e17e3f7f853abd000
[]
no_license
ukonline/pythia-tasks
f90ff90299fe0eedd0e2787bcf666df07c709a00
81a3731eb0cdfe16b26a4e75a165a5071fb48ff5
refs/heads/master
2021-01-25T03:26:33.915795
2016-01-04T20:03:24
2016-01-04T20:03:24
40,974,655
0
2
null
2016-12-21T13:12:14
2015-08-18T13:49:39
Python
UTF-8
Python
false
false
1,247
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # Course: Apprendre Python # Problem: Somme de 1 à n # Feedback script import ast import csv import json import os import sys sys.path.append('/task/static') from lib import pythia import math def computesum(n): result = 0 i = 1 while i <= n: result += ...
[ "seb478@gmail.com" ]
seb478@gmail.com
d7db13e9901dfdb2541b150c96b70055368e00ee
cf720b69d428b92186e84e52ff4f7eb39b8dd723
/Probablity and Statistics/3. WAP to find the probability of drawing an ace after drawing an ace on the first draw.py
d831885a30876fdd223cd5f274b1fb19dbec87e6
[]
no_license
bl-deepakchawla/ML-Followship-Program
b0fd2232f6dd2ea4356e4402be86cca84a5fbd60
41d88172ea226c42c1f56fd9e59769142575734c
refs/heads/master
2020-04-01T13:56:11.595143
2018-10-31T10:28:19
2018-10-31T10:28:19
153,273,456
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
def pr_ace_after_ace_draw(l_ace_cards, l_total_cards): l_pr_ace_card = (l_ace_cards/l_total_cards) * 100 return l_pr_ace_card g_total_cards = 52 g_ace_draw = 1 g_total_cards = g_total_cards - g_ace_draw g_ace_cards = 4 - g_ace_draw g_pr_ace_card = pr_ace_after_ace_draw(g_ace_cards, g_total_cards) print("Proba...
[ "deepakchawla35@gmail.com" ]
deepakchawla35@gmail.com
8138e1872ba83e8b4e5232c1d3cc450e30f9a153
527cc44efaa5a2d738d638d76cf4737b37a0e27d
/fiepipe.py
3302504191367767067a54043f89092e1dc52f4e
[ "MIT" ]
permissive
leith-bartrich/fiepipe
c98a978d81a24013a98bbae97c65ca053e9af481
2f48054a349059ec5919ff9402a02c03b27b5915
refs/heads/master
2021-04-06T13:52:51.391039
2019-06-25T21:01:39
2019-06-25T21:01:39
125,394,369
0
0
null
null
null
null
UTF-8
Python
false
false
565
py
#!/usr/local/bin/python import fiepipelib.localplatform.routines.localplatform import fiepipelib.localuser.routines.localuser import fiepipedesktoplib.shells.fiepipe def main(): # TODO register fie.us and populate the public key from somewhere authoritative. platform = fiepipelib.localplatform.routines.local...
[ "brad@fie.us" ]
brad@fie.us
2f9ff8e134eaa96dab94a8adf57b27fb8a23be23
d6cf604d393a22fc5e071a0d045a4fadcaf128a6
/Challenge Book/JOI_2007_C.py
7e53612c30d66f59e862f33ab20efe583c393bc7
[]
no_license
shikixyx/AtCoder
bb400dfafd3745c95720b9009881e07bf6b3c2b6
7e402fa82a96bc69ce04b9b7884cb9a9069568c7
refs/heads/master
2021-08-03T21:06:45.224547
2021-07-24T11:58:02
2021-07-24T11:58:02
229,020,968
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
import numpy as np import sys sys.setrecursionlimit(10 ** 7) read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline # 半分全列挙 N, M = map(int, readline().split()) P = np.array([0] + read().split(), np.int64) P = P[P <= M] P2 = (P[:, None] + P[None, :]).ravel() P2 = P2[P2 <= M] P2.sort() # numpyで並列にやらないと間に合...
[ "shiki.49.313@gmail.com" ]
shiki.49.313@gmail.com
5aa39cd29ff6236b62f61c9c3f51364eea44b3a5
419db2c95082e57eab3ebea9568693c2a961add7
/pyverilog/dataflow/dataflow_analyzer.py
8136f89271efed5ed13e2089e74ec92349f3bf33
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hoangt/Pyverilog-1
ef309528150a3174e74126b2f1328ca9824fcbfe
d0cb60a5633e88f59a7c5c36dff8981f000ee525
refs/heads/master
2021-01-19T22:53:52.170548
2015-09-16T15:23:16
2015-09-16T15:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,027
py
#------------------------------------------------------------------------------- # dataflow_analyzer.py # # Verilog module signal/module dataflow analyzer # # Copyright (C) 2013, Shinya Takamaeda-Yamazaki # License: Apache 2.0 #------------------------------------------------------------------------------- from __futu...
[ "shta.ky1018@gmail.com" ]
shta.ky1018@gmail.com
30e1bb070924905323da2b3adf333239477b7c6d
8bac6c63a7b826bfd6b415e6faa51ff22505d112
/openNFR-skin-2018/usr/lib/enigma2/python/Components/Renderer/NFRSambaVpnIp_renderer.py
fabdc9a68e371461e2f463086cbfa48cd40c720c
[]
no_license
stein17/Skins-for-openNFR
03330102b7d883f8485297cea0468143d9116b6f
ca6c5d02035e4bacdad6efc45995249a317b7fb6
refs/heads/master
2023-03-12T19:58:50.112456
2022-03-21T07:02:03
2022-03-21T07:02:03
94,653,786
0
15
null
2023-03-02T17:52:37
2017-06-17T23:05:42
Python
UTF-8
Python
false
false
467
py
from Renderer import Renderer from enigma import ePixmap class NFRSambaVpnIp_renderer(Renderer): def __init__(self): Renderer.__init__(self) GUI_WIDGET = ePixmap def postWidgetCreate(self, instance): self.changed((self.CHANGED_DEFAULT,)) def changed(self, what): if what[0] != self.CHANGED_CLEAR: if sel...
[ "lutz.f.kroll@gmail.com" ]
lutz.f.kroll@gmail.com
55cef7ba6f4bab4b32350b0bcbab3ce2d4c00d12
8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4
/development-support/wheel-smoke-test.py
fc47c188998f8298c69edac63841101e78c93158
[]
no_license
strogo/pyobjc
ac4201c7742eb75348328eeecb7eedf4e3458de3
2579c5eaf44b0c5af77ee195c417d2c65e72dfda
refs/heads/master
2023-07-13T00:41:56.448005
2021-08-24T06:42:53
2021-08-24T06:42:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,668
py
""" Helper script for performing smoke tests on an installed copy of PyObjC # NOTE: This file is not yet complete """ import platform from distutils.version import LooseVersion import objc # noqa: F401 from AddressBook import * # noqa: F401, F403 from AppleScriptKit import * # noqa: F401, F403 from AppleScriptObj...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
a59b69de96b87c4963e2a5082a415c273af284f3
2da8bcfb9a72e507812a8723e38ad6d030c300f1
/two_sum_1.py
57a56e2fc2bce51207bff8c27039bcaa0809aea2
[]
no_license
aditya-doshatti/Leetcode
1a4e0f391a7d6ca2d7f8fdc35e535f4ec10fb634
eed20da07896db471ea6582785335e52d4f04f85
refs/heads/master
2023-04-06T02:18:57.287263
2023-03-17T03:08:42
2023-03-17T03:08:42
218,408,346
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
''' 1. Two Sum Easy Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 +...
[ "aditya.doshatti@sjsu.edu" ]
aditya.doshatti@sjsu.edu
bf7fcf88de1f76cb2ade9e1d5ad78bb6c9d5350f
8ae0bf166da68488efec84fe79063f874687b332
/tests/ext/django/settings.py
47565381bb011dbafa23c965dd6905ecef88234f
[ "BSD-3-Clause" ]
permissive
snopoke/slycache
75aafcd0fb9c9289a292c907f48159652e275f93
412e9e81a8c53f684f3fd7c5dafb6b06ecfbd0c0
refs/heads/main
2023-06-01T19:20:12.847651
2021-03-16T20:30:28
2021-03-16T20:30:28
340,279,785
0
0
NOASSERTION
2021-06-14T07:26:50
2021-02-19T06:34:25
Python
UTF-8
Python
false
false
494
py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', }, } INSTALLED_APPS = ['slycache.ext.django'] CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'TIMEOUT': 60, 'LOCATION': 'location-1', }, ...
[ "skelly@dimagi.com" ]
skelly@dimagi.com
5171d6acac1e78b70a50a813ff700ead3317d7d9
7b7c570b30d6d7a0e9b904c7cb378cfb0d0f0e07
/mlflow/models/flavor_backend.py
894829a8cfcb69840c6c12785cdff07fc6a9cbb5
[ "Apache-2.0" ]
permissive
mlflow/mlflow
ca97bfbbf32f8e59f454e428f5e46eb3d34d062f
37298ffafcd34002352d01d579d4524790544267
refs/heads/master
2023-09-01T13:15:53.902815
2023-09-01T09:00:42
2023-09-01T09:00:42
136,202,695
14,102
3,748
Apache-2.0
2023-09-14T21:52:42
2018-06-05T16:05:58
Python
UTF-8
Python
false
false
3,421
py
from abc import ABCMeta, abstractmethod from mlflow.utils.annotations import developer_stable @developer_stable class FlavorBackend: """ Abstract class for Flavor Backend. This class defines the API interface for local model deployment of MLflow model flavors. """ __metaclass__ = ABCMeta de...
[ "noreply@github.com" ]
mlflow.noreply@github.com
4a6527f8ab80096d974ecbc2592c03ee486098cf
6632896b4e320c932bdaa98b2caa16e057905333
/utils/io/labels/character.py
42500f3bb08e1952e8f60fcd45e82f1d64eb7841
[ "MIT" ]
permissive
sky1170447398/tensorflow_end2end_speech_recognition
56229b5de62c8a4580a9d349afe6ccdf20d478fb
7ef52ae702db3852a7339136852bb14585e55b3b
refs/heads/master
2021-07-13T14:26:22.117311
2017-10-12T00:51:12
2017-10-12T00:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,507
py
#! /usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np class Char2idx(object): """Convert from character to index. Args: map_file_path (string): path to the mapping file """ ...
[ "hiro.mhbc@gmail.com" ]
hiro.mhbc@gmail.com
17e98671744e907b39b79ee00bceb8d098905ea7
c0792645c156cb9e20a1aa2b28c565150358bc6e
/apps/inmueble/migrations/0017_auto_20180526_0412.py
8ddac3048c867751bb7c7635c709ef1ddbd2cc4d
[]
no_license
clioo/Praver
b22fd92886e0399845adb4366663cae6a7d7853b
523f0d78e0a2039a5bae3e539c93e2c2415a0840
refs/heads/master
2020-03-11T12:38:54.272392
2018-06-28T18:24:21
2018-06-28T18:24:21
130,003,043
1
0
null
null
null
null
UTF-8
Python
false
false
411
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2018-05-26 10:12 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inmueble', '0016_auto_20180526_0410'), ] operations = [ migrations.AlterModelOptions...
[ "jesus_acosta1996@hotmail.com" ]
jesus_acosta1996@hotmail.com
823e85e0dfe556e154f26652a500ed91838d9a13
8fa8ded3772dd7a124c1bbb91fc109ed2b63574b
/mycelium/apps/volunteers/tests/selenium_abstractions.py
5cda3d87e310f4732fb2b14444382ce6e7a8d3c9
[]
no_license
skoczen/mycelium
3642b0f5e5ea03d609a3e499c7ad68092101dce0
da0f169163f4dc93e2dc2b0d934abf4f18c18af0
refs/heads/master
2020-04-10T09:21:46.893254
2014-05-20T02:27:06
2014-05-20T02:27:06
2,114,887
0
0
null
null
null
null
UTF-8
Python
false
false
2,479
py
import time from test_factory import Factory class VolunteerTestAbstractions(object): def create_new_volunteer(self): sel = self.selenium self.create_john_smith_and_verify() sel.click("css=.detail_tab[href=#volunteer]") time.sleep(1) assert sel.is_text_present("No volunteer...
[ "steven@quantumimagery.com" ]
steven@quantumimagery.com
f19711c824d08b2f99bde202875be60d5015bc4a
dfc827bf144be6edf735a8b59b000d8216e4bb00
/CODE/experimentcode/DryBedPaper/Dambreak/FEVMdryWBuhonly zeroorder/Run.py
12accac582bfd8b9937706f72632e59e0bb7acdc
[]
no_license
jordanpitt3141/ALL
c5f55e2642d4c18b63b4226ddf7c8ca492c8163c
3f35c9d8e422e9088fe096a267efda2031ba0123
refs/heads/master
2020-07-12T16:26:59.684440
2019-05-08T04:12:26
2019-05-08T04:12:26
94,275,573
0
1
null
null
null
null
UTF-8
Python
false
false
7,430
py
# -*- coding: utf-8 -*- """ Created on Mon Jun 5 14:24:26 2017 @author: jp """ from Serre2dc import * from scipy import * from pylab import plot, show, legend,xlim,ylim,savefig,title,xlabel,ylabel,clf, loglog import csv import os from numpy.linalg import norm,solve from time import time def copyarraytoC(a): n = ...
[ "jordanpitt3141@github.com" ]
jordanpitt3141@github.com
3514ec92ed02abcbee5fee7ae8ee2db6b9582ad4
a087b6fbd9bc4f3ec1d7f48268e733e106369fcd
/food_project/recipe/ingredient.py
7e888e99153f0a4be95aaba923d7f84a712d1aff
[]
no_license
zhakguder/FoodProject
8b628583fb2f0ee3537f5340301b78c926401968
7ab881d9884d366efffa7a4c84c27c02fbe7a467
refs/heads/main
2023-03-05T18:30:16.939582
2021-02-14T19:50:04
2021-02-14T19:50:04
327,974,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
#!/usr/bin/env python3 class Ingredient: def __init__(self, name, id, quantity, entropy): self.name = name self.id = id # column number in recipe ingredients dataframe self.quantity = quantity self.entropy = entropy # clusters = {} ingredients_to_clusters = {} # TODO: put this ...
[ "zeynep.hakguder@huskers.unl.edu" ]
zeynep.hakguder@huskers.unl.edu
3a390a443f62dda7aaf9ce5b667f5dfe9dd4c376
9b39e32f36e4f949d617e158c5034faa9595aaf0
/python/PHYS14/QCD_Pt-1800to2400_Tune4C_13TeV_pythia8_cff.py
e21dd683067ea39f4ddd04af1141721dd2490d0b
[]
no_license
awhitbeck/SuSySubstructure
c24043227697f74bb85edc1cb84d65b884a141d5
1422a1f6e46468fdd103f92ccbdffc34468cbbd9
refs/heads/synch_June26_2015
2021-01-19T07:43:59.339373
2015-08-16T09:35:49
2015-08-16T09:35:49
14,053,341
0
2
null
2015-08-08T08:24:37
2013-11-01T20:44:04
Python
UTF-8
Python
false
false
1,133
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() secFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, secondaryFileNames = secFiles) readFiles.extend( [ '/store/mc/Phys14DR/QCD_P...
[ "whitbeck.andrew@gmail.com" ]
whitbeck.andrew@gmail.com
80323aa0c33ac672897ee319b3f16f71e768fb5c
da47e42519b6d5eb37bdb634fd618672706e79da
/localizacion_metromed/tys_http/__manifest__.py
5094cf573f3be281a9e1d379e90f33313dc7ee0c
[]
no_license
Tysamncaweb/produccion2
02bbbccefc4f4cd0d0948b1b0552d931f804fb9b
b95909d0689fc787185290565f0873040a6027cf
refs/heads/master
2022-04-26T13:51:22.316294
2020-04-29T19:58:35
2020-04-29T19:58:35
260,013,639
1
0
null
null
null
null
UTF-8
Python
false
false
916
py
# -*- coding: utf-8 -*- { 'name': "submodules/tys_http", 'summary': """ Short (1 phrase/line) summary of the module's purpose, used as subtitle on modules listing or apps.openerp.com""", 'description': """ Long description of module's purpose """, 'author': "My Company", ...
[ "soporte.innova2129@gmail.com" ]
soporte.innova2129@gmail.com
5ea6dac2e1e68ac62b2b84dc089bade38e2b1911
4e135c9d35a033c8f9f5c70e57ae27f61b4f34fb
/19_Sympact/Python/sympact.py
cc5b733f58860962724032b8ef0ef8b107763984
[]
no_license
xpessoles/TP_Documents_PSI
a95b57eebd32a3641a02623e01cd3ab32f3155c2
76bd77fed5a88337e7669c8ca01944020de47458
refs/heads/master
2023-08-23T21:15:23.205881
2023-08-15T06:15:29
2023-08-15T06:15:29
168,961,130
0
0
null
null
null
null
UTF-8
Python
false
false
3,417
py
# -*- coding: utf-8 -*- """ Created on Fri Jan 21 07:27:14 2022 @author: xpess """ import numpy as np import matplotlib.pyplot as plt def trapeze(les_t:list,t1:float,t2:float,amax:float,vmax:float)->list : """ Détermination des loi horaires en trapèze Parameters ---------- les_t : list DE...
[ "xpessoles.ptsi@free.fr" ]
xpessoles.ptsi@free.fr
b34cc4a6c6bb510a6cb526348b14851f8cf7b341
27c9b374a75550252ddfe5da400fad891c6de590
/chars/monster_scripts/MonsterAudio.py
d92db631a6f408a33e87967e694889278c5eabfa
[]
no_license
Dynamique-Zak/Zelda_BlenderGame
03065416939deb3ce18007909ccc278c736baad0
0f5d5d15bfa79e9f8ea15f0ebcb76bce92f77a21
refs/heads/master
2016-08-13T00:12:34.746520
2016-02-19T23:18:27
2016-02-19T23:18:27
49,572,402
30
16
null
null
null
null
UTF-8
Python
false
false
383
py
import aud # load sound device device = aud.device() class MonsterAudio: def __init__(self): self.lastStepFrame = 0 def playStepSound(self, current_frame, frames, audio): for frame in frames: r = range(frame-1, frame+1) if ( (current_frame >= frame and current_frame <= frame+1) and self.lastStepFrame !=...
[ "schartier.isaac@gmail.com" ]
schartier.isaac@gmail.com
b4114f55a3b44215c32b9f099140ad31264d5e11
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/simple-cipher/85118e8764e3424d97f4175fe0cad1fd.py
28007cdd0fefc6a8857a63ff19f4b2b3418fd3e8
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
1,923
py
# cgi path # William Morris # exercism.io # cipher.py import random class Caesar: def __init__(self): self.key = 'd' def encode(self,phrase): encoded_phrase = '' for letter in phrase: if letter.isalpha(): encoded_phrase += _shift(le...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
2d6be584dbe664f1c96da1731febcec3c8fc88fb
2481cde6506743565dff2b405a2396daf208ab3e
/src/notification/migrations/0026_notificationmessage_sender.py
567ce2e804646575b24a3ee33b7668cbd7a59bdb
[ "Apache-2.0" ]
permissive
aropan/clist
4819a3036d179595e4df8c646aff2ed593b9dad3
5c805b2af71acee97f993f19d8d4e229f7f5b411
refs/heads/master
2023-08-31T11:15:17.987776
2023-08-27T21:51:14
2023-08-27T21:52:16
187,111,853
276
35
Apache-2.0
2023-09-06T18:42:53
2019-05-16T22:57:03
Python
UTF-8
Python
false
false
593
py
# Generated by Django 3.1.14 on 2022-01-17 00:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('true_coders', '0048_auto_20220111_2315'), ('notification', '0025_auto_20220111_2315'), ] operations = [ ...
[ "nap0rbl4@gmail.com" ]
nap0rbl4@gmail.com
b8aafb5b60e806817d8bb6084aae738c01bfca0b
22b1ca0d3e93c10356a95aa4377a798e3615bcc3
/djoauth/djoauth/urls.py
7566acb7c068796cad8ba9fafab4d105db12ece4
[]
no_license
xtornasol512/djoauth
b99142640356d454a738a5047a315449d3a5315a
dede596ecc0fee3010f331b01975b5cb51c122dd
refs/heads/master
2020-04-09T14:43:15.017259
2018-12-04T20:37:31
2018-12-04T20:37:31
160,405,246
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
"""djoauth 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='home') Class-ba...
[ "xtornasol512@gmail.com" ]
xtornasol512@gmail.com
3afd9866a37000da97a5bae4e35cf4934ba1a2ad
0a973640f0b02d7f3cf9211fcce33221c3a50c88
/.history/src/qichamao_cmpInfo_20210203092107.py
f91c112ba48f192dce00f481f0f2d683966be121
[]
no_license
JiajunChen123/IPO_under_review_crawler
5468b9079950fdd11c5e3ce45af2c75ccb30323c
031aac915ebe350ec816c05a29b5827fde588567
refs/heads/main
2023-02-26T08:23:09.622725
2021-02-04T10:11:16
2021-02-04T10:11:16
332,619,348
0
0
null
null
null
null
UTF-8
Python
false
false
6,230
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- ''' @File : qichamao_cmpInfo.py @Time : 2021/02/03 09:17:24 @Author : Jiajun Chen @Version : 1.0 @Contact : 554001000@qq.com @License : (C)Copyright 2017-2018, Liugroup-NLPR-CASIA ''' import requests from bs4 import BeautifulSoup import time import cs...
[ "chenjiajun.jason@outlook.com" ]
chenjiajun.jason@outlook.com
b4ccb64fb9f5a2c0c23bf3b386d43e9fbc4568bd
01a085bb89225d0390316036a915b2b8d7403219
/bin/dynamodb_dump
8550b8bc85167f6177c7a589e20cdfa1b46810ab
[]
no_license
vipinsachdeva/elasticluster_full
0199ee00e716f285173c8974fdf9570ab5d43470
71160196682a8d18a9547d5d28e8a885b067924d
refs/heads/master
2021-05-15T11:35:44.706476
2017-10-25T22:37:37
2017-10-25T22:37:37
108,333,786
1
0
null
null
null
null
UTF-8
Python
false
false
2,153
#!/home/vsachde/elasticluster/bin/python import argparse import errno import os import boto from boto.compat import json from boto.compat import six DESCRIPTION = """Dump the contents of one or more DynamoDB tables to the local filesystem. Each table is dumped into two files: - {table_name}.metadata stores the t...
[ "vipin@kryptonite" ]
vipin@kryptonite
823128232096e5a64b6c166ca62a3b471935bf31
4d01bd8003ac64b2a688db12108b472387c999c4
/Q_Q.py
a27e43ccf178755bb31aa68761a4fffd6c588111
[]
no_license
BlackHat-S/PWN
2ef6aa7db3baafe009ac31631bdaffaf043f3b85
cde1f9ee3258aa56c2634995d5baec14b500a399
refs/heads/master
2021-01-07T00:44:20.208899
2020-03-21T04:16:14
2020-03-21T04:29:47
241,529,666
0
0
null
null
null
null
UTF-8
Python
false
false
235
py
from pwn import * #p=process('./Q_Q') p=remote('121.40.92.129',28022) #gdb.attach(p) s2='you\x11need"pwntools!3' #s2=p32(0x11756F79) #s2=p32(0x6e11756f) p.sendline(s2) payload='a'*19+p32(0x8181B1B) p.sendline(payload) p.interactive()
[ "root@localhost.localdomain" ]
root@localhost.localdomain
39763dada35168638ae5e1e8b7ec0faa6847b5ba
0775a2175ddc9f41b4f7637a388623ca9ef15259
/chap8/16.子数组的最大累加和问题/16_maxSubArray.py
fb63c569d4ab173bbb1254567316ee40c6b6c431
[]
no_license
huang-jingwei/Coding-Interview-Guide
6839876457b3cf01a08c5623463e66fe9efa7416
a42f45213c94d529f69a61f0bda92eddfe5bdfea
refs/heads/master
2023-04-16T20:05:40.615475
2021-05-05T03:32:25
2021-05-05T03:32:25
286,343,194
6
1
null
null
null
null
UTF-8
Python
false
false
592
py
class Solution: def maxSubArray(self, nums: List[int]) -> int: if len(nums) == 1: # 只有一个元素 return nums[0] maxSubArraySum = [0] * len(nums) for index in range(len(maxSubArraySum)): if index == 0: maxSubArraySum[index] = nums[index] eli...
[ "2194454302@qq.com" ]
2194454302@qq.com
1801f478f73579ae23ce3d61b2ed1d64b5c7e40f
1cc8604dff9713d3879599f1876a6ea313ebe1fb
/pysc2/lib/stopwatch.py
6c4202c859716afb77ef1155c82b1955ffcfd8d1
[ "Apache-2.0" ]
permissive
SoyGema/pysc2
c363ec768ebf94e7b0fa08e136b36b7432ae1b44
e5de62023ec45ac212016b5404dd73272109d9d4
refs/heads/master
2022-02-08T21:41:46.530129
2022-01-29T13:11:15
2022-01-29T13:11:15
143,897,552
1
0
Apache-2.0
2018-08-07T16:06:23
2018-08-07T16:06:22
null
UTF-8
Python
false
false
7,935
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "tewalds@google.com" ]
tewalds@google.com
8ea422ab7d7637a015b6fe31a0e25db3f3cae371
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/561.py
36d9557ad1663cf9120d0f6c51352667ae7b8581
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,015
py
import sys import re input = sys.stdin T=int(input.readline()) for i in xrange(1,T+1): data = input.readline() data = data.split() C = int(data[0]) cs = data[1:1+C] CS = {} for s in cs: CS["%s%s" % (s[0], s[1])] = s[2] CS["%s%s" % (s[1], s[0])] = s[2] D = int(data[1+C]) ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
01a2e6b7af0a367e62438e4d324ed24336970776
9c1b28d9564cfde450f6590031ede667650d494f
/player/tasks.py
ade314e4fae37740ac46ba2df18ee15c5805a719
[]
no_license
gdmurray/rankedgg-backend
90f887f4d64ca5a38741ac8e9482f08fc5d6fd7e
ac312750a09a70907fe3e5a9ae9e1172c5e341d8
refs/heads/master
2022-12-18T16:54:27.302293
2019-03-24T05:24:23
2019-03-24T05:24:23
177,320,244
0
0
null
2022-12-08T04:54:05
2019-03-23T17:36:14
Python
UTF-8
Python
false
false
746
py
from ranked.celery import app from .models import Player from channels.layers import get_channel_layer from asgiref.sync import async_to_sync @app.task def update_ranked_data(pk, region=None): player = Player.objects.get(id=pk) print(f"Updating Ranked Data for {player.username}") metadata, updated_player...
[ "gd-murray@hotmail.com" ]
gd-murray@hotmail.com
62cb22669072ff1e224be98f36817be8899fa801
b3ba7762ae4e209a02bf3a47dc40ceff421087d2
/evm/chains/tester/__init__.py
fd1cdb4b31fe590a3b5ecfd0a0e1dfd75159d7ee
[]
no_license
nicksavers/py-evm
3c740ae328c5dd0f10c967660a4e452d257fdfa3
70631e3b726d093749a7315b8a4c6b1ebc4d7322
refs/heads/master
2021-08-15T21:35:19.556248
2017-11-17T21:20:24
2017-11-17T21:20:24
111,194,384
3
0
null
2017-11-18T09:56:00
2017-11-18T09:55:59
null
UTF-8
Python
false
false
4,795
py
from cytoolz import ( assoc, ) from eth_utils import ( reversed_return, ) from evm.chains.chain import Chain from evm.vm.forks import ( FrontierVM as BaseFrontierVM, HomesteadVM as BaseHomesteadVM, EIP150VM as BaseEIP150VM, SpuriousDragonVM as BaseSpuriousDragonVM, ) from evm.utils.chain imp...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
95ab80f3fc1195c06b5ffcbf8b1f17dc0ef31ab7
291fe7fb4cc5b682e560b0c5958e2220054451c6
/Big41/ch4/조건문1.py
c57b278f55bd2e596e39e220b35dc5942d768772
[]
no_license
MinksChung/BigdataCourse
44dc5e7e578515e1dafbb7870911e09347a788f4
293803415da5d9f354059ea556818cc7610f36a5
refs/heads/master
2022-12-22T06:14:59.880933
2020-01-26T14:58:09
2020-01-26T14:58:09
202,575,724
0
0
null
2022-12-15T23:28:43
2019-08-15T16:29:35
Python
UTF-8
Python
false
false
761
py
# print("파이썬 2번째 날입니다.") # age = 100 # # if age >= 20: # print("성인입니다.") # else: # print("미성인입니다.") # 비교연산자를 스트링 비교에 사용할 수 있다. # 제어문에 중간괄호({ })대신 :(콜론)을 사용한다. # :을 사용하면 반드시 다음 아래줄에 들여쓰기를 해야한다. # 들여쓰기 후, 꼭 처리 내용이나 pass를 써주어야 한다. # login_id = 'root' # if login_id == 'root': # print('로그인 ok'...
[ "minkschung@gmail.com" ]
minkschung@gmail.com
0412325572d786d5ff622d57872828e3ac3f1281
d6c117812a618ff34055488337aaffea8cf81ca1
/scenes/Breakout_Clone.py
17e3ecd37edfce711d910432545e1bc7b564035f
[]
no_license
c0ns0le/Pythonista
44829969f28783b040dd90b46d08c36cc7a1f590
4caba2d48508eafa2477370923e96132947d7b24
refs/heads/master
2023-01-21T19:44:28.968799
2016-04-01T22:34:04
2016-04-01T22:34:04
55,368,932
3
0
null
2023-01-22T01:26:07
2016-04-03T21:04:40
Python
UTF-8
Python
false
false
7,869
py
# -*- coding: utf-8 -*- # https://gist.github.com/SebastianJarsve/5305895 # Created by Sebastian Jarsve # 9. April 2013 from scene import * from sound import play_effect from random import randint def centered_rect(x, y, w, h): return Rect(x-w/2, y-h/2, w, h) class Field(object): def __init__(self): size = scree...
[ "itdamdouni@gmail.com" ]
itdamdouni@gmail.com
acafcee721e06c4272142c36a3deca0a91574319
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_2/models/object_store_access_policy_rule.py
c48033b9db845a618c81bd67851d063292b423c6
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
5,091
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.2, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "msholes@purestorage.com" ]
msholes@purestorage.com
95ed3ebf9418039cb36fd809dcb13026d8ffb163
4ca6c75b8cfe7604827827aeee83b104fa7c93d9
/tests/apigateway/tests.py
a4c13a38821d83909c9775a29a08392a8dee52c7
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
ZextrasGiacomoMattiuzzi/gordon
3767800c64caf4444a13c15e890f84505b62296d
b6e4e8d5998c2b2c4c4edb3a2ec7124290f46e8b
refs/heads/master
2022-12-22T02:21:09.422648
2020-09-16T15:03:06
2020-09-16T15:03:06
285,250,476
0
1
NOASSERTION
2020-08-05T10:05:08
2020-08-05T10:05:08
null
UTF-8
Python
false
false
3,393
py
import os import json import boto3 import requests from gordon.utils_tests import BaseIntegrationTest, BaseBuildTest from gordon.utils import valid_cloudformation_name from gordon import utils class IntegrationTest(BaseIntegrationTest): def test_0001_project(self): self._test_project_step('0001_project...
[ "me@jorgebastida.com" ]
me@jorgebastida.com
2dfd45cbd4308213e05b748eeca0e94c887cb457
b50f43c7c8cba1c0f349870596f12d1a333e6f42
/axonius_api_client/api/json_api/lifecycle.py
1b1fa1e637e4ac6cc877cd9a193ee9d9678de93e
[ "MIT" ]
permissive
zahediss/axonius_api_client
190ca466e5de52a98af9b527a5d1c132fd8a5020
8321788df279ffb7794f179a4bd8943fe1ac44c4
refs/heads/master
2023-08-01T14:35:17.095559
2021-09-13T21:04:23
2021-09-13T21:04:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
# -*- coding: utf-8 -*- """Models for API requests & responses.""" import dataclasses from typing import List, Optional, Type import marshmallow_jsonapi from .base import BaseModel, BaseSchema, BaseSchemaJson class LifecycleSchema(BaseSchemaJson): """Pass.""" last_finished_time = marshmallow_jsonapi.fields...
[ "jimbosan@gmail.com" ]
jimbosan@gmail.com
26d6ddad8285870df5057d6ccabf8e80206457e9
95495baeb47fd40b9a7ecb372b79d3847aa7a139
/test/test_network_address.py
d733d83fb937e590c374c7132fc314a75cc127e8
[]
no_license
pt1988/fmc-api
b1d8ff110e12c13aa94d737f3fae9174578b019c
075f229585fcf9bd9486600200ff9efea5371912
refs/heads/main
2023-01-07T09:22:07.685524
2020-10-30T03:21:24
2020-10-30T03:21:24
308,226,669
0
0
null
null
null
null
UTF-8
Python
false
false
1,192
py
# coding: utf-8 """ Cisco Firepower Management Center Open API Specification **Specifies the REST URLs and methods supported in the Cisco Firepower Management Center API. Refer to the version specific [REST API Quick Start Guide](https://www.cisco.com/c/en/us/support/security/defense-center/products-programmi...
[ "pt1988@gmail.com" ]
pt1988@gmail.com
62d0e0bb9ae6823f07924b56f20e211d04c91598
71dc727f9056934cd51692f8a3d26cf0dda44ef0
/sample-programs/week6/credit_card.py
c01ecf9751b6232aa66da9be53bfaadfc1851845
[ "MIT" ]
permissive
justinclark-dev/CSC110
9d255020a50bbfdb195465c3e742dd2fcd61e3a4
d738ec33b757ba8fa9cf35b2214c184d532367a0
refs/heads/master
2022-12-08T08:08:30.667241
2020-09-04T01:05:34
2020-09-04T01:05:34
232,606,910
0
1
MIT
2020-09-04T02:05:47
2020-01-08T16:28:37
Python
UTF-8
Python
false
false
2,153
py
# credit_card.py # # How long will it take to pay off a credit card balance?? # This program makes use of a loop to perform a SIMULATION # of a real-world situation. # CSC 110 # Fall 2011 ### Get and validate inputs interest_multiplier = float(input('Enter an ANNUAL INTEREST RATE ' \ + 'as a PERCENTAGE, >= zero:...
[ "justinclark.dev@gmail.com" ]
justinclark.dev@gmail.com
52ee52ca04897359b7e695a86c8052f993618c0d
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/messenger/proto/xmpp/jid.py
e203d8aed0708dffb0f2472e615a03256d991a33
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
6,022
py
# 2017.02.03 21:53:47 Střední Evropa (běžný čas) # Embedded file name: scripts/client/messenger/proto/xmpp/jid.py import random import types import time from string import Template from ConnectionManager import connectionManager from ids_generators import SequenceIDGenerator from messenger import g_settings from messen...
[ "info@webium.sk" ]
info@webium.sk
d7a833d3cfc9b1389683b76c5f0ef9a016938987
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2017/09/wisc-gerrymandering-20170929/graphic_config.py
cb18764b6b447f7d4bc8090dc4075e9d99f838a3
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
304
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1F_HDqo1D2EwXiUx95wG4QPRAvhm3P76OP6aXyv8NYgY' USE_ASSETS = True # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
76dbaf4b89ba0644af07d6d0fb1df5416f4fe855
16631cf7cd4a70f2cd2750851649d3eff5e17724
/2015/day19/part1.py
20687aa134135898c045654106d8f4e7b87ac77d
[]
no_license
kynax/AdventOfCode
1dd609a3308d733f2dd7d4ea00508d2da73180b9
36a339241dd7a31ebe08a73e5efa599e5faeea1a
refs/heads/master
2022-12-21T13:32:52.591068
2022-12-16T22:41:30
2022-12-16T22:41:30
48,439,585
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
import sys mol = 'CRnSiRnCaPTiMgYCaPTiRnFArSiThFArCaSiThSiThPBCaCaSiRnSiRnTiTiMgArPBCaPMgYPTiRnFArFArCaSiRnBPMgArPRnCaPTiRnFArCaSiThCaCaFArPBCaCaPTiTiRnFArCaSiRnSiAlYSiThRnFArArCaSiRnBFArCaCaSiRnSiThCaCaCaFYCaPTiBCaSiThCaSiThPMgArSiRnCaPBFYCaCaFArCaCaCaCaSiThCaSiRnPRnFArPBSiThPRnFArSiRnMgArCaFYFArCaSiRnSiAlArTiTiTiTiT...
[ "guilemay@gmail.com" ]
guilemay@gmail.com
1c35de4f84d46d2c3defc2f8ec85426949e56c02
97e60d0ca572d0dc3fc80f8719cd57a707ab6069
/bias_account_report_v6/__openerp__.py
6349817b455c8fc304e48597e462c7badb0b10a8
[]
no_license
josepato/bias_trunk_v6
0c7c86493c88f015c049a139360478cabec7f698
b6ab6fc2ff3dc832f26effdba421bcc76d5cabac
refs/heads/master
2020-06-12T14:18:31.101513
2016-12-15T22:55:54
2016-12-15T22:55:54
75,803,957
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "josepato@hotmail.com" ]
josepato@hotmail.com