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
c07863208ec57cd034f45db75656bb501efdbae1
0cff66b776bc80e2724bb8215bfd0518817c611b
/matrix/clock_matrix_end.py
71d3c06ec12fd97b8139505a4f114a5a95832a5b
[]
no_license
mrharris/lessons
5191f6407b9615bd350ad0bc510f9b651d6abce5
fd05f12e5f6f01ef46608dbf4b09982a61347ee2
refs/heads/master
2020-03-27T04:31:29.627044
2020-02-06T21:20:29
2020-02-06T21:20:29
34,625,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
import pymel.core as pm import math pm.newFile(force=True) hand = pm.polyCube()[0] frame = 1 # we're going to create 4 matrices # S, T1, R, T2 # pymel has a special "Matrix" datatype for working with matrices # So far we only used built in datatypes (strings, ints, floats...) # We define a matrix by passing 16 floats...
[ "noreply@github.com" ]
mrharris.noreply@github.com
a598fcd7dee0d9d1086638ea0070df9ddf2b0601
202c4b5ee4a50180ee708196a54acda77cf6e101
/beautifulSoup/scraping_bs4.py
c4585928e7e257db3618abfe53248165260e7ca2
[]
no_license
Gulliverinv/webscraping_asyncio_2016
006936b712f516ee11f53788f5b9d799dfa8da8b
6a22b01d2fd090236fc861ebe8e3c09b6cc2a32a
refs/heads/master
2023-08-31T23:35:48.882921
2016-11-01T23:31:56
2016-11-01T23:31:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
from Scraping import Scraping if __name__ == "__main__": url = 'http://python.ie/pycon-2016/schedule/' scraping = Scraping() #scraping.scrapingImagesPdf(url) scraping.scrapingBeautifulSoup(url)
[ "jmoc25@gmail.com" ]
jmoc25@gmail.com
1e97786e8ad920f1219f134f9df8cbde8c663820
83c40bc3c9882014c6298a5d7969e6ff6823e66d
/src/phosgrapher.py
5e237c2c382d41fd15f98605bc9a7cc02880fb51
[]
no_license
fishnsotong/hexagonal-silica
d05c22171eeb1b36392ed59de559d72587e258f3
4370e99297722d0fc438fc09a37f853c815b4e4d
refs/heads/master
2022-08-29T09:25:44.315100
2018-02-21T14:47:50
2018-02-21T14:47:50
99,875,707
0
0
null
null
null
null
UTF-8
Python
false
false
2,624
py
# @author: Wayne Yeo <fishnsotong> # @date: 2017-08-10T12:53:16+08:00 # @email: wayne.yeo.wei.zhong.2017@vjc.sg # @Last modified by: fishnsotong # @Last modified time: 2017-12-23T21:32:33+08:00 import numpy as np import matplotlib.pyplot as plt import datetime as dt # importing data volume_total, pHdata = np.l...
[ "fishnsotong@gmail.com" ]
fishnsotong@gmail.com
154dbb46bd17e2448c7da76ab6996748123ecb63
3ddd5f99ae589e3eb06fab8bd8102d734461d674
/bin/Debug/InjuryProps.py
9118d09ec67a7090be8fdf6687c5e52163fa7892
[]
no_license
MartinChristiaan/RimworldReflect
d2a81163974d492bee9a58e6ab4682b7fdd456e7
94417f783cdfc732ad0fb77c7ddb7caa17ed2923
refs/heads/master
2022-06-06T10:53:31.561545
2020-05-02T01:16:54
2020-05-02T01:16:54
260,590,859
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
class InjuryProps def __init__(self): self.painPerSeverity_float = '' self.averagePainPerSeverityOld_float = '' self.bleedRate_float = '' self.canMerge_bool = '' self.destroyedLabel_str = '' self.destroyedOutLabel_str = '' self.useRemovedLabel_bool = ''
[ "martinvanleeuwen95@gmail.com" ]
martinvanleeuwen95@gmail.com
17c01bc7f13cf265a544598facd8021d982d4145
20c1f61d4f3bdfec8bbe47e2b6bfa8d36e5456ea
/18.2/39_find_greater_numbers/find_greater_numbers.py
9a893dd4cce83eaf1c6e2876906ab6dbd60cf817
[]
no_license
SNSTRUTHERS/springboard
de910db081838480a5bdc5275a85f4aff50f1570
ebeb94906be8774c2f4e2b0e8eaefd6c1ce10959
refs/heads/master
2023-04-23T08:46:13.541922
2021-05-18T17:53:46
2021-05-18T17:53:46
287,401,487
0
1
null
2020-08-14T02:03:43
2020-08-13T23:45:48
JavaScript
UTF-8
Python
false
false
657
py
#!/usr/bin/env python def find_greater_numbers(nums): """Return # of times a number is followed by a greater number. For example, for [1, 2, 3], the answer is 3: - the 1 is followed by the 2 *and* the 3 - the 2 is followed by the 3 Examples: >>> find_greater_numbers([1, 2, 3]) 3 ...
[ "snstruthers@gmail.com" ]
snstruthers@gmail.com
9065fe02899f0cd1910bf736bcbcb42209adb190
ca2572200776aaa1587948e1cba66801293a57c3
/app.py
66027de554d23b86240957216d5fe17ba9f0f7f4
[]
no_license
rajshekharsingh09/Spam-Ham-Classifier
ca50b13e7975dc1e6682127730c25991408435f2
3ed6da1a31824e2954efdf4b5973f2353901943b
refs/heads/main
2023-07-14T13:24:32.661555
2021-08-25T08:31:06
2021-08-25T08:31:06
399,743,817
0
0
null
null
null
null
UTF-8
Python
false
false
907
py
from flask import Flask,render_template,url_for,request import pandas as pd import pickle from sklearn.feature_extraction.text import CountVectorizer from sklearn.naive_bayes import MultinomialNB #from sklearn.externals import joblib #import sklearn.externals.joblib as extjoblib import joblib import pickle # load the...
[ "rajshekharsingh09@gmail" ]
rajshekharsingh09@gmail
4d6d0d807153f2c306934aa28a01ff9aaf4d6556
a6c470e16e964b305e756591317197d90a2f8a76
/RP-Report/files/01_GetUniqueIPs.py
245cd358555e24c75c722202bfe3f4ae85aae671
[]
no_license
ramakrishna1994/RP
3ae116fea0004ef3ce8d9723fc6c1ac7ee746cbd
05b058ee8d9302638a97c47e745d126879612a14
refs/heads/master
2021-01-24T11:27:01.202433
2018-04-23T07:50:10
2018-04-23T07:50:10
123,081,225
0
0
null
null
null
null
UTF-8
Python
false
false
1,633
py
import json import requests import psycopg2 from Globals import * uniqueIPs = set() dbName = "cowrie" try: conn = psycopg2.connect("dbname='"+str(dbName)+"' user='postgres' host='localhost' password='postgres'") except Exception as e: print e cur = conn.cursor() def createTables(): cur.execute("CREATE T...
[ "ramakrishnasaradhi@gmail.com" ]
ramakrishnasaradhi@gmail.com
b5bdb49b0f10ad60fb94b46dfb51dc65f1d0da29
254b0a0630c2039bad1dc5fc8836afbd75491c52
/python/logging/logging_snippets.py
f8ab36363c70e4140d474f8adac2ba8f237d37fc
[]
no_license
apollokit/snippets
f0c85a4b9951d9779ed2d5df24708ba44768adfa
fdd8648490b3bdaae6ab01a99e3d291835409b62
refs/heads/master
2023-08-18T16:17:43.501063
2023-08-15T18:47:01
2023-08-15T18:47:01
229,328,124
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
# see here for logging formatters: # https://docs.python.org/2/library/logging.html#logrecord-attributes import logging logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) form = "%(asctime)s %(levelname)-8s %(funcName)-15s %(message)s" logging.basicConfig(format=form, datefmt="%H:...
[ "kitkennedy8@gmail.com" ]
kitkennedy8@gmail.com
075f4ad5344bcaaf0e110d70162ea3e959fa8e3b
802c57c7103852c592fc205918e935dae9771e18
/alien_invasion/alien_invasion.py
7e2a58b08e55b694c040d4763a231428ee314e46
[]
no_license
postavtezachet/hghg
b10d4bbd1cbb07982d63beac138b003b9eeadda6
18d71cf19ffc58de8cb2583356224aaa8b2ad99e
refs/heads/master
2023-03-24T19:51:48.984159
2021-03-24T17:37:46
2021-03-24T17:37:46
294,964,045
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
import pygame from pygame.sprite import Group from settings import Settings from ship import Ship from game_stats import GameStats from scoreboard import Scoreboard from button import Button import game_functions as gf def run_game(): pygame.init() ai_settings = Settings() screen = pygame.display.s...
[ "noreply@github.com" ]
postavtezachet.noreply@github.com
9cf59ca6e5ef627197a86a2bb92140e88d0242ff
a0564d59a6705738cbe23dc2eeba291a2dc671b7
/Python/apr_calculator.py
aa39560373aa7ffc3d4e13115d81343e70f19b66
[]
no_license
derekforesman/CMPSC-131
76c439b56b6af3741058ce8110688ef9949d0be6
4186c592fb07c22684f402623c46da342409f848
refs/heads/master
2021-07-06T21:42:49.606956
2017-09-28T19:00:38
2017-09-28T19:00:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python3 deposit = float(input("What is the amount you will be depositing?\n")) # get the amount to be deposited apr = float(input("Please enter the APR for the account. For example (2) will be read as 2% or 0.02\n")) # get the percent APR years = int(input("How many years will it gain interest?\n")) # g...
[ "noreply@github.com" ]
derekforesman.noreply@github.com
8e98e33afe303bf99252c1cad7c43d607e0fe5c6
6cd94b5370349484e93fdfa9913e6204909e3ba4
/wsd/evaluation/evaluator.py
4194ffa2562a87f9154b5c0f80c14f26edd03fe6
[ "MIT" ]
permissive
paulsavoie/wikiwsd
090375cf1289b96cbf44385e6e572e93873357b2
0469debb209d691b9cee9397431f0df9e3e7b0bc
refs/heads/master
2021-05-28T00:08:50.698780
2014-05-14T07:13:49
2014-05-14T07:13:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,033
py
import logging import Queue from wsd.database import MySQLDatabase from wsd.algorithm import MeaningFinder from wsd.algorithm import RelatednessCalculator from wsd.algorithm import Decider from wsd.algorithm import LinkDetector from wsd.wikipedia import WikipediaReader from wsd.wikipedia import WikipediaPreProcessor fr...
[ "paul@laufer.at" ]
paul@laufer.at
ea98b768baecabb185a4dec462e1d58d22c97517
405e8ba51ab7f177797a14bbbc619e033c5e9fcc
/metrics_utils.py
5ffc4e8672d8127ea826b90bc19898102248d67d
[]
no_license
htfhxx/metrics_python
6d801f49136c249979d5e6c1d7d3ed5ba1b3f710
c360353668cfbff335418921b67c3224ba182309
refs/heads/master
2022-12-15T20:51:33.211776
2020-09-13T11:53:01
2020-09-13T11:53:01
295,139,113
3
0
null
null
null
null
UTF-8
Python
false
false
7,220
py
def evaluate_2(y_true, y_pred): tp = sum(1 for a, b in zip(y_true, y_pred) if a == 1 and b == 1) fp = sum(1 for a, b in zip(y_true, y_pred) if a == 0 and b == 1) fn = sum(1 for a, b in zip(y_true, y_pred) if a == 1 and b == 0) # tp = ((y_true==1) & (y_pred==1)).sum() # fp = ((y_true==0) & (y_pred==...
[ "v_tfhuo@tencent.com" ]
v_tfhuo@tencent.com
095d3023a70bd06fac2923e3635efb9a4e247285
91e56cf5312223af9bef83538c4ccd50afa1ca27
/p024_LexicographicPermutations.py
b0136f3d7a929a64a7c07f3d98b8f9326cccab32
[]
no_license
fletcherw/projecteuler
18dedac2bd90186f7ea9320ff45892cdc838f082
6bc3094f816511ca10984ed58b6fb8e99594327a
refs/heads/master
2021-05-16T03:06:14.495177
2016-12-17T23:25:39
2016-12-17T23:25:39
18,919,808
2
0
null
null
null
null
UTF-8
Python
false
false
383
py
import math digits = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] digitsout = "" index = 999999 #the index of the permutation you're trying to calculate. Note that this is 0 indexed, so the 10th permutation would be 9, etc. etc. for n in range(len(digits) - 1, -1, -1): fact = math.factorial(n) digitsout += str(digits.pop(int(ma...
[ "fletcherwoodruff@gmail.com" ]
fletcherwoodruff@gmail.com
112ff750125e7c5fb1438b5dcf7bcdaef7265187
a992a2bcea0e40a9cc3d947466a7eaafaf337280
/SocketPython/server.py
0e78bac2702be3473a62e6ef8bef95fec62d64df
[]
no_license
rodrigoferrazazevedo/dojo-python
6bcfb4bf27435b5e60fa1c992840e319fe2dbbb3
b3aebfae8b0dae2c2b898431ed747dd9236706e3
refs/heads/master
2022-12-24T10:25:10.692833
2022-06-22T02:12:18
2022-06-22T02:12:18
107,460,652
0
1
null
null
null
null
UTF-8
Python
false
false
284
py
import socket server = socket.socket() server.bind( ('localhost',8000)) server.listen(5) while True: conn, addr = server.accept() print "Connection established" print addr msg = conn.recv(1024) print msg conn.send("Connection established") conn.close()
[ "rodrigo.azevedo@sintesoft.com.br" ]
rodrigo.azevedo@sintesoft.com.br
71dfbd91d20000eec465c1c8fe2f2198fd8b1e9c
38d568d4a230aa7b8ace0957847e9b681223564f
/getSingleZoneCloudMain.py
399eff7450c8b4e45d3d065528d6bf9cd8da3506
[]
no_license
lifeisjustagame/Hello-World
03aa19c0fb8d77663439fb0de73780bbd8d9eeee
43e51d79cffdb90a89b3bf2f219b5e8c2bb1e52a
refs/heads/master
2021-01-23T06:54:26.110225
2017-04-06T07:44:21
2017-04-06T07:44:21
86,407,323
0
0
null
2017-03-28T03:01:34
2017-03-28T02:45:52
null
UTF-8
Python
false
false
399
py
if __name__ == '__main__': start = time.time() LOG.warning('PROGRAM START AT: %s' % TIME) try: mc = MainClass() mc.task_main() except Exception, e: LOG.error(e) raise except (SystemExit, keyboardInterrupt), e: error_str = 'Program killed by user, reason: %s' %e LOG.error(error_str) s...
[ "noreply@github.com" ]
lifeisjustagame.noreply@github.com
98bb88d68bcbb6950b2ada14bd90d249dbc4e630
9ac9e863da8831703e1d0322a0fe9d279c550fbf
/auctions/migrations/0002_category_listing.py
8c128798bf571a1448f073efd337bfe8e9352792
[]
no_license
eldocbrown/cs50w-project2-commerce
b247da79ff2563f59781c7bc13d1efabae0c5a29
48988ac8f510c15fcf41d4c13010efe5509b3aa4
refs/heads/master
2023-01-04T00:24:34.454410
2020-10-26T03:27:08
2020-10-26T03:27:08
305,499,319
0
0
null
null
null
null
UTF-8
Python
false
false
1,304
py
# Generated by Django 3.1.2 on 2020-10-20 18:06 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('auctions', '0001_initial'), ] operations = [ migrations.CreateModel( ...
[ "juandonato@gmail.com" ]
juandonato@gmail.com
575cc3c1e2ae6bca3bd38b5117cba86f4090d1a7
24b1bec9f2e2cb0ae1f7dd75527a2a1a01e08429
/py/neural_network.py
958d7c089c05fb3f4a18a2d601633bdb4edf7f2c
[]
no_license
lwierzb1/mgr-colorful-image-colorization
c370409f6690bb72c7c5651104a470373a427fe4
fe60cc06ce406d0ced75db36cb3755634216c019
refs/heads/main
2023-02-22T19:31:40.577761
2021-01-25T21:41:57
2021-01-25T21:41:57
332,080,742
0
0
null
null
null
null
UTF-8
Python
false
false
2,576
py
#!/usr/bin/env python import cv2 import numpy as np from config_reader import ConfigReader __author__ = "Lukasz Wierzbicki" __version__ = "1.0.0" __maintainer__ = "Lukasz Wierzbicki" __email__ = "01113202@pw.edu.pl" class NeuralNetwork: """ CNN neural network used to colorize grayscale image. [https://a...
[ "lukasz.wierzbicki26@gmail.com" ]
lukasz.wierzbicki26@gmail.com
0706b0fa734c3ffad62d0751d17481ff6cbda64b
da39df1a594c8bbc88f98f768e9d0b5735459d81
/andr_omeda/andr_update/views/game/serializers.py
591c236049c943f18042b04b1356ab059b528a41
[]
no_license
IhebTrabelsi/andr_omeda
fbc1bde9d3d6419ba75f9f3fabd402e9074b46f5
165e98878e2616ad67ba5ca07ed438fcc4c0259b
refs/heads/master
2023-05-25T23:18:54.384708
2021-06-09T18:30:15
2021-06-09T18:30:15
344,915,113
0
0
null
null
null
null
UTF-8
Python
false
false
1,721
py
# automatically created from rest_framework import serializers from andr_omeda.andr_update.models import Game from andr_omeda.andr_update.views.animation.serializers import AnimationSerializer from andr_omeda.andr_update.views.messageentity.serializers import MessageEntitySerializer from andr_omeda.andr_update.views.ph...
[ "iheb.trabel6@yahoo.com" ]
iheb.trabel6@yahoo.com
4a6c735916616d81dda3aa9ae347e5ab8ee1ef2c
4b2d75ba65d2a6838a0cbc70cdda0ae49bd4ae49
/testdata/api_endpoint.py
4a5691c2fcbfc737d822dd14c0db0fa80015d454
[]
no_license
mimqupspy/python_rest
32360d051f266f379165543aea9f7a7bf7252188
707ac2494752fd6772081f7afddfc7e9102ad12a
refs/heads/main
2023-08-29T12:41:39.738241
2021-10-12T04:44:29
2021-10-12T04:44:29
415,355,636
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
# api endpoints list_user = "https://reqres.in/api/users?page=2" single_user = "https://reqres.in/api/users/2" single_user_not_found = "https://reqres.in/api/users/23" list_resource = "https://reqres.in/api/unknown" single_resource = "https://reqres.in/api/unknown/2" single_resource_not_found = "https://reqres.in/api/u...
[ "mim90@live.com" ]
mim90@live.com
6215b44a8f43d5aaf175a030c7c142759e405f83
747c76c186567d0fc1af2774f6bd732ce6b11198
/catkin_auefinals/build/auefinals/turtlebot3/turtlebot3_slam/catkin_generated/pkg.installspace.context.pc.py
8e5ea4bc2c9b2df68a1eb7a58dbe208672968976
[]
no_license
abhibhagwat/TurtleBot3_obstaclecourse
5bf9374b3f99f377f22f04304c65f10c0d5df0fd
4e213042e5da385d5086175de1dae3e345be4880
refs/heads/master
2023-03-12T09:59:50.178892
2021-03-04T08:46:20
2021-03-04T08:46:20
344,267,482
0
1
null
null
null
null
UTF-8
Python
false
false
443
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "${prefix}/include".split(';') if "${prefix}/include" != "" else [] PROJECT_CATKIN_DEPENDS = "roscpp;sensor_msgs".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] P...
[ "bhagwat@g.clemson.edu" ]
bhagwat@g.clemson.edu
259da0bc91f712976dc69760d89bdf8c18322091
0cf396a646638f485a8ce0da93b0aa1f81bf13b7
/group-groups-groupdict.py
c6e6ba08f531a04f6f01cf1db35459f6c78ee90f
[]
no_license
Siriapps/hackerrankPython
c698ee77bb3d59f6b1833b63c2916e54dda0e45b
3ceb2600db536170e643e830520e7f9c50053d9b
refs/heads/main
2023-04-05T05:46:24.071778
2021-04-16T02:06:17
2021-04-16T02:06:17
311,360,333
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
#https://www.hackerrank.com/challenges/re-group-groups/problem import re # we are not using '\w' in the place of [a-zA-Z0-9] because by using that we accept character like '_' as '_'is not # alphanumeric we can't use '\w' pattern = re.search(r'([a-zA-Z0-9])\1+', input()) print(pattern.group(1) if pattern else -1)
[ "siriapps3@gmail.com" ]
siriapps3@gmail.com
a3531277a9a252270e45aa6e6fef912242833302
1588092ae5dc099be61cea76900ca5b0f01b8739
/exam_2020/order.py
031c694e024b5fdd873722a99f7fb446c0612724
[]
no_license
isakss/Forritun1_Python
e13fa19d90c7fba64dea3ef28853313e6a836ed8
9d9590126fbd80f1a5a8a440240fead03154ce91
refs/heads/master
2023-02-15T16:07:30.325561
2021-01-12T09:07:40
2021-01-12T09:07:40
292,535,583
0
0
null
null
null
null
UTF-8
Python
false
false
597
py
class Order(object): def __init__(self, item_str="", price=0.0): self.__item = item_str self.__price = price def item(self): return self.__item def price(self): return self.__price def __gt__(self, other): return self.__price > other.__price def __...
[ "isaksnaer@gmail.com" ]
isaksnaer@gmail.com
cf0a8120c529928cdef0b3a7a81c713a31381216
72512fb3e6c3e5b38f55a5385411ed6a9873aa05
/examples/single_calculations/test_multiple_force_eval.py
333c996e81ad331042290003dde1ea948be3a9de
[ "MIT" ]
permissive
borellim/aiida-cp2k
e8750e5e514b98c34b6a604fe46d3c473f359d35
ea5cd54bd8419fefd24967f2c2569031cc28a592
refs/heads/master
2020-12-19T17:03:05.545681
2019-10-19T07:03:37
2019-10-19T07:03:37
235,795,066
0
0
MIT
2020-01-23T12:56:45
2020-01-23T12:56:44
null
UTF-8
Python
false
false
7,658
py
# -*- coding: utf-8 -*- # pylint: disable=invalid-name ############################################################################### # Copyright (c), The AiiDA-CP2K authors. # # SPDX-License-Identifier: MIT # # AiiDA-CP2K is hosted on...
[ "yakutovicha@gmail.com" ]
yakutovicha@gmail.com
695a36810c118027f1ce1fdfcf4b5a75c9ec2199
a630b16fd37f53e365d6c1a7406a6a0c42d1f09a
/spreadsheet.py
c3a323d858311587ee3780f0e455a7cd1862fa45
[]
no_license
chabertmatthieu/medecine_webapp
d0c9019f9cc99825e29feb5b70b46de753bea339
934c257597b9ece6aaf2a69a6684805970290270
refs/heads/master
2020-06-02T18:34:31.237555
2017-06-13T08:33:36
2017-06-13T08:33:36
94,102,585
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
import gspread from oauth2client.service_account import ServiceAccountCredentials def main(): scope = ['https://spreadsheets.google.com/feeds'] print('1') creds = ServiceAccountCredentials.from_json_keyfile_name('client_secret.json', scope) print('2') client = gspread.authorize(creds) print('3') sheet = clien...
[ "matthieuchabert@Air-de-Matthieu.homenet.telecomitalia.it" ]
matthieuchabert@Air-de-Matthieu.homenet.telecomitalia.it
70ef70bfa56e0e59ca2cf866d3ee1c853a886e89
8255cbca78b479e9ed72275893b29ecbd8f38858
/blog/models.py
81728bac6455950fc83790ab03cdfdf56a0adfb7
[]
no_license
mavzerburak0/django_blog
6da6d456564b3357f138c2aecdce5bc826042a6d
7bcef10e7e7c1b5701be0888f06379c5a58ef3d8
refs/heads/master
2020-03-30T04:56:40.649796
2018-10-07T08:15:03
2018-10-07T08:15:03
150,770,484
0
0
null
null
null
null
UTF-8
Python
false
false
571
py
from django.db import models from django.utils import timezone # Create your models here. class Post(models.Model): author = models.ForeignKey('auth.User', on_delete=models.CASCADE) title = models.CharField(max_length=200) text = models.TextField() created_date = models.DateTimeField( ...
[ "177773@ttu.ee" ]
177773@ttu.ee
cdbbd4c40b880cbbffc579c8ac2750e95e75bb71
649bd422025e421d86025743eac324c9b882a2e8
/exam/1_three-dimensional_atomic_system/dump/phasetrans/temp42_7000.py
7498f9768395d5a4d3115ae4ba0a49d57c335108
[]
no_license
scheuclu/atom_class
36ddee1f6a5995872e858add151c5942c109847c
0c9a8c63d9b38898c1869fe8983126cef17662cd
refs/heads/master
2021-01-21T10:52:28.448221
2017-03-07T23:04:41
2017-03-07T23:04:41
83,489,471
0
0
null
null
null
null
UTF-8
Python
false
false
68,978
py
ITEM: TIMESTEP 7000 ITEM: NUMBER OF ATOMS 2048 ITEM: BOX BOUNDS pp pp pp 7.2345940138227149e-01 4.6476540598614875e+01 7.2345940138227149e-01 4.6476540598614875e+01 7.2345940138227149e-01 4.6476540598614875e+01 ITEM: ATOMS id type xs ys zs 8 1 0.128552 0.0630246 0.0619357 35 1 0.0601396 0.125834 0.0579319 130 1 0.06202...
[ "scheuclu@gmail.com" ]
scheuclu@gmail.com
3c99951d070d66efa0eebd7f7d165869c5b383fd
4062ffcc0fdd4308aa75e4883a02b190a802759b
/backend/api/migrations/0002_restaurant_owner.py
a43c0d15b4f59f5cf04d0ca81eb3cae7f751dba9
[]
no_license
5000eliteprw/RestaurantReview
89be210a6268855c9add0e47276b84e71b5df384
547e648eaaa11ee79b0a46b82f6203543d48920f
refs/heads/master
2023-06-16T15:18:01.277155
2021-07-10T08:06:14
2021-07-10T08:06:14
384,647,110
0
0
null
null
null
null
UTF-8
Python
false
false
599
py
# Generated by Django 3.1.2 on 2020-10-05 21:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('api', '0001_initial'), ...
[ "karl00814@outlook.com" ]
karl00814@outlook.com
c34ad484ab7cd309254ac144540f5297259ecad8
72e2301b633cece04f20173aca67b332f30ce1b7
/seating_chart_test.py
c7568f907fe3dff0c85c59ffa4838b06d2ec0dd4
[]
no_license
biletnam/seating-chart-1
eb4aacb6070a5f062593084d2f2349f76bb50d0d
0a4675a6e065efa9261a426845f5c990b85a3119
refs/heads/master
2020-04-16T07:38:18.397907
2018-03-22T14:25:46
2018-03-22T14:30:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,622
py
# Seamus Johnston, 2018 import pytest import re from seating_chart import SeatingChart class TestSeatingChart(): ### class SeatingChart ### def test_create_new_seating_chart(self): chart = SeatingChart(10,11) assert isinstance(chart,SeatingChart) assert chart._rows == 10 assert chart._cols == 11 ...
[ "git@seamusjohnston.com" ]
git@seamusjohnston.com
327bfffa563cbbdd3435fd1eb8bb852e1a0cf97b
910d4dd8e56e9437cf09dd8b9c61167673140a1f
/dd5_Stack2_연습문제/부분집합.py
b02d1c3ead323fdbff993e93b8f47ded822adf39
[]
no_license
nopasanadamindy/Algorithms
10825b212395680401b200a37ab4fde9085bc61f
44b82d2f129c4cc6e811b651c0202a18719689cb
refs/heads/master
2022-09-28T11:39:54.630487
2020-05-29T09:49:56
2020-05-29T09:49:56
237,923,602
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# {1,2,3} 모든 부분 집합 출력하기 N = 3 A = [0 for _ in range(N)] # 원소의 포함여부 저장 (0, 1) data = [1, 2, 3] def printSet(n): for i in range(n): # 각 부분 배열의 원소 출력 if A[i] == 1: # A[i]가 1이면 포함된 것이므로 출력. print(data[i], end="") print() def powerset(n, k): # n: 원소의 갯수, k: 현재depth if n == k: ...
[ "iuui21@snu.ac.kr" ]
iuui21@snu.ac.kr
664d7664dcd809c7090f30a807133a19cfa72e5d
26dcdb2c39b4b6a996a581087678459d45e20464
/ecommerceproject/cart/ecommerceproject/ecommerceproject/urls.py
9bda25050dc646d57749a6adcca5f8e7bf11a805
[]
no_license
Aayishavsakkeer/ecommerce_app
f72d9fe362e9e4ba6d547e6b5d1022030359acdb
4e8ae46d3990fe09ffb7be3ec4308acc17dff828
refs/heads/master
2023-04-24T10:38:20.423929
2021-05-03T09:25:19
2021-05-03T09:25:19
363,870,753
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
"""ecommerceproject URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "aysha6346@gmail.com" ]
aysha6346@gmail.com
848197605e9bdb17fe54830477db4c9d140aafc0
3a3b8e67a1004364f95aa374ed845144d57e7613
/cookieproject/docs/conf.py
08dc9d0df3f6b865d6cb5979ea1151aa691504c6
[ "MIT" ]
permissive
la5chine/cookiecutterproject1
40a333c36df761d3c47518076a53110ef624386b
1f9cd034f84e2c65d93852ac0f8f220e74067fc7
refs/heads/master
2022-12-26T21:35:05.358424
2020-10-13T16:48:11
2020-10-13T16:48:11
303,769,781
0
0
null
null
null
null
UTF-8
Python
false
false
2,008
py
# Configuration file for the Sphinx documentation builder. # # This file only contains a selection of the most common options. For a full # list see the documentation: # https://www.sphinx-doc.org/en/master/usage/configuration.html # -- Path setup -------------------------------------------------------------- # If ex...
[ "khachinechaker@gmail.com" ]
khachinechaker@gmail.com
3fa1b318d251bdb0dde36e1cab9f0d56e0e10ef2
fae0e8261e95106c512bbee31d22caedae7aa629
/wireless/LIS/.ipynb_checkpoints/lis_channel_model-checkpoint.py
6331e0d4021ae31462b2eb9f4d945ef65535f506
[ "MIT" ]
permissive
jskDr/jamespy_py3
154f4328b2708579f5ef7cf22ec4460e80b876cc
b7e3c860280581e37c7b5254e18ff4b19c112ded
refs/heads/master
2021-12-22T02:33:50.654524
2021-12-03T08:14:07
2021-12-03T08:14:07
56,004,254
5
7
null
null
null
null
UTF-8
Python
false
false
2,629
py
import math import numpy as np from matplotlib import pyplot as plt from pyphysim.modulators.fundamental import BPSK, QAM, QPSK, Modulator from pyphysim.util.conversion import dB2Linear from pyphysim.util.misc import pretty_time, randn_c def get_noise(num_symbols, SNR_dB=20): snr_linear = dB2Linear(SNR_dB) n...
[ "jamessungjin.kim@gmail.com" ]
jamessungjin.kim@gmail.com
0fdfbfd787cc27d2b00a01b2ccef13060671930d
81835671049fd32f173d438ca85a8e81482bc76a
/src/muypicky/settings/local.py
233d240db6568b445a0afe234a1df87000ee4b57
[]
no_license
laura8857/django_restaurant
acd344423bd71194f6763e899edaf94955bf06ce
f9882d3d2d8998c1e99a7ecb706be66fab8c4425
refs/heads/master
2021-09-09T07:42:25.636140
2017-12-31T07:03:36
2017-12-31T07:03:36
111,422,444
0
0
null
null
null
null
UTF-8
Python
false
false
3,119
py
""" Django settings for muypicky project. Generated by 'django-admin startproject' using Django 1.11.2. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import o...
[ "luara8857@gmail.com" ]
luara8857@gmail.com
a02bee8748891f92e694a53f4c42f3fb36df9143
46244bb6af145cb393846505f37bf576a8396aa0
/leetcode/066.plus_one.py
4afb73916cebf2c50af6b1e5aa64b0ec40b737b8
[]
no_license
aoeuidht/homework
c4fabfb5f45dbef0874e9732c7d026a7f00e13dc
49fb2a2f8a78227589da3e5ec82ea7844b36e0e7
refs/heads/master
2022-10-28T06:42:04.343618
2022-10-15T15:52:06
2022-10-15T15:52:06
18,726,877
4
3
null
null
null
null
UTF-8
Python
false
false
633
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys """ """ class Solution: # @param digits, a list of integer digits # @return a list of integer digits def plusOne(self, digits): if not digits: return [1] carry = 0 for i in range(len(digits)-1, -1, -1): ...
[ "sockpuppet.lea@gmail.com" ]
sockpuppet.lea@gmail.com
b644a66a88210e417a78a7cf5b93e5e19a2cd486
a78310d25ead7d1955b1480b791a209cd0cb0194
/modules/distributions/multivariate_diag_studentT.py
cb14379b8bbe0ed47ca035cf40c633555efecdcf
[]
no_license
kbys-t/test_et
2e1de189ea5c8c551ecd3936021c05fb0af9c20a
89eb1f455268e414cc613b08c9b221814e7d466a
refs/heads/main
2023-08-15T00:45:48.382929
2021-09-24T02:20:37
2021-09-24T02:20:37
409,804,778
0
0
null
null
null
null
UTF-8
Python
false
false
3,743
py
import math import torch from torch._six import inf, nan from torch.distributions import Chi2, constraints from torch.distributions.distribution import Distribution from torch.distributions.utils import _standard_normal class MultivariateDiagStudentT(Distribution): r""" Creates a Multivariate Diagonal Studen...
[ "taisuke.kobayashi14@gmail.com" ]
taisuke.kobayashi14@gmail.com
893cc8bb887f5a854016a4e7cbd2765741ec129d
5ce1addd5867b0cff0add0d297fd4112362fb907
/Remove Duplicate from Linked List (SOLVED)/removeDupLL.py
f412202b0d91693fb45aadf40eef4be3d92cf860
[]
no_license
FilipLe/DailyInterviewPro-Unsolved
ff4ede08337638e338575ccbf88d6bb580afe645
3b1fc6a90da770d07a6e34542fd060c0d9f5ce92
refs/heads/master
2023-08-05T01:10:48.144633
2023-07-21T07:56:45
2023-07-21T07:56:45
293,235,311
0
0
null
null
null
null
UTF-8
Python
false
false
762
py
class Node: # constructor method def __init__(self, value, next = None): self.value = value self.next = next # toString method def __repr__(self): return f"({self.value}, {self.next})" # main function def remove_dup(lst): while lst != None: # sorted --> duplicat...
[ "noreply@github.com" ]
FilipLe.noreply@github.com
885c9c12874f51bf6e76dff35838105d1b2c111c
6d7578919c0cd8e33a4987053b1e65cb5c765e8f
/popularity_update.py
6558e6ffd662ffa39ddc2ff0403e66b8a24be45c
[]
no_license
vishal-sulibhavi/popularity_update
65b904e63bdb67d571d2e7c06793aa7884731f7d
2bf471025e03dc2ed4c92151983146dd4ef337cd
refs/heads/master
2020-07-30T21:49:02.794772
2019-12-19T09:10:23
2019-12-19T09:10:23
210,369,783
0
1
null
null
null
null
UTF-8
Python
false
false
1,023
py
import csv import main import json import sys entityTypeToIdPrifix = {'GEO': 'LOCAL_GEO', 'EXPERIENCE': 'EXPERIENCE', 'CULINARY': 'CULINARY_RESTAURANTS', 'HOTEL': 'ACCOM_HOTELS'} partialUpdateApi = 'https://vpc-srsdata-entity-996037dbb77d-yzau6raclfxc3kgbxxvjibwscm.ap-southeast-1.es.amazonaws....
[ "vishal.sulibhavi@traveloka.com" ]
vishal.sulibhavi@traveloka.com
84bc14e7595312291bfc8712be6483c708de7357
896405a0d25111b2799d640eacdc7e81c9de1c10
/PythonCode/Practice/SimpleSentimentAnalysis.py
4cef0849860875c794b0e7a8ce01ae45526419d8
[]
no_license
BrokenLadder/Capstone
cccf09145be05e1fd216b9449390a665af19172a
da8df1eb8698660fc6571375f50d14e9a182a05f
refs/heads/master
2020-04-09T08:46:37.300267
2019-10-07T20:56:53
2019-10-07T20:56:53
160,207,731
0
0
null
null
null
null
UTF-8
Python
false
false
6,624
py
# This sentiment analysis is polarized, it is either Negative, or Positive # Which is obviously much simpler than real semantic analysis import nltk import random from nltk.tokenize import word_tokenize from nltk.corpus import movie_reviews from nltk.classify.scikitlearn import SklearnClassifier import pickle ...
[ "noreply@github.com" ]
BrokenLadder.noreply@github.com
88df0ab836d36212c9a877d8b0eca4bda6158816
8e3a5c673435ed54b6a3cecd706083886ea45dc8
/Coins-in-a-Line/solution.py
823d4d6bf9359a52f1617be673eed8768218555a
[]
no_license
pddpp/alogrithm-practice
d29d8bec7e10f775747b53d91bea7cc1ed507d65
0dc31116b269470f6ab1182f3245905996ce9a70
refs/heads/master
2021-01-10T05:30:12.653868
2017-03-17T06:24:56
2017-03-17T06:24:56
50,475,105
1
0
null
null
null
null
UTF-8
Python
false
false
498
py
class Solution: # @param n: an integer # @return: a boolean which equals to True if the first player will win def firstWillWin(self, n): # write your code here # First gaming question idea got from lecture, one time pass despite corner case if n == 0: #!! return False ...
[ "pymary68@gmail.com" ]
pymary68@gmail.com
275e26f3c532c0582362b2819492482d5f14a6b4
194cc5b1b6ca747604633b0b6662bced5ce56b4f
/com.python/com/python/operator/membersopreator.py
b89d86faee0ef27575e444a7f033beb5c9e84cca
[]
no_license
zhangkunjie/python_basic
56d7d7168951e457b62b0f3d4745b1be3911a918
3bfcc77d34e33484180180896cb9abd2db64ecd6
refs/heads/master
2021-01-17T13:49:52.680752
2017-03-06T13:44:22
2017-03-06T13:44:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
770
py
# coding=utf-8 """ in 如果在指定的序列中找到值返回True,否则返回False。 x 在 y序列中 , 如果x在y序列中返回True。 not in 如果在指定的序列中没有找到值返回True,否则返回False。 x 不在 y序列中 , 如果x不在y序列中返回True。 """ a = 10 b = 20 list = [1, 2, 3, 4, 5 ]; if ( a in list ): print ("Line 1 - a is available in the given list") else: print ("Line 1 - a is not availab...
[ "zkj12514043" ]
zkj12514043
66d97cf320481774462c902df971c3063f758013
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/SUSYBBHToTauTau_M-100_8TeV-pythia6-tauola/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/PAT_CMG_V5_16_0_1377467523/HTT_24Jul_newTES_manzoni_Up_Jobs/base_cfg.py
0293621aeda87a45bbf66fd504f3590c52ec1173
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
60,473
py
import FWCore.ParameterSet.Config as cms process = cms.Process("H2TAUTAU") process.source = cms.Source("PoolSource", noEventSort = cms.untracked.bool(True), inputCommands = cms.untracked.vstring('keep *', 'drop cmgStructuredPFJets_cmgStructuredPFJetSel__PAT'), duplicateCheckMode = cms.untracked.s...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
dffaf22521ce2a91ce2b888233efbec55f223a37
a81f1ae22d022518ecb7887868fa4b7aa5165baf
/raw2docx.py
01ea70a414943afa10579ee4484d70ac9b52173c
[]
no_license
InoriJam/Opinion-Polarity-Classification-with-RoBERTa-Large
82be7560507f23c092ce6bd4f421970189869fb4
8d1d49c68e57231c705c5550f4e39af5ea8395e5
refs/heads/master
2023-04-22T00:11:08.042200
2021-05-18T15:53:36
2021-05-18T15:53:36
277,823,933
1
1
null
2021-05-18T15:53:37
2020-07-07T13:27:28
Python
UTF-8
Python
false
false
666
py
import docx from tqdm import tqdm pbar = tqdm(total=150782) doc = docx.Document() doc2 = docx.Document() count = 0 with open('./dataset/train.raw', 'r') as r: while True: line = r.readline() if not line: break q = line.rstrip('\n') if count <= 75392: doc.add_...
[ "ysy@SiyuandeMacBook-Pro.local" ]
ysy@SiyuandeMacBook-Pro.local
8aa3129a39f0ebaf8a816d50b9bbfc50dc251b40
210485677245d40d8ce7d6a9781e49735cea18cc
/Outils/LilyPad (modifié)/Données/traitement.py
df0e28cad27a80629b0c29f5db2f36620f75b9c9
[]
no_license
mgallois/Robot-Poisson
4408ed8d4fc75bdc02efdc66ec462ab49eb94faf
7302a00d02c64bcae8c650bbc8b131dca0d59784
refs/heads/master
2022-08-16T01:50:01.368798
2020-05-31T21:00:27
2020-05-31T21:00:27
268,321,066
0
0
null
null
null
null
UTF-8
Python
false
false
2,550
py
import numpy as np import matplotlib.pyplot as plt import math as m #fonction entre 0 et 1 def f (x,Amp=1): dilx=1 dily=2 Amp=Amp*dily x=x*dilx if x<=dilx/5: return 0 else : return (-m.cos(x)+m.cos(dilx/5))*Amp #^^^^^^^^^^^^^^^^^^^^^^^# # PROGRAMME ...
[ "noreply@github.com" ]
mgallois.noreply@github.com
afda17a37018230d5903fa02b4e77e0b3dfacf27
ab75c977324111cf3fdfc5f96416666a3b7be4a7
/python_learn/py_data_structure/structure_Timeit.py
835ba69e6fb8800003e54667c279bab69580a256
[]
no_license
qiangzuangderen/My_code
4b482e67a7081888eb42b6501e00c7fc9df2ca3f
41305c8d45cab60675b6e4aca24eb5b0767ba8e9
refs/heads/master
2021-04-17T13:51:35.661428
2020-04-12T06:54:43
2020-04-12T06:54:43
249,449,883
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
#用Timeit模块测试列表append和insert的时间 from timeit import Timer def append_test(): li = [] for i in range(10000): li.append(i) def insert_test(): li = [] for i in range(10000): li.insert(0,i) append_timer = Timer("append_test()","from __main__ import append_test") print("append插入执行的时间:",appe...
[ "54053597+qiangzuangderen@users.noreply.github.com" ]
54053597+qiangzuangderen@users.noreply.github.com
ccd33ffca33b1eb475dfbf98b4abf2ae6d4a4905
4d6af0afb8c4a9521838dd4f8cd09a57fd2ece08
/onlineShop/venv/bin/flask
2d4a8d96bf7aaecf88e21fa2443f666e6cf8c0b2
[]
no_license
candyer/web-exercise
a8ff8dbc1511343e29716fd932480a5c00751de5
cab628e67bbf7230a1bd27eca871ed8353f992fe
refs/heads/master
2023-01-12T13:30:06.323234
2019-08-18T20:29:43
2019-08-18T20:29:43
53,623,102
1
1
null
2023-01-04T15:13:14
2016-03-10T22:55:48
Python
UTF-8
Python
false
false
259
#!/Users/candy/Documents/web-exercise/online_shop/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "candyer@users.noreply.github.com" ]
candyer@users.noreply.github.com
62cace8dd877d6a7c5efc5285d74ea24a43e5fdf
db4bda38bcff6fc7fcf43fb2836f78b35073275b
/functions/mouseOperations.py
6ff042b79b49d672ad27a1ea2513996515c7fe32
[]
no_license
lucasmsa/cg
6a31f0ae998ab7d7e3a461c0eda34f28d1cda147
a2491c43bed6b82c198ea14f60b1007289a3a655
refs/heads/master
2022-04-15T05:27:35.717061
2020-04-07T14:56:08
2020-04-07T14:56:08
244,231,680
8
0
null
null
null
null
UTF-8
Python
false
false
73
py
def mouse_look_callback(): pass def mouse_enter_callback(): pass
[ "lucasmsea@outlook.com" ]
lucasmsea@outlook.com
d49e49e3483df8eb7158dcde43b7872ca495bd73
50af37e65987b64bd3b3b53e569ab9e6579cb74c
/tasks.py
d2321e03031b283f77f95557e41a3d389e6e67b3
[]
no_license
NetteVI/web-cse440-au15
efe961e04c24949064c3e92c42a5c0a660a4e37d
b93b5c5480b8b2b9d927148c468085483e2fde51
refs/heads/master
2021-01-21T22:10:09.329589
2015-12-11T16:40:29
2015-12-11T16:40:29
47,153,826
0
0
null
2015-12-01T00:01:10
2015-12-01T00:01:10
null
UTF-8
Python
false
false
1,112
py
import invoke import sys @invoke.task def update_dependencies(): # The npm install command sometimes outputs characters that cause Unicode # errors on Windows, so we set the encoding parameter print('Updating Node.js dependencies') invoke.run('npm install', encoding=sys.stdout.encoding) print('Upd...
[ "jayfo.github@gmail.com" ]
jayfo.github@gmail.com
d7b8f8c2292943e3ede00ea4959fa4e0b8ea7ca8
fb4e9ddb628ae19634eb1d51f02fa33d093ca5d1
/tensorflow-master/tensorflow/contrib/learn/python/learn/estimators/head.py
952cdeb5ec1bc8907c36f26c32eb274254e15d8d
[ "Apache-2.0" ]
permissive
zhentaowang/machine-learning
68189bbc9bd052cecf068fb5fc7e88c04ec24e34
1dbba7bbe7f5c8c1449c312fb7e0c008581b90be
refs/heads/master
2021-06-14T14:08:51.889455
2017-03-20T02:10:43
2017-03-20T02:10:43
63,773,867
4
0
null
null
null
null
UTF-8
Python
false
false
67,051
py
# Copyright 2016 The TensorFlow 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 applica...
[ "wangzhentao@zhiweicloud.com" ]
wangzhentao@zhiweicloud.com
f6645761843247a51a229b468527cf51391fd755
ab7db72c8dd2e6de2b42b7e9da863434bcda62ce
/tags/tags/urls.py
f202cf74496a71d9f34ac84e449718bed6b29526
[]
no_license
kim-hyo/itbank-python_exp
4143eadc78a292b4da108056c5b8eb4e6424c6b7
36ee31e73276916be94283b25da4df7427669b14
refs/heads/main
2023-03-17T10:41:25.762448
2021-03-02T17:21:01
2021-03-02T17:21:01
336,300,997
0
0
null
null
null
null
UTF-8
Python
false
false
945
py
"""tags URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "kamushinn@gmail.com" ]
kamushinn@gmail.com
ad14125ea86983afd8a1b61cb6593df094a6cf89
689e0b8bd141fa5e0a7f43f99f0fc54184fd1fda
/chapter1/IsUnique.py
c89902bf2359df6ff2ffb3f4059faaf9e9455329
[ "MIT" ]
permissive
MubashirullahD/cracking-the-coding-interview
4cc703d5918170280d3d1bd5a0c077b3bfa52eb0
f9595886967e7c63cec19028239e4289e9cd1f9e
refs/heads/main
2023-03-24T15:18:18.459700
2021-03-23T10:17:58
2021-03-23T10:17:58
347,100,619
1
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
""" Is Unique: Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures? Hints: #44, #117, #132 What is a bit vector? """ string = "hello" def is_unique1(string): """ O(n^2) implementation """ for i, letter in enumerate(string): ...
[ "45071858+MubashirullahD@users.noreply.github.com" ]
45071858+MubashirullahD@users.noreply.github.com
58d9f5ba9f47afc23214ef02098de6b0b9328ddf
7d1d138b24f68213d0273eff5b0ac9f07e34a9b2
/Strategy/GeneticOptimization.py
22619536871e40502f07c0a9fcb411e35cb831b5
[]
no_license
dark3rknight/MomentumIS
538850fd9c6c7cffaa92c5d2989d5f23fa093c88
548ec50d02b97e472f2b6a5f8b85b22d9fd344cb
refs/heads/master
2020-03-08T18:45:55.883347
2018-04-13T11:03:40
2018-04-13T11:03:40
128,198,321
0
0
null
null
null
null
UTF-8
Python
false
false
12,728
py
import os import sys sys.path.append('/home/ishan/Desktop/Ishan/Stock Data/Code Files/Strategy') sys.path.append('/home/ishan/Desktop/Ishan/Stock Data/Code Files') from commonStrategyFunctions import basicFunctions as bf from utilities import commonFunctions as cf from StrategyPortfolio import StrategyPortfolio from St...
[ "ishan11053@iiitd.ac.in" ]
ishan11053@iiitd.ac.in
19b54bf251c0cd1a58b507ea5a8b3f06025d1ca1
4d04f2f048c18b1e31455c58e5fd0b5454f36441
/api-test/run_api.py
adf147e9432bbce68f741f49698e47529bb4c19e
[]
no_license
lakshkarm/PDS
c021c228441a08c7f3554fe599d042fca1c98c2a
201248ab64abb7ba69e3ec270a2a185145b29800
refs/heads/master
2021-01-24T18:08:58.834890
2019-01-25T02:38:53
2019-01-25T02:38:53
123,236,571
0
0
null
2018-04-12T07:42:29
2018-02-28T05:54:18
Python
UTF-8
Python
false
false
21,916
py
import requests,json,time,logging,multiprocessing,subprocess import sys from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) def advance_logger(): logger = logging.getLogger(__name__) logger.setLevel(logging.INFO) format...
[ "root@caddick.pds.local" ]
root@caddick.pds.local
eb363c3a78ef3092202fe9d8336f87c70f4995dc
5abf90786d8a56ee9434815e2f2a436367e92d96
/CD_Inventory.py
d9663d3806f4fa707d1dcd65d68b46b1011183bf
[]
no_license
loriorm/Assignment_09
88c061ae55439ee90d4da819227f878ea38db5fb
4be08fcf4a4c2b6c303f740864c01d25230a2315
refs/heads/master
2022-12-10T12:26:24.435618
2020-09-10T04:21:22
2020-09-10T04:21:22
294,301,365
0
0
null
null
null
null
UTF-8
Python
false
false
3,265
py
#------------------------------------------# # Title: CD_Inventory.py # Desc: The CD Inventory App main Module # Change Log: (Who, When, What) # DBiesinger, 2030-Jan-01, Created File # DBiesinger, 2030-Jan-02, Extended functionality to add tracks # ormerodl, 2020-Sept-09, Add submenu # ormerodl, 2020-Sept-09, up...
[ "noreply@github.com" ]
loriorm.noreply@github.com
8f205260eeb892d9080fddabcd3f5bd9c2b469eb
c9b73188a4c7c18ec55f8730ac081668218b972c
/anjuke_gz_2/anjuke_page/anjuke/settings.py
44317e627ad894967471e5db4a3b2a02a8f78017
[]
no_license
uxlsl/YunfangWork
3531b527f4c75a2c3323ac98148a53e46fbda4f8
9328d0aadd3c2049988eaaf536716f7ee6e59fd8
refs/heads/master
2021-01-18T03:57:50.793402
2017-04-07T10:00:12
2017-04-07T10:00:12
85,774,215
1
1
null
2017-03-22T02:07:01
2017-03-22T02:07:01
null
UTF-8
Python
false
false
4,597
py
# -*- coding: utf-8 -*- # Scrapy settings for anjuke project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest/...
[ "1012137875@qq.com" ]
1012137875@qq.com
3aef1c2db54924eea7011546799d764a0b7f19a5
15d7eab8dad44556aebdc0a89b6aa2aa6ca4c92e
/tools/make_count_img.py
440c0f668ce5b566046ee3413ee4fff36f1c72c6
[]
no_license
wxbbuaa2011/chisel-sift
b23b9ed6d163031234cc7fdb3860b5019570a84f
377b3319ab07b7b3b4e1c1ce7e988939f2c6dd18
refs/heads/master
2021-01-04T10:03:06.393458
2014-06-04T00:27:20
2014-06-04T00:27:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
#!/usr/bin/python import cv2 import numpy w = 16 h = 16 d = 1 img = numpy.zeros((w,h,d),dtype=numpy.uint8) for i in range(h): for j in range(w): pixel = ((i&0xF)<<4) + (j&0xF) img[i,j,:] = d*[pixel] cv2.imwrite('count.ras',img)
[ "austin.d.buchan@gmail.com" ]
austin.d.buchan@gmail.com
4689b2d2fbbc5a7d9f4cd7c3232e3d7c5f15ae8a
070b5cb8e04731f2e6f36fb4db67908586cafa89
/apps/trips/migrations/0003_trip_users.py
4939cf9d54ee461abc2d9c66d869a14ba0512718
[]
no_license
raichel81/Travel_Planner
9a008e54f81e938e49ceda8e3deb9e0f533c9c52
775d48a7f717bedfbbda29568b577f311f573fa7
refs/heads/master
2021-07-05T16:28:15.761589
2017-10-02T03:07:33
2017-10-02T03:07:33
105,492,908
0
0
null
null
null
null
UTF-8
Python
false
false
586
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-02 01:37 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "rai.chel.ann@gmail.com" ]
rai.chel.ann@gmail.com
74b6152314162c2394b1b041fdc05fb4b70ef477
34231b9cd694752992c3a4242952345c2a1d1ded
/forge/__init__.py
d95e5c1f694f8893755cb58b47b42018c2ea686c
[]
no_license
Egorich42/busy
4b40530f316d5a6ee1ea8d88cc53e3b87352b01e
1882fb793e59880d022f8c0bff1e1e3bddc7ae1e
refs/heads/master
2021-01-22T19:23:02.781762
2018-07-30T14:05:08
2018-07-30T14:05:08
85,194,073
0
0
null
2017-03-28T07:12:22
2017-03-16T12:36:03
CSS
UTF-8
Python
false
false
69
py
from .funcs import * from .requests import * from .variables import *
[ "e.g.hutter@gmai.com" ]
e.g.hutter@gmai.com
ad99634d0137842d7042a688010637b825ee29ce
46ae8264edb9098c9875d2a0a508bc071201ec8b
/res/scripts/client/gui/scaleform/daapi/view/metapromopremiumigrwindowmeta.py
814c7e9466ff495e9f3a447d32cb6863c4598fcd
[]
no_license
Difrex/wotsdk
1fc6156e07e3a5302e6f78eafdea9bec4c897cfb
510a34c67b8f4c02168a9830d23f5b00068d155b
refs/heads/master
2021-01-01T19:12:03.592888
2016-10-08T12:06:04
2016-10-08T12:06:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/PromoPremiumIgrWindowMeta.py from gui.Scaleform.framework.entities.abstract.AbstractWindowView import AbstractWindowView class PromoPremiumIgrWindowMeta(AbstractWindowView): """ DO NOT MODIFY! Generated with yaml. __author__ = 'yaml_pro...
[ "m4rtijn@gmail.com" ]
m4rtijn@gmail.com
1a37d57124d0e032b84797c05a834ae76fe8d1db
1d10ef52812e7186b622138bb2208e9b57c8f73c
/bot.py
5239ca346f59314a004d2406de3d13aac02bcd40
[ "MIT" ]
permissive
davidlwl/N1
3fdea4328f7f2351d68814e49c44d8ca1318ac34
95531de360b39ffd24c6d2cf1efadd7986308990
refs/heads/master
2021-09-05T01:41:33.980994
2018-01-23T14:35:21
2018-01-23T14:35:21
118,622,017
0
0
null
null
null
null
UTF-8
Python
false
false
5,366
py
from telegram import (ReplyKeyboardMarkup, ReplyKeyboardRemove,ChatAction) from telegram.ext import (Updater, CommandHandler, MessageHandler, Filters, RegexHandler, ConversationHandler) import telegram import logging bot = telegram.Bot(token='524482039:AAFIx91svJA57QMI9Eqj3mifZRvBAuqdJm4') up...
[ "noreply@github.com" ]
davidlwl.noreply@github.com
9e513a98c8c8479ffdc713d24d44aa47cdbd1f73
73038a74b7b33cd79b289c71edd4f589c375f75c
/src/scriptsPython/LIMA(II)/II.4/convertRefToLine.py
831c97d7436dd0b5e0925abd5c1e7599794fc15b
[]
no_license
kevinLacoste/EIT
a1f31c70360d7ebe401e90a3734b4d75f76ace6f
13b5080478c4c47d1397bef0bc517e5542e17ebb
refs/heads/master
2020-04-27T03:08:04.213994
2019-03-11T06:11:03
2019-03-11T06:11:03
174,016,286
0
0
null
null
null
null
UTF-8
Python
false
false
639
py
import sys # Script supplementaire : sert a transformer le wsj_0010_sample.pos.ref pour etre utilise avec evaluate.py if __name__ == "__main__" : argc = len(sys.argv) argv = sys.argv if argc > 2 : inputFile = open(argv[1], "r") outputFile = open(argv[2], "w") for line in inputFile.readlines() : words = ...
[ "k.b.h.lacoste@gmail.com" ]
k.b.h.lacoste@gmail.com
35208a9bfd738bac152ff34b30755153c3189c15
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/built-in/nlp/Fairseq_Transformer_wmt18_for_PyTorch/fairseq/data/audio/dataset_transforms/__init__.py
b24c6f731f29875bb7570c72bf140ade9a52e19c
[ "MIT", "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,246
py
import os from fairseq.data.audio import ( AudioTransform, CompositeAudioTransform, import_transforms, register_audio_transform, ) class AudioDatasetTransform(AudioTransform): pass AUDIO_DATASET_TRANSFORM_REGISTRY = {} AUDIO_DATASET_TRANSFORM_CLASS_NAMES = set() def get_audio_dataset_transform...
[ "chensida@huawei.com" ]
chensida@huawei.com
06b15ca7e7f2cf7119c164d4475ca2ba8c92a671
f587cb9f696dfd354f530cb4c4f12224a6b8826b
/proxy/trilobyte
72ed85762065fba2c326bebf1618e02894f8ab87
[]
no_license
bogdanap/trilobyte
061bce047bb0f327cad51b22896dced0bc500aa5
a72eb216585e0f78b90b2c53afbc150f9b890a6c
refs/heads/master
2021-01-19T20:29:57.206711
2014-05-26T18:10:21
2014-05-26T18:10:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,882
#!/usr/bin/env python # encoding: utf-8 import os import json import pygeoip import socket import sys import time import traceback import threading DATA_PATH = "../trilobyte" WRITE_INTERVAL = 5 statistics = {} def stats_writer(lock): global statistics while True: time.sleep(WRITE_INTERVAL) ...
[ "smth.else@gmail.com" ]
smth.else@gmail.com
b702cb0133083323a979465c497faa09bb248ee5
d8a7f93044f7342bbb67397c3c18319ad56c06ba
/studies/018_improper_angle/targets/dimethylamine.2D-scan/make-qdata.py
6a7cb243dc44966caaea8027499ccf7ff838832e
[ "BSD-3-Clause" ]
permissive
leeping/forcebalance
16e934be0668dde1a02ef6a65c3cc90151057a5c
10b9280cab9735634d25a4f9c8b3e84cb13a6bb1
refs/heads/master
2023-07-19T20:06:23.869239
2023-02-08T17:56:55
2023-02-08T17:56:55
11,302,623
122
76
NOASSERTION
2023-09-06T13:52:28
2013-07-10T04:46:42
Python
UTF-8
Python
false
false
163
py
#!/usr/bin/env python from forcebalance.molecule import * M = Molecule('all.xyz') M.qm_energies = [float(l.split()[-1]) for l in M.comms] M.write('qdata.txt')
[ "leeping@ucdavis.edu" ]
leeping@ucdavis.edu
8e5e2e52a0b78b33fa629cb673f2158e815963e7
08f298aa9e6703554f5c2ef141a82cfbbfe9c664
/feed/spiders/industrial.py
a241165531791a17fe907f3b185c0bda8c0a92ed
[]
no_license
bysorry/scrape-ksl
70c442c0b5907ea426fea44ff6551994306ebf2f
9ecd473917c614524d41d6da01357a92b2897762
refs/heads/master
2021-10-11T01:06:14.975528
2019-01-20T16:27:32
2019-01-20T16:27:32
213,028,545
2
0
null
null
null
null
UTF-8
Python
false
false
4,393
py
# -*- coding: utf-8 -*- import scrapy from ..contact import Contact import csv import json class KSLIndustrialSpider(scrapy.Spider): name = "ksl-industrial" category = [ # "Baby",# #"Books and Media" # # "Clothing and Apparel", # # "Computers",# # "Cycling...
[ "ceo@skylinesdigital.com" ]
ceo@skylinesdigital.com
4e0ef084e7023ac334f65cfc675e78a13aceb80a
15554216928c684b657a7d28095f54034ca03c46
/kallz_project/wsgi.py
448a4739ad65661fa8072c9c69c2bbed9bf3458e
[]
no_license
murataj/kallz_web_app
c2da783ea171bbb8d9035fba55638c2919f5b0ca
23f1bec338c15bcd4163aa8df4b3326c0fda9414
refs/heads/master
2023-01-04T10:17:37.324128
2020-10-29T14:05:33
2020-10-29T14:05:33
308,345,802
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
""" WSGI config for kallz_project project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setde...
[ "muratajirisa@gmail.com" ]
muratajirisa@gmail.com
d45d8fec86317029b7062a2dda22e3cf0fb68e95
19f443f9469af4f2c04ccab5186065039533b58e
/7kyu/reversed_strings.py
ff9e48ac8f1edb26e521e7f27118ac8a8eca82c9
[]
no_license
liush79/codewars
455aa8a5c0d660759035a62beaae29fb2eaa369f
0c4e5d05f2c116a487f2a2305a49d6dbc6c6652a
refs/heads/master
2021-06-11T02:51:39.481283
2020-09-28T05:18:53
2020-09-28T05:18:53
128,213,072
1
0
null
null
null
null
UTF-8
Python
false
false
77
py
def solution(string): return string[::-1] print solution('abcderfggh')
[ "98koom@hanmail.net" ]
98koom@hanmail.net
69a5cd6ca0707fa39f1ba4e4b1b627696dc2efe1
fe6f6d11dde2a3205ae9758c7d4eb1f824b84102
/venv/lib/python2.7/site-packages/flaskext/script.py
dbe746c0a81ccab2e592f3b48707ca177a080587
[ "MIT" ]
permissive
mutaihillary/mycalculator
ebf12a5ac90cb97c268b05606c675d64e7ccf8a6
55685dd7c968861f18ae0701129f5af2bc682d67
refs/heads/master
2023-01-10T14:56:11.780045
2016-09-20T12:30:21
2016-09-20T12:30:21
68,580,251
0
0
MIT
2022-12-26T20:15:21
2016-09-19T07:27:48
Python
UTF-8
Python
false
false
20,546
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import with_statement import os import sys import code import string import getpass import inspect import warnings import argparse from flask import Flask, _request_ctx_stack __all__ = ["Command", "Shell", "Server", "Manager", "Option", ...
[ "mutaihillary@yahoo.com" ]
mutaihillary@yahoo.com
9afb011b362a9d7c47aa3e68c49092cd57e55edb
8ac0cef86e3b615f9aa9a59c85eb20658c73c780
/the_numpy_stack_in_python/dot_product_2.py
1831b9ba88279fd1e6acaecf893338425e42ee47
[]
no_license
siddharthjain1611/Deep_Learning_Prerequisites
eb0bc8f2582bf3d9cd58d843f8cb6ea0e251cecc
0923f2db5f79a0eedc78ba7a8ab8c545f5b6d609
refs/heads/master
2020-04-30T11:42:53.280559
2019-03-20T20:06:34
2019-03-20T20:06:34
176,806,713
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
import numpy as np from datetime import datetime, timedelta a = np.random.randn(100) b = np.random.randn(100) T = pow(10, 5) # time period # FOR loop for dot product def slow_dot_product(a, b): result = 0 for e,f in zip(a,b): result += e*f return result time = datetime.now() # currebt time for ...
[ "siddharthjain1611@gmail.com" ]
siddharthjain1611@gmail.com
8c9e26db66935091b5ff391425547f99e9a0a6e4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/9AMT6SC4Jz8tExihs_23.py
306863290370f89d947dad424359f11ee3c866c3
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
190
py
from itertools import product ​ def generate_nonconsecutive(n): return " ".join([combo for combo in ["".join(list(combi)) for combi in product("01",repeat=n)] if "11" not in combo])
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
bf7de811bfea6dda3995b659cf1eefa05341ded2
74472ae20fa049a82b20b8ba7ea80394c43d5a01
/messenger/urls.py
14204e888b18dbed10f155dcb11b12b8c5abf853
[]
no_license
Adelgh/Projet
ad2d02e92f7ab3adef4c2646ba0c0838bc2e799e
1e1918f5ee47312dce47e2ae384c0168ffce7664
refs/heads/master
2021-01-15T08:27:42.502063
2017-08-28T14:34:16
2017-08-28T14:34:16
99,567,683
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.inbox, name='inbox'), url(r'^new/$', views.new, name='new_message'), url(r'^send/$', views.send, name='send_message'), url(r'^send1/$', views.send1, name='send_message1'), url(r'^delete/$', views.delete, name='de...
[ "you@example.com" ]
you@example.com
cfed4084fec538d16981ee31a7f600850dcf0d86
bc23dd0952a7235d2a63f59c83a4a283bbfa49f8
/backend/manage.py
5f19f0c6d16370616739c0eaa3ae0a8a5c26e630
[]
no_license
crowdbotics-apps/dee-world-originals-3621
94e8af26153de836e9e313e84f3a7a39f21deb66
833a299efb37158bde7446d287ffccaf57f3c829
refs/heads/master
2020-05-25T11:09:59.009295
2019-05-21T06:24:38
2019-05-21T06:24:38
187,774,566
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dee_world_originals_3621.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason....
[ "team@crowdbotics.com" ]
team@crowdbotics.com
f665485f49d5e9f3218ee0ee9cc87b2b65a9a74d
8ce70bf719616200f623629e1c3fca20e9f3d369
/GetSharedExternallyDriveACLs.py
06736e36300dc2838dfc0a696d4501ec625e9bf1
[]
no_license
glmyers/GAM-Scripts3
055f1f398971d2aa630372e1594aeea960f7b104
115e1ae811b72570c674a0b0284494f57660ad79
refs/heads/master
2023-08-02T01:41:09.853011
2021-09-15T19:36:37
2021-09-15T19:36:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,387
py
#!/usr/bin/env python3 """ # Purpose: For a Google Drive User(s), show all drive file ACLs for files shared outside of a list of specified domains # You specify a list of domains, DOMAIN_LIST, and indicate whether this list is exclusive/inclusive # EXCLUSIVE_DOMAINS = True: exclude domains in DOMAIN_L...
[ "ross.scroggs@gmail.com" ]
ross.scroggs@gmail.com
961be645633cc3d8f0397df762f2355c734ea7cc
accc2117ec21d8ad439462642c216c8cea9d3fdb
/preparetestsetfornextrelease.py
bff91d65e226390c6c946f64aa0638c1658ef442
[]
no_license
keepgoingonmaster/rally
9f415c7d45325124337195eeb06d9798021d905e
9c18db37eaaab9fb4a5986c31567b192d63e90ae
refs/heads/master
2021-03-03T09:31:01.179134
2020-09-04T02:40:19
2020-09-04T02:40:19
245,949,830
0
0
null
null
null
null
UTF-8
Python
false
false
4,046
py
#!/usr/bin/env python ################################################################################################# # # getitem.py -- Get info for a specific instance of a Rally type # identified either by an OID or a FormattedID value # USAGE = """ Usage: getitem.py <entity_name> <OID | FormattedID>...
[ "noreply@github.com" ]
keepgoingonmaster.noreply@github.com
6ddca35b1612d57330fd4fc592c1f7de0f2633d3
fffbf9e1ac40fdbd77f5b6baf34662478da8162e
/library/setup.py
fc56d3fee0faa0c1dde3eb53f3b7cd88eb98ddf7
[ "MIT" ]
permissive
yorkrobotlab/inky
aa4c41ce17e8e47c3f6b2a16368560be6c66f051
65f9abb7cb09e2a9d9b31e484a576d230d8c28a1
refs/heads/master
2022-10-03T04:43:19.189473
2020-03-11T11:21:04
2020-03-11T11:21:04
259,630,799
1
0
MIT
2020-04-28T12:29:16
2020-04-28T12:29:15
null
UTF-8
Python
false
false
2,147
py
#!/usr/bin/env python """ Copyright (c) 2017 Pimoroni. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
[ "phil@gadgetoid.com" ]
phil@gadgetoid.com
81259aa5d629178e493a96e045e07da8c7de480f
bb975b9daca505a6603195ab2e64b6617e4cde28
/ATM Mockup_Improved.py
f943972cd55d6a1e601985110b9349546d9fe9e3
[]
no_license
Debby-T/ATM-Mockup-Task
948bcd70b04cea26bab0da906ad7f3b110abf8e4
a88a6040fc7c50acf607e09f1a2baa9b3d7e7fc2
refs/heads/main
2023-04-29T11:33:33.968851
2021-05-03T00:42:22
2021-05-03T00:42:22
363,781,193
0
0
null
null
null
null
UTF-8
Python
false
false
2,887
py
import datetime import time print('Welcome to Zuri Bank') print('====================') print('Insert your card here') print('====================') username = ['Tosin','Mike','Love','Joe'] password = ['Tosin321','Mike321','Love321','Joe321'] def user_info (): name = input('What is your name: \n') ...
[ "noreply@github.com" ]
Debby-T.noreply@github.com
cd2805ef458dfa2a1ba653af978b5afab5125a17
452166e9425ec29ecb5072943382e867d9f1d5ce
/model_indoor.py
556f2dde955e45795dcf9ff30ac61d770bce3901
[]
no_license
bathurstAi/deep_learning
534ad6d0038f7d60fbbcfaf44203b205f9c2c9bd
5a21f078c6cf1a7320d9dc023f6fc4f8678e16a0
refs/heads/master
2020-04-12T23:35:00.163142
2019-01-13T02:42:04
2019-01-13T02:42:04
162,824,069
2
0
null
null
null
null
UTF-8
Python
false
false
6,805
py
import tensorflow as tf import pipeline_clean test_dir = "C://Users//Kevin//Desktop//MMAI_894//Images3//" #kevin's laptop #test_dir = "C://Users//KG//Desktop//MMAI 894//Project//Images//" #kevin's desktop save_dir = "C://Users//kevin//Desktop//MMAI_894//Project//deep_learning//save_workspace" image_l...
[ "noreply@github.com" ]
bathurstAi.noreply@github.com
a3989d4e5d4d2184b1002eb5d178cf785cc2d4ba
c0793804dc00ff89052295cdd7203cd1a55d1703
/Jamie Wilkins/Project/PygameImport.py
383101935fe96349417ab069778182be42b65f27
[]
no_license
Slifer2000/Portfolio
369bf0f49d1fc6b4ffa414b7d954c0def7721dd9
67ecd5e7209cb872022a1bc154acaeb6f3d8b9a3
refs/heads/master
2020-04-27T09:09:03.226774
2019-03-06T19:02:13
2019-03-06T19:02:13
174,200,027
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
import pygame print (pygame.ver)
[ "noreply@github.com" ]
Slifer2000.noreply@github.com
f696ab15bdf12dc087d968c2aaab476e35fcd959
c51f3113673ca510444ea75dd902b99f3b1421fb
/permtest/views.py
4aa32c4fc819a570579bf790e45a77047c6665ca
[]
no_license
kstumpf/django_user_demo
cd4c08bdd81d87582deb52db8a76875b20399d9d
200937107a5c7397ce867ff66503847564856b89
refs/heads/master
2016-09-06T07:47:21.061751
2014-07-08T13:31:43
2014-07-08T13:31:43
21,182,105
1
0
null
null
null
null
UTF-8
Python
false
false
406
py
# Allows us to render template back to browser. from __future__ import unicode_literals from django.shortcuts import render_to_response, render from django.contrib.auth.views import login from django.contrib.auth.decorators import login_required def home(request): if (request.user.is_authenticated()): ret...
[ "kstumpf@smith.edu" ]
kstumpf@smith.edu
c6d397a5b3513ffe03e3b1d304afa93ed73ca355
4bb3b854f7b85acc0b7c9a61cefc826705d02965
/QVer/Code-PY/Backups/testmodules.py
de10c6a83e8a105fd1ec9ae72ff145899234ca0e
[]
no_license
Braiunito/QVer
2ca86095f1033c2df00e3b5c17d0f6d2175721ba
e3ca7e4b37a9c2c61b9d36cee3f6790554992795
refs/heads/master
2020-06-03T04:00:52.772615
2019-07-11T16:31:43
2019-07-11T16:31:43
191,430,215
0
2
null
2019-07-11T16:31:12
2019-06-11T18:38:10
Python
UTF-8
Python
false
false
2,694
py
#def validar(): def validarcorreo(correo): def invalidchar(cadena): val=True caracteres = ["q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","ñ","z","x","c","v","b","n","m","_","0","1","2","3","4","5","6","7","8","9"] for x in cadena: if x in caracteres...
[ "braiantablet@gmail.com" ]
braiantablet@gmail.com
0e14c02fff22fb2dfe9c67583f011b40ef90c0d6
fc9f4e6af9df3d05c507c9e114b956dfc26cd0f0
/chapters/2023/Utilisation de la POO dans les notebooks jupyter python/code/notebooks-python-no-poo/TrafficAccidentPrediction/Data_integration.py
54790dd56e4711c641eb84a324da3e29816fc77a
[]
no_license
RIMEL-UCA/RIMEL-UCA.github.io
0f1334bf9ba77a5ef59c63065f2dbe7c00d70f25
3009e69eab06c9dc4f6f2b7f866fa0b00f909516
refs/heads/master
2023-07-03T16:00:05.606141
2023-02-12T14:40:35
2023-02-12T14:40:35
230,765,683
7
29
null
2023-03-05T22:09:35
2019-12-29T15:04:00
Jupyter Notebook
UTF-8
Python
false
false
1,993
py
import pandas as pd import matplotlib.pyplot as plt weather = pd.read_csv('weather_clean.csv') acc_speed = pd.read_csv('accident_speed.csv') print(acc_speed.head(20)) print(weather.head()) date_split = acc_speed['Date'].str.split("T",n=1,expand=True) acc_speed['Accident_Date']= date_split[0] acc_speed['Accident_Time']...
[ "denisassoti@yahoo.com" ]
denisassoti@yahoo.com
413d5165ee201deebf6c505993df104e214f617f
8bd57c551ee38e7919c19b2276b769c1165deb99
/whatsapp.py
7db6039c696a1e72bde3516f1bfbe85cbd032fba
[]
no_license
bahirithikaramp/Whatsapp-Message
83248ae9abb405746f2092f0811b107e36dcc354
96088adf50e275a67d0f9a1aaf38354bc5d0dbf5
refs/heads/main
2023-02-04T01:17:15.383029
2020-12-28T14:59:02
2020-12-28T14:59:02
325,038,575
1
0
null
null
null
null
UTF-8
Python
false
false
110
py
import pywhatkit pywhatkit.sendwhatmsg('+917898229742', 'Hey this is a python generated message xD', 23, 21)
[ "noreply@github.com" ]
bahirithikaramp.noreply@github.com
11bb5c89fbdaa0ee397fe5bc87cf89035adb9ed1
a189ad7a39910876f7a8255684e5dcbdd039c499
/stream/stream/urls.py
c26144d9c462d904841095ef58199df0a839c222
[]
no_license
algomaster99/stream-2.0
abcac3044868dadecdafa62032f097874c054375
8a0d9e27e1afbcf938f768ed690a5147307766a0
refs/heads/master
2021-06-23T10:44:07.794392
2020-11-29T13:10:28
2020-11-29T13:21:17
136,727,160
3
3
null
2018-10-01T11:51:54
2018-06-09T13:49:09
JavaScript
UTF-8
Python
false
false
1,349
py
"""stream URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
[ "mannu.poski10@gmail.com" ]
mannu.poski10@gmail.com
8c73ab259674a5071d772e7bf8fe594b8cc04ed7
531904363a322e5c9df323254213d1d66d5ef9a5
/lib/c4dtools/utils.py
021f462b384eba0a0e85f1fe8020e79b5c0842db
[ "MIT" ]
permissive
AlbertAlomar/c4ddev
0cf0e29c0b8d3396f578b595ad1145be08ab5562
3c97f00198b734d3af5609f11e291d313abedb4c
refs/heads/master
2021-05-09T02:32:40.502947
2018-01-28T00:02:36
2018-01-28T00:02:36
119,212,951
0
0
null
2018-01-27T23:57:38
2018-01-27T23:57:37
null
UTF-8
Python
false
false
21,642
py
# -*- coding: utf8; -*- # # Copyright (C) 2015 Niklas Rosenstein # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy...
[ "rosensteinniklas@gmail.com" ]
rosensteinniklas@gmail.com
60f9b9383a9f03330b2d5545c15f1a5eb3f959bc
c92d75dbda7e03ea096e22fc83d3ee3efc2810b0
/classifier/model/ner_model.py
955d63228ed2149c71e51f07e1afaa332593f216
[]
no_license
tdt98/Multi-Grained-Named-Entity-Recognition-Improvement-with-BERT-and-Focal-Loss
6390068d10c522da3f69b1c2d0e9e5d81136ba33
60f17ce929124855abd3aa040d2391489bb2d0ff
refs/heads/master
2023-02-10T12:48:15.329476
2021-01-13T01:56:01
2021-01-13T01:56:01
277,228,574
2
0
null
null
null
null
UTF-8
Python
false
false
17,860
py
import numpy as np import os import tensorflow as tf from .utils import report from .data_utils import minibatches, pad_sequences, get_chunks from .general_utils import Progbar from .base_model import BaseModel from tensorflow.contrib.rnn import BasicLSTMCell class NERModel(BaseModel): """Specialized class of Mo...
[ "tdtu@apcs.vn" ]
tdtu@apcs.vn
a3c4d9342fcf9983d6d6a1a769377a0ad4ab701f
0fff03675e9e898d1b0094095ff724538b44be45
/app/pyscript/component.py
2f5dc3d4ea35b86398048db887276a71fe1f3a44
[]
no_license
hongjinqiu/finance
9ab676f43b2f1c067bb166a688993c39298bebc3
bbddb865e7445c62faba727f314e7f6385071192
refs/heads/master
2021-01-17T02:47:48.632052
2014-10-01T03:44:30
2014-10-01T03:44:30
22,785,573
1
0
null
null
null
null
UTF-8
Python
false
false
2,353
py
#!/usr/bin/python #encoding=utf8 import json, sys class SysUser(): # def beforeBuildQuery(self, jsonString): def beforeBuildQuery(self, jsonString): query = json.loads(jsonString) # query["nick"] = u'' return json.dumps(query) def afterBuildQuery(self, jsonString): query = js...
[ "hjq20021984@163.com" ]
hjq20021984@163.com
0c4cb63a8980337141c5ce078f31fe360baa16f5
52632d2089c156c43e19cd53a0130e7b1e93660a
/Main.py
f73b4e98635f78c862c4d2ddc876700f29054cfc
[]
no_license
ird87/pycnometer
f379625cf9c97b21572bb4790b6db627cf132473
3d4a8d49ebd8d9ec3b0733b7d10138bcbd526362
refs/heads/master
2023-06-11T23:02:02.067674
2023-05-12T19:53:46
2023-05-12T19:53:46
168,672,568
0
0
null
2022-09-10T03:28:52
2019-02-01T09:20:23
Python
UTF-8
Python
false
false
96,472
py
#!/usr/bin/python # coding=utf-8 # Главный модуль программы. import inspect import ntpath import os import shutil import helper import sys # sys нужен для передачи argv в QApplication import time from subprocess import Popen, PIPE from sys import platform from urllib.request import urlopen import PyQt5 import Convert...
[ "ird87.post.ru@gmail.com" ]
ird87.post.ru@gmail.com
3a2dbda0d6edea8b04c5c326afe5c8171c834539
f3bd271bf00325881fb5b2533b9ef7f7448a75ec
/xcp2k/classes/_restart2.py
4de1a3a5a71bd0926db09c8a34da1ed829325acb
[]
no_license
obaica/xcp2k
7f99fc9d494859e16b9b0ea8e217b0493f4b2f59
6e15c2c95658f545102595dc1783f5e03a9e6916
refs/heads/master
2020-07-15T17:27:43.378835
2019-02-11T16:32:24
2019-02-11T16:32:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
659
py
from xcp2k.inputsection import InputSection from _each11 import _each11 class _restart2(InputSection): def __init__(self): InputSection.__init__(self) self.Section_parameters = None self.Add_last = None self.Common_iteration_levels = None self.Filename = None self.L...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b0bcb4a24f2cda86dce19abbfc7847f5fbc5d8e4
1d82978678d717e5b4c046fef4222db93af7a3cc
/fichier3.py
aff6a7d4ba17a4c66ca664d72fd952b38c302866
[]
no_license
AlexisRevol/Entrainement
9770e7be31ad728c3c83f1222f69ecbb5e40ee74
1173ba30c3e35b03b53e3163d7eb4ef38ceee5b8
refs/heads/main
2023-03-14T01:50:25.866865
2021-03-03T09:51:04
2021-03-03T09:51:04
344,053,944
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
print("L'accroche fait mouche !!!") blablablabalbal print("Nathan provoque une bonne poilade à Jordan")
[ "revol.alexis.lgm@gmail.com" ]
revol.alexis.lgm@gmail.com
47c915ecc0d04260c5b88eecd503a97e10c19a95
f8cec3864dcc5c59ba888addea05b4122abdf965
/docker/update-github.py
6f9c4d71aaa11b808a1eb947b350988581209005
[]
no_license
mvered/election-geodata
8b1275d917452d6a0a5212a527ac88eced4e3a7b
8bc0f5ea409caa6b491b4a878d9a29a1870062d8
refs/heads/master
2020-03-20T20:41:18.433559
2018-06-18T22:57:41
2018-06-18T22:57:41
137,700,720
1
0
null
2018-06-18T01:51:20
2018-06-18T01:51:20
null
UTF-8
Python
false
false
2,147
py
#!/usr/bin/env python2.7 from __future__ import print_function import sys, argparse, json, requests, uritemplate SUCCESS, PENDING, FAILURE = 'success', 'pending', 'failure' descriptions = { SUCCESS: 'Everything is awesome.', PENDING: 'Working on it...', FAILURE: 'Argh.' } parser = argparse.ArgumentPa...
[ "mike@remix.com" ]
mike@remix.com
294b84457635d0c4a448e49e2257eb15eed68c9f
c9036e0c0119c3a86a1430a46c72ee800cc2d516
/text/get-params-test.py
8e562ee85098df888d72ff6befce5ab9e94139ce
[]
no_license
1940311736/python-text
987846fca5c6d4d076f099c9f77b1cbbb151b48c
1caa7a704b89b2919d9daa5892744a0b68d42019
refs/heads/master
2020-12-13T01:36:00.559068
2020-01-16T09:08:10
2020-01-16T09:08:10
234,278,159
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
import requests import json host ='https://httpbin.org/' endpoint = 'get' url = ''.join([host,endpoint]) params = {'show_env':1,'lld':'liuliandi'} headers = {'User-Agent': 'python-requests/2.22.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} r = requests.get(url,params=params,head...
[ "1940311736@qq.com" ]
1940311736@qq.com
29296a69d3a274671c5658b59f7e0cf8c8c9a9e4
73cf63bdfd4e9a25506a62a04f270acf86610080
/project/wsgi.py
b97c3c0c1ffe1f6c9adc759140bf1f6b5bc8d2c6
[]
no_license
aarontropy/journal-list
7d0fafb26d6034d6ca02516d4a08fc7f87f58c68
2c460ee6f0747f002c3e89028b4470df9eeacc13
refs/heads/master
2021-01-25T03:49:53.380625
2014-01-12T15:12:17
2014-01-12T15:12:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
""" WSGI config for journallist project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "journallist.settings") from djang...
[ "aarontropy@gmail.com" ]
aarontropy@gmail.com
960d2fbde5d08095542b53926dcab3915b657c1b
5f6019aefd4b940451ae81fb0e430e97d19626cb
/2016/martian/get_lines.py
85a7a3481b29fc18839f72a0420d73a8b1eefc05
[]
no_license
cligs/projects
7cee393ccdd5fdf8477a89f07ae7a93fe78511e6
d8a60564d3436a207ce4d94dbdefed9bf5402a9c
refs/heads/master
2022-04-28T20:38:27.267358
2022-04-12T09:08:05
2022-04-12T09:08:05
42,662,737
5
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Filename: get_lines.py # Authors: #cf # 2016-05-21 import re import os import glob import pandas as pd WorkDir = "/media/christof/data/Dropbox/0-Analysen/2016/martians/diffs5/" DiffTable = WorkDir+"DiffTable_2016-04-29.csv" DiffedText = WorkDir+"martians_wdiffed-prep...
[ "c.schoech@gmail.com" ]
c.schoech@gmail.com
6ec3ed2310d22d5053b1b70b6f71702a2d754566
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2622/60761/241627.py
eeb5762e38fb07e7a8d25eeacf6434a9ae034580
[]
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
120
py
numlist=input("") numset=set(numlist) for num in numset: if numlist.count(num)>(len(numlist)//2): print(num)
[ "1069583789@qq.com" ]
1069583789@qq.com
99f6bd8fab3d581d46d2a5c2b134157fa42ba9e5
3c7e63f23331d0b0cca9bb8102e13c878aac4c4e
/scripts/aptly/aptly_importer_TEST.py
be13f1ca54d35f607983f89a27230ffb000d3de3
[]
no_license
ros-infrastructure/reprepro-updater
97fe1a1b7108992f1a790b3917bf47778d1da960
199f89e0864780b875568ecd0605fdd0d3c7c465
refs/heads/master
2023-08-31T02:05:09.273897
2023-02-16T21:44:20
2023-02-16T21:44:20
5,712,008
4
21
null
2023-09-08T17:41:37
2012-09-07T03:20:46
Python
UTF-8
Python
false
false
8,110
py
import aptly_importer import os from pathlib import Path import sys import tempfile import unittest TEST_CONFIG_DIR = Path(__file__).parent.absolute() / 'test' class TestYamlConfiguration(unittest.TestCase): def test_non_existsing_file(self): with self.assertRaises(SystemExit): aptly_importer...
[ "noreply@github.com" ]
ros-infrastructure.noreply@github.com
a857e70b7456b7c840cf0f7d3212bb9ded15cfb1
d1ef7fb88284dc8e108a9e38023b863f2b8d605e
/apps/demo/views.py
30c668fd378b3c73523f63e4ba43440ae391c03c
[]
no_license
jcaladlean-tech/lean_tech_backend_test
27cbb2803cca1b37fc4411f45aa7e9d63409e0f8
82faea2500af97756061fc7d5297d00494ac0eea
refs/heads/master
2021-09-30T00:05:37.572493
2020-04-06T01:41:44
2020-04-06T01:41:44
253,083,319
0
0
null
2021-09-22T18:49:55
2020-04-04T19:32:25
Python
UTF-8
Python
false
false
2,057
py
import operator from functools import reduce from django.db.models import Q from rest_framework import viewsets from .serializers import CarrierSerializer, ShipmentSerializer from .models import Carrier, Shipment from apps.user.permissions import AdminPermission, ReadOnlyPermission class CarrierViewSet(viewsets.Mode...
[ "juanpablo.calad@gmail.com" ]
juanpablo.calad@gmail.com
505ac5477564d0dfe7d64470fb159cfa1d6c7fc4
a4fd3aaf68274833bea26336096077851a95ab97
/apps/trade/adminx.py
683c736f89bd7561579b49a0109a5d6381982037
[]
no_license
Kimball-qq/SXshop_01
2be1a6d1ffc37a2edc4511b392adb251c1548e6e
67f0684c464a06ca70bc4d53d900ba4db9194e3f
refs/heads/master
2023-01-31T09:03:17.494964
2020-12-19T00:40:59
2020-12-19T00:40:59
320,526,675
0
0
null
null
null
null
UTF-8
Python
false
false
584
py
import xadmin from . import models # Register your models here. class ShoppingCartAdmin(object): list_display = ['user', 'goods', 'nums'] class OrderInfoAdmin(object): list_display = ['user','order_sn', 'trade_no', 'pay_status', 'post_script' , 'order_mount', 'pay_time', 'add_time'] class OrderGodsInlin...
[ "1365689361@qq.com" ]
1365689361@qq.com
1595645122c39ab266b96c1ef882da1271803e38
a795f8a302e98e09f57022392faa97f3552b46af
/nicknames_v2.py
fb492e84d6d7886dc5d8d135be15942757ab0f6a
[ "MIT" ]
permissive
HWNi/MSDS-Capstone
c46a8192e2677a93be32a5072a9b11b73b01cd14
59fbd01cacf8a0dc743a0b4e4ceacc86123e7767
refs/heads/master
2021-09-09T10:16:43.902051
2018-03-15T04:01:09
2018-03-15T04:01:09
116,196,359
2
0
MIT
2018-03-12T21:57:54
2018-01-04T00:44:01
Python
UTF-8
Python
false
false
42,902
py
nicknames = ( ('Aleksey', 'Alexey'), ('Abigail', 'Abby'), ('Abdelfettah', 'Abdelfattah'), ('Alexander', 'Alex'), ('SangiovanniVincent', 'SangiovanniVincentelli'), ('Allan', 'Allen', 'Alan', 'Al'), ('Allison', 'Alison', 'Ali', 'Aly', 'Allie'), ('Andre', u'Andr\00e9'), ('Andrew', 'Andy...
[ "nhw1068@hotmail.com" ]
nhw1068@hotmail.com
8afd2534fc29d2b696ad1f5c22841614fe306b36
39f4cd6177abd23bd13e80fb4477c690231fc97d
/ccc2004s3.py
c0cb2fe94d19253730cdefaae3b4ca45c4d56d16
[]
no_license
austinma1/Canadian-Computing-Competition-Solutions
f361e7f16640d39ef2aa3a8d1465ccbcccb3d3aa
88972bba55b546f818b9beb2e3a3a8eb2651f2e8
refs/heads/master
2022-07-03T05:16:39.924034
2020-05-09T23:21:19
2020-05-09T23:21:19
261,670,658
0
0
null
null
null
null
UTF-8
Python
false
false
2,041
py
import copy cells = [] visited = [[False for y in range(9)] for x in range(10)] # Return the content in the given coordinate def coordinate(coord): global cells return cells[ord(coord[0]) - ord("A")][int(coord[1]) - 1] # Input data for _ in range(10): cells.append(input().split()) for j in range(9): ...
[ "noreply@github.com" ]
austinma1.noreply@github.com
f295c65888b984ba1e3bf286d64db5a74e394357
56f6ae9b6e5f2d07ae024ffdc0409de7f184a295
/findlca.py
62aa10bc37cc768b4e0f78e38b74dd0bc11bb844
[]
no_license
kalishguru/Python
8958298726f7e7a6199c9abd2a646a037120efc9
d3f7b86d1be6aea9a1411d39338e05b8cd68ae10
refs/heads/master
2021-01-10T09:38:32.627430
2016-03-25T05:37:46
2016-03-25T05:37:46
54,696,169
0
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
# Solution to find LCS of two given values noe n1 and n2 # A binary tree node class Node: # Constructor to create a new binary node def __init__(self, key): self.key = key self.left = None self.right = None # Finds the path from root node to given root of the tree. # Stores the path in a list path[], returns ...
[ "gtechvision@gmail.com" ]
gtechvision@gmail.com
8e220ab8dac9488036119b4dc48fdfb4eb1a8ced
0109f37c9279bc833317664b347f80eb5d3dfb5c
/15 nn_loss.py
4d131ab11abd4282f531daa3247150e088badcc5
[]
no_license
Yuguangcheng/pytorch_test
325b9d5dad5e33d85238a3251152bd2d352bbdc5
10a98be22ad0794c417502c49a756644df876b6c
refs/heads/master
2023-07-02T01:15:57.045360
2021-08-04T09:02:30
2021-08-04T09:02:30
389,594,320
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
import torch import torch.nn as nn input = torch.tensor([1,2,3],dtype=torch.float32) input = torch.flatten(input) print(input) target = torch.tensor([1,2,5],dtype=torch.float32) target = torch.flatten(target) l1loss = nn.L1Loss(reduction='mean')#绝对值求误差函数 output_l1loss = l1loss(input,target) print(output_l1loss) mseloss...
[ "1543053723@qq.com" ]
1543053723@qq.com