blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
53235533a6323bdf900eb3826db7fc883bdfc810
a201b0ce11f1027cad4a9981712dcdbe72fc464d
/asgnment12june.py
e15dc0c27a62476a3aca950f38c972551857d905
[]
no_license
mridusood/assignments
5cb6cf328fce9260e13ccfb9c35b35bc305f191d
062324f8bde29123ae29e815969f242fad919165
refs/heads/master
2020-03-19T10:01:00.627138
2018-06-30T14:01:54
2018-06-30T14:01:54
136,335,943
0
0
null
null
null
null
UTF-8
Python
false
false
1,264
py
#ques1 i=0 while(i<10): num=input("enter your no.:") print("entered num is" + num) i=i+1 #ques2 #while(True): # print("infinite") #ques3 i=0 a=[] while(i<5): num=int(input("enter the element")) a.insert(i,num) i+=1 i=0 print(a) while(i<5): print("square of elements= %s"%(a[i]*a[i])) ...
[ "richasood120@gmail.com" ]
richasood120@gmail.com
a6885be1feeeeb5ff626a614e1b274de6ff900fc
96808f72cc8ee7f4ab1f03f6e25dc654cdd8467c
/users/migrations/0001_initial.py
d577e1ad7380fcf948a856b15afbdac1475a2ba1
[ "MIT" ]
permissive
leventaysan/My-first-project
46526bff230f6fae78554ab59d975f1b737a21e4
cc9b3a5d55414dbb927fd74230d43122e08c3a03
refs/heads/master
2021-01-24T18:59:08.589948
2018-03-28T11:38:50
2018-03-28T11:38:50
123,239,149
0
0
null
null
null
null
UTF-8
Python
false
false
3,381
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2018-02-28 11:02 from __future__ import unicode_literals import django.contrib.auth.models import django.core.validators from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): initial = True depend...
[ "leventaysannn@gmail.comgit config --global user.email leventaysannn@gmail.comgit config --global user.email leventaysannn@gmail.com" ]
leventaysannn@gmail.comgit config --global user.email leventaysannn@gmail.comgit config --global user.email leventaysannn@gmail.com
ab8798f43f4e62010d729812993d84aa181dc52b
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/python-jose/jose/jws.pyi
777770ae62ba7928c9ecd32abfe7fdcce15fb17d
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
939
pyi
from collections.abc import Container, Mapping from typing import Any from .backends.base import Key def sign( payload: bytes | Mapping[str, Any], # Internally it's passed down to jwk.construct(), which explicitly checks for # key as dict instance, instead of a Mapping key: str | bytes | dict[str, Any...
[ "noreply@github.com" ]
noreply@github.com
a78ab09b41777f2dba9212adf88753c4ff759898
3aaed8176695dcfb6bc5d00bf2c2d520bc43e8e0
/dataloaders/utils.py
620ce5025eeae25fdca88b83aa4a140dd91710b2
[ "MIT" ]
permissive
Woolseyyy/pytorch-deeplab-xception
279fc36ef80547e1958c6056cd40bcbcf8accbb1
6f23fcb85edcf718c20e126ebc469960e44e349d
refs/heads/master
2020-03-22T23:36:22.893182
2018-07-17T04:15:07
2018-07-17T04:15:07
140,819,530
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
import os import torch, cv2 import random import numpy as np import torch.nn as nn import torch.nn.functional as F def fixed_resize(sample, resolution, flagval=None): if flagval is None: if sample.ndim == 2: flagval = cv2.INTER_NEAREST else: flagval = cv2.INTER_CUBIC i...
[ "jessezhjf@gmail.com" ]
jessezhjf@gmail.com
8cc1aef5b38b850c7f43e50bc45b0c87c521ae56
533f9af807bfbf60eae4729833c23ae6ac68cfef
/2018/day22/part1.py
f1ededf919c467c9cef0f8befaf0bcefdf0705db
[]
no_license
malcx95/aoc
9b392cd565e0fc4fe53417da9f912c2524bd4ee7
34d0e6015b993eb01505c2af035e1aaae6319103
refs/heads/master
2020-04-09T01:50:13.469079
2019-12-04T12:34:10
2019-12-04T12:34:10
159,918,897
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
import numpy as np from readinput import read_input import pdb import copy import time ROCKY = 0 WET = 1 NARROW = 2 # input DEPTH = 4080 TARGET = (14, 785) # input2 # DEPTH = 510 # TARGET = (10, 10) def erosion_level(x, y, erosion): geologic_index = 0 if y == 0: geologic_index = x*16807 elif x...
[ "trekommafem2@gmail.com" ]
trekommafem2@gmail.com
d523adad245260e2ba8b1c5827a75520085cda08
212ad2f12536ee631b3600a34529361bc28d6aa9
/gallery2/gallery/migrations/0003_auto_20170312_1818.py
2cb62f9065d399fd887c0cd37a1dca813c55ba13
[ "Apache-2.0" ]
permissive
ArtKiwi/gallery-06-04-17
ac8efb110485f9eb819c7884104da3d39a48304f
52426263a2969abe0d6a030602b7a6ccae151f7e
refs/heads/master
2021-01-19T05:22:04.812457
2017-04-06T12:32:27
2017-04-06T12:32:27
87,427,396
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-12 16:18 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('gallery', '0002_auto_20170312_1817'), ] operations = [ migrations.RenameField( ...
[ "Влад@ZMEYA" ]
Влад@ZMEYA
da3148eda0d51e3d5d6c53ed95cca7d8fd467839
75ce5b7fee397fe4e67ed15a58f4cd42e0f8de9f
/PythonMasterclass/OOP/oop.py
8f9a4c844627350a4a88b461ec85cf8bb780bbce
[]
no_license
lukbast/stuff
7fd03b7e035394802c307682a25621dfd667960b
160e1d77d1b592fac099b9c7139fb4e2f7f8dbbe
refs/heads/main
2023-08-06T21:39:55.334812
2021-09-23T17:37:47
2021-09-23T17:37:47
409,684,114
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
class Kettle(object): power_source = 'electricity' def __init__(self, make, price): self.make = make self.price = price self.on = False def turn_on(self): self.on = True philips = Kettle('Philips', 420) kenwood = Kettle('Kenwood', 9.99) kenwood.price = 666 print(kenwood...
[ "jaimperator99@gmail.com" ]
jaimperator99@gmail.com
83dee180bba344ba4431b5eddabacca981be46a9
ea378480ba678eb123ef826e3ca0c3eb8f4e538f
/py ref/agg:PIL/05-snowflake.py
685698ad5cd2aee1ad26a0569fba738e94d596b8
[]
no_license
msarch/py
67235643666b1ed762d418263f7eed3966d3f522
dcd25e633a87cdb3710e90224e5387d3516c1cd3
refs/heads/master
2021-01-01T05:21:58.175043
2017-05-25T08:15:26
2017-05-25T08:15:26
87,453,820
1
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
# Snowflake Simulation Using Reiter Cellular Automata # Source: "A Local Cellular Model for Snow Crystal Growth" by Cliff Reiter # FB36 - 20130107 import math import random from PIL import Image, ImageDraw imgx = 500; imgy = 500 # image size imgx1 = imgx - 1; imgy1 = imgy - 1 image = Image.new("RGB", (imgx, imgy)) draw...
[ "msarch@free.fr" ]
msarch@free.fr
93a6e1cdc641c43f4ae5872a2d3202ad7e101413
aca6c84cb2c0ff13ac3cabd0d4bed5b2393bdb9b
/ajax/__init__.py
18d3be3e1ee63694efd4f31109cb781c57873ed6
[ "MIT" ]
permissive
sovcn/cpsc427editor
8c022478793a939072c7ffe9559b94db308840af
b37be529deef60d3751dabb3986a3a6747a570db
refs/heads/master
2022-07-22T11:36:09.073364
2014-05-07T04:07:09
2014-05-07T04:07:09
16,965,826
0
0
MIT
2022-07-07T22:56:35
2014-02-18T22:17:40
JavaScript
UTF-8
Python
false
false
118
py
from ajax.endpoints import Endpoints from ajax.encoders import Encoders endpoint = Endpoints() encoder = Encoders()
[ "ksmith@innobdesign.com" ]
ksmith@innobdesign.com
069a4d59ff518ed1c6cf8f372d5999422834d488
7b7cd23f7b5cbc0154183fcae15f15a44fdf26bb
/crawler.py
730550538c80bbed875d3b6504bdf5dab9488623
[]
no_license
shintafs/Sentimen-Analysis
825f7d67322ff040a8fac6607e8019e788d444f1
57c38e042c1c4b6e9fde15d0ba05c8b0d82ee574
refs/heads/master
2022-11-28T06:50:48.203237
2020-07-30T06:22:15
2020-07-30T06:22:15
277,439,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,509
py
import tweepy import time from twitter import Twitter from preprocessing import Preprocessing import csv API = Twitter().instance() waitQuery = 100 waitTime = 2.0 engineBlow = 1 Preprocessing = Preprocessing() csvFile = open('crawl.csv', 'w', encoding='utf-8') csvWriter = csv.writer(csvFile) def search() : global ...
[ "jeriramadhan25@gmail.com" ]
jeriramadhan25@gmail.com
aa4b171a119d33a4aefa5f443e39579c048a986d
346ba0959bcc96405601968844133053339b53c3
/Jumpscale/clients/itsyouonline/generated/client/UpdatePasswordReqBody.py
8c591665742b0a0193dbfdf7935c7d3ccdb5f0a3
[ "Apache-2.0" ]
permissive
MathiasDeWeerdt/jumpscaleX
fac6f39b9c200e88a3c0635695baaf609dfa4108
6d2cc97ca15b378b8f148b110edc9c7e97c2d6df
refs/heads/master
2020-05-18T23:30:07.267657
2019-05-02T10:26:31
2019-05-02T10:26:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
""" Auto-generated class for UpdatePasswordReqBody """ from six import string_types from Jumpscale import j from . import client_support class UpdatePasswordReqBody( ): """ auto-generated. don't touch. """ @staticmethod def create(**kwargs): """ :type currentpassword: str ...
[ "" ]
f6da0d0b274aca569634adee96d19b441e759d2f
ad2c8feec42e19d7c7e08febc10061df8ed1c5bf
/detect.py
73343394e10bfb88ab57ee3a6d82975c8a41dd45
[]
no_license
abhisheks1460/Real-time-webcam-face-detection-1
cb35e07c2fa2e23fee3ff33a129c62377630ecc4
f7a395d3290e9893fbad08697711380d2baa0950
refs/heads/master
2023-05-08T08:37:07.234853
2021-05-24T05:44:07
2021-05-24T05:44:07
371,788,410
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
import cv2 import sys cascPath = "haarcascade_frontalface_default.xml" faceCascade = cv2.CascadeClassifier(cascPath) video_capture = cv2.VideoCapture(0) while True: # Capture frame-by-frame ret, frame = video_capture.read() gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY) faces = faceCascade.detectMu...
[ "noreply@github.com" ]
noreply@github.com
8498795049bcc029a2c71a310a2525dd63063293
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_commoners.py
ba7756247f776e21069b78a695be616e5b343ce5
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
#calss header class _COMMONERS(): def __init__(self,): self.name = "COMMONERS" self.definitions = commoner self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['commoner']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
070bda46bba02f7049548dabfd6d5b1fe78bb74e
732d1bd539cb7a68ac9c21b15fdc7cb17c10b31d
/main.py
8d8f6de7bd5f2eae21f520ef250a27dfde84899f
[ "Unlicense" ]
permissive
Axeinator/ArduinoBinaryLEDs
6a54adf8677b176652911a63530233da87a1b35d
f31eca8dd2641ce24fd4ea272a47856e709795af
refs/heads/master
2023-06-30T19:13:00.985744
2021-08-05T16:44:33
2021-08-05T16:44:33
314,705,273
0
0
null
null
null
null
UTF-8
Python
false
false
1,558
py
from typing import List from converter import toCPP from camera import record import time import os def read_file_return_ints(inputfile): with open(inputfile) as f: numbers = f.read() number_list = numbers.split(" ") number_list: List[int] = [int(i) for i in number_list] return numb...
[ "" ]
5ec0c68611aeb0e6750e1e88f505f6b517da1769
03c0bfcaae780af3ade6f2e0b317c4eb9096fdef
/reporter.py
3171d2a095cffe815c4ae6b3837ee79ee2d2e1f1
[]
no_license
azahid/real-time-metrics
0c3cdf1339fc637b4645589dbcfe9928b1a55db9
34a8ce9e7816725ec71fed83c6a2005f529adf6c
refs/heads/master
2021-01-20T08:47:21.497248
2014-08-12T20:28:51
2014-08-12T20:28:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
from socket import socket import sys import yaml properties = yaml.load(file('graphite_reporting.yaml', 'r')) def report(uniqueName, data, type): if type == 'graphite': sendToGraphite(uniqueName, data) else: raise Exception("{} is currently unsupported".format(type)) def sendToGraphite(uniq...
[ "ahaizahid@gmail.com" ]
ahaizahid@gmail.com
3915d180fc288994305d93a14ef20f837e9d4ec0
cdccb1f1102a359c47d824452ffd76b8f1948403
/working_with_tags.py
6381bd17b06c0ed335768bab4a3aba9ef5620bb8
[ "Apache-2.0" ]
permissive
andybarilla/TCPy_V2
c8c229f9cabc75699eeabd4e6f5d98c73a1631b5
854fa19a509a4ff01c879ee031408f0d5ed6bd39
refs/heads/master
2021-01-18T04:49:18.587888
2015-06-04T16:10:10
2015-06-04T16:10:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,547
py
from easy_print import * from working_init import * def main(): """ Working With Tags """ # optionally set max results tc.set_max_results("500") """ Get Tag by Name Method: get_tag_by_name(tag_name, owners=<list of owners>) tag_name -> tag name owners -> (optional) ...
[ "dgidwani@cybersquared.com" ]
dgidwani@cybersquared.com
ba30ee33e12ca5030dd0f6629988fb850cb6c12b
6050bf190dfae779d0e1eef3e5f4fc32057754f4
/AuxFlask/settings.py
ad9940bf3661996c9bb41ca6478cab872642527b
[]
no_license
ssajnani/AUX
442e786b9160c409f667db88b72f51068757f56f
cd8019d26f2f224e9e85efcc59444b4c3c424e92
refs/heads/master
2020-12-31T06:46:46.478224
2019-06-15T20:38:34
2019-06-15T20:38:34
80,629,762
0
0
null
2019-06-07T05:02:39
2017-02-01T14:50:37
HTML
UTF-8
Python
false
false
313
py
# API Keys and Settings. import os # Set variables specific to our application. def setKeys(): os.environ['SPOTIPY_CLIENT_ID'] = '2421a4b55e5c457eb279cacbacb9d318' os.environ['SPOTIPY_CLIENT_SECRET'] = '97d2682f52c44db6ab68a812d72e59c0' os.environ['SPOTIPY_REDIRECT_URI'] = 'http://publish.uwo.ca/~amccan5/'
[ "samar.sajnani@live.com" ]
samar.sajnani@live.com
cc560822ef2d48813402158877c3e00ff38a8fb7
96dcea595e7c16cec07b3f649afd65f3660a0bad
/tests/components/dsmr/test_config_flow.py
8ad7c7214a3c8c39e9e6f051c5814db922a12dea
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
19,514
py
"""Test the DSMR config flow.""" import asyncio from itertools import chain, repeat import os from unittest.mock import DEFAULT, AsyncMock, MagicMock, patch, sentinel import serial import serial.tools.list_ports from homeassistant import config_entries, data_entry_flow from homeassistant.components.dsmr import DOMAIN...
[ "noreply@github.com" ]
noreply@github.com
85d9732ba6f23db68b567f58ebca14eca0489c6a
18e022320a66db802c7cfa9aaf3e0372a63d8662
/example.py
c5d687eb7ee5875ad34fabbc78d5abab60438334
[]
no_license
Incogniter/incognito
4059fa531ce58b8346aaa491bea7a6ce6578f666
4762688482b4ac67e29e864417d9d2b2fffca8df
refs/heads/main
2023-07-08T13:30:15.698943
2021-08-15T05:22:20
2021-08-15T05:22:20
385,916,959
5
0
null
null
null
null
UTF-8
Python
false
false
562
py
import shelve books = shelve.open("book") books["recipes"] = {"blt": ["bacon", "lettuce", "tomato", "bread"], "beans_on_toast": ["beans", "bread"], "scrambled eggs": ["eggs", "butter", "milk"], "soup": ["tin of soup"], "pasta": ["pa...
[ "noreply@github.com" ]
noreply@github.com
a8b8713530416f14a178d2337d3b92b5c3f1538e
95d7fbb679c69466f70dc84a8a8f390ff6952546
/hello.py
22d623a1851c7b9348cbee92823f80ce2763f2cf
[]
no_license
tejaswini99-star/python-programming
9abd601c88b8c20c27fc96c12d53bd7bb090c835
498ff4669f54bf6e69330a0dc9499d1d0d142289
refs/heads/master
2020-12-20T11:42:07.051012
2020-01-24T18:51:10
2020-01-24T18:51:10
236,062,480
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
#!/usr/bin/python print ("Hello, Python!") print ("Hello World")
[ "60270550+tejaswini99-star@users.noreply.github.com" ]
60270550+tejaswini99-star@users.noreply.github.com
bb95834d440d15be90f59289d6d3f6ac9f354653
63118fd2553c75ebff2b0671db2808428c945496
/trackers/kalman_filter_dependent_fusion.py
935998c9e5f852e39050ec46ccd89de151c9331b
[ "MIT" ]
permissive
yashmotorai/Track-to-Track-Fusion
1b9139738eac3bfce69a15a2b7eec09f11b64470
6bb7fbe6a6e2d9a2713c47f211899226485eee79
refs/heads/master
2023-04-10T11:14:36.021224
2021-05-03T09:22:59
2021-05-03T09:22:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,139
py
""" kalman_filter_dependent_fusion Uses the test and using taking the dependence into account. Follows Bar-Shaloms formulas for doing so. """ import numpy as np from stonesoup.models.measurement.linear import LinearGaussian from stonesoup.models.transition.linear import CombinedLinearGaussianTransitionModel, Constan...
[ "jonassagild@hotmail.com" ]
jonassagild@hotmail.com
28c8decf5b9d178f91e182150cce81fa9cf32081
d980b54d31f684d7a4266d686ac653e128505983
/167. Two Sum II - Input array is sorted.py
36a3f1a050b6c30076049fe7b03e606dc9c045ad
[]
no_license
riverfour1995/Leetcode
2cdc0a7ea4499d875fc430965e8dd41a8bcdcbf6
8624a0873993baf3392d6363ee438cf508106636
refs/heads/master
2021-07-02T21:01:27.361537
2017-09-23T16:55:54
2017-09-23T16:55:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
class Solution(object): def twoSum(self, numbers, target): """ :type numbers: List[int] :type target: int :rtype: List[int] """ left = 0 right = len(numbers) - 1 while True: sum = numbers[left] + numbers[right] if sum > target:...
[ "xu@divisacapital.com" ]
xu@divisacapital.com
55a67afa1ad3968c5ae8a7dd525c717927790ee5
12905a02076045e6a7cd36ea13651d2b401e92a3
/mri_analysis/pre_fit/bids/bids_format_sub-008.py
7bf7c9374fb8a41f12c426d86e2f4fc2f5cc11e8
[]
no_license
mszinte/pRFgazeMod
898975daccac1d2a10cfa9a7041c03a6dfd73d06
f8eda6b3d741e5e12e4192c2ff7d100b5bb3f5d1
refs/heads/master
2022-05-04T02:29:15.766668
2022-04-12T14:56:36
2022-04-12T14:56:36
160,700,429
0
0
null
null
null
null
UTF-8
Python
false
false
12,975
py
""" ----------------------------------------------------------------------------------------- bids_generator.py ----------------------------------------------------------------------------------------- Goal of the script: Convert data in BIDS format ----------------------------------------------------------------------...
[ "martin.szinte@gmail.com" ]
martin.szinte@gmail.com
a126d18d2e02fa2d515384cd49edae20b8b9c6ab
9c9e6bf525b2f4b6c05ac9c29f1f5cdc83635c5a
/polls/migrations/0001_initial.py
087adbd2b775ec6bb5237b528eedbd665b0afff2
[]
no_license
SUshinichiro/django-sample
da669b5c39138e4be467590516b4a7758f1945a0
ea523f05e3d1bd0743dcb1de26dbdbe6278a8681
refs/heads/main
2023-03-10T23:49:18.831967
2021-02-26T07:48:12
2021-02-26T07:50:45
338,348,000
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# Generated by Django 3.1.6 on 2021-02-15 06:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "45141975+SUshinichiro@users.noreply.github.com" ]
45141975+SUshinichiro@users.noreply.github.com
8cbd9bcf143060f7b5eee8db5852a8aeac765033
8f9286812c3fe2ad928f3f227fe92035de60abb4
/exercises/counting_valleys.py
b63c538fac26f2f6ade73d3e27d0c8b3599932c5
[]
no_license
LesterKim/ctci
2210bb0034971b091ff9143532cf61f64725fabe
8fedace7569d391ecbf2c8d8f3f2dafd6baede1d
refs/heads/master
2020-04-29T19:04:26.222519
2019-04-19T22:49:39
2019-04-19T22:49:39
176,343,070
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
def countingValleys(n, s): altitude = 0 valleys = 0 reset = True for step in s: print(altitude) #print(valleys) if step == 'U': altitude += 1 else: altitude -= 1 if altitude == 0: reset = True if altitude < 0 and step ...
[ "lkim@post.harvard.edu" ]
lkim@post.harvard.edu
1fa303e599991f322fe33ad2c511a256294f0848
fef07804922538cf0d8f33ca049ffeb8641280b2
/Preprocess/F_divide_training_parts/divide_training_parts.py
617e3eabfa3e229a0475ab794d6bcd1e6521c645
[]
no_license
caisongcheng/MIML
a8df73f051d4dc7c55bab802a507a13529561234
6dcccba9940a17ab184f9b8cfeedeeac51f136f1
refs/heads/master
2020-03-13T14:21:20.461897
2018-04-26T15:10:22
2018-04-26T15:16:17
131,156,822
0
0
null
null
null
null
UTF-8
Python
false
false
5,569
py
import os import shutil def divide(path_mul, path_part, k): sen_i = [[]] #store interactive protein pairs and their sentences sen_ni = [[]] #sotre non-interactice protein pairs and their sentences ################### read from text of multi folds used for training and store protein pairs and t...
[ "2858717095@qq.com" ]
2858717095@qq.com
e3401fe9058184b364146ecabb0ecdc904b9b102
667c2d8d8a37a3a7719d5aa44586f59f8ce8fd51
/unknotter/blueprint.py
7bcbcfa75b7dde9dcd7b26b15d07de24dde3268c
[ "MIT" ]
permissive
iredelmeier/doughknots
fe2880dff5b32a81e572b088cbe97b1501b2f38a
487431b189eed8e33d369403100ff3b68d7a4151
refs/heads/master
2022-12-23T22:00:33.953861
2019-07-17T22:48:59
2019-07-17T22:48:59
197,473,677
3
0
MIT
2022-12-08T05:54:28
2019-07-17T22:49:51
Python
UTF-8
Python
false
false
2,509
py
from typing import Any import exceptions from httpx import Blueprint from httpx.response import abort, respond from trace import SpanContext from .selector import Selector from .span import Span from .unknotter import Unknotter, NoopUnknotter def factory(name: str = __name__, unknotter: Unknotter = None) -> Bluepri...
[ "iredelmeier@gmail.com" ]
iredelmeier@gmail.com
07370b00c22dff71642c2e2cd309951049ca3cb7
b76ae2671c18e9a57811945cfe2449031807a149
/Case Study - Statistical Thinking/usefull_functions.py
70a929a7dd7d8d104e53252e5bfefa80b2f3d6b6
[]
no_license
pfilo8/DataCampCourses
8c2b9ff87e1a880b94ee4575dbeda339a260fd06
73889781186cba0ac188d25e6928cfd2b88ebc15
refs/heads/master
2020-04-02T07:54:23.867190
2018-10-22T21:33:56
2018-10-22T21:33:56
154,220,248
0
0
null
null
null
null
UTF-8
Python
false
false
2,623
py
import numpy as np import matplotlib.pyplot as plt import seaborn as sns import pandas as pd def ecdf(data): """Compute ECDF for a one-dimensional array of measurements.""" # Number of data points: n n = len(data) # x-data for the ECDF: x x = np.sort(data) # y-data for the ECDF: y y = np.a...
[ "patrykfilo97@wp.pl" ]
patrykfilo97@wp.pl
99b6d0704a70f9a096300b4ca3e5d5532f9e3228
37e74791eba450e893d07b6d5240936a9b90978f
/BentExplorer.py
2a68d5ba29215c95914abece2b414f6e34ffd231
[]
no_license
rgkirch/python-file-browser
c3ae28988c29bdcdc1afe4cee76a9ed640082b28
2671c885d6bdf2c2b24e72a3f5a9ca235a020977
refs/heads/master
2020-05-02T02:24:43.706948
2015-12-30T15:22:22
2015-12-30T15:22:22
42,200,540
0
0
null
null
null
null
UTF-8
Python
false
false
4,820
py
from PyQt4 import QtGui from collections import OrderedDict from ListWidget import ListWidget class MainWindow(QtGui.QMainWindow): def __init__(self, parent=None): super().__init__(parent) self.widgets = [] self.setCentralWidget(QtGui.QStackedWidget(self)) self.listwidget = ListWidg...
[ "rgkirch@gmail.com" ]
rgkirch@gmail.com
5ad7fcf1308342cc0f96d5c3c9e5af929de4b80f
264fb8c8df7bcbf8f969c9238c0c4871e5ef7fb7
/tests/models.py
d3e01f01762fd8e10fab09802a820b7323473b8f
[]
no_license
sanderfoobar/sqlalchemy_zdb
b23c72434765d1715c0a2e730efe9963209b2c8a
00a08c6c47d46ff493056a741765a2cd9df55d52
refs/heads/master
2021-07-24T19:54:15.643606
2017-11-05T00:23:00
2017-11-05T00:23:00
89,151,429
1
0
null
null
null
null
UTF-8
Python
false
false
885
py
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy import create_engine from sqlalchemy import Column, Integer, Boolean, DateTime from sqlalchemy import Unicode from sqlalchemy.dialects.postgresql import ARRAY, BIGINT from sqlalchemy_zdb.type...
[ "sa.ferdinand@gmail.com" ]
sa.ferdinand@gmail.com
91e73816394dbe5f70020d13f22f75d75d53f136
0f0cd02caadbcfc531680921b7299d51399a2168
/CODE/circular_layout.py
2855020539fdcfa63b9d5d27537652bc1e9f89ac
[]
no_license
sonj2/NagBot
9277aa683044157ff110ac4297357419e7746da5
eab67a82f64f9162610593ff02b8a921fbc1a66b
refs/heads/master
2023-02-05T21:01:51.634603
2020-12-16T19:54:17
2020-12-16T19:54:17
296,442,707
1
1
null
null
null
null
UTF-8
Python
false
false
6,940
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ CircularLayout Taken from: https://github.com/kivy-garden/garden.circularlayout Under the MIT Liscense ============== CircularLayout is a special layout that places widgets around a circle. size_hint --------- size_hint_x is used as an angle-quota hint (widget wit...
[ "createawesomedesigns@gmail.com" ]
createawesomedesigns@gmail.com
6066c82429a06cfc912a197d31d676903f1d208e
cd50ed5464a5397b4e5bafc36efebf88f14b2d8b
/models/rnn_theano.py
cd97581f15b5bc82263db599c4e65f8f297ca657
[]
no_license
millatidy/hit400_lstm
cc6db62c68f18296e40a75395725a8112d4632e8
38bce32bd8bec5c20e373957526bfecf79a3a761
refs/heads/master
2021-06-18T01:20:17.006138
2017-05-09T01:44:24
2017-05-09T01:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,909
py
import numpy as np import theano as theano import theano.tensor as T from utils import * import operator class RNN_THEANO: ''' input_dim is the array size of the input data hidden_dim is the array size of the hidden input_dim output_dim is the array size of the output # input weight...
[ "tidymilla@gmail.com" ]
tidymilla@gmail.com
0cbc0dc59ce61210a0550c490da218c7f36c92e9
2afb28eabc992f4f3fec48f0ec91be7459a51a31
/pytorch/pic-conv.py
b1420218720b37f7ac8fdf60340455ccd611ed2c
[ "MIT" ]
permissive
LanceZhu/deep-learning
d3088d40d4c7f04ee82d23c339d46ac69a222bab
a1d8554397844ab097e1ae89686acb6d4dcc524d
refs/heads/master
2023-02-04T10:14:26.634857
2020-12-24T06:57:52
2020-12-24T06:57:52
315,268,712
0
0
MIT
2020-12-05T14:28:49
2020-11-23T09:48:57
Python
UTF-8
Python
false
false
771
py
from PIL import Image from matplotlib import pyplot as plt import numpy as np import torch import os.path as path data_dir = '../data/test/naruto' image = Image.open(path.join(data_dir, 'naruto.png')) img_gray = np.array(image.convert("L"), dtype=np.float32) # gray image plt.imsave(path.join(data_dir, 'naruto-gray....
[ "lancezhu2937@gmail.com" ]
lancezhu2937@gmail.com
3e64394d796a026c719123cf7ef89bcb82365121
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj_120408.22+153609.7/sdB_sdssj_120408.22+153609.7_lc.py
45c4a65ca1273ffe327210776740e7315636db7c
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[181.03425,15.602694], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_sdssj_120408.22+153609.7/sdB_sdssj_120408.22+153609.7_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.010388897...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
4d981443060c83ab2132e2b19e63357323dbdf2d
7f08093d63a72731170cfb89ba72249cb0203d5b
/Artificial Neural Network 1/constants.py
6535873f1418554be7240de21ee6b74986a6d406
[]
no_license
ikermedchiev/Computational-Intelligence
0a872432f2e9d99bf67ff66f0e6e2669d0f2a5b8
44153002161eb7a2ec3cf4a947be55401995583e
refs/heads/master
2020-07-24T19:46:16.203593
2019-09-13T15:09:00
2019-09-13T15:09:00
208,028,611
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
""" DON'T MODIFY THESE """ # The path to the features csv features_csv = "features.txt" # The path tp the targets csv targets_csv = "targets.txt" # The path to the unknown csv unknown_csv = "unknown.txt" # The output path outputfolder = "output" # outputpath = "output/known" # how many output neurons we should have tar...
[ "i.kermedchiev@gmail.com" ]
i.kermedchiev@gmail.com
d099cc7e65057d1859c69f94684bf1cf72bd00cd
74531ec47cd9e66d941625f13557ae2055e4ddcb
/egypt.py
075aa7d7b1b46eecdc448eb3af16a1a43d074030
[]
no_license
Abdoelnerm/egypt
054a47b1c1a6ff57e98b12fe5de8e895ab8e875d
ba961234e7946f0d2f5a81c0c5b347e0001e67f1
refs/heads/master
2020-03-20T22:55:42.604193
2018-06-19T00:36:41
2018-06-19T00:36:41
137,821,200
3
1
null
null
null
null
UTF-8
Python
false
false
601
py
import smtplib from termcolor import * #Hackers Egypt print ("HACK GMAIL BY X1L ") smtpserver = smtplib.SMTP("smtp.gmail.com",587) smtpserver.ehlo() smtpserver.starttls user = raw_input ("enter email target:") passwfile = raw_input ("enter path list password:") passwfile = open(passwfile,"r") for password in passwfi...
[ "noreply@github.com" ]
noreply@github.com
75ff25af3100e6e9e7ad938734187c506ff00d2b
a8443e7b2b6ef9ee1ccb6dab44ad3ddbaa719a33
/Week 2/PS2_Problem2.py
0942c4e0bf11fbb3d64eae236606019c2e6a20a2
[ "MIT" ]
permissive
NagiLam/MIT-6.00.1x_2018
c61b75c03e24c569db33f4d935ef6fb20b84c61b
edd4b104c446ad2e347b5454132fd993ab1c4da7
refs/heads/main
2023-03-17T23:54:11.659018
2021-03-20T19:39:54
2021-03-20T19:39:54
349,819,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
""" Problem Set 2 - Problem 2 Now write a program that calculates the minimum fixed monthly payment needed in order pay off a credit card balance within 12 months. By a fixed monthly payment, we mean a single number which does not change each month, but instead is a constant amount that will be paid each month. In th...
[ "noreply@github.com" ]
noreply@github.com
0fedcf51140245fed89411621a74a5bfe7980824
0dee160805e5b7065fe2010ebe83da345e1a2236
/utils/dataset.py
acdac90a9adeee0092fb2daa28aa67cc7efe0040
[ "MIT" ]
permissive
kaka-lin/yolov3-tf2
140027944f4fe561a3edbd78c405ab1124024967
03c0c629a62f2aa0b910d6e913bdfb39f3b79891
refs/heads/master
2023-01-28T04:53:57.008071
2023-01-12T10:24:23
2023-01-12T10:24:23
244,849,536
15
4
MIT
2020-08-27T07:59:30
2020-03-04T08:44:00
Jupyter Notebook
UTF-8
Python
false
false
5,494
py
import tensorflow as tf feature_description = { 'filename': tf.io.FixedLenFeature([], tf.string), 'height': tf.io.FixedLenFeature([], tf.int64), 'width': tf.io.FixedLenFeature([], tf.int64), 'classes_id': tf.io.VarLenFeature(tf.int64), 'classes_name': tf.io.VarLenFeature(tf.string), 'x_mins': t...
[ "vn503024@gmail.com" ]
vn503024@gmail.com
8d062e70c1250414eb462291082fec9b977fc54e
80199ed4dd0d072140160a785932c35952105b19
/miller/api/serializers/__init__.py
c25a1b7e375a9e4c48c04feabf33e4b2f2d6833d
[]
no_license
C2DH/miller
7d90bb6bdfec0ab37cea80480c783dc850e33d19
5263a9e392249f6515e74dd45b92957bd6e9e1a7
refs/heads/miller-v2
2023-06-01T20:51:37.167091
2023-05-15T13:48:03
2023-05-15T13:48:03
89,341,967
1
3
null
2023-05-15T13:46:16
2017-04-25T09:23:29
Python
UTF-8
Python
false
false
41
py
from .story import CreateStorySerializer
[ "gui.daniele@gmail.com" ]
gui.daniele@gmail.com
c73f4caeb080e25d8e24530f8e1f12f2c0064d6b
2bc96f1748eb92f74fa9f11acff0d4a1cbc87375
/SymbolTable.py
229138c470828421e0ed95d23cad6f2f0d6e4b97
[]
no_license
KacperFKorban/ActualKutLang
df3383a7cba624acf2803765448c7896a0b10752
0af4800ce6114fe906c5e71bb0b228cbf204022c
refs/heads/master
2022-11-09T02:35:36.122775
2020-06-30T11:40:47
2020-06-30T11:40:47
262,554,563
1
1
null
null
null
null
UTF-8
Python
false
false
2,110
py
class VariableSymbol(object): def __init__(self, name, type): self.name = name self.type = type class Type: def __eq__(self, obj): return type(self) is type(obj) class String(Type): def __repr__(self): return "String" class Numeric(Type): pass class Boole...
[ "kacper.f.korban@gmail.com" ]
kacper.f.korban@gmail.com
8317889863e2e15fe56f5a419d308d66255834d8
f1a06369812bedf561582b2d928c4f9504385f12
/python-workspace/InstagramAutomation/commentautomation.py
b4d2a21ee929861d3fede3e409b291ed05996284
[]
no_license
EddieQuebrado/School
de7200e50dae30c0459ac0b8e6586262cb6df9fd
df486b50c60cc93458ae64ac22535a891c58c9f2
refs/heads/master
2022-12-18T18:29:44.239343
2020-09-02T23:19:26
2020-09-02T23:19:26
292,340,529
0
0
null
null
null
null
UTF-8
Python
false
false
5,988
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys import time import sys import random class CommentAutomation: username = 'EduAnimals' password = 'EQ8TK5JR3' hashtags = [ 'animals_in_world', 'animal_fanatics', 'animalelite', 'animal_captures', 'animal_sulta...
[ "eddiequebrado@u.boisestate.edu" ]
eddiequebrado@u.boisestate.edu
396bb9ee533c26170bc0532e7826dc7039fca43e
639fad37e3b0be9e6cd7d2f0f68bbfb5529558cf
/EchoesJava2/EchoesJava/echoes-runtime/bin/rendering-engine/environment/HelperElements.py
3aca6c85cb98b358864ee3e2d80416b2607fb5f5
[]
no_license
keithsaccount/ECHOES2
768df0e3967ae5b16179a3279167f6fab76d302e
289cfc5112b0c242c05f82332872274d6f573660
refs/heads/master
2021-01-17T01:11:21.852047
2012-05-16T15:49:15
2012-05-16T15:49:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,370
py
''' Created on 14 Oct 2009 @author: cfabric ''' from EchoesSceneElement import * from OpenGL.GL import * from OpenGL.GLU import * from OpenGL.GLUT import * class Axis(EchoesSceneElement): ''' classdocs ''' def __init__(self, app, autoAdd=True, fadeIn=False, fadingFrames=100): ''' Co...
[ "gr8sunny@gmail.com" ]
gr8sunny@gmail.com
2ff990787f3dc1c9fc84e345e168599156927d6b
2fcceb594c474272eca695c0f147eb6f0d7ce21d
/Flask_SqlAlchemy/Flask_Sql_Alchemy/__init__.py
419045da93be2e71dba815a37001436206e60aee
[]
no_license
ravijaya/Flask
f99a66eafa5767e3aa23dfd2f703ee6e011e280d
c2ccee5df4c58607932dd56d7df6a752f208d750
refs/heads/master
2020-07-21T11:20:49.858657
2019-09-03T11:46:43
2019-09-03T11:46:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False # To silent the warning message app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///todo.db' db = SQLAlchemy(app) #import here otherwise it won't be able to find app module fr...
[ "prince.kumar@amadeus.com" ]
prince.kumar@amadeus.com
83870d0bad6feabceabc1b28ee086fa96c2bafac
2a1d2f8c084ea66788fb5b63e0b0a5ba7d871991
/facebook/tree/426. Convert Binary Search Tree.py
38b9917880c3831e4421bdb5ec076fae3211336b
[]
no_license
wanax/Leetcode
3e315a46a1e85c3cb8143533da2e6b2594046c0e
7802c247aa76fbf1b6c3caf14a708e1d4cd04ffd
refs/heads/master
2021-11-23T17:37:52.955053
2021-10-22T03:30:40
2021-10-22T03:30:40
154,605,132
1
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
''' Xiaochi Ma 2018-11-01 ''' class Node: def __init__(self, val, left, right): self.val = val self.left = left self.right = right class Solution: def inOrder(self, node, temp): if node and node.left: temp = self.inOrder(node.left, temp) ...
[ "mxiaochi@gmail.com" ]
mxiaochi@gmail.com
f5661d6a3215624ad0e4a173014fd859fdfd4b00
6dd0186d1ba7064a2ace5dba853168174064bf39
/app1/admin.py
64e08fef3f6765c570ea4bcc41a9f964e4294024
[]
no_license
HermannDouglas/AmigoDoProf-tesi2
bf65b82d91b4dbdb57d9e16beae3ba1e3c17ca36
19312d6c1f15b88e329ee62ec3179f7e41cb48e6
refs/heads/main
2023-08-23T10:15:49.451756
2021-10-05T16:41:10
2021-10-05T16:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
230
py
from django.contrib import admin from app1.models import Turma, Aluno, Frequencia, Aula # Register your models here. admin.site.register(Turma) admin.site.register(Aula) admin.site.register(Aluno) admin.site.register(Frequencia)
[ "55713960+HermannDouglas@users.noreply.github.com" ]
55713960+HermannDouglas@users.noreply.github.com
0e2a21a1727c135fbccda55f62b832806e51738f
086e7a5b582fe66f524e84d3b796f890631f147a
/table_batched_embeddings_ops.py
fe65d6840f89367e6b9cf583307526cd5143e6b3
[]
no_license
zhangruiskyline/sparse-ads-baselines
07d85713dab6d708d157d8fdea57db18864a73c8
137a5745b157b0c3ff1eed4f06a5a2b8f87928cd
refs/heads/master
2022-12-02T23:20:50.496245
2020-05-05T05:36:40
2020-05-05T05:36:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,257
py
import torch from torch import nn import numpy as np import enum import logging class LookupFunction(torch.autograd.Function): @staticmethod def forward( ctx, weights, table_offsets, indices, offsets, per_sample_weights, optimizer, optimizer_sta...
[ "andrew@tullo.ch" ]
andrew@tullo.ch
76a5ba96fc0d9f4d5326a414f677ece2a084e497
dd0d19ad8be38cff7565ae8373e6adf9b49634a1
/FacebookLogin_Chrome.py
e91af67676b916adb11298c4cd77dd8c63df364c
[]
no_license
JohnZhangwt/NBAI2018TEST
5b24c0c1050c8d5691416ac0c45f0935928c31c2
906fbea27f0a501e549aaea983837b1364e815ea
refs/heads/master
2020-03-26T19:26:05.979858
2018-08-19T01:42:52
2018-08-19T01:42:52
145,264,686
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.common.keys import Keys import re WAITING_TIME = 5 url = 'https://www.facebook.com/' user_name = 'lihqzz@foxmail.com' password = 'Zwtlhq1019' chrome_options = webdriver.ChromeOptions() p...
[ "noreply@github.com" ]
noreply@github.com
874ca8739134a2d64b6104c6c6179ed4bd600594
a4730ec79def343b57fc85d5d383a04fbcbf03e8
/ship/fmp/datcollection.py
ce0037d2275be831c96364e6ae6c7270f854d908
[ "MIT" ]
permissive
GitContainer/SHIP
02f84a23d6825e15950e7edd2392a123cd9afb83
a25c6db212b9cd3215757058fa3fc3c902409c05
refs/heads/master
2020-05-17T05:08:11.948390
2016-12-05T09:10:17
2016-12-05T09:16:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,246
py
""" Summary: Contains the convenience collection pattern UnitCollection. This is used to hold all of the isisunit objects loaded from the dat file. Provides convenience methods for retrieving units and getting key meta-data on the units held in this collection. Author: Duncan Runnacles ...
[ "duncan.runnacles@thomasmackay.co.uk" ]
duncan.runnacles@thomasmackay.co.uk
c8a3c6b388f4871dd9118e33902669acbf84b3ce
1cf03cb05ffefbcb1a8f1bb56e62bb5d76bdc825
/movies/migrations/0004_auto_20190515_1744.py
9ea0d8ca5d299d0be1b429b955d59ee158996ad4
[]
no_license
piotrthread/movies_base
463abc0517e5814c6f9960cc8009b089c578cbcc
ed6f7836cc7838f6d8856a8e594e4a6a40b1b094
refs/heads/master
2020-05-23T16:48:22.834547
2019-05-16T18:45:26
2019-05-16T18:45:26
186,855,850
0
0
null
null
null
null
UTF-8
Python
false
false
427
py
# Generated by Django 2.2.1 on 2019-05-15 17:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movies', '0003_auto_20190515_1741'), ] operations = [ migrations.AlterField( model_name='movie', name='starring', ...
[ "piotrthread@gmail.com" ]
piotrthread@gmail.com
bb20554028a94670278f1a937752a73087fb7faa
d94b827b04cdafee3fa4c764db45ced5d1e9e550
/Library/convex.py
fbaa560f12f723c17b244492d39387643661a952
[ "MIT" ]
permissive
marcelodaher/ArraySim
4dbf66d9c9bf448851c4ba982a66bce6911ba7de
f42db96e30acff6f3ce3829dc89a79ef5473b4db
refs/heads/master
2020-04-05T02:57:00.872101
2019-12-06T16:40:28
2019-12-06T16:40:28
156,495,514
1
0
null
null
null
null
UTF-8
Python
false
false
5,378
py
# -*- coding: utf-8 -*- """ Implementação de rotinas de estimação utilizando cvxpy @author: Marcelo Daher """ import cvxpy as cp import numpy as np import matplotlib.pyplot as plt SOLVER = "ECOS" # ECOS, ECOS_BB, SCS args_lasso = {'solver': 'ECOS_BB', 'max_iters': 2000} args_bp = {'solve...
[ "noreply@github.com" ]
noreply@github.com
ce9e81e2b51bb97642a79f8b467a2770571ede66
eea1be5dbac7fa10167eae167eb6712e3937f53a
/voidcoin/settings/dev.py
70ec86d6e913a5df701dd36881e48c14a73f0cf7
[]
no_license
chidimo/Voidcoin
40962e46661b2a7106bd8e60d0830c3b9629b8fa
227c160dfa671818522781aab013f2d1fcb098a9
refs/heads/develop
2022-12-09T17:40:26.294425
2019-07-04T08:32:20
2019-07-04T08:32:20
135,197,447
5
2
null
2022-12-08T02:08:45
2018-05-28T18:45:19
Python
UTF-8
Python
false
false
1,964
py
from .base import * DEBUG = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'voidcoin', 'USER': 'postgres', 'PASSWORD': config('DEV_DB_PASSWORD'), 'HOST': 'localhost', 'PORT': 5432 } } EMAIL_BACKEND = 'django.core.mai...
[ "orjichidi95@gmail.com" ]
orjichidi95@gmail.com
3f4d4b142fe225bb204064c1dbfc8857e1c172fe
93a613f09d564a1d45ecc01b54b73745ce2850b7
/majora2/forms.py
6adcc2da009d17ffe9c9c4e06700d45aa3e7b5d8
[]
no_license
pythseq/majora
fa17c77fa8a916c688fd2b40744d768dd851b99b
40b918d32b4061cddee5f7279f97e70eb894623d
refs/heads/master
2022-12-23T20:09:41.233844
2020-09-28T18:18:42
2020-09-28T18:18:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
35,308
py
import datetime from django import forms from django.contrib.auth.models import User from django.db.models import Q from django.utils import timezone from crispy_forms.helper import FormHelper from crispy_forms.layout import Layout, Fieldset, Submit, Row, Column from crispy_forms.bootstrap import FormActions from ....
[ "samstudio8@gmail.com" ]
samstudio8@gmail.com
d119951e1a0327b0d9524d4b51562c44cbcf814c
b2c04e31a4eeb4b512512ef6731049fa65f4407c
/presidentspeech/lib/python3.6/site-packages/joblib/_parallel_backends.py
c78750667edb93004442e2a058d88459b9fda75d
[ "MIT" ]
permissive
aless80/Presidentspeech
805f4da59a9d3e150db752f64f5b9ca0d5b04223
39349a4e6fa5a51a181a418bdc85f00878b4c6e4
refs/heads/master
2022-11-29T08:52:02.405580
2018-10-07T19:45:21
2018-10-07T19:45:21
102,866,762
1
0
MIT
2022-11-22T03:03:33
2017-09-08T13:54:01
Python
UTF-8
Python
false
false
23,014
py
""" Backends for embarrassingly parallel code. """ import gc import os import sys import warnings import threading import functools import contextlib from abc import ABCMeta, abstractmethod from .format_stack import format_exc from .my_exceptions import WorkerInterrupt, TransportableException from ._multiprocessing_h...
[ "AlessandroMarin80@gmail.com" ]
AlessandroMarin80@gmail.com
3eb29b64e840eb16ac56e1e5d14ec4c49a692067
4f5497d06caa9d12266f7c421f28e44cd96ce1f7
/new-york-city-taxi-fare-prediction/file_process.py
49c88881977993bae1052509632afc2738a0f58d
[]
no_license
cthai721/jupyter-notebook-examples
f03469298f67230eafafba82140adad01ab1910b
f0d8415de94c706d39e2dde53d229efbe52a411c
refs/heads/master
2020-03-26T19:58:49.207111
2018-08-19T21:10:37
2018-08-19T21:10:37
145,297,137
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
import os with open('tmp.csv','w') as tmp: with open('train.csv','r') as infile: for linenumber, line in enumerate(infile): if linenumber <= 1000000: tmp.write(line) # copy back to original file. You can skip this if you don't # mind (or prefer) having both files lying around w...
[ "hai@factoryfinder.com" ]
hai@factoryfinder.com
089b2c98e03f58cc2de5979eb336b3d85f403c8c
512b1191d41bd59e8f8d8b25d1a7739c905437b8
/gwips_tools/config.py
20daa5cc5243b95b1c06f39bd455a576322d5df8
[]
no_license
vimalkvn/gwips_tools
493121311b44c348e121909d8fba0be5c502c4a0
57925ff4fda7803178d297e6512c54314cfca098
refs/heads/master
2021-01-15T10:36:45.164094
2015-09-23T09:43:58
2015-09-23T09:43:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
# -*- coding: utf-8 -*- import os class Config(object): # get the running directory of this file, move one level up to get the # application directory APP_DIR = os.path.split(os.path.dirname(os.path.abspath(__file__)))[0] class TestingConfig(Config): """Testing configuration""" CONFIG_FILE = os....
[ "vimal@biotechcoder.com" ]
vimal@biotechcoder.com
50a037352ff3c9a418af4b572eb79953cc5d7fb7
b52effa79794e7965bfa60feeb05a101deb10efd
/eval_func.py
c9e8a4f055727d05c012ccf3f97fe3756ba3dca4
[]
no_license
MMRTristin/BiGruAttEncDec
f501a6f0f3e3fd9da7edaed259cb2a51aaedf202
a4745f98e0f191854571b0a6a183e72300f47320
refs/heads/master
2023-03-21T09:12:08.077536
2020-09-26T12:12:46
2020-09-26T12:12:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,881
py
# coding: utf-8 from utils import * from nltk.translate.bleu_score import sentence_bleu from nltk.translate.nist_score import corpus_nist from nltk.translate.meteor_score import single_meteor_score from rouge import Rouge import sys def eval_length(result): length_sum = 0 for res in result: ...
[ "taisei.aso.study@gmail.com" ]
taisei.aso.study@gmail.com
2d9e11e3ed38020deb5118b50ac1bcf5d930d73c
895dc44521e8567484425340cd6e3260a4f13700
/Mug/home/migrations/0002_auto_20191217_1633.py
1e3408de3ba6236f3ad641638165e0424e9cf9b0
[]
no_license
chandraprakashcdy/Mug-Factory
73668423058b81f1a5d41cf42b7ab82abcc15f02
80bba33015007d268fcd3196fb3fdaa456c057ec
refs/heads/master
2020-11-26T19:59:53.696457
2019-12-22T04:17:47
2019-12-22T04:17:47
229,194,121
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
# Generated by Django 2.2.4 on 2019-12-17 10:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('home', '0001_initial'), ...
[ "chandraprakashchaudhary5@gmail.com" ]
chandraprakashchaudhary5@gmail.com
84fa8a0538487a8227c5f0abca6e5041d209b452
af24c64da3ae67887b9e9b929dd8511c89234a1b
/ReceiptManager/wsgi.py
b2eb07545e7403070752bcedc0266bcf95113772
[]
no_license
songsh66/ReceiptManager
7f590b20d8ece458bea840bf984c348a6f491381
13a3cd3c4499dc8c49137dc21bba0cccfe33f517
refs/heads/master
2021-07-07T10:35:15.475027
2017-10-03T02:52:09
2017-10-03T02:52:09
105,604,670
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
""" WSGI config for ReceiptManager project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJAN...
[ "745872111@qq.com" ]
745872111@qq.com
146c328f2a468fe218c2e58e31f2e252d86e2cf4
06d22c7a8824c407156582b420dcd65381fa821a
/myproject/newapp/blocks.py
76daf082853200ca9f03022d23ef19d93255ec3e
[]
no_license
neharamakanth/WagtailProject
ac990752f05f2b4615ec23db013d6668186b0059
50df9494be6c99aee3353e6749b37b0809bc256f
refs/heads/master
2022-12-03T05:20:30.608746
2020-08-17T17:50:49
2020-08-17T17:50:49
288,248,899
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
from wagtail.core import blocks from django.core.validators import ValidationError def check_for_title(value): if 'the' in value: raise ValidationError('Title cannot contain the word "the"') class TitleAndTextBlock(blocks.StructBlock): title=blocks.CharBlock(required=True,validators=[check_for_ti...
[ "nayana.ramakanth@gmail.com" ]
nayana.ramakanth@gmail.com
f7563abdb8f484051174f08311f015a78de85abb
a01e7f87a0088965e2e0a02476d2df12a49a1a18
/package/vpntfi/build/lib/vpnmodule/lib/ipsec.py
ec9ef5f7c46a4f3932aa7db489e96b7baad3399c
[]
no_license
gsrr/IFT_jerry
0456a8a1fb98f84ad5c26dc36bdf32e2d85c750c
4c2f6900dfd7ae7f6b3cc2150b1c1be236b4c95c
refs/heads/master
2020-04-04T05:30:10.544252
2019-08-22T09:12:03
2019-08-22T09:12:03
48,145,836
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
import sys import os import configLoader import mcommon def make_replace_func(src, dst): def wrap_func(items): with open(src, "r") as fr: with open(dst, "w") as fw: for line in fr.readlines(): line = line.strip() for key in items.keys(): ...
[ "jerrycheng1128@gmail.com" ]
jerrycheng1128@gmail.com
d195c2548dd779a57ed3469af120166d92df294b
c3b039b83501e419d143c9c53712258256f56a94
/Data_preprocessing/Read_Json.py
9d5aa5aa09591d6ab58d7629ebea0e105e1a101c
[]
no_license
JustDoSomethong/Common_code
71aa87b3ad5acd1ff397e6893e4c4b66943955c3
f0f79bd30af464489399f8486ae7e1499c8d212c
refs/heads/master
2020-04-24T18:41:31.517413
2018-12-27T07:31:33
2018-12-27T07:31:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,413
py
#-*- coding: UTF-8 -*- # Read_Json.py # 根据json文件,删除文件 import os import json import cv2 import numpy as np import math def json_list(): list = os.listdir('./openpose_big_data/JSON') return list def read_json(list): for img_json in list: file = open(os.path.join('./openpose_big_data/JSON',img_json...
[ "392940398@qq.com" ]
392940398@qq.com
13175b9cebe32ede456cdbd4ac180c7c792e404e
aa74b3bb7f7881a07c94c7e636a69e567c1094ed
/wikigenomes/oauth_config.py
63e8eee30b75b52f9956cd5bcc5389aaab191050
[]
no_license
putmantime/wikigenomes_version2
52b2754bb6b74cd7f69ded7b74dd88d3ba13b1f4
b512fceb8e799e2186f97cb7a9f3b61caf412eb4
refs/heads/master
2023-01-11T05:08:22.000530
2017-03-21T18:05:15
2017-03-21T18:05:15
85,631,815
0
1
null
2022-12-26T20:14:55
2017-03-20T22:04:22
Perl
UTF-8
Python
false
false
111
py
consumer_key = '59be86fa1f620941d8f32bd4748a72fa' consumer_secret = 'f0e211d80c23bf3613dd1dfeb03d9a383d5284b6'
[ "putmantime@gmail.com" ]
putmantime@gmail.com
c1f3f8bbab696c547a30d5a169abdc1209621ca8
87df8993b91f7ffdbed0895d6c3c0b63f8f680e4
/Lib/site-packages/troposphere/qldb.py
067fa824b43ec60a83f2a443637b8f3fb131c209
[ "MIT", "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-newlib-historical", "OpenSSL", "bzip2-1.0.6", "Python-2.0", "TCL", "LicenseRef-scancode-proprietary-license", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-ot...
permissive
ZGrinacoff/ufc_fightclub
bae3029170235109f2a15e804823a8ba3f7c54b3
ee0a0a5ff2756db05198522a376c6c38d09976e5
refs/heads/master
2022-10-21T16:39:43.376922
2019-11-07T02:25:33
2019-11-07T02:25:33
218,659,879
0
1
MIT
2022-10-03T06:26:03
2019-10-31T01:32:48
Python
UTF-8
Python
false
false
534
py
# Copyright (c) 2012-2019, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. # # *** Do not modify - this file is autogenerated *** # Resource specification version: 6.1.0 from . import AWSObject from troposphere import Tags from .validators import boolean class Ledger(AWSObjec...
[ "zgrinacoff@gmail.com" ]
zgrinacoff@gmail.com
81cf2192372f7be30eaaa2775dbbee9dda647e85
15ed740b04044c57d02954ab021abd645d725fe9
/QQ/src/__init__.py
0322615249fb6fbdee9583e05e8617fc627e86e3
[]
no_license
guo-hg/hello-world
30696940ccb55ddd69ece1a477b81b5a6d9315e9
24b647c11e2948168e4ae2e89658d0af59111f71
refs/heads/master
2020-07-30T05:52:14.541205
2019-09-22T08:12:50
2019-09-22T08:12:50
210,109,221
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
#!/sur/bin/python # -*-coding:utf-8-*-
[ "13319264301@.com" ]
13319264301@.com
c3dcf732068641ecf3c3fe05a5dd6c0778e247d4
48a365a701a99579e1f22c852d66c6b55a2095b7
/pythonApp/flask_main.py
aaca20945c89deeeafcf9fd5d22d00234a30f99c
[]
no_license
alinalimov/pythonProject
8478479b758882dbbb6c6c24faf79de733206afb
73757665dfeb8ddad35d196aae811a5cdc88735a
refs/heads/main
2023-01-30T06:18:49.901778
2020-12-14T22:01:58
2020-12-14T22:01:58
316,232,549
0
0
null
null
null
null
UTF-8
Python
false
false
185
py
from flask import Flask app = Flask(__name__) @app.route('/alina') def hello_world(): return 'Hello World’ if __name__ == '__main__': app.run() app.run('127.0.0.1', '8080')
[ "alimovalina@gmail.com" ]
alimovalina@gmail.com
01f6f1cb26d71bb61ee3abfcf3da272212d482b9
d2ea7af56543bfe4f4b428c025bf8e4d44ed16b8
/certificats_dipcas/models.py
4173d73121828cab5bda12c299d59a2d77215f1b
[]
no_license
alvarporcar/certificats
bd67413af77ad4c7ec629e063c3964b9d6bfba0c
777de0886956c24fc21af6c89f9adc118b07d8af
refs/heads/master
2021-01-10T13:45:44.351833
2016-02-24T16:35:51
2016-02-24T16:35:51
47,278,410
0
0
null
null
null
null
UTF-8
Python
false
false
355
py
from django.db import models class Certificats(models.Model): municipi = models.CharField(max_length=100) certificat = models.FileField(upload_to=".") clau = models.FileField(upload_to=".") data_inici = models.DateField(default="2015-01-01") data_fi = models.DateField(default="2015-01-01") segell = ...
[ "alvar.porcar@gmail.com" ]
alvar.porcar@gmail.com
f509d61c42fd4e09736506f61b65a6d588813204
8f3642f895741049e3d84a7a27d2a1928b5e9355
/dobby/__main__.py
90851e3087143c2121283ce55cd72c28d5749a63
[]
no_license
tehstone/Dobby
30bc14cc39b02c0a4880764ac7003f809ef5eaba
a20b7c5811fc972910a127e801778169aec4bad4
refs/heads/master
2023-01-08T14:02:15.802852
2019-07-22T13:27:43
2019-07-22T13:27:43
193,165,244
0
0
null
null
null
null
UTF-8
Python
false
false
73,482
py
import asyncio import copy import datetime import errno import functools import gettext import heapq import io import itertools import json import os import pickle import random import re import sys import tempfile import textwrap import time import traceback from contextlib import redirect_stdout from io import Bytes...
[ "stone.johnny@gmail.com" ]
stone.johnny@gmail.com
a5a5a43db42d6a2a4bf1fbf66cbc96feba06d015
8cb1253c44d15238ec205d6cfc133274667c7a4b
/Python基础/day01/demo.py
cabb2ab1762fa40fca6c9a2d8ad16b961539f4c6
[]
no_license
xianjyu/PythonStudy
0f86ed4e5f75d352ca36f694519afd1226abeccd
7b3e342e7d320d4138c87667794a9370a4b70aca
refs/heads/master
2021-01-08T20:46:17.611119
2020-03-19T04:50:49
2020-03-19T04:50:49
242,138,917
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
content = 'I am yuxj, 18 year old' content2 = "I'm yuxj, 18 year old" content3 = ''' 每想你一次, 天上飘落一粒沙, 从此形成了撒哈拉。 每想你一次, 天上就掉下一滴水, 于是形成了太平洋。 - 三毛 ''' # print(content) # print(content2) # print(content3) # # # str1 = 'yu' # str2 = 'xianjia' # print(str1 + str2) # # str3 = '坚强' # print(str3 * 5) # name = input('请...
[ "2451255827qq.com" ]
2451255827qq.com
fd14a8d1149199664afe6d1f9f84b157b93b7cfb
bc1b9455826f2e07976c04b20515ac4a45eaf6b6
/pyrax/resource.py
da570dcd342c43305fcae4a4a1f9c5ba3598bcd5
[]
no_license
gondoi/pyrax
b3df411d4c1ed8d8e1e0151e9378f7400ff782fc
4a917f55e706b650774a305a424ed456da773f02
refs/heads/master
2021-01-18T11:21:13.557056
2012-12-19T22:49:52
2012-12-19T22:49:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,352
py
# Copyright 2010 Jacob Kaplan-Moss # Copyright 2011 OpenStack LLC. # Copyright 2012 Rackspace # 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 # # htt...
[ "ed@leafe.com" ]
ed@leafe.com
49b92f612aa387fe77a6fdbd616b9ddc0794ad80
e5cc010a5b066de321b2fcbb10be760f5d07164e
/py_game/pong.py
771180ca2865f22174fbbe097c660fbd95586eb3
[]
no_license
YurandCL/Pruebas_python
020419be9f31fa79755d4d48278abd11e6a00ee7
b9109c325a427bcaf6d8cc6a422abf59ec19fabd
refs/heads/master
2020-05-17T03:36:21.919232
2019-04-25T18:09:09
2019-04-25T18:09:09
183,485,669
0
0
null
null
null
null
UTF-8
Python
false
false
4,340
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Módulos import sys, pygame from pygame.locals import * # Constantes WIDTH = 640 HEIGHT = 480 # Clases # --------------------------------------------------------------------- class Bola(pygame.sprite.Sprite): def __init__(self): pygame.sprite.Sprite.__i...
[ "yurand.coloma@tecsup.edu.pe" ]
yurand.coloma@tecsup.edu.pe
04a5ac227ff16d908d6ea9c43ed65181b56820de
46b432cd3557038c454601367b878f889c9b6a8f
/kiyuna/tutorial07/tutorial07.py
cd07ce259e448005ecafb1d76d2ccac03e4a9643
[]
no_license
tmu-nlp/NLPtutorial2019
84ceec06568fd9d899a686658fb8851466133375
d77d199c50cd37d70e462209a7bfcd4dee9140a1
refs/heads/master
2020-05-14T13:34:05.336594
2019-09-25T02:25:41
2019-09-25T02:25:41
181,814,723
1
0
null
2019-08-01T18:53:54
2019-04-17T04:04:06
Python
UTF-8
Python
false
false
478
py
from train_nn import * from test_nn import * import subprocess train_path = '../../data/titles-en-train.labeled' train_nn(train_path, layer_num=1, node_num=2, epoch_num=1, λ=0.1) test_path = '../../data/titles-en-test.word' out_path = './out.txt' test_nn(test_path, out_path) script_path = '../../script/grade-predict...
[ "kyuna.prog@gmail.com" ]
kyuna.prog@gmail.com
ee9703daa5cc3632e67a2217d830eed7463293cf
48fab33def7dfaed44dbf0a2c5c148798a10c4c8
/test/onnx_converter_test/hugectr2onnx_wdl_test.py
7577b6ee48494f469b7d97b2915f797fb76344de
[ "Apache-2.0" ]
permissive
js-ts/HugeCTR
787fa22e8643cbfe7c6b9dac4414a70eb37f322c
085b2e8ad2abaee5578e7bf43b8394d0b8473b58
refs/heads/master
2023-08-16T11:29:57.490236
2021-10-21T02:31:24
2021-10-21T02:31:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,851
py
# # Copyright (c) 2021, NVIDIA CORPORATION. # # 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...
[ "zehuanw@nvidia.com" ]
zehuanw@nvidia.com
b4438594d865b52f8621092a4b5825cfd955c7f9
31dd22636c9d1372f50faa2009abc29e7ee4e832
/scheduling/test_schedule.py
383c4ab8970b8de1fb71a6e25ee461fd99aaabb7
[]
no_license
chathaway-codes/teamblue_xinformatics
34e5e2ff83c9fb31c88a78b71d63ca3367aec7c2
61a543b9db71a7a9b1ebaef2a869020f71890c97
refs/heads/master
2021-05-28T17:14:35.347868
2015-05-05T01:40:48
2015-05-05T01:40:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,970
py
import unittest from schedule import * from course import * from timeslot import * from requirement import Requirement class TestSchedule(unittest.TestCase): def setUp(self): Course.reset_crn() def test_simple_schedule(self): ts1 = Timeslot('FA12', {'M': ['09:00', '11:00'], 'R': ['09:00', '11:00']}) ts2 = T...
[ "charles@vanguard" ]
charles@vanguard
9be0a66ae0a2fad7ecec0ba7db01e19576209736
656aaaf9529bbff0eef513b3eb5e690ab04b4a93
/0x03-python-data_structures/6-print_matrix_integer.py
bb1231d7d8227f622ddf81e6996336fe5a67fec3
[]
no_license
jshmattos/holbertonschool-higher_level_programming
bf203e2a6184f273ab2382100564d9616f3c4880
0438408fbd0fa833c266984110dc1ce3e8ac4a2a
refs/heads/master
2021-02-14T05:39:40.287310
2019-10-26T18:56:08
2019-10-26T18:56:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
285
py
#!/usr/bin/python3 def print_matrix_integer(matrix=[[]]): for row in matrix: for i in row: print("{:d}".format(i), end=" " if row[-1] != i else "") print() # print('\n'.join([''.join( # [str(i) + " " for i in row]).strip() for row in matrix]))
[ "tuvo1106@gmail.com" ]
tuvo1106@gmail.com
d86340a6767ed274ae880923b13b4c21609393f6
047fbc11cd389e56865034cf473807db8718d92e
/assignment_test.py
46933b2148fcdc536230cfb6950f6b105b7d6bba
[]
no_license
SDSS-Computing-Studies/002b-basic-math-Sebastianmaudee
5c07d14dd2f13a6de8674d08c36f614defd1d84a
ae9826096b03ba4cf0d45fa27ec4acf9449570b7
refs/heads/master
2023-08-28T23:20:37.346270
2021-10-21T21:16:41
2021-10-21T21:16:41
406,925,526
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
#! python3 import a1, a2, a3, a4, a5, a6 def test1(): assert a1.answer == 14 def test2(): assert a2.answer == 3 def test3(): assert a3.answer == 10 def test4(): assert a4.answer == 2.5 def test5(): assert a5.answer == 1 def test6(): assert a6.answer == 25
[ "66690702+github-classroom[bot]@users.noreply.github.com" ]
66690702+github-classroom[bot]@users.noreply.github.com
908836f4b302beef58b569c6bd88d9425c373514
961aa16fdf30f94846a0ccd006bd2198545b5110
/learn_notes/niuke_exercise/base64_0911.py
45159269fe3df232ed8fb307bf5332fd1fd27e03
[]
no_license
goushan33/PycharmProjects
2bcbff8233ba6ccedc601c34f473b5371ccef39f
edf1bec6dcc566601152a90ecec150328add1304
refs/heads/master
2021-06-06T00:54:22.958519
2021-05-31T14:24:41
2021-05-31T14:24:41
171,823,819
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
import base64 def safe_base64_decode(s): if len(s)%4==0: r=base64.urlsafe_b64decode(s) else: for i in range(len(s)%4): s+=b'=' r=base64.urlsafe_b64decode(s) return r if b'abcd' == safe_base64_decode(b'YWJjZA'): print('测试成功') else: print('测试失败')
[ "443568347@qq.com" ]
443568347@qq.com
54af5cd1a521f7e55d1fc43f8010b47de5507d7a
67325192c1e528a39d457f11e61b480d68826708
/mods/mcpython/Commands/paststructur.py
117c93e349a2e464fbdd360aea9102a06eae33c7
[ "MIT" ]
permissive
vashistaarav1611/mcpython-a-minecraft-clone-in-python
5851b377b54fd2b28c106112c7b18f397b71ab50
c16cd66f319efdeec4130e1a43f5a857caf1ea13
refs/heads/master
2023-02-01T22:48:51.787106
2020-12-21T15:02:25
2020-12-21T15:02:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
# todo: remove from . import Command import structures import globals as G class paststructur(Command.Command): @staticmethod def getHelp(): return "/paststructur <name> <x> <y> <z>" @staticmethod def isCommand(line): return line.split(" ")[0] == "/paststructur" @staticmethod ...
[ "baulukas1301@googlemail.com" ]
baulukas1301@googlemail.com
d44586a77fe6a3e219f553b4e07aa3753f539730
523453b03ac5fa48e8b856bdaf947cb1405c7a93
/udemy/CommonInLists.py
9e564c40d3baf9c4fab3bc3232263e23387c1e08
[]
no_license
feeroz123/LearningPython
46292d5344c1af4a2034e220b967bba9ac958c80
ff46c1b3c3d3c2c1e5950bbdcfbedebf6d206c0a
refs/heads/master
2022-06-14T15:53:22.220485
2022-06-01T15:01:46
2022-06-01T15:01:46
123,810,540
1
1
null
null
null
null
UTF-8
Python
false
false
311
py
# Program that returns a list that contains only the elements that are common between the lists (without duplicates). # Make sure your program works on two lists of different sizes. import random a = [2, 8, 1, 0, 9] b = [4, 9, 1, 7, 0,10,13,17] c = [] for i in a: if i in b: c.append(i) print(c)
[ "feeroz123@gmail.com" ]
feeroz123@gmail.com
c28e18dcc81237386243a5d1943fe6a1863ab1d9
b4608c647f67b5aa58665013fa616fc18c0aab21
/detector.py
1e898db7c1f14f4e86559128be71e8c6a5046f3f
[ "MIT" ]
permissive
swayam01/Face-Recognition-and-Counting
a3814ff4d62d728a317126426c3951dacbf9c4a8
de93f103f0510f94c8b030bbbdc806ca1ac5b4cd
refs/heads/master
2022-10-23T01:39:53.372168
2020-05-20T19:15:34
2020-05-20T19:15:34
108,626,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,632
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Copyright (C) 2017 Swayam Mittal (swayammittal65.blogspot.com) 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/LICEN...
[ "noreply@github.com" ]
noreply@github.com
c270c1332bc846e464e1576c754b6adaf140ee74
c8abde35db2571f59113f40f1d6478197be6b467
/day7/day7.py
4c09bc75b008af074b03b2cfc026255690f22d32
[ "Unlicense" ]
permissive
chrisb87/advent_of_code_2016
809300202b0223f3b2e6bf13024f09e552f27063
668a7c5e3f2aac036dcf0091ca62a47cb0c54ba8
refs/heads/master
2020-06-11T07:09:44.724837
2016-12-18T21:11:02
2016-12-18T21:11:02
75,738,123
1
0
null
null
null
null
UTF-8
Python
false
false
994
py
import re def supports_tls(ip): hypernet_sequences = re.findall("\[(\w+)\]", ip) supernet_sequences = re.split("\[\w+\]", ip) if any(map(contains_abba, hypernet_sequences)): return False elif any(map(contains_abba, supernet_sequences)): return True else: return False def contains_abba(s): for a, b, bi, a...
[ "baker.chris.3@gmail.com" ]
baker.chris.3@gmail.com
6e5eacff5c385b71e029aed864bd50ad09a30db7
ff9bc5a9ecd7b72843155753eef44f00de9f69b7
/calibration_check/stationA_protocol3_lysates_S3_calibration.py
828fbc935e46f23baf82f67e8abf3a22ff4acd8f
[ "AGPL-3.0-only" ]
permissive
luissian/opentrons_covid19
dacf108802f0d586399ee3e8cd229ea218614c30
d5b0332954ea0446f311d19eb905c39b665ed72d
refs/heads/master
2022-08-01T03:32:41.156980
2020-05-26T10:22:00
2020-05-26T10:22:00
256,753,845
0
0
MIT
2020-04-18T12:56:51
2020-04-18T12:56:51
null
UTF-8
Python
false
false
9,117
py
from opentrons import protocol_api from opentrons.types import Point from opentrons.drivers.rpi_drivers import gpio import time import math import os import subprocess import json # metadata metadata = { 'protocolName': 'S3 Station A Protocol 3 lysates Version 1', 'author': 'Sara <smonzon@isciii.es>, Miguel <m...
[ "migueljuliamolina@gmail.com" ]
migueljuliamolina@gmail.com
f7870fb9833553cae7cd436c2e2bd23c87ff10fd
ffe56a49385b88136a9e8c3a1f90d441c93713a2
/meiduo/meiduo/utils/goods_category.py
d7dcb82b949346bd90c1f560f634e67b13e104df
[]
no_license
Jeffrry1828/Django
e51f5208531f006bf77d667db2ccffcb2ec02a03
995739ad6c1fba8053253087b2fd809f4d6487ec
refs/heads/master
2022-10-09T03:40:08.076066
2020-06-06T14:53:17
2020-06-06T14:53:17
270,010,693
0
0
null
null
null
null
UTF-8
Python
false
false
1,528
py
from collections import OrderedDict from django.conf import settings from goods.models import GoodsCategory, GoodsChannel def get_goods_category(): ''' { 组编号(同频道):{ 一级分类channels:[] 二级分类sub_cats:[] } } 如: { 1:{ channels:[ ...
[ "641294561@qq.com" ]
641294561@qq.com
91dd2d6acd81d7de397d70d35b746845ef35b596
1db25776747f6f12f8e5a156a4532cfc917aff00
/week7/poc_recursion_practice.py
5ecaefdd954e390afb346f601a44ea5567deea75
[]
no_license
doctornemesis/Coursera-Principles-Computing
6d5ad2e28a1e480638fffad4aef60efed010af42
6b48de0e1f10e5c25e435e2a954a7fb11defcfcb
refs/heads/master
2022-03-21T01:40:42.815649
2016-03-24T12:46:54
2016-03-24T12:46:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,180
py
''' Recursion Practice Activities Principles of Computing - Week 7 Python 2.7 Chris ''' def triangular_sum(num): ''' Write a function triangular_sum(num) that computes the arithmetic sum 0+1+2...+(num-1)+num. For example, triangular_sum(3) should return 6. Note that this sum can be compu...
[ "verdatestudo@gmail.com" ]
verdatestudo@gmail.com
41d3c3423049d66be5d5a676da6f65fc11ccee96
3117852233ea6c2644e723587a7b28d6d6518d95
/Calculator_Gamma.py
56834b8c0142138f9ff1356056dec9729eb49cbb
[]
no_license
harishravi121/Pythoncodes
d70059a3b7785d668a4b03f3ec85b0777b33706f
1d6d6ca0ed6348b6c5d07d27d24668fb567527ca
refs/heads/master
2023-07-07T11:58:03.741814
2023-07-01T08:01:56
2023-07-01T08:01:56
211,642,477
3
0
null
2020-01-13T06:45:25
2019-09-29T10:00:32
Python
UTF-8
Python
false
false
4,117
py
#The ALU has digital circuits for sum, subtraction, multiplication and comparision. #The challenge here would be to write the code for division, square root, trignometric and other fuctions #The following python code just needs python install of 30 MB x='25'; #2 digit number y='14'; #2 digit number #Doing repr...
[ "noreply@github.com" ]
noreply@github.com
fe805e7840fac82c8b3327f0b3fa479f5f9f2a79
ca37a72fa7098391e512071804ea924c348a36c6
/RTRBM/rtrbm/mats/bias_down_mat.py
22182037228e48bb65529cf82bce2398ead02fd8
[ "Apache-2.0" ]
permissive
liuzc188/Convolutional-LSTM-in-Tensorflow-master
32fa6e7ff029ca71ca282d22d4982233f01f4158
541eebf6a40d4e8f53d9789360a9ef794da2e35a
refs/heads/master
2020-03-21T07:23:23.484012
2018-06-22T08:53:14
2018-06-22T08:53:14
138,277,347
1
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
from mats.base_mat import base_mat from pylab import randn, shape from mats import up, down class bias_down_mat(base_mat): def __init__(self, w, init=True, direction=None): "just give it a mat, and it will, very conveniently, add biases." self.v, self.h = w.v, w.h # If it fails, try using...
[ "793989912@qq.com" ]
793989912@qq.com
5753e21e3bd77984cd6db73762a617353f793e25
c99bb1a6852eaa351feeca4f5ed7dd6c278dd057
/İstihza çalışmaları/Koşul deyimleri/basit hesap makinesi 2.py
ae1450a5e85b6762b3193ee5ac8dd3ef39a9f853
[]
no_license
Uygarca/istihza
66d4c01481705d8c4117cc1a62681700a0875eb3
b349e79de53c599d00252c4da4b8aa0de1469641
refs/heads/master
2020-11-24T03:16:01.472888
2019-12-14T00:14:03
2019-12-14T00:14:03
227,942,137
0
0
null
null
null
null
UTF-8
Python
false
false
2,001
py
#basit hesap makinesi v2.0 #döngü eklendi giriş = """ 1 topla 2 çıkar 3 çarp 4 böl 5 karesini hesapla 6 kare kök hesapla çıkış için q """ print(giriş) islem = input("Yapmak istediğiniz işlemi seçiniz\t:") while islem != "q": if not islem: # hiç bir giriş yapılmamasına karşı oluşturuldu ...
[ "noreply@github.com" ]
noreply@github.com
caf7ec1a93c4ba7f19938d29664e3db866008a9a
0add7953d3e3ce2df9e8265102be39b758579753
/built-in/TensorFlow/Official/cv/image_classification/ResnetVariant_for_TensorFlow/automl/vega/core/trainer/distributed_worker.py
5d9fc4bf51e66b007308d25784eede866bf0e020
[ "Apache-2.0", "MIT" ]
permissive
Huawei-Ascend/modelzoo
ae161c0b4e581f8b62c77251e9204d958c4cf6c4
df51ed9c1d6dbde1deef63f2a037a369f8554406
refs/heads/master
2023-04-08T08:17:40.058206
2020-12-07T08:04:57
2020-12-07T08:04:57
319,219,518
1
1
Apache-2.0
2023-03-24T22:22:00
2020-12-07T06:01:32
Python
UTF-8
Python
false
false
9,223
py
# -*- coding: utf-8 -*- # Copyright (C) 2020. Huawei Technologies Co., Ltd. All rights reserved. # This program is free software; you can redistribute it and/or modify # it under the terms of the MIT License. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the...
[ "1571856591@qq.com" ]
1571856591@qq.com
2f0d10e885d482824ea7c9d6bf74092d2d864ab9
4e57c31bffa5c6c73c326b1e7915482ed5592e4b
/examples/resnet.py
010b3d8cb42d35d34cdafad6de9f760e7dad495a
[ "MIT" ]
permissive
Jding0/pywarm
9eed61048d97b7c14d2598d565ff9482f5e399d6
d79cf76f448f818a2445856c069b5567d7eb8193
refs/heads/master
2020-07-19T01:06:47.688618
2019-09-04T14:46:56
2019-09-04T14:46:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,925
py
# 08-29-2019; """ Construct a WarmResNet() using PyWarm, then download state dicts for torchvision.models.resnet18(), load into WarmResNet(), compare if it produce identical results as the official one. """ from pathlib import Path import sys sys.path.append(str(Path(__file__).parent.parent)) sys.path.append('..') impo...
[ "very.blue.season@gmail.com" ]
very.blue.season@gmail.com
5e2441a76a0875e25522fd843d0cd4fe2e462f67
c61872b4d9fd6f7caf4fbbbcb914405b75b30866
/venv/lib/python3.6/site-packages/plumber/compat.py
9df8f884ebf7671c02a2e513d49d6b0286531dea
[ "MIT" ]
permissive
ThomasGarm/portfolio-cv
f7140f618ef4b4bd680186ed1a5f1157fcb7fbe7
2d3abb51c9dc991a05939255f39c339ad152b51c
refs/heads/master
2022-12-08T03:00:25.075362
2020-04-30T14:56:11
2020-04-30T14:56:11
244,865,394
1
0
MIT
2022-12-05T11:40:16
2020-03-04T09:58:53
Python
UTF-8
Python
false
false
907
py
# Python compatibility support code # This is taken from six def add_metaclass(metaclass): """Class decorator for creating a class with a metaclass.""" def wrapper(cls): orig_vars = cls.__dict__.copy() orig_vars.pop('__dict__', None) orig_vars.pop('__weakref__', None) slots = o...
[ "thomas.win@gmail.com" ]
thomas.win@gmail.com
ba75293fb114bd3624b11c6c27f0edad2e0f5595
ec7f558786ef15bf6793553ed4fa90b225f7ecd4
/thesis/Userdriven_composition/apps.py
fa7672d7d9911cefa161dd924e94ae926b3091d0
[]
no_license
AmbientIntelligenceLab/User-driven-composition-of-collaborative-services-middleware
08999e525ddacfde265bc5b06be6980dafc28ebd
cbe2d070d5b2bf52412f9d890dafec0b3ee47d13
refs/heads/master
2020-04-17T01:18:47.476912
2019-01-24T14:22:45
2019-01-24T14:22:45
166,086,836
3
5
null
2019-03-31T17:28:50
2019-01-16T18:04:58
Python
UTF-8
Python
false
false
118
py
from django.apps import AppConfig class UserdrivenCompositionConfig(AppConfig): name = 'Userdriven_composition'
[ "digantaprotik@gmail.com" ]
digantaprotik@gmail.com
49f190075b2510e3664bf81ff52da12b96310422
c1cadbaa72e8ed19384a5137543d865024cacd64
/findTickets/findTickets/items.py
a242df911ba1433dfced0fff714fd068c3eb0802
[]
no_license
Zhxhh/findTickets
ce518e647c38a6aa48633c9045b9f8c75d530584
cfc3a814b9c58fb7c559b0b01d29a40478a2fb5a
refs/heads/master
2020-04-21T05:39:57.632084
2019-02-06T13:12:02
2019-02-06T13:12:02
169,347,328
3
2
null
null
null
null
UTF-8
Python
false
false
503
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class FindticketsItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() trainNo = scrapy.Field() arrStationN...
[ "noreply@github.com" ]
noreply@github.com
536982ad575c5059dc69af147115055e0597f6b0
c9bb6846556bdfd2f42e2cbfd973e5d8e31fc641
/src/test.py
ac3d42fa58c32ce80da4405911fe50506a7ce96f
[]
no_license
rahultiwari56/Virus-Scanner
6008b8ad9fe21e75f79b21a8ce306c70db551513
58623dd1820e3d35148ce0bcf05ff779150901b7
refs/heads/master
2023-03-24T20:04:48.534652
2021-03-06T09:30:53
2021-03-06T09:30:53
345,054,039
0
0
null
null
null
null
UTF-8
Python
false
false
1,796
py
''' This is just a testing file But this file is not used in the project directly. ''' import requests from flask import jsonify import json resp = '6b86b273ff34fce19d6b804eff5a3f5747ada4eaa22f1d49c01e52ddb7875b4b' def scan(): url = 'https://www.virustotal.com/vtapi/v2/file/scan' params = {'apik...
[ "rahultiwari5618@gmail.com" ]
rahultiwari5618@gmail.com
c10d859fddbe3200b1bb1a82ef3c7fdc7e12a2c6
8dfefed8b288a65134e2f3587e96b6313ba138c2
/Tabs/venv/bin/pip
ea19f004e4f26167ad61e8a329276e12a1d74f71
[]
no_license
gsvetleen/Python-Basics
b80a04350149e04278d705ba4bc69555965c957d
68dae06c1403d9a2dc82a447f394b82e994d88b2
refs/heads/master
2020-04-29T15:55:28.613717
2019-04-01T09:27:22
2019-04-01T09:27:22
176,243,527
0
0
null
null
null
null
UTF-8
Python
false
false
416
#!/home/svetleen/Documents/PythonLearning/Basics/Tabs/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.a...
[ "gsvetleen@gmail.com" ]
gsvetleen@gmail.com
9d636aa1b8c794bc044f743f2d8df6524a86cf29
b6ecfa27b431511afccb767f55995a340c0ac13a
/transporter_deal_portal/wsgi.py
b779123d0ef1444a4e18e85143bfcdb034d0b0f2
[]
no_license
paridhigoyal/TransporterDeal
b8a381d7d215f1aee7432bf54061611d8d34799a
537811c44706fce90bcd905f0bbff9a10b49e00e
refs/heads/master
2021-01-16T07:25:43.354523
2020-03-02T13:52:04
2020-03-02T13:52:04
243,023,562
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
""" WSGI config for transporter_deal_portal project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefau...
[ "pgoyal@bestpeers.com" ]
pgoyal@bestpeers.com
39c005e2f92dcdf66d4a09f56d3d18c85effbd62
40bace8b96cf5c7b5389b49036836c5fa8bed191
/10579_Fibonacci_Numbers.py
114386f2ba9a425e3133b297062195d6ac2d4972
[]
no_license
rupertsky/UVA-Solutions-in-Python
ac1ca5704077c181ca5a1ee98530b0806894fc09
30c3592c39f0cec8046961c488f7dbf82f2db6de
refs/heads/master
2023-06-04T03:02:04.800121
2021-06-20T18:42:10
2021-06-20T18:42:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
''' Created on Jul 31, 2016 @author: Md. Rezwanul Haque ''' F = [] a,b = 0,1 F.append(a) for _ in range(5000): F.append(b) a,b = b,a+b while(True): try: num = int(input()) except EOFError: break print(F[num])
[ "r.haque.249.rh@gmail.com" ]
r.haque.249.rh@gmail.com
f386a2baff367c7b94051355314792f3ac231a3d
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R2/benchmark/startQiskit_QC200.py
254dea7ab62da21d4456472998e9b8a1d0c8d255
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
6,300
py
# qubit number=3 # total number=37 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
705bb752a9258e3bc2c8ee9f16145cfd532bc894
60c0ca4ef3ad20bad04311473b2f4044f54739d2
/store/api/migrations/0005_order_sold_at.py
af648d3a29d3d09976b8254d48088c4f4700c7c2
[]
no_license
Jimiliani/rainforest
361915024cc2a93a9bb8621372627b2d84176271
b1bf65ee4441d1a4980a2e65ce2cfc629b9d6a7a
refs/heads/main
2023-06-19T18:10:38.879924
2021-07-21T14:54:05
2021-07-21T14:54:05
387,679,460
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# Generated by Django 3.1.5 on 2021-07-20 19:10 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0004_auto_20210720_2159'), ] operations = [ migrations.AddField( model_name='order', name='sold_at', ...
[ "dikorolyov@mail.ru" ]
dikorolyov@mail.ru
08a22fa9e5f7164c7762877f0f3012d3eb9a7ee5
684ab25b2ef1ce0ad54fdc53d3f7e81d70e2e44f
/test1/test1/settings.py
55a7d4c3b194a91b9578d32b8bb8fd4760bf82e1
[]
no_license
ayamagdy11/test
d0671ab4c374237ab1c0739595ddf6a36b3c3cb9
92835f52a16cf759e0a1f0b58dc10da30c29b9aa
refs/heads/master
2016-08-12T02:46:54.022517
2016-02-21T18:21:47
2016-02-21T18:21:47
52,220,091
0
0
null
null
null
null
UTF-8
Python
false
false
3,163
py
""" Django settings for test1 project. Generated by 'django-admin startproject' using Django 1.9.2. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ import os # B...
[ "nour_nourrr_11111@yahoo.com" ]
nour_nourrr_11111@yahoo.com
c724c19fb17cb22589d49e60505ecf79ee04e7c5
d1742451b25705fc128acc245524659628ab3e7d
/Data Structure & Algorithm/Disjoint Set Union/10685 - Nature.py
b0b9ec8421bcfe7e9e623074eb4e6f6e4a873ba0
[]
no_license
Shovon588/Programming
ebab793a3c97aedddfcad5ea06e7e22f5c54a86e
e4922c9138998358eed09a1be7598f9b060c685f
refs/heads/master
2022-12-23T18:29:10.141117
2020-10-04T17:29:32
2020-10-04T17:29:32
256,915,133
1
0
null
null
null
null
UTF-8
Python
false
false
935
py
def makeset(n): par[n] = n def find(r): if par[r]==r: return r par[r] = find(par[r]) return find(par[r]) def joint(a,b): u = find(a) v = find(b) if u!=v: par[u] = v def generate_result(dic): res = -1 for i in range(1,n+1): temp = find(i) if temp ...
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
4ba94ad8d63b1aded9da71576d77fa7a6caafdec
159d4ae61f4ca91d94e29e769697ff46d11ae4a4
/venv/lib/python3.9/site-packages/pandas/tests/groupby/test_min_max.py
25a57d24e04ef974fbd644249e8114cbe40588c9
[ "MIT" ]
permissive
davidycliao/bisCrawler
729db002afe10ae405306b9eed45b782e68eace8
f42281f35b866b52e5860b6a062790ae8147a4a4
refs/heads/main
2023-05-24T00:41:50.224279
2023-01-22T23:17:51
2023-01-22T23:17:51
411,470,732
8
0
MIT
2023-02-09T16:28:24
2021-09-28T23:48:13
Python
UTF-8
Python
false
false
5,733
py
import numpy as np import pytest from pandas._libs.tslibs import iNaT import pandas as pd from pandas import ( DataFrame, Index, Series, ) import pandas._testing as tm def test_max_min_non_numeric(): # #2700 aa = DataFrame({"nn": [11, 11, 22, 22], "ii": [1, 2, 3, 4], "ss": 4 * ["mama"]}) re...
[ "davidycliao@gmail.com" ]
davidycliao@gmail.com