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
220 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
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
adf0cfbbc71169a4d6fecca777b0ca1f2df1a9b5
c17635a2b05a96ea75d3b7dc76b63e1326606b64
/test/pexpect/__init__.py
dcf360f9dd8485a50f63f6111081d921d207fa0c
[]
no_license
HamzaAnis/SimpleShell
8efde65c624f4024a9944cdce4cd66600a85cb99
afc642c2a4e029332ea535c9b0d445027c9f3d21
refs/heads/master
2020-03-28T19:21:45.654387
2018-09-19T15:50:28
2018-09-19T15:50:28
148,967,947
5
0
null
null
null
null
UTF-8
Python
false
false
87,780
py
'''Pexpect is a Python module for spawning child applications and controlling them automatically. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can ...
[ "theaccountname@yahoo.com" ]
theaccountname@yahoo.com
c299077986bf62f2c38ac444a12dff977c5aaf2c
3d46889bd80a69d665de0d61d1035b04359154d3
/PolymorphismSubmissionAssignment.py
492f5d5e74c16290541e16ac7ccac083053c587e
[]
no_license
Kelinz74/Python-Projects
182e30636775a2ada5cb5f4735142df569c28fac
87cb6a97f394031c2ce6eeda22e1e7f5fe8d9b3e
refs/heads/main
2023-08-24T08:42:27.177603
2021-09-30T03:02:12
2021-09-30T03:02:12
402,674,304
0
1
null
null
null
null
UTF-8
Python
false
false
3,438
py
## Parent class class Avenger: company = "Avengers" name = "" email = "" password = "" department = "" # a function for the parent class for a mission statement to be displaid with each successful login def foundation(self): msg = "Protecting the future: {}\n".format(self.co...
[ "noreply@github.com" ]
Kelinz74.noreply@github.com
5043e33106daca70e5c1091684a4d3b45a1fbf1b
2d15135e3559c65374b38abd47e9289c41c042b2
/server.py
e4d42f02581eeac5a6e90e1c13c8b659bfeec675
[]
no_license
diana-xie/btc_prediction
33e418bc35f33835fd5439ddef3eb3c8fd92a4d0
bbecc4c45b9ab15a925e704357f689736de93db2
refs/heads/master
2022-12-12T10:55:44.348461
2020-09-10T00:57:57
2020-09-10T00:57:57
294,164,665
1
0
null
null
null
null
UTF-8
Python
false
false
2,222
py
""" Runs the endpoints for BTC predict, train, unit tests """ import tensorflow as tf from flask import Flask, jsonify, request import os import logging import pkg_resources import pandas as pd from tests.test_conf import test_conf from tests.test_preprocessing_train import test_preprocessing_train from tests.test_m...
[ "noreply@github.com" ]
diana-xie.noreply@github.com
10a68c431ed91e2b2ac04ec4a3f1b21f88858fba
4a4e59ee97112c69412f61ccee0c885bc8230834
/ssfunction.py
79f93e516ac96e000cf91f25b49f9de144c0189e
[]
no_license
harshantil/Firstpython
f11c846aa7b80ac5deababa8bf77efc49e732006
7f93cbd3013126c48def448d511c652c619c87d9
refs/heads/main
2023-07-06T00:16:46.784303
2021-08-06T11:42:22
2021-08-06T11:42:22
377,393,270
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
import time from selenium import webdriver from pynput.keyboard import * def browser(driver): driver = webdriver.Chrome(r"C:\Users\harsh\Downloads\chromedriver_win32\chromedriver.exe") url = "https://accounts.google.com/signin/v2/identifie" driver.get(url) # Going to Url driver.maximize_window() s...
[ "harshantil@gmail.com" ]
harshantil@gmail.com
5c61c5283583e4f8005ab3374fa0c5dfff7297da
7c6096fda1c62882aecde1b585418eee7a5e76da
/forums/migrations/0006_questions_tags.py
a9ee72ccd5a8068984a1f879b3ff58b0e65b5582
[]
no_license
Lokesh-Balla/StackCopy
dec2596ce6c68cea6deb498a60e331b280ea4be7
05604b8719b301144f295dccad893ab6e170bee9
refs/heads/master
2023-02-08T04:29:20.070834
2020-07-14T17:07:30
2020-07-14T17:07:30
193,842,871
0
0
null
2023-02-04T05:18:40
2019-06-26T06:27:46
Python
UTF-8
Python
false
false
387
py
# Generated by Django 2.2.2 on 2019-06-30 05:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('forums', '0005_answers_user'), ] operations = [ migrations.AddField( model_name='questions', name='tags', ...
[ "Lokesh-Balla@users.noreply.github.com" ]
Lokesh-Balla@users.noreply.github.com
ca4d478fbd596a33844375f314113fc89a94ff1e
d674009298cb8ecfeb97ed0dcac5820a1a34c469
/catalog/migrations/0002_auto_20201113_1659.py
f657f39b1fcef96fe2f0ec45a09a1258f1c3781e
[]
no_license
pavelpyn/salon
e21eee434a901d7168aa20493690701ba6959611
7b88f77caf8d948e81f81b51277f2102d6897d09
refs/heads/main
2023-01-12T22:28:25.236529
2020-11-18T09:28:38
2020-11-18T09:28:38
313,882,960
0
0
null
null
null
null
UTF-8
Python
false
false
3,041
py
# Generated by Django 3.1.2 on 2020-11-13 13:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0001_initial'), ] operations = [ migrations.AlterField( model_name='service', name='price_1', ...
[ "pavelpyn@gmail.com" ]
pavelpyn@gmail.com
f0b5d8049387f82fdc10423ed90621cbe0c3bdef
444a9480bce2035565332d4d4654244c0b5cd47b
/research/nlp/dgu/src/dataset.py
b0e7e7d67e9e558b44bf62623dcbbab8f34c71a8
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-proprietary-license" ]
permissive
mindspore-ai/models
7ede9c6454e77e995e674628204e1c6e76bd7b27
eab643f51336dbf7d711f02d27e6516e5affee59
refs/heads/master
2023-07-20T01:49:34.614616
2023-07-17T11:43:18
2023-07-17T11:43:18
417,393,380
301
92
Apache-2.0
2023-05-17T11:22:28
2021-10-15T06:38:37
Python
UTF-8
Python
false
false
21,879
py
# Copyright 2021 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "chenhaozhe1@huawei.com" ]
chenhaozhe1@huawei.com
ae9d6a61eca7fe11f99e20f1e31752dd023a83a1
1ec9f86c460a7ca5fadb2ccf9f6cdf9c2c4b3287
/backend/users/views.py
dc704a594394f7747d430090e38531dd1d68991a
[]
no_license
sushant2308/Meet-the-doctor
0b53fa7f9200debc8392b79b92bf826e77d8da60
1ed16b30ea26434a1ccda298294f1c1550d0857d
refs/heads/master
2023-08-24T10:21:32.677065
2021-10-14T07:43:03
2021-10-14T07:43:03
384,092,646
1
1
null
null
null
null
UTF-8
Python
false
false
1,910
py
from rest_framework import generics, authentication, permissions from rest_framework.authtoken.views import ObtainAuthToken from rest_framework.settings import api_settings from rest_framework.response import Response from rest_framework.decorators import api_view from .serializers import UserSerializer,SigInSerializer...
[ "raisushantkumar726@gmail.com" ]
raisushantkumar726@gmail.com
ae7fc20183651cc33c0675dd8b8869440efb4d14
2e4bd74698ce47c5f81699076bd367407a1e3a72
/lists/tests.py
e40f2691d63b115fbc66d5969035aef9ed67542b
[]
no_license
Onwughara-CK/obey_the_testing_goat
2e0e1d2f1b828b69e4eb638e4a8f18323e6a3abb
eaedc4203acb9b9ea461c9970e79a10a53e622ce
refs/heads/master
2022-11-30T02:55:30.345380
2020-08-17T21:02:41
2020-08-17T21:02:41
287,971,710
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
from django.test import TestCase from django.urls import resolve from django.http import HttpRequest from .views import home_page class HomePageTest(TestCase): def test_root_url_resolves_to_home_page_view(self): self.assertEqual(resolve("/").func, home_page) def test_home_page_returns_correct_html(se...
[ "kelechicollins.93@gmail.com" ]
kelechicollins.93@gmail.com
fe617ba47c9efdffab6c275fdc564daa8bb65ee9
80301f1cffc5afce13256e2ecab6323c5df00194
/cn.3rd/py/A0024.py
35dc33ee31bc4810216c072c4f632d116a8f110f
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
27,855
py
from ED63RDScenarioHelper import * def main(): SetCodePage("gbk") # 调试地图 CreateScenaFile( FileName = 'A0024 ._SN', MapName = 'map1', Location = 'T0030.x', MapIndex = 1, MapDefaultBGM = "ed60010", Flags ...
[ "zhenjian.c.yang@gmail.com" ]
zhenjian.c.yang@gmail.com
be62c7f3c5cef47b942b7cd5168fccf4f58c10c0
6650b65399aed93cfbc1abc55f2160e3d911b069
/noun_generator.py
b1507100ae448c1b4cc5296d777a9c6c38ef43d7
[]
no_license
Simon198/german_noun_generator_bot
832c3e1d80ae04e0bfa1a2d4e171184204ab48c1
1eb8368514fdd8c52a17def2f944de22dcdbe950
refs/heads/main
2023-02-05T06:21:57.560060
2020-12-24T13:19:21
2020-12-24T13:19:21
324,149,666
0
0
null
null
null
null
UTF-8
Python
false
false
1,350
py
from telegram.ext import Updater, CommandHandler, MessageHandler, Filters, CallbackContext from telegram import Update, Bot import os import random dir_path = os.path.abspath(os.path.dirname(__file__)) with open(dir_path + '/nouns.txt', 'rb') as file: nouns = file.read() nouns = nouns.decode('utf-8').split('\...
[ "simon.heinrich@iesy.net" ]
simon.heinrich@iesy.net
9aac217d250bec6154a2df018e9272e61fac82ab
1cee80627744f448efea6fac3c91c471e6b1cba9
/resott/asgi.py
b78850c84f3b91e7246d72e948d8cb3ffaf41c63
[]
no_license
AJ10-1/resott
47cf314b47e8352ab9184785f36986a1915101e7
9d1839d7459943eec2cf365490836b4ce78129e6
refs/heads/master
2023-09-01T07:05:57.440647
2021-11-03T08:47:12
2021-11-03T08:47:12
424,101,081
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
""" ASGI config for resott project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "ayushjaiss@gmail.com" ]
ayushjaiss@gmail.com
6d6cd4acc897db1f094012fabc3bba85a8afe094
5a212d29890119f91d61b0d6c8f701277f25b875
/piixxie/errors.py
166fa7e9bc0ec01fb61375341af416b64945410d
[]
no_license
Hooksie/piixxie
c922f78971b9cdea31979a6134180b6bea86704c
d1f126de0a3e63fc01548c23789f510c89a0f756
refs/heads/master
2021-01-20T17:58:17.477498
2016-06-24T05:04:18
2016-06-24T05:04:18
61,847,793
1
0
null
null
null
null
UTF-8
Python
false
false
442
py
class PiixxieError(Exception): """ Generic error base class for anything Piixxie related. """ pass class VerificationError(PiixxieError): """ Generic error raised when input image does not meet our requirements for processing. """ pass class DimensionError(VerificationError): ...
[ "me@matthooks.com" ]
me@matthooks.com
337f7594697dfc64854074ccb19bdcce8234e917
7c5fa53b0bf3e45aabc0513f31ee17ad1233bb36
/traffic_generator/DragonflyLoadSingleGlobalLinkTrafficGenerator.py
e351dfd901bb188d2cd52e0e7dd685b6c744c00a
[ "MIT" ]
permissive
minyee/TAGO
cd20587a170153871c62636ed75bbe6cbaf36655
9fea77cc39aa035796ab3ca52e95ebb66ffe0e7f
refs/heads/master
2022-09-18T07:00:30.525054
2020-06-01T00:47:57
2020-06-01T00:47:57
268,355,125
3
0
null
null
null
null
UTF-8
Python
false
false
1,376
py
import TrafficGenerator, sys, os sys.path.append('../') import UniformGroupDragonfly import numpy as np class DragonflyLoadSingleGlobalLinkTrafficGenerator(TrafficGenerator.TrafficGenerator): def __init__(self, topology): TrafficGenerator.TrafficGenerator.__init__(self, topology) return def generate_traffic(se...
[ "mt3126@columbia.edu" ]
mt3126@columbia.edu
fd79b74367b169eecee4829c8730e2662173b58b
3efa3a2bcdd38c27beeb967a9e99c6afc17e6e6f
/pipelines/pipeline_dianping.py
89e7dab6d480d935465d72ac2124b52a26663b5e
[]
no_license
chocoai/integrated_crawler
6f266ef54d096096c71ec5bd28463393164126d1
5d75d2781d2adfcd6524e8a2edfeb2fb2267571b
refs/heads/master
2020-04-26T03:07:07.995759
2019-02-25T10:42:59
2019-02-25T10:42:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,512
py
# -*- coding: utf-8 -*- import os, re import time, datetime import csv import sqlite3 as sql import ssl import pandas as pd from utils.general_request import * logging.basicConfig(filename='logs/utils_pipeline_dianping.log', level=logging.WARNING, format="%(asctime)s - %(levelname)s - %(message)s...
[ "kevin_jfzhu@163.com" ]
kevin_jfzhu@163.com
be6a016ce6c16fe2faa6e74c48ad6571cc088641
b33ddc7b89d05e19fdeb69593872fd174fab9f4f
/URI-py/2875.py
49dc31d7091f31bea192a97075a7c40e9e9f21a3
[]
no_license
ThiagoCComelli/URI-Online-Judge
8b8d609d880342b39ba0d396c0610ecb7e01a5af
5348f736b2d683f4b857232c22cccb7c1d8b8d65
refs/heads/master
2020-07-23T15:14:05.353948
2020-03-10T19:42:12
2020-03-10T19:42:12
207,606,956
1
0
null
null
null
null
UTF-8
Python
false
false
337
py
# -*- coding: utf-8 -*- while True: try: n,m = map(int, input().split()) lista = [] lista1= [] for i in range(n): lista.append(input().split()) while True: for i in range(n): for j in range(m): a =a except EOFErr...
[ "thiago.comelli@outlook.com" ]
thiago.comelli@outlook.com
2d883d197753ff27c2d2713d689c61047b3dd2eb
517693716ff4d3f642dda194767cbc03bb37cd1b
/src/data_functions.py
5d48879422f5b92f52c3c1c5dbc7b4a6d8dd580a
[]
no_license
bradley-p/Solar_Energy_Forecasting
3cb1951507a1336ee0cf65133cfd0b861ee7454c
22317b2fdf51e3d973b32ceef42bc6e68754f6cc
refs/heads/main
2023-04-17T22:52:28.000990
2021-05-04T17:03:18
2021-05-04T17:03:18
348,751,582
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
import numpy as np import astral from astral import sun import pytz from datetime import datetime import pandas as pd import matplotlib.pyplot as plt ### # File contains methods useful for curating data # helps to clean-up the data curating notebook # provides method that computes elevation, azimuth, and zenith using...
[ "70186602+bradley-p@users.noreply.github.com" ]
70186602+bradley-p@users.noreply.github.com
0a1abc1df723114b5f626549217071f99ce3f6d6
1dce03e6f3f5b23d1e5c599678624638943b9422
/docker/create_docker_images2.py
c963255960a9c9025948e08941e44f9ffe9c6e2f
[]
no_license
volat1977/byte_of_python
76ec958bdc51c7538bb24e5d152b456feab603ca
60b58ca3927ef5e2801c93dd676d5f8b4c03d9fc
refs/heads/master
2020-12-26T07:23:10.562537
2020-03-24T05:31:03
2020-03-24T05:31:03
237,431,769
0
0
null
null
null
null
UTF-8
Python
false
false
587
py
from io import BytesIO import docker dockerfile = ''' # Shared Volume FROM busybox:buildroot-2014.02 VOLUME /data CMD ["/bin/sh"] ''' f = BytesIO(dockerfile.encode('utf-8')) cli = docker.from_env() response = cli.api.build(fileobj=f, rm=True, tag='test3', decode=True) #for line in response: # if line.keys()[0] in (...
[ "alex@pop-os.localdomain" ]
alex@pop-os.localdomain
19d98f14f17b5614f275bb4b833370621df30e75
863e3aaca85d79dd9891cc1dc42dcb6541e253c4
/src/shortener/migrations/0001_initial.py
33d90b3acf25978d34d5ef51632f90056a9c9d7e
[]
no_license
Swain0114/trydjango_100
47cf65feb44bf93de680bfbcf33e16ea85294ac6
5fbe60a5034bfcb0caa62f3f8529e7495cbfc8e6
refs/heads/master
2021-01-12T09:21:57.298717
2016-12-24T02:03:53
2016-12-24T02:03:53
76,149,189
0
0
null
null
null
null
UTF-8
Python
false
false
767
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2016-12-12 23:02 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='shorte...
[ "tony820114@gmial.com" ]
tony820114@gmial.com
4aa9aa10086ca521fc6643a0560e8adf06af8ee0
ceb282df59afb5714dda768c9ee26ae8c3cd14ef
/api/src/apps/pages/models.py
c612e3e6d43114951e4100adf6d14aa6688753ef
[]
no_license
ukiyodigital/float
5aaee3080a7028008edee259e14ba5b5dfe323c8
1f3be29cba8273ab1b0e837de4eb53f2d49fc24c
refs/heads/develop
2023-03-14T03:16:02.859606
2022-03-21T15:34:03
2022-03-21T15:34:03
163,778,265
2
0
null
2023-02-28T06:20:45
2019-01-02T00:57:46
TypeScript
UTF-8
Python
false
false
1,284
py
from django.db import models from django.contrib.postgres.fields import JSONField from django.core.serializers.json import DjangoJSONEncoder from apps.sites.models import Site from apps.column_headers.models import ColumnHeader from apps.users.models import User from apps.column_headers.utils import ColumnManager c...
[ "kevin.a.cunanan@gmail.com" ]
kevin.a.cunanan@gmail.com
974761893925c0cb51e9a1d433306bab6ff66024
c083f88701e27bbbda10b8b5e90763ad20297b42
/dch_002/settings.py
02d9223eb0f82dc23588839fbd3b9aacb51e6a4f
[]
no_license
Shakeel-Nawaz/dch_002
70e9e713f6b7b23b30c180c2509a8484e1b682b5
24eda80b9a66f255fd3b79569caf2d20181e6ecd
refs/heads/main
2023-08-30T05:11:06.316241
2021-10-14T08:02:23
2021-10-14T08:02:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,497
py
""" Django settings for dch_002 project. Generated by 'django-admin startproject' using Django 3.2.8. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib...
[ "Shakeelnawaz1@gmail.com" ]
Shakeelnawaz1@gmail.com
274f35141adb643bb2d94588530768a198f2b6b9
657aa6770a486ed812af26c6ec824a5e8bac1eab
/venv/Scripts/pip3.8-script.py
15e1a9ac428e1c0fb220fb3ed62f5b3bacc114b5
[]
no_license
hemangibavasiya/ImageToArray
35f93a194de552832584af3d4d468ee2b2826425
3b61d575ec8c5fe652c3e16aeff5c263c1cd2e32
refs/heads/master
2022-12-17T06:37:54.800910
2020-09-21T05:53:03
2020-09-21T05:53:03
297,242,310
0
0
null
null
null
null
UTF-8
Python
false
false
433
py
#!C:\Users\Hemangi.Bavasiya\PycharmProjects\ImageToArray\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3.8' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)...
[ "hemangibavasiya08@gmail.com" ]
hemangibavasiya08@gmail.com
d753d0c4da9bb638deab2a12cfdd73f9e4680cb5
bac7a7507933ac5bb38b41bbe2a587764da3cf94
/snappy_wrappers/wrappers/link_in_bam/wrapper.py
09790324734c2213f0b8a7b3f82af6b18a1c8997
[ "MIT" ]
permissive
Pregelnuss/snappy-pipeline
923b0f36117a2f55ee52f9a8564ed3bb82a8be16
31200eba84bff8e459e9e210d6d95e2984627f5c
refs/heads/master
2023-06-19T07:24:04.736033
2021-05-27T07:24:05
2021-05-27T07:24:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,063
py
# -*- coding: utf-8 -*- """CUBI+Snakemake wrapper code for external: Snakemake wrapper.py """ from snakemake import shell __author__ = "Oliver Stolpe <oliver.stolpe@bihealth.de>" shell.executable("/bin/bash") this_file = __file__ input = snakemake.params.args["input"] if not input: raise Exception("No bam foun...
[ "manuel.holtgrewe@bihealth.de" ]
manuel.holtgrewe@bihealth.de
744364012adc66c65453484e42e764b92591af0a
2fdcbdc3a179a861cf0b59ccbafa6f8153e53566
/artifacts/admin.py
79873b45d4fea619373aff83133d6f33b7063d85
[]
no_license
Rasquin/auction
c6342ed4737d024c81667f03550d8dc093bb0458
f2fc9dc72ab7a34172329045d4e948780dc2c4e2
refs/heads/master
2022-07-12T07:04:53.202963
2020-02-04T15:52:20
2020-02-04T15:52:20
211,497,820
1
1
null
2022-06-21T23:50:09
2019-09-28T12:34:57
HTML
UTF-8
Python
false
false
121
py
from django.contrib import admin from .models import Artifact # Register your models here. admin.site.register(Artifact)
[ "ubuntu@ip-172-31-42-208.ec2.internal" ]
ubuntu@ip-172-31-42-208.ec2.internal
583338bd6695ced08d352a82aa0bb9b38a8f8527
2ef7e7785b1f4bba60bf384cc878ed6948eb7fbe
/4 Kyu/stripComments.py
78da9397af08d94eb0602c6e9304375dc13b2ec6
[]
no_license
Muneer320/CodeWars-Solved-Katas
16efcc9eca9ab635fdcb9c17ac9c177cc49a3ae9
4162ae7f9b48bbc08e1fa2743ee11b0fc4fd2318
refs/heads/main
2023-04-05T16:34:02.606131
2021-04-22T14:50:07
2021-04-22T14:50:07
360,554,852
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
def solution(string,markers): parts = string.split('\n') for s in markers: parts = [v.split(s)[0].rstrip() for v in parts] return '\n'.join(parts) print(solution("apples, pears # and bananas\ngrapes\nbananas !apples", ["#", "!"]))
[ "noreply@github.com" ]
Muneer320.noreply@github.com
1ab744d642d54a043628e569b66babf9d7646fbc
1228750f9b95c5c2fb9a1d5cb339275db979356b
/anytime_models/examples/resnet-ann.py
64befd9e662b1cc774411440061df920bb1e721c
[ "MIT" ]
permissive
microsoft/petridishnn
be0236b9385c7523ca71cfd171f95beaca5d851a
0e0431a56db893ef8ee14501f12bf7046d4d6024
refs/heads/master
2023-06-29T20:58:01.980267
2023-06-12T18:22:32
2023-06-12T18:22:32
180,651,701
123
24
MIT
2023-06-12T18:22:33
2019-04-10T19:39:36
Python
UTF-8
Python
false
false
657
py
import argparse import anytime_models.models.anytime_network as anytime_network from anytime_models.models.anytime_network import AnytimeResNet, AnytimeResNeXt import ann_app_utils """ """ if __name__ == '__main__': parser = argparse.ArgumentParser() parser = ann_app_utils.parser_add_app_arguments(parser) ...
[ "hanzhang@cs.cmu.edu" ]
hanzhang@cs.cmu.edu
93b36a9baec19346f743510cee81a567f11fbd3a
d5adda4f7abb3c066b7c3c24e0871cfba0e6ca2d
/IPnetwork/get_udp.py
1fb90139ca4cda6b073ed7afa071ffddeaf210d4
[]
no_license
qwertpas/practice
8bb21caa629956787890d631c3026473742ac401
29b75ab01a2ce06b8b347aa5ded06451c598d78e
refs/heads/master
2020-04-09T06:06:45.659528
2018-12-02T21:33:20
2018-12-02T21:33:20
160,098,576
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
import socket import sys port = 8081 # Create a TCP/IP socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.bind(("", port)) print("socket: ", sock) running = True while running: the_data, the_addr = sock.recvfrom(1024) print("R: ", the_data, '\t\t A: ', the_addr)
[ "christopher.y.x@gmail.com" ]
christopher.y.x@gmail.com
6915ead1ba750b7569a4d25b34f4be68242230f5
a4133ac0cfce656b47fe2ea6161a9f1656afa0e8
/video.py
db4c55c6c781a82aeb60d2f364d3fcecfe4c2487
[]
no_license
xHascox/Simple-HDR-Video
531d4b5baba2fd5ed2eac473484f65a54e318b86
aac2e6a1acfb6c69de214ac29bf6ba6892723886
refs/heads/main
2023-03-21T13:54:20.355709
2021-03-13T01:59:58
2021-03-13T01:59:58
346,901,991
1
0
null
null
null
null
UTF-8
Python
false
false
918
py
import cv2 import tkinter from tkinter.filedialog import askopenfilename def play_videoFile(filePath,mirror=False): cap = cv2.VideoCapture(filePath) #modify: width = 1920 height = 1080 #cv2.namedWindow('VideoHDR',cv2.WINDOW_AUTOSIZE) cv2.namedWindow('VideoHDR',cv2.WINDOW_NORMAL) ...
[ "mg.marco@hotmail.ch" ]
mg.marco@hotmail.ch
e61d9c8b65dd2e6ddb62065629685896f512ffb7
0fe37e11df976c55fe5bbe492879b7cd8a95b7c5
/1_2_python变量_输出和输入_数字_字符串/04_str_test.py
3444adc19895857e5d4fee8cb2347e41708b2bfb
[]
no_license
1286211699/mmc_code
9bb7761107604b445dea4fe5acf9d503fbc28dfa
ee97879632dfd7d24c604f7db52c82fa29109daa
refs/heads/master
2022-12-08T23:19:06.382825
2020-05-08T13:59:46
2020-05-08T13:59:46
177,100,815
2
0
null
2022-12-08T01:42:47
2019-03-22T08:25:37
HTML
UTF-8
Python
false
false
1,896
py
# name = 'for' # # name = "for's name is for" # print(name) # print('abcd\tefg') # print('My name is %s'%('for')) # print('I am %d years old'%(18)) # print('his height is %f m'%(1.78)) # print('his height is %.2f m'%(1.78)) # name = 'while' # # print(name[1:3]) # str_test = 'hello wo...
[ "1286211699@qq.com" ]
1286211699@qq.com
0f7094b034b985bf56a41a69f249db48b9d49c8b
2d8ad2abcf35fa4cbaad865b651cdb6f0dcff88a
/ibitcy_tests/pages/payment_page.py
933d908a5025396ff39c0ae7bca05536466528d4
[]
no_license
Raioln/ibitcy_tests
a5c5902c9690297649594ab22d84c08f47ce2b41
6972f7561a1c517949087b05da420880b7ed676e
refs/heads/master
2020-08-04T17:33:32.140471
2019-10-01T23:59:54
2019-10-01T23:59:54
212,221,557
0
0
null
null
null
null
UTF-8
Python
false
false
316
py
from selenium.webdriver.common.by import By from pages.base_page import BasePage from utils.locator import Locator class PaymentPage(BasePage): status_selector = Locator(By.CLASS_NAME, 'status-selector', 'Селектор статусов') gold_item = Locator(By.CLASS_NAME, 'gold', 'Статус Gold')
[ "d.evlashkin@cian.ru" ]
d.evlashkin@cian.ru
404ccc4de81309e69083b0b19bb3d53830a09a20
9b64f0f04707a3a18968fd8f8a3ace718cd597bc
/huaweicloud-sdk-gaussdbfornosql/huaweicloudsdkgaussdbfornosql/v3/model/list_instances_datastore_result.py
34f5b1f20917eabd5ea29c17543d8217b496429f
[ "Apache-2.0" ]
permissive
jaminGH/huaweicloud-sdk-python-v3
eeecb3fb0f3396a475995df36d17095038615fba
83ee0e4543c6b74eb0898079c3d8dd1c52c3e16b
refs/heads/master
2023-06-18T11:49:13.958677
2021-07-16T07:57:47
2021-07-16T07:57:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,366
py
# coding: utf-8 import re import six class ListInstancesDatastoreResult: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is j...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
c276920814b35fe507549c51ba57f9cb4f8203e7
068c4665dc7b803df0fc02524cfdb01fff1674da
/Fraction.py
0be0f332c82ec1f3e67dc3b912217171f70c3dc5
[]
no_license
TingYang227/Python
86512e01adf676cee943fa9ab78ce018f19dcc91
6bc48c6f688f9a3088e34a2117c861b97ddcdc75
refs/heads/master
2020-04-20T20:26:53.693987
2019-11-07T17:50:53
2019-11-07T17:50:53
169,076,968
0
0
null
null
null
null
UTF-8
Python
false
false
2,145
py
def gcd(m, n): while m % n != 0: oldm = m oldn = n m = oldn n = oldm % oldn return n # print(gcd(20, 10)) class Fraction: def __init__(self, top, bottom): self.num = top self.den = bottom de...
[ "39301486+TingYang227@users.noreply.github.com" ]
39301486+TingYang227@users.noreply.github.com
cfa47b057d7d920775909b59ce508a0a03f128f1
385a8d743feb238fb0d939c58b564232aa5f5291
/tekton-master/backend/appengine/routes/relatorios/rest.py
6b7c0b8c7d68982f9ea5b9c07bc20b1b75b9e237
[ "MIT" ]
permissive
lucasgcampos/app-engine-learning
7189439e9e431f738f05e0463b6dce8bf6601d8f
0c582d6150be152e55464b6bdfb5c6ab1d5c26fb
refs/heads/master
2016-08-02T22:02:31.816654
2014-11-14T03:36:01
2014-11-14T03:36:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,149
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from gaebusiness.business import CommandExecutionException from tekton.gae.middleware.json_middleware import JsonResponse from relatorio_app import facade def index(): cmd = facade.list_relatorios_cmd() relatorio_list = cmd() ...
[ "lucasgcampos.contato@gmail.com" ]
lucasgcampos.contato@gmail.com
772770f9242c44fcce1f2f8a76f0f56cd8a222fb
a29c96b6fc4942b519edcd7157d42f34add78feb
/horovod/spark/keras/estimator.py
9be8b9bd942d3460316ce5d4764fdfb3ce636617
[ "Apache-2.0", "BSD-2-Clause", "BSD-3-Clause" ]
permissive
xielm12/horovod
5662456cd3626ba3f9fed426bbee1901f1a27014
32e5fdbf33fb2dac9d725028a886a093984c3618
refs/heads/master
2022-12-25T20:10:39.771600
2020-09-22T22:01:47
2020-09-22T22:01:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
23,429
py
# Copyright 2019 Uber Technologies, Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "noreply@github.com" ]
xielm12.noreply@github.com
5c3a52dd83cd5f04121594050743968d48bc5958
7d21205946b306ca29aace9b4a798b8d9fa5bad2
/bot.py
5c3636b09b508ad15c20cfeff277833272b75e45
[]
no_license
simorautiainen/aimboosterbot
9e66108da2780df2a0d0e0428ab1e55e8d2f5533
f2512289255126fdfb8d39f90b01c6cf043fa82c
refs/heads/master
2020-04-14T05:50:09.237499
2018-12-31T13:39:34
2018-12-31T13:39:34
163,670,367
0
0
null
null
null
null
UTF-8
Python
false
false
712
py
import cv2 import numpy as np import pyautogui image = "dot7.png" img = cv2.imread(image) height, width, channels = img.shape def imagesearch(image): im = pyautogui.screenshot() img_rgb = np.array(im) img_gray = cv2.cvtColor(img_rgb, cv2.COLOR_BGR2GRAY) template = cv2.imread(image, 0) template.sh...
[ "noreply@github.com" ]
simorautiainen.noreply@github.com
ae63166e12243568d153ba12655979e284186b4d
4529f9b7a19536b01873bc23440f2192a98d3c50
/Easy/746_Min Cost Climbing Stairs.py
a1249d945a74fceb13cd93e8891a09e44754e11b
[]
no_license
j611062000/leetcode
c6bf315ce682dc362ac5dcd856c30c2af1aad90c
cbaa63d4f094f58d48037119b60aed73edb166e5
refs/heads/master
2020-03-31T01:50:12.088992
2018-11-17T03:48:35
2018-11-17T03:48:35
151,796,637
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
""" To construc the answer for n data (i.e. P(n)), two secenarios are introduced to simplified the calculation. First (one step to the end): The minimal cost of this scenario is S(n-1) + X(n). Second (two step to the end): The minimal cost of this scenario is S(n-2) + X(n-1). data = [X(1), X(2), ..., X(n-2), X(n-1), ...
[ "j611062000@gmail.com" ]
j611062000@gmail.com
1c18ab29aa811efe6d238546d9645e0ba2238440
118b53acb66b52e1a2c87129c680074a4b3a24a1
/utils/gen_config.py
137e297393c3aeba869cc170266e736288626e87
[]
no_license
LomiJA/TTS-Eval
7f1be8ed27f1feb0fe656b14107f53963ce566b8
07c6e20499162b74a9190771f401aa4c528b56a5
refs/heads/master
2020-12-31T00:39:57.240621
2017-03-27T15:05:07
2017-03-27T15:05:07
86,559,081
1
0
null
2017-03-29T08:47:45
2017-03-29T08:47:45
null
UTF-8
Python
false
false
1,197
py
import os if __name__ == "__main__": json_str = "var config = " json_data = {"baseurl":"data", "exps":[]} for exp in os.listdir("./data"): exp_dic = {"path":exp} exp_dic["styles"] = [] exp_dic["info"] = "" exp_path = os.path.join("./data", exp) for stl in os.li...
[ "nanqiao15@126.com" ]
nanqiao15@126.com
7f4785759eb9b5506425258ad834ea689dbb737f
3452e3335bce9dc6405175ea3b7d1a4bf75988dd
/core/creature/__init__.py
4ce294630de5da88e39eac68fba9f57f3ac62f54
[]
no_license
mwerezak/arena
7480723b98f51aee259812b2890bdb1c08f201b9
31e27a9bdb83c9e9d28a1419d1dabdddf2906d82
refs/heads/master
2023-04-10T00:33:07.199527
2021-04-15T12:27:28
2021-04-15T12:27:28
358,059,683
0
0
null
null
null
null
UTF-8
Python
false
false
77
py
from core.creature.creature import Creature from core.constants import Stance
[ "mwerezak@gmail.com" ]
mwerezak@gmail.com
f49836386eb4a843e803fa9e83c186e024a5b259
6ef0bbc5be7ba14286725cd37b01522bda1bd405
/judgements/indicator.py
0be983132959fc9802d2e58873722dc9a75e1fcb
[]
no_license
Shanney/StockCenter
b27646ed91899221e37af6685d533a46d1bb10a9
e757430d733405b2219fae15951c9c460783171b
refs/heads/master
2021-06-29T23:59:40.503090
2021-01-03T12:59:06
2021-01-03T12:59:06
203,547,447
0
0
null
null
null
null
UTF-8
Python
false
false
2,094
py
import numpy as np def consecutive_five_year_roe(indicators): # 返回连续五年ROE,应该只关注roe大于15%的企业 result = {} roe_positive_flag = True consecutive_detail = '' for indicator in indicators: # print(indicator.loc[0].statDate + ' ' + str(indicator.loc[0].roe)) if indicator.loc[0].r...
[ "49220598@qq.com" ]
49220598@qq.com
dafe3dc13683000b2708c82793a3b1ef4ea3dff2
ae1e3dc35b67479ee2d15475c29ccf849c9b02a7
/ext.py
497548aef6f152e29cde53bc33fd30414c5c0986
[]
no_license
matrixback/network_printer
22d862d7741231b19f352c8369a3cdaad670691d
bd0c0cb653033d6b9d42aca0231e5f6af8e728d9
refs/heads/master
2021-01-24T06:49:06.725377
2017-06-06T15:48:07
2017-06-06T15:48:07
93,324,609
0
0
null
null
null
null
UTF-8
Python
false
false
74
py
# coding: utf-8 from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy()
[ "18302835641@163.com" ]
18302835641@163.com
7030689c1007a648531f281ccdefe78c8ca50ba3
6abccf219d813a7d328c8fc351cba992e77fa18a
/utilities/teststatus.py
1c0996f1b51278c8a180533d21d7ffbb1aad6f08
[]
no_license
thotha3/pythonProject
65bee0d9533590b44a9d884007d03dfe70e2509b
902f551430a43e6d3012145603acb728c67537b5
refs/heads/master
2023-08-08T01:40:32.882290
2021-09-16T20:26:29
2021-09-16T20:26:29
407,305,684
0
0
null
null
null
null
UTF-8
Python
false
false
2,319
py
""" @package utilities Checkpoint class implementation It provides functionality to assert the result Example: self.check_point.markFinal("Test Name", result, "Message") """ import logging from base.selenium_driver import SeleniumDriver from utilities import custom_logger as cl class TestStatus(SeleniumDriver): ...
[ "thotha3@hotmail.com" ]
thotha3@hotmail.com
3c061683d05e01d2e49fdf44a9642b8ba3230d38
7942342d457276bb266228d0236af647b3d55477
/django/contrib/auth/__init__.pyi
24b49bc00c2f2782b020918d77e8d81ac3a388da
[ "MIT" ]
permissive
AsymmetricVentures/mypy-django
847c4e521ce4dec9a10a1574f9c32b234dafd00b
f6e489f5cf5672ecede323132665ccc6306f50b8
refs/heads/master
2020-06-30T01:53:44.434394
2016-12-22T22:45:50
2016-12-22T22:45:50
74,397,884
0
0
null
null
null
null
UTF-8
Python
false
false
840
pyi
# Stubs for django.contrib.auth (Python 3.6) # # NOTE: This dynamically typed stub was automatically generated by stubgen. from typing import Any, Optional from django.apps import apps as django_apps from .signals import user_logged_in as user_logged_in, user_logged_out as user_logged_out, user_login_failed as user_lo...
[ "reames@asymmetricventures.com" ]
reames@asymmetricventures.com
48f499336b8be9120c3c86fe72d451b976c35f50
6a893f1219c1fc94b60f19c95596fabb1a18b241
/Assignment2/main.py
c6bb8b7a6adbe8b47c13ec8fcea92ea4b467ca11
[]
no_license
WangZesen/DD2424-Assignment
3f4f30442578b7d11871da5c9d69b3fc797b6942
e1b284b5b0e7174dbcdf665402efb12cb696c36a
refs/heads/master
2020-03-11T21:37:18.077471
2018-04-19T20:52:43
2018-04-19T20:52:43
130,270,744
0
0
null
null
null
null
UTF-8
Python
false
false
15,639
py
import random, math import numpy as np import copy as cp import scipy.io as sio import matplotlib.pyplot as plt def activateRelu(input_data): # input_data: d_in * N output_data = cp.deepcopy(input_data) output_data[output_data <= 0] *= 0.00 # change to 0.01 if it's leaky ReLU return output_data def fullyConnect(...
[ "noreply@github.com" ]
WangZesen.noreply@github.com
a78236e4cafcb2ac69887a145feeb786c907399e
6dda2ac01f624757069a9f9a7328b5a574a480c0
/week-04/day-04/11.py
0fac651072311c1af79f160402bc616d7a50041d
[]
no_license
greenfox-zerda-lasers/brigittaforrai
976b8e0dacbf791a76e5e59c3f034cadd106b8e6
a2213ba268f2e777b1190a79d9ff0360f593cad5
refs/heads/master
2021-01-12T18:18:49.042219
2017-02-19T15:36:49
2017-02-19T15:36:49
71,362,581
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
from tkinter import * root = Tk() size = 600 canvas = Canvas(root,width=size, height=size, bg="yellow") canvas.pack() def draw(x,y,size): canvas.create_rectangle(x,y,x+size,y+size) if size > 5: draw(x,y+size/3,size/3) draw(x+(size*(2/3)),y+size/3,size/3) draw(x+size/3,y,size/3) ...
[ "forraibrigi@gmail.com" ]
forraibrigi@gmail.com
b5e8c503a72c662e758f0301bb837a77098edce3
4e980eca143b2e3fd9523014d4a9e22a79089328
/pontuacoes/apps.py
80570d53af2bd7de854f3cd52a6728421acdcefa
[]
no_license
silasgon/gamep-admin
5d1f9149c0a10260a93f4020108806df3b8c15de
9f3c9970b92dfb7254c4ccf081446303a25df8b9
refs/heads/master
2020-04-08T08:33:53.411726
2018-11-13T13:29:57
2018-11-13T13:29:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class PontuacoesConfig(AppConfig): name = 'pontuacoes'
[ "kavalerskialexandre@gmail.com" ]
kavalerskialexandre@gmail.com
0405898d24af93f463de789847b0398a0e8e0b97
092d82f8a64f8e33a739ae023667253a75bfb9ae
/jury/forms.py
ac08bc91b6d6b266345bc9fb2f865acbf50bba23
[ "MIT" ]
permissive
COdingaorg/The_Jury
8c103eec028891b1ee98ede786fb54638bd16ba6
a4432269a023edf49a010644ca4f06324a934d7f
refs/heads/main
2023-06-18T10:43:14.888503
2021-07-20T16:05:59
2021-07-20T16:05:59
386,658,998
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
from jury.models import UserProfile, UserProject from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm class registerUser(UserCreationForm): class Meta: model = User fields = ['username', 'first_name', 'last_name', 'email', 'password1', 'p...
[ "calemasanga@gmail.com" ]
calemasanga@gmail.com
16ac6d820543f041aa2c474fcb8afa4d895ce380
e3c9665e6c3b2a9a632ae00a3e896feb32cbb745
/foodgram/recipes/migrations/0020_auto_20210409_1023.py
52b73d6c650a816a113a40cd2b31ece2ea474ec9
[]
no_license
girik108/foodgram-project
dc1addde0f99cf0ce74888119610c024ab5984c4
6f5b44da90563c25b9c7d66591244b85c7d63560
refs/heads/master
2023-04-10T00:35:44.916391
2021-04-19T06:26:31
2021-04-19T06:26:31
338,977,103
0
0
null
null
null
null
UTF-8
Python
false
false
431
py
# Generated by Django 3.1.6 on 2021-04-09 06:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('recipes', '0019_auto_20210408_0937'), ] operations = [ migrations.AlterField( model_name='ingredient', name='title',...
[ "gimatov@list.ru" ]
gimatov@list.ru
d757c2b9d5123a880f8485775e37908e83cfa73b
81e5105ba9519dfaae3985e99f36d62ff3283276
/rgw/v2/tests/s3_swift/user_op_using_rest.py
99e37aa21dfc3b2e691d9b42c6b42da522bb5d96
[]
no_license
sunilangadi2/ceph-qe-scripts
7fea0786a1a006d9877200cb308d65c21b34937d
1edad8710e283f464d42aeee4099b2128e178a95
refs/heads/master
2022-11-22T16:38:25.911294
2020-07-22T07:14:57
2020-07-22T07:14:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,173
py
""" user_op_using_rest - Test user operation using REST API Usage: user_op_using_rest.py -c <input_yaml> <input_yaml> test_user_with_REST.yaml Operation: Create Admin user Using admin user, create new user using REST request Using admin user, Modify existing user using REST request Using admi...
[ "ukurundw@redhat.com" ]
ukurundw@redhat.com
5404e3ad8934d8abdd386447c64ee0c0a8c716f7
93f5ee5cc7b863029c54a766e9f5fa0b0e52191f
/BayesianOptimization/20180403_two_hparas.py
f2c660d6aa1078720adfdb30d305f189ed7051c7
[]
no_license
ShihPingLai/Jacob-deep_learning
29ad17839da7a34e01db1a626942862e250e8619
dfbaa178ac537a189a062a23904072a7d8e550a9
refs/heads/master
2020-03-13T11:51:51.276939
2018-04-26T04:19:15
2018-04-26T04:19:15
131,108,620
1
0
null
null
null
null
UTF-8
Python
false
false
4,156
py
#!/usr/bin/python3 ''' Abstract: This is a program to exercise how to optimize deep learning with Bayesian Optimization. Copy from "BayesianOptimization/examples/exploitation vs exploration.ipynb" Usage: 20180403_two_hparas.py Source: BayesianOptimization/examples/exploitation vs exploration.ipynb ###...
[ "z123a123s123@gmail.com" ]
z123a123s123@gmail.com
3be5a911c554072c02c06f1a186d5799347d1876
8394c2b1bd17f04e5cb219c98e300d91530ba831
/project/utils/models/model_handling.py
ba756f593b55b1bc91b8ac5cecc3c61af35624f4
[]
no_license
justinwhatley/interpretability_experiment
f26356ce16282a715ba951560c56a94823f733b6
fcfdd2441f47dab7f1b711f7fe18b49efbe6b791
refs/heads/master
2022-11-05T14:42:19.367835
2020-06-26T20:54:27
2020-06-26T20:54:27
259,716,470
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
import joblib def load_or_store_model(func): """ Wrapper/decorator to check whether the model is already saved to return saved model instead of new training Function must have a 'save_to' filepath and 'recompute' bool must be defined """ def loading_wrapper(*args, **kwargs): recompute ...
[ "justinwhatley5@gmail.com" ]
justinwhatley5@gmail.com
835b080ae5e52498164715e7341be0d16a872109
a2f8b748a3427b8ffa622c96dc6a4f4339495672
/migrations/versions/12ae296935d5_.py
923e41d481cb910ac14eeab7c4f6ee0b1d665f64
[]
no_license
quinnwu/pvapp
96242f6b6f1b1410fd4777579856d4ac8959dd47
db3c507b9d35fe468f5d358a41336fbfa26117e2
refs/heads/master
2021-03-27T14:54:11.295834
2018-04-28T18:09:35
2018-04-28T18:09:35
119,205,359
0
2
null
null
null
null
UTF-8
Python
false
false
627
py
"""empty message Revision ID: 12ae296935d5 Revises: 2af6e619b2f1 Create Date: 2016-01-03 19:20:57.386338 """ # revision identifiers, used by Alembic. revision = '12ae296935d5' down_revision = '2af6e619b2f1' from alembic import op import sqlalchemy as sa def upgrade(): ### commands auto generated by Alembic - ...
[ "wu.quinn@gmail.com" ]
wu.quinn@gmail.com
8ebe3c061d8acbaf5cbbcdb7219aa906364cb940
3760f688b5f03b3334853500a960b3daf2666dd6
/todos/urls.py
9d26ca819a09a7a00ed16e791f66d6bc3b8f291f
[]
no_license
Cody1009/django_todo_api
a1ece2cdf6f1ddd1299fb3d095859419329cbfd4
4057ccddb3211abb25e1f8ae3e572b2a6c72257c
refs/heads/master
2023-07-31T02:32:50.473349
2020-05-03T01:05:09
2020-05-03T01:05:09
260,803,895
0
0
null
2021-09-22T19:02:43
2020-05-03T01:02:10
Python
UTF-8
Python
false
false
159
py
from django.urls import path from . import views urlpatterns = [ path('', views.ListTodo.as_view()), path('<int:pk>/', views.DetailTodo.as_view()) ]
[ "nansiki02@gmail.com" ]
nansiki02@gmail.com
c3b224c2fb8cd240476e5ebc7795c22ed913304e
6a7e6a9a27b2141c7312b04b6cba3852af016c69
/Lauhdutin/@Resources/Frontend/GenericFilePathDialog.py
9411750cd205238ebe70047d24473a5aba624706
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
Tene21/Lauhdutin
35ed025f286503a3e861fc4c92415e84b1509ee2
998bfac4c02fc404614fb96c215bbe45bc8aca01
refs/heads/master
2021-01-20T22:02:30.201304
2017-05-29T08:09:15
2017-05-29T08:09:15
101,792,936
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
import sys, os, subprocess try: from tkinter import * from tkinter import filedialog RainmeterPath = os.path.join(sys.argv[1][:-1], "Rainmeter.exe") FunctionName = sys.argv[2][:-1] InitialDir = sys.argv[3][:-1] Config = sys.argv[4][:-1] root = Tk() root.withdraw() path = filedialog....
[ "noreply@github.com" ]
Tene21.noreply@github.com
c88a1af397f5418a03100cac9cde8e9e4629f207
34d1d64a049dd3a25293955f6312072f2fcb3905
/set-1/challenge2.py
f54288641f2df4a0648832da78827542e6a9bb54
[]
no_license
alex-bellon/cryptopals
c82ec87377911e6cae365cb48b2058789b93b9a1
5bc6242a5b972866ba7eebe2f6efa80c7ebff71c
refs/heads/master
2020-05-03T18:40:02.320249
2019-08-16T21:15:27
2019-08-16T21:15:27
178,761,916
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
a = '1c0111001f010100061a024b53535009181c' b = '686974207468652062756c6c277320657965' aBin = bin(int(a, 16))[2:] bBin = bin(int(b, 16))[2:] c = int(aBin, 2) ^ int(bBin, 2) print(hex(c))
[ "alexrbellon@gmail.com" ]
alexrbellon@gmail.com
9f4e62cb49368115d24ed01964de31c04727d60e
4ce1cecacda0da4f662f188c89e793a60c8c0439
/Door.py
be43c539033cd6d0c4f732b7321357ef4af02a9e
[]
no_license
EuanOR/FYP
5419b1c8c18a0f24a1628e54c068aadf121ebe9e
91fb5803cad09d6eb7b2c1ed74b7fe45120248ea
refs/heads/master
2020-04-24T11:54:47.632710
2019-03-25T19:58:55
2019-03-25T19:58:55
171,941,212
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
class Door(object): def __init__(self,thickness): if 1.0 < thickness < 3.0: self._thickness = thickness else: print("Door must be between 1 and 3 inches thick") self._open = False def get_thickness(self): return self._thickness def s...
[ "115312821@umail.ucc.ie" ]
115312821@umail.ucc.ie
1b36b1e22e63bb7817827b4a02f3f2d9c90b4691
49c0056ccde2d893e56e2f15c24b19659312c073
/blog/migrations/0005_auto_20210112_2004.py
ccb3308cd5c2343ac991a08fc6f24b7a56ea450f
[]
no_license
ferdousdjango/blogdupl
5f5c1ed140fac0060584c7344e6b7e6403b23a06
3171566cddfb6e231079f03da5f2c308891e982e
refs/heads/main
2023-02-27T20:06:55.151176
2021-02-03T15:20:17
2021-02-03T15:20:17
333,327,985
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
# Generated by Django 3.1.4 on 2021-01-12 14:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_postright'), ] operations = [ migrations.AddField( model_name='post', name='homeimage', fie...
[ "helloferdous@gmail.com" ]
helloferdous@gmail.com
943f9a56f01dbd5d3da769e1bca8d7b26ee4f82a
cec2ba69ce9cb84f05097a135a64497852016c45
/Battleship.py
d4d2a82a071cfca0d63d5249e42ee1d6f3457a4d
[]
no_license
EthanTaft/PythonLearning
22d11f7b37c7f6069e90f5edcf174cdc86b15664
8947b576f5045bcaa705d9d270fcc9a5c7f20640
refs/heads/master
2021-08-20T09:32:51.899628
2017-11-28T20:33:07
2017-11-28T20:33:07
112,286,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,200
py
# -*- coding: utf-8 -*- """ Created on Fri Nov 17 14:19:41 2017 @author: Ethan """ from random import randint board = [] for i in range(5): board.append(['O', 'O', 'O', 'O', 'O']) print(board) def print_board(board_in): for row in board_in: print(" ".join(row)) print_board(board) def random...
[ "ethan.taft@healthcatalyst.com" ]
ethan.taft@healthcatalyst.com
6d61f171ddbc7385d9fec8b40e92e0a29e3dd8dd
916586620128e8c357b634192512b253bb4fc944
/00_mysite/mysite/settings.py
f9f391ba5dc44ba1d02b040704163d93f59a11dc
[]
no_license
Kevinqian0501/Django_start
f11fdc9a2a548b7623ee29de32c8303d746bde30
315abaabb28fd4137b9e4f9bd32b44e6db410adc
refs/heads/master
2021-05-16T14:44:25.983886
2018-01-24T18:30:07
2018-01-24T18:30:07
118,492,770
0
0
null
2018-01-24T18:30:08
2018-01-22T17:46:44
Python
UTF-8
Python
false
false
3,150
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.1.dev20180121070910. For more information on this file, see https://docs.djangoproject.com/en/dev/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/dev/ref/settings/ ""...
[ "kevin@kavout.co" ]
kevin@kavout.co
cc42ed3292ae011c58c3f52d8268253828b8b0f6
97e764ca8ee0ef7c1943b97b736f3b7190170787
/Regression_Problem/PearsonCorrelation.py
3ff6d34eda4c477d65751fd523b6513098b32695
[ "MIT" ]
permissive
xinpengliu/Machine-Learning-Practice
2aa7b82216e5a4506a2cd191cc57d3d4c55f0d86
dae55f52bb31f428526d6d60229bd1827c4e0af0
refs/heads/master
2020-03-14T00:35:33.942020
2017-07-20T05:54:21
2017-07-20T05:54:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
995
py
''' Created on Apr 24, 2017 @author: Leo Zhong ''' import numpy as np from astropy.units import Ybarn import math def computeCorrelation(X, Y): xBar = np.mean(X) yBar = np.mean(Y) SSR = 0 varX = 0 varY = 0 for i in range(0 , len(X)): diffXXBar = X[i] - xBar diffYYBar = Y[i...
[ "zhong5930@gmail.com" ]
zhong5930@gmail.com
9bbe6ad656b19e2b6235563076647a80dba49d14
f6100704f93c448f357c4753aec50799c396d991
/操作db离线脚本.py
edc1a663af5ab4013a3c6b4b0fe174629bdb2c24
[]
no_license
wssf812/Flask-basic-options
9c28aa12367b247c026a3f7643000354ea271613
340194a9e28adab92f135b410d17bb5e210bbfc1
refs/heads/master
2023-03-01T14:06:54.022222
2021-02-09T06:58:34
2021-02-09T06:58:34
337,299,254
3
0
null
null
null
null
UTF-8
Python
false
false
704
py
# -*- coding: utf-8 -*- # *Time* : 2021/2/3 10:06 # *Author* : wssf # *File* : 操作db离线脚本.py # *Software*: PyCharm "离线脚本,用来创建数据库,插入数据,可以在不启动flask程序的基础上" from Flask_example import db from Flask_example import create_app from werkzeug.security import generate_password_hash # 导入加密工具 from Flask_example import models...
[ "1228589545@qq.com" ]
1228589545@qq.com
26534e055871d229971a287afd01f30afec488e8
03d07de94fc22d1583c45ca84c711a06df8a40ff
/lc/dynamic_programming/lc_91_decode-ways.py
47e6fb60ea6793ea85275e7e4575d8b528ab5713
[]
no_license
gaopenghigh/algorithm
94e04293c69a2ad6903495e1cf6e1b75556535bb
f5d78c98c7201c56f9d4c3a9c0c76e9447a17985
refs/heads/master
2022-03-11T18:46:38.712923
2022-02-20T14:20:54
2022-02-20T14:20:54
54,484,549
0
0
null
null
null
null
UTF-8
Python
false
false
3,054
py
# 91. 解码方法 # 难度 中等 # 一条包含字母 A-Z 的消息通过以下映射进行了 编码 : # 'A' -> "1" # 'B' -> "2" # ... # 'Z' -> "26" # 要 解码 已编码的消息,所有数字必须基于上述映射的方法,反向映射回字母(可能有多种方法)。例如,"11106" 可以映射为: # "AAJF" ,将消息分组为 (1 1 10 6) # "KJF" ,将消息分组为 (11 10 6) # 注意,消息不能分组为 (1 11 06) ,因为 "06" 不能映射为 "F" ,这是由于 "6" 和 "06" 在映射中并不等价。 # 给你一个只含数字的 非空 字符串 s ,请计算并返回 解码 方法的...
[ "jh.gao@ucloud.cn" ]
jh.gao@ucloud.cn
b57deb3a8dace434bd99d855347a2ca3f1cf04e0
f714430490229ce0e8d5e160fdb3bfbc041173e3
/migrations/versions/51f1ee7915bf_migrate.py
9b239b5d4641e189342b12852593130894f562c4
[]
no_license
HEW2meiG/HEW2
717fa1fae135b20617c53727005c6940b401b0f8
f8626b8edd2d4b0f8fc915acd45062a02399ef40
refs/heads/master
2023-03-14T13:54:22.187884
2021-03-12T16:50:39
2021-03-12T16:50:39
285,750,649
1
1
null
null
null
null
UTF-8
Python
false
false
16,528
py
"""migrate Revision ID: 51f1ee7915bf Revises: Create Date: 2021-02-04 00:17:37.826629 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '51f1ee7915bf' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto generated ...
[ "mei.shimomura@icloud.com" ]
mei.shimomura@icloud.com
7d121df9ea5860e1d137894783587cac87de54f9
0f4e610ca8a0be43674abe2c88c53af4eb5bd834
/codility/easy/1_MaxProductOfThree/dosun.py
d24e8b3bd3ae87e64c8b835f58e01391f70ffc5a
[]
no_license
Jungeol/algorithm
6dde6f736159905dc3d7d88005f2b515dcd1b52d
459caa33681fe67801f0fac01f7de82456529ab1
refs/heads/master
2020-09-21T01:17:16.589098
2020-05-22T09:27:59
2020-05-22T09:27:59
224,638,291
2
0
null
2020-05-22T09:28:00
2019-11-28T11:27:35
Python
UTF-8
Python
false
false
365
py
"""https://app.codility.com/programmers/lessons/6-sorting/max_product_of_three/ Task Score :100% Correctness : 100% Performance : 100% result: https://app.codility.com/demo/results/trainingBNAHGU-WCZ/ """ def solution(A): A.sort() n = len(A) product1 = A[0] * A[1] * A[n-1] product2 = A[n-1] * A[n-2] ...
[ "noreply@github.com" ]
Jungeol.noreply@github.com
c4a1df2d9ae8ee97feb1e460d630361ef6d293ba
6c3dd7bbac078d9a83554333f9a3f880006f6caa
/src/ec2/ec2.py
44208cc321beda870456ff497fbdb167c7e27775
[]
no_license
syck40/boto
2ceefb61d2ab2cc3ab42de6783828359cc30f550
dca6543400a02633f849ffc545ef0c2cc3c71a51
refs/heads/master
2020-05-03T12:36:00.456702
2019-03-31T06:59:57
2019-03-31T06:59:57
178,630,625
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
class EC2: def __init__(self, client): self._client = client """:type:pyboto3.ec2""" def create_key_pair(self, key_name): print('Creating key pair with name '+key_name) return self._client.create_key_pair(KeyName=key_name)
[ "syck40@gmail.com" ]
syck40@gmail.com
b11b2e7f23d825eb1fda17d1546294cfbf352e88
515870d521b3b3f8f8f4b2aebee593670b02e708
/src/Gon/realtime_starter_redis_queue.py
584c2277a120b800a36d7b503279b6c1219ba035
[ "MIT" ]
permissive
jsyzc2019/Listed-company-news-crawl-and-text-analysis
2d806e8b3dfb2df97cd70908a365efc3e6b9ca1e
a5fb02dbfe2869b4016da06a3a15dd16171b6031
refs/heads/master
2023-07-07T19:12:46.259018
2023-01-13T16:03:48
2023-01-13T16:03:48
260,937,347
0
0
MIT
2020-05-03T14:09:11
2020-05-03T14:09:11
null
UTF-8
Python
false
false
480
py
import __init__ import redis from Kite import config from Killua.buildstocknewsdb import GenStockNewsDB redis_client = redis.StrictRedis(config.REDIS_IP, port=config.REDIS_PORT, db=config.CACHE_RECORED_OPENED_PYTHON_PROGRAM_DB_ID) redis_client.lpush...
[ "bingzhenli@hotmail.com" ]
bingzhenli@hotmail.com
6ffabdb437b2f0229262f2a7b57b5eb2b66df757
beb12cce69e21804a9ec4d64062bf6bb062261aa
/bin/EAFP.py
74646c34e932b3821298f5c393f4bebacf076c1c
[]
no_license
voyeg3r/dotfaster
f7a0cad32ea3420417cd728be24a58533cb907fa
90c4f1ec4471668fec1f4db755158058fb533be2
refs/heads/master
2021-01-02T22:49:47.246952
2018-06-02T20:56:58
2018-06-02T20:56:58
99,405,357
5
2
null
null
null
null
UTF-8
Python
false
false
678
py
#!/usr/bin/env python3 # # -*- coding: UTF-8 -*-" # ------------------------------------------------ # Creation Date: 23-03-2017 # Last Change: ter 29 nov 2016 09:21:52 BRT # File: EAFP.py # author: sergio luiz araujo silva # site: http://vivaotux.blogspot.com # twitter...
[ "voyeg3r@gmail.com" ]
voyeg3r@gmail.com
3fcfb778b0855ff4cb8210f9e3e4818cf4cd7f03
c5b5a2375f83fa61a734aa4a87732d092108b1b8
/GaulToMosaic.py
a434e4ba5b59ff5fdceffe5573615da14d771271
[]
no_license
Obywatelecki/ArcPy_scripts
3a0225834ee6df9f3b2746a86f6fe68277933cc8
81d6432f8cfcd866c078e7f0e0541efb13bb04d6
refs/heads/master
2021-01-24T20:48:02.941389
2018-07-24T19:51:19
2018-07-24T19:51:19
123,260,446
2
0
null
null
null
null
UTF-8
Python
false
false
3,306
py
import time print "Importing Arcpy...." + str(time.ctime()) import arcpy print " Arcpy imported! " + str(time.ctime()) print "Setting local variables" + str(time.ctime()) arcpy.env.workspace = "D:/GD/IHPAN/Gaul/_Mapy/_metaarkusze/data.gdb" # mxd = arcpy.mapping.MapDocument("D:/GD/WGiSR/_Konferencje/Plener 201...
[ "tpanecki@gmail.com" ]
tpanecki@gmail.com
9a518550ecc9610bfeed5e94cc14082c1480cbad
526176649fc3d37c87c06626a2e8fcb1cc840bf0
/sqlite_db/db6.py
8717163a9439512d44881c22e9bb759d7bff7640
[]
no_license
rames4498/Bootcamps_and_workshops
cd193bb302f4b2ed9037750b07e35f6875415476
402ef143be7a52ae71e08cdf8b7f0ff35d502455
refs/heads/master
2022-09-22T04:49:10.657585
2022-09-13T07:06:36
2022-09-13T07:06:36
239,116,561
9
6
null
null
null
null
UTF-8
Python
false
false
376
py
import sqlite3 conn = sqlite3.connect('my_data.sqlite') cursor = conn.cursor() print("Opened database successfully") cursor.execute('''CREATE TABLE SCHOOL (ID INT PRIMARY KEY NOT NULL, NAME TEXT NOT NULL, AGE INT NOT NULL, ADDRESS CHAR(5...
[ "noreply@github.com" ]
rames4498.noreply@github.com
0876651216fe8d66b6ac1486bdb463a7eb6bcf0b
b37b62a73a14ed3904ffed1db99dafe01bc9eca3
/app/list/models.py
3c3e2f812571158f337b54618fddebb78ef4c17e
[]
no_license
gambler1541/django-pagination
d340d7ce3186f801ce1cf4aadb59ee77bd52e9d6
44c32be793c0bd2332f29ba5422205ccf0c2d2b8
refs/heads/master
2020-04-16T22:56:16.565405
2019-01-16T06:59:51
2019-01-16T06:59:51
165,990,830
1
0
null
null
null
null
UTF-8
Python
false
false
146
py
from django.db import models from django.views.generic import ListView class Constacts(models.Model): text = models.TextField(default='')
[ "gambler1541@gmail.com" ]
gambler1541@gmail.com
1f18c643dafb612801fe04bca072bfe0dace75d7
4a7705fb9b16d03377600f49770ae31b2c7358a5
/day9/gpzdsy股票最大收益2.py
a0c58c7282884d90b4b718cebb850ea29e7e0aee
[]
no_license
dsgdtc/everything_arithmetic
600e5c4f8e95331689b73b27ee01432f196457ae
4b2d490c03467b7fa6cba36f9e27cf60bfce396c
refs/heads/master
2020-03-08T13:43:16.537525
2018-04-05T14:17:48
2018-04-05T14:35:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,692
py
# -*- coding: utf-8 -*- """ 给定数组A,其中A[i]表示某股票第i天的价格。 如果允许最多进行K次交易(K是已经给定的定值), 请计算何时买卖达到最大收益,返回最大收益值。 规定 不能嵌套买卖 Z只能是买卖-买卖-买卖...... eg [7,1,5,3,6,4]最大收益值为5-1=4,6-3=3,4+3 = 7 算法: dp[k][i] 表示最多k次交易在第i天的最大收益 在第i天,有两种选择,要么卖出股票,要么不卖出股票,从而得到最大收益 dp[k][i] = max { dp[k][i-1] 不卖出 } { dp[k-1][j] + pric...
[ "dsgdtc@163.com" ]
dsgdtc@163.com
fb20a737b4b3bc2e0a86a1ea9b5a7945456c6851
dacdebab897f9287f37a2e85c5705a926ddd36aa
/tests/test_issue930/Snakefile
06cbf60fd181788b35dd44ff28d8bc6855f13952
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
snakemake/snakemake
5d4528193d87786d7b372ca7653ece302ff46965
27b224ed12448df8aebc7d1ff8f25e3bf7622232
refs/heads/main
2023-09-02T08:37:04.323976
2023-08-11T10:02:34
2023-08-11T10:02:34
212,840,200
1,941
536
MIT
2023-09-11T09:51:44
2019-10-04T14:58:11
HTML
UTF-8
Python
false
false
646
samples = ["0","1"] rule all: input: "test.out" rule build_index: output: "large_reference_index" shell: "touch {output}" rule a: output: "a/{sample}.out" group: "sample_group" shell: "touch {output}" rule b: input: rules.a.output, ...
[ "johannes.koester@tu-dortmund.de" ]
johannes.koester@tu-dortmund.de
25ed4fc80f15bd27a6243626cc74db6d6f20abe2
8bb3bcf914860c20fb4a7163a8e0691cd802dd65
/ve/unit/test_list_object.py
df090cc057e76b5308629ac65f3383056bb0ac50
[ "Apache-2.0" ]
permissive
nitinm694/pyvsc
8586cc2497f336289fecbfeb9e6dd788f4070b60
612de9e6244c685a3df1972e4860abfe35b614e1
refs/heads/master
2023-07-28T01:49:10.917496
2021-09-12T19:06:00
2021-09-12T19:06:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,362
py
''' Created on Jun 20, 2020 @author: ballance ''' import vsc from vsc_test_case import VscTestCase from vsc.visitors.model_pretty_printer import ModelPrettyPrinter class TestListObject(VscTestCase): def test_smoke(self): @vsc.randobj class item_c(object): def...
[ "matt.ballance@gmail.com" ]
matt.ballance@gmail.com
1d14e48594666b2b66dcfaef63ff96ea4d743632
e9266d5632d8d0da25d95dc0fd912379335328e0
/src/plants/schemas.py
d54a2c19e2c5665ffbaff4e9e9c05879b3e997be
[]
no_license
capmayer/plantas-indicadoras
5921df6d634afc3df2b4e94db2b95418d3787fdc
174a8288ff2fdd6a259a669a7ec776d3721f239b
refs/heads/main
2023-06-22T09:51:10.877814
2021-07-29T00:05:39
2021-07-29T00:05:39
389,454,039
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
from pydantic import BaseModel class PlantBase(BaseModel): scientific_name: str popular_names: str description: str indicates: str class PlantList(PlantBase): scientific_name_slug: str class Plant(PlantList): id: int class Config: orm_mode = True
[ "henriqmayer@gmail.com" ]
henriqmayer@gmail.com
8083d6ab3311a0ec517636a91fd33a22445421bd
7fa15c4dbca224aed616e76074bf017699af00df
/examples/sum_client.py
0011bc63474cfec50e1d633ae091f99a0ddb1f0e
[ "Apache-2.0" ]
permissive
studio-ousia/mprpc
cc272e650b46a21997c680cf00e5ccbc015dc709
6076f68a16f78e0010307344afa253e0956f2a9d
refs/heads/master
2023-01-14T02:33:22.171728
2022-12-27T07:13:23
2022-12-27T07:13:23
13,551,567
170
60
NOASSERTION
2023-02-18T15:15:10
2013-10-14T03:15:41
Cython
UTF-8
Python
false
false
595
py
# -*- coding: utf-8 -*- import gsocketpool.pool import gevent.pool from mprpc import RPCClient, RPCPoolClient def call(): client = RPCClient('127.0.0.1', 6000) print client.call('sum', 1, 2) def call_using_pool(): options = dict(host='127.0.0.1', port=6000) client_pool = gsocketpool.pool.Pool(RPC...
[ "ikuya@ikuya.net" ]
ikuya@ikuya.net
234e009d0b1fedd51b2692aa9e1401871a904c8e
5b05b2a15e5ad633f4f87124a5eff0d662af6e3c
/CONTEST-DIV2/Round 714/B/B.py
146cdb225283534f6605ea8c5721ab243cda0f83
[]
no_license
CristianLazoQuispe/CODEFORCES-Contest
505eaf7d4dd3473a07ba828ab614f4c504fbc853
27f5c490e59d90437833369c32d5a8dd042b262f
refs/heads/main
2023-04-27T13:26:17.608905
2021-05-07T20:27:12
2021-05-07T20:27:12
355,346,649
0
0
null
null
null
null
UTF-8
Python
false
false
1,082
py
import functools,operator T = int(input()) def solve(lista): ida = [] vuelta = [] maxi = len(lista) back = None for i in range(len(lista)): if back is None: value = functools.reduce(operator.and_, [lista[i]]) ida.append(value) back = value else:...
[ "mecatronico.lazo@gmail.com" ]
mecatronico.lazo@gmail.com
8c6f5b33b6a30d003e781cf744afdf6b61f3b51e
68ddfb2d1dad5399cb224a1c2a5f7cd5aa87ebf7
/HW04/HW04.py
de3167147296186ffd9e025bad32324202ad8683
[]
no_license
VanSubstance/data_Analysis
d78d4724d0521cb954bcee624d646c61d37dc9a1
0dd6e2689c9b576dd39af1660ef70f8e13dfb2f3
refs/heads/master
2023-01-09T23:16:41.576145
2020-11-17T13:58:43
2020-11-17T13:58:43
294,380,757
0
0
null
null
null
null
UTF-8
Python
false
false
10,728
py
# -*- coding: utf-8 -*- """ Created on Fri Sep 25 21:21:00 2020 @author: sungh """ #%% Initiating from sklearn.model_selection import train_test_split import pandas as pd import numpy as np from pandas.plotting import scatter_matrix import matplotlib.pyplot as plt from dateutil.parser import parse from scipy import ...
[ "50601968+VanSubstance@users.noreply.github.com" ]
50601968+VanSubstance@users.noreply.github.com
530d9a1a9c81e48861a573078a5fcca53d28e741
e4ec5b6cf3cfe2568ef0b5654c019e398b4ecc67
/azure-cli/2.0.18/libexec/lib/python3.6/site-packages/azure/mgmt/network/v2017_06_01/models/network_interface_association.py
56f1d3b0eda3f4acd5b0007f57df14bfd8f42f49
[]
no_license
EnjoyLifeFund/macHighSierra-cellars
59051e496ed0e68d14e0d5d91367a2c92c95e1fb
49a477d42f081e52f4c5bdd39535156a2df52d09
refs/heads/master
2022-12-25T19:28:29.992466
2017-10-10T13:00:08
2017-10-10T13:00:08
96,081,471
3
1
null
2022-12-17T02:26:21
2017-07-03T07:17:34
null
UTF-8
Python
false
false
1,281
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "Raliclo@gmail.com" ]
Raliclo@gmail.com
e990c045732a8d86cc9581ce152319b250823e60
a6efd75e038b6d2c28fc74a34ad9454c4f70da0c
/resnet_3d/train_TReNDs.py
f554f9b8ef6ba49f0963ed509a2f7df82146a7b8
[]
no_license
qkqkfldis1/TRENDS_kaggle
a5886fde100364acef50763d621a7067893326d7
3d0c60a42afb654dbfcbdfe69b113a636d8bb00d
refs/heads/main
2023-04-18T10:47:21.418371
2021-05-02T20:02:12
2021-05-02T20:02:12
363,738,896
0
0
null
null
null
null
UTF-8
Python
false
false
9,820
py
''' Written by SeuTao ''' import os import time import numpy as np import torch from setting import parse_opts from torch.utils.data import DataLoader from datasets.TReNDs import TReNDsDataset from model import generate_model from tqdm import tqdm import random #from apex import amp, optimizers import os os.environ["C...
[ "bshz15@gmail.com" ]
bshz15@gmail.com
40704cee49a3949e9dcf543e0695bacb829c017f
e885c02621101ea646c9dcc3e934dd7ceaaf4f04
/djangocms_disqus/migrations/0001_initial.py
7be273f44c0b09ed5f6447a8d57db12cadbb0691
[ "BSD-3-Clause" ]
permissive
mishbahr/djangocms-disqus
40421d6662ef911542287fc0c2e8b81a63e49667
49e75a024e2ca1c932a8b9134500c2f24137a153
refs/heads/master
2023-01-05T00:46:39.514178
2017-05-23T22:15:12
2017-05-23T22:15:12
42,411,019
21
5
BSD-3-Clause
2022-12-26T19:52:38
2015-09-13T20:07:18
Python
UTF-8
Python
false
false
1,804
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations from connected_accounts.fields import AccountField from ..conf import settings class Migration(migrations.Migration): dependencies = [ ('connected_accounts', '__latest__'), ('cms', '__latest...
[ "mishbah@jp74.com" ]
mishbah@jp74.com
4ceb508de96190a7e0a24c04b217aef38ed63e63
fb9722f0bf9556f5c04ba5c2795a7c23e7bff7ca
/lista.py
e6605f71cc764640f8d592c6ae6c6a4b54c215bb
[]
no_license
anastasiacebotari15/List
d59aad164bf082537bed6f86fb3bba087e1a5e22
432dcd0fd6b3b0369b843da71586cd073476d770
refs/heads/main
2023-02-21T08:54:17.280665
2021-01-25T20:04:14
2021-01-25T20:04:14
332,862,203
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
x=[-1,0,-5,-7,-6,5,6,7,9,2,-3] lista1=x print('lista1=', lista1) lista2=sorted(x) print('lista2=', lista2) x.sort(reverse=True) lista3=x print('lista3=', lista3) print(len(x)) print('nr maxim=', max(x)) print('nr minim=', min(x)) x.extend([111]) print('lista4=', x) x.insert(1,222) x.remove(111) print('li...
[ "noreply@github.com" ]
anastasiacebotari15.noreply@github.com
84bc89794412d5e88416f0917f873ba361cbb1cd
41f28fc3b3c7f34b879bacb2e25157b551c054bb
/label_studio/data_manager/functions.py
655b82b5cef12f9c8eed602a30de76d3a8b7085e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dolanor-galaxy/label-studio
cd478cb54e4948cbb5226c02e088465cdaa12a6b
722358a6cdfbe5a35e7b16f586675df4b598f74f
refs/heads/master
2023-08-11T08:52:52.433731
2021-09-30T09:52:05
2021-09-30T09:52:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,278
py
"""This file and its contents are licensed under the Apache License 2.0. Please see the included NOTICE for copyright information and LICENSE for a copy of the license. """ import logging from collections import OrderedDict from django.conf import settings from rest_framework.generics import get_object_or_404 from co...
[ "noreply@github.com" ]
dolanor-galaxy.noreply@github.com
c7571fd6f80cb52e31b43fa0fa9746d3faafb0c1
de817cc84baa1ca5cef3ceaff56dc235b00073d9
/dokdo.py
dfbc8aad66a041c9a7e72135de16c2b1fb75b035
[ "MIT" ]
permissive
song9446/Dokdo-HTML-template-compiler-python3
32023dd38f57b091a6d4a8288e07ddb8663c892e
2d26aa7d84c0c7606ae5140126691d6f1a6e930e
refs/heads/master
2020-04-09T01:31:23.923621
2018-12-01T06:36:39
2018-12-01T06:36:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,558
py
#!/usr/bin/python3 from string import Template import lxml.html from lxml import etree import copy import re import os import sass VERSION = "0.1" variable_pattern = re.compile("\{\{\{([^}]+)\}\}\}") def dom2str(element): return lxml.html.tostring(element, encoding=str) def dom2innerstr(element): text = lxml...
[ "song9446@unist.ac.kr" ]
song9446@unist.ac.kr
cf5801421a18d07d16150302598a4db9e9f4d683
a4ed795e6aa22791a3c8f6ce931cd5ce0d8ed705
/testproj/settings.py
fa9ffeeec840bbfa1314cef360baa6cc481ffd02
[]
no_license
ali88z/dj2020
28fae534079e9a38f3fc143449fff059b1642374
e674961c1671be450a8fc28f78396ecf0fa217fc
refs/heads/master
2022-11-29T16:47:50.080800
2020-07-29T14:52:42
2020-07-29T14:52:42
274,812,756
0
0
null
null
null
null
UTF-8
Python
false
false
3,430
py
""" Django settings for testproj project. Generated by 'django-admin startproject' using Django 3.0.7. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "zjw@mails.com" ]
zjw@mails.com
7ced0a5bfb9b3e5397190462506fd668a94e38af
a4185782266d2e596ff264af76776b82f9a3adf8
/2015/17_1.py
9c1440f546923ffc04173e18138eb3d52c77bae3
[]
no_license
PavithraP/advent
04f2cfc268e3b8c84ac26dbb9bf300036a7502e3
9d9247c3add95263f4db1982d1f96d9f8e8e35ca
refs/heads/master
2021-01-10T16:02:47.754326
2016-12-14T13:50:27
2016-12-14T13:50:27
47,602,508
3
0
null
null
null
null
UTF-8
Python
false
false
270
py
import math cont = [11,30,47,31,32,36,3,1,5,3,32,36,15,11,46,26,28,1,19,3] no = 0 for i in range(int(math.pow(2,20))): num = i count = 0 val = 0 while(num > 0): if num%2 == 1: val += cont[count] num = num / 2 count += 1 if val == 150: no+= 1 print no
[ "pavithra.p@sanctumnetworks.com" ]
pavithra.p@sanctumnetworks.com
ee235f82c46f75248d18f091913758a6b068b1f9
87b2725ccb7509cda0d4f719647192c34bbf7471
/HistogramPlot.py
e5c1ce1adf7878de50ebd4567ee1dabb94e7efd0
[]
no_license
sumeyyeakay/CoronaVirusDataAnalysis
f88a5c9698cd6867059a91b5750f4bd14f414d62
45f4b386b95ed2143d96940e74bdc41854cba466
refs/heads/master
2022-09-09T02:19:35.034587
2020-06-01T15:17:18
2020-06-01T15:17:18
268,553,637
1
0
null
null
null
null
UTF-8
Python
false
false
493
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 28 17:44:03 2020 @author: sumeyyeakay Histogram grafikleri """ import pandas as pd import matplotlib.pyplot as plt df=pd.read_csv("covid_19_data.csv") turkiye = df[df["Country/Region"] == "Turkey"] italya = df[df["Country/Region"] == "Italy"] ispanya = df[df["Coun...
[ "sumeyyeakayy@gmail.com" ]
sumeyyeakayy@gmail.com
3a79fc6c3eb34308f2013497b29f90ad59a89e7b
fc85a54686e13e598541df14c472e8aa744e6713
/petisco/extra/sqlalchemy/sql/mysql/mysql_connection.py
ccf69974f1b0fbfe9c880d72c61912564fc1f72c
[ "MIT" ]
permissive
alice-biometrics/petisco
63721751cd43e70825b161a5ece535c80d95b6fa
771ebe5c69dc735b8f373c2e7303d3b4eb655044
refs/heads/main
2023-09-01T03:53:23.642042
2023-08-25T05:38:42
2023-08-25T05:38:42
217,555,512
42
2
MIT
2023-09-12T11:06:43
2019-10-25T14:48:10
Python
UTF-8
Python
false
false
1,700
py
import os MYSQL_DATABASE_DEFAULT = "mysql_test" class MySqlConnection: def __init__( self, server_name: str, driver: str, user: str, password: str, host: str, port: str, database_name: str, url: str, ): self.server_name = server_...
[ "noreply@github.com" ]
alice-biometrics.noreply@github.com
a3111a79779a9ea0cab3118b5d7b33943dbded16
98fe6781483ec7ff2a8016916edb2611d5c2e64c
/other/text_analysis_report.py
9a852707872523ccce57b5824953e76709b213d4
[]
no_license
catris25/review_rating_prediction
124262d3baed594d812cb1459c3b95cb6a718312
fc296a58e39943d2021263e456dbfdd8b972308a
refs/heads/master
2021-01-16T17:49:47.367954
2018-08-14T05:35:44
2018-08-14T05:35:44
100,015,914
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
import numpy as np import pandas as pd import re, math from collections import Counter import matplotlib.pyplot as plt from nltk.tokenize import sent_tokenize, word_tokenize # from nltk.tokenize import RegexpTokenizer, PunktSentenceTokenizer, TweetTokenizer # REMOVE ALL PUNCTUATIONS AND THEN TOKENIZE THE TEXT def tok...
[ "blue.star95@outlook.com" ]
blue.star95@outlook.com
0a231f8117213d6f61ad97b649f38245442e0a0c
afd3464dd2c290b7db5fe379d4374183ea6bd0c3
/catkin_ws/build/pick_objects/catkin_generated/pkg.develspace.context.pc.py
fd44bd91cf37e798cac9f2a7cf2459aba475bc25
[ "MIT" ]
permissive
thatting/thomas-hatting-home-service-robot
7d0750367e5b5bfa48ab697a8fd7796b1338a662
481490eec2d61303e694593f8f018858c82eaac3
refs/heads/master
2020-03-22T18:27:40.537755
2019-02-14T13:13:14
2019-02-14T13:13:14
140,461,737
0
0
null
null
null
null
UTF-8
Python
false
false
374
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 = "pick_objects" PROJECT_SPACE_DIR = "/h...
[ "thomashatting@gmail.com" ]
thomashatting@gmail.com
5e92281f35cff75f5d8fd68958f6faad390bb658
1711a28e01e40c0164be23536ff109c428f3dd8c
/SUMO_compound_mdtraj_analysis.py
6d5a65145a08e70043aae6c8b2f867f060261593
[]
no_license
sunhuaiyu/mdtraj
adafd4b4408b688f23fed659e8fbaefd4ff1bd42
d626841025e9f9411e988cee6631edcbf171499d
refs/heads/master
2020-05-07T20:28:33.381621
2019-05-02T00:00:02
2019-05-02T00:00:02
180,862,388
0
0
null
null
null
null
UTF-8
Python
false
false
6,277
py
import numpy as np import matplotlib.pyplot as plt import mdtraj as md from glob import glob from multiprocessing import Pool def SUMO_ligand_dist(tr): #coordinates for the Cgamma of SUMO1_F36, SUMO2_F31, or SUMO3_F31: select_str = '(resname==PHE and (resid==15 or resid==30 or resid==17)) and (name==CG)' a...
[ "noreply@github.com" ]
sunhuaiyu.noreply@github.com
47b910274ca6546bd96488e2c3027896b833a188
7abd8bbbba8f401c4ce9d9ec550a0cae4a6f19ed
/bingads/v12/bulk/entities/__init__.py
afc5d3d8bf175347a50c466420cd874f00447f89
[ "MIT" ]
permissive
stevenblanton/BingAds-Python-SDK
fd2f119db51e1a91962aa5ee4bb86344e58078a8
5b6e6499ae1dcc6fb8ba3032ad1a2b6ee63705c9
refs/heads/master
2020-09-05T12:11:04.168580
2019-11-01T15:49:08
2019-11-01T15:49:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
__author__ = 'Bing Ads SDK Team' __email__ = 'bing_ads_sdk@microsoft.com' from .common import * from .bulk_error import * from .bulk_entity import * from .bid_suggestion_data import * from .unknown_bulk_entity import * from .bulk_account import * from .bulk_budget import * from .bulk_campaign import * from .bulk_ad_g...
[ "qitia@microsoft.com" ]
qitia@microsoft.com
61a49f9ce140730c3fb6b664ca5ac5bc8085cfb0
6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386
/google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/services/types/media_file_service.py
d18d6a8d09b03c92f8310398e3c6a6a1be1ac137
[ "Apache-2.0" ]
permissive
oltoco/googleapis-gen
bf40cfad61b4217aca07068bd4922a86e3bbd2d5
00ca50bdde80906d6f62314ef4f7630b8cdb6e15
refs/heads/master
2023-07-17T22:11:47.848185
2021-08-29T20:39:47
2021-08-29T20:39:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,355
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
4f56cee030454bf7d814b2615a38c73539bcce37
d186f9763a16cddc161568728827636a8b68f2f2
/src/grpc_service/service_pb2_grpc.py
37cda993f81dc828c5dfc5ef4100daddd986874b
[]
no_license
xvicmanx/machine-learning
12fce38a70b88132d633f8956435d72fc3fee050
8389125e8a0f41c3c803bdfa94f5483ab30897d1
refs/heads/main
2023-02-11T19:35:43.298423
2021-01-06T12:59:29
2021-01-06T12:59:29
308,706,331
1
0
null
null
null
null
UTF-8
Python
false
false
12,434
py
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! """Client and server classes corresponding to protobuf-defined services.""" import grpc import service_pb2 as service__pb2 class MachineLearningStub(object): """Missing associated documentation comment in .proto file.""" def __init__(self...
[ "vic3jo@gmail.com" ]
vic3jo@gmail.com
b8c045ccf9fbfd0be6b2357b5c866a6f5f8c45fb
1426511b59ad3e00a3e037ba3377e41828ae4680
/ca_unemp/serializers.py
eab56c3ab66c86dedab623a052c2279bdcf95514
[]
no_license
hillarykhan/ca-unemp-api
4776ed104a026c2d39c44dbbfca60d27f57c50a4
7b27c4aebdfe72bb0282fc28abb60ede9e6f0813
refs/heads/main
2023-08-24T00:58:15.603062
2021-10-27T04:41:13
2021-10-27T04:41:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
196
py
from rest_framework import serializers from .models import Unemployment class StatSerializer(serializers.ModelSerializer): class Meta: model = Unemployment fields = '__all__'
[ "khan.hillary@gmail.com" ]
khan.hillary@gmail.com
d827d71d9c05c7c9a359841ae13e780b7c1620e1
0e0bd9d0082bf71918db9f6c92c2cefd32fd23bd
/guild/commands/runs_import.py
354c23dc47578e9820036cf0779f49107bcd69fb
[ "Apache-2.0", "LicenseRef-scancode-free-unknown" ]
permissive
christabella/guildai
b911d9758296503c431b571dc4696a3690f44b3d
10d34eb9aa02aa4a374c340e75b5d44d9f3d8a25
refs/heads/master
2022-12-17T18:34:45.766299
2020-08-31T12:42:25
2020-08-31T12:42:25
294,189,964
0
0
Apache-2.0
2020-09-09T18:02:13
2020-09-09T18:02:12
null
UTF-8
Python
false
false
2,500
py
# Copyright 2017-2020 TensorHub, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
[ "g@rre.tt" ]
g@rre.tt
2fbd7c9248f1dcc4aa90678c7973c0971038f7b3
dbeae28942f79ebe1f844628baf6cb8f7251609b
/modules/state.py
961e9b0dd1677c68fc8b876bae6fae442c30c3b4
[]
no_license
kouheiszk/pokemon-bot
3226614ad699dca261f2c97523b70d3c91a08b00
ba7404b7f6120581ac6602ca0c00ecbd9e0cbfc1
refs/heads/master
2020-05-21T10:12:07.376595
2016-09-13T10:57:01
2016-09-13T10:57:01
66,206,829
1
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/python # -*- coding: utf-8 -*- from modules.catch import Catch from modules.entities.badges import Badges from modules.entities.hatched_eggs import HatchedEggs from modules.entities.inventory import Inventory from modules.entities.map_objects import MapObjects from modules.entities.player import Player from ...
[ "kouhei.szk@gmail.com" ]
kouhei.szk@gmail.com
c17cbfb454897e208edc74fb6406665a5bd37389
1debb684db5f2434de3793751afc45edcb2d584f
/apps/gtask/templatetags/datetime_tags.py
701d99da0ef2467c96ac5c4250f7b89bba8ee4e1
[]
no_license
rosscdh/SuperDMon
2524aaa1429ce82558723ad5ea8833698380fb85
d0e6dd2f9d2237320b19b53b9be37c888f8c40ff
refs/heads/master
2016-09-05T13:33:55.294196
2012-02-07T14:52:34
2012-02-07T14:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
from datetime import datetime from django import template register = template.Library() @register.filter("timestamp") def timestamp(value): try: return datetime.fromtimestamp(value) except AttributeError: return datetime.now()
[ "ross.crawford@sedo.com" ]
ross.crawford@sedo.com
acaaff5ac222121f65916b2c51dba801a44b99f3
37496577a9fa05bf949bd018fca17f0b6d546ecd
/client/pdo/client/scripts/AuctionTestCLI.py
4a1e9c064ad1516c800d154a615e56b89dbcc513
[ "LicenseRef-scancode-warranty-disclaimer", "LicenseRef-scancode-other-permissive", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-public-domain", "Zlib", "MIT", "CC-BY-4.0" ]
permissive
EugeneYYY/private-data-objects
cce9250648252f4baf92e0007c9584ac82d46401
d96033bbfa9bd3fe72a549487e8e5c83c7c580ca
refs/heads/master
2020-03-15T07:11:36.278038
2018-05-01T21:04:26
2018-05-01T22:40:35
132,023,932
0
0
null
2018-05-03T16:45:45
2018-05-03T16:45:44
null
UTF-8
Python
false
false
20,659
py
# Copyright 2018 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "byron.marohn@intel.com" ]
byron.marohn@intel.com
58d23eb63af6add22016b753d43de7f6521fbfb1
279e26d880c2470d0b60fe55b52f36024ecb28b5
/address.py
f65092bd69fcdb218f7a868194846dc937236b2d
[]
no_license
khang-le/unit5-05
0167d40d8070d5889c948a90f13d06ea53581690
c9b4afb6f1361dca227d915c7630ff7e5fe3b1cf
refs/heads/master
2020-09-22T03:51:35.589393
2019-11-30T16:27:46
2019-11-30T16:27:46
225,039,279
0
0
null
null
null
null
UTF-8
Python
false
false
1,797
py
#!/usr/bin/env python3 # Created by : Khang Le # Created on : September 2019 # This program prints out your name, using default function parameters def full_address(first_name, last_name, street_address, city, province, postal_code, apt_number=None): # return full address format full_address...
[ "nguyen.khang.le@mths.ca" ]
nguyen.khang.le@mths.ca
993148bc8da60f6cde60e4ddcf631c383dadd161
2a42392cf93deaccb39b357411c0b49abec0a132
/classcode/anim_and_sound/anim.py
840cb919d1038dfaea799ab71a28e4ca7a054444
[]
no_license
AKilgore/CS112-Spring2012
89aa573b19f1c92055e4832d87c6e5fa0588bccf
9fe50b80d71b4dee92101b993c1f58265eb40ee2
refs/heads/master
2020-12-24T19:27:58.448474
2012-04-30T07:23:40
2012-04-30T07:23:40
3,266,350
0
0
null
null
null
null
UTF-8
Python
false
false
1,213
py
#!/usr/bin/env/ python import pygame class AnimationFrames(object): def __init__(self, frames, loops=-1): self._times = [] self._data = [] total = 0 for t, data in frames: total += t self._times.append(total) self._data.append(data) ...
[ "mak11@hampshire.edu" ]
mak11@hampshire.edu
ce7c48f9f8686e922f04be56fd4bf8ab959eb8de
d9d516490b35d4589787dd1c2f02e1cb39967ae4
/021 Jogo da adivinhação.py
f27f947c56eeb6ea3fe7e4a0cacdc82c2896aca5
[]
no_license
Emerson53na/exercicios-python-3
e3ec9e88e9d413ee9dee432a2c120447a22a3f3d
8f0349a94aca822722c02084c6e3d13cd8c27051
refs/heads/master
2021-05-19T09:31:31.686547
2020-04-22T23:54:41
2020-04-22T23:54:41
251,631,178
0
1
null
null
null
null
UTF-8
Python
false
false
401
py
from random import choice print('=-'*20,'\nVou pensar em um número de 0 a 5.Tente adivinhar...') print('=-'*20) num = int(input('Em que número eu pensei? ')) lista = [0,1,2,3,4,5] cpu = choice(lista) if cpu == num: print('O número escolhido foi: {}\n\033[32mParabens, você ganhou!\033[m'.format(cpu)) else: ...
[ "noreply@github.com" ]
Emerson53na.noreply@github.com