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
1be151562d01c426c047d45f4208698afadcc1d1
1e48d99606711d4f938f42c9d966d8b2adf36efa
/send_email/models.py
2b01a9d54bf55b5f209b2197c48e5a1989a17e49
[]
no_license
alastairwp/yourvoteapp
f59c399b07a207733899c067fa5dd6a137133d1a
9124affcc3fbcc4e361d4259b4915552fb4c87e8
refs/heads/master
2022-11-13T10:07:11.511929
2019-12-10T15:57:15
2019-12-10T15:57:15
213,521,901
0
0
null
2022-11-04T19:30:55
2019-10-08T01:32:06
Python
UTF-8
Python
false
false
2,744
py
from django import template from django.conf import settings from django.core.mail import send_mail, EmailMultiAlternatives from django.db import models from django.template import Context class EmailTemplate(models.Model): subject = models.CharField(max_length=255, blank=True, null=True) to_email = models.Ch...
[ "alastairwp@gmail.com" ]
alastairwp@gmail.com
05a2d22595769aabb8ba1288219cbc5896aff69b
837fcd0d7e40de15f52c73054709bd40264273d2
/practices_loop-master/sum_user_quit.py
7d4bd070a2e7a364a41b6719421b8247f5090e2f
[]
no_license
NEHAISRANI/Python_Programs
dee9e05ac174a4fd4dd3ae5e96079e10205e18f9
aa108a56a0b357ca43129e59377ac35609919667
refs/heads/master
2020-11-25T07:20:00.484973
2020-03-08T12:17:39
2020-03-08T12:17:39
228,554,399
0
1
null
2020-10-01T06:41:20
2019-12-17T07:04:31
Python
UTF-8
Python
false
false
333
py
#In this program if user input 4 then sum all numbers from starting to ending. if user input quit then program exit" user=raw_input("enter your number") index=1 var1=0 while index<=user: if user=="quit": break user=int(user) if index<=user: var1=var1+index index=index+1 if var1!=0: ...
[ "nehai18@navgurukul.org" ]
nehai18@navgurukul.org
f1d4d811e589b5dcd06b4f29a6ceb315157fd32c
7e0033782d89f435a2f209be90e2baf471fa0925
/pd001/src/boletin/migrations/0001_initial.py
c48f6ece915f70c458d694500a2b27c6e45a23e8
[]
no_license
AnthonyJe/boletin-chalco
23b3d2c678dd59b07bacc9574e9a38e0285eb18c
f02fbb85911dd1a96a0c5d818f461d395898b9b5
refs/heads/master
2022-12-10T05:34:12.429904
2017-01-12T13:29:41
2017-01-12T13:29:41
78,716,365
0
0
null
2022-11-29T14:08:49
2017-01-12T06:37:14
Python
UTF-8
Python
false
false
714
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-12 02:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Regist...
[ "jesus_omega97@hotmail.com" ]
jesus_omega97@hotmail.com
09949cbad4812a9be9a7484fec23b89a330aae58
41c41815e6c52a64a6b25c7805639ba7eda5b28b
/Beginner/Day 2: Tip Calculator.py
a3a19a84187009af90c9ced8dc0f5d5914da92b9
[]
no_license
JuliaDer/100-Days-of-Python
c640cbb3c445fdc185eb29cb57f4605dc6ddc030
2f434f76f894d3c11163f021142f4c3dcb16fffd
refs/heads/main
2023-04-06T21:32:12.075816
2021-04-05T19:37:37
2021-04-05T19:37:37
328,598,098
1
0
null
null
null
null
UTF-8
Python
false
false
562
py
# If the bill was $150.00, split between 5 people, with 12% tip. # Format the result to 2 decimal places = 33.60 print("Welcome to the tip calculator") bill = float(input("What was the total bill? $")) tip = int(input("What percentage tip would you like to give? 10, 12 or 15? ")) people = int(input("How many people to...
[ "julia.dernovska@gmail.com" ]
julia.dernovska@gmail.com
473bc8b122476c58effa1fed8f46db5139019970
f29a25b12fd5c8d8325bda41c6ae4482b2e9c287
/python/draw_action.py
2734a0e8faf22d041f3eafe7de5008bf9670b2ef
[ "MIT" ]
permissive
mattruzzi/Pathfind3r
bc7be2db5182832e3fcc90c116e8e762b6ee5351
2b65b09030c87465137ccd9b4da991f087dee5bc
refs/heads/master
2023-06-24T20:09:12.102771
2021-07-27T04:02:16
2021-07-27T04:02:16
282,509,454
1
0
null
2020-07-25T19:15:13
2020-07-25T19:15:13
null
UTF-8
Python
false
false
1,300
py
#!/usr/bin/python # MIT License # # Copyright (c) [2016] [Okan Ulas Gezeroglu] # # 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 ...
[ "okan@peakgames.net" ]
okan@peakgames.net
151db284810e59ba5fc2db2861b18b0362d9067a
35d581fa04352504e9b6c3120d8af620e9a6971a
/src/benchmark/chart/exceptions.py
74dd9369c8aa27124ecb4fffc232a1995b6c99bc
[]
no_license
prosoftwaredev/python-pandas-jupyter-numpy-
5514534649bf25db45c98c2627b5164c291f21f2
c2e99e45879432d5c27924b3f205cb4ad6339020
refs/heads/master
2020-03-23T20:39:23.922770
2018-07-23T19:02:35
2018-07-23T19:02:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
class FilterParamsNotSupported(Exception): """ Raise when user trying to filter by not supported params. """ pass
[ "final.fantasy.dev@gmail.com" ]
final.fantasy.dev@gmail.com
e8c6a7022c8dd800947f80f28cce13496e92fa02
acdae9c6fbe29a81e5264347845aa4e41b42cc8b
/youtube.py
33fd076bd39dbc7d8f00e5dbf5d65d475191b7b4
[]
no_license
nejni-marji/nenmaj_bot
49c9abe20a4070fe4aa88c90a37c3fc93f5854c4
a9bdbf98f0d5036056425e5a514f0adc608f0188
refs/heads/master
2021-01-19T02:07:07.376554
2017-09-04T01:58:39
2017-09-04T01:58:39
87,262,270
1
0
null
null
null
null
UTF-8
Python
false
false
6,258
py
#!/usr/bin/env python3 import re from os.path import dirname from glob import glob from subprocess import call from os.path import getsize import telegram as tg import telegram.ext as tg_ext import youtube_dl from bin.background import background myself = int(open(dirname(__file__) + '/private/myself').read()) yt_di...
[ "nejni.marji@gmail.com" ]
nejni.marji@gmail.com
b98c8338f9919c87f47ead364dc8f8712f9e553d
8174ebfd09d6ad104be52d1c3bee7f6b1b02e2b6
/PCProject/MachineLearningEarlyStage/WAVtoCSV.py
2d6df878d1cc05dadb88a029ce0b74d9ded62f6a
[]
no_license
alexdavies325/AudioClassificationMicrocontroller
b31f951598cf860d7c157216a006c1ff6fb8ed88
586008a33f307ef0f32f6118f820b5a0f979b840
refs/heads/master
2020-12-22T13:09:24.778931
2020-01-28T19:10:22
2020-01-28T19:10:22
236,790,232
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
import os import pandas as pd path = '/home/alex/Alex/QMUL/Project2/Machine learning/Wavefiles' os.chdir(path) dict1= {'filename' : [], 'label' : []} for filename in os.listdir(path): with open(filename) as f: stringSplit = filename.split("B") stringName = stringSplit[0] print(stringName...
[ "alexdavies325@gmail.com" ]
alexdavies325@gmail.com
31c447acd3b746744f3991cbcdac3ee2c59fc519
d8a027585fd6f199534d58a546031c3b6984f83d
/dekilbot.py
f1388e1f2b180b371154a61191f5ee5db60aba4b
[]
no_license
dekilgrind/cokdeh
9d5d7dac1de38333a1b974770efc609c85ebda20
1325a091d007be07c4ef12be690c89872e862d54
refs/heads/master
2020-04-15T22:43:05.363773
2019-01-11T12:27:59
2019-01-11T12:27:59
165,083,722
0
0
null
null
null
null
UTF-8
Python
false
false
206,375
py
# -*- coding: utf-8 -*- from linepy import * from datetime import datetime from time import sleep from bs4 import BeautifulSoup from humanfriendly import format_timespan, format_size, format_number, format_length import time, random, sys, json, codecs, threading, glob, re, string, os, requests, subprocess, six, ast, p...
[ "noreply@github.com" ]
noreply@github.com
122dc43189aa337649067dc25830b6b64f0ac0ae
a9450ebdc79425cae023da5866b3d1d9b98d6fb2
/vrchat-api-python/examples/download_friend_images.py
7fad3fbbf79c58e4658267b70c7b3d6d57f906bf
[ "MIT" ]
permissive
kugiha/twitter-vrc-status
a3c8e75dbf8dbf064c68fd19a2dbf635b7ad40f3
0016baa4a25f89497b0280a5f534f8428023c230
refs/heads/master
2020-04-21T20:28:00.795918
2019-03-14T14:22:13
2019-03-14T14:22:13
169,845,658
23
2
MIT
2019-03-14T13:42:51
2019-02-09T08:12:48
Python
UTF-8
Python
false
false
776
py
#!/usr/bin/env python3 import os from getpass import getpass import requests from vrchat_api import VRChatAPI from vrchat_api.enum import ModerationType """ Download friends' avatar thumbnails to `friend_thumbnails`. This may takes for a while if you have a lot of friends. """ DIR = "friend_thumbnails" if not os.p...
[ "46911299+kugiha@users.noreply.github.com" ]
46911299+kugiha@users.noreply.github.com
9eda3c73e40bf37ee7c3b604cc517878bcb49715
4e4f921ccc8c139bb8918d5c3dfd7fa3e3c9b686
/tcpserver.py
43f7962fee662476bd65455bdf901e39565f9664
[]
no_license
jay1499/ComputerNetworks_1BM17CS033
b503e64d5496506cde0aaa14426fc9a77699f65e
cb875fc4418fd6a9cca9b6d074fade009ddd7823
refs/heads/master
2020-07-05T13:04:41.155086
2019-11-20T06:38:42
2019-11-20T06:38:42
202,654,597
0
0
null
null
null
null
UTF-8
Python
false
false
406
py
from socket import * serverName = "10.90.2.154" serverPort = 12000 serverSocket = socket(AF_INET, SOCK_DGRAM) serverSocket.bind((serverName, serverPort)) print("The server is ready to receive ") while True: fileName, addr = serverSocket.recvfrom(1024) fileName = fileName.decode() with open(fileName, "r") as f: me...
[ "noreply@github.com" ]
noreply@github.com
bc23b9d69210017a402610181ac43e53d89e6aa2
a5a489f8a268e3d13286fa7ca000d3f26d10d263
/Basic_Stat/hypothesis_test.py
812bfd5a97f557194fda9a43b59d377e9ed321c2
[]
no_license
jusui/Data_Science
cd36e1b9d675be7b5deb98a6034ce57339f09b41
7d2ffea15532e35ea64597b3d6f53752a1d4322e
refs/heads/master
2021-09-24T06:38:55.588645
2018-10-04T14:50:08
2018-10-04T14:50:08
110,791,573
0
0
null
2018-08-04T15:44:22
2017-11-15T06:13:28
Jupyter Notebook
UTF-8
Python
false
false
33
py
# coding:utf-8 import numpy as np
[ "junya.usui.0714@gmail.com" ]
junya.usui.0714@gmail.com
b5e6c84cbadba8486d77887c8f70e02ede019cb7
0d833f0fed48955bf688b9490d29c9c83d84a1be
/web_flask/3-python_route.py
cdaf6e4cd7877b0b8a5a8c2e3d8eb392bff9a03f
[]
no_license
krytech/AirBnB_clone_v2
116403bb0df49647a3d04eaaee19838234b3123e
d7b3cf65bd2fc4deaa22efb18822f55d8b056327
refs/heads/master
2023-07-28T01:10:39.296493
2021-09-12T20:47:10
2021-09-12T20:47:10
400,201,734
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
#!/usr/bin/python3 """ Starts Flask web app """ from flask import Flask app = Flask(__name__) app.url_map.strict_slashes = False @app.route('/') def hello_hbnb(): """Displays text""" return "Hello HBNB!" @app.route('/hbnb') def hbnb(): """Displays text""" return "HBNB" @app.route('/c/<text>') def...
[ "cstearn@gmail.com" ]
cstearn@gmail.com
10981bf2173d64926fb95fca90610ff3c24eb6bd
a2780ef4728af2b6191c4b7f41e5a677d5f2c511
/py_sql/test.py
cb24f8bb7b5df2736cfdb006fb7156852392b740
[]
no_license
hcsk/python_codes
2f99f388dc38b9dd8dd6035b96ec6c34cef54cff
400a0d32290fe30735edfa2b68bf856590db779c
refs/heads/master
2021-08-15T21:33:05.021540
2017-11-18T09:33:08
2017-11-18T09:33:08
111,190,883
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
import MySQLdb # conn=MySQLdb.connect(host='localhost', # port=3306, # user='root', # passwd='' # ) conn=MySQLdb.connect( user='root', #passwd='' ) cur=conn.cursor() cur.execute("show databases") rows=cur.fetchall() for row in rows: print row cur.close() conn.commit() conn.close()
[ "hpusk365@gmail.com" ]
hpusk365@gmail.com
56a12d7b69aadf1aa29d400d196f364a7966d896
328261e74a372cdd58cb1cc7e785cb2424ab9ff7
/sibyl/protocol/sibyl_client_udp_text_protocol.py
6053acc9e1ef080ef3b98b25a3f120a21356dc5b
[]
no_license
Yousthon/Networks-Capstone-Project-C2W
aa667b4b9c5a8991dbdc47653ac091f9f1f99a85
d5bf13f0f9802d1b11f004bbd620e5c456bb3109
refs/heads/master
2020-05-17T14:27:20.487387
2019-04-27T11:37:00
2019-04-27T11:37:00
183,764,397
0
0
null
null
null
null
UTF-8
Python
false
false
3,455
py
# -*- coding: utf-8 -*- from twisted.internet.protocol import DatagramProtocol import time class SibylClientUdpTextProtocol(DatagramProtocol): """ The class implementing the Sibyl UDP text client protocol. It has the following attributes: .. attribute:: proxy The reference to the SibylCient...
[ "beyegbin-baudouin-venceslas.kouassi@imt-atlantique.net" ]
beyegbin-baudouin-venceslas.kouassi@imt-atlantique.net
470cfb5e9ae74a30f9f96b586becfb3043effda3
233f97c6f360d478bf975016dd9e9c2be4a64adb
/guvi_4_3_8.py
5474fe795104649ed224413b4b7e015287da17e6
[]
no_license
unknownboyy/GUVI
3dbd1bb2bc6b3db52f5f79491accd6c56a2dec45
d757dd473c4f5eef526a516cf64a1757eb235869
refs/heads/master
2020-03-27T00:07:12.449280
2019-03-19T12:57:03
2019-03-19T12:57:03
145,595,379
0
0
null
null
null
null
UTF-8
Python
false
false
22
py
print("guvi_4_3_8.py")
[ "ankitagrawal11b@gmail.com" ]
ankitagrawal11b@gmail.com
21837a508985ac6fd5e3b388db93f0970ced86cf
8ba7809c0bf33aad972d5ead73f720099753f158
/backend/debits/migrations/0003_auto_20180213_1228.py
c37dee7d394599767ca950dcc39fb6860d61d278
[ "BSD-3-Clause" ]
permissive
picsadotcom/maguire
acecdf91082a1ede6144c6eaebc03511e3141b89
bb15b0dd84bbc1f88e2755f342d4fb586c4634b7
refs/heads/master
2022-09-13T10:01:39.077557
2022-08-22T18:29:19
2022-08-22T18:29:19
105,751,650
2
1
BSD-3-Clause
2022-08-23T18:02:45
2017-10-04T09:31:28
Python
UTF-8
Python
false
false
820
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-02-13 12:28 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('debits', '0002_auto_20180213_1222'), ] operations = [ migrations.AddField(...
[ "noreply@github.com" ]
noreply@github.com
776dd5240d98e0308d6508abc8ced2f22df18204
a67a4df006890da2d967d9d46b4b1428431648ad
/myblog/blog/migrations/0002_comment.py
31a6963615589369c5ea21feff97df8d61617d55
[]
no_license
Gmiller290488/myBlog
cf0e2ee2ee31a08e357f9084d09522feda199ebe
0905e3d1c7a2298f00507da1807142492f93d1c1
refs/heads/master
2021-01-19T00:27:54.005198
2018-01-11T16:24:14
2018-01-11T16:24:14
87,071,412
0
0
null
null
null
null
UTF-8
Python
false
false
912
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-06 09:38 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] ...
[ "gmiller290488@gmail.com" ]
gmiller290488@gmail.com
aaf37ca02683982116ce8dcfb9b3bd8d676896d3
3e3096b4b2503697fb0ecd2942d1d9cfbfeaf787
/cutter/bayes_cutter.py
41d492516b4439ffadeacc58233812741495dd2f
[]
no_license
LuShengDong/resumeparsing
6dc8216d14db02840c210f026f2fd470447b59cb
f5aeef381c55249b245f4e989cef136a556be99c
refs/heads/master
2020-03-09T21:14:38.860145
2018-04-10T23:07:28
2018-04-10T23:07:28
129,004,247
1
1
null
null
null
null
UTF-8
Python
false
false
1,017
py
# -*- coding: utf-8 -*- from cutter.bayes import get_classifier, features_gen, cls_path import codecs import argparse import pickle def cut(lines, train=False) -> dict: struct = {} if train: classifier, _ = get_classifier() else: with open(cls_path, 'rb') as cls_f: classifier ...
[ "HandsomeDong@users.noreply.github.com" ]
HandsomeDong@users.noreply.github.com
4f1556b846bb9618ed039b87625359d300eb96e6
d85499e71af351da4e3e8ecb4fb498f954bf5b5c
/preprocessing/Twitter_Cassandra_analytics_pipeline/CassandraDriver.py
587385d51a1529e36d2b50c1b903e6b9f37d44cd
[]
no_license
KahiniWadhawan/Big-Neuron
56c3d86779e227fb0d9abab7f484ff25b25ec04b
528d8ec68058b06b710c94256bfafbd2b9ddd972
refs/heads/master
2021-01-22T01:43:49.969790
2016-04-27T20:30:28
2016-04-27T20:30:28
57,263,743
1
0
null
2016-04-28T02:21:36
2016-04-28T02:21:36
null
UTF-8
Python
false
false
849
py
''' ============================================================================ Name : CassandraDriver.py Author : Piyush Version : 1 Copyright : DS Description : API's required to connect to the Cassandra database. Create object of this class and call the __init__() method on this superclass to cre...
[ "pipa0979@colorado.edu" ]
pipa0979@colorado.edu
86d76f1d5a9dda9351779d645d022d6b41df36e7
fdfeea83edbf239230a5aee558641efdf3531724
/basic/python_Data_Structure/DataStructure/pop.py
7227d2f78a5d6c9a3eac780e81c22eee8e4c07dc
[]
no_license
jszheng/PyChild
192cdb57a9d2c87bdcb5b20c110c82521a2a02b8
02ab3959f067a246674ad29dbf7a0929babae57e
refs/heads/master
2021-05-16T03:22:00.010716
2020-07-03T14:08:16
2020-07-03T14:08:16
39,426,062
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
import timeit popzero = timeit.Timer('x.pop(0)', 'from __main__ import x') popend = timeit.Timer('x.pop()', 'from __main__ import x') # x = list(range(2000)) # # print(popzero.timeit(number=1000)) # print(popend.timeit(number=1000)) print(" pop(0) p...
[ "zyz@hotmail.com" ]
zyz@hotmail.com
50b919cd268e6cd0bb6b7b6435a97dd8db122345
e9a61b359195705a7ce7492c9a8ab3a56d276347
/12_oop/ctrl-c异常.py
a6cc92f65388e7e5599605e17790f6b7fdf6991d
[]
no_license
wovert/PythonTutorials
79ac68b173af3f2a0eceb04b302b0d05f2f6bdc3
f625b8a82975bb40f8e3d5358e7f51dd214893a4
refs/heads/master
2022-07-26T12:05:41.630423
2022-07-08T01:03:40
2022-07-08T01:03:40
127,613,862
40
16
null
null
null
null
UTF-8
Python
false
false
61
py
import time while True: print("haha") time.sleep(1)
[ "wovert@126.com" ]
wovert@126.com
441440eb137b7cf9fe50cd06eb3c1df30ee31e59
36d9e2488cd85cdd7a707b793cd80b2bc5ee07e1
/DP/[백준]11057 오르막 수.py
a839598e0477358ce78e5f97ac776a9baed3cdee
[]
no_license
rheehot/Algorithm-36
a2a2335a0bad524e9ed0c87254cc1348526f5ab3
560c0fcb4103afba1995a61755f9e3070c433e4e
refs/heads/master
2023-01-21T10:33:51.791421
2020-11-30T06:53:45
2020-11-30T06:53:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
# https://www.acmicpc.net/problem/11057 '''python 간단한 문제이다. dp[i][j]를 i길이의 j숫자가 마지막으로 오는 경우의 수라고 생각하고 풀면된다. i-1길이의 경우에서 j보다 같거나 작은 숫자가f 오는 경우를 더해주면된다.(k <= j) dp[i][j] += dp[i-1][k]의 점화식이 성립하게 된다. ''' import sys def read(): return sys.stdin.readline().strip() n = int(read()) dp = [[0 for _ in range(10)] for...
[ "wfo3977@gmail.com" ]
wfo3977@gmail.com
1b80f4522f4cc303b7c7229a8447611635a1859f
7c1de4cefad753b593872e9ae8f392f22d0965bd
/docs/source/conf.py
05d21e59b84b7deb6c5f663fafdcd078f510f63d
[ "MIT" ]
permissive
sergegoussev/pysqlc
0c0d71dc7ce33c8f146b16136f3976043e5a23f5
6a4f29d97779e1e513dab37c60c51d53eefac0eb
refs/heads/0.2-dev
2021-04-09T16:29:56.204797
2019-10-17T00:31:22
2019-10-17T00:31:22
125,658,977
1
0
MIT
2019-10-17T00:34:42
2018-03-17T18:44:48
Python
UTF-8
Python
false
false
5,471
py
# -*- coding: utf-8 -*- # # Configuration file for the Sphinx documentation builder. # # This file does only contain a selection of the most common options. For a # full list see the documentation: # http://www.sphinx-doc.org/en/master/config # -- Path setup ------------------------------------------------------------...
[ "goussev.serge@gmail.com" ]
goussev.serge@gmail.com
5d565e7d89b2cf7e44965b839844bcc6a47e0e56
ecbbc5cf8b49de00dd956386ea7cf31951aecbf8
/src/KalmanFilter.py
d0005ea5d794108215ebbe567191ff497c0fe45c
[]
no_license
connorlee77/ardrone_stateestimation
9e49339c6d916a146a709acc4adf947453c9d626
253722cf1940fd368bc10dcd90be0c0113bb4339
refs/heads/master
2021-01-10T13:13:57.845898
2016-03-18T08:53:18
2016-03-18T08:53:18
53,226,979
0
1
null
null
null
null
UTF-8
Python
false
false
1,290
py
import numpy as np import matplotlib.pyplot as plt import rospy class KalmanFilter: def __init__(self, A, P, R, Q, H, B, dimension): self.A = A self.P = P self.x_k = 0 self.kalmanGain = 0 self.R = R #constant self.Q = Q #constant self.H = H self.B = B self.dimensions = dimension def predictState...
[ "connorlee77@gmail.com" ]
connorlee77@gmail.com
29c0ecb0109c475fb98ef8b28a9127bc48b12693
83d7af883df9f83e987b6401fe9a57ec73cacac0
/dynamic_programming/CtCI_8_1_triple_step/Solution.py
7e450639436dd358480211033d3f6c5ba0ea4571
[]
no_license
chopdev/leetcode_tasks
93f3b807e3e33a2735cb9558dbe0f1b39d7c08f9
89aee5e9064e1bfe9873d26836453f0c7507bbc4
refs/heads/master
2023-08-28T04:46:01.534860
2023-08-27T08:17:15
2023-08-27T08:17:15
135,029,551
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
# Triple Step: A child is running up a staircase with n steps and can hop either 1 step, 2 steps, or 3 # steps at a time. Implement a method to count how many possible ways the child can run up the # stairs. ### IMPORTANT: you need to care about int overflow, which has a limit 2^31 - 1 # complexity of pure recursive a...
[ "taras.plavin@gmail.com" ]
taras.plavin@gmail.com
aa0a9e73022a1268c8dc56985d5d5848748aa64e
3fe272eea1c91cc5719704265eab49534176ff0d
/scripts/item/consume_2439898.py
fdc636b193089e8c5f0e75eb0dac9c8a17c50c85
[ "MIT" ]
permissive
Bratah123/v203.4
e72be4843828def05592298df44b081515b7ca68
9cd3f31fb2ef251de2c5968c75aeebae9c66d37a
refs/heads/master
2023-02-15T06:15:51.770849
2021-01-06T05:45:59
2021-01-06T05:45:59
316,366,462
1
0
MIT
2020-12-18T17:01:25
2020-11-27T00:50:26
Java
UTF-8
Python
false
false
217
py
# Created by MechAviv # Valentine Damage Skin | (2439898) if sm.addDamageSkin(2439898): sm.chat("'Valentine Damage Skin' Damage Skin has been added to your account's damage skin collection.") sm.consumeItem()
[ "pokesmurfuwu@gmail.com" ]
pokesmurfuwu@gmail.com
47131fde0464d479f5657ea59691d979ecfab11b
b13bb435d1b3e2a119ef9237bc8069e04ed4f95c
/src/algospot/Josephus.py
7462569798f1bc8f31176fa92a10b1a6f07674ba
[]
no_license
beyond-algorithms/JaeEun
ebdaa5d9f4570b9d0eb57858c71d06e80f0fa4b4
4e990215fdb053defe9a52c3db43b05f946498de
refs/heads/master
2020-03-22T17:56:17.285056
2018-10-02T18:01:35
2018-10-02T18:01:35
140,425,105
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
from src.Test import Test as T def main(): t = int(input().strip()) for _ in range(t): N, K = list(map(int, input().strip().split())) print(" ".join(list(map(str, solve(N, K))))) def solve(N, K): alive = N p = [x for x in range(N)] idx = 0 while alive > 2: p.pop(i...
[ "lette1394+github@gmail.com" ]
lette1394+github@gmail.com
b7b150a6decc3c4f7dbb7a3c6dc7588a590a4a7e
2278a6b53aa468e6d95bb1d7222d06af59b99585
/assignments/assignment-one/workers/insight_worker/setup.py
d22767b133043993518fedf5812cbd5f5a60ecb1
[ "LicenseRef-scancode-dco-1.1", "MIT" ]
permissive
ChaseWhite44/cwwtzc
f51db97e72baf3cba063b464938679b4a47065ac
0fe496c3bc1b9f15a190e47ba82deede7b875a0f
refs/heads/master
2022-12-15T12:32:25.827200
2020-05-19T03:19:55
2020-05-19T03:19:55
235,884,735
0
0
null
null
null
null
UTF-8
Python
false
false
1,233
py
import io import os import re from setuptools import find_packages from setuptools import setup def read(filename): filename = os.path.join(os.path.dirname(__file__), filename) text_type = type(u"") with io.open(filename, mode="r", encoding='utf-8') as fd: return re.sub(text_type(r':[...
[ "noreply@github.com" ]
noreply@github.com
26694f9780833902f81f8de8c55371feb6a78908
24171ea136e2ec211792d1d7644cd5c945a6df35
/test/52.py
04d1a38f0f844e2e4b3efaaac148680de7664d2b
[]
no_license
reidevries/codecoach
1329ab367dc8aa3f3dd76af0b7cbc975a7d67ccd
a6d8e3cf28a6d264b0aa6aa8a44cc315803954b2
refs/heads/master
2021-05-23T10:02:53.403344
2020-04-05T12:57:24
2020-04-05T12:57:24
253,233,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,859
py
import libtcodpy as libtcod import conf import entity import tile import map import camera class Mode(object): "Mode is an abstract class used to allow the developer to implement parts of a new Mode subclass without needing placeholder methods and fields." def __init__(self, owner): self.entities = []...
[ "raeaw@localhost.localdomain" ]
raeaw@localhost.localdomain
5e6d226ff5ed4743fee68756755e8774934afc02
69c1e3b0fcb12839c820cff744bf492546b2dbf7
/filehandling.py
ec4e81fd304928b9e3c98270367f478c2145b501
[]
no_license
260734/260734
71d844ae3032a762d8a96f3052df3a7ba4b0f844
40c02327ff82ad89d3583595913460f245f5ca77
refs/heads/master
2023-04-17T08:20:42.848803
2021-04-26T19:50:39
2021-04-26T19:50:39
359,469,206
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
f=open("e:/evening.txt", 'r') data=f.read() print(data) f.close() f=open("e:/evening.txt", 'r') lines=f.readlines() print(lines) for line in lines: print(line, end='') f.close() f=open("e:/evening.txt", 'r') line1=f.readline() print(line1) line2=f.readline() print(line2) line3=f.readline() print(line3) f.close()
[ "sanskarsinha1999@gmail.com" ]
sanskarsinha1999@gmail.com
b7e79f735e80d330e67e51a22912765914d29558
ef484abfa738d555758f6c4a99afe8afaa0057f8
/2019/test/test_day6.py
4282fccec89a1923f67e84dadc50590e0cde997e
[]
no_license
erik-hedlund/AdventOfCode
2ae2cd0a1e9176799cac75742555f1123fafa16b
c3d6f34be38d53cb5429da37591796b4137362ef
refs/heads/master
2020-09-25T16:27:38.946015
2020-01-10T10:43:36
2020-01-10T10:43:36
226,043,845
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
import day6 def fake_input_data() -> dict: input_file = ['COM)B', 'B)C', 'C)D', 'D)E', 'E)F', 'B)G', 'G)H', 'D)I', 'E)J', 'J)K', 'K)L', 'K)YOU', 'I)SAN'] orbits_map = dict() for line in input_file: key_value = line.strip().split(')') orbits_map[key_value[1]] = key_value[0] ret...
[ "erik.markus.hedlund@gmail.com" ]
erik.markus.hedlund@gmail.com
0877b42f8d0eff730ebc104cda8d3240bcaae07b
c805d53234826b0796ac20312d880d572b21d22f
/crosshair/examples/PEP316/bugs_detected/showcase.py
1d77aa1c5e77f47cc3273e0739fec834568d309c
[ "MIT" ]
permissive
JinghanCode/Crosshair-Hypothesis
3f1d1bf4d49506521ff0f94fc08c1cd4316aa295
cbad2586fb797b2fa2326e5a9f550c6d56810f2e
refs/heads/master
2023-04-30T22:09:16.683040
2021-05-03T02:28:24
2021-05-03T02:28:24
347,983,946
0
0
null
null
null
null
UTF-8
Python
false
false
1,009
py
from typing import Sequence, Dict, TypeVar, List, Tuple, Callable T = TypeVar("T") def list_to_dict(s: Sequence[T]) -> Dict[T, T]: """ post: len(__return__) == len(s) # False; CrossHair finds a counterexample with duplicate values in the input. """ return dict(zip(s, s)) def consecutive_pairs(x...
[ "noreply@github.com" ]
noreply@github.com
0e1a4fcb7ffab78f777f35a211da27a75bddde83
637bc1e67be832b40e1b478b71aa053a6cbf4f00
/ecommerce/addresses/migrations/0001_initial.py
d06dc113df13b62387aec33c6ab4ca7fdddcf17b
[]
no_license
shohag000/e-commerce
0d96368b4244ac52fbea66d11593513e4ea25734
ab32c07f36b7cc742be4def2fc70500b1a7ca50f
refs/heads/master
2020-04-22T23:06:07.402629
2019-02-14T17:31:54
2019-02-14T17:31:54
170,729,461
0
0
null
null
null
null
UTF-8
Python
false
false
1,203
py
# Generated by Django 2.0.5 on 2019-02-06 05:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('billing', '0002_auto_20190204_1314'), ] operations = [ migrations.CreateModel( ...
[ "mrshohagislam@yahoo.com" ]
mrshohagislam@yahoo.com
d1fb9c3f72c4b54a1b092716c302151a59831956
22169449dc27ae9f4f64340b4aa9819b355daac4
/browser/migrations/0035_auto_20170107_0636.py
7767a2f20a4814a7ed2e443485debfcf25b40bf2
[ "MIT" ]
permissive
MRCIEU/melodi
7382a5584fdc1420744eb5a1d3a75016fdc6a189
876c9f5222f3d46cedfdcdbb6c091ec5d559a490
refs/heads/master
2021-07-07T06:44:15.542037
2021-06-10T21:36:27
2021-06-10T21:36:27
84,560,238
6
3
null
null
null
null
UTF-8
Python
false
false
567
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('browser', '0034_auto_20161216_0811'), ] operations = [ #migrations.AddField( # model_name='compare', # ...
[ "be15516@bristol.ac.uk" ]
be15516@bristol.ac.uk
682039f30aaa220caa90f937bbaf5bd7075dd986
fad752f7e4ae9c9fae7a472634a712249fb6f83f
/sato/cli.py
9697a09e053b96555f2b63cdabb75bc724fcc61c
[ "Apache-2.0" ]
permissive
VIDA-NYU/sato
895da0de833681335ec5122c4487555d2285f351
8fb51787b36114df13f54c1acd11df12a66ad3e4
refs/heads/master
2021-07-13T16:55:53.621521
2020-11-26T01:01:07
2020-11-26T01:01:07
225,955,500
0
0
Apache-2.0
2019-12-04T20:56:16
2019-12-04T20:56:15
null
UTF-8
Python
false
false
2,252
py
import click import pandas as pd from sato.predict import evaluate @click.command('predict') @click.option( '-n', '--count', default=1000, help='Sample size' ) @click.argument( 'src', nargs=-1, type=click.Path(file_okay=True, dir_okay=False, exists=True) ) def run_predict(count, src): """...
[ "heiko.muller@gmail.com" ]
heiko.muller@gmail.com
552428aca5f47dea4152ffc96235d45c2afd1431
57e88a8f99a19ab862c646ecd863e9327f7630c6
/Algo/InterviewBit/colorful-number.py
c18692e9f6587c11112a547184ce308f6fe402f1
[]
no_license
ayushgoel/PythonScripts
a1b7983f36160d85e4cfe8f28ddbc1d202a2bbd0
65817a31f3081f860bab79cee4acfbe40f964fed
refs/heads/master
2021-06-07T06:44:29.493175
2020-05-29T06:01:37
2020-05-29T06:01:37
3,824,558
0
1
null
null
null
null
UTF-8
Python
false
false
698
py
# https://www.interviewbit.com/problems/colorful-number/ class Solution: # @param A : integer # @return an integer def colorful(self, a): stra = str(a) all_products = set() for l in xrange(1, len(stra)+1): # print(l) for i in xrange(len(stra)-l+1): ...
[ "ayushgoel111@gmail.com" ]
ayushgoel111@gmail.com
861e5551a2470099b1e93fb1307fa9a1827e5f14
f891b3538555b2f56ea3c1d5f374429e436b7406
/bj1343.py
ea570fd7239dc18968c7fbb4cf8f262d0bebb930
[]
no_license
PulseRoot/Baekjoon_Tier_Silver
0b5f1c6384563b19f7739bdf60cb27b9f546ff37
ab31de91a4ecb1aa7ef425d8a8f3013cdebfcaab
refs/heads/master
2023-08-16T20:03:13.055627
2021-09-25T17:30:47
2021-09-25T17:30:47
402,993,467
1
0
null
null
null
null
UTF-8
Python
false
false
669
py
#폴리오미노 x = input() #X와 . 입력 y = "" chk = 0 while(True): if len(x) == 0: break if len(x) == 1: chk = -1 print(chk) break if x[0] == ".": while(x[0] == "."): x = x[1:] y = y + "." if x[0:2] == "XX": if x[0:4] == "X...
[ "noreply@github.com" ]
noreply@github.com
acc0cbbbbef590f361a5a6744807f18458d0e078
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/130/usersdata/228/34476/submittedfiles/al8.py
99d23561646b83280774cd80f4ab4ad83803ccaf
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
# -*- coding: utf-8 -*- n=int(input('digite um valor:') nfat=1 for i in range(2,n+1): nfat=nfat+i print(nfat)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8bb467d7c526fcb224daf9d8607a15ba948076b6
06cdb84cd4ff12f9734194eae794bc6381c36bc6
/ModuleSystem/ID_mission_templates.py
d27e9f5afc8155443669ce08e1f1fe8d93272f5f
[]
no_license
khamukkamu/HYW-1.66-Kham
25d2a0a5786221af3414174756334af6878198ac
586ae7bd37fb52ee09fa8081cc520dc36a711fa7
refs/heads/master
2021-08-16T02:10:07.565299
2018-03-03T19:43:04
2018-03-03T19:43:04
115,287,214
2
0
null
null
null
null
UTF-8
Python
false
false
4,102
py
mt_town_default = 0 mt_conversation_encounter = 1 mt_town_center = 2 mt_village_center = 3 mt_bandits_at_night = 4 mt_village_training = 5 mt_visit_town_castle = 6 mt_back_alley_kill_local_merchant = 7 mt_back_alley_revolt = 8 mt_lead_charge = 9 mt_village_attack_bandits = 10 mt_village_raid = 11 mt_besiege_inner_battl...
[ "kham0214@gmail.com" ]
kham0214@gmail.com
0c9b7cc93bca5fbfdde30478125a1eab317ecbb9
098507ab558c1a22479bbc13902906760dd7f25e
/logtoes/utils/api_utils.py
b487d61750fcad919f1dad74675eb24455b743f4
[ "MIT" ]
permissive
adhorn/logtoes
0800b56d1a6b9c321ffd1800d9d7550f62a958c5
41f6029e928cb5cdd2753e9c42e67fd1e56f5259
refs/heads/master
2023-02-22T10:01:49.110772
2022-04-13T17:39:43
2022-04-13T17:39:43
92,207,489
48
5
MIT
2023-02-15T21:34:32
2017-05-23T18:41:14
Python
UTF-8
Python
false
false
4,361
py
from flask import current_app, g, request, jsonify from functools import wraps import json from datetime import datetime from logtoes.celery import tasks def api_error_response(code=404, message="Resource not found", errors=list()): response = jsonify( dict(code=code, message=message, errors=errors, succe...
[ "adhorn@amazon.com" ]
adhorn@amazon.com
8e9f1d89a0a10175a73f79346baaea3a012c4479
3a5ea75a5039207104fd478fb69ac4664c3c3a46
/vega/algorithms/nas/modnas/estim/dist_backend/base.py
1725fd222057fa4b91024747947592087e159828
[ "MIT" ]
permissive
fmsnew/vega
e3df25efa6af46073c441f41da4f2fdc4929fec5
8e0af84a57eca5745fe2db3d13075393838036bb
refs/heads/master
2023-06-10T04:47:11.661814
2021-06-26T07:45:30
2021-06-26T07:45:30
285,174,199
0
0
MIT
2020-08-11T14:19:09
2020-08-05T03:59:49
Python
UTF-8
Python
false
false
1,712
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 ...
[ "zhangjiajin@huawei.com" ]
zhangjiajin@huawei.com
dd7a3ac6d291dc2db98817190f8813c458576953
66dd570bf5945dcbd183ed3c0cf897c0359cbccd
/python/python语法/pyexercise/Exercise03_09.py
4560a8df9de30b98aa5d9640c98b118b4dc4a3be
[]
no_license
SamJ2018/LeetCode
302cc97626220521c8847d30b99858e63fa509f3
784bd0b1491050bbd80f5a0e2420467b63152d8f
refs/heads/master
2021-06-19T10:30:37.381542
2021-02-06T16:15:01
2021-02-06T16:15:01
178,962,481
0
0
null
null
null
null
UTF-8
Python
false
false
1,206
py
# Obtain input name = input("Enter employee's name: ") hours = eval(input("Enter number of hours worked in a week: ")) payRate = eval(input("Enter hourly pay rate: ")) fedTaxWithholdingRate = eval(input("Enter federal tax withholding rate: ")) stateTaxWithholdingRate = eval(input("Enter state tax withholding rate: "))...
[ "juksam@centos7.localdomain" ]
juksam@centos7.localdomain
f531d8e47a46f16095ff0a4522cfedaf5eca3518
b8688a6c1824335808182768c3349624722abba6
/uamqp/constants.py
987bcaef27fd21d840f5b9e8ca36ca97fd73228c
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
gdooper/azure-uamqp-python
65d64e19190921c16cc65947ddcb01f686cd4277
8a71c86c7598b439afea28f216a97437b3ebaaed
refs/heads/master
2020-03-30T00:33:55.710726
2018-05-29T16:06:34
2018-05-29T16:06:34
150,530,862
0
0
MIT
2018-09-27T04:57:31
2018-09-27T04:57:31
null
UTF-8
Python
false
false
3,876
py
#------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #-------------------------------------------------------------------------- from enum i...
[ "antisch@microsoft.com" ]
antisch@microsoft.com
ffaac00428876e73eba0463a424ba4b297b64fa1
f29491639e1f68426657063614fd7a161ea2977f
/urlshorter.py
3d141786e6dbc2cbc9aad0dfa64db42992d7f892
[]
no_license
zillion45/soruto
8bd3c6e358dbfbed2b600cb89b3bad54a68815f2
243abf78c15451acd892afaab8e531e6c6fe94e6
refs/heads/master
2021-01-20T20:35:44.858391
2016-08-03T04:22:51
2016-08-03T04:22:51
64,813,979
1
0
null
null
null
null
UTF-8
Python
false
false
1,962
py
# -*- coding: utf-8 -*- import os import string import random from datetime import datetime from urlparse import urlparse from flask import Flask, request, render_template, redirect, abort from flask.ext.sqlalchemy import SQLAlchemy basedir = os.path.abspath(os.path.dirname(__file__)) app = Flask(__name__) app.conf...
[ "chungwing45@gmail.com" ]
chungwing45@gmail.com
d41c69e29c794cbabb1c2e1f208a21b4bf0f2f48
0e8b6f94467c25dd2440f7e2ea1519244e689620
/MarlinJobs/CalibrationConfigFiles/Stage27Config_5x5_30x30.py
3435a6f9a3f6a73455fa0470d23dcbb790425599
[]
no_license
StevenGreen1/HighEnergyPhotonAnalysis
97a661eaca2efd00472f1969855c724c9d505369
8a82ac57f56aad5bdbe99d4a5afb771592bc1725
refs/heads/master
2021-01-10T14:08:50.550184
2015-10-12T12:43:47
2015-10-12T12:43:47
43,491,318
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Calibration config file for testing # Digitisation Constants - ECal CalibrECal = 42.4326603502 # Digitisation Constants ILDCaloDigi - HCal CalibrHCalBarrel = 49.057884929 CalibrHCalEndcap = 54.1136311832 CalibrHCalOther = 29.2180288685 # Digitisation Constants NewLDCCaloDigi - HCal CalibrHCal = -1 # Digitisation ...
[ "sg1sg2sg3@hotmail.co.uk" ]
sg1sg2sg3@hotmail.co.uk
91778635956550f14274b5f9b0e965db80fabb91
6874a3d16c941c897e245f0c2fc8d9db8442e770
/app.py
20d78d0de78564608a58c69de2a7f4be4358533f
[]
no_license
Kully/minty-budget-tool
fc91beac6ff96d238c4b5fe1091ae1a76b358d83
e91b12e6be912f3e851a6b64e0a7268334375785
refs/heads/master
2023-03-23T07:37:20.014156
2021-03-18T23:06:57
2021-03-18T23:06:57
308,640,343
0
1
null
null
null
null
UTF-8
Python
false
false
26,416
py
import calendar import datetime import json import os import random import dash import dash_auth import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html import dash_table import flask import plotly import plotly.express as px import plotly.graph_objs as go import ...
[ "adam@plot.ly" ]
adam@plot.ly
b61e50e76ad27bc63647d402ed7b18c3b7bc2aae
9d1701a88644663277342f3a12d9795cd55a259c
/CSC148/07 Sorting/runtime.py
6d1020dee852cd090d7eccdd33874dd33c64eccf
[]
no_license
xxcocoymlxx/Study-Notes
cb05c0e438b0c47b069d6a4c30dd13ab97e4ee6d
c7437d387dc2b9a8039c60d8786373899c2e28bd
refs/heads/master
2023-01-13T06:09:11.005038
2020-05-19T19:37:45
2020-05-19T19:37:45
252,774,764
2
0
null
2022-12-22T15:29:26
2020-04-03T15:44:44
Jupyter Notebook
UTF-8
Python
false
false
3,989
py
VIDEO: https://www.youtube.com/watch?v=6Ol2JbwoJp0 NOTES ON THE PDF: def max_segment_sum(L): '''(list of int) -> int Return maximum segment sum of L. ''' max_so_far = 0 for lower in range(len(L)): for upper in range(lower, len(L)): sum = 0 for i in range(lower, upper + 1): sum = sum +...
[ "coco.yang@mail.utoronto.ca" ]
coco.yang@mail.utoronto.ca
99902ea2cb3fb0f1373b24bf541e6e72fe9a3f51
cd644d9ce7a135ab2ee5d08e35ca73b511a755a7
/mylist/urls.py
ac2e42260451c9d8cd7c559d9166a20ecfe81c0d
[]
no_license
Arunthogadiya/Todo-App
09e08bca4d94ad85f6c6e2bffec126d0ef599e72
bde30977b2e3db030acd0dfdefda37c08f57063e
refs/heads/main
2022-12-28T10:14:39.685985
2020-10-16T18:10:59
2020-10-16T18:10:59
304,684,710
1
0
null
null
null
null
UTF-8
Python
false
false
796
py
"""mylist URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "arun.p@qburst.com" ]
arun.p@qburst.com
f0145bbece8a0f9e0a268f8609882696ed918bea
9c74e5acc22fef0ff254023b0c90951ce083f171
/tests/categorical_ensembling_test.py
313767f6fce372ce9a5ef394d683123426e85c77
[ "MIT" ]
permissive
PartTimeHackerman/auto_ml
067bfbfcf9fe5ca28e310def6d80cefaca6a53bc
e36c77ae443c5427581df837227a6955b1bf3663
refs/heads/master
2021-06-25T03:23:43.833193
2017-08-16T15:20:41
2017-08-16T15:20:41
100,502,812
0
0
null
2017-08-16T15:13:44
2017-08-16T15:13:44
null
UTF-8
Python
false
false
1,129
py
import os import sys sys.path = [os.path.abspath(os.path.dirname(__file__))] + sys.path from auto_ml import Predictor import dill import numpy as np from nose.tools import assert_equal, assert_not_equal, with_setup from sklearn.metrics import accuracy_score from sklearn.model_selection import train_test_split import...
[ "ClimbsBytes@gmail.com" ]
ClimbsBytes@gmail.com
ce73ac5a7f8fe78357fc9d5d06043b38d25f2d9f
395f1d1d4dbb5816708a346821a984a06d76f815
/untitled0.py
dfe550d38c43e80f094631f0d543c059557db314
[]
no_license
maxsorokin9/2
cc1245de81a797fb4673ba0a4b1be0be3f1feebc
5fced3478a21997d600dff9f63e3669e980607cc
refs/heads/master
2022-04-12T15:33:51.970004
2020-03-26T09:41:32
2020-03-26T09:41:32
250,214,643
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
import arcade import os SPRITE_SCALING = 0.5 SCREEN_WIDTH = 800 SCREEN_HEIGHT = 800 SCREEN_TITLE = "Swimming" class Player(arcade.Sprite): def update(self): self.center_x += self.change_x self.center_y += self.change_y if self.left < 0: self.left = 0 elif self.right > SC...
[ "maxsorokin9@gmail.com" ]
maxsorokin9@gmail.com
6ffe2a06880751514bb23ef6b2258b10f8257c43
14d7f5f83b6f84871ff6ebfa0af4c17b7115a33f
/remote_sensing/MODIS_data_test_v3.py
1f15cb363abab3ce4c3e8caedc88d88198bb5e8d
[]
no_license
tonychangmsu/Python_Scripts
8ca7bc841c94dcab36743bce190357ac2b1698a5
036f498b1fc68953d90aac15f0a5ea2f2f72423b
refs/heads/master
2016-09-11T14:32:17.133399
2016-03-28T16:34:40
2016-03-28T16:34:40
10,370,475
2
0
null
null
null
null
UTF-8
Python
false
false
3,468
py
#Title: MODIS_data_test.py #Author: Tony Chang #Abstract: Test for opening MODIS data and examining the various bands #Creation Date: 04/14/2015 #Modified Dates: 01/20/2016, 01/26/2016, 01/28/2016, 01/29/2016, 02/01/2016 #local directory : K:\\NASA_data\\scripts import numpy as np import matplotlib.pyplot as plt impo...
[ "tony.chang@msu.montana.edu" ]
tony.chang@msu.montana.edu
9c8f2cb092f1eb626c5a5d3c2f242154ab5beb58
607c9dab45c75d2168883120e65e5002f3b7ec9e
/article/views.py
1f624919b81d2e95376b00e866d97a035df31960
[]
no_license
SaltFishGuy/Django-blog
dee906473f622e72e941bb393a2fa51a2f7ab74d
6ade95cd0f9040737c4a081af832d5e3ec19f85a
refs/heads/master
2020-06-02T10:53:22.687508
2019-06-10T11:57:44
2019-06-10T11:57:44
191,132,233
0
0
null
null
null
null
UTF-8
Python
false
false
6,622
py
from django.shortcuts import render from django.http import HttpResponse from django.contrib.auth.decorators import login_required from django.views.decorators.csrf import csrf_exempt from .forms import * from django.views.decorators.http import require_POST from .models import * from django.shortcuts import get_objec...
[ "907799074@qq.com" ]
907799074@qq.com
3dd1f2de546b127f150b7cd27a8484e13f04f2e2
08d0df51ed31e4ec3d867493b7cff8d6b59a7d3e
/Assignment 5/calculator.py
f215a387307fde94e6b37fbf060338ca02ef3e58
[]
no_license
hasongtran/Programming-for-Cog-Sci
0e5e7325ed49bfbc5d1c41008ce7842cdab7cafe
9f67ca08a19b8f42aba015b24e0822769433fa3e
refs/heads/master
2021-08-17T06:25:35.711503
2017-11-20T21:22:13
2017-11-20T21:22:13
111,462,472
0
0
null
null
null
null
UTF-8
Python
false
false
1,257
py
history = [] def add(a, b): try: answer = float(a) + float(b) output = str(a) + ' + ' + str(b) + ' = ' + str(answer) print(output) history.append(output) except TypeError: print('ERROR') def sub(a, b): try: answer = float(a) - float(b) output = str...
[ "noreply@github.com" ]
noreply@github.com
e3ede7d4acdd774e7b8621e60be2e1b12dc0f0e1
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02845/s251805975.py
a8e1b9dedbc87deeb6d7dd5ca8fac2fa7aa26e80
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
import sys readline = sys.stdin.readline MOD = 10 ** 9 + 7 INF = float('INF') sys.setrecursionlimit(10 ** 5) def main(): n = int(readline()) a = list(map(int, readline().split())) cnt = [0] * 3 ans = 1 for x in a: p = cnt.count(x) if p == 0: return print(0) a...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a71c788c6e3384c8e52aa42ae232c8d33676cace
102e4b64a0c7bb415235437f1886c7261448bab8
/SelectiveMemory/QasFeature/HalfCheetah_SMQ_V1.py
6da255cd764adf55919697173b7dbc1b4e4faba7
[ "MIT" ]
permissive
ProGamerCode/FitML
944db5c78567bab69a2470789f06803e6115b873
3b44160bbf6c0587b8df198d3ceef10a42e2bfca
refs/heads/master
2022-05-01T23:18:09.883873
2018-02-13T15:13:45
2018-02-13T15:13:45
121,414,499
0
0
MIT
2022-03-04T08:58:55
2018-02-13T17:42:20
Python
UTF-8
Python
false
false
16,568
py
''' Half Cheetah with Selective memory and Q as feature solution by Michel Aka author of FitML github blog and repository https://github.com/FitMachineLearning/FitML/ https://www.youtube.com/channel/UCi7_WxajoowBl4_9P0DhzzA/featured Update Flat 4K network 200 random action generated every step (most significant improv...
[ "noreply@github.com" ]
noreply@github.com
5489ca8b0d85c922b29d4ecdf85dbb5710f999e4
1341f16b53f6630b52096ecdb2e9e21b2deff1e8
/A2Part2.py
d2341f41e99ec4a096ddf4f188e1cbc132d608cd
[]
no_license
edufire/ASMA
2209d42780008e43f7c4efc93d281b5058c6e44c
79071efbcd427f394342a7c6c6f00f765d5a930f
refs/heads/master
2020-05-23T08:14:30.206578
2016-11-08T19:29:40
2016-11-08T19:29:40
70,271,112
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
import numpy as np """ A2-Part-2: Generate a complex sinusoid Write a function to generate the complex sinusoid that is used in DFT computation of length N (samples), corresponding to the frequency index k. Note that the complex sinusoid used in DFT computation has a negative sign in the exponential function. The...
[ "noreply@github.com" ]
noreply@github.com
491947913e74f4724ae182463fead075a1427afc
c356e123abdc3260244328004ea4ffd00155def6
/test_3.py
035ded0e6a2ef065c46caf1e3f9c4d51a1ef4cb4
[]
no_license
choice4/WNN-WN
83cdcebcc17afb71778850c99ca7ce0193ef0e9e
a8dd80d69aed9ea4ef3b691c7e0b11b192931a4d
refs/heads/master
2021-08-14T10:33:49.297253
2014-06-23T00:01:57
2014-06-23T00:01:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
__author__ = 'martslaaf' import numpy as np from matplotlib.pyplot import plot, show from wavenet import wavelon_class_constructor, trainer inp_1 = map(lambda x: float(x), open('/home/martslaaf/Pictures/old_data/nonlinear_xor_1.csv').readlines()) inp_2 = map(lambda x: float(x), open('/home/martslaaf/Pictures/old_data/...
[ "mart.slaaf@gmail.com" ]
mart.slaaf@gmail.com
79419f0a0da2a49550aaafc59411b25fe4318638
dfb751689d07e708b3c2b023844202f7bf600cef
/utils/file_utils.py
c88d3d81b6709db2522e36fb952d3085c136bff5
[]
no_license
bewakes/nepali-nlp
75ff3e21ca953d4e3ed82eee0798b808853e53a7
8f04e8ae775239dfa5bf8060652ec84c78d54333
refs/heads/master
2023-04-18T15:56:00.495830
2021-05-04T08:10:47
2021-05-04T08:10:47
353,330,836
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
import os from typing import List def get_files_recursively(directory: str) -> List[str]: files = [] dirs = os.listdir(directory) for d in dirs: path = os.path.join(directory, d) if os.path.isfile(path): files.append(path) else: files.extend(get_files_recurs...
[ "bewakepandey@gmail.com" ]
bewakepandey@gmail.com
6c88d27d3b37ee3630d08d1654d8b7b2c1a7f640
dce7ca1ebab403bf7c23b77368ee26a2dd4475b6
/tests/test_cos.py
cd57475224ee19e74c5d9fa421f172e8a7f9fb4b
[]
no_license
qcymkxyc/Graduate
3b7e89b3f44141d9fd011c15690f902674a9e979
2afedacaaa3a0f4d9bbc13596d967ec8808d43d6
refs/heads/master
2022-12-10T12:32:37.326653
2018-11-10T07:49:13
2018-11-10T07:49:16
148,103,320
0
0
null
2022-12-08T01:14:09
2018-09-10T05:25:40
Python
UTF-8
Python
false
false
317
py
import unittest from app.util import cos class COSTestCase(unittest.TestCase): """ 腾讯云测试 """ def test_cos_upload(self): """ 腾讯云cos上传测试 """ cos.upload_binary_file(b"abcde","login_success.txt") if __name__ == '__main__': unittest.main()
[ "qcymkxyc@163.com" ]
qcymkxyc@163.com
092a0ae392c057bc745c1f605e8e6f13ef2924b6
e2ef3afe3850ae34f531d9f38991e554bdc1ea4d
/github_messages/tasks.py
1ce2175244adff2ea0c0b131f90b8dd00746094a
[]
no_license
ggarcia24/github_webhook
6fa00a4d7200f1f3fe9751bcd61e1ec19599e742
6fd03a569a6965ac42a0fb2d38043b005c8c2179
refs/heads/master
2021-08-24T12:06:23.029673
2017-12-09T17:55:48
2017-12-09T17:56:01
113,678,688
0
0
null
null
null
null
UTF-8
Python
false
false
4,024
py
import fnmatch import json from celery.schedules import crontab from celery.task import PeriodicTask from celery.utils.log import get_task_logger from django.conf import settings from github import Github, UnknownObjectException from .models import WebhookTransaction, PullRequestTransactionResult, RepositoryFilePatte...
[ "gonzalogarcia243@gmail.com" ]
gonzalogarcia243@gmail.com
072c6f86614407a9f19390e8d587f7145de910b7
e77b842a09ed035a04f4ce5b304426c0b64b6685
/tests.py
f6fa14c97bbd822585238be645f9dc041786b657
[ "MIT" ]
permissive
kyduff/DICE-models
cb38e4bd88d9c20ae3a131534479a96f7e18f11f
03117c088ef79373d96d334c405e1be8668d0f5a
refs/heads/master
2023-05-02T16:10:48.728227
2021-05-19T18:59:11
2021-05-19T18:59:11
361,970,491
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
#!/usr/bin/env python import timeit import numpy as np from specs import ModelSpec import simulator def time_test(): N = 100 test_input = np.array([0.5] + [0.5]*100 + [0.5]*100) mspec = ModelSpec() return timeit.Timer(lambda: simulator.objective(test_input, mspec)).autorange() if __name__ == '_...
[ "eaglemankyle@gmail.com" ]
eaglemankyle@gmail.com
a8bcb9815507277dea6806401e1cd7f1e5c101bd
21122067487a8147ac20f638d528d9538676aa2c
/mul of sparse matrix.py
ccf198e324d79fd405458edf37ca9d81f8874253
[]
no_license
puraharreddy/dsp-lab
6f476aafb80af0c2cd849c121b17a967afa5862b
8b7bc5ac77f3e2ecb9109e126b75f4b4be46a19a
refs/heads/master
2023-02-01T21:11:29.017911
2020-12-15T04:47:11
2020-12-15T04:47:11
290,115,829
0
0
null
null
null
null
UTF-8
Python
false
false
2,082
py
# -*- coding: utf-8 -*- """ Created on Mon Sep 21 21:22:04 2020 @author: sonyy """ #purahar reddy-22 , b-13 #Program to multiply sparse matrix def sparse_matrix(a): sm = [] row = len(a) # Number of Rows # Number of columns col = len(a[0]) # Finding the non zero elements fo...
[ "noreply@github.com" ]
noreply@github.com
6291a6042041500296cbde2708740f0bf984e374
0bb3bc8eea74d316377bb1f88a8600162d83d98a
/test_demo/dianping_food_top100.py
ddf32f2ecd1973f9a3ea2ec62336876b0d284b9a
[]
no_license
WangYongjun1990/spider
10a1f03c26a083b8a1b5e25a9180f69d50994d73
f13d756790a19d1465624f6c8b1f0ecb87870f51
refs/heads/master
2020-03-08T09:16:08.748865
2018-04-16T01:54:26
2018-04-16T01:54:26
128,042,969
1
0
null
null
null
null
UTF-8
Python
false
false
1,030
py
# -*- coding:utf-8 -*- """ File Name: `test_dianping_top100`.py Version: Description: 爬取南京评价最高的100家餐厅信息,对应网页 http://www.dianping.com/shoplist/search/5_10_0_score Author: wangyongjun Date: 2018/4/13 11:45 """ import requests headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (...
[ "yongjun.wang@mi-me.com" ]
yongjun.wang@mi-me.com
16bb47f355f41366748376cc038a1bb95047c919
3b7921faee071629d3cc961f7a14cdc2af02c1df
/leecode/code/238/238.py
7d52a9edbc2e0bd8227bc9f5c6176ac36a48a00a
[]
no_license
Xiaoboshi/Brush-Problem
6626c503bdc4924d9a2c7d161e4a40907d415458
8bb5f46566aed5deace8d438e41e0b1142b26bb3
refs/heads/master
2023-02-26T19:57:40.578981
2021-02-02T07:57:02
2021-02-02T07:57:02
213,524,588
1
0
null
null
null
null
UTF-8
Python
false
false
401
py
class Solution: def productExceptSelf(self, nums: List[int]) -> List[int]: n = len(nums) rec = [1] * n rec2 = [1] * n temp = 1 for i in range(1, n): rec[i] = nums[i - 1] * rec[i - 1] rec[n - 1] *= temp for i in range(n - 2, -1, -1): ...
[ "35205994+Xiaoboshi@users.noreply.github.com" ]
35205994+Xiaoboshi@users.noreply.github.com
8eff0f0a7ccda0cc6e4779d87cd907c9f72549f8
f04fb8bb48e38f14a25f1efec4d30be20d62388c
/哈希表/204. 计数质数.py
2bd3e79467b7525a3d7e1a7e82f4074be703fff9
[]
no_license
SimmonsChen/LeetCode
d8ef5a8e29f770da1e97d295d7123780dd37e914
690b685048c8e89d26047b6bc48b5f9af7d59cbb
refs/heads/master
2023-09-03T01:16:52.828520
2021-11-19T06:37:19
2021-11-19T06:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
""" 统计所有小于非负整数 n 的质数的数量。 示例 1: 输入:n = 10 输出:4 解释:小于 10 的质数一共有 4 个, 它们是 2, 3, 5, 7 。 """ from math import sqrt class Solution(object): # 题意是统计[2, n] 中质数的个数 def countPrimes(self, n): """ :type n: int :rtype: int """ if n < 2: return 0 # 初始化标记数组,假设都...
[ "15097686925@163.com" ]
15097686925@163.com
46feca2c0d907b3ec236df10ab5ca16b6d0a071e
3b648cd035b7fa5891a272b316507754596b0e77
/code/reddit-analyzer.py
ac7222633f9cbd89f3e83512c9c8b9621b97ba0e
[]
no_license
andrewjoliver/PrezApprovalRatingsReddit
9e514881805d6718189b01a8c22e4d8d2183feb6
d5bc4090006ff9b231358788cf757ea1d74927c9
refs/heads/master
2020-06-12T03:58:16.150134
2019-06-28T01:52:53
2019-06-28T01:52:53
194,188,233
2
0
null
null
null
null
UTF-8
Python
false
false
3,653
py
import csv import re from textblob import TextBlob import time import numpy def clean(comment): return ' '.join(re.sub("(@[A-Za-z0-9]+)|([^0-9A-Za-z \t])|(\w+:\/\/\S+)", " ", comment).split()) def analyze(file_loc, write_loc, first): if first: with open(write_loc, 'a') as file: file.writ...
[ "ajo14@duke.edu" ]
ajo14@duke.edu
d20be627a406e2379a3cd53a20a70ac4b5852db4
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/01_netCDF_extraction/merra902Combine/284-tideGauge.py
255f5e1573a5a697bd3fef71c7b6f3022772b778
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:28:00 2020 -------------------------------------------- Load predictors for each TG and combine them -------------------------------------------- @author: Michael Tadesse """ import os import pandas as pd #define directories # dir_name = 'F:\\01_erainterim\\01_er...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com
328d2e6ecbb728b5834653aefb0dd9fa449653ed
69445bf0d5bcaf970a1255dfea5fd80824f37486
/kolory.py
37d29f9e55160b9705398d5d73c9cb3939825999
[]
no_license
jedrzejasgard/wersje_kolorystyczne_produktu-IDVendo
e4ddeb968bbc035dd46b2614f2e6b1b1286ddb51
ba168286065bc0eb0babf018636dd3eec0bb1687
refs/heads/master
2023-03-07T03:08:45.492549
2021-02-23T12:13:51
2021-02-23T12:13:51
341,543,462
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
import json from vendoasg.vendoasg import Vendo import configparser config = configparser.ConfigParser() config.read('vendo.ini') # połączenie z bazą vendo vendoApi = Vendo(config.get('vendo','vendo_API_port')) vendoApi.logInApi(config.get('vendo','logInApi_user'),config.get('vendo','logInApi_pass')) vendoApi.loginUse...
[ "j.pawlewski@asgard.gifts" ]
j.pawlewski@asgard.gifts
c6ae34b2b23ff9afcccd235018498cdb235efb99
6f0e74cdc81f78ffc5dbc1b2db1cef8cbec950c4
/aws_interface/cloud/logic/delete_function_test.py
7a62e2c7c9241aa10726b393c1fa616aa7aa066f
[ "Apache-2.0" ]
permissive
hubaimaster/aws-interface
125b3a362582b004a16ccd5743d7bdff69777db5
5823a4b45ffb3f7b59567057855ef7b5c4c4308d
refs/heads/master
2023-01-19T15:43:38.352149
2023-01-12T01:38:00
2023-01-12T01:38:00
149,847,881
57
10
Apache-2.0
2023-01-12T01:39:49
2018-09-22T05:17:43
JavaScript
UTF-8
Python
false
false
742
py
from cloud.permission import Permission, NeedPermission # Define the input output format of the function. # This information is used when creating the *SDK*. info = { 'input_format': { 'test_name': 'str', }, 'output_format': { 'success': 'bool', } } @NeedPermission(Permission.Run.Log...
[ "hubaimaster@gmail.com" ]
hubaimaster@gmail.com
5833e03ed33a8ec7549369840b1fa07513ad8d85
4cb40963ebc95a9e4cdd5725ac4ae882594a363d
/tests/influence/_core/test_tracin_self_influence.py
0f327ce3fbc6230024bf4d2190c00f2750105f8c
[ "BSD-3-Clause" ]
permissive
NarineK/captum-1
59592277aed8c97dd8effed4af953676381d50c8
a08883f1ba3abc96ace06b11883893419b187d09
refs/heads/master
2022-12-23T22:39:50.502939
2022-08-01T16:30:43
2022-08-01T16:30:43
215,140,394
1
0
null
2019-10-14T20:36:19
2019-10-14T20:36:19
null
UTF-8
Python
false
false
5,906
py
import tempfile from typing import Callable import torch import torch.nn as nn from captum.influence._core.tracincp import TracInCP from captum.influence._core.tracincp_fast_rand_proj import TracInCPFast from parameterized import parameterized from tests.helpers.basic import assertTensorAlmostEqual, BaseTest from test...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
5a330fdb062c17741917dde0a09cea4036d78dfb
73420826d939e43646345967e0b37f2a57ee8280
/learning_log/settings.py
ea588cd022ac42063cf062359035ed7c51fa80b6
[]
no_license
BearNeverWA/learning_log
8a34263e02e36f76291b83edeebfa9a3e85e8936
19f5ef5990775acb62cc912d31da8800731ebf48
refs/heads/master
2021-08-22T21:18:32.284435
2017-12-01T09:42:46
2017-12-01T09:42:46
112,708,534
0
0
null
null
null
null
UTF-8
Python
false
false
3,201
py
""" Django settings for learning_log project. Generated by 'django-admin startproject' using Django 1.11.7. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ impo...
[ "jinyx@rc.inesa.com" ]
jinyx@rc.inesa.com
5996b9b454b741b90c6e2a148bc67beef53d21a0
dc836c5435b90dcca981a2f6d4c385293b6ef8f5
/Murder+Mystery (1).py
8622decca2b4847819ed0d62be02a4885031c8df
[]
no_license
caitydaisy/Murder-Mystery
56026a906c76b9e845b0288bfeb7819f27c9924c
0352e81ddc976178a9724fa09ca3faf1b5e15807
refs/heads/master
2020-03-28T08:33:33.775885
2018-09-08T22:17:45
2018-09-08T22:17:45
147,973,303
0
0
null
null
null
null
UTF-8
Python
false
false
25,069
py
# coding: utf-8 # # Preamble: A Brand new Jay # # After an eventful season on season 8 of *A Brand New Jay*, the 3 remaining contestants were invited to Jay Stacksby's private island for the last three episodes. When the day of filming the finale came Mr. Stacksby was found with one of his Professional Series 8-inch...
[ "noreply@github.com" ]
noreply@github.com
4a1fc4dc9297f3161f4f30e0492a815011a04b8c
747012e5b750cdc67748798c09b3ce1eb819568f
/strategy/migrations/0002_auto_20170703_1645.py
3a98d12dd70048ac2070500f701c0c01dc044e67
[ "MIT" ]
permissive
moshthepitt/probsc
da30c3829d5b8bf42804950320f006c78d2b94aa
9b8cab206bb1c41238e36bd77f5e0573df4d8e2d
refs/heads/master
2020-06-06T11:46:05.573933
2018-01-10T20:42:51
2018-01-10T20:42:51
192,730,789
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-07-03 13:45 from __future__ import unicode_literals from django.db import migrations import django.db.models.deletion import mptt.fields class Migration(migrations.Migration): dependencies = [ ('strategy', '0001_initial'), ] operation...
[ "kelvin@jayanoris.com" ]
kelvin@jayanoris.com
e3235c3eb5d23881de4ad6b62ddf588213108fd3
78c010f824d1c06dd9e4d598f60a11f6eca5cefc
/src/relay.py
54842e501631ba7e7e43ab2a57aed3ea7ac4f01c
[]
no_license
AcidLeroy/sous-vide
250db4b7f8e73facc69c2ec33abb22ad68d23e75
1e983a28df8785e00555b0562c51d736d61d686a
refs/heads/master
2020-03-09T06:49:14.646638
2018-05-06T18:08:27
2018-05-06T18:08:27
128,649,323
0
0
null
null
null
null
UTF-8
Python
false
false
992
py
#!/usr/bin/env python3 import RPi.GPIO as GPIO from sous_videdb import SousVideDB import time import json class Relay(object): state = {True: GPIO.HIGH, False: GPIO.LOW} def __init__(self, db, pin=26): print('Using pin {} for relay'.format(pin)) self.pin = pin self.db = db ...
[ "cody.eilar@gmail.com" ]
cody.eilar@gmail.com
b413505e73ee1e63e3b0f74a2c539b38c038f42d
c3d4bf47677a39bd9578e666419936e3e3f6f2c9
/ex16v2.py
b1ee47d3e53e9ce856824295f412d83c8794edb6
[]
no_license
michaelmuttiah/learnpythonthehardway
6672831088c75177dacefd190a8535d700d1d3f2
bc6537adcb0983c92b5fb59569c7c56eec3832d6
refs/heads/master
2020-03-21T20:52:18.980430
2018-07-10T16:24:02
2018-07-10T16:24:02
139,033,697
0
0
null
null
null
null
UTF-8
Python
false
false
785
py
from sys import argv script, filename = argv print "We're going to erase %r." % filename print "If you don't want that hit CTRL-C (^C)." print "If you want that hit RETURN." raw_input("?") print "Opening the file..." target = open(filename, 'w') # w = Writing onto the file (filename) which you have opened # Or in o...
[ "noreply@github.com" ]
noreply@github.com
a25245a35cacaea636067ccaec32d3b7094f710e
e5c9fc4dc73536e75cf4ab119bbc642c28d44591
/src/leetcodepython/math/hamming_distance_461.py
6ee39b31c590979bec6f64edd79227ce8fd40f94
[ "MIT" ]
permissive
zhangyu345293721/leetcode
0a22034ac313e3c09e8defd2d351257ec9f285d0
50f35eef6a0ad63173efed10df3c835b1dceaa3f
refs/heads/master
2023-09-01T06:03:18.231266
2023-08-31T15:23:03
2023-08-31T15:23:03
163,050,773
101
29
null
2020-12-09T06:26:35
2018-12-25T05:58:16
Java
UTF-8
Python
false
false
1,473
py
# encoding='utf-8' ''' /** * This is the solution of No. 461 problem in the LeetCode, * the website of the problem is as follow: * https://leetcode-cn.com/problems/hamming-distance/ * <p> * The description of problem is as follow: * ================================================================================...
[ "zhangyu_xtb@geekplus.cc" ]
zhangyu_xtb@geekplus.cc
0f4787e023609643731531af8d73e021450dd660
ca4e57a6861f1e24d1521bf5b775aee3b6db7725
/bitonic.py
47601639559708727cbcf4862e71d39937310f86
[]
no_license
mathi98/madhu
e296a477f3684a596c74a228c9ce867f1f60c3f8
cae2adb19ccf7c7f12212d694cd0d09614cd5d81
refs/heads/master
2020-05-23T01:06:54.830389
2019-06-28T14:13:07
2019-06-28T14:13:07
186,582,298
0
2
null
null
null
null
UTF-8
Python
false
false
65
py
k=int(input()) a=[int(x) for x in input().split()] print(max(a))
[ "noreply@github.com" ]
noreply@github.com
6b06e49f2dd1f681c22a44a5efc76c2112241cab
d574a7f81ac56fad4cce119f720473f66bf739e7
/chunkpailndrom.py
5e9cc5b9d36c6c4cbae25938a671d3988cce1c8b
[]
no_license
satyavank1988/Learning
6c4ebfc6a6335407c388485497969e86dad179eb
a2fb71c250121c348ea7e69b3a7c250b92d5f118
refs/heads/master
2020-04-14T07:56:11.016567
2019-01-01T09:08:35
2019-01-01T09:08:35
163,725,112
1
0
null
null
null
null
UTF-8
Python
false
false
1,413
py
# A O(n^2) time and O(1) space program to find the #longest palindromic substring # This function prints the longest palindrome substring (LPS) # of str[]. It also returns the length of the longest palindrome def longestPalSubstr(string): maxLength = 1 start = 0 length = len(string) low = 0 h...
[ "noreply@github.com" ]
noreply@github.com
3637a41ea27d8219504f33dd65eda2ea0971739d
dd256415176fc8ab4b63ce06d616c153dffb729f
/aditya-works-feature-python_programming (1)/aditya-works-feature-python_programming/Assigment_5_01-Aug-2019/Assigment_5_5.py
24aa63c26add06b9baeb2c0235963e5db861b091
[]
no_license
adityapatel329/python_works
6d9c6b4a64cccbe2717231a7cfd07cb350553df3
6cb8b2e7f691401b1d2b980f6d1def848b0a71eb
refs/heads/master
2020-07-24T17:15:39.839826
2019-09-12T07:53:28
2019-09-12T07:53:28
207,993,516
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
def accept(): name = input("Enter your string : ") val= [] for i in name: val.append(ord(i)) print(sum(val)/len(val)) accept()
[ "aditya.patel@1rivet.local" ]
aditya.patel@1rivet.local
0a6b2674de4d3094d067198aada095d0fcb8b7c6
f23da0e02e49634e1a7401190af0bf57869b806c
/ML_Visualizations.py
cedb9fa656bb694255d338f421669f6700db73a4
[]
no_license
gjones1911/ANN
32522bfd5fd10f280e28beb5fe04ff7701c5cf59
63d43bb02d6873d89e8b0ee83b027c8b5e644b48
refs/heads/master
2020-04-20T16:53:25.392858
2019-02-03T17:29:40
2019-02-03T17:29:40
168,972,208
1
0
null
null
null
null
UTF-8
Python
false
false
16,463
py
import matplotlib import matplotlib.pyplot as plt import numpy import matplotlib.animation as animation # --------------------------------------------------------------------------------------------- # --------------------- Utility functions -------------------------------------------------- # ---------------------...
[ "gjones2@vols.utk.edu" ]
gjones2@vols.utk.edu
9fb6a68ceb3cf80621af5ba80af61427c4540b14
e1450725c9637e15709064aaa48bc4e053a213d5
/tests/test_funcptrdecl.py
a4d3a4d89874a4fe3280f0584e431cc6717bed5d
[]
no_license
gotoc/PyCParser-1
9d4e4c40a8c24923a689b1a0e3ebd4f07528d75b
b00cdd67a688792c0bc49b383a36199c50cc5cf2
refs/heads/master
2021-01-20T10:54:25.196102
2014-09-11T12:27:29
2014-09-11T12:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,717
py
import sys sys.path += [".."] from pprint import pprint from cparser import * import test testcode = """ int16_t (*f)(); int16_t (*g)(char a, void*); int (*h); // ISO/IEC 9899:TC3 : C99 standard int fx(void), *fip(), (*pfi)(); // example 1, page 120 int (*apfi[3])(int *x, int *y); // example 2, page 120 int (...
[ "albert.zeyer@rwth-aachen.de" ]
albert.zeyer@rwth-aachen.de
3f8985be40b438a6f727f99ad4571962005a54c1
919388c3d7561937a98520d9c982f595422581a3
/demo4.py
f105e3c23fb7178bab3b91e2455eab0b5c1d1949
[]
no_license
WangJie1994/tensorflow_temp
2325b94f7709d23bab211964ca58104f6056f008
70af730c859ff32939f6c62e2e191fd5d6991a9c
refs/heads/master
2020-03-16T19:24:45.411913
2018-05-14T01:17:33
2018-05-14T01:17:33
132,914,883
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
# -*- coding: utf-8 -*- """ Created on Wed May 9 14:05:31 2018 @author: wangj """ import tensorflow as tf input1 = tf.placeholder(tf.float32) input2 = tf.placeholder(tf.float32) output = tf.multiply(input1, input2) with tf.Session() as sess: print(sess.run(output, feed_dict={input1:[7], input2:[5]}))
[ "wangjie19940416@icloud.com" ]
wangjie19940416@icloud.com
b25c5fbb4c2f172d0c011800ca4eb22f6ea0927e
7d0e35a6d9b188eed2c29ff0d71116e00679c4b6
/source/webapp/migrations/0003_delete_favorites.py
73f9b66f7eaef457fe146ecf57ae40d30cba3873
[]
no_license
neroznik/exam_9
11bd47fe09d527943c5d145ce6ae4c0d6376ae73
ad37fd72cc8ca16bdd5bc6f83e8f01e1b6d02196
refs/heads/main
2023-01-08T22:11:11.275006
2020-10-24T13:31:53
2020-10-24T13:31:53
306,645,581
0
0
null
null
null
null
UTF-8
Python
false
false
295
py
# Generated by Django 2.2 on 2020-10-24 08:46 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('webapp', '0002_auto_20201024_0823'), ] operations = [ migrations.DeleteModel( name='Favorites', ), ]
[ "neroznik@yandex.ru" ]
neroznik@yandex.ru
f9e2cfae13bab1f5c5f8fabdf35dd52c318b1683
a8a923b9a40190989f35b14a72fb6c683bf99201
/customer_clustering_insurance_company/helperFunctions.py
06979bf6d149f0205e548a4e1ce8f4d8db3b574b
[]
no_license
mrmachatschek/data_science_portfolio
12d8f8a38c4dab6f55efbcd6e87e5e3b3d7bb7ef
722a659ba5cb1a81c50bb1a8b30579d1524de6e6
refs/heads/master
2020-09-08T17:45:18.785904
2020-05-08T12:35:04
2020-05-08T12:35:04
221,199,811
0
0
null
null
null
null
UTF-8
Python
false
false
2,348
py
import pandas as pd import matplotlib.pyplot as plt import numpy as np from sklearn.preprocessing import StandardScaler from kmodes.kprototypes import KPrototypes from sklearn.cluster import KMeans import matplotlib.cm as cm from sklearn.cluster import AgglomerativeClustering import scipy.cluster.hierarchy as shc from ...
[ "m20190054@novaims.unl.pt" ]
m20190054@novaims.unl.pt
688cb82adce9a0a1f2e93bdc547a6257b3b1a89a
db9cfe9c9eae6883d06dd57ff79a74c743072c7c
/terminal.py
837936575f059c203d856f5592f6d6d8bd3852d9
[ "MIT" ]
permissive
Louis-Navarro/sudoku
66c9848bde772a1cdfe9ed19ed62a904a5a7dd35
a29d518f42a9e2bf93f29fc7916bcd28ac48fd30
refs/heads/master
2020-11-25T21:28:09.440313
2020-02-13T19:10:50
2020-02-13T19:10:50
228,851,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,775
py
from colorama import Fore, init import general import solver init() RED = Fore.RED GREEN = Fore.GREEN BLUE = Fore.BLUE RESET = Fore.RESET def print_grid(hidden_grid, showed_grid): for i in range(81): row = i // 9 col = i % 9 index = (row, col) if hidden_grid[index] == 0: ...
[ "azuiops.tv@gmail.com" ]
azuiops.tv@gmail.com
1cf3258065e5e16f983f1864dafea93785bb628e
d1cbaf70e1949eb11d5b10cd7a10d3859599bd41
/lib/roi_data_layer/roibatchLoader.py
3677aa16e144989d048b26d6041e5985aaa9020d
[ "MIT" ]
permissive
benedictflorance/da-faster-rcnn-PyTorch
4350190d318923eb7cf08b233ad1e3c09dc4ba17
c0058937dd1370cedc777b01d36343bf30fe1bad
refs/heads/master
2021-07-03T15:04:26.484516
2020-10-23T08:00:55
2020-10-23T08:00:55
189,517,854
0
0
NOASSERTION
2019-05-31T03:00:00
2019-05-31T03:00:00
null
UTF-8
Python
false
false
9,091
py
"""The data layer used during training to train a Fast R-CNN network. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import torch.utils.data as data from PIL import Image import torch from model.utils.config import cfg from roi_data_laye...
[ "noreply@github.com" ]
noreply@github.com
b1f3c80000cc7153cb54b0c8ff458c6fbfb15d64
235c1afc67f837779d3ab4f83e75e7ff3b39c7c4
/src/etf_ohlcv_daily/utils.py
be8737bb9f58e0c8063da0e400cc8723a2c72c67
[ "MIT" ]
permissive
phaesoo/nesta-jobs
b8782be138bb9bd521a06f23e9be3adbd9443671
230961b5b9fa35f9a2a08e7519f25ec8841d7513
refs/heads/master
2022-12-21T14:31:59.217458
2020-05-24T04:25:54
2020-05-24T04:25:54
250,958,145
0
0
MIT
2022-12-08T09:54:47
2020-03-29T05:07:32
Python
UTF-8
Python
false
false
678
py
from datetime import datetime from pandas import DataFrame import pandas_datareader as pdr def get_ohlcv(ticker: str, start: datetime = None, end: datetime = None) -> DataFrame: assert isinstance(ticker, str), "Type Error" df = pdr.DataReader(ticker, "yahoo") df = df.rename( columns={"High": "hig...
[ "phaesoo@gmail.com" ]
phaesoo@gmail.com
315ce8c930def547b1f04621e45ad7fd3bdae3f4
5e033119a827297aff391936660b7bd10bee7fd6
/backend/geolocation_portal/category_sparetime/migrations/0002_openinghourssportcentreentry.py
b2bd828e87c2647a3c778a9f3c34afa078d58c04
[]
no_license
kela4/DHBW-Softwareprojekt
7b557f04927ac32a68b00ac33040221787c789db
7c5178eb39a18bf7a28d5b6ee9570889b09f3dae
refs/heads/master
2022-12-16T03:17:27.315129
2020-02-16T14:39:25
2020-02-16T14:39:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
861
py
# Generated by Django 3.0 on 2020-01-13 19:44 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('geomodels', '0011_openinghours'), ('category_sparetime', '0001_initial'), ] operations = [ migrations...
[ "kath.ehrmann@web.de" ]
kath.ehrmann@web.de
9f90ad6871dc92f935efaae550a6d2713f3e71dc
657b9c271bd885e80c0d0bcab10dc7d191276972
/setup.py
f134e4d921cbeb452c6b1d703f4a5b01ef1a885e
[ "BSD-3-Clause" ]
permissive
jscottcronin/collie
0fa5fd66e3feaeb2038ea58aa635ebe5ec0da68d
0d62ae1e0194a64b7f3841b40ea56a573ba95268
refs/heads/main
2023-07-15T04:52:45.560176
2021-07-15T14:47:36
2021-07-15T14:47:36
392,405,991
0
0
BSD-3-Clause
2021-08-03T17:50:39
2021-08-03T17:50:38
null
UTF-8
Python
false
false
2,435
py
from setuptools import find_packages, setup with open('collie/_version.py') as version_file: exec(version_file.read()) with open('README.md') as r: readme = r.read() with open('LICENSE') as l: license = l.read() setup( name='collie', version=__version__, description='A PyTorch library for pr...
[ "nathancooperjones@gmail.com" ]
nathancooperjones@gmail.com
a33bdfad91b4225f463c646065d99aacc6792b36
f0296b8a296756b7f8bcfb888702434afbb183ea
/dt-learn.py
127043ce1b86c6b0c885f9ffef77b4d9faf97c2b
[]
no_license
mohandk/decision_trees
1f51a90e20b15af6d2369ebba9774d88734c5b03
2712605a7b23d54d13ff5cc8099f9fcee99ffc25
refs/heads/master
2020-04-13T16:10:07.076588
2018-12-16T20:31:16
2018-12-16T20:31:16
163,314,353
0
0
null
2018-12-27T16:17:54
2018-12-27T16:17:54
null
UTF-8
Python
false
false
19,841
py
# MOHAN RAO DIVATE KODANDARAMA # divatekodand@wisc.edu # CS USERID: divate-kodanda-rama # For Python 2 / 3 compatability from __future__ import print_function import sys from scipy.io import arff from io import StringIO import numpy as np import math #import matplotlib.pyplot as plt class Node: """ Node holds t...
[ "noreply@github.com" ]
noreply@github.com
a040a4045a98a04290859770134342c8c2fb5428
938e644b819d5411709b9f24ad66ecea6539fe08
/tencent/tencent/pipelines.py
d59576a52dc7fd1be375ff00b87e76cf3f619621
[]
no_license
ryanzicky/1
7b7d0380bf27b80691f60c93161f5f9d6a75fcea
777e6ffc65c19f07a4e128940b81742a93a2982c
refs/heads/master
2020-12-28T17:00:58.849208
2020-02-05T09:39:04
2020-02-05T09:39:04
238,415,413
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import logging class TencentPipeline(object): def process_item(self, item, spider): logging.warning(item) ...
[ "zhourui@tuhu.cn" ]
zhourui@tuhu.cn
9e703e905db62e8552e57941362b9d9bdae8b919
0cc98111e4ef7f747e2d3bc207dc53a9097dce68
/CodeHs/2.Conditionals/1.Booleans/4.1.4 Fix This Program.py
a6f914d66a37fd530a77f2f41a74068745f1ee63
[]
no_license
tw-alexander/CodeHS-Intro_To_Computer_Science-Answers-Python
4bb3587feb69be3ef7817b4fbe778352443c7072
4b67950cf33684773ce78817dc10986858469a68
refs/heads/master
2022-02-22T01:23:23.147279
2019-09-21T23:36:11
2019-09-21T23:36:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
211
py
brought_food = True brought_drink = False # These lines don't work! Fix them so that they do. print "Did the person bring food? " + str(brought_food) print "Did the person bring a drink? " + str(brought_drink)
[ "noreply@github.com" ]
noreply@github.com
599f4edbf8bbbcf5be1ba76d41791b9964071018
35a6f5a26ea97ebed8ab34619a8eec51719d2cc0
/Python_Basic/17 文件操作/5 seek函数.py
115eb71e6b1003cafcc78f9afeea357211ceaa76
[]
no_license
PandaCoding2020/pythonProject
c3644eda22d993b3b866564384ed10441786e6c5
26f8a1e7fbe22bab7542d441014edb595da39625
refs/heads/master
2023-02-25T14:52:13.542434
2021-02-03T13:42:41
2021-02-03T13:42:41
331,318,291
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
""" 语法:文件对象.seek(偏移量,超始位置) 0开头,1当前 2结尾 目标: 1.r改变读取文件指针:改变读取数据开始位置或把文件指针放结尾(无法读取数据) 2.a改变读取文件指针,做到可以读到数据 """ # 1.1.改变读取数据开始位置 # f.seek(2, 0) # 1.2.把文件指针放到结尾(无法读取数据) # f.seek(0, 2) # f = open('test.txt', 'r+') # f.seek(2, 0) # con = f.read() # print(con) # # f.close() # 2.把文件指针放到结尾(无法读取数据) f = open('test.txt', 'a+') f.s...
[ "gzupanda@outlook.com" ]
gzupanda@outlook.com
8b5018df8dddf952e39d64c225a5ffd173900976
a6f4c776037bcb22bc72603dc7433dbb1f11e2b2
/dblog/settings/common.py
03e08af627f281a14694d0160c263922a0d66c64
[ "MIT" ]
permissive
zxins/dblog
bccf14cedea7f4bf4a1e357eb60231704781130c
8fe92cc6bec628c2e8869ab625e14b8c3da547f1
refs/heads/master
2022-12-13T08:16:35.331644
2020-12-01T03:49:59
2020-12-01T03:49:59
243,273,814
0
0
MIT
2022-12-08T03:53:35
2020-02-26T13:50:01
CSS
UTF-8
Python
false
false
3,717
py
""" Django settings for dblog project. Generated by 'django-admin startproject' using Django 2.2.3. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os # B...
[ "624042309@qq.com" ]
624042309@qq.com
f428c560237217ad3f5dd49edbabd5734a5b4eff
0a679896fbe96a8a0a59ad9f4f55edb4aa044a93
/Duplicate File Handler/task/handler.py
040a40e81fc3f6eef361f3690d7a85ad20d01559
[]
no_license
TogrulAga/Duplicate-File-Handler
5b7bd9c9508ae3ee96751bc3e56ebaccc44c46f9
66fef381572c0e6697330463b0b720c2dbca82e6
refs/heads/master
2023-06-30T07:07:24.524591
2021-08-06T15:47:00
2021-08-06T15:47:00
393,424,765
0
0
null
null
null
null
UTF-8
Python
false
false
4,500
py
import os import argparse import hashlib class FileHandler: def __init__(self, directory): self.directory = directory self.file_format = None self.sorting_option = None self.files_dict = dict() self.dict_items = None self.numbered_dict = dict() self.get_form...
[ "toghrul.aghakishiyev@ericsson.com" ]
toghrul.aghakishiyev@ericsson.com
ca0312e44c689d8a119737d9102edca66c6d0e32
757433be241afbff1c138d77daf13397f858aef3
/scorpio/urls.py
166247c53f8b21e7f1bf3184baad8bf10b8db329
[ "MIT" ]
permissive
RockefellerArchiveCenter/scorpio
1f9d152bb440bb98c007f652fa644602e3b8b483
f308cac3880ba9008d3aadfdc66a4062d4d27492
refs/heads/base
2023-08-20T22:34:32.085492
2023-08-07T17:00:58
2023-08-07T17:00:58
215,400,734
0
1
MIT
2023-09-08T21:09:13
2019-10-15T21:33:10
Python
UTF-8
Python
false
false
1,601
py
"""scorpio URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "helrond@hotmail.com" ]
helrond@hotmail.com
972b7afb8148322afbfcf190ba1801302e12ae61
b1b5d91bae771d77dd4c91f99427ec07e520bc9c
/test_sort.py
3a2cd800f0d83b6672250f74f0cc85329a7b5e93
[]
no_license
envhyf/pyWRFChemEmiss
7ca6b6862ca3493656d8f471cca57abb27928c29
95cf0c7e391d6cbff4e8b04111edca4f06993a7f
refs/heads/master
2021-01-18T08:04:29.514097
2014-06-18T05:37:39
2014-06-18T05:37:39
41,543,599
3
0
null
2015-08-28T11:22:12
2015-08-28T11:22:12
null
UTF-8
Python
false
false
937
py
from random import randint class PointData(): def __init__(self, x, y, value): self.x = x self.y = y self.value = value def __str__(self): return '{0}:{1}'.format(self.x, self.y) def compare_pointdata(a, b): if (a.x == b.x) and (a.y == b.y): ...
[ "arif@sainsmograf.com" ]
arif@sainsmograf.com
09a04492749d62dae35061868dd2df07b8bd633a
d12bf1138cc8173ceaa4b2d3c876610a1b9dd158
/myvenv/bin/django-admin
8b642c18f42e8a7c16615b913b36ccc4db25c373
[]
no_license
Donsworkout/my-first-blog
aa1565a16b8e5bf3d2348b5c821b9a24e31a16a9
d7b87d5a6b871c6e8f2fb99c695424c1f95f42f6
refs/heads/master
2021-04-15T17:42:57.158790
2018-03-25T06:50:34
2018-03-25T06:50:34
126,668,487
0
0
null
null
null
null
UTF-8
Python
false
false
311
#!/Users/donsdev/python-workspace/speedblog/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "dickings@likelion.org" ]
dickings@likelion.org
1126f4f0e430b9f937a96a7b9cf597dd013a5a0d
aff0ac91f26ff94ac0180f5115839fbea57ab4bd
/primitives/line.py
77ee019510b07442c18ccb29631c076e371a73f8
[]
no_license
fizyk20/spacetime-graph
dc539e04cb984e14151b8e32096c76986def56db
f352ed34942c1944f7456d639390b41cbb885a75
refs/heads/master
2021-05-06T18:58:26.999095
2017-11-25T17:09:30
2017-11-25T17:09:30
111,997,484
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
from .generic import GenericObject from OpenGL.GL import * from math import sqrt import numpy from numpy import linalg class Line(GenericObject): def __init__(self, p1=(0,0), p2=(0,0), **kwargs): super(Line, self).__init__(**kwargs) if not isinstance(p1, tuple) or len(p1) != 2: ...
[ "fizyk20@gmail.com" ]
fizyk20@gmail.com