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
96e74a51787d9206d2e4ddd5c9531473c08384c5
593dff0c5746603268417a702a00cd3355f47f3a
/hq_extracter.py
0637fa456196047256f299fb62689b0330057cc7
[]
no_license
vc2309/Blue-sky-tools
e508f2cb0fd240a95b812ed53f2ac6ed3ea1cd64
055b06cc9865808f3d0665dc9c95aba6b401fe69
refs/heads/master
2021-09-10T18:55:52.616954
2018-03-31T07:14:01
2018-03-31T07:14:01
104,192,264
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import pandas as pd ifiles=['sjs_all_feb_report_m.csv'] floors=['HQ - G/F' ,'HQ - 2S' ,'HQ - 2N' ,'HQ - 3S' ,'HQ - 3N' ,'HQ - 4N' ,'HQ - 5S' ,'HQ - 5N' ,'HQ - 6S' ,'HQ - 6N' ,'HQ - 7S' ,'HQ - 7N' ,'HQ - 8S' ,'HQ - 8N' ,'HQ - 9S' ,'HQ - 9N' ,'HQ - AC' ,'HQ - 11' ,'HQ - 12' ,'HQ - 13' ,'HQ - Lift' ,'HQ - 10'] def extrac...
[ "wishiknew.vishnu@gmail.com" ]
wishiknew.vishnu@gmail.com
1c90deae299ed6a990528539c555580748edee2a
bc441bb06b8948288f110af63feda4e798f30225
/tuna_service_sdk/model/pipeline/build_pb2.pyi
b2d4c34548e7bc31341d04a0ced2cc56bb0cfe4a
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,876
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, ) from google.protobuf.internal.containers import ( RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScal...
[ "service@easyops.cn" ]
service@easyops.cn
fc62026ad385c261dc340d5914e1490389de7b69
16abd82b9523f0fc7ae6df0aac11fd03e2e3d9f3
/boards/tests/test_views.py
c6631a2dcbefbde8dc9659cd11ccf5750f89b5e0
[]
no_license
msm3858/projektforum
cf5255a5781f3536db56cf1b680557ca876f8221
c6a0abda9f147d3578e430012780bda3eb4f20b5
refs/heads/master
2021-09-10T10:03:32.962523
2018-03-24T06:26:18
2018-03-24T06:26:18
124,791,248
0
0
null
null
null
null
UTF-8
Python
false
false
5,560
py
from django.test import TestCase from django.urls import reverse, resolve from ..views import home, board_topics, new_topic from ..models import Board, Topic, Post, User from ..forms import NewTopicForm # Create your tests here. ######################### # TEST HOME ######################### class HomeTests(TestCase...
[ "=" ]
=
87416760e8d527e89eda7274e938fa35d0f5862c
ec551303265c269bf1855fe1a30fdffe9bc894b6
/topic12_backtrack/T37_solveSudoku/interview.py
aa39e66a9273588c348549634ece2fa51180ca9a
[]
no_license
GongFuXiong/leetcode
27dbda7a5ced630ae2ae65e19d418ebbc65ae167
f831fd9603592ae5bee3679924f962a3ebce381c
refs/heads/master
2023-06-25T01:05:45.683510
2021-07-26T10:05:25
2021-07-26T10:05:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,380
py
''' 37. 解数独 编写一个程序,通过已填充的空格来解决数独问题。 一个数独的解法需遵循如下规则: 数字 1-9 在每一行只能出现一次。 数字 1-9 在每一列只能出现一次。 数字 1-9 在每一个以粗实线分隔的 3x3 宫内只能出现一次。 空白格用 '.' 表示。 ''' class Solution: def solveSudoku(self, board): """ Do not return anything, modify board in-place instead. """ # 把...
[ "958747457@qq.com" ]
958747457@qq.com
4e1efa5fc68c6cf783d434aebf74d1157be0268f
6c1b28fce483c873f627104c8c58c90af54ef22a
/approach_3_solution_2.py
cbb82862b98488db1ddca6a2e88b15cc2ed1fb8c
[]
no_license
rajkan01/hands_on_code_review
dc873857a7d73f75c9d2caa5bba3fa93ba56a4a2
ac28dabd6eb0d46345714208741ff57345f95149
refs/heads/master
2023-09-04T00:20:16.741717
2021-10-23T15:45:34
2021-10-25T10:56:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
# Approach 3 - Solution 2 from string import ascii_lowercase as lowercase_letters def is_pangram(sentence): actual_bits = 0 expected_bits = 0b11111111111111111111111111 for i, char in enumerate(sentence): if char.isalpha(): letter_index = ord(char.lower()) - ord("a") bit...
[ "amy.m.haddad@gmail.com" ]
amy.m.haddad@gmail.com
bd29a3919e9e554eae311ed596991eb065b7db1f
b210903908d418d471e0df3b93c5f290ec1c05a9
/gluon2pytorch/gluon2pytorch.py
ced44d371fe483100a99ec280b38330ca6939d3d
[ "MIT" ]
permissive
chipper1/gluon2pytorch
d7bcf71900172484f1e26c46ba6f051aa1e7d773
e0fd770a28b1a8bf4d0aa352f360bf5765e8347d
refs/heads/master
2020-04-19T07:49:38.974250
2019-01-22T13:17:23
2019-01-22T13:17:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,078
py
import json import torch import torch.nn as nn import torch.nn.functional as F import mxnet as mx import numpy as np # Import comverters from .layers import CONVERTERS # Import PyTorch model template from .pytorch_model_template import pytorch_model_template def eval_model(pytorch_source, pytorch_dict, module_nam...
[ "nerox8664@gmail.com" ]
nerox8664@gmail.com
52f8d22f90a6a6870ff064d288a72be4c6ab50de
7d78a18fcb8f34cc84e9439bd19cf491e3e0ec49
/Code/Particle_Identification/msc-hpc/hpc-mini-1/model8.py
7fca90d0b9552dd533fb15cee80aeff0c4a24a33
[]
no_license
PsycheShaman/MSc-thesis
62767951b67b922ce5a21cad5bdb258998b7d2ea
34504499df64c7d6cc7c89af9618cd58d6378e8e
refs/heads/master
2022-03-12T07:17:57.309357
2019-12-10T21:17:39
2019-12-10T21:17:39
151,471,442
4
0
null
null
null
null
UTF-8
Python
false
false
6,794
py
# -*- coding: utf-8 -*- """ Created on Sun Jun 16 18:47:05 2019 @author: gerhard """ import glob import numpy as np #P_files = glob.glob("C:/Users/gerhard/Documents/msc-thesis-data/P_*.pkl", recursive=True) x_files = glob.glob("/scratch/vljchr004/1_8_to_2_2_GeV/x_*.pkl") y_files = glob.glob("/scratch...
[ "christiaan.viljoen@cern.ch" ]
christiaan.viljoen@cern.ch
fa852b15b22790660899f828bd2b36acf41ab473
2b477700384af7ceb67f97908f1bd5899d984596
/mxonline/second_day/mxonline/mxonline/settings.py
0c86916a2d658b263215bc8d182ed18fe7d4a103
[]
no_license
ZhiqiKou/django
58b743f962e0f7d85b3610e9d09a0e1db32ba9bb
e3d35c981e6b91130472114b121b65fd7d5cacf8
refs/heads/master
2020-03-28T20:44:56.286125
2018-09-07T02:21:29
2018-09-07T02:21:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,544
py
""" Django settings for mxonline project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ i...
[ "1816635208@qq.com" ]
1816635208@qq.com
a4b4a0a3244cac402cda7f3b4ed5278efc2fa651
c4b47ba53d40e861571c82f8a968a989974dc433
/fireball/blobs/admin.py
454a72b4217a2e674b995a6f5a635ca10bde368e
[]
no_license
underlost/fireball
4be3e441a82f6a0fbb603b33be8493f03019392e
3cf312fa88860e9f2e9f34479b5b1962dae09f55
refs/heads/master
2016-09-01T18:45:18.059628
2013-06-03T16:26:12
2013-06-03T16:26:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
py
from django.contrib import admin from fireball.blobs.models import Blob class BlobAdmin(admin.ModelAdmin): list_filter = ('user',) search_fields = ['description','url',] list_display = ('user', 'url',) admin.site.register(Blob,BlobAdmin)
[ "underlost@gmail.com" ]
underlost@gmail.com
596411c05f2c94b4b357beb48a6cac370bb39083
82fce9aae9e855a73f4e92d750e6a8df2ef877a5
/Lab/venv/lib/python3.8/site-packages/OpenGL/GL/ARB/seamless_cube_map.py
25e63a7d3f689d0ff11cc0c81f81b889b4c44394
[]
no_license
BartoszRudnik/GK
1294f7708902e867dacd7da591b9f2e741bfe9e5
6dc09184a3af07143b9729e42a6f62f13da50128
refs/heads/main
2023-02-20T19:02:12.408974
2021-01-22T10:51:14
2021-01-22T10:51:14
307,847,589
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
'''OpenGL extension ARB.seamless_cube_map This module customises the behaviour of the OpenGL.raw.GL.ARB.seamless_cube_map to provide a more Python-friendly API Overview (from the spec) When sampling from cube map textures, a three-dimensional texture coordinate is used to select one of the cube map faces and ge...
[ "rudnik49@gmail.com" ]
rudnik49@gmail.com
fcd0b3996dcc8bf3891d3ed563e44c660b62677b
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/D/dmsilv/facebook_fans.py
3fc1f0e56bfce614a8af5c9b37936e98b95a0c94
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,020
py
# Blank Python import scraperwiki from BeautifulSoup import BeautifulSoup #define the order our columns are displayed in the datastore scraperwiki.metadata.save('data_columns', ['Page Name', 'Fans']) #scrape the fan section def scrape_fans(soup): data_table = soup.find("table",{ "class" : "uiGrid"}) #find the ...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
7b47c1b415e3ad729bdce1cdb26e32be6031bda6
ef66e297a49d04098d98a711ca3fda7b8a9a657c
/snippets/ziroom/detail.py
32e2f1c346b125a3b9d7882a7320a3f98a252f9a
[]
no_license
breezy1812/MyCodes
34940357954dad35ddcf39aa6c9bc9e5cd1748eb
9e3d117d17025b3b587c5a80638cb8b3de754195
refs/heads/master
2020-07-19T13:36:05.270908
2018-12-15T08:54:30
2018-12-15T08:54:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
850
py
import os from datetime import datetime from time import sleep from random import choice import requests from agents import AGENTS url = 'http://www.ziroom.com/detail/info' params = { 'id': '61155405', 'house_id': '60185997', } headers = { 'User-Agent': choice(AGENTS), } while True: resp = request...
[ "youchen.du@gmail.com" ]
youchen.du@gmail.com
f588bf0d916ba7a047741568bb2946f4fd4c309d
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/53/usersdata/89/22195/submittedfiles/matriz2.py
cd1384dfef6761b0fbf48eaf1aa1f3eaef0a4bc4
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
1,491
py
# -*- coding: utf-8 -*- from __future__ import division import numpy as np def somaDiagonalPrincipal(a): soma=0 for i in range(0,a.shape[0],1): soma=soma+a[i,i] return soma def somaDiagonalSecundaria(a): soma=0 for i in range(0,a.shape[0],1): soma=soma+a[i,a.shape[0]-...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b0e675a66588e8634b1b1524e860f5399ed48426
051910d10f4597cd1148207b1f5f2030c01d7ddf
/py/src/consts.py
e63df96ef48d5d3fb483637f645611bd156ae172
[ "MIT" ]
permissive
LaplaceKorea/rosettaboy
831cd285e1a305690f2ee76861ccff91d77fa4a7
fb238cb8b73eb7903ce8b9b298896c549e75fccb
refs/heads/master
2023-08-15T15:41:36.459790
2021-10-12T12:13:55
2021-10-12T12:13:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,381
py
class Mem: VBLANK_HANDLER = 0x40 LCD_HANDLER = 0x48 TIMER_HANDLER = 0x50 SERIAL_HANDLER = 0x58 JOYPAD_HANDLER = 0x60 VRAM_BASE = 0x8000 TILE_DATA_TABLE_0 = 0x8800 TILE_DATA_TABLE_1 = 0x8000 BACKGROUND_MAP_0 = 0x9800 BACKGROUND_MAP_1 = 0x9C00 WINDOW_MAP_0 = 0x9800 WINDOW_...
[ "shish@shishnet.org" ]
shish@shishnet.org
a7a7d34db8b105e67c352abaceb211f4a7e084c3
a97f789530412fc1cb83170a11811f294b139ee8
/疯狂Python讲义/codes/12/12.6/writebytes_test.py
36e61f54a785fdf550bc07aebcbd19870b13ad75
[]
no_license
baidongbin/python
3cebf2cc342a15b38bf20c23f941e6887dac187a
1c1398bff1f1820afdd8ddfa0c95ccebb4ee836f
refs/heads/master
2021-07-21T19:23:32.860444
2020-03-07T11:55:30
2020-03-07T11:55:30
195,909,272
0
1
null
2020-07-21T00:51:24
2019-07-09T01:24:31
Python
UTF-8
Python
false
false
413
py
import os f = open('y.txt', 'wb+') # os.linesep 代表当前操作系统上的换行符 f.write(('我爱Python' + os.linesep).encode('utf-8')) f.writelines((('土门壁甚坚,' + os.linesep).encode('utf-8'), ('杏园度亦难。' + os.linesep).encode('utf-8'), ('势异邺城下,' + os.linesep).encode('utf-8'), ('纵死时犹宽。' + os.linesep).enc...
[ "baidongbin@thunisoft.com" ]
baidongbin@thunisoft.com
1f31c768f9d581da1b7ad412a23ad6d4e24ce3e6
ede5e159641ba71a1a25a50a1328c11175459cce
/day-3/generate.py
d2f956f398b09d0fff8c03fbfb6e5c34d5a4d14d
[ "BSD-3-Clause" ]
permissive
sbu-python-summer/python-tutorial
1cf23c700b7b2588680ad78a06a3582dfcce873b
c93ac1d75188d762df7d17df7045af39dbc1bee8
refs/heads/master
2021-01-20T18:08:21.393092
2017-06-16T18:50:06
2017-06-16T18:50:06
90,908,339
1
1
null
null
null
null
UTF-8
Python
false
false
153
py
# generate data for a histogram example import numpy as np N = 100 a = 10*np.random.randn(N) for i in range(N): print("{} {}".format(i, a[i]))
[ "michael.zingale@stonybrook.edu" ]
michael.zingale@stonybrook.edu
7848ffce0b6988c96aae1efeb96a21b0d8bb93f4
c762ab8c1c25ffa97229a62ff43a33543093f963
/venv/bin/easy_install
06e9fd8505708c760e9975bfea10710ea86251e7
[ "Apache-2.0" ]
permissive
nahyunkwon/multi-ttach
e68948d66541e85b764216efc54a82f6fc9ac044
971d0d93cc39f295deb23ea71146647f6db50ebc
refs/heads/master
2023-08-09T18:25:31.658950
2023-07-24T17:46:04
2023-07-24T17:46:04
297,783,964
0
1
Apache-2.0
2021-04-07T07:46:24
2020-09-22T22:08:53
G-code
UTF-8
Python
false
false
458
#!/Users/kwon/PycharmProjects/digital_fabrication_studio/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\...
[ "skgus2624@gmail.com" ]
skgus2624@gmail.com
ad94567b4862afe2ff1de2f46b5864cbb56a525b
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_162711.80-000950.8/sdB_SDSSJ_162711.80-000950.8_lc.py
29d244111b17ca32fa317154ab63ad362a67cc25
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[246.799167,0.164111], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_SDSSJ_162711.80-000950.8 /sdB_SDSSJ_162711.80-000950.8_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.01038889...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
67cc8ae0e9b2a05fb85c2ca88cb58905348d3cf1
141545126466a00f32247dfa40e067ec049b0fa4
/Programming Basics Python/Exam Problems 20042019/Easter Shop.py
24f0f9d5278dd658f8d045e6e6d0eab1bb4ce257
[]
no_license
RadkaValkova/SoftUni-Web-Developer
83314367172a18f001e182b4e57f7ca0502ad1fc
61d3414373498bb6009ae70e8d17f26cd2d88ea5
refs/heads/main
2023-06-01T02:11:06.606370
2021-06-29T19:39:19
2021-06-29T19:39:19
325,611,606
1
0
null
null
null
null
UTF-8
Python
false
false
629
py
start_eggs = int(input()) sold_eggs = 0 fill_eggs = 0 available_eggs = start_eggs while True: command = input() if command == 'Close': print('Store is closed!') print(f'{sold_eggs} eggs sold.') break eggs_number = int(input()) if command == 'Buy': if available_eggs < egg...
[ "radka_valkova@abv.bg" ]
radka_valkova@abv.bg
cac5a5118c1caa62049a0352cf2b96d18328b009
068d271e241d8cdb46dbf4243166e4b8ee7025b2
/Django/rbac/day69/luffy_permission/rbac/middlewares/rbac.py
05e05715e769339255dc4cd45e4b8f209919f427
[]
no_license
caiqinxiong/python
f6e226e76cb62aac970bcfbcb6c8adfc64858b60
9029f6c528d2cb742b600af224e803baa74cbe6a
refs/heads/master
2023-05-26T19:41:34.911885
2020-05-15T09:02:08
2020-05-15T09:02:08
195,261,757
1
0
null
2021-06-10T23:33:33
2019-07-04T15:01:42
JavaScript
UTF-8
Python
false
false
1,122
py
from django.utils.deprecation import MiddlewareMixin from django.shortcuts import HttpResponse, redirect, reverse from django.conf import settings import re class RbacMiddleWare(MiddlewareMixin): def process_request(self, request): # 获取当前访问的页面 url = request.path_info # index # 白名单 ...
[ "13269469526@163.com" ]
13269469526@163.com
2cd69de0ed6caab0657b020ebf567283aa2001c4
52a32a93942b7923b7c0c6ca5a4d5930bbba384b
/dojo/db_migrations/0051_regulation_categories.py
2fe6ff5d352fd9d2bde9377ad6d5aaf8ae2c4bdb
[ "MIT-open-group", "GCC-exception-2.0", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LGPL-3.0-only", "GPL-3.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-3.0-or-later", "IJG", "Zlib", "LicenseRef-scancode-proprietary-license", "PSF-2.0", "LicenseRef-scancode-python-cwi...
permissive
DefectDojo/django-DefectDojo
43bfb1c728451335661dadc741be732a50cd2a12
b98093dcb966ffe972f8719337de2209bf3989ec
refs/heads/master
2023-08-21T13:42:07.238370
2023-08-14T18:00:34
2023-08-14T18:00:34
31,028,375
2,719
1,666
BSD-3-Clause
2023-09-14T19:46:49
2015-02-19T17:53:47
HTML
UTF-8
Python
false
false
810
py
# Generated by Django 2.2.15 on 2020-08-30 21:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dojo', '0050_deduplication_on_engagement'), ] operations = [ migrations.AlterField( model_name='regulation', name='...
[ "noreply@github.com" ]
DefectDojo.noreply@github.com
ca40498aa30d2a1e5baee83adfbb27bbb25c2bfa
f18125b848e37a64e35136a90cf4694e52eb9fcc
/teek/_timeouts.py
13563144be59e5b03aa5f93e5c8b5b14d4b72708
[ "MIT" ]
permissive
carlbordum/teek
d19271dfe11e3e77052b1a3c215ddf6a9d50e440
a931b468744c8236fd4ce6f1dc3a8c4829d59db3
refs/heads/master
2020-04-16T11:41:10.909230
2019-01-13T19:24:16
2019-01-13T19:24:16
165,547,247
0
0
null
2019-01-13T19:48:26
2019-01-13T19:48:26
null
UTF-8
Python
false
false
2,489
py
import teek as tk from teek._tcl_calls import make_thread_safe # there's no after_info because i don't see how it would be useful in # teek class _Timeout: def __init__(self, after_what, callback, args, kwargs): if kwargs is None: kwargs = {} self._callback = callback self._...
[ "akuviljanen17@gmail.com" ]
akuviljanen17@gmail.com
3c2f70f7d8cb1b239b139682b5e5bfd6579d4cb8
02c4c52f2f630df77bc25994aee13a7530e3136d
/012016/python/xmlParsing.py
ec2f58145a53178b29ba7dc467dc309ce4c9fc3c
[]
no_license
abgoswam/2016
ac7d61828bc5fda8c003f135bc250ed57d03ae4c
307844ba74bf302c290a4e2b4792a096e0c3cb56
refs/heads/master
2020-04-15T14:03:49.674650
2016-12-09T02:19:44
2016-12-09T02:19:44
57,982,844
1
0
null
null
null
null
UTF-8
Python
false
false
3,555
py
# -*- coding: utf-8 -*- """ Created on Sun Jan 10 07:38:36 2016 @author: agoswami Code from : http://www.blog.pythonlibrary.org/2013/04/30/python-101-intro-to-xml-parsing-with-elementtree/ """ import time import xml.etree.ElementTree as xml import xml.etree.cElementTree as ET import xml.dom.minidom as minidom #htt...
[ "abgoswam@gmail.com" ]
abgoswam@gmail.com
17f286bd52e1fda213acc5e1347e4d32bd730c24
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/389/usersdata/346/73669/submittedfiles/poligono.py
2d92908686c389fe16d305bc44eb0541a9bdb9f1
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
156
py
# -*- coding: utf-8 -*- #ENTRADA n= int(input('Digite quantos lados deve ter o seu polígono: ') #PROCESSAMENTO nd = (n*(n-3))/2 #SAÍDA print('%.1f' % nd)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a23a188a9a220ca25ffaec14f74dd0d311ecb76a
ba3be84d355e90860479fc2a0d92b536c377c643
/PYTHON/Advance/Python Controls/py_Frame2.py
d9e598e1135bffa05661b601196ac36c71774648
[]
no_license
vipin26/python
c62a3427511658ff292085fc382c5b3b3ff4d609
e8442b84c385ddef972d6a514e471d8eba8af0a3
refs/heads/master
2020-09-29T12:39:52.775466
2019-12-15T05:44:31
2019-12-15T05:44:31
227,034,374
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
from Tkinter import * top = Tk() top.geometry("500x500") #width="200", height="200" f1 = Frame(top,bg="green") f1.pack(side="left",fill=BOTH,expand=1) f2 = Frame(top,bg="Red", width="200", height="200") f2.pack(side="right",fill=BOTH,expand=1) b1= Button(f1,text="Button 1"); b1.pack() b2= Button(f2,text="Button 2")...
[ "58661640+vipin26@users.noreply.github.com" ]
58661640+vipin26@users.noreply.github.com
2749a89da17d91be60716423a5b52e513374404b
7e325da0ec25a56158f4a47acf6f594548a72384
/users/migrations/0005_profile_stripe_customer_id.py
97a12f3ccd87c340090928f9137cccccc4257501
[ "MIT" ]
permissive
drewvpham/xclude.com
5102a921721c508552648ee03f5a8e1b0bafb6e8
103e89e2326c4c6fbfab819c43bc4e4634913bc9
refs/heads/master
2022-12-16T06:36:00.631404
2019-12-29T20:35:16
2019-12-29T20:35:16
222,317,889
0
0
MIT
2022-12-07T23:54:06
2019-11-17T21:58:47
Python
UTF-8
Python
false
false
428
py
# Generated by Django 2.2.7 on 2019-12-24 16:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0004_profile_one_click_purchasing'), ] operations = [ migrations.AddField( model_name='profile', name='stri...
[ "drewvpham@gmail.com" ]
drewvpham@gmail.com
0e928393f712c9aa0b389fc8e611da0166635eb7
a3d6eb92c6fc6ed6095d10bc7b329cb8b4a8b166
/src/config.py
9f147f5f9b4dfea32202702abb0161c77899e708
[]
no_license
hgiesel/anki_straight_reward
ab29e6f154beba7c5f2f9bd9579c21cdd942b218
3fe72255f667d2eb544afb2541a1eb974c23eede
refs/heads/master
2022-12-23T22:38:28.432113
2022-12-12T13:46:36
2022-12-12T13:46:36
245,190,627
19
4
null
2023-08-28T16:01:55
2020-03-05T14:53:08
Python
UTF-8
Python
false
false
2,381
py
from anki.cards import Card from aqt import mw from .types import StraightSetting DEFAULT_SETTINGS = StraightSetting(2, True, 5, 5, 130, 250) KEYWORD = "straightReward" def serialize_setting(setting: StraightSetting) -> dict: return { "enableNotifications": setting.enable_notifications, "straig...
[ "hengiesel@gmail.com" ]
hengiesel@gmail.com
314181b6076dd4f353ab40ca9d5695c63949d5ba
c0a9460591dcb5a322c1c5ec8b67e1d775f8f4ba
/advec_1d/dg_modal_gpu.py
d4b79c2b6d4cba9f5cc88e1e69a5f264c41dfdf1
[]
no_license
wbkifun/my_research
aca8f5132d03de2e15adc3b0ded164fbd89e38a3
eb7e61f5405834dcbea240665bdc819f4b3f97bf
refs/heads/master
2020-12-24T16:40:29.722161
2016-03-07T00:31:15
2016-03-07T00:31:15
5,176,828
0
0
null
null
null
null
UTF-8
Python
false
false
3,676
py
#=============================================================================== # DG method with modal basis functions # 1-D advection equation # ------------------------------------------------------------------------------ # # Last update: 2012.4.26 # ----------------------------------------------------------------...
[ "kh.kim@kiaps.org" ]
kh.kim@kiaps.org
2ac42e0a73d94a3ea63cdde82603cce7f4879b66
b697b98db859c061c1174837deee1d6fc47d115e
/examples/spot/futures/futures_loan_interest_history.py
d11b8ced29894bbc52ba7c6b24d2585c250be296
[ "MIT" ]
permissive
leozaragoza/binance-connector-python
7e684d6e68ff7d580b7e3fa83f952540a79b1120
3311d102c9e788e3d71047f0af103c00d1ae2162
refs/heads/master
2023-07-15T12:27:50.041388
2021-08-22T17:08:38
2021-08-22T17:08:38
396,354,910
3
0
MIT
2021-08-22T17:08:38
2021-08-15T13:12:41
Python
UTF-8
Python
false
false
268
py
#!/usr/bin/env python import logging from binance.spot import Spot as Client from binance.lib.utils import config_logging config_logging(logging, logging.DEBUG) key = "" secret = "" client = Client(key, secret) logging.info(client.futures_loan_interest_history())
[ "liang.shi@protonmail.com" ]
liang.shi@protonmail.com
92f9238ad3092c97ec4b095701f67d1c55cfd079
5d302c38acd02d5af4ad7c8cfe244200f8e8f877
/String/1408. String Matching in an Array(Easy).py
adf72b4a7fde98423f8ff4a18cf2a13c73a92e79
[]
no_license
nerohuang/LeetCode
2d5214a2938dc06600eb1afd21686044fe5b6db0
f273c655f37da643a605cc5bebcda6660e702445
refs/heads/master
2023-06-05T00:08:41.312534
2021-06-21T01:03:40
2021-06-21T01:03:40
230,164,258
0
0
null
null
null
null
UTF-8
Python
false
false
725
py
class Solution: def stringMatching(self, words: List[str]) -> List[str]: store = set(); for i in range(len(words)): for j in range(len(words)): if len(words[i]) >= len(words[j]) and words[i] != words[j]: if words[i].find(words[j]) != -1: ...
[ "huangxingyu00@gmail.com" ]
huangxingyu00@gmail.com
b24094d77418e88f7477458debc1594cdeb2b6fa
021ce16e42120246557dfa210bef6e96a34623b6
/tornado_sqlalchemy_login/sqla/models.py
6769f29cf020d69ba5c5480e1a770a37fb2ae347
[ "Apache-2.0" ]
permissive
timkpaine/tornado-sqlalchemy-login
f455b95d60d392202b46758ff230259785f7dc19
499bc7d79926b79352a3b9abdb864815e9896274
refs/heads/main
2022-12-01T22:28:06.620106
2022-11-22T01:46:21
2022-11-22T01:46:21
230,801,513
1
0
Apache-2.0
2023-09-04T13:35:46
2019-12-29T20:46:05
Python
UTF-8
Python
false
false
2,109
py
import secrets from sqlalchemy import Column, Integer, String, Boolean, ForeignKey from sqlalchemy.ext.hybrid import hybrid_property from sqlalchemy.orm import relationship from sqlalchemy.ext.declarative import declarative_base TOKEN_WIDTH = 64 Base = declarative_base() class User(Base): __tablename__ = "users"...
[ "t.paine154@gmail.com" ]
t.paine154@gmail.com
3e2af68956ab395d7d6c3ee1a4238c837c4b51cc
b2472967910be9c12576f0f97d33bca0576a8667
/atcoder-old/2019/0901_abc139/d.py
0f4f619ee2e61c90c3c79b0e44b9d3a7b51c02c3
[]
no_license
ykmc/contest
85c3d1231e553d37d1235e1b0fd2c6c23f06c1e4
69a73da70f7f987eb3e85da503ea6da0744544bd
refs/heads/master
2020-09-01T22:56:10.444803
2020-07-14T11:36:43
2020-07-14T11:36:43
217,307,953
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
# Python3 (3.4.3) import sys input = sys.stdin.readline # ------------------------------------------------------------- # function # ------------------------------------------------------------- # ------------------------------------------------------------- # main # -------------------------------------------------...
[ "34961813+ykmc@users.noreply.github.com" ]
34961813+ykmc@users.noreply.github.com
368d3a8e796916e2e6cadcf0e634c978a7ef2699
ae7ba9c83692cfcb39e95483d84610715930fe9e
/martinkersner/train-CRF-RNN/crfasrnn.py
472a86f853e687aa057de49dcc8aa8957733f63d
[]
no_license
xenron/sandbox-github-clone
364721769ea0784fb82827b07196eaa32190126b
5eccdd8631f8bad78eb88bb89144972dbabc109c
refs/heads/master
2022-05-01T21:18:43.101664
2016-09-12T12:38:32
2016-09-12T12:38:32
65,951,766
5
7
null
null
null
null
UTF-8
Python
false
false
3,462
py
#!/usr/bin/env python # Martin Kersner, m.kersner@gmail.com # 2016/03/03 from __future__ import print_function caffe_root = '../caffe-crfrnn/' import sys sys.path.insert(0, caffe_root + 'python') import os import cPickle import logging import numpy as np import pandas as pd from PIL import Image as PILImage import cS...
[ "xenron@outlook.com" ]
xenron@outlook.com
f0ee9e58c7029957af4366c984e9861db7dfc8e2
6ffed3351dd608ce311a7c04d813e4cbcc283d6f
/djongo_project/files/api/serializers.py
e0c2ca3d77901c61c0d12799e99a053ec5653fad
[]
no_license
navill/ai_2-1
bc2311dd5e8839c6bd4112965b7348252408785a
7dd782b93286b7a407c433aa55a3b8f3f626fe89
refs/heads/master
2023-01-06T19:09:26.051130
2020-10-07T02:08:15
2020-10-07T02:08:15
290,131,119
0
0
null
2020-10-08T14:45:37
2020-08-25T06:20:46
Python
UTF-8
Python
false
false
1,396
py
from typing import * from rest_framework import serializers from rest_framework.reverse import reverse from accounts.models import CommonUser from utilities.file_utils import EncryptHandler from files.models import CommonFile class FileManageSerializer(serializers.ModelSerializer): user = serializers.PrimaryKey...
[ "blue_jihoon@naver.com" ]
blue_jihoon@naver.com
59f182eac7ff61fa54275583dd65186678b519c5
ef34e68712fb4aa9a1320c4e1e370a24de34fcb4
/nlu/utils/environment/authentication.py
31b46bde24d6ece7e8670f0fe028b52bcba4a11a
[ "Apache-2.0" ]
permissive
milyiyo/nlu
dd656e77eedf2c831482edfd4ec59490b25d3954
d209ed11c6a84639c268f08435552248391c5573
refs/heads/master
2023-08-16T00:03:10.326392
2021-10-16T03:05:49
2021-10-16T03:05:49
414,223,627
0
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
from nlu.utils.environment.env_utils import * def install_and_import_healthcare(JSL_SECRET): """ Install Spark-NLP-Healthcare PyPI Package in current enviroment if it cannot be imported and liscense provided""" import importlib try: importlib.import_module('sparknlp_jsl') except ImportError: ...
[ "christian.kasim.loan@gmail.com" ]
christian.kasim.loan@gmail.com
71ca8542c4f7c61d9328341ec14b583e4d30c82d
e4920c4fe4290bde524e0c141189f80fddfe44b7
/info/migrations/0023_remove_message_recaptcha.py
85b4c72c01e9b2dc98df1f027f92d51e1b879720
[]
no_license
ShahadatShuvo/Django_portfolio
42af2b0aa686bff08730cdb105f95d6b63adb620
795ed7cbb6444245af08582ea63f57a0f32679a0
refs/heads/master
2023-05-30T01:43:50.409584
2021-06-14T08:29:18
2021-06-14T08:29:18
376,372,632
1
0
null
null
null
null
UTF-8
Python
false
false
330
py
# Generated by Django 2.2.16 on 2020-12-22 17:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('info', '0022_auto_20201222_1655'), ] operations = [ migrations.RemoveField( model_name='message', name='recaptcha', ...
[ "shahadat@baiust.edu.bd" ]
shahadat@baiust.edu.bd
e8720a42e2d433fa822311add8bf6a44faced378
bda32ee120fd07499fad1e5e973249ac15861200
/ValidSudoku.py
5996590c78e0207e3f98330665a34507963f42cf
[]
no_license
congyingTech/leetcode
5f76d11a283115e46fdf4f295cf0279f53e692a1
35ff5db1ee6abcb3cf1144a9bf5420758e31e6ec
refs/heads/master
2021-01-21T04:41:20.195451
2016-06-16T07:03:09
2016-06-16T07:03:09
54,643,108
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
#-*- coding:utf-8 -*- ''' Created on Mar 30, 2016 @author: congyingw ''' #Sudoku的要求有三条:每行的数只出现一次,每列的数只出现一次,每个九宫格数只出现一次。 #所以我们要验证这三个条件逐个遍历一遍。 class Solution: def isValidSudoku(self, board): for i in range(0, 9): #第i行(固定的行)j列 or 第j行i列(固定的列) if not self.isValidList([board[i][j] ...
[ "congyingTech@163.com" ]
congyingTech@163.com
94bb8b2a0fb2fd8136b0743980291df09b163012
850001831b1fcdd4d27e328b356fc34909ca2917
/tests/test_map.py
77237924f7d6561097ffea685bfbe60e67c465bc
[ "BSD-3-Clause" ]
permissive
yidiq7/pathos
b337353ccfe447866c46a4a784a7908c2f3fe31e
7e4fef911dc0283e245189df4683eea65bfd90f0
refs/heads/master
2022-08-24T08:43:34.009115
2020-05-27T12:18:21
2020-05-27T12:18:21
267,310,390
0
0
NOASSERTION
2020-05-27T12:14:50
2020-05-27T12:14:47
null
UTF-8
Python
false
false
2,170
py
#!/usr/bin/env python # # Author: Mike McKerns (mmckerns @caltech and @uqfoundation) # Copyright (c) 1997-2016 California Institute of Technology. # Copyright (c) 2016-2020 The Uncertainty Quantification Foundation. # License: 3-clause BSD. The full license text is available at: # - https://github.com/uqfoundation/pa...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
e93d618ef2a5f5ad993261c09a6a1b7b73293570
0fa1d839550f4bfb1d9d0860915770071422f2cd
/parrot.py
51dd4bbc1ed740272deb7e105a164b4e9cb6f887
[]
no_license
crystalDf/Python-Crash-Course-2nd-Edition-Chapter-07-Input
b996d5b5bfbf20be039ac2e2314e51d6a51545a1
a8838fe405e4ce70e827a6ace98f3502b3a57f45
refs/heads/master
2023-06-10T08:12:07.675473
2021-06-20T14:45:01
2021-06-20T14:45:01
378,668,714
1
1
null
null
null
null
UTF-8
Python
false
false
460
py
message = input("Tell me something, and I will repeat it back to you: ") print(message) prompt = "\nTell me something, and I will repeat it back to you:" prompt += "\nEnter 'quit' to end the program. " message = "" while message != 'quit': message = input(prompt) if message != 'quit': print(message) ...
[ "chendong333@gmail.com" ]
chendong333@gmail.com
e3cb34e969e398b08d9c43935908f7b26d4014f0
000a4b227d970cdc6c8db192f4437698cb782721
/python/helpers/typeshed/stubs/stripe/stripe/api_resources/charge.pyi
2e3467e67bc5e6b90113fd9988cf281a375bde2c
[ "Apache-2.0", "MIT" ]
permissive
trinhanhngoc/intellij-community
2eb2f66a2a3a9456e7a0c5e7be1eaba03c38815d
1d4a962cfda308a73e0a7ef75186aaa4b15d1e17
refs/heads/master
2022-11-03T21:50:47.859675
2022-10-19T16:39:57
2022-10-19T23:25:35
205,765,945
1
0
Apache-2.0
2019-09-02T02:55:15
2019-09-02T02:55:15
null
UTF-8
Python
false
false
851
pyi
from typing import Any from stripe import api_requestor as api_requestor from stripe.api_resources.abstract import ( CreateableAPIResource as CreateableAPIResource, ListableAPIResource as ListableAPIResource, UpdateableAPIResource as UpdateableAPIResource, custom_method as custom_method, ) class Charg...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
37ed82c45df03e22c5d1a9edd666017218ee89f1
c9500ad778b8521aaa85cb7fe3239989efaa4799
/plugins/zscaler/icon_zscaler/util/helpers.py
3a839a924b1fefd1411e0082e08af7540ce22557
[ "MIT" ]
permissive
rapid7/insightconnect-plugins
5a6465e720f114d71b1a82fe14e42e94db104a0b
718d15ca36c57231bb89df0aebc53d0210db400c
refs/heads/master
2023-09-01T09:21:27.143980
2023-08-31T10:25:36
2023-08-31T10:25:36
190,435,635
61
60
MIT
2023-09-14T08:47:37
2019-06-05T17:05:12
Python
UTF-8
Python
false
false
4,440
py
from insightconnect_plugin_runtime.exceptions import PluginException from re import sub, match, split from typing import Union, Any, Dict from icon_zscaler.util.constants import Assistance, Cause CAMEL_CASE_REGEX = r"\b[a-z0-9]+([A-Z][a-z]+[0-9]*)*\b" PASCAL_CASE_REGEX = r"\b[A-Z][a-z]+[0-9]*([A-Z][a-z]+[0-9]*)*\b" CA...
[ "noreply@github.com" ]
rapid7.noreply@github.com
0292b72004bd85deca84805fc86f18693d557717
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/JFLADuABfkeoz8mqN_5.py
418dc4c327c7b6b0b704d40cb3c93aa5c599e590
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
class Person: def __init__(self, name, age): self.name = name self.age = age ​ def compare_age(self, other): modifier = '' if self.age < other.age: modifier = 'older than' elif self.age == other.age: modifier = 'the same age as' else: modifier = 'younger than' ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
ca93607b79207cc78004efd8c339bc2ab7e9d567
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5670465267826688_0/Python/yagao0o/dijkstra.py
96ca68f0bdc39cf5943ae362656074c360209c95
[]
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
2,207
py
# author: yagoa0o # date : 2015/04/11 class Solution(): multi_square = {'1': {'1': '1', 'i': 'i', 'j': 'j', 'k': 'k'}, 'i': {'1': 'i', 'i': '-1', 'j': 'k', 'k': '-j'}, 'j': {'1': 'j', 'i': '-k', 'j': '-1', 'k': 'i'}, 'k': {'1': 'k', 'i': 'j', 'j': ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
9b3c43e2159eccae5ed0ba80f67a626831e04c62
722d8f2aa69095dbdbe32ecdeebb4bcf20e2ea3c
/tests/test_issue10_17.py
e54ddd56630de1e5e811d12e7ec3f3da0d804333
[]
permissive
clach04/pyqrcodeNG
1bad85bea9c2a5ca9bcda8849e35af51f8e394f3
8033a915eca1946537002b8b271ea2cddb4e004b
refs/heads/master
2022-04-23T00:18:36.478138
2020-01-21T22:28:44
2020-01-21T22:28:44
259,402,644
0
0
BSD-3-Clause
2020-04-27T17:24:36
2020-04-27T17:24:35
null
UTF-8
Python
false
false
424
py
# -*- coding: utf-8 -*- """\ Tests against <https://github.com/mnooner256/pyqrcode/issues/17> and <https://github.com/heuer/pyqrcode/issues/10> Unicode issues. """ from __future__ import unicode_literals import pyqrcodeng as pyqrcode def test_issue_10_17(): qr = pyqrcode.create('John’s Pizza') assert qr ...
[ "heuer@semagia.com" ]
heuer@semagia.com
9148b220bb576626f27c0f2cfb3cb25ebbcd7139
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/ms_data/datatypes/facets/byte/byte_max_inclusive001_xsd/__init__.py
0444a6966ba5abae09b921e38485930982799bb6
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
173
py
from output.models.ms_data.datatypes.facets.byte.byte_max_inclusive001_xsd.byte_max_inclusive001 import ( FooType, Test, ) __all__ = [ "FooType", "Test", ]
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
274befd704407b98b615b5efb59b5c392ba2d396
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/sql/outbound_firewall_rule.py
5a8309fc8ccaf95892a167a53395faad58b8bd6a
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
7,974
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
[ "noreply@github.com" ]
morrell.noreply@github.com
fbc8f567fc64ca0f8626efc764da3297fb9e5918
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/contrib/tensor_forest/hybrid/python/models/stochastic_soft_decisions_to_data_then_nn.py
e916a8734c524c83772576e38418e6667fa6b0c9
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
1,954
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
290d3ea467c81eb4adcf2a72c26529c2a9e07eb4
1a2ca64839723ede3134a0781128b0dc0b5f6ab8
/ExtractFeatures/Data/jsinix/Problem10.py
8f8dd302f291fb441406f1d44ec06aae2c72032e
[]
no_license
vivekaxl/LexisNexis
bc8ee0b92ae95a200c41bd077082212243ee248c
5fa3a818c3d41bd9c3eb25122e1d376c8910269c
refs/heads/master
2021-01-13T01:44:41.814348
2015-07-08T15:42:35
2015-07-08T15:42:35
29,705,371
9
3
null
null
null
null
UTF-8
Python
false
false
459
py
# Question: Summation of primes # Problem 10 # The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. # Find the sum of all the primes below two million. # Answer: 142913828922 #!/usr/bin/python def is_prime(num): for j in range(2,num): if (num % j) == 0: return False return True list1 = [...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
abdf25273170a0e464ee6c988a08c42a21bbd8b0
f3a1629a46f5c3cbf7314c54fc36be3156146517
/venv/bin/sqlformat
f01aa4e0e6285b25c7aec0571805920953267bed
[]
no_license
AlexsandroMO/qualiy_applications
ec4cdbcbacc9f403d7d34ca9573af44df9c9230a
08656c8368f10d54e5b9c8e4a758989239224dc6
refs/heads/main
2023-01-13T03:50:21.779274
2020-11-14T19:05:20
2020-11-14T19:05:20
305,471,783
0
0
null
null
null
null
UTF-8
Python
false
false
284
#!/Users/alexsandromonteiro/Desktop/Prog_Python/qualiy_applications/venv/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from sqlparse.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "sandrobass@hotmail.com" ]
sandrobass@hotmail.com
da8b517d85a513db952f23fb60cba730404ee688
3c8cc407d7547f8702bfe06deb5f1c9087778ce3
/hiword/dataloader.py
4d6c1c1a4918a7d6da18e55b56ca7658f88ceae8
[ "Apache-2.0" ]
permissive
jadbin/hiword
accaebbdee899e8e3ed11e024d6c488bca36c445
7789412747a2b6b59ee974f2a2efd57e355e3282
refs/heads/master
2023-04-06T21:57:17.260338
2023-03-15T16:21:49
2023-03-15T16:21:49
166,003,998
6
1
null
null
null
null
UTF-8
Python
false
false
2,158
py
import os from collections import defaultdict from os import listdir from os.path import join, dirname, isdir class DictLoader: def __init__(self): self.dict = self._load_dict() def word_freq(self, word): return self.dict[word] @staticmethod def _load_dict(): res = defaultdic...
[ "jadbin.com@hotmail.com" ]
jadbin.com@hotmail.com
db0ec3865a75078674e752309dad2296cd1bbd26
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/19_数学/计算几何/直线/practice/面试题 16.14. 最佳直线 copy.py
9a95efaf08f17ae51ca4cf2e9edb0dae3b4f6f05
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
3,033
py
from typing import List from collections import defaultdict def gcd(a, b): return b if a == 0 else gcd(b % a, b) class Solution: def bestLine(self, points: List[List[int]]) -> List[int]: n = len(points) res = [] maxCount = 0 for i in range(n): x1, ...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
d1d2cb8fa62f4abf11d0f3c031e100adb3008d82
6ed01f4503fc9de234a561c945adff7cf4b1c81b
/ncar_lib/incites_authors/incites_people_reporter.py
24328f4c760673ff83a6c2cbdde1365ae3f9d3f8
[]
no_license
ostwald/python-lib
b851943c913a68424a05ce3c7b42878ff9519f68
9acd97ffaa2f57b3e9e632e1b75016549beb29e5
refs/heads/master
2021-10-28T06:33:34.156095
2021-10-21T23:54:49
2021-10-21T23:54:49
69,060,616
0
1
null
2018-06-21T16:05:30
2016-09-23T21:04:46
Roff
UTF-8
Python
false
false
5,465
py
""" """ import os, sys from UserList import UserList from find_person import PersonFinder, resolveFullName from data_filter import FilteredAuthorData from HyperText.HTML40 import * from html import HtmlDocument class InCitesAuthorInfo: def __init__ (self, id, finder, matches): """ names are derived from inCites...
[ "ostwald@ucar.edu" ]
ostwald@ucar.edu
e5159573514325ddff9f0569957cbbf720a52f0e
a34ec07c3464369a88e68c9006fa1115f5b61e5f
/B_HashTable/Basic/L1_2593_Find_Score_of_an_Array_After_Marking_All_Elements.py
c21970e05cffcfd0aa4f1a71aaa041f071a3ed8a
[]
no_license
824zzy/Leetcode
9220f2fb13e03d601d2b471b5cfa0c2364dbdf41
93b7f4448a366a709214c271a570c3399f5fc4d3
refs/heads/master
2023-06-27T02:53:51.812177
2023-06-16T16:25:39
2023-06-16T16:25:39
69,733,624
14
3
null
2022-05-25T06:48:38
2016-10-01T10:56:07
Python
UTF-8
Python
false
false
493
py
""" https://leetcode.com/problems/find-score-of-an-array-after-marking-all-elements/ Implement the problem description using a seen array """ from header import * class Solution: def findScore(self, A: List[int]) -> int: seen = [0]*(len(A)+2) ans = 0 for i, x in sorted(enumerate(A), key=lam...
[ "zhengyuan.zhu@mavs.uta.edu" ]
zhengyuan.zhu@mavs.uta.edu
6831b0fbb7a6dadcaef55a6df4497df57ec91df1
2b45cbccd03fb09be78b2241d05beeae171a2e18
/字节跳动测试开发工程师面试准备/reverseList.py
58fa0f6880134d2ea79618baafedb614640d8d8f
[]
no_license
MaoningGuan/LeetCode
c90f78ce87a8116458a86c49dbe32e172036f7b4
62419b49000e79962bcdc99cd98afd2fb82ea345
refs/heads/master
2023-01-03T14:52:04.278708
2020-11-01T12:15:41
2020-11-01T12:15:41
282,859,997
3
0
null
null
null
null
UTF-8
Python
false
false
2,567
py
# -*- coding: utf-8 -*- """ 206. 反转链表 反转一个单链表。 示例: 输入: 1->2->3->4->5->NULL 输出: 5->4->3->2->1->NULL 进阶: 你可以迭代或递归地反转链表。你能否用两种方法解决这道题? """ # Definition for singly-linked list. class ListNode: def __init__(self, x): self.val = x self.next = None def generateList(l: list) -> ListNode: prenode = ...
[ "1812711281@qq.com" ]
1812711281@qq.com
26c93247ee4200baadf6355f694c14262a0ea35e
0d09e32620e2e82f243ba86e2cc7bec19e521b1b
/Exercises/01-Sequential-Structure/ex06.py
ac27e05e4d8dd83905a5665183e94f38cefa3c27
[]
no_license
hikarocarvalho/Python_Wiki
401f7466377f2053cda8bfa850afd0bd64cce047
01f755ecc18de13a9ded794ece9e7a8bd4ad7d9e
refs/heads/main
2023-06-14T08:37:10.728067
2021-07-12T20:24:41
2021-07-12T20:24:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
270
py
#the user gives the ray value #o usuário dá o valor do raio ray = float(input("Enter with the ray value: ")) #calculate the area of a circle #calcula a área do circulo area = ray**2 * 3.14 #Show the result #mostra o resultado print("The area of this circle is:",area)
[ "hikarofcarvalho@gmail.com" ]
hikarofcarvalho@gmail.com
65e75880a88ed030115589f4646788aa413fd91e
7f7213fe407f252b2323025c9b9e381a73474b7d
/drag_sheet/sds/check_files.py
077feba9a15d97280ae0c711e7c9b67f9866a925
[]
no_license
ahy3nz/graphene_build
0ce62c2123b8c39248048d2cafbd0aafdd06ff9a
44590b8db799136929fc06e490151f450ad30029
refs/heads/master
2021-06-20T07:28:20.958807
2019-07-03T19:48:24
2019-07-03T19:48:24
135,504,561
0
1
null
2018-08-06T21:47:17
2018-05-30T22:40:17
Python
UTF-8
Python
false
false
572
py
import os import itertools as it curr_dir = os.getcwd() sds_folders = ['10sds', '20sds', '30sds', '40sds', '50sds', '60sds', '70sds', '80sds', '90sds', '100sds'] k_folders = ['k50'] angle_folders = ['0'] trials = ['a', 'b', 'c'] for combo in it.product(sds_folders, k_folders, angle_folders,trials): si...
[ "alexander.h.yang@vanderbilt.edu" ]
alexander.h.yang@vanderbilt.edu
1cb4aefd9a5b1077a5c844f51cf26e0e25ef605b
f6761bd4b74ed9c3bc0e8f62e5a1db70c03096f0
/torch/nn/quantized/dynamic/modules/linear.py
7574dd53eb761570aa1b6445bc8593eba60de6c2
[ "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
MarisaKirisame/pytorch
b638790a0997d776ad4c5e4c77badc77e5dc94f9
59c5de4d0eda8d4f5494602034093933600d0a3d
refs/heads/master
2021-06-19T10:44:33.846286
2019-10-31T22:56:55
2019-10-31T22:58:28
218,881,408
2
0
NOASSERTION
2019-11-01T00:02:51
2019-11-01T00:02:51
null
UTF-8
Python
false
false
3,423
py
from __future__ import absolute_import, division, print_function, unicode_literals import torch from ....modules.linear import Linear as NNLinear import torch.nn.quantized as nnq class Linear(nnq.Linear): r""" A dynamic quantized linear module with quantized tensor as inputs and outputs. We adopt the same ...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
094f154dc9007753efa071553ad662baa9cb66f4
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v10/enums/types/matching_function_operator.py
11a366438b14b5a9625600a5fa27c1e72a1abe49
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
1,228
py
# -*- coding: utf-8 -*- # Copyright 2022 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...
[ "noreply@github.com" ]
GerhardusM.noreply@github.com
233695bb1c57dade93d46c11765d5914bc3e29e0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03039/s199470028.py
5afbcf0436e1e2a41276ee67cfaa4072153695af
[]
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
673
py
from itertools import combinations def solve(N, M, K): #A = [(n, m) for n in range(N) for m in range(M)] r = 0 for x in range(N): r += x * (N - x) * M * M for y in range(M): r += y * (M - y) * N * N return r def main(): N, M, K = map(int, input().split()) g1 = [1, 1] g2...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6aa35f7716f196962697548423b8318a68aeb789
981e6d9d34a91852407d45c4b7863779e228a516
/venv/bin/django-admin.py
92b413158aeac93a5d38ab2670da12a6bbeeaa4c
[]
no_license
starwayagency/astrolabium_viber_bot
5062ffcb7b35b3608f9434fd486e5806e9084ae1
ec4e699bbc32e7275da0f12d77a0ae5cf32d000e
refs/heads/master
2023-08-18T06:36:43.315701
2021-10-24T18:04:31
2021-10-24T18:04:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
710
py
#!/home/jurgeon/projects/astrolabium/astrolabium_viber_bot/venv/bin/python3 # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'dja...
[ "jurgeon018@gmail.com" ]
jurgeon018@gmail.com
87a8307caea5976b9dea43adb38dbb519f275bcd
3474b315da3cc5cb3f7823f19a18b63a8da6a526
/scratch/KRAMS/src/apps/scratch/jakub/nonlocal_averaging/2d_rotation.py
44dd801a3538e23552901d09a1db0e020abcbe31
[]
no_license
h4ck3rm1k3/scratch
8df97462f696bc2be00f1e58232e1cd915f0fafd
0a114a41b0d1e9b2d68dbe7af7cf34db11512539
refs/heads/master
2021-01-21T15:31:38.718039
2013-09-19T10:48:24
2013-09-19T10:48:24
29,173,525
0
0
null
2015-01-13T04:58:57
2015-01-13T04:58:56
null
UTF-8
Python
false
false
5,857
py
from ibvpy.api import \ TStepper as TS, RTraceGraph, TLoop, \ TLine, BCDof, IBVPSolve as IS, DOTSEval, FEDomain, FERefinementGrid,\ FEGrid, BCSlice from apps.scratch.jakub.mlab.mlab_trace import RTraceDomainListField from ibvpy.mats.mats2D.mats2D_sdamage.mats2D_sdamage import MATS2DScalarDamage from ibvpy...
[ "Axel@Axel-Pc" ]
Axel@Axel-Pc
2a09d365cb4047774eb081599078201fca564efa
4d8cfbfe6498d0808eefa8983b07940e006c49fb
/ges/forms.py
7da85805e7e5201851422ce41a3674ddf51edaf3
[]
no_license
nikolzp/ges_google
4b7d18e4fa039a0d4b21e5d71b2a249df958ed2b
fe89f150a624411867877491f127d71eff92bfc9
refs/heads/master
2020-03-12T00:59:24.072648
2018-04-20T14:43:38
2018-04-20T14:43:38
130,363,767
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
from django import forms class GesFilterForm(forms.Form): max_power = forms.IntegerField(label='Мощность от МВт', required=False) min_power = forms.IntegerField(label='Мощность до МВт', required=False) max_area = forms.IntegerField(label='Объем от кв.км', required=False) min_area = forms.IntegerField(...
[ "nikolzp@gmail.com" ]
nikolzp@gmail.com
92208027272a6e16363b60e6e399cc6ec08fcbb5
f3d757f421497e19f2de0d3be21b9ae381511577
/phoneconfirmation/urls.py
57e758f3e36f49419e6051dbeed37811f6ed3296
[ "MIT" ]
permissive
pinax/pinax-phone-confirmation
526ba350a5bbaaa58f229fad224cf9db41f5bcbc
102d997db0a7cc00bd862a94987338c25ba24f98
refs/heads/master
2023-06-22T15:57:32.364754
2019-04-11T23:59:58
2019-04-11T23:59:58
22,494,944
12
3
MIT
2019-04-11T23:46:54
2014-08-01T04:14:23
Python
UTF-8
Python
false
false
369
py
from django.conf.urls import url, patterns urlpatterns = patterns( "phoneconfirmation.views", url(r"^$", "phone_list", name="phone_list"), url(r"^confirm_phone/(\w+)/$", "confirm_phone", name="phone_confirm"), url(r"^action/$", "action", name="phone_action"), url(r"^get-country-for-code/$", "get_c...
[ "paltman@gmail.com" ]
paltman@gmail.com
bf1b684d24bbc4cf5a7179c2bf9f39cda4883aac
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-eihealth/huaweicloudsdkeihealth/v1/model/delete_nextflow_job_request.py
83b25425a82c6befc3917dc50bb320e6b8812723
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
4,327
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class DeleteNextflowJobRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is att...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
4b7ffa1ba61b1b2c13a7c33cbe25688ed235e748
673e829dda9583c8dd2ac8d958ba1dc304bffeaf
/data/multilingual/Latn.BAX/Mono_16/pdf_to_json_test_Latn.BAX_Mono_16.py
419f2ec7b49e7c247dfa03dc2764cd5ebdafafec
[ "BSD-3-Clause" ]
permissive
antoinecarme/pdf_to_json_tests
58bab9f6ba263531e69f793233ddc4d33b783b7e
d57a024fde862e698d916a1178f285883d7a3b2f
refs/heads/master
2021-01-26T08:41:47.327804
2020-02-27T15:54:48
2020-02-27T15:54:48
243,359,934
2
1
null
null
null
null
UTF-8
Python
false
false
303
py
import pdf_to_json as p2j import json url = "file:data/multilingual/Latn.BAX/Mono_16/udhr_Latn.BAX_Mono_16.pdf" lConverter = p2j.pdf_to_json.pdf_to_json_converter() lConverter.mImageHashOnly = True lDict = lConverter.convert(url) print(json.dumps(lDict, indent=4, ensure_ascii=False, sort_keys=True))
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
7e5bdb95eceb8d543706dd352ce4101905da500f
95c71453ed6cc6f9b94f38a3c1655680618d71a4
/kickstart/DE/EC.py
477f7b6f874fc7fe1f0ee7f7bd160a909212de3b
[]
no_license
ZX1209/gl-algorithm-practise
95f4d6627c1dbaf2b70be90149d897f003f9cb3a
dd0a1c92414e12d82053c3df981897e975063bb8
refs/heads/master
2020-05-16T14:56:34.568878
2019-12-27T07:37:11
2019-12-27T07:37:11
183,116,501
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
from collections import Counter def isOdd(n): return n % 2 def sortl(ls): sums = Counter() tmpl = [] for i in range(len(ls)): sums[i] = sum(ls[i]) for i, j in sums.most_common(): tmpl.append(ls[i]) return tmpl def rate(lhu,lla): win = 0 total = 0 for hu in lhu: ...
[ "1404919041@qq.com" ]
1404919041@qq.com
2180fbd40a9cda6cf6e7180218f7f525f2c351ce
664269ec1346b69b1af11d041d5352921ebef060
/sample-apps/rds/sample-app/src/pymysql/_compat.py
252789ec4460a3ee383f18f8af26e42ba82b666d
[ "Apache-2.0" ]
permissive
awslabs/aws-servicebroker
0f288d4da0201a85e99f27bf7d95cc84d30d2f93
b28f42ad1e5861fd3009a10ad4bd511a384d3943
refs/heads/main
2023-08-30T01:09:05.351854
2023-07-06T18:09:22
2023-07-06T18:09:22
125,404,208
468
165
Apache-2.0
2023-08-30T14:07:12
2018-03-15T17:36:28
Python
UTF-8
Python
false
false
481
py
import sys PY2 = sys.version_info[0] == 2 PYPY = hasattr(sys, 'pypy_translation_info') JYTHON = sys.platform.startswith('java') IRONPYTHON = sys.platform == 'cli' CPYTHON = not PYPY and not JYTHON and not IRONPYTHON if PY2: import __builtin__ range_type = xrange text_type = unicode long_type = long ...
[ "jmmccon@amazon.com" ]
jmmccon@amazon.com
0f0b988db044a90843787fcfa17790f226c36531
ce1f8877fa9ff084b75bceec4cc7ddf5b3153b07
/clif/testing/python/imported_methods_test.py
be75ee040777a7e9a8efe35837f737faf0fc1cda
[ "Apache-2.0" ]
permissive
HenriChataing/clif
034aba392294ac30e40801815cf4d3172d3d44bd
307ac5b7957424706c598876d883936c245e2078
refs/heads/master
2021-01-23T16:25:19.543400
2017-09-01T22:18:03
2017-09-01T22:18:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# Copyright 2017 Google Inc. # # 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,...
[ "mrovner@google.com" ]
mrovner@google.com
c32fdb4787b51913dcb94e2128d2912fad182b06
3b871bdc672632e72bbdb72f98c914db660829b4
/Django_Project/Django_Project/asgi.py
5eb588cf3ef16a21bf99a45c2a9698189ff79917
[]
no_license
JasbirCodeSpace/Django-Blog-Web-App
b1a58730a17c204fe4c8ad8ab4f3f1d47d5b30e1
6af67d03bbec997b972feacb2873efaa542becaa
refs/heads/master
2022-08-25T23:12:05.591494
2020-05-20T07:19:48
2020-05-20T07:19:48
264,860,882
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" ASGI config for Blog project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJ...
[ "shikhawat.jasbir@gmail.com" ]
shikhawat.jasbir@gmail.com
950cf5404ea2b75c9cadf94aa12dfbb274256e43
70ad3badf3fa6e2edf1889d8640f25a7ec0d9db1
/ros_catkin_ws/devel_isolated/rosparam/lib/python2.7/dist-packages/rosparam/__init__.py
979cdadf5761c2736f68558fa36dbd74e4175656
[]
no_license
MathieuHwei/OldGaitMaven
758a937dfda2cf4f1aee266dbbf682ef34989199
873f7d9089c5d1c0772bd3447e2b0a31dac68b70
refs/heads/main
2023-06-17T18:40:06.230823
2021-07-19T23:08:20
2021-07-19T23:08:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# -*- coding: utf-8 -*- # generated from catkin/cmake/template/__init__.py.in # keep symbol table as clean as possible by deleting all unnecessary symbols from os import path as os_path from sys import path as sys_path from pkgutil import extend_path __extended_path = "/home/pi/ros_catkin_ws/src/ros_comm/rosparam/sr...
[ "giahuy050201@gmail.com" ]
giahuy050201@gmail.com
9b51264685632fddec2373e3a341f25d8d1d3fc9
e00fe1e065b448f6f8c0472ed2b8a39991fa7b1b
/Fuzzy_clustering/version2/template/project_run.py
4188a8c1f9dfdd2d18eda05f8e884d4dcc2f62af
[ "Apache-2.0" ]
permissive
joesider9/forecasting_library
1a4ded5b09fc603f91fa1c075e79fc2ed06c08a8
db07ff8f0f2693983058d49004f2fc6f8849d197
refs/heads/master
2023-03-29T12:18:22.261488
2021-04-01T08:57:08
2021-04-01T08:57:08
319,906,316
0
0
null
null
null
null
UTF-8
Python
false
false
2,106
py
from Fuzzy_clustering.version2.project_managers.project_eval_manager import ProjectsEvalManager from Fuzzy_clustering.version2.project_managers.projects_data_manager import ProjectsDataManager from Fuzzy_clustering.version2.project_managers.projects_train_manager import ProjectsTrainManager from Fuzzy_clustering.versio...
[ "joesider9@gmail.com" ]
joesider9@gmail.com
a1b9c909d2e60fb563ed2c58c3bf28e228f2e771
751691a21ed1d8c69c35f3cd9b9fd395dc5c1aa8
/{{cookiecutter.项目名称}}/{{cookiecutter.初始化app名称}}/custom_viewset.py
10b0164eb8f5f4fa01443e26d36608d2830e48cc
[]
no_license
mtianyan/cookiecutter-drf-mtianyan
5899847f46e853a0ec5be9bcbf9e7294ce2b70cd
b1298f6c5b20149db4589ce127b2e6e0392552b6
refs/heads/master
2022-12-28T18:26:57.969693
2020-10-10T08:29:08
2020-10-10T08:29:08
275,175,974
0
1
null
null
null
null
UTF-8
Python
false
false
1,619
py
from rest_framework import viewsets, status from rest_framework.response import Response from utils import change_key class CustomViewSet(viewsets.ModelViewSet): def retrieve(self, request, *args, **kwargs): instance = self.get_object() serializer = self.get_serializer(instance) res = ser...
[ "1147727180@qq.com" ]
1147727180@qq.com
7126110b6be5e67ec95d040579d17ce5b4278f11
0b51bc6c7a98d07880955a31e147c0c15b1e3151
/tonkho/models/stock_quant.py
da383abe5fd406bbfc64072e6fd0731db111501c
[]
no_license
tu95ctv/duan_mi2
72e8bcbad73dfea1b57b69dbfd1c8d48ecebb975
f1728d99e27fcc18684d50f5719f3dcedcffd755
refs/heads/master
2020-04-28T21:30:25.017845
2019-07-07T13:25:43
2019-07-07T13:25:43
175,584,277
0
0
null
null
null
null
UTF-8
Python
false
false
8,283
py
# -*- coding: utf-8 -*- from odoo import models, fields, api from odoo.exceptions import UserError, ValidationError from odoo.tools.translate import _ from odoo.tools.float_utils import float_compare from odoo.addons.tutool.mytools import name_compute from odoo.addons.tonkho.tonkho_tool import write_to_current_path ...
[ "nguyenductu@gmail.com" ]
nguyenductu@gmail.com
44a6e5f1f5fda5f40b242e469cc4314b106c8306
e6b969b7c50de5ae61c4b76ec31a982d16523e46
/sym.py
3f88fe9fcc929640105de765ca5654c69c9dd65f
[]
no_license
dlovemore/parle
7d52dc76716f3f8a5f085aa26277b2c52b98b098
e949c743b2760079eb3c3eb67198e69562521d20
refs/heads/master
2021-01-03T07:04:09.060552
2020-10-20T13:01:59
2020-10-20T13:01:59
239,972,201
0
0
null
null
null
null
UTF-8
Python
false
false
7,418
py
class Base: def __init__(self, *args): self._args = args @property def args(self): return self._args @args.setter def args(self, value): self._args = value def __repr__(self): rargs = repr(list(self.args))[1:-1] return f'{type(self).__name__}({rargs})' class E(Base): ...
[ "davidlovemore@gmail.com" ]
davidlovemore@gmail.com
f64233795111df760e19371a35a584413081cff7
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/class_def_attr-big-407.py
d189ce0fed43c4a777ecf1f02981982293253209
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
class A(object): x:int = 1 class A2(object): x:int = 1 x2:int = 1 class A3(object): x:int = 1 x2:int = 1 x3:int = 1 class A4(object): x:int = 1 x2:int = 1 x3:int = 1 x4:int = 1 class A5(object): x:int = 1 x2:int = 1 x3:int = 1 x4:int = 1 x5:int = 1 class ...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
21f188524361b8fa84956085533990c2bc3dbde9
dcc25b784213b17015d2080a7623c772d474dc22
/reproduce/AlphaFold2-Chinese/tests/st/mindelec/networks/test_frequency_domain_maxwell/test_frequency_domain_maxwell.py
65c3d50f3c3832682e1414cb4e3413c5f6f49489
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
mindspore-ai/community
930c9d9fdbead852e3597d522a72fe5b66bfc005
c72ce898482419117550ad16d93b38298f4306a1
refs/heads/master
2023-07-19T19:43:20.785198
2023-07-17T06:51:22
2023-07-17T06:51:22
250,693,100
193
10
Apache-2.0
2022-10-29T10:01:40
2020-03-28T02:00:02
Python
UTF-8
Python
false
false
5,395
py
# Copyright 2021 Huawei Technologies Co., Ltd # # 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...
[ "deanyuton@gmail.com" ]
deanyuton@gmail.com
a87bf5f31c6025305ca0fd7c72b461abad7671a5
b2075a92c3854c921a95673a3c5ebb424ab08112
/python/postprocessing/framework/postprocessor.py
9eb1775d8dbd0f52159a9b31d8202b7f33272466
[]
no_license
vhbb/nanoAOD-tools
cd2a6305991369948bb9577c5da3c7e4db275c52
14bce3dca68288e65b2daefce755d65914a3765d
refs/heads/master
2021-09-04T21:44:29.892241
2018-01-22T12:50:50
2018-01-22T12:50:50
106,291,673
1
1
null
2018-01-22T12:50:51
2017-10-09T14:06:47
Python
UTF-8
Python
false
false
4,843
py
#!/usr/bin/env python import os import time import ROOT ROOT.PyConfig.IgnoreCommandLineOptions = True from PhysicsTools.NanoAODTools.postprocessing.framework.branchselection import BranchSelection from PhysicsTools.NanoAODTools.postprocessing.framework.datamodel import InputTree from PhysicsTools.NanoAODTools.postproce...
[ "andrea.rizzi@cern.ch" ]
andrea.rizzi@cern.ch
c74d3d817ada2bcf2794d7cffebfb2b3ccbf0e02
23a3c76882589d302b614da5f4be0fc626b4f3cd
/python_modules/dagster/dagster/api/snapshot_trigger.py
d9414b7c2318bcc7dc7ca624569ba3ba47f8ef8b
[ "Apache-2.0" ]
permissive
DavidKatz-il/dagster
3641d04d387cdbe5535ae4f9726ce7dc1981a8c3
7c6d16eb8b3610a21020ecb479101db622d1535f
refs/heads/master
2022-12-20T13:08:36.462058
2020-09-14T18:12:12
2020-09-14T22:43:26
264,703,873
0
0
Apache-2.0
2020-06-16T09:49:00
2020-05-17T15:56:57
Python
UTF-8
Python
false
false
2,276
py
from dagster import check from dagster.core.host_representation.external_data import ( ExternalExecutionParamsData, ExternalExecutionParamsErrorData, ) from dagster.core.host_representation.handle import RepositoryHandle from dagster.core.types.loadable_target_origin import LoadableTargetOrigin from dagster.grp...
[ "prha@elementl.com" ]
prha@elementl.com
2e5db24847888b7364737d3edcf63f609a59d47b
65c001b5f572a6b0ca09dd9821016d628b745009
/frappe-bench/env/lib/python2.7/site-packages/cssutils/css/colors.py
0c4e4803b12d140e5337d66ce04c6406d01dfd2f
[ "MIT" ]
permissive
ibrahmm22/library-management
666dffebdef1333db122c2a4a99286e7c174c518
b88a2129a5a2e96ce1f945ec8ba99a0b63b8c506
refs/heads/master
2022-10-30T17:53:01.238240
2020-06-11T18:36:41
2020-06-11T18:36:41
271,620,992
0
1
MIT
2022-10-23T05:04:57
2020-06-11T18:36:21
CSS
UTF-8
Python
false
false
6,669
py
# -*- coding: utf-8 -*- """ Built from something like this: print [ ( row[2].text_content().strip(), eval(row[4].text_content().strip()) ) for row in lxml.html.parse('http://www.w3.org/TR/css3-color/') .xpath("//*[@class='colortable']//tr[positi...
[ "iabouelftouh@trudoc24x7.com" ]
iabouelftouh@trudoc24x7.com
b731f7bb0a905cd69ba11d5d934cc0ac33f22050
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/simple-cipher/7df478df5b6546c4b554e717f00f4c75.py
902cdef37788b91c86d3d3b606190688274c6913
[]
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,338
py
'''cipher.py created 6 Nov 2014 by @jestuber ''' import string class Caesar(object): """docstring for Caesar""" def __init__(self): super(Caesar, self).__init__() # self.arg = arg def encode(self,plaintext): return Cipher().encode(plaintext) def decode(self,encoded): return Cipher().decode(encoded) cl...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
51ef9ebcaa98ebc7587f1a24b2cf0e33fca79a0f
127ed1ba90dcced8cce8366a5139973f1d21c372
/python/lang/security/audit/insecure-transport/urllib/insecure-urlopener-open-ftp.py
edb25f3b511977c953c437733a648bdd97fd483d
[]
no_license
Silentsoul04/semgrep-rules-1
f0c53e04b4239555a688bca687340af4736d2514
81b81481c0a81e45d3ffba8d60dd98491a1b0446
refs/heads/master
2022-12-22T15:41:34.399652
2020-09-13T14:59:38
2020-09-13T14:59:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,388
py
from urllib.request import URLopener def test1(): od = URLopener() # ruleid: insecure-urlopener-open-ftp od.open("ftp://example.com") def test1_ok(): od = URLopener() # ok: insecure-urlopener-open-ftp od.open("ftps://example.com") def test2(): od = URLopener() # ruleid: insecure-urlop...
[ "manhnguyen510@gmail.com" ]
manhnguyen510@gmail.com
d8df3e108eb2a60fcac671fff7ece2212a4fd8a5
f0e11aeb7b5bd96c828cf39728eb2fa523f320df
/snapflow/cli/commands/generate.py
10a6882c60f47d5c9c2a9a96f8435d9b031bb621
[ "BSD-3-Clause" ]
permissive
sathya-reddy-m/snapflow
7bc1fa7de7fd93b81e5b0538ba73ca68e9e109db
9e9e73f0d5a3d6b92f528ef1e2840ad92582502e
refs/heads/master
2023-05-01T05:14:08.479073
2021-05-21T00:14:56
2021-05-21T00:14:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,840
py
from __future__ import annotations import os from snapflow.cli.commands.base import SnapflowCommandBase import sys from contextlib import contextmanager from importlib import import_module from pathlib import Path from types import ModuleType from typing import List, Pattern from cleo import Command from snapflow.cor...
[ "kenvanharen@gmail.com" ]
kenvanharen@gmail.com
30a67ecaa65f58462ea307f9e7814f41c0df1c1a
2aace9bb170363e181eb7520e93def25f38dbe5c
/build/idea-sandbox/system/python_stubs/cache/2e033ce6e3a2cdde5174895cadb3b406b2a013729dd641fee2cebd9f7ed97879/cv2/cv2/StereoMatcher.py
7ab88dbc440f1ef092cd9bd0c28536beb666920f
[]
no_license
qkpqkp/PlagCheck
13cb66fd2b2caa2451690bb72a2634bdaa07f1e6
d229904674a5a6e46738179c7494488ca930045e
refs/heads/master
2023-05-28T15:06:08.723143
2021-06-09T05:36:34
2021-06-09T05:36:34
375,235,940
1
0
null
null
null
null
UTF-8
Python
false
false
5,845
py
# encoding: utf-8 # module cv2.cv2 # from C:\Users\Doly\Anaconda3\lib\site-packages\cv2\cv2.cp37-win_amd64.pyd # by generator 1.147 """ Python wrapper for OpenCV. """ # imports import cv2.cv2 as # C:\Users\Doly\Anaconda3\lib\site-packages\cv2\cv2.cp37-win_amd64.pyd import cv2.Error as Error # <module 'cv2.Error'> imp...
[ "qinkunpeng2015@163.com" ]
qinkunpeng2015@163.com
60c9db8974c4fcdaf3f0fc22cf0b0a1ad6083ca1
5095a2cbc3fea5b63b6f3cabf4ae1bd930cdb479
/영동/16_숨바꼭질.py
68332c98c92b749a3fb174e52d26d5d881b07e15
[]
no_license
syeeuns/week03
a198150d94caf772d6421b4adf6d8e28793853db
cf40b994fa285800854bac07b7ef86ad5dbdf35a
refs/heads/master
2023-02-06T13:13:11.012967
2020-12-31T04:14:10
2020-12-31T04:14:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
from collections import deque N,K = map(int, input().split()) Max=10**5+1 queue=deque([N]) D=[[-1]*2 for _ in range(Max)] D[N][0]=0 T=[K] z=K while queue: v = queue.popleft() for newv in [v-1,v+1,v*2]: if 0<= newv < Max and D[newv][0]==-1: queue.append(newv) D[newv][0]=D[v][0]...
[ "zeroistfilm@naver.com" ]
zeroistfilm@naver.com
cde76863a99e655e46b43112532dd7da3bcc13d4
1bde0c807f17fc431b04b4b9cb338ee3acd34b7d
/.history/predict_20210713124241.py
7c01488a87ec48a2cd94cb2965aba58fb29d0d56
[]
no_license
Harrysibbenga/Pytorch-NLP
cf9d7e6376d5e19929e6703c3342c81c1a128be1
6f22f6ac5f2bf37f27ed2d6285f3a154eda4b566
refs/heads/main
2023-06-19T22:43:35.513874
2021-07-14T19:45:15
2021-07-14T19:45:15
385,595,855
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
from model import * from data import * import sys rnn = torch.load('char-rnn-classification.pt') # Just return an output given a line def evaluate(line_tensor): hidden = rnn.initHidden() for i in range(line_tensor.size()[0]): output, hidden = rnn(line_tensor[i], hidden) return output def pre...
[ "sibbengaharry@gmail.com" ]
sibbengaharry@gmail.com
e2a883be7a61493ac52b48a563af686087b2640a
9dba277eeb0d5e9d2ac75e2e17ab5b5eda100612
/19100101/sundyyang/d11_training1.py
1583902d982bb0769ab8ae4731fc7504566a7143
[]
no_license
shen-huang/selfteaching-python-camp
e8410bfc06eca24ee2866c5d890fd063e9d4be89
459f90c9f09bd3a3df9e776fc64dfd64ac65f976
refs/heads/master
2022-05-02T05:39:08.932008
2022-03-17T07:56:30
2022-03-17T07:56:30
201,287,222
9
6
null
2019-08-08T15:34:26
2019-08-08T15:34:25
null
UTF-8
Python
false
false
875
py
# day 11 import requests import getpass import yagmail from pyquery import PyQuery from mymodule import stats_word # 提取微信公众号正文 response = requests.get('https://mp.weixin.qq.com/s/pLmuGoc4bZrMNl7MSoWgiA') document = PyQuery(response.text) content = document('#js_content').text() # 应用 stats_word 方法提取前100个词 day11 = s...
[ "6396023+realcaiying@users.noreply.github.com" ]
6396023+realcaiying@users.noreply.github.com
2b7b1e3cfa9dbc03cc1d297534895c8a4362ab7a
3fa27b3ad1c1ca90f2bcf311d89fe8c2ca241cb4
/Location/models.py
86164283ca0e8eeb3356a4bbbb87c92cee61e3a0
[]
no_license
emperorDuke/django-backend-for-ecommerce
717e15d7be899abcd5a4b7a7d2203c612f001aeb
83c1ca4d016d876a5c8711ac5cdc448d5a4a533d
refs/heads/master
2023-02-10T08:57:17.852721
2021-01-02T15:49:07
2021-01-02T15:49:07
271,039,012
0
0
null
null
null
null
UTF-8
Python
false
false
869
py
from django.db import models from django.utils.translation import gettext_lazy as _ from phonenumber_field.modelfields import PhoneNumberField # Create your models here class Location(models.Model): address = models.CharField(_('address'), max_length=100, blank=False) city = models.CharField(_('city'), max_l...
[ "effiomduke@gmail.com" ]
effiomduke@gmail.com
093ee2463b1a86d455d7fd106f214c73722c2ee1
503d2f8f5f5f547acb82f7299d86886691966ca5
/atcoder/abc172_a.py
b5c6641365ed028613ce1898499a4b6fd7f432d3
[]
no_license
Hironobu-Kawaguchi/atcoder
3fcb649cb920dd837a1ced6713bbb939ecc090a9
df4b55cc7d557bf61607ffde8bda8655cf129017
refs/heads/master
2023-08-21T14:13:13.856604
2023-08-12T14:53:03
2023-08-12T14:53:03
197,216,790
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
# https://atcoder.jp/contests/abc172/tasks/abc172_a # import sys # def input(): return sys.stdin.readline().rstrip() # input = sys.stdin.readline # input = sys.stdin.buffer.readline # from numba import njit # from functools import lru_cache # sys.setrecursionlimit(10 ** 7) # @njit('(i8,i8[::1],i4[::1])', ca...
[ "hironobukawaguchi3@gmail.com" ]
hironobukawaguchi3@gmail.com
e8bb363682e5f8e63ac0e56a986076f1e43f91b6
7722c0c2d616af965124120c76bed472900d48bf
/build/pi_io/cmake/pi_io-genmsg-context.py
093469fa89dd16ff069e8425074390da5c5219da
[]
no_license
EdisonAltamirano/Turtlebot_Mapping
f1cfb190b5a239d0e0bb4932e766cce1ec6c42ba
cfb98058745e5fbf84b2388254dbad2d045362ef
refs/heads/master
2022-11-13T11:48:27.915328
2020-07-06T00:02:45
2020-07-06T00:02:45
276,209,053
0
0
null
null
null
null
UTF-8
Python
false
false
602
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/edison/turtle_ws1/src/pi_io/msg/gpio_input.msg" services_str = "/home/edison/turtle_ws1/src/pi_io/srv/gpio_output.srv" pkg_name = "pi_io" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "pi_i...
[ "a00825234@itesm.mx" ]
a00825234@itesm.mx
3a332e60dcd0d31aa40dd5f4b190704f255a6135
9d484077026b7fcf26188d77281f573eaec1f1d3
/scripts/adhoc/dendrogram_cuts.py
fef1177f5d92df2b34a79f14c35a9204d2660122
[]
no_license
gaberosser/qmul-bioinf
603d0fe1ed07d7233f752e9d8fe7b02c7cf505fe
3cb6fa0e763ddc0a375fcd99a55eab5f9df26fe3
refs/heads/master
2022-02-22T06:40:29.539333
2022-02-12T00:44:04
2022-02-12T00:44:04
202,544,760
3
1
null
null
null
null
UTF-8
Python
false
false
582
py
plt.figure(figsize=(10, 4)) ax = plt.gca() hierarchy.dendrogram(z, no_labels=True, color_threshold=0., above_threshold_color='k') ax.axis('off') plt.tight_layout() plt.savefig('methyl_dendrogram_%dcuts.png' % 0, dpi=200) for i in range(2, 7): c = clustering.dendrogram_threshold_by_nclust(z, i) plt.figure(figs...
[ "gabriel.rosser@gmail.com" ]
gabriel.rosser@gmail.com
aa1b71d24e45defa75b428b775fb1f2ecb43ba1d
0c4bb0b0c91a6bfb8c6ea529b93a303661bcd625
/python/table_parse/table_data.py
c6dd3b8e0345ebfde4e1382caa04ecbcd3604d16
[]
no_license
shahrukhqasim/TIES
28de4bd962624856e58f5293b5a91427132fa38d
279ce12ef5303f9428cf72d3f01a1922c7c5d584
refs/heads/master
2021-08-23T16:29:02.057736
2017-12-05T17:34:55
2017-12-05T17:34:55
106,605,384
3
2
null
null
null
null
UTF-8
Python
false
false
844
py
class TableData: def __init__(self, tokens_embeddings, tokens_rects, neighbor_distance_matrix, tokens_neighbor_matrix, tokens_share_row_matrix, tokens_share_col_matrix, tokens_share_cell_matrix, neighbors_same_row, neighbors_same_col, neighbors_same_cell, conv_features): se...
[ "ishahrukhqasim@gmail.com" ]
ishahrukhqasim@gmail.com
a5ca0dba0718aa09e17d7542056fc9af17a7eb38
49c2492d91789b3c2def7d654a7396e8c6ce6d9f
/ROS/catkin_ws/build/dyros_simulator/dataspeed_can_tools/catkin_generated/pkg.installspace.context.pc.py
aaf615e0d8cdbcc7a35dbfeacc60e39121b30380
[]
no_license
DavidHan008/lockdpwn
edd571165f9188e0ee93da7222c0155abb427927
5078a1b08916b84c5c3723fc61a1964d7fb9ae20
refs/heads/master
2021-01-23T14:10:53.209406
2017-09-02T18:02:50
2017-09-02T18:02:50
102,670,531
0
2
null
2017-09-07T00:11:33
2017-09-07T00:11:33
null
UTF-8
Python
false
false
453
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "-ldataspeed_can_tools".split(';') if "-ldataspeed_can_tools" != "" else [] PROJECT_NAM...
[ "gyurse@gmail.com" ]
gyurse@gmail.com
d5fc2e9c95367713fde53a9b10a7e522573cc1da
4fe1dc7170d2d44e2c9988c71b08f66d469ee4b8
/Appendices/E/ejE5.py
77ce7a4cada9e676303b27e369f41adfd4fb3073
[]
no_license
ftorresi/PythonLearning
53c0689a6f3e7e219a6314a673a318b25cda82d1
f2aeb5f81d9090a5a5aa69a8d1203688e9f01adf
refs/heads/master
2023-01-12T00:40:05.806774
2020-11-13T14:33:08
2020-11-13T14:33:08
267,460,517
0
0
null
null
null
null
UTF-8
Python
false
false
1,930
py
"""Now we solve the ODE problem u - 10u' = 0 u(0)= 0.2 in [0,20] using HEUN's method""" import numpy as np import matplotlib.pyplot as plt #Exact solution def exact_u(t): return 0.2*np.exp(0.1*t) #u'=f(u,t) as a class class f: def __init__(self): pass def __call__(self,u,t): return 0...
[ "noreply@github.com" ]
ftorresi.noreply@github.com
aeda73e4de7393ca198519384998e625a5a63d26
6f33381dcb19a042d916b4a452f9cb7438729798
/jabba/graphs/legend.py
6767d1bc8f8140580a6220c89e4327bd31cd22ab
[ "MIT" ]
permissive
puppetlabs/jabba
8308adf5be9ba25efb414f384bf3568854be55e2
71c1d008ab497020fba6ffa12a600721eb3f5ef7
refs/heads/master
2023-06-13T09:17:49.274408
2017-06-30T11:02:27
2017-06-30T11:02:27
185,443,592
0
1
null
2019-05-07T16:54:03
2019-05-07T16:54:02
null
UTF-8
Python
false
false
939
py
import graphviz as gv class Legend(object): """ GraphViz graph for rendering legend """ def __init__(self): # Legend is presented as map (name -> settings) self.items = {} def add_item(self, name, settings): self.items[name] = settings def render(self): legend...
[ "rebovykin@gmail.com" ]
rebovykin@gmail.com
90254a2e8ba7c81e196fd637cbd4598c1fdaa717
3e1b5d7cb529be1529ae45fa062a423f8328d6d2
/Edgar-new-codes/Getting-10-K- and-10-Q doc links.py
54aab244b45e5b116a35eee0099a5ad3de1aba53
[]
no_license
abhigupta4/Finrsch
260687b3b53d3c94a03dc2b9e640952718033486
ca0b7f1631fbbe109b81403b9ffc36c67c759d23
refs/heads/master
2021-01-19T10:54:19.705213
2017-07-06T12:22:37
2017-07-06T12:22:37
87,913,197
1
0
null
null
null
null
UTF-8
Python
false
false
1,806
py
import requests from bs4 import BeautifulSoup import urlparse def get_file(cur,val): base = 'https://www.sec.gov' r = requests.get(cur) document = BeautifulSoup(r.content,"lxml") links = document.find_all('a') for link in links: if 'Archives' in link.get("href"): print 'Document link' print base+link.get(...
[ "abhinavgupta6245@gmail.com" ]
abhinavgupta6245@gmail.com
ec47bc066bc69f6cf12e1ef76fe29f8be677394c
5667cc877342204b7d54b6c3cc5a9f4854f08829
/.history/apppersona/views_20201101174230.py
3ca271ad58977d9585b9c4096dc875f160abb1d5
[]
no_license
Nyckhos/TestCommit
d62e3f6fefb04ab5647475cc7ead0d72cbd89efa
9aa8e2e35280b7862960cc8a864e9c02ac7f4796
refs/heads/main
2023-01-05T05:57:59.223641
2020-11-02T02:08:18
2020-11-02T02:08:18
309,237,224
2
0
null
2020-11-02T02:30:43
2020-11-02T02:30:43
null
UTF-8
Python
false
false
3,787
py
from django.http import request from django.shortcuts import redirect, render from django.http import HttpResponse from .models import * from .forms import * from django.contrib.auth.models import User from django.contrib.auth import * from django.urls import reverse from django.contrib.auth import login from django.co...
[ "fernandox_240997@live.com" ]
fernandox_240997@live.com
827e3bcf2fca26a7b7abc2fc74da531da077f856
f6078890ba792d5734d289d7a0b1d429d945a03a
/extra/oconnorcollin_24162_1340359_Collin_O'Connor_1607318_ExtraCredit_week7.py
768973e38dd5ce426badbd6677369e038d6aa08c
[]
no_license
huazhige/EART119_Lab
1c3d0b986a0f59727ee4ce11ded1bc7a87f5b7c0
47931d6f6a2c7bc053cd15cef662eb2f2027712c
refs/heads/master
2020-05-04T23:40:53.709217
2019-06-11T18:30:45
2019-06-11T18:30:45
179,552,067
0
0
null
null
null
null
UTF-8
Python
false
false
5,750
py
# -*- coding: utf-8 -*- """ Created on Mon May 13 08:26:50 2019 @author: collin O'Connor """ import numpy as np import integrate_utils as int_utils #============================================================================== #Question 1 #================================================================...
[ "hge2@ucsc.edu" ]
hge2@ucsc.edu
69fe2635469cacf0543c8bdc6588c35e1ff15509
aa1972e6978d5f983c48578bdf3b51e311cb4396
/nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/config/network/vrid6_interface_binding.py
514e8bd208b3024680ba6c2b0c5d4530d8b2a8a3
[ "Python-2.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MayankTahil/nitro-ide
3d7ddfd13ff6510d6709bdeaef37c187b9f22f38
50054929214a35a7bb19ed10c4905fffa37c3451
refs/heads/master
2020-12-03T02:27:03.672953
2017-07-05T18:09:09
2017-07-05T18:09:09
95,933,896
2
5
null
2017-07-05T16:51:29
2017-07-01T01:03:20
HTML
UTF-8
Python
false
false
6,678
py
# # Copyright (c) 2008-2016 Citrix Systems, Inc. # # 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 l...
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
4e6f7728e1ccc0ee08f9eab26f26539c32f245f1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02779/s326665097.py
af3b88d1cfb1a25941fa607ee97b983b715cf65f
[]
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
221
py
from collections import Counter n = int(input()) a = list(map(int, input().split())) c = Counter(a) new = c.values() for i in new: if i != 1: re = "NO" break else: re = "YES" print(re)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2bc1c55aa465d41767f5a4a17e88f2902fa650a2
115b5356242176b8873ae7e43cd313e41cbd0ee6
/webstuff/webscraper/tidytext.py
057e7c3a5a8d77e0574b55b38fb0fe5b7a3b444a
[]
no_license
squeakus/bitsandbytes
b71ec737431bc46b7d93969a7b84bc4514fd365b
218687d84db42c13bfd9296c476e54cf3d0b43d2
refs/heads/master
2023-08-26T19:37:15.190367
2023-07-18T21:41:58
2023-07-18T21:42:14
80,018,346
2
4
null
2022-06-22T04:08:35
2017-01-25T13:46:28
C
UTF-8
Python
false
false
976
py
from BeautifulSoup import BeautifulSoup import re page = open('out2.txt','r') for idx,line in enumerate(page): parts = line.split(';') for part in parts: #print part, '\n' if part.startswith('var point = new GLatLng'): print "\n", part.lstrip('var point = new GLatLng') m = re....
[ "jonathanbyrn@gmail.com" ]
jonathanbyrn@gmail.com