blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
5551777276b0a9c302242cf25f0b2533c7bb4990
9cd09b6bb92db175b9d3882fb61667e74af6c3c9
/data.py
95350d1bc0b2201d2d9a0fc8084c7de6eac346cd
[]
no_license
aniemi/Pastebin
537a7e6e2f95a0e2466a131c44d09ea48d43e850
e5da9ca9dfe34f877bd84ee795b7851a3e051ba3
refs/heads/master
2021-07-15T05:08:01.389869
2020-01-01T20:07:12
2020-01-01T20:07:12
231,257,688
0
0
null
2021-03-20T02:35:47
2020-01-01T19:57:50
Python
UTF-8
Python
false
false
1,846
py
from flask import Flask, g, current_app import sqlite3 DATABASE = 'database.db' def get_db(): db = getattr(g, '_database', None) if db is None: db = g._database = sqlite3.connect(DATABASE, isolation_level=None) db.row_factory = sqlite3.Row return db def init_db(): db = get_db() with ...
[ "akseli.niemi@me.com" ]
akseli.niemi@me.com
61bdd5b93399057adeb0866cc524d7531a7916da
aa90434900a007c572b5147efdb8d5f1e8d4b9a1
/Himanshu/sentiment_entity_API/model.py
c6b42a64192e6ba307a72d225c77b1e5c1aabe00
[]
no_license
harshgupta9723/ML_Experiments
d563c45116a8a06ed2a3d63eb93c8712223809fb
3997531a78d5f173af1c4f1eeba6cd4d4b8688b4
refs/heads/main
2023-09-04T13:26:10.592725
2021-11-19T06:28:10
2021-11-19T06:28:10
406,354,066
0
0
null
2021-11-19T06:28:11
2021-09-14T12:16:45
Jupyter Notebook
UTF-8
Python
false
false
950
py
# -*- coding: utf-8 -*- """SentimentAnalysis.ipynb Original file is located at https://colab.research.google.com/drive/109ZiRsDQVElX0HTJvCmuZA_C8sQ0Am4A """ # !pip install transformers # !pip install tqdm import spacy from transformers import pipeline # Defining a pipeline classifier = pipeline("sentiment-ana...
[ "iamhimanshu0" ]
iamhimanshu0
e09e39532171b1abbde86f18d51023bb08a30345
d5245e9d20cbbc2533f6640bdf050e45b38cee3c
/userInformation/ID3Method.py
2689bd5c66839cf9259c5467b34bbf3d40e85100
[]
no_license
sehan10/presumptive_diagnosis
5109e97638ac45d131dc1b3189a4a2f3a749bbf6
4f3ecd41b444db6ddd17100da97760e76cedd998
refs/heads/master
2020-05-22T08:18:42.275015
2019-05-12T17:03:04
2019-05-12T17:03:04
186,274,667
0
0
null
null
null
null
UTF-8
Python
false
false
23,807
py
from decimal import * from random import randrange import math import copy class MethodRepository: Class = [] entropySys = 0.0 singleTon = True DescionTree = [] IterationNo = "" Layer = "0" Data = [] digitcounter=0 def MakedecisionTree(self,TraininD,AttributesName,Class): ...
[ "sehan_ahmed@live.com" ]
sehan_ahmed@live.com
7e785828ecc952b6eabfc9890f7df3d4a90a054d
b71e91d4eb55b6826dbe378180aa7b2b8a717bdf
/Capitulo10/exercicio109_v2.py
b5df9d68ab21d3a0935e8bfaac4dc18ddb8237c3
[]
no_license
gustavopierre/think_python
49a9ceb50f760b41f6fbac54a07f6b394aa8d637
a3ad6e660db4e6ce2aa105f5084e585f95936867
refs/heads/main
2023-03-24T23:48:29.415573
2021-03-15T22:15:30
2021-03-15T22:15:30
348,137,048
0
0
null
null
null
null
UTF-8
Python
false
false
125
py
t = [] fin = open('./Capitulo9/words.txt') for line in fin: word = line.strip() t = t + [word] fin.close() print(t)
[ "gustavopierre@gmail.com" ]
gustavopierre@gmail.com
255b9e1701d4d09d4dac95d0fcf336c2e20d800f
03f30b0cf13beb6c80c26af3c40b9334ce5b063c
/알고리즘특강/보조 배터리.py
c00b88c1df6b46f87456ddb5fbddf0d464e3b410
[]
no_license
yunakim2/Algorithm_Python
41887147dd412596cd5813283e96f68113a4c43d
e8fde2bd7206903b6b4f3c321c3ed5651b484cc7
refs/heads/master
2023-08-25T23:13:58.544439
2021-11-13T09:08:17
2021-11-13T09:08:17
295,153,209
0
1
null
null
null
null
UTF-8
Python
false
false
643
py
import collections a,b,c = map(int,input().split()) n = int(input()) cable = [] for _ in range(n): cable.append(list(map(int,input().split()))) cable.sort(key= lambda k: k[0]) cable = collections.deque(cable) price = 0 cnt = 0 while cable: p, type = cable.popleft() if type == 0: if a>0: ...
[ "98_02@naver.com" ]
98_02@naver.com
d32c2395b60600f2c6632895ac315868b07aa240
17be80a5a40d6989ff11fa46947eec2cc73fcec0
/src/0008/0008.py
a3a68fde21e441fa9a7a2d4de7f333ce48bda166
[]
no_license
zhangjiahuan17/LeetCode
61cd1997cb9805a1d5a29c97cadfc29da7bc7b0e
cbc22a6826755ffb5a8b7048b964c19682703a40
refs/heads/master
2020-05-14T17:28:25.159743
2018-12-05T13:40:18
2018-12-05T13:40:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
595
py
class Solution(object): def myAtoi(self, str): """ :type str: str :rtype: int """ import re str = str.strip() result = re.search(r"^[+-]?\d+", str) if result: result = int(result.group(0)) print result if result < 0:...
[ "liuhan0122@shu.edu.cn" ]
liuhan0122@shu.edu.cn
f291a2ae0a71925f927ac2e38711136cb391d118
e2463e1889ca9e87297358ac5b54b2b73994a830
/_submodules/mmdetection/mmdet/models/dense_heads/__init__.py
d8cfdcfb040406d07e80a7b76d4abef97b379998
[ "Apache-2.0" ]
permissive
franktpmvu/dmtrack
b0fe8b2614f4b829fe6cb1ed651377c66f64ed6a
d27b56055392a496ce53d85f78178f754a6ea20b
refs/heads/main
2023-07-10T08:49:10.018437
2021-08-18T09:23:23
2021-08-18T09:23:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,238
py
from .anchor_head import AnchorHead from .atss_head import ATSSHead from .fcos_head import FCOSHead from .fovea_head import FoveaHead from .free_anchor_retina_head import FreeAnchorRetinaHead from .fsaf_head import FSAFHead from .ga_retina_head import GARetinaHead from .ga_rpn_head import GARPNHead from .guided_anchor_...
[ "superkevingit@gmail.com" ]
superkevingit@gmail.com
6df4a2b8ccf09e4e5c64e891b4c75397cdd73c13
9790b3e52cc3393f74d06655b820047d1be8bf46
/parser.py
2ad94eb1c5d3f758f93a17e43a561940f2607f4c
[]
no_license
3omar3allam/tiny-parser
7c0eb365d2b55abca82cec049800b6dbb104645c
33c67cf66492e9e4d81b3a02965ca3f6c68a1165
refs/heads/master
2020-04-12T05:26:07.433566
2019-01-07T14:12:01
2019-01-07T14:12:01
162,326,959
0
1
null
null
null
null
UTF-8
Python
false
false
7,268
py
from helper import Node,find_indeces class Parser: iterator=0 def __init__(self): self.types = [] self.values = [] self.iterator = 0 self.parse_tree=None self.nodes_table={} self.edges_table=[] def set_types_and_values(self,types,values): ...
[ "allamov96@gmail.com" ]
allamov96@gmail.com
1e3acb6e4f53e5e55bb3de711ffa8057b053594d
d625cc20454d5218cf237155739314b2c3e0bc7c
/src/svea/src/controllers/control_interfaces.py
88240ceb70ffc13664e321a203306e148f5bcd3f
[]
no_license
sumr4693/svea_starter
534936e8932f0544bc38528daa6d35012b77f6bc
41aab12421f3a89c45de2048df8b77ddd0b8e5eb
refs/heads/master
2022-12-16T14:43:36.942211
2020-10-02T17:31:49
2020-10-02T17:31:49
300,687,972
0
0
null
null
null
null
UTF-8
Python
false
false
21,698
py
#!/usr/bin/env python """ ROS interface objects for sending control to the SVEA car's low-level controller. The low-level controller expects unit-less steering and velocity values from [-127, 127] that correspond to the minimum and maximum steering angles and velocities. We implement the interfaces for two reasons: (1...
[ "subramanian4693@gmail.com" ]
subramanian4693@gmail.com
3512c8df490454bfe68d7a47273e40508c55d682
aaac14918f61747db3148d78f87f7769a19ce847
/CLASS2 - Conditionals/check_even.py
3fb9d45f0d268495b839b36dc712b03d4f921fd8
[]
no_license
mikestrain/PythonGA
a5f3e51ffb4f28b623a2160f799334348c987d00
fc3a787bbf3c498b3cfcea19bd26f1b37f7232e7
refs/heads/master
2020-12-03T20:25:29.172654
2020-02-21T20:14:41
2020-02-21T20:14:41
231,474,973
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
number = 0 remainder = number % 2 if remainder == 0: print("The number is even.") else: print("The number is odd.") print("\n\n\n") x = 8 y = 0 a = "Hello" b = "test" if x and b: print("Both of these are true.") if not y or not a: print("One of these is false.") if x or y == False: print("Anoth...
[ "michael.e.strain@gmail.com" ]
michael.e.strain@gmail.com
dc9052f26023ef505df746bfa11a9decec965b19
b6fd5a2e07091636c1cf27351d5b5e58d475c267
/round_time.py
a8a1af6e662dde669374603fcbaed76505223517
[ "BSD-2-Clause" ]
permissive
Stefal/ubx-to-gpx
54a37c17c188020553bd45415d68a9dff34f00a5
c420905d5a35d41bfa5dd0aaf07f99b1f7045681
refs/heads/master
2021-08-02T08:49:42.115996
2021-07-28T19:04:35
2021-07-28T19:04:35
189,289,061
1
0
NOASSERTION
2021-03-25T11:21:40
2019-05-29T19:53:18
Python
UTF-8
Python
false
false
3,284
py
import datetime def round_time(dt=None, date_delta=datetime.timedelta(seconds=1), to='average'): """ Round a datetime object to a multiple of a timedelta dt : datetime.datetime object, default now. dateDelta : timedelta object, we round to a multiple of this, default 1 minute. from: http://stackov...
[ "stephane.peneau@wanadoo.fr" ]
stephane.peneau@wanadoo.fr
d2dfa0cd60957a9f87cdf548ab46cbb6b3f3514c
67bab59ed680760a381e355df56423b897e1d56d
/pass_id.py
4ccb9ed1d7fef4dae034f6fb453aea58c0219d72
[]
no_license
andporfirio/14-desafios-desafio01
7e34fe2c85e67416da42bda871a77c52b4d16d6d
778879c957610c380462ef45552c9921b580c7e2
refs/heads/master
2020-04-07T03:57:37.077663
2018-11-18T15:57:53
2018-11-18T15:57:53
158,035,073
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
#!/bin/python import string import random # Modulo para a geracao do hash da senha def pass_generator(size=14,chars=string.ascii_uppercase + string.digits): return ''.join(random.SystemRandom().choice(chars) for _ in range(size))
[ "and.porfirio@gmail.com" ]
and.porfirio@gmail.com
4f4489524a1684a38158bbef520fa313dedb2967
6431702bbded09ccb0950b9aadd91b9821b9d7c9
/bar_charts.py
01338720942c3a92494f5e934aeaf0c15e522819
[]
no_license
PawelKonczalski/python_data_visualization
561ba3db5adafa881a6e537fcdfd7e9a1e10b5e7
8ba7b6091ec17a97e1c5807ac50eba455798078f
refs/heads/master
2021-05-24T13:42:07.709394
2020-04-06T18:52:18
2020-04-06T18:52:18
253,587,883
0
0
null
null
null
null
UTF-8
Python
false
false
1,224
py
import matplotlib.pylab as plt import numpy as np col_count = 3 bar_width = .15 korea_scores = (554, 536, 538) canada_score = (518, 523, 525) china_score = (613, 570, 580) france_score = (495, 505, 499) poland_score = (518, 518, 526) index = np.arange(col_count) k1 = plt.bar(index, korea_scores, bar_width, alpha=.4...
[ "50076223+PawelKonczalski@users.noreply.github.com" ]
50076223+PawelKonczalski@users.noreply.github.com
c7c889636b85cb12e2266052560382d35d7e43d5
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/6/odu.py
ffb5ddfec684b20676e433f2e985814acd853b04
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
3d6f3896d04acd270ca465c74aa49ceccba54775
9f5e9babd7b91494695d439a526af2ff26d1df6c
/ros_workspace/build/catkin_generated/order_packages.py
0ec54decf891381288bb3af62094e7d42af36999
[]
no_license
EthanMendel/MobileRobotics
484d606215b88ab79bf101d5e5383a683443a200
698598d4e45ddae6fd2d693d51355a73b626b4d9
refs/heads/master
2023-04-16T23:15:18.093403
2021-05-04T01:12:40
2021-05-04T01:12:40
364,104,816
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = "/home/turtlebot/ros_workspace/src" whitelisted_packages = "".split(';') if "" != "" else [] blacklisted_packages = "".split(';') if "" != "" else [] underlay_workspaces = "/home/turtlebot/workspaces/turtle/devel;/opt/ros/melodic".spl...
[ "ethanmendel516@gmail.com" ]
ethanmendel516@gmail.com
1b2490aade9d666d12db224e5f261951c8592660
21c5b922925922c5358075f1b11361cca022530e
/day10/day10b.py
9cbaf59339d8e63e5ef9b793b25061c067b8cee5
[]
no_license
sjstein/aoc2020
8efd6aeebfa6ccea4e95debe4d56d5eb88025d22
be024ad7daf1e9385a18e9263fed69be07d8a0d9
refs/heads/main
2023-01-31T16:51:58.907334
2020-12-19T03:54:29
2020-12-19T03:54:29
317,272,893
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
""" """ def numhops(arr, dif): c = len(arr)-1 hops = 0 newarr = arr print(f'In numhops with array = {arr}') while c > 1: if (arr[c] - arr[c-2]) <= dif and (arr[c] > arr[c-1] > arr[c-2]): print(f'Found extra at {c-1} of value {arr[c-1]} ({arr[c-2]},{arr[c-1]},{arr[c]})') ...
[ "s.joshua.stein@gmail.com" ]
s.joshua.stein@gmail.com
1dafd4cde893a64c4ac57fd1235f640cff188c13
78a2a30311a7f88df906670464c90ffea0e8a4a2
/fractions.py
443a257cc56a0cd4f9adff587c4edd7c3127e2bc
[]
no_license
chousemath/daily-grammar
68f2a6751ed613945a6a71ef008ea78afeb471ad
7863a00d1d8d1c84bb10cdb179deca5686928451
refs/heads/master
2020-12-14T17:36:35.775668
2020-02-12T00:43:55
2020-02-12T00:43:55
234,826,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,924
py
from fraction.Fraction import Fraction as frac from random import choice frac_map = {} lowest_common = {} for i in range(1, 100): frac_map[f'{frac(i * 1, i * 2)}'] = 'ChoiceFraction.OneHalf' lowest_common[f'{frac(i * 1, i * 2)}'] = '1/2' frac_map[f'{frac(i * 1, i * 3)}'] = 'ChoiceFraction.OneThird' lo...
[ "chousemath@gmail.com" ]
chousemath@gmail.com
104d7f7f8b1f2d29fd36533af77e862c36fd2c1e
a6fff983ab308add08df57876df370c230af37e8
/hello_world.py
d49eea9117a1e945c22696914d6924157f7d4a98
[]
no_license
Raparker88/hangman
5bc2cbd4e2dfd1eade6c34ee8c5f5bcc1e06a79b
32bde5439323d6cefae4ad17007eb404558c4d35
refs/heads/master
2020-12-08T03:35:18.813262
2020-01-11T18:27:25
2020-01-11T18:27:25
232,872,631
0
0
null
null
null
null
UTF-8
Python
false
false
38
py
print("hello world!") print("Hello!")
[ "59704464+Raparker88@users.noreply.github.com" ]
59704464+Raparker88@users.noreply.github.com
27e66432a1de605323881a4382c282991adb6fc7
a1a5bdf1d362c532f468adcf4bfb5dfecd7a081a
/Enequaler_Column_FNXionJNXion-20201223ver.py
498ff7a22678b4a224c6b6d0cd2b0e0e44411f2a
[]
no_license
the-shynamites/shynamithub
61b0596bbdbb5f8f921d0ded1d335dd035a5647c
79b97885a0c1365efbb57efee017d0259461d129
refs/heads/master
2023-02-15T12:56:28.181047
2021-01-11T16:12:32
2021-01-11T16:12:32
278,798,028
1
0
null
null
null
null
UTF-8
Python
false
false
1,827
py
#Enequaler_Column_FNXionJNXion-20201223ver.py # coding:utf-8 import time import pprint import openpyxl from openpyxl import load_workbook # xlsxファイル名を入力してEnterで確定する。 print("PLZ choose your XLSX file, and press Enter-key, e.g. fnxion_dequal (without [.xlsx]).") XLSX0 = input() XLSX1 = XLSX0 + '.xlsx' #...
[ "noreply@github.com" ]
the-shynamites.noreply@github.com
9bbb8c467ca674926b2940db52ac572f29c7f428
79f90e0740aabd3965e617a70d5b9595a0cc0773
/three body problem simulation/notebook.py
877af4e301cac99db0e6dcdb331e707ba62fc727
[]
no_license
classic-mathematician/Physics-Engine
466fa5b93d362395440697967fd3f7fdc96a766a
1fa5f294c9c59c910c50abbc525af2a3e3435689
refs/heads/master
2022-05-19T22:45:51.299067
2022-03-14T23:45:51
2022-03-14T23:45:51
176,183,248
1
0
null
null
null
null
UTF-8
Python
false
false
1,256
py
import pygame import math from body import Body pygame.init() #screen screen_width = 800 screen_height = 600 #colors black = (0,0,0) white = (255,255,255) red = (255,0,0) blue = (0,0,255) green = (0,255,0) colors = [] colors.append(black) colors.append(white) colors.append(red) colors.a...
[ "noreply@github.com" ]
classic-mathematician.noreply@github.com
7aa36594e904a7e70a02048b3fe3697453456cdb
c550be587cdca058ddfe9ae7429a7488f8667c05
/console.py
b2a9014dc365c3dc281c0d90f621b070a550417b
[]
no_license
AkwasiAA/w4_d2_homework
4f3db2da222df5ba61a9c408246f8f4484fe4a34
073c431af068fb384e50aa67bb3ffe5f8688dc9c
refs/heads/main
2023-06-09T09:41:11.536168
2021-07-07T07:30:32
2021-07-07T07:30:32
383,711,971
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
import pdb from models.task import Task from models.user import User import repositories.task_repository as task_repository import repositories.user_repository as user_repository # from repositories.task_repository import select_all task_repository.delete_all() # task_1 = Task("Get lunch", "John", 65, True) # task_r...
[ "aa.acheampong1@gmail.com" ]
aa.acheampong1@gmail.com
eb15b4125424c6865b42ca535067bf7e590e2d1e
c697122555fa82d993f37c89f17ba98dd5fe502f
/src/pyams_table/tests/__init__.py
7432d6657437b20da080ab490faf7c03d172abd7
[ "ZPL-2.1" ]
permissive
Py-AMS/pyams-table
d9cdc9019a9aebc3e685eef243214f0ebc65301c
5b94a4cb2fa8874372f5ea40a202940881ba86b9
refs/heads/master
2021-07-11T11:31:36.772976
2021-03-09T12:49:10
2021-03-09T12:49:10
234,533,290
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
# # Copyright (c) 2015-2019 Thierry Florac <tflorac AT ulthar.net> # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRAN...
[ "thierry.florac@onf.fr" ]
thierry.florac@onf.fr
11c255513d653577c23eac038231af8bf48b39c0
e163c19c9105fb343866ff3e16717f9b79d765bb
/products/migrations/0005_alter_product_summary.py
79917a9eb5810e895184b546222d6e6b5d3d84bf
[]
no_license
stas-grgv/freecodedjango
e3d1ffe911aa3e445822cc25df87a109f7378eea
08bbb689a9086c0fcf0e8b1f666d18fa69f40bd6
refs/heads/master
2023-06-22T09:55:20.042234
2021-07-08T18:06:32
2021-07-08T18:06:32
382,438,275
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
# Generated by Django 3.2.4 on 2021-06-30 23:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('products', '0004_alter_product_price'), ] operations = [ migrations.AlterField( model_name='product', name='summary'...
[ "77362690+stas-grgv@users.noreply.github.com" ]
77362690+stas-grgv@users.noreply.github.com
cba896781fd538dd8cb8faf6348f0309290a4fb5
8360018316eda1f32c91eb3526b6ca435e6d2ab9
/studentDB/evnv/bin/django-admin
e1dfd127d3964eb98e9b14504bab327680f6e85d
[]
no_license
Nandan1567/Student-Database
0a62155926311cb13ebd47ffef36ed5f74f6d40c
87785ef614253127ef4c1bb6d083766a151a864b
refs/heads/master
2020-12-23T15:17:21.421241
2020-01-31T06:46:00
2020-01-31T06:46:00
237,187,083
0
0
null
null
null
null
UTF-8
Python
false
false
308
#!/home/nandana/student-database/studentDB/evnv/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())
[ "nandananandan7@gmail.com" ]
nandananandan7@gmail.com
4d48ee8aa2dac107353ee1105a6ea897c642ffe9
da5b9c07ed5eb61187f60c21a6038d803c06a234
/Library/lib/python2.7/site-packages/mysql/fabric/server_utils.py
3ad89f705c6b6f934e4c26e444fdc17915711fa5
[ "Python-2.0" ]
permissive
taranatarajan9/Zbooks
9cd26c1c97f41ee7970e8c0600ef16b2ea2896e3
fd28162bd75538690c8716af0a34fb66ae8d155a
refs/heads/master
2023-01-02T11:45:25.572778
2020-10-24T18:19:23
2020-10-24T18:19:23
306,942,566
0
0
null
null
null
null
UTF-8
Python
false
false
6,312
py
# # Copyright (c) 2013,2015, Oracle and/or its affiliates. All rights reserved. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the...
[ "taranatarajan9@gmail.com" ]
taranatarajan9@gmail.com
e84145c7b14dbcf759ea86c19665429ad5f604fb
9c2dc11b595249984be043ce01a1e7694e9b8421
/HW/HW48-60/Day_051_Stacking_HW.py
9af83e559af76fa3e93df01962ff3e8acfcee9c5
[]
no_license
chinghwan/3rd-ML100Days
aa7a40723b4f9a79e1e8c828d675cfee4e2c67fd
d20abb9ed0f6ccf0a5dcfde10fdff75f0f57f832
refs/heads/master
2020-07-10T21:17:15.623938
2019-12-27T05:39:08
2019-12-27T05:39:08
204,373,979
0
0
null
null
null
null
UTF-8
Python
false
false
5,183
py
#!/usr/bin/env python # coding: utf-8 # # 作業 : (Kaggle)鐵達尼生存預測 # *** # - 分數以網站評分結果為準, 請同學實際將提交檔(*.csv)上傳試試看 # https://www.kaggle.com/c/titanic/submit # # [作業目標] # - 試著模仿範例寫法, 在鐵達尼生存預測中, 觀查堆疊泛化 (Stacking) 的寫法與效果 # # [作業重點] # - 完成堆疊泛化的寫作, 看看提交結果, 想想看 : 分類與回歸的堆疊泛化, 是不是也與混合泛化一樣有所不同呢?(In[14]) # 如果可能不同, 應該怎麼改寫會有較好的結果?...
[ "chinghwan@gmail.com" ]
chinghwan@gmail.com
73a8edbc10cf9a95bdf7fe0998a45479bc51ee6a
2e9e994e17456ed06970dccb55c18dc0cad34756
/atcoder/abc/075/D/D.py
bb36bb97e08ed60220e3bd3641780bbfbf444e97
[]
no_license
ksomemo/Competitive-programming
a74e86b5e790c6e68e9642ea9e5332440cb264fc
2a12f7de520d9010aea1cd9d61b56df4a3555435
refs/heads/master
2020-12-02T06:46:13.666936
2019-05-27T04:08:01
2019-05-27T04:08:01
96,894,691
0
0
null
null
null
null
UTF-8
Python
false
false
2,883
py
def main(): N, K = map(int, input().split()) x, y = zip(*( map(int, input().split()) for _ in range(N) )) f(N, K, x, y) def f(N, K, x, y): """ 制約 * 2≦K≦N≦50 * −10^9≦xi,yi≦10^9 (1≦i≦N) * xi≠xj (1≦i<j≦N) * yi≠yj (1≦i<j≦N) * 入力値はすべて整数である。(21:50 追記) 長方形の内部...
[ "kntsmy@hotmail.co.jp" ]
kntsmy@hotmail.co.jp
faa9d95cd1f54ea23330518a0bb79914deb889b6
a65019cfe135663781e716a7ed1bf8d50c3016fb
/app/auth.py
91b0386eaa44f93a09368460d2c3c7c6450b9ee2
[]
no_license
danielholmes839/Squash-App
d5b074410b98d000ec511189d38d12ba41b9cd02
987603636e06512c8f7992a35cb5d1169de2e310
refs/heads/master
2022-12-10T07:36:51.433175
2021-01-12T02:25:02
2021-01-12T02:25:02
200,510,432
0
0
null
2022-09-30T18:35:27
2019-08-04T15:36:23
Python
UTF-8
Python
false
false
2,192
py
# Daniel Holmes # auth.py import os from flask import request from functools import wraps from app import bcrypt, db from app.models import APIKey def required(): """ API Key required authorization decorator request should contain a 'username' and 'password' key """ def inner_function(f): ...
[ "danielh839@gmail.com" ]
danielh839@gmail.com
0b5a83d087615704616c7aa44ed8bcc6dd942b8c
73add94ff9a9608f787f19a604df7b56cf83116f
/case_studies/birds/main.py
de5702fb05144aa2f1fb5790d8413e27faba1a4b
[]
no_license
pkro/edx-pythonforresearch
97b30110ab1f30750b904630dfa16bc33f163569
a533c6120f69c39dd894705885e41fe886be642f
refs/heads/master
2022-02-19T22:38:59.703284
2019-10-11T07:33:25
2019-10-11T07:33:25
207,480,318
0
0
null
null
null
null
UTF-8
Python
false
false
2,625
py
# -*- coding: utf-8 -*- import pandas as pd import numpy as np from matplotlib import pyplot as plt birddata= pd.read_csv('./bird_tracking.csv') bird_names=pd.unique(birddata.bird_name) ''' colors = dict(zip(bird_names, ['r','g','b'])) plt.figure(figsize=(7,7)) for bird in bird_names: ix = birddata.bird_name==b...
[ "pkrombach@web.de" ]
pkrombach@web.de
951f22c54a10e58341104bf1af2c7284075cede0
333838b07c44a19ef7d8b9aaae2961316ee7a2c2
/catkin_ws/build/catkin_generated/generate_cached_setup.py
4a99d1c6ceee55b6f5337c43e8c44ec24b47937a
[]
no_license
SLAMid/FINAL
ab968df22bf1f0926b1cca842e338a13c93f04dd
aa16747f835fba1fc81522ce7eeb9b7cdc934cdb
refs/heads/master
2020-03-15T07:25:05.088299
2018-05-03T17:32:48
2018-05-03T17:32:48
132,028,458
0
0
null
null
null
null
UTF-8
Python
false
false
1,294
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys....
[ "quickbrownfox319@gmail.com" ]
quickbrownfox319@gmail.com
77d06393ecc569e157e8d651d7afb8ea55925368
1efff10c2dcd19def44b36facd36b8e407252e28
/workspace/devel/.private/tfpose_ros/lib/python2.7/dist-packages/tfpose_ros/msg/_BodyPartElm3D.py
7f2cb216f996355a29f0e4c06b5a9d56777c90b4
[]
no_license
PedroIldefonso/baxter_project
4ab682a589b793811ddd60a1ae00f12aea0958bf
cc8a0fc01df003b28a09759631e50f2ba89f226f
refs/heads/master
2023-02-06T02:46:18.567784
2020-12-27T20:50:45
2020-12-27T20:50:45
324,839,492
0
0
null
null
null
null
UTF-8
Python
false
false
4,145
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from tfpose_ros/BodyPartElm3D.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class BodyPartElm3D(genpy.Message): _md5sum = "eeee5595dc8784739be4dc17a4ca0b96" _type =...
[ "pedro.ildefonso13@gmail.com" ]
pedro.ildefonso13@gmail.com
5145be87d31768c82f2e05727c0de10bf98fbc32
1a4bc1a11fdb3f714f22f5e0e826b47aa0569de2
/projects/project03/tests/q3_1_9.py
7ba9201ae87f09d05ffc4fe63d8fde616069e11c
[]
no_license
taylorgibson/ma4110-fa21
201af7a044fd7d99140c68c48817306c18479610
a306e1b6e7516def7de968781f6c8c21deebeaf5
refs/heads/main
2023-09-05T21:31:44.259079
2021-11-18T17:42:15
2021-11-18T17:42:15
395,439,687
0
1
null
null
null
null
UTF-8
Python
false
false
649
py
test = { 'name': 'q3_1_9', 'points': None, 'suites': [ { 'cases': [ { 'code': ">>> genre_and_distances.take(np.arange(7)).group('Genre').index_by('Genre')[my_assigned_genre][0].item('count') >= 4\nTrue", 'hidden': False, 'lo...
[ "taylorgibson@gmail.com" ]
taylorgibson@gmail.com
e2035ff5c08bc92c0c10e654901db30f853962e2
f0e06d17943d096129dd015d301b9add19b78d17
/arraythingy2.0.py
67bf6a953cd5987d3486342d7967a129bae34761
[]
no_license
kt00781/Grammarcite
ebe82b97bac2131110adf6d172ed334bbad9f497
35da8e881c2845d41f71001da8db39bcab55e573
refs/heads/master
2020-04-22T13:50:50.856981
2019-04-16T23:30:45
2019-04-16T23:30:45
170,423,737
0
0
null
null
null
null
UTF-8
Python
false
false
662
py
from spellchecker import SpellChecker #input("Hello, How was your day?") #print("No one cares.") file_r = input("Input name of txt file: ") fr = open('{}.txt'.format(file_r)) text = fr.read() fr.close Array = text.splitlines() spell = SpellChecker() change = [] changeline = [] separator1 = " " separator2 = '\n' for ...
[ "alan@bondbunch.com" ]
alan@bondbunch.com
9f536f73046bb2eba8e2c42f238f91002390682d
8cf9b5c1e5e9209c4dd55665c26077f23d40ceb5
/contact-api/app/__init__.py
bcca4d51a2742489d60613d14504ecfafbce373a
[]
no_license
cavalcanticampos/e2e-contacts
3979b59e53092cf6a05a0103dbd5f48d4db7b113
2b830bad3221baac670ba206bbc1be480dd8bc25
refs/heads/master
2022-12-24T00:58:39.464775
2020-09-28T03:54:52
2020-09-28T03:58:52
299,179,333
0
0
null
null
null
null
UTF-8
Python
false
false
514
py
from flask import Flask from flask_migrate import Migrate from .model import configure as config_db from .serielizer import configure as config_ma from flask_cors import CORS def create_app(): app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/creathus.db' app.config['SQLALCHEM...
[ "robertoccamposn@gmail.com" ]
robertoccamposn@gmail.com
cfe51cd199388c68b927d994e0798a33068393a0
179fbbb7389d07a332a18a7a55f08db3417e686a
/PythonSelenium/Js.py
c164cf6f5db40350560ecc3c31f89239765c43cb
[]
no_license
agreen2413/GitDemo
08cd974c20e27a446d4bbc706acc7456d9d0c339
6c0b7108acef3016a71a4682f7e46e7d5f84d20c
refs/heads/master
2023-02-15T07:06:08.841536
2021-01-06T22:40:00
2021-01-06T22:40:00
320,665,169
0
0
null
null
null
null
UTF-8
Python
false
false
2,344
py
#Chrome Browser import time from select import select from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.select import Select driver = webdriver.Chrome(executable_path="C:\\PythonSelenium\\chromedriver_...
[ "agreen569@yahoo.com" ]
agreen569@yahoo.com
bfce8be8e2f33e2bafc648ad67f88ca229a914d5
0f7f8604cc56dfa40b09693c16c20ba5ff80ac9e
/NewPlayer/Day11.py
2561766151b66d14fb833b3088e52ae16d57b80a
[]
no_license
AndrewXuYes/LeeCodePython
db5f0c8d19b395c94fa571f1615e9bd2e8f5ca97
b69026bae1b56ea0e2f41688aa510afc29fb8d0f
refs/heads/master
2022-04-15T09:35:58.920696
2020-04-11T02:14:07
2020-04-11T02:14:07
200,052,776
0
0
null
null
null
null
UTF-8
Python
false
false
1,500
py
import json import requests def main1(): f = None try: f = open('1', 'r', encoding='utf-8') print(f.read()) except FileNotFoundError: print('无法打开指定的文件!') except LookupError: print('指定了未知的编码!') except UnicodeDecodeError: print('读取文件时解码错误!') finally: ...
[ "522988922@qq.com" ]
522988922@qq.com
29c53c9dd989b92da644998540979d855bafd45c
e262e64415335060868e9f7f73ab8701e3be2f7b
/.history/Test002/数据类型_20201205183838.py
68110a4f1f601b98f39c8628e07060a8e42e6692
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,818
py
# fruits = ['orange', 'apple', 'pear', 'banana', 'kiwi', 'apple', 'banana'] # print(fruits.count("apple")) # a = fruits.index("banana",4) # print(a) # fruits.reverse() # print(fruits) # fruits.append("daka") # print(fruits) # print(fruits.sort) # a = fruits.pop(0) # print(a) # print(fruits) # number = [1,2,45,3...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
04ef9eb480fcf9ae2c53d536ebd6865160fa9533
6da70310e6c0ccfb9ef2ed064afb6161a65719e3
/TicTacToe/demo.py
8c8623013eb3cde1df7d9ff7a356092bf03fb8e9
[]
no_license
dizhang168/ai_projects
2fff32ecf4c34473c5b12abb2f3cf9a8d7b6832d
c4192b90084d8ab38a28d1ae7f567384b9fc7c2e
refs/heads/master
2020-04-12T21:31:37.103843
2019-03-24T14:38:51
2019-03-24T14:38:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from game import * # Simple playing g = Game(player_1="User", player_2="Random") g.start() # RL training result = train(10000) print(result[0]) # Playing with trained Agent g2 = Game(player_1="User", player_2="RL") g2.start()
[ "dizhang168@hotmail.com" ]
dizhang168@hotmail.com
8d2be2f7615f7caa3925f9200b966752a6b53993
f878260bbca242a15cd3b069ed40f5c0704a771b
/datacat/db/__init__.py
7eb57874459ae91af67887207204bc5d2d170520
[]
no_license
rshk-archive/datacat-poc-140825
2485c561746ea70852fdbfd9b46eee97edc6cda7
626ad8b36655c69e93093be1d74cfb503ec9ba19
refs/heads/master
2020-06-01T04:16:32.752067
2014-09-26T14:02:03
2014-09-26T14:02:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,146
py
from collections import MutableMapping import json import functools from flask import g import psycopg2 import psycopg2.extras from werkzeug.local import LocalProxy def connect(database, user=None, password=None, host='localhost', port=5432): conn = psycopg2.connect(database=database, user=user, password=passwor...
[ "redshadow@hackzine.org" ]
redshadow@hackzine.org
c7fe3a7779dc3465e25fd8218e2eea0dcfb15a67
a3b9775a4a08ab47e3f07d27727612b082763919
/env3/src/profiles/migrations/0004_profile_location.py
af41a3c231914b01b4a79f29a902304e209609d0
[]
no_license
farzadrab/tryDjango
d7c09b076ab0aa532c735d0477e21fcd5ee1d0f6
9e47debfb51845694e975e9467337fa11b5241dd
refs/heads/master
2020-04-22T11:48:56.522672
2016-09-09T15:22:30
2016-09-09T15:22:30
67,788,957
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-09 14:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0003_auto_20160909_1314'), ] operations = [ migrations.AddField( ...
[ "rm.farzad@hotmail.com" ]
rm.farzad@hotmail.com
fb9cbb94cc255f67675688194b2756a15c9c4dca
9e20dd7cd0105122f0e164aa0966fc37691d5042
/card.py
be56121910a6aa12020005a8ca6c92c4d01710da
[]
no_license
RocketMirror/AtCoder_Practice
c650fd3ea1322ecda535e40f6ab63251085cecbe
32e4c346b65d670ba6642f815b1a04e8b7c5f241
refs/heads/master
2023-07-09T14:25:41.052647
2021-08-08T17:40:33
2021-08-08T17:40:33
394,016,650
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
n = int (input()) dic = {} for _ in range (n): s = str (input()) if s in dic.keys(): dic[s] += 1 else: dic[s] = 1 m = int (input()) for _ in range (m): t = str (input()) if t in dic.keys(): dic[t] -= 1 else: dic[t] = -1 dic = sorted (dic.values(), reverse= True) ...
[ "matsuedanaoki@matsuedanaokinoMacBook-Air.local" ]
matsuedanaoki@matsuedanaokinoMacBook-Air.local
49244d4c23fe971dbd78845ae5cdde2a76d7a785
d5f8bd2eda991aab031d7c82cfba7ed25bfec8a0
/example_00531_capm.py
61564e400fb4c02bcc72ffc12f1ceffdb7035ce7
[]
no_license
alx1974/example_00531_capm.py
3a8db059423fc5b2cff5117135e799c9936d40ec
cb2393ab0d13b80a41723b4b973064aa34195c96
refs/heads/master
2020-08-07T13:48:56.456758
2019-10-07T20:10:13
2019-10-07T20:10:13
213,476,268
0
0
null
null
null
null
UTF-8
Python
false
false
990
py
#coding=utf-8 #Implementiere einen Rentenrechner #Anfangskapital: 100 #Zinsen: 6% #Laufzeit: Jahre #Formel für die Zinseszinsrechnung: Anfangskapital * ((1+(Zinsatz/100)) ^ jeweiligen Jahre) #Anfangskapital*math.pow(Zinsen,1) """ Ergebnis: Anfangskapital: 100 Zinssatz: 6.0 Veranlagungszeitraum: 5 Kap...
[ "noreply@github.com" ]
alx1974.noreply@github.com
58f793fa360ca73d3b4cbe3845e7334c9d7d297b
e2b8bb620aa714db3b92787b4adc24257153303b
/escapeRoom/collide.py
8c2ffd3562004f3fa2c8b0ed7d7ee0ca3b17f88f
[]
no_license
xaveng/escapeRoom
b4f31b275bab72d7d3035d55f0f59c3995a0df10
965cef4fb8b97a988201af79ffaf9409dc64904c
refs/heads/master
2021-01-23T06:34:57.753306
2017-05-31T05:48:10
2017-05-31T05:48:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,338
py
from typing import Tuple, Optional, Union, List import mmath as mm from actor import Actor, ActorGeneral import myclib as c ######## Interface ######## def checkCollision(fromCol:Union["Aabb"], fromColParent:Optional[Actor], toCol:Union["Aabb"], toColParant:Optional[Actor]) -> bool: if isinstance(fromCol, Aabb)...
[ "woos8899@gmail.com" ]
woos8899@gmail.com
e5ed60b0ee074f5aef6c1a6a87a551154b7fa049
3bda43b935e8009e1c57afbb3538a6fc595f6a6c
/pattern9.py
5ca6f2d5b70097f25abdccdf6cdfa5c71bb47488
[]
no_license
Somi-Singh/pattern_loop
51639ee4c01c9cc1aa50e6aa1a7471dea977e499
aa5881f0098cfcdc54428237159ba0d33832cc33
refs/heads/main
2023-06-06T04:28:36.608971
2021-07-01T10:55:40
2021-07-01T10:55:40
382,000,674
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
i=1 while i<=4: j=4 while j>=i: j-=1 print(chr(1+64),end="") print() i+=1
[ "noreply@github.com" ]
Somi-Singh.noreply@github.com
ccbad47dcdb8cd7490b0ffa376dcd0241742689b
1968f0c1eb15671cf194396c36fef48b15d5b41c
/invisible_cloak.py
c2d71eda20355601b4894b8a80debb9bf2086f5d
[]
no_license
pipaliyajaydip/invisible-cloak
2e1b906b6468120f997dece00bc4c18aaf98ec05
c9fee3101d7955a75fe24bfa4375be17d14b99dd
refs/heads/master
2022-12-26T23:42:01.655518
2020-10-01T10:39:10
2020-10-01T10:39:10
300,242,979
0
0
null
2020-10-01T10:44:16
2020-10-01T10:44:16
null
UTF-8
Python
false
false
2,993
py
import cv2 import numpy as np import time # replace the red pixels ( or undesired area ) with # background pixels to generate the invisibility feature. ## 1. Hue: This channel encodes color information. Hue can be # thought of an angle where 0 degree corresponds to the red color, # 120 degrees corresp...
[ "noreply@github.com" ]
pipaliyajaydip.noreply@github.com
c26c655c0b2acadf4ab6b73048fb199086ea3982
9a9d92e37ebffef3dcd506866b42078c2f77e352
/aula14/loop_while14.py
9b22f602cc64ec251c044e05a44a344803ac5fdd
[ "Apache-2.0" ]
permissive
Eduardo-Quirino/python
56aef1a1a8db757dacddbd9db458f3b35ab0180f
acece64c8ed9f35bc94d111861acf65b50ae263c
refs/heads/main
2023-07-30T11:15:59.196167
2021-09-28T20:12:32
2021-09-28T20:12:32
407,590,194
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
#Loop While i =0 while i <= 10:#condição print(i) i += 1 print("Fim do Loop") input()#mantem janela aberta
[ "edu.3532@gmail.com" ]
edu.3532@gmail.com
2aeace56ea0b94aa977eb477a1d735c93c4925aa
f2be5c384cfaf10b8c0d1299c2a2173b5c470362
/py_socket.py
764a988653ea76f6fbe136f19f621af9c8ac3103
[]
no_license
RunningPixEl/Hello-World
2397f4fb83385e897ff7915b1cb309ad0ea06406
006068202e12e92f48234583192e8309e076b526
refs/heads/master
2021-06-26T05:13:59.864153
2020-01-21T15:04:57
2020-01-21T15:04:57
98,280,468
0
0
null
2017-07-26T01:08:07
2017-07-25T07:59:18
null
UTF-8
Python
false
false
2,993
py
# !/usr/bin/python # -*- coding: UTF-8 -*- # # import socket # 导入 socket 模块 # # s = .socket() # 创建 socket 对象 # host = socket.gethostname() # 获取本地主机名 # print host # DESKTOP-ME6P9CV # port = 12345 # 设置端口 # s.bind((host, port)) # 绑定端口,将套接字绑定到地址,在AF_INET下,以元组(hos...
[ "noreply@github.com" ]
RunningPixEl.noreply@github.com
882606403a4cdb4e700a3c5363a2d1e08625f56d
d3165876e8125ba2a6207198f9f1c41adab22290
/myWeb/apis/user.py
e0d4434dc12c3be663cc24f79b6c99ffa80fbb3d
[]
no_license
JcwGitHub/Cloud_server
ecbd7f824669d87b9231a8b1a30992db7bf660bb
d8f43d380d81d596cf043ea99fd434a08743992a
refs/heads/master
2021-08-31T02:57:20.760298
2017-12-20T07:50:01
2017-12-20T07:50:01
111,689,831
0
0
null
null
null
null
UTF-8
Python
false
false
2,309
py
#coding=utf-8 from django import forms from django.contrib import auth from django.contrib.auth.models import User from django.http import HttpResponse from myWeb.apis import goods from myWeb.apis.localdefine import gusername,gpassword,gresponcache from myWeb.utils.requestmanage import requestpmanage from d...
[ "772763832@qq.com" ]
772763832@qq.com
ca6d6152b3ba3adb92fb1a3b4b6d72c5875271d5
ec5e4dacb30800828ae4d68f9d87db523293ab65
/fb_post/views/create_comment/tests/test_case_01.py
d3a4ca4366ac755f7266092eef1c459667e60275
[]
no_license
raviteja1766/fb_post_learning
54022066ba727220433cb72c43458f9cb6164b24
889718fc8f138888aea1b66455fa68c000a02091
refs/heads/master
2022-11-08T17:39:40.275922
2020-06-25T11:19:28
2020-06-25T11:19:28
274,897,124
0
0
null
null
null
null
UTF-8
Python
false
false
952
py
""" # TODO: Update test case description """ from django_swagger_utils.utils.test import CustomAPITestCase from . import APP_NAME, OPERATION_NAME, REQUEST_METHOD, URL_SUFFIX REQUEST_BODY = """ { "content": "string" } """ TEST_CASE = { "request": { "path_params": {"post_id": "1234"}, "query_pa...
[ "ravitejak125@gmail.com" ]
ravitejak125@gmail.com
3c5940cff2207c22d5984ea4da03a02703864981
45e60cd08e1bf2bc979e1e4d89101aa24de7fdc8
/tools/graphs.py
5d20dc769bb0d72ced6f14d751adda7f46e80ab4
[ "MIT" ]
permissive
ad3002/Lyrebird
7662a0e65fdae810ea22214f1a75d212baf31b5a
8c0a186e32d61189f073401152c52a89bfed46ed
refs/heads/master
2022-06-16T07:54:34.837463
2022-05-12T09:58:09
2022-05-12T09:58:09
106,826,158
1
0
null
null
null
null
UTF-8
Python
false
false
9,710
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # #@created: 21.05.2014 #@author: Aleksey Komissarov #@contact: ad3002@gmail.com """ Repeat can be revealed as: 1) set of kmers forming it; 2) de Brujin graph from these kmers. Starting from the most frequent (conservative) kmer, we extend it to left and to right getting p...
[ "ad3002@gmail.com" ]
ad3002@gmail.com
31932de0f7c8b903567b54db32e63c2a47e3474c
96b66f843316a25e0ba200504f4207100466c0c8
/ex34.py
1617ebd5db616c296029f44547e4e3e7fec8306f
[]
no_license
LiHaiBaoBao/learn_python_the_hard_way
7ad382ab5013e17d85b8ea8c94c03c586714ee9d
ebbb1c65b51a3b3a9fc2241b867fd3e8b3eba589
refs/heads/master
2020-03-09T00:58:35.003127
2018-04-07T06:07:51
2018-04-07T06:07:51
128,501,691
0
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
from sys import exit def gold_room(): print "This room is full of gold. How much do you take?" next = raw_input("> ") if "0" in next or "1" in next: how_much = int(next) else: dead("Man, learn to type a number.") if how_much < 50: print "Nice, you're not greedy, you win!" ...
[ "382174276@qq.com" ]
382174276@qq.com
13d04fcb0c47f0b5eaa3044125faa9f70fe6f6cf
f441d86d1de8e1d75057f5c8c92ae012c2e35b92
/GEOS_Util/coupled_diagnostics/verification/levitus/__init__.py
23c96548ce4b269997fde00dd498a1783bf51537
[]
no_license
ddlddl58/GMAO_Shared
95f992e12b926cf9ec98163d6c62bac78e754efa
e16ddde5c8fab83429d312f5cff43643d9f84c94
refs/heads/master
2021-05-20T20:46:26.035810
2020-04-01T20:32:10
2020-04-01T20:32:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,574
py
import os import scipy as sp from my_lib import dset, grid import datetime from dateutil import rrule __all__=['ctl'] class Ctl(dset.NCDset): def __init__(self): name='Levitus' oceanval=os.environ.get('OCEANVAL', '/discover/nobackup/projects/gmao/oceanval/v...
[ "yury.v.vikhliaev@nasa.gov" ]
yury.v.vikhliaev@nasa.gov
95919c9c184914a3207a5e31d14b2c8fc5db7b60
a621633460ba31b87f923fcaea3643a0d1637750
/bitdefender/test1/trav.py
a26aca1ba138f6ebd57da321d1f0d139229e689c
[]
no_license
BogdanFi/cmiN
edeb8316fcfd23c8525066265bac510f7361ebed
b3938f025f837df5213c8602e5854a46f2d624d3
refs/heads/master
2020-04-28T09:01:26.127160
2018-07-03T16:12:08
2018-07-03T16:12:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,022
py
#! /usr/bin/env python import sys import os import hashlib LET = "Z" CHUNK = 1024 STR = "This file is ok" LOG = "fisiere.log" PATH = None def log(string=""): with open(LOG, "a") as fout: fout.write(string + "\n") def get_md5(path): md5Obj = hashlib.md5() try: f...
[ "cmin764@yahoo.com" ]
cmin764@yahoo.com
7d77677288fdc9658a84e737d5dddef4b5fa3c15
867c88c0db4dac62ecb38dc8315d4cdfa85744a5
/program/test_submission3.py
174477c2da9c3a648c53d863d3b47230717b95ed
[]
no_license
platypus1989/numerai
e377f33e05695e853a513c6ce16a1e877c7d3bd5
283d245893076d9736335f8f2090b4e5b00d31cc
refs/heads/master
2020-03-18T20:23:23.882818
2018-11-15T20:52:14
2018-11-15T20:52:14
135,212,531
0
0
null
null
null
null
UTF-8
Python
false
false
5,646
py
import pandas as pd import numpy as np from sklearn.metrics import accuracy_score, log_loss import lightgbm as lgb from time import time from sklearn.svm import SVC from sklearn.tree import DecisionTreeClassifier from sklearn.ensemble import RandomForestClassifier from sklearn.linear_model import LogisticRegression fro...
[ "n0269042@lm.lmig.com" ]
n0269042@lm.lmig.com
875afbf834908f7087f2238ae6777345a6240b06
ca7e89098705ee47be11b05fe1a113bc20799808
/postjob.py
c5aa26d83dd50946c76a6e3549291afea43d812d
[]
no_license
SinjinJang/python-opencv-imagecropper
30d64c9fbb1145315b50fcc184107ef8ae460a47
c720da676bb06276842114462120cf78c789e7e3
refs/heads/master
2020-06-02T10:37:24.080929
2019-11-06T05:03:35
2019-11-06T05:03:35
191,129,169
1
0
null
null
null
null
UTF-8
Python
false
false
1,722
py
import argparse import os import sys import cv2 import numpy as np def do_main(dir_in, dir_out, size): files = [{'src': os.path.join(dir_in, file), 'dst': os.path.join(dir_out, file)} for file in os.listdir(dir_in) if os.path.isfile(os.path.join(dir_in, file))] for file in files: img = ...
[ "sinjin@stronghold.kr" ]
sinjin@stronghold.kr
086c125db213cb6cce6b2c7e213a1128666084d4
04ba4d4b5d358a815a38c813b51a374e5d9acd86
/app/migrations/0002_auto_20150826_2234.py
f5e6145e83708a8be480bf5657eaf7384825980d
[]
no_license
Yoo2/SabangPalbang-server
393afe2cfef9fbc1d866dd0ecb960b4c6995622b
ce1977bcaf37e0cb7f2c0f2d773f9d93c239f811
refs/heads/master
2021-01-01T04:31:04.950665
2016-04-21T16:11:44
2016-04-21T16:11:44
56,788,602
0
0
null
null
null
null
UTF-8
Python
false
false
691
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('app', '0001_initial'), ] operations = [ migrations.AddField( model_name='room', name='kitchen', ...
[ "yoo2yoo2yoo2@gmail.com" ]
yoo2yoo2yoo2@gmail.com
47caea1c49197c9d2faacd6924bd6eee72b8dc49
021e550da175c7fe4d7b108553f9d71bb0be1044
/stubs/Rhino/Rhino-stubs/ApplicationSettings/__init__.pyi
41b08231861a084621b0b6a9dede1d8d5f50c75b
[ "MIT" ]
permissive
rlldx/pythonstubs
b1d00438ae44618bbce30e61a0072316d6a284e8
6338085cae231f3f76ba272e72e670be7bc6e8a2
refs/heads/master
2020-05-02T16:54:25.088269
2019-03-10T06:05:33
2019-03-10T06:05:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
44,839
pyi
from typing import Tuple, Set, Iterable, List class PaintColor: NormalStart = 0 NormalEnd = 1 NormalBorder = 2 HotStart = 3 HotEnd = 4 HotBorder = 5 PressedStart = 6 PressedEnd = 7 PressedBorder = 8 TextEnabled = 9 TextDisabled = 10 MouseOverControlStart = 11 MouseOv...
[ "steve@mcneel.com" ]
steve@mcneel.com
a05e4fa1f1c5fa3696fae51ce274f1ad101d3175
15131f068ff3f457c4f405310cd375274d913c63
/backend/long_limit_29117/settings.py
75a0a84a46ff0f64d98eeb0b6ddb2709b73bb5a8
[]
no_license
crowdbotics-apps/long-limit-29117
749cf2c7a7d2e2fcdb9464eb327a4f6799e0f18c
de1f20fe4298f9833f4c3c10bedd689d0b078024
refs/heads/master
2023-06-22T16:29:54.695478
2021-07-24T17:16:00
2021-07-24T17:16:00
389,157,594
0
0
null
null
null
null
UTF-8
Python
false
false
6,927
py
""" Django settings for long_limit_29117 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
a135db2c9afff8bc59d6785b2b646725fb751016
d1376938086c65e8b7d5d0d9618278fd8dfb1cfd
/Python/Scripts/j1.py
4611b83b23d87d43cd126568360077f5a97b5f03
[]
no_license
DataEdgeSystems/Project
a6d235b1c0800a9ffb19e6163e69f07918ebce29
09ec31b385c7be62275079a7fb1826377d861365
refs/heads/master
2022-11-20T18:39:22.850454
2020-07-17T06:46:16
2020-07-17T06:46:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
import turtle turtle.write("welcome") turtle.showturtle() turtle.forward(300) turtle.down() turtle.right(90) turtle.showturtle() turtle.color("green") turtle.circle(50) turtle.home turtle.goto(100,100) turtle.showturtle()
[ "ripattna@gmail.com" ]
ripattna@gmail.com
e845609c5e19bc9814ba6a8e189484b2eb4d5df5
0a07d0f59cd7eb8ce817c74cc114d177f56306e3
/06_nested_loops/exercise/01_number_pyramid.py
3a08d4af43ad1af6f05e9b5e8569beb0b3d261cf
[]
no_license
M0673N/Programming-Basics-with-Python
10c777cec5ed4fcbf9f18dc7c81daa3c7bd406ad
cd23423d49f7fb0423d9f87c5b23dce3275bac21
refs/heads/main
2023-05-27T16:13:11.329033
2021-06-06T19:00:24
2021-06-06T19:00:24
360,933,804
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
n = int(input()) number = 1 for row in range(1, n + 1): for col in range(1, row + 1): if number == n + 1: break print(number, end=" ") number += 1 if number == n + 1: break print()
[ "m0673n@abv.bg" ]
m0673n@abv.bg
b192b0139643aeaa2d99a2f6c1f54e1c3f8dfba1
29a3f50f174a0cc580dce7993b9f7657b68a1f2b
/game.py
c1d45c80e1127a69cca87b360926ad4f16eca78f
[]
no_license
rachel-lynch-lin/guessing-game
91029aa7804acc5100484d2913452f48e132f452
5c0bb9b0cc87d170c1ecd850909da169b9284952
refs/heads/master
2020-03-31T23:40:39.043128
2018-10-11T23:28:17
2018-10-11T23:28:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
"""A number-guessing game.""" import random print("Welcome to the number guessing game!") x = 1 y = 100 number = random.randint(1, 100) def get_player_name(): """Get player name""" player_name = input("What is your name?\n> ") return player_name def choose_number(): """Give instructions to pick ...
[ "lynch.m.rachel@gmail.com" ]
lynch.m.rachel@gmail.com
64faf82afc1c94f54f8752695c64bee119a63459
cd7ba8bf9b9be1a241824b18876884b401487929
/backend/app/db/schemas/node_threat_node_threat_type_mapping.py
85ecda38138a45059a6418d8f6a44954369c31b5
[ "Apache-2.0" ]
permissive
secveer/ace2-gui
431d0a71480a312b47e220a8ca48fcdc27b0e844
e3b1ad6c29cc7028e1765414b00e679357f68168
refs/heads/main
2023-06-23T04:26:56.456195
2021-07-14T14:48:55
2021-07-14T14:48:55
386,599,325
1
0
Apache-2.0
2021-07-16T10:33:25
2021-07-16T10:33:25
null
UTF-8
Python
false
false
572
py
from sqlalchemy import Column, ForeignKey, Table from sqlalchemy.dialects.postgresql import UUID from db.database import Base node_threat_node_threat_type_mapping = Table( "node_threat_node_threat_type_mapping", Base.metadata, Column( "node_threat_uuid", UUID(as_uuid=True), Foreig...
[ "22526682+automationator@users.noreply.github.com" ]
22526682+automationator@users.noreply.github.com
1dcd10d102292df3d3efe9a9459e88d24a030c11
5e995fa1e8a3fbc32ad82e63ebcb7fc9a6c27627
/set1/dbu_program094.py
07f0f45a1c6a0462a43ebb99dddc9def6510f888
[]
no_license
Snehal-610/Python_Set
5915d8fbf2c02a01576ae22ae1f57e60e71e9ecc
9bfe235853ece9f559dd8276a900e47ce0ff55db
refs/heads/main
2023-08-15T03:30:31.738909
2021-09-22T05:38:30
2021-09-22T05:38:30
408,701,180
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # program 94: # With a given list [12,24,35,24,88,120,155,88,120,155], write a program # to print this list after removing all duplicate values with original # order reserved. # Hints: # Use set() to store a number of values without duplicate. l = [12, 24, 35, 24, 88, 12...
[ "snehalparekh84@gmail.com" ]
snehalparekh84@gmail.com
78c1605b5a8ae190998239bac4d4003d7802c2bf
6abcc03e9b13059984aa01fe47f26f393b1a1480
/portfolio_app/views.py
82c9d3f6d0df27b3270397af6c1e16e487e8b9ef
[]
no_license
pwidders/portfolio
b463ec1ec6ced6f191a6474718df665897da6fc9
fdf648f6ac05f0523d685e6330d5db63256a4a2f
refs/heads/master
2022-11-17T17:41:59.983017
2020-07-15T04:49:55
2020-07-15T04:49:55
278,418,271
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
from django.shortcuts import render from django.core.paginator import EmptyPage, PageNotAnInteger, Paginator from .models import Project def home(request): projects = Project.objects.all() paginator = Paginator(projects, 6) page = request.GET.get('page') paged_projects = paginator.get_page(page) ...
[ "pwidders@hotmail.com" ]
pwidders@hotmail.com
6a74af82b1c801d9a90b19bfe26f5316c9d86b55
f6b4aede2bf331eb6a6d7e09a237b5cbbd9c878e
/marketplacedigital/shop/migrations/0011_auto_20161019_1918.py
5b9a1b5a6d8a1f8b32c51639109877103e64c556
[]
no_license
victoraguilarc/marketplacedigital
946911a167c98723d2f18d5841509f692bdeda18
78be2a2f2cc945da34e1872d805c89e288795efd
refs/heads/master
2021-06-09T12:06:55.547190
2016-11-17T18:15:18
2016-11-17T18:15:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-19 21:18 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import shop.models class Migration(migrations.Migration): dependencies = [ ('shop', ...
[ "contato@felipegalvao.com.br" ]
contato@felipegalvao.com.br
b0489bd24caeaaf0ce9996ca35046cfccf718050
ac8b725681e25177c5de3daf58afe00135241d0f
/leetcode/0136_single_number.py
ce6423738f0aa2d3b5644e971dda3130faedfdde
[ "MIT" ]
permissive
jacquerie/leetcode
7af100ea1d7292c8c3da34210cf04d891be5561b
0cb213b9c7bcb6efa11210e9ebc291befb560bb9
refs/heads/master
2022-05-19T22:19:46.284065
2022-03-27T02:41:58
2022-03-27T02:41:58
129,323,741
3
0
MIT
2021-01-04T01:41:50
2018-04-12T23:51:56
Python
UTF-8
Python
false
false
330
py
# -*- coding: utf-8 -*- class Solution: def singleNumber(self, nums): result = 0 for num in nums: result ^= num return result if __name__ == "__main__": solution = Solution() assert 1 == solution.singleNumber([2, 2, 1]) assert 4 == solution.singleNumber([4, 1, ...
[ "jacopo.notarstefano@gmail.com" ]
jacopo.notarstefano@gmail.com
1a2211990cda985b834f08be99c2965b94df71b6
c1568b160dda9107509ed4b3c482405ca5d90cc5
/main_cui.py
1ec252fc10cf872d0f3fde646368ee0bead88d2f
[ "MIT" ]
permissive
Art-1985/SerialComPython
5c4c69dfedbbd8c067a6efe7ee8869eae5124db2
7da7ec32e9fd5c9bd0f3cb9fa01cca2a23b75c1f
refs/heads/master
2021-01-04T07:19:08.248475
2019-08-18T04:35:44
2019-08-18T04:35:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
#! /usr/bin/env python3.7 # -*- coding: utf-8 -*- # Created by kayrlas on August 10, 2019 (https://github.com/kayrlas) # main_cui.py from serialcompy import SerialCom if __name__ == "__main__": com = SerialCom(baudrate=9600, timeout=0.1, writemode=True) com.start_serialcom()
[ "31058064+kayrlas@users.noreply.github.com" ]
31058064+kayrlas@users.noreply.github.com
e04a8b7c58fa1ab8782199327a6a27fa183ded49
7832e7dc8f1583471af9c08806ce7f1117cd228a
/aliyun-python-sdk-rds/aliyunsdkrds/request/v20140815/StartArchiveSQLLogRequest.py
dea0e8656104d0cc61b24edf93aa28bcc7e5a2f3
[ "Apache-2.0" ]
permissive
dianplus/aliyun-openapi-python-sdk
d6494850ddf0e66aaf04607322f353df32959725
6edf1ed02994245dae1d1b89edc6cce7caa51622
refs/heads/master
2023-04-08T11:35:36.216404
2017-11-02T12:01:15
2017-11-02T12:01:15
109,257,597
0
0
NOASSERTION
2023-03-23T17:59:30
2017-11-02T11:44:27
Python
UTF-8
Python
false
false
2,742
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "haowei.yao@alibaba-inc.com" ]
haowei.yao@alibaba-inc.com
322be270a39cddcf47218ccadcbd9963f2929efc
6c512b7d2ae4b1ad713a57f74a4816e1291ba7a1
/python_3/experiments/expr_generate_random_email_addr.py
ffdb0114212f3743389a9430fcc54266bf9dc738
[ "MIT" ]
permissive
duttashi/applied-machine-learning
451389e8f27931f32132a148e93effa7c6352536
ff3267b97d9dd7122400754798e06fb493daa40a
refs/heads/master
2021-12-17T19:12:39.531717
2021-12-04T09:36:46
2021-12-04T09:36:46
169,368,684
0
2
MIT
2021-12-04T09:36:47
2019-02-06T07:19:08
R
UTF-8
Python
false
false
1,002
py
# -*- coding: utf-8 -*- """ Created on Sun Feb 21 09:02:51 2021 Objective: To generate a random list of email addresses and write to file Reference: https://codereview.stackexchange.com/questions/58269/generating-random-email-addresses @author: Ashish """ import random, string domains = ["hotmail.com", "gmail...
[ "ashish.dutt8@gmail.com" ]
ashish.dutt8@gmail.com
3f54e042b195335242ba0e1963abcc48a78e159c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2179/60671/241345.py
f325de92ff5e7cd5ef53723502109c4b2092086d
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
44
py
print(1) print(1) print(2) print(2) print(2)
[ "1069583789@qq.com" ]
1069583789@qq.com
d186abb8c12ce87ed25813d81588543d80a00262
2cc8ace39ec930135b9f5fc212dea313ebf46520
/EM Algorithm and K-Means/511_7.4.py
03139db0ec195f4d5e7df113e612b3de2239d534
[]
no_license
yaashia2020/Stochastic-Processes
9dd8c404b9296453fe334723381b95cf29afe8d0
09665a4864c821e1dd79a75f8b7475ebcf975d0d
refs/heads/main
2023-01-05T11:26:43.703796
2020-10-24T02:52:18
2020-10-24T02:52:18
306,779,529
0
0
null
null
null
null
UTF-8
Python
false
false
2,745
py
import numpy as np import random import matplotlib.pyplot as plt from scipy.stats import sem from sklearn.cluster import KMeans from scipy.stats import multivariate_normal wait=[] eruption=[] with open("F:\\2nd sem\\EE 511/faithful.dat") as i: wait = [float(line.split()[1]) for line in i] with open("F:\\2nd se...
[ "ygautam@usc.edu" ]
ygautam@usc.edu
311156f8239a389a290dc4236e887b30ac0c61d8
65b990538c684d0fe6acf239f7611b40e5ba3927
/02_some_web_anti-crawl_cases/picture_disguise/case.py
1438ba440c6e796e80e2a2312d56d0e32e914a0d
[ "MIT" ]
permissive
zlj-zz/python-crawler
a7d385a4f94a47a81957d4b6a8b80be1b62dfabf
a6ed670ad332bd456572eeff707bd5fc14186b3d
refs/heads/master
2023-08-15T13:56:47.056936
2021-09-26T02:51:45
2021-09-26T03:09:48
253,190,849
0
0
MIT
2021-02-27T14:18:20
2020-04-05T08:42:38
Python
UTF-8
Python
false
false
1,005
py
#!/usr/bin/env python3 # -*- coding:UTF-8 -*- __author__ = 'zachary' """ File Name: case.py Created Time: 2020-04-03 17:08:31 Last Modified: """ import io import os import requests from parsel import Selector from urllib.parse import urljoin try: from PIL import Image except ImportError: import Image import p...
[ "zlj19971222@outlook.com" ]
zlj19971222@outlook.com
c71f3a45ea196b301895cee912a5de68ef84181b
fa0cc66c834563c4dbd82670057210a7f0dea1ae
/src/params.py
d3adc4d51ede2e4ee3a4c15065b8b16cb037df21
[]
no_license
c3sr/TextStyleTransfer
c814e99c2f384512dd184074f4a9d01483387d80
de31a2fd2419567ccf0a00bcf6943c0a9a37341a
refs/heads/master
2022-11-12T08:02:42.587454
2019-05-27T01:14:33
2019-05-27T01:14:33
277,907,708
1
0
null
null
null
null
UTF-8
Python
false
false
283
py
#extra_words = ["<TOS>", "<EOS>", "<UNK>"] extra_words = ["<TOS>", "<EOS>", "<UNK>"] start_token = extra_words.index("<TOS>") end_token = extra_words.index("<EOS>") unk_token = extra_words.index("<UNK>") # weights style_weight = 1.0 semantic_weight = 0.4 #0.4 lm_weight = 0.1 #0.8
[ "annfirst1111@gmail.com" ]
annfirst1111@gmail.com
1a5fbac32b6195eabe7f4fb3f4d36dfe1bf93343
0a6229c2e554c538cc8e24a093452278054ae4ee
/CivilViolenceAgents.py
23342669fdc5b12d83db5c50fcf54620787aeeaf
[]
no_license
fabero/Civil-Violence-Modelling-A05
fb74bda3cd7c2dfc0b7a9862fa3df39ba2a118c7
9fe348232e5522e4d2a1032477a3d7a6e8235250
refs/heads/master
2022-12-14T23:34:03.403090
2019-10-19T08:03:34
2019-10-19T08:03:34
209,054,356
0
0
null
2022-06-21T22:51:23
2019-09-17T12:57:22
Python
UTF-8
Python
false
false
12,707
py
import math import random from mesa import Agent from settings import PROPAGANDA_AGENT_CLASS,POPULATION_AGENT_CLASS,COP_AGENT_CLASS FACTOR = 1 class PopulationAgent(Agent): ''' An agent from the population distribution, can become active and be jailed Movement Rule: Move to a random empty cell within loc...
[ "noreply@github.com" ]
fabero.noreply@github.com
157c242d00f6b67b757949ab19e8c041f7f5e080
d040c0060ac58ca3565448fbab5c470526dae162
/a2/sgd.py
f65693833b4fc074d596f3af9bdc86b56f3edff0
[]
no_license
ahmedbahaaeldin/CS224n-Solutions
60c29d6e426ca52194613ac72f4d29df0994aacb
5a68bae84352919c50dcdc190c087de6f151ae75
refs/heads/master
2020-06-20T16:32:04.086723
2019-09-17T07:40:52
2019-09-17T07:40:52
197,178,960
1
0
null
null
null
null
UTF-8
Python
false
false
3,522
py
#!/usr/bin/env python # Save parameters every a few SGD iterations as fail-safe SAVE_PARAMS_EVERY = 5000 import pickle import glob import random import numpy as np import os.path as op def load_saved_params(): """ A helper function that loads previously saved parameters and resets iteration start. ""...
[ "noreply@github.com" ]
ahmedbahaaeldin.noreply@github.com
71c556e97b77513bc66a246281dd90d8289f3e03
f41aaf434552e68099e9be432be576089d7ffdb6
/venv/bin/easy_install-3.8
728e228d8677314f7e5c389ec566a2af6c1608a0
[]
no_license
MuhammadRafeh/flask-save-food
ca6dfb61eb83521fe4d268692d3eec55a2617839
ae0c98986ec0fb8da99e983a7b9a86d6751af255
refs/heads/main
2023-04-02T09:20:19.420198
2021-04-10T17:13:13
2021-04-10T17:13:13
355,073,883
1
0
null
null
null
null
UTF-8
Python
false
false
267
8
#!/home/muhammad/Desktop/Flask_project/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "muhammadrafehatique@gmail.com" ]
muhammadrafehatique@gmail.com
84af3e9eb629f91b97479e4f4cbec0d2df0a7365
4870872bdf26c04f71778818833d545effb6b839
/client-library/subscriber/python/conixsubscriber/__init__.py
97d4a920c8bbd5916d9be7257113f2dedbf20d61
[ "MIT" ]
permissive
conix-center/smart-cities-demo
295a62a7648e9b16e4f04602b38e80ea0d4d8dca
e4218b6ee2b070b02334771e4b497b9bf8655929
refs/heads/master
2020-03-27T19:08:53.626010
2018-09-25T20:00:44
2018-09-26T14:01:55
146,968,462
0
1
null
2018-09-13T14:33:06
2018-09-01T04:48:22
null
UTF-8
Python
false
false
31
py
from .conixsubscriber import *
[ "adkins@berkeley.edu" ]
adkins@berkeley.edu
8aa9d9fcf49ba45926f4236ba7bc0f1519fda291
8373891fe555d52cb0b1515e4c1e9a62957785d6
/Scripts/Arquivos-Python-com-SQLAlchemy/7 - Python com SQLAlchemy/ALL_ALC.py~
815b6c7e4817db1979a91506e49ef6daf5061ffe
[]
no_license
altairlage/curso_python_devops
78fb30308ca313cf75a7f4d68a65c8896bacaa96
e609c3d277160ebd52aa80ceea118d194d89b727
refs/heads/master
2021-04-28T13:33:44.093054
2018-03-23T01:21:51
2018-03-23T01:21:51
122,108,056
0
0
null
null
null
null
UTF-8
Python
false
false
1,183
#!/usr/bin/env python # -*- coding: UTF-8 -*- # ALL_ALC.py """ Nesse script vamos fazer todas as alterações em um só arquivo! Modificado em 30 de março de 2017 por Vitor Mazuco (vitor.mazuco@gmail.com) """ import sys try: from sqlalchemy import create_engine from sqlalchemy import Column,Integer,String...
[ "altair.campos@watchguard.com" ]
altair.campos@watchguard.com
60c7c5dc505c5e918ac32fcdb901db1215bc9337
4059f1a6e3ce999b8d3426797fcaa58f922725ac
/main.py
1e7109c0d36af1d3afdea05ea39a7313010fd73e
[]
no_license
rafass90/race-test
c4a125bc4f3e2a3c4f893dc13a2dcade4294ead0
980194b2b61ce0efb7ab03bb9cb4e266699b1a10
refs/heads/master
2020-06-17T21:45:46.913286
2019-07-10T18:53:36
2019-07-10T18:53:36
196,065,711
0
0
null
null
null
null
UTF-8
Python
false
false
742
py
import pathlib import sys from core.builder import Builder from utils.file import Reader, Writer def gympass_race(params): if len(params) >= 3: log_path = str(params[1]) result_race_path = str(params[2]) else: log_path = pathlib.Path(__file__).parent / 'data/race.log' result_r...
[ "rafael9s9@hotmail.com" ]
rafael9s9@hotmail.com
ddbbe471609a29e586f7a797f3dcbe547160afbb
e29079f7144fee878a221673ae900cf3be2fb55d
/tasks.py
058a26e769a83fb38a27f4d29d195c187b0f29d2
[]
no_license
Vilkoc/RabotyNET_pytest
8f04b37a41aad8ec7d4a5fb9b49e08d5073bab54
3598a549b2cbc8e57151d48569a4aed72b54de9e
refs/heads/dev
2021-06-14T10:03:01.492037
2019-08-13T16:46:46
2019-08-13T16:46:46
202,167,803
0
0
null
2021-06-02T00:17:33
2019-08-13T14:59:09
Python
UTF-8
Python
false
false
88
py
from invoke import task, run @task def build(c): run("nosetests --detailed-errors")
[ "nvoloshchuk19@gmail.com" ]
nvoloshchuk19@gmail.com
a5560ddaa8aa296f8ee9d0c75c97b506a5e0039e
3dad04206f103f28c455fe5639ea02704543b19a
/staticfiles/admin.7180a8cb7259.py
55a6e8bd6ebc19c09d4bc1ba6ace8d5c91c1b8df
[]
no_license
Jrsnow8921/Snow_Help_Desk
0541c27f7cc16348e4481365f6fad890b2c7f405
38e172ac8d71fabb968c0d719c9e40ac19209277
refs/heads/master
2021-01-19T17:44:21.505142
2015-08-14T14:36:22
2015-08-14T14:36:22
40,719,483
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
from django.contrib import admin from .models import Choice, Question class ChoiceInline(admin.TabularInline): model = Choice extra = 3 class QuestionAdmin(admin.ModelAdmin): list_display = ('question_text', 'pub_date') list_filter = ['pub_date'] search_fields = ['question_text'] fieldsets ...
[ "jrsnow8921@gmail.com" ]
jrsnow8921@gmail.com
c7cb5023e4e2f884d0cf2a064eb72713c56ef63d
d229b12834c4edce04af9262f622397c67272a1f
/python_basics/whileLoop.py
53a32e4088d101646e40664b816b4227b74dc422
[]
no_license
ravinduu/python
9bdfe859c444601dce9eab12277dbdedd4794b9a
157bfdf67b6879d2d31dfaeab28819c0cfbf6b41
refs/heads/master
2022-10-22T18:40:44.965744
2020-05-29T10:28:18
2020-05-29T10:28:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
''' # ## ### #### ##### print above pattern using while loop ''' i = 0 #while loop while i < 5: j = 0 print("#",end="") while j < i: print("#",end="") j+=1 i+=1 print()
[ "ravindu.dilshan.rd@gmail.com" ]
ravindu.dilshan.rd@gmail.com
93827415ae37821e71067313653a75da55d3a9fc
20b284d720d79f6c4c71dee28c10827ce0124ab9
/models/sweep_dien.py
a398d6f6a987a9fb0325be0b3b4b62dae10cf370
[]
no_license
wongyung0/RecSSD-RecInfra
27d70114d8be11309a8faf2785f13c959ed02b7e
6f2566cd90c9657dd99b0adf5f36ec727f0447e6
refs/heads/master
2023-03-16T11:45:45.120543
2020-12-14T23:35:37
2020-12-14T23:35:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
import os, sys # Deep Interest Evolution Network num_epochs = 1 num_batches = 400 rt_config_cpu = "--inference_only --inter_op_workers 1 --caffe2_net_type async_dag " rt_config_gpu = "--inference_only --inter_op_workers 1 --caffe2_net_type async_dag --use_gpu " model_config = "--model_type dien --arch_mlp_top \"20...
[ "wilkening@g.harvard.edu" ]
wilkening@g.harvard.edu
bfd6ff554b6967372b1cd364637b21aa2a7cdda1
b38f409dfcb6c089c7a333d5a362deb4bdeeff51
/practical2/covarianceMatrix.py
b84d1f89b337eb53b84e344558e38ba0f9172a62
[]
no_license
sacha-cs/roberto
a1aca4503c626887cd9a8b975a342fc267af2bba
e8e3ae6131490fcd87e332d4e2d4b488075d5faa
refs/heads/master
2021-03-16T05:35:38.746082
2016-03-07T23:15:25
2016-03-07T23:15:25
50,520,196
0
0
null
null
null
null
UTF-8
Python
false
false
244
py
import matplotlib.pyplot as plt import numpy as np data = [] with open('resultsSquare.txt') as f: data = [[float(num) for num in line.split(' ')] for line in f.readlines()] data = np.array(data).T covMat = np.cov(data) print covMat
[ "sacha.cohen-scali13@imperial.ac.uk" ]
sacha.cohen-scali13@imperial.ac.uk
74c0067a89536b7cd0058000131b1ddf37375664
678240c5ec314e7ce925e627c1751c3e2eee9003
/directorHome.py
8856f62a63e391e63826f4e539f3f7b894dd9864
[]
no_license
Akhilez/GatePassSystem
adfc3d553df4d1998cc1241893e5e62a0ba575ec
f267e309a1b34a617fa8186781a9baf56af5d28d
refs/heads/master
2021-01-01T06:39:54.254871
2017-07-20T15:39:30
2017-07-20T15:39:30
97,476,932
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
#!/usr/bin/env python3 try: import cgi import sqlite3 import cgitb; cgitb.enable() path="/var/www/html/html/gatepass.db" con=sqlite3.connect(path) cur=con.cursor() form=cgi.FieldStorage() print("Content-type:text/html\r\n\r\n") f=open("directorHome.html","r") html1=f.read() f...
[ "noreply@github.com" ]
Akhilez.noreply@github.com
de2b3ca082ab4f20ce2b31fbaee41e83bbb2fcf7
389df8fab81d8021286ddafa9cc7dee3c23004df
/spacq/gui/config/pulse.py
7fd1ae5388928540aab8fd899aa88f08aa96b6b0
[]
no_license
jvosk/SpanishAcquisitionPy3Compliant
99d5633311b4a69b3318657dcc2f9d96c041c208
02d38c4cbfed11f1fe5a6e4242643aea13f66647
refs/heads/master
2021-01-20T20:14:56.358337
2016-08-16T21:50:12
2016-08-16T21:50:12
63,440,025
0
0
null
null
null
null
UTF-8
Python
false
false
20,923
py
from functools import partial from threading import Thread import wx from wx.lib import filebrowsebutton from wx.lib.scrolledpanel import ScrolledPanel from spacq.interface.pulse.parser import PulseError, PulseSyntaxError from spacq.interface.pulse.program import Program from spacq.interface.resources import Resource ...
[ "joshuavoskamp@gmail.com" ]
joshuavoskamp@gmail.com
28f28bc651a4d28e6ecd143268a61d21273fd3c0
127f6c29c82d95f19a6e38a63da2e37dad574a39
/BMW/bmw.py
e2b920d43190e7c744507083e7de5f06440c5e8c
[]
no_license
ovifrisch/Karfarm
f4796416804d4a0bf48a9b4159b797d84878deeb
83614dca4f351c89fbe9436bdbe91e8b5e16b440
refs/heads/master
2021-04-30T02:15:48.497898
2018-02-14T10:45:12
2018-02-14T10:45:12
121,499,391
0
0
null
null
null
null
UTF-8
Python
false
false
1,641
py
from bs4 import BeautifulSoup import requests def write_options_to_file(soup_object): progress = 0 for link in soup_object.find_all(attrs={"class": "cblt-button conversion"}): progress += 1 print(progress) new_link = "http://www.bramanmotorsbmw.com/" + link.get('href') new_r =...
[ "ovidiu.fritsch@gmail.com" ]
ovidiu.fritsch@gmail.com
1814d9dbec4268d36d8688981d7a7dc6b19d2358
edabc0e91b241a41e22c91bae87c06dd9f891b67
/budget/asgi.py
fe6b068a933bc04cd0971b5be9fa6f8890c6e99e
[]
no_license
HRS0986/Django-TestCases
4cb7b1f686cf32c7c6e5cc3bc9a10ce314ed91c0
9718a5c63c58af17914286782bf3f5cb28e4db6c
refs/heads/main
2023-04-06T13:32:54.104400
2021-04-22T02:17:26
2021-04-22T02:17:26
360,183,991
1
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" ASGI config for budget project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "heshanhfernando@gmail.com" ]
heshanhfernando@gmail.com
99861fb569c32082035d8650479168f37f338fc9
0551ca112d5d08392b9af590265c5ca180545126
/robot/library/Elevator/ElevatorSS.py
c30d5fbd064c30f650d58d27582002280d3fdb68
[ "MIT" ]
permissive
SimonAbrelat/PyFRC2019
b656ed15bd2b753c30c041e1de1e07f2c6b161e2
8019a1ef66a6556241470f8d387c17087a44ab77
refs/heads/master
2020-05-21T14:34:33.721108
2019-05-11T03:36:31
2019-05-11T03:36:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,009
py
import frccontrol as frccnt import numpy as np from .. import StateSpaceController class ElevatorSS: s_profile = False motion_profile = False def __init__(self, motor, num_motors, m, r, G, dt): self.dt = dt self.sys = frccnt.models.elevator(motor, num_motors, m, r, G) self.contro...
[ "simon.abrelat@gmail.com" ]
simon.abrelat@gmail.com
145d622e6b75ee1ab37ddf0a2a97caf7a34a1bba
12ed2bb3b5fc8580bfa37381d8627f9269472540
/venv/Scripts/pip3.7-script.py
98e1ebac634195c094c8aaa3f963ca4ee47be8c9
[]
no_license
smv1796/The-Numpy-stack-in-Python.
6e25320c866f2848c92551158f31dc4f0974e2bf
503e91573bcae9ef627490cd12c980e7317ceb75
refs/heads/master
2020-08-06T19:19:13.279560
2019-10-16T11:14:49
2019-10-16T11:14:49
213,120,927
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#!C:\Users\Lenovo\PycharmProjects\HelloPython\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3.7' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sy...
[ "sverma171096@gmail.com" ]
sverma171096@gmail.com
1f4a96aadea9ab8facaad238c1994ab40c709058
f771e83756436594a145bd7b80e5e5d8bca53268
/djangocms_baseplugins/spacer/migrations/0001_initial.py
966d6afda4ff196593e37d0468afda831e2ebd4b
[ "MIT" ]
permissive
bnzk/djangocms-baseplugins
b76ed75460fbeacb62366935824d2bcfac52b25e
98e390482aa4facc35efe2412ff1603d85e2c8ba
refs/heads/develop
2023-06-17T23:55:41.574828
2023-06-09T09:22:01
2023-06-09T09:22:01
68,296,521
2
0
MIT
2023-04-17T09:18:11
2016-09-15T13:32:05
Python
UTF-8
Python
false
false
2,206
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-05-09 11:32 from __future__ import unicode_literals import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('cms', '0016_auto_20160608_1535'), ]...
[ "bnzk@bnzk.ch" ]
bnzk@bnzk.ch
ac601efb510dc79750d5e3d6d135f1ab2e81d7ae
adfed0a94c0a915eadbace4fb553e3013bf44e66
/WC/bin/jour.py
4500fd959615ff00bff432c9d7eab202509c1ca8
[]
no_license
pierrott534/WC
a5c3c7754897669c124453b0b6b45b8b13764b06
baaedd492c22bd3bcc42bc874e02802cf2b5f99a
refs/heads/master
2021-01-11T04:04:03.950227
2016-10-19T14:20:37
2016-10-19T14:20:37
71,251,980
0
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
#!/usr/bin/python from math import cos, acos, sin, asin, degrees, radians import datetime, time # Source: # http://pagesperso-orange.fr/jean-paul.cornec/heures_lc.htm class sunriseClass: def __init__(self): self.theDay=0 self.theDate=[] self.solarDeclination=0 self.equationOfTime=0 self.latitude=0 self.lo...
[ "pierre.tirole@libertysurf.fr" ]
pierre.tirole@libertysurf.fr
e330bc423850823857aba546071f39f537e3b9f1
0caac16df4101a302333bf33fec32459832e4165
/app/base/controllers.py
24769e59e5e23facb3c5a9dfa79ed4f212ca9a98
[]
no_license
olawolemoses/BriteCoreInsurance
04d8d47ae34a8ed58f6ba29d8b3139d1a42df40a
d222fbcd8d93573c1cdef179fa7e09634623a3a4
refs/heads/master
2021-08-23T21:05:25.439831
2017-12-06T14:54:03
2017-12-06T14:54:03
113,271,683
0
0
null
null
null
null
UTF-8
Python
false
false
2,377
py
# Import flask dependencies from flask import Blueprint, request, render_template, \ flash, g, session, redirect, url_for, jsonify import pprint # Import password / encryption helper tools from werkzeug import check_password_hash, generate_password_hash # Import the database object from the main ap...
[ "olawolemoses@gmail.com" ]
olawolemoses@gmail.com
4452565890779e0f2699c9486ab9d2583db399cd
9afb0ed34a45602d020a90488873e203192054da
/1.python元组列表字典集合基础/1.variables_syntax/练习.py
152acab8212284c2aedfb3dc94b010947e6df1df
[]
no_license
Distantskyline/python3
96b804b59709a695abb8f428dd4c7ed72e0fef7c
492f2efd3635195678a7f4f494d155a912e1ce30
refs/heads/master
2020-06-29T16:49:23.858279
2019-09-26T01:33:31
2019-09-26T01:33:31
200,571,090
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
#!/usr/bin/env python3 #date:190805 #usage:练习 # author:Distantskyline # list01 = [1,2,7,8,9] # # a=list01.__sizeof__() # list01_size = list01.__sizeof__() # print("list01's size: {}".format(list01_size)) # # list01 = [1,2,"asdw"] # x = list01.__sizeof__() # print(x) # list01 = [1, 3.14, True, False, "String Type"] #...
[ "zhanggengheng@qq.com" ]
zhanggengheng@qq.com
fb73273f503593c8b512e8c5a41aa244e50e72df
5167c093ca89cad60fe9b6440ca9038fa6a6ab85
/env/lib/python3.8/site-packages/pymunk/_chipmunk_cffi.py
20e05b8bb4820289bffd2846e9b12d59dd7318cf
[ "MIT" ]
permissive
iodaniel/cse210-project
7ac719137bd5043cdc7d294a6b9a80e5a9d85540
abc7a4e64d35707d04900f8535961fc57ed8f4e1
refs/heads/main
2023-06-19T04:05:29.606045
2021-07-18T02:53:10
2021-07-18T02:53:10
378,509,478
1
0
null
null
null
null
UTF-8
Python
false
false
177
py
from __future__ import absolute_import import _cffi_backend # for PyInstaller, py2exe and other bundlers from ._chipmunk import ffi, lib # type: ignore ffi = ffi lib = lib
[ "iodaniel@icloud.com" ]
iodaniel@icloud.com
1338988217b292d56aa7a0609e4090aaa45d56aa
4b940ed35202f1386b7a91aee5779f74173424c1
/views-stu.py
f85361f500914245402b668920e1e8bd2cbd70a4
[]
no_license
xzGithu/devs
bc5a1895a520f2d5285b50a918e4f0c6eb14979b
f02a6ca7dc88c424adad9c41c59b6ff9f6fbc1bd
refs/heads/master
2022-12-16T18:29:03.203798
2021-04-23T12:38:55
2021-04-23T12:38:55
102,831,605
0
0
null
2022-12-08T01:09:16
2017-09-08T07:22:59
JavaScript
UTF-8
Python
false
false
1,059
py
# coding:utf-8 # @Time :2020/3/25 13:43 # @Author :Xu Zhe # @Email :mistest163@163.com # @File :views-stu.py # -*- coding: utf-8 -*- from transitions import Machine #先定义一个类 class Work(object): pass model=Work() #定义状态 states=['1','2','0'] #定义状态转移 transitions=[ {'trigger':'start','source':['1','2']...
[ "18601135464@163.com" ]
18601135464@163.com
51b36e9e923120f85678fa88d62f02b2e0c61d2c
1e11d6f9245c55e21edfb24f4340d52e3f7f327f
/dillo/migrations/0059_image_entity.py
15048319182249db28d4ac935bc231ce24a67f27
[]
no_license
armadillica/dillo
996e8462f4f76349ecc49ecb08cdd6c8c66e072b
960aed85f8438109bed9883321891305e1db8b10
refs/heads/main
2023-08-04T06:45:34.570071
2023-06-04T00:07:57
2023-06-04T00:07:57
30,461,275
79
18
null
2023-08-02T00:22:40
2015-02-07T16:17:43
Python
UTF-8
Python
false
false
508
py
# Generated by Django 2.2.14 on 2021-04-11 20:57 import dillo.models.mixins from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dillo', '0058_rename_icon_to_image'), ] operations = [ migrations.AddField( model_name='post', ...
[ "francesco.siddi@gmail.com" ]
francesco.siddi@gmail.com
9490ece84a35e5a44e2be1fc2ae28428e69f2847
a6e67c4f7a7dc5a26d0eca5c62527b8a1b728362
/backend/textSearch.py
0e50fec7fe4df25309603f8f83f1db7e300cfff3
[]
no_license
stan-the-man/Serendipity
57be4b1b5485acf512cbf4525d66894892da4db7
a6b7740f8eac7fb68b81703e7876d3bea3213a84
refs/heads/master
2021-01-01T20:48:48.223303
2015-05-05T18:32:38
2015-05-05T18:32:38
30,884,045
0
1
null
null
null
null
UTF-8
Python
false
false
1,195
py
import falcon, os, logging, py2neo from base64 import urlsafe_b64encode try: import ujson as json except: import json class TextSearchResource(object): """docstring for TextSearchResource""" def __init__(self, gdb): self.gdb = gdb self.logger = logging.getLogger('Seren.' + self.__class_...
[ "ewchang@scu.edu" ]
ewchang@scu.edu
1dad6fc2832d150cdf80d08d56b5bde14c1e7b27
6d7608f435a92c71a5ec475abb421645faef3e41
/chefint.py
ee87bcbcce1d8a982a1e967aa270fc4af13efa06
[ "Unlicense" ]
permissive
stephenfmann/cooking-with-python
6a2bc5d7cc4bff913eba678b118ff5e861be1648
feb03895671a6ab0aeef7d943a06241fffe8a765
refs/heads/master
2023-01-12T08:20:04.101036
2022-12-21T17:15:18
2022-12-21T17:15:18
153,855,971
2
3
null
2021-11-10T14:09:54
2018-10-20T00:40:48
Python
UTF-8
Python
false
false
63,678
py
# -*- coding: utf-8 -*- """ chefint.py Interpret programs written in the esolang Chef. See syntax.md or https://www.dangermouse.net/esoteric/chef.html for details. (archived at https://web.archive.org/web/20220615003505/http://www.dangermouse.net/esoteric/chef.html) """ import sys, re, random, copy, l...
[ "stephenfmann@gmail.com" ]
stephenfmann@gmail.com
d9dbc1b9a269a707e8970e4241846421ce961bc2
6164a30e88c403135714edf602d570ee3601213a
/Final_Project2_onlinecase.py
e4ef472a7c70a5c09b4df972f33cff2c43d3dc41
[]
no_license
PrisyanWang/UCDPA_YanWang
221a6aae398189790c2ab8de6d0f19aeab65b73e
2b1716c591ea7525a2eb6f9cdd8954eedf8db3f5
refs/heads/master
2023-04-13T02:42:51.448781
2021-04-28T18:01:12
2021-04-28T18:01:12
361,382,251
0
0
null
null
null
null
UTF-8
Python
false
false
4,015
py
import pandas as pd import numpy as np import warnings import os warnings.filterwarnings('ignore') import seaborn as sns import matplotlib.pyplot as plt # Dataframe import df_trainset = pd.read_csv('train.csv') print(df_trainset.columns) # Check for distribution and missing values of the dependent variable, isDefault...
[ "ywbuaa@gmail.com" ]
ywbuaa@gmail.com