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
2558802259f4e94409d37148c0262295c24ccc25
a4a18abbfae9584116a847bec4a1dfb9e9d3d306
/exporter/context.py
3d31a81cc82a0fcd48fc84534070802a36690bbf
[ "MIT" ]
permissive
KTOmega/Slack-Exporter
c6e4d15a5d0c775dd98ef71a3f1528eea337924f
b9bec58464cebd64be61b0cc30cffa1a63737007
refs/heads/master
2023-03-09T13:38:47.474733
2021-02-25T02:51:43
2021-02-25T02:51:43
341,296,567
0
0
null
null
null
null
UTF-8
Python
false
false
1,408
py
from dataclasses import dataclass import json import os from typing import Dict, Any from slack_sdk.web.async_client import AsyncWebClient from . import constants from .downloader import FileDownloader from .fragment import FragmentFactory class JsonSerializable: def to_json(self) -> str: return json.dum...
[ "me@kevintran.codes" ]
me@kevintran.codes
fef7c0c91068ec1bbab26c4cd51b3f1a5a9f0367
21f96bc814627ffb98c965f7615b893c7490b16f
/Ejercicio 2/clase_helado.py
d2447921a4f3e868cead9b2a108bf7fdff444962
[]
no_license
msoto-27/ejercicios-u3
2b09cec1ac18018a9eb98d0e8b25e7c6e3043133
9ad6b72bdf84efe94c2cec3740728ea4d3f8886d
refs/heads/master
2022-10-08T11:49:49.898024
2020-06-09T00:30:13
2020-06-09T00:30:13
266,607,755
0
0
null
null
null
null
UTF-8
Python
false
false
475
py
class Helado(object): __gramos = 0 __sabores = [] def __init__(self, gramos, sabores): self.__gramos = gramos self.__sabores = sabores def getGramos(self): return self.__gramos def getSabores(self): return self.__sabores def getGramosPorSabor(self, sabor...
[ "noreply@github.com" ]
msoto-27.noreply@github.com
48593e14dda5f79c55a7ca3e20e0609b9f360191
656b45ea0ec5bb9645527fe124b7a3670aa06efd
/sentry_variable_update.py
3410232a7521ed96ce486deea5bde6ab8cab71fe
[]
no_license
SabiqulHassan13/python3-coding-try
5e982cc4b9a1832021c82d35cc73ed7e83510f21
d90c9eda628a5874ebff4aef4b5bb842c71ae160
refs/heads/main
2023-02-10T11:19:14.830872
2021-01-03T15:25:09
2021-01-03T15:25:09
326,437,762
0
0
null
null
null
null
UTF-8
Python
false
false
581
py
# -*- coding: utf-8 -*- """ Created on Thu Dec 13 10:59:46 2018 @author: Robin """ # sentry variable update # counter is a sentry variable here # if you don't update the value of sentry variable then the loop will be infinite # use ctrl + C to terminate the infinite loop counter = 0 while(counter <= 10): print("v...
[ "sabiqulhassan98@gmail.com" ]
sabiqulhassan98@gmail.com
6bde59f8802326df778c3f3ffebdbb6839952624
7b20e2f86c2bb2145ae9ca5bcd4b9ad1566e79b0
/ABC/ABC142/C.py
c206041e53f07ca481b643a9184535cff9b3a464
[]
no_license
pto8913/KyoPro
5f5e769960dfec73af5b0f338f32659ff067094b
29ebc30a3d45fea273cb9034fba8311673a406dd
refs/heads/master
2021-06-13T16:43:40.275854
2021-03-23T00:02:25
2021-03-23T00:02:25
174,684,331
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import sys stdin = sys.stdin ns = lambda : stdin.readline().rstrip() ni = lambda : int(ns()) na = lambda : map(int, stdin.readline().split()) def main(): n = ni() a = list(na()) d = {} for i, a in enumerate(a): d[a] = i+1 res = [] for i in range(n): res.append(d[i+1]) print(*re...
[ "nn3kskyou@gmail.com" ]
nn3kskyou@gmail.com
6c0098dcc19c3cbece8de20ee5fcd0b905bef052
009ac7a8a9a219affa944eff3747924a9639ef43
/lib/rram_NN/train.py
e613c03410ad8ae91217373e070768d3e891f650
[ "MIT" ]
permissive
amohant4/RSA_TF
586b797f51d882255a6ff5da9063f1c16e09082c
5b6705e167ca4f7039e900f9921b90087c9542fd
refs/heads/master
2020-04-20T09:04:29.242554
2019-02-01T20:31:48
2019-02-01T20:31:48
168,756,637
0
1
null
null
null
null
UTF-8
Python
false
false
25,669
py
# file: train.py # Author : Abinash Mohanty # Date : 05/10/2017 # Project : RRAM training NN import tensorflow as tf import os import sys from rram_NN.config import cfg from rram_NN.rram_modeling import addDefects, readVerifyTopN import numpy as np import cPickle import math import random import matplotlib.pyplot as...
[ "amohant4@asu.edu" ]
amohant4@asu.edu
3a5e1a7ef80e8a89992fa1345dcb1ea176fe38d4
a34f36f2f08791d353b63e786fa99fe7e7c65d9f
/contest2.py
827d8394e48b289789f5150a96d809ca1e99d7fb
[]
no_license
vijay9908/code_forces
5f758c4417d448fb2637dd4b896dfc59409f8b97
7d58e52aabea612dfed52dd3534e38563bf78633
refs/heads/master
2021-06-25T11:54:55.179108
2020-11-19T15:24:08
2020-11-19T15:24:08
173,603,181
1
0
null
null
null
null
UTF-8
Python
false
false
328
py
n = int(input()) a = list(map(int,input().split())) uniques = sorted(set(a)) if len(uniques) == 1: print("0") elif len(uniques) == 2: print((uniques[1] - uniques[0])) elif(len(uniques)== 3): if((uniques[1]-uniques[0])==(uniques[2]-uniques[1])): print(uniques[1]-uniques[0]) else: pri...
[ "vijaytanmay055@gmail.com" ]
vijaytanmay055@gmail.com
63c2196afa1515e12620f4d54e719a0bdb60cc3c
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/models/model_test.runfiles/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/boosted_trees/proto/split_info_pb2.py
8db7c5a5c0b0998a4b09a264af429e20ea8570c3
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
197
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__tensorflow_1_12_0/tensorflow-1.12.0.data/purelib/tensorflow/contrib/boosted_trees/proto/split_info_pb2.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
1387c0e3357b7e14538121bd9b9b1a0f6218b211
b52d75d6880cee281a024a3d6d83dc94ccd4985c
/pyconfort/pyconfort/cheshire_lookup.py
36cb10164145d42b7dfc92d59d467a2cfca9512d
[ "MIT" ]
permissive
SabariKumar/KimLabCodingCamp2021
536fa1b5d1863986386c5aa584f4279782ebf945
7c8a7086997c8f99d0509b38a120961050f47dbb
refs/heads/main
2023-06-21T22:36:57.116822
2021-07-08T04:34:43
2021-07-08T04:34:43
367,467,756
0
0
null
null
null
null
UTF-8
Python
false
false
6,125
py
#!/usr/bin/env python from __future__ import print_function import datetime import sys import unicodedata import pandas as pd ## convert HTML table to Pandas dataframe def parse_html_table(table): n_rows=0; n_columns = 0; column_names = [] ## the tables contain different numbers of columns; get t...
[ "sabarinkumar@gmail.com" ]
sabarinkumar@gmail.com
a11f6cff83681db94d4d84752d0362fdd9555b99
aafff2ac6e153ac2b35a351fc9292d5ec73e9267
/network/multi_net.py
24e029360c482bd7b653385a8432930541a19514
[]
no_license
ssungjun/Comparative-Analysis-of-Relative-Camera-Pose-Estimation-based-on-Deep-Learning
fafe4b6101c6f44a10babce011d0eee6768095dc
5f34f13632801c0c83cd5a08ae22617f17899137
refs/heads/master
2020-11-25T04:49:25.745692
2019-12-17T02:22:51
2019-12-17T02:22:51
228,509,036
2
0
null
null
null
null
UTF-8
Python
false
false
4,668
py
import torch import torch.nn as nn import torch.nn.functional as F from network.backbone.resnet_base import Bottleneck_elu from network.backbone.resnet_base import * from util import * class ResNetHead(nn.Module): def __init__(self): super(ResNetHead, self).__init__() self.conv1 = nn.Conv...
[ "noreply@github.com" ]
ssungjun.noreply@github.com
20f492a58694e5bed3221a4b86be5554bd64b1df
c7a397bd377fa8f310a715ea35fb2e0b54001e88
/scripts/build_perfect_run.py
7f393cb7fcae1e631e7c5dff9c8e4b759e7b5329
[]
no_license
felipemoraes/dynamic
bf1f928b7c396eaff972efc92b2d47407bb9b3a8
a7c797bdc158e006575ee82d3d269099c5dea611
refs/heads/master
2021-03-27T14:23:33.237885
2018-11-14T15:17:42
2018-11-14T15:17:42
60,723,517
0
0
null
null
null
null
UTF-8
Python
false
false
6,108
py
# -*- encoding: utf-8 -*- from collections import OrderedDict import sys import math MAX_JUDGMENT = 4 MAX_HEIGHT = 5 beta = 1 gamma = 0.5 # $topic $docno $subtopic $judgement qrels = {} #$topic $subtopic $area subtopic_weight = {} # $topic $subtopic $gainHeights current_gain_height = {} # $topic $subtopic $occurrence...
[ "fe.moraesg@gmail.com" ]
fe.moraesg@gmail.com
24d99fae3b1ddd8240944745bf0aacfc89d1c413
c88e0a47b1065c8f00dc30a85580cf4b1e3ee0e7
/dosyayaYazmak.py
51fe6f6e2ca4bda046cc83c4216f2b2b7f53434d
[]
no_license
adalix/py2-book
09b0a09b1d762562534b999eca81a40cfbdc6cd8
256d920ba7ba1d5e8128c0f71479e51755b281cd
refs/heads/master
2021-01-10T14:50:09.638783
2016-03-10T13:49:15
2016-03-10T13:49:15
51,669,594
1
0
null
null
null
null
UTF-8
Python
false
false
112
py
tg = open ("tg.txt","w") tg.write("tolgahan faln faln") tg.close() tg = open("tg.txt","r") print tg.read()
[ "gumustolgahan@gmail.com" ]
gumustolgahan@gmail.com
c3948213eed1ef36d98427854f530df32182dc2e
9051a18b68f7c74fcb1356e573419cd0ab2e2b8d
/web/update_4.py
4d70b8314ccb5d307a8f0edcafef915e0f2d27f1
[]
no_license
paulie367/paulie367.github.io
4dbc25faea6ccce16e1aec38fd943aae9f30bdc3
71ee318c978839cdfac603109d56559a60d95310
refs/heads/master
2023-08-03T03:02:19.752849
2021-09-27T08:41:07
2021-09-27T08:41:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,623
py
#!C:\Users\2054069\AppData\Local\Programs\Python\Python39\python.exe print("Content-Type: text/html; charset=utf-8") print("") import cgi, os files = os.listdir('data') #print(files) listStr = '' for item in files: listStr = listStr + '<li><a href="index_4_update.py?id={name}">{name}</a></li>'.format(name=item) #...
[ "noreply@github.com" ]
paulie367.noreply@github.com
f7df70c87749177fdb0473207659ba0ee49741c0
01c14348768543446220e4892ecb289aeb04af50
/palindrome.py
33d27dd5418e4f060fc2302abb691308143f08de
[]
no_license
beyzakilickol/week1Wednesaday
c92c715516b173361c1e02efeaba4b7168d43de4
c4b66a2a83a857a8e60f6394225a29eef173ecb2
refs/heads/master
2020-03-29T03:56:30.764880
2018-09-19T20:30:35
2018-09-19T20:30:35
149,508,175
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
word = input('Enter the word: ') arr = list(word) second_word = [] for index in range(len(arr)-1, -1 , -1): second_word.append(arr[index]) print(second_word) reversed = ''.join(second_word) print(reversed) def is_palindrome(): if(word == reversed): return True else: return False print(i...
[ "43250495+beyzakilickol@users.noreply.github.com" ]
43250495+beyzakilickol@users.noreply.github.com
92cedf3e8cefe043ac52a07aa1226af00f782812
390eae08be96c6f5ddc78434cfb0398cb0095f3b
/tf_runner.py
299af6dd0b028c145a824c376b96aa37949cfd85
[]
no_license
BurakCinar07/RealTimePedestrianDetection
500f41f43780a5359047059bd37135817e1763db
34ed89d1b0b5e53efe5e9bc5e9cc08ef6876c4d2
refs/heads/master
2020-03-21T07:26:11.047926
2018-06-22T09:00:46
2018-06-22T09:00:46
126,314,520
1
0
null
null
null
null
UTF-8
Python
false
false
8,327
py
import sys import time import tensorflow as tf import nn_datasource as ds from checkpoint_manager import CheckpointManager IMAGE_WIDTH = 72 IMAGE_HEIGHT = 170 IMAGE_CHANNEL = 1 EPOCH_LENGTH = 300 BATCH_SIZE = 100 LEARNING_RATE = 0.001 RANDOM_SEED = 2 WEIGHT_COUNTER = 0 BIAS_COUNTER = 0 CONVOLUTI...
[ "noreply@github.com" ]
BurakCinar07.noreply@github.com
331a858abcf24bb56d1b2857284bce312868b9d3
f6e83bc298b24bfec278683341b2629388b22e6c
/scripts/generate_shutdown_order.py
a9a1168a051ec2bc8adb0ea3bf0f478399207a45
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
noaOrMlnx/sonic-utilities
8d8ee86a9c258b4a5f37af69359ce100c29ad99c
9881f3edaa136233456408190367a09e53386376
refs/heads/master
2022-08-17T23:15:57.577454
2022-05-18T21:49:32
2022-05-18T21:49:32
225,886,772
1
0
NOASSERTION
2022-07-19T08:49:40
2019-12-04T14:31:32
Python
UTF-8
Python
false
false
463
py
#!/usr/bin/python3 ''' This script is used to generate initial warm/fast shutdown order file ''' from sonic_package_manager import PackageManager def main(): manager = PackageManager.get_manager() installed_packages = manager.get_installed_packages() print('installed packages {}'.format(installed_package...
[ "noreply@github.com" ]
noaOrMlnx.noreply@github.com
3f04a266de102089706de59d6fedfe00242dd410
0dd1f090cd4dbcda484dca07ae279f3673e31a14
/flask/restful_flask_apis/requ.py
80452d396cd3cbd4ab25cbd6124fa6a81cbcdcea
[]
no_license
HaidiChen/WebAPIs
53fd668a3f5ce91a15166e519f8990f7c41799af
5cc108d774c3764c3f5146143af091409bbdf4c0
refs/heads/master
2020-05-02T17:49:59.267234
2019-07-15T00:28:02
2019-07-15T00:28:02
178,110,617
0
1
null
null
null
null
UTF-8
Python
false
false
999
py
from flask import Flask from flask_restful import Resource, Api, reqparse app = Flask(__name__) api = Api(app) parser = reqparse.RequestParser(bundle_errors=True) parser.add_argument('rate', type=int, help='Rate to change for this Resource') # argument is required parser.add_argument('name', required=True, ...
[ "chenhaidi43@163.com" ]
chenhaidi43@163.com
86fed817850caaf05d4b6eafcbc82e9e4f727b43
0ca5780b8a121b90e2191d7e394e35f49ab68828
/controllers/player.py
430bafb76594668e60744516af0a07a1a2086e27
[ "MIT" ]
permissive
Ghloin/tweeria
805091a40a2625f4983b960ccd477af6ffb1c1ba
5f7cf917a6e08f15cd914c11823dbd81c11b95a1
refs/heads/master
2021-01-21T05:59:24.279175
2015-04-11T23:49:09
2015-04-11T23:49:09
33,859,414
1
0
null
2015-04-13T09:22:40
2015-04-13T09:22:39
null
UTF-8
Python
false
false
47,767
py
# -*- coding: UTF-8 -*- import basic import tweepy import re import json import math from sets import Set from time import time, localtime from guild import guildsController from random import randint, sample import memcache_controller from functions import getMessages, prettyItemBonus, getRelativeDate, ...
[ "alex.shteinikov@gmail.com" ]
alex.shteinikov@gmail.com
83372bea64fdb4871d2df6d228c8bcf2e665d059
4c9580b2e09e2b000e27a1c9021b12cf2747f56a
/chapter03/books/migrations/0001_initial.py
b438ba725fa795db838cd03b02cd0b3cf499c4dc
[]
no_license
jzplyy/xiaoyue_mall
69072c0657a6878a4cf799b8c8218cc7d88c8d12
4f9353d6857d1bd7dc54151ca8b34dcb4671b8dc
refs/heads/master
2023-06-26T02:48:03.103635
2021-07-22T15:51:07
2021-07-22T15:51:07
388,514,311
1
0
null
null
null
null
UTF-8
Python
false
false
887
py
# Generated by Django 2.2 on 2020-11-04 02:12 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='BookInfo', fields=[ ('id', mo...
[ "jzplyy@126.com" ]
jzplyy@126.com
e7d3f66bb4533ea1ce904edcdd4759047c80cb24
ae3d81f1e78b628a9917f35e691acef485f7287e
/Python/reverse.py
ee11c6515e31f8cd1a81260731b9d48a897ba438
[]
no_license
Stanwar/Code_Academy
3499d127b179b82496347bb0fbcb1fd1dcdcfb72
3d218c84f87bec2fc9ee35d7692f4546dbdd4096
refs/heads/master
2020-04-29T03:40:59.072515
2015-08-11T03:25:30
2015-08-11T03:25:30
40,500,665
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
def reverse(text): result = "" for i in range(1,len(text)+1): result = result + (text[len(text)-i]) print result return str(result) reverse('abcd')
[ "sharad_Tanwar@outlook.com" ]
sharad_Tanwar@outlook.com
8f6f823d5574cd3ae68bdfdd3c962695662a5115
61eac26b73015c5af29768cbdb103334b73d2e81
/actas/migrations/0014_auto_20160908_1409.py
968b004ad74bf2de00398e6a37f8342da4bb9a28
[]
no_license
nwvaras/Discusion-Abierta
08af886449078f97fd8c3dbb910e077acae612f7
81a47dce9b4be4d18a060d01bc0666c1cfd3a073
refs/heads/master
2021-01-22T13:13:11.505839
2017-04-11T11:30:09
2017-04-11T11:30:09
67,081,722
0
2
null
2016-08-31T23:46:10
2016-08-31T23:46:10
null
UTF-8
Python
false
false
485
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-08 14:09 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('actas', '0013_auto_20160907_2137'), ] operations = [ migrations.AlterField( ...
[ "nsdelgadov@gmail.com" ]
nsdelgadov@gmail.com
a0ed9b01ff6ad8ebf0668267d6c250b2ab2dbe00
da4c10ba7f7a499b5192eb82e49fe0a678cc6e82
/yelp/items.py
0ffa58216ac6ed18013a6bef7a563d66668e5c8c
[]
no_license
symoon94/yelp-scrapy
7fa90bf22f6b490209d68b8258a44692dea77eb2
a42c0fd0411c952951959a1a664ae0778628f268
refs/heads/master
2020-12-14T21:45:46.094017
2020-01-26T00:11:52
2020-01-26T00:11:52
234,879,414
0
0
null
null
null
null
UTF-8
Python
false
false
779
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class Place(scrapy.Item): url = scrapy.Field() lat = scrapy.Field() lon = scrapy.Field() searchActions = scrapy.Field() allPhotosH...
[ "msy0128@gmail.com" ]
msy0128@gmail.com
9c08a5c942654c7f869124ca9cccd78e9d54a5de
ebcd8c5360cbfe8ed50d5332fbc665321b87de88
/module_meshes.py
1a37899a2a1f8131e48c53bfac6d6d4ae4e0ce96
[ "Unlicense" ]
permissive
Ikaguia/LWBR-WarForge
dabe7a3d4dc9251edddc0df5a0d06d23756e4382
0099fe20188b2dbfff237e8690ae54c33671656f
refs/heads/master
2021-05-07T17:56:43.982163
2018-03-06T02:24:49
2018-03-06T02:24:49
108,722,885
0
0
null
null
null
null
UTF-8
Python
false
false
41,206
py
from compiler import * #################################################################################################################### # Each mesh record contains the following fields: # 1) Mesh id: used for referencing meshes in other files. The prefix mesh_ is automatically added before each mesh id. # 2) Me...
[ "cristianobrust123@gmail.com" ]
cristianobrust123@gmail.com
b769eca771f05f093f3193a9bfb26ffd56ba7b94
14c67704c62b1676fcf7ef34fef5d863004e41c8
/My-Subpixel-Corr-TF/My-Subpixel-Corr-TF-master/src/training_schedules.py
526cc7789cbd4acfc378f2eb4b4a9a3f3a1ad9a2
[ "MIT" ]
permissive
jinwooklim/DML-subpixel-corr-tf
3e149ab7a5c9908918dec0a302065ef9fb1a2a7e
8ce20a9381c19adc762cbab256b6851f07064ea4
refs/heads/master
2022-04-04T11:39:28.043927
2020-02-13T07:53:08
2020-02-13T07:53:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
LONG_SCHEDULE = { 'step_values': [400000, 600000, 800000, 1000000], 'learning_rates': [0.0001, 0.00005, 0.000025, 0.0000125, 0.00000625], 'momentum': 0.9, 'momentum2': 0.999, 'weight_decay': 0.0004, 'max_iter': 1200000, } SUBPIXEL_SCHEDULE = { 'step_values': [8000, 11000, 14000, 17000], ...
[ "aiden.limo@outlook.com" ]
aiden.limo@outlook.com
f35e5e02de4e8499e7ef24adcf93184ea3aabb86
6a2ee082bdc2cda591c1d2f96114d89843687bc5
/portfolio/blog/urls.py
78de6ee3e63da2274bdb8c76e54081ad5794468e
[]
no_license
iamrames/portfolio
f1e89b0f71af8fe2a0f6d3608b21b077ff036b91
fd2a839178ea4055a3c012bde3cdbf48080c42ff
refs/heads/master
2021-04-09T14:49:33.420541
2018-03-18T05:06:29
2018-03-18T05:06:29
125,694,180
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
from . import views from django.urls import path urlpatterns = [ path("",views.index.as_view(),name='index'), path("about/",views.about.as_view(),name="about"), path("contact/",views.form_name_view,name="contact"), path("portfolio/",views.portfolio.as_view(),name="portfolio"), path("photos/",views....
[ "addictedtomig@gmail.com" ]
addictedtomig@gmail.com
f6eff06c09abb93aca4a5c682634404aa8f93f25
99b36e8d9d5996d134c82b42b2f89a456b713fb5
/day3/day3Code.py
93df1be9692769de6c184c66c083cfd714ecd67c
[]
no_license
brendanbikes/adventOfCode2020
2087d3251a3b38d6aa7e686239784f8df2594579
47d56075a7ea3a50d168f3ccd67270e441ed85aa
refs/heads/main
2023-02-10T13:22:06.021238
2020-12-27T21:55:50
2020-12-27T21:55:50
319,201,167
0
0
null
null
null
null
UTF-8
Python
false
false
831
py
import numpy as np import sys def readInput(): with open('day3input.txt', 'r') as f: grid = f.read().splitlines() #extend the grid to the right a bunch newGrid=[] for row in grid: row = row*1000 newGrid.append(row) return newGrid def process(): grid = readInput() slopes = [(1, 1), (3, 1), (5, 1), (7, 1)...
[ "brendanmurphy@orolo-3.local" ]
brendanmurphy@orolo-3.local
76d1e00dcaaafe6d64f477cafa4e096279d9856c
5c724d6e03e4194680c793718a4f72a58ca66bb1
/app/migrations/0094_auto_20180928_1207.py
ac9b198eca9891502fecb050653a4d47fb3fcb0a
[]
no_license
tigrezhito1/bat
26002de4540bb4eac2751a31171adc45687f4293
0ea6b9b85e130a201c21eb6cbf09bc21988d6443
refs/heads/master
2020-05-02T07:13:06.936015
2019-03-26T15:04:17
2019-03-26T15:04:17
177,812,144
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.8 on 2018-09-28 17:07 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0093_auto_20180925_1800'), ] operations = [ migratio...
[ "you@example.com" ]
you@example.com
cb5666570d2b3412233d972cc57a2e6f65ace92d
ce72637209547fe47301f03cc5cb11c6f614c095
/Custom/events/Zabbix/API/httpretty/core.py
3317543778464170d02e5f9bbd082d5864d13272
[ "Apache-2.0" ]
permissive
ThinkboxSoftware/Deadline
29d1168efeb3c9a2f26a05d725eb63746d46499e
bfc97123e259f5e8392d3d45101c52ac79a07609
refs/heads/master
2023-08-28T01:05:24.365336
2023-08-05T20:31:06
2023-08-05T20:31:06
4,706,359
136
50
Apache-2.0
2023-08-05T20:31:07
2012-06-18T21:17:32
Python
UTF-8
Python
false
false
34,264
py
# #!/usr/bin/env python # -*- coding: utf-8 -*- # <HTTPretty - HTTP client mock for Python> # Copyright (C) <2011-2013> Gabriel Falcão <gabriel@nacaolivre.org> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"...
[ "jamescoulter@thinkboxsoftware.com" ]
jamescoulter@thinkboxsoftware.com
dd99d186c0a5d2a69b445acf76a84a4e543f5ee3
8a0d2d3d387ff97e24d6d10dd4d8575f834ddba6
/practice050718.py
0563a41878bd1f64c775fb4000575cba09427644
[]
no_license
simonnunn/python
9265f3b6be509cdb2356e7bb884dfbef80c6eabe
b6294bbf1fa25a4d23f639ef5a16425860c60aee
refs/heads/master
2020-03-22T11:27:53.170317
2018-07-06T10:53:14
2018-07-06T10:53:14
139,972,264
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
file = open("teams.txt","r") (file.readline()) (file.readline()) print("Second and Third Character from the third team:") (file.read(0)) (file.read(1)) print(file.read(1)) print(file.read(1)) file.seek(0) print("Rest of file:") print(file.read()) file.close()
[ "noreply@github.com" ]
simonnunn.noreply@github.com
7648b67635a5b5bf0cef50f3b8042857a0caa9d2
6df9a960c0a4e2049b5932938a83ee82d4516412
/creating-project/application/table/migrations/0005_filepath_folder_name.py
2106a336466bdd5fec83c6c7831cffbc37e71568
[]
no_license
alekseykonotop/dj_hw
9585f0d42ec95d31f5eeae09b953e5f195bc9ee7
6752361d007d777127eb77445d45da58332e0223
refs/heads/master
2021-07-19T06:30:04.333018
2019-09-21T18:12:38
2019-09-21T18:12:38
177,439,677
0
0
null
2020-06-05T22:56:52
2019-03-24T16:24:46
Python
UTF-8
Python
false
false
458
py
# Generated by Django 2.2 on 2019-09-11 17:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('table', '0004_auto_20190911_1412'), ] operations = [ migrations.AddField( model_name='filepath', name='folder_name', ...
[ "alekseykonotop@gmail.com" ]
alekseykonotop@gmail.com
7697a6995f82fc580f90a49854e81fad1c3504cb
00f9d3664d012cd7964bd0993bafe624cfe75d80
/Using LSTM/model.py
5c067ab49182c40c33cc83cd674c2dd3a57cd620
[]
no_license
Aakash12980/Disaster-Prediction-
6fef85afb7b7cd0d553b90cf396386c9c8763204
b397a72faff1bfb9048ef38989e87e66e1c9a019
refs/heads/master
2023-01-08T16:28:49.294465
2020-10-30T17:17:15
2020-10-30T17:17:15
296,061,088
0
0
null
null
null
null
UTF-8
Python
false
false
1,631
py
import torch import torch.nn as nn import sys from torch.nn.utils.rnn import pad_packed_sequence, pack_padded_sequence from model_embeddings import ModelEmbeddings from typing import List, Tuple, Dict, Set, Union class ClassifyModel(nn.Module): def __init__(self, embed_size, hidden_size, output_size, n_layers, voc...
[ "Bhandariaakash9@gmail.com" ]
Bhandariaakash9@gmail.com
d9ce7335aef2bd731017faf59e41c3b883a0d6f9
6ae93145e035a063cb8cd87d663f35f53d3bfe9e
/src/bot.py
27e1b964d6ddd19483932506938a102412f84d30
[ "MIT" ]
permissive
Eduardo3445/flappyAI
533672366031e7ad4644707c58367ad5a16bb94d
0d1e0ec8195f095d7f7e8f5010a13599328654ff
refs/heads/master
2020-12-22T17:53:14.534227
2019-04-06T02:34:52
2019-04-06T02:34:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,023
py
import json class Bot(object): """ The Bot class that applies the Qlearning logic to Flappy bird game After every iteration (iteration = 1 game that ends with the bird dying) updates Q values After every DUMPING_N iterations, dumps the Q values to the local JSON file """ def __init__(self): ...
[ "guilhermenazb@gmail.com" ]
guilhermenazb@gmail.com
e802e9dfae9b27c85a6898fd055e57234915dfb5
e01fb71c991e57504fa745d0a29b4a84033db438
/collectiveintelligence_book_master/feedfilter.py
6167fcf2df278aaaf041ecc8d8e836fcc4bc69dd
[]
no_license
NandaCj/Machine_Learning1
6707f36d71e26dcdca03fc11da27f724e21f265e
fc2255f6932d8fd7a0ec002e6885e5a45fd04fe5
refs/heads/master
2021-06-20T01:32:17.249662
2019-05-30T06:42:13
2019-05-30T06:42:13
134,279,997
2
0
null
2019-05-30T06:42:14
2018-05-21T14:25:13
Jupyter Notebook
UTF-8
Python
false
false
1,757
py
import feedparser import re def interestingwords(s): splitter = re.compile(r'\W*') return [s.lower() for s in splitter.split(s) if len(s) > 2 and len(s) < 20] def entryfeatures(entry): f = {} # extract title titlewords = interestingwords(entry['title']) for w in titlewords: f['Title:' + w] = 1 # ext...
[ "nandpara@cisco.com" ]
nandpara@cisco.com
d297cee91f53501ac87135d881bc7513083be016
2bc6a464116ca246ec7688938a5160549d0b2638
/src/entities/towers/tower.py
61083c7ddc728c8ae81f2bc7d0d6b3c27e936894
[ "MIT" ]
permissive
evrardco/GameJam-lln-2021
4d7657d507132d055c42e650ad4adf4fd6aebf91
ee2cce0feb423a0b3319c9933c8c8b5748225e39
refs/heads/main
2023-03-20T21:17:07.779340
2021-03-21T13:02:00
2021-03-21T13:02:00
349,721,579
1
0
null
null
null
null
UTF-8
Python
false
false
1,820
py
from arcade import Sprite from arcade import color from arcade.draw_commands import draw_circle_outline class Tower(Sprite): def __init__(self, game_level, *args, **kwargs): super().__init__(*args, **kwargs) self.range = 100 self.max_lvl = 1 self.lvl = 0 self.fire_rate = 1 ...
[ "maxime_postaire@hotmail.fr" ]
maxime_postaire@hotmail.fr
db0f581d7ce78000bfb096134567d12e6a21a513
476936830895db3551e622c8289f6af22f1a81d2
/image_processing/pixelate.py
96942bfe799d7a60a3f92b97e56fab15b15aca0a
[]
no_license
harshitgarg22/learn-python
b5705fb5e77f86444ed3da72d6d0edc7b48d0b48
ccd0e614bb381b800e9cc224d87bbdacaff2daaf
refs/heads/master
2022-12-07T21:59:25.213842
2020-04-28T15:12:33
2020-04-28T15:12:33
142,181,275
0
0
null
2022-11-22T05:59:41
2018-07-24T15:54:10
Python
UTF-8
Python
false
false
563
py
from PIL import Image from utils_pixelate import create_image, get_pixel def pixelate(image, STEP=50): width, height = image.size outImage = create_image(width, height) pixels = outImage.load() for i in range(0, width, STEP): for j in range(0, height, STEP): for a in range(0, S...
[ "hg1229@gmail.com" ]
hg1229@gmail.com
ada2aa2d1c79110f48f2d4b2b1baff97eab6529c
5eaed6eaf1ad846e3603c070658fc1b5b8b09072
/Day11-class2/practice04.py
fd54c999c5130460a42d2c6f7c53a3f2f3e1773f
[]
no_license
Heez27/AI_Edu
c3de56d532a616247f4d79606043f85f652c93e7
79025327e6eed2c368fec1d73ac94aaf271754a7
refs/heads/main
2023-05-09T12:35:22.000559
2021-05-31T07:45:42
2021-05-31T07:45:42
349,044,578
1
3
null
null
null
null
UTF-8
Python
false
false
299
py
#다음과 같은 출력이 되도록 구구단을 작성하세요.(이중 for~in) #1 x 1 = 1 2 x 1 = 2 ... 9 x 1 = 9 #... #1 x 9 = 9 2 x 9 = 18 ... 9 x 9 = 81 for i in range(1,10): for j in range(1,10): print('%d x %d = %d '%(j,i,i*j),end='') print()
[ "noreply@github.com" ]
Heez27.noreply@github.com
23bb63cf22fff9fd08050e0f1b3f3c7a82d38052
aeef73ecc10cf276b82246a0fab4b824a69e3e71
/TEpython4.py
e59e7fe9fe902f790e3c9dfb80408177988f9ed5
[]
no_license
LaurelOak/Peatland-Flux-Analysis
dad07c4770ba5ffc67c3c4e487a63ccf86f428b8
31a86f0ff403f495835cf2bc5b470f12c11aa610
refs/heads/master
2021-03-04T13:34:03.184874
2020-03-11T15:09:00
2020-03-11T15:09:00
246,037,736
1
0
null
null
null
null
UTF-8
Python
false
false
41,148
py
#!/usr/bin/env python # coding: utf-8 # ## This module contains the TE code translation from Matlab # # (MatLab version written by Laurel L. and modified by Dino B. Translation to Python by Edom M.) # (Updated 2/25/20 by Laurel to accept inputs with NaNs.) # Subsequent major update on 3/9/20 by Laurel L. to ca...
[ "laurel@berkeley.edu" ]
laurel@berkeley.edu
4f7edf5d9993d14ed93c595d1579ad18089cac63
5c034122de6639bf3f6d7192ab0ea7da036d22db
/словари2.py
f15aeabb12ce787e92b5b439695f9e863e10d46e
[]
no_license
Nurlis98/Exersices-from-Eric-Metiz-book
85111a2d94448853b785bf0c230ac903d6d44809
79074c10c90426dbb8b0aab275d437652d06ae90
refs/heads/master
2020-05-09T12:40:45.130513
2019-04-13T05:21:24
2019-04-13T05:21:24
181,119,726
0
0
null
null
null
null
UTF-8
Python
false
false
94
py
favorite_numbers= {'Nurbek': 5, 'Aslan': 8, 'Adilet':7, 'Neymar':10} print(favorite_numbers)
[ "noreply@github.com" ]
Nurlis98.noreply@github.com
864fb65f15185ee5517a83c165df9ec067743ca7
8f1043dabe7275b33d7fe8e9095e474023f9de6c
/ghost.py
0b80e62be1f829115e2488998b16a65a62eb9393
[]
no_license
pietjan12/pacman_deeplearning
acd84dd063f8f76754ee9a9ee558d9d321b7c618
1456d6c1daef2fd2b8805a5a2d734dc1127956ef
refs/heads/main
2023-01-05T05:31:46.217709
2020-11-04T12:57:26
2020-11-04T12:57:26
296,563,462
0
0
null
2020-11-04T09:54:41
2020-09-18T08:37:46
Python
UTF-8
Python
false
false
7,238
py
import random #color of ghosts. ghostcolor = {} ghostcolor[0] = (255, 0, 0, 255) ghostcolor[1] = (255, 128, 255, 255) ghostcolor[2] = (128, 255, 255, 255) ghostcolor[3] = (255, 128, 0, 255) ghostcolor[4] = (50, 50, 255, 255) # blue, vulnerable ghost ghostcolor[5] = (255, 255, 255, 255) # white, flashing ghost class ...
[ "n.vanderburgt@student.fontys.nl" ]
n.vanderburgt@student.fontys.nl
635a83d12ba05a184e2ed5f76db283eb66e94e73
444c07a8d8f55866403b2f2ab4138c20a0e328c7
/projeto_agendas/urls.py
ae3f72c74d1859de948467d971f23cae887e99a4
[]
no_license
TheQuito/projeto_agendas
b1b33526b50e2cbde93220875a507bd358e6d406
d36e17079afb5009d642ca38aa940a923efdb167
refs/heads/master
2020-04-14T15:02:27.176067
2019-02-26T20:34:47
2019-02-26T20:34:47
160,865,774
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
"""projeto_agendas URL Configuration """ from django.contrib import admin from django.urls import path, include from rest_framework import routers urlpatterns = [ path('admin/', admin.site.urls), path('api-auth/', include('rest_framework.urls')), path('agendas_rest_api/', include('agendas_rest_api.urls')...
[ "jonesdhy@hotmail.com" ]
jonesdhy@hotmail.com
50ab680a0d68f273e6acbc7e9f5081f0336f9178
b64e879968bc2a977d0800164eeaae887608465b
/Source/vvc_project/wizards/review_detail_project_wizard.py
dc7e7061de468272801cebc897f313899e46c607
[]
no_license
PhuocThinh/OdooDocument
371df0b450d5ed662717c308a7c9ffbca2f65656
1a0ca11c729e919b34f3bb8a2e12d481fbd27f2f
refs/heads/master
2020-08-16T04:44:24.700066
2019-10-30T09:43:00
2019-10-30T09:43:00
215,456,739
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
from odoo import api, models, fields class ReviewDetailProjectWizard(models.TransientModel): _name = 'review.detail.wizard.project' _description = 'Project Review Detail Wizard' content = fields.Html(string='Content') status = fields.Selection([('new', "New"), ('done', "D...
[ "thinh.pvp@vn.vinx.asia" ]
thinh.pvp@vn.vinx.asia
3687486371728e2b0c5aea7f520cefa19b5385d1
4aaef00df82d733dcef81bbb77b04ad92c5f512f
/server.py
38188c4b40b03cdcc79e9cdbe460dc747e46ad8c
[]
no_license
niallo/mongo-perf
0f48cbba7e6a56a6379ce69c708164279fa12f24
4b1b2a5de72dd0f1deb8d46b7acbb555086050eb
refs/heads/master
2021-01-24T02:39:29.411930
2013-02-09T19:52:46
2013-02-09T19:52:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,139
py
#!/usr/bin/python from bottle import * import pymongo from datetime import datetime import sys import json db = pymongo.Connection('localhost', 27017)['bench_results'] @route('/static/:filename#.*#') def static_file(filename): send_file(filename, root='./static') @route("/raw") def raw_data(): out = [] ...
[ "redbeard0531@gmail.com" ]
redbeard0531@gmail.com
590a3359c5f5ac28c8d7ac33a1d38153112d62a8
e24bf8b1ae9071ef29393e25e55d57e57ecaa4d4
/HLTBendingAngle/python/ConfFile_cfg.py
6c9663541350f7f1067424a131c023c1281f15af
[]
no_license
tahuang1991/MuJetAnalysis
35444464054fb1f3a69980d80a1a87c0530ad1c4
2b7bb07ad1e428d13411c6594db01f075fcffdf6
refs/heads/master
2020-12-03T08:03:53.099393
2016-01-26T22:52:19
2016-01-26T22:52:19
46,516,216
0
0
null
2015-11-19T19:46:24
2015-11-19T19:46:24
null
UTF-8
Python
false
false
474
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Demo") process.load("FWCore.MessageService.MessageLogger_cfi") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.source = cms.Source("PoolSource", # replace 'myfile.root' with the source file you want to use file...
[ "jrdv009@tamu.edu" ]
jrdv009@tamu.edu
61d64f4a573e2b561240731d80288fbdd110a42a
5b976ba89e3de22bd00ccd6a6e2eafde807bf8cf
/computer/training_image_collection.py
1e56d8ccac481018c686f3fefd6188b43c126bb8
[ "MIT" ]
permissive
cfizette/Neural-Net-RC-Car
fec8348fa14240c336c95775f1bda58afba9e7ed
a45c13d2b1a7107d5f41645c258d7d000cf63b0d
refs/heads/master
2021-01-02T23:05:02.957073
2017-11-04T04:35:26
2017-11-04T04:35:26
99,464,029
0
0
null
null
null
null
UTF-8
Python
false
false
5,616
py
import threading import io import socket import struct import serial import pygame import _thread as thread import cv2 import numpy as np import os import time ''' Notes: The pygame window will take a few moments to warm up and may be unresponsive during this time, just wait. Usage: First start this program, then st...
[ "cfizett1@binghamton.edu" ]
cfizett1@binghamton.edu
9cc50ddd7c4aa4f288db9b25f241d953d7ffc2c6
c2e6dc71f1533a5201b527b13ca50641f51bbb06
/empireofcode/done/even_last.py
12d2dc1126971a8e9387ccead4d7a39f5f653928
[]
no_license
paolo12/first_gift
3ecb2c96aa110e557765331e991031b5c4141b31
89bc214bff6fe54d8580cb5eb087ae42c8ff2d14
refs/heads/master
2021-01-10T05:24:39.865929
2017-05-30T13:36:42
2017-05-30T13:36:42
53,891,429
0
0
null
2016-03-16T21:42:55
2016-03-14T20:58:52
Python
UTF-8
Python
false
false
834
py
def even_last(array): summ_array = [] i = 0 if len(array) == 0: return 0 else: while (i <= len(array)-1) and (len(summ_array) < len(array)): summ_array.append(array[i]) print("summ_array = ", summ_array) if i + 1 <= len(array): i += 2 ...
[ "ppyakov@gmail.com" ]
ppyakov@gmail.com
12dce45fd1b5b8283d9673ea5a485939792dec47
ccfe0a1b394e105eb547555ba5eb32010cfbea1e
/src/__init__.py
5657196915b800db2eb43fe3a913e2c31ae69e5e
[]
no_license
aponamarev/CarND-Vehicle-Detection
4fe33b7c1e34d39fa9da8bf52ce5dadd51094263
13b077bb3bccd2b6d46aff9e23050f90d5f3e92d
refs/heads/master
2020-12-25T18:33:26.820217
2017-06-13T05:35:59
2017-06-13T05:35:59
93,965,965
0
0
null
2017-06-10T21:20:11
2017-06-10T21:20:11
null
UTF-8
Python
false
false
122
py
#!/usr/bin/env python """ Created 6/12/17. """ __author__ = "Alexander Ponamarev" __email__ = "alex.ponamaryov@gmail.com"
[ "alex.ponamaryov@gmail.com" ]
alex.ponamaryov@gmail.com
aed660996022b455724c7d0ca62cb8c4e9ba82c9
16bf0672cdec5f6a680a8af02c0a0a3fb0b36189
/modules/4h 32m zip function.py
2887f9f9c0f366401e7a8f71bf95314ccd2654f5
[]
no_license
tanbir6666/test-01
91bfb82dc928a7d2a07b8b5a31501d7c4284435f
2d5a5f67d56a6288beea5a6ed6f3102e43c083c3
refs/heads/master
2023-06-30T11:41:31.542298
2021-08-04T19:33:18
2021-08-04T19:33:18
392,805,328
0
0
null
null
null
null
UTF-8
Python
false
false
1,715
py
#zip function will marge 2 list items Names=["Tanbir","Taohid","Shmu","Hiru","Tayeb"] Ages=[21,11,42,58] height=["5f9inc","4f5inc","5ft3inc","5ft5inc","5ft10inc"] #here height has the shortest amount . here 2 & and zip index will reach max 2 Rows # that means in all zip inside items , whoever has the sortest a...
[ "tanbirhawlader12690@gmail.com" ]
tanbirhawlader12690@gmail.com
e1292eb1c55d1880ef69645fdde2e50902e6482e
2b0f9a38782d55ff24b369f2f699359fe89e7654
/PythonWork/Palindromes.py
3b416af369ae8e0eaee3fe42da3930c9a704854d
[ "BSD-3-Clause" ]
permissive
truggles/ProjectEuler
a8534ee4d2a0469708bfc203c7cc3dd781554229
714026567686779eafbf3cc3e1d7c7ebc6cca9c3
refs/heads/master
2020-12-02T21:37:02.795551
2016-02-07T12:09:01
2016-02-07T12:09:01
30,518,146
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
numA = 999 numB = 999 isGreatest = False isGreat = False greatestTempNum = 0 greatestTempSt = '' greatestNum = 0 greatestSt = '' #while numA > numB: for i in range(0, numA-900): nAtemp = numA - i isPalin = False for j in range(0, numB): nBtemp = numB - j product = nAtemp * nBtemp #...
[ "truggles@wisc.edu" ]
truggles@wisc.edu
6387acf0252dc6b79f49e2b205834defd521184a
4ee8b8bdd3d271a07fd9771133a5562e872fc9ff
/celcius_to_f.py
c671133dfc2722c6670932c088011b4c366afb52
[]
no_license
Ogeoluwa/third
5bab45fe24a9fb5640bb76a3a2527762eaa5eae4
490aaf8d8df2079ac63a09470aa1ca02b42d6dda
refs/heads/main
2023-01-01T15:34:55.960997
2020-11-02T16:37:22
2020-11-02T16:37:22
309,427,027
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
temp = input('What temperature do you want to convert to? (c or f)') if temp == f: fahrenheit = (c * 9/5) + 32
[ "ogeoluwa.otitoloju@gmail.com" ]
ogeoluwa.otitoloju@gmail.com
5d8568be87f3c82feb8f0c5d90fb567f5345adac
07f6b61aacfad5f30d9eedc384f2198fb303a094
/Practice/CodingBat/sleepIn.py
f1ca6cbb029a12e9770552553c78660cb78fcc4a
[]
no_license
tiendong96/Python
5f0306da422d08cebcde948e346c17a3f9556d50
c4b7bc10a1400d346d32357c502e418ad9219f78
refs/heads/master
2023-03-21T17:31:46.863163
2021-03-10T21:52:55
2021-03-10T21:52:55
335,058,019
0
0
null
2021-02-01T20:14:22
2021-02-01T19:18:04
Python
UTF-8
Python
false
false
355
py
# The parameter weekday is True if it is a weekday, # and the parameter vacation is True if we are on vacation. # We sleep in if it is not a weekday or we're on vacation. Return True if we sleep in. def sleep_in(weekday, vacation): return (not weekday or vacation) if __name__ == '__main__': print(sleep_in(F...
[ "tienbusinessinquiry@gmail.com" ]
tienbusinessinquiry@gmail.com
9f56ec17df57c3123fc94c0484a3164bb7f25abe
1130e63c96649389760e6fb98aeee3a9b2bffcb3
/script/test_all_branches
023aa79eb966c58e67e54587454ed9fe7e46073e
[ "BSD-3-Clause" ]
permissive
jrogstad/mopub-android-sdk
e81647c677fe684af49cae87a32a69505649909a
4eed7087a55ec766dfa6b03f4f8ff4ec85c02bfd
refs/heads/master
2021-01-15T18:45:25.968660
2013-11-20T04:51:50
2013-11-20T04:51:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
417
#!/usr/bin/python import os import shared_values import git_helper import os_helper original_branch = git_helper.git_current_branch() for branch in shared_values.branches_synced_with_master: os_helper.try_system_quiet('git co ' + branch) if os.system('mvn clean install'): print "FALURE!!!!!!!!!!!!!!!"...
[ "pair+nat+phil@pivotallabs.com" ]
pair+nat+phil@pivotallabs.com
ca452e16876c0dc2101adadbac281236e1a6d309
b777204c31f83d563b511b2f84c955bd49da9f17
/doctors/models.py
87fe654546e55546dee65ba45321e6b2aca102e5
[]
no_license
DavronR/timesheet
aa5b8f8bdd1e14429e4b5d6ba1edec6c496a53af
5eaa75c0c0186e3eba5cfc47a251ca50baf6f6d5
refs/heads/main
2023-04-01T08:41:31.404284
2021-04-06T21:52:38
2021-04-06T21:52:38
355,235,857
0
0
null
null
null
null
UTF-8
Python
false
false
1,758
py
from django.contrib.auth.models import AbstractUser from django.db import models from django.utils import timezone import datetime from datetime import timedelta # Create your models here. class User(AbstractUser): is_doctor = models.BooleanField(default=False) class Location(models.Model): name = models.Ch...
[ "turaboy.holmirzaev@toptal.com" ]
turaboy.holmirzaev@toptal.com
7a5951f31b24674123c2b2f97433fe00f3f35f76
7dd5b9012401afa2e48b3e8d988592cc318a844b
/page_loader/cli.py
cefd4876d9a4d32f3a0df5fc90ba658be2202da4
[]
no_license
twistby/python-project-lvl3
0d5f57bdbb9360960f8f928026a4119a3ab71786
1388a699b51fec948ba2d7f471d63c0eb2ece056
refs/heads/main
2023-08-20T06:50:53.295528
2021-10-31T15:10:39
2021-10-31T15:10:39
392,060,083
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
"""Cli modul.""" import argparse def make_parser(default_folder: str): """Make argparse parser.""" parser = argparse.ArgumentParser( description='Use this utility to download web page localy.', usage='page-loader -o tmp_dir http://template.com', ) parser.add_argument( 'page_add...
[ "pref@outlook.com" ]
pref@outlook.com
a803778b4200d3de5eb086211d30a7d03cd014bf
9e05945d1ed9fcece072a789c3f606e75b27cfcf
/python_study_3/page4/script.py
bf4729462cbd60b0e78d6b86c37b81d1d8f79a5c
[]
no_license
taiga-ishii/Python_Progate
9ad0b8f6aa73e6e1b5eac90cd628c594d18d3009
e121532b2b558aa80e863caee683146e4a87ad67
refs/heads/master
2020-03-27T08:47:54.590587
2018-08-27T11:34:26
2018-08-27T11:34:26
146,288,348
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# 名前を第2引数で受け取れるようにしてください def print_hand(hand,name): # 「◯◯は□□を出しました」と出力されるように書き換えてください print(name+'は'+hand + 'を出しました') # 第2引数に文字列「にんじゃわんこ」を入れてください print_hand('グー','にんじゃわんこ') # 第2引数に文字列「コンピューター」を入れてください print_hand('パー','コンピューター')
[ "tiger1410111@gmail.com" ]
tiger1410111@gmail.com
177f83fef3510a591e1377a6f8e002e183abe263
968e923ef73711944895e00ec0571387b608b6ce
/exec/runExperiment.py
f2e75c0e432b2094a737a98df6762ea7df4b6011
[]
no_license
chengshaozhe/commitmentSnake
b3805b573e5a8205d146418873ef9ccb91eb5929
76523aee98f5a28ede59d9e5e96f5634e4cfabb3
refs/heads/master
2021-07-06T19:39:30.994709
2020-12-18T10:20:01
2020-12-18T10:20:01
214,105,726
0
0
null
2019-10-10T06:36:39
2019-10-10T06:36:39
null
UTF-8
Python
false
false
3,129
py
import pygame as pg import os import collections as co import numpy as np import pickle import sys import math sys.path.append(os.path.join(os.path.join(os.path.dirname(__file__), '..'))) from src.Visualization import DrawBackground, DrawNewState, DrawImage from src.Controller import HumanController, CheckBoundary from...
[ "shaozhecheng@outlook.com" ]
shaozhecheng@outlook.com
37a50da5e3dc6a53a4249b19d9105573ad01a331
a10efbf594de50b829e259b4e5f1ef73fa92bb7c
/Sem 4/lab5.py
e86e9783f779b706928164258ca0f6a4f364213e
[]
no_license
andrew-kulikov/digital-analysis
a3e213ce9dd3d634b5fe1f3d20f4125035e75e08
f8a9d25ca4d21adf6a8c0a29f24de7ddae807f3d
refs/heads/master
2020-04-05T09:58:46.473376
2018-11-27T20:51:06
2018-11-27T20:51:06
156,782,906
1
0
null
null
null
null
UTF-8
Python
false
false
4,412
py
from matplotlib import pyplot as plt import numpy as np from sympy import * from sympy.plotting import plot_parametric from sympy.utilities.lambdify import lambdastr from pprint import pprint def f(x): return x * x + np.log(x) - 2 def graph(): x = Symbol('x') y = Symbol('y') p1 = plot_implicit(Eq(...
[ "andrew.1.kulikov@gmail.com" ]
andrew.1.kulikov@gmail.com
3deab869a7655e415fb6f31d42792fab08077a20
fa04326369fe55edbc72958b7a77affe8c38e7e4
/pyart/correct/unwrap.py
7c6a903447e52e921844c9fc5775989681393ab7
[ "BSD-3-Clause" ]
permissive
tsupinie/pyart
9a8259c243deaf237f5395e27957678a11c86bb9
a65dfa86726bf9b69c41eaefc598d3b48007d128
refs/heads/master
2021-01-12T21:03:08.429546
2015-05-26T15:18:13
2015-05-26T15:18:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,318
py
""" pyart.correct.unwrap ==================== Dealias using multidimensional phase unwrapping algorithms. .. autosummary:: :toctree: generated/ dealias_unwrap_phase _dealias_unwrap_3d _dealias_unwrap_2d _dealias_unwrap_1d _verify_unwrap_unit _is_radar_cubic _is_radar_sweep_aligned ...
[ "jjhelmus@gmail.com" ]
jjhelmus@gmail.com
9024dbe589356bc46c896a0da84b6eb270ac2e4f
6a63a3b241e161d1e69f1521077617ad86f31eab
/python/ray/util/client/__init__.py
17094dae04f1470fa1ddd2b12dcae5e97f7f3a43
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
jovany-wang/ray
47a9df67e8ea26337517d625df50eb0b8b892135
227aef381a605cb1ebccbba4e84b840634196a35
refs/heads/master
2023-09-03T23:53:00.050619
2022-08-20T21:50:52
2022-08-20T21:50:52
240,190,407
1
1
Apache-2.0
2023-03-04T08:57:04
2020-02-13T06:13:19
Python
UTF-8
Python
false
false
11,454
py
import logging import os import sys import threading from typing import Any, Dict, List, Optional, Tuple import grpc import ray._private.ray_constants as ray_constants from ray._private.client_mode_hook import ( _explicitly_disable_client_mode, _explicitly_enable_client_mode, ) from ray._private.ray_logging i...
[ "noreply@github.com" ]
jovany-wang.noreply@github.com
c2705f3045b807f67db1b7f4cad8f941630fc88b
61fb59938d2bf5d658a90a7ccc21665fd1da0af8
/apps/gateway/forms.py
f2e818293c751ff4a7754d522a8f586c2ad28540
[]
no_license
ian0411/oscar
712f88c27050877071eba998637211aba0703547
29529e6cea4dc97c75fc22534413c2fb041e9a52
refs/heads/master
2020-12-03T03:51:20.256079
2017-06-29T13:51:15
2017-06-29T13:51:15
95,782,541
0
0
null
null
null
null
UTF-8
Python
false
false
490
py
from django import forms from django.contrib.auth.models import User from oscar.apps.customer.utils import normalise_email class GatewayForm(forms.Form): email = forms.EmailField() def clean_email(self): email = normalise_email(self.cleaned_data['email']) if User.objects.filter(em...
[ "ian0411@hotmail.com" ]
ian0411@hotmail.com
b1845fcdadfeb8237cb59e861fa3452738df75e7
886aed76cc1a26de9eb5b42f446022cafe63b03c
/haste_processing_node/haste_storage_client_cache.py
a51c743413a0f3a113d50dc2103dd2e0fb2d033c
[]
no_license
HASTE-project/haste-image-analysis-container
83411dab2be41e2a85194e4302e5920db95998b1
5f84b2cd8947797b774bb95e1edc8e5e5e5f7c13
refs/heads/master
2021-10-11T22:54:27.170172
2019-01-30T09:57:05
2019-01-30T09:57:05
119,521,462
0
0
null
2019-01-30T09:57:06
2018-01-30T10:36:22
Python
UTF-8
Python
false
false
3,260
py
from haste_storage_client.core import HasteStorageClient, OS_SWIFT_STORAGE, TRASH from haste.windowed_conformal_model.conformal_interestingness_model import ConformalInterestingnessModel import json import os.path import urllib.request haste_storage_clients_az_lnp = {} haste_storage_clients_vironova = {} def __get...
[ "blamey.ben@gmail.com" ]
blamey.ben@gmail.com
06fe70e2702191d04c51c0c22a73d8d266a8bc53
b98aa0f5c354a1840a8be7ecd92445edc9a7f280
/manage.py
64c973d6e7dc217a367dfb4bff92d3a4a6374d9c
[ "Unlicense" ]
permissive
SpaceHotDog/Flask_API
337297ceb36367505bb7e19cde3dbdb462d87058
8ce5136f44ee21a0e0ab77a1d8fefadb0dbeb74d
refs/heads/master
2021-01-16T18:00:16.591922
2017-08-12T18:24:01
2017-08-12T18:24:01
100,034,648
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
# manage.py import os from flask_script import Manager # Class for handling a set of commands. from flask_migrate import Migrate, MigrateCommand from app import db, create_app # Import the models so that the script can find the models to be migrated. from app import models app = create_app(config_name=os.getenv('APP_...
[ "noreply@github.com" ]
SpaceHotDog.noreply@github.com
70525813a57f89b68432c0c09c5e6cc1b4285b92
627867eca0d82f8fb399a4b7320da7979af3e8dd
/venv/bin/pip3
d631029b89174cafdc79fb08b15d169c09560ff3
[]
no_license
itoutsourcing86/photo-api
bd3bf6f79a163d26f6bb3629861e3bdc190a17d5
8886b8fb86dbcc7163cdb4f3ad519ffb9d8ddc33
refs/heads/master
2021-04-06T19:51:33.166133
2018-03-15T10:45:20
2018-03-15T10:45:20
125,268,301
0
0
null
null
null
null
UTF-8
Python
false
false
394
#!/home/alex/PycharmProjects/api/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==9.0.1','console_scripts','pip3' __requires__ = 'pip==9.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( ...
[ "itoutsourcing86@gmail.com" ]
itoutsourcing86@gmail.com
2b3d1686bc46f44039b6cf79b155c3b1269ec801
ee1de78906a835f60a2f4e7eec5daac6acec4d41
/day07/buying3_4.py
dc18e8d21b78787a258e7165e258e948f962ba48
[]
no_license
ktb5891/ML_lecture
7d3663f550ffbaa9aa18462c53d48e94bd6a22bf
ee691d6fdfe9a2835be7f65fbce96cf1d160e15a
refs/heads/main
2023-06-03T03:03:10.667083
2021-06-24T00:43:15
2021-06-24T00:43:15
377,467,891
0
0
null
null
null
null
UTF-8
Python
false
false
4,034
py
import requests from bs4 import BeautifulSoup import pymysql def save_data(item_info): sql = "select count(*) from items where item_code= " + item_info['item_code'] + ";" cursor.execute(sql) result = cursor.fetchone() if result[0] == 0: sql2 = """insert into items values('""" + item_info['item_code'] + ""...
[ "ktb5891@gmail.com" ]
ktb5891@gmail.com
19b532f43cbeab3da7e5490cd2edcb009dd28067
a9665b57c3ecf22fbd372b7433ea72b8959695c6
/catkin_ws/build/gazebo_simulation_scene/catkin_generated/pkg.develspace.context.pc.py
2ed6bf622a24187d4d45f0d536ba33fb81f3d89d
[]
no_license
ShamaineChung/ROS_ABB_workspace
5196aa792927498da7d03de800f5c3695525de1b
64373a8287af1e53f50110e8def1463c63f0dcd7
refs/heads/main
2023-07-12T18:10:18.757134
2021-08-25T10:07:13
2021-08-25T10:07:13
385,182,730
1
0
null
null
null
null
UTF-8
Python
false
false
387
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 = "gazebo_simulation_scene" PROJECT_SPAC...
[ "A00215756@student.ait.ie" ]
A00215756@student.ait.ie
11ff1d1611b9c40fc911df54b4e95a6d14dabf45
0ef53ff59c5584588ed2e85390b0383bd34de73e
/Python/SICP/3.5.py
a3a06237648c1eaa71c37fdd425ab5878e0cde2b
[]
no_license
bgmnbear/learn
f309fa459e0328a80e450fc4d37fba68015a2ece
0a29be76c715d37e6d7124103283b849831c3b58
refs/heads/master
2023-01-22T15:12:25.526422
2019-08-18T09:02:10
2019-08-18T09:02:10
115,715,622
0
2
null
2023-01-19T10:34:36
2017-12-29T11:07:19
Python
UTF-8
Python
false
false
3,699
py
from functools import reduce from operator import mul class Exp(object): """A call expression in Calculator.""" def __init__(self, operator, operands): self.operator = operator self.operands = operands def __repr__(self): return 'Exp({0}, {1})'.format(repr(self.operator), repr(se...
[ "jasonwhister@gmail.com" ]
jasonwhister@gmail.com
19f4062693725a5f8233224741ba911bc40832cb
1dea0c959bdc0d8a3c4be5b89e09cda994d96ced
/preprocess/utils.py
c591317e31c29cfb31c99aef1583bdf5dead8d83
[ "Apache-2.0" ]
permissive
fangzheng354/relogic
d06796b95969b68a211664605f446f91eccba743
2e0ebae773ff39260e35e29eaae625182031f991
refs/heads/main
2023-07-01T12:31:56.384754
2021-08-03T04:40:41
2021-08-03T04:40:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,874
py
import os from config import * import random import json from tqdm import tqdm from sql_formatter.formatting import translate_sql import sqlite3 import multiprocessing from multiprocessing import Manager import time random.seed(33) def mkdir(path): if os.path.exists(path): print("{} already exists".format...
[ "cjs7605@AD.PSU.EDU@e5-cse-rz01.ad.psu.edu" ]
cjs7605@AD.PSU.EDU@e5-cse-rz01.ad.psu.edu
ce70ac7410a74010846a19763d8efd727ced99c9
5fdc2f8550925e79f4ae7f526327456a10ad1148
/object/method.py
450e18d81444b8324cee8e577002353e63683cde
[]
no_license
bingozhou/python
d58ae62bf371eaef54887cdc187b62eddd695627
7a794acddac84e76f22c8fe7ec42147df61b9058
refs/heads/master
2021-01-01T18:32:56.121045
2017-07-31T01:26:10
2017-07-31T01:26:10
98,365,059
0
0
null
null
null
null
UTF-8
Python
false
false
123
py
#!/usr/bin/python # Filename:method.py class Person: def sayHi(self): print 'Hello,how are you?' p=Person() p.sayHi()
[ "bingozhouy@qq.com" ]
bingozhouy@qq.com
2a37f2bf163bae21be3b19485e8128f0b4923702
fa25d937309fea55ff5a33d30262012adedfaf19
/02_Arrays/anti_diagonals.py
4906cf5524a596ee5f150a96e1300cb1eed2dff8
[ "MIT" ]
permissive
alqamahjsr/InterviewBit-1
20d033a2feecb85a37b28f2ff178b8d85424a6ea
fe2ce1bd64814c3a5687bf9b827b46bdbcf9144f
refs/heads/master
2020-09-16T18:31:10.326427
2018-12-09T11:13:14
2018-12-09T11:13:14
223,853,679
1
3
MIT
2019-11-25T03:31:24
2019-11-25T03:31:23
null
UTF-8
Python
false
false
975
py
# Anti Diagonals # https://www.interviewbit.com/problems/anti-diagonals/ # # Give a N*N square matrix, return an array of its anti-diagonals. Look at the example for more details. # # Example: # # Input: # # 1 2 3 # 4 5 6 # 7 8 9 # # Return the following : # # [ # [1], # [2, 4], # [3, 5, 7], # [6, 8], # [9] #...
[ "sladjan.kantar@modoolar.com" ]
sladjan.kantar@modoolar.com
6d816f2493b0abbe65f6c1d2490503b6956f567a
f39806c814b8672b26c8b3d328c7003daa6ff3b5
/admin.py
6ddc3ea4b362b256b0d744898ccdf5835b17addf
[]
no_license
veenakrishna123/POLLPROJECT
1f42fc1634f45ceb0a1a9133b15b5fe100c74873
457586a5931ff755356829a2095101df60a21c54
refs/heads/master
2020-06-07T14:50:27.380759
2019-06-21T06:34:18
2019-06-21T06:34:18
193,044,097
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from django.contrib import admin from .models import Question from .models import Choice admin.site.register(Question) admin.site.register(Choice) # Register your models here.
[ "noreply@github.com" ]
veenakrishna123.noreply@github.com
1063f283444a8d4655b18e4f02e7125c1cd8136f
9a585288deadd7020eb61bd7dd61312fe64880a8
/BirdCNN/birdConstants.py
2f6a02bed6e5b0c72e8e4e888cd591e056458365
[]
no_license
arevello/BirdProject
d55ce32db69393b7eebc3d9c3598b1ff63a49eb9
702b0e7f1a39c903a9c4f74bc46b56ccd70dc3d7
refs/heads/master
2023-07-29T05:29:29.143529
2021-09-08T18:35:18
2021-09-08T18:35:18
246,415,035
0
0
null
null
null
null
UTF-8
Python
false
false
1,100
py
''' Created on Jun 8, 2020 @author: Alex ''' class BirdConstants(object): #species classifications HERG = 0 GBBG = 1 COEI = 2 #COEI_M = 2 #COEI_F = 3 TERN = 4 DCCO = 5 CANG = 6 GBHE = 7 LAGU = 8 #unsure of SNEG = 9 BAEA = 10 GLIB = 11 BCNE = 12 ...
[ "alexander.revello@maine.edu" ]
alexander.revello@maine.edu
7893ea96f01537030520c994aaa38ba14a74866f
259e48ed815719914cce22478361eb34f7d61e88
/api/file/urls.py
4993a4760cbe8e761f9279c089ab1c5e4661c3d5
[]
no_license
YAG19/django-react
719ebf73688c51cf817193486364f680f1ca533d
0a58d94476b5ab820fcea502c182f743b2c6650b
refs/heads/main
2023-06-10T17:37:40.666854
2021-07-09T13:21:23
2021-07-09T13:21:23
384,442,207
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from rest_framework import routers from django.urls import path , include from . import views router = routers.DefaultRouter() router.register(r'',views.ProductViewSet) urlpatterns = [ path('',include(router.urls)), ]
[ "[yagnesh.patel9898@gmail.com]" ]
[yagnesh.patel9898@gmail.com]
a1776bfbc30847148388fcd483940e42351ef4ec
a4681043cb56a9ab45be32a62fa9700b391f087f
/14-Statistics_with_Python/Histograms/Plotting_a_Histogram.py
45ed0cd1e64ea34834f4002801b2e547c54d40c1
[]
no_license
MarceloDL-A/Python
b16b221ae4355b6323092d069bf83d1d142b9975
c091446ae0089f03ffbdc47b3a6901f4fa2a25fb
refs/heads/main
2023-01-01T02:29:31.591861
2020-10-27T19:04:11
2020-10-27T19:04:11
301,565,957
0
0
null
2020-10-27T19:04:12
2020-10-05T23:41:30
Python
WINDOWS-1252
Python
false
false
2,737
py
""" HISTOGRAMS Plotting a Histogram At this point, you’ve learned how to find the numerical inputs to a histogram. Thus far the size of our datasets and bins have produced results that we can interpret. This becomes increasingly difficult as the number of bins in a histogram increases. Because of this, histograms are ...
[ "marcelo.delmondes.lima@usp.br" ]
marcelo.delmondes.lima@usp.br
97aeecb03460947eec33e9b36bbba8f69d437700
f2e9eabc8ea32c4381525f8dfb7865aaa98af460
/LostLeptonBkg/python/makeLLFromNTuple_cff.py
2502d0e77c912eec7ff70d2966c438822893da35
[]
no_license
kheine/RA2Classic
a75977dc3ae1ce5a51bc5471111c69c00137bfdb
0f48e482da6859dad96002ad68fb78b9a56fac57
refs/heads/master
2020-04-13T18:49:31.530643
2013-08-02T13:28:46
2013-08-02T13:28:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,205
py
# $Id: makeEffFromMC_cff.py,v 1.7 2012/12/05 13:10:48 adraeger Exp $ # import FWCore.ParameterSet.Config as cms def makeLLFromNTuple(process, outFileName, useCHSJets=True, invertLeptonVeto=False, NJetsMin=2, HTMin=500., ...
[ "" ]
6e6268ff5a363f492e7aee2d497862051ed431f6
c13b953c274ea0801ccb37e036a9da98592f9745
/source/main/urls.py
dc856eec3e1aaaf3ada62a824b5cec955915c52d
[]
no_license
Ruslan-dev-1996/python_4_home_work_50_keneshbaev_ruslan
911dfaa1c6dc0c0c83f596e0d419051591c27cb5
7247d2c81c4c83ea651fedd0b3275a76be5a7057
refs/heads/master
2023-05-02T18:41:25.848804
2019-10-02T23:28:24
2019-10-02T23:28:24
212,454,652
0
0
null
2023-04-21T20:37:41
2019-10-02T22:41:35
Python
UTF-8
Python
false
false
1,633
py
"""main URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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 vi...
[ "Kasabolotov96.emil.ru" ]
Kasabolotov96.emil.ru
fd2b90837b9a0d5297b449f4e936a93d12867567
9144b98606eafd5d5b4cb78f5adbdc012c092d79
/LoginApp/myapp/urls.py
324d33def053d6a795b63a1871cb6f0fa4130532
[]
no_license
chaitrak05/chaitra_django_projects
5a48333d162051ef32b13cef179903783cdf8b74
0227a55b11eaf75d99c14be5fe867e0b5ea6664e
refs/heads/master
2022-05-30T21:39:16.514252
2020-04-30T05:13:37
2020-04-30T05:13:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from django.contrib import admin from django.urls import path from .views import HomePageView from . import views urlpatterns = [ path('', views.HomePageView.as_view(),name='home'), ]
[ "chaitrak05@gmail.com" ]
chaitrak05@gmail.com
8e965ea67180f65424e32935037adc72b6aa873f
104388651ccd05c4b6006b64c7ea4a16a858ba24
/queues/ended_linked_list.py
ff3ff8f5c038498336855802b468bfb592722156
[]
no_license
MikeYu123/algorithms-lafore
d5ec02d13e267f96e7d084415db13aa1502ca2f8
8a59ab7149c4cb6fdc091512eb668f0bfc9f6a7c
refs/heads/master
2020-03-20T09:11:06.282882
2018-07-16T13:28:52
2018-07-16T13:28:52
137,330,509
0
0
null
null
null
null
UTF-8
Python
false
false
29
py
../lists/ended_linked_list.py
[ "m.yurchenkov@maximatelecom.ru" ]
m.yurchenkov@maximatelecom.ru
f253133c353abfb770023e56b2d1ec354db1532b
de0a605ab85cbc34bebb9638ab3aa681479d90aa
/app/modules/__init__.py
192744d1a077bad78461cbc9dad860332d954d5b
[]
no_license
sbravell/Geocoding-Proxy-service
2989d21a2397ca25d35a19b1edf501549349ae8c
e2b2714c0863515d0441f9cb5136138eb75baaf7
refs/heads/master
2020-03-07T19:37:06.614404
2017-10-08T06:58:02
2017-10-09T20:35:50
127,675,867
0
0
null
null
null
null
UTF-8
Python
false
false
228
py
from os.path import dirname, basename, isfile import glob modules = glob.glob(dirname(__file__)+"/*.py") __all__ = [ basename(f)[:-3] for f in modules if isfile(f) and not f.endswith('__init__.py') and not f.endswith('base.py')]
[ "leo@sh1n.com" ]
leo@sh1n.com
c33b0629a869598b6d3053841bfbc68cbba9368a
2fc415dfa31d77d6b396be5ae80752edc93947ee
/SimMuL1/test/New_Up/PU140_v2/tmbReadoutEarliest2.py
bab9c742a6a3bcbe320fbe70fa69d45f19bc1f4d
[]
no_license
jrdimasvalle/GEMCode
ca86237cb878fed42d2fef51ba9b7e6cc32bd949
983aec67dd114d8fe5a10dd76c3d14cb03f44d9b
refs/heads/master
2021-01-16T20:46:11.356096
2014-06-30T04:37:36
2014-06-30T04:37:36
20,639,444
0
0
null
2015-07-08T22:25:15
2014-06-09T08:27:07
C++
UTF-8
Python
false
false
6,965
py
## pick your scenario: ## 1: 2019 ## 2: 2019WithGem ## 3: 2023Muon scenario = 1 ## This configuration runs the DIGI+L1Emulator step import os import FWCore.ParameterSet.Config as cms process = cms.Process("MUTRG") ## Standard sequence process.load('Configuration.StandardSequences.Services_cff') process.load('FWCore...
[ "jrdv009@neo.tamu.edu" ]
jrdv009@neo.tamu.edu
cc3a1dfdeb99711758e7df153e707f6f8f8f766d
31255e05b44feec469330b5a02c8ff2ba16cbe9e
/setup.py
0131b45573cdb263046de07429e4b6ff70d8dc1d
[]
no_license
marco79423/paji-sdk.py
94dfb8fa1a576c3402adc21bcb76c1e05d4f2d30
de48b1a9bd2b3b0e6519695077577385818ab54a
refs/heads/main
2023-06-09T16:16:09.993931
2021-07-02T07:05:58
2021-07-02T07:05:58
382,250,729
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
# mypy: ignore_errors import os import setuptools base_dir = os.path.abspath(os.path.dirname(__file__)) REQUIREMENTS = [] with open(os.path.join(base_dir, 'requirements.txt'), encoding='utf-8') as fp: for line in fp.readlines(): line = line.strip() if line and not line.startswith('#'): ...
[ "marco79423@gmail.com" ]
marco79423@gmail.com
c50d7f36277dcc42963584dba56133330ce1fabf
ac4c02606b84f5f09edc7e48fa44a10621e9ef81
/python/detectionformats/stationinfo.py
43624ebc54f7595953e0df86eaa319c5a3cf2d5d
[ "JSON", "LicenseRef-scancode-public-domain", "CC0-1.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
jpatton-USGS/earthquake-detection-formats
5f8df7e6d543abd1b64624522715663d49d8eddf
8d52104c2f093ede1d67a94f43fce51eb172c8cc
refs/heads/master
2022-07-01T19:28:46.224141
2021-06-08T20:40:20
2021-06-08T20:40:20
69,907,599
0
0
null
2016-10-03T20:18:57
2016-10-03T20:18:57
null
UTF-8
Python
false
false
7,274
py
#!/usr/bin/env python #package imports import detectionformats.site import detectionformats.source #stdlib imports import json class StationInfo: """ StationInfo - a conversion class used to create, parse, and validate station info data as part of detection data. """ # json keys TYPE_KEY = ...
[ "jpatton@usgs.gov" ]
jpatton@usgs.gov
9d09fc080a0cb3fd2bea907f9b35c1986e5f2c71
6d31a9de85ca2f32911a7ae5b69b31611dd2a44b
/Prac 09/sort_files_1.py
f59c5415b089f0269637b43de24c3bae1dcb55e1
[]
no_license
SuriyaaMurali/Practicals
77a3dbb20c908e2270a592ae3091a1b10a781d05
9399855be2d014c4ed3c77cd7db29f2487cdb851
refs/heads/master
2022-12-26T11:21:12.027936
2020-10-01T06:58:46
2020-10-01T06:58:46
283,677,094
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
import os def main(): os.chdir("FilesToSort") for filename in os.listdir('.'): if os.path.isdir(filename): continue extension = filename.split('.')[-1] try: os.mkdir(extension) except FileExistsError: pass print("{}/{}".format(extens...
[ "suriyaa007car@gmail.com" ]
suriyaa007car@gmail.com
e0e3c59ad146e502a0274b86c741095d6e3ecdd9
25adbd31e1e652d47a096e231859262619b0e15a
/icekey/utils.py
67872e82c459ec974fe3aba270433eae1a127c6f
[ "Unlicense" ]
permissive
pixelindigo/icekey
eac140bed99be728193803ce29c1fd4dc295d021
f88294bc34af8b55bb0e2a768dc5cd86d16a8f89
refs/heads/master
2020-06-25T09:22:12.951903
2019-07-29T16:17:20
2019-07-29T16:17:20
199,270,430
1
0
null
null
null
null
UTF-8
Python
false
false
599
py
def gf_mult(a, b, m): """Galois Field multiplication of a by b, modulo m. Just like arithmetic multiplication, except that additions and subtractions are replaced by XOR. """ res = 0 while b != 0: if b & 1: res ^= a a <<= 1 b >>= 1 if a >= 256: ...
[ "1370291+pixelindigo@users.noreply.github.com" ]
1370291+pixelindigo@users.noreply.github.com
0542afffd1b6d7982c976d9431212f0b84581937
d8cf93900e6d86240ceb7643fd78bd2841b38152
/test/unit_test_g/unittest_simple/setup_teardown_usage.py
641da38a953ddd23cef166636e271683b8f2452d
[]
no_license
Onebigbera/Daily_Practice
165cee0ee7883b90bcf126b23ff993fed0ceffef
8f1018a9c1e17c958bce91cbecae88b0bb3c946b
refs/heads/master
2020-04-09T01:20:48.857114
2019-01-03T03:24:59
2019-01-03T03:24:59
159,900,636
1
0
null
null
null
null
UTF-8
Python
false
false
1,840
py
# -*-coding:utf-8 -*- # File :setup_teardown_usage.py # Author:George # Date : 2018/12/2 """ setUp 和 tearDown的运用 """ import unittest import HTMLTestRunner import xmlrunner class TestUsage(unittest.TestCase): @classmethod # 类开始运行前 比如在执行这些实例之前需要备份数据库等操作 def setUpClass(cls): print('Before clas...
[ "2578288992@qq.com" ]
2578288992@qq.com
cefef0af30e3c643b07b5203e304558f983b808f
00ea72326a1f559e72a6512dad21812cab3a1714
/1-12-2020/puzzle1/resolve.py
8af0ce419eff2b7daccab5a46e52193386f1bf4d
[]
no_license
Jnsll/AdventOfCode2020
5dcfdd2225d7fc06c16a5e22c30b60198dc3bd02
41b6558e157913bc6b3e23b5cfb2cfd893540249
refs/heads/main
2023-01-21T18:45:28.065686
2020-12-06T11:39:23
2020-12-06T11:39:23
317,467,429
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import pandas as pd expense_report = pd.read_csv("input", 'r', header=None) expense_report.columns = ["expense"] print(expense_report) for i in range(len(expense_report)): for j in range(i+1, len(expense_report)): if expense_report.iloc[i, 0] + expense_report.iloc[j, 0] == 2020: answer =...
[ "june.benvegnu-sallou@irisa.fr" ]
june.benvegnu-sallou@irisa.fr
e1057c349330190300117c83a27784ae8eb0df29
7d4124c4d98a9ea1f2fc06a5ab9519f7586d7a42
/MESSAGE/RECC_Paths.py
0a8a2a29edb74a58dac935d26dae707bf559366b
[]
no_license
SteffiKlose/OMli
3d5c5f916f23019cee45e29ddcb2a17377211204
36dfb48225763e6588a83cc1655570add005f34c
refs/heads/master
2020-06-23T15:05:45.865791
2019-08-18T14:44:14
2019-08-18T14:44:14
198,657,836
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
''' This is the RECC model path file. RECC will use the paths specified here to search for the necessary data and modules. ''' ### Start of path file ### ### These paths are for Steffi's windows machine ### current = 'C:\\Users\\sklose\\Documents\\ODYM-RECC-Repos\\RECC-Cu-Repo\\ODYM-RECC Cu' odym_path = 'C:\\Users\\...
[ "stefanie.klose@indecol.uni-freiburg.de" ]
stefanie.klose@indecol.uni-freiburg.de
5ae349c7e0f77dd771ef3a1f0957256772a92f70
91b29aa5a0f852cb89083d8b87e3cea2f1a7e08a
/noel.py
ba867b69fcb8c590823d1f109085b0ef52ae9797
[]
no_license
Blakeh37/cse210-tc03
9c9c2a7a12d2915aa8c0ff202ada0102d3605b8d
94eb02961c25fdf406cf3a7e3e08632b583a50c1
refs/heads/main
2023-07-18T21:29:16.840644
2021-10-02T15:40:26
2021-10-02T15:40:26
412,800,794
0
0
null
2021-10-02T14:40:14
2021-10-02T13:14:08
null
UTF-8
Python
false
false
62
py
def greet(): print("Welcome to our collaborative project")
[ "noe21002@byui.edu" ]
noe21002@byui.edu
3b39d6fbe492f80432018b1df6de5e0694515e92
8f268d06ab6be7a5910a4f68753c20dfc41ec5c4
/json_parser/screen_data_parser.py
c6385eb3eda3ffd363587865a8325b9b50a1e651
[]
no_license
Klooskie/GraphicsGenerator
5b5ad62cb95d9ef39067b14008613986fad48b1a
51be945c244b5a99bfca26eb1aa6422d8a992936
refs/heads/master
2020-03-18T10:37:01.779634
2019-03-26T23:10:31
2019-03-26T23:10:31
134,623,029
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
from pygame import display from .colors_data_parser import format_color class ScreenData: def __init__(self, file_content, color_palette): self._parse_screen_data(file_content, color_palette) def generate_screen(self): screen = display.set_mode(self._size) screen.fill(self._bg_color)...
[ "kuba.koniecznyxx@gmail.com" ]
kuba.koniecznyxx@gmail.com
af076219a10cff760841a83970ec79b7faa08010
473f138db6d5f27007453c5550544663abefe992
/1_Cipher.py
fb68bb3a9a012ae2ca1f65cfb3c93141b093b727
[ "MIT" ]
permissive
Jaber-Valinejad/Simple-Ciphers-Cryptanalysis
fbae71d0ac24e8ab7607a347224e28ef3bd10fb8
9456196e9f3699682fd8257b31e9136ff813e8b0
refs/heads/main
2023-09-05T11:35:53.171472
2021-09-29T02:31:38
2021-09-29T02:31:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,210
py
import numpy as np Letter=['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'] numb_letter=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25] def Convert_to_letter(mat): mat=Round_fun(mat) MM...
[ "noreply@github.com" ]
Jaber-Valinejad.noreply@github.com
3925ced5ea1d9889bfb4e137465e8102dae3f9ab
35d2bbd3813a3d5caf0c3bfb077a8fc3f3295dfb
/URI/uri_1011.py
819970b60be549a4ac5dffdfcfc376ae81e95005
[]
no_license
carlosMachado1/carlosMachado1
e32283c841f7067e370f56ce535a01f55b21b906
19973a1e12d8511082f5b3a9be715e4164ce301d
refs/heads/main
2023-03-17T04:06:01.604381
2021-03-11T00:54:42
2021-03-11T00:54:42
341,776,039
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
raio = float(input()) pi = 3.14159 vol_esfera = (4 / 3) * pi * (raio ** 3) print("VOLUME = {:.3f}".format(vol_esfera))
[ "cgdsm.eng18@uea.edu.br" ]
cgdsm.eng18@uea.edu.br
fc7ab6c5b42fba3b85367fd1d7fa8adb2fcdd4f1
b6250655508f4b4f5b37edaf6963092588586b8b
/translateBatchToENG3.py
1fe988292819c46a0ee2bc932ccce54cdcfb45a3
[]
no_license
E4RTTH/BigBirdNDSC2019
9953f37513b13bcd32fbec10d90f9b78eff4d733
bb3673f6d9ac395b3a2813769d53cd38454afaa8
refs/heads/master
2021-10-24T01:34:02.075613
2019-03-21T08:56:41
2019-03-21T08:56:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,828
py
import pandas as pd import textblob import re # Create a function called "chunks" with two arguments, l and n: def chunks(l, n): # For item i in a range that is a length of l, for i in range(0, len(l), n): # Create an index range for l of n items: yield l[i:i+n] dataset = pd.read_csv('mobile...
[ "jiayuan.chia@besi.com" ]
jiayuan.chia@besi.com
5d36c31abe62d3bc24967d257bd7acde33fa81c8
c38301f203d4af89c1d10c9cfe6626ef7666ac19
/extensions/info_commands.py
27a04c9258c04c687f6c4110d31138719730cce7
[]
no_license
matthew-lowe/RoboJosh
a9551152507dac5fefbbf480aff8410eb928809a
ec8f09a221d3c2e8cecc31ba65623aa3920e6464
refs/heads/master
2022-07-03T16:40:43.249517
2020-05-09T18:32:20
2020-05-09T18:32:20
255,172,347
1
0
null
null
null
null
UTF-8
Python
false
false
2,325
py
import datetime import discord from discord.ext import commands class InfoCommands(commands.Cog): def __init__(self, bot): self.bot = bot # Displays the avatar @commands.command(help="Show the avatar of a user", usage=";avatar [user]") async def avatar(self, ctx, target=None): utils = self.bot.get_cog("Utils...
[ "jedijasper2004@gmail.com" ]
jedijasper2004@gmail.com
59ee46640c67428e82b8c1ce5e8430455253579e
d1c55aa9a65bad122aeb2a0fcdf11c8fa4d76997
/divvy/app/models.py
61098cd5d7aff474311cce333213b3aee36f8e28
[]
no_license
CristinaGradinaru/DivvyChallange
b62dc47afa06363ac9b85d4140bf87aac5578050
217b33f86e51fc045a738fc8d775611e32fc3450
refs/heads/master
2023-03-31T16:43:46.868716
2021-04-10T20:10:45
2021-04-10T20:10:45
356,683,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
from app import db from datetime import datetime class Divvy(db.Model): trip_id= db.Column(db.Integer, primary_key = True) starttime= db.Column(db.DateTime, nullable= False) stoptime= db.Column(db.DateTime, nullable= False) bikeid= db.Column(db.Integer, nullable=False) from_station_id = db.Column(d...
[ "cristinagradinaru90@gmail.com" ]
cristinagradinaru90@gmail.com
f0f015d200157c4bc2421548d0d2b2ed31545e38
29d08e80ba14e903e95c92b91fc6a9019570d7c5
/Datasets/SmallNorbLoader.py
0254ecaf19eab4b878f0eb96e408dacd0a40d87b
[ "Apache-2.0" ]
permissive
puzzlelib/PuzzleLib
0d576eaad761a90490450efc41d3253019006bfd
73a14457e4d8afc60fea331556581b641a34d125
refs/heads/master
2022-12-06T19:42:02.041605
2022-11-24T10:09:45
2022-11-24T10:09:45
243,770,185
59
9
null
null
null
null
UTF-8
Python
false
false
4,988
py
import os, struct import numpy as np import h5py from PIL import Image from PuzzleLib.Datasets.DataLoader import DataLoader class SmallNorbLoader(DataLoader): def __init__(self, onSample=None, sampleInfo=None, cachename=None): super().__init__(("data", "labels", "info"), "smallnorb.hdf" if cachename is None else...
[ "psukhachev@yahoo.com" ]
psukhachev@yahoo.com
c98d95ce2a2eee2b73af1f2353638fe7a1da1ca2
7b36edbd77315c7d53a3c98dba9b5c8a4b4449a4
/Chapter4/4-3.py
89cfd5d8b33ae5b35aae4ba71a21d34aa30770c9
[]
no_license
chenfancy/PAT_Python
974ffde2b5c67e8b706b29696e9605279e30dd77
f9bb1c2f39246d7c70433d4880f4d57d3dfbd0a7
refs/heads/master
2022-03-30T06:29:23.665693
2020-01-28T14:10:55
2020-01-28T14:10:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
n=int(input()) x=1 for _ in range(1,n): x=(x+1)*2 print(x)
[ "han@163.com" ]
han@163.com
2860d75f902b1c7deae9502759161e1be8413369
dff19113a90e93db18c09b05bd94cfb41d917fb1
/build_train_dataset.py
4b444e465739bbd6b14bdf0fbabe5cfc650a79e3
[]
no_license
johncuicui/grapeMRCNN
ec97cb070f3ba2ab7f3fd952d023a5401c38d579
2eea60ad5c212275f97b6e535ae4ce39efcfccb5
refs/heads/master
2020-08-22T19:02:13.891261
2019-10-22T08:17:56
2019-10-22T08:17:56
216,461,939
4
3
null
null
null
null
UTF-8
Python
false
false
1,749
py
import os import numpy as np import random import shutil def create_dataset(dataset_folder,data_folder,image_list): for image in image_list: image_src_path=data_folder+image+'.jpg' image_dst_path=dataset_folder+os.sep+image+'.jpg' shutil.copy2(image_src_path,image_dst_path) bbox_src_path = data_folder + i...
[ "johncuicui@163.com" ]
johncuicui@163.com
914e091332b302fa954ad8c9bb449d1ce9798f9e
280847f527e7064c6e767ec60c5017ab6ddd94eb
/catkin_ws/build/my_first_topic/cmake/my_first_topic-genmsg-context.py
c8600df1b9a5b8c9d5fc9baf38013503ed615209
[]
no_license
WiloSensei07/ROS
b268e5c2ab09fc16688530ac8ec94b7bb3a0428d
b0c5bb0430c39bb4a519a0cfc9b79c06f4ace5ab
refs/heads/main
2023-05-23T23:11:26.555642
2021-06-09T10:12:29
2021-06-09T10:12:29
375,308,827
0
0
null
null
null
null
UTF-8
Python
false
false
577
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/wilo/catkin_ws/src/my_first_topic/msg/position.msg" services_str = "" pkg_name = "my_first_topic" dependencies_str = "std_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" dep_include_paths_str = "my_first_topic;/home/wilo/catkin_ws/src/my_f...
[ "sinkamwilfried@gmail.com" ]
sinkamwilfried@gmail.com
af827d4a20d673b71ec3580e040f84acab99e937
d2af7c3c2ccd8fb87e5f593658d466d07e310c21
/lesson08/exception/ExceptDemo3.py
844e12514f0218c8139e33b2b8f2835b5ccc72d0
[]
no_license
yuan018/yzu_python
cd64131bdf3f923b9b68c34350b181d6f4f0da11
f72088834814f4843fe0b2407b926ccc23302a96
refs/heads/master
2021-05-26T10:22:59.021685
2020-06-03T13:31:27
2020-06-03T13:31:27
254,094,610
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
def input_number(): x = 10 try: y = int(input('請輸入數字:')) z = x / y except ZeroDivisionError as e: print('分母不可 = 0, 請重新輸入~', e) input_number() except ValueError as e: print('輸入資料錯誤, 請重新輸入~', e) input_number() except Exception as e: print("發生了一個我...
[ "kakab45@gmail.com" ]
kakab45@gmail.com
9623c677ffe0f82fb1e9d27cfa80474221f3c11d
5df24c960d03f6b569247dc625c49116bb517fb7
/logica/CampanaPrevencion.py
9684da2bd17996654b9265580f35fb1a0a0f804a
[]
no_license
BryanTabarez/ProyectoBD
7a60e4ab0cc2a5200bceebfefdcdf24258d73107
ed9f42aaa390b695004e3acfd7afc669968df22c
refs/heads/master
2021-01-18T01:43:35.990092
2015-10-31T03:31:16
2015-10-31T03:31:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,211
py
class CampanaPrevencion(): """Clase CampanaPrevencion( [{codigo,} id_medico, nombre, fecha_realizacion, objetivo] )""" def __init__(self, *args): if len(args) is 5: self.__codigo = args[0] self.__id_medico = args[1] self.__nombre = args[2] self.__f...
[ "userbryan@gmail.com" ]
userbryan@gmail.com
a1a9fd6ebc0d15c11122032f395e325a20dc3ec7
9348adc3dbf30292ff63542d778fb8dc617ea482
/autoregressor/test/test_data_pipeline.py
84ab7900d90dcea26a9728d8b1fc5587f9f8ead0
[]
no_license
myrywy/autoregressor
2a4883d805567379088fcf40ecc696d143b3dea2
7dabab4f9da69cd94d485fafd6a3150df92db4ed
refs/heads/master
2020-04-03T23:41:45.436751
2019-01-17T23:20:55
2019-01-17T23:20:55
155,628,559
0
0
null
null
null
null
UTF-8
Python
false
false
11,713
py
from data_pipeline import DataPipeline import tensorflow as tf import numpy as np import pytest from pytest import approx def test_add_structural_transformation(): def input_data_generator(): yield np.array([1,2,3,4]) yield np.array([1,2,3]) yield np.array([1,2]) yield np.array([...
[ "marcinlewy22@gmail.com" ]
marcinlewy22@gmail.com
b562693940f57aee2704a7f4d8653268ddf53124
63e2bed7329c79bf67279f9071194c9cba88a82c
/SevOneApi/python-client/test/test_net_flow_direction_dto.py
7b1fdcddfbf76aa18f834699f063812d07cefed0
[]
no_license
jsthomason/LearningPython
12422b969dbef89578ed326852dd65f65ab77496
2f71223250b6a198f2736bcb1b8681c51aa12c03
refs/heads/master
2021-01-21T01:05:46.208994
2019-06-27T13:40:37
2019-06-27T13:40:37
63,447,703
0
0
null
null
null
null
UTF-8
Python
false
false
947
py
# coding: utf-8 """ SevOne API Documentation Supported endpoints by the new RESTful API # noqa: E501 OpenAPI spec version: 2.1.18, Hash: db562e6 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client ...
[ "johnsthomason@gmail.com" ]
johnsthomason@gmail.com
dbefbc5f019d54bb59addf4ec8cda717551bc439
e8f4df6ccf3ee4673e1d8be3320d04650200d3c4
/CRF/2B/q2q3.py
d6cee5d599c9f332d36ec8df051b9dc4590dcce8
[]
no_license
ashishiiith/Graphical-Models
16559bd17958daad9266a05ec59c007f2430bd30
1e312b62b6254057e74889e23a095e85e1eca83f
refs/heads/master
2021-01-01T16:55:17.667267
2015-05-20T18:43:09
2015-05-20T18:43:09
30,876,622
0
0
null
null
null
null
UTF-8
Python
false
false
10,270
py
#Author: Ashish Jain #How to Run Code? python sumProduct.py <arg1> <arg2> #arg 1 - path of test image file, arg2 - test word corresponding to that test file import os import sys import time import itertools from numpy import * from math import * import scipy from scipy.optimize import fmin_bfgs from scipy.optimize imp...
[ "ashish.iiith@gmail.com" ]
ashish.iiith@gmail.com