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
e6f63f4947ed7d33320717bfd1a45ef9236c87e7
69233358e19c2fae446a28859658585c1e384edf
/deep_depth_transfer/utils/__init__.py
f9f9c5a926feb809041c341668cfe8b3999c758b
[]
no_license
MisterMap/deep-depth-transfer
ef6842d5b604e50aab3676322aea405dc5d2591c
70397953097b9c5fca54ca45480eb609ce209b3b
refs/heads/master
2023-01-09T11:18:42.502151
2020-10-28T08:44:19
2020-10-28T08:44:19
292,852,689
1
4
null
2020-10-28T08:44:20
2020-09-04T13:16:48
Jupyter Notebook
UTF-8
Python
false
false
172
py
from .logger_collection import LoggerCollection from .tensor_board_logger import TensorBoardLogger from .mlflow_logger import MLFlowLogger from .metrics import DepthMetric
[ "kurenkov1995@mail.ru" ]
kurenkov1995@mail.ru
73ec753be9462f1e9d9b4fa780ea5358bfec5360
7da92607b350108efc3b1c081dee47b8f54f01e3
/userProfile/serializer.py
3053c285477a4f7a0e7ae47fc99df6d6687d5922
[]
no_license
igorsbrito01/computer_store
6fab362db904bf457d0bf6a83195fe6ea6ca1624
74daf5d819ec6ecb048c0210ab26873bbfc578c6
refs/heads/master
2022-05-13T19:16:58.864766
2019-07-15T17:30:41
2019-07-15T17:30:41
196,866,605
0
0
null
2022-04-22T21:53:04
2019-07-14T17:46:08
Python
UTF-8
Python
false
false
194
py
from rest_framework import serializers from .models import User class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ['full_name', 'email']
[ "igorsbrito93@gmail.com" ]
igorsbrito93@gmail.com
6145ed2868b600edc75e936a3607c93d50309798
00785a0c5d671522cd89a68c2193fe2415954393
/ex34.py
f9fe49737594cac33ac8f91f98e696122f6e185f
[]
no_license
LikeABird-CX/Learn-python-the-hard--way
33334040084b8b67e7a6c89fc298ea03bc7a4434
327002c32947c4f2cf5f844ebbe5f67b068f4031
refs/heads/master
2021-01-19T20:23:09.248062
2014-11-09T16:55:03
2014-11-09T16:55:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
animals = ['bear', 'python', 'peacock', 'kangaroo', 'whale', 'platypus'] python = animals[1] kangaroo = animals[3] peacock = animals[2] whale = animals[4] platypus = animals[-1]
[ "seanseany2014@gmail.com" ]
seanseany2014@gmail.com
8880c733d385f621150bc797e7cc5cdba130e10a
40d9422dd81966848f2862d8e716b28c78aea707
/04_geosearch.py
a4b675d28476bdf7a1547145cc7fa2b52e83f759
[]
no_license
jakobzhao/pe03
8a385d0d4c721fa36248d307586949e3152f850e
ac2ae7ab741a6c15dfae98b8c95eb4f09e77dd4c
refs/heads/main
2023-04-13T07:57:25.279559
2021-04-21T08:17:05
2021-04-21T08:17:05
358,016,556
0
0
null
null
null
null
UTF-8
Python
false
false
3,129
py
# created on Dec 24, 2020 # modified on April 14, 2021 # @author: Bo Zhao # @email: zhaobo@uw.edu # @website: https://hgis.uw.edu # @organization: Department of Geography, University of Washington, Seattle # @description: Search existing tweets import tweepy, json, time, csv # Creat...
[ "zhaobo@uw.edu" ]
zhaobo@uw.edu
022fe9db18a7bfac1546592098e38dd4228037d4
c0832b70cd3e01b8f7795ae4ce977e6852c27e9a
/problem3.py
a10d6abefc7b59aa3ac458ecfcd3b6a3620c38b2
[]
no_license
leahpd/Lesson-7-
597ddb4f050ec6ba74d143842ee7d93a0abf5073
9982f3ca560a808eae7858f841aed1b0f20031bd
refs/heads/master
2020-04-12T17:00:44.463255
2018-12-20T21:09:28
2018-12-20T21:09:28
162,631,568
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
print('-'*65) print ('100th Birthday Program:') print() print('Description: This program asks you for your current age and tells you the year that you will turn 100.') age = input('What is your age today? ') age = int(age) yearsleft= 100 - age yearsleft = int(yearsleft) year = 2018 + yearsleft print(year)
[ "noreply@github.com" ]
leahpd.noreply@github.com
a3d9d48aaac6d26112f1a443eb7a52e11c83b86d
31f6ef3a340f46dee74e1e69b87307d96082672e
/mysite/wsgi.py
97b69fc74305c3cc0a474c8cb11abaa056063a9b
[]
no_license
SravaniKV/mdc-assign1p2
9fcf8cdc8e31c75b5ca35a7eafa65304141d7beb
de22e41794f154df1da109271d25abe6fc173907
refs/heads/master
2021-05-08T11:08:29.601312
2018-02-01T19:11:29
2018-02-01T19:11:29
119,882,409
0
0
null
null
null
null
UTF-8
Python
false
false
562
py
""" WSGI config for mysite 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application from whitenoise.django import Django...
[ "venkatasravanikaka@unomaha.edu" ]
venkatasravanikaka@unomaha.edu
0fe2a3ee5bcbf151df129e38ff5051b969889aca
d9dcbd9f4dc60ab752670d2b7025c2da05f6d69d
/study_day12_flask01/15_hook.py
61dfd8866cf5d20895859f744a5ca530dfbbfdc9
[]
no_license
chenliang15405/python-learning
14c7e60c794026b1f2dadbbbe82f63e4745b0c23
6de32a1c9b729e9528b45c080e861b3da352f858
refs/heads/master
2020-08-28T12:21:07.544254
2020-01-04T10:49:50
2020-01-04T10:49:50
217,696,366
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
""" 请求的钩子 """ from flask import Flask, request app = Flask(__name__) @app.route("/hello") def index(): print("hello 执行") return "login success" # 相当于程序启动之后在处理第一个请求的时候执行的函数 @app.before_first_request def index(): print("第一次请求处理前执行") @app.before_request def index(): print("每次请求之前都被执行") @app.after...
[ "1165243776@qq.com" ]
1165243776@qq.com
4d3956aca08cd84cabb584e92a9c96a95ef34502
11cf40946c55b47886cfe8777916a17db82c2309
/ex8.py
717dbf1941b429dd3f54602f98d5e4661d89267e
[]
no_license
dalalsunil1986/python_the_hard_way_exercises
fc669bf2f823a4886f0de717d5f1ca0d0233f6af
bc329999490dedad842e23e8447623fd0321ffe0
refs/heads/master
2023-05-03T01:35:24.097087
2021-05-16T00:43:56
2021-05-16T00:43:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
formatter = "{} {} {} {}" print(formatter.format(1, 2, 3, 4)) print(formatter.format("one", "two", "three", "four")) print(formatter.format(formatter, formatter, formatter, formatter)) print(formatter.format( "Try your", "Own text", "Maybe a", "Or some bs" ))
[ "mathiasgreg@gmail.com" ]
mathiasgreg@gmail.com
f07f05c1470de23f58415c893c0c116f943ce367
5aa7bc2a6c8660235cf4124054d288a9ec025ba6
/misc/SCAN/vocab.py
4afadf56fbadede66344b50972e6e12f696577f9
[ "Apache-2.0", "MIT" ]
permissive
YuanEZhou/Grounded-Image-Captioning
6635b1d8e47cbbde42e4b2f56d6d554f61a350da
044685a0fb049b7d49a930bb3defc3bc92ecf363
refs/heads/master
2022-03-07T16:45:33.752706
2022-01-05T12:47:01
2022-01-05T12:47:01
251,247,888
60
8
null
null
null
null
UTF-8
Python
false
false
3,337
py
# ----------------------------------------------------------- # Stacked Cross Attention Network implementation based on # https://arxiv.org/abs/1803.08024. # "Stacked Cross Attention for Image-Text Matching" # Kuang-Huei Lee, Xi Chen, Gang Hua, Houdong Hu, Xiaodong He # # Writen by Kuang-Huei Lee, 2018 # -------------...
[ "1977212346@qq.com" ]
1977212346@qq.com
db720367282065a82bce1e65eedd0955fcb4d72b
621185192ba26cf426ce5f97f9a94198580123a6
/core/api.py
1109222f30ba63353eedf4e39925b4275cbc4c59
[]
no_license
DmitriyKarpovskiy1/simple_messenger
2bbacaa09ffcd00fd10d39374a2183834c3dc854
8aa77e31c4afb662301066edc94b04117e6785cd
refs/heads/master
2023-01-27T19:47:24.032873
2020-12-05T14:55:23
2020-12-05T14:55:23
314,788,638
0
0
null
null
null
null
UTF-8
Python
false
false
8,744
py
from . import response from .data_accessor import Data_accessor data_accessor = Data_accessor() def main(): return response.response(200, "Server API for Simple Messenger") # Логин/пароль 60 символов def create_user(name, password): if name is None or password is None: return response.response(400, ...
[ "dmitriy.karpovskiy@fruct.org" ]
dmitriy.karpovskiy@fruct.org
bf8de6800a12c7d01677b1d90a2bcfdcc875683f
c68c841c67f03ab8794027ff8d64d29356e21bf1
/Sort Letters by Case.py
df083f821551643b58d7653b6921c678258e3104
[]
no_license
jke-zq/my_lintcode
430e482bae5b18b59eb0e9b5b577606e93c4c961
64ce451a7f7be9ec42474f0b1164243838077a6f
refs/heads/master
2020-05-21T20:29:11.236967
2018-06-14T15:14:55
2018-06-14T15:14:55
37,583,264
8
2
null
null
null
null
UTF-8
Python
false
false
593
py
class Solution: """ @param chars: The letters array you should sort. """ def sortLetters(self, chars): # write your code here if not chars: return None length = len(chars) left, pivot, right = 0, 0, length - 1 while left <= right: ...
[ "jke0zq@gmail.com" ]
jke0zq@gmail.com
79a2af8f5ef1a19f13157706bf8291518bde5ce6
66d273b51b0be55c083764d1e2fd9b19182aacdc
/TourismShop/settings/prod.py
e56a554f9bf638f3c486504e0757a288a5531460
[]
no_license
RainLeave/TourWeb
b48412d0aac1544c8f2171923daaacc4a438b74c
6947ecbd41b5078fb5fa3979a208ec15df910338
refs/heads/master
2022-12-10T10:36:15.572610
2019-10-12T12:48:14
2019-10-12T12:48:14
213,925,647
1
0
null
2022-12-08T06:41:55
2019-10-09T13:25:51
Python
UTF-8
Python
false
false
345
py
from TourismShop.settings.base import * # NOQA (ignore all errors on this line) import os DATABASES = { 'default': { # 'ENGINE': 'django.db.backends.sqlite3', # 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': os.environ.get...
[ "1171039932l@sina.com" ]
1171039932l@sina.com
998ddf92010b3cdd98dc09f3ae0e3b34477f25f0
0e5505b281f444a69ad5fa55f1b12c0467a8cafd
/documentation/homework1/analysis/distance_analyzer.py
212bd24ee290ed8cc4fc6e906175c0313be69268
[]
no_license
drobilc/MatchMaker
8e8627d57072b6104fab10d80b380f029d103567
8b0212a0206ea38f770e1dbfc2ce5c16741c3a14
refs/heads/master
2021-03-11T14:08:14.871443
2020-10-22T20:46:16
2020-10-22T20:46:16
250,272,423
2
0
null
2020-07-21T12:27:04
2020-03-26T13:54:49
Python
UTF-8
Python
false
false
2,413
py
#!/usr/bin/env python import glob angles = ["0deg", "30deg", "45deg", "60deg"] main_results = [[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0]] # detector | video | resolution | TP | FP | FN | processed_frames | TP/processed_frames # open file for analysis resu...
[ "ajda.frankovic@gmail.com" ]
ajda.frankovic@gmail.com
21de9d0d22f3db780d95013e08100bd5fcfd894f
4fd16f40c4f396d91e9a426145827f7ef024135d
/src/test/python/dfr_test/TestBitTruncatedFinder.py
4377ef3c8780badfbf825b7811ea1100c116827b
[]
no_license
rfalke/decreasefileredundency
2240bdb8f201e517fd631da25ae37b8ca1557ca8
63704615726cb43e0a4c91400ef0a895dcd9ac51
refs/heads/master
2021-01-10T19:23:08.417516
2015-05-27T14:22:46
2015-05-27T14:22:46
7,412,847
0
1
null
null
null
null
UTF-8
Python
false
false
2,702
py
from tempdir import TempDir import os from os.path import join import unittest from dfr import db from dfr_test.utils import TestCase, DO_NOT_MATCH_RE from dfr.bit_indexer import BitIndexer from dfr.bit_truncated_finder import BitTruncatedFinder def write_chunked(filename, *chunks): out = open(filename, "wb") ...
[ "i-git-stone@rf.risimo.net" ]
i-git-stone@rf.risimo.net
0361b61925da8971443975df1032048b6f2dafc7
54c617189556e30202984f11d81102fc2d0bf0d3
/bysjapp/models.py
5f5aca47af373704e929ecbb521389b63b239048
[]
no_license
tzdsqhw/PF
b188b08dc263da39a024d8e5e4c0f2cb4626222a
e64c7041473682b8e88d1dd80aa33295975d84fc
refs/heads/master
2021-02-15T02:38:40.039990
2020-04-15T04:50:03
2020-04-15T04:50:03
244,856,828
0
0
null
null
null
null
UTF-8
Python
false
false
5,995
py
from django.db import models # Create your models here. class Users(models.Model): userid = models.AutoField(primary_key=True) username=models.CharField(max_length=20, verbose_name='用户名') password=models.CharField(max_length=20, verbose_name='密码') birth=models.DateField(verbose_name='生日') sex=model...
[ "taozhuodong@gmail.com" ]
taozhuodong@gmail.com
4f3327b8280fae9a290b656015cdb0b39a93b10e
dd869217296fcea9762d3c6c7928ecbe4e3d43d6
/FT_CARSS/python/tag_layer.py
425dfa7b00c12f2cb019617497797918686ec2b7
[]
no_license
iljoobaek/FT_DNN_Checkpointing
e098c3617237b93a7496d7a61a3b65665e44c81e
cd8fedfac3256bde7a47fcead9836d0ec153e88f
refs/heads/master
2023-01-29T19:13:52.400401
2020-12-05T03:52:09
2020-12-05T03:52:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,387
py
import os import sys import functools from ctypes import cdll, c_uint, c_int, c_void_p, c_char_p, c_ulonglong, c_double, c_longlong, c_bool libc = cdll.LoadLibrary('libc.so.6') libpytag = cdll.LoadLibrary("libcarss.so") # Modify the res and argtypes of *MetaJob interface libpytag.CreateMetaJob.restype = c_void_p libp...
[ "souravp@andrew.cmu.edu" ]
souravp@andrew.cmu.edu
dd49338f6077fbdc6af2c2563c7902feaa268e11
40f82989a290ba2f6df6fa286d2588cd1e096c8e
/class/lab5.py
6d7a8e37633a7983e5db9802a5b0f0a0fbec5b9d
[]
no_license
euntae-bae/study-python3
f027ab416377f94f62f5589c6e4349580ee615c7
cdb624a20fc3877b6461e3b6f636d7194b9e7168
refs/heads/main
2023-06-02T14:59:19.950936
2021-06-24T06:23:49
2021-06-24T06:23:49
378,348,216
0
0
null
null
null
null
UTF-8
Python
false
false
968
py
# 예제5: 참조 카운트 class MyClass: def __init__(self, name, value): self.name = name self.value = value print(name + ".__init__()") def __del__(self): print(self.name + '.__del__()') def printInfo(self): print(self.name + '.value:', self.value) obj1 = MyClass('obj1', 100)...
[ "euntae471@gmail.com" ]
euntae471@gmail.com
ba3b045b4a4d1d1e79c2f9ae180a892d07e88351
41f417bcc9773b7a88e3285a95a1de8115fc3721
/ryan/hw2/hw2.py
f26c008ec73887154c854f2625e23aae79f27867
[]
no_license
ExtraOOmegaPPanDDa/Data-Mining-2018
bf16336d3978bad1e218ea3455bc164a828f2635
60d02e296d38f7ebe6d9cb69597945a276722a09
refs/heads/master
2021-04-09T14:18:32.785678
2018-06-13T01:56:28
2018-06-13T01:56:28
125,489,821
1
0
null
null
null
null
UTF-8
Python
false
false
9,574
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 9 16:26:09 2018 @author: HSIN """ import time import numpy as np import openpyxl import string import pickle from collections import Counter import pyfpgrowth #from pymining import itemmining, assocrules, perftesting import openpyxl import s...
[ "r06725048@ntu.edu.tw" ]
r06725048@ntu.edu.tw
acfc868e3f1ccfbe7ceec5070060748636f7c893
3c5c9eb27b3bc704f9bcce5dbc4c02e462a82b66
/tests/orion/models/test_configuration.py
62c8b8650b0390cd8f1696706f54fd568a1f767a
[ "Apache-2.0" ]
permissive
Clearcover/prefect
188ec89263977bd08cd9847ac5542b5b9df643b9
355d5de4b29720d9a81c12fd77ef734fc2c1733b
refs/heads/master
2023-02-05T11:13:35.667093
2023-01-15T15:24:14
2023-01-15T15:24:14
204,846,946
1
2
Apache-2.0
2023-01-23T13:13:48
2019-08-28T04:19:14
Python
UTF-8
Python
false
false
1,729
py
from prefect.orion import models, schemas async def test_write_and_read_new_configuration(session): new_config = schemas.core.Configuration(key="foo", value={"foo": "bar"}) await models.configuration.write_configuration( session=session, configuration=new_config ) # read the configuration ...
[ "noreply@github.com" ]
Clearcover.noreply@github.com
afc091a19c14a0e9a7d3d187c8587a7b5de1c186
b59f1458a746f0ef31702ab718a8f1fb0766e4b5
/STR_code/test_DeltaBW.py
be5a00ed3e51f1fbef858c2de2d08ecaaaba33a6
[]
no_license
mperignon/STR_python
32edd814f7c4c51a9c6f645141c62530f6272af6
4637c6e85f32ba06301f8353d660965b99e203e1
refs/heads/master
2021-01-21T13:40:52.427392
2016-05-24T18:37:19
2016-05-24T18:37:19
43,464,921
0
0
null
null
null
null
UTF-8
Python
false
false
3,469
py
import unittest from DeltaBW import DeltaBW class test_DeltaBW(unittest.TestCase): def test_mass_balance(self): f = DeltaBW(friction = "Chezy", flood_discharge = 6., flood_intermittency = 1., bedload_discharge_input = 0.001, ...
[ "mariela@mac1-16-220-dhcp.int.colorado.edu" ]
mariela@mac1-16-220-dhcp.int.colorado.edu
787c2274a31c79dfdceb6628ae8aab2f7590a368
630e5fa4fec4cee4b6936eec74a726550406c11f
/test/functional/rpc_bip38.py
93dfb7a50712e55599f4be7defa4821459115c3a
[ "MIT" ]
permissive
crypTuron/PengolinCoin-Core
4d815d25de927d42dc890379d15738ee728c525e
3d6c66dd930110075ff44ee6f5a4364c533becd7
refs/heads/master
2022-11-24T21:17:56.271853
2020-07-23T13:49:52
2020-07-23T13:49:52
282,408,670
0
0
MIT
2020-07-25T09:04:22
2020-07-25T09:04:21
null
UTF-8
Python
false
false
1,016
py
#!/usr/bin/env python3 # Copyright (c) 2018 The PENGOLINCOIN developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test RPC commands for BIP38 encrypting and decrypting addresses.""" from test_framework.test_framework impo...
[ "alonewolf2ksk@gmail.com" ]
alonewolf2ksk@gmail.com
cedff5daa81fe70ede0a08826900f6f4efb6fb31
096a4889f50e24b5eee5531c3b5b0959f26f9957
/webprintapplicaion/webprint/manage.py
2d7273f37919eda56e3a12f7b7b69a2549f37908
[]
no_license
arunkumarpadmaneri/WebSilentPrintExploreKnwlodege
5308b1984b8b806daf603ca1e9f51193bac431a7
e5c36922ac6e57d8831951662203b26dfad79076
refs/heads/master
2022-07-21T16:15:13.527976
2020-05-21T10:42:01
2020-05-21T10:42:01
265,821,292
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
#!/usr/bin/env python import os import sys if __name__ == '__main__': os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'webprint.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. Are...
[ "arunkumar1311195@gmail.com" ]
arunkumar1311195@gmail.com
eac488008052eb823f01a6d288781c2d364ce92c
7adbb5e76fe9f4e6850e79bda7951ebd6cbbc6be
/rowapp/rowapp/wsgi.py
99637c55952d633561e7ef33159d8d540ee4d4a3
[]
no_license
jasminedevv/Rowan-s-Entries
6a640dd7fb9d0163f6a3442aabf34a27ab2b03c1
fae5b5cbecf92043d99da9c89d320ab44c624492
refs/heads/master
2021-09-07T11:07:59.847862
2018-02-22T02:38:38
2018-02-22T02:38:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
""" WSGI config for rowapp 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.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTI...
[ "jasmine.yhumbert@gmail.com" ]
jasmine.yhumbert@gmail.com
023ec9ec440834589bf01a74d48555f830421265
0c514ef069ee7b5308837305a899993dbc1f9ff9
/more/more_lambda.py
0774187c1c15357f3eaaceb2cc0fcc2ca2ff4fb7
[]
no_license
jiaojinda/Python
fe4d07311c77a2e1600020f13dea1e086b011906
2eb2cc2d4fc74a2e38b8f0129392593a9b1ee274
refs/heads/master
2022-10-25T08:22:26.200153
2018-03-05T02:49:13
2018-03-05T02:49:13
123,852,769
0
1
null
2022-10-05T23:49:55
2018-03-05T02:21:52
Python
UTF-8
Python
false
false
106
py
points = [{'x':2, 'y':3}, {'x':4, 'y':1}] points. sort( key=lambda i: i['y'] ) print( points)
[ "jiaojinda@163.COM" ]
jiaojinda@163.COM
2c62e3a116b8f3154284950f9d5e0579e5a364d3
e346597620d79df3cc437a5ddc32b8b6027513fa
/video_yolov5_trt.py
9271dce45fa4dbaffd54ef53f59d61ea5d8e836c
[]
no_license
RocaPiedra/tensorrt-yolov5
12790e595a210f7f3199fb25b8350a6f08cc57ee
8a1ae52020a5da6c778fb774b484d6b5ffc8d959
refs/heads/main
2023-07-19T04:32:46.466565
2021-09-02T12:27:18
2021-09-02T12:27:18
402,041,176
0
1
null
2021-09-01T12:13:43
2021-09-01T11:48:25
null
UTF-8
Python
false
false
14,310
py
""" An example that uses TensorRT's Python api to make inferences. """ import ctypes import os import random import sys import threading import time import cv2 import numpy as np import pycuda.autoinit import pycuda.driver as cuda import tensorrt as trt import torch import torchvision MODEL_SIZE = 's' INPUT_W = 608 I...
[ "pablo_rocasg97@hotmail.com" ]
pablo_rocasg97@hotmail.com
3b6c02dbdc9ba90c6adb1970f62502b3217780da
81e9c017fd29228a6024ec7811304c6806354c96
/plane.py
054ca0c91d41f003688016a2a77e63d5dea9e5ed
[]
no_license
gchan5/udacity-linear-algebra-refresher
736e6895ce29b462d923d29a71173c051a537b9a
fa2f178a692805af7837527764dddc2fb8b0a003
refs/heads/master
2020-03-30T15:10:16.004527
2018-11-01T09:35:22
2018-11-01T09:35:22
151,196,364
0
0
null
null
null
null
UTF-8
Python
false
false
4,282
py
from decimal import Decimal, getcontext from vector import Vector from line import Line getcontext().prec = 30 class Plane(object): NO_NONZERO_ELTS_FOUND_MSG = 'No nonzero elements found' def __init__(self, normal_vector=None, constant_term=None): self.dimension = 3 if not normal_vector: ...
[ "unusgilbert@gmail.com" ]
unusgilbert@gmail.com
8c24d77f85ac64da80cb0bd41fae46738e54e830
b085f79c4dbc07557e4c82f71628f44d1a2a3c55
/accounts/migrations/0003_auto_20160922_0338.py
0027cb116306145f49ab57259bd0c0c132400216
[]
no_license
HugOoOguH/ctlTwynco
6c1fd856871243cacc5668cd2ff619130d82c460
6d88b4a1a35ce585f6ee2df0372aac948a6b2955
refs/heads/master
2020-09-27T16:59:36.790096
2016-09-22T05:25:04
2016-09-22T05:25:04
66,982,996
0
0
null
null
null
null
UTF-8
Python
false
false
596
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-22 03:38 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20160920_2010'), ] operations = [ migrations.RemoveFiel...
[ "hugo-ensc@outlook.com" ]
hugo-ensc@outlook.com
f740ad09fb45a89955eead364d2738e2c5cfd61f
0e3e194b5b13e97b6d6eb4b5c88bce1c2ab5a977
/test/firstnuron.py
0ba66e1bdcf5f1c2d163b938d51d9029bcc290eb
[]
no_license
Sunil1997/MNIST_Nural
60d8e0dc01e8c190034bf46760a6b0035d135e3e
d9781d2be4d141bfcaa8c966c889901a00fa96b6
refs/heads/master
2020-03-27T04:25:47.613983
2018-08-24T03:45:51
2018-08-24T03:45:51
145,938,160
0
0
null
null
null
null
UTF-8
Python
false
false
2,218
py
import tensorflow as tf import numpy as np import matplotlib.pyplot as plt def add_layer(inputs,in_size,out_size,activation_function=None): with tf.name_scope("layer"): with tf.name_scope("WEIGHTS"): weights = tf.Variable(tf.random_normal([in_size,out_size]),name='w') with tf.name_scope...
[ "sunil@localhost.localdomain" ]
sunil@localhost.localdomain
c9a09744c14a4aca18236c5fcb9f65b330800de4
4db86e0e887c28aae03368c3eed870e4803ccd2d
/library_website/controllers/controllers.py
d009e5c1d4a412ec927f6118b2265e85f121bd61
[]
no_license
michaelZhong08/Oodoo-Demo-Code
604686d4708483ccb0628d95c6addaf9fe7dd0bf
9563301e8fcd0b847a068ed10c71999103b151c4
refs/heads/master
2020-08-13T13:11:54.123813
2019-10-14T08:07:00
2019-10-14T08:07:00
214,973,588
1
0
null
null
null
null
UTF-8
Python
false
false
818
py
# -*- coding: utf-8 -*- from odoo import http # class LibraryWebsite(http.Controller): # @http.route('/library_website/library_website/', auth='public') # def index(self, **kw): # return "Hello, world" # @http.route('/library_website/library_website/objects/', auth='public') # def list(self, *...
[ "micheal_zhong@outlook.com" ]
micheal_zhong@outlook.com
665167de52b93ffc4a32935b37c45148f4d1cb62
2aeccf93bb57b22dc895de9022413a0128497257
/fw/FaceSwap/add_image.py
b34e857f891712f3eacccb7ec2f09161e2baed4c
[ "MIT" ]
permissive
Huang-chi/face_classification
72b42774e904dd8f97813bc55a4a5a64e7bcf8ee
9be2b51871008c97f3e71e4ceb2d4d031a0ca363
refs/heads/master
2022-12-05T05:13:13.181571
2019-05-01T07:32:55
2019-05-01T07:32:55
177,799,345
0
0
MIT
2022-11-21T21:16:15
2019-03-26T13:58:11
Jupyter Notebook
UTF-8
Python
false
false
771
py
import cv2 as cv import numpy as np def Add_image(image_array, emotion_icon=None): x_offset = 520 y_offset = 0 y1, y2 = y_offset, y_offset + emotion_icon.shape[0] x1, x2 = x_offset, x_offset + emotion_icon.shape[1] cv.rectangle(image_array, (x1, y1), (x2, y2), (0, 0, 0), -1) widt...
[ "a0983080692@gmail.com" ]
a0983080692@gmail.com
e59cd1e05315ae0cca56b62175892102c42e1912
6b5dfd3b325e857fd037ecb694cc88058a07bce8
/Snow.py
eb8e1962d059fa8920c8cc9a51415bdc7cb6270b
[]
no_license
BloodyPig/LittleThing
76df9b3dcd78c8709868ac377dd9b9288c175c11
eda02027da60bf44dbd4e71194246c5f1a578553
refs/heads/master
2020-04-14T08:40:28.769756
2019-03-21T05:13:16
2019-03-21T05:13:16
163,740,357
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
# 科赫曲线 # 正整数n代表科赫曲线的阶数,表示生成科赫曲线过程的操作次数。 # 科赫曲线初始化阶数为0,表示一个长度为L的直线。 # 对于直线L将其等分为3段,中间一段用边长为L/3的等边三角形的两个边替代, # 得到1阶科赫曲线,它包含4条线段。进一步对每条线段重复同样的操作后得到的2阶科赫曲线。 # 重复操作N次可以得到N阶科赫曲线。 import turtle from turtle import * def koch(size, n): if n == 0: turtle.fd(size) else: for angle in [0, 60, -120, 60]: ...
[ "ximuning213@163.com" ]
ximuning213@163.com
15e5789932b0355c04ac2b725eab7e72e658eead
768932af57174cfa8c7f593be71baed1a95697e4
/Fraction-defective-analysis-Pilot/MLP.py
787c03d722f49ac785476b30c34f2c5a7ff4c8e1
[]
no_license
INFIA-FOUNDATION/machine-running
e010db8bc6fadfe807b847428d54d52c064511f0
afb9fd01061cb9bf7a9cebb8395834593544fde5
refs/heads/master
2020-04-10T06:09:35.256106
2018-12-12T19:01:17
2018-12-12T19:01:17
160,847,016
0
0
null
null
null
null
UTF-8
Python
false
false
10,417
py
# -*- coding: utf-8 -*- """ Created on Sat Dec 1 21:15:00 2018 @author: INFIA Protocol """ #import random #import sys #import scipy import numpy as np import pandas as pd from sklearn.neural_network import MLPClassifier train = pd.read_csv('cluster_train.csv') #train = train.dropna() t...
[ "noreply@github.com" ]
INFIA-FOUNDATION.noreply@github.com
885dc21c225ed220511379ff73cb7b7d0bf7d591
89d2d34a9e4e68f99d0396e371e6fa07d04b78a2
/app/Models/test_models.py
decfd7d429442879a72519bdce374f77bcde9b32
[]
no_license
ysy950803/MyServer
d44a445f39fac4ea323edaab02bed1486aab605f
c4e37ca78cac2e8a5efc0a4003f43d35f5ce5558
refs/heads/master
2021-01-10T01:09:14.017942
2016-03-01T06:54:39
2016-03-01T06:54:39
51,681,662
1
0
null
2016-02-14T05:45:07
2016-02-14T05:45:07
null
UTF-8
Python
false
false
42
py
# -*- coding: utf-8 -*- from . import *
[ "harold@HarolddeMacBook-Pro.local" ]
harold@HarolddeMacBook-Pro.local
030e52259d44d34774c35c42d1d85544d7bbead2
0f7e18a483a44352dfac27137b8d351416f1d1bb
/tools/extract_gif.py
2954d57a2760b14fc8ed5596e03e11684e3c682c
[]
no_license
rinoshinme/slim_finetune
b5ec4ed53a2d6c15dfa5b4cfb73677ccb58a4aa6
1e465e3faff668e65cc873828057365114d4cfb1
refs/heads/master
2022-11-07T21:02:38.253001
2022-11-02T14:48:45
2022-11-02T14:48:45
199,089,723
0
0
null
null
null
null
UTF-8
Python
false
false
676
py
""" Extract image frames from gif files. """ import cv2 import os def read_gif(gif_file, write_folder, name_prefix): capture = cv2.VideoCapture(gif_file) cnt = 1 while True: ret, frame = capture.read() if not ret: break save_name = os.path.join(write_folder, '%s_%06d....
[ "rinoshinme@163.com" ]
rinoshinme@163.com
d0bf9c5380c412bd8792dcbe9fbfe16b6a0eff54
294b310982869369f398cc961e7a4b10ec4a37ab
/InformationHiding/real_User/models.py
73387c3a03085b6aefe8a8a3ff3e64db7938d47f
[]
no_license
hasrat97/InformationHiding---Copy
1858fff8515287f134e11e280c9c864f5685dbcb
c7b40d894809474508418e94003302655c3b8bdd
refs/heads/main
2022-12-25T01:59:11.286785
2020-10-03T13:41:03
2020-10-03T13:41:03
300,889,316
0
0
null
null
null
null
UTF-8
Python
false
false
913
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): #eta profile er model/table.. aro kichu add koris..add image #userName = models.CharField(max_length=100, blank= False, unique= True) ei username ta hobe kina sure na ami.. tui jkhn ...
[ "68140564+hasrat97@users.noreply.github.com" ]
68140564+hasrat97@users.noreply.github.com
2319403ffee6db7a854ac6e5126ce4367d053e43
b28c8ef3a6bbca98ecb1ae2e5487c297b561d8e4
/music/urls.py
77de32e95b9a25bbced65a31070910152c6b4316
[]
no_license
deepak-891/first_django_app
2973269394d47fd4899bdc37ba080453f5e54f4f
14186c9ba805c87adbdaa890e54f79eb55fff743
refs/heads/master
2021-06-23T21:32:23.761355
2019-08-17T16:08:33
2019-08-17T16:08:33
182,037,989
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
from django.urls import path from . import views app_name = 'music' urlpatterns = [ # /music/ path('', views.IndexView.as_view(), name='index'), # /music/<album_id>/ path('<int:pk>', views.DetailView.as_view(), name='detail'), ]
[ "noreply@github.com" ]
deepak-891.noreply@github.com
be9a0907c9036e8fdd48e08104e662b540b981c3
089861b716767719b268c5e2c4718bc56b1b37b1
/tiles.py
9c6baed97ea127f845729f2b2dd31cec4a855cfe
[]
no_license
ajw4g13/Tiles
413eab93f014ef0b5aa9242e4f8f41331338943c
fa49a4b0f3d0af0ec555950efa4c2b5245e244c4
refs/heads/master
2021-01-10T14:58:13.302435
2016-02-09T14:40:05
2016-02-09T14:40:05
51,127,037
0
0
null
2016-02-06T15:04:27
2016-02-05T05:01:36
Python
UTF-8
Python
false
false
8,360
py
### This code uses inputted dimensions for a rectangular room and a ### rectangular tile, and outputs the number of tiles needed to tile the ### room optimally. It then outputs instructions on how to tile your room, ### a diagram of the final room, the number of tiles needed etc... ## This section t...
[ "awhitehead1@hotmail.co.uk" ]
awhitehead1@hotmail.co.uk
9a303d5a18b1917d5e0ff10d6430ce6a4b6bd086
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/tools/perf/page_sets/blink_memory_mobile.py
40b5f134886c79490da62c0fdd3e8fdc1c01ea0c
[ "BSD-3-Clause", "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-2.0-only", "LicenseRef-scancode-unknown", "LicenseRef-scancode-unknown-license-reference" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
5,080
py
# Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import logging from telemetry.page import page as page_module from telemetry.page import shared_page_state from telemetry import story from page_sets.login...
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
78d2b8b47a7eee961d5859141f27596799c74d15
1bac0cd9812e33724664dc0467976948b8628521
/DataHack_2018/NLP_project/news/news/items.py
00bcbad309d0e3febf657f932e523bdb474325e7
[ "MIT" ]
permissive
atalyaalon/anyway_projects
a1509fffb61e6781ff645db288be448cc47bd524
cc76f238f116e70a663e55d2a3fe0c7c5cd3cdf6
refs/heads/master
2021-06-28T21:43:28.655495
2020-09-17T21:34:35
2020-09-17T21:34:35
151,638,491
0
0
MIT
2018-10-04T21:32:42
2018-10-04T21:32:42
null
UTF-8
Python
false
false
284
py
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class NewsItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass
[ "litmanovitziv@gmail.com" ]
litmanovitziv@gmail.com
c3d90ec27fcc681bfa880229fd4e3c3d7269f3d8
9de3cd1f8d66e223b7f193776376147136321b30
/tests/test_cookie_storage.py
80d9dbd52236af389425acd1c41c63ce277620ad
[ "Apache-2.0" ]
permissive
kolko/aiohttp_session
223b5eaf8c291407f289e20efe692a0afef31bca
8df78b3d7bd5623f82ff8171c9d947107421f4ce
refs/heads/master
2021-01-18T09:43:10.928082
2015-08-06T16:15:51
2015-08-06T16:15:51
40,311,233
0
0
null
2015-08-06T15:06:58
2015-08-06T15:06:58
null
UTF-8
Python
false
false
5,099
py
import asyncio import json import socket import unittest from aiohttp import web, request from aiohttp_session import (Session, session_middleware, get_session, SimpleCookieStorage) class TestSimleCookieStorage(unittest.TestCase): def setUp(self): self.loop = asyncio.new_eve...
[ "andrew.svetlov@gmail.com" ]
andrew.svetlov@gmail.com
64010d201f6a37108148ac511448e0bfea8f5f95
2d9a17e2b896d2f6a90913a4ba02d41f0ede5dd0
/_gsinfo/qiyecxb/test.py
8290bb75e875e96e55b8b937147c849a9ba5f19c
[]
no_license
wolfwhoami/xxxxx
1cf2ed2c8ed78048d87cccf2953ca86c0871a783
670787ec71127bc05c1645cc3d8ef7c3a91fe84b
refs/heads/master
2020-03-30T00:44:55.864817
2016-12-16T01:45:03
2016-12-16T01:45:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,842
py
#!/usr/bin/env python # -*- coding:utf8 -*- import os import sys sys.path.append(sys.path[0]+"/..") from spider.spider import Spider from spider.httpreq import SessionRequests, CurlReq import spider.util import pycurl import cutil import json import abc from spider.runtime import Log import time import base64 from Cry...
[ "jianghao@ipin.com" ]
jianghao@ipin.com
9d4365826dd9af614ce9b518bc6de82921605311
621a865f772ccbab32471fb388e20b620ebba6b0
/compile/gameserver/data/scripts/quests/378_MagnificentFeast/__init__.py
b971073fd517a5f3915abefa119d21a16ab52a08
[]
no_license
BloodyDawn/Scions_of_Destiny
5257de035cdb7fe5ef92bc991119b464cba6790c
e03ef8117b57a1188ba80a381faff6f2e97d6c41
refs/heads/master
2021-01-12T00:02:47.744333
2017-04-24T06:30:39
2017-04-24T06:30:39
78,662,280
0
1
null
null
null
null
UTF-8
Python
false
false
3,714
py
# Magnificent Feast - v0.1 by DrLecter (adapted for L2JLisvus by roko91) import sys from net.sf.l2j.gameserver.model.quest import State from net.sf.l2j.gameserver.model.quest import QuestState from net.sf.l2j.gameserver.model.quest.jython import QuestJython as JQuest qn = "378_MagnificentFeast" #NPC RANSPO = 7594 #...
[ "psv71@yandex.ru" ]
psv71@yandex.ru
a536535cdfecee48f5b8cb141595826e7bde7ba0
36c1db035d186f34a42a5a5ebda0ac25b6aafa0a
/drawing_with_variables.py
ada8b096c11ede3b680f8c5c5023f172b1326b33
[]
no_license
ShaanSavani/classwork
a19c96b76e666ba3ea6ac9503d541eafd047565d
d14facfd19bbf76fddec66e99bcfd5fe14daee3d
refs/heads/master
2020-04-22T22:34:04.377480
2019-02-26T16:04:38
2019-02-26T16:04:38
170,712,777
0
0
null
null
null
null
UTF-8
Python
false
false
461
py
import arcade WIDTH = 640 HEIGHT = 480 x = int(input("Please enter the x value of the shape: ")) y = int(input("Please enter the y value of the shape: ")) radius = int(input("Please enter the radius: ")) arcade.open_window(WIDTH, HEIGHT, "My Drawing") arcade.set_background_color(arcade.color.WHITE) arcade.start_re...
[ "noreply@github.com" ]
ShaanSavani.noreply@github.com
b8e37ddd6a647d5e6b5d91fd3f74e56d213ea176
8d3e6464ad779ffc3e2864fee3aaf948b8514fc2
/cgnenhancer/tests/test_general.py
adb62b825591676768a7dd4af8b16345977d9aba
[]
no_license
danilofo/cgnenhancer
ea82586c7b65343be940404382fe817f9d3a5e8b
0c8f938b24ec0c997629d319eafa79d10070d04f
refs/heads/master
2022-07-18T22:26:21.579547
2018-06-23T18:44:40
2018-06-23T18:44:40
89,143,023
0
2
null
2022-04-06T18:44:48
2017-04-23T13:15:02
Jupyter Notebook
UTF-8
Python
false
false
34
py
def fail_test(): assert False
[ "danilo.forastiere@outlook.com" ]
danilo.forastiere@outlook.com
ad1bf68a660e4ab9ea3514eb7a9d1c009dd6e56d
e6dab5aa1754ff13755a1f74a28a201681ab7e1c
/.parts/lib/django-1.3/django/contrib/gis/gdal/base.py
642a7c541e681e266343d47f00fbee2db2507210
[]
no_license
ronkagan/Euler_1
67679203a9510147320f7c6513eefd391630703e
022633cc298475c4f3fd0c6e2bde4f4728713995
refs/heads/master
2021-01-06T20:45:52.901025
2014-09-06T22:34:16
2014-09-06T22:34:16
23,744,842
0
1
null
null
null
null
UTF-8
Python
false
false
97
py
/home/action/.parts/packages/googleappengine/1.9.4/lib/django-1.3/django/contrib/gis/gdal/base.py
[ "ron.y.kagan@gmail.com" ]
ron.y.kagan@gmail.com
97dcbef55e8a7a8d97e9e199539cbb5686065123
3839c7388496f4904ac5c86157191a0be8ad327e
/longhornbrewing/pagestyle/migrations/0002_pagestyle_active.py
83ea194bc0ab6ec6d0d30f926b4462c578286049
[]
no_license
UTAlan/WoodcreekBrewing
748e58b39ae70c4309da099a0c3b9664acba264a
6e731a829ee53d224106d0aab2240b580e4e69f0
refs/heads/master
2021-01-18T11:23:21.018073
2015-09-01T19:56:45
2015-09-01T19:56:45
29,046,088
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('pagestyle', '0001_initial'), ] operations = [ migrations.AddField( model_name='pagestyle', name='act...
[ "alan@alanbeam.net" ]
alan@alanbeam.net
3ee86c8d0bff10d72f0e812e2906e5151dae4b24
c21e65d2937102d776391b9ebad7f20064740638
/semaine5/app.py
646a6e60cc3350617c870dd0aa73caf5b3cd7110
[ "MIT" ]
permissive
aviau/INF3005_LAB
948aed4650a2c182066ec7f5372be4f83aedf0cf
5b451c833318a4ba222282d7be74f5a265160aa0
refs/heads/master
2021-05-09T04:32:14.508460
2018-02-04T02:56:34
2018-02-04T02:56:34
119,280,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
from flask import Flask from flask import render_template from flask import request from flask import redirect app = Flask(__name__) @app.route("/") def index(): return render_template("index.html") @app.route("/success") def success(): return render_template("success.html") @app.route("/submit", method...
[ "alexandre@alexandreviau.net" ]
alexandre@alexandreviau.net
7ce2fb4443b6fe30f3ac0b008c3c21364fe3f79b
c18ca2d47a3efa74cef7504d9dd2d7e715d6a88b
/users/forms.py
ca97c9bf83ff3f24983cb4b655d995cfd461136d
[]
no_license
cqh6666/SuppliedMS
d180a16de6df12c772cd947e58e959b60f7dfb8c
e74420f7bc836439f5686fa8653cf5616f62df6e
refs/heads/master
2020-06-01T16:55:37.077790
2019-06-25T10:48:00
2019-06-25T10:48:00
190,856,794
1
0
null
2019-06-09T06:34:08
2019-06-08T07:05:12
Python
UTF-8
Python
false
false
858
py
# -*- coding: utf-8 -*- """ ------------------------------------------------- File Name: forms Description : Author : chen date: 2019/6/8 ------------------------------------------------- Change Activity: 2019/6/8: ------------------------------------------------- "...
[ "2018ch@m.scnu.edu.cn" ]
2018ch@m.scnu.edu.cn
11d80d981f0eb530daca06e154200e0096e36887
9a8577bf60595a4e5f0ad86fa64967405a8567ea
/projects/ex48-done/tests/lexicon_tests.py
f14357f89ac088fd5cec110be46d35443c4a1101
[]
no_license
arutters/learn_python_the_hard_way
1d5d9225afd694c3de58c6c54cee9410b1883e68
499cc5519592713b5906d823db407d342ee99b25
refs/heads/master
2023-07-13T00:03:17.054272
2021-08-23T22:20:53
2021-08-23T22:20:53
387,937,303
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
from nose.tools import * from ex48 import lexicon def test_directions(): assert_equal(lexicon.scan("north"), [('direction', 'north')]) result = lexicon.scan("north south east") assert_equal(result, [('direction', 'north'), ('direction', 'south'), ('di...
[ "annabelle4086@gmail.com" ]
annabelle4086@gmail.com
551fbca4a6614d91516633237c0818a95fb45e7d
986630b72263dc5db7acb2d617d989111bc23649
/urbanizze/map/migrations/0006_terreno_setor.py
29d7b9ccb761a532bcf7f9d2fab2d7b746bb9e42
[]
no_license
marcellobenigno/urbanizze
afbef6d45077ed93e0edd3abf21d167561659914
ca11fa55846030a75e8d4815e13dcd1df89ff421
refs/heads/master
2022-08-13T03:55:32.269185
2019-08-08T10:33:42
2019-08-08T10:33:42
201,235,674
1
2
null
2021-12-13T20:07:21
2019-08-08T10:31:30
JavaScript
UTF-8
Python
false
false
510
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-20 01:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('map', '0005_setor'), ] operations = [ migrations.AddField( mode...
[ "benigno.marcello@gmail.com" ]
benigno.marcello@gmail.com
1fe7616ebc4c9786ecf6bf6b454fa0ec33f01f13
a51fb5bcf1e8309721b07ecb0164cda373cefb13
/task010.py
d446e7dcc8a304de9f87d172ed398c4da3a92ca6
[]
no_license
laqie/euler
e0193b54008f303d800f237038867fa076de6eaf
24136a95bf62a208d374f89c04390bc81952c6b7
refs/heads/master
2016-08-02T23:42:18.262509
2013-08-28T03:33:16
2013-08-28T03:33:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from math import sqrt def is_prime(num): if num == 0 or num == 1: return False if num == 2: return True for x in xrange(2, int(sqrt(num) + 2)): if num % x == 0: return False else: return True result = 0 for x in xrange(1, 2000000): if is_prime(x): ...
[ "mail@laqie.net" ]
mail@laqie.net
9bacdad171082f06867c0997a01c9326fc87fa95
bb45fe63307a8176325845c543c43b9fb3ce8da2
/plugins/modules/tag_info.py
d894d57e50ec20199cc6952ba9a47cab408b2d8d
[ "Apache-2.0" ]
permissive
lego963/ansible-collection-quay
67f342847f205c25a6245d63e4b8a671329d8732
e64026a5ba67dee1d42e8d06b27be0d60e77335b
refs/heads/master
2023-07-08T21:20:06.324922
2021-08-11T10:58:14
2021-08-11T10:58:14
394,558,399
0
0
Apache-2.0
2021-08-11T10:58:06
2021-08-10T07:08:55
Python
UTF-8
Python
false
false
4,502
py
#!/usr/bin/python # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import (absolute_import, division, print_function) __metaclass__ = type from ansible_collections.lego963.quay.plugins.module_utils.quay import QuayBase DOCUMENTATION = ''' module: tag_inf...
[ "noreply@github.com" ]
lego963.noreply@github.com
56104be7b888315ad95f9167b9242fd41724b8e4
c93c88d7e45cfcf05822c701a1c1dafee8153347
/projects/cs102/circle_of_squares.py
fd97d939c1fb1f0196448c0b8b062ffd70ff92aa
[]
no_license
timisenman/python
b7c09f6377e9a28787fce7b0ade6cab499691524
9ea6b6605bd78b11b981ca26a4b9b43abe449713
refs/heads/master
2020-05-21T22:46:50.502488
2017-01-18T22:54:23
2017-01-18T22:54:23
63,548,164
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
#A Circle of Squares #Either creates a draw square function, #and rotate it 10 degrees 36 times. import turtle def draw_square(a_turtle): for i in range(1,5): a_turtle.forward(100) a_turtle.right(90) def draw_art(): window = turtle.Screen() window.bgcolor("blue") brad = turtle....
[ "tim.isenman@gmail.com" ]
tim.isenman@gmail.com
0d0fe379e53f12b38a5a7bc0f6e267ac8e508779
ff55c558787128104336601348ec95886d6474a1
/2 week/work_2.4.py
117e1dc343934488c02f1d14e1a780dd87026278
[]
no_license
makar-81/HSE_Python
ff51fa363761af09fd15c8710322fbfaa69c4373
02313bc221ff4b605216576ca1c47eb57baf597f
refs/heads/master
2023-01-25T02:49:21.152819
2023-01-14T10:13:55
2023-01-14T10:13:55
252,149,510
1
0
null
null
null
null
UTF-8
Python
false
false
106
py
a = int(input()) if (a % 4 == 0 and a % 100 != 0) or a % 400 == 0: print("YES") else: print("NO")
[ "makar-81@mail.ru" ]
makar-81@mail.ru
0bfd14fba7b6da0fffddd04bedfa1a6df56b0812
1c9918c4c98a15c4889370ecaa72649658321186
/activation.py
1a58561fd1f4026b9520d96bb4c3f5d09587cf08
[]
no_license
R1nlz3r/LibML
2eef4d86332ef3c625f6981f09c9c35f58d34a4c
a11308116dfad7d7c0aeefd4772cabff698dd288
refs/heads/master
2020-05-03T10:48:09.258621
2019-03-30T17:09:18
2019-03-30T17:09:18
178,587,806
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
from numba import jit import numpy as np def identity(x): return x def identity_gradient(x): return 1 @jit def sigmoid(x): return 1 / (1 + np.exp(-x)) @jit def sigmoid_gradient(x): return sigmoid(x) * (1 - sigmoid(x)) @jit def tanh(x): return np.tanh(x) @jit def tanh_gradient(x): return 1.0 - tanh(x) ** 2 ...
[ "mapandel@student.42.fr" ]
mapandel@student.42.fr
a14918e8e344b9e079594ff6e61671c697f4b86c
1b82fd5af3a00378ed9fab0f898d0a09f993db12
/game/vision.py
cb2ca3516c1511f0496461a2cb372741e41c70a5
[]
no_license
Adames4/NFS_AI
b25e7b16bd555c8f420b525030009228aebc9f18
1bb4125f334f34f9e46f3d814af9c78136c94982
refs/heads/main
2023-02-25T00:26:04.562929
2021-01-30T10:23:35
2021-01-30T10:23:35
333,165,667
1
0
null
null
null
null
UTF-8
Python
false
false
1,725
py
from math import sin, cos, pi import pygame from .constants import BACKGROUND, GRASS, WIN, RED class Vision(): ''' Vision object represent vision for every single Car object ''' def __init__(self): self.visible = False def make_points(self, center, angle): ''' ...
[ "noreply@github.com" ]
Adames4.noreply@github.com
b7922b170721e4cabe8d030551301d301feb2b7c
cf6edacfbcef73e499c42688e6ef54a3d277a0eb
/program.py
ca5ef1f80cad8ea36b0e46d5a26c29517085adbb
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jackcenter/Localization_for_Differential_Drive
1ebd19445550780924c00a286f6665886b639088
ccdb9f7d2c2e90ce1ba2bc5e0d037ed009d3cab8
refs/heads/master
2022-04-28T09:47:54.953691
2020-05-01T15:06:19
2020-05-01T15:06:19
257,748,995
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
import os def main(): working = True while working: print_header() cmd = get_user_input() working = interpret_command(cmd) def print_header(): print('---------------------------------------------------') print(' COHRINT') print(' Particle Fil...
[ "jace3373@gmail.com" ]
jace3373@gmail.com
ad834e9742ef760877d17971fb5cc046a03d2d57
a7003c87524ed26876a6e8c2a7b41bac5486d3c9
/addD.py
195157d78a162fd957299bf7685d408b25bb36d2
[]
no_license
asmaa13295/catalog-project
e2a3f5e2ca753e02d6d37b08ccc446bcc55da8bd
77ec06db575d41d80be686f1371cb8d7c256c71c
refs/heads/master
2021-01-20T09:14:11.292631
2017-08-29T21:38:52
2017-08-29T21:38:52
101,585,966
1
0
null
null
null
null
UTF-8
Python
false
false
4,993
py
from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from dataBase_setup import Cat, Base, Item engine = create_engine('sqlite:///catalog.db') # Bind the engine to the metadata of the Base class so that the # declaratives can be accessed through a DBSession instance Base.metadata.bind = engine ...
[ "asmaa.mohamed.elshaer@hotmail.com" ]
asmaa.mohamed.elshaer@hotmail.com
4c4b658d1fd4262f483b4b62d5a424b7b5f92cf3
051790c87c5c8cf3d46b6490254f4d535d10bf62
/keymaker/settings.py
862b4a738a0da20c07608246356f6217edfda155
[]
no_license
ImLordImpaler/keyMaker
41c3a22893f5351208c9d338816fe48e5b47dc52
7708f9bc823a248227bbce90a6ff66f54f77323d
refs/heads/main
2022-12-30T17:28:20.905680
2020-10-27T04:04:52
2020-10-27T04:04:52
307,581,564
0
0
null
null
null
null
UTF-8
Python
false
false
3,126
py
""" Django settings for keymaker project. Generated by 'django-admin startproject' using Django 3.0.5. 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 ...
[ "rachit.saxena42@gmail.com" ]
rachit.saxena42@gmail.com
410def9279b1fe218b8508f66e6eaeceaa99efa1
2370f989c0bac502a8ecca2ef75c8772584fb111
/accessingAWS.py
d30c6c670d94847186d8605b6ea7e86fddd7bd59
[]
no_license
maraolo/python
6859ed835f0e3b7fdf755adfe9445ccf09ec7337
1eb34209f2ca9c2fa434c0a17334004284e07336
refs/heads/master
2020-12-05T09:56:24.497753
2020-01-06T10:07:39
2020-01-06T10:07:39
232,074,293
0
0
null
null
null
null
UTF-8
Python
false
false
1,734
py
import boto3 # The calls to AWS STS AssumeRole must be signed with the access key ID # and secret access key of an existing IAM user or by using existing temporary # credentials such as those from another role. (You cannot call AssumeRole # with the access key for the root account.) The credentials can be in # envi...
[ "paolo@epost.ch" ]
paolo@epost.ch
d40aa39fcc7c40aa27d51e9298fce5d00831e296
1b0d876158c9aa7f34f416254f0df625d1233b68
/privacy/linear.py
c152f05ae61aa6152c5d5dd0c6b7498dd84bebf0
[]
no_license
SCccc21/mi
42f7d4e4d12f8b7c7378e57c3bafe399134e2efb
9616109e2d705df668046ed03acf8df01ef5b46b
refs/heads/master
2023-03-21T12:55:06.070111
2020-11-14T23:18:45
2020-11-14T23:18:45
266,634,797
0
0
null
null
null
null
UTF-8
Python
false
false
3,489
py
from work import load_iwpc, extract_target, inver, inver_continuous, engine from sklearn.model_selection import train_test_split from sklearn.tree import DecisionTreeRegressor from sklearn.metrics import mean_squared_error from sklearn import linear_model from math import sqrt import numpy as np import models, os # [...
[ "chensi@vt.edu" ]
chensi@vt.edu
15140eac6cb392859e8c0fdf1faaa7210cf6fbb3
08e7d062cc11c597a4f3ca9fbe100f2c81d6da0c
/PYTB1L2MyFirstOperations/operators.py
0a48bfff39c90998c8b6de751f7b9e600f32d33b
[]
no_license
4SchoolZero/-F1M1PYT
079651104964075b8b6ef2f9c7e1fa906f12bf4d
1f3c6980a35d3f6ac95196d38a1ecc27ef4c22da
refs/heads/main
2023-08-21T16:11:44.907336
2021-10-15T08:09:41
2021-10-15T08:09:41
407,456,322
0
0
null
null
null
null
UTF-8
Python
false
false
567
py
toekennen = 1 optellen = 1+2 aftrekken = 1-2 keer = 5*5 delen = 52/5 restwaarde = 56%5 delen += keer toekennen /= aftrekken print("alle sommen kunt u zien in de code \n") print("toekennen (assignment) = " + str(toekennen)) print("optellen (addition) + " + str(optellen)) print("aftrekken (subtraction) - " + str(aftre...
[ "34179@ma-web.nl" ]
34179@ma-web.nl
2234ffacb596c341c8a8eb97867b5220163a962f
b8464b455ac8a8266ffbc3b7c7cff7a232e17d8e
/game_engines/game_versions/GameEngine_v012.py
856e32a6cf4b6d9c5f16906f2411546b60df5845
[]
no_license
dxcv/TradingGame
0732ed5bfb37485ec42beb23875fa73fbb667310
f882bca4145e6c47c37b6c71289cab9d314fd009
refs/heads/master
2020-06-03T06:52:49.659788
2018-11-18T15:27:27
2018-11-18T15:27:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
21,940
py
from random import randint import pandas as pd import numpy as np import matplotlib.pyplot as plt from matplotlib.pyplot import plot, draw, show import matplotlib.animation as animation import matplotlib.image as mpimg from matplotlib.widgets import Button, TextBox import sys sys.setrecursionlimit(10000) # 10000 is ...
[ "andrasormos@gmail.com" ]
andrasormos@gmail.com
42037aa7142d275e0165763bd30886a51a333cc8
ece5984159985f419cb4d6cd89eb3342c86d2282
/examples/DGL-KE/hotfix/partition.py
c0618595fd84fd03a78fb3992c8588b26e9dff13
[ "Apache-2.0" ]
permissive
ryantd/dgl-operator
9c235ac68f14960458141e4170288d334cc29ee0
2fba3585294c5cb03bf61e9adfe66f678ed677dd
refs/heads/master
2023-08-21T16:05:50.086062
2021-09-01T05:57:09
2021-09-01T05:57:09
384,377,660
1
0
Apache-2.0
2021-07-09T08:49:23
2021-07-09T08:49:22
null
UTF-8
Python
false
false
6,156
py
# -*- coding: utf-8 -*- # # partition.py # # Copyright 2020 Amazon.com, Inc. or its affiliates. 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....
[ "qihoo@360.cn" ]
qihoo@360.cn
a8428249fdde3e7aee112e751354d15c3c72b3fa
bba5ef3efab68481a1ac835fc57ec0bef62edaee
/my_site/activities/admin.py
356fe86304b541725c085b2c9d0451cfd27e7250
[]
no_license
diegosalas00/diego_site_family_center
53e50ed5b5eec43f66dd50ad613112e92ff55a2c
a6cb1c6e6ee08cc263c87037e01934d1cb8c584b
refs/heads/master
2021-01-17T14:51:35.167391
2017-06-30T02:40:26
2017-06-30T02:40:26
95,391,097
0
0
null
null
null
null
UTF-8
Python
false
false
370
py
from django.contrib import admin from .models import Activity, PartyPackage, Available # Register your models here. class PackageInline(admin.StackedInline): model = PartyPackage class ActivityAdmin(admin.ModelAdmin): inlines = [PackageInline, ] admin.site.register(Activity, ActivityAdmin) admin.site.regi...
[ "noreply@github.com" ]
diegosalas00.noreply@github.com
78782747d55e2d731b4ecbc7339466b4ab9fe2ee
3b883e16b3eb5307433c5ffdffa8f0efcdfdb106
/pack/is_valid.py
15b634b246c638508251ebdf782e8fe625c1af3c
[ "MIT" ]
permissive
hasanhammad/SUDOKU-SOLVER
73eca0d82332f5e41953e7e2a444ffd5625520fe
56990ee143d698a8480cd53e9b8556ffc76c20fc
refs/heads/master
2022-11-28T12:56:59.372769
2020-07-31T16:38:11
2020-07-31T16:38:11
284,076,895
0
0
null
null
null
null
UTF-8
Python
false
false
3,435
py
import os def read_from_file (filename, table): with open(filename, 'r') as f: # open file for line in f: # take a file number_strings = line.split() # split the line on runs of whitespace numbers = [int(n) for n in number_strings] # convert to integers tab...
[ "noreply@github.com" ]
hasanhammad.noreply@github.com
bc3d42179512c48e51520f9779b54c1f443c8622
08b567b30da87aae515d7990f82f058d0a6cb630
/BlumeFit.py
1066b1736a2af9feebf8f368f93b8376075628ac
[]
no_license
ParasKoundal/icecube-scripts
49e151b2c518e646101df0b462c39483a8b67034
fa3ae5c4e2462aff16c3157a712f94e745169977
refs/heads/master
2021-05-31T06:47:31.805953
2016-05-24T15:16:31
2016-05-24T15:16:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,465
py
#!/usr/bin/env python import icecube from icecube import icetray, dataio, dataclasses, millipede from icecube.icetray import traysegment import numpy, os, sys, math #Things stolen from IgelFit #from icecube.igelfit.igel import * import recos from recos import gulliver_commons from I3Tray import * geofile = dataio....
[ "mamday@gmail.com" ]
mamday@gmail.com
5840f5a44ec2b7e1d647341efaad3c9b25397fb8
e660f7324473a1761df385d20cea9f2e21ec8e09
/modules/trivia2.py
abfad3aa20f799e94bb8d12059eef7cd3bf105b2
[ "MIT" ]
permissive
relet/phenny-games
ef659d2327da288af43a23c19bed492e667a583b
68c037b5d5ab0708e44e88270bd4ba190e42b826
refs/heads/master
2021-01-22T09:04:13.600199
2015-03-26T08:36:33
2015-03-26T08:36:33
1,606,698
0
1
null
null
null
null
UTF-8
Python
false
false
10,032
py
#!/usr/bin/env python """ trivia.py - Phenny Wikipedia Trivia Module Copyleft 2008, Thomas Hirsch, http://relet.net Licensed under (among possibly others) the GPLv2 """ from urllib2 import urlopen, Request from operator import itemgetter from time import time, sleep import re, traceback, random import yaml, bz2 usera...
[ "relet.net@h1353430.stratoserver.net" ]
relet.net@h1353430.stratoserver.net
012d85c16aa3834cd7e943c22a12b73f34fb5ca3
887e917333ed5711722285a9b8c03005b8315bb2
/landing/admin.py
778f0014a209e1acbdd5f0161cb9feaa6dbeb9ab
[]
no_license
AlexNavidu/LandingTest
6204c9f71e7758003e84c1be0b326d85643defe8
69bc3e3d50eeded2dca2feb2f4c2994b4c23fefd
refs/heads/master
2021-01-20T08:43:40.050444
2017-05-03T19:43:44
2017-05-03T19:43:44
90,186,894
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
from django.contrib import admin from .models import Subscriber class SubscriberAdmin(admin.ModelAdmin): # list_display = ["name", "email"] list_display =[field.name for field in Subscriber._meta.fields] # exclude =["email"] fields = ["email"] list_filter = ["name"] search_fields = ["email","n...
[ "alexnavidu@gmail.com" ]
alexnavidu@gmail.com
a0c7286ba5f4f12c116f1556cd289a9a1f0f65ff
8f7d864d154e333bf8fa7986288d37134b8578b7
/nosqlbiosets/pathways/index_metabolic_networks.py
340204cdb90b39c90103cf20951c62283fd0ffc9
[ "MIT" ]
permissive
uludag/nosql-biosets
9ac1077d8232fa0f99c77d5d46049e4bfa8a8dcb
b3148efcccdcaa21f684237bb375c1f513bdcee8
refs/heads/master
2023-04-29T04:28:13.433903
2023-04-24T13:10:46
2023-04-24T13:10:46
87,645,482
16
3
null
null
null
null
UTF-8
Python
false
false
6,641
py
#!/usr/bin/env python """Index metabolic network files, current/initial version is limited to SBML files and psamm-model-collection project yaml files """ from __future__ import print_function from __future__ import unicode_literals import argparse import json import logging import os import cobra from psamm.datas...
[ "mahmut.uludag@kaust.edu.sa" ]
mahmut.uludag@kaust.edu.sa
b041e4d0442deaa0295edf79b28d9af49a57e475
a5756dfd61e3cd9cf60d562be156a8ee891950cc
/api.py
9cbcebb0bb3ee32793ce97c04c3ec77f0b1b268a
[]
no_license
SuperHQC/CastingAgencyBackend
732a35dbdd4ea63d1899325be65bdbcd2e814968
83d0813549cf1cec9ea8f169aa1b2c44797fade2
refs/heads/master
2023-02-09T02:14:35.218563
2020-02-29T03:03:53
2020-02-29T03:03:53
243,426,565
0
0
null
2023-02-02T06:17:33
2020-02-27T04:00:43
Python
UTF-8
Python
false
false
6,231
py
import os from flask import Flask, request, jsonify, abort from sqlalchemy import exc import json from flask_cors import CORS from models import db_drop_and_create_all, setup_db, Actor, Movie from auth import AuthError, requires_auth app = Flask(__name__) setup_db(app) CORS(app) ''' !! NOTE uncomment the following li...
[ "hqc@Erwins-MacBook-Pro.local" ]
hqc@Erwins-MacBook-Pro.local
d7af08baecfb386bf96937f7c257974459261bd8
a3191e8edc7e1a8bc710861163bcf8a7990bd60b
/tinderforeduapp/migrations/0006_profile_college.py
3c574ce5c9b5b96e9715a731d599a1e5ba2c504f
[]
no_license
KtdevDesktop/matchandlearn
989d318fe6fbfc94d88603bc021155ecb41ca210
fcd89f1586b3667b8f62746a4d7b5e52ba374c69
refs/heads/master
2020-12-12T07:35:19.899152
2020-07-16T20:11:13
2020-07-16T20:11:13
234,079,642
2
2
null
2020-07-16T20:11:15
2020-01-15T12:49:48
JavaScript
UTF-8
Python
false
false
396
py
# Generated by Django 3.0.2 on 2020-01-29 15:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tinderforeduapp', '0005_profile'), ] operations = [ migrations.AddField( model_name='profile', name='college', ...
[ "s6101012630160@email.kmutnb.ac.th" ]
s6101012630160@email.kmutnb.ac.th
36ec74d2153acbd86ddc37f139f312281ae8f9ce
d32a817b0b3351bb3df46e288398f93097aae4b9
/03_Pandas/G-Group.py
42799977bede74738c0f4c640cd6137dfdf726a1
[]
no_license
2019-a-gr1-python/Py-Olmedo-Velez-Veronica-Elizabeth
5538bc2f42c88533ff62fa46f35dea8b447969e8
900c28ed64d22f0f27213df3abfa1a6c7a49936a
refs/heads/master
2020-05-04T16:56:16.394382
2019-07-31T16:01:33
2019-07-31T16:01:33
179,292,793
0
1
null
2019-07-31T16:02:32
2019-04-03T13:10:53
Jupyter Notebook
UTF-8
Python
false
false
3,175
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed May 29 08:22:55 2019 @author: VeronicaOlmedo """ #Agrupamiento import pandas as pd import numpy as np import math path_guardado= '/Users/VeronicaOlmedo/Documents/GitHub/Py-Olmedo-Velez-Veronica-Elizabeth/03_Pandas/Data/csv/artwork_data.pickle' df = ...
[ "veronica_1998825@hotmail.com" ]
veronica_1998825@hotmail.com
7dcdf535c808a5c36e494aa9a1cf757ec49afd7f
5052845ed84d0c67445938df82912984e0fdd58a
/algorithm/heap_3.py
cd8d722971c4bd929ce1b07bae251d65896e4ce5
[]
no_license
devwon/TIL
8797d808c6a81eb927ea78aff2dd2f7cc6de000e
4623df7c2cf55601f2f0ab1414c929188eb72db0
refs/heads/master
2023-07-22T00:34:20.414631
2021-08-10T13:04:31
2021-08-10T13:04:31
117,534,500
0
0
null
2021-07-01T14:45:28
2018-01-15T11:01:26
Python
UTF-8
Python
false
false
1,438
py
# https://programmers.co.kr/learn/courses/30/lessons/42628?language=python3 # v1은 온전히 나의 힘으로 푼 코드!! import heapq import re def solution(operations): tasks = [] q = [] for i in range(len(operations)): heapq.heappush(tasks, [i, operations[i]]) while len(tasks) > 0: # v1 # operat...
[ "wonhyerin96@gmail.com" ]
wonhyerin96@gmail.com
e6539a96dc9a4f98e1fbe662239ea27dfeab7839
b53f5b2cfd20e4fac32a7957231a153941c54819
/projects/migrations/0002_auto_20210106_1414.py
cf23b200fa823bb5d6d2d4d11b7f1b7988f21dbf
[]
no_license
JL-stefan/kanban
d7d047e58d130cfeeb3a1b6232cc47e5cd71aa38
fc0718eb271559f73c8b2df33ecac228f2673d49
refs/heads/main
2023-02-17T04:11:01.956347
2021-01-08T10:35:39
2021-01-08T10:35:39
326,596,292
0
0
null
null
null
null
UTF-8
Python
false
false
1,516
py
# Generated by Django 3.1.4 on 2021-01-06 14:14 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('projects', '0001_initial'), ] operations = [ migrations.CreateModel( name='Task', fields=[ ('createA...
[ "zeyongma@163.com" ]
zeyongma@163.com
ddcdd315cc4c16e70a0e7fa66863bed197df8296
75a1dd845a25ba08b8fb50853ca0647a7995197d
/src/subimage/src/SuironIO.py
373b981681d161a4b8e68a60fac89bab6800a9a1
[]
no_license
lbaitemple/templeracecar
2d45698b7fb6d67449c55fc2c03bbeb49f833ccf
f2bb433a38effa5f27f5d5dbc372976dc9fa9a62
refs/heads/master
2021-04-09T04:51:59.919006
2020-10-16T23:59:34
2020-10-16T23:59:34
248,840,121
1
0
null
null
null
null
UTF-8
Python
false
false
7,970
py
import time import random import numpy as np import pandas as pd import cv2, os, csv import matplotlib.pyplot as plt from functions import cnn_to_raw from img_serializer import serialize_image from file_finder import get_new_filename import clock import subprocess import re class SuironIO(clock.Action): """ C...
[ "noreply@github.com" ]
lbaitemple.noreply@github.com
8d15840a70249fe8bcf37a74a9731998bebb5901
60f98479ab8d157c15271fb58b9a1e68e74234bd
/graphing/stackbar_from_csv.py
90274464e306e2735fc98b5c422c07abf3ecb7e0
[]
no_license
seed-good/mycode
66af8f2bb1029466c4d8763ab57f212e16626dc3
3f56cf24a38f508f83415f8254c632be3d5b624f
refs/heads/main
2023-05-06T22:33:06.446932
2021-05-28T18:56:54
2021-05-28T18:56:54
361,773,493
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
#!/usr/bin/python3 # from python std library import csv # python3 -m pip install np import numpy as np # python3 -m pip install matplotlib import matplotlib matplotlib.use('Agg') # sudo apt install python3-tk import matplotlib.pyplot as plt def parsecsvdata(): """returns a list. [0] is LAN and [1] WAN data""" ...
[ "vasanti.seed@stellantis.com" ]
vasanti.seed@stellantis.com
5b181828b6da1f9a3e5538bc19bc0fe51599f8f8
5683778e04094617d5c9b11c9c8552c429018698
/Guia2 Funciones/Ejercicio11.py
28c88ebd26cc227b3d97491f4261a786fc887df3
[]
no_license
pablilloab/Python
72166a4beb3af2231dbb03adfd5b4ae44e74bbbd
fb18c7bb3a2ba27b95920c32b1f58f7d31b8b17c
refs/heads/main
2023-07-12T02:09:08.307627
2021-08-21T15:53:38
2021-08-21T15:53:38
391,510,524
0
0
null
2021-08-21T15:53:39
2021-08-01T03:02:20
Python
UTF-8
Python
false
false
232
py
def s2hms (segs): mins,segs = divmod(segs,60) hrs,mins = divmod(mins,60) print(f"{hrs} {mins} {segs}") def hms2s (hrs, mins,segs): seg = hrs * 3600 + mins * 60 + segs print(f"{seg}") s2hms (8000) hms2s(2,13,20)
[ "pab.a.bari@gmail.com" ]
pab.a.bari@gmail.com
ab6a73ecbd0d595a81760ffaeefa5a2113771679
f2129efe1662f9ddc627dd21eae0d038bf0061e6
/.metadata/.plugins/org.eclipse.core.resources/.history/51/20ec6d211ec600171d34bdf158f64b41
9b8d96c8eb03c5ac8f896ae84ecd61b451896dc7
[]
no_license
AKL-FIRE/Optimization
73bbbdb286b127acfa803bf41906a6e7b79f38a3
4c826c09cfff1248697a319923ddde983156668b
refs/heads/master
2021-08-23T20:43:34.085677
2017-12-06T13:05:07
2017-12-06T13:05:07
111,691,138
3
0
null
null
null
null
UTF-8
Python
false
false
556
#!/usr/local/bin/python2.7 #-*- coding: UTF-8 -*- import numpy as np import os import matplotlib.pyplot as plt ##############读取文件内容并显示################ data = np.loadtxt('./ex1data1.txt') plt.figure(1) plt.scatter(data[:,0],data[:,1]) plt.title('The data Distribution') #plt.show() print('The matrix dimension is:',data.s...
[ "apple@AppledeMacBook-Pro.local" ]
apple@AppledeMacBook-Pro.local
5d02379f98ac637617a3f89c3ac250ecf7787fbd
52b5773617a1b972a905de4d692540d26ff74926
/.history/knapsack_20200708153620.py
dd426fbe9706b3c9e39d8c8e2e1af773190273a4
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
656
py
def Knap(a,b,w): # declare an empty dictionary newArr = [] for i,j in zip(a,b): smallArr = [] smallArr.append(i) smallArr.append(j) newArr.append(smallArr) i = 0 # at position 0 is the weight and at position 1 is the value # goal is to find highest value b...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
161bf505525f66e8b71df3145f2a6963c9287247
9347b4a46456b679beb15ba6200a64f895b2eced
/Alphapose_skeleton.py
598d6847f3341a28130ea58c57e0ebd63bee0298
[]
no_license
jethrotan/ActionDetectionInVideos
35332fca74781f8e7a1c29e7b55de1f44a7cf1a8
85c107f44e48167a04c4b75e0b3f70ec9de976be
refs/heads/master
2020-04-18T06:46:25.274931
2019-01-22T08:08:58
2019-01-22T08:08:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,574
py
import torch from torch.autograd import Variable import torch.nn.functional as F import torchvision.transforms as transforms import torch.nn as nn import torch.utils.data import numpy as np import matplotlib.pyplot as plt from PIL import Image import math import copy import os, sys def add_path(path): if path not...
[ "969915370@sjtu.edu.cn" ]
969915370@sjtu.edu.cn
27f38e0cf34c7a458c77862ed021f69b1081d219
9adea4131921ae4b8c94e6e20c8dcd5efa8f5f4a
/src/group_by.py
585b07ad5374f384b3db8715b75f8af318fac5fe
[ "BSD-3-Clause" ]
permissive
ferhatcicek/minifold
33f447133601c299c9ddf6e7bfaa888f43c999fd
00c5e912e18a713b0496bcb869f5f6af4f3d40c9
refs/heads/master
2022-12-15T05:58:04.541226
2020-09-25T16:55:52
2020-09-25T16:55:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,689
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # This file is part of the minifold project. # https://github.com/nokia/minifold __author__ = "Marc-Olivier Buob" __maintainer__ = "Marc-Olivier Buob" __email__ = "marc-olivier.buob@nokia-bell-labs.com" __copyright__ = "Copyright (C) 2018, Nokia" __license__ ...
[ "marc-olivier.buob@nokia-bell-labs.com" ]
marc-olivier.buob@nokia-bell-labs.com
d202ffe04150297400e04709fcc09d24982baf93
8d402df39c18eba7e1c86c762f205c944357c5df
/www/gallery/sidebar.py
40830ea74ad141050c9cf4d414e8d9b5a387a0f1
[ "BSD-3-Clause" ]
permissive
brython-dev/brython
87cc023e25550dec9ce459ba68774189f33712b6
b33958bff0e8c7a280babc30232dc389a2500a7a
refs/heads/master
2023-09-04T04:49:29.156209
2023-09-01T06:36:08
2023-09-01T06:36:08
24,046,239
6,569
625
BSD-3-Clause
2023-07-05T06:13:32
2014-09-15T06:58:21
Python
UTF-8
Python
false
false
236
py
x=0 from browser.html import A,B,BR print('A',A) from os import * def menu(title,links): # links is a list of tuples (name,href) res = B(title) for _name,href in links: res += BR()+A(_name,href=href) return res
[ "pierre.quentel@gmail.com" ]
pierre.quentel@gmail.com
62b751f46b3df27ff08a0ff7f2fd7ec87b4ba081
cd5dd04b439faf09b09e1441d922ce39bcb56c21
/Employee_project/wsgi.py
5b8a953913381515339972cc243ddfc72fc1c41f
[]
no_license
Primalr3d/my-first-blog
4ef8d138d624b1ec46f14f69af86e6aca7755900
ee29b26bf9ceb4d98fd974f093099299c213754c
refs/heads/master
2022-12-18T13:29:02.286046
2019-08-01T10:58:05
2019-08-01T10:58:05
200,034,170
0
0
null
2022-12-08T05:57:42
2019-08-01T11:00:29
Python
UTF-8
Python
false
false
504
py
""" WSGI config for Employee_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/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application # from whitenoise.django im...
[ "f2016139@goa.bits-pilani.ac.in" ]
f2016139@goa.bits-pilani.ac.in
bcac628ae19f47ccd92cb2f34735ac402c0d84d3
bdede50e3376c9bebad48d295eb544fad101c82b
/ev/ev/views.py
8cf9286d4208e8197f95bc796e2049ed59318642
[ "MIT" ]
permissive
cnu-ev/ev-backend
affa14a7519835b76a132713e1893f119f6f187a
e692ed6747bd2ceaea1cba9479a96206f8e4314f
refs/heads/master
2021-06-20T14:59:08.219972
2019-08-15T11:55:03
2019-08-15T11:55:03
194,825,793
0
3
MIT
2021-06-10T21:40:37
2019-07-02T08:51:43
Python
UTF-8
Python
false
false
602
py
from django.views.generic.base import TemplateView from django.views.generic.edit import CreateView from django.contrib.auth.forms import UserCreationForm from django.urls import reverse_lazy #-- HomeView : 홈 페이지 템플릿 지정 class HomeView(TemplateView): template_name = 'home.html' #-- User Creation : register에 관해서 c...
[ "eocjstnals12@gmail.com" ]
eocjstnals12@gmail.com
1415e5f0e7f73c5d28e6c2cab69b59d5b367240a
27f7a4a6cec7a4aac822cf3849d5b25be0df5fed
/Tinder.py
60f96cb9dda57f9b2ec5a995b3d4e6801466742b
[]
no_license
nellyds/lefter
d28dae4ce1125258f25d81548b79e77f70749a0e
491c8330afa3260e6056f18416a3242fd3ef7c26
refs/heads/master
2020-08-08T07:01:01.823753
2019-10-21T01:30:53
2019-10-21T01:30:53
213,769,512
0
0
null
null
null
null
UTF-8
Python
false
false
648
py
from selenium.common.exceptions import NoSuchElementException from selenium.webdriver.common.action_chains import ActionChains import time def tinderLogin(driver): driver.find_element_by_xpath("//*[@id=\"modal-manager\"]/div/div/div[2]/div/div[3]/div/button/span").click() time.sleep(3) def tinderSwipe(driver)...
[ "ndsilva822@gmail.com" ]
ndsilva822@gmail.com
046bd5cbb97925fc7bf0e7bba36bb81c56dc798f
079f2163a4bd00b998ef7ec01a1e6232313b0d4e
/ESPNet/train/DataSet.py
6ca2a6410c9ecc182218618ef07decc03202d8b2
[]
no_license
ryotanji/ESPNET
91636011263e5251ae0b7d8829e5114f90ad5053
cd71d1803ce25a15558244030c90d2e7164c8836
refs/heads/master
2023-01-12T12:19:42.746801
2020-11-01T12:48:17
2020-11-01T12:48:17
257,574,928
0
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
import torch import cv2 import torch.utils.data import numpy as np from PIL import Image __author__ = "Sachin Mehta" class MyDataset(torch.utils.data.Dataset): ''' Class to load the dataset ''' def __init__(self, imList, labelList, transform=None): ''' :param imList: image list (Note ...
[ "noreply@github.com" ]
ryotanji.noreply@github.com
53e62f8d8703c493130f1759cf7ee0c205c4f15c
d396aa3495407069935ebab3faf870ad87025014
/python-leetcode/剑指offer/tree/剑指 Offer 55 - I. 二叉树的深度.py
36b475c95dd52bc934243fe9103e8b69f9f96341
[]
no_license
qwjaskzxl/For-OJ
4d3b2f873cf11c5f9ddb74c4b91b4b78cccc3afa
1fe6e5099d95fff2dcfc503951ff6e311202919b
refs/heads/master
2021-12-25T21:17:44.232567
2021-08-05T14:01:59
2021-08-05T14:01:59
175,966,016
1
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
pass ''' 输入一棵二叉树的根节点,求该树的深度。从根节点到叶节点依次经过的节点(含根、叶节点)形成树的一条路径,最长路径的长度为树的深度。 例如: 给定二叉树 [3,9,20,null,null,15,7], 3 / \ 9 20 / \ 15 7 返回它的最大深度 3 。   提示: 节点总数 <= 10000 ''' # Definition for a binary tree node. class TreeNode: def __init__(self, x): self.val = x self.left = None...
[ "870384605@qq.com" ]
870384605@qq.com
2b9e92e6220567d947887c1532abe81e555fe74a
bdc6119c5910093d2417830e15f2389a7e5e74b7
/sols/projecteuler/071-OrderedFractions.py
38c5f1417fe3f25268f0d03d17e33657219b8748
[]
no_license
danscu/onlinejudge
0d10d4902cb152dd6401d3624ebb7bc6c44bba38
a981794d868dd8366d8f50931f10704066fbab96
refs/heads/master
2021-01-15T15:33:47.893332
2016-08-31T00:50:50
2016-08-31T00:50:58
17,789,216
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
def findLess(n, frac): l = 0 r = n while r - l > 1: m = (l + r) / 2 if 1.0 * m / n < frac: l = m else: r = m return l def gcd(a, b): while b != 0: t = b b = a % b a = t return a def closest_numerator(N, frac): dist = 2 ans = 0 for i in range(1,N+1): l = findLe...
[ "danke.xie@gmail.com" ]
danke.xie@gmail.com
203c2787740212d5fef64565dc25997cf58c2ccb
4a12c77f287d605d858aa88002c8e8cb8a93a592
/manage.py
9f78952855195271836995dafaf9bf1035b62f51
[]
no_license
vineetmadeshia/MovieRating
045f77c86d7e2df6e1e4c65e91b90146aadc36ee
34f5c8c9fd0d4b7cc7c4f1386f3dae1054992340
refs/heads/main
2023-06-01T07:46:32.706272
2021-05-19T09:23:06
2021-05-19T09:23:06
368,789,855
0
0
null
null
null
null
UTF-8
Python
false
false
543
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "MovieRating.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Django. ...
[ "vineetmadeshia@gmail.com" ]
vineetmadeshia@gmail.com
6950bb2514c10a37f69d8268d2a1bcae8b0f65e0
f0257428fed2a5f10950ee52e88a0f6811120323
/book_study/book_chapter4/tuple.py
8b984479ddcedf9425ce141e5f6f5ccf6b3c92c8
[]
no_license
tata-LY/python
454d42cc8f6db9a1450966aba4af6894e1b59b78
55d13b7f61cbb87ff3f272f596cd5b8c53b807c5
refs/heads/main
2023-04-08T19:31:57.945506
2021-04-19T05:39:17
2021-04-19T05:39:17
328,880,464
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
#!/usr/bin/env python3 # _*_coding:utf-8_*_ # by liuyang tuple1 = (1,100) print(tuple1) print(tuple1[0]) #tuple1[0] = 10 #元组不允许修改 #print(tuple1) for i in tuple1: print(i) tuple1 = ('liuyang', 'zhangjuan') # 不允许修改,可以重新定义 print(tuple1)
[ "ainiyang20@qq.com" ]
ainiyang20@qq.com
22f0a214ee1dca65b2464ec11b94e429d66e79cc
78eb766321c7ed3236fb87bb6ac8547c99d0d1a4
/oneYou2/pages/migrations/0001_initial.py
8aaa7b7e731d48ae75dd6fe64a29f8b282817fdc
[]
no_license
danmorley/nhs-example
9d7be76116ed962248e1f7e287355a6870534f5d
ae4b5f395d3518ee17ef89348ed756c817e0c08c
refs/heads/master
2022-12-13T02:13:18.484448
2019-02-28T11:05:31
2019-02-28T11:05:31
203,353,840
1
0
null
2022-12-07T04:29:46
2019-08-20T10:30:15
Python
UTF-8
Python
false
false
1,087
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2018-02-06 14:59 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): ini...
[ "andrewkenyon123@gmail.com" ]
andrewkenyon123@gmail.com
227da66e9de18e3788780a9e941542e77cf692c7
983309797dd79e6cf02c30e8f824f6e6f9af40dc
/venv/bin/wamp
10dbf35ce2790f56bf5fbb221093fb6d00878937
[]
no_license
ErmShadow/DjangoProject
184a7cdc74e46453262d4effb904884ad66e7401
2e3475bd2be14c6251be182387481a42f1a56bca
refs/heads/master
2023-05-31T14:20:18.950151
2021-06-17T15:22:08
2021-06-17T15:22:08
377,874,926
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/eavuser/PycharmProjects/djangoProject/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from autobahn.__main__ import _main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(_main())
[ "shadow0touch@gmail.com" ]
shadow0touch@gmail.com
97e25af591a27b65414cb6af1325caf83381bf30
ac7435b0b3faa6b6cf51d0d6b43984b77b70a37c
/nova/tests/unit/network/test_neutronv2.py
7424cbb63fba3e40671c004d21b540ff5b69b930
[ "Apache-2.0" ]
permissive
gokrokvertskhov/nova-mesos-driver
04688cd51cad9790cf5460b44ba527b51080760d
fdb9c8468f6a8680c19095a81bf77884ae61e170
refs/heads/master
2021-01-10T10:51:07.096729
2016-03-25T01:45:10
2016-03-25T01:45:10
54,685,199
0
1
Apache-2.0
2020-07-24T01:00:58
2016-03-25T01:22:06
Python
UTF-8
Python
false
false
181,927
py
# Copyright 2012 OpenStack Foundation # 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 requi...
[ "gokrokvertskhov@mirantis.com" ]
gokrokvertskhov@mirantis.com
532a15865360bfb4a5e5ff44b0d84b1d0a8fbe76
62111918133bcee3d047a6a53ade17c1a02b25d7
/login_app/routing.py
ca1ea489c2130543d072af843f51e2ae62a56575
[]
no_license
SuperLalka/Webim-test
c5cf1b7858edb7546351f7cf89f165d8c35cf6af
c7d4ebfe21a8cd1ebbc290287573a4d491042ad0
refs/heads/master
2023-01-14T02:35:35.169705
2020-11-23T18:54:26
2020-11-23T19:39:00
312,047,405
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
from django.conf.urls import url from login_app import consumers websocket_urlpatterns = [ url(r'ws/index$', consumers.NumberConsumer.as_asgi()), ]
[ "oomarkizoo@mail.ru" ]
oomarkizoo@mail.ru
6148f29660770166eb2b88bd95268e8ebb855c58
eff5cd25fa442b70491262bada0584eaaf8add46
/tfx/tools/cli/testdata/test_pipeline_airflow_2.py
324d6b0cfbc2ed928677e8a5bbc8c1e5c375d2ac
[ "Apache-2.0" ]
permissive
fsx950223/tfx
c58e58a85e6de6e9abcb8790acbf36424b5b2029
527fe2bab6e4f62febfe1a2029358fabe55f418c
refs/heads/master
2021-01-04T12:12:51.010090
2020-01-26T04:43:14
2020-01-26T04:43:14
240,543,231
1
0
Apache-2.0
2020-02-14T15:48:12
2020-02-14T15:48:11
null
UTF-8
Python
false
false
3,007
py
# Lint as: python2, python3 # Copyright 2019 Google LLC. 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 req...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
626404a165a73ccad1b33be70aadbd60a6ae0090
e7bac28bdc58481f283fc840f93abb27b971a60e
/calc/urls.py
f96212bf362f3e753d0a4e7b0f1539607021b661
[]
no_license
RameesRoshanck/python-sample
87d810973a773a74764ceacff3327cd8c4b7dbab
21c183dfa78b20730810dcb861244ed02a80388d
refs/heads/main
2023-08-27T23:22:55.303716
2021-10-14T15:03:24
2021-10-14T15:03:24
417,175,698
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from django.urls import path from .import views urlpatterns = [ path('home',views.home,name='home'), path('',views.login,name='login'), path('logout',views.logout,name='logout'), ]
[ "ckmhdroshan@gmail.com" ]
ckmhdroshan@gmail.com
a703dc2eb5ad305e5bd2196c3484053910cf36c6
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/aio/operations/_network_security_groups_operations.py
55371021d9e09323425a87dad705ef9be90f1746
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
27,723
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 may ...
[ "noreply@github.com" ]
scbedd.noreply@github.com
90f6f0f5d079484f4200d377926011f1ba77383e
8a9733c29f930c499c837ecbde8d7f6fabb95347
/hasAlternatingBits.py
6170608b4735086466116a72da7ebdbac1196d90
[]
no_license
0ff5ec/Programming
6c6911095d18a57adc7eafe369ad609ae973c709
31374f76b21a2ede9544846382234c87153e4fa8
refs/heads/master
2022-03-14T18:16:04.172132
2019-12-18T03:31:23
2019-12-18T03:31:23
125,090,470
8
2
null
null
null
null
UTF-8
Python
false
false
969
py
# _*_ coding = utf-8 _*_ ''' Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have different values. Example 1: Input: 5 Output: True Explanation: The binary representation of 5 is: 101 Example 2: Input: 7 Output: False Explanation: The binary representation of ...
[ "offsec.akash@gmail.com" ]
offsec.akash@gmail.com
8651372e4563b7c115a7c05e662c90f9ec13ca72
a0c70282989d255718b3fb68690887a271f7f929
/scotstartup/views.py
dccdfa374048c97aec1dc8d6f85cdb572b3aa264
[]
no_license
martygrant/scotstartup
0c4a49a8dc0d10d4d1925a65f928a25a8c7c7d81
85052681a3d3f1f75b2b2e4858382063a79f7614
refs/heads/master
2021-03-27T13:01:52.813184
2017-12-26T15:55:24
2017-12-26T15:55:24
101,567,852
0
0
null
null
null
null
UTF-8
Python
false
false
3,595
py
from django.shortcuts import render from django.http import HttpResponse, HttpResponseRedirect from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.db.models import Q from scotstartup.models import Company, Event from scotstartup.forms import ...
[ "martingrant@outlook.com" ]
martingrant@outlook.com