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
5e771c96653ccd976e1cda3327980c4cadbd0201
8fb7a7b4fb09ce457ad413d19191235cf4805851
/notes code/segment image/watershed/watershed.py
cebf084c38d6b13d61bf5ce98e5883c3ad31b9e6
[]
no_license
clambering-goat/honner-progect
df8ab2e22c223cf0f8cb59b93b132eea3d9030f2
ea996ea34ac13867dea6d4935f9760c6915b206f
refs/heads/master
2020-04-15T19:32:57.303438
2019-05-13T17:51:56
2019-05-13T17:51:56
164,954,694
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
import numpy as np import cv2 #img = cv2.imread('coins.jpg') #img=cv2.imread("depth_carmea.png") img=cv2.imread("image_3.png") img = cv2.bitwise_not(img) gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) ret, thresh = cv2.threshold(gray,0,255,cv2.THRESH_BINARY_INV+cv2.THRESH_OTSU) cv2.imshow("frame",thresh) cv2.waitKey...
[ "camerondrain@gmail.com" ]
camerondrain@gmail.com
41445ab01c3c5a306e5316ff89bad93d2ad8b5ef
197fddc8a034c8736c0cfd8629d37d4a5968e730
/diffevol.py
033d495824a47ca32635b8150ad758566d641e64
[]
no_license
xomaiya/LRR_DE
127b2de32b6723e64002b3ad82f88c5b8cab9e20
428432fb8179d068a5094a412f3d06d4fd686a25
refs/heads/master
2020-07-27T04:54:10.834849
2020-03-03T13:14:33
2020-03-03T13:14:33
208,875,612
0
1
null
null
null
null
UTF-8
Python
false
false
6,780
py
import random import time import numpy as np import scipy.sparse from ridgeRegression import RidgeRegression, LOOCV from moleculToVector import StructDescription, AmberCoefficients from xyz2bat import xyz2bat2constr_H_map, xyz2bat2constr_HH_map import matplotlib.pyplot as plt from fast_ridge_regression import FastJaxR...
[ "xomaiya@gmail.com" ]
xomaiya@gmail.com
108aa5f4a3f4b5816f1daadda9e00e2530f73728
148ea30a45676e77a96822711ac683237361c116
/course/laboratoriski-vezbi/lab05-tf-idf/zad01-najslicen-dokument.py
d3a6a76c43b339bc31948630af709ccf764eb4b6
[]
no_license
marioanchevski/SNZ
d0d0994967482794bab2d33f88abe56d2a3a1ff2
d4dfabecd88f8e116cebdaf9b4e73236834a6554
refs/heads/master
2023-02-25T15:38:06.291069
2021-01-29T21:35:57
2021-01-29T21:35:57
315,758,240
0
0
null
null
null
null
UTF-8
Python
false
false
8,440
py
from frameworks.tfidf import * train_data = [ ("""What Are We Searching for on Mars? Martians terrified me growing up. I remember watching the 1996 movie Mars Attacks! and fearing that the Red Planet harbored hostile alien neighbors. Though I was only 6 at the time, I was convinced life on Mars meant little green ...
[ "marioancevski25@gmail.com" ]
marioancevski25@gmail.com
2f6d15e2504f558d4d885bca4b89803442c707a5
159aed4755e47623d0aa7b652e178296be5c9604
/data/scripts/templates/object/draft_schematic/weapon/shared_rifle_blaster_dlt20a.py
30238be987d3bd0ff0267b1a64c7908017e392d9
[ "MIT" ]
permissive
anhstudios/swganh
fb67d42776864b1371e95f769f6864d0784061a3
41c519f6cdef5a1c68b369e760781652ece7fec9
refs/heads/develop
2020-12-24T16:15:31.813207
2016-03-08T03:54:32
2016-03-08T03:54:32
1,380,891
33
44
null
2016-03-08T03:54:32
2011-02-18T02:32:45
Python
UTF-8
Python
false
false
456
py
#### NOTICE: THIS FILE IS AUTOGENERATED #### MODIFICATIONS MAY BE LOST IF DONE IMPROPERLY #### PLEASE SEE THE ONLINE DOCUMENTATION FOR EXAMPLES from swgpy.object import * def create(kernel): result = Intangible() result.template = "object/draft_schematic/weapon/shared_rifle_blaster_dlt20a.iff" result.attribute_t...
[ "rwl3564@rit.edu" ]
rwl3564@rit.edu
1788caa7d83ad3c675752e43756da24a7a89a7ea
590c9237ba14c74b35ef460587d485cc10441cd9
/data.py
ed49f09a14e03b68999cb87390c3e86c68e344ec
[]
no_license
trongphuongpro/expensetracker
5198c5a3cd03a24df92c4df879121ace8979e0ab
b654d0dc05068fd512de6c20ad27d4a55aa3f3fe
refs/heads/main
2023-03-13T12:33:22.871881
2021-03-01T16:11:43
2021-03-01T16:11:43
336,000,367
0
0
null
null
null
null
UTF-8
Python
false
false
3,124
py
from enum import IntEnum class CommandCode(IntEnum): WAIT = 0 ADD = 1 CHECK = 2 UPDATE = 3 BACK = 4 QUIT = 5 # dict {command key: [command, callback]} command_map = { CommandCode.ADD: {'command': 'add', 'action': 'func_add'}, CommandCode.CHECK: {'command': 'che...
[ "mr.trongphuongpro@gmail.com" ]
mr.trongphuongpro@gmail.com
a1056193fbec0b87c5ed7094ab73e719d4fc0b1c
9abec7752387c44715e254e4cf03e708a3b97384
/api/waitlist/tdf/fitcheck.py
5602c0fcb5b19e13c8db8084ef040fb45bc8b96f
[ "MIT" ]
permissive
Aquanable/tdf-waitlist
d4b1a06c99d5ab4717bcfd236847f9971cddc16c
4937f6d3cda97c81d7a3c2c51fd2cd28db09020b
refs/heads/main
2023-07-07T23:39:26.424220
2021-07-27T13:58:57
2021-07-27T13:58:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,753
py
from typing import List, Dict, Set, Optional, Any, Tuple import yaml from ..eft2dna import split_dna from ..data.evedb import id_of, name_of, type_variations from . import skills, fits, modules, implants BANNED_MODULES = modules.load_banned() def _build_category_rules(raw: List[Dict[str, str]]) -> List[Tuple[int, st...
[ "info@tvdw.eu" ]
info@tvdw.eu
705368fe31d27b07fa56fa7263c1b73359596d6e
427eb6d48233424db3d1f36943506b655ba47d4f
/hostap/tests/hwsim/hostapd.py
2ca1e3dacb1f275b8105b204588b54b1d3fffba3
[ "BSD-3-Clause" ]
permissive
jskripchuk/hostapd-cvorg
9b628c8a94867c93585d3fd91a6f3babb311cd91
9c9fe885393e404ff4ca79cea6510587b096c3c6
refs/heads/master
2020-04-30T12:03:47.339697
2019-05-03T20:50:21
2019-05-03T20:50:21
176,817,320
1
0
null
null
null
null
UTF-8
Python
false
false
20,093
py
# Python class for controlling hostapd # Copyright (c) 2013-2019, Jouni Malinen <j@w1.fi> # # This software may be distributed under the terms of the BSD license. # See README for more details. import os import time import logging import binascii import struct import wpaspy import remotehost import utils import subpro...
[ "jimmyskripchuk@gmail.com" ]
jimmyskripchuk@gmail.com
bd928f3173001ac131fc3c4f47d1793665e2933f
3e78b520bbd91dafb60e5b1132c919e9c75e9f74
/Final_Project/Final_Project/videosocket.py
aeed01f9c7ef9e3c4c52ef5e3891d8686a54b85a
[]
no_license
shmer26/TechCall
dbc1b9ab86fa5236c08e7022de3e13d1047ca4ef
9e95a0f031ccd21463f8aa55e3a8f49149e503db
refs/heads/master
2020-05-17T00:38:56.200740
2019-04-25T10:15:52
2019-04-25T10:15:52
183,401,438
0
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
import socket class videosocket: '''A special type of socket to handle the sending and receiveing of fixed size frame strings over ususal sockets Size of a packet or whatever is assumed to be less than 100MB ''' def __init__(self , sock=None): if sock is None: self.sock =...
[ "noreply@github.com" ]
shmer26.noreply@github.com
f427941f64f421f804c781fa1351c3816da55a2a
a3f32d4d47294771e0de86ed7280ee723f25af22
/Image_recognition-main/project/wsgi.py
7b5e538b52c1759652225a29d2d30dea490bd0c1
[]
no_license
mdsariful/Image_recognition-main
b1333021fd5864ca5250d96d4f9b1ab3106e7d79
b1236cdf6dbb9d9a7138bbe8ace14a111c10e454
refs/heads/master
2023-08-07T19:17:32.727961
2021-09-01T13:08:52
2021-09-01T13:08:52
402,064,693
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" WSGI config for ujasi project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTING...
[ "sarif2435@gmail.com" ]
sarif2435@gmail.com
a784cccfceb1d08e26461544355e3cfdf633708a
8d163bafc4f00de99909fb72ee0658d9a593c9db
/photo/models.py
f983f6023063d96559520862deefbdc450a7e811
[]
no_license
SheepEatLion/playcarnival
edcb00ed090c6908d4bf73853289329ceec6529a
a0a8781506cf6136dc3d7c6f97a0721e898e3816
refs/heads/master
2023-01-19T01:15:00.668788
2020-11-14T11:24:57
2020-11-14T11:24:57
312,723,187
0
0
null
null
null
null
UTF-8
Python
false
false
737
py
from django.db import models # Create your models here. from django.contrib.auth.models import User from django.urls import reverse class Photo(models.Model): author = models.ForeignKey(User, on_delete=models.CASCADE, related_name='user_photos') photo = models.ImageField(upload_to='photos/%Y/%m/%d', default='...
[ "gowjr207@gmail.com" ]
gowjr207@gmail.com
915d94df776b6e6303deac8b659aafc1959926e9
8b602a08da7f67971c8da967b4ff1230fc5e486e
/venv/Scripts/easy_install-3.7-script.py
b08a1893df8c08e03b06bac0a62f75131afd864f
[]
no_license
elybelyaev/protocols
1f941b9e9ff3d39aa4cbe8b98222c6280b647328
17ed4ee2baed7e60492f90abecb11a372aa221bc
refs/heads/master
2023-03-11T09:26:38.742890
2020-06-20T18:39:23
2020-06-20T18:39:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
#!"C:\Users\Belyaev Ilya\Desktop\projects\protocols\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(...
[ "50026308+CaptainBelyash@users.noreply.github.com" ]
50026308+CaptainBelyash@users.noreply.github.com
a34a561589a46b29e86bac06cbbdf09613c3d05b
a52b76dabc7e742b3b2c6d1399f6119d79e16940
/gluon/gluoncv2/models/model_store.py
8265eb1ca51e50de96c9916372a7a501f1ff794d
[ "MIT" ]
permissive
Mrmdzz/imgclsmob
ec07e8fa6ed38e0be58de87c409f79cab8fd9f32
0b7221655776fee32de2827db0e59e0df976441d
refs/heads/master
2023-02-17T05:43:04.306787
2021-01-18T08:31:17
2021-01-18T08:31:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
59,115
py
""" Model store which provides pretrained models. """ __all__ = ['get_model_file'] import os import zipfile import logging from mxnet.gluon.utils import download, check_sha1 _model_sha1 = {name: (error, checksum, repo_release_tag) for name, error, checksum, repo_release_tag in [ ('alexnet', '1610', '4dd7cfb6...
[ "osemery@gmail.com" ]
osemery@gmail.com
e7a357df777bcf68a8086cac9f9b4ef9aae9644a
98cb999e8c13b0bab4d51e2f3374a95c3f414bcb
/accounts/urls.py
28ab90b01a00b1aca21d63b585705e95e4d16412
[]
no_license
dhalianeza/asterlove
e91f8b192a9bbe962f94b013283b718867bc55b2
81f25f6cb3c9587228bee6daef4ec3ad78dc5bc1
refs/heads/master
2023-03-07T11:52:17.667323
2021-02-11T19:15:43
2021-02-11T19:15:43
338,124,298
0
0
null
null
null
null
UTF-8
Python
false
false
350
py
from django.urls import path from .views import UserRegistrationView, UserDetailView, UserUpdateView urlpatterns = [ path('registration/', UserRegistrationView.as_view(), name='register'), path('profile/<int:pk>/', UserDetailView.as_view(), name='profile'), path('profile/<int:pk>/edit', UserUpdateView.as_v...
[ "dhalianeza02@gmail.com" ]
dhalianeza02@gmail.com
db1a809412f1147088960366b8088eceafe24d9c
9437e8ab6163ff172095305586e9901294480bdc
/rastermodel/utils.py
73e067406f10b8b33a3b2b767829208b61585f60
[ "MIT" ]
permissive
bparment1/rastermodel
8b742839ecf7b0d15b028cd42558719c1d35db1b
ddeea801caace4945d57b32c6fbc9b1d830ff4fb
refs/heads/master
2022-02-23T04:01:18.225968
2019-09-19T19:32:04
2019-09-19T19:32:04
192,760,441
0
0
null
null
null
null
UTF-8
Python
false
false
960
py
###### Library used in this script import numpy as np #import matplotlib.pyplot as plt #import matplotlib.cm as cm #import matplotlib.colors as colors #import seaborn as sns import rasterio import subprocess import pandas as pd import os, glob from rasterio import plot import geopandas as gpd import georast...
[ "meshghi@uoregon.edu" ]
meshghi@uoregon.edu
b8c43baef01e0c73c3f1db61fec5adc9cea51ac3
f4a66b3428ac2e66f5cf7b1c9bf95767cc375ce0
/vu_speech/custom_admin/admin.py
e0ce4a1d35514ffbff982bd7a782add63c6b4f55
[]
no_license
arnobpl/vu-speech
4763e42f67acacd4ad3ab77c6489e14f01838d10
1b96905f2ce69fabf7673d3d0e08216ca530753a
refs/heads/master
2023-05-07T17:57:57.549115
2021-05-07T15:01:23
2021-05-12T16:27:20
342,685,847
0
0
null
null
null
null
UTF-8
Python
false
false
2,411
py
import json from django.contrib import admin from django.core.serializers.json import DjangoJSONEncoder from django.http import JsonResponse from django.urls import path # Register your models here. class BaseChartDataAdmin(admin.ModelAdmin): change_list_template = 'admin/chart_data/change_list.html' char...
[ "arnobpl@gmail.com" ]
arnobpl@gmail.com
ed5bf40ffe91b06060eb3a57eac9e1d3c9d458a3
c01dad1a1b742423d59d18d0d25755605fc6efcd
/RNN/main.py
07b2e4caba5d33499bef3025be76dabe3e4eb6a8
[ "Apache-2.0" ]
permissive
hjdw2/embedded
d0e76ad08dca33fcb90b14e3eeb1f332c4dd1af7
f1991a56588903ac89747c9cefe28d11ad8e65bb
refs/heads/master
2022-07-12T02:50:25.986500
2020-05-12T01:50:14
2020-05-12T01:50:14
261,961,895
1
0
null
null
null
null
UTF-8
Python
false
false
3,203
py
from __future__ import print_function import argparse import time import math import torch import torch.nn as nn from torch.autograd import Variable import multiprocessing as mp from collections import deque from data import Corpus from utils import * from models import * from train import * def main(): parser = ...
[ "noreply@github.com" ]
hjdw2.noreply@github.com
e470af9f6da97e2b821fbaa5ffedbfbf354b415a
e9435342722ccc3bdf1475f1e8ed49166d940875
/ch8/preprocess_test.py
4222308d752c46cbcec771adbd530c3c298c574d
[]
no_license
SongJongbeen/chatbot
81761de94be6fe3b557a2758122dd23e22108ad4
0a2fcccd91d56e26991b772a18a071f45f1467c4
refs/heads/main
2023-07-10T06:56:01.910701
2021-08-17T07:17:41
2021-08-17T07:17:41
386,115,295
0
1
null
2021-07-17T12:28:28
2021-07-15T00:39:57
Python
UTF-8
Python
false
false
934
py
# from utils.Preprocess import Preprocess # from tensorflow.keras import preprocessing # # sent = "내일 오전 10시에 짬뽕 주문하고 싶어ㅋㅋ" # p = Preprocess(word2index_dic='../train_tools/dict/chatbot_dict.bin', # userdic = '../utils/user_dic.tsv') # # pos = p.pos(sent) # keywords = p.get_keywords(pos, without_tag=False...
[ "1041489@gmail.com" ]
1041489@gmail.com
8edf87b3a7118ec90cf504ea3618047131ed2a49
a30012860abb799620d361adac1037468dc7cc08
/api/python/lib/ezconfiguration/properties.py
787eb71e5882025688ed0659f1b785d6886fd296
[ "Apache-2.0" ]
permissive
ezbake/ezbake-configuration
991a2f22fc7e63512e5b2aeeab52665a380e2bc3
2ebb281ca2e5683e0e178db3f287b16c76e5a1a1
refs/heads/master
2021-01-01T06:00:20.303421
2014-10-15T12:48:41
2014-10-15T12:48:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,480
py
# Copyright (C) 2013-2014 Computer Sciences Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
[ "jhastings@42six.com" ]
jhastings@42six.com
6ecaf15aff563b360820e6b498b118457ca332e9
2832041359eaa910488b2cd748975060f5252c89
/messages.py
36b4da3f65f9de238860417438e554f893fc2a89
[]
no_license
olegbelyaev/likeabot
b67124eeab3ce2172c6540c0de540c8d37a0c2e6
f1f3d0ec363095868f37ea7966f0c9ab04e26755
refs/heads/master
2022-11-13T12:57:17.172306
2020-07-05T21:57:27
2020-07-05T21:57:27
277,381,134
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
HELLO_MESSAGE = 'hi' VERSION_OF_BOT = '1.0' AUTHOR = 'this bot was created by oleg ggwp gang'
[ "noreply@github.com" ]
olegbelyaev.noreply@github.com
4781d99de8b6254524080f6844332daf943beb29
ba222782f45e0a1f267821bf022d30d05c7e33ef
/scripts/generate_async_api.py
73aed1c116171be75042a3bfad5c2246930d22bc
[ "Apache-2.0" ]
permissive
DonatelloJiang/playwright-python
ae89f15207a7504dabc2fd4cc94329ff0b5066b9
fa7d908d8a1374b1a67f6fc7c2f91d27a7205753
refs/heads/master
2023-02-12T03:45:19.408255
2021-01-09T02:33:35
2021-01-09T02:33:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,643
py
#!/usr/bin/env python # Copyright (c) Microsoft Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "noreply@github.com" ]
DonatelloJiang.noreply@github.com
3cc931eccfb596a8705f26100b644a126938ad30
17cc70b4c70b76ad3fcfc7bc3af4b2f4d6d3740b
/tests/workflow/tasks/qchem.py
0226c5b9944c271e8d94e2979c4f1be0bda123a9
[ "MIT" ]
permissive
kijanac/materia
82b8cf7391729109784a4f703ba0bcf06f80b617
b49af518c8eff7d3a8c6caff39783e3daf80a7a0
refs/heads/main
2021-07-11T18:21:13.371228
2021-05-06T19:52:00
2021-05-06T19:52:00
237,714,956
0
0
MIT
2021-03-05T15:30:28
2020-02-02T03:53:32
Python
UTF-8
Python
false
false
4,818
py
import materia import textwrap import unittest.mock as mock def test_qchem_rttddft(): settings = materia.Settings( dt=0.02, Stabilize=0, TCLOn=0, MaxIter=100, ApplyImpulse=1, ApplyCw=0, FieldFreq=0.7, Tau=0.07, FieldAmplitude=0.001, E...
[ "kijana@mit.edu" ]
kijana@mit.edu
316c02f8d33733a6471ba9ee57338c014e9809ed
dd76697bc5fccb3637fc6056e395f96075f03d8c
/Day-009/exercise-3-auction.py
3e068fd79bd3507c9bcf4255aa09d2b6ca3313e5
[]
no_license
georgggg/python-bootcamp
449f759ee339864e8e3bd4d00e06f32292616a9c
0edacb45bb05bf5622c457568a350ebb7ad4451b
refs/heads/master
2023-08-21T12:02:32.546186
2021-09-16T02:17:29
2021-09-16T02:17:29
358,429,006
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
from clear_library import clear #HINT: You can call clear() to clear the output in the console. from art import logo print(logo) keep_going = True bids = {} winner = "" winning_amount = 0 while keep_going == True: name = input("What is your name? ").lower() bid = float(input("What is your bid? $")) ...
[ "giorgggg.napone@gmail.com" ]
giorgggg.napone@gmail.com
52f6bf0e2777b76196fcc0f081013bd6f87368a3
0daeb1e9b81538e5784df932f25b72d2dfebb527
/app/db/models.py
3106f52af469ffd8187cd99ca66e8fccd67a97e9
[]
no_license
termmerge/backend
94c8ed4b1e1f6d42fc3000db4f534f444208df4a
436a76690c087b506a03298011b02ccb278b8df2
refs/heads/master
2021-01-22T19:41:43.883055
2017-03-18T21:35:14
2017-03-18T21:35:14
85,229,183
0
1
null
null
null
null
UTF-8
Python
false
false
2,041
py
from sqlalchemy import \ create_engine, \ Column, ForeignKey, \ MetaData from sqlalchemy.dialects import postgresql from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base from os import environ db_engine = create_engine( 'postgres://{}:{}@{}/{}'.format( environ.get...
[ "alastairparagas@gmail.com" ]
alastairparagas@gmail.com
c8bc144fd4a0b4a4827eb792d625d9ba544a7810
29cb65dbd79ec0a396289ad838649ea8c50872f7
/main.py
9cdeb8afc200a304b0dcefb8f52a31f183790928
[]
no_license
Introduction-to-Programming-OSOWSKI/3-7-last-letter-JustinInthaly21
644d0085b9dfb0f0b5576868ef6f14a51c6b0151
59d5c2e1d588d8a73dadc22951df5aebab6d5247
refs/heads/master
2023-03-24T22:02:39.595979
2021-01-26T20:49:03
2021-01-26T20:49:03
333,210,870
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
def lastLetter(w): len(w) return w[len(w)-1]
[ "825134@mystma.org" ]
825134@mystma.org
ea62b37e3d046ce86e29d628bd31460c525fd6d7
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/spaCy/2016/12/tokenizer_exceptions.py
6cf144b44974a963fb3695866040e07a2a302a64
[ "MIT" ]
permissive
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
720
py
# encoding: utf8 from __future__ import unicode_literals from ..symbols import * from ..language_data import PRON_LEMMA TOKENIZER_EXCEPTIONS = { } ORTH_ONLY = [ "ang.", "anm.", "bil.", "bl.a.", "dvs.", "e.Kr.", "el.", "e.d.", "eng.", "etc.", "exkl.", "f.d.", ...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
facbccd8226ba680e7647576246385ecb89a2e65
a1e8b3efafcf3171d57f48472b666993e15e6129
/scraper/settings.py
eabfbf4d21705a60caf4d45a7271fb8a28818e7f
[ "MIT" ]
permissive
digawp/MyScraper
1217f1a2c02c16849c132dfe38150497a7a592c1
1f0bcb47a1b81002bf70f0869949e16ab10c90e6
refs/heads/master
2021-03-27T10:19:18.095727
2017-05-09T08:02:27
2017-05-10T05:23:51
82,699,513
0
0
null
null
null
null
UTF-8
Python
false
false
4,777
py
# -*- coding: utf-8 -*- # Scrapy settings for scraper project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest...
[ "digawp@gmail.com" ]
digawp@gmail.com
4a8e362ba59d666b12090b79750312bf1c69b322
6589ceeae7853ce40d79ce1ed79d7d1dd393724b
/manage.py
174492cb7932d69782ee5b45bec1a22510695bc1
[]
no_license
anshikam97/e-commerce-django-project
810ea3101e2120e4e4ce1c45293d4440dd0157e8
40f6a7c66f415aef453f43bcd68f7be83334970f
refs/heads/master
2023-03-30T14:03:51.168724
2021-04-08T07:31:04
2021-04-08T07:31:04
355,803,225
0
1
null
null
null
null
UTF-8
Python
false
false
537
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'learn.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are yo...
[ "39756723+anshikam97@users.noreply.github.com" ]
39756723+anshikam97@users.noreply.github.com
6f7916128485e55485ac5c878f35b7cc780f27c3
c4f9fa0671164bc8299864a531f535afcae2a924
/multimodal_model.py
035355af63eccbe6741476f832895b06a9f13be6
[ "MIT" ]
permissive
mdanilevicz/maize_early_yield_prediction
7ae45177975e3a5fb630ca68eef485f69f209bd9
e1090e6555a544a13bec19c974d628efccbcbeca
refs/heads/main
2023-08-23T18:10:47.523660
2021-10-25T08:26:01
2021-10-25T08:26:01
388,364,227
3
4
null
null
null
null
UTF-8
Python
false
false
4,229
py
# + # Import the libraries from fastai.vision.all import * import fastai from fastai.tabular.all import * from fastai.data.load import _FakeLoader, _loaders from glob import glob import torch import pandas as pd import numpy as np import os # Custom functions from msi_utils import * from fold_utils import * from mult...
[ "monica.danilevicz@gmail.com" ]
monica.danilevicz@gmail.com
6249ed7986e6f6289fcf9ae8b0a86a12eb328d11
50371ec1039b3c4bff8b764b5eec3128023e2cae
/genero/views.py
a9bbf6702398246be80cbdc809443e5b96473ef0
[]
no_license
juniorjrml/IGTIFlixWeb
ddd6f4384ad142242d44286e26f00798432232c0
d03160a4f45c4220ef93a1856e18a1087a1841e8
refs/heads/master
2023-01-30T21:43:16.725590
2020-12-17T21:05:28
2020-12-17T21:05:28
306,674,555
0
0
null
null
null
null
UTF-8
Python
false
false
1,559
py
from django.shortcuts import render from . import forms from . import models from django.http import HttpResponseNotAllowed def cadastro(request): form = forms.GeneroForm() if request.method == 'POST': form = forms.GeneroForm(request.POST) if form.is_valid(): form.save(commit=True) ...
[ "jancarlolcj@gmail.com" ]
jancarlolcj@gmail.com
2576a0b4a3d534130187cea2aa4f8e24e83df3c5
f82757475ea13965581c2147ff57123b361c5d62
/gi-stubs/repository/LibvirtGConfig/CapabilitiesGuestDomainClass.py
207f38ddbaec803324795fd4bfa621a30e1eedb8
[]
no_license
ttys3/pygobject-stubs
9b15d1b473db06f47e5ffba5ad0a31d6d1becb57
d0e6e93399212aada4386d2ce80344eb9a31db48
refs/heads/master
2022-09-23T12:58:44.526554
2020-06-06T04:15:00
2020-06-06T04:15:00
269,693,287
8
2
null
2020-06-05T15:57:54
2020-06-05T15:57:54
null
UTF-8
Python
false
false
4,764
py
# encoding: utf-8 # module gi.repository.LibvirtGConfig # from /usr/lib64/girepository-1.0/LibvirtGConfig-1.0.typelib # by generator 1.147 """ An object which wraps an introspection typelib. This wrapping creates a python module like representation of the typelib using gi repository as a foundation. Accessing ...
[ "ttys3@outlook.com" ]
ttys3@outlook.com
a70c27df042b2926854d59e73db71126c8aa9c0e
a98f3e82f30085851b8c7cb9cb576a645cdc369e
/script/bead02.py
23d6924c201112445cc0a0d0be1e1eab6b6d1e8b
[]
no_license
marko1777/School
03a07834af6a370ef0c8a2ecb8c5d9d759a1b9d6
c19fc32f883aebcdc0a12fbf9b72f6f898546e66
refs/heads/master
2021-06-22T12:36:18.722167
2017-08-03T15:44:38
2017-08-03T15:44:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
#! /usr/bin/env python import re import fileinput import glob sequence = ".*" manual = "(\[\[).*(\]\])" loop = "(CIKLUS)" + sequence + manual branching = "(ELAGAZAS)" + sequence + manual for file in glob.glob("*.prog"): inF = open(file,"r") outF = open(file.split(".")[0] + ".py","w") for itIn...
[ "noreply@github.com" ]
marko1777.noreply@github.com
64c4ec41ef59225ecd8f657f6f5fcb6a4058108e
7555197be824ba7c5da992b7370cc46e5a83ffe3
/docs/conf.py
2e0a5b486a8ff9c7f8f29f412641dfe8537d254f
[ "MIT" ]
permissive
piotrbajger/bibtexmagic
453038a1bfbdcd428c2f6f31156ed8f56ce7c778
6577002d7822beb5cb04cc2605c9adc5a87632c3
refs/heads/master
2020-04-27T09:07:35.720866
2019-03-19T08:09:16
2019-03-19T08:09:16
174,201,652
0
0
null
null
null
null
UTF-8
Python
false
false
4,969
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 ------------------------------------------------------------...
[ "piotr.bajger@hotmail.com" ]
piotr.bajger@hotmail.com
f86b69725bc17be1ec3889284eaa4827b4530088
37f1563cdacf4b37b5b927b892538218aae79c77
/medium/dfs/numDistinctIslands.py
e64b1e67ecc0648115b9cd6988585380ea18c0a9
[]
no_license
unsortedtosorted/elgoog
9dee49a20f981305910a8924d86e8f2a16fe14c2
5be9fab24c0c1fd9d5dc7a7bdaca105f1ca873ee
refs/heads/master
2020-04-15T00:51:12.114249
2019-05-19T04:37:24
2019-05-19T04:37:24
164,254,079
0
0
null
null
null
null
UTF-8
Python
false
false
1,966
py
""" 694. Number of Distinct Islands 1. first get r,c list of all islands 2. get absolute shape of each island 3. compare shapes return result """ class Solution(object): def numDistinctIslands(self, grid): """ :type grid: List[List[int]] :rtype: int """ m = {}...
[ "noreply@github.com" ]
unsortedtosorted.noreply@github.com
c78ef5cc9f53a08c6310e505b04a124c9c7a95df
7dc5fba7e2fa9f4c4b874eb79fb504d924813895
/fiasco/util/util.py
0711caaa985f12870131a7bd29040db8926fbc3c
[ "BSD-3-Clause" ]
permissive
eblur/fiasco
d335901c97a716cacd541266ebc1b2301932e4e8
4ab14756f285e3551bd52cf47a1c9b49eda8b798
refs/heads/master
2020-03-14T17:49:15.406452
2018-04-27T07:49:15
2018-04-27T07:49:15
131,729,003
1
0
null
null
null
null
UTF-8
Python
false
false
3,584
py
""" Basic utilities """ import os import sys import warnings import configparser from distutils.util import strtobool from builtins import input FIASCO_HOME = os.path.join(os.environ['HOME'], '.fiasco') __all__ = ['setup_paths', 'get_masterlist'] def setup_paths(): """ Parse .rc file and set ASCII and HDF5 ...
[ "wtb2@rice.edu" ]
wtb2@rice.edu
544d0a0526b74cb8a5db16160be5d4c749e8f462
a0dc64d08410cd728ba5e76d097b99b2d5dbee6d
/mysite/urls.py
dd93b9750eb7e9ebb1d0ccfd9fe481c2bb6e4688
[]
no_license
hathairathat/my-first-blog
7ed2eb87900e42d899d1a3c87153098f5f6ad89e
e7600d54e06ce798f9c822ca89d0acaae87592fd
refs/heads/master
2020-03-18T06:47:19.584337
2018-05-22T15:16:33
2018-05-22T15:16:33
134,415,294
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
"""mysite 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 ...
[ "hathairat.hat@outlook.com" ]
hathairat.hat@outlook.com
1ef9e0b3ef9071d1e0d7ed97d780cb795172ddab
6ffcc7486c653b86c16de8479be9c3340f867ecf
/pages/loginpage.py
82600caa7e79a9e61d545f33e82bb740d4b56546
[]
no_license
SrihariRamachandradas/Framework_POM_9
69aa75112735bc49b07630865f338a50cdd6745d
84a8705542c5c1ea8d6b768ecc0de2fa2d9623ff
refs/heads/master
2020-05-15T23:19:43.160290
2019-05-11T14:42:09
2019-05-11T14:42:09
182,549,922
0
0
null
null
null
null
UTF-8
Python
false
false
1,006
py
from pages.webgeneric import WebGeneric from testdata.ExcelUtil import * class LoginPage(WebGeneric): def __init__(self, driver): WebGeneric.__init__(self, driver) # self.driver = driver self.un = "j_username" self.pwd = "j_password" self.login = "Submit" global wb ...
[ "harish.python.com@gmail.com" ]
harish.python.com@gmail.com
7606fb0bfbb5324ab73c4868b8964e12200402ce
c1839af89d32fb2bc602255d2dbecfcbfb138ba0
/picoscope/ps5000.py
797dbb73d06334a8598da4820c8f22f10e22b284
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
abrasive/pico-python
2e20aa04fffe5782dddd40c0d9611c6bddced15d
7c81be915618f659dc5b21ad5ceb404cea842f52
refs/heads/master
2022-11-10T08:30:38.511506
2020-06-24T04:36:17
2020-06-24T04:36:17
225,305,661
0
0
NOASSERTION
2019-12-02T06:52:23
2019-12-02T06:52:22
null
UTF-8
Python
false
false
23,761
py
# This is the instrument-specific file for the PS5000 series of instruments. # # pico-python is Copyright (c) 2013-2014 By: # Colin O'Flynn <coflynn@newae.com> # Mark Harfouche <mark.harfouche@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are pe...
[ "johny@neuromancer.sk" ]
johny@neuromancer.sk
944be11f0ca162fad718542a259881f7887e4afd
301ac466f179ec437c82e42af8f133a1cd8caa50
/plot_last_month_run.py
46f22592fc41e4480e312a199a0f81d351e8d749
[]
no_license
jayhayes21/Python
b7ed40d55a30bc823e474ed421c98ca1d772fdc1
5f73a39d85c8c49d9f3299a4ae2b927590578254
refs/heads/master
2021-07-25T20:02:29.784621
2020-09-06T23:13:27
2020-09-06T23:13:27
216,238,484
0
0
null
null
null
null
UTF-8
Python
false
false
133
py
import running_miles_graph last_element = running_miles_graph.find_last_element() running_miles_graph.plot_last_month(last_element)
[ "hayeswj@mail.uc.edu" ]
hayeswj@mail.uc.edu
926aed03b5771e01fd62b52a10f109c378c175a7
7c25d42c0ef2f05190adbaa0de48c83d59e643ec
/game_functions.py
656b4046bae0ce01091224b7c2d3f16d58f0348c
[]
no_license
LiMichael1/Alien_Invasion
91888ee211d4839e87f6aaf25aeaba7cce3a417e
0a42ceb7110215d72b4a65eae231944fd85b8304
refs/heads/master
2020-07-31T21:14:52.440947
2019-09-25T22:56:35
2019-09-25T22:56:35
210,756,092
0
0
null
null
null
null
UTF-8
Python
false
false
8,536
py
import sys from time import sleep import pygame from bullet import Bullet from alien import Alien def check_keydown_events(event, ai_settings, screen, ship, bullets): """Respond to keypressses""" if event.key == pygame.K_RIGHT: ship.moving_right = True elif event.key == pygame.K_LEFT: shi...
[ "limichael1099419@gmail.com" ]
limichael1099419@gmail.com
22c036c18f859b80d85efce8d539d0fdedd41a65
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02741/s822820391.py
a096a15ca173bd27563de44625b5ad31db1cf60f
[]
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
141
py
L = [1, 1, 1, 2, 1, 2, 1, 5, 2, 2, 1, 5, 1, 2, 1, 14, 1, 5, 1, 5, 2, 2, 1, 15, 2, 2, 5, 4, 1, 4, 1, 51] K = int(input()) r = L[K-1] print(r)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0d48829619502ec6558d28c6fc9451b587607ef1
ed5fff0774d62953f53fa799fd83765b9296c8e4
/modou.py
92bd1c103d4ccee55241e16182bedc2ad7410bcc
[]
no_license
wangfeng3769/pymodou
57cca6fc1686ba115cd2a1021e02999ddfa454e3
fa769ef18da3a66b199e6126da00e48ec7278288
refs/heads/master
2020-04-06T04:40:17.519086
2014-12-11T14:25:30
2014-12-11T14:25:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,222
py
import json import urllib import requests from local_conf import * # https://github.com/modouwifi/doc-modouwifi-api class Request(object): API = 'http://modouwifi.net/api/' def __init__(self, modou, method='get'): self._modou = modou self._method = method def __getattr__(self, *args, **k...
[ "twinsant@gmail.com" ]
twinsant@gmail.com
829567adc7aa41b48c01d0389a98678a8bc03857
7e4451710cc94fe422483785582e0b209ddb0f14
/backend/exampleapp/migrations/0001_initial.py
576ebba8acb68df1297c574291884736de9b5db2
[ "MIT" ]
permissive
cstoneham/sample-django-app
5368b8b41df43f8147abbdf5fb3cf4d699e35a9a
0d6c4bfb559e7a088bf7f316b0846e69f133773e
refs/heads/master
2022-12-15T00:40:06.014430
2020-09-13T23:47:31
2020-09-13T23:47:31
295,247,260
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
# Generated by Django 2.2.16 on 2020-09-13 18:22 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Question', fields=[ ...
[ "cstoneha@cstoneha-mn1.linkedin.biz" ]
cstoneha@cstoneha-mn1.linkedin.biz
0f50c4e549e087a9a584a000138b55ea5e47ae30
e72c9c9eb16286655a9856f69a61d2d4866bb31d
/dwa_local/build/dwa/catkin_generated/pkg.develspace.context.pc.py
9e8910933b7790ff285402d03152dbbeb03ec49a
[]
no_license
lukeprotag/dwa_localplanner
a8050ff7207efd8d66d565201f7fdd859d758d4f
dabd5c015e5767815178cb454ee207ff04eb9959
refs/heads/main
2023-03-09T19:55:30.271296
2021-01-23T09:44:13
2021-01-23T09:44:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "dwa" PROJECT_SPACE_DIR = "/home/czp/d...
[ "czjypczp@163.com" ]
czjypczp@163.com
258ff636d09a4ba02f1a390d496a7104cfdea05f
d10b81bb886311ed9e7a0e02f4182a9a32ef8708
/resize.py
424a36cf70d7caae24469ca6ce873904d0375fa6
[]
no_license
xinyuang/CV_tool
29c19a6b7d7f21d0d3e6bc65a987d053e9e07eb6
d26fb941d2da0f57e113dd7cea0c2aa043ecd2ed
refs/heads/master
2021-10-25T05:20:39.463255
2019-04-01T21:45:00
2019-04-01T21:45:00
108,859,598
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
from PIL import Image h = 448 foreground = Image.open('0.jpg') foreground = foreground.resize((h,h),Image.ANTIALIAS) foreground.save('smallestCLASS.jpg') size = 299 pf = '/media/xigu/DensoML/combination_data/test_1000_per_class' tf = '/media/xigu/DensoML/MDP_2018/1000_emo_test' for class_folder in os.list...
[ "noreply@github.com" ]
xinyuang.noreply@github.com
5a28764caee17859a67a324ced762fc9f4ca344f
e3690021648f922fe42d7d03d9548d25aa76f781
/app/drf_project/asgi.py
470d113b8a51a8c2617f7c2c3a9b14de21073907
[]
no_license
Shah-imran/Test-Driven-Development-with-Django-REST-Framework-and-Docker
3eaae9211ff7e351958745f8e707e5612dc149a1
6b227cb6a5524ccc2cd2b91655341d92f1368f2a
refs/heads/main
2023-02-09T01:00:52.581790
2021-01-02T17:37:20
2021-01-02T17:37:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" ASGI config for drf_project 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.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault("DJANGO_S...
[ "uweaime@gmail.com" ]
uweaime@gmail.com
2db78bd8725def10983991faf071f0953ce9530f
c846a5217adf1f21999bffa7a32a8b7bdb3102ec
/silver/level2/수열의 합.py
d5ab3da5e03a450325d4f2479df1248f9b4eb7d3
[]
no_license
123qpq/Beakjoon
c833433bb5e4237014ac0b84862aa7e15ec16ee8
fc191fc81c0d312bc306abd1a3b98c2a990223e5
refs/heads/main
2023-06-27T18:46:38.746673
2021-07-19T13:56:45
2021-07-19T13:56:45
343,278,319
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
n, l = map(int, input().split()) for i in range(l, 101): if i % 2 == 1 and n % i == 0: temp = n//i - (i-1)//2 if temp < 0: print(-1) break for x in range(i): print(temp + x, end = ' ') break elif i % 2 == 0 and n / i - int(n/i)== 0.5: t...
[ "45002168+123qpq@users.noreply.github.com" ]
45002168+123qpq@users.noreply.github.com
4ddc03fe83a70e247ca6962102c76c0060a4bf47
bef57d5b9d75a23f9b1b9d0aba2e10b126649b35
/35 Search_Insert_Position.py
a6dadd347abb1122f5478fec1469b94f830a5c87
[]
no_license
elani0/leetcode-python-solutions
acc3a76da77028f2cbb80165fbc8fea5ca06e8bf
d6045053db1b58c34e9731dafed6f439501ec77d
refs/heads/master
2021-01-18T22:22:36.641800
2017-04-03T07:50:54
2017-04-03T07:50:54
87,049,952
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
# -*- coding: utf-8 -*- """ Created on Sat Mar 18 19:21:05 2017 @author: Elani """ #35 Search Insert Position """ Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array. Here ...
[ "elami_001@126.com" ]
elami_001@126.com
b145ab9ba46987621d9fe358b91e4e7b238e0ceb
b72e41c71b8d3572e05920a10baf40a3a80f15e3
/非常棒的代码工作助手
4b564055dc98b299c9907502a22e3ac3be643a1e
[]
no_license
ligaochao/pythonWheel
7a8ee853bb8ea8420757376f5aee1eb7fc37f139
4f86b31472e22de6aeb52149af38cb771264ec25
refs/heads/master
2021-05-09T05:41:50.482635
2020-03-03T07:18:04
2020-03-03T07:18:04
119,317,168
5
1
null
null
null
null
UTF-8
Python
false
false
23,609
#!/usr/bin/env python3 import tkinter as tk import threading import pyperclip import pyautogui from pynput.keyboard import Controller, Key, Listener from pynput.mouse import Button, Listener as ListenerMouse, Controller from pynput import mouse from pynput import keyboard from collections import Counter from tkinter...
[ "noreply@github.com" ]
ligaochao.noreply@github.com
62e0bfb4ebd5b21b398ef19d68dc1a2f5e57662d
45e376ae66b78b17788b1d3575b334b2cb1d0b1c
/tests/cloudformation/checks/resource/aws/test_AppSyncFieldLevelLogs.py
55c1467de63607624517adf634fb55bcbea9d014
[ "Apache-2.0" ]
permissive
bridgecrewio/checkov
aeb8febed2ed90e61d5755f8f9d80b125362644d
e64cbd27ffb6f09c2c9f081b45b7a821a3aa1a4d
refs/heads/main
2023-08-31T06:57:21.990147
2023-08-30T23:01:47
2023-08-30T23:01:47
224,386,599
5,929
1,056
Apache-2.0
2023-09-14T20:10:23
2019-11-27T08:55:14
Python
UTF-8
Python
false
false
1,280
py
import unittest from pathlib import Path from checkov.cloudformation.checks.resource.aws.AppSyncFieldLevelLogs import check from checkov.cloudformation.runner import Runner from checkov.runner_filter import RunnerFilter class TestAppSyncLogging(unittest.TestCase): def test_summary(self): test_files_dir =...
[ "anton.gruebel@gmail.com" ]
anton.gruebel@gmail.com
f9c25b37415e4ac45615315a53d4f3a9a4e16bcf
adf55054f064d17a0d5f53a70a9d00cd2b1eeb81
/bill/migrations/0002_auto_20210429_0934.py
00a6f0ffa2edeee114486db1ee4316f96ea9ae3f
[]
no_license
shaneebavaisiar/Billing-Project
8d2d8209679b810d79032c3255d10abdeb3ea460
8bb8705e1bc56cebb6aea486a4f089188078e15b
refs/heads/master
2023-06-15T18:18:10.051789
2021-07-11T06:48:15
2021-07-11T06:48:15
384,879,442
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
# Generated by Django 3.1.7 on 2021-04-29 04:04 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bill', '0001_initial'), ] operations = [ migrations.RenameField( model_name='purchase', old_name='price', new_na...
[ "shaneebavaisiar007@gmail.com" ]
shaneebavaisiar007@gmail.com
412184eee836bb38d482cd511bc67bf94ebc227e
300a3b25ceb1718b91748c38de9a470a02d67341
/src/products/migrations/0001_initial.py
de772ec35898e5741571775a59643b08fee79aea
[]
no_license
jwilsontt/sagaboi_ecommerce
34b83fffd89506ad48ea126fec414df05b82537d
afca7bac6053b6fba55517adf4b56e0c6c24b399
refs/heads/master
2020-03-25T01:00:23.976983
2018-09-08T04:20:57
2018-09-08T04:20:57
143,217,400
0
0
null
null
null
null
UTF-8
Python
false
false
607
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-06-12 17:58 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Produ...
[ "jwilsontt@gmail.com" ]
jwilsontt@gmail.com
6a034b3761d46d90639ff3d61431848ed48e5b5d
e23a4f57ce5474d468258e5e63b9e23fb6011188
/140_gui/pyqt_pyside/examples/PyQt_PySide_book/006_Working with graphics/003_Working with Images/579. QPixmap_fill.py
f6d34a67c190d77929e0d11675d2579c29dc73b4
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
1,831
py
# -*- coding: utf-8 -*- from PyQt4 import QtCore, QtGui class MyWindow(QtGui.QWidget): def __init__(self, parent=None): QtGui.QWidget.__init__(self, parent) self.resize(600, 600) painter = QtGui.QPainter() self.pix = QtGui.QPixmap(300, 300) self.pix.fill(color=QtGui.QColor(...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
e024b573d2b6109c5cad612a56f2aafcd84d2d56
a87cd0df7e808bcbb42c3b69299002b3623977ed
/Python_Tools/02_RESOLVE_ORA-01704.py
cc51e90dda9496d1612b91d71c2b1e77f60b92cc
[]
no_license
gaolc/MyPython
b2a731f619d229815fb2e21e0365314925ec79d4
60d8f37e9faa814de0065cfea39a72126c8b88fa
refs/heads/master
2021-06-20T14:25:49.389613
2020-12-17T08:31:17
2020-12-17T08:31:17
148,150,259
0
0
null
null
null
null
UTF-8
Python
false
false
4,863
py
#!/usr/bin/python # -*- coding:utf-8 -*- import os import sys import time import datetime import platform MAX_LINE_NUM=0 #set change line position LINE_POSITION=2000 CONNECTOR="'\n||'" CHANGE=0 def count_time(func): def wrapper(*args,**kwargs): starTime=time.time() func(*args,**kwargs) en...
[ "240949806@qq.com" ]
240949806@qq.com
d1f1e51bd4778f138a058c541ed474b9d28ad28e
443a3644224a1c2e52e2bb18ff213f7626cbb37e
/src/hw_week1_Maheswari_Jyoti.py
6886371536466b9fab9ac94b5e8b628fc9daee52
[]
no_license
jyotipmahes/HW1_MSDS603
22f1fbcf743b2d81722ba46fbfe5cdbfdef8845a
5839aa3b6cbb08c2febd9cd6496bb27ff13d5084
refs/heads/master
2020-05-01T08:18:11.296397
2019-03-24T07:24:25
2019-03-24T07:24:25
177,374,656
0
0
null
null
null
null
UTF-8
Python
false
false
1,731
py
import paramiko from os.path import expanduser from user_definition import * git_repo_name = "HW1_MSDS603" git_user_id = "jyotipmahes" # ## Assumption : Anaconda, Git (configured) def ssh_client(): """Return ssh client object""" return paramiko.SSHClient() def ssh_connection(ssh, ec2_address, user, key_f...
[ "manish1352@gmail.com" ]
manish1352@gmail.com
fa7594c9fdb0146e11aa47b8885825f522b575d5
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/M/MSuman/films.py
f258b48df7ac4fe9277c78d918119010501cafa0
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,034
py
############################################################################### # START HERE: Tutorial 2: Basic scraping and saving to the data store. # Follow the actions listed in BLOCK CAPITALS below. ############################################################################### import scraperwiki html = scraperwi...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
f42269c7589701a7c82e1784aeb2354d653b7e9a
726f9aba85e336a5b3e19573060393eae4c665f2
/PythonPracticePrograms/Basic Program/Check_Even_Odd_Number.py
c4d1327207eeee752cd18cf46b10087bd7bf811b
[]
no_license
dipikarpawarr/TQ_Python_Programming
318f9747d197364b2c6d7b875130f94b5b6407a1
0f0631a32571ed1a0c79d6f0ed2cc646c67ae2f5
refs/heads/main
2023-06-26T13:51:02.129544
2021-08-02T14:25:33
2021-08-02T14:25:33
387,700,665
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
# Write a python program to check whether a number is even or odd num = int(input("Enter the number = ")) if num%2 == 0: print("Even Number") else: print("Odd Number")
[ "dipikarpawar.dp@gmail.com" ]
dipikarpawar.dp@gmail.com
e53a61a84b28cb1a541f6a118aece937a7866d9c
7ef5c1307622c96cdf4c8750f9dba16daf5c840a
/app/views.py
133fd4380f5d58a99cbd146eac3cc25f3b81939c
[]
no_license
javiconrad13/info3180-project2
2ed691fadfd60968b795d846276fce58f4b6b41c
e20262a8da16a5c1f7f7b7304e88be259028a3cf
refs/heads/master
2021-01-20T06:29:07.484060
2017-05-01T00:33:34
2017-05-01T00:33:34
87,746,188
0
0
null
null
null
null
UTF-8
Python
false
false
9,573
py
import os, json, requests, hashlib, uuid from app import app, db from flask import render_template, request, redirect, url_for, jsonify, g, session, flash from flask_login import LoginManager, login_user, logout_user, current_user, login_required from app.models import myprofile, mywish from app.forms import LoginForm...
[ "javier.mac13@gmail.com" ]
javier.mac13@gmail.com
8be98d807ab85f325cfa81d857d065d110ecb869
aa565bd7705c82cfb55d312ed4e2ce48430a1baf
/PythonMaintenanceTools/PythonMaintenanceTools/LogHandle.py
b8b5faf110e8553f5afe0ccce7403c5d0610c03e
[]
no_license
SealOfFire/PythonMaintenanceTools
85da9664a0bcfe143e1d285a4bac207d222f921b
b7166de97fc9b1ba54c02f835d823aa6307d3c85
refs/heads/master
2020-01-28T04:23:06.046660
2016-05-18T01:21:24
2016-05-18T01:21:24
57,197,998
0
0
null
null
null
null
UTF-8
Python
false
false
1,157
py
#coding:utf-8 import logging import logging.handlers class Logger(): """ 日志处理 """ fileName = "maintenace.log" fmt = '[%(asctime)s] - [%(levelname)s] - %(message)s' logging.basicConfig(level=logging.NOTSET, format=fmt) filehandler = logging.handlers.TimedRotatingFileHandler(fileName, when="M", interval=1, backu...
[ "sealoffire@hotmail.com" ]
sealoffire@hotmail.com
27df235be75c7acc5609472abca7e701f25ae43b
af86911c54081303beac522608809e49407d3425
/accounts/api/urls.py
275de0d9bc7c23697bc826fb0ca47332d6b91550
[]
no_license
s6eskand/hackthe6ix-live-demo
0366f66b842d2f4c96479572d472bcc6731e9c82
f203a81348024b8c7c8768fee61ed64fb35746c0
refs/heads/master
2022-12-05T08:59:28.313552
2020-08-22T00:37:46
2020-08-22T00:37:46
288,350,315
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
from django.urls import path, include from .views import ( RegisterAPI, LoginAPI, UserAPI ) from knox import views as knox_views urlpatterns = [ path('', include('knox.urls')), path('/register', RegisterAPI.as_view()), path('/login', LoginAPI.as_view()), path('/user', UserAPI.as_view()), ...
[ "sam.eskandar00@hotmail.com" ]
sam.eskandar00@hotmail.com
5933c43ca08b198b28a8c7ecf6365fd2d86af56a
f90a6f4caa7484e763e48b8f0688d9a7dbbfc325
/utils/reflect_pad2d.py
40a501ceed97a0d37458a0bb534a828d3bbdfecb
[ "MIT" ]
permissive
zhangguobin/fast-neural-style
77309a6e145a3847a138485c3e5a259c02fb699d
eefdcc3b6ba5e92bbad24cd20999c71dde4df072
refs/heads/master
2020-05-03T03:01:05.859365
2019-05-19T11:23:45
2019-05-19T11:23:45
178,386,501
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
import tensorflow as tf def reflect_pad2d(x, H0=40, H1=40, W0=40, W1=40): 'NHWC format is expected for x' paddings = tf.constant([[0,0],[H0,H1],[W0,W1],[0,0]]) return tf.pad(x, paddings, "REFLECT")
[ "zzggbb@gmail.com" ]
zzggbb@gmail.com
a23e390e78c1834478f7d5451229c4f42b862a44
c5a379c8aeb60e77630906a812a5e530ec42eff7
/researchpy/correlation.py
a013ef37999e3bdf62b49c0a16cefa877c704142
[ "MIT" ]
permissive
TheBiggerGuy/researchpy
63f3ed334042285aeeca22085ced65e4a7ef33bb
c94025c160824897cee39d74b66ed01cc68bde4e
refs/heads/master
2020-12-07T04:35:39.314655
2019-12-03T16:54:27
2019-12-03T16:54:27
232,633,158
0
0
NOASSERTION
2020-01-08T18:39:46
2020-01-08T18:39:45
null
UTF-8
Python
false
false
3,047
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 6 12:18:47 2018 @author: bryantcm """ import pandas import numpy import scipy.stats import itertools def corr_case(dataframe, method = None): df = dataframe.dropna(how = 'any')._get_numeric_data() dfcols = pandas.DataFrame(columns= df....
[ "noreply@github.com" ]
TheBiggerGuy.noreply@github.com
322f7fe23c47903d990d42ba2d7b714ea4796660
b7543edb78cf1856daaca2fdfaf6f7737bb31f78
/SpMarket/apps/sp_goods/urls.py
dcc300d2046c0b55f1f0f70d44a344d454361076
[]
no_license
wxl-yin/supermarket
fdb19644957008defd0d41c772f77dbe4829326a
19de5d276d3078aa1bca9390adb5b9a34dafeebd
refs/heads/master
2022-12-02T14:32:03.450613
2020-07-07T01:21:11
2020-07-07T01:21:11
158,045,995
0
0
null
2022-11-22T03:07:48
2018-11-18T03:20:40
CSS
UTF-8
Python
false
false
278
py
from django.conf.urls import url from sp_goods.views import index, category, detail urlpatterns = [ url(r'^$', index, name="首页"), url(r'^category/(?P<cate_id>\d+)/(?P<order>\d)/$', category, name="分类"), url(r'^(?P<id>\d+).html$', detail, name="详情"), ]
[ "yqcdwg@163.com" ]
yqcdwg@163.com
c7958d614ef9d332d0006bf9408df7df41ebffa3
25cf15f81982348cdee729baa5c6c8ca19ab4506
/location/migrations/0004_auto_20180816_2307.py
bcdd0795f597c0d245bead09c38ac747fa52ac78
[]
no_license
HarunColic/ZizaRepo
ca962f42cbb3a521e3121174d6bf615187dfb67c
79cd051b88a39d678abd8aa329fd7cfdca40cb42
refs/heads/master
2020-03-26T15:17:32.182469
2020-03-03T12:00:46
2020-03-03T12:00:46
145,034,327
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.14 on 2018-08-16 23:07 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('location', '0003_auto_20180816_2306'), ] operations = [ mi...
[ "haruncolic@hotmail.com" ]
haruncolic@hotmail.com
b5160583d7d4b9d481df3e07c3c3a83f75d3c46d
201cfbb7d5bb7c554b74f07165ff8ec628bed388
/Rubiks.py
3209db18e3e32b4c9891f4f3c4e36f446ec986a1
[]
no_license
alswitz/Python-Projects
001a10a818254c89bb72e14b0fd1e7f6de1a2d8f
c0ee7cb635d6edfea51da835b6fa44e5e2cfce26
refs/heads/master
2021-01-11T19:59:54.969480
2017-04-30T20:30:58
2017-04-30T20:30:58
79,442,355
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
def main(): #Initialize our variables for usage. cubeHead = [] squareMast = [] advTwister = [] intTurner = [] avgMover = [] pathetic = [] #Temporary array for in loop manipulation file = open("timings.txt", "r") for line in file: temp = line.split(",") name = temp[0].rst...
[ "alexanderswitz09@gmail.com" ]
alexanderswitz09@gmail.com
f2acdc260cfc71e9805b9f71e021ffb0e8ad4cfe
e4959d5a980f5597589175e956bcef0fad350e09
/check_wind.py
28d7e9347ebce48697346ed6b5f63c183e61cdaa
[]
no_license
mbanders/simple_wind_monitor
75bb4a7cc1f6de7e1d5e71a1c847d81a8e76fbbf
e591eb27b376c2f753312628597800b35ab46165
refs/heads/master
2021-07-19T12:29:44.660099
2017-10-27T12:57:47
2017-10-27T12:58:08
108,546,074
0
0
null
null
null
null
UTF-8
Python
false
false
967
py
#!/usr/bin/env python3 import datetime import re import requests airport = 'KAUS' metar_base = 'https://aviationweather.gov/adds/dataserver_current/httpparam?' metar_params = 'dataSource=metars&requestType=retrieve&format=xml&hoursBeforeNow=3&mostRecent=true&stationString=%s' % airport metar_url = metar_base + metar_...
[ "mbanderson@uwalumni.com" ]
mbanderson@uwalumni.com
bbb3ec74512af6739fe39b1066189c187c8bdcb5
e108d14f6a57b549c906dbaf62d6d08df8f0d561
/manage.py
87ded52f8e86cc8fb7e35c11e335aba921a4881b
[]
no_license
thraxil/pixelvore
4305e4b9602f0b74ff707f240eed5c3f74b6164c
0f3e97759a10edc318b0d25927100a58f5bdb525
refs/heads/master
2021-11-16T23:35:34.914895
2021-11-12T00:04:36
2021-11-12T08:29:15
1,564,337
0
0
null
2021-11-15T12:55:15
2011-04-03T20:53:33
Python
UTF-8
Python
false
false
241
py
#!ve/bin/python import os, sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pixelvore.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "anders@columbia.edu" ]
anders@columbia.edu
f178a3c4790dcb0e5d6b7eb52add398b1af18979
d931d1e0c14083fe23616e583dde03fde44892cc
/AtCoder_Beginner_Contest_156/A - Beginner.py
11d45ff1d2bf99a43be156f468439fc2dd47f1af
[]
no_license
l3ickey/AtCoder
52379393299881bae3cdd9c0026a230068ad8b20
2740799ae5bfe08c31e1c735b127b82e9dd79b6a
refs/heads/master
2023-01-30T13:14:32.555692
2020-12-20T14:13:57
2020-12-20T14:13:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
n, r = map(int, input().split()) if (n < 10): r = r + (100 * (10 - n)) print(r)
[ "47290651+FunabikiKeisuke@users.noreply.github.com" ]
47290651+FunabikiKeisuke@users.noreply.github.com
e3555ac5b8855b7a4e5dd7b65d7f65672f1e3c45
55f4b7ae0cb97a71fe06e3231bd9f48e5383aa39
/exe03.py
d5a7de4432ca51aa0c6c0fed4c28638ab61c89bd
[]
no_license
andreplacet/reiforcement-python-tasks-2
fc26d760a3307005d177c27e4e4fe60974b9009c
8aab66cd4e8396e3a603d2d96056bf755399a9aa
refs/heads/master
2022-12-25T12:31:09.457195
2020-10-14T23:32:57
2020-10-14T23:32:57
304,159,647
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
#Exercicio 3 sexo = str(input('Informe seu sexo: [M]asculino / [F]eminino: ')).upper() if sexo[0] == 'M': print('Sexo masculino!') elif sexo[0] == 'F': print('Sexo Feminino!') else: print('Sexo Invalido! ')
[ "andreplacet@gmail.com" ]
andreplacet@gmail.com
4e4a1e7c3eb6ea886988f377c59444a994c60b96
0b727372ceadf0449f6b166f4d531cc4eb75f80f
/polls/models.py
0fff0f22c15cd7e2c4a1926fe0f7f9ab7ca02957
[]
no_license
JHP-tido/DSIpract3Django
47bb916e63cacbb4e50dc3be6008f932bf098a0c
954b951ced2fe7102b5ae64366c4402d866578c4
refs/heads/master
2021-01-16T18:42:16.410334
2013-03-06T15:00:43
2013-03-06T15:00:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
529
py
from django.db import models import datetime class Poll(models.Model): question = models.CharField(max_length=200) pub_date = models.DateTimeField('date published') def __unicode__(self): return self.question def was_published_today(self): return self.pub_date.date() == datetime.date.today() class ...
[ "JHP-tido@hotmail.com" ]
JHP-tido@hotmail.com
f77ec20f284ab8e85d2d93d6ff0fc544a72a79fd
0d6dfdb80b91c2100e2a5b24855f04daf8203811
/sentiment_rnn.py
a58323dad5927cddef368b3face6c7b264dc4de8
[]
no_license
holdenlee/treeflow
21785a322e0a49e7eb9c70986d68d5ba805e11aa
e74a1f64f7920c2fa05d7135916698c32c064421
refs/heads/master
2021-01-11T09:13:03.369907
2016-12-24T19:09:42
2016-12-24T19:09:42
77,258,929
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
import tensorflow as tf import numpy as np from treeflow import treeflow, treeflow_unfold #treeflow(fs, child_inds, leaves_inds, leaves, node_inputs = [], has_outputs = False, is_list_fn = False, def_size=10, ans_type=tf.float32, output_type=tf.float32, degree=2) """ * `T` is tensor """ def rtn(T, b, f, chil...
[ "holdenl@princeton.edu" ]
holdenl@princeton.edu
45f64ab70cffaf28e04ee0ad75e2af391b7b7df4
bcb231b3f162e4d2d97569189dd241e74ad8dd73
/children/views.py
ccf28279ae4b572d22d905aace97f3ce55c2fe1c
[]
no_license
Code-Institute-Submissions/ngo-project
bd2cdc2fdde8671939de733492dc7af2d241449f
118fde025b6d0b5e055637cb116229f4e286062f
refs/heads/master
2020-09-11T02:51:15.500692
2019-11-15T11:40:03
2019-11-15T11:40:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
from django.shortcuts import render from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from .models import Child # Create your views here. def all_children(request): children = Child.objects.all() paginator = Paginator(children, 6) page = request.GET.get("page") try: ...
[ "ubuntu@ip-172-31-35-122.ec2.internal" ]
ubuntu@ip-172-31-35-122.ec2.internal
dfe4ee355c3664deef382bd69afcb51e20d4fdc9
e74b8138a4914d52abda6478d0e6001a62a1d050
/Archived bots/ChallengerBot_v7.py
7396579c80dd07e8b88141e781062b39f5b44d8e
[]
no_license
adrienball/halite
69cfee7b9e9093421a966b7d60c7481fdee9e4f1
0662c9a438a796693c59bd2ac3d4194f3b966f5d
refs/heads/master
2021-03-24T09:31:17.308424
2017-02-18T17:50:54
2017-02-18T17:50:54
78,957,826
0
2
null
null
null
null
UTF-8
Python
false
false
3,293
py
import hlt from hlt import NORTH, EAST, SOUTH, WEST, STILL, Move, Square import math myID, game_map = hlt.get_init() productions = [square.production for square in game_map] max_production = max(productions) hlt.send_init("ChallengerBot_v7") def distance_to_enemy(square, direction): distance = 0 max_distance...
[ "adrien.ball@snips.net" ]
adrien.ball@snips.net
63f823588430813437dab8781e59e8148e6c5d7c
7b7a1221e9b472c690313186408a6a56ee94f97a
/public/static/svgedit/extras/update-langs.py
26d883905b41144f7dab17b9a978c7b84050aa46
[ "MIT" ]
permissive
wanyanyan/judy
9e6ef7f9ac2ba434e04816b233807561216dead2
553cfe388477fcd4b561caf621afb837ab40c814
refs/heads/master
2020-06-25T11:46:12.499258
2017-01-11T03:22:53
2017-01-11T03:22:53
74,532,314
0
1
null
null
null
null
UTF-8
Python
false
false
2,421
py
#!/usr/bin/env python # -*- coding: iso-8859-15 -*- """ This is a helper script for the svg-edit project, useful for managing all the language files Licensed under the MIT License as is the rest of the project Requires Python 2.6 Copyright (c) 2010 Jeff Schiller """ import os import json from types impor...
[ "wanyanya@126.com" ]
wanyanya@126.com
dba414ab17db1a2b279188a1337ffecac5c63517
94446072f4097b95f0a771748b9b5be308bda58b
/测试函数/test_name_function.py
4f42b1564bd42683deaecd6e03240f736ab9863c
[]
no_license
lj1064201288/Python-Notebook
55eb527ffc2a9fa65aee49fb10b571f0526e5113
03745ebb536157f4b747c2d96d951a281b9461cf
refs/heads/master
2020-03-26T03:54:06.945888
2018-08-25T01:51:40
2018-08-25T01:51:40
144,475,137
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
import unittest from name_function import get_formatted_name class NamesTestCase(unittest.TestCase): '''测试name_function.py''' def test_first_last_name(self): '''能够正确的处理像Janis Joplin这样的姓名吗?''' formatted_name = get_formatted_name('janis', 'joplin') self.assertEqual(formatted_name, 'Janis ...
[ "1064201288@qq.com" ]
1064201288@qq.com
8e023b8d712aa0d3d50dd30d21d4abfe5b71e3bf
040c49dd116ad6ff69a61a60c9fc2dc3d17da6d0
/guiFrame.py
9a87810f88306c919a7e796bbf271fff6bdd90ee
[]
no_license
raulsanika015/python
0dba12d62a32b7cbcd1c50c018a6ab4f56cf9472
cf2e73192e180efe3357cbc5477b9abe1469f818
refs/heads/master
2020-08-13T10:43:57.942184
2019-10-14T13:38:45
2019-10-14T13:38:45
214,956,298
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from tkinter import * root = Tk() frame = Frame(root) frame.pack() bottomframe = Frame(root) bottomframe.pack( side = BOTTOM ) redbutton = Button(frame, text = "Red", fg = "red") redbutton.pack( side = LEFT) greenbutton = Button(frame, text = "Brown", fg="brown") greenbutton.pack( side = LEFT ) blue...
[ "noreply@github.com" ]
raulsanika015.noreply@github.com
c9b819700f9d15af24deae52ad543be49d1c99e5
21ba6d42f7f26779322a149d0af25f3acbb07682
/Repository/Price Prediction/prediction-compare.py
2531d8309b4e5894b92d4b343b2a699ca79da1ae
[]
no_license
Bolanle/G54MIP
6f1fa37b1a9da0477c3b22c9f957cbaf2249b764
02913adc86088bbbdab23c6d508a7c91bcb0d110
refs/heads/master
2021-01-18T16:41:17.783175
2015-05-07T10:31:19
2015-05-07T10:31:19
24,644,928
1
0
null
null
null
null
UTF-8
Python
false
false
13,688
py
from collections import Counter __author__ = 'Ester' import os import warnings import pandas import numpy as np from sklearn.svm import SVC, LinearSVC from sklearn.metrics import f1_score, accuracy_score, recall_score, precision_score from sklearn.preprocessing import MinMaxScaler from svm_hmm import SVMHMM from skle...
[ "onifade.esther@gmail.com" ]
onifade.esther@gmail.com
8fefa67098f64d73674240e6c164dd8075fd97fc
f1b2552da228ba03ec895122b090c0f6c3234c56
/game_10_with_design.py
e37b1581a9ede527ba6251640d6f45c06105715f
[ "MIT" ]
permissive
codinggrace/text_based_adventure_game
2458967a6a7fb2138fe8926714f67d32c88445d2
c0944f57d790dcd9be161b04b1372014d2c77d49
refs/heads/master
2023-04-20T19:24:44.167863
2021-04-28T17:45:20
2021-04-28T17:45:20
274,380,326
39
38
null
null
null
null
UTF-8
Python
false
false
13,633
py
import os # Let's clean it up (or refactor), and create a function to ask for your name and return it. # This will keep main() as clean as possible. # New code starts at line 147 # # Run this code a few times and see what happens with different choices. # It's good to test all options and see if that's what you expecte...
[ "noreply@github.com" ]
codinggrace.noreply@github.com
ba80a3767effb9210d98abe979d2f5eee9574674
0b91308ff675c680baa6ee31859a15e0ac9ca50d
/trio_typing/__init__.pyi
19775a6f653f3bdbc2c631b469bd9cae6a008f78
[ "MIT", "Apache-2.0" ]
permissive
oakkitten/trio-typing
81f9c3fb3809525b9f85139c8756b78a673dbdc8
6f30046f327e9c4dcd541ed5ac5e1a0a2f8ab834
refs/heads/master
2020-07-22T23:43:37.148535
2019-05-10T19:04:00
2019-05-10T19:04:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,794
pyi
import sys import trio from abc import abstractmethod, abstractproperty, ABCMeta from typing import ( Any, AsyncIterator, Awaitable, Callable, FrozenSet, Generic, Optional, Type, TypeVar, Union, overload, ) from types import CodeType, FrameType, TracebackType from typing_exte...
[ "oremanj@gmail.com" ]
oremanj@gmail.com
262ed87099fcaae6af2892a97066214b1d732ebf
a267a254f20d07702ba9050aa2508f7cff97c7ea
/optforwardtest.py
e8bf12eaf404f908fe7901b203b5c471c5b9c0af
[]
no_license
fjfabz/ridgecvtest
8c3f30284dd3f064fe7fbf8d1d63cc2a4aeaaddf
26bf940eda7c149ba1deff803ff71b4014cfdbba
refs/heads/master
2020-05-17T15:18:08.711734
2018-03-21T06:39:58
2018-03-21T06:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
33,022
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- from __future__ import division __author__ = 'LiNing' from sigknn import * from sigsvm import * import os, sys, datetime, glob import argparse, logging import numpy as np import pandas as pd from pandas import Series, DataFrame import pylab as pl import ma...
[ "lining0806@gmail.com" ]
lining0806@gmail.com
e541abef00103a62f33255d9084922d3be63eabf
3a46ee7a74e2b8e57935110737de2279ab3f45f1
/automation/amazon_books.py
08e15ed341e82907b41237027de0ae403c0e074b
[]
no_license
Shivashankar101/PycharmProjects
6c30685a00eb498b3e23a5fbbfe56d47797d9fcd
d28e63ea417ace1927dec733bea9567339b6ff16
refs/heads/main
2023-03-07T01:49:47.011595
2021-02-21T09:26:07
2021-02-21T09:26:07
330,922,566
0
0
null
2021-02-20T06:00:04
2021-01-19T09:08:39
Python
UTF-8
Python
false
false
1,920
py
import csv from selenium import webdriver from bs4 import BeautifulSoup import time template = 'https://www.amazon.in/s?k={}g&ref=nb_sb_noss' def get_url(search_item): search_item = search_item.replace(' ', '+') url = template.format(search_item) # search query url += '&page={}' # page querry return...
[ "shivashankarawati@gmail.com" ]
shivashankarawati@gmail.com
16c4dc330380e021d8ad37830b8fba414fa2bcc4
e1e95bb143246839e2c9cd64c45ed53e2009239d
/Eleonor/codes/FactureOO.py
074be7f7e69045954e60f780d878c5d5e0a3f01c
[]
no_license
Dalois-30/Eleonor1
f34a012dcaf7baae5ba90c3f3291754b3ef0705b
6d9b2366393db1859d52c9339bd14f981fa02168
refs/heads/main
2023-04-07T00:13:16.578001
2021-04-06T14:33:08
2021-04-06T14:33:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,171
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Feb 22 17:07:06 2021 @author: toor """ # -*- coding: utf-8 -*- """ Created on Sat Feb 20 16:43:50 2021 @author: Paradoxe """ import os #import django from tkinter import * import psycopg2 import tkinter.messagebox #conclure from datetime import date...
[ "claudetapi@yahoo.com" ]
claudetapi@yahoo.com
b1da344207265003e044c700a5073e037dc06e3f
08ee36e0bb1c250f7f2dfda12c1a73d1984cd2bc
/src/mnistk/networks/resnetstyle_95.py
52381dd5557fa0bbec007c65e2b5abeff1a8cf33
[]
no_license
ahgamut/mnistk
58dadffad204602d425b18549e9b3d245dbf5486
19a661185e6d82996624fc6fcc03de7ad9213eb0
refs/heads/master
2021-11-04T07:36:07.394100
2021-10-27T18:37:12
2021-10-27T18:37:12
227,103,881
2
1
null
2020-02-19T22:07:24
2019-12-10T11:33:09
Python
UTF-8
Python
false
false
1,347
py
# -*- coding: utf-8 -*- """ resnetstyle_95.py :copyright: (c) 2019 by Gautham Venkatasubramanian. :license: MIT """ import torch from torch import nn from torchvision.models.resnet import BasicBlock class ResNetStyle_95(nn.Module): def __init__(self): nn.Module.__init__(self) self.f0 =...
[ "41098605+ahgamut@users.noreply.github.com" ]
41098605+ahgamut@users.noreply.github.com
d90be07dcd1745206432452d98e1ce1ced901c93
8d0757b66cd276455645d0271d2aaae394638ce0
/lib/tasks/scripts/load_post_histories_from_psaw.py
78fb7863b4db64167b70df49ad69eb3fb2eabe8c
[]
no_license
shrik450/gru_recreation
95d756df9da7c227643e58bfc906e4e9d7c2108a
2d6cedbd7f07351367310fd02a4c25179a475715
refs/heads/master
2022-12-29T03:08:18.736886
2020-10-10T16:15:34
2020-10-10T16:15:34
294,592,730
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
import json import datetime as dt from psaw import PushshiftAPI api = PushshiftAPI() file = open("hate_authors.txt", "r") authors = [ author[:-1] for author in file.readlines() ] processed_authors_count = 1 with open("ps-post-histories", "w") as file: for author in authors: posts = api.search_submissions(autho...
[ "shrik450@gmail.com" ]
shrik450@gmail.com
d441d48133d054454e4b073fdba64d94513e826e
559d35264d84f40cda478442710ed01b9927aed1
/app.py
7a7cb2eb849a678f98c697201884f2aabd05306c
[]
no_license
cauchymike/temi_go
5bbfc463d16d313ba50580ea08b50673479633f4
deff410bcd4fe8a3cac2476fa075d69fd8b00fa7
refs/heads/main
2022-12-20T08:18:04.299527
2020-10-09T01:16:47
2020-10-09T01:16:47
302,466,983
0
0
null
null
null
null
UTF-8
Python
false
false
81
py
from temibot import app if __name__ =="__main__": app.run(debug =False)
[ "noreply@github.com" ]
cauchymike.noreply@github.com
4e3127f178684e21906555e033ffcbf9ebd032e8
490f13d332d93b14431a5da8e075774bcc6aee3b
/quotation/urls.py
b7ce3b6e9f9a918eab182325538b75b12509034d
[]
no_license
rickyakilimali/ria
c9769825fc2b1f1514906b1ac4c30c2e8fe25dfd
4c54e4326ff312e231eac6484d09476d61fb564a
refs/heads/master
2021-08-24T11:39:49.940193
2017-12-09T15:13:35
2017-12-09T15:13:35
113,436,642
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
from django.conf.urls import url from django.views.generic.base import TemplateView from .views import MaQuotationView urlpatterns = [ url(r'^ma-quotation/$', MaQuotationView.as_view(), name='ma-quotation'), ]
[ "jusciamua@gmail.com" ]
jusciamua@gmail.com
2b95f7153977ca0d45bb1fc024b05b2a6ac9c972
182de0ee6ac69d269bc0f90f927e29c7079494c6
/data_electorate/data_electorate/settings.py
48de898c301a496c567a5662c5ed17290b8f77f4
[]
no_license
lucassalcarde/data-ibge-tse
2301647ebab817bb706c248e37331e8f2d8cdb6d
8b479a07e939bbe474c06fe29a52c085365a0a46
refs/heads/master
2022-11-20T04:40:57.161242
2019-10-23T17:19:40
2019-10-23T17:19:40
217,048,696
0
0
null
2022-11-04T19:37:42
2019-10-23T12:12:44
Python
UTF-8
Python
false
false
3,307
py
# -*- coding: utf-8 -*- # Scrapy settings for data_electorate project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/la...
[ "lucassalcarde@gmail.com" ]
lucassalcarde@gmail.com
534d2c99d85e1cde09020b20275186f6e96c3704
b00ff8b5adc27762209859c7d4d84c54652be9fa
/users/views.py
d387992c92e27af2bd97eacbe80b75e404266787
[]
no_license
frankieGitHub/myCardFlask
608db76470e12ddb6e317a4898365878965c832a
94a90ff61aa257fa62647ab96ca01266b0df0dc7
refs/heads/master
2020-03-28T07:39:56.651188
2018-09-08T09:36:15
2018-09-08T09:36:15
147,916,152
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
from flask import Flask, jsonify, request from common.views import APIView from users.auth import auth_required from users.resources import UserResource class UserAPIView(APIView): @auth_required def get(self, user=None, **kwargs): return self.json_response(data=user.to_serializable_dict()) d...
[ "frankie_lrh@163.com" ]
frankie_lrh@163.com
b3238114e24ec787a5ce0c4b2519570ab8b75ccd
14aed8f5a144bd8b3833e7a9d5a1c8fddaeb1590
/SparkLearning/Solutions/PairRDD_RegularRDD.py
7da13d75acef5b3fe4fabf3c171560a52a58b630
[]
no_license
TorpidCoder/BigData-Autoscaling
2cc393fcb05b9b09a637302770bdf367f162425f
7ee3538c7ccf877fd6868698891f29dcd9947df4
refs/heads/master
2021-06-22T11:02:27.667140
2020-12-04T04:14:10
2020-12-04T04:14:10
159,915,768
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
__author__ = "ResearchInMotion" import findspark findspark.init() from pyspark import SparkContext , SparkConf sparkconf = SparkConf().setMaster("local[*]").setAppName("test") sparkcont = SparkContext(conf=sparkconf) sparkcont.setLogLevel("ERROR") data = ["sahil 26" , "aardhana 27"] rdddata = sparkcont.paralleliz...
[ "thisissahilnagpal@gmail.com" ]
thisissahilnagpal@gmail.com
b0a7c23572aa0b77efc89cdac036e3494c42f6ec
a35878a2a370804e7c11d3c3a1fccfe99891b0e1
/venv/Scripts/pip3.7-script.py
672c1a3a6439056a9dfac3a0bc56828c91d466d5
[]
no_license
parmarsuraj99/Saar
d005da2dba3b4e594f7497018bedd918856c5db0
bd9e7e7294550be36ec9a2768194a75e12927bc1
refs/heads/master
2020-04-20T13:56:21.558282
2019-10-04T04:31:52
2019-10-04T04:31:52
168,883,505
1
3
null
2019-10-04T04:31:54
2019-02-02T22:06:27
Python
UTF-8
Python
false
false
388
py
#!E:\Python\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.7' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit( l...
[ "parmarsuraj99@gmail.com" ]
parmarsuraj99@gmail.com
a9b5389399e46c13c19544252d9a80caf805f169
91bfaf7c6f7d0dfad6cfeb697f94e1fd21837ee4
/python/gyakorlofeladatok/2.feladat.py
c4c09bdec2e52cfddae49a3eafe481ac4859d310
[]
no_license
jantayg/13SZF2
49c5ed1e462a16ea92c5edaa984fc2a90096a394
e77b6b8ff4e954b02b9402a4ddbb29af2800d1f2
refs/heads/master
2023-05-20T06:13:25.379622
2021-06-08T09:03:21
2021-06-08T09:03:21
353,932,565
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
szam1 = (input("első szám: ")) szam2 = (input("második szám: ")) szam3 = (input("harmadik szám: ")) if szam1 > szam2 and szam3: print("a legnagyobb szám: " + szam1) elif szam2 > szam3: print("a legnagyobb szám: " + szam2) else:print("a legnagyobb szám: " + szam3)
[ "jantayg@icloud.com" ]
jantayg@icloud.com
73166b6628fffe4b8974514dd61779e899b0ebd0
e49822ef4837a0642127cb95c3424bdc613fdd85
/fifa_crawler.py
9c61e007d1039d90a5533110857edff77b041964
[]
no_license
tchrys/Football-Stats-Generator-for-ML
aad1db05575dfeb1aff15da5bddee1fe2a3bdb07
2dbd1ae2b7242d129ac5d8de7faefd61a28bac23
refs/heads/master
2020-07-30T08:24:05.213575
2019-09-22T14:59:00
2019-09-22T14:59:00
210,153,708
0
0
null
null
null
null
UTF-8
Python
false
false
4,791
py
from bs4 import BeautifulSoup as soup import urllib import ast import io # this file represents a crawler for fifaindex.com. It has three big functions: # getAllTeams - it constructs the link regarding to country and year and # access all teams from that page. # getTeamInfo - it founds the table with team's pl...
[ "tanasescuchrys@gmail.com" ]
tanasescuchrys@gmail.com
7d4ec6bb3cb595bb0184c6b167533d881f5550f3
28958794f32fd2b5852a4b904325e0fd647a73e9
/modules/mmconnect.py
de6e504e114c7037d522ab6f08aae663bd8fb808
[]
no_license
gruvin/mmxmodem
23decdd5d9150f8807233f6560113efca3d8ff89
15db54eec2e584ee2f0a95cab7e613dbc0bd46c2
refs/heads/master
2021-01-01T05:32:17.623290
2015-05-17T11:15:06
2015-05-17T11:15:06
34,551,096
4
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
import sys import serial from time import time, sleep import logging log = logging.getLogger() SOH='\x01' STX='\x02' ACK='\x06' NAK='\x15' CAN='\x18' log.debug('opening serial port') def mmconnect(sp): try: s = serial.Serial( port=sp, baudrate=115200, bytesize=8, parity...
[ "gruvin@gmail.com" ]
gruvin@gmail.com
200f686b4da3cb5b583d6c94769b27385b223a24
0819516b5ebbf82967b8bca36e6c9185f0570aa2
/examples/layer_2/threaded/network_down_detectors_no_runner.py
cfbb65c0ccd48387d3f2d1dc44fb4c1c005db494
[ "BSD-3-Clause" ]
permissive
rosekdrd/moler
4fa395b54f6f5813168f1ea35e97877a59efed8c
d06bc226cf794edbedea2e863365150759564ae5
refs/heads/master
2020-06-26T13:59:58.367831
2019-07-30T08:00:32
2019-07-30T08:00:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,697
py
# -*- coding: utf-8 -*- """ threaded.network_down_detectors_no_runner.py ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A fully-functional connection-observer using socket & threading. Works on Python 2.7 as well as on 3.6 This is Layer_2 (half of it) example: uses Moler provided external-IO TCP implementation (moler.i...
[ "grzegorz.latuszek@nokia.com" ]
grzegorz.latuszek@nokia.com
2b5d91deecaab4c21ab1f2aa574664b0600d821b
b80189c10ead7cc7f04282c52a3424459fe1af9b
/lesson2/serializers.py
05651443ab71cb2bbdb89e88c5f5b56ed27a21da
[]
no_license
turganaliev/django_rf
4586961b66171f43b010842a2ea2990b5e1f1d14
c2cb59c0d414112a7f851f7df1a41f6155c6f3be
refs/heads/main
2023-03-12T12:01:22.390129
2021-03-02T12:09:26
2021-03-02T12:09:26
342,930,006
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
from rest_framework import serializers from lesson2.models import CarBrand, Car class CarListSerializer(serializers.ModelSerializer): class Meta: model = Car fields = '__all__' class CarBrandListSerializer(serializers.ModelSerializer): cars = CarListSerializer(many=True) class Meta: ...
[ "izatturganaliev@Izats-MacBook-Air.local" ]
izatturganaliev@Izats-MacBook-Air.local
b7f049329b8231816e82d0935ee42713218c7f5f
f075e81dd84cb8220eaf800a873bcc784072421b
/bokeh-master/tests/integration/interaction/test_tools.py
0c5d67ccae109ef675f53be4bd3507121b191727
[]
no_license
tommycarpi/py-tracy
ef3912f26d2a9fc3a52baf1bc546b915f5faa380
f10916e9219e902187fa4be2e874da83bb7251c7
refs/heads/master
2021-01-18T19:01:37.174060
2016-01-24T15:22:59
2016-01-24T15:22:59
47,195,069
8
1
null
null
null
null
UTF-8
Python
false
false
1,640
py
from __future__ import absolute_import from bokeh.io import save from bokeh.models import BoxSelectTool, ColumnDataSource, CustomJS from bokeh.plotting import figure from selenium.webdriver.common.action_chains import ActionChains import pytest pytestmark = pytest.mark.integration def test_box_select(output_file_ur...
[ "tommy@tommy.local" ]
tommy@tommy.local
2c7bba85d135de825a21fed533f6e623f05365a4
fd15aff8a2249a27e61a053fd24da0ea85ac4a42
/Lib/test/test_bz2.py
f158b901b9c90ab675115a5aa40af2ae0d5a4d35
[ "MIT" ]
permissive
Henrike100/EpicoCompiladores
b8d362ac3f87031ff49635b04defc800e19b5688
432f3a3371cdfe232208781f7b180241c5c22fac
refs/heads/master
2022-11-06T02:54:41.467006
2019-06-28T15:48:47
2019-06-28T15:48:47
194,295,124
0
1
MIT
2022-10-13T19:14:02
2019-06-28T15:22:27
Python
UTF-8
Python
false
false
37,571
py
from test import support from test.support import bigmemtest, _4G import unittest from io import BytesIO, DEFAULT_BUFFER_SIZE import os import pickle import glob import tempfile import pathlib import random import shutil import subprocess import threading from test.support import unlink import _compression import sys ...
[ "henrikem100@gmail.com" ]
henrikem100@gmail.com
ef9cecc91e7b99f22752fd0266c4724f94f43454
5c8eae715c3dd605d383686d1777f6f7795c1b63
/e-cidade/bin/oo2pdf/DocumentConverter.py
23d8ec8c62f8dcfac3bfee82c7f3a7c983656fed
[]
no_license
soarescbm/e-cidade
6e6b7cefdfc8d4d497e97c514d37dd330f6b1867
58d9c980900cd7448d58270111d105bc011a917e
refs/heads/master
2021-04-24T18:02:27.939759
2020-04-11T18:48:07
2020-04-11T18:48:07
254,710,850
2
2
null
2020-04-11T18:30:19
2020-04-10T18:47:36
PHP
UTF-8
Python
false
false
4,563
py
# # PyODConverter (Python OpenDocument Converter) v0.9.1 - 2008-03-01 # # This script converts a document from one office format to another by # connecting to an OpenOffice.org instance via Python-UNO bridge. # # Copyright (C) 2008 Mirko Nasato <mirko@artofsolving.com> # Licensed under the GNU LGPL v2.1 - http://www.gn...
[ "soarescbm@gmail.com" ]
soarescbm@gmail.com
5215b5aaa450988a9cc261e3c68a0353ab39e5bc
935a5dbec1e56a615f9d426c4cd8f31ed709ad45
/utils/evaluate.py
be8f0d85683b96c0a00f44705b6135de31fced99
[]
no_license
PandasCute/BDCI_Car_2018
1f94a858f114506335ef3e3ebb48256035ed83ba
1d8947fea362103ee6ca46133bfad3536fd5301f
refs/heads/master
2020-04-09T04:04:42.729789
2018-12-05T03:58:13
2018-12-05T03:58:13
160,009,414
1
1
null
null
null
null
UTF-8
Python
false
false
5,642
py
import numpy as np from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score, precision_recall_fscore_support def score_list(predicted, golden): assert len(predicted) == len(golden) correct = 0 for p, g in zip(predicted, golden): # print(p) # print(g) # pr...
[ "fanzf@nlp.nju.edu.cn" ]
fanzf@nlp.nju.edu.cn
6cf7f2a5e872e4cb93934c85e98ff767a3ca6331
5803c356bdf5b1a0bde429937f10d947a8b5afdf
/BimSetup.py
b47523425873cff050db711b92b6373276a9463c
[]
no_license
fengjixiong/BIM_Workbench
0a1500af344ccd19d606b21544009dc0dc3ed19b
7ba04c0f7e0da8c8c14bf622f3d2611cd8295452
refs/heads/master
2020-04-03T01:59:27.390302
2018-10-26T17:56:33
2018-10-26T17:56:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,555
py
#*************************************************************************** #* * #* Copyright (c) 2017 Yorik van Havre <yorik@uncreated.net> * #* * #* This pr...
[ "yorik@uncreated.net" ]
yorik@uncreated.net
a01fbfabc6dedb2dd92c73ae03b9ef2bbe1e3a2a
4dff4681ea924faabd3c64c4ce425972768ad2a9
/image_classification/utils/file_processing.py
df35949dd745dc1fe173c541ef4aa60a2d64f343
[]
no_license
Wprofessor/pytorch-learning-notes
0b1b038fa5feca330d28b7f24a30c01cd7a2bf5c
166dd1f31f4d3c4ce73f13077cf6619bbff91635
refs/heads/master
2022-01-08T10:03:54.590611
2019-05-15T03:01:35
2019-05-15T03:01:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,224
py
# -*-coding: utf-8 -*- """ @Project: IntelligentManufacture @File : file_processing.py @Author : panjq @E-mail : pan_jinquan@163.com @Date : 2019-02-14 15:08:19 """ import glob import os import os,shutil import numpy as np import pandas as pd def write_data(filename, content_list,mode='w'): ...
[ "pan_jinquan@163.com" ]
pan_jinquan@163.com