blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
e057ef624b94fe0256123ec91bdf0734eb2d87bd
a79bc871a72d2c39bcbb7cb4242a7d469770bed0
/masking_api_60/api/file_format_api.py
750b5fa51da54a2f71b8f4f29ba1d59f7edf3fc1
[]
no_license
pioro/masking_api_60
5e457249ab8a87a4cd189f68821167fa27c084f2
68473bdf0c05cbe105bc7d2e2a24e75a9cbeca08
refs/heads/master
2023-01-03T08:57:49.943969
2020-10-30T11:42:15
2020-10-30T11:42:15
279,624,738
0
0
null
null
null
null
UTF-8
Python
false
false
21,223
py
# coding: utf-8 """ Masking API Schema for the Masking Engine API # noqa: E501 OpenAPI spec version: 5.1.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import re # noqa: F401 # python 2 and python 3 compatibility library import...
[ "marcin@delphix.com" ]
marcin@delphix.com
86e28e058036e1492b3a36eb2e82fa2641ec4989
2deddb3a19163f9cc461bdb9c2dacfdbb57b9f47
/sfbay_cons_tracer_00.py
dc2f2067ff4a50328831179e3832cba4d0b2f4f5
[]
no_license
rustychris/sfbay_cons_tracer
f1548bbf06841d56790110e1019c92ee60e5a142
7d7653d5747b638a10ebdb3dac7b2b89c18cbc1c
refs/heads/master
2021-06-11T02:01:16.386183
2019-09-06T19:33:32
2019-09-06T19:33:32
128,102,887
0
0
null
null
null
null
UTF-8
Python
false
false
7,917
py
""" Copied from /home/rusty/models/delft/nbwaq/spinupdate/spinupdate_wy2013_D02cons_tracer.py Moving on to 4/28/16, np=4, D02 hydrodynamics this one does the full list of passive tracers """ import os import shutil import logging logging.basicConfig(level=logging.INFO) logger = logging.getLogger() import numpy as ...
[ "rustyh@sfei.org" ]
rustyh@sfei.org
57dcf4ac4135b21514dedd7221615770f17b6223
5b315e1606c8b3c753431f028e9bb76600148db7
/todo_list/admin.py
857b3bd6df7d0d13fc69369d7feeffcd07676f99
[]
no_license
abel-masila/django_todo
0e23d45fefc45a0e9463639dbe7125d4a0fec8cf
634914967dc024e1a765fa8618481a23285cea7e
refs/heads/master
2020-04-30T01:06:40.794234
2019-03-23T13:40:02
2019-03-23T13:40:02
176,520,149
1
0
null
null
null
null
UTF-8
Python
false
false
114
py
from django.contrib import admin from .models import List # Register your models here. admin.site.register(List)
[ "abelmasila@gmail.com" ]
abelmasila@gmail.com
4861ac85dd04717d62ba306fdcc2924c58a23062
8ffc97dcf9bab5c6d2a75039ed12b2bc9acf6548
/HMWK_03_saa3053/ParseTree/Literal.py
0b30ca2c4aa398e8ac5f77904653d72b9b8a514e
[]
no_license
saidadem3/compilers
2f88f51d57dbffd9623de01c318d499f2e7d06df
56e4b07485d412325970170c7b1544b5e914621b
refs/heads/master
2022-03-08T11:26:16.555606
2019-10-24T11:00:47
2019-10-24T11:00:47
213,783,061
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
# Adem, Said # saa3053 # 2019-10-23 #---------#---------#---------#---------#---------#--------# import sys from .common import * #---------#---------#---------#---------#---------#--------# class Literal() : def __init__( self, lineNum, valType, value ) : self.m_NodeType = 'Literal' self.m_LineNum ...
[ "saidadem3@gmail.com" ]
saidadem3@gmail.com
a6fa615f7fb4b26b658dab52008462a204aaa48f
c8fc387b0b440bf1681e581adaac5b5ef718525f
/project/src/utils/output_util.py
e49077470bc0acbdcf2c936edf1f99a927b514f5
[]
no_license
MingjunGuo/bdt_5002
bc0f37a2f5453d531a6b73c1dccc959c1cc7311c
591ec7f3854d5d0e1ffd47f2086776253ce405ce
refs/heads/master
2020-04-01T13:09:35.819447
2019-01-24T06:50:28
2019-01-24T06:50:28
153,239,171
0
0
null
null
null
null
UTF-8
Python
false
false
3,637
py
# -*- coding: UTF-8 -*- ## 主程序 import numpy as np import pandas as pd import os def write_value_to_csv(city, file_name, values, output_features, day=True, seperate=False, ...
[ "noreply@github.com" ]
MingjunGuo.noreply@github.com
a5c946729ef57bcccc32f61428f82484fc908fba
f7387905bfe862e525602a5a3e997de088684e10
/Swagger/python-client/setup.py
bea8806adae6917c4d8806ab2f19f8cfe88674b4
[]
no_license
AnirudhNagulapalli/Flyingsaucers
a5724f81e1dec698cc3bcebda182f04e6fb4e07a
a429300273626f259ee158ba8a97d44a23d68406
refs/heads/master
2021-01-23T14:30:53.828674
2017-12-11T09:37:58
2017-12-11T09:37:58
102,689,225
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
# coding: utf-8 """ Flying Saucers This is for MSCS710 Project Course OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import sys from setuptools import setup, find_packages NAME = "swagger-client" VERSION = "1.0.0" # To install the library, run...
[ "anirudh.nagulapalli1@marist.edu" ]
anirudh.nagulapalli1@marist.edu
a1d1ee62356d167897f0766db41dcf93a9ca6203
c59a02471f295f93b56f9fadd51b47ec24414014
/historical/myenv/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py
b48165bb7e18aced872069dd55d5b3a7989ca46d
[]
no_license
jgdevelopment/Chronos-Backend
a3abe8bfea88d1456d03b2eaf411ab31d6b83fc1
548af4d7c8edc81c0b860862999dc0156b2e1fa2
refs/heads/master
2021-01-01T19:51:59.551831
2014-10-21T11:05:57
2014-10-21T11:05:57
16,659,327
2
0
null
null
null
null
UTF-8
Python
false
false
13,968
py
# -*- coding: utf-8 -*- """ requests.adapters ~~~~~~~~~~~~~~~~~ This module contains the transport adapters that Requests uses to define and maintain connections. """ import socket from .models import Response from .packages.urllib3.poolmanager import PoolManager, proxy_from_url from .packages.urllib3...
[ "ginsdaman@gmail.com" ]
ginsdaman@gmail.com
41a86538fd422e72ba79da31cd965f050d59b26c
9e27cc85675ec764a62764decdc85d6b57a10be3
/kaggle_kernel.py
63533471d892f754944895ad665a85aa841ca8ee
[]
no_license
jsamaitis/Home-Credit-Default-Risk-2018
07886e3992301ca8e855773d615a41eecf647b5d
26d690eabe137d210e963b2daf36d03adfc057d4
refs/heads/master
2020-03-24T21:13:48.635974
2018-08-13T08:13:26
2018-08-13T08:13:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,043
py
# HOME CREDIT DEFAULT RISK COMPETITION # Most features are created by applying min, max, mean, sum and var functions to grouped tables. # Little feature selection is done and overfitting might be a problem since many features are related. # The following key ideas were used: # - Divide or subtract important features t...
[ "aukslius@gmail.com" ]
aukslius@gmail.com
4ae48a9d376d47aaba570ad7568afe37cbb02418
6953e2f2ef4d70f940dfbe0671f1d2ef6bb1bd03
/classtutorial.py
51d73ab22cb1123c9a0693d0cb06b496a8cd283e
[]
no_license
mogarg/Python-Tutorial-Lynda
2e786880a2e98b067095af5fefb4b1b3adac4bd2
452326453ddb6990d81e1a6b5a478da72f8769cb
refs/heads/master
2021-01-17T17:44:27.357207
2016-06-18T22:45:07
2016-06-18T22:45:07
58,245,884
0
0
null
null
null
null
UTF-8
Python
false
false
311
py
#!/usr/bin/python3 class Fibonacci(): def __init__(self, a, b): self.a = a self.b = b def series(self): while(True): yield(self.b) self.a, self.b = self.b, self.a + self.b f = Fibonacci(0, 1) for r in f.series(): if r > 100: break print(r)
[ "matpsycic@gmail.com" ]
matpsycic@gmail.com
14b450a72c93ad9b78cf7685fe19e4122eb15c24
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_mp21.py
562fa5609e8ddc81fe2febf073542f27d358c618
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
514
py
from xcp2k.inputsection import InputSection from xcp2k.classes._mp2_info1 import _mp2_info1 class _mp21(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Method = None self.Big_send = None self.MP2_INFO = _mp2_info1() ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
73616b9e93361ad0fc86bdeef7e8e7d1c8c6c9fb
c86043aff8b6803102e44bc0f323b5dd3e2e3a2d
/comp/plot_numbers.py
b8e06d6ceeeb439f02390acf3575a407cef2e273
[]
no_license
ivotron/open-comp-rsc-popper
6a3a2d6fe0b17aae5d4f26ff25ed186187e3c714
05acba677f68f3fea6c88245c84d181384163a96
refs/heads/master
2020-03-16T21:54:13.804728
2018-10-18T08:16:16
2018-10-18T08:16:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
import sys, matplotlib matplotlib.use('Agg') import matplotlib.pyplot as pl import numpy as np fpath = sys.argv[1] data = np.load(fpath) pl.plot(data) pl.savefig('comp/data/original.png')
[ "ivo.jimenez@gmail.com" ]
ivo.jimenez@gmail.com
4d23735583d49ed6fba1925bf636572e5d146be5
2f2e9cd97d65751757ae0a92e8bb882f3cbc5b5b
/121.买卖股票的最佳时机.py
7cd0e5ce63fc4da08187b59ea4f973e49037b644
[]
no_license
mqinbin/python_leetcode
77f0a75eb29f8d2f9a789958e0120a7df4d0d0d3
73e0c81867f38fdf4051d8f58d0d3dc245be081e
refs/heads/main
2023-03-10T18:27:36.421262
2021-02-25T07:24:10
2021-02-25T07:24:10
314,410,703
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
# # @lc app=leetcode.cn id=121 lang=python3 # # [121] 买卖股票的最佳时机 # # @lc code=start class Solution: def maxProfit(self, prices: List[int]) -> int: if not prices: return 0 min_price = prices[0] max_profit = 0 for i in range(1, len(prices)): max_profit = max(pri...
[ "mqinbin@gmail.com" ]
mqinbin@gmail.com
7ea7df614f889ecc385d58e0cb8da56dff59d665
bb735076e6a351dd6cbf74b7eb34b9a4538789b7
/Laboratorio 25_4.py
562bd35a30b90071fdfb8a5713776cf23201b51f
[]
no_license
Santi0207/mapa-mental
27a4915c9c5c2184b4325f90eab53820f4ea7a6e
95dff50253792145deea509337d83d1b474aea15
refs/heads/main
2023-05-03T03:03:06.578337
2021-05-25T19:38:41
2021-05-25T19:38:41
359,498,950
0
0
null
null
null
null
UTF-8
Python
false
false
373
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 20 14:19:58 2021 @author: santi """ def cantidad_A(palabra): cont=0 for x in range (len(palabra)): if palabra [x] =="a" or palabra [x] =="A": cont+=1 return cont palabra=input("Ingrese una palabra: ") print ("la p...
[ "noreply@github.com" ]
Santi0207.noreply@github.com
147b3bc0148ddc69e31304519e65c37ad3c790e6
80de5ac86ce85b5aa93788d5d2325d88b87b47f7
/cf/1334/c.py
0d9603f1d8a8e97a68d5e3f095f080f1f5405a4e
[]
no_license
ethicalrushi/cp
9a46744d647053fd3d2eaffc52888ec3c190f348
c881d912b4f77acfde6ac2ded0dc9e0e4ecce1c1
refs/heads/master
2022-04-24T07:54:05.350193
2020-04-27T20:27:31
2020-04-27T20:27:31
257,911,320
1
0
null
null
null
null
UTF-8
Python
false
false
1,169
py
t = int(input()) for _ in range(t): n = int(input()) a =[] for i in range(n): u, v = [int(x) for x in input().strip().split()] a.append([u,v]) if n==1: res=a[0] else: mn = 10**10 si = None for i in range(1,n): if a[i][0]>a[i-1][1]: ...
[ "pupalerushikesh@gmail.com" ]
pupalerushikesh@gmail.com
2722446b64a90b86d4f746b22fdad8f220f3b9d9
172e35bb936c0219c1ae751f48c331047b7fd68f
/problems/py-strings/gc2.py
431b8360e044c41e1d33d7b736c245c75d625fd6
[]
no_license
cmrrsn/abe487
8f25d49533450ee69637fe397aeec7ba374642e0
2572e418bbd7d76fe2028da07896c02de40cd420
refs/heads/master
2021-01-23T17:55:25.414975
2017-12-05T19:38:40
2017-12-05T19:38:40
102,779,271
0
0
null
null
null
null
UTF-8
Python
false
false
493
py
#!/usr/bin/env python3 import sys import os def main(): """main""" files = sys.argv[1:] if len(files) != 1: print('Usage: {} FILE' .format(sys.argv[0])) sys.exit(1) if os.path.isfile(files[0]) == False: print('"{}" is not a file'.format(files[0])) sys.exit(1) for seq in open(files[0]): i=0 gc=0...
[ "cmmorrison1@login2.cm.cluster" ]
cmmorrison1@login2.cm.cluster
06b857862b7da068774dc2990c21f01bfaffbd27
aec21c0a63b4a29fe1c911fada0dc479c1803f02
/scripts/profile.py
80a0a6a6f07b8305226999c54b80794a781378f4
[ "MIT" ]
permissive
ultimachine/Reflow-Profiler
fb3e4cde1a8649d4d68e4853eee43d39079ecec2
f472c14a9555473a83626909da16ffcf2db3f59b
refs/heads/master
2020-05-29T22:58:24.993275
2013-07-25T17:13:56
2013-07-25T17:13:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,600
py
#!/usr/bin/env python import matplotlib.pyplot as plt import serial import time import sys import numpy as np import re import signal import argparse #Setup Command line arguments parser = argparse.ArgumentParser( prog = "reflow-profiler", usage = "%(prog)s [options] input...", description = "Log thermo...
[ "kd2cca@gmail.com" ]
kd2cca@gmail.com
ccf640a6f3089b61899c512ea864d117a27d00e3
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/a7WiKcyrTtggTym3f_11.py
38c97ae03767b14cd4f73e59493d45390792e3c0
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
""" Create a function that takes two numbers as arguments and return the LCM of the two numbers. ### Examples lcm(3, 5) ➞ 15 lcm(14, 28) ➞ 28 lcm(4, 6) ➞ 12 ### Notes * Don't forget to return the result. * You may want to use the GCD function to make this a little easier. * LCM stands...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a9151a391b64c038d80fc25c24e8ae9bcc938c36
927fc31a0144c308a5c8d6dbe46ba8f2728276c9
/tasks/final_tasks/file_handling/2.count_word_in_file.py
7ad9f89f0c38383b2a89b17194e5f946ad3c11d8
[]
no_license
ChandraSiva11/sony-presamplecode
b3ee1ba599ec90e357a4b3a656f7a00ced1e8ad3
393826039e5db8a448fa4e7736b2199c30f5ed24
refs/heads/master
2023-01-14T00:09:19.185822
2020-11-23T02:07:00
2020-11-23T02:07:00
299,527,171
0
0
null
null
null
null
UTF-8
Python
false
false
268
py
# Python Program to Count the Number of Words in a Text File def main(): num_words = 0 with open('text_doc.txt', 'r') as f: for line in f: words = line.split() num_words += len(words) print('Number of words', num_words) if __name__ == '__main__': main()
[ "chandra2.s@aricent.com" ]
chandra2.s@aricent.com
02640468512f314887a6c73faf4f94bf5dd034af
a0583ceb402497e77a2f683424decea16b8ab80b
/sushichef.py
0ca31f6a58af0eb64e63a82b0aa4e93b4a557a15
[ "MIT" ]
permissive
richard-dinh/sushi-chef-newz-beat
b5a07e21ec18b7539071a520dc910c8910253d3a
766e5251b2f0002db0c5fe912fe0bf07f7c1ad94
refs/heads/main
2023-03-05T00:32:11.104007
2020-10-23T23:49:36
2020-10-23T23:49:36
309,466,267
0
0
MIT
2020-11-02T18:54:48
2020-11-02T18:54:47
null
UTF-8
Python
false
false
2,826
py
#!/usr/bin/env python import os import sys from ricecooker.utils import downloader, html_writer from ricecooker.chefs import YouTubeSushiChef from ricecooker.classes import nodes, files, questions, licenses from ricecooker.config import LOGGER # Use LOGGER to print messages from ricecooker.exceptions impor...
[ "kevino@theolliviers.com" ]
kevino@theolliviers.com
fcceb2b371e8ee367db6bbabddea88495e6aef69
ed7708e815a30ebbac6efc696d826b9c3d59c561
/1049.py
1ec3142525e48fe57e4bc7096ee7b7216248eea4
[]
no_license
LehmannPi/URIOnlineJudge
222e1c44f6613e79a023227bd6f1ab9ac353eedd
5bb82d7b623c152aeb89264ca16dc3c758bf1209
refs/heads/master
2020-12-04T23:34:01.365947
2020-01-05T15:38:17
2020-01-05T15:38:17
231,935,424
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
#estrutura: l[0]; classe: l[1]; habitos_alimentares: l[2] l = [] for i in range(3): l.append(input()) if l[0] == 'vertebrado': if l[1] == 'ave': if l[2] == 'carnivoro': print('aguia') else: print('pomba') else: if l[2] == 'onivoro': print('homem') else: print(...
[ "noreply@github.com" ]
LehmannPi.noreply@github.com
4e6c68f2c808e9ad3a64694e5548a0ffd6165878
7532253fcc5d2fb01ceefe924bac7de45376e97b
/main.py
2b371e6750e3035b3d4edc940eff390d60352c51
[ "MIT" ]
permissive
NixonZ/QNetwork-RL
37879cc0b976ed9594833598ba3532546d2fef51
acf34dd8d598104267da88f3eacc3e44f06265a7
refs/heads/main
2023-08-28T18:11:31.536607
2021-09-29T13:14:54
2021-09-29T13:14:54
381,694,681
1
0
null
null
null
null
UTF-8
Python
false
false
2,272
py
from environment.env import Env,node from environment.metalog import U,Exp,metalog import numpy as np # from agent.agent import MPNN,Graph_Representation,Agent from trainer import trainer from agent.Qmix import Qmix from agent.agent import device p = 2 b = 32 n = 6 M = 100 temp = Env( arrival = [lambda t: Exp(0.1...
[ "nalinshani14@gmail.com" ]
nalinshani14@gmail.com
ef74b6c780caea8be24fb7a36c1bd5e228e66148
f36a9701975eec736b5e43ab09ec318eee80c8cc
/pyspeckit/spectrum/widgets.py
ae949705761f3d5018daacf9ece04cedd453487e
[ "MIT" ]
permissive
soylentdeen/pyspeckit
e995f38531256d85313038a0ddeb181a4c6480b8
11c449c6951468f2c07dfda3b1177b138f810f16
refs/heads/master
2021-01-18T11:32:51.659032
2013-06-26T00:39:22
2013-06-26T00:39:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,757
py
from matplotlib.widgets import Widget,Button,Slider from matplotlib import pyplot import matplotlib class dictlist(list): def __init__(self, *args): list.__init__(self, *args) self._dict = {} self._dict_index = {} for ii,value in enumerate(self): if len(value) =...
[ "keflavich@gmail.com" ]
keflavich@gmail.com
407c2a6677c326a7a56789bea899851a9a6a5764
dda862418770f3885256d96e9bdb13d0759c5f43
/codeforces/april-fools-day/is_it_rated.py
2f78bf4c3d6d9df72b4d6880be8c4503b3f93453
[ "MIT" ]
permissive
bellatrixdatacommunity/data-structure-and-algorithms
d56ec485ebe7a5117d4922caeb0cd44c5dddc96f
d24c4001a797c12347973263a0f4f98939e86900
refs/heads/master
2022-12-03T00:51:07.944915
2020-08-13T20:30:51
2020-08-13T20:30:51
270,268,375
4
0
MIT
2020-08-13T20:30:53
2020-06-07T10:19:36
Python
UTF-8
Python
false
false
114
py
""" [A. Is it rated?](https://codeforces.com/contest/1331/problem/A) """ print("No") # The contest was not rated
[ "adityaraman96@gmail.com" ]
adityaraman96@gmail.com
2846ddd10fe2bc71174ac826856a840867ef6f23
8ed9ad7935736bd53c112768e823585d67300773
/pipelines/record_only.py
64f333cad79b7a1fd045f547a2cb2fae9b60ceb9
[]
no_license
danielhertenstein/streaming-object-detection
5913da972d72cdd6ce4aedbfb2b83f10de261292
3b7aa2923d0f5e4b03ff97ce13e12509f1abcacc
refs/heads/master
2021-04-27T10:12:51.607914
2018-04-28T19:04:39
2018-04-28T19:04:39
122,532,498
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
import assembler from pieces import WebcamCapture, Record def main(): pipeline = assembler.Pipeline( pieces=[[WebcamCapture], [Record]], options=[[{}], [{'framerate': 60.0}]] ) pipeline.run() if __name__ == '__main__': main()
[ "daniel.hertenstein@gmail.com" ]
daniel.hertenstein@gmail.com
5e2bc1d085bbd63facebfeafee69c6b6b83a580a
c1aae64218b22140097dd9c4047684fcaa61cb6e
/code/栈的压入、弹出序列.py
8ae1b7115d253d3ed4f61511426741ad471436da
[]
no_license
KIM199511/-offer
b3b75609d4885b1616db541aa10e54f83655e4ce
0ddb5c0d7f32fe3654ab9de7ac132a50c016dd7e
refs/heads/master
2022-11-08T22:00:02.598019
2020-07-05T16:27:29
2020-07-05T16:27:29
277,333,073
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/5/11 19:16 # @Author : XXX # @title : 栈的压入、弹出序列 # @Site : # @File : 栈的压入、弹出序列.py # @Software: PyCharm class Solution: def IsPopOrder(self,pushV, popV): temp = [] while pushV: for value in pushV: temp.append(va...
[ "15061112157@163.com" ]
15061112157@163.com
731f1ef4f038c7584b72ccae8637f6c4ca8c0302
6414ff7510850f898ae791af24bd4daebedd1ed8
/Unet_Mobile/train.py
e62ad2b35e106fb7c030a35c6630893425aba13a
[ "MIT" ]
permissive
Ice833/Semantic-Segmentation
00ba943a0e33e34e19cbd579598ef8ac4f081460
23d23f6da3b34884c044a2253d65a1e4097adb2d
refs/heads/master
2022-12-02T02:37:46.145036
2020-08-14T02:17:15
2020-08-14T02:17:15
284,207,399
0
0
MIT
2020-08-01T07:05:31
2020-08-01T07:05:30
null
UTF-8
Python
false
false
4,563
py
from nets.unet import mobilenet_unet from keras.optimizers import Adam from keras.callbacks import TensorBoard, ModelCheckpoint, ReduceLROnPlateau, EarlyStopping from PIL import Image import keras from keras import backend as K import numpy as np NCLASSES = 2 HEIGHT = 416 WIDTH = 416 def generate_arrays_f...
[ "noreply@github.com" ]
Ice833.noreply@github.com
510ee037286e9bb98097631e6f4b1e333b3618f9
93c58b92803d0467d29fd9c9c4b1a3998bcf283f
/transcriptions/models/show_the_model.py
c55516278826758fd4b5e249b1086d7d9947b427
[ "MIT" ]
permissive
Ipuch/dms-vs-dc
ac4ac5d62bca9839cbe7b60f58fd9cb7f96f4416
2878e00f4a862c5bcb9064b0c962922af6be00ea
refs/heads/main
2023-09-04T00:00:22.787777
2023-08-21T20:13:19
2023-08-21T20:13:19
519,305,613
2
0
null
null
null
null
UTF-8
Python
false
false
5,598
py
""" This file is to display the human model into bioviz """ import os import bioviz from transcriptions import Models # model_name = Models.LEG # model_name = Models.ARM # model_name = Models.ACROBAT model_name = Models.UPPER_LIMB_XYZ_VARIABLES # model_name = Models.HUMANOID_10DOF export_model = False background_colo...
[ "pierre.puchaud@umontreal.ca" ]
pierre.puchaud@umontreal.ca
dc518d3adbaa5570a85345dacbb2b97213280b09
eb35535691c4153ba2a52774f0e40468dfc6383d
/hash_table/uncommon_words.py
849d39c6b50e9e3e7e62e2067fc6a68f1b0c2178
[]
no_license
BJV-git/leetcode
1772cca2e75695b3407bed21af888a006de2e4f3
dac001f7065c3c5b210024d1d975b01fb6d78805
refs/heads/master
2020-04-30T19:04:12.837450
2019-03-21T21:56:24
2019-03-21T21:56:24
177,027,662
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
def uncommon_words(A,B): A=A.split(' ') B=B.split(' ') res=[] d={} for i in A: d[i] = d.get(i,0)+1 for i in B: d[i] = d.get(i,0)+1 for i in d: if d[i]==1: res.append(i) return res
[ "noreply@github.com" ]
BJV-git.noreply@github.com
2226ec9d9a3aed988198452e5700c9f65c9fc0f1
185d97a996e75d153b881d0ebf847ec33e7b049d
/primepairs.py
1fa54588c0bb0b309897a824aaa8546b59b8aa53
[]
no_license
shivank96/pythonbasiclevel
88a12d366ed015928cc21b405dcb9ca96d0ade36
46623ad75ec176161a780b75651fa80c2d35f107
refs/heads/master
2023-04-03T13:43:32.974100
2021-04-12T13:11:21
2021-04-12T13:11:21
305,385,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
import collections def primepairs(): n=int(input()) i=2 k=0 le=0 li=[] while i<=n: count=0 j=1 while j<=i: if i%j==0: count=count+1 j=j+1 if count==2: li.append(i) le=le+1 i=i+1 l=0 # ...
[ "shivankg96@gmail.com" ]
shivankg96@gmail.com
244746f59dab7356af77d6b088d09be0109e7eea
5e76a420178dcb9008d6e4c12543ad0e3a50c289
/python/104.py
188ebec7d7866ddc2ac4ab6f887b025327467442
[]
no_license
LichAmnesia/LeetCode
da6b3e883d542fbb3cae698a61750bd2c99658fe
e890bd480de93418ce10867085b52137be2caa7a
refs/heads/master
2020-12-25T14:22:58.125158
2017-07-18T06:44:53
2017-07-18T06:44:53
67,002,242
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # @Author: Lich_Amnesia # @Email: alwaysxiaop@gmail.com # @Date: 2016-09-18 17:38:27 # @Last Modified time: 2016-09-18 17:41:20 # @FileName: 104.py # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # ...
[ "lich@D-10-157-202-8.dhcp4.washington.edu" ]
lich@D-10-157-202-8.dhcp4.washington.edu
ba877f1d961002ab0c0e83e9928982deed661a66
089e5c10201815ff5b44c4b1aa510f5745d43c13
/ThreadUtil.py
164bb25bfb019c158db26893fbf2b162a4011a33
[]
no_license
Remaerdeno/Passer-zhihu
ebe1589b44dd388141224d47bcef8cb37239dece
8f60d6d3952df90dad92b095a1d6aae520e8eaf9
refs/heads/master
2021-06-17T15:47:51.668190
2017-06-07T13:11:01
2017-06-07T13:11:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,117
py
# encoding=utf8 import Util,urllib from IpProxy import * class ThreadDeco(object): def __init__(self,func): self._func = func def __call__(self,*args): self._func(*args) proxy = Proxy() while True: if not args[0].empty(): page = args[0].get() if page == Util.ENG_FLAG: args[1].put(Util.ENG_F...
[ "904727147@qq.com" ]
904727147@qq.com
1af4a2a2ce07a8d901b6177b7776dc669f8f06fe
faf50edfb415f2c5232d3279cf9b6d3684d1bb39
/src/python/ml/eval_functions.py
939d893f862fccee2383548006d15267f6b62b37
[]
no_license
ALFA-group/EEG_coma
aff66ed15f597bdde8583e11bec7d33210bab224
c2e65ab1d6491378c71520bc75827f8c1374715d
refs/heads/main
2023-04-23T18:42:17.519875
2021-05-04T21:22:09
2021-05-04T21:22:09
364,260,929
0
0
null
null
null
null
UTF-8
Python
false
false
4,344
py
import torch import numpy as np import matplotlib.pyplot as plt from torch.autograd import Variable import math def encode(bursts, masks, encoder): try: if isinstance(bursts, np.ndarray): bursts = torch.Tensor(bursts) if isinstance(masks, np.ndarray): masks = torch.Tensor(m...
[ "shash@mit.edu" ]
shash@mit.edu
1d898f4d7db5808af12b3e9bd413033060f8403f
dfaf6f7ac83185c361c81e2e1efc09081bd9c891
/k8sdeployment/k8sstat/python/kubernetes/test/test_v1_local_object_reference.py
db02de623a1ffb63d799a47e9d655bb2206d76b9
[ "MIT", "Apache-2.0" ]
permissive
JeffYFHuang/gpuaccounting
d754efac2dffe108b591ea8722c831d979b68cda
2c63a63c571240561725847daf1a7f23f67e2088
refs/heads/master
2022-08-09T03:10:28.185083
2022-07-20T00:50:06
2022-07-20T00:50:06
245,053,008
0
0
MIT
2021-03-25T23:44:50
2020-03-05T02:44:15
JavaScript
UTF-8
Python
false
false
994
py
# coding: utf-8 """ Kubernetes No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: v1.15.6 Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import kube...
[ "JeffYFHuang@github.com" ]
JeffYFHuang@github.com
ecf6379021503cfa49fc77acfc14f9a1a5136758
4ebb06450c79980f5726bba62e1a61dad811c1da
/src/excerpt_server.py
1ae4afb3b92564a3a532b3c2a7613999be2257cc
[ "MIT" ]
permissive
joy13975/covidprof_submission
5a2b1d89c0c53f6c11bed8669b865e8ae7209ae8
b3c7bb0ebf6fa1557edb8d1ca5d3d41377508e7d
refs/heads/main
2023-01-31T14:15:51.336935
2020-12-08T12:43:58
2020-12-08T12:43:58
314,133,178
0
0
null
null
null
null
UTF-8
Python
false
false
3,416
py
import logging import json import sys from http.server import BaseHTTPRequestHandler, HTTPServer from excerpt_gen import ExcerptGen from base.config_loader import ConfigLoader class ExcerptServer(ConfigLoader): def run(self, **kwargs): # allow command line arguments to overwrite config for k, v i...
[ "joyyeh.tw@gmail.com" ]
joyyeh.tw@gmail.com
6a5c1ea749f8102e0c5b36a0df88242b59dbcb09
96a62c5639154d9985148bce698362eb5be19735
/svr-2.7/arelle/PrototypeDtsObject.py
551bd298f0b3d1e1619e37f3bbadb514a22f77a6
[ "Apache-2.0" ]
permissive
sternshus/not_arelle2.7
c535d35305af08a7d774be9bac8eeb68ba7c62bf
e2315999c514d6d30897168a98e5f343b06520f9
refs/heads/master
2020-04-14T07:27:43.615174
2016-06-20T21:16:02
2016-06-20T21:16:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,115
py
from arelle import XmlUtil, XbrlConst from arelle.ModelValue import QName from arelle.XmlValidate import VALID from collections import defaultdict import decimal, os ModelDocument = None class LinkPrototype(): # behaves like a ModelLink for relationship prototyping def __init__(self, modelDocument, pa...
[ "ndraper2@gmail.com" ]
ndraper2@gmail.com
d301667e9da5f7d349fdf435dc6c5bdd2dd9d67e
46bd3e3ba590785cbffed5f044e69f1f9bafbce5
/env/lib/python3.8/site-packages/pip/_vendor/pep517/envbuild.py
7e6160fc539bc7bd382d6a660739256889eb380f
[]
no_license
adamkluk/casper-getstarted
a6a6263f1547354de0e49ba2f1d57049a5fdec2b
01e846621b33f54ed3ec9b369e9de3872a97780d
refs/heads/master
2023-08-13T11:04:05.778228
2021-09-19T22:56:59
2021-09-19T22:56:59
408,036,193
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:2dc493d0c01299c40d2ce16a0cfc43a12d648e4825c7c17a784868049f835a48 size 6112
[ "a.klukowski@live.com" ]
a.klukowski@live.com
95606499c7800d62f8e508016262efca1b1262b1
92225c51f4d4ccf6330afc83eb8cebc9eda2d767
/mach_o/headers/prebind_cksum_command.py
1bde67456e66355c17e8e187f9f685e37f328299
[ "Apache-2.0" ]
permissive
jeffli678/MachOTool
17f120b1dbec0f5b50d56b4bcd450ae5be08dad5
469c0fd06199356fcc6d68809c7ba15a12eac1fd
refs/heads/master
2020-07-02T01:23:21.048970
2015-10-31T09:21:59
2015-10-31T09:21:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
from utils.header import MagicField, Field from load_command import LoadCommandHeader, LoadCommandCommand class PrebindCksumCommand(LoadCommandHeader): ENDIAN = None FIELDS = ( MagicField('cmd', 'I', {LoadCommandCommand.COMMANDS['LC_DYSYMTAB']: 'LC_DYSYMTAB'}), Field('cmdsize', 'I'), F...
[ "henrykwok2000@yahoo.com" ]
henrykwok2000@yahoo.com
d4d5988e623e558b14497efc3dc84f1a4d62bd63
bd0a310924a6987250314f995be4d264731e6efa
/python_auto/part 2/part2_2.py
49740cee76e666254c3d9aa1174d4463242f4493
[]
no_license
Maryks44/my_project
5696e4e8ba473947c13d48b98ef14a1c358de032
9ce7afd6dc4a027635cca803b0c7a09a85942a53
refs/heads/master
2023-06-24T06:21:30.709721
2021-07-30T15:35:19
2021-07-30T15:35:19
381,142,455
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
# Вывести на экран чикл N из звездоче. Причем каждая строка должна быть пронумерована и ровна колличеству звездочек count = int(input('Укажите число N: ')) for i in range(1, count + 1): print(i, '*' * i)
[ "maryks44m@yandex.ru" ]
maryks44m@yandex.ru
20e72c8d12bd0c7a49dd9f63a286d85a7d31f4fe
15fb5db5c65b06303e3251f11bf2450e7bb1fa74
/Mac_address.py
5f1f47a3e7b393fc4dc88ed91322a8ce6141cc65
[]
no_license
schirrecker/Codewars
27d18af79f29cb1b7d8980344f858e1ecb031274
e1ee5126488589c1213779480f6b066c85740f74
refs/heads/master
2022-01-14T09:08:47.617250
2022-01-10T05:49:24
2022-01-10T05:49:24
158,765,158
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
import time from time import sleep import os import uuid def get_mac(): mac_num = hex(uuid.getnode()).replace('0x', '').upper() mac = '-'.join(mac_num[i: i + 2] for i in range(0, 11, 2)) return mac print(uuid.getnode()) print(get_mac())
[ "noreply@github.com" ]
schirrecker.noreply@github.com
131cac583fbecae810f6bf5d0f112c5dca2fef27
9894fe2e1a1777845f7625fdff21092ba7629c96
/src/functions/Preprocess.py
0006dce3b6a14abeb294f8ff4cc947b40515b967
[]
no_license
Gion-KS/GSSL
443ef533779b682e87894109e5946fbde9550dbb
90207f29f45512760eb1141b5a484184095e9cff
refs/heads/master
2020-06-04T00:04:22.364907
2019-06-13T14:45:40
2019-06-13T14:45:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,586
py
import re import nltk from nltk.corpus import wordnet from nltk.stem import WordNetLemmatizer import string from sklearn.datasets import fetch_20newsgroups from src.classes import Dataset from sklearn.feature_extraction.text import CountVectorizer import src.functions.Vocabulary as voc from src.classes.dataset import D...
[ "LUCBO@users.noreply.github.com" ]
LUCBO@users.noreply.github.com
622684ec5c306509536391a79ee86352bd8df45f
088cc2a6e03aedea5f86372fc23f646836e6b9eb
/data/migrations/0008_auto_20201113_1031.py
ab1c23632751618ca4963f85913725bff8c55a8a
[]
no_license
EliSEstes/Air-Quality-Forum
6cd2055151d9523a02de847ab5440f25cb52f128
f3fbd95ed0a9711d9a8fe5cc72942d38fec5ebdd
refs/heads/main
2023-03-31T23:10:00.985683
2021-03-23T02:23:36
2021-03-23T02:23:36
348,881,797
0
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
# Generated by Django 3.1.1 on 2020-11-13 16:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('data', '0007_city_humidity'), ] operations = [ migrations.RemoveField( model_name='city', name='maxCo2...
[ "noreply@github.com" ]
EliSEstes.noreply@github.com
36fff049a68fa9e7fb10cd09b31ccfc987e4d16b
7a3d56fac035f2de9ed94ccb852293ea9e643aee
/PortfolioGenerator/Library/DataClass.py
4374cafd40bd3112d75f2a83086db26f1d4dea99
[]
no_license
DT021/MoneyTree
612d7d811a2f8109b9e369d906f45920fcc7e935
064600fec4c5664dd191c4f203284ca05534640e
refs/heads/master
2022-11-06T03:47:16.014120
2020-06-18T21:27:13
2020-06-18T21:27:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,376
py
from dataclasses import dataclass from dataclasses_json import dataclass_json from typing import List from enum import Enum import datetime import pandas as pd ### Dataclasses used internally for generating portfolios and risk calculations ### @dataclass() class Asset(): Ticker: str #asset ticker symbol ...
[ "matthewsages@gmail.com" ]
matthewsages@gmail.com
096663cd9cbae0fabe082fe91e8332f3900bd763
d95e3c7cd912a2eab479bbe66e747e4709edf2d0
/bs_scrape.spec
ba36aa3a232605334babf932789b283ca0fb76c4
[]
no_license
jaked842/ammoscrape
91666e0166156c5a9dc1e3c7f64a3091b05ff3e4
e09a01508cc110a8685f075e1ef75460caaaeaff
refs/heads/main
2023-06-03T22:57:55.615450
2021-06-24T18:01:34
2021-06-24T18:01:34
379,684,986
0
0
null
null
null
null
UTF-8
Python
false
false
862
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['bs_scrape.py'], pathex=['/Users/admin/Downloads/bsoup'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "admin@MacBook-Pro.local" ]
admin@MacBook-Pro.local
bab5556638f533d64d9c39fd6e03374ca346dcbd
9c2e87292aa0892e621c67b8f335f569e457837e
/problem_12/main.py
c3fd712667a53a7f074c89d5bf13a929d3cffa19
[]
no_license
scirelli/dailycodingproblem.com
66253198e738ec7dc8f741e3230ffa8fbed1ecf7
3f84e5a19dada4fd69c0e8fc02f930c8531193c0
refs/heads/master
2023-08-05T08:50:59.569552
2023-07-20T13:11:48
2023-07-20T14:08:05
159,087,800
0
0
null
2023-07-20T14:08:06
2018-11-26T00:20:24
Python
UTF-8
Python
false
false
417
py
#!/usr/bin/env python3 def unique_climbs(N, X={1, 2}): """ Brought force method. Try out all possible combinations. """ result = 0 if N == 0: return 1 if N < 0: return 0 for cnt in X: result += unique_climbs(N-cnt, X) return result print(unique_climbs(4)) p...
[ "stephen.cirelli@capitalone.com" ]
stephen.cirelli@capitalone.com
45be357e7b38ec918dbbec6c0e106c1fd5ccafbb
91578595b5aa689b277827860141c60ca26753a4
/src/State.py
6315ad42a83966bbb8cf9d922bf9347d459a5c60
[ "BSD-3-Clause" ]
permissive
lnerit/ktailFSM
bfb99378ea2e23d0a392cf88e43e2892c2734a02
abed58d97aad87a1b6eb7f062cd42a7256c55306
refs/heads/master
2021-01-10T08:09:59.412708
2016-02-21T05:24:21
2016-02-21T05:24:21
49,031,698
3
1
null
null
null
null
UTF-8
Python
false
false
2,539
py
''' Created on 15/12/2015 @author: lenz ''' MACHINES = dict() NOOP = lambda: None NOOP_ARG = lambda arg: None class FSMError(Exception): """Base FSM exception.""" pass class StateError(FSMError): """State manipulation error.""" class State(dict): """State class.""" DOT_ATTRS = { ...
[ "lewelnerit@gmail.com" ]
lewelnerit@gmail.com
7be171b3c6ccd20d4e7c354d4e4620d1a88c649d
fa1faa5c480ba249fbec18c0fb79b696d6b4bdf9
/4 - Arrays/RemoveKDigits.py
2c3dd044de47a9f8f777661c108947dbbc7b6b7f
[]
no_license
AbhiniveshP/CodeBreakersCode
10dad44c82be352d7e984ba6b7296a7324f01713
7dabfe9392d74ec65a5811271b5b0845c3667848
refs/heads/master
2022-11-14T11:58:24.364934
2020-07-11T22:34:04
2020-07-11T22:34:04
268,859,697
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
class Solution: # Time: O(N) --> a max of double visit # Space: O(N) def removeKdigits(self, num: str, k: int) -> str: stack = [] # before pushing a digit to stack, take care that it is monotonically increasing stack, also k > 0 and stack not empty for i...
[ "pabhinivesh@gmail.com" ]
pabhinivesh@gmail.com
5629815332356a23d2c3641637248dc89de4587e
a535ca0344d629837ab8f75b51c7d7e4eba91fca
/res/bin/usbtoh.py
928ab934251e71fdf57d7dfd5dc08bf9c8b96d82
[ "Zlib" ]
permissive
TheHoodedFoot/SpaceLCD
f2661433ee3dd917e5bd0d28f58f4a4020d43ef3
52a8409c7b83a98c8200bddecbb17e9371349294
refs/heads/master
2023-01-18T15:39:52.147606
2020-12-13T13:53:15
2020-12-13T13:53:15
320,777,918
3
0
null
null
null
null
UTF-8
Python
false
false
1,113
py
#!/usr/bin/env python3 import sys import re # Output header out = "static const unsigned char bitmap[] = {" char_count = 0 line_count = 0 things = "" things_size = 0 for line in sys.stdin: x = re.search(".*0x00(..): (.*)$", line) if x is not None: buffer = x.group(2) + " " for word in re....
[ "thf@thehoodedfoot.com" ]
thf@thehoodedfoot.com
08e5d1a22b5e130fdb0e5d1100450e88632081a4
726a25e7bdc6e12645afcd00db693f2b561a4daa
/youtubeNet/load_YouTubeNet_model_to_predict.py
e2ac6deb62438f08a13aed14eef3517132a6ed62
[]
no_license
13483910551/deep_ctr
5e6d6a24eac12422118890142b6ecf61a1e8df43
239abcb3a93dbd296c90ff827a9f761d0228f708
refs/heads/master
2022-11-12T06:04:13.557727
2020-06-29T10:44:55
2020-06-29T10:44:55
276,299,940
1
1
null
2020-07-01T06:50:54
2020-07-01T06:50:53
null
UTF-8
Python
false
false
3,344
py
#-*- coding:utf-8 -*- import tensorflow as tf import numpy as np from tensorflow.keras.models import Model from YouTubeNet import YouTubeNet from data_generator import init_output # 1. Load model re_model = YouTubeNet() re_model.load_weights('YouTubeNet_model.h5') # 2. Load data user_id, gender, age, occupati...
[ "wangdehua@360buyad.local" ]
wangdehua@360buyad.local
27765d93a89279793b38eb5ecee621db296f5941
1ad7addd3cf4d29130a09eb379dbce572a8351b8
/Github-Spider/dummy_spider1.py
8fec7d7ec4e810cebce2920ef19399e81927d75c
[]
no_license
parasKumarSahu/KML
9f23e9d02303eba00f95966d95097aa7bf0b001c
385370ca4c631ed99d5f352ff31b3fa40c9007ea
refs/heads/master
2020-04-17T14:01:00.394848
2018-11-30T23:04:55
2018-11-30T23:04:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,573
py
import scrapy f = open('haha.txt', "w") # 'https://github.com/jquery/jquery/commits/master', # 'https://github.com/codeschool-projects/HelloCodeSchoolProject/commits/master' class DummySpider(scrapy.Spider): name = "dummy" start_urls = [ 'https://github.com/codeschool-projects/HelloCodeSchoolProject/...
[ "2016csb1047@iitrpr.ac.in" ]
2016csb1047@iitrpr.ac.in
25265341286876db617a7ceabe8e9353a1421c8d
64a82fb1ac6ff3e1ec0c9f9306f4eeafca01837e
/users/migrations/0015_auto_20210607_1909.py
cf197dc2584939f2a37101c62243b4bcfa80d3d8
[]
no_license
DiabCh/Online-Store-Project
54b6e1aad7563471b81eade81f1daf2baeec19b8
065302fb9e363a1645bff2e516248a22fb49f9db
refs/heads/main
2023-07-15T01:53:36.611256
2021-08-20T10:44:59
2021-08-20T10:44:59
398,246,910
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# Generated by Django 3.1.7 on 2021-06-07 19:09 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0014_auto_20210607_0735'), ] operations = [ migrations.AlterField( model_name='activation', ...
[ "chraifdiab@gmail.com" ]
chraifdiab@gmail.com
b3fcc969062efca70aa4b4866ce7e8189b6d948a
8c953249a62367a8f0138eff488ce5d510e65620
/cs109/lab1OldClone/rpnc.py
5a6a89132f900087c2e0ed5306b2da657c50dcb0
[]
no_license
nahawtho/cs109copy
5ce87799eb09ac22b38f63b8d77b3878f8b5b001
66e2b2be6adf54bf724a437f2a32090a1d834cba
refs/heads/master
2020-04-05T06:50:35.063576
2018-11-08T05:10:56
2018-11-08T05:10:56
156,653,424
0
0
null
null
null
null
UTF-8
Python
false
false
166
py
# # Python3 Reverse Polish Notation (RPN) Calculator # # Accepts an single argument in RPN, evaluates it and prints the answer to stdout. # print("not implemented")
[ "nahawtho@thor.soe.ucsc.edu" ]
nahawtho@thor.soe.ucsc.edu
bfae83b275fbfae46d9026de5ef5217a6f90a547
872a6279df8f6c8786002f9012cad3ca2d99bcb3
/countries/admin.py
0e838f57e0febdd25e4eaac3c191a25a229c68a2
[]
no_license
ndanield/countries_list
50611cffd22a8c3c59c5e4972c4785db21663e94
532334dc6767182479501a189ac797997fb3efbc
refs/heads/master
2021-01-10T07:05:34.679445
2015-12-02T05:19:32
2015-12-02T05:19:32
47,042,450
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
from django.contrib import admin from .models import Country class CountryAdmin(admin.ModelAdmin): list_display = ['code', 'name', 'continent', 'region', 'population'] admin.site.register(Country, CountryAdmin)
[ "Nelson Daniel Durán Morel" ]
Nelson Daniel Durán Morel
20900db7b1b8044e1bf0b27b91907868005a426c
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayInsSceneSellerActivitySignModel.py
4ef2bcff18867f0f8ba427a6a7c71a574c386b9c
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
2,623
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayInsSceneSellerActivitySignModel(object): def __init__(self): self._biz_data = None self._channel_account_id = None self._channel_account_type = None self._sp...
[ "liuqun.lq@alibaba-inc.com" ]
liuqun.lq@alibaba-inc.com
9e2990da4d26978bf83a7eada161aa6270a0f17e
8084a7e3289d4ae530ce5808b2c19323b34d6289
/invoices/nfe.py
df183a009323f01b74ba45110d0bcc130eb28bd1
[ "MIT" ]
permissive
lclpsoz/misc-scripts
c05f16d128d4b4eee8d7ccf22332831627ee681d
7834292011bf47e0f7272485e2f440b68a2c6414
refs/heads/main
2023-08-28T20:23:42.635825
2021-11-13T21:28:53
2021-11-13T21:28:53
387,044,544
0
0
MIT
2021-11-13T21:28:54
2021-07-17T22:06:15
JavaScript
UTF-8
Python
false
false
2,761
py
#%% Request import requests from bs4 import BeautifulSoup import re nfe_code = input('Input nf-e code: ') nfe_code = re.sub('\D', '', nfe_code) url_qrcode = 'http://www.nfce.se.gov.br/portal/qrcode.jsp?p=' + nfe_code + '|2|1|3|bb608455a1c917b0cb910034688a4fa65f851089' headers = { "accept": "text/html,application/...
[ "lclpsoz@gmail.com" ]
lclpsoz@gmail.com
dea7dc5a83f238f53995a42c85e7a082cf7c8435
67c846e50f9179b062bb9d70b637d4ea00b33e2f
/venv/Scripts/easy_install-3.6-script.py
0c33e21fc36e535c2ec12d6a20db1b8af6367546
[]
no_license
feriosch/Hack2019
2cdb71f06e4ba8ca8c1246b8b06f43460de14c9c
e1a6085b53ab6509c1eb4e5f4056814c1fa78985
refs/heads/master
2020-05-17T16:30:50.417049
2019-04-28T17:07:44
2019-04-28T17:07:44
183,820,846
0
0
null
2019-04-28T05:57:23
2019-04-27T20:55:24
Python
UTF-8
Python
false
false
458
py
#!C:\Users\ferio\PycharmProjects\Banorte\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.6' __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\.pyw...
[ "47795404+feriosch@users.noreply.github.com" ]
47795404+feriosch@users.noreply.github.com
7405dcae9c9ff0679f22af578de88618c8ccd5ee
42adb09d60cfca14a5beb1f581538d8d730d457c
/logic/weapon/Club.py
a292e9364387dabb0993e9705d5631aca337e91d
[]
no_license
martinKindall/dungeon-game
70514e26b245c5208c1e4f4ba0adfd1c9463676f
95c6a66ae1c3f39aae5c0d006dbf3df23a61baa4
refs/heads/master
2022-06-01T15:10:06.675187
2020-04-30T01:53:22
2020-04-30T01:53:22
259,819,762
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from logic.weapon.Weapon import Weapon class Club(Weapon): def getAttackPoints(self) -> int: return 2 def __str__(self) -> str: return "Club"
[ "mart256@gmail.com" ]
mart256@gmail.com
d6e1af3c1f70472c05f440c578e0bb66519b95d3
205d581673e3960c99e6b8fe1475efb661421cb3
/bikeshed/update/main.py
1be2b76b3f73f81060b4b4fa57d6141ebd24f5e6
[ "CC0-1.0" ]
permissive
TBBle/bikeshed
08f9137f7a561d154720297b76ced061cdd6a04a
5834a15f311a639c0b59ff2edbf3a060391d15ff
refs/heads/master
2021-01-12T18:33:43.213471
2017-09-29T20:56:24
2017-09-29T20:56:24
81,327,888
0
0
null
2017-02-08T12:30:22
2017-02-08T12:30:21
null
UTF-8
Python
false
false
3,886
py
# -*- coding: utf-8 -*- from __future__ import division, unicode_literals import os from . import updateCrossRefs from . import updateBiblio from . import updateCanIUse from . import updateLinkDefaults from . import updateTestSuites from . import updateLanguages from . import manifest from .. import config from ..mes...
[ "jackalmage@gmail.com" ]
jackalmage@gmail.com
d7b4a024eaa06f6f3213a1527629e074bed475ed
5185954d3e4a076b779522007148b8420ff3d30b
/freeze.py
c803becf9318a6a9b29946174616d8faf465bde6
[]
no_license
wcraft/first-news-app
bdb0cec5e159a1cadce739752f4c383bf0ce2c10
5cd960ac04f2eda690aac2726be486b4421c84d3
refs/heads/master
2021-01-10T01:36:32.709958
2016-03-24T19:43:41
2016-03-24T19:43:41
53,678,967
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
from flask_frozen import Freezer from app import app, get_csv freezer = Freezer(app) @freezer.register_generator def detail(): for row in get_csv("./static/la-riots-deaths.csv"): yield {'row_id': row['id']} if __name__ == '__main__': freezer.freeze()
[ "wcraft1204@gmail.com" ]
wcraft1204@gmail.com
93cc65a38af08b3fdc484d18995da04bb407aee2
a689be48a5b5d844fb196df95e1df8e91a3ce59e
/python/035. Search Insert Position/searchInsert.py
781bea8b68f8f46654f9b95b17b0a2820a389989
[]
no_license
stevepomp/LeetCode
a923cb0f5af42e4449a922d8edabd289f43c5210
9b9f37fe573c8a6a6b3a00a34b2a4c9a7835c16e
refs/heads/master
2020-03-22T21:18:47.708688
2018-08-09T03:46:00
2018-08-09T03:46:00
140,676,259
0
0
null
null
null
null
UTF-8
Python
false
false
517
py
''' Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. Input: [1,3,5,6], 5 Output: 2 Input: [1,3,5,6], 2 Output: 1 Input: [1,3,5,6], 7 Output: 4 Input: [1,3,5,6], 0 Output: 0 ''' class Solution: def searchI...
[ "noreply@github.com" ]
stevepomp.noreply@github.com
3183747cd1835046d97a500fd56fc5a714d8f69c
f90a30cfafc5d786a3dc269f3ca48dce3fc59028
/Payload_Types/apfell/mythic/agent_functions/iterm.py
94b35b48c3156d56770b68fba7a567e64efb0415
[ "BSD-3-Clause", "MIT" ]
permissive
NotoriousRebel/Mythic
93026df4a829b7b88de814e805fdce0ab19f3ab9
4576654af4025b124edb88f9cf9d0821f0b73070
refs/heads/master
2022-12-03T01:19:20.868900
2020-08-18T03:48:55
2020-08-18T03:48:55
288,780,757
1
0
NOASSERTION
2020-08-19T16:20:19
2020-08-19T16:20:18
null
UTF-8
Python
false
false
920
py
from CommandBase import * import json class ITermArguments(TaskArguments): def __init__(self, command_line): super().__init__(command_line) self.args = {} async def parse_arguments(self): pass class ITermCommand(CommandBase): cmd = "iTerm" needs_admin = False help_cmd = ...
[ "codybthomas@gmail.com" ]
codybthomas@gmail.com
18a8a1313433d0b60915c2d10c7992f7f4edbf22
b9264524ecfa5e3607ee8d70b8b60eb9090c26d2
/.github/scripts/core_checker.py
f02f4f7bc5789e2dab38f722d8da08ce8d37b0a8
[ "MIT" ]
permissive
kilograham/FreeRTOS
884fe99a520616796e29aa4fdb0f0c4f6f641756
e117bdcd178c4074fd0d255958487807a7b50032
refs/heads/main
2023-06-10T21:22:00.915782
2021-05-07T22:15:00
2021-05-07T22:15:00
366,805,094
2
1
MIT
2021-05-12T17:57:40
2021-05-12T17:57:39
null
UTF-8
Python
false
false
5,879
py
#!/usr/bin/env python3 # python >= 3.4 import os from common.header_checker import HeaderChecker #-------------------------------------------------------------------------------------------------- # CONFIG #-------------------------------------------------------------------...
[ "noreply@github.com" ]
kilograham.noreply@github.com
62f15e21cc7da0172f76ec0118796903115796ca
4944541b0cd0fa48a01581ffce5e7ce16f5cf8d7
/src/Backend/MbkExam/Notification/serializers.py
a64b1c49829f6af25ac8f32051e5c5e42e2348cb
[]
no_license
aballah-chamakh/the_exam
49a5b5c9d28c61b2283f2d42d2b2fb771dd48bf4
dbbbdc7a955ca61572f26430a7788407eaf0c632
refs/heads/main
2023-03-28T13:19:18.148630
2021-04-03T22:12:51
2021-04-03T22:12:51
354,404,833
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
from rest_framework import serializers from .models import AdminNotification,StudentNotification class AdminNotificationSerializer(serializers.ModelSerializer): student_username = serializers.CharField(source='student.user.username') student_img = serializers.CharField(source="student.image.url") student_s...
[ "chamakhabdallah8@gmail.com" ]
chamakhabdallah8@gmail.com
5a1955b494c614d47f8fb98e8dfc46c8d5d321b8
18111180983ce2d2c0f3557741efbbc6234f2c36
/layers/modules/multibox_loss.py
4424e181c5cf8eb8a96a4edf667c880b8fb64947
[]
no_license
bmemm/AP-MTL
61ba8f72a6fa9b70cf4cd1ed869f0bfa6b26f5f9
30470e818442a4383ed778fa164e79499aed9a9c
refs/heads/main
2023-08-01T22:42:38.400053
2021-09-11T00:45:51
2021-09-11T00:45:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,521
py
# -*- coding: utf-8 -*- import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable #from data import coco as cfg #from data import * from ..box_utils import match, log_sum_exp class MultiBoxLoss(nn.Module): """SSD Weighted Loss Function Compute Targets: 1) P...
[ "mobarakol@u.nus.edu" ]
mobarakol@u.nus.edu
4c800d767661ee69f80d462a929fd68be4f8b58f
a39dbda2d9f93a126ffb189ec51a63eb82321d64
/mongoengine/queryset/__init__.py
026a7acdd533719065dcc1c7c1955565b13d6f6f
[ "MIT" ]
permissive
closeio/mongoengine
6e22ec67d991ea34c6fc96e9b29a9cbfa945132b
b083932b755a9a64f930a4a98b0129f40f861abe
refs/heads/master
2023-04-30T04:04:52.763382
2023-04-20T07:13:41
2023-04-20T07:13:41
5,533,627
21
5
MIT
2023-04-20T07:13:42
2012-08-23T23:02:20
Python
UTF-8
Python
false
false
525
py
from mongoengine.errors import (DoesNotExist, MultipleObjectsReturned, InvalidQueryError, OperationError, NotUniqueError) from mongoengine.queryset.field_list import * from mongoengine.queryset.manager import * from mongoengine.queryset.queryset import * f...
[ "ross.lawley@gmail.com" ]
ross.lawley@gmail.com
f552c9dfa2e04cea58e9d077a133917bf59a3b5b
8a83b2b6e5906b28de898123d8a895727f1dd300
/ai/cf_ai/cf_action_eval_ai.py
94fd1bc7f3f3a8ffc0d5eea8e1deadf722523779
[]
no_license
iamsure89/ticket_to_ride
bac86f45e2d1b03b12a90908fa0978a4996f8332
59ebcd65707faa4471c367fc7b5ae5852f0ad6d2
refs/heads/master
2022-06-23T07:53:29.154858
2016-12-17T21:45:53
2016-12-17T21:45:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,713
py
from random import randrange import game.board as board from game import Player, Game from game.actions import * from game.classes import Colors from game.methods import find_paths_for_destinations from cf_base_ai import CFBaseAI class CFActionEvalAI(CFBaseAI): "Evaluate Every Action Based on the cost function" ...
[ "di.zeng@transcendrobotics.com" ]
di.zeng@transcendrobotics.com
41387b0edba51a241184f0ce0eaf133c66de62b7
7c92b1e9faf4f7823373dfecfb5ad3a4e4840961
/s11b-rm-ko.py
429618006e3dbaa1c40a3d7f7cf3de090141d053
[ "BSD-3-Clause" ]
permissive
CardiacModelling/AtrialLowK
7fcd9db47c4551db4decc9b8113abac07edcd9bf
c73a294de137c416eb6dbe5e57231206bcef9d86
refs/heads/main
2023-08-10T21:24:45.472769
2023-08-02T13:10:34
2023-08-02T13:10:34
196,734,580
0
0
BSD-3-Clause
2023-08-02T13:10:35
2019-07-13T15:05:19
Python
UTF-8
Python
false
false
2,921
py
#!/usr/bin/env python3 # # Rm calculcations with different step sizes and durations # import os import sys import matplotlib.pyplot as plt import matplotlib.gridspec import myokit import shared # Get path for figure fpath = shared.figure_dir() fname = 'figure-s11b-rm-ko' debug = 'debug' in sys.argv shared.splash(fname...
[ "michael.clerx@nottingham.ac.uk" ]
michael.clerx@nottingham.ac.uk
5c6ed42382f1049861f15353853dc3dcd95f30ef
bbd77439acd004b394552d59c2a4eb2293a76387
/jam_ro/execute.py
cf88d32702ac6cca8bb4755154c7a4af3da496a2
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
platipusica/jampy-demo
e041833d18df47ab8a3c8193e9a6c8695b686d7c
ecd30c028b66ede4672a951c93d6d60aca1bba39
refs/heads/master
2022-12-08T21:41:47.425379
2022-12-07T02:45:15
2022-12-07T02:45:15
135,378,069
6
4
null
null
null
null
UTF-8
Python
false
false
6,682
py
from __future__ import division import sys, os import datetime import traceback from werkzeug._compat import string_types from .common import consts, error_message def execute_select(cursor, db_module, command): # ~ print('') # ~ print(command) try: cursor.execute(command) except Exception a...
[ "dbabic" ]
dbabic
da0f752f37d66f5033607317460320c51b7d99e2
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/ec2_write_f/vpc_create.py
72acec139ecc5774ba67c1d8199de44fc116c546
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
588
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
eb4921718ea76bd76fd0d09bef6d3040445b07fe
bfd6ac084fcc08040b94d310e6a91d5d804141de
/PulseSequences2/multi2d_test2.py
1609e844e7a2e84b959142d2d35d97635fe46e69
[]
no_license
jqwang17/HaeffnerLabLattice
3b1cba747b8b62cada4467a4ea041119a7a68bfa
03d5bedf64cf63efac457f90b189daada47ff535
refs/heads/master
2020-12-07T20:23:32.251900
2019-11-11T19:26:41
2019-11-11T19:26:41
232,792,450
1
0
null
2020-01-09T11:23:28
2020-01-09T11:23:27
null
UTF-8
Python
false
false
671
py
import numpy as np from common.devel.bum.sequences.pulse_sequence import pulse_sequence from labrad.units import WithUnit as U from treedict import TreeDict from common.client_config import client_info as cl from multi_test import multi_test class multi2d_test2(pulse_sequence): is_2dimensional = True is_compo...
[ "haeffnerlab@gmail.com" ]
haeffnerlab@gmail.com
b2a641f6cfdf9e6783620ae9de8ec4a54e4811f0
562a487181ba6605dd119ba7fb14f3ee7e4b0832
/CSE_231/Lab/Lab 9/lab09a.py
962322851fca48f296e96809c56cffeb322ec31a
[]
no_license
JudeJang7/CSE_231
d25930ff9c43e909dfff4fc483cdf4c893286d87
a91148d843cecab908357fda8d3ec8fd59faa365
refs/heads/master
2020-04-05T01:11:14.994327
2018-11-06T18:12:49
2018-11-06T18:12:49
156,426,928
0
0
null
null
null
null
UTF-8
Python
false
false
1,501
py
import string def build_word_set( input_file ): word_set = set() for line in input_file: # Making a list of every word in the line word_lst = line.strip().split() # Puts all of the word in lower case and gets rid of all punctuation word_lst = [w.lower().strip(string...
[ "noreply@github.com" ]
JudeJang7.noreply@github.com
5f9505e1e1b70de95dcb28c6046a8d0e0f7887d4
99d268ebdbd2ace4f1d7a77287233f79d3e568a6
/ABC.py
174dd811d1789206877702fd869b7f2f1feb263a
[]
no_license
hakannatayy/KutuphaneSqlite
9ed1ec1fdbf08059451f9c9d8ecde7df419e03ba
e5dbfd1b49c1edd0967d8395daa2dc3b645012ac
refs/heads/master
2020-06-19T22:12:50.218842
2019-07-14T23:39:15
2019-07-14T23:39:15
196,893,704
0
0
null
null
null
null
UTF-8
Python
false
false
627
py
import sqlite3 db = sqlite3.connect("Kitaplar.sqlite") imlec = db.cursor() menu=""" [1] Kitap Ara [2] Yazar Ara """ print(menu) islem=input("işleminiz: ") if islem =="1": isim = input("Kitap Adı: ") sorgu = "SELECT * FROM 'kitaplik' WHERE kitap = '{}'".format(isim) imlec.execute(sorgu) ...
[ "noreply@github.com" ]
hakannatayy.noreply@github.com
5fda096a90541b4f8f01c8692ee9f34c6977c70a
b40a140a911279f3c61737367ab8f3b7c15fe98b
/avakas/get_parameters_file.py
6f6976a02b4d1dc3baa10e6796e10d3f55ed8aa2
[]
no_license
AurelienNioche/HotellingBathtub
80fef9b4106454ec339a6c106c52738f1e95e77b
5b370a20b1d2417022fd2a6de8a7a4baeeda321e
refs/heads/master
2021-05-06T13:02:04.130850
2018-02-16T22:47:01
2018-02-16T22:47:01
113,213,538
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
import os def get_parameters_file(i): parameters_files = sorted( [os.path.join("tasks", f) for f in os.listdir("tasks") if os.path.isfile(os.path.join("tasks", f))]) return parameters_files[i]
[ "nioche.aurelien@gmail.com" ]
nioche.aurelien@gmail.com
5d2b4dfaf7911d6060185e33b0f2355572409db8
9137e1b185c5588f6e5f057a2a23f85aaa53ffcb
/time.py
7d3770849e29989662a33eb6c90de6916c0563f5
[]
no_license
jslijb/python3.x
e8335078cab08939984fb88261aea96f957f4886
5675c2cd23b3b9ac63ac13dffb02a8fa3c41b95b
refs/heads/master
2021-09-02T23:23:23.109466
2018-01-04T03:13:55
2018-01-04T03:13:55
114,987,618
1
0
null
null
null
null
UTF-8
Python
false
false
1,301
py
# Countdown using Tkinter from Tkinter import * import time import tkMessageBox class App: def __init__(self,master): frame = Frame(master) frame.pack() self.entryWidget = Entry(frame) self.entryWidget["width"] = 15 self.entryWidget.pack(side=LEFT) self.hi_there = Button(frame,text="Start",comma...
[ "jslijb@126.com" ]
jslijb@126.com
464e3a6a337dc9407f02ce39e571e1809949a6a1
a719b8d93e0517badd0d9c3c61c7e3149fb80b46
/exhaustive_search.py
38e7219edf5abd2c29d6cd6ef898a61c60c08c02
[]
no_license
srishilesh/Optimization_Algorithms
01b9a8648b788b87a443ef07299b44ecb74a8791
ff688e5a90b7d32844bbef2b7e3fcdd51d33bdc4
refs/heads/master
2020-08-05T12:40:31.154220
2019-10-03T06:17:01
2019-10-03T06:17:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
609
py
print("\n *** EXHAUSTIVE SEARCH METHOD *** \n") a = int(input("Enter the lower bound : ")) b = int(input("Enter the upper bound : ")) n = int(input("Enter the number of steps : ")) def func(x): if(x!=0): f = (x*x) + (54/x) else: f = 100000 return f cx = (b-a)/n x1 = a x2 = x1 + cx x3 = x2...
[ "noreply@github.com" ]
srishilesh.noreply@github.com
7c238c319c6f6d8ba62cadcb28faf56b3f32ab3b
b3c47795e8b6d95ae5521dcbbb920ab71851a92f
/AtCoder/AtCoder Beginner Contest 247/B.py
973864707113b363529868eab237a721c0f7de7b
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
Wizmann/ACM-ICPC
6afecd0fd09918c53a2a84c4d22c244de0065710
7c30454c49485a794dcc4d1c09daf2f755f9ecc1
refs/heads/master
2023-07-15T02:46:21.372860
2023-07-09T15:30:27
2023-07-09T15:30:27
3,009,276
51
23
null
null
null
null
UTF-8
Python
false
false
954
py
from collections import defaultdict n = int(raw_input()) d1 = defaultdict(int) d2 = defaultdict(int) names = [] for i in xrange(n): name1, name2 = raw_input().split() d1[name1] += 1 d2[name2] += 1 names.append((name1, name2)) flag = True for (name1, name2) in names: if name1 == name2: if ...
[ "noreply@github.com" ]
Wizmann.noreply@github.com
f58ab100b7516d0f0afa1a0daff5254a61b54ada
eeb609b8555a4ac6b948c5ce2485a12a88ad2c4b
/app_calendar/views.py
0c73d3b88588054b4b49ea2e17cbd1509693954f
[]
no_license
Karasevgen1205/The_calendar
ab99b99ecc358024c0b49c90d457c0c10d04e577
c90ab3fbf9f113379b12f6b255ccda100d7241b0
refs/heads/master
2023-03-12T00:59:22.492732
2021-03-01T19:33:56
2021-03-01T19:33:56
332,513,739
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
import django_filters import holidays from django.http import request from django.shortcuts import render from django_filters.rest_framework import DjangoFilterBackend, FilterSet, BaseInFilter, CharFilter, RangeFilter from ics import Calendar, Event from rest_framework.generics import ListAPIView, UpdateAPIView, Create...
[ "Karasevgen1205@yandex.ru" ]
Karasevgen1205@yandex.ru
d0d20fa9e6734a72dee78b47ba0146e83bb3c2c1
aa0d747ebd4fe6a0d6ba421df1b55bbf7e56449f
/lobby/admin.py
1e848b1ebea4a77de45e23bc10fef9a11807e178
[]
no_license
cardholder/server-side
0dbaca74d1962bd4813f8ca38f0b1ceccfa49019
bbe0eda02286d5722882e1d4b4c95a31024176f4
refs/heads/master
2022-11-14T02:26:25.979819
2019-07-14T10:54:58
2019-07-14T10:54:58
183,203,087
0
0
null
2022-11-04T19:35:10
2019-04-24T10:08:01
Python
UTF-8
Python
false
false
138
py
from django.contrib import admin from .models import * admin.site.register(Game) admin.site.register(Card) admin.site.register(CardSet)
[ "stefan.kroeker@fh-bielefeld.de" ]
stefan.kroeker@fh-bielefeld.de
0615c365276b7014f1b2c30106aefa87169532e2
20190c7bfbb96819ae707c0c0dd36d4628bd7661
/cons.py
6a73ceda7a3c7f2a81f2065d832dc58db9f7faf6
[]
no_license
Jananisathya/jananisathya
f2ccea6da30ee70a780ce8410ec6c2cd4bf90ea0
e6b38d860d93690a9176a679a47cd1fa76043412
refs/heads/master
2020-06-29T20:47:23.069326
2020-01-07T04:22:20
2020-01-07T04:22:20
200,620,459
4
1
null
null
null
null
UTF-8
Python
false
false
220
py
ch = input("Enter Character : ") if(ch == 'a' or ch == 'e' or ch == 'i' or ch == 'o' or ch == 'u' or ch == 'A' or ch == 'E' or ch == 'I' or ch == 'O' or ch == 'U'): print("Vowel") else: print("Constant")
[ "noreply@github.com" ]
Jananisathya.noreply@github.com
62c4cad48205db17deb8d43ff05d2268ff749191
1e60b1b311e4e1ced836f43ef055c65f5e78f7ef
/test/functional/feature_block.py
1e075691fa322b966b361988062a716df107a1a1
[ "MIT" ]
permissive
liufile/BlackHatWallet
529bd4b492dbf672aa3d7b1f7dd456e53508fdc4
0e6b310fb6cb9bdb3b51a81ab55e606efed891f2
refs/heads/master
2023-04-24T13:49:07.117712
2021-05-01T12:34:50
2021-05-01T12:34:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
51,998
py
#!/usr/bin/env python3 # Copyright (c) 2015-2017 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test block processing. This reimplements tests from the bitcoinj/FullBlockTestGenerator used by the pu...
[ "contact@blackhatco.in" ]
contact@blackhatco.in
8987a79b8238e079d6527786951d545fffd1ab1c
f1614f3531701a29a33d90c31ab9dd6211c60c6b
/test/menu_sun_integration/infrastructure/aws/sqs/mocks/customer_mock.py
a7b78f7010ca6a18c5de255b002fa7e7ea1d8312
[]
no_license
pfpacheco/menu-sun-api
8a1e11543b65db91d606b2f3098847e3cc5f2092
9bf2885f219b8f75d39e26fd61bebcaddcd2528b
refs/heads/master
2022-12-29T13:59:11.644409
2020-10-16T03:41:54
2020-10-16T03:41:54
304,511,679
0
0
null
null
null
null
UTF-8
Python
false
false
4,321
py
def mock_queue_make_api_call(self, operation_name, kwarg): if operation_name == 'SendMessage': return {'MD5OfMessageBody': 'a836c42e687e8a08e66a794a5dacd8c1', 'MessageId': '85e8a505-2ba4-4fa3-a93c-cc30bf5e65e7', 'ResponseMetadata': {'RequestId': '7313c686-bca3-5d79-9295-90a51...
[ "pfpacheco@gmail.com" ]
pfpacheco@gmail.com
ad62e62ad82ee0af317cf8a52a60259baf388df5
5be744f908ea25bd5442dfb4cb8a24a0d7941e14
/projects/admin.py
c8920bf36677cf7e0c9cc134b005263cc4b8b0d0
[]
no_license
CalebMuhia/JobsBoard
f986d7c4af939dded0a3e2f8305a444f3502bad3
66c40dd5151261bc7e4fb8309a6139d11604f215
refs/heads/master
2022-07-07T22:49:06.733313
2022-06-23T20:52:20
2022-06-23T20:52:20
4,616,096
0
0
null
null
null
null
UTF-8
Python
false
false
154
py
__author__ = 'caleb' from django.contrib import admin from projects.models import * admin.site.register(Project_categories) admin.site.register(Projects)
[ "clbnjoroge@gmail.com" ]
clbnjoroge@gmail.com
ff41fc1eefe176679341826517f20a6a0712d7c4
45b3fb7717c23b10d84efb3cfceb546cf0adaa97
/blog/posts/forms.py
b45ebd4e45d0c77d2ccca303794400d7874f7088
[]
no_license
IvanovVitalii/project_n
0a7ca549ff0b28162d9f133b8abd1de63f66c9a6
8a12956b7aebdba32129b341c3ad5320ae916b89
refs/heads/main
2023-06-15T03:40:17.673498
2021-07-15T10:25:10
2021-07-15T10:25:10
382,883,812
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from django import forms from posts.models import Post, Product class LoginForm(forms.Form): username = forms.CharField() password = forms.CharField(widget=forms.PasswordInput) class PostForm(forms.ModelForm): class Meta: model = Post fields = ('title', 'content',) class ProductForm(...
[ "ivanov.v.v13@gmail.com" ]
ivanov.v.v13@gmail.com
92683c997042e0e8864518890e6c61563e68ef16
8cffac7fa29566c2ce8f4881e5cd8ee04a8b3476
/sample_pdfminer/table.py
cb270c2a18696cb70b634f0ec429619a3ce200d9
[]
no_license
tsukko/sample-prg-python
c4ca293430adfa7de8579a3fe7b16561a5091fb4
82afffd767c504f5560c9bb7979f4a90ec9c6289
refs/heads/master
2023-03-04T22:58:39.269926
2021-02-10T18:23:27
2021-02-10T18:23:27
189,197,767
0
0
null
null
null
null
UTF-8
Python
false
false
1,488
py
from pdfminer.layout import LTCurve # 表 class LTTableRect(LTCurve): def __init__(self, text, bbox, stroke=False, fill=False, evenodd=False, stroking_color=None, non_stroking_color=None): (x0, y0, x1, y1) = bbox self.text = text LTCurve.__init__(self, 0, [(x0, y0), (x1, y0...
[ "tsukko@gmail.com" ]
tsukko@gmail.com
04481c8e9c3a8ab5864fbd9d4073e09189de4c58
0953f9aa0606c2dfb17cb61b84a4de99b8af6d2c
/python/ray/serve/http_proxy.py
e129f5d60cab56228bd2a379ba2a9be0ab162c29
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
oscarknagg/ray
da3dc03e24945ff4d5718fd35fc1b3408d8907eb
20d47873c9e8f5bbb80fe36e5d16256c337c4db3
refs/heads/master
2023-09-01T01:45:26.364731
2021-10-21T07:46:52
2021-10-21T07:46:52
382,402,491
2
1
Apache-2.0
2021-09-15T12:34:41
2021-07-02T16:25:05
Python
UTF-8
Python
false
false
13,432
py
import asyncio import socket import time import pickle from typing import Callable, List, Dict, Optional, Tuple import uvicorn import starlette.responses import starlette.routing import ray from ray import serve from ray.exceptions import RayActorError, RayTaskError from ray.serve.common import EndpointInfo, Endpoint...
[ "noreply@github.com" ]
oscarknagg.noreply@github.com
c8dfde3b6b267ec0e287ec27c1758df7672a6ea0
6050eb3d2b7833ac918440539b243a3456164de5
/start.py
f810e05f34956c350b5c783a0deb3bba107bcfe0
[]
no_license
Ma-Min-Min/tiide
56f1dfe2294d909b5cf03c8f5eed78c21f4be02b
c8eb57032579ba442173c388abc55b2e1148cbc3
refs/heads/master
2020-03-19T12:18:19.091235
2018-06-13T16:34:23
2018-06-13T16:34:23
136,508,098
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
from flask import Flask myapp = Flask(__name__) @myapp.route("/") def hello(): return "Hello World" @myapp.route("/tiide") def tiide(): return "Welcome to TIIDE World" if __name__=="__main__": app.run()
[ "minmin12697@gmail.com" ]
minmin12697@gmail.com
5dbe640a7962de2d943dfb53aed0930dc9248b69
1054d2c6ad221bd5e2ec1cbe496679d6eebd1264
/app.py
73a8e2a8d7dd19e7b933de6f8d4d90bc295a01c8
[]
no_license
feng147258/reconment
d2e96253716678b994eebd11b103b7ca89db5ea6
a1c8119235c6cc329e76f53f1bb0d4ec8e51f292
refs/heads/master
2023-07-14T12:00:18.878090
2021-08-13T08:58:57
2021-08-13T08:58:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,245
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2021/8/3 6:49 PM # @Author : Yingjun Zhu # @File : app.py.py from flask import Flask, jsonify, request from web.service.pageData import PageData from dataclean.dao.mysql_db import Mysql from web.entity.user import UserId from web.service.logData import Log...
[ "yingjun.zhu@esoon.com" ]
yingjun.zhu@esoon.com
84bd69b3aecc431f55e1f816dbfe988f0e2443fc
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_2/mlxnas004/question1.py
615d9525446c91fd8b2b6c646c028b7d0a290c6e
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
#nasha meoli #mlxnas004 #leap year x = eval(input("Enter a year:\n")) condition_1 = x%400 condition_2 = x%4 condition_3 = x%100 if (condition_1 == 0) or ((condition_2 == 0) and (condition_3 >= 1)): print(x,"is a leap year.") else: print(x,"is not a leap year.")
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
7be1adfbae6084374a99a6320ce4b8a69079caf5
cd65010c3142b693013984e1eef232b1a34fecc4
/main_project/hom.py
fd5263c216197fb6160c440260118ea3b7125d6b
[]
no_license
simofane4/tkinter
26f3a762807db31790477706249fcbf808bae029
628ed26198a5aa093488f0dc0ff8bbe255c2043b
refs/heads/master
2023-04-03T11:29:57.998185
2021-04-20T00:55:35
2021-04-20T00:55:35
359,479,930
0
0
null
null
null
null
UTF-8
Python
false
false
3,919
py
from tkinter import * import tkinter as tk from PIL import Image, ImageTk import time from tkinter import ttk from time import strftime app = tk.Tk() app.geometry("800x800+350+150") app.title("Gestion de Stock des Pièces de Rechange") app.configure(background='#0b2239') app.resizable(width=False, height=T...
[ "simofane4@gmail.com" ]
simofane4@gmail.com
b796b20a4d9e957f27a98c703b071bbc111e9bde
b144c5142226de4e6254e0044a1ca0fcd4c8bbc6
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/ancpvlanrange_58418cab117460d5be96e7c24e4e1bfb.py
00c591b0ead7d391ee148ba1bd8b5a0ea079d425
[ "MIT" ]
permissive
iwanb/ixnetwork_restpy
fa8b885ea7a4179048ef2636c37ef7d3f6692e31
c2cb68fee9f2cc2f86660760e9e07bd06c0013c2
refs/heads/master
2021-01-02T17:27:37.096268
2020-02-11T09:28:15
2020-02-11T09:28:15
239,721,780
0
0
NOASSERTION
2020-02-11T09:20:22
2020-02-11T09:20:21
null
UTF-8
Python
false
false
12,400
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
3781aec365f284490c5bfb10dcd9c409d8e70233
69f5b9375c4ae3908cfbd29c0b6d10117de31e5d
/predict_frete.py
0f394a310a71fbbfcc1e22f6c47df92383025ca9
[]
no_license
deepsideoflearning/freight_predictive_model
f3a898eb87bf8f03ab15bce065b7945c060b0655
11965ce729d406a2748d81759e2dc686769d130f
refs/heads/master
2021-09-14T20:34:46.784241
2018-05-18T19:45:03
2018-05-18T19:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from util import * import pickle import numpy as np df = pd.read_excel('novas_rotas.xlsx') data = select_cols(df) data = make_dummies(data) data = complete_cols(data) norm_data = np.asarray(data) X = norm_data[:, 1:] y_norm = pickle.load(open('y_norm.pkl', 'rb')) X_norm = pickle.load(open('X_norm.pkl', 'rb')) X = X_n...
[ "br_aquino@yahoo.com.br" ]
br_aquino@yahoo.com.br
fc11ed2f1b37ee77de7206c64314dedf713c76d6
ac5d3907a4e1333dc89c8d037b555113fc950db3
/MainPage/migrations/0002_remove_post_preview_image.py
28ae2721e90c28c5d54196102ce4a980806528c4
[]
no_license
Shkuin/CyberWorld
29e12cf56c7aa58079d44a7d008efeed05fee872
153d834cc7e33b75e46c534bebfd187ee00a4852
refs/heads/master
2022-11-10T09:12:34.529883
2020-06-28T17:02:10
2020-06-28T17:02:10
273,578,432
0
0
null
null
null
null
UTF-8
Python
false
false
323
py
# Generated by Django 3.0.5 on 2020-04-17 11:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('MainPage', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='post', name='preview_image', ), ...
[ "bioniklsn123@mail.ru" ]
bioniklsn123@mail.ru
c4813a92e720fa53d9eefd406d9c0a0a181b36c8
dead387c1bd3f3193d0f8ec980b9d8103cfc3113
/process_create.py
02daa051df5a1258131d48327e0473f9dcfc9986
[]
no_license
purndaum/web3
c593eaccbff50895e729acb2c342ee961345932f
96d57e8e7ff635113c237fd55bf7929de7fad281
refs/heads/master
2021-05-22T18:19:22.350482
2020-04-04T15:51:20
2020-04-04T15:51:20
251,065,088
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
#!python import cgi form = cgi.FieldStorage() title = form["title"].value description = form['description'].value opened_file = open('data/'+title, 'w') opened_file.write(description) opened_file.close() #Redirection print("Location: index.py?id="+title) print()
[ "noreply@github.com" ]
purndaum.noreply@github.com
e4275df4e69cf6565d2afddbef18539b2d4d99f3
4f875744ccae8fa9225318ce16fc483b7bf2735e
/google/findDuplicate.py
44e01dd1b67af92eaf0af5a61e728e840331fdcb
[]
no_license
nguyenngochuy91/companyQuestions
62c0821174bb3cb33c7af2c5a1e83a60e4a29977
c937fe19be665ba7ac345e1729ff531f370f30e8
refs/heads/master
2020-07-27T05:58:36.794033
2020-04-10T20:57:15
2020-04-10T20:57:15
208,893,527
1
0
null
null
null
null
UTF-8
Python
false
false
663
py
# -*- coding: utf-8 -*- """ Created on Sun Feb 2 20:34:41 2020 @author: huyn """ #609. Find Duplicate File in System from typing import List class Solution: def findDuplicate(self, paths: List[str]) -> List[List[str]]: d = {} for path in paths: item = path.split() root = i...
[ "huyn@cvm6h4zv52.cvm.iastate.edu" ]
huyn@cvm6h4zv52.cvm.iastate.edu
057960e15bf592de3eaac0311f6e861f90dda900
2562c465fbf059b8846acbcb13442347c5fd058d
/src/pms7003.py
56b466c6621cbbd6345763080b9c6dc1bceeaac2
[]
no_license
dawncold/raspberry_pms7003
3d343836cb49851483eec6babe4bec62cd3260a4
f45571f2a7ad5c38fad86c873434188e1f582a5e
refs/heads/master
2021-04-27T00:12:18.906348
2019-08-04T13:37:18
2019-08-04T13:37:18
123,770,113
1
0
null
null
null
null
UTF-8
Python
false
false
2,854
py
#! coding: utf-8 from __future__ import unicode_literals, print_function, division import serial SERIAL_DEVICE = '/dev/ttyAMA0' HEAD_FIRST = 0x42 HEAD_SECOND = 0x4d DATA_LENGTH = 32 BODY_LENGTH = DATA_LENGTH - 1 - 1 P_CF_PM10 = 2 P_CF_PM25 = 4 P_CF_PM100 = 6 P_C_PM10 = 8 P_C_PM25 = 10 P_C_PM100 = 12 P_C_03 = 14 P_C_05...
[ "loooseleaves@gmail.com" ]
loooseleaves@gmail.com
d65a31c823fa8efead544ec0a4f9c5345bc0530f
e6f0ebccf689ca4a3eb1b2349f0d9a8aa1af081e
/iblog/blog/models.py
0ca0d664c5dbb86c34d112017f146c6a8b048cb5
[]
no_license
pragy540/IBlog
d5175b485903b8c454b9ba6ea29b34f9af97ade3
1615972d2ccdaf2cb586486456e210f1c86fa355
refs/heads/master
2022-07-09T00:30:35.227168
2020-05-17T14:14:44
2020-05-17T14:14:44
264,673,322
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from django.db import models from django.utils.timezone import now # Create your models here. class Post(models.Model): post_id=models.AutoField(primary_key= True) author=models.CharField(max_length=100) title=models.CharField(max_length=150) content=models.TextField() timeStamp=models.DateTimeFiel...
[ "pragyaptl131996@gmail.com" ]
pragyaptl131996@gmail.com
c07ba76a6ce1700bed5939dd56790525d85ad59a
3e64d1fb4998fae24a4178d0925e0f30e30b00e7
/venv/lib/python3.8/encodings/utf_7.py
fabe5e915e16c26cdb4c57b6fa50ed8570d0dee2
[]
no_license
viraatdas/Model-Rest-API
a39e150c484c7136141f462932d741de5b45e044
a08500a28e4ad32094de6f88223088b9a9081d69
refs/heads/master
2022-11-12T15:33:06.624474
2020-07-05T05:04:50
2020-07-05T05:04:50
257,821,478
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/encodings/utf_7.py
[ "viraat.laldas@gmail.com" ]
viraat.laldas@gmail.com
0fdb7a7c501f03fb7f776e4965cd4da3243f4ed9
741ee09b8b73187fab06ecc1f07f46a6ba77e85c
/AutonomousSourceCode/data/raw/squareroot/7ab7bec6-576b-4910-98d1-ec30c84244ab__calculate_square.py
0bf1d0137076df117eaec3d77052d26dce255f54
[]
no_license
erickmiller/AutomatousSourceCode
fbe8c8fbf215430a87a8e80d0479eb9c8807accb
44ee2fb9ac970acf7389e5da35b930d076f2c530
refs/heads/master
2021-05-24T01:12:53.154621
2020-11-20T23:50:11
2020-11-20T23:50:11
60,889,742
6
1
null
null
null
null
UTF-8
Python
false
false
1,150
py
# calculate_square.py from Tkinter import * import ttk def calculate_square(*args): value_in = float(number_in.get()) number_out.set(value_in * value_in) root = Tk() root.title('Calculate square') mainframe = ttk.Frame(root) mainframe.grid(column=1, row=1, sticky=(N, E, S, W)) mainframe.columnconfigure(0, weight=...
[ "erickmiller@gmail.com" ]
erickmiller@gmail.com
6f7d487f3b03c0c24d82708a38a6e037e81955a4
a8dfac05ab2726f00db4630a47741768174e3e96
/Information-Extraction/QANet/config.py
400ebd2a5f4b68c3390c842208e7b0e8622f0754
[]
no_license
mohitsshah/documents-caf
0ba33a565ce272c3fb19a5cd388e8508825d15ba
7e457a2fc1f942de7ef2606feb860e6a952b41ef
refs/heads/master
2020-03-11T01:28:15.811371
2018-05-31T09:15:04
2018-05-31T09:15:04
129,692,354
0
1
null
null
null
null
UTF-8
Python
false
false
6,809
py
import os import tensorflow as tf import json # from prepro import prepro # from main import train, test, demo flags = tf.flags home = os.path.expanduser("~") train_file = os.path.join(home, "data", "squad", "train-v1.1.json") dev_file = os.path.join(home, "data", "squad", "dev-v1.1.json") test_file = os.path.join(...
[ "mohit@Sandeeps-MacBook-Air.local" ]
mohit@Sandeeps-MacBook-Air.local
201ec0e778d39c619ca7d2db0f6caee17ddd1f95
d7363da78e6f1e8ae2c6abca3f845853756165d4
/src/adafruit_blinka/board/dragonboard_410c.py
a627309d6c32ff8ab6a13dc5b5cc9a989804b538
[ "MIT" ]
permissive
adafruit/Adafruit_Blinka
7a9ed88f39ff12082d1b46647fa8869b541fba49
009b352a3234339000c32d2e61e830455cf389fa
refs/heads/main
2023-08-09T06:25:02.178935
2023-07-28T16:45:40
2023-07-28T16:45:40
120,540,744
398
331
MIT
2023-09-14T20:32:23
2018-02-07T00:25:03
Python
UTF-8
Python
false
false
972
py
# SPDX-FileCopyrightText: 2021 Melissa LeBlanc-Williams for Adafruit Industries # # SPDX-License-Identifier: MIT """Pin definitions for the Dragonboard 410c.""" from adafruit_blinka.microcontroller.snapdragon.apq8016 import pin GPIO_A = pin.GPIO_36 GPIO_B = pin.GPIO_12 GPIO_C = pin.GPIO_13 GPIO_D = pin.GPIO_69 GPIO_E...
[ "melissa@adafruit.com" ]
melissa@adafruit.com
c3c919f2d48788afdacf95e58dcf569a9f7e7671
15611d5e76b1f25e04755bc9370390cd11ee004c
/revision/data/awardfix.py
e2b6ce6b7c2c474cda9ce32b2e4c39df885e0d86
[]
no_license
paultopia/paulgowdercom
dd3d09fb027142188bf49ff3d65bbac600593ff1
b9583c4bae6b2db7274ebdaee799d7c675866160
refs/heads/master
2020-04-15T14:30:01.907498
2017-07-25T19:25:39
2017-07-25T19:25:39
51,056,099
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
import json with open('awards.json') as aj: old = json.load(aj) new = [{"award": x["name"], "year": x["year"]} for x in old] with open('awards2.json', 'w') as aj2: json.dump(new, aj2)
[ "paul.gowder@gmail.com" ]
paul.gowder@gmail.com