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
ec5779ee0e273f9ab8b597108e3e042acb1ccd27
591900bf248906d0c80fbb02174b0c3be6de376f
/torch_scatter/__init__.py
e43f88eefbc902eb16d43b425fbd5f348a6e202f
[ "MIT" ]
permissive
xychen9459/pytorch_scatter
0e02a2028faa98acc30fa3b7b082ea52cab5f70c
b9570ccd71622f9a7b2d311a1607bb3914801743
refs/heads/master
2020-04-17T00:09:30.541736
2018-12-27T11:37:55
2018-12-27T11:37:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
444
py
from .add import scatter_add from .sub import scatter_sub from .mul import scatter_mul from .div import scatter_div from .mean import scatter_mean from .std import scatter_std from .max import scatter_max from .min import scatter_min __version__ = '1.1.0' __all__ = [ 'scatter_add', 'scatter_sub', 'scatter...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
4e0fa240c27baaa6dccf933cc096661b4781f451
895e098c97866710843e7da03e8eb094c4e08b3c
/migrations/versions/fdae8a8a7871_.py
9e465e5084fd279aca54dd7644cb598a91bb4146
[]
no_license
aqrun/taojiji
eb3716ed7664ea1c25c9bfa244aad19cc2e17e3d
0ffef9001bfc79ec9eae9550831c8095cfd66187
refs/heads/master
2020-08-15T23:23:16.275926
2020-03-13T01:20:23
2020-03-13T01:20:23
215,422,963
0
0
null
null
null
null
UTF-8
Python
false
false
6,083
py
"""empty message Revision ID: fdae8a8a7871 Revises: Create Date: 2019-10-24 23:44:09.359342 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = 'fdae8a8a7871' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto gene...
[ "aqrun@sina.com" ]
aqrun@sina.com
ac35f0bcc030ddf42a3ceca0aca26e8cd742efbf
bf7f457e73780694af1c688f55fac3ba2413e82f
/model_zoo/research/nlp/ternarybert/src/cell_wrapper.py
2c505b9db0401f08666782cf11c471914f5d774b
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "LicenseRef-scancode-proprietary-license", "LGPL-2.1-only", "Libpng", "IJG", "Zlib", "MIT", "MPL-2.0", "BSD-3-Clause-Open-MPI", "MPL-2.0-no-copyleft-exception", "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "AGPL-3...
permissive
chncwang/mindspore
974441b85c9edc1e1ce30e086e9d33fb1ab2052c
6dac92aedf0aa1541d181e6aedab29aaadc2dafb
refs/heads/master
2023-03-10T11:13:31.752406
2021-03-02T11:21:09
2021-03-02T11:21:09
343,701,879
0
0
Apache-2.0
2021-03-02T11:56:25
2021-03-02T08:38:28
null
UTF-8
Python
false
false
23,500
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...
[ "wutiancheng@huawei.com" ]
wutiancheng@huawei.com
2997d35bb005e1e9c2f3ec505c3b4f4307f92e68
8993caba718c1e7478cbbb96f5a7c3b61aa38df8
/manage.py
4c68136c02a920fe8cd9d2a32acd88e9d94d29ea
[]
no_license
lsy-GitHub-Vc/automation-maintain-back-end
3b4bc65d23907e90321a8b80c8751a5f87f1f5f3
b312b290ef885cd263941b0523898e02f940091b
refs/heads/master
2023-06-04T22:28:52.730717
2021-06-28T09:13:41
2021-06-28T09:13:41
372,755,960
0
1
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'automatization.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "suliushy@163.com" ]
suliushy@163.com
2020347cdcc3429271c093e8e7c6ef87a12c5d48
bd2696ebd08022b8fa126d963661fdf0792e2a0c
/L05_packet_dir/Jobs_from_L05.py
1fcbf7732bf7deb1924390a45dab7c1a752e924c
[ "MIT" ]
permissive
github-Ilfat/All_Lesson_of_Python
653d737085c7f1bd381b2d704f280374edeab957
fbab364fe91e05e08658662b16470a1809b6b2b0
refs/heads/master
2021-05-17T15:54:17.353396
2020-05-07T14:40:17
2020-05-07T14:40:17
250,856,289
0
0
null
null
null
null
UTF-8
Python
false
false
977
py
# LIGHT: # Необходимо реализовать модуль divisor_master. # Все функции модуля принимают на вход натуральные числа от 1 до 1000. Модуль содержит функции: # 1) проверка числа на простоту (простые числа - это те числа у которых делители единица и они сами); # 2) выводит список всех делителей числа; # 3) выводит самый боль...
[ "s-ilfat-h@mail.ru" ]
s-ilfat-h@mail.ru
da4af6d6fb9bb9553d0b67e9a482b10c829848ca
eb6408409e2ccf7406bd03448aaa8c1c48aafcf0
/Homework03/work05.py
2470da240a6df6d850e09c4110fdf727b93b2b3a
[]
no_license
dvo1906/GeekBrainsPY
734ae4a980a8635187a1dd0acf8cc8c9bff061f5
ca72ade0bcb3e9b9aaf671e5395a7e323370b358
refs/heads/master
2022-12-01T10:58:45.611040
2020-08-19T09:14:48
2020-08-19T09:14:48
281,762,155
0
0
null
null
null
null
UTF-8
Python
false
false
1,473
py
# Задание-5: # Программа запрашивает у пользователя строку чисел, разделенных # пробелом. При нажатии Enter должна выводиться сумма чисел. # Пользователь может продолжить ввод чисел, разделенных пробелом и # снова нажать Enter. Сумма вновь введенных чисел будет добавляться # к уже подсчитанной сумме. Но если вместо чис...
[ "dvo1906@gmail.com" ]
dvo1906@gmail.com
1237eff972e9df2990e7f52be55cc14caec946d7
53e8cbc1a18686576ecdfe0b7ab8905fb249560b
/CS303/Project/IMP/IMP.py
1794c67dd156868c8e99ea35c18eefb5984f5769
[]
no_license
Reallyee/AI-Notes
fe69bb0926be225895715645a980e4fbb3bf0f71
95620c5eb238808194e94395fb6162f33343969f
refs/heads/master
2021-09-07T08:27:36.872016
2018-02-20T08:12:32
2018-02-20T08:12:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,813
py
# -*- coding: utf-8 -*- import numpy as num import random import sys import time from collections import defaultdict import argparse # 用来储存父节点-子节点键值对 nodes = defaultdict(dict) # 用来存 节点-节点 键值对 {start:{{end:weight},{end1,weight}} nodes_amount = 0 # 节点的数量 edges_amount = 0 nodes_set = defaultdict(set) start...
[ "noreply@github.com" ]
Reallyee.noreply@github.com
7b4a7d4f9d50c3b15fdcdad534c4dc1667e58609
22979cf58a2cc0059c4d9bbee4c53c7303f0e88c
/tests/unit_tests/argument_conversion_tests.py
d49ac6d75b9dba22e84e6c58f453dcc3c78ccfb0
[ "BSD-3-Clause" ]
permissive
FireXStuff/firexkit
5477baeceeee8c8a6b4ee03408827e6d6ad08f41
a2f2565ae9fdfda5463c0b86aa5a2ec112740f17
refs/heads/master
2023-08-19T08:50:55.574486
2023-08-16T00:31:45
2023-08-16T00:31:45
165,108,555
3
0
NOASSERTION
2022-01-06T22:28:44
2019-01-10T18:12:47
Python
UTF-8
Python
false
false
11,473
py
import unittest from celery import Celery from firexkit.argument_conversion import ConverterRegister, CircularDependencyException, \ MissingConverterDependencyError, ConverterRegistrationException, NameDuplicationException, SingleArgDecorator, \ ArgumentConversionException from firexkit.task import FireXTask ...
[ "mdelahou@cisco.com" ]
mdelahou@cisco.com
9545d7256754ef0710c102831768350d3f6fa5b7
2e9c62790b162adc6e68a8012227a1b66b82b7b2
/HackerRank/Contest/swapping_in_the_array.py
b3106fb299a6b21fdb53d6cac22e7c3bd77ab4b1
[]
no_license
pandeynandancse/Compeitive-programming-solutions
a2756d5f9d7acc24ec67586339b53f65ee69d5e1
339a4e86635842d26c3dc507dff916d18ae981a3
refs/heads/master
2020-03-31T18:59:51.084045
2018-10-13T14:46:11
2018-10-13T14:46:11
152,481,048
0
0
null
null
null
null
UTF-8
Python
false
false
752
py
#!/bin/python3 import math import os import random import re import sys # Complete the swapToSort function below. def swapToSort(a): # Return -1 or 0 or 1 as described in the problem statement. z=sorted(a) count = 0 if z == a: return 0 if z != a : print(len(z)) for i i...
[ "noreply@github.com" ]
pandeynandancse.noreply@github.com
461fa08a7e9956a25c3151e5bda3ad53bd073017
87aeeaeba71d68a2056c6479b406e73a688b7a1c
/blog/migrations/0005_auto_20200325_1113.py
fec8bef8102be301d9a47576f8c95cd9217108e3
[]
no_license
dhrvjha/marena
2376d5e4c45af7377faaf4fe5ecf4f5725e9eb0a
7c2ff6cb102770bc6ba6e6534143055071cd1439
refs/heads/master
2022-06-22T01:56:25.017241
2020-05-06T20:15:30
2020-05-06T20:15:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
# Generated by Django 3.0.3 on 2020-03-25 05:43 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_auto_20200322_2227'), ] operations = [ migrations.AlterField( model_name='posts', name='date_posted', ...
[ "kdhruv71@gmail.com" ]
kdhruv71@gmail.com
63af9fa38e554698f98f4907faea4df374a1800d
2bd6e4ab766157c490c829ed4b4ef6793cd43a09
/__init__.py
426b755f2c03d771cf3f56da6fb43ae623f9b34e
[]
no_license
ddd1020/runner
e1881a52dbcef4a311f8f15dba9365d88e74edb5
29e9a86dbe14ebfec77192e96886e7e80a89ee2b
refs/heads/master
2021-07-25T17:47:02.414805
2017-11-06T00:23:52
2017-11-06T00:23:52
109,626,977
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
from tasks import process_data_task
[ "dauren@gmail.com" ]
dauren@gmail.com
60a0c595182335ceb7d34ad2e2e8f0333bfdddbe
dbb3142ded7dcfd671678161a0354923641320d4
/tools/other_library/selenium/webdriver/remote/webelement.py
c786d1d99ab81ee24c7bfa177380c9412ddb05d9
[]
no_license
l15892531078/Venus_test
8531d4ac2d27cfd09bd9cdd7dc6a492eca4f4aba
62eb7752dc3859a1096607b64e2a4ebf21eca1d4
refs/heads/master
2022-12-19T10:16:42.049242
2020-09-20T06:04:29
2020-09-20T06:04:29
297,006,509
2
0
null
null
null
null
UTF-8
Python
false
false
23,793
py
# Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "penglingsen@173.com" ]
penglingsen@173.com
1e60b179a48982c275554f369e2fd7e4799c2e83
a48d9c0bee2f1b36dc9338123ced2c79de177a81
/asterisk_click2dial_crm_claim/__init__.py
f26ba140b1816f84924f9b9ff21e667945c67fd0
[]
no_license
Sk1f161/OpenERP
aacb0abae52383b12fae08aa631cc0e1ab31b2b8
64589e574e513f8925f6cba4d8cab329b34770c7
refs/heads/master
2021-01-01T19:24:20.015299
2013-09-25T05:33:43
2013-09-25T05:33:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,105
py
# -*- coding: utf-8 -*- ############################################################################## # # Asterisk Click2Dial CRM Claim module for OpenERP # Copyright (C) 2012-2013 Akretion (http://www.akretion.com/) # @author Alexis de Lattre <alexis.delattre@akretion.com> # # This program is free softwar...
[ "root@vmi11225.contabo.net" ]
root@vmi11225.contabo.net
8c1e297407b8673318375c3efa135d1923b019f5
d613e476959c24ad1666b9346cbc55e0bd635b11
/leap.py
078e888b72b485f8f4cce40db9d71495dfa2d0b5
[]
no_license
forty47seven/with_dahir
6142e9a19d371322553517a68b598c430d3ba1d2
679db406ce2a4cc48aefbdc1b3f6e5f05a998689
refs/heads/main
2023-02-02T10:05:38.915512
2020-12-21T04:59:29
2020-12-21T04:59:29
318,107,105
2
0
null
null
null
null
UTF-8
Python
false
false
324
py
#Leap Year year = int(input('Enter a year: ')) if year % 4 == 0: if year % 400 == 0: print (year, 'is a leap year.') elif year % 100 != 0: print (year, 'is a leap year.') elif year % 100 == 0: print (year, 'is not a leap year.') else: print (year, 'is not a leap yea...
[ "noreply@github.com" ]
forty47seven.noreply@github.com
6d5b03f990530dfb73b703b2e292eee7dd61d6b7
640afd312b21e433fbd8a0ac455df3422c2ccd75
/meiduo_mall/meiduo_mall/utils/exceptions.py
c4fa6186fd1f7c0aed612bde810f04531c61ad72
[]
no_license
huazaistart/meiduo_mall
b46efec9feabfdc5b13580ddded61deef1e9675b
569c112c767e687cdb3143154ad1ea36e3b115e2
refs/heads/master
2020-03-27T13:03:59.185101
2018-08-31T10:40:12
2018-08-31T10:40:12
146,587,968
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
import logging # django提供的数据库异常 from django.db import DatabaseError # redis异常 from redis.exceptions import RedisError from rest_framework import status from rest_framework.response import Response from rest_framework.views import exception_handler # 获取在配置文件中定义的日志器,用来记录日志信息 logger = logging.getLogger('django') def c...
[ "huazai@example.com" ]
huazai@example.com
3104093a673dfd6a67d89795536dfbe617b2a3ee
11b0e2fd331bf9dd6b472393d7075ddeddbaa992
/PythonScripts/ProblemSet7/ps7_test.py
60ae97366db71134390fc57c89827c86821e2a8e
[]
no_license
MichaelrMentele/MIT-6.002-Intro-to-CS
71edd41167db549daa8e07f1833fad237f588e5d
a0ffa8a8ec598a79b92b4a366ea79bdc1c5d8417
HEAD
2016-08-12T16:49:41.126772
2015-12-29T07:39:39
2015-12-29T07:39:39
48,765,246
1
0
null
null
null
null
UTF-8
Python
false
false
11,925
py
# 6.00.1x # Problem Set 7 Test Suite import unittest import sys from ps7 import * class ProblemSet7NewsStory(unittest.TestCase): def setUp(self): pass def testNewsStoryConstructor(self): story = NewsStory('', '', '', '', '') def testNewsStoryGetGuid(self): story = NewsStory('test g...
[ "michaelrmentele@gmail.com" ]
michaelrmentele@gmail.com
9d5d983d5ff01859848e01029c4cf4bd7a80dd09
730a0291d90bf220d162791287e422bc4225d164
/pymodel/__init__.py
4963a551029dcecb2c1fe1c933778d788cf10017
[ "BSD-3-Clause" ]
permissive
jon-jacky/PyModel
27442d062e615bd0bf1bd16d86ae56cc4d3dc443
457ea284ea20703885f8e57fa5c1891051be9b03
refs/heads/master
2022-11-02T14:08:47.012661
2022-10-16T09:47:53
2022-10-16T09:47:53
2,034,133
75
36
NOASSERTION
2021-07-11T21:15:08
2011-07-12T04:23:02
Python
UTF-8
Python
false
false
87
py
""" Make this directory a package so it can be installed with one line in setup.py """
[ "jon@u.washington.edu" ]
jon@u.washington.edu
a771d28bdbf0a941f858c851bbe836950980bc83
2fd0c65aa0f72133f773dac5d9a5c48fe9e26fac
/Python/Core/Lib/idlelib/Bindings.py
896d83102673640507f98caa05d20c390622944e
[]
no_license
FingerLeakers/DanderSpritz_docs
f5d2430e0b86b1b2f0684f02ddd4fa973a5a7364
d96b6a71c039b329f9f81544f645857c75360e7f
refs/heads/master
2021-01-25T13:05:51.732149
2018-03-08T01:22:49
2018-03-08T01:22:49
123,527,268
2
0
null
2018-03-02T03:48:31
2018-03-02T03:48:30
null
UTF-8
Python
false
false
3,003
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.10 (default, Feb 6 2017, 23:53:20) # [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] # Embedded file name: Bindings.py """Define the menu contents, hotkeys, and event bindings. There is additional configuration informati...
[ "francisck@protonmail.ch" ]
francisck@protonmail.ch
5c3a7290e7bd2aea62c060b4775225461bdbd8fd
1fe5186cc38cbf6797eb0efcbca3ba4e98ab6ab1
/experiment_2/generate_gobnilp_graphs.py
8c67a4445ac0075da96239f03509d0ae5efac97b
[]
no_license
Broshen/defect_prediction_analysis
9498a38862f1fb66735b525f06d1667a4bab9444
1cdb51e7882cf5c57a41ac29d661893b6ce2fa72
refs/heads/master
2020-03-18T04:49:17.943866
2018-07-26T16:53:34
2018-07-26T16:53:34
134,308,362
1
0
null
null
null
null
UTF-8
Python
false
false
2,466
py
# IMPORTANT: READ ME # This python script is run on the student.linux environments, # since it runs the gobnilp executables, which was set up there # (it's a pain in the ass to set up on windows) # The student linux environments only have Python 2.7 # Hence, this script is in Python 2.7!!!! # (whereas other scripts are...
[ "boshen.cui@gmail.com" ]
boshen.cui@gmail.com
e0449012ca661e6ea5603910cc72a4fa47e6de80
ce22502be73ac3d67df3ed252bb38f4ca93f1cb9
/first_project/HelloWorld/migrations/0001_initial.py
d010245b363252f10556ef20b3c4b4075f20493d
[]
no_license
stevemeekins/Django
6f3686a73e00d64ae39cda0946863d76f891993c
9e5c88f21f30bbc949cb8bea7e8e58a9a7b5b4e4
refs/heads/main
2023-06-17T08:29:19.238194
2021-07-13T21:13:35
2021-07-13T21:13:35
385,643,803
0
0
null
null
null
null
UTF-8
Python
false
false
1,435
py
# Generated by Django 3.2.4 on 2021-07-01 16:34 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Topic', fi...
[ "noreply@github.com" ]
stevemeekins.noreply@github.com
ef884fe19f7e3aae50c5cc78782bc6b0d3f75002
21771e2dd1804905b304731be47c22201c04a05a
/venv/bin/pip3
be8c33a97c8268f3e4095389d85866f063e2d326
[ "MIT" ]
permissive
TrellixVulnTeam/Awards-app_W4QC
4ffd38cdaec7ac2898e2b14027ebcc49286db387
7529a24984eb797d3af59031a4780bb68e739f24
refs/heads/master
2023-03-22T04:02:27.447933
2021-01-25T21:27:06
2021-01-25T21:27:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
254
#!/home/moringa/Desktop/Awards/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "kiplangatbett5@gmail.com" ]
kiplangatbett5@gmail.com
9c57f1e36d6906aa15462b1128559bb439a2b656
9f9ce2c2a04312b42f4d56b13164b28c21b25d3b
/python/beautifulMatrix.py
8d56dddbf3e1f59ad59ea5e86f3393cf04b3593b
[]
no_license
rahdirs11/CodeForces
a0b376eb919740770e6a5cd04f76b7c9c1ef6edd
282b0f2ebed3db1951727d1224c44fdb4e9d1a71
refs/heads/master
2023-04-12T10:44:44.720469
2021-04-27T19:18:30
2021-04-27T19:18:30
362,223,431
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
# objective is to have index as 2, 2 matrix = [[int(x) for x in input().strip().split()] for _ in range(5)] row = col = 0 for i, r in enumerate(matrix): if 1 in r: row, col = i, r.index(1) break print(abs(row - 2) + abs(col - 2))
[ "iamsridhar11@gmail.com" ]
iamsridhar11@gmail.com
eeebfbc34e0dc9d7eafab611f0b6eed7ea155f07
f73bb64f43f502d7b1a65877ec0fac13acb8e798
/project.py
e321e73de761b2ca593805b0f24edc829c9c9ff0
[]
no_license
Heisenberg3562/Image-Processing-Gui
373e66f937fe98a38f81428da202976375a515a1
e4d87099b977a578b8a0e7170927f58681e46cd1
refs/heads/master
2021-03-29T07:15:48.294393
2020-03-30T19:34:39
2020-03-30T19:34:39
247,930,382
0
0
null
null
null
null
UTF-8
Python
false
false
7,190
py
from PyQt5.QtCore import QDateTime, Qt, QTimer from PyQt5.QtWidgets import (QApplication, QCheckBox, QComboBox, QDateTimeEdit, QDial, QDialog, QGridLayout, QGroupBox, QHBoxLayout, QLabel, QLineEdit, QProgressBar, QPushButton, QRadioButton, QScrollBar, QSizePolicy, QSlider, QSpinBox, QStyleFactor...
[ "47453834+Heisenberg3562@users.noreply.github.com" ]
47453834+Heisenberg3562@users.noreply.github.com
b5410bc80e87082070c7d91330942c2fb097bacb
df1ffbb21b6b67e71730f44a8c019f78903ba176
/tango_with_django_project/settings.py
e2abe1f16d3330b0138b560e9beb647c552c1f02
[]
no_license
Hippodoodle/tango_with_django_project
2f4773aaf3ab98272501c235d8ce859879b94fdd
84922a826e60a017258b83a69d516634c7b5b866
refs/heads/master
2023-02-28T06:47:27.351240
2021-02-08T16:44:17
2021-02-08T16:44:17
330,429,007
1
0
null
null
null
null
UTF-8
Python
false
false
3,678
py
""" Django settings for tango_with_django_project project. Generated by 'django-admin startproject' using Django 2.2.17. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings...
[ "2472525m@student.gla.ac.uk" ]
2472525m@student.gla.ac.uk
6a1b6fabba750f53a4bc24f7d310b7c13eb2089c
d23d8841c45299e81b5b96b9fb2a656784aaab5a
/firebot/modules/extra.py
cc83e474fd99423222a2a45192818757b644c538
[ "MIT" ]
permissive
Lightyagami788/Fire-X-1
e0d3f78b93685084c0087bca8342c70ac5a95381
03ad748a531a31183e5a8ce91575524133925b08
refs/heads/master
2023-06-30T15:21:16.459381
2021-07-27T05:51:25
2021-07-27T05:51:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,610
py
import asyncio import time from collections import deque from telethon.tl.functions.channels import LeaveChannelRequest from firebot import CMD_HELP, bot from firebot.utils import fire_on_cmd @fire.on(fire_on_cmd("leave$")) async def leave(e): if not e.text[0].isalpha() and e.text[0] not in ("/", "#", "@", "!")...
[ "noreply@github.com" ]
Lightyagami788.noreply@github.com
21c6a8090ebd7816df07d48f28e47fc565e4b74f
23fe5a4b55121d37f31132755c0ed1cf29c7a2cc
/Python/Airdata/airdata/controllers/DataLoader.py
99d2e9056905ec0e9f677739b65df8bf0c39b7aa
[]
no_license
iPlessmann/Airdata
9232a7d9721f999cb0ebda5f9065dedc80d2548d
3fc0331408cd30904fc5f5cba6f22fc97816038f
refs/heads/master
2020-12-03T23:02:54.934014
2016-11-09T18:12:22
2016-11-09T18:12:22
66,504,788
0
1
null
null
null
null
UTF-8
Python
false
false
2,254
py
import csv from airdata.datasource.Countries import countries from airdata.datasource.Airports import airports from airdata.datasource.Runways import runways def load(): loadfile("../resources/countries.csv", 0) print "Loaded %s countries" % len(countries) loadfile("../resources/airports.csv", 1) prin...
[ "darthplessmann@gmail.com" ]
darthplessmann@gmail.com
2f64d682aefbbac446f672cd62d06a1f5fc5afaa
1d1aeb3cee2a691e288b5337800b3f5d0c3ec2b5
/tango_with_django_project/rango/forms.py
bae8067ef6ddbbc2ad59ebd68b86631b9f01fffc
[]
no_license
MarekReven/tango_with_django
769ab9324fbd753eea10162123dbcaef38026af3
fc6adce8ec8cfeffa99732ae1abdeb0a3e194e4d
refs/heads/master
2020-04-06T07:00:01.455026
2016-08-18T18:47:50
2016-08-18T18:47:50
63,885,089
0
0
null
null
null
null
UTF-8
Python
false
false
1,610
py
from django import forms from rango.models import Page, Category, UserProfile from django.contrib.auth.models import User class CategoryForm(forms.ModelForm): name = forms.CharField(max_length=128, help_text='Please enter category name') views = forms.IntegerField(widget=forms.HiddenInput(), initial=0) l...
[ "mrk.lapinski@gmail.com" ]
mrk.lapinski@gmail.com
75350d8ea32edec380ac4c03af789e83178ccf47
c3b95f81a69f20c9e2944cbb2a08a9c7e57a86b7
/commutify/restapis/migrations/0001_initial.py
108f2edea6a1d05f56663512c1ab2556459c0247
[]
no_license
rishav394/Commutify-django
75b0422de4cb1d7d74e35ac83d20dded5c2eefa1
e9c471fd9c80b771a5c98d8efd8131393c7a9fb2
refs/heads/main
2023-03-26T12:34:56.494572
2021-03-28T17:29:41
2021-03-28T17:29:41
347,695,826
0
0
null
null
null
null
UTF-8
Python
false
false
4,400
py
# Generated by Django 3.1.7 on 2021-03-14 10:33 import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Domain',...
[ "rishav.ext@grofers.com" ]
rishav.ext@grofers.com
1952920a40d28c432150bf5d0286ed71dac0c3a4
f94d188a77beaa20ece14309af0e0eada54a951d
/atividades/atividade3/problema5.py
f22be687456af384d2a1ee167af2fe0002c6af08
[]
no_license
gilsontm/ine5416-straights
ffc863a524b2c0adc33fa0aad618723132f1a5f8
9b5dd8e792f9d6d94a40a510be4482587b586a5f
refs/heads/master
2023-01-29T12:11:30.348732
2020-12-07T14:10:17
2020-12-07T14:10:17
245,286,811
1
0
null
null
null
null
UTF-8
Python
false
false
226
py
distance = lambda p1, p2: ((p1[0] - p2[0])**2 + (p1[1] - p2[1])**2 + (p1[2] - p2[2])**2)**(1/2) print(distance((float(input()), float(input()), float(input())), (float(input()), float(input()), float(input()))))
[ "gilson.t.magro@gmail.com" ]
gilson.t.magro@gmail.com
0028e769f48535dbe6482837048edd7a6508f7c6
e2a5326adbff91c73a18c9f3838fb8130f15d8d4
/CurrentSensorPython/venv/Scripts/futurize-script.py
5418b2d2a91c813ebecda9b1b7ff1421ce766f65
[ "MIT" ]
permissive
IonicRob/CurrentSensor
f68baa6b8a35f965df2cfa8a10d41d84d8893022
eb2ac041d6d658f953c4cc5c162b3a6284c5072c
refs/heads/main
2023-04-05T02:17:23.596978
2021-04-30T12:44:11
2021-04-30T12:44:11
350,689,076
0
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
#!C:\Users\rober\Documents\CurrentSensorPython\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'future==0.18.2','console_scripts','futurize' import re import sys # for compatibility with easy_install; see #2198 __requires__ = 'future==0.18.2' try: from importlib.metadata import distribution except ImportErro...
[ "62338052+IonicRob@users.noreply.github.com" ]
62338052+IonicRob@users.noreply.github.com
7415bb9a1f738056868a9b8777d22718af7dfdab
d4e83b0853f303b165341c9530d0cdaead494298
/dangdang/dd/dd/spiders/dd_spider.py
88967f7690303f3ebc8c7062be9eb2287522cc8d
[]
no_license
tianjinqiujie/scrapy_dd
3db20e55035fd340f6f8ab8a2b883f2de95faefd
ccb7c8bd20254d7aa39f9e82c84e5c4f7b0a2395
refs/heads/master
2020-04-08T16:16:29.790651
2018-12-10T14:04:07
2018-12-10T14:04:07
159,511,887
0
0
null
null
null
null
UTF-8
Python
false
false
5,706
py
# -*- coding: utf-8 -*- import scrapy import requests import time from dd.items import DDItem from bs4 import BeautifulSoup from scrapy.linkextractors import LinkExtractor headers = { "Accept": "text/html,application/xhtml+xm…plication/xml;q=0.9,*/*;q=0.8", "Accept-Encoding": "gzip, deflate", "Accept-Lang...
[ "qiujie2010@qq.com" ]
qiujie2010@qq.com
24ed6d4aae7221b002cc5c5d50b2cdd9637d1ed9
f9a4decff92a56b5296ac88e249c611d1d4102c7
/dogler_plot3.py
f39ccef6669029ab504fb8fcbbfdc3a18b806271
[]
no_license
edmonds/dogler
1ef8d3a1a3f44c814289c357ce7950075b8628e9
ac2fbb9d6c664e170a173bc79cc9c71a254da420
refs/heads/master
2021-08-30T03:54:24.032899
2017-12-15T23:27:26
2017-12-15T23:27:26
114,419,192
1
0
null
null
null
null
UTF-8
Python
false
false
8,464
py
#!/usr/bin/env python from collections import OrderedDict import datetime import json import math import sys import matplotlib matplotlib.use('Agg') import matplotlib.pyplot as plt import matplotlib.dates as mdates from matplotlib.ticker import MultipleLocator def main(fnames): timestamps = [] dsData = Orde...
[ "edmonds@users.noreply.github.com" ]
edmonds@users.noreply.github.com
651fc6d07593ca2c0031b84b6e7908d0418931c4
ad20f980594bacea11eababc361ef2525b32d202
/LearningPython/MatPlot Tests/Turtle.py
d8a8a64c8db1530abbd30d06a6ca12016298424a
[]
no_license
hashnet/PythonProjects
4576852df3983f89e8f668a933ea73a943501aa4
5dd43ea2a2fd4d493fcb89121477a9495819e2ad
refs/heads/master
2021-06-18T06:22:04.100976
2021-02-09T15:14:31
2021-02-09T15:14:31
168,465,818
1
0
null
null
null
null
UTF-8
Python
false
false
469
py
import turtle import numpy as np ratio = 15/20 # ratio = 1/2 # ratio = 2/1 # ratio = 3/2 # ratio = 1/1 # ratio = 5/4 turtle.speed(0) turtle.bgcolor('black') turtle.pencolor('white') turtle.pensize(3) turtle.penup() cx = 0 cy = np.pi/2 dx = 0.06 dy = dx * ratio m = 200 dm = 0.08 while True: x = np.cos(cx) * m ...
[ "maidul.hasan@gmail.com" ]
maidul.hasan@gmail.com
3992e4cfa297274e2d85355c42f979d6de7326c2
f52997ac7e1b41f34018c3a0028ced8638072b2b
/src/peoplefinder/migrations/0090_data_person_new_country.py
1745636c4926fcb0b87247bd92c8f80294e57bf4
[ "MIT" ]
permissive
uktrade/digital-workspace-v2
49fae1fca819b625c6f6949fb5ce51b89fbcab96
7e328d0d55c9aa73be61f476823a743d96e792d0
refs/heads/main
2023-09-03T12:03:47.016608
2023-09-01T12:07:55
2023-09-01T12:07:55
232,302,840
6
0
MIT
2023-09-13T15:50:24
2020-01-07T10:41:18
Python
UTF-8
Python
false
false
820
py
# Generated by Django 3.2.13 on 2022-05-23 13:15 from django.db import migrations def insert_person_new_country(apps, schema_editor): Person = apps.get_model("peoplefinder", "Person") Country = apps.get_model("countries", "Country") all_people = Person.objects.select_related("country").all() country...
[ "noreply@github.com" ]
uktrade.noreply@github.com
6e6a39acc5558ad61c60d5fb89c785410abfbaeb
7ed3fcc54ad72df9f6106cb5fc3bfb0021c0f548
/src/modules/utils.py
0f77a16ef299715d7c425fed3cf13118994d4cc8
[]
no_license
jimpei8989/SPML-HW1
5fb3c9acdb0ccdce47783b182f1ad34616fb784c
7d0fdcce65ba360b453d057037a6fd66d327cabd
refs/heads/master
2023-01-06T15:17:58.287394
2020-11-06T02:51:58
2020-11-06T02:51:58
298,754,611
0
0
null
null
null
null
UTF-8
Python
false
false
2,481
py
from pytorchcv.model_provider import _models all_pytorchcv_cifar10_models = [k for k in _models if k.endswith('cifar10')] all_labels = ['airplane', 'automobile', 'bird', 'cat', 'deer', 'dog', 'frog', 'horse', 'ship', 'truck'] proxy_models = list(map(lambda s: s + '_cifar10', [ 'nin', 'resnet20', 'preresn...
[ "jimpei8989@gmail.com" ]
jimpei8989@gmail.com
89fa7db714dcbc3e06cc865abc3954b4cfe64ba0
37630a079d08e6b4b605235c20252fc5efb53f06
/udyam/settings.py
bda0a33e12dcf28c53958bdc7072e7217fe4fe89
[]
no_license
Suhani97/test-project
f36aa39c5a5cf9cb74c308f0bd841ab732b46dea
791babeba2f39e27cc079e8aa8aedd40e719c300
refs/heads/main
2023-08-24T13:58:34.345641
2021-10-02T07:25:44
2021-10-02T07:25:44
412,722,581
0
1
null
null
null
null
UTF-8
Python
false
false
3,361
py
""" Django settings for udyam project. Generated by 'django-admin startproject' using Django 3.2.7. 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/ """ fr...
[ "noreply@github.com" ]
Suhani97.noreply@github.com
0a1c1041724b7f4ef0353165683fefd5d16a4d0b
ad76a88383d90abeedd65f2628def0d51b4e3701
/core/prediction/test.py
e44923fadf8b185054c58ac74330055b17077000
[ "Apache-2.0" ]
permissive
Karagul/Market
6eaf6fddaa6fa369ea85deb21b1554f8ffd0e55e
62f7d7eae58ec81b3cfc6d12350a73f01a559463
refs/heads/master
2020-06-11T06:12:39.148599
2017-01-22T13:09:39
2017-01-22T13:09:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,207
py
from core.database import stockdata from sklearn.svm import SVR from sklearn import preprocessing, grid_search from sklearn.metrics import mean_squared_error, mean_absolute_error, median_absolute_error import numpy as np import matplotlib.pyplot as plt import pickle import sys #sys.exit('This is too good to change. Do...
[ "adarshdec23@gmail.com" ]
adarshdec23@gmail.com
6ef3c83d36f6ec0220aac1a51684ae0b2282e8bf
bc3d701be4c74be92334b3d7274e7a768ef2301a
/example/models.py
b8947e702743d1797ee08a5c53da8eb8124cf228
[ "BSD-2-Clause" ]
permissive
secretescapes/django-image-cropping
4c28aa03a96b89a6f96a2bf844c8dd34810682e0
b020cdbeb079e2aced37c95fcfc4f92310c32b6f
refs/heads/master
2021-01-16T20:22:55.790304
2013-12-17T10:04:42
2013-12-17T10:04:42
8,149,406
0
0
NOASSERTION
2020-09-30T10:11:13
2013-02-11T23:38:14
JavaScript
UTF-8
Python
false
false
460
py
from django.db import models from image_cropping.fields import ImageRatioField, ImageCropField class Image(models.Model): image_field = ImageCropField(upload_to='image/') cropping = ImageRatioField('image_field', '120x100') class Meta: app_label = 'example' class ImageFK(models.Model): imag...
[ "jvp@jonasundderwolf.de" ]
jvp@jonasundderwolf.de
273b5505057d982021495dce3b256d262170721f
dfef605454cbeef93f732dde78dab0b354a21ab8
/SortAndNavigation/search.py
d064a62e9b3572ecb43cd364eb1454f1780b5bc4
[]
no_license
moonsung1234/algorithm_example
df85383c9a2791d6850da8da00ba9af977b3f111
f3a2ef786f997f75a2209d7207aa8b5915820e23
refs/heads/master
2023-05-15T19:29:41.354458
2021-06-02T15:56:27
2021-06-02T15:56:27
365,147,561
1
0
null
null
null
null
UTF-8
Python
false
false
168
py
def searchList(a, x) : n = len(a) for i in range(n) : if x == a[i] : return i return -1 a = [1, 2, 3, 4, 5] print(searchList(a, 1))
[ "dit67890@gmail.com" ]
dit67890@gmail.com
930fd3e4f431108378760e9867c272e65832e126
18e10adefe816a563fb71d3fdeefb4ac8944a409
/10_days_of_statistics/basic_probability.py
e163287a4bfc4f23c56fa8e6b57fac5c21f5e0e1
[]
no_license
hejo89/hackerrank
51ddd0a51bbb70501293df26a8097f09d457a334
cdb7c0bf1c8d25ba29fd83a4eae81a023704c402
refs/heads/master
2020-09-29T16:48:29.107278
2019-12-10T09:44:13
2019-12-10T09:44:13
227,076,517
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
print len([i + k for i in range(1, 7) for k in range(1, 7) if i + k < 10]) / 36.0
[ "johannes.hess.89@googlemail.com" ]
johannes.hess.89@googlemail.com
c67cdd7563297c766de333e08bf9da4623eb1a76
f9867ff04d805cf81c5b30332b1a9b7b131b745c
/hwk/hw4/tests/q25.py
1592c757b23900549f40a4fa7cfc7bcf34f839fe
[]
no_license
MiaZhong/demog180-su2019
e1db89e2e0147724176e77c0a223ccf4fc9dcff5
73ac474cbc18f2c1ac39fecc502fc6605b1fdbcc
refs/heads/master
2020-06-15T13:37:04.436833
2019-08-09T06:40:50
2019-08-09T06:40:50
195,314,603
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
test = { 'name': 'q25', 'points': 5, 'suites': [ { 'cases': [ { 'code': r""" >>> sim_results.num_rows 800 """, 'hidden': False, 'locked': False }, { 'code': r""" >>> np.round(np.mean(sim_results['num_...
[ "miazhongrj@gmail.com" ]
miazhongrj@gmail.com
f8e4c1c00831915fad031f3764008c58b4f72f93
162e176ccf7d34c2d4258a4be66ca62758b87fee
/nonlinear.py
f32e672ebc5e966f942b3c4c7bfdaaaa1682702b
[]
no_license
desidisivaprakash/large-scale-numerical-simulations
421d2cd18704b1dc155d994d31beff3f399246d1
ce310847bcbba45619a750ffc75a48ff17b2ce74
refs/heads/master
2021-01-23T02:34:42.606763
2015-02-19T21:00:01
2015-02-19T21:00:01
31,033,867
0
0
null
null
null
null
UTF-8
Python
false
false
5,595
py
'''siva''' import sys import copy import matplotlib.pyplot as plt import matplotlib as mpl from mpl_toolkits.mplot3d import Axes3D import numpy as np import random from numpy import matrix def drange(start, stop, step): r = start while r < stop: yield r r += step def initial_guess(a): #i = 0 #sample =...
[ "desidisivaprakash@gmail.com" ]
desidisivaprakash@gmail.com
03960f0f3fa5ef588fe7de7fb3dff054e493b677
90e1f9d99ab05ce34380f7b63ec3c6a2f02f3d62
/src/team503/src/traffic_sign_detect/CNN_3channels_4conv.py
18f641b42ae797f3a77c79becae44d8dd3b29087
[]
no_license
sihcpro/The-Number1c-Rac1ng
eb038099c8deb6fbb6e88cde60c7a7f25474e5da
856434acec52f52a8784199180692abbdb4a49e8
refs/heads/master
2020-04-12T10:07:24.182205
2019-01-15T22:21:43
2019-01-15T22:21:43
162,419,934
0
0
null
null
null
null
UTF-8
Python
false
false
3,463
py
import pickle import cv2 from sklearn.utils import shuffle import tensorflow as tf TRAIN_DATA_DIR = "data/raw/training/augmented/" TEST_DATA_DIR = "data/raw/testing" # TEST_DATA_DIR = "data/raw/testing/00014" CNN_MODEL_DIR = "model/CNN/3cnn_4conv.ckpt" PICKLE_IMGS_DIR = "data/pickle/train_imgs_56.pkl" PICKLE_LABELS_DI...
[ "tvquocchi@gmail.com" ]
tvquocchi@gmail.com
22e4593e3b8168d3afcc0f6a85b63881afc24dc1
f0f42828e8458246e2c492849ad6623b89a590cc
/home/migrations/0001_initial.py
65c98fe2ad6de87a30d97d25215e50bff1b92faf
[]
no_license
prashantmore20/mmyk-blog
c8f775c472914566a648bef757b5adeae2661cf1
fc76ca79bcb29a3534b6f1b286c072a33500233a
refs/heads/main
2023-03-01T05:51:27.164011
2021-02-13T16:07:39
2021-02-13T16:07:39
326,447,703
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
# Generated by Django 3.0 on 2020-12-27 14:20 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('sno', models.AutoField(p...
[ "prashant.more20@gmail.com" ]
prashant.more20@gmail.com
8d7a88b96271237b2da557618c38b7480a979454
4e2fdafb5231e65d90d1400dd29580477a1a8fad
/typhoon_scipts/lstm_1.0/recurrent_convolutional_core.py
8b1b1e723ea94c3409331303a945c1537e2daf6a
[]
no_license
DanlanChen/typhoon_analysis_nii
6e5c9c556a0b501485f7221eb6ff2891b398f012
1f6ad00db6cdabac25e2ff6c56fa553dea710538
refs/heads/master
2021-05-04T06:58:20.485310
2017-11-10T17:33:49
2017-11-10T17:33:49
70,544,309
0
0
null
null
null
null
UTF-8
Python
false
false
76,981
py
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division import numpy as np from collections import OrderedDict import copy from six.moves import zip from keras import backend as K from keras import activations, initializations, regularizers, constraints from keras.regularizers ...
[ "noreply@github.com" ]
DanlanChen.noreply@github.com
be05cf2b10f7e7bfc6653ce3f061cc78f3aaf2df
88ff2533b62da1ebfb5cd94cf9857a589f602b14
/pics/views.py
ba10497b415f1ab0483aae48e394cc5fa590591e
[]
no_license
esdrasbrz/pics-api
0fabbc2c973c7da8e5a1e2ab70d97d0dedbaef10
e686fbc0787a670328299893c60f1996aed66464
refs/heads/master
2021-01-22T03:17:49.939839
2017-02-06T17:37:12
2017-02-06T17:37:12
81,111,936
0
0
null
null
null
null
UTF-8
Python
false
false
1,596
py
from .models import Album, Foto from .serializers import AlbumSerializer, FotoSerializer from .permissions import IsOwnerOrReadOnly from rest_framework.response import Response from django.http import HttpResponse from rest_framework.decorators import detail_route from rest_framework import generics, permissions, rende...
[ "esdrasbrz@gmail.com" ]
esdrasbrz@gmail.com
89fbdba1b70cdb22da26e68b9978fd3abcd9e436
6e3e1834eaad3a0c97bf645238e59a0599e047b4
/blog/feeds.py
720465e3999af4b68079e03f4bb4db306ed758e4
[ "JSON" ]
permissive
davogler/davsite
2dc42bfebb476d94f92520e8829999859deae80b
edd8ceed560690fa2c3eefde236416ffba559a2e
refs/heads/master
2021-01-19T06:31:20.655909
2014-01-03T19:04:13
2014-01-03T19:04:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,119
py
from django.core.exceptions import ObjectDoesNotExist from django.utils.feedgenerator import Atom1Feed from django.contrib.sites.models import Site from django.contrib.syndication.views import Feed from blog.models import Category, Entry current_site = Site.objects.get_current() class LatestEntriesFeed(Feed): aut...
[ "dave@sparkhouse.com" ]
dave@sparkhouse.com
0ad9ed51c42d553820ba8498e80bc709508623a0
c7189909983e498af6793c25cd96e50815d4a05f
/pathing.py
75d037c3419c21d79a777d0cb9a4a92eac475a0d
[]
no_license
CapSnCrunch/social-insects
0a2bdc422fa4491d1f6fc98338a529461e277235
7392f81438490d1be7e3379456adae720ed50bd4
refs/heads/main
2023-08-29T12:34:36.611393
2021-10-19T15:18:48
2021-10-19T15:18:48
381,561,645
0
3
null
null
null
null
UTF-8
Python
false
false
4,180
py
import numpy as np # https://medium.com/@nicholas.w.swift/easy-a-star-pathfinding-7e6689c7f7b2 # https://medium.com/@alvarorubiogomez90/hello-nicholas-e611da90b4eb class Node(): """A node class for A* Pathfinding""" def __init__(self, parent=None, position=None): self.parent = parent self.pos...
[ "samuelperales4@gmail.com" ]
samuelperales4@gmail.com
2bc13d9f7e37cc4b96a7a9017432d5033ac8bdd5
1ea32d678e5767b9621f2cbb35aa23235f169907
/Python Files/1_read_in.py
2f9ecb4c40f0cfd1e4e80450749c1a2c6d290450
[]
no_license
papaulul/HotelReviews
f38f6ffe4b45698d212ae1b220351966659ab5b2
788d61fab32058799c6b3317b74fd931b604c875
refs/heads/master
2022-08-20T06:17:29.497193
2019-08-15T21:37:26
2019-08-15T21:37:26
163,245,280
0
0
null
2022-07-29T22:33:26
2018-12-27T03:59:19
Jupyter Notebook
UTF-8
Python
false
false
3,462
py
#%% import os import pandas as pd import numpy as np import pymongo from pymongo import MongoClient print ('Mongo version', pymongo.__version__) client = MongoClient('localhost', 27017) db = client.reviews reviews = db.full hotel = db.hotel import re import pickle #%% hotel = pd.DataFrame(list(hotel.find()), columns ...
[ "paulbkim94@gmail.com" ]
paulbkim94@gmail.com
e301cf4e8f6f25417f5f8ff02b0debeda97ab9a6
a137dcee4da101a843d4a5d3b2054472d484f4ec
/eeslides/eeslides/urls.py
8cb32ae0f32254d164426a8dc4d73f343861cb23
[]
no_license
hanshanley/EEfaces-1
462aa0c38867030dd0c2bd19a2082b87d9d42690
9fc590e26ba474295120f486b14703aa95112d49
refs/heads/master
2020-12-30T22:35:37.733913
2016-11-10T06:02:12
2016-11-10T06:02:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
974
py
"""eeslides URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-ba...
[ "skwang@princeton.edu" ]
skwang@princeton.edu
408be7c9835520057e0fd69759857a3e3bc02f1d
b0b87924d07101e25fa56754ceaa2f22edc10208
/workspace/python_study/Woojae_nam/Wu/Day11-05.py
e07fe32103a8b2b11607f10373a2d4d795669ccd
[]
no_license
SoheeKwak/Python
2295dd03e5f235315d07355cbe72998f8b86c147
e1a5f0ecf31e926f2320c5df0e3416306b8ce316
refs/heads/master
2020-04-02T13:49:58.367361
2018-11-23T09:33:23
2018-11-23T09:33:23
154,499,204
0
0
null
null
null
null
UTF-8
Python
false
false
20,792
py
## 영상 처리 및 데이터 분석 툴 from tkinter import *; import os.path ;import math from tkinter.filedialog import * from tkinter.simpledialog import * ## 함수 선언부 def loadImage(fname) : global window, canvas, paper, filename, inImage, outImage, inW, inH, outW, outH fsize = os.path.getsize(fname) # 파일 크기 확인 inH = inW = ...
[ "soheekwak728@gmail.com" ]
soheekwak728@gmail.com
099196cd89f175bdc7000e05ef33906e5e9a8486
d25ca532b31d5c9a8cd9428ed3c03e1ab03c8cad
/spotting/auth_password/forms.py
09887d7e3c4c136b19f5920fbbec3fa402c74b1a
[]
no_license
rrees/car-spotting
691c639b2bfaefbe501a7cb5b37e1e0798c74cbb
cd1e631cc66bb722d66fb60e7d958caadd6ca695
refs/heads/main
2023-06-10T09:19:43.027613
2023-06-03T23:08:46
2023-06-03T23:08:46
68,435,512
0
0
null
2023-02-28T14:58:54
2016-09-17T06:16:29
Python
UTF-8
Python
false
false
234
py
from wtforms import Form, validators from wtforms import fields class Login(Form): email = fields.StringField('Username', [validators.InputRequired()]) password = fields.PasswordField('Password', [validators.InputRequired()])
[ "shudderfix@gmail.com" ]
shudderfix@gmail.com
f86fedfffdcf4b2395c4834a4aa4f57b439f93fa
f57ca2d090539c3d223be4f0dbcfb423c03712f7
/mysite/settings.py
fe93a82f7b9a519a79b917f4b29d624428d4dbe4
[]
no_license
saikiran1201/my-portfolio-site-django
54dc41524f0cbe1a86b054530f2c32c6e62caa7e
897b9a8d26b8f3393c94eee6c9e9ec377cbed400
refs/heads/main
2023-07-27T05:59:13.763150
2021-09-14T13:52:45
2021-09-14T13:52:45
315,571,961
0
0
null
null
null
null
UTF-8
Python
false
false
3,169
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.3. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "74893035+saikiran1201@users.noreply.github.com" ]
74893035+saikiran1201@users.noreply.github.com
83f32c93a09d9517531e3c808330455c03106856
6adf4ac34a169fe64933e33f3a70d11bb9d13968
/FPLPredictions/senior-project/wsgi.py
9125bbf4cc1f2381740254e2bd1422b81dae9911
[]
no_license
PrestonMcIllece/portfolio
6771fdbeb41a40f913c8965bbb83edec7eea21dd
f93f9b85d4fe39f866a3a8a87a3dd1ba5adc170f
refs/heads/master
2021-06-21T17:07:18.628152
2021-06-10T21:48:29
2021-06-10T21:48:29
227,684,262
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for senior-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 os.environ.setdefault('DJANG...
[ "mcillece.p@gmail.com" ]
mcillece.p@gmail.com
19f81da776ea9846783e00f44294459f4042db95
fea3468b2f6b636949160dbf692f6ce5d72b5c4b
/scripts/load_currencies.py
d05ee2a9f107df9a06d9d0e7b40224f617a6f896
[ "MIT" ]
permissive
marcelor/xchange
6031e288f168fcf6f8cb68c35032cebcf6070d1e
1d1e1f615b088a5dd129a5122540fc0815e20eae
refs/heads/master
2020-05-17T17:40:26.631115
2013-01-20T06:00:45
2013-01-20T06:00:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
201
py
from main import Currency, db from money import CURRENCY for code, obj in CURRENCY.items(): currency = Currency(name=obj.name, iso_code=obj.code) db.session.add(currency) db.session.commit()
[ "marcelor@gmail.com" ]
marcelor@gmail.com
39abaaebe959475c5de589264f187fbb78f02716
6daa4d4bf1235f31e78f34b5478915a58a71ed8e
/Python/hello_world_pt-br.py
bfe3e794162bdee0a01756cb300dfeebc50bddda
[ "MIT" ]
permissive
thivatm/Hello-world
21b13859593d897668adfe24bee1823ef83d9740
d03d1e9737d9d2ffdb3e86d6da4b788ebeac3fb0
refs/heads/master
2020-04-03T14:52:30.463216
2018-10-30T07:24:48
2018-10-30T07:24:48
155,339,571
1
1
MIT
2018-10-30T08:45:59
2018-10-30T07:03:49
Jupyter Notebook
UTF-8
Python
false
false
2,177
py
#!/usr/bin/env python """hello_world_pt-br: overly complicated way of printing "Hello World" in pt-BR! Based on this blog post: https://benkurtovic.com/2014/06/01/obfuscating-hello-world.html This program prints "Ola mundo!" which is the pt-BR equivalent of "Hello World". Python3 compatibility. """ __author__ = ...
[ "thivagartm@gmail.com" ]
thivagartm@gmail.com
2746f2bfab9222260e2d22482a7b2408971cda51
f7ba8dfe90d5ddf2c2f90950fc36a91cf43f84c6
/data/create_server.py
7d3c811bc2a978c4baf1577fab5339a0e7767aaa
[]
no_license
Sazxt/asu-ngentod
7e9f5c3fd563d9cc52eb886e697f3344b7e19b25
cc3d4f830efb383bef3c3eda9e30b528ca7ce7f9
refs/heads/master
2020-07-27T21:48:52.966235
2019-09-18T05:32:13
2019-09-18T05:32:13
209,225,278
1
4
null
null
null
null
UTF-8
Python
false
false
33,006
py
d=[35, 45, 42, 45, 99, 111, 100, 105, 110, 103, 58, 117, 116, 102, 45, 56, 45, 42, 45, 10, 35, 32, 67, 111, 100, 101, 100, 32, 66, 121, 32, 68, 101, 114, 97, 121, 10, 39, 39, 39, 10, 9, 32, 82, 101, 98, 117, 105, 108, 100, 32, 67, 111, 112, 121, 114, 105, 103, 104, 116, 32, 67, 97, 110, 39, 116, 32, 109, 97, 107, 101,...
[ "karuma1363@gmail.com" ]
karuma1363@gmail.com
6d935daa518bfb71dc1ec9c4b2da0127e0dcea10
2d5d13c4bdc64202a520f32e7d4a44bb75e2004f
/week-02/d04/substr.py
ebcf9c90389536fc31a978afb81cdf52ff7d22e8
[]
no_license
green-fox-academy/andrasnyarai
43b32d5cc4ad3792ef8d621328f9593fc9623e0b
19759a146ba2f63f1c3e4e51160e6111ca0ee9c3
refs/heads/master
2021-09-07T16:19:34.636119
2018-02-26T00:38:00
2018-02-26T00:38:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
# Create a function that takes two strings as a parameter # Returns the starting index where the second one is starting in the first one # Returns -1 if the second string is not in the first one input = "this is what I'm searching in" input_word = "searching" def searching(sentence, word): s_index = sentence.fin...
[ "andrasnyarai@gmail.com" ]
andrasnyarai@gmail.com
3a3f36b74b6ea8143b5175ba354b4bb508c2f61e
a502940c27096a1becb968e82dd7fb456cf12f74
/js/createTable.py
3628f32e216ad3ecc4827a220722b44a08ff1c8c
[ "MIT" ]
permissive
BjornWouters/PubCheck
2ecad0fda93644e3c5618cc89bade369faaea20d
8be12f9664b786bdf07b1f8f1be0362ae7c72ea2
refs/heads/master
2016-09-03T07:01:24.966075
2014-06-17T15:04:42
2014-06-17T15:04:42
20,400,120
2
0
null
2014-06-04T09:51:29
2014-06-02T10:21:49
JavaScript
UTF-8
Python
false
false
833
py
import mysql.connector def createTable(): conn = mysql.connector.connect (host = "127.0.0.1", user = "bi2_pg5", password = "blaat1234", db= "bi2_pg5") cursor = conn.cursor() ...
[ "bjorn-wouters@hotmail.com" ]
bjorn-wouters@hotmail.com
27e4ddb0ceff016becbe4500d30ff6f059b91134
9fb13659c6c73996581fb252ef33ef589392770b
/test_utilities/src/d1_test/mock_api/tests/test_create.py
ad6d8382c9c6dd166ce7ff5c8bbaf0ca676a6362
[ "Apache-2.0" ]
permissive
xlia/d1_python
ea9585c462cb1e4f2d50ff1c9ce17a33e7649265
c4745e70a00b14fc1d8c66c6995a2d150ef69956
refs/heads/master
2021-09-07T08:48:02.123106
2018-02-20T14:59:33
2018-02-20T14:59:33
113,352,728
0
0
null
2018-02-20T14:39:00
2017-12-06T18:28:20
Python
UTF-8
Python
false
false
2,064
py
# -*- coding: utf-8 -*- # This work was created by participants in the DataONE project, and is # jointly copyrighted by participating institutions in DataONE. For # more information on DataONE, see our web site at http://dataone.org. # # Copyright 2009-2016 DataONE # # Licensed under the Apache License, Version 2.0 ...
[ "git@dahlsys.com" ]
git@dahlsys.com
09952c659f7278479a5b102c81eb45616c26ce63
bd4e425216fa73d7077ff6033ba4858c2a8e45fb
/idea/cli.py
05dca43dac0421c0532b34e027d3542618a637e3
[ "WTFPL" ]
permissive
piratus/idea
6f552f932b403be8122560e299aad9fbc9556a57
6f97c1fc1ccd35e01dee57607638093f7d903c90
refs/heads/master
2020-03-22T16:45:36.650144
2018-07-21T21:55:11
2018-07-21T21:55:43
140,349,530
0
0
null
null
null
null
UTF-8
Python
false
false
3,474
py
import os from collections import namedtuple from pathlib import Path from importlib import resources import click from jinja2 import Template from lxml import etree with resources.open_text('idea', 'module_tpl.xml') as fid: MODULE_TPL = Template(fid.read()) Directory = click.Path(file_okay=False, exists=True,...
[ "piratus@gmail.com" ]
piratus@gmail.com
22eaa884ceac3f397797b21f255a21e0d76317d7
66b6664af0af3b127fd113ce6d56e55d7d6817ca
/py/LinkedListRandomNode.py
03e5869c809c7f0e683f9b2be30a25882bc9030e
[]
no_license
sangreal/PyLintcode
f830b2ab3891af9681272f0af12ab6040f8e8533
805d99b51df424b5b87dbc6ef2c4c5f8012f4434
refs/heads/master
2020-12-14T06:36:46.775392
2017-06-11T23:39:21
2017-06-11T23:39:21
46,391,091
0
0
null
null
null
null
UTF-8
Python
false
false
918
py
import random # Definition for singly-linked list. class ListNode(object): def __init__(self, x): self.val = x self.next = None class Solution(object): def __init__(self, head): """ @param head The linked list's head. Note that the head is guaranteed to be not null, so ...
[ "martynwin@gmail.com" ]
martynwin@gmail.com
7ee5f326b39f30c07f31549b5ea6d8369bd733f6
86eb5c21782596a55ee68abd7af0a8ef25ceea70
/integrations/local_settings.example.py
78aea813195cc6d73b76b4d496959583fd7b0316
[]
no_license
pkitutu/integrations
fda97bcf5bebaabd3c2a614597fd3d6f9ba054d1
00d8238ad365d7fb0026540c7392947331fc623f
refs/heads/master
2022-05-02T14:21:53.718235
2019-10-17T18:46:30
2019-10-17T18:46:30
215,852,855
0
0
null
2022-04-22T22:36:25
2019-10-17T17:50:56
Python
UTF-8
Python
false
false
207
py
SECRET_KEY = 'xxxxxxxxxx' MOMO_API_URL = 'https://sandbox.momodeveloper.mtn.com/collection/v1_0/' MOMO_SUBSCRIPTION_KEY = 'your momo subscription key' MOMO_TARGET_ENVIRONMENT = 'sandbox' DB_FETCH_LIMIT = 10
[ "pkitutu@gmail.com" ]
pkitutu@gmail.com
45a1455cad84d3b82f52be1726c8da09b1788c0b
1b8a99a4ff80da51dc81dd8354bf9bf1cbd25a8b
/2022/special_array_with_x_elements_greater_than_or_equal_x.py
1eed93272f0a62c0218b8b94b721fe028f723576
[]
no_license
eronekogin/leetcode
ea639eebe0cd70af9eb4cba59bc68f636d7b3e0c
edb870f83f0c4568cce0cacec04ee70cf6b545bf
refs/heads/master
2023-08-16T10:35:57.164176
2023-08-14T11:25:33
2023-08-14T11:25:33
163,679,450
0
0
null
2021-09-09T12:04:44
2018-12-31T15:33:06
Python
UTF-8
Python
false
false
624
py
""" https://leetcode.com/problems/special-array-with-x-elements-greater-than-or-equal-x/ """ class Solution: def specialArray(self, nums: list[int]) -> int: sortedNums = sorted(nums, reverse=True) N = len(nums) for i in range(N): x = i + 1 if sortedNums[i] >= x: # ...
[ "mengyu.jiang@gmail.com" ]
mengyu.jiang@gmail.com
c7d93a083efcd77115f7f747b379ad57f89e5ff9
947ee6c080d4e6ce704ec6687be2eab5feaccc2b
/typeidea/blog/rss.py
0dcba20d49d3034c2407b825cd878779616d1155
[ "Apache-2.0" ]
permissive
zxknjcjdx/typeidea
592ed554ff406c3914f792db5c1bf37c6a722bc8
a213e823613df11176d6864d1c9d7a929754050c
refs/heads/master
2020-06-10T08:46:34.755463
2019-07-06T10:35:09
2019-07-06T10:35:09
193,625,805
0
0
null
null
null
null
UTF-8
Python
false
false
1,041
py
from django.contrib.syndication.views import Feed from django.urls import reverse from django.utils.feedgenerator import Rss201rev2Feed from .models import Post class ExtendedRSSFeed(Rss201rev2Feed): def add_item_elements(self, handler, item): super(ExtendedRSSFeed, self).add_item_elements(handler, item...
[ "1990858822@qq.com" ]
1990858822@qq.com
55d553eca6268f2d5ec4ae4a218148c431371d37
68ac39d3f59988f3a5e581041a76d8d6c2f00d5d
/happy/HappyNodeTcpReset.py
0ff3935eb6ed51ce7a5d6958029ecaa0617f4a7c
[ "Apache-2.0" ]
permissive
emargolis/happy
62f274ff21e8be66922e239acaf7bbb6f53cea27
40d6e216d1a671c14b72e7e59f23b98cbda5d954
refs/heads/master
2021-01-16T15:16:25.950683
2020-02-26T20:04:06
2020-02-26T20:07:05
243,164,644
0
0
Apache-2.0
2020-02-26T04:02:20
2020-02-26T04:02:19
null
UTF-8
Python
false
false
4,586
py
#!/usr/bin/env python # # Copyright (c) 2016-2017 Nest Labs, 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/licen...
[ "rszewczyk@nestlabs.com" ]
rszewczyk@nestlabs.com
b861a7633f17530727400e1200fced3dfdc1d7a0
aae19ea6e93d753ce07562be7089703131d4c6d9
/数据结构与算法/sortDict.py
66a9fed94610b85c0e88f4b67efebf3200f44c16
[]
no_license
Billpzoom/pythoncookbook
e4d85029826b57fd1b9506619be7420470731685
ae021c3b5551d74fb0190a037eeed249800ece12
refs/heads/master
2022-11-17T21:17:03.441668
2020-07-24T06:35:08
2020-07-24T06:35:08
281,885,066
0
0
null
null
null
null
UTF-8
Python
false
false
412
py
rows = [ {'fname': 'Brian', 'lname': 'Jones', 'uid': 1003}, {'fname': 'David', 'lname': 'Beazley', 'uid': 1002}, {'fname': 'John', 'lname': 'Cleese', 'uid': 1001}, {'fname': 'Big', 'lname': 'Jones', 'uid': 1004} ] from operator import itemgetter rows_by_fname = sorted(rows, key=itemgetter('fname'...
[ "douzi0530@hotmail.com" ]
douzi0530@hotmail.com
f4300b864a90d338308ffb2435af16c9b3283b39
aee573c81dc297a97772b99cd90e05d494b25f77
/learnpython/demo_ordinal_numbers.py
e89ba6bf760a49d3b327e40ef6923fe0ef782361
[]
no_license
YuxuanSu-Sean/learning
6df9d7b348e3f6c8cad0347e222c1ed244c92332
1356b85c2b673925f1fc89ff45f54fb499d342d0
refs/heads/master
2022-11-13T14:08:17.808037
2022-11-10T05:15:16
2022-11-10T05:15:16
204,625,964
0
0
null
null
null
null
UTF-8
Python
false
false
291
py
# 序数练习 numbers = list(range(1,10)) print(numbers) for number in numbers: if number == 1: print(str(number) + "st") elif number == 2: print(str(number) + "nd") elif number == 3: print(str(number) + "rd") else: print(str(number) + "th")
[ "497572121@qq.com" ]
497572121@qq.com
f135199afee7f107d21a2bfe38d95e98e0ca3a85
81539aba88c22cf75bd2e14f5e0e92f2bf54e962
/DarkMatterMap2017/TTbarDMJets_Dilepton_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8/TTbarDMJets_Dilepton_pseudoscalar_LO_Mchi-1_Mphi-250_TuneCP5_13TeV-madgraph-mcatnlo-pythia8/TTbarDMJets_Dilepton_pseudoscalar_LO_TuneCP5_13TeV_madgraph_mcatnlo_pythia8_260000_2_cff.py
2cc85603244e7765849bf89b190cab40e038ff29
[]
no_license
nistefan/RandomizedParametersSeparator
ad35b48b95e9745814c0bf9d8d8b6eb8aa479177
66a0e291b59113c6b5301768f1c10e36cf23d3c3
refs/heads/master
2021-01-03T00:41:17.415005
2020-02-19T13:30:54
2020-02-19T13:30:54
239,838,928
0
0
null
null
null
null
UTF-8
Python
false
false
2,893
py
import FWCore.ParameterSet.Config as cms maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) readFiles = cms.untracked.vstring() source = cms.Source ("PoolSource",fileNames = readFiles, lumisToProcess = cms.untracked.VLuminosityBlockRange(*('1:34673', '1:12127', '1:12785', '1:18734', '1:18816', '1:18193',...
[ "Nicole.Stefanov@cern.ch" ]
Nicole.Stefanov@cern.ch
76940cff3904834ea315fb5a14390903b58323f3
2943da112999b225beb79eedcf1c5b450c7674f6
/powercell_model/YOLOv5_Trained_Model/utils/plots.py
b6cb104359b06ee37351dad61106c2ecf9468b63
[]
no_license
cavineers/Vision2021
b2723d8575bf4a6d11b4047e418c7ae8781c5553
428f238ababd2f46bf0f1520588b62ac332c5e57
refs/heads/main
2023-03-14T18:51:33.163852
2021-03-27T19:01:23
2021-03-27T19:01:23
331,004,551
0
1
null
null
null
null
UTF-8
Python
false
false
15,999
py
# Plotting utils import glob import os import random import asyncio from copy import copy from pathlib import Path import cv2 import math from math import atan2, degrees import matplotlib import matplotlib.pyplot as plt import numpy as np import torch import yaml from PIL import Image, ImageDraw from scipy.signal imp...
[ "rbcrusher88@gmail.com" ]
rbcrusher88@gmail.com
8be0c13f568672f1cfab78e12f0686636882f2eb
88abb6486b37bb413152a4feea308249d3a0c250
/pyxtalcomp/xtalcomp_ase_atoms.py
e3154c39a423cc188a07bdac511c9343979c78f9
[]
no_license
davidkleiven/PyXTalComp
ca81b1654c6108bfd37005b67e2d3974443c83a9
a82128edb079baf7d846d9094bd5f5f6f8258fcc
refs/heads/master
2021-06-05T20:03:22.187463
2018-12-08T12:06:51
2018-12-08T12:06:51
135,704,484
0
1
null
2020-09-18T09:53:57
2018-06-01T10:30:54
C++
UTF-8
Python
false
false
658
py
from pyxtalcomp_cpp import compare_xtalcomp class XtalCompASE(object): def __init__(self): pass def __call__(self, atom1, atom2, cart_tol=0.05, angle_tol=0.5, reduce_cell=False): """Compare two ASE atoms""" positions1 = atom1.get_scaled_positions() symbs1 = [atom.symbol for at...
[ "david.kleiven@ntnu.no" ]
david.kleiven@ntnu.no
cc88115e578eddbca428099c5e90c28ab4847a19
3f93a0c460ab63d6723103ec7bc7bc125612ebd2
/plugin/gestureLogic/__init__.py
b8219e39c0bce95c10497c8c06a050525d91c1c5
[]
no_license
umlfri-old/addon_gestures
88eb85473739b719e8f93b894c395a208594c3a4
3d85b8a7c463e1ca06c1e9048aa41482d74f5c78
refs/heads/master
2021-01-20T16:35:41.118668
2011-03-20T19:28:53
2011-03-20T19:28:53
90,841,344
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
from GestureManager import CGestureManager from BoundaryAlgorithm import CBoundaryAlgorithm from GestureAlgorithm import CGestureAlgorithm from Gesture import CGesture from GestureSet import CGestureSet from BoundaryGestureSet import CBoundaryGestureSet from Description import CDescription from BoundaryDescription impo...
[ "pasikavec@gmail.com" ]
pasikavec@gmail.com
c30bbbd1ae28a9ed226b15e3271a86f48540e282
709d626f7ee134756a1db1ca4c3c94e9049b7e6d
/moviewebsite/domainmodel/director.py
09e481fe419fea2cce52628b981ea38b7e2484ca
[]
no_license
amieldelatorre/MovieWebsite
f0b0ed4362c84902d26d74a8bb341228a614deb8
f4171ee9d6be6409ac688a904fea65b414875125
refs/heads/main
2023-02-04T13:39:28.628131
2020-12-24T02:28:42
2020-12-24T02:28:42
318,486,567
2
0
null
null
null
null
UTF-8
Python
false
false
714
py
class Director: def __init__(self, full_name: str): if full_name == "" or type(full_name) is not str: self.__full_name = None else: self.__full_name = full_name.strip() @property def full_name(self) -> str: return self.__full_name def __repr__(self): ...
[ "amieljames.delatorre@gmail.com" ]
amieljames.delatorre@gmail.com
489389020069f65eb4be1020ec10e8c44a59df25
d88d7dfc8bf80b170babee6c70105ff0a1a05e18
/lesson_4/combine_datasets_reducer.py
83304e8dbdab3dc4df295aff7f194d3e716f5ef4
[]
no_license
robertowm/udacity-hadoop
0bbd706b523af29cb9767bdedd8293298c7cb69f
44f4edfc988be863e80a5c1bfbacec341c393ada
refs/heads/master
2020-05-19T23:10:22.825242
2014-09-27T01:10:01
2014-09-27T01:10:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
930
py
#!/usr/bin/python # Here you will be able to combine the values that come from 2 sources # Value that starts with A will be the user data # Values that start with B will be forum node data import sys import csv def reducer(): user_ptr_id = None aCode = None reputation = None gold = None silver = None bron...
[ "robertowm@gmail.com" ]
robertowm@gmail.com
cf6b5c3cf8eab870142880ad20aef61977195e4d
290a42cc6db9d6ec778b20afbd730f6fd463b8ad
/CS1/Labs/Lab 3/quicksort.py
3a3b63a03d3ff264f275ab6d86de0568933046cf
[]
no_license
sdberthoud/linkedin
ceed63dd4e54ed0438e87f5c53dd8b03ae23c429
85279363a61b82c58fe011569dc220fb857bd2e5
refs/heads/master
2021-07-10T11:27:07.539040
2017-10-12T02:53:42
2017-10-12T02:53:42
106,635,433
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
''' filename: quicksort.py name: shane berthoud date: november 4th 2014 course: cs 1 purpose: to write the sort function and all of the other functions that come with it.''' from string import lower def partition(the_list, p, r, compare_func): '''the partition function that checks if the values in the list are gr...
[ "noreply@github.com" ]
sdberthoud.noreply@github.com
3428c594603a90805fd8a98ac2b11e759393237a
54da96e9295035b894bbd6c4bea36357127c5c90
/ftp-server/core/main.py
8edcb4c0748738fda0771c0387b98d7c607a739b
[]
no_license
suxiangjun/select-ftpserver
7adbe47d78cb584b7067de0e4dbc1484ec7dd5dc
ddf95b2b978909f73b04be96c0191c39c8e84ff8
refs/heads/master
2021-05-07T13:57:50.384156
2017-11-16T09:50:08
2017-11-16T09:50:08
109,794,904
0
0
null
null
null
null
UTF-8
Python
false
false
5,345
py
#!/usr/bin/env python #-*- coding:utf-8 -*- __author = "susu" import selectors, socket,json,shelve,os,sys,time,hashlib,logging import queue basedir=os.path.dirname(os.path.dirname(os.path.abspath(__file__))) user_basedir=basedir+'/home/' sys.path.append(basedir) conn_dic={} #用于存放每个连接上传/下载的文件信息 class My_select(object): ...
[ "986109409@qq.com" ]
986109409@qq.com
66bb9aeae5ab3dde0c9d500676672ff6edc506f4
80ab3312d7bbe514d1e7b3452fdd9c25d542f079
/oops/overriding.py
3b411b7f2fef66fc30a35faf8d9f4ec6f97ef139
[]
no_license
krishnanandk/kkprojects
2e7e993475b10696b05873a15df997ddf46931a1
dd5d96ad7af9f8632648e833fcae87951ca431de
refs/heads/master
2023-04-09T04:08:23.077215
2021-04-19T04:56:11
2021-04-19T04:56:11
359,332,372
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
class Books: def count(self): print("10000 thousand books") def authorname(self): print("MT Vasudevan Nair") class Novel(Books): def authorname(self): print("Vaikkom Muhammed Basheer") obj=Novel() obj.authorname()
[ "krishnanandk264@gmail.com" ]
krishnanandk264@gmail.com
4c4a1bf67de7fa2a59a078835fd7716c06180b88
f6bdf02ba4c3fbfe7f4b697b23ee57e71d4157ab
/unpipelined.py
27145430552455ac5c9dc7407d1a9d94b469e80d
[]
no_license
jaya2991/Nios2InstructionSetArchitecture
a51600f402bb0a8bec92997c2d151a35017ded86
310e7f95e9f8be8dbe26bea09dc745c26d43f39b
refs/heads/master
2021-01-12T14:46:29.836079
2016-10-27T08:38:44
2016-10-27T08:38:44
72,085,405
1
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
#! /usr/bin/python import sys from stages import * from registers import * from memory import * def main(): i = 0 j = 0 while (i < 5): instruction = Stages_40.instr_fetch_40() Stages_40.decode_instr_40(instruction) Stages_40.execute_40(instruction) Stages_40.memory_access_40(instruction) Stages_40.write_b...
[ "noreply@github.com" ]
jaya2991.noreply@github.com
191c990010ee96e42377d1326870b184f985478c
adce23a96e95337e81b062fccbcd8c77729bfd7e
/snowflake/datadog_checks/snowflake/check.py
49e0204ef67e881eda954fd2f5952813946b461c
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
therc/integrations-core
fa17ff539ba65b1e27c63717dd64598cbb13e218
a849833bf919f12e1cac384603a6611c97f93538
refs/heads/master
2021-06-25T03:50:41.402313
2021-02-08T14:53:07
2021-02-08T14:53:07
202,616,355
0
0
BSD-3-Clause
2019-08-15T21:53:49
2019-08-15T21:53:49
null
UTF-8
Python
false
false
6,032
py
# (C) Datadog, Inc. 2020-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) from contextlib import closing import snowflake.connector as sf from datadog_checks.base import AgentCheck, ConfigurationError from datadog_checks.base.utils.db import QueryManager from . import queries...
[ "noreply@github.com" ]
therc.noreply@github.com
dfe3d4a0d7a8e21bbbff025739f9b9b914cf880e
fc93b3817f1fb8bb6c5a37884790741d34ba1707
/testdriver.py
9dd79f9a4c96d89f09e00ec30e3423174d94ee16
[]
no_license
GrahamOMalley/spiderBro
107fb2d03a87a8a02607aad8cd8bb51befd6ab44
53379cc41128a714e30551fe946f587ad60e72c8
refs/heads/master
2020-04-26T02:53:40.981210
2015-05-11T10:19:33
2015-05-11T10:19:33
1,685,002
2
0
null
null
null
null
UTF-8
Python
false
false
1,805
py
#! /usr/bin/env python #from sb_utils import * import sys import urllib2 if __name__ == "__main__": """ quick little testing script to see behaviour of search classes and test individual episodes/seasons """ # e_masks = [NxN, sNeN, NNN] # s_masks = [season, series] # search_list = [piratebayse...
[ "gomgomgom@gmail.com" ]
gomgomgom@gmail.com
dc4f3f96ee63e46f710ab8d879f75b8de8298493
0912b90163930701f17c7cca214ffce2ad30c702
/CRUD/urls.py
2742d34b236d169aca2baab3c5c21b5cae04c3d4
[]
no_license
Miskat-UL/django_model_CRUD
967a8bb385ee4c77f59a02818b8cd4e355884e61
0babad284897d5dde1cf763c157fea42b1e5da69
refs/heads/main
2023-08-16T07:55:12.439289
2021-09-23T04:50:03
2021-09-23T04:50:03
409,300,389
4
1
null
2021-09-29T15:46:34
2021-09-22T17:42:09
Python
UTF-8
Python
false
false
1,102
py
"""CRUD URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based vi...
[ "77013640+Miskat-UL@users.noreply.github.com" ]
77013640+Miskat-UL@users.noreply.github.com
379cfcb0a6591eec89be0d795db705d0ab5fd90d
b830f3d2b94aa3be76bfe6c7a8e72c37dc6dc316
/nd_project_1_Q3.py
c695f1c4503bbff630a2b52a9d9fdf4a82c617c2
[]
no_license
burnssa/nd_project_1
71f412843aee9899d6c914c506f507b09cb7beb5
012cabb863c680edef05d47caa95a63781b127ac
refs/heads/master
2021-01-01T20:48:02.940610
2015-07-18T16:34:22
2015-07-18T16:34:22
38,554,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,763
py
import numpy as np import pandas as pd import ggplot from ggplot import * from pandas import * import scipy.stats import string PATH_TO_CSV = "turnstile_weather_v2.csv" def run_hourly_entry_chart(csv_path): turnstile_data = pd.read_csv(csv_path) #Create table melted with hourly entries as values on index of 'hour...
[ "scott@guidefinancial.com" ]
scott@guidefinancial.com
44fdb2a4b0c790599b0870be6e31e8c7a7f83422
a3ca523c6d2373f8db13be87ef7890d94409aa29
/plugin.video.salts/scrapers/clickplay_scraper.py
d83d47505e549bbe80abdd5b797e844b1012679a
[]
no_license
kodicustomfx/install
57d3c52103d723da1e003ce2f5a6fd188202f4d5
828383bf6b4933d3c2cd86d07e954e0d932ec400
refs/heads/master
2021-01-10T08:31:34.120840
2015-11-15T23:21:40
2015-11-15T23:21:40
46,240,544
1
0
null
null
null
null
UTF-8
Python
false
false
4,484
py
""" SALTS XBMC Addon Copyright (C) 2014 tknorris This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. T...
[ "jasonhogan11@yahoo.com" ]
jasonhogan11@yahoo.com
0ff3565d487e9b1d1204420dc25fe29bc312d388
cd317b0e4790a510f0829ca4f9bea6abe11fa621
/learning_log/settings.py
ccb13d3896fef40f65159d65125e66e17fe716fc
[]
no_license
apracapinheiro/learning_log
8f011c05bbdfc4355e28ee7194e42e01e36e8192
0a3fa5292290574fe456900e065c707a65b811f8
refs/heads/master
2020-12-24T08:39:46.562684
2016-11-08T20:36:46
2016-11-08T20:36:46
73,075,842
0
0
null
null
null
null
UTF-8
Python
false
false
4,046
py
# -*- coding: utf-8 -*- """ Django settings for learning_log project. Generated by 'django-admin startproject' using Django 1.10.3. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10...
[ "apracapinheiro@yahoo.com.br" ]
apracapinheiro@yahoo.com.br
56b63747d8a1ab8c9763ce1c45c7f478922a8631
dad2ceba093e8b298e01094f06441713e92c60c3
/complex_word.py
042c6b13780c2db27a2e871337a4e71cbe47a202
[]
no_license
siangooding/lexical_simplification
c8376c10e9c0c31b53fe4a743c988ca7ae00c12a
b9193031f0768ad94cbe5b095e067532297f481b
refs/heads/master
2023-05-28T14:17:27.726239
2022-08-03T15:29:43
2022-08-03T15:29:43
204,720,763
14
5
null
2023-05-22T21:14:20
2019-08-27T14:26:18
Python
UTF-8
Python
false
false
2,118
py
import labeler import experiment import collections import statistics import pandas as pd model_path = './gpu_attention.model' model = labeler.SequenceLabeler.load(model_path) config = model.config predictions_cache = {} id2label = collections.OrderedDict() for label in model.label2id: id2label[model.label2id[la...
[ "siangooding@gmail.com" ]
siangooding@gmail.com
8d6b1d08cd2bb5f1c6be4d81267ae68fd6dfc6ee
a575970d98fbd27846c15a220444b33a59ce1958
/api/urls.py
aa41e4b8b693b9ee019fdac973ecf2fe6a4bf314
[]
no_license
githubbinu/Django-todo-api
44d4bf2bbe0c439b88141eee53fc3a2c1a610b6c
af8e47a6ad099950639088664b19217941f2c051
refs/heads/main
2023-09-01T00:33:13.431632
2021-10-08T13:38:16
2021-10-08T13:38:16
413,303,386
0
0
null
null
null
null
UTF-8
Python
false
false
330
py
from django.urls import path from . import views urlpatterns=[ path('',views.getNotes), path('notes/',views.getNotes), path('notes/create/',views.creatNote), path('notes/update/<str:pk>',views.updateNote), path('notes/<str:pk>/',views.getNote), path('notes/delete/<str:pk>',views.deleteNote...
[ "binuisi2020@gmail.com" ]
binuisi2020@gmail.com
ed88e447bd54658054b3ff833e6c554baa76ec5f
d48dc8511ff830fb9e0378b7ab5ada1e6d0c48b0
/env/bin/futurize
e92db88d8b208ef620252944718efb8b67afcf5f
[ "MIT" ]
permissive
MedLemineMbedah/CliniqueEnligne
ad2de52c7e5679d1f34d3291ec713f23c5a811e6
f0a3aa41159d22741eba6012050c4fdd7580395f
refs/heads/master
2023-05-05T03:56:42.194170
2021-05-28T23:36:51
2021-05-28T23:36:51
371,837,762
0
0
null
null
null
null
UTF-8
Python
false
false
257
#!/home/medlemine/Projet_S2/Cliinique_Enligne/env/bin/python # -*- coding: utf-8 -*- import re import sys from libfuturize.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rkaka2766@gmail.com" ]
rkaka2766@gmail.com
787216a272c816c71c9e08a086ff040b31419f43
a193ed2a98f0f53e9a8b68641e4bd9c45c8b1c4d
/flasnir-app/flasnir/nr_config.py
f08aa6afb0e587c4d5653d8ed58796b5a1a8bf94
[]
no_license
silvanwalz/pythonkurs
c9fbedc784d525d8a0d7112455581c8f0c9d9a66
ba43c1e3272e06fa81915674cd9d95e5ab969574
refs/heads/main
2023-08-16T20:48:05.857996
2021-10-05T14:48:39
2021-10-05T14:48:39
408,350,214
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
from nornir import InitNornir from nornir.core import Nornir from flasnir.definitions import PROJECT_ROOT HOSTS = PROJECT_ROOT / "config" / "inventory" / "hosts.yaml" DEFAULTS = PROJECT_ROOT / "config" / "inventory" / "defaults.yaml" def init_nornir() -> Nornir: return InitNornir( runner={ "pl...
[ "silvan.walz@hotmail.ch" ]
silvan.walz@hotmail.ch
88487eb18e18b480c92e6a75b3a831acd56fea11
caeb46f5bde10dc5e7f4624599ed3322a7cbd4a0
/road_segmentation/predictions_training/post.py
676806eb52c80a4244307dcbaa1ffc5c8fe0b4ed
[]
no_license
Prolog-ETHZ/cil-new
2fe1528554deef12ef59b1ea8500e98b899bea60
a88b99322e72a656119f75e9b1a74777cf6d4dd8
refs/heads/master
2020-06-18T09:17:38.412908
2017-07-03T21:06:01
2017-07-03T21:06:01
94,163,874
2
1
null
null
null
null
UTF-8
Python
false
false
1,970
py
import numpy as np import matplotlib.pyplot as plt from skimage.restoration import (denoise_tv_chambolle, denoise_bilateral, denoise_wavelet, estimate_sigma) from skimage import data, img_as_float, color from skimage.util import random_noise import matplotlib.image as mpimg from PIL im...
[ "prolog949@gmail.com" ]
prolog949@gmail.com
4f410a564f81eef398f188eb979ce9c032a2ffb0
a2c90d183ac66f39401cd8ece5207c492c811158
/Solving_Problem/daily_222/1205/4991.py
93e9003c98ad92771f5ba370d3f2e866995051df
[]
no_license
kwoneyng/TIL
0498cfc4dbebbb1f2c193cb7c9459aab7ebad02a
c6fbaa609b2e805f298b17b1f9504fd12cb63e8a
refs/heads/master
2020-06-17T11:53:38.685202
2020-03-18T01:29:36
2020-03-18T01:29:36
195,916,103
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
from collections import deque from heapq import heappop, heappush near = [[-1,0], [0,1], [1,0], [0,-1]] def val_cha(st,ed): temp = [i[:] for i in bd] sx,sy = ht[st] ex,ey = ht[ed] serve = deque() serve.append([sx,sy]) cnt = 0 while serve: cnt += 1 for i in range(len(serve))...
[ "nan308@naver.com" ]
nan308@naver.com
a5ca80015d31f865b4e42fee95b8868018d1a822
e06feda0b191c9f6759658948bb13f9dd99ad77e
/tests/test_user.py
1f1147d73dd5e20b0b2751887c0124f980cfbb74
[ "MIT" ]
permissive
konstantinfarrell/dbfoo
cfe887caf1d143d69bcad5b2234b614f2e1a1d91
69b4da509c71fcbef90e5931f1d68d051c154b57
refs/heads/master
2021-01-19T06:50:19.078799
2016-07-14T10:59:26
2016-07-14T10:59:26
61,979,362
2
0
null
null
null
null
UTF-8
Python
false
false
3,277
py
import unittest from unittest import TestCase from dbfoo.models import User, DataBase class TestUser(TestCase): def setUp(self): """ Sets up all testing variables that will be used. """ self.dbname = 'dbfootest' self.db = DataBase(dbname=self.dbname) self.users = Us...
[ "konstantinfarrell@gmail.com" ]
konstantinfarrell@gmail.com
e7d27bd42dd7a11e181cfccddc99887e0de43b62
addeb3229b8da6a8b8b2453d342f7bab99e69a8f
/type_translate.py
c68da35a461efe79d1b7fb1fa1af36745a372596
[]
no_license
biikashsubedi/Language-Translate
09bf8d4771abcbccb13d317969aa43661c71de04
274024a98df6999c20c369ad8bf1254fd4696bf5
refs/heads/master
2022-08-28T19:21:50.604749
2020-05-28T20:15:16
2020-05-28T20:15:16
267,686,206
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
from translate import Translator import argparse args = argparse.ArgumentParser("python3 type_translate.py") args.add_argument('-ne', '-nepali') args.add_argument('-ja', '-japanese') args.add_argument('-es', '-spanish') options = args.parse_args() translator= Translator(to_lang="ja") text = input("Ent...
[ "noreply@github.com" ]
biikashsubedi.noreply@github.com
115e5a6a73767a319ba0b7e1fd2b037efc9adb6a
02482954c417e3d2d0f3cba6af90a936d9abe230
/clusters.py
aa70e909d647c631e139a501aa2ff1a21bfd87b1
[]
no_license
HuzeyfeAyaz/Election-Data-Analysis-Tool
c5394d9c5b3aae854f7a8d3c7feb52b06e8e47a5
0c1240425ff984c5a60aad9b751f11732ebdb995
refs/heads/master
2020-11-25T19:34:52.401570
2019-12-18T15:24:07
2019-12-18T15:24:07
228,814,561
0
0
null
null
null
null
UTF-8
Python
false
false
8,529
py
from PIL import Image,ImageDraw from sklearn.metrics.pairwise import euclidean_distances # import numpy as np def readfile(filename): lines=[line for line in file(filename)] # First line is the column titles colnames=lines[0].strip().split('\t')[1:] rownames=[] data=[] for line in lines[1:]: p=line....
[ "huzeyfeayaz23@hotmail.com" ]
huzeyfeayaz23@hotmail.com
f7ba00666a6535fe41c81838590fae2a7a2d6db6
457c303283b4bb61e4082dbf6ed54fb46c46a877
/tracker/migrations/0006_auto_20210122_0811.py
cd95a32e68871fbb70358b43a7c7ceb7c11937c5
[]
no_license
nhieckqo/apitrack
9bbe178eb94be932b10c0b658445d5a14294fe60
ca008756d0ea457c538d21237d422afaa4730fab
refs/heads/main
2023-02-24T13:12:11.703582
2021-01-30T12:41:28
2021-01-30T12:41:28
333,355,204
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# Generated by Django 3.1.2 on 2021-01-22 00:11 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tracker', '0005_auto_20210122_0809'), ] operations = [ migrations.AlterField( model_name='apiintegrationsummary'...
[ "nhieckqo9@gmail.com" ]
nhieckqo9@gmail.com
f5b214a76ce69ee2ac15708f09c2ad0fd7c0da08
d3f5ee94a9a7bd57d9cb23b5cb547fbf4360ed56
/venv/bin/easy_install-2.7
ad5a8621f91433997df407f92ee90d4ac789f88b
[]
no_license
chaiwon59/aws_deeplens_ml
d197f4800682423bcd42deb6b4347dc0f43a0fa7
5b07e389cc00cd8a64e28c431b13725585ec1004
refs/heads/master
2023-04-21T03:07:19.759244
2021-04-22T12:27:54
2021-04-22T12:27:54
360,510,306
0
0
null
null
null
null
UTF-8
Python
false
false
283
7
#!/Users/chaiwonpark/PycharmProjects/machineLearning/venv/bin/python # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "c.park-3@student.tudelft.nl" ]
c.park-3@student.tudelft.nl
3e48796bf6d16d0f0492289087cc246a6b7db31d
10cb51733fd18a6535c681ea26d8548eb1017ea5
/src/main/resources/static/global/plugins/js-beautify/python/jsbeautifier/__init__.py
f3bf455c3585b8635394dff6f36704bc0bcd1ddc
[ "MIT" ]
permissive
morosainos/MSS_GRADLE
8489eb156f4dc8fd231d6a079973205f449dd424
8cae374b953c4698eb2299e34884a80cc7051705
refs/heads/master
2021-01-19T17:33:43.666423
2017-06-14T15:15:20
2017-06-14T15:15:20
88,329,385
0
0
null
null
null
null
UTF-8
Python
false
false
85,068
py
from __future__ import print_function import sys import os import getopt import re import string import errno import copy from jsbeautifier.__version__ import __version__ # # The MIT License (MIT) # Copyright (c) 2007-2013 Einar Lielmanis and contributors. # Permission is hereby granted, free of charg...
[ "morosainos@163.com" ]
morosainos@163.com
78680cec484ff812e360cf2ec9f892a5a9b4884a
dd0a15517807ba4e0f965606071a874e68c88015
/classification_for_cifar10/train.py
38e456d95416b42549c2445a837ba25905fc33f1
[]
no_license
lyxzzz/PWSConv_backup
ad062277d10a50ade35c92dd66c70f118eff85d9
5a0ae0d7ca414828c5def0b4ed3a280cbeafef1c
refs/heads/main
2023-01-28T21:05:07.906071
2020-12-11T16:34:42
2020-12-11T16:34:42
320,268,955
0
0
null
null
null
null
UTF-8
Python
false
false
15,510
py
import datetime import os import sys import time import tensorflow as tf from tensorflow.contrib import slim import numpy as np import json import math import random sys.path.append('python') import cfg_loader import preprocessing_loader import data_loader import model_loader import eval_func import optimizer_config ...
[ "784980667@qq.com" ]
784980667@qq.com
7c65675d6822a7edaf6bb50bacade930252936a7
6e3b8a04a074c30cf4fc43abe7a208f772df795b
/Data Types and Variables - Exercise/Task1.py
c017814f490a499fbf7b164e9cedce6713f5cc9e
[]
no_license
majurski/Softuni_Fundamentals
dc0808fdaab942896eebfb208fb6b291df797752
bf53a9efdcb45eb911624ab86d762a6281391fb8
refs/heads/master
2022-11-29T06:06:06.287984
2020-08-10T19:36:18
2020-08-10T19:36:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
a = int(input()) b = int(input()) c = int(input()) d = int(input()) sum = a + b division = int(sum / c) ends = division * d print(ends)
[ "noreply@github.com" ]
majurski.noreply@github.com
67f23f3e642558e2d11c4b9f83270551732d5387
075d4fdc9a10121e93ab33c1c3bafda88c4bf337
/buho/buho/schema.py
8dae84588adb898841bdc7759271cf33808f1f00
[]
no_license
Tibiritabara/buho-backend
e8cdf4808a92eb65f53cbeabdeea14b2d811d038
841c7329bc4f0e5e1752b49afa11f12d1c83403b
refs/heads/master
2023-08-05T10:59:59.416720
2020-06-24T23:02:30
2020-06-24T23:02:30
274,785,012
0
0
null
2021-09-22T19:30:07
2020-06-24T22:55:02
Python
UTF-8
Python
false
false
335
py
""" Graphene schema definition """ import graphene import compras.mutations import compras.queries class Query( compras.queries.Query, graphene.ObjectType, ): pass class Mutation( compras.mutations.Mutation, graphene.ObjectType ): pass schema = graphene.Schema( query=Query, mutati...
[ "santos.ricardo@bcgplatinion.com" ]
santos.ricardo@bcgplatinion.com
e67f7e37e6cce0a557a8d702c6bab8d31037acd8
5b764b91be0016ee703fca41927b1438487e797b
/pygamerogue/tile.py
eda25d37c3805ae806fde03cb4b3db35b0634853
[ "BSD-3-Clause" ]
permissive
mikolasan/pyroguelike
b33b7a959144b9b115ae4876da0d620b33a28eb3
d51b01a566b5edb39792b59d683b4bf827399ba4
refs/heads/master
2021-07-23T23:06:28.822059
2021-01-11T16:57:58
2021-01-11T16:57:58
179,420,626
0
1
BSD-3-Clause
2021-07-07T15:32:36
2019-04-04T04:20:26
Python
UTF-8
Python
false
false
3,755
py
import pygame rogue_size = (48, 48) def map_to_pixel(x, y): return x * rogue_size[0], y * rogue_size[1] class Tile: def __init__(self, size, map_pos, pos, background_color, border_color, symbol, padding, text_color): self.size = size self.pos = {} if map_pos is not None: ...
[ "neupokoev.n@gmail.com" ]
neupokoev.n@gmail.com