blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
3004cbc484b80119507eb7f8708fb1370930251b
e530016831a0140a34a4f12a1517c66348d8109e
/backoffice/contabilidad/migrations/0001_initial.py
93e07b4ef45f9a21b63a091f7b6fa2a88a24fff1
[]
no_license
ryujiin/storeserver
0e959c269b2d7885c142a10ca66139c6bb611522
043e76a6917d930f5c27840cf276ce36c7d991bf
refs/heads/master
2022-12-11T18:38:29.764044
2018-08-08T15:50:02
2018-08-08T15:50:02
136,964,735
0
0
null
2022-12-08T00:45:40
2018-06-11T18:22:06
Python
UTF-8
Python
false
false
1,279
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-05-24 23:42 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Egreso...
[ "ryujiin22@gmail.com" ]
ryujiin22@gmail.com
f121f2ea956a73bfc1479762b76d1592eea3e6d7
f900a9f48fe24c6a581bcb28ad1885cfe5743f80
/Chapter_15/random_walk.py
d7954dcedfa24837b832900dbc2bf853f8e2de9e
[]
no_license
Anjali-225/PythonCrashCourse
76e63415e789f38cee019cd3ea155261ae2e8398
f9b9649fe0b758c04861dad4d88058d48837a365
refs/heads/master
2022-12-03T21:35:07.428613
2020-08-18T11:42:58
2020-08-18T11:42:58
288,430,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,025
py
from random import choice class RandomWalk: """A class to generate random walks.""" def __init__(self, num_points=5000): """Initialize attributes of a walk.""" self.num_points = num_points # All walks start at (0, 0). self.x_values = [0] self.y_values = [0] def fill_walk(self): """Calcula...
[ "noreply@github.com" ]
Anjali-225.noreply@github.com
74a826f628afae63a211d3f9a9edfa9a82abb7e8
06887e27c9c27e15a1295bab418998685fd5cf80
/app/__init__.py
8266d76887a19ddb077cce6c881729019ac89f71
[]
no_license
Lenchok/struggle
7db061f2ad17a6191b88289c330ba386eaa460b7
04167c55faa1498373d682fb39e87b98ab187ec8
refs/heads/master
2020-03-25T06:29:14.291912
2018-08-04T06:57:35
2018-08-04T06:57:35
143,504,929
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
from flask import Flask from config import config def create_app(config_name): app = Flask(__name__) app.config.from_object(config[config_name]) config[config_name].init_app(app) from .main import main as main_blueprint app.register_blueprint(main_blueprint) return app
[ "you@example.com" ]
you@example.com
b70fec8e0fe10789c193b948b2bd5e54d9877a0c
b088f48c2ac006b1c0afcbba13568fb143a7d248
/translate.py
edf27d8f257263de72871684abc2b437c38ed375
[]
no_license
PanXiebit/transformer-tf2.0
e58ee3fbfe3f270be464ae56bccbca931e9458c6
8eb297a0a4ba650a0d0b5afba2cbb2e634b7d05b
refs/heads/master
2020-05-21T08:55:06.031628
2019-06-18T00:20:55
2019-06-18T00:20:55
185,985,287
3
0
null
null
null
null
UTF-8
Python
false
false
2,599
py
from model_config import Config from model.transformer import Transformer import tensorflow as tf from data_process.dataset import tokenizer_en, tokenizer_pt from model.multi_head_attention import create_mask config = Config() transformer = Transformer(config.num_layers, config.d_model, config.num_heads, config.dff, ...
[ "ftdpanxie@gmail.com" ]
ftdpanxie@gmail.com
15abc4d6eabadcb283773ef994d7e11300fcafa5
173aa19210509b0c84808a3b16c1d21047aa6b1a
/health_4.py
cf52cdecc02ea4975a166b38d9102e1eb9cf0b5e
[]
no_license
wangleixin666/ML_healthAI
78ccea5ef824e63a2f7b1be40fbb385beac3643f
dcf41dd15d6f9d033f58c8c5384c786d8ab1ff72
refs/heads/master
2020-03-23T10:06:49.757535
2018-07-18T11:33:28
2018-07-18T11:33:28
141,426,047
0
0
null
null
null
null
UTF-8
Python
false
false
6,982
py
# coding:utf-8 # 删除掉一些出现次数低,缺失比例大的字段,保留超过阈值的特征 import pandas as pd def remain_feat(df, thresh): exclude_feats = [] print('----------移除数据缺失多的字段-----------') print('移除之前总的字段数量',len(df.columns)) num_rows = df.shape[0] for c in df.columns: num_missing = df[c].isnull().sum() if num_miss...
[ "wangleixin@yahoo.com" ]
wangleixin@yahoo.com
0575d7d9a3ca2056933ecd9b1d9c8799f3572e87
a80e9eb7ade3d43ce042071d796c00dd10b93225
/ch_7/Quadratic.py
e77eacca7d2fc9c2eae058ebf9bb5816848fc724
[]
no_license
ksjpswaroop/python_primer
69addfdb07471eea13dccfad1f16c212626dee0a
99c21d80953be3c9dc95f3a316c04b0c5613e830
refs/heads/master
2020-07-14T17:37:45.923796
2014-06-06T22:30:48
2014-06-06T22:30:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,419
py
# Exercise 7.6 from numpy import linspace from cmath import sqrt class Quadratic: def __init__(self, a, b, c): self.a = a self.b = b self.c = c def value(self, x): a, b, c = self.a, self.b, self.c return a * x ** 2 + b * x + c def table(self, L, R, n=10): ...
[ "noahwaterfieldprice@gmail.com" ]
noahwaterfieldprice@gmail.com
c1aa83d130ce68b30efd26154ab61c0fdc349fe8
7b739d1ea5f53d8cfffc18f23044aec11238b2bb
/단계별/15. 백트래킹/01. N과 M (1).py
2db337c80c24122ac1e1c87d4200e5600f0c3b60
[]
no_license
Choojj/acmicpc
2281f299386174388c08a31ac6ad76c4b1a2ce6c
0fa3fc2c575cb1de51be2dc41408b50d7fd7a00f
refs/heads/master
2022-12-10T09:11:27.310472
2020-09-04T08:46:06
2020-09-04T08:46:06
270,581,505
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
import sys def backtraking(N, M, depth): if (depth == M): for i in range(len(answer_list)): print(answer_list[i], end = " ") print() return for i in range(1, N + 1): if (not check_list[i]): answer_list[depth] = i check_list[i] = True ...
[ "qweasd9526@naver.com" ]
qweasd9526@naver.com
2d0026f895b3f3e4ae69ad8855f9d543607c7a3f
45ef080ffb0dac8ecbc83d41305e41f3bcccc4ab
/hiku/readers/graphql.py
99732f9ac03ff5ca8da238d7d04078a2e8491961
[ "BSD-3-Clause" ]
permissive
lillianna95/hiku
23ad1fd8a5401669dae3684236215670125a1470
451d0e792e78f1be4a45880b198d39c6928b0ab5
refs/heads/master
2023-06-27T18:34:21.193791
2021-07-23T17:56:21
2021-07-23T17:56:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,187
py
import enum from graphql.language import ast from graphql.language.parser import parse from ..query import Node, Field, Link, merge class NodeVisitor: def visit(self, obj): visit_method = getattr(self, 'visit_{}'.format(obj.kind)) if visit_method is None: raise NotImplementedError('...
[ "vladimir@magamedov.com" ]
vladimir@magamedov.com
b11ad1600711c8c9f71b5ec5982dc342a418b536
b93c188b16cbb9917e5a3af1239aa2c1f02c5600
/tests/requests/valid/012.py
10a54334d22c8888a323961ca77790be5e4e97a2
[ "MIT", "BSD-3-Clause", "FSFAP" ]
permissive
tilgovi/restkit
1e2fc0131afc721804054396e0ad79e70e9317ee
12d97ea867eb0516bf2ed885b9d6007b84c79bb2
refs/heads/master
2021-01-18T08:52:27.148178
2010-11-26T07:31:46
2010-11-26T07:31:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
283
py
request = { "method": "POST", "uri": uri("/chunked_w_trailing_headers"), "version": (1, 1), "headers": [ ("Transfer-Encoding", "chunked") ], "body": "hello world", "trailers": [ ("Vary", "*"), ("Content-Type", "text/plain") ] }
[ "bchesneau@gmail.com" ]
bchesneau@gmail.com
0e04eb2d1c7538b59b5cdd83e8df266ad9059816
5da5473ff3026165a47f98744bac82903cf008e0
/packages/google-cloud-securitycenter/google/cloud/securitycenter_v1beta1/types/securitycenter_service.py
d1bada4d35d3c630ab94c35f5eebd41336388744
[ "Apache-2.0" ]
permissive
googleapis/google-cloud-python
ed61a5f03a476ab6053870f4da7bc5534e25558b
93c4e63408c65129422f65217325f4e7d41f7edf
refs/heads/main
2023-09-04T09:09:07.852632
2023-08-31T22:49:26
2023-08-31T22:49:26
16,316,451
2,792
917
Apache-2.0
2023-09-14T21:45:18
2014-01-28T15:51:47
Python
UTF-8
Python
false
false
36,196
py
# -*- coding: utf-8 -*- # Copyright 2023 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" ]
googleapis.noreply@github.com
4911b631beb8973c72847d4fe73f50f5ea01f7fd
ac7435b0b3faa6b6cf51d0d6b43984b77b70a37c
/nova/pci/whitelist.py
603b29400fbc330bc792a44f5e1b39aef77762ca
[ "Apache-2.0" ]
permissive
gokrokvertskhov/nova-mesos-driver
04688cd51cad9790cf5460b44ba527b51080760d
fdb9c8468f6a8680c19095a81bf77884ae61e170
refs/heads/master
2021-01-10T10:51:07.096729
2016-03-25T01:45:10
2016-03-25T01:45:10
54,685,199
0
1
Apache-2.0
2020-07-24T01:00:58
2016-03-25T01:22:06
Python
UTF-8
Python
false
false
4,014
py
# Copyright (c) 2013 Intel, Inc. # Copyright (c) 2013 OpenStack Foundation # 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/li...
[ "gokrokvertskhov@mirantis.com" ]
gokrokvertskhov@mirantis.com
ffeca4928d88edef1230e1f4d5d3fe7baa6d6efe
71e99dbb8e36c81fe719b045f218533fdef8df6b
/script.module.xbmcfilm/lib/mrknow_urlparserhelper.py
77aff32089b230c8d477dfd039901ab46f3330d3
[ "Apache-2.0" ]
permissive
Azzudare/filmkodi
197d47b2300a90a349cfbc7ee0f43416d61dce8e
d5c30c86eec6e206dce239a7669b7191e30d29c6
refs/heads/master
2020-04-06T05:15:16.406918
2016-02-23T23:07:33
2016-02-23T23:07:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,172
py
# -*- coding: utf-8 -*- ################################################### # LOCAL import ################################################### from mrknow_pLog import pLog as printDBG from mrknow_pLog import pLog as printExc ################################################### # FOREIGN import ########################...
[ "mrknow@interia.pl" ]
mrknow@interia.pl
d0e92bdb9509ec14e81a1049597521136059a5c9
9d61f7ef9eee4187111aa3337af3f3326d56b67e
/thruster_driver/scripts/thruster_driver
1d948a7c27858dbb4ed1666dec1e8fcd29e73a49
[]
no_license
uf-mil-archive/SubjuGator
a6e99a06e5a7daaad1303cc69a45a17ac4e6ee00
c0f4d5296a33f939ede2784cd9297daea929513e
refs/heads/master
2021-05-29T20:03:26.424539
2015-07-25T19:17:28
2015-07-25T19:19:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,511
#!/usr/bin/env python from __future__ import division import math import struct import numpy import roslib roslib.load_manifest('thruster_driver') import rospy from std_msgs.msg import Header from geometry_msgs.msg import Point, Vector3 from sensor_msgs.msg import MagneticField from thruster_handling.broadcaster i...
[ "forrest@forre.st" ]
forrest@forre.st
584855499f37277bd64c47b5e6c8cc26c6157388
2443f23d928a6b3516f810e3dfdf6f4b72aa0325
/st01.Python기초/py04연산자/py04_02_몫과머지.py
126d71891077d16c18cc6ab311b0782a4002050c
[]
no_license
syuri7/Python20200209
48653898f0ce94b8852a6a43e4e806adcf8cd233
5f0184d9b235ce366e228b84c663a376a9957962
refs/heads/master
2021-01-01T10:37:59.077170
2020-03-15T09:15:50
2020-03-15T09:15:50
239,241,118
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
import math #math 모듈 불러오기 # 몫과 나머지 구하기 num=5/2 print(num) # (출력값) 2.5 # 몫을 구하시오 quotient = 5//2 print("몫은: ", quotient) # (출력값) 2 # 몫을 구하시오 math.floor() quotient = math.floor(num) print("몫은: ", quotient) # (출력값) 2 # 나머지를 구하시오 remainder = 5%2 print("나머지는: ", remainder) # (출력값) 1
[ "d@d" ]
d@d
7591cd1eb094e2dd03e1ba8e953311c8092df947
59f64b5cf799e31c97b11828dba4787afb8f3f17
/hail/python/test/hail/utils/test_struct_repr_pprint.py
338fa33f57bfc4dae35e4ce817280c5513926ae3
[ "MIT" ]
permissive
hail-is/hail
2089e6f3b38548f13fa5c2a8ab67f5cfdd67b4f1
07a483ae0f46c66f3ed6fd265b48f48c06298f98
refs/heads/main
2023-09-01T15:03:01.450365
2023-09-01T02:46:35
2023-09-01T02:46:35
45,069,467
913
262
MIT
2023-09-14T21:53:32
2015-10-27T20:55:42
Python
UTF-8
Python
false
false
3,823
py
import hail as hl from pprint import pformat def test_repr_empty_struct(): assert repr(hl.Struct()) == 'Struct()' def test_repr_identifier_key_struct(): assert repr(hl.Struct(x=3)) == 'Struct(x=3)' def test_repr_two_identifier_keys_struct(): assert repr(hl.Struct(x=3, y=3)) == 'Struct(x=3, y=3)' def...
[ "noreply@github.com" ]
hail-is.noreply@github.com
078c6b019bfc195469c1ebc25d8ec0378afed718
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/SChr3sBY5ZKwHBHLH_18.py
e61fb27f038e70578af4383a1fd0a48ace1e039d
[]
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
86
py
def sort_it(lst): return sorted(lst, key=lambda i: i if type(i) is int else i[0])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
b8e2268768855166460543c4a549ace91b2acd01
aa76391d5789b5082702d3f76d2b6e13488d30be
/Data Structure/collections/collections03.py
f37a8db3304c4250ee197efc507c772589a18b0b
[]
no_license
B2SIC/python_playground
118957fe4ca3dc9395bc78b56825b9a014ef95cb
14cbc32affbeec57abbd8e8c4ff510aaa986874e
refs/heads/master
2023-02-28T21:27:34.148351
2021-02-12T10:20:49
2021-02-12T10:20:49
104,154,645
0
0
null
null
null
null
UTF-8
Python
false
false
2,382
py
# namedtuple() # 일반 튜플 방식에서는 필드가 많을 경우 각각의 순서가 어떠한 의미를 내포하는지 헷갈릴 수 있다. # 따라서 이러한 필드에 이름을 지정해서 사용할 경우 이러한 문제를 방지할 수 있다. # 사전을 사용할 수도 있지않을까? => 메모리를 좀 더 많이 사용하게된다. # 이러한 부담을 줄일 수 있는 방법이 namedtuple 이다. import collections aa = ("홍길동", 24, "남") print(aa) bb = ("강복녀", 21, "여") print(bb[0]) for n in [aa, bb]: print("%...
[ "the_basic_@kookmin.ac.kr" ]
the_basic_@kookmin.ac.kr
014eebc0b47437ce3b6ed32e4e7644145307ee0e
52b5773617a1b972a905de4d692540d26ff74926
/.history/sorting_20200614221804.py
aab218c7b33236836a8e08302cc90f7c2f007196
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
def wavesort(arr): # sort the numbers first numbers = sorted(arr) # swap the numbers n = len(numbers) i = 0 print(numbers) while i < n-1: temp = numbers[i] numbers[i] = numbers[i+1] numbers[i+1] = temp i+=2 #check if number at position i is smaller than...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
9f02551bf775ed8ec2d6884a17d21cc6099d7879
b3217e2bb6e72fbcb15df99b5c6c10ea4731a5b7
/sarctf/ppc/2.py
99590c8528f3d8868b0b0480a5fd96ab12992ed4
[]
no_license
CrackerCat/ctf-6
5704de09eda187e111c7719c71e0a81c5d5c39e3
aa7846548451572fe54a380dc8d367a0132ad2ec
refs/heads/master
2023-01-28T06:18:01.764650
2020-12-07T12:05:20
2020-12-07T12:05:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
#!/usr/bin/python #coding=utf-8 #__author__:TaQini from pwn import * p = remote('212.47.229.1', 33002) context.log_level = 'debug' se = lambda data :p.send(data) sa = lambda delim,data :p.sendafter(delim, data) sl = lambda data :p.sendline(data) sla = lambda d...
[ "742954809@qq.com" ]
742954809@qq.com
ffde862214cda7a2147f1869d2129ac1db5da852
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/babyclickvn.py
8b4bfb4c58c50080570a3fe83c35000202c62e4f
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@id='content_detail']/div[@class='extra_title width880']", 'price' : "//div[@id='product_price']/div[@id='ctl00_ContentPlaceHold...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
09ede8ef76b80288854cd7a698b21384d4287691
411eff94020c192d5e5f657fa6012232ab1d051c
/extras/unused/goals/Goals.py
9edb3faad6ded548a68976b4d7a7778136b57789
[]
no_license
xMakerx/cio-src
48c9efe7f9a1bbf619a4c95a4198aaace78b8491
60b2bdf2c4a24d506101fdab1f51752d0d1861f8
refs/heads/master
2023-02-14T03:12:51.042106
2021-01-15T14:02:10
2021-01-15T14:02:10
328,268,776
1
0
null
2021-01-15T15:15:35
2021-01-09T23:51:37
Python
UTF-8
Python
false
false
1,239
py
""" Filename: Goals.py Created by: blach (31Jan15) """ class Goal: def __init__(self, data): self.completed = False self.reward = data.get("reward") self.goalType = None def getGoalType(self): return self.goalType def isCompleted(self): return self.completed def getReward(self): return...
[ "brianlach72@gmail.com" ]
brianlach72@gmail.com
1edcdf5662fb9929ad20c46750e1aacfce2ec20c
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part009876.py
57a965a16500bcdc8e2f8d774f7276a11554e190
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,292
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
3a1dde9c5c50408db3863a86c8e88385a9feaa1b
23ec357d5df7addf06cb70c10ba9173521c70a9b
/core/migrations/0009_auto_20210617_1030.py
35a247c12f40532b5e495d2fc609f64c811b74cf
[]
no_license
blimp666/d_job
b8e8b93ef6b94e24a38bd94195a779bfff7f3c30
18904ac12af6593bf59b1ba379f722bd69d00863
refs/heads/main
2023-06-07T21:50:34.596128
2021-06-22T11:15:20
2021-06-23T19:36:48
376,893,878
0
0
null
2021-06-15T19:30:46
2021-06-14T16:48:17
Python
UTF-8
Python
false
false
649
py
# Generated by Django 3.2.4 on 2021-06-17 10:30 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0008_auto_20210617_1019'), ] operations = [ migrations.RenameField( model_name='application', ...
[ "email@example.com" ]
email@example.com
f079a93cb9695ac12a472f2e03946485550b1513
e59fe240f0359aa32c59b5e9f581db0bfdb315b8
/galaxy-dist/doc/lib/galaxy/webapps/galaxy/controllers/admin.py
0ccce0549ad39e4c44ca0458210ca772a21e542c
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
subway/Galaxy-Distribution
dc269a0258471597d483687a0f1dd9e10bd47448
d16d6f9b6a8b7f41a218c06539863c8ce4d5a73c
refs/heads/master
2021-06-30T06:26:55.237251
2015-07-04T23:55:51
2015-07-04T23:55:51
15,899,275
1
2
null
2020-10-07T06:17:26
2014-01-14T10:47:28
Groff
UTF-8
Python
false
false
40,435
py
import imp import logging import os import galaxy.util from galaxy import model from galaxy import web from galaxy.actions.admin import AdminActions from galaxy.exceptions import MessageException from galaxy.util import sanitize_text from galaxy.util.odict import odict from galaxy.web import url_for from galaxy.web.ba...
[ "sabba_88@hotmail.com" ]
sabba_88@hotmail.com
189fc2f6b216183bc3e8e1bb343a24c9669444f0
af84faa0eedb07725755b89e1ce254ed2317286c
/Basics/04_Elements/Distance2Grid.py
cda319b3d75b274e8d209901c3c8ba90b3d62d0c
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
ambaamba/Examples
cdc59a0db40097e9401941facb88e09f41f96abf
88cfc58ca0ce81e70bb3fde964b11d8a094bddf8
refs/heads/master
2020-12-23T10:39:33.696844
2019-12-17T11:23:21
2019-12-17T11:23:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,078
py
#!/usr/bin/env python3 # ----------------------------------------------------------------------------- # Copyright (c) 2016+ Buro Petr van Blokland + Claudia Mens # www.pagebot.io # # P A G E B O T # # Licensed under MIT conditions # # Supporting DrawBot, www.drawbot.com # Supporting Flat, xxyxy...
[ "buro@petr.com" ]
buro@petr.com
a3f2d11981c17034f2fa94d45194dd6fc7f631bd
4e2117a4381f65e7f2bb2b06da800f40dc98fa12
/026_mobile-deeplabv3-plus/01_float32/01_image_to_npy.py
9c53b65419559184884b93a4f706df629e353ed8
[ "AGPL-3.0-only", "LicenseRef-scancode-proprietary-license", "MIT" ]
permissive
PINTO0309/PINTO_model_zoo
84f995247afbeda2543b5424d5e0a14a70b8d1f1
ff08e6e8ab095d98e96fc4a136ad5cbccc75fcf9
refs/heads/main
2023-09-04T05:27:31.040946
2023-08-31T23:24:30
2023-08-31T23:24:30
227,367,327
2,849
520
MIT
2023-08-31T23:24:31
2019-12-11T13:02:40
Python
UTF-8
Python
false
false
311
py
from PIL import Image import os, glob import numpy as np dataset = [] files = glob.glob("JPEGImages/*.jpg") for file in files: image = Image.open(file) image = image.convert("RGB") data = np.asarray(image) dataset.append(data) dataset = np.array(dataset) np.save("person_dataset", dataset)
[ "rmsdh122@yahoo.co.jp" ]
rmsdh122@yahoo.co.jp
c7cbe123ca4dc453acc9c9f66bc343aadfbcb3c6
f0755c0ca52a0a278d75b76ee5d9b547d9668c0e
/atcoder.jp/sumitrust2019/sumitb2019_c/Main.py
c9aee86e614b37fe0a6f1b4a03b4dc524557edd8
[]
no_license
nasama/procon
7b70c9a67732d7d92775c40535fd54c0a5e91e25
cd012065162650b8a5250a30a7acb1c853955b90
refs/heads/master
2022-07-28T12:37:21.113636
2020-05-19T14:11:30
2020-05-19T14:11:30
263,695,345
0
0
null
null
null
null
UTF-8
Python
false
false
333
py
X = int(input()) a = [100, 101, 102, 103, 104, 105] dp = [[False]*100010 for _ in range(10)] dp[0][0] = True for i in range(6): for j in range(X+1): dp[i+1][j] |= dp[i][j] if j >= a[i]: dp[i+1][j] |= dp[i][j-a[i]] dp[i+1][j] |= dp[i+1][j-a[i]] if dp[6][X]: print(1) else:...
[ "g1620535@is.ocha.ac.jp" ]
g1620535@is.ocha.ac.jp
bf7898ea922ae54fcc5710394cda47509e7d9b00
5ffdf4ddee5700e6bb3b062a07c1a9cf7e6adbc1
/Algorithms/Implementation/drawing_book.py
4fe8eda68f7768cb7f6dd22dcff00be2ab616c74
[ "MIT" ]
permissive
byung-u/HackerRank
23df791f9460970c3b4517cb7bb15f615c5d47d0
4c02fefff7002b3af774b99ebf8d40f149f9d163
refs/heads/master
2021-05-05T13:05:46.722675
2018-03-30T08:07:36
2018-03-30T08:07:36
104,960,152
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
#!/usr/bin/env python3 import sys def solve(n, p): d = [n // 2 - p // 2, p // 2] return min(d) n = int(input().strip()) p = int(input().strip()) result = solve(n, p) print(result)
[ "iam.byungwoo@gmail.com" ]
iam.byungwoo@gmail.com
8f617fa52dcc342dbaa43fd68f2228f83369ceb1
e5e82783627e934809d59c3ac9eebee2f032555b
/build/kobuki_bumper2pc/catkin_generated/generate_cached_setup.py
0ae9bc3df2a185fa36e524e215549e7664f15eee
[]
no_license
xy919/my_simulation
b5f312e811afe627186c050950b5b5a3f087f9c1
1258e6480ec6c572440e48cd2b4eb7124005f603
refs/heads/master
2023-03-19T15:17:52.925713
2021-03-01T12:25:02
2021-03-01T12:25:02
332,885,605
0
0
null
null
null
null
UTF-8
Python
false
false
1,332
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "xinyin919@gmail.com" ]
xinyin919@gmail.com
7fbe8a4a839a8ac693434518e350ff4b8abe0b20
e5f9430a165910874abc15143d5aefe521710b1b
/backend/manage.py
6ec3b8b95ed9dde815f7f243b8ea1beeb5e7642b
[]
no_license
crowdbotics-apps/ripple-21452
85d8f5adb674cb887b20fbfc9a6f79b28194f81b
0edf323103cd1e4425705cca1c9a6835b365de41
refs/heads/master
2022-12-29T02:13:29.787522
2020-10-13T19:52:55
2020-10-13T19:52:55
303,808,561
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault("DJANGO_SETTINGS_MODULE", "ripple_21452.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise I...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4ea9deba416abbdc26d547e948fd1ae9db3887bf
3b728b25f77b5b00a8e0f6acdd6a9ef066e29cd0
/annotation.py
ef0e8b40e7c1b7110eb21a6d1fb23979a9c45e4c
[]
no_license
iceshade000/VrelationT
58d05a340bc366b5dd5a5e02168dce74dc4fb6d8
f675f5c80bfc75cfc9449bef0acebeb8c54789db
refs/heads/master
2021-01-23T07:51:24.338181
2017-03-28T13:02:31
2017-03-28T13:02:31
86,460,679
0
0
null
null
null
null
UTF-8
Python
false
false
3,094
py
#coding:utf-8 import scipy.io as sio import numpy as np annotaion_train='./dataset/annotation_train.mat' annotation_test='./dataset/annotation_test.mat' train=sio.loadmat(annotaion_train)['annotation_train'][0] test=sio.loadmat(annotation_test)['annotation_test'][0] train_img_name=[] test_img_name=[] for i in range(...
[ "857332641@qq.com" ]
857332641@qq.com
a3f4a3764a42b6ee37636c45e0920a7a19fee253
687928e5bc8d5cf68d543005bb24c862460edcfc
/nssrc/com/citrix/netscaler/nitro/resource/config/filter/filterhtmlinjectionparameter.py
6b6cbf7bfbed029b7b9528ec317458d2c799b8c2
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "Python-2.0" ]
permissive
mbs91/nitro
c6c81665d6abd04de8b9f09554e5e8e541f4a2b8
be74e1e177f5c205c16126bc9b023f2348788409
refs/heads/master
2021-05-29T19:24:04.520762
2015-06-26T02:03:09
2015-06-26T02:03:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,945
py
# # Copyright (c) 2008-2015 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...
[ "bensassimaha@gmail.com" ]
bensassimaha@gmail.com
64f07323eadfa86a13e53dee8c2cf7b9c5f8cc5d
126a17b567fe9657340270cd57b11e7c91909edb
/EFA/efa_files/run_efa/run_efa_10obs_Z500_12Z.py
9b69a59703fd7fd1699fe3707bd85067ddf1907e
[]
no_license
bopopescu/EFA-code
06d072e1138eae39e5bf75538e8d19256ae7c4c0
4f4ceb10b354b21770a28af3b61d2399343686b7
refs/heads/master
2022-11-24T09:48:30.731060
2018-09-21T01:19:27
2018-09-21T01:19:27
282,699,352
0
0
null
2020-07-26T17:27:25
2020-07-26T17:27:25
null
UTF-8
Python
false
false
6,577
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Aug 16 09:56:29 2017 @author: stangen """ from netCDF4 import Dataset, num2date, date2num import numpy as np from nicks_files.operational_cfsv2 import get_cfsv2_ensemble from datetime import datetime, timedelta from mpl_toolkits.basemap import Basemap ...
[ "noreply@github.com" ]
bopopescu.noreply@github.com
43c7c6ac1baef896e5789872e7d827d7ecb4bc12
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2019/01/graphics/iran-sites-20190111/graphic_config.py
56c2d07dff01c61202071cbe56a957059120a489
[]
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
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '10stgNr7Ft4jtW0e0myavT73aN8cRK2Nr4mKDyvCfcy0' USE_ASSETS = False # 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
aeacb6d509ed05af792bea60aeff5c2d067d0906
ee9655d3ffcdb70ae68692f400096b479b39d0f7
/Python/FindTheDivisors.py
f38eb6f14c3a39a31c1246611b15c24b401c02c4
[]
no_license
yaelBrown/Codewars
4f123387b8c4ea6e55ec1ff5d2ae9b1d674c06cf
efa10770b593e48579c256b9d6b69deede64e9ba
refs/heads/master
2020-11-27T16:02:43.409465
2020-03-20T00:59:49
2020-03-20T00:59:49
229,521,981
0
0
null
null
null
null
UTF-8
Python
false
false
1,195
py
""" Create a function named divisors/Divisors that takes an integer n > 1 and returns an array with all of the integer's divisors(except for 1 and the number itself), from smallest to largest. If the number is prime return the string '(integer) is prime' (null in C#) (use Either String a in Haskell and Result<Vec<u32>,...
[ "yaelrbrown@gmail.com" ]
yaelrbrown@gmail.com
7f8ec63430aa09442097f4312b59ca1e171d7063
aa1972e6978d5f983c48578bdf3b51e311cb4396
/nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/config/authentication/authenticationpolicylabel_authenticationpolicy_binding.py
bfaf6abbb37340b192747321cf9b9ae3994bc545
[ "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
8,939
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
725c32768eaf5cb663de12aeb13f3cc23ab227c3
98cae8f4bfcab16a49e1f17ecf5324adf71cecf3
/TUScheduler_v0.6/TUScheduler.py
61f7a29ddd2337fb3391f44ae1f5cc0687ba5212
[]
no_license
dknife/GUI_wxPython
b58b483db6a1278d7f98da9c48dba29ea2d6f705
86f8ee0bbed9339c839af9b3529ae809404d8daa
refs/heads/master
2020-04-08T11:21:56.011367
2019-01-18T05:07:46
2019-01-18T05:07:46
159,303,301
0
0
null
null
null
null
UTF-8
Python
false
false
1,567
py
import wx # Define the tab content as classes: import TabIntro import TabBasicInfo import TabRoomInfo import TabSolve # notebook page for solving the problem for generating the schedule class CoreData: def __init__(self): self.bClassDataFinished = False self.nProfessors = 0 self.nClassR...
[ "young.min.kang@gmail.com" ]
young.min.kang@gmail.com
78bf0a1fc5326bb6021a7f083099152d6b4ca6ba
71e18daf9e567792a6ce1ae243ba793d1c3527f0
/JaeKwi/gcd.py
207625581973656a1c2502362ea02c137925d3c4
[]
no_license
ohjooyeong/python_algorithm
67b18d92deba3abd94f9e239227acd40788140aa
d63d7087988e61bc72900014b0e72603d0150600
refs/heads/master
2020-06-22T18:10:41.613155
2020-05-27T13:12:03
2020-05-27T13:12:03
197,767,146
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
#최대공약수 구하기 알고리즘 def gcd(a, b): i = min(a, b) while True: if (a % i == 0) and (b % i == 0): return i i = i - 1 print(gcd(10, 12)) print(gcd(3, 6)) print(gcd(60, 24)) #유클리드 최대공약수 알고리즘 #a 와 b는 최대공약수 'b'와 'a를 b로 나눈 나머지'의 최대공약수와 같습니다. #어떤 수와 0의 최대공약수는 자기 자신 def ugcd(a, b): print(a,...
[ "brb1111@naver.com" ]
brb1111@naver.com
85a3672a542f1de317dfb78522ab7e94d48c14dc
5c76189530289332d0e80f2261b4358b71f915eb
/tests/rl/test_saoe_simple.py
d1711bb289e60291e8bdac4841abffc64dde4a40
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/qlib
4fe53e6512b1846d44efed67a2365438b860ed02
4c30e5827b74bcc45f14cf3ae0c1715459ed09ae
refs/heads/main
2023-08-29T05:29:23.001517
2023-08-24T13:24:50
2023-08-24T13:24:50
287,463,830
12,822
2,342
MIT
2023-09-06T09:03:31
2020-08-14T06:46:00
Python
UTF-8
Python
false
false
13,012
py
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. import sys from functools import partial from pathlib import Path from typing import NamedTuple import numpy as np import pandas as pd import pytest import torch from tianshou.data import Batch from qlib.backtest import Order from qlib.config i...
[ "noreply@github.com" ]
microsoft.noreply@github.com
50c9356a07e3bda83163c31d013afb98c6582e21
20f90c522b05d0c14ba58ec0d3d783b0ebe4b4e5
/gps/gps_server/map/PCDao.py
5838dee97259fc2d9ddb497b06820717b0ff7d67
[ "Apache-2.0" ]
permissive
gustavodsf/js_projects
73d0e1973a57c333a07e48aa9cb17e10ff253973
91f045084b73b307b2932eb5e58b9ec60bcaca3b
refs/heads/main
2023-04-28T02:43:58.646124
2021-05-15T21:02:39
2021-05-15T21:02:39
367,727,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,392
py
import PostgresDB import PC class PCDao: def __init__(self): self.pg = PostgresDB.PostgresDB() self.pg.connect() def pontosCadastrados(self): listPC = {} query = "select pccadcodigo,pccaddescresumida from life_pc" cur = self.pg.executeQuery(query) rows = cur.fe...
[ "prover@easymine.com.br" ]
prover@easymine.com.br
43d428165bda8b444cd11770569cbabf8878dc4a
f2fcf807b441aabca1ad220b66770bb6a018b4ae
/coderbyte/Wave_Sorting.py
a5e6111e316f57d534229316d5b34ded22b0364b
[]
no_license
gokou00/python_programming_challenges
22d1c53ccccf1f438754edad07b1d7ed77574c2c
0214d60074a3b57ff2c6c71a780ce5f9a480e78c
refs/heads/master
2020-05-17T15:41:07.759580
2019-04-27T16:36:56
2019-04-27T16:36:56
183,797,459
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
import itertools def WaveSorting(arr): for x in list(itertools.permutations(arr)): if checker(list(x)) == True: print(x) return True else: continue return False #Zig Zag checker def checker(arr): count = 1 ...
[ "gamblecua@gmail.com" ]
gamblecua@gmail.com
95f2e42218ca0fe67d97ea59393957c2b697f965
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02880/s734961242.py
f2db82b88bab727ec3a005fb2338dca6d1cceedb
[]
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
168
py
n = int(input()) a = 0 for x in range(1, 9 + 1): for y in range(1, 9 + 1): if x * y == n: a = True if a: print('Yes') else: print('No')
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9d46ef04fb2dab03201181ff3e984852eb91e32f
0e1245a588be591e7a5752cbe23774c172929f81
/73.py
67a97ce1d1495d60fe1dedd79d58849620716361
[]
no_license
Phantom1911/leetcode
9e41c82f712c596dc58589afb198acedd9351e6b
b9789aa7f7d5b99ff41f2791a292a0d0b57af67f
refs/heads/master
2022-07-10T22:00:01.424841
2022-06-08T09:00:32
2022-06-08T09:00:32
207,652,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,175
py
class Solution: def hashed(self, i, j): return str(i) + ":" + str(j) def setZeroes(self, matrix: List[List[int]]) -> None: """ Do not return anything, modify matrix in-place instead. """ origzeros = set() for i in range(len(matrix)): for j in range(le...
[ "aastik.koshta@flipkart.com" ]
aastik.koshta@flipkart.com
d7be41837c1795a29c6d16ddc882a3df84312ee7
23a1faa037ddaf34a7b5db8ae10ff8fa1bb79b94
/GFG/Arrays/Non-Repeating Element/solution.py
64a6dec04b807bee89b95b9e0964e997ae9122cb
[]
no_license
Pyk017/Competetive-Programming
e57d2fe1e26eeeca49777d79ad0cbac3ab22fe63
aaa689f9e208bc80e05a24b31aa652048858de22
refs/heads/master
2023-04-27T09:37:16.432258
2023-04-22T08:01:18
2023-04-22T08:01:18
231,229,696
2
0
null
null
null
null
UTF-8
Python
false
false
482
py
class Solution: def firstNonRepeating(self, arr, n): d = dict() for i in arr: if i not in d: d[i] = 1 else: d[i] += 1 for i in arr: if d[i] == 1: return i r...
[ "prakharkumar506978@gmail.com" ]
prakharkumar506978@gmail.com
4ce1e8a2a69742a3efd7c8738ed7614b7e389af6
497291126f711206d430d3a4f4898e04e88650da
/imbh/run_duty_cycle_hyperpe.py
9745ba663e96e844390e18ef35d325c58ec7c9a1
[]
no_license
avivajpeyi/imbh_pe
0688f9fc3a83ca4e9b0bb92a76240efa5bb6155e
a3641a592a66bb42354525704757279f75e37d0b
refs/heads/master
2022-07-08T01:44:47.895128
2019-10-11T02:44:54
2019-10-11T02:44:54
183,551,205
0
0
null
2022-06-21T22:03:42
2019-04-26T03:35:29
HTML
UTF-8
Python
false
false
1,565
py
# #!/usr/bin/env python3 import argparse import logging import os import pandas as pd from hyper_pe.duty_cycle import sample_duty_cycle_likelihood logging.basicConfig(level=logging.DEBUG) INJECTION_NUMBER = "InjNum" LOG_BF = "log_bayes_factor" LOG_EVIDENCE = "log_evidence" LOG_NOISE_EVIDENCE = "log_noise_evidence" L...
[ "avi.vajpeyi@gmail.com" ]
avi.vajpeyi@gmail.com
465159c5322cd6e2489132082dbea37da599957a
f8dd8d046100f1223713e047074f30c7ce5a59cd
/testing/epilogue/mappers.py
5c5a5b399ca13f484d9e91c72551c26c0bf3fef5
[]
no_license
dotslash227/98fitcortex
57aed99270799eff68fdff62db0b8c1d9aabd4a2
bd4002151e5def00c3dea1f5a1abfb06ba3e809a
refs/heads/master
2022-12-17T00:51:20.302948
2019-02-27T13:54:22
2019-02-27T13:54:22
197,362,824
0
0
null
2022-12-08T00:02:42
2019-07-17T09:55:14
HTML
UTF-8
Python
false
false
1,200
py
from dietplan.goals import Goals from django.db import models QUANTITY_MANIPULATE = [ "Parantha", "Roti", "Dosa", "Cheela", "Uttapam" ] UNCHANGABLE_ITEMS = [ 'Boiled Egg White', 'Salad' ] fieldMapper = { Goals.WeightLoss : "squared_diff_weight_loss", Goals.MaintainWeight : "squared_diff_weight_maintain", ...
[ "shikhar.chauhan@live.com" ]
shikhar.chauhan@live.com
e982e238d8581e2ccd02f6efbece8bfdfa83e936
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/J/Julian_Todd/edmonton-fire-stations.py
77594e0541d31f5c54d4e06d66ff7f1512f8e284
[]
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
47,957
py
import json import urllib import lxml.etree import re import scraperwiki scraperwiki.cache(True) def GetData(): root = lxml.etree.parse(urllib.urlopen("http://datafeed.edmonton.ca/v1/coe/FireStations")).getroot() for r in root.findall('.//{http://www.w3.org/2005/Atom}content/{http://schemas.microsoft.com/ado/2...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
702bbc35033be5dceb6ce00b936b4454b6967fa7
92af0d7e1d0c6b17e80ee249bb133d8e1f1c7852
/ABC032/C.py
ebe841040fc3a4d67560536ab8150eebca8e2840
[]
no_license
ohshige15/AtCoder
6157089f4672d8497789db02db3bfce334ec0152
c0d1e979631d9df62e70a2b1066bc670fccae1ec
refs/heads/master
2020-04-23T03:25:43.325538
2019-09-19T11:18:57
2019-09-19T11:18:57
170,878,361
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
N, K = map(int, input().split()) S = [int(input()) for _ in range(N)] if 0 in S: print(N) exit() right = 0 x = 1 result = 0 num = 0 for left in range(N): while right < N and x * S[right] <= K: x *= S[right] num += 1 right += 1 if num > 0: result = max(result, num) ...
[ "satoshi.o.xxx@gmail.com" ]
satoshi.o.xxx@gmail.com
047633c791be1f00e0a04427c35678b27a32def8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02394/s187065290.py
4fe9336d1106bc1613fb5a630b4ef0149cf87dee
[]
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
238
py
W, H, x, y, r = map(int, input().split()) flg = False for X in [x - r, x + r]: for Y in [y - r, y + r]: if not 0 <= X <= W: flg = True if not 0 <= Y <= H: flg = True print(["Yes", "No"][flg])
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
28047072122faeb0a8ff271caa8b794daca31443
2a54e8d6ed124c64abb9e075cc5524bb859ba0fa
/.history/1-Python-Basics/1-data-type_20200410234228.py
4b390bbdb256dd67e36b8d768d844c87fe689b0b
[]
no_license
CaptainStorm21/Python-Foundation
01b5fbaf7a913506518cf22e0339dd948e65cea1
a385adeda74f43dd7fb2d99d326b0be23db25024
refs/heads/master
2021-05-23T01:29:18.885239
2020-04-23T19:18:06
2020-04-23T19:18:06
253,171,611
0
0
null
null
null
null
UTF-8
Python
false
false
239
py
# Fundamental Data Types # int # float # bool # str # list # tuple # set # dict # Classes -> custom types # Specialized Data Types # None # Fundamentals Data Types # integer print(type( 2+ 4 )) print( 2% 4 ) print( 2* 4 ) print( 2/ 4 )
[ "tikana4@yahoo.com" ]
tikana4@yahoo.com
ce06e61c6efee40e31bae635ca9e9e2ad6ac741d
46ac0965941d06fde419a6f216db2a653a245dbd
/sdks/python/appcenter_sdk/models/AppleLoginRequest.py
c7b3f491fbed5f33675bbbef853bfc07d3d8d1bf
[ "MIT", "Unlicense" ]
permissive
b3nab/appcenter-sdks
11f0bab00d020abb30ee951f7656a3d7ed783eac
bcc19c998b5f648a147f0d6a593dd0324e2ab1ea
refs/heads/master
2022-01-27T15:06:07.202852
2019-05-19T00:12:43
2019-05-19T00:12:43
187,386,747
0
3
MIT
2022-01-22T07:57:59
2019-05-18T17:29:21
Python
UTF-8
Python
false
false
5,930
py
# coding: utf-8 """ App Center Client Microsoft Visual Studio App Center API # noqa: E501 OpenAPI spec version: preview Contact: benedetto.abbenanti@gmail.com Project Repository: https://github.com/b3nab/appcenter-sdks """ import pprint import re # noqa: F401 import six class AppleLoginRequ...
[ "b3nab@users.noreply.github.com" ]
b3nab@users.noreply.github.com
dbb631c36bb2d060fada382a655ebe46775d1364
fb7ecd90d8e32b52c4aad0d1e3b4e678330fec57
/voom/bin/django-admin.py
3be7bea0501bc9b746f48534d45c8dbb7612b41d
[]
no_license
dennyshow/milestone-project4
0bd49eec64efebd3003bb9aa1a6c33a08904279c
bf0725cc846110b3f1f2d5a9d89c9506ce26f66d
refs/heads/master
2022-12-09T22:33:41.179691
2020-01-24T06:32:50
2020-01-24T06:32:50
224,240,712
0
1
null
2022-12-08T03:24:55
2019-11-26T16:45:40
Python
UTF-8
Python
false
false
154
py
#!/home/ec2-user/environment/voom/bin/python3.6 from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "ec2-user@ip-172-31-47-222.ec2.internal" ]
ec2-user@ip-172-31-47-222.ec2.internal
29c8ce4b10808ec246f7fca15551a28845b40238
102a33464fd3a16ceedd134e9c64fea554ca5273
/apps/achievements/models.py
e4843e4d6ac88ff6e4ce360080417aaf44be3ced
[]
no_license
pythonguru101/django-ecommerce
b688bbe2b1a53c906aa80f86f764cf9787e6c2fe
f94de9c21223716db5ffcb86ba87219da88d2ff4
refs/heads/master
2020-07-24T14:57:02.047702
2020-06-10T06:06:23
2020-06-10T06:06:23
207,961,132
1
0
null
null
null
null
UTF-8
Python
false
false
4,051
py
# encoding: utf-8 import datetime from django.db import models from django.urls import reverse, reverse_lazy from django.contrib.auth.models import User from django.utils.translation import ugettext as _ from imagekit.models import ImageSpecField from imagekit.processors import ResizeToCover, ResizeToFill, ResizeToFit...
[ "pythonguru101@gmail.com" ]
pythonguru101@gmail.com
44bf97a7387695c03b03dcadc2cc8af396310a5f
30569618ec13465ee323f27797933ba85035711a
/test/test_body45.py
b6617635fc03af5523117f5b2eb72c7734db7e89
[ "MIT" ]
permissive
ike709/tgs4-api-pyclient
c0fdd7e648fd4fb77f0caf3253a7e1daafc0477a
97918cfe614cc4ef06ef2485efff163417a8cd44
refs/heads/main
2023-03-14T08:11:06.146596
2021-03-01T18:21:33
2021-03-01T18:21:33
336,353,718
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
# coding: utf-8 """ TGS API A production scale tool for BYOND server management # noqa: E501 OpenAPI spec version: 9.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.model...
[ "sparebytes@protonmail.com" ]
sparebytes@protonmail.com
b9dbbdcf8aabb4a43e2bf9ab40c79574aabae8b5
57b4ee27801c23cdd6a6d974dbc278f49740f770
/easyctf_sum.py
db3111c2f8ff777a15a36c1f10b48a2d8da72772
[]
no_license
zwhubuntu/CTF-chal-code
4de9fc0fe9ee85eab3906b36b8798ec959db628c
8c912e165f9cc294b3b85fab3d776cd63acc203e
refs/heads/master
2021-01-20T18:39:26.961563
2017-09-25T14:07:56
2017-09-25T14:07:56
62,563,092
7
2
null
null
null
null
UTF-8
Python
false
false
363
py
sum_lst = [] N = raw_input('please input the numbers(1-99):') if int(N) <= 0 or int(N) >= 100: exit('N error') for i in xrange(int(N)): tmp = raw_input('enter the numbers(-999-999):') if int(tmp) <= -1000 or int(tmp) >= 1000: exit('input error') sum_lst.append(int(tmp)) print sum_lst print "t...
[ "zwhubuntu@hotmail.com" ]
zwhubuntu@hotmail.com
9638971dd529b93751bed146bd1e3d1d6d93a4dd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03380/s425959610.py
31aca42fa9e84f2d82c80aee4d054ec74ccfb8c5
[]
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
753
py
import bisect,collections,copy,itertools,math,string import sys def I(): return int(sys.stdin.readline().rstrip()) def LI(): return list(map(int,sys.stdin.readline().rstrip().split())) def S(): return sys.stdin.readline().rstrip() def LS(): return list(sys.stdin.readline().rstrip().split()) def main(): n = I() ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
9f296804ff9e989e9205c36736e5ef5b1a3119e9
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/Sourcem8/pirates/friends/PCPlayerFriendsManager.py
636ac3e97ed5dec977e51e17263be6847a0e1e44
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
1,946
py
from direct.distributed.DistributedObjectGlobal import DistributedObjectGlobal from direct.directnotify.DirectNotifyGlobal import directNotify from otp.otpbase import OTPGlobals from otp.friends.PlayerFriendsManager import PlayerFriendsManager from pirates.friends.PCFriendPlayerInfo import PCFriendPlayerInfo class PCP...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
71508c2ec1d4c71972e976a99db2c00182518c60
78d5a6e0846cb6b03544e4f717651ca59dfc620c
/treasury-admin/transfert/migrations/0017_auto_20180110_0901.py
b694b0fe2963aefd1b9bbafd7b5f0c1488f4ef67
[]
no_license
bsca-bank/treasury-admin
8952788a9a6e25a1c59aae0a35bbee357d94e685
5167d6c4517028856701066dd5ed6ac9534a9151
refs/heads/master
2023-02-05T12:45:52.945279
2020-12-13T08:07:41
2020-12-13T08:07:41
320,323,196
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-01-10 08:01 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('transfert', '0016_auto_20180110_0857'), ] operations = [ mi...
[ "cn.makodo@gmail.com" ]
cn.makodo@gmail.com
895dd3ff39d919619df1ebd2d2be6f9c95e96aaf
ab1287568346bfbac9c383d67793d19f2a415971
/easy/1_two_sum_1.py
b600912f7ffed249c079df5c3ed70a49be94b655
[]
no_license
richwandell/lc_python
6080e9d0967e853695ff5619d94c512e9908fb68
772824ef40cb0011713dba489d40c62b3577db14
refs/heads/master
2021-11-18T19:43:42.217991
2021-10-03T17:47:17
2021-10-03T17:47:17
238,301,509
1
0
null
null
null
null
UTF-8
Python
false
false
893
py
from typing import List class Solution: """ Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target. You may assume that each input would have exactly one solution, and you may not use the same element twice. You can return the answer in a...
[ "richwandell@gmail.com" ]
richwandell@gmail.com
2ef867123d2bf54310095ddc4c17fb882ea0e808
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-vpc/huaweicloudsdkvpc/v3/model/remove_vpc_extend_cidr_request.py
668aabe967a0ef394c18ab98a3e6b3dc0a6f1712
[ "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
3,914
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class RemoveVpcExtendCidrRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is a...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
4b55aa81ccd27d9b65e650d10ff8bd5e1c4e1d62
d24a6e0be809ae3af8bc8daa6dacfc1789d38a84
/other_contests/zone2021_a/D.py
e46420949401d799239c856ab3b869ffdd11a64f
[]
no_license
k-harada/AtCoder
5d8004ce41c5fc6ad6ef90480ef847eaddeea179
02b0a6c92a05c6858b87cb22623ce877c1039f8f
refs/heads/master
2023-08-21T18:55:53.644331
2023-08-05T14:21:25
2023-08-05T14:21:25
184,904,794
9
0
null
2023-05-22T16:29:18
2019-05-04T14:24:18
Python
UTF-8
Python
false
false
754
py
from collections import deque def solve(s): r = deque() flag = 1 for c in s: if c == "R": flag *= -1 else: if flag == 1: r.append(c) else: r.appendleft(c) res = "" while r: c = r.popleft() if len(re...
[ "cashfeg@gmail.com" ]
cashfeg@gmail.com
ad568708af39b811f08c7c3ed0b9d358bbd726e2
cbe264842df4eae3569b28ed4aae9489014ed23c
/deep-learning-from-scratch/ch03/sigmoid.py
5aefc89779482688db2dc7ad69903faf06204bf2
[ "MIT" ]
permissive
zeroam/TIL
31e176c2f4c3e1ef72b1155353690cc2f7160f96
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
refs/heads/master
2021-07-23T01:43:34.135033
2021-07-10T06:47:17
2021-07-10T06:47:17
167,952,375
1
0
null
null
null
null
UTF-8
Python
false
false
260
py
import numpy as np import matplotlib.pylab as plt def sigmoid(x): return 1 / (1 + np.exp(-x)) if __name__ == "__main__": x = np.arange(-5.0, 5.0, 0.1) y = sigmoid(x) plt.plot(x, y) plt.ylim(-0.1, 1.1) # y축 범위 지정 plt.show()
[ "imdff0803@gmail.com" ]
imdff0803@gmail.com
b8efbeb70c7cbd4129e28fa6ebed6ec7f6578d1b
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02633/s443106112.py
1d23deddc45d9eded4c92388a34a4e8e26f12b09
[]
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
45
py
y=x=int(input()) while y%360:y+=x print(y//x)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e7e60143d9aaa90cf6e5943e789b9e5890f89fc6
a140fe192fd643ce556fa34bf2f84ddbdb97f091
/.history/class맴버변수_20200708171019.py
44bda9c141515ac179155ab41781d659c16b544b
[]
no_license
sangha0719/py-practice
826f13cb422ef43992a69f822b9f04c2cb6d4815
6d71ce64bf91cc3bccee81378577d84ba9d9c121
refs/heads/master
2023-03-13T04:40:55.883279
2021-02-25T12:02:04
2021-02-25T12:02:04
342,230,484
0
0
null
null
null
null
UTF-8
Python
false
false
714
py
class Unit: def __init__(self, name, hp, damage): self.name = name self.hp = hp self.damage = damage print("{0} 유닛이 생성 되었습니다.".format(self.name)) print("체력 {0}, 공격력 {1}".format(self.hp, self.damage)) # 레이스 : 공중 유닛, 비행기, 클로킹 (상대방에게 보이지 않음) wraith1 = Unit("레이스", 80, 5) print(...
[ "sangha0719@gmail.com" ]
sangha0719@gmail.com
75caced479952f3f4a02d5a74e91bbe1cfeccd0a
00689951be97b3e9e3a036aca64efaa1ee59134a
/aula019 - DICIONARIOS/ex093-guanabara.py
9ffb53154a44b6f447ea35257eec577a11f082f1
[ "MIT" ]
permissive
miradouro/CursoEmVideo-Python
4826cf387cc9424e675f2b115842a643f2d67c8d
cc7b05a9a4aad8e6ef3b29453d83370094d75e41
refs/heads/main
2023-03-24T08:51:34.183169
2021-03-20T22:15:02
2021-03-20T22:15:02
349,843,991
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
#guanabara fez um pouco diferente #mas o resultado foi exatamente o mesmo jogador = dict() partidas = list() jogador['nome']= str(input('Nome do jogador: ')).strip().title() tot = int(input(f'Quantas partidas {jogador["nome"]} jogou? ')) for c in range(0, tot): partidas.append((int(input(f'Quantos gols na partida {...
[ "rafaelmiradouro@gmail.com" ]
rafaelmiradouro@gmail.com
658f0cc40bf342b9c626ea9c325d5b563c7809f8
19201b7ef6fa2c3f2b56fb9d03fd9cfcc8ef3c28
/__init__.py
61882ef054c3a42a9c0785be9a962eb7a7fb1f31
[ "MIT" ]
permissive
cheery/textended
244bc37806579da2a5de3792338ec12cb698d1a4
8d4240f1b2257ac55ddb4894c275b3bef16f650c
refs/heads/master
2021-03-12T21:49:44.502521
2015-03-27T20:49:36
2015-03-27T20:49:36
27,974,892
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
import common import stream import decoding import encoding def load(fd, transform=(lambda tag, ident, contents: (tag, ident, contents))): rd = stream.ReadStream(fd, transform) return decoding.file(rd) def dump(contents, fd, transform=(lambda x: x)): wr = stream.WriteStream(fd, transform) encoding.fil...
[ "cheery@boxbase.org" ]
cheery@boxbase.org
051a43bb6e03f493131a8ef1439012e278e92a4a
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/462/usersdata/321/105188/submittedfiles/avenida.py
55095eda84d8606e4e569422f2a3f9f2dc4073bf
[]
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
150
py
# -*- coding: utf-8 -*- m= int(input('Número de quadras no sentido Norte-Sul: ')) n= int(input('Número de quadras no sentido Leste-Oeste: ')) a= []
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
958208db1acc443a3fd9507117c0dbd7e8e575a5
61d216e7ebc601a2584e679f6322e8e20eea4ed4
/python-tldextract/lilac.py
df5680b7c9768ef14059b0ed987fbee3313a78d6
[]
no_license
relcodego/repo
a43103ec0148f35b0c6f03bb3243ae18a82ed5dd
c0be6f5c8a99474eb34a4abe8c17e5c412831627
refs/heads/master
2020-04-06T04:38:55.725050
2016-03-06T18:31:26
2016-03-06T18:31:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
982
py
#!/usr/bin/env python3 import fileinput from lilaclib import * build_prefix = 'extra-x86_64' def pre_build(): info = get_pypi_info('tldextract') pkgver = info['info']['version'] release = [x for x in info['releases'][pkgver] if x['packagetype'] == 'sdist'][0] md5sum = release['md5_digest'] url = release['...
[ "lilydjwg@gmail.com" ]
lilydjwg@gmail.com
3f6260d2509dcdec264f7b4ea609a6f79f791d31
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/autosar/models/diagnostic_data_identifier_set_subtypes_enum.py
7564190d363a4be71f86e4f1020fcf5e4167b8ea
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
197
py
from enum import Enum __NAMESPACE__ = "http://autosar.org/schema/r4.0" class DiagnosticDataIdentifierSetSubtypesEnum(Enum): DIAGNOSTIC_DATA_IDENTIFIER_SET = "DIAGNOSTIC-DATA-IDENTIFIER-SET"
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
f9be86d77d5420d42f33ea887f09dd4ce926440e
08c73d76d4f933bae76b5f8519bc0883d2ba184a
/src/test/bee_view.py
b0d0e1900bb1b899fbd0df0226249dd4505d033a
[]
no_license
palencia77/social-core
fa17df4d48d07d2f97041491599f08bcddfb4e20
f7a0812b70c476ce073f8bdb54bbde4d517658cf
refs/heads/master
2021-09-16T01:01:24.109023
2018-05-28T03:36:10
2018-05-28T03:36:10
85,777,596
0
0
null
null
null
null
UTF-8
Python
false
false
570
py
''' Created on 20/06/2014 @author: palencia77 ''' import json import simplejson import requests import base64 data = {} data['login'] = 'rvalera@najoconsultores.com' data['password'] = 'admin' result = requests.post("http://localhost:5000/user/validate", data=json.dumps(data)) validate_result = result.json() if ...
[ "jpalencia@technisys.com" ]
jpalencia@technisys.com
5f48f1a6d43010843e931d7dd0d60b485b19f7a0
9b34e542589b7d0d327d3255ac4fcd0bcf5e7216
/no of 1's in a or b.py
1ac47170a20a6308743336ac99a6f1921d2b5908
[]
no_license
Sravaniram/pythonprogramming
9ee23cd2ff925fa2c6af320d59643747db173cd7
4c09c6787a39b18a12dfcbb2c33fcceabd4fc621
refs/heads/master
2020-03-26T23:26:03.391360
2019-04-23T12:49:53
2019-04-23T12:49:53
145,541,824
1
9
null
null
null
null
UTF-8
Python
false
false
105
py
n,m=map(int,input().split()) k=format(n | m,"b") c=0 for y in k: if(y=="1"): c=c+1 print(c)
[ "noreply@github.com" ]
Sravaniram.noreply@github.com
f3e3232c158fc2f4f6326ffe39a9ec696615d088
6331366893903ced93d4cc2b644dbd1ec9a50692
/tests/test_base.py
6414b6fd3d4571743494b14c560df97fcff76e09
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
davidandreoletti/vectorbt
e270522aaccb8c94c5af88120f791bee94c9bcc1
0cd596e1be975d4af6379d883090ffb5b7375d08
refs/heads/master
2023-05-26T10:14:46.396827
2021-06-07T19:40:16
2021-06-07T19:40:16
374,778,981
0
0
Apache-2.0
2021-06-07T19:40:16
2021-06-07T19:30:27
null
UTF-8
Python
false
false
135,047
py
import numpy as np import pandas as pd from numba import njit import pytest from datetime import datetime from vectorbt import settings from vectorbt.base import ( accessors, array_wrapper, column_grouper, combine_fns, class_helpers, index_fns, indexing, reshape_fns ) ray_available = T...
[ "olegpolakow@gmail.com" ]
olegpolakow@gmail.com
0338d36cfd9cf66348baa9bc4ca348e3e9d8d95a
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/HyLkfdagDGc99ZhbF_18.py
fc9fe6b3b7943e4d8907c692363b2aba59ff5424
[]
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
40
py
def f(n): return 2 if n%2==1 else 8
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
250e96b2bc7c17cced4114c4671053ae7a82a0c0
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-network/azure/mgmt/network/v2018_07_01/models/virtual_hub_paged.py
40bb1179c20157ba6936a11dfa4b7c17bffab222
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
942
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
c19947bd2058ee8b4cf3ac15d3b7c40157e9e674
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part009672.py
df07675cf90fd5d7281c8aa16282b03d8d9f76e7
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
2,663
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
871e86e845ab9354cfa2e634e49eae7b17823a11
d41d18d3ea6edd2ec478b500386375a8693f1392
/plotly/validators/histogram2dcontour/_stream.py
1fd236754e22d7a592d44fb179ef197e9f916640
[ "MIT" ]
permissive
miladrux/plotly.py
38921dd6618650d03be9891d6078e771ffccc99a
dbb79e43e2cc6c5762251537d24bad1dab930fff
refs/heads/master
2020-03-27T01:46:57.497871
2018-08-20T22:37:38
2018-08-20T22:37:38
145,742,203
1
0
MIT
2018-08-22T17:37:07
2018-08-22T17:37:07
null
UTF-8
Python
false
false
865
py
import _plotly_utils.basevalidators class StreamValidator(_plotly_utils.basevalidators.CompoundValidator): def __init__( self, plotly_name='stream', parent_name='histogram2dcontour', **kwargs ): super(StreamValidator, self).__init__( plotly_name=plotly_name, parent_nam...
[ "adam.kulidjian@gmail.com" ]
adam.kulidjian@gmail.com
24c7068f47474016b78486d188244eb08dfdb939
9d8b7b736c9393fcd0777c4fad1ebfb23e2ba85e
/saltcontainermap/__init__.py
ab642133e3388433e58bd86c46c3a09fbbac36bd
[ "MIT" ]
permissive
pombredanne/salt-container-map
d1326cd919b03b98482a8134bfae52b61041c8ab
908819859a2f320dd7caab5092a44436f9b8319e
refs/heads/master
2021-01-14T12:40:24.883520
2016-08-22T20:00:40
2016-08-22T20:00:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
87
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals __version__ = '0.1.9'
[ "matthias@erll.de" ]
matthias@erll.de
15cfabbf9a36f9eb5d7f3f5807902e9f8dd38ca1
b3c1055f7579c4099deb9df91bab085ebf9719cc
/testsite/settings.py
e87d21062415394d7f54bd71b75f67ff6efc4e5e
[ "BSD-2-Clause" ]
permissive
knivets/djaodjin-multitier
8412f1a468bd29c835e1dfba30a94b697b4f8b7a
faef56e9424ab493c9e0fca0b6fd56231a648070
refs/heads/master
2020-03-22T16:33:49.120554
2019-01-31T04:09:27
2019-01-31T04:09:27
140,334,951
0
0
BSD-2-Clause
2018-07-09T19:51:00
2018-07-09T19:51:00
null
UTF-8
Python
false
false
5,967
py
""" Django settings for testsite project. For more information on this file, see https://docs.djangoproject.com/en/1.7/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.7/ref/settings/ """ # Build paths inside the project like this: os.path.join(BASE_DIR, ...) i...
[ "smirolo@djaodjin.com" ]
smirolo@djaodjin.com
74f038a31924d47a1ea1b5d6afaefe70422d409d
c863f7eb039bec37316d90d0ce4e9db362884ebf
/PDE_net.py
fb4f7288d1d75b42768a0c0d1e1dd98809466aad
[]
no_license
Y-Kanan/physical_network
2cdd9860040da9ce8bdac796ca55c2bcd3524012
0bde85a66c5b97580a4792701d17549ffe51b466
refs/heads/master
2021-09-27T07:21:27.442423
2018-11-06T21:32:19
2018-11-06T21:32:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,964
py
import tensorflow as tf from tqdm import tqdm import numpy as np from utils import * import scipy.io as sio from shutil import copyfile import matplotlib.pyplot as plt import seaborn as sns class PDE_NET: def __init__(self, cfg): self.delta_t = cfg['delta_t'] self.time_start = cfg['time_start'] ...
[ "hope-yao@asu.edu" ]
hope-yao@asu.edu
9b26830525fb30f00ea11fd317b1fcfd7398f3cd
6a63a3b241e161d1e69f1521077617ad86f31eab
/python/ray/data/datasource/torch_datasource.py
a6de55fad34a002c5b34ea5121c0f5d2d9472ff6
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
jovany-wang/ray
47a9df67e8ea26337517d625df50eb0b8b892135
227aef381a605cb1ebccbba4e84b840634196a35
refs/heads/master
2023-09-03T23:53:00.050619
2022-08-20T21:50:52
2022-08-20T21:50:52
240,190,407
1
1
Apache-2.0
2023-03-04T08:57:04
2020-02-13T06:13:19
Python
UTF-8
Python
false
false
2,424
py
import logging from typing import TYPE_CHECKING, Callable, Iterator, List from ray.data.block import Block, BlockMetadata, T from ray.data.datasource import Datasource, ReadTask from ray.util.annotations import PublicAPI if TYPE_CHECKING: import torch.utils.data logger = logging.getLogger(__name__) @PublicAPI ...
[ "noreply@github.com" ]
jovany-wang.noreply@github.com
d81168437fa93dce9c347c6d07806e45898d173e
393988ecbc84cc99941aa7e8b77f9035a694c5e2
/autotest/ogr/ogr_rfc35_mitab.py
9c31ea36b8501f9e50eaf1780ec504973acbfcd3
[ "MIT" ]
permissive
rbuffat/gdal
625f29339aa3401fc02500ccc16969459aad1f76
9a563c54787d72271140150880227918ed141d34
refs/heads/master
2021-07-10T07:13:35.754922
2018-04-13T17:09:02
2018-04-13T17:09:02
129,447,856
0
0
null
2018-04-13T20:01:27
2018-04-13T20:01:27
null
UTF-8
Python
false
false
18,834
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ############################################################################### # $Id$ # # Project: GDAL/OGR Test Suite # Purpose: Test RFC35 for MITAB driver # Author: Even Rouault <even dot rouault at mines dash paris dot org> # #######################################...
[ "even.rouault@mines-paris.org" ]
even.rouault@mines-paris.org
c40d8d8be1066750f7be1e796730e58bbf4277f6
585e04dbc338efb5a9f8861e9970bd9bfc224f44
/src/SpecialPointSelector/PointBlock.py
d2e1936c9ac41017a3ce5f039ec461d29db1cf8a
[]
no_license
CONNJUR/PyScheduler
34dba79baf881216dfd06a1421849603f35b145f
150f60495d5a0b86bb211f4c5d691e7d79a9e0b7
refs/heads/master
2021-01-23T08:52:46.891768
2014-04-26T15:37:03
2014-04-26T15:37:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
''' @author: mattf required parameters: per dimension: range for point block (low and high) algorithm: generate a table of n-dimensional points containing all grid points within the given block ranges ''' import ListGenerators as lg def getSelector(blockRanges): def func(): s...
[ "mfenwick100@gmail.com" ]
mfenwick100@gmail.com
b4feb38bda3f725e1fb7b89c53d2f282c612023e
f65f755fd6568cbd56d789c45ceba4f46ea82327
/commons/requests/advanced.py
0fcaee746a9c386e19a477ddb32a0d3f95a60b5d
[]
no_license
tmorayan007/python3-cookbook
bd77b749bc4e6519d6ae85471ed140fa44398bef
b00c545fdf26a03ee9504f1c79c402d055168d5d
refs/heads/master
2020-05-21T10:12:01.776694
2014-12-07T14:15:26
2014-12-07T14:15:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,212
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- """ Topic: 高级主题 """ import requests import re from PIL import Image from io import StringIO import json from requests import Request, Session from contextlib import closing from requests.auth import AuthBase from requests.auth import HTTPBasicAuth def advanced(): # ...
[ "yidao620@gmail.com" ]
yidao620@gmail.com
54e8a4b7d0687a390f04ab5e90878faa2f6dd592
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/inspections/PyAugmentAssignmentInspection/negativeMinus.py
10ebeee1f4e38e1cfee678467ff963fd6f672f85
[ "Apache-2.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
22
py
#PY-2514 dy = 1 - dy
[ "Ekaterina.Tuzova@jetbrains.com" ]
Ekaterina.Tuzova@jetbrains.com
c5444fa6167a7d2a3aa8f04ce909bc56b920bc33
d6a152b8662af82ec604fa63c5c415dc6b59699b
/courses/migrations/0031_building_remove_course_recitations_course_room_and_more.py
b3803bd066cf5dd883a56508c7cb17c1957452cb
[]
no_license
rybesh/aeshin
7cf433ba93309f49e2ff676c2d4568244f81ee52
292867a8b80031cacfce70c67387c656c3cb191b
refs/heads/master
2023-08-19T00:17:40.042842
2023-08-17T17:47:55
2023-08-17T17:47:55
22,109,808
0
0
null
2023-09-05T14:05:34
2014-07-22T15:40:33
Python
UTF-8
Python
false
false
3,607
py
# Generated by Django 4.2.4 on 2023-08-15 19:30 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ("courses", "0030_assignment_is_inclass"), ] operations = [ migrations.CreateModel( name="Building...
[ "ryanshaw@unc.edu" ]
ryanshaw@unc.edu
ffb44f0a9fd857ab3507d770761b563fad1597c2
a3a3e1298db9555eda37f8da0c74a437d897cb1f
/compiled/Python2/Euler_Problem-014.py
b6918329c20a65cd0488ccd346af8202aef2a9dc
[ "MIT" ]
permissive
LStepanek/Project-Euler_Befunge
58f52254ee039ef6a5204fc65e62426c5e9d473a
f35fb2adecd737e410dee7b89b456cd61b25ce78
refs/heads/master
2021-01-01T17:51:52.413415
2017-05-03T17:23:01
2017-05-03T17:26:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
#!/usr/bin/env python2 # transpiled with BefunCompile v1.1.0 (c) 2015 import sys def td(a,b): return ((0)if(b==0)else(a//b)) def tm(a,b): return ((0)if(b==0)else(a%b)) s=[] def sp(): global s if (len(s) == 0): return 0 return s.pop() def sa(v): global s s.append(v) def sr(): glo...
[ "mailport@mikescher.de" ]
mailport@mikescher.de
876b2c535297256a3cc1025594131167dfffa2ab
03fe3e8201f8d490af2f4acd03f986bf45e97f8e
/binary_search_tree.py
9ab5215db1aa9406c77358baca94268077024f58
[]
no_license
samarthhegdekalgar/PythonDataStructure
f1eb8a11374643cdb59e9af7d1008f4b5ecafdd1
fae60e3f6290a8a9d1287cc8eae5ded2bd85e711
refs/heads/master
2020-08-08T18:32:21.828779
2019-10-29T18:10:55
2019-10-29T18:10:55
213,889,455
0
0
null
2019-10-29T18:10:56
2019-10-09T10:32:37
Python
UTF-8
Python
false
false
2,091
py
class node: def __init__(self, value=None): self.value = value self.left_child = None self.right_child = None class binary_search_tree: def __init__(self): self.root=None def insert(self, value): if self.root == None: self.root = node(value) else: self._insert(value, self.root) def _insert(se...
[ "samarthhegdekalgar@gmail.com" ]
samarthhegdekalgar@gmail.com
f098e503706fa256200fb372d308cac7bda5d7a2
426e7709cf8ac82fc928a489f52cad1a17019a5d
/django_full_stack/semi_restful_tv_shows/semi_restful_tv_shows/settings.py
2dd2f16924329bae1d2f8f74b054e5cbe8acfa4e
[ "MIT" ]
permissive
gfhuertac/coding_dojo_python
3eb3fa98175e7d55f5d2510355f932342649fc25
4d17bb63fb2b9669216a0f60326d4a4b9055af7e
refs/heads/master
2022-05-09T21:51:37.534322
2020-06-06T21:28:52
2020-06-06T21:28:52
229,930,788
0
0
MIT
2022-04-22T23:15:54
2019-12-24T11:37:27
Python
UTF-8
Python
false
false
3,148
py
""" Django settings for semi_restful_tv_shows 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/ """ ...
[ "gonzalo@huerta.cl" ]
gonzalo@huerta.cl
5c18193abfb3f0f4c480678107904646a195eba0
4cf3f8845d64ed31737bd7795581753c6e682922
/.history/main_20200118160002.py
d29aa4eeee5c89f5515f813ccf3b409f1229a59a
[]
no_license
rtshkmr/hack-roll
9bc75175eb9746b79ff0dfa9307b32cfd1417029
3ea480a8bf6d0067155b279740b4edc1673f406d
refs/heads/master
2021-12-23T12:26:56.642705
2020-01-19T04:26:39
2020-01-19T04:26:39
234,702,684
1
0
null
2021-12-13T20:30:54
2020-01-18T08:12:52
Python
UTF-8
Python
false
false
958,883
py
from telegram.ext import Updater, CommandHandler import requests import re # API call to source, get json (url is obtained): contents = requests.get('https://random.dog/woof.json').json() image_url = contents['url'] def get_url(): contents = requests.get('https://random.dog/woof.json').json() url = cont...
[ "ritesh@emerald.pink" ]
ritesh@emerald.pink
902014dc161f12e20fa6bff50b6eb6c16379587d
5d434b255037add0268f73914cf3fa7e63f3a320
/orchestra/migrations/0009_auto_20150528_1910.py
dc040ab9b16a1bb7811a9c9ed294cd8475d8d177
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
ksbek/orchestra
781c7cc599ca85c347772a241330c7261203d25b
07556717feb57efcf8fb29a1e2e98eebe2313b8c
refs/heads/master
2021-01-01T18:52:43.068533
2017-07-19T18:45:19
2017-07-19T18:45:19
98,458,290
0
1
null
2017-07-26T19:24:48
2017-07-26T19:24:48
null
UTF-8
Python
false
false
680
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('orchestra', '0008_auto_20150520_1953'), ] operations = [ migrations.AddField( model_name='project', ...
[ "marcua@marcua.net" ]
marcua@marcua.net
e51f1cd7dc469b6beb66cb2925073094e2718eb3
192b4fe6cc696664488d36dc8ed503cedfc51724
/askdjango/settings/common.py
c66622f47bf1d7d30adea8c2c3f15d6f588513f6
[]
no_license
jucie15/askdjango-by-p.rogramming
302cc956c317abdd04495f3dc4ee55dd0c545c05
3d7988e6a7eebcb22a2b6bc5b56b8fa6875b83d5
refs/heads/master
2021-01-19T09:37:08.011398
2017-02-16T02:54:15
2017-02-16T02:54:15
82,130,898
0
0
null
null
null
null
UTF-8
Python
false
false
3,803
py
""" Django settings for askdjango project. Generated by 'django-admin startproject' using Django 1.10.5. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import ...
[ "jucie15@nate.com" ]
jucie15@nate.com
9eea1130f56f5ed45872d330d9569ba768003b4b
9bc318535bbcaaa7fb15a18929fc11a2bbf531d1
/satori-rules/plugin/libs/pymongo/server.py
f1bb181b5e7f3ab468ed6bb7f45ab881cd07995f
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
leancloud/satori
dcab126548a54fde6d02d79053b239456439d211
701caccbd4fe45765001ca60435c0cb499477c03
refs/heads/master
2022-12-10T23:33:53.046905
2021-04-08T08:20:45
2021-04-08T08:20:45
67,022,336
259
89
Apache-2.0
2022-12-08T02:12:01
2016-08-31T09:13:02
Python
UTF-8
Python
false
false
6,414
py
# Copyright 2009-2015 MongoDB, 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 writi...
[ "feisuzhu@163.com" ]
feisuzhu@163.com
225b8847d41d7f2dbb23d207ab7e3f2e008d09ba
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03448/s351490464.py
8ef0a650aa3bf51b9136e3d78884bc1dc1ebead4
[]
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
550
py
import numpy as np # 複数個格納 # A B = map(int, input().split()) # 行列化 # A = np.array(A) # A=A.reshape(1,-1) # A=A.T #行列の比較 #C=((A%2 == vector0).all()) A = int(input()) B = int(input()) C = int(input()) X = int(input()) gohyaku=(np.arange(0,500*A+1,500)).reshape(1,-1) hyaku=(np.arange(0,100*B+1,100)).reshape(1,-1) goju=...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
75450ca6792fd930c509be53015f24c85ebf1160
a7cddd66c2c1c444c3ad4cd9729efeaf76d0616f
/tests/utils/test_keyspaces.py
76667c0c46443bc2462adc9913fd04481b42a2c5
[ "MIT" ]
permissive
hunse/nengo_spinnaker
e9a51ea63b87265757721c97572ec769bcaa8f32
ad9f62f1b03437881a13836300648291f6e0ca22
refs/heads/master
2021-01-15T17:41:59.052633
2015-06-30T13:35:37
2015-06-30T13:35:37
38,339,348
1
0
null
2015-07-01T00:01:50
2015-07-01T00:01:49
null
UTF-8
Python
false
false
1,427
py
import pytest from rig.bitfield import BitField from nengo_spinnaker.utils import keyspaces def test_get_derived_keyspaces(): """Test creation of derived keyspaces.""" ks = BitField() ks.add_field("index") ks.add_field("spam") # General usage kss = keyspaces.get_derived_keyspaces(ks, (slice(5...
[ "andrew.mundy@ieee.org" ]
andrew.mundy@ieee.org
3ac5f17b4ea6bfb2f0915e9c5b2472082e5ad133
c51d1722bcbcf083e3ddfae7a573f75c59762e9e
/sublime/tpost.py
2d31a3e6024cf1945e3a2abc0a6cdf67a6451094
[]
no_license
etc-rc6/t-arch-working
805d342c73ec3c54e6037399098d8a3e940cbd11
6ed49a23e6510c36870c4cd3398ebd4633b635fc
refs/heads/master
2021-01-10T12:39:16.301420
2016-01-06T14:11:59
2016-01-06T14:11:59
49,134,479
0
0
null
null
null
null
UTF-8
Python
false
false
2,196
py
"""Sublime Text plugin for post.py""" import sublime, sublime_plugin, subprocess, time, json, os MYPATH = os.path.dirname(os.path.abspath(__file__)) POST = os.path.join(MYPATH, 'post.py') class WorkOrder(object): def __init__(self): self.wd = os.path.join(MYPATH, 'failures') def delete(self): op...
[ "me@me.com" ]
me@me.com
179c23d04db416463887d7040f753a49ac52a73c
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Zutectra_WC500073708.py
6c4c21645eae398c1007cea465dfff759e743906
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
{'_data': [[u'Unknown', [['GI', u'Sm\xe4rta i \xf6vre delen av buken Mindre vanliga'], ['General', u'Sm\xe4rta, urticaria, hematom Vanliga']]]], '_pages': [4, 5], u'_rank': 2, u'_type': u'LFSU'}
[ "urudaro@gmail.com" ]
urudaro@gmail.com
80e863581a50b13c8748b51b8898b692cd8b3053
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/travelport/models/search_event_2.py
969f4c131cb84079b26ec6cb5eb91dc4c88475b4
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
654
py
from __future__ import annotations from dataclasses import dataclass, field from travelport.models.type_event_type_2 import TypeEventType2 from travelport.models.type_time_range_2 import TypeTimeRange2 __NAMESPACE__ = "http://www.travelport.com/schema/common_v32_0" @dataclass class SearchEvent2(TypeTimeRange2): ...
[ "chris@komposta.net" ]
chris@komposta.net
a4e41ce5ee9ab479335f405232b0374d7e7d5414
f51c281d823870e7dbbe1f871cd981bb0ec8c07e
/rank-transform-of-an-array/rank-transform-of-an-array.py
be43cd55c3b8ee990d2de962c9a917add78d33f3
[]
no_license
Arxtage/leetcode
e5e02fc400afaa6c216e835a0ee74296e3134646
95fcea1fc810a13ca7ecaa1cde6d3609cc695a9d
refs/heads/main
2023-08-27T19:37:17.691898
2021-10-23T23:48:51
2021-10-23T23:48:51
383,264,226
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
class Solution: def arrayRankTransform(self, arr: List[int]) -> List[int]: # O(n) hashmap = collections.defaultdict(int) arr_sorted = sorted(list(set(arr))) for i in range(len(arr_sorted)): hashmap[arr_sorted[i]] = i + 1 for i i...
[ "31474005+Arxtage@users.noreply.github.com" ]
31474005+Arxtage@users.noreply.github.com
c61a1dcbc77b77c087170b0acc3b3964bbae8213
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/netex/models/wire_link_ref_structure.py
49c4aa39bce03581476eb1f2d11e81bf9c601adf
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
243
py
from dataclasses import dataclass from .infrastructure_link_ref_structure import InfrastructureLinkRefStructure __NAMESPACE__ = "http://www.netex.org.uk/netex" @dataclass class WireLinkRefStructure(InfrastructureLinkRefStructure): pass
[ "chris@komposta.net" ]
chris@komposta.net
ba7379ee6ee55b3a3d417119d9ffcd16f92d17f0
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03434/s231043811.py
58725b3b18c929136bcc39545b671da97998758f
[]
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
540
py
import sys import math import itertools import collections import heapq import re import numpy as np from functools import reduce rr = lambda: sys.stdin.readline().rstrip() rs = lambda: sys.stdin.readline().split() ri = lambda: int(sys.stdin.readline()) rm = lambda: map(int, sys.stdin.readline().split()) rl = lambda: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com