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
9e866cb5594902d113ce4e2a281a1e610490ce4d
e8bf0ec2f07be9c4fb9aff1c5ea3be2651db17f6
/Daily_Coding_Problem/451_fibonacci_in_o(1)_space.py
ef43d0267c50d1ce7212edb8a3b8b3059f61d224
[]
no_license
Srini-py/Python
0b4a0316f3754bc04e3c01214f1d99721defbf38
81eec0cc418baa86ad718be853242e4cc349dab4
refs/heads/main
2023-06-30T23:58:25.589872
2021-08-06T16:54:51
2021-08-06T16:54:51
393,439,738
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
''' Implement the function fib(n), which returns the nth number in the Fibonacci sequence, using only O(1) space. ''' def fib(n): if n == 0 or n == 1: return 1 a = i = 0 b = 1 while i < n - 1: b, a = a + b, b i += 1 return b n = int(input("Enter the value of n : ")) fib_...
[ "noreply@github.com" ]
Srini-py.noreply@github.com
1549e7d46bbfd04ec91919b4f82908babc489151
4688134d507034541232d15b61d467e3c83d16e4
/influxbee.py
bcedc80d8ea11101a23d18cbe1f089377d2f84c9
[]
no_license
daarsan/influxbee
28bc129a9028f5c39054a693923f4ef48f78f774
76a99733a5490f6751a65a05778261cc0a0e2a13
refs/heads/master
2020-03-28T02:32:34.728487
2018-09-06T17:03:53
2018-09-06T17:03:53
147,578,264
0
0
null
null
null
null
UTF-8
Python
false
false
8,950
py
# import the standard JSON parser import json # import logger import logging # import the REST library import requests import argparse import os import time from influxdb import InfluxDBClient from datetime import datetime, timedelta class MirubeeApi(): MIRUBEE_API_URL = "https://app.mirubee.com/api/v2/" ...
[ "d.aroca.sanchez@gmail.com" ]
d.aroca.sanchez@gmail.com
87c3e4038e5bbee2bdfc93310f042f31fe4ba122
e1808bea60f5f098ad2c4664ed2a639e276c4ff7
/scans/migrations/0003_auto_20180823_0854.py
9adb7bb671bfe0848c7d35416adb48d27eef3d54
[]
no_license
tuanklnew/VulnerabilitiesManagement
17008e120cb6f94f625eb31cd046401eeb4a315b
81603a1c8e4a21e496b22f318409e743e5d4be8b
refs/heads/master
2020-03-12T19:56:33.408314
2018-11-07T15:32:43
2018-11-07T15:32:43
130,794,917
0
1
null
null
null
null
UTF-8
Python
false
false
492
py
# Generated by Django 2.0.4 on 2018-08-23 01:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('scans', '0002_auto_20180803_1353'), ] operations = [ migrations.AlterField( model_name='scantas...
[ "tuanklnew@gmail.com" ]
tuanklnew@gmail.com
f6c5e6a043f67c50bbe6334ee5273fce210c2169
daf5995aa65a6936bd6cd26888af81e773d437fa
/rfn/layer.py
0cda51d4c6d65bbe2f4095029c5198688e27d4de
[ "MIT" ]
permissive
TobiasSkovgaardJepsen/relational-fusion-networks
12657451e236da3e4dc6ccebd85c3df64c7b0b5a
3b1f1d7ceae5251c835710863c70380332cc4cc5
refs/heads/master
2022-12-10T10:38:53.126769
2020-09-14T12:49:31
2020-09-14T13:54:47
192,924,730
25
5
MIT
2022-12-08T06:22:43
2019-06-20T13:26:38
Jupyter Notebook
UTF-8
Python
false
false
1,944
py
from mxnet.gluon.nn import HybridBlock class RFNLayer(HybridBlock): class Join(HybridBlock): """ Block that handles merging of node and between-edge features for use in graph fusion on a dual graph representation. """ def hybrid_forward(self, F, X_N, X_B, N_shared_node_dual): ...
[ "tobiasskovgaardjepsen@gmail.com" ]
tobiasskovgaardjepsen@gmail.com
e02ab462c9f4a49d4b599efd3007e3abb3612645
6d233ad2059a941e4ce4c5b5ee3857b8a4a0d212
/Everyday_alg/2021/05/2021_05_20/fan-zhuan-lian-biao-lcof.py
d1d64aebb1845d489af655b5b2d01f99ede7e6dc
[]
no_license
Alexanderklau/Algorithm
7c38af7debbe850dfc7b99cdadbf0f8f89141fc6
eac05f637a55bfcc342fa9fc4af4e2dd4156ea43
refs/heads/master
2022-06-12T21:07:23.635224
2022-06-12T08:12:07
2022-06-12T08:12:07
83,501,915
5
3
null
null
null
null
UTF-8
Python
false
false
549
py
# coding: utf-8 __author__ = "lau.wenbo" """ 定义一个函数,输入一个链表的头节点,反转该链表并输出反转后链表的头节点。   示例: 输入: 1->2->3->4->5->NULL 输出: 5->4->3->2->1->NULL   限制: 0 <= 节点个数 <= 5000 """ # Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class...
[ "429095816@qq.com" ]
429095816@qq.com
2e42ef9619f4fffbb4e0482a849b8171db04ffca
3c72dfae389d910ea77b9593a8601e8335b6a2d6
/tccli/services/car/__init__.py
c995a5cc0cc97606c8aa510af9f11ae788904758
[ "Apache-2.0" ]
permissive
TencentCloud/tencentcloud-cli-intl-en
c6c17e19a79a4c31b310da97bc91417e161801fb
5ed2fe2b91aa14f05e8821dd4332cc445b6234cd
refs/heads/master
2023-09-01T19:37:18.534188
2023-09-01T04:01:27
2023-09-01T04:01:27
229,569,850
0
7
Apache-2.0
2023-09-12T11:05:36
2019-12-22T13:10:59
Python
UTF-8
Python
false
false
85
py
# -*- coding: utf-8 -*- from tccli.services.car.car_client import action_caller
[ "tencentcloudapi@tencent.com" ]
tencentcloudapi@tencent.com
11e21ae82e962eea826afcb6343275e60e01c2b8
e9a386b8677066a376b004ff4f1475d7db976cfe
/teacher/views.py
d5ebb6b639be236c46088c3be91300ad387d1298
[]
no_license
farabisiddique/booctep_deployment
c92ff3848cf2cb044c66a04d2c25cce1cffa535d
055c2a72103a552a159b0cd88a60bd81b72ac067
refs/heads/main
2023-03-14T20:39:29.565446
2021-03-07T12:50:21
2021-03-07T12:50:21
345,344,689
0
0
null
null
null
null
UTF-8
Python
false
false
20,895
py
from django.shortcuts import render,redirect from teacher.models import categories, Courses, VideoUploads, Sections, questions, student_mark, answers from home.models import User, user_profile, notifications from student.models import student_register_courses, student_rating_courses, course_comments from datetime impor...
[ "ebari2017@yandex.com" ]
ebari2017@yandex.com
b538c15b1341fafdf1aed9ae349e8d6dd94a524a
0d4850d343530aca114921bc500cae0a2a6c34b4
/algorithms/heuristic_methods.py
f1311304442600d65c4fc02fd33bc665282d6b55
[]
no_license
proxodilka/genetic_algorithms
c3518208df962d9c5414c940b10f792f4dacd5a3
7a4acc17849c253dc14a5cfc5f6e1dd43ba876de
refs/heads/master
2023-04-30T10:45:36.683912
2021-05-22T21:57:29
2021-05-22T21:57:29
369,882,663
0
0
null
null
null
null
UTF-8
Python
false
false
3,675
py
from abc import abstractmethod import numpy as np from .utils import SEED # np.random.seed(SEED.value) class BaseSolver: def __init__(self, individual_type, score_fn, **kwargs): self.type = individual_type self.scorer = score_fn self.i = 0 def get_solutions(self, n, steps=None): ...
[ "zeeron209@gmail.com" ]
zeeron209@gmail.com
accffe6b7df7db10cdb2761f91701c25dbcc7b4b
55a4a29ecbc32570d08dd03cdb521b7e978db09c
/authorization/forms.py
c061204d11e88688845d340d795a23a58f01a719
[]
no_license
dimdiden/portanizer
73c55d129916a79c660012220c7e6694826e5ff8
e54f4f04a4052b4b94a92e4c8b10d1ccf5aac5ee
refs/heads/master
2021-09-27T18:22:27.175236
2020-08-09T09:07:06
2020-08-09T09:07:06
99,321,841
0
0
null
2021-09-22T17:38:07
2017-08-04T08:30:12
Python
UTF-8
Python
false
false
3,889
py
from django import forms from django.contrib.auth import ( authenticate, get_user_model, ) # This method will return the currently active user model # the custom user model if one is specified, or User otherwise. User = get_user_model() class UserLoginForm(forms.Form): username = forms.CharField(widget=f...
[ "dimdiden@gmail.com" ]
dimdiden@gmail.com
f25422ab2631f0fdbeb4a03692b87a9201748f63
54646ea5bc36103cf8100ec796b640a8358fef95
/database/migrations/0005_auto_20151013_1921.py
0a697c25fdff4b71b280aee61e1bdb088eec6e0a
[]
no_license
extremewaysback/origin
3d48fb642feef0a5fe33e323b99f437d00446045
ccdc059c6590aa17115ae7af9ed8aff8cd0e5d1c
refs/heads/master
2021-01-09T21:47:38.135516
2016-04-08T13:49:21
2016-04-08T13:49:21
48,943,391
0
0
null
null
null
null
UTF-8
Python
false
false
467
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('database', '0004_auto_20151013_1654'), ] operations = [ migrations.AlterField( mode...
[ "extremewaysback@hotmail.com" ]
extremewaysback@hotmail.com
d595fa292a91a2c556d114cdb90fca4be8725a62
e35eb92b5ab6547119585004b9eea3cafe948050
/efsw/archive/forms.py
0412fa6bb77d4b59b6d79c94e261e4dacfe4a7aa
[]
no_license
einsfr/mmkit
0a084db85b2cf5ba268e692676095d768733f387
f12bc2f83254a3123e02abdc105816cc04c438b5
refs/heads/master
2020-12-31T05:56:19.287611
2016-06-10T05:56:58
2016-06-10T05:56:58
29,473,203
0
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
from django import forms from django.forms import widgets from efsw.archive import models from efsw.storage import models as storage_models from efsw.common.datetime.period import DatePeriod class ItemCreateForm(forms.ModelForm): class Meta: model = models.Item fields = ('name', 'description', '...
[ "einsfr@users.noreply.github.com" ]
einsfr@users.noreply.github.com
6c5f673ff30c794a914498e84443611631ab3a81
4ef81999138d46494b49314f87321fb505e6ceb5
/spider_scrapy_lianjia/items.py
edde6cfdc2ec5855c14679ed637df8b8cccbcf5d
[]
no_license
netww/spider_scrapy_lianjia
50bc08693d72d5cf60c076fb99e0835079239597
b86c1152457c15c842ddbd72ff4d4a687abed9fb
refs/heads/master
2021-06-05T21:33:44.530069
2016-10-22T14:06:17
2016-10-22T14:06:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # http://doc.scrapy.org/en/latest/topics/items.html from scrapy import Item, Field class SpiderScrapyLianjiaItem(Item): # define the fields for your item here like: # name = scrapy.Field() xiaoqu_id = Fie...
[ "stamhe@163.com" ]
stamhe@163.com
02e886e543183014af20712cd90728216ab6fbf6
257f48f957d6642315b04bef2fad6c0458885811
/support/make_structures.in.py
d7ac0f84079d1994a9e7dab4f85d437a3ac87a8b
[ "MIT" ]
permissive
msg-byu/enumlib
3074daa6ef95c735d6b963fe5dbce0ef1b3a31a9
6bd831f3b325acf1e7066fbe1ffb7312ff249a34
refs/heads/main
2023-01-12T12:02:25.029089
2023-01-02T17:00:06
2023-01-02T17:00:06
36,761,164
56
43
MIT
2022-11-19T15:41:24
2015-06-02T20:53:29
Roff
UTF-8
Python
false
false
1,059
py
#!/usr/bin/python import os, subprocess from os import path import glob from os import system import string import sys # Read in a struct_enum-format file with structures defined. These will be converted to the # vasp-like format that UNCLE uses if len( sys.argv) < 2: sys.exit("Script needs an argument---file con...
[ "hart@55a9f988-e549-0410-8b28-d6fb27d14cbf" ]
hart@55a9f988-e549-0410-8b28-d6fb27d14cbf
230e18e7d8c515bdfedabdd665fcd611708d8686
dd0c53c5e56d2aa81e6b8336444395e9ebade387
/calamari_ocr/ocr/augmentation/data_augmenter.py
8da5c2f640f9f0d9dd5066d3557de288dfe5caa1
[ "Apache-2.0" ]
permissive
Caro-app/calamari
ae54f0af2aaae5645ed5a8466ab43d1100f5e62f
30a52cc60ea0c80bbdd9ff042bbd87093524d416
refs/heads/master
2021-01-02T00:11:42.582352
2020-05-27T15:40:46
2020-05-27T15:40:46
239,406,215
0
0
Apache-2.0
2020-05-27T15:40:47
2020-02-10T01:50:10
Python
UTF-8
Python
false
false
2,711
py
from abc import ABC, abstractmethod from calamari_ocr.utils import parallel_map import numpy as np class DataAugmenter(ABC): def __init__(self): super().__init__() @abstractmethod def augment_single(self, data, gt_txt): pass def augment_data(self, data, gt_txt, n_augmentations): ...
[ "wick.chr.info@gmail.com" ]
wick.chr.info@gmail.com
32dc757a5cd4046d35cbdf7ab91781b3fac76911
faa1bed2eee1a81c56aa147c39219faf18da7542
/Algorithms/Binary search.py
f90d4ba5073e54666c1f9d16390e6b6ca9546d9f
[]
no_license
Dieterdemuynck/Informatica5
2f284fe20d1bffe579f602419cc61793e55b2f40
6507a4c3f90f0b43d37499bfa3c6fac1bd482094
refs/heads/master
2020-03-28T01:15:55.625344
2020-03-04T22:58:50
2020-03-04T22:58:50
147,491,195
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
from random import randint from time import time import matplotlib.pyplot as plt def genereer_rij(aantal): rij = [] for i in range(aantal): rij.append(randint(0, aantal)) return rij def linear_search(lijst, getal): index = 0 while index < len(lijst) and lijst[index] != getal: in...
[ "42997575+Dieterdemuynck@users.noreply.github.com" ]
42997575+Dieterdemuynck@users.noreply.github.com
6ae1b8647bd11e98a581eaf73d719c81166a3dd1
ab3809c47ed79898a386bcb5c69b35e292ede0da
/10_linear_regression/10-linear-regression-l1-regularization-v2.py
49e483fd2e2bd4e6f6c1e0d1f78fb0dd8035a804
[]
no_license
ytphua/neural-network-journey
ac01d1a04da318e5cd7c405b4b3e43718a0acbec
400218d9d51deab550c6e0cc56100dea46134b5b
refs/heads/master
2021-01-19T08:34:19.758389
2017-05-30T15:19:48
2017-05-30T15:19:48
87,645,545
0
0
null
null
null
null
UTF-8
Python
false
false
1,324
py
# -*- coding: utf-8 -*- """ Created on Thu Apr 27 01:16:33 2017 @author: tsann """ # demonstration of Lq regularization # notes for this course can be found at: # https://deeplearningcourses.com/c/data-science-linear-regression-in-python # https://www.udemy.com/data-science-linear-regression-in-python impo...
[ "noreply@github.com" ]
ytphua.noreply@github.com
f29647293bd6af206cef161d225d68f0791921b6
9551a145d23227da1e5b2435eacee5699f287f7c
/config.py
93acbcb5c6535f2a073ab8521b8fe10b3c2ad6b7
[ "BSD-2-Clause" ]
permissive
doccaz/labvirtual
0aa1d515e06be4995033f1f141393846f9109069
e7fd64dece564dac8e81e80e620f1e0027cd4821
refs/heads/master
2022-01-20T18:33:26.992502
2022-01-13T15:39:30
2022-01-13T15:39:30
164,643,200
3
0
null
null
null
null
UTF-8
Python
false
false
445
py
config = {} # may be 'plain' or 'ldap' config['auth_mode'] = 'plain' config['default_user'] = 'admin' config['default_password'] = 'password' config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:////tmp/labvirtual.db' config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False # LDAP config['LDAP_PROVIDER_URL'] = '' config['LDAP_BIND_USE...
[ "erico.mendonca@gmail.com" ]
erico.mendonca@gmail.com
a9646b77be199b198cdb4b745d77807e2be1849b
4c56ffeef9bdd423c2946e7848d8c96e00ba36cb
/Day18/bluegill.py
e6aef0dc9efa15820196129abb5e68cb7de5aade
[]
no_license
adityatanwar800/FSDP2019
8f27281c676db4e1e405b1cc2936a3fa24583c6e
c02587a8feab753eff60b81546cb61a71950159b
refs/heads/master
2020-06-04T07:21:13.422349
2019-07-12T11:54:44
2019-07-12T11:54:44
191,921,881
3
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
# -*- coding: utf-8 -*- """ Created on Wed Jun 26 16:57:11 2019 @author: Aditya Tanwar """ import pandas as pd import matplotlib.pyplot as plt # Importing the dataset dataset = pd.read_csv('bluegills.csv') features = dataset.iloc[:, 0:1].values labels = dataset.iloc[:, 1].values #let's first analyze the data # V...
[ "adityatanwar800@gmail.com" ]
adityatanwar800@gmail.com
c07d4fd9018a401b7114051c120ec27433b0d250
5eed98727f532c43f2d2828e5e48ee363a8c207f
/fizzbuzz.py
86d1a353abc4c227b3d98a7eceb3a4733decef4d
[]
no_license
Revathy-2001/FizzBuzz
b5ecb64fc546268d5e156c35594a1fcf732ed7f9
589ca09717503bc3064d276a857427e5dd793ba4
refs/heads/main
2023-02-11T03:24:22.546269
2021-01-13T09:31:01
2021-01-13T09:31:01
329,256,188
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
lst = list(input().split()) x = int(lst[0]) y = int(lst[1]) n = int(lst[2]) i = 1 while(i <= n): if(i % x == 0 and i % y == 0): print("FizzBuzz"); elif(i % x == 0): print("Fizz"); elif(i % y == 0): print("Buzz"); else: print(i); i+=1
[ "noreply@github.com" ]
Revathy-2001.noreply@github.com
e896b3f80b3a68852af49583bc94ead4fd78ab4b
1e02ebc24595756f064ffa1fa42e508d1da8069b
/users/views.py
4448189d5c8157ebf319fda91d0bc912236c7b02
[]
no_license
ubaid6/EventApp
9a5ef89f1ea0c5f876e0aad7116ea75820d9c16a
bc8cfd4cbfc857aec8a13928661574e856e870fe
refs/heads/master
2023-08-17T04:28:13.478245
2021-09-20T22:25:56
2021-09-20T22:25:56
401,118,207
0
0
null
null
null
null
UTF-8
Python
false
false
3,772
py
from django.shortcuts import render, redirect, reverse from django.urls import reverse_lazy from django.contrib import messages from .forms import RegistrationForm, ChangeForm from django.contrib.auth.forms import UserCreationForm, UserChangeForm from .models import User from django.contrib.auth.decorators import login...
[ "ubaid.ahmed@student.manchester.ac.uk" ]
ubaid.ahmed@student.manchester.ac.uk
91a08addb60a782a9051a56d58e38994d14e8b72
1bbe05a0b1dfabe31cd740172b44a7435dcc36c5
/caesar.py
419682ae9f9967bba73009c4550b825e10e7fd4e
[]
no_license
jkketts/web-caesar
4fb06dedc5886234bced11c39d6a0b3e16fa2572
4060411e04b42baee8198d1653a44391ab176c90
refs/heads/master
2021-01-23T18:24:38.041388
2017-09-19T03:24:23
2017-09-19T03:24:23
102,793,419
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
def encrypt(text,rot): newStr = "" rot = rot % 26 for i in text: if (ord(i) >= 97 and ord(i) <= 122): if (ord(i)+rot > 122): newStr += chr((ord(i)+rot) - 26) else: newStr += chr(ord(i)+rot) elif (ord(i) >= 65 and ord(i) <= 90): ...
[ "justin@ketterman.tv" ]
justin@ketterman.tv
4b3e25f31c3a5111a410257b0f0cde13440de95b
f1f28cb54bbec83c7783e0a89b4e1efa776ffdaf
/jetcam/jetcam/usb_camera.py
1a513e62b5f257e30fc47c7a8b7420acbc04c3a4
[ "MIT" ]
permissive
KNChiu/Jetson_nano
f4c19e00678d186a50d0ccea6f7ea9727b7470a3
4d0608119a971875ae3406f27d73585490fe51ca
refs/heads/master
2020-07-11T00:21:18.994812
2020-03-20T02:44:08
2020-03-20T02:44:08
204,408,145
0
0
null
null
null
null
UTF-8
Python
false
false
1,503
py
from .camera import Camera import atexit import cv2 import numpy as np import threading import traitlets class USBCamera(Camera): capture_fps = traitlets.Integer(default_value=30) capture_width = traitlets.Integer(default_value=640) capture_height = traitlets.Integer(default_value=480) ...
[ "noreply@github.com" ]
KNChiu.noreply@github.com
d22f297ce672e3b72fd02a3ea4ed803806c3ffd5
f896126719c9c2c8db07b8a7cf43364ad8d27dff
/examples/creating_tasklists_with_python/run_simba3d_within_python_script.py
6f7ea2f3e4c8b469b93ca29d85f356b90943587c
[ "BSD-3-Clause" ]
permissive
jayguoxue/SIMBA3D
f948bf23d90d12453ac76493f28813e2e9dbb4f6
ac347e95e8a259bfaa2ddc5a0e38c73f0eeac511
refs/heads/master
2020-12-08T13:34:36.933237
2019-02-28T13:12:18
2019-02-28T13:12:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,970
py
# -*- coding: utf-8 -*- """ An example of creating tasklists Created on Thu Sep 07 05:53:57 2017 @author: Michael Rosenthal """ import os import numpy as np import uuid # import simplejson or json # # This is useful because the syntax is pythonic, it's human readable, and it # can be read by other program...
[ "nicola_neretti@brown.edu" ]
nicola_neretti@brown.edu
f4c441b7a7ed9caedc9f2218e285512eae6f6d7d
2e144fab7c6f9641a9b8671ab420681a09bd4970
/second_win_rc.py
04c7faa3593b15c7af8ea9ac6a7b1170db59a567
[]
no_license
AsmaaGHSamir/GProject
d6f37358792eb586c6d1a638b4e0db2c71b2a961
0ffe5d496d1171291f57589064a37af6eabd626d
refs/heads/main
2023-06-11T05:40:53.445020
2021-07-08T07:27:54
2021-07-08T07:27:54
384,010,670
1
0
null
null
null
null
UTF-8
Python
false
false
103,449
py
# -*- coding: utf-8 -*- # Resource object code # # Created by: The Resource Compiler for PyQt5 (Qt v5.15.2) # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore qt_resource_data = b"\ \x00\x00\x5e\xdd\ \x89\ \x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\ ...
[ "noreply@github.com" ]
AsmaaGHSamir.noreply@github.com
3a06956157681d057f7bbdbc8f747d55509f04c2
1aedc28d527f0245b7b1ab85ad19345b05cffb1a
/serializers.py
f6d7561ce770043541b7dd6a835f2450d24b3f3a
[]
no_license
YuTaeKim/Portfolio
712dbd919128a9a6ba7d2a2d6cdf5cd104bfdc55
295c4364b824024e91cc6453099b7e7b66133bf7
refs/heads/main
2023-04-13T17:33:08.714537
2021-04-25T12:55:06
2021-04-25T12:55:06
356,792,291
0
0
null
null
null
null
UTF-8
Python
false
false
5,538
py
# Django를 이용한 Data Serializing import random import re from apps.report.models import Report, ReportImage, Comment, ReportHealth from apps.account.models import User from api.account.serializers import UserSerializer from api.center.serializers import CenterSerializer, ProtectorSerializer, GuardianSerializer, ElderSe...
[ "noreply@github.com" ]
YuTaeKim.noreply@github.com
9bda4428cf6c2017095ed83c9dc0e3ab523a3edb
668ff51f34eac31931511ec3641c66f82bffaee5
/myewb/apps/group_announcements/models.py
039c3d7087e4a04bedbd932f3d39489865c41b80
[]
no_license
ewbcanada/myewb2
4a81668b37b286638ad80c9f2535770ada200cfc
50cf7698899bed1b31d0a637f72a1e9a5b7fa07a
refs/heads/master
2020-12-01T01:15:09.592117
2011-10-18T22:02:07
2011-10-18T22:02:07
380,073
3
6
null
null
null
null
UTF-8
Python
false
false
3,905
py
from datetime import datetime from django.db import models from django.db.models import Q from django.conf import settings from django.contrib.auth.models import User from django.core.urlresolvers import reverse from django.utils.translation import ugettext_lazy as _ from base_groups.models import BaseGroup, GroupMe...
[ "franciskung@ewb.ca" ]
franciskung@ewb.ca
6f2b140930deb418dd4c750f4692b79492bb2a36
4a2a274cb52e36777484986be6c0d6d7a318aa82
/libs/file_utils.py
c35904295c33982deaacdd275ee629c661571089
[ "Apache-2.0" ]
permissive
Adamage/text_comprehension_chatbot
d270a1b627e63200aca1dcfffee591dea6a47594
30e6d014283d6b00402ae7cebb4ab7b28474f6d5
refs/heads/master
2021-01-20T01:50:10.388977
2017-05-04T20:15:24
2017-05-04T20:15:24
89,331,142
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
import urllib.request import os class file_utils: @staticmethod def download_file(url, output_file_name): print("Downloading from url: {0}, to: {1}".format(url, output_file_name)) try: urllib.request.urlretrieve(url, filename=output_file_name) except Exception as e: ...
[ "kraftunek@gmail.com" ]
kraftunek@gmail.com
de0174b43db226b6cff8d1ff095d2e7c248442a0
fdffd21d2ff1019d3dfab76167c8adf5830d05db
/babyai/levels/levelgen.py
e27645893ab00e53f2db09925c402bea5d6be7c9
[ "BSD-3-Clause" ]
permissive
Simonyano/babyai-emergent-guidance
caf972645a2dc886051449480744a024fe18a34b
9e37535134c89bd019affa51c7f199d1672811b6
refs/heads/master
2023-05-22T18:56:16.165055
2019-10-03T14:52:00
2019-10-03T14:52:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,590
py
import random from collections import OrderedDict from copy import deepcopy import gym from gym_minigrid.roomgrid import RoomGrid from .verifier import * #Mathijs: from gym_minigrid.minigrid import LockedDoor class RejectSampling(Exception): """ Exception used for rejection sampling """ pass class ...
[ "mathijsmul@gmail.com" ]
mathijsmul@gmail.com
c11f30e90247965c11cb521bf29976d8ea7e412a
60ccf143ae59bd2aeb6b831499ba0d4045025588
/Exercicios/Ex112/utilidades/moeda/__init__.py
e5287298ddb3a0e98c7105be80cd9b6ab1862e00
[ "MIT" ]
permissive
RenanRibeiroDaSilva/Meu-Aprendizado-Python
3283fa644214149d41777d6b23f6e98804bf30de
280bf2ad132ae0d26255e70b894fa7dbb69a5d01
refs/heads/main
2023-07-07T22:59:11.725000
2021-08-11T16:47:32
2021-08-11T16:47:32
369,657,470
2
0
MIT
2021-06-01T17:51:28
2021-05-21T21:25:46
Python
UTF-8
Python
false
false
2,188
py
def aumentar(p=0, tax=0, formato=False): """ -> Aumenta o valor inicial em uma porcentagem definida pelo usuário :param p: valor inicial :param tax: valor da taxa :param formato: formatação do valor :return: valor inicial somada a taxa """ res = p + (p * tax/100) return res if not fo...
[ "84098891+RenanRibeiroDaSilva@users.noreply.github.com" ]
84098891+RenanRibeiroDaSilva@users.noreply.github.com
851f167b5a0153e22c9f95ffe6d95bb2955f4c04
c67165932f0104335672201fa4d8f99457efc408
/students/students/schema.py
a115d24dd7146986189a0f2e76db1dd8a6fcab49
[]
no_license
serforin0/APICRUDgraphql
04956cf4b06215f89f15c475854c99c506b8f5b3
87cc27ed438e66d73df88a89c6b3cf63e02270b0
refs/heads/master
2023-01-19T23:19:22.990157
2020-11-24T06:01:41
2020-11-24T06:01:41
315,069,751
0
1
null
null
null
null
UTF-8
Python
false
false
236
py
import graphene from students.apps.usuarios import schema class Query(schema.Query, graphene.ObjectType): pass class Mutation(schema.Mutation, graphene.ObjectType): pass schema = graphene.Schema(query=Query, mutation=Mutation)
[ "serforin@gmail.com" ]
serforin@gmail.com
977786f23172d7755d1a91b97e2be2aa6e6fdf41
196f7e3238f961fb5eba7a794f0b0c75d7c30ba1
/Python编程从入门到实践3.6/c14/test14/scoreboard1432.py
1e4ccc14d75b2f90eb13ae01a61a3e897c0ccffe
[]
no_license
Liaoyingjie/Pythonlearn
d0b1b95110017af7e063813660e52c61a6333575
8bca069f38a60719acac5aa39bd347f90ab0bfb1
refs/heads/master
2020-04-08T07:35:07.357487
2018-04-12T16:44:43
2018-04-12T16:44:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
import pygame.font class Scoreboard(): """显示分类信息.""" def __init__(self, ai_settings,screen,stats): """初始化 统计信息.""" self.screen=screen self.screen_rect = screen.get_rect() self.ai_settings= ai_settings self.stats = stats #显示得分信息使用的字体设置 self....
[ "godzoco@qq.com" ]
godzoco@qq.com
e341ee301c03a8281dc994dce3ab9561bce06dc5
0e7b3650906559fbb0bd4bc1ce199ff82605303b
/Bank Customer Churn Analytics_05102020.py
45f174294c56bed432ed5e1c0fb3e85fe04e2f31
[]
no_license
ArthurShen8118/Bank_Customer_Churn_Analytics
5f4ab718c1a1d7092cef73f0f805b00e2ad329f1
4afc31ae39c6f1787f82d515574b09fcaae9445e
refs/heads/main
2022-12-29T21:06:50.454915
2020-10-23T05:13:22
2020-10-23T05:13:22
304,525,407
0
0
null
null
null
null
UTF-8
Python
false
false
4,505
py
#Part1 # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd np.random.seed(10) # Importing the dataset dataset = pd.read_csv('Churn_Modelling.csv') X= dataset.iloc[:, 3:13].values y = dataset.iloc[:, 13].values # Encoding categorical data # Encoding the Independent Varia...
[ "noreply@github.com" ]
ArthurShen8118.noreply@github.com
8000eacdb71c07f88911aad0867f20f31d704c2a
a5dadd1b3c3c2a849d05d02882484f2c78885ca9
/ve/Scripts/rst2odt.py
5e4fc893cee483715b2f27c8c1098800a7ad2b0a
[]
no_license
andrey-yakovenko/dm-practice-2
70b5529cd9270a9bf0c9feac42c2696e1a7808ba
be2add42f60f7bf7849104caac4f680bc797524d
refs/heads/master
2022-12-19T19:55:33.725272
2020-10-04T22:26:22
2020-10-04T22:26:22
299,298,955
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
#!C:\Users\HP AY\OneDrive\3--python\dm-practice-2\ve\Scripts\python.exe # $Id: rst2odt.py 5839 2009-01-07 19:09:28Z dkuhlman $ # Author: Dave Kuhlman <dkuhlman@rexx.com> # Copyright: This module has been placed in the public domain. """ A front end to the Docutils Publisher, producing OpenOffice documents. """ impor...
[ "64507369+andrey-yakovenko@users.noreply.github.com" ]
64507369+andrey-yakovenko@users.noreply.github.com
ef92c14badac2b746db985dffaa876c9444caea1
14e36010b98895e08bd9edfcbc60dce30cbfb82b
/oneflow/python/test/modules/test_bce_loss.py
c51aff4ba23c5f1e3e2d253aeecf6e4915dacafd
[ "Apache-2.0" ]
permissive
duzhanyuan/oneflow
a9719befbfe112a7e2dd0361ccbd6d71012958fb
c6b47a3e4c9b5f97f5bc9f60bc1401313adc32c5
refs/heads/master
2023-06-21T20:31:55.828179
2021-07-20T16:10:02
2021-07-20T16:10:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,705
py
""" Copyright 2020 The OneFlow Authors. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agr...
[ "noreply@github.com" ]
duzhanyuan.noreply@github.com
14f60215ea6b0a613cb57e3778e97c51f5ea653c
1058045bea67cd3c5187861ebde0fdd74df7779e
/spider-master/zhihu_user/zhihu_user/settings.py
f26087f5fe01eab0c483fc12bc800b14fc8db4dc
[]
no_license
CLCLpis/crawler
6ea79eac3c7a4ace83adfb66c42abccdf2e27b0a
a7df3c7abfaaf7300da694f7a9ad75abf996f098
refs/heads/master
2020-03-15T15:41:08.212902
2018-05-05T05:32:35
2018-05-05T05:32:35
132,217,856
0
0
null
null
null
null
UTF-8
Python
false
false
3,303
py
# -*- coding: utf-8 -*- # Scrapy settings for zhihu_user 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/lat...
[ "445453402@qq.com" ]
445453402@qq.com
94fa689a11460479a169a04b410c327093534d49
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/pubsub/topics/create.py
7d9069a19ff657965b70b227e2f178aed596b432
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
2,263
py
# Copyright 2015 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
ebfdcda196f3f604fc266e516cf71d77be4523bc
4606b421a0a36491f91eb79e74b03bbf3fd414bc
/restful_weather/wcs_parser/wcs_capabilities.py
bf02bbd15a06fc86de15da7ba780bf5fd2239935
[]
no_license
uk-gov-mirror/informatics-lab.restful-weather
2bf594354ce8ac2f31e9ff300027339f679c316f
244c6a119994b8dcd0a4a1dd4796afc6e25bb2a3
refs/heads/master
2021-05-29T08:54:44.457486
2015-07-16T11:21:41
2015-07-16T11:21:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
386
py
#!/usr/bin/env python from bs4 import BeautifulSoup class Capabilities(object): def __init__(self, capabilities_xml): self.capabilities = capabilities_xml self.soup = BeautifulSoup(self.capabilities, 'xml') self.coverages = self.get_coverage_ids() def get_coverage_ids(self): ...
[ "alexhilsonwork@googlemail.com" ]
alexhilsonwork@googlemail.com
a8788b07a7f8733730d4b9cc13c1554610242700
58e6a8daeb63f78a7e654ff4db3511b9c6a90d83
/基础语法/根据北风网学习的语法/02_numpy数组创建.py
a6c687cdee096c2e03b916c2bc505595a07e630f
[]
no_license
guo0842109/MyAIDemo
53d89017a8e867906a93eada95d751a7a04118db
4208586a60a91cd1ebf27469451c653c5cf4c828
refs/heads/master
2020-06-16T23:05:04.075746
2019-07-26T07:25:30
2019-07-26T07:25:30
195,727,973
0
0
null
null
null
null
UTF-8
Python
false
false
1,345
py
import numpy as np ''' 数组元素为随机值 ''' # a = np.empty((4,4),dtype=np.int) # print(a) # b = np.ones((2,3,4,5)) # print(b) ''' asarray、array 都可以将元组或者list转换为ndarray ''' # a = [1,2,3] # print(type(a)) # b = np.asarray(a) # c = np.array(a) # print(type(b)) # print(type(c)) # d = (1,2,3) # print(d) # print(type(d)) # e = n...
[ "guohaibing@yto.net.cn" ]
guohaibing@yto.net.cn
aa73644684a29a7946ba41d9358ce56440717008
1c3f8f340724497d0edfc193dfe5cdc0497071c3
/models.py
59427e6d860da05ea36bed8cfba8a46133cacd7d
[]
no_license
dnn004/Casting
f56b1ec9e37dfb2904aacd1bf6dab377f6b8c895
0aa56a9ee17e33c14de0b10305b7a0f06d58955b
refs/heads/master
2022-12-02T22:51:18.638752
2020-08-12T04:41:37
2020-08-12T04:41:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
import os from sqlalchemy import Column, String, Integer, Date, create_engine from flask_sqlalchemy import SQLAlchemy import json database_name = "cast" database_path = os.environ.get("DATABASE_URL") # database_path = "postgresql://{}/{}".format(':5433', database_name) db = SQLAlchemy() def db_drop_and_create_all():...
[ "dnn004@ucsd.edu" ]
dnn004@ucsd.edu
073e831eae1dbd3228e8ba05f289d0391a410edb
126bc027a5b7168a20e12dcd60c5da70f1ad9062
/adivinhacao.py
9f6faf7dc36aa0b85252de7ee51f51e84deeac4f
[]
no_license
akeme/Python-codes
7b00b3ba4b53dc0c1f83147477cc2c29214c034a
36590c59254de1f1aed9d6c72bd478a325357701
refs/heads/main
2023-01-14T07:44:10.678693
2020-11-09T19:57:47
2020-11-09T19:57:47
306,344,046
1
0
null
null
null
null
UTF-8
Python
false
false
1,187
py
''' 01 Algoritmo Jogo de Adivinhação 02 Variaveis: 03 secreto, palpite: Inteiro 04 Inicio 05 SAIDA(“Bem-vindo ao jogo de adivinhação”) 06 secreto = NUMERO_ALEATORIO(1,10) 07 palpite = -1 08 SAIDA(“Seu objetivo é acertar o número secreto”) 09 ENQUANTO palpi...
[ "noreply@github.com" ]
akeme.noreply@github.com
d483b8c994fc0fb9ff46cbedea01c8355c14bf2d
31952da1a7225be50c7701140d4fab4ccaecb9f1
/index.py
d8f5bade8a05925a9254ee0e3be02921568ff65a
[]
no_license
setra1/Mangrove
3d9d716d040cf5a4ee9c5daf0d08a7ce1efbdef5
863282044965b047b96cd6ca81afd500bf5494ab
refs/heads/main
2023-04-13T17:55:37.937695
2021-04-29T09:20:22
2021-04-29T09:20:22
362,743,142
0
0
null
null
null
null
UTF-8
Python
false
false
15,128
py
#!C:\python37\python.exe import os,sys import cgi import numpy as np import rasterio import cgitb cgitb.enable() print ("Content-type: text/html;\n\n") print print (""" <!DOCTYPE html> <html lang="fr" dir="ltr"> <head> <meta charset="utf-8"> <title>Mangrove</title> <link rel="stylesheet" hr...
[ "noreply@github.com" ]
setra1.noreply@github.com
1df0f3ddad34d03d3030046b631e895d24195cec
206bc27a1afd738b78ed4d30338bfe997df4b07a
/modules/about/admin.py
28f55d93583fb91fae50f7f8a9e4c4ce36b6e624
[]
no_license
RitaTim/cdr
89a67cc96f74a67e4bcc696c3ae99387b7a3d304
5d74ac445d79edcc3003971c8d9862f328a3f920
refs/heads/master
2021-01-21T14:09:03.218308
2017-03-23T06:44:09
2017-03-23T06:44:09
58,033,847
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
# -*- coding: utf-8 -*- from django.contrib import admin from .models import About class AboutAdmin(admin.ModelAdmin): list_display = ('title', 'text') admin.site.register(About, AboutAdmin)
[ "margaritachka@gmail.com" ]
margaritachka@gmail.com
6c925c1bcadc0245ae4920be899059c4ec14c27c
5232ea26d8c2c8601735812719782281ed645b0a
/4-variables.py
c543fd491c86df16a4845bf8a4d5c47002d1f25e
[]
no_license
coder562/python
ff15fcfd61eaa1e5f748be13a85f64d6b33903f8
9a56be1967b914cd878aa69be114a3368ef9b7f9
refs/heads/master
2023-04-16T02:23:40.934304
2021-04-30T12:09:59
2021-04-30T12:09:59
357,539,923
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
num1 = 2 print(num1) num1=4 print(num1) # string,float,int # string name="vaishali" print(name) name=123 print(name) # python is dynamic programmic language #rule 1 # 1number = 4 cant be run-cant be start with a number # leeter,underscore can be taken # special symbol cant be take like $ # snake case writing user...
[ "vaishalijain654@gmail.com" ]
vaishalijain654@gmail.com
3cd153485fa6a1c2d2c645d73f5d85d394114921
25b7c7eba45d3e641da2cf58f4c64cfa19a31e96
/pulseview-scripts/gpib-pin-namer.py
be375ef1a04f92f3922845b56719802fa93b4cf1
[ "MIT" ]
permissive
pepaslabs/gpib-spy
0bfade13a537d5b5d95c9ceff249ec34e14c554d
c8af76c0cca3b88dc702b4231f7550a356dd1027
refs/heads/master
2020-12-02T18:16:08.771372
2017-08-26T01:16:40
2017-08-26T01:16:40
96,505,749
1
1
null
null
null
null
UTF-8
Python
false
false
2,075
py
#!/usr/bin/env python # gpib-pin-namer.py: rename the probes of an srzip file, according to gpib-spy pin ordering. # See https://github.com/pepaslabs/gpib-spy # Written by Jason Pepas, 2017. Released under the terms of the MIT License. # See https://opensource.org/licenses/MIT import sys import os import zipfile imp...
[ "jasonpepas@gmail.com" ]
jasonpepas@gmail.com
59b0b0c2ae063612d556effc933e16f12e660aca
959b2c88182dc1241e708e9c3af0efdeed88b14c
/CNN-1/image_processing.py
5218a54cc0324a9f0f67161e8115ff024d4baf55
[]
no_license
csatacsirke/diplomamunka
f21f0e5eae736eac1ecbfc44a49665a6281d97e7
ddc85871933c8d92bd20cac7489774d7713e967d
refs/heads/master
2021-09-05T14:31:43.279548
2018-01-28T22:05:49
2018-01-28T22:05:49
108,988,428
0
0
null
null
null
null
UTF-8
Python
false
false
4,137
py
import numpy as np import cv2 from log import log import dataset_handler default_input_file_name = 'jura/11.10/Bpas-Verdict.csv' def normalize_image(image, corners, out_width = 1000, out_height = 1000): #image = np.array(pil_image) src = np.array(corners, dtype=np.float32); dst = np.arr...
[ "battlechicken74@gmail.com" ]
battlechicken74@gmail.com
eaca908738f9697f7604adfa2bd4d184369f52ee
5a07c07b538ac937eb46758663c8477b2797d957
/esadmin/models.py
5d471151e8fd65e688bedca00a65d58b85ace4cc
[]
no_license
17issJLW/es_django
2334be3b46a6be540343a069cab8a53c9aca1371
47a829c86f200ce0eff0fb2ae22cec943a69c7aa
refs/heads/master
2020-09-13T07:41:34.432379
2019-07-11T10:04:00
2019-07-11T10:04:00
222,698,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
from django.db import models from django.utils import timezone import uuid # Create your models here. class User(models.Model): uid = models.UUIDField(verbose_name="用户id",primary_key=True,auto_created=True,default=uuid.uuid4, editable=False) username = models.CharField(verbose_name="用户名",max_length=32,unique=T...
[ "32334181+17issJLW@users.noreply.github.com" ]
32334181+17issJLW@users.noreply.github.com
c90c5a2e44f94b97ff979d0f3257342981e30063
fe8e3ccc75dbddca0c48c6db3b79fe93350c79d3
/port/tests.py
007b7a32c3527ffb2dd42b494335b952da99da33
[ "BSD-3-Clause" ]
permissive
ShivaShankarPuvvada/assignmentsite
1f3d0d6c72166b6efe43ee8c5595cd516f34af43
6f9fb0aff9d34cce20b0bde3be205fd25b5738ce
refs/heads/master
2023-03-20T19:26:20.117317
2021-03-18T10:10:52
2021-03-18T10:10:52
348,745,352
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from port.models import Movie, Container, Wishlist from port.serializers import WishlistSerializer, MovieSerializer, ContainerSerializer class WishlistCreateTests(APITestCase): # class: WishlistCreate # me...
[ "om.ss.sankar@gmail.com" ]
om.ss.sankar@gmail.com
a47be394d7d2bd1175776add55d602437a334d38
02bf3e48470d103d0f8378eabe982014443f3104
/B_126_Day2.py
7e2eff311064e0cbe478a2b39a87984e88e89f85
[]
no_license
BALaka-18/IEM_Coding-5th-Semester
3cc29b09a932318c3fd65a03f5ae314e498f52f4
ca4e3d267d9c83978636c2e2c8f362da51dbe5fa
refs/heads/master
2022-12-04T11:04:59.365152
2020-08-21T11:35:45
2020-08-21T11:35:45
285,761,474
1
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
from collections import defaultdict # l = [234,567,321,345,123,110,767,111] def countPairs(l,bitp = [],firsts = [],check = defaultdict(list),pairs=0): # Part 1 : Bit scores for num in l: temp = [int(i) for i in str(num)] bit_sc = (11*max(temp)) + (7*min(temp)) bitp.append(bit_sc%100) ...
[ "noreply@github.com" ]
BALaka-18.noreply@github.com
42a3a55436622b95c7a3e384b774081b2c293389
335a7a7af5eab950e147c79fe42ac52377f5778e
/PartialAgents.py
248384a4c183cf1fff94801f2c8d8b87708eefba
[]
no_license
Fahad2314/Pacman
9d4c56c96543f3662905eec41eee83bf4249203b
c58f0a273a19a02820f42e049c604184c113b50a
refs/heads/master
2020-04-01T14:11:36.502889
2018-10-26T19:55:26
2018-10-26T19:55:26
153,284,480
0
0
null
null
null
null
UTF-8
Python
false
false
21,256
py
# sampleAgents.py # parsons/07-oct-2017 # # Version 1.1 # # Some simple agents to work with the PacMan AI projects from: # # http://ai.berkeley.edu/ # # These use a simple API that allow us to control Pacman's interaction with # the environment adding a layer on top of the AI Berkeley code. # # As required by the licen...
[ "noreply@github.com" ]
Fahad2314.noreply@github.com
7539af5bd72553d6c5546bde6f151c405ee9544a
7eec4ad6c95f89d829d3b78b7ec993997df49a24
/chapter1/src/py_files/mnist_with_keras_v2.py
0c73ea2978e7f39985dfae725f03c4263c03ea06
[]
no_license
masa26hiro/deep-learning-with-keras
53749d430cb8b347bf721faa7a38b5108d7c6443
7f4fb75f40b2d534f07e8df79c3d6a6da609cefa
refs/heads/master
2020-08-12T17:42:26.244354
2020-05-16T11:27:54
2020-05-16T11:27:54
214,811,590
2
0
null
2020-05-16T11:27:56
2019-10-13T11:54:50
Jupyter Notebook
UTF-8
Python
false
false
2,921
py
"""add hidden layer """ import numpy as np from tensorflow_core.python.keras.api._v2.keras.datasets import mnist from tensorflow_core.python.keras.api._v2.keras.models import Sequential from tensorflow_core.python.keras.api._v2.keras.layers import Dense, Activation from tensorflow_core.python.keras.api._v2.ke...
[ "atuto.biwa1123@gmail.com" ]
atuto.biwa1123@gmail.com
b897f8aa10fa308da9ad31ae61f9ebfe42f6e1a7
7235051c8def972f3403bf10155e246c9c291c58
/angola_erp/util/pos.py
08a97f1a33a84046fc03ca7f48407f4f98434233
[ "MIT" ]
permissive
proenterprise/angola_erp
8e79500ce7bcf499fc344948958ae8e8ab12f897
1c171362b132e567390cf702e6ebd72577297cdf
refs/heads/master
2020-06-03T08:51:34.467041
2019-06-07T01:35:54
2019-06-07T01:35:54
191,514,859
1
0
NOASSERTION
2019-06-12T06:53:41
2019-06-12T06:53:41
null
UTF-8
Python
false
false
13,486
py
# -*- coding: utf-8 -*- # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe, json from frappe.utils import nowdate from erpnext.setup.utils import get_exchange_rate from erpnext.stock.get_it...
[ "hcesar@gmail.com" ]
hcesar@gmail.com
fa3d676bbc3f020ad545a8bf79d000525eb4db51
d7ffdefb25b4091cf92f25354ee55535ee2ccd0d
/svnhook/pre-commit.py
9cfd90437dce4996aa506c4eb5246a4a4a300181
[]
no_license
MRlijiawei/demos
5a4c1a0c74fe64f2e009c2b5e0234d57e187e83d
0c69427008fb9d94401c936178775d7cbcbec1a2
refs/heads/master
2022-12-20T08:11:50.629183
2020-12-20T01:35:50
2020-12-20T01:35:50
144,269,765
3
1
null
2022-12-10T13:44:48
2018-08-10T09:59:32
JavaScript
UTF-8
Python
false
false
1,434
py
import sys def err(msg): sys.stderr.write(msg+'\n') svnRepos = sys.argv[1]#提交文件列表 #svnMessageFile = sys.argv[3] #sys.stderr.write(sys.argv[0]+'\n'+sys.argv[1]+'\n'+sys.argv[2]+'\n'+sys.argv[3]+'\n'+sys.argv[4]+'\n')参数依次为脚本路径、文件列表文件、depth、提交的message文件、提交文件的路径 errMsgTable = [] with open(svnRepos) as submitFiles: ...
[ "noreply@github.com" ]
MRlijiawei.noreply@github.com
b337f6aee723f4459aeec92afd403aed31c8752e
7ba9ba1570ef44ced18bf7689329d5f5d4bcc350
/tests/test_parser.py
9f0adecc75ae53a256f81e2408b05b003e59ff75
[ "MIT" ]
permissive
la-mar/permian-frac-exchange
90992393cdcdb6c6a8b697a5c7d8fc64a4bff2f2
a7ba410c02b49d05c5ad28eff0619a3c198d3fd0
refs/heads/master
2020-06-12T04:40:52.642629
2020-04-14T23:50:07
2020-04-14T23:50:07
194,196,884
0
1
null
null
null
null
UTF-8
Python
false
false
6,248
py
from datetime import datetime import pytest # noqa from collector.parser import ( Parser, Criterion, RegexCriterion, ValueCriterion, TypeCriterion, ParserRule, ) # TODO: incorporate hypothesis @pytest.fixture def parser(conf): yield Parser.init(conf.PARSER_CONFIG["parsers"]["default"][...
[ "brocklfriedrich@gmail.com" ]
brocklfriedrich@gmail.com
b2f0f8b313ca9593ccf205bdc78c29e57c2c5e11
52b5773617a1b972a905de4d692540d26ff74926
/.history/uniquePaths_20200728102111.py
901621991495a0a8768d4a84111fc13ad116e8f3
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
def uniquePath(arr): # mark one as None or -1 thatway in the case where # we have to only calculate the once where there is no none for i in range(len(arr)): for j in range(len(arr[i])): if arr[i][j] == 1: arr[i][j] = "None" elif i == 0 o...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
cc3fc7bdd04d61ca8590899b3ef2ff1afabc24dc
feb3dde481d1789ecfb331bbacc36630743c724f
/src/telegram_connector/telegram_registrator/registrator.py
fd516709e7a7c0717404a846f9ed6b7079571a3d
[]
no_license
VetoS88/tranfer_session_test
f74df56cac5b6180a9fce7f31bfd6bae789a0cea
d335f2320ca914792b9f5b5f35d6cdb8e5aa2085
refs/heads/master
2020-12-02T07:40:55.248319
2017-07-10T06:58:45
2017-07-10T06:58:45
96,712,440
1
0
null
null
null
null
UTF-8
Python
false
false
21,450
py
import platform from datetime import timedelta from threading import Event, RLock, Thread from time import sleep # Import some externalized utilities to work with the Telegram types and more from telethon import TelegramClient from telethon.errors import (RPCError, InvalidDCError, FloodWaitError, ...
[ "texcomvit@gmail.com" ]
texcomvit@gmail.com
4055f10dac7cf16d7c8a1f438adc20a07457a099
910a96e87556ecba32a7651d3180744a89b0f96d
/sns/delete_all.py
1997965b9bae5385f1c65d4eb2750b16282a6f30
[]
no_license
fatalbert3390/aws-scripts
1d9795057c1a206933c4a4361ab7ed3ced02aba8
bc82c3c94020559460771f997e1ed61a7c8f71eb
refs/heads/master
2021-10-09T00:40:05.187568
2021-09-29T01:36:20
2021-09-29T01:36:20
110,307,155
1
0
null
null
null
null
UTF-8
Python
false
false
1,214
py
# Deletes all SNS topics and subscriptions within the region specified in your AWS credentials file import boto3 import json snsc = boto3.client('sns') snsr = boto3.resource('sns') marker = None print("Deleting SNS Topics...") while True: paginator = snsc.get_paginator('list_topics') topic_iterator = paginat...
[ "fatalbert3390@gmail.com" ]
fatalbert3390@gmail.com
b6676c3046daeabe4f56fe1d86aaca53449d0b3f
6fe5f936a9dc2a046d2422df39c0d9d8cab70a73
/examples/semantic_segmentation/vegas_buildings.py
6300f44b1e70ba11ff5eb91b8728d43ff0983a9f
[ "Apache-2.0" ]
permissive
azavea/raster-vision-fastai-plugin
a5dc0e6c3121ef7a4572293b4ad415d74475a6c7
9d5bddcaa076e0b2c8e635ac8f2541a7be162c01
refs/heads/master
2020-04-25T04:38:03.268117
2019-10-03T16:24:07
2019-10-03T16:24:07
172,516,794
10
7
NOASSERTION
2019-10-03T16:24:08
2019-02-25T14:02:26
Python
UTF-8
Python
false
false
5,449
py
import re import random import os from os.path import join import rastervision as rv from rastervision.utils.files import list_paths from examples.utils import str_to_bool from fastai_plugin.semantic_segmentation_backend_config import ( FASTAI_SEMANTIC_SEGMENTATION) class VegasBuildings(rv.ExperimentSet): d...
[ "lewfish@gmail.com" ]
lewfish@gmail.com
7e9a0b6709b5297f31d0f05bfe07068239bf488d
ec78c7d490ac00fbdc882a64b5964c38a46aa832
/jobcrawler/tests/test_email/test_credentials.py
ca125a1803de94cd10c3b0226b09f18f238d2ee5
[ "MIT" ]
permissive
amakus/JobCrawler
d7eb07211a2d63a2fca28420b1dc209d5bc920be
770e05dd439ad3c269aeb3d7e284d891893faa2d
refs/heads/master
2023-01-13T06:43:58.379482
2019-05-31T09:34:04
2019-05-31T09:34:04
186,671,549
0
0
MIT
2022-12-26T20:47:38
2019-05-14T17:43:26
Python
UTF-8
Python
false
false
709
py
import pytest from jobcrawler.core.email.credentials import EmailCredentials from jobcrawler.core.email.address import EmailAddress def test_instantiation(): cred = EmailCredentials('fake@email.com', 'fake_password') assert isinstance(cred, EmailCredentials) def test_has_attribs(): cred = EmailCredentia...
[ "makus.andreas@gmail.com" ]
makus.andreas@gmail.com
0f98a96a0ec3a0a4ed1b0e2b524339cd85ec93a6
1b019365713488f6dde9a98323a3e58dd9668c1e
/venv/Scripts/easy_install-3.7-script.py
aaca6119b35a61c45a6babc98f14973f1e0eb13e
[]
no_license
mokshkori/GoScraper
6dfc9bd779b3f20ba798c401331924dca4367642
6868bc7e49e8e2033d3df032002ab1c754595526
refs/heads/master
2023-03-17T23:17:54.051938
2021-03-05T19:38:00
2021-03-05T19:38:00
344,918,992
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
#!C:\Users\user\PycharmProjects\Scraper\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?...
[ "amankori8@gmail.com" ]
amankori8@gmail.com
61e6fbf5047e592a14b13d26a3469559770c786f
264fab7fdec5ed8be5f27ab4312b91d2b92a94bb
/Python/2020-04-12 1 hello.py
fb23b3a1f6dec9ae28d74c7fb72e1fe55eb76491
[]
no_license
NguyenLeVo/cs50
9444042a2453c6f8051a358759ead48bd4c84caa
d746e38fb2963242ca51618859ca9c669ed11453
refs/heads/master
2022-11-10T14:02:15.576817
2020-06-28T20:04:27
2020-06-28T20:04:27
275,659,469
0
0
null
null
null
null
UTF-8
Python
false
false
1,540
py
# No printf # No semicolon at the end # No new line \n # No stdio.h header # No need to initialize the data type in the beginning print("hello, world") print("HELLO, WORLD") # Compile by using command line python program.py from cs50 import get_string answer = get_string("What's your name?\n") print("My name is " +...
[ "NguyenLeVo@github.com" ]
NguyenLeVo@github.com
5ac4cc41638f10eed1a2459afdb105e0eeb840a7
3543acbb63a1d2937fc01a3450307e761ebfa958
/Get Retroativo/2019_09_1.py
2830de7ac363610f0bf3a642596e10343da7db02
[]
no_license
paulowiz/AiesecBot
4c65b6b647022e52d5627c8754c6b7b9e59f77f4
ac77cc5426ed6382772603afa8015208020c0fba
refs/heads/master
2021-06-23T10:24:56.346717
2021-04-29T15:45:09
2021-04-29T15:45:09
205,560,472
7
3
null
2021-04-29T15:45:10
2019-08-31T15:15:09
Python
UTF-8
Python
false
false
727
py
import psycopg2.extras from controller import RobotRotine as rr from api import graphqlconsume, querygraphql import time import datetime import numpy as np """ current = np.datetime64(datetime.datetime.now()) currentab = np.datetime64(current) + np.timedelta64(5, 'h') lastdate = np.datetime64(currentab) - np.timedelta6...
[ "paaulowiz@gmail.com" ]
paaulowiz@gmail.com
0bc6fac376c78cf19cc1bf4bbe11506fe6430f5b
7773ea6f465ffecfd4f9821aad56ee1eab90d97a
/python/testData/refactoring/move/baseClass/after/src/b.py
a419aaecfd4124f2c9a10e105133c1939a3caaeb
[ "Apache-2.0" ]
permissive
aghasyedbilal/intellij-community
5fa14a8bb62a037c0d2764fb172e8109a3db471f
fa602b2874ea4eb59442f9937b952dcb55910b6e
refs/heads/master
2023-04-10T20:55:27.988445
2020-05-03T22:00:26
2020-05-03T22:26:23
261,074,802
2
0
Apache-2.0
2020-05-04T03:48:36
2020-05-04T03:48:35
null
UTF-8
Python
false
false
53
py
class B(object): def __init__(self): pass
[ "andrey.vlasovskikh@jetbrains.com" ]
andrey.vlasovskikh@jetbrains.com
6dc812eda48a50de1b9bf0965304ca544568e789
ca2db9fb6820518901563aca4248ee48a06538ca
/data/scripts/kaist_create_imageset.py
b94e253153a9d06cfddf1254d81c16b0cfff07ee
[ "MIT" ]
permissive
valentinpy/ssd.pytorch
fadaf941147944b8e829f9fd63a4ef0e9a84b8a3
83b0d39aaabede38c3e836a0bd44a42f85113dea
refs/heads/master
2020-04-07T23:26:31.057688
2019-01-10T13:28:31
2019-01-10T13:28:31
158,812,782
0
0
null
2018-11-23T09:49:00
2018-11-23T09:49:00
null
UTF-8
Python
false
false
6,802
py
import sys import os from glob import glob import argparse import random from tqdm import tqdm def str2bool(v): return v.lower() in ("yes", "true", "t", "1") def main(): args = arg_parser() argcheck(args) parse_annotations(args) def arg_parser(): parser = argparse.ArgumentParser(description='Scri...
[ "valentin.py@he-arc.ch" ]
valentin.py@he-arc.ch
44b2c60ff20035d37c7405ee7363aa19197aadd2
9733cd153ac6e730195e49e95aa01179cc31c981
/sources/exceptions.py
a0b5c8610b7e8526d9792e17e31b11f724f46756
[]
no_license
karan-parekh/Real-MVP
9044c99e5eef44582c5f2e48004f62ec881b0396
9f49a9cb5b0a5295b1c3c73f7dfdc1c8e3332eca
refs/heads/master
2023-03-15T01:05:23.960994
2021-03-09T07:29:02
2021-03-09T07:29:02
315,059,677
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
class GamesDBException(Exception): """Raised for any exceptions in GlowDB class""" class TableException(GamesDBException): """Raised for any exceptions in querying table""" class NoDatabaseFound(GamesDBException): """Raised when required DB is not found or does not exist""" class DataCorruptedError(G...
[ "karanparekh501@gmail.com" ]
karanparekh501@gmail.com
771047b585320da01e44965a322ee1f714dff6d2
1e43db349ceff56894a40649dead760f0c071194
/William_Benhaim/Lesson1/google-python-exercises/basic/list1.py
214a750b28e812f6c6b3cf298bc94cbf45f73b35
[ "Apache-2.0" ]
permissive
rachidalili/MS-BGD2015
f632cb9fb1230e8e9b7bcaa63f779d1773e02212
fcfece0072d6e9468a91345257d55b812f5755ba
refs/heads/master
2021-01-10T04:50:48.317342
2015-12-16T19:53:11
2015-12-16T19:53:11
43,893,310
10
0
null
null
null
null
UTF-8
Python
false
false
3,242
py
#!/usr/bin/python -tt # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ # Basic list exercises # Fill in the code for the functions below. main() is already set ...
[ "william.benhaim@gmail.com" ]
william.benhaim@gmail.com
ac5e2d784a9dfdee17e38a480d65a902105efcdb
b37b3cdf08661c4af1b15c1ce2af7cd1e21bcb8c
/chatbot/hello.py
6056c61ef6ea9753099120cac636eeab7d1b4bb3
[]
no_license
KimSoomae/startcamp
1304c788a2c20d975447fca5b2ec52cf0f3fecae
2534a49e026d72ab9f1b3da1ddacb7b1dd125160
refs/heads/master
2023-06-18T00:51:56.822301
2021-07-16T08:36:24
2021-07-16T08:36:24
386,164,560
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
import requests from bs4 import BeautifulSoup url = 'https://finance.naver.com/sise/' response = requests.get(url) data = BeautifulSoup(response.text,"lxml") print(data.select_one('#KOSPI_now')) print(data.select_one('#KOSPI_now').text) url='https://finance.naver.com/marketindex/' response = requests.get(url) da...
[ "smkim104@naver.com" ]
smkim104@naver.com
cba21703e801f82942b333795e93c5e77e85476a
7d33fd0dc6a0d02b5d7cc41fb78d146045f7b58a
/tests/examples/holaMundo.py
3f8f6324b4964adc1984daf125a74ca812e84aa9
[ "Apache-2.0", "MIT" ]
permissive
evhub/cpyparsing
058e253892ba25136c731167cea9997925d153fc
2e75cbbfce7953bcde79bede8d47d31dd3511b15
refs/heads/master
2023-08-13T04:28:20.372777
2023-08-03T05:42:39
2023-08-03T05:42:39
96,247,649
26
3
NOASSERTION
2023-04-04T20:46:47
2017-07-04T19:29:13
Python
UTF-8
Python
false
false
1,862
py
# -*- coding: utf-8 -*- # escrito por Marco Alfonso, 2004 Noviembre # importamos los símbolos requeridos desde el módulo from pyparsing import Word, alphas, oneOf, nums, Group, OneOrMore, pyparsing_unicode as ppu # usamos las letras en latin1, que incluye las como 'ñ', 'á', 'é', etc. alphas = ppu.Latin1.alphas # Aq...
[ "evanjhub@gmail.com" ]
evanjhub@gmail.com
5c3ae03b9640d3b682ce95308e9ab6fd216b2950
c56b3f86b47ed7c484a45a7aad71c5ba59bb2b59
/plots/GPU_Usage.py
6419d66759714b84eeb8353fa67c56d8fdb02a68
[]
no_license
gvsam7/Deep_Archs
d9ee23907fac2dbb1830fcc49f042d612361f70c
36f9e2b9b4f0376fde43db2f342fadb31e5c3041
refs/heads/master
2023-03-21T22:44:31.100512
2021-03-18T11:37:30
2021-03-18T11:37:30
331,377,984
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
""" Author: Georgios Voulgaris Date: 07_12_2020 Description: Plots GPU power consumption, time running and architecture on average of 5 runs. """ import matplotlib as mpl import matplotlib.pyplot as plt # agg backend is used to create plot as a .png file mpl.use('agg') pwr = [68.11, 71.394, 75.14, 108.03, 140...
[ "gvsam7@yahoo.com" ]
gvsam7@yahoo.com
850cbbbb722ba4da64e22ce34e31701260693140
d3494e686eb8840a93656f8823a36c2d3c3f9bf2
/Binary Tree Longest Consecutive Sequence.py
c3d95243584dc27862a65353f00d037593ff4e9b
[]
no_license
YihaoGuo2018/leetcode_python_version2
a5e33d539f0f59d1edd5ba8eaa3608965b55ebb6
7175d2e21d6c02ebd5940171c2fcf5db06efbdcf
refs/heads/main
2023-02-16T17:41:32.562747
2021-01-14T15:49:27
2021-01-14T15:49:27
329,659,625
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
# Definition for a binary tree node. # class TreeNode(object): # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution(object): def longestConsecutive(self, root): if not root: return 0 ret = 0 stack...
[ "noreply@github.com" ]
YihaoGuo2018.noreply@github.com
74a45ecd5fae6f7e270fb57144ad3d822d18aa47
557ca4eae50206ecb8b19639cab249cb2d376f30
/Chapter19/GoodKangaroo.py
426380428c484dacacb2bde125fde2a76cdb3263
[]
no_license
philipdongfei/Think-python-2nd
781846f455155245e7e82900ea002f1cf490c43f
56e2355b8d5b34ffcee61b38fbfd200fd6d4ffaf
refs/heads/master
2021-01-09T19:57:49.658680
2020-03-13T06:32:11
2020-03-13T06:32:11
242,441,512
0
0
null
null
null
null
UTF-8
Python
false
false
2,866
py
"""This module contains a code example related to Think Python, 2nd Edition by Allen Downey http://thinkpython2.com Copyright 2015 Allen Downey License: http://creativecommons.org/licenses/by/4.0/ """ from __future__ import print_function, division """ WARNING: this program contains a NASTY bug. I put it there o...
[ "philip.dongfei@gmail.com" ]
philip.dongfei@gmail.com
c0d57458ea3699f7e6e91a07615e041a9fae5389
a5a99f646e371b45974a6fb6ccc06b0a674818f2
/Configuration/Generator/python/Pyquen_DiJet_pt80to120_5362GeV_cfi.py
f7adf91a210cf47dceaaf93f339c20b713d13040
[ "Apache-2.0" ]
permissive
cms-sw/cmssw
4ecd2c1105d59c66d385551230542c6615b9ab58
19c178740257eb48367778593da55dcad08b7a4f
refs/heads/master
2023-08-23T21:57:42.491143
2023-08-22T20:22:40
2023-08-22T20:22:40
10,969,551
1,006
3,696
Apache-2.0
2023-09-14T19:14:28
2013-06-26T14:09:07
C++
UTF-8
Python
false
false
1,689
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.PyquenDefaultSettings_cff import * generator = cms.EDFilter("PyquenGeneratorFilter", collisionParameters5362GeV, qgpParameters, pyquenParameters, doQuen...
[ "Matthew.Nguyen@cern.ch" ]
Matthew.Nguyen@cern.ch
0b7288e059b106300fa116661afafe661bc39e04
e5e045a5bf3aa621a82c84f01db002d74d5d4b37
/Code.py
7050f7e4c4b892a24ea0fb3c90a6f8a0ed58807c
[]
no_license
LakshayMahajan2006/Snake-Game-with-python
09cddb687451bde6633453f08a1d2a8ce891606d
bf18f4a1d8bdb72dff670d2b7329c905005f546e
refs/heads/master
2022-12-05T16:07:45.098317
2020-08-26T08:34:46
2020-08-26T08:34:46
290,441,402
1
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
# Snake-Game-with-python import some modules from turtle import * from random import randrange from freegames import square, vector food = vector(0, 0) snake = [vector(10, 0)] aim = vector(0, -10) print("Snake: 1") def change(x, y): "Change snake direction." aim.x = x aim.y = y def inside(head): "Re...
[ "noreply@github.com" ]
LakshayMahajan2006.noreply@github.com
deeb80c34042bc5788cbd500180b53981b2cb319
0d3d30124b5574d95d46908ede1c2046a28f5842
/pythonCode/workspace/Study/src/PythonCore/11/11_10.py
ad81a28a4a316a28a2817833e7660bd527f0d835
[]
no_license
fangyue6/MyPythonCode
22a36a75c56b09055a24eddb85636165fcb63a9d
bebc7b498e6d0a73672df67bf4a6aa909e6628fe
refs/heads/master
2021-06-05T21:18:24.387566
2018-08-21T12:26:25
2018-08-21T12:26:25
94,972,353
0
0
null
null
null
null
UTF-8
Python
false
false
438
py
#!/usr/bin/python # -*- coding: UTF-8 -*- ''' Created on 2015年4月13日 @author: fangyue ''' '''11.10.1.简单的生成器特性''' def ok(): return 11 def simpleGen(): yield 1 yield '2 --> punch!' yield ok() myG=simpleGen() print myG.next() print myG.next() print myG.next() s='''使用一个for 循环而不是手动迭代穿过一个生成器''' print s...
[ "yue.fang.ser" ]
yue.fang.ser
0de192121d0073ff9cf6c8f5849e838274995ac2
890fed1df11cebccbf1944181637661455127d62
/rozwiazania/Darek/main.py
3968b806364d46826bd86c70bf240173f6c12b78
[]
no_license
ArchangelDesign/mapa-gestosci
22621cc1d376136ecf7b31eed34344d008e9f152
3242ef6664e4d0acc6c0e81e0a02ef4e66e222e2
refs/heads/master
2021-05-03T15:14:17.658232
2018-02-06T14:50:19
2018-02-06T14:50:19
120,472,526
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
# EXAMPLE INPUT # 10,20,30,40,50,60, # 70,80,90,100,110,120, # 1,2,3,4,5,6, # 7,8,9,10,11,12, def sum_neighbours(data, idx): return data[idx] \ + (data[idx - 1] if idx > 0 else 0) \ + (data[idx + 1] if idx + 1 < len(data) else 0) def main(): sum_all = 0 with open("input....
[ "archangel.raffael@gmail.com" ]
archangel.raffael@gmail.com
ff6e44311140d54e21fc24318072d6e3878b875c
610bd6ec46a9ccf04bb697bbcf0f631a3813f88b
/archived/preprocess/data.py
6d86a29c69702c43163ff7ccc324bd65ec90f374
[]
no_license
qibinc/Lyrics
e5e998eedac14887b8231c1887175682b8e9c1d3
851be102f90398a3f65cb302b94eb32844f6787e
refs/heads/master
2021-03-27T11:35:53.289835
2018-01-06T04:35:12
2018-01-06T04:35:12
107,003,712
5
1
null
null
null
null
UTF-8
Python
false
false
4,670
py
# coding: utf-8 # In[8]: import re import pickle import numpy as np import preprocess # In[9]: limit = { 'minq': 0, 'maxq': 20, 'mina': 2, 'maxa': 20 } UNK = 'unk' # In[10]: def load_raw_data(): """Return titles and lyrics.""" titles_lyrics = preprocess.load_from_pickle() i...
[ "chenqibin422@gmail.com" ]
chenqibin422@gmail.com
65b1aee5f1aad7cb39efa3f6dff9be2a4b37e267
8382924c67e4c465ec2e5212a9f5b25772acc722
/rediskmeans/rediskmeans.py
e571ea7f287d8da9429c474b44452a618a53f1f2
[ "MIT" ]
permissive
saromanov/rediskmeans
42dfac3adc6db2242229c2896343cce653c83244
46bbf75d3f359c35f86bbbf1cc15ac17c20d9bc1
refs/heads/master
2020-04-20T05:19:34.060928
2015-10-11T17:08:09
2015-10-11T17:08:09
37,146,036
0
0
null
null
null
null
UTF-8
Python
false
false
6,775
py
import redis from sklearn.cluster import KMeans from sklearn.feature_extraction.text import TfidfVectorizer import os import numpy as np class RedisKMeans: def __init__(self, *args, **kwargs): """ Initialization of RedisKMeans Args: addr - host for redis server por...
[ "xxsmotur@gmail.com" ]
xxsmotur@gmail.com
9c49559665e14c5a04ab2dd77acc037b6f36c251
2fcbfed3e79775392d502963c2b520fbe9c80233
/Tweet-Generator/q.py
9aa9588a9361e2b8861af120b7eecf2caa5f7829
[]
no_license
chelseacastelli/CS-1.2-Intro-Data-Structures
36e6d37b38ac15f9f5a2e680d2ec60a13a361375
9ffdd13f67e01123dd33a0f72aa031e4c9126be8
refs/heads/master
2022-12-10T12:46:29.334758
2019-12-18T22:51:44
2019-12-18T22:51:44
216,670,537
0
0
null
2022-12-08T06:16:53
2019-10-21T21:42:02
Python
UTF-8
Python
false
false
380
py
class Queue(): '''Makes a queue''' def __init__(self): self.queue = [] def __str__(self): return f'{self.queue}' def __iter__(self): return self.queue.__iter__() def __len__(self): return len(self.queue) def enqueue(self, entry): self.queue.append(ent...
[ "chelsea.castelli@students.makeschool.com" ]
chelsea.castelli@students.makeschool.com
49987ae74fc17d66d04f0c8e5eb1284d04be670d
0d62be21c3843033076621823069144be9b81930
/Basic/FunctionBasic2.py
17e5aa909cbfe08349bb6405cb64c8992215800e
[]
no_license
dungace/Project
2089cad3fe22877c161c105eaf6eb23bf82a9f15
822fe6a64049d31aec18fb7881044706ab9cf89c
refs/heads/master
2023-03-17T08:39:05.254743
2021-03-15T11:27:31
2021-03-15T11:27:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
273
py
def phone(**data): count = 0 for name,pirce in data.items(): row = "{:20}{:10}" .format(name,pirce) print(row) count = count + pirce return count t = phone(ip = 10000, nokia = 20000, samsung = 30000, mi = 90000) print("-"*30) print("{:20}{:10}" .format('Tong', t))
[ "dung.vv150727@sis.hust.edu.vn" ]
dung.vv150727@sis.hust.edu.vn
c23ccf06a8474442ff49f26a5f364058fec7495b
cb118716c25162b87397ce0ff687036c67192e29
/Week_07/208. 实现 Trie (前缀树).py
f71d64acca81b88e83093e9212e485ca246f55dc
[]
no_license
czjczjczj15/algorithm009-class01
e47157f5b211c29cefc85e12d75b1865bd2e77f6
cf1d1c52e6a4924f882840f23ca47124943ee902
refs/heads/master
2022-11-06T20:14:46.261374
2020-07-12T15:55:16
2020-07-12T15:55:16
266,251,226
0
0
null
2020-05-23T02:53:43
2020-05-23T02:53:42
null
UTF-8
Python
false
false
1,130
py
# DFS 时间复杂度:O(n^2),整个矩阵都要被遍历,大小为 n^2。空间复杂度:O(n)O(n),visitedvisited 数组的大小。 # BFS 时间复杂度:O(n^2),整个矩阵都要被访问。空间复杂度:O(n)O(n),queuequeue 和 visitedvisited 数组的大小。 # 并查集 #################################################### # 第一次,failed #并查集,极客大学老师代码 # 时间复杂度:O(n^3),访问整个矩阵一次,并查集操作需要最坏 O(n)O(n) 的时间。 # 空间复杂度:O(n),parentparent 大小为 nn...
[ "czjdeem@outlook.com" ]
czjdeem@outlook.com
8b8a754e171dd9b27af5339355a6ee943e222988
4ba11a2277fabbf2a4ac50849d7674e9ee8a2214
/unit_5/lecture_5.py
88687aee43ef1fe4ec4aaa42974c7f6282a5f110
[]
no_license
WebDevExpertise/Notes_For_Python
e704c9a6dfacec8126032b7eab8bf6993e4a50c7
8746e3387c58016ed8503bf72baca2c9a176c2b0
refs/heads/main
2023-07-18T05:08:13.097706
2021-09-01T04:36:44
2021-09-01T04:36:44
401,184,768
3
0
null
null
null
null
UTF-8
Python
false
false
3,459
py
# Unit 5: Conditionals # 5.1 & 5.2 - Basic Conditionals (only return a boolean [True or False]) """ Comparison Operators: == - left is equal to right != - left is not equal to right > - left is greater than right < - left is less than right >= - left is greater than or ...
[ "noreply@github.com" ]
WebDevExpertise.noreply@github.com
36d5c1db3f3f445e0483670ffcca8d265158154c
504986b5f88d8baac9e31f226d7307b9c6675126
/EX6/6.py
7ffc0b3b97c35c7be768dda12d35441f7e0e6559
[]
no_license
saruman1820/Python_bas_-Ryabov
56f669c819a0afc0a4408062cf681836f3106b2a
621a6dd647ff5438de908a6d412efb5c2389b2b6
refs/heads/main
2023-04-07T10:13:02.635467
2021-03-28T13:14:54
2021-03-28T13:14:54
345,795,755
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
class Stationary: def __init__(self, title): self.title = title def draw(self): return f'{self.title}' class Pen(Stationary): def __init__(self, title): super().__init__(title) def draw(self): return f'Запуск отрисовки {self.title}' class Pencil(Stationary): def ...
[ "Ya.a-ryabov@ya.ru" ]
Ya.a-ryabov@ya.ru
f0119106a6558b073e31492c05d13ce34a1abd0c
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2150/60647/301970.py
d59cebdd6aad62d00cd35d7d6c56808deb5c1a6e
[]
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
1,096
py
list=input().split() m=int(list[0]) n=int(list[1]) q=int(list[2]) if m==5 and n==10 and q==5: print(1,end='') else: if m==20 and n==220 and q==10: print(4,end='') else: if m==20 and n==260 and q==10: print(7,end='') else: if m==10 and n==30 and q==3: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
90ff425bb124a0a6410becf7cd726f78553ad912
2cbbc8c0a74acb40b19a08107c9fd474e859bd3a
/openvino_detectors/OpenvinoClasffier.py
3cacc6e2dd9c1de321c92f932bc3870d5edb7a3d
[]
no_license
JuanCarlosRomeroC/OpenvinoDetectors
91a5791eceb4a6a2cfb989a328840210e5a1c6c2
326f00a7e39945a6162430152de1dd627fa80db1
refs/heads/master
2022-02-24T11:59:05.055910
2019-10-31T18:26:46
2019-10-31T18:26:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
685
py
from openvino_detectors.openvino_detectors import OpenvinoDetector import numpy as np class OpenvinoMetadata(OpenvinoDetector): def __init__(self, detection_threshold): super().__init__(cpu_lib="openvino_detectors/lib/libcpu_extension_sse4.so", detector_xml="openvino_detectors/mode...
[ "menshov-sergej@yandex.ru" ]
menshov-sergej@yandex.ru
87d14c2f0d74322763cc74d5be08bb9888fc0b44
2a0ac8ad11937a5e658db5e129e7f0a9b58a3ebb
/alphabet-position.py
bb8487cee70361864fc641c16d1f248c0e2a72d8
[]
no_license
adriangalende/ejerciciosPython
91ef4a0b67b0c588d89230b682477b90352fe4e9
861e8e630fb2db51c0659b43257dfd152a842613
refs/heads/master
2021-08-26T09:12:27.610927
2017-11-22T19:18:14
2017-11-22T19:18:14
107,437,800
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
''' def alphabet_position(text): alphabet = ( 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' ) index = "" for i in range(len(text)): for j in range(len(alphabet)): if text[i].lower() == alphabet[j]: ...
[ "adriangalende@gmail.com" ]
adriangalende@gmail.com
71049f709f9b6a239506305f756b3cf5364b7310
8f51f9a202788db35428ce7fdd8bb2ea4bd31062
/orders-api/app/config/database.py
9d10a040532d6999a584fb9c991b11a9c18918ad
[]
no_license
guzzz/orders-eda-fastapi
5fa99f3b9e5b6ee0533aa52cf113861b0ad8a6b5
576443427ff66ba5d5104a1a3e95f9738312d0e6
refs/heads/master
2023-08-18T15:25:46.760261
2021-09-12T22:26:04
2021-09-12T22:26:04
405,746,256
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
import os from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker SQLALCHEMY_DATABASE_URL: str = os.getenv("POSTGRESQL_DATABASE_URL") engine = create_engine(SQLALCHEMY_DATABASE_URL) SessionLocal = sessionmaker(autocommit=False, autoflush=Fa...
[ "dguzman@id.uff.br" ]
dguzman@id.uff.br
51978a80860c2a24e23d69c80df5e4204a78c5b1
5833655a13ce67e7bdab1d44943263c7fa97be2e
/GA.py
f11460a1078075b3e399d4ec7d81405ba4ad46d9
[]
no_license
ttaipalu/ga
11ce8498a7e418677b7885c67f3bace3b56c930b
bb34ca038e325fa58fcccbe503eae7d8c36cfcf2
refs/heads/master
2021-01-22T17:53:16.689830
2014-03-12T20:45:57
2014-03-12T20:45:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
""" Genetic algorithm basic functionality Tapio Taipalus 2014 """ import random class GA(): def __init__(self, generationSize, numberOfGenes, mutationPropability = 0.01): """ GA(generationSize, numberOfGenes, mutationPropability = 0.01) Does the book keeping of GA, the fitness has to be evaluated by the app...
[ "tapio.taipalus@iki.fi" ]
tapio.taipalus@iki.fi
daf8b4847bee199d39a161d93ac059b7d75d4cd5
244ecfc2017a48c70b74556be8c188e7a4815848
/res/scripts/client/gui/login/social_networks/dataserver.py
c69bbdb1298ca796fd20fa4314ab41584489b141
[]
no_license
webiumsk/WOT-0.9.12
c1e1259411ba1e6c7b02cd6408b731419d3174e5
5be5fd9186f335e7bae88c9761c378ff5fbf5351
refs/heads/master
2021-01-10T01:38:36.523788
2015-11-18T11:33:37
2015-11-18T11:33:37
46,414,438
1
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,712
py
# 2015.11.18 11:52:28 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/login/social_networks/DataServer.py import os import base64 import hashlib from Event import Event from Crypto.Cipher import AES from Crypto.Util import Counter from debug_utils import LOG_DEBUG from RequestHandler import RequestH...
[ "info@webium.sk" ]
info@webium.sk
7930bf54e386a1c03d5c2469b8f053e92fb36c41
804b6c84e7d1b92907646b09fd0cf06cc98cd7ef
/Python/django/disappearingNinja/apps/ninja/urls.py
03654edb3dd53f4e527375a143b494df42beb384
[]
no_license
Briggs-Py/DojoAssignments
e5d9395560d507eb898d6fbdf51aaae6190f164e
7ff21105239d11b863d57cc5913925b1c1ddb7d7
refs/heads/master
2021-01-20T16:50:53.330860
2017-06-10T23:45:10
2017-06-10T23:45:10
82,830,055
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.all, name='all'), url(r'^ninja$', views.all, name='all'), url(r'^ninja/(?P<color>\w+)$', views.ninjas) ]
[ "briggs.mcknight@gmail.com" ]
briggs.mcknight@gmail.com
5cd32dd312cc8da6116c340ec020531f146e3c18
51a0bf3acc39bd5501ae372d543ea02a86c3aa84
/maineed/pre_initialize.py
4933e5ed091db3809b43962b475bd0b2f92d2cef
[]
no_license
smallwater94/pygame-SterWars
4340696c202a72715e2ac5592a636bb5aa6bd7c1
bf9819a823b910b22a092c3e1d7630465a49a8e2
refs/heads/main
2023-07-05T10:29:14.524407
2021-08-20T10:37:12
2021-08-20T10:37:12
398,240,696
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
from maineed.art import * # 創群 MAIN_SHOW = pygame.sprite.Group() players = pygame.sprite.Group() powers1 = pygame.sprite.Group() powers2 = pygame.sprite.Group() rocks = pygame.sprite.Group() pirate_ships = pygame.sprite.Group() bullets = pygame.sprite.Group() enemybullets = pygame.sprite.Group() enemybullets2 = pygame...
[ "smallwater94@gmail.com" ]
smallwater94@gmail.com
996ba3b97bd01a5e32466ca75e3aa9d64a194dd5
cb7a2eb6ff10461c14197dfcd1355420e21163a1
/scripts/mvf_read_benchmark.py
902f523b5e405c1c0d55c15558d1b6cddbd5f934
[ "BSD-3-Clause" ]
permissive
LChristelis/katdal
3903e232c3c6020580163d90faf937a1087c4b2f
73736f999dcf6ab68c600125f962ed4200970c0d
refs/heads/master
2022-06-19T12:16:32.576128
2020-04-26T12:50:32
2020-04-26T12:50:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,178
py
#!/usr/bin/env python from __future__ import print_function, division, absolute_import from builtins import range import argparse import logging import time import dask import numpy as np import katdal from katdal.lazy_indexer import DaskLazyIndexer parser = argparse.ArgumentParser() parser.add_argument('filename'...
[ "bmerry@ska.ac.za" ]
bmerry@ska.ac.za
0dfb72e53b78933fe79030045b105e746187159b
b7b7660106f671689b5f710a8b2e08cf4e1eb4e4
/spider/tianya.py
c6c29159169179f670206b53377ed0cdb67d5552
[]
no_license
boziaaaaa/ProjectContent
244260ca49db245919cc65bc2f022a854bc7fc64
027a4937b814135c222f1d09f16e3b6c405dcad0
refs/heads/master
2020-04-13T14:47:54.007285
2020-01-03T07:24:45
2020-01-03T07:24:45
144,536,345
0
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
# coding=utf-8 import requests from bs4 import BeautifulSoup import html5lib import urllib class tianya(object): def __init__(self,url): self.url = url self.page = requests.get(url) self.html = self.page.text self.containt = [] self.getText_temp() # def getText(self): ...
[ "boziaaaaa@163.com" ]
boziaaaaa@163.com
c68c68a9e773e6fe9808acfdf8c4bcf3191d708b
55e900638b21879bd306668054dba32e7233e512
/xor/xorelse.py
3177df28817769f62a1fda34a716e67900c2fec3
[]
no_license
LincLabUCCS/examples
9990660d09b86aab6e86c8a6b2fde4af4b8b0038
63ac9692b425753478d2a3bfc982586584175f3a
refs/heads/master
2020-06-01T12:32:52.210581
2019-06-07T20:34:02
2019-06-07T20:34:02
190,780,599
0
0
null
null
null
null
UTF-8
Python
false
false
3,232
py
from keras.models import Sequential from keras.layers.core import Dense, Dropout, Activation from keras.optimizers import SGD import numpy as np # xorelse function: "xor" the second two bits if first bit is 1 else "and" them X = np.array([ [1,0,0],[1,0,1],[1,1,0],[1,1,1],[0,0,0],[0,0,1],[0,1,0],[0,1,1] ]) y = np.arra...
[ "noreply@github.com" ]
LincLabUCCS.noreply@github.com
0a653612d889bdca0d26caa88c49d5c057747124
38ae3373148db5b5263997d8adbd48f7768ec436
/helloworld_start.py
845d94fadd9b6e395134051c634ea09fbafcf271
[]
no_license
Guillamoure/learning-python
8faf80e2a76ce3ae196c24695f145fb718ddd959
070a93a94115f2f289f55e29ba38fa61987b7c0e
refs/heads/main
2022-12-06T22:53:00.137003
2020-08-27T21:52:26
2020-08-27T21:52:26
290,282,201
0
0
null
null
null
null
UTF-8
Python
false
false
173
py
def main(): print("Hello World") # if you are running this file from the terminal # and you have this condition # the function will run if __name__ == "__main__": main()
[ "jhilscheriv@gmail.com" ]
jhilscheriv@gmail.com
4f10a97329baaec36fe1fb99ea6acc5427155433
98e2dd4ae4675d9a34f223783049a21e0dd4dd0b
/protein-translation/protein_translation.py
218a7791f4f555ca4808f95e3acf1daf3c5b966d
[]
no_license
AquaMagnet/python
60aabf3dd84a9d3024dc2193eeea0bac0cad6335
a5ac1d90e54aa381525ab0151709964ff2a7a629
refs/heads/master
2022-11-21T17:36:36.013250
2020-07-27T07:53:49
2020-07-27T07:53:49
282,830,608
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
def proteins(strand): proteinStrand = [] codons = [] proteinDict = {'AUG':'Methionine', 'UUU':'Phenylalanine', 'UUC':'Phenylalanine', 'UUA':'Leucine', 'UUG':'Leucine','UCU':'Serine', 'UCC':'Serine', 'UCA':'Serine', 'UCG':'Serine', 'UAU':'Tyrosine', 'UAC':'Tyrosine', ...
[ "42860676+AquaMagnet@users.noreply.github.com" ]
42860676+AquaMagnet@users.noreply.github.com
7e51ee8a358a127cf4b038362aec725f0dcac45e
b4b18a766ec90c4c0e9046e17726385bbda13f03
/scripts/health_and_povetry.py
46be43ae209ee0cf6894324644a0d8cfc357ba36
[]
no_license
michalmullen/DataAnalitics
24a9b0eac198032c68aeac37c02b1c8520370673
71c9344c370bb61a2ee2c121f5df3dbc4d0a5dc6
refs/heads/main
2023-02-16T12:58:26.581177
2021-01-12T20:23:32
2021-01-12T20:23:32
316,969,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd dataset = pd.read_csv('../datasets/HealthAndPoverty_Data.csv',sep=';') health_and_povetry_brasil = dataset[dataset.CountryCode.eq("BRA")] adolescent_fertility_brasil = health_and_povetry_brasil[health_and_povetry_brasil.SeriesCode.eq("SP.ADO.TFRT")...
[ "arthur.pessoa@broadcom.com" ]
arthur.pessoa@broadcom.com
5cca59fbfe5146e08f8c026a783f1df9de8e8959
6c6e831c520ad5e940f036def662042414b293da
/src/sanic_app.py
1ea842f0027a378570d24a28cb690a02f554d5a1
[]
no_license
lain-m21/inference-performance-test
fcd6f18500d2595f31ec30a9e7b97c209edd818a
33c446d9af384cc8fd185ba38764fe82d4afa13e
refs/heads/master
2023-02-14T05:10:51.469363
2019-05-27T12:22:05
2019-05-27T12:22:05
182,342,743
2
1
null
2023-01-27T01:10:58
2019-04-20T00:54:16
Python
UTF-8
Python
false
false
1,275
py
import json import logging import argparse from sanic import Sanic from sanic.response import json as sanic_json from src.api import PredictionService logger = logging.getLogger(__name__) logging.basicConfig() logging.getLogger().setLevel(logging.INFO) app = Sanic() api = PredictionService() @app.route('/predict'...
[ "lain21@mercari.com" ]
lain21@mercari.com
990f11702c658345a53a94808a557e8ae591371a
484e9cc727fd0e8c7a5845039e6216ec9acf7612
/Communication/DebugPrint.py
fb02a5a7822fdb3bf52eeeffa31f80e856a48fc2
[]
no_license
monolith0/Faust-Bot
4472254232ae26e1f23e73e9f61a242eed5b5ded
176b807c625e07ce1ae7f24afda22f6ac77d82e5
refs/heads/master
2021-01-23T20:32:04.312422
2016-01-29T18:55:09
2016-01-29T18:55:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
__author__ = 'Daniela' class DebugPrint(object): def print(self, message): """ :param message: What to print to debug output :return: """
[ "daniela.i.tovar@gmail.com" ]
daniela.i.tovar@gmail.com
f3afcc3d65fbc549070e7c992bbcde650e638aa2
d836cc4ecf02fde733a9bc009ddb099a602db759
/__init__.py
5ebf88e83885e04e5ae4276dc812655a164eb918
[]
no_license
MalcolmAG/DrawPixel
b30ff8f156707d94cb21ea60ae6e2cb6aa006767
fe63c2b999fbd924182eb79fb501b3fe67c5acb7
refs/heads/master
2021-01-02T12:53:05.738761
2020-02-19T22:29:29
2020-02-19T22:29:29
239,633,066
0
1
null
2020-02-19T22:27:02
2020-02-10T23:12:23
Python
UTF-8
Python
false
false
26
py
from .Canvas import Canvas
[ "noreply@github.com" ]
MalcolmAG.noreply@github.com
775e9f1c11a76fbed6bf0d412552fffad713e3da
b8ec9986d4a201a0fb04dbd7ea8eee4705199304
/Django_five/learning_users/basic_app/migrations/0001_initial.py
60e96f38da985d6dd034f8c1fed90e8e51c86f0c
[]
no_license
Jameslrickel/django-deployments-example
942d08e00f152ad67edc1fd52fb2a5a879d45260
f9b579d0e3a7d0cbe7baab219523061aac038cff
refs/heads/master
2020-08-30T15:06:26.606042
2019-10-30T01:33:10
2019-10-30T01:33:10
218,416,829
0
0
null
null
null
null
UTF-8
Python
false
false
848
py
# Generated by Django 2.2.5 on 2019-10-28 22:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "jameslrickel@gmail.com" ]
jameslrickel@gmail.com
1b5227934c6f54757c93494bf8c62c38cb711d3a
222e8075fa7bd6890b8d990cd7959d19387b2acd
/resources/lib/common/args.py
22e62f153bbac323d2e64f9c8d8a03967f1e2d35
[]
no_license
HackedGameMaker/plugin.video.unofficial9anime
3fae56bf98039c9706414bd9e98f65d0e703c672
c2061cbc570e26d8c0937c268f6bd0f297d6a093
refs/heads/master
2020-03-21T04:41:59.170225
2018-06-19T16:29:52
2018-06-19T16:29:52
137,949,095
0
0
null
2018-06-19T21:48:01
2018-06-19T21:48:01
null
UTF-8
Python
false
false
1,853
py
# -*- coding: utf-8 -*- ''' The Unofficial Plugin for 9anime, aka UP9anime - a plugin for Kodi Copyright (C) 2016 dat1guy This file is part of UP9anime. UP9anime is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
[ "prometheusx@gmx.de" ]
prometheusx@gmx.de