blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
23b9d302ab52d35d1cb3fdd270c785503d99aacb
b3b68efa404a7034f0d5a1c10b281ef721f8321a
/Scripts/simulation/interactions/base/cheat_interaction.py
90cea49d59271ca03aa011bf3d7fd934e0685f7e
[ "Apache-2.0" ]
permissive
velocist/TS4CheatsInfo
62195f3333076c148b2a59f926c9fb5202f1c6fb
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
refs/heads/main
2023-03-08T01:57:39.879485
2021-02-13T21:27:38
2021-02-13T21:27:38
337,543,310
1
0
null
null
null
null
UTF-8
Python
false
false
5,778
py
# uncompyle6 version 3.7.4 # Python bytecode 3.7 (3394) # Decompiled from: Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # Embedded file name: T:\InGame\Gameplay\Scripts\Server\interactions\base\cheat_interaction.py # Compiled at: 2020-10-09 00:03:45 # Size of source mod 2**32...
[ "cristina.caballero2406@gmail.com" ]
cristina.caballero2406@gmail.com
489bda8d4a39af6af95efc8ecc8a858a81b01e02
e9d7689655887232b652ef369c7eaf3a1ef06955
/In vivo Multi/intan_test_optotag.py
74fa683bcf65aa8362441996dda07acdf632d494
[]
no_license
Gilles-D/main
81ac13cdb1614eb0c82afb3d0e847a30b78cad30
f3714d2cbe4aae22ab36f4f94c94067159270820
refs/heads/master
2023-08-31T06:20:48.554237
2023-08-30T20:33:27
2023-08-30T20:33:27
222,518,250
0
0
null
null
null
null
UTF-8
Python
false
false
17,900
py
# -*- coding: utf-8 -*- #! /bin/env python """ Created on Tue Feb 28 16:06:17 2023 @author: Gilles.DELBECQ """ import sys, struct, math, os, time import numpy as np import matplotlib.pyplot as plt import scipy.signal as sp from intanutil.read_header import read_header from intanutil.get_bytes_per_data_block import ...
[ "gillesdelbecq@hotmail.fr" ]
gillesdelbecq@hotmail.fr
206c43a4c54c6b0d07faf11b208ccda9693b228a
3dc74850195b9e1af0ef75e4962f0ff49e564921
/18_Maximum_path_sum_I.py
1ad6ca2a9160be693f5dc9cfd759fa37d0d8afab
[]
no_license
axxypatel/Project_Euler
1350089bae1ced2e131f1468cd891036abd5b65b
540c3771f9a81ef50f38b2e267fcc663ee7cb195
refs/heads/master
2021-04-29T12:00:41.189525
2019-10-12T04:44:04
2019-10-12T04:44:04
121,720,530
0
1
null
null
null
null
UTF-8
Python
false
false
2,332
py
# By starting at the top of the triangle below and moving to adjacent numbers on the row below, the maximum total from top to bottom is 23. ''' 3 7 4 2 4 6 8 5 9 3 That is, 3 + 7 + 4 + 9 = 23. ''' # Find the maximum total from top to bottom of the triangle below: ''' 75 95 64 ...
[ "akkipatel667@gmail.com" ]
akkipatel667@gmail.com
c29df4dc726412fdbf3972c205d7e79ff724eb8b
83ab2b2f1744d1067ebd3a3b96cc32ac2c03443b
/products/widgets.py
d00ac74a71cad05d81b3a653043a668aeb5d3363
[]
no_license
SNmcdarby1/Conxia
14b52076bdd20826a1dea1d3fbf56101e39a9dc0
0d5b32b23cc2f190973d7fa2a6cab2a9576762f3
refs/heads/master
2023-08-03T22:03:33.593706
2021-09-13T16:15:12
2021-09-13T16:15:12
380,028,482
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
# code from code institute boutique ado project from django.forms.widgets import ClearableFileInput from django.utils.translation import gettext_lazy as _ class CustomClearableFileInput(ClearableFileInput): clear_checkbox_label = _('Remove') initial_text = _('Current Image') input_text = _('') templat...
[ "sngereso@gmail.com" ]
sngereso@gmail.com
8f89a66dd072bf370fed9868f1c96ccad2e01b07
ec476ad50f70ea9c1fd796faf92e634efb877af0
/venv/Lib/site-packages/dash_core_components/Textarea.py
699b91de4cdb0cc3c1c064b4d2c67a122c4657c1
[]
no_license
Mubeen31/Arduino-Sensor-data-Real-time-temperature-and-humidity-data-in-python-by-plotly-dash
e915cc9cfae5fdba324c57dd7bf6ad2440926ba7
2a80d1512198ea4e8e074ed437f35ac61920bb5c
refs/heads/main
2023-07-13T12:20:13.802937
2021-08-20T21:09:15
2021-08-20T21:09:15
398,258,681
2
0
null
null
null
null
UTF-8
Python
false
false
7,817
py
# AUTO GENERATED FILE - DO NOT EDIT from dash.development.base_component import Component, _explicitize_args class Textarea(Component): """A Textarea component. A basic HTML textarea for entering multiline text. Keyword arguments: - id (string; optional): The ID of this component, used to identify dash com...
[ "qs6272527@gmail.com" ]
qs6272527@gmail.com
ea9715eeadb84ddc1407e47799f0c12ee5c3fbbf
7ebe9e28ed94caf8f1a50ac2470429fb24216d94
/ch01_exceptions/SimpleBundlePurchase_exceptions.py
86f897e72b40daba6fa6b051fff7d5fd16274c3a
[]
no_license
1Saras/module3
79c6135e9caddeadcdded49a86c90e6e3e94917b
2c1a50643f73ada10d41596a16941d6162d04a66
refs/heads/master
2020-04-17T22:09:46.193463
2019-02-05T09:33:53
2019-02-05T09:33:53
166,982,874
1
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
# -*- coding: utf-8 -*- """ Created on Tue Dec 11 13:54:04 2018 @author: saras """ """ Creating an empty function """ def DataBundlePurchase(truePasscode, balance): if passwordCheck(truePasscode): return ask_transaction(balance) else: return 'Wrong password' def passwordCheck(truePassc...
[ "sarika.sarvia1@gmail.com" ]
sarika.sarvia1@gmail.com
0cb5a11895809e7bf9d178e277537eecc083a514
17a94e6b3fb249871c6056e9737dadb719979b10
/LoDiS_GIT/py_interface/run_check.py
959f78990f37d8ad9c3d611ac942ab26c6332cbc
[ "Apache-2.0" ]
permissive
kcl-tscm/LoDiS
353e1acd83b93cdbec024eb69a439c164f1d4bf9
c1c03b54ac68987a639103a8a99ea01b8a1c289b
refs/heads/master
2023-03-07T00:13:56.071225
2021-02-24T14:31:38
2021-02-24T14:31:38
172,684,870
1
0
null
null
null
null
UTF-8
Python
false
false
17,104
py
import os import sys if sys.version_info[0] < 3: import Tkinter as tk import tkFont as tkfont import tkMessageBox import Tkconstants, tkFileDialog else: import tkinter as tk import tkinter.font as tkfont import tkinter.messagebox as tkMessagebox import tkinter.constants as Tkconstants ...
[ "raphpmx@gmail.com" ]
raphpmx@gmail.com
dcd7bc6c6a4f35d9cea1771956fa865b4ce8e557
9086dea69557633c1941b2a7a499b9aa54a4a201
/Fundamentals of Programming/StudentsRegisterManagement/service/service.py
54e5be59ff7317295985bb080a96a9ad571f536c
[]
no_license
carinapetcu/University-Projects
1eee9552a4244256c04342f553290d930c2da42e
e391530daaaae08904e4e41d704b9bcd9d773803
refs/heads/main
2023-03-09T08:18:25.052674
2021-02-25T15:45:47
2021-02-25T15:45:47
317,280,592
1
1
null
2020-12-19T12:05:54
2020-11-30T16:22:55
C++
UTF-8
Python
false
false
20,062
py
from domain.entities import Student, Subject, Grade, GradeDTO, StudentByDescendingOrderDTO, SubjectByDescendingGradeDTO from Iterable import Iterable class ServiceStudents(object): def __init__(self, repositoryStudents, validateStudent): self.__repositoryStudents = repositoryStudents self.__valida...
[ "petcu.carina07@gmail.com" ]
petcu.carina07@gmail.com
3abc46cdc608bd24128c1ed90b0091c2bcdf85f8
359768258fc834051c7811ab6f50eeb95659bbb4
/parlai/crowdsourcing/projects/wizard_of_internet/wizard_internet_blueprint.py
d2b1b206e1ee1cc2908ed341418ab4c4d7337340
[ "MIT" ]
permissive
NazyS/ParlAI
3793e01c2adb53592a3f3e7f9d8e0a1eb06ae4e2
e9eeb370b0000d20ccf26cb70e93fef978f5a722
refs/heads/master
2023-07-22T14:51:47.708621
2021-09-07T21:31:10
2021-09-07T21:31:10
384,162,589
2
0
MIT
2021-09-07T21:38:35
2021-07-08T15:03:39
Python
UTF-8
Python
false
false
6,533
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. from dataclasses import dataclass, field from mephisto.operations.registry import register_mephisto_abstraction from mep...
[ "noreply@github.com" ]
noreply@github.com
872969287a78d57a6f82b6be8ce2301175e05b2b
01411b609236c258c5592704befb5cb99a7314f8
/37.5scenSW_FAC.py
76e0fd45f13a76f6a91bf30af05069db49419210
[]
no_license
ZeroHX/PSIT2018
31515002ec124651dff49ee7e3a08d6594cdfcda
5ef16bc51ef8b8b402ace197e26ae63377602ce1
refs/heads/master
2020-03-29T09:30:16.034742
2018-10-07T08:07:46
2018-10-07T08:07:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,091
py
"""SwitchSceneI Ver4.0 FACJ-ed1""" #0 = off #1 = daylight #2 = warmlight <Special_case> def main(state, data, sec1, count): """main func""" if data == "End": state = data else: state = 1 sec1 = float(data) #To find diff <will change when end loop> #Run Loop ...
[ "41178369+ZeroHX@users.noreply.github.com" ]
41178369+ZeroHX@users.noreply.github.com
ec6010d6eb70a3f9130b1e204438cacddd8d6179
650ef216f8f51ea4ff653f36cb76552c5733c508
/coursebuilder/modules/student_skills_ui/student_skills_ui.py
2631dad9462eed51a37630bff9a6e8b37e881376
[ "Apache-2.0", "CC-BY-3.0" ]
permissive
ram8647/gcb-clone-v111
3a75dda8e63a823364a80cd8642da016750ee7d1
64f5ea13a8d85b9ef057dddae888a427b1396df6
refs/heads/master
2021-01-21T06:43:13.433579
2017-10-04T23:14:40
2017-10-04T23:14:40
91,584,226
1
1
null
null
null
null
UTF-8
Python
false
false
5,841
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
[ "mgainer@google.com" ]
mgainer@google.com
1a6d7326648830c51c9d6ddcfd52f90ae9a5f1ed
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/PythiaChargedResonance_WG/PythiaChargedResonance_WGToLNuG_M4000_width0p01_13TeV-pythia8_cff.py
45ca4f0a00d2ad1221666d6f875dca26a7287b5c
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,131
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), filterEfficiency = cms.untracked.double(1), maxEvent...
[ "shubhanshu.chauhan.cern.ch" ]
shubhanshu.chauhan.cern.ch
3bcdfc8c8319bf5656ba875a4521c40ab1d0d262
191befe41ce0c41a5e4caad77d47b3865301103f
/websocket/base.py
3bef0a2c74086c20bee4f784a63936c20d64e570
[ "Apache-2.0" ]
permissive
katchke/SockNet
7e9ec66b3eebe6cce609f232b873d78f181fb054
07472ede22f7163c3d80e6050f1779a47e018f8d
refs/heads/master
2021-09-10T02:24:22.727139
2018-03-20T17:55:34
2018-03-20T17:55:34
126,055,739
1
0
null
null
null
null
UTF-8
Python
false
false
2,417
py
import abc import json from autobahn.twisted.websocket import WebSocketServerProtocol from autobahn.twisted.websocket import WebSocketServerFactory import helper # noinspection PyPep8Naming,PyMethodMayBeStatic,PyMethodMayBeStatic,PyMethodMayBeStatic class BaseProtocol(WebSocketServerProtocol): """ Base clas...
[ "rahulkamath91@gmail.com" ]
rahulkamath91@gmail.com
4985eae0dbe712eb75de03c220ae7d70cbf5c07b
4dc450e3e8d672b9eb232e4168630e4f7dac4459
/parseJSON.py
9effeea49f44d06bdf44c926d4bdf927e366b4e5
[ "Apache-2.0" ]
permissive
extwiii/C-Python
4f075d88300142e60714bbc0fa2de29e15109476
166d7abd032e0d3d150b4374b51bb1ce4d1ff3a0
refs/heads/master
2021-01-12T13:10:56.000311
2016-11-19T23:20:09
2016-11-19T23:20:09
72,136,617
0
0
null
null
null
null
UTF-8
Python
false
false
457
py
import urllib import json sum = 0 while True: address = raw_input('Enter location: ') if len(address) < 1 : break url = urllib.urlopen(address).read() info = json.loads(str(url)) for comment in info['comments']: sum = sum + int(comment['count']) print sum # Sample data: http://pyt...
[ "bcagiran@hotmail.com" ]
bcagiran@hotmail.com
b538521c1a4e868a82ca658bfa9726213a686173
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/W7S25BPmjEMSzpnaB_4.py
1710d798d37e7f63b51f71720d88fb6747d84732
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
301
py
def bonacci(sum_num, index): list = [] for i in range(1, sum_num): list.append(0) list.append(1) for i in range(sum_num , index ): num = 0 for j in range(1, sum_num + 1): num += list[i - j] list.append(num) return list[index - 1]
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
25d8a958489f172d8b4dc0de07244709afe0657c
d6a6d8c94c6e58dcca92b8bd8886a3546b1c212f
/main.py
064bb8c80604f1d404d791d19922588f56dce849
[]
no_license
TareqJudehGithub/python_linkedin_job_automation
a2f047ab404a8de0351c00dcec59c80f8c7625b5
2bdeafcbccee26cee47cdac5802b8f0e06048f64
refs/heads/main
2023-02-22T13:47:49.740036
2021-01-25T16:54:38
2021-01-25T16:54:38
332,729,667
0
0
null
null
null
null
UTF-8
Python
false
false
1,895
py
from selenium import webdriver from selenium.common.exceptions import NoSuchElementException from time import sleep import os chrome_driver_path = "/media/user/SSD/web/AngelaYu/Python/ChromeDriver/chromedriver" linkedin_url = "https://www.linkedin.com/jobs/search/?f_LF=f_AL&geoId=102257491&keywords=python%20developer&...
[ "tareq.judeh@outlook.com" ]
tareq.judeh@outlook.com
fb55bb810d1fb1d0135c36739a9252662882c2e9
fcbfd6b60035883546b6ab21412d80190802dfc3
/photos/migrations/0004_auto_20161101_0432.py
179b344a6e83e722c445f1157a47dd5777919744
[]
no_license
DiamondGideon/FaceOnYou
224df30c5798357cd05e3790b34e348ae496466b
35c7b299c4ffa0823e38af43b7ef4c641820419d
refs/heads/master
2021-01-11T10:14:20.166766
2016-12-01T09:56:52
2016-12-01T09:56:52
72,570,909
0
0
null
null
null
null
UTF-8
Python
false
false
448
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.6 on 2016-11-01 04:32 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('photos', '0003_coment_user'), ] operations = [ migrations.RemoveField( m...
[ "l2uvarov@mail.ru" ]
l2uvarov@mail.ru
b979cabc5dac1563efb593ac4a9deaf53cc6b26b
6020f7677c9043ebbd99a26fe3d960758ad48de5
/project/router.py
a61975fc4621d4f4c0219a5dade8d9e54c6a8b4b
[]
no_license
Mahmoud-Raouf/Vezeeta-App
7f25047b8c11dae86c215065a39fef4d951b9a4e
cdf88294ea1e4425130a7de091ce803d6403ccc0
refs/heads/master
2021-06-30T17:31:14.059818
2021-05-18T01:48:49
2021-05-18T01:48:49
232,304,184
0
1
null
null
null
null
UTF-8
Python
false
false
440
py
from accounts.api.viewsets import ProfileViewSet , CommentViewSet ,AppointmentViewSet from blog.api.viewsets import PostViewSet ,CommentViewSet from rest_framework import routers router = routers.DefaultRouter() router.register('profile' , ProfileViewSet) router.register('comment' , CommentViewSet) router.register('a...
[ "ma7mod.raouf@gmail.com" ]
ma7mod.raouf@gmail.com
8834b2063878e8f9283cf688ca32be26aee9d5ed
c5a36f358c0635f218f9239ad3a7e932fa4d64cd
/copy_op.py
c367ab7f766376729bd0831ebba0b42955af1c96
[]
no_license
vijama1/VoiceControlProject-1
e0121104e6145d18f79cf0c2d3513f2b80e657a9
634765207752073b89624954bc7694d4ffaacea8
refs/heads/master
2020-07-09T13:34:08.131022
2018-06-03T05:47:59
2018-06-03T05:47:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,420
py
#!/usr/bin/python3 import os import os.path def take_in(): text = input("enter the text\n") list_text = text.strip().split() call_copy(list_text) # for copy operation def copy_file(source,destination): f = open(source,'r') data = f.read() f.close() f2= open(destination,'w') f2.write(data) f2.close() #fo...
[ "bhavya19agrawal@gmail.com" ]
bhavya19agrawal@gmail.com
f494e621072741b9391f33362d8a936a9319619a
6fa15c73f3915a007934d70018ada707355eac73
/exercicios-python/ex033.py
65bef7aad738fcf1ce28333af687acf461b1f9a9
[ "MIT" ]
permissive
DaviStalleiken/codigos-de-desafios
604ac939b948153626b1472197e9fa39557ed004
e9ec388022b5f4bb2a5ab170c17969154ceaece3
refs/heads/main
2023-05-06T01:36:15.299929
2021-05-29T21:56:56
2021-05-29T21:56:56
363,548,505
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
n1 = float(input('Digite o primeiro número: ')) n2 = float(input('Digite o segundo número: ')) n3 = float(input('Digite o terceiro número: ')) menor = n1 maior = n1 if n2 < n1 and n2 < n3: menor = n2 if n3 < n1 and n3 < n1: menor = n3 if n2 > n1 and n2 > n3: maior = n2 if n3 > n1 and n3 > n2: maior = ...
[ "83245432+DaviStalleiken@users.noreply.github.com" ]
83245432+DaviStalleiken@users.noreply.github.com
ac60ff19bd34375d83801086d957a59699be321e
ae5b77abeaa99caffe93207d8813e1494f54350d
/manage.py
edf2c0b2682c2753c1c6ecfc90dd4ea219af94e2
[]
no_license
aoifemurfe/Go_Green
060fb2d9e18104fe0beda8ab31e46bf534225363
b993a850e20be56b4a40e101f97fe1ff5a298c7b
refs/heads/master
2023-02-28T02:19:02.158691
2021-02-05T15:59:38
2021-02-05T15:59:38
335,649,682
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'go_green.settings') try: from django.core.management import execute_from_command_line except Imp...
[ "aoifemurfe@gmail.com" ]
aoifemurfe@gmail.com
22b38b2b4d1cea3aef818d3ff61cd6965d2d78d4
31202d4c70e8ba2535514b396fc5436e7f607f98
/skyTestApp/migrations/0002_auto_20190809_2155.py
fd6182ed24b3cf4942edf562a06c23b387276d47
[]
no_license
subhani001/skyProject
34d4b16fa7907f7ce5bbea5cd2db9e7158ac3791
60fbf9c311cd63ace1d674db2271aebac8c2ff6f
refs/heads/master
2020-07-03T02:49:38.590954
2019-08-11T21:17:58
2019-08-11T21:17:58
201,682,868
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2019-08-09 21:55 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('skyTestApp', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "subhani001@gmail.com" ]
subhani001@gmail.com
cc2e37ddd71fb1e52708459d304b69b5718bc428
8d55d41a4f5c0b89331cac714c1525e9581d9720
/PyCommon/modules/VirtualPhysics/setup_mac.py
df7c84427729204e8ca11d58188d86486b5080f3
[ "Apache-2.0" ]
permissive
hpgit/HumanFoot
8cf35ceeeb35a0371e03eaf19d6da58dc01487eb
f9a1a341b7c43747bddcd5584b8c98a0d1ac2973
refs/heads/master
2022-04-13T23:38:19.072203
2019-12-06T06:36:10
2019-12-06T06:36:10
41,348,141
0
0
null
null
null
null
UTF-8
Python
false
false
660
py
from distutils.core import setup, Extension import sys py_major_ver = sys.version_info[0] boost_lib = 'boost_python' if py_major_ver == 3: boost_lib = boost_lib + '3' def moduleSetup(moduleName): moduleToSetup = Extension(moduleName, include_dirs = ['../usr/include/'], #extra_compile_args=['-fope...
[ "garethvlf@gmail.com" ]
garethvlf@gmail.com
b5126f5c82e7deb25eaa06a3bf6f79162e98be49
9c8fdfa389eaaf2df4c8ba0e3072d94671b5a622
/0547. Friend Circles.py
0a8f07d64c078d5a21a44614caac046e77dc1720
[]
no_license
aidardarmesh/leetcode2
41b64695afa850f9cc7847158abb6f2e8dc9abcd
4cf03307c5caeccaa87ccce249322bd02397f489
refs/heads/master
2023-02-27T11:22:09.803298
2021-02-07T06:47:35
2021-02-07T06:47:35
264,491,702
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
from typing import * class Solution: def findCircleNum(self, M: List[List[int]]) -> int: n = len(M) self.circles = n uf = {i:i for i in range(n)} def find(v): if uf[v] == v: return v uf[v] = find(uf[v]) ...
[ "darmesh.aidar@gmail.com" ]
darmesh.aidar@gmail.com
5c632672e7fb9cf4a9489190e398ab9162efd365
795742d82a3f286e8e1740ab3e5adb0b48c2e228
/scripts/camera_switch_server.py
05c680f6a9ec8f5e9e9a917e9a7ec8e13091ba66
[]
no_license
red-itmo/red_cvision
bca60438670ace9006f0decf7c97516c87962b3f
01d3c1cb4f5da4e34ac443292f8a0874fd380c6c
refs/heads/master
2021-01-18T22:37:34.677011
2017-07-03T13:44:38
2017-07-03T13:44:38
87,063,907
0
1
null
2017-07-03T13:46:50
2017-04-03T10:48:52
Python
UTF-8
Python
false
false
3,211
py
#!/usr/bin/env python import rospy import time from cvision.srv import CameraListObjects from sensor_msgs.msg import Image import libs.utils as u import pymeasuring NODE_NAME = 'cv_switch' SERVICE_NAME = 'get_list_objects' class CameraSwitchServer: """ The server for communication with manipulation node """ ...
[ "kaartemov@gmail.com" ]
kaartemov@gmail.com
073ce1454d9a663ecbf720158a95a267494051d5
cc144533af3c5ed3558f58e0ab98864051e0083c
/TT2/ex3.py
ed8b7971e4538b7763c122c8cbc7e1481e19cb6e
[]
no_license
oritsadok/python-course
8e65d8f79ec3a91b0181937d9dc8fbae0bb0d8c9
64e7b7bb9bb86303d3988c112d5a2983cbefe369
refs/heads/master
2022-12-30T14:14:38.325048
2020-10-18T08:20:53
2020-10-18T08:20:53
302,321,483
0
0
null
null
null
null
UTF-8
Python
false
false
391
py
a = int(input("Enter a number: ")) b = int(input("Enter a number: ")) c = a a = b b = c print(a) print(b) ##### x = int(input('Enter value for x: ')) y = int(input('Enter value for y: ')) # create a temporary variable and swap the values temp = x x = y y = temp # Print the result print('The value of x after swappi...
[ "oritsadok1@gmail.com" ]
oritsadok1@gmail.com
0def0b4e4195fb1b63ef66958649595ba3093ca9
7dd36b08b63b043ec529c09442878f3bfb31f215
/Scripts_Claudio_Bassot/Scrips_2019/Conserved_position.py
ee5fa2d00d69c0a5e3ffc21cfc4386683b966ee5
[]
no_license
ElofssonLab/Claudio
238382e03c359605b24494ba295fd5db63c47939
d34de5895d729a8aececbe122dbd36d3e9ca339b
refs/heads/master
2023-06-04T17:30:23.863007
2021-06-29T11:55:51
2021-06-29T11:55:51
166,061,029
0
0
null
null
null
null
UTF-8
Python
false
false
769
py
from __future__ import division import sys import linecache # filename and number of lines requested fname = sys.argv[1] #out= sys.argv[2] # count the total number of lines tot_lines = len(open(fname).readlines()) P1 = list(linecache.getline(sys.argv[1],23)) S = list(linecache.getline(sys.argv[1],24)) P2 = list(line...
[ "noreply@github.com" ]
noreply@github.com
f4199947212a6889d65b9832b7341e5f36dafffd
39405775f9ba7b9325a1348c8172f98ad24d442c
/user_portrait/user_portrait/cron/info_consume/propagate/propagate_time_weibo.py
6e2575bd9086745a5444b63f5d897d7058f14b32
[]
no_license
yuyuqi/info_consume
cfef72d697b929eb69244bd54b335cf46c4252ff
c984fb3b7235bae02cd5ba8f04f7ffb41ba0b910
refs/heads/master
2021-01-14T12:22:25.929097
2016-11-11T08:18:38
2016-11-11T08:18:38
66,696,804
0
0
null
2016-08-27T04:56:46
2016-08-27T04:56:46
null
UTF-8
Python
false
false
834
py
# -*- coding: utf-8 -*- from config import db class PropagateTimeWeibos(db.Model): id = db.Column(db.Integer, primary_key=True, autoincrement=True) topic = db.Column(db.String(20)) end = db.Column(db.BigInteger(10, unsigned=True)) range = db.Column(db.BigInteger(10, unsigned=True)) mtype ...
[ "1257819385@qq.com" ]
1257819385@qq.com
aa9336da4d4fa8ada35ebde970a9ccf696c296fb
b2826350dab8935de4c54092fac2090ec9b562bc
/prog_1d_hubbard.py
1ba9a833239abe660c4ca0920ebd3f3c417466c4
[ "MIT" ]
permissive
ryuikaneko/exactly_solvable_models
73c8bea988279a3ea595d067986a131494cd0d2b
d6f7617ae979b2ca7cbb1e9c1c562fae780b6956
refs/heads/master
2022-01-29T10:12:43.789610
2022-01-12T02:20:31
2022-01-12T02:20:31
205,546,034
15
2
null
null
null
null
UTF-8
Python
false
false
709
py
#!/usr/bin/env python from __future__ import print_function import numpy as np import scipy as scipy import scipy.integrate as integrate import scipy.special if __name__ == "__main__": Umax = 101 dU = 0.1 for intU in range(Umax): U = dU*intU # f[U_] = -4 Integrate[ BesselJ[0, x] BesselJ[1, x]/x/...
[ "27846552+ryuikaneko@users.noreply.github.com" ]
27846552+ryuikaneko@users.noreply.github.com
728690b3b498ad97e32534f2b46aa151a0ac28a4
bee9d96912078d68877aa53e0c96537677ec3e6a
/peakpo/control/cakemakecontroller.py
1003e9635181ea50fa417f7c3418c3b18cf82084
[ "Apache-2.0" ]
permissive
SHDShim/PeakPo
ce0a637b6307787dd84fd3dcb3415e752d180c32
4c522e147e7715bceba218de58ee185cccd2055e
refs/heads/master
2022-06-26T11:26:45.097828
2022-06-19T22:03:24
2022-06-19T22:03:24
94,345,216
17
3
null
null
null
null
UTF-8
Python
false
false
573
py
import os from PyQt5 import QtWidgets from utils import undo_button_press, dialog_savefile, writechi class CakemakeController(object): def __init__(self, model, widget): self.model = model self.widget = widget def read_settings(self): self.model.diff_img.set_calibration(self.model.po...
[ "SHDShim@gmail.com" ]
SHDShim@gmail.com
1198666ed4bee1ea077cc69130a1286291ae7597
461a321c2e24bafc7f8b93bab3989708e29477a6
/mmdetection/mmdet/models/plugins/generalized_attention.py
9517776fe7e9a10b66fbc4db762541dacc96183e
[ "Apache-2.0", "MIT" ]
permissive
tascj/kaggle-kuzushiji-recognition
1b86494cec069631649c2b2a018a6efaf3c9f589
169c400afae4bbff36d68eec3e675a2be638d2e0
refs/heads/master
2022-04-28T19:31:37.974701
2020-04-17T07:44:46
2020-04-17T07:44:46
215,233,634
91
29
MIT
2022-03-12T00:02:05
2019-10-15T07:22:40
Python
UTF-8
Python
false
false
15,139
py
import math import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from mmcv.cnn import kaiming_init class GeneralizedAttention(nn.Module): """GeneralizedAttention module. See 'An Empirical Study of Spatial Attention Mechanisms in Deep Networks' (https://arxiv.org/abs/1711...
[ "tascj0@gmail.com" ]
tascj0@gmail.com
e88709f8b01209c73baf05bc4488772b979b35f8
3342f3b95c08d16333176324064a75896d1642a8
/catkin_ws/build/rosserial/rosserial_msgs/cmake/rosserial_msgs-genmsg-context.py
0c6f1d1eadc288427d73b431611f64f400e7942d
[]
no_license
suxiyuanSJTU/test
3232bf8d53b41cc3fe0ca319f4cff4045eaa8db7
88611d121c25d33848a2b9d406ba65e0003d6978
refs/heads/master
2023-08-13T07:17:49.542271
2021-10-14T05:05:42
2021-10-14T05:05:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/sxy/catkin_ws/src/rosserial/rosserial_msgs/msg/Log.msg;/home/sxy/catkin_ws/src/rosserial/rosserial_msgs/msg/TopicInfo.msg" services_str = "/home/sxy/catkin_ws/src/rosserial/rosserial_msgs/srv/RequestParam.srv" pkg_name = "rosserial_msgs" depende...
[ "sxy12138@sjtu.edu.cn" ]
sxy12138@sjtu.edu.cn
6ba166fd14fe2ad9ca3e3a5ca249edf9c28526df
e1c50011dadc13445bde0c19a68fdf213fe7156a
/S1/L2/课程/课堂代码/pt20200426_w2v/skip_gram.py
2b0c870d5d8aa7bee72da1e5d8bbf08bbd32b214
[]
no_license
lanweicai/NLP
9100ebd050476de22cc10a9d6bffae2597633fcd
a647428735e4f5e8c106277d46aec506343e3d2e
refs/heads/master
2022-08-21T06:07:28.231293
2020-05-24T14:14:29
2020-05-24T14:14:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,348
py
import numpy as np import torch from torch import nn, optim import random from collections import Counter import matplotlib.pyplot as plt #训练数据 text = "You can see the results in their published model, which was trained on 100 " \ "billion words from a Google News dataset. The addition of phrases to the model "...
[ "1370139626@qq.com" ]
1370139626@qq.com
f75acb67e52cb8ec24de9fe04efc2181e8dae4b9
9d0195aa83cc594a8c61f334b90375961e62d4fe
/JTTest/SL7/CMSSW_10_2_15/src/dataRunA/nano1606.py
224e1d24dc5734464eade6e5711ee8dbc5f0ffb1
[]
no_license
rsk146/CMS
4e49592fc64f6438051544c5de18598db36ed985
5f8dab8c59ae556598b9747b52b88205fffc4dbe
refs/heads/master
2022-12-01T03:57:12.126113
2020-08-04T03:29:27
2020-08-04T03:29:27
284,863,383
0
0
null
null
null
null
UTF-8
Python
false
false
4,293
py
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: nanoAOD_jetToolbox_cff -s NANO --data --eventcontent NANOAOD --datatier NANOAOD --no_exec --conditions 102X_dataRun2_Sep2018Rereco_v1 --era...
[ "rsk146@scarletmail.rutgers.edu" ]
rsk146@scarletmail.rutgers.edu
f5c3c69ea010b9fffc6c87d768c27b27a8030a9f
c70b659bd26727559599132e8a59d80503f8a03a
/controllers.py
65b80875c89ff837d6529619917a2d24715ac98b
[ "MIT" ]
permissive
FahedSabellioglu/genn
70783f2d114e9d9dc25de0a25ce3c3190d6d6e61
6b216cf2d717eb4c44b0090962bdf3cdf188e955
refs/heads/master
2023-05-09T10:02:18.480905
2021-06-01T16:38:48
2021-06-01T16:38:48
267,951,333
11
0
null
null
null
null
UTF-8
Python
false
false
5,097
py
import numpy as np import torch import torch.nn.functional as F import json, csv, time from collections import Counter def assertType(provided, expected, name): assert isinstance(provided,expected), f"{name} expected type {expected}, but instead got {type(provided)}" def checkParams(*decParam): def warpFunc(c...
[ "fahedshaabani@std.sehir.edu.tr" ]
fahedshaabani@std.sehir.edu.tr
170cb656a46782697c3a1b3c5279081dc16324e5
d17da0a98d084e86b62f46674d12e5ba3501bd9c
/MxOnline/Scripts/pilconvert.py
9239c34057071840163fc09d2770eca7b376f4a2
[]
no_license
huyanggit/djangoweb
97cd3b300035ee71df926fb30fe27bca7ddc3fe0
016565eb2f21e04c3b827df40195161e69f926d9
refs/heads/master
2021-01-13T16:33:48.861876
2017-02-20T09:36:49
2017-02-20T09:36:49
79,179,344
0
0
null
null
null
null
UTF-8
Python
false
false
2,388
py
#!c:\users\yang\envs\mxonline\scripts\python.exe # # The Python Imaging Library. # $Id$ # # convert image files # # History: # 0.1 96-04-20 fl Created # 0.2 96-10-04 fl Use draft mode when converting images # 0.3 96-12-30 fl Optimize output (PNG, JPEG) # 0.4 97-01-18 fl Made optimize an option (...
[ "1586462999@139.com" ]
1586462999@139.com
eea817d60254307a68dbd9b0943756d17da0c46b
3f100a1002a1f8ed453c8b81a9b403444d77b4c6
/while_loops/trial.py
0bf2cb0e9f1ac677e22c4333bf6b64a527e9b842
[]
no_license
Kimuda/Phillip_Python
c19c85a43c5a13760239e4e94c08436c99787ebf
59d56a0d45839656eb15dbe288bdb0d18cb7df2b
refs/heads/master
2016-09-09T22:19:02.347744
2015-05-01T10:56:49
2015-05-01T10:56:49
32,330,951
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
1. The program will continue producing output until it is interrupted. 2. A line that increments i by 1 needs to be put at the end of, but inside of the while loop. 3. --- smallest.py --- smallest = "strings are always larger than integers" print "Enter a sequence of numbers:" line = raw_input("> ") while line != "":...
[ "pjkanywa@gmail.com" ]
pjkanywa@gmail.com
b6d888a75473317a2fa2056c0a9e143dc070db99
605284324a9c4a30219e7f830c0681219ec72fc2
/backend/instagram/serializers.py
2f71ea331832254f7a30b17effa5c5eb9604efbb
[]
no_license
happysms/instagram
fc000c9618551da3627f5b33d1bcec115901a323
75e40d7fc00351ad04e0ef0259ea84fb4cfdb7b0
refs/heads/master
2023-07-10T02:19:28.170483
2021-08-17T14:50:14
2021-08-17T14:50:14
396,265,175
0
0
null
null
null
null
UTF-8
Python
false
false
1,498
py
import re from django.contrib.auth import get_user_model from rest_framework import serializers from .models import Post, Comment class AuthorSerializer(serializers.ModelSerializer): avatar_url = serializers.SerializerMethodField("avatar_url_field") def avatar_url_field(self, author): if re.match(r"^...
[ "khuminsung@khu.ac.kr" ]
khuminsung@khu.ac.kr
de950a06dbd6d91de3321c096458f9b7b203f8b5
b102b0312b3b5391652a117ecf9f09f5059af485
/server/mysite/monitorlist.py
de84bb2417b2835174296bd7a5a466e969ec40be
[ "MIT" ]
permissive
zhangjiongcn/BR
06772079e050ceb99f3d8a93b09c8d0cd234d780
c08d8acd26c58caf5d939892a9cdf3d3bb3ffff1
refs/heads/master
2021-04-29T20:24:05.395174
2018-02-16T08:54:36
2018-02-16T08:54:36
121,595,878
0
0
null
null
null
null
UTF-8
Python
false
false
9,540
py
from django.http import HttpResponse import redis def index(request): pool = redis.ConnectionPool(host="redis.devops.pousheng.com", port=6379, password="redis") r = redis.Redis(connection_pool=pool) try: gettimelist = r.time() gettime = gettimelist[0] svrdic=r.hgetall("prd") ...
[ "admin@example.com" ]
admin@example.com
9a9875f9ef74c131bf2885171b2c1645e587bd42
9d64a438cdfe4f3feb54f2f0dc7431139c4b9fb9
/trendmicro_apex/icon_trendmicro_apex/actions/search_agents/action.py
82238c4c95b6add16427768df0993ff18d46a01e
[ "MIT" ]
permissive
PhilippBehmer/insightconnect-plugins
5ad86faaccc86f2f4ed98f7e5d518e74dddb7b91
9195ddffc575bbca758180473d2eb392e7db517c
refs/heads/master
2021-07-25T02:13:08.184301
2021-01-19T22:51:35
2021-01-19T22:51:35
239,746,770
0
0
MIT
2020-02-11T11:34:52
2020-02-11T11:34:51
null
UTF-8
Python
false
false
1,935
py
import komand from .schema import SearchAgentsInput, SearchAgentsOutput, Input, Output, Component # Custom imports below import re import urllib.parse class SearchAgents(komand.Action): def __init__(self): super(self.__class__, self).__init__( name='search_agents', description=Com...
[ "noreply@github.com" ]
noreply@github.com
56214b5b5d9a4470f943d74842161c3141ec64f9
9b6ecb9a9d85b13112a6f13483a27261243e6b7f
/ejercicio8.py
9a4436698c4992fc83b56349426c841e15fb44bd
[]
no_license
diego-90/progAvanzada
46c66db1c3bed837abc4edc5e61470b17e6f8b58
cfb0b79a843c95d2495c99f82292a20f57166369
refs/heads/master
2020-07-27T15:29:01.832650
2019-12-09T21:46:59
2019-12-09T21:46:59
209,141,256
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
cornflakes = int(input('introdusca cuantas cajas de cornflakes tienes:')) trix = int(input('introdusca cuantas cajas de trix tienes:')) peso1 = 750*cornflakes peso2 = 500*trix pesototal = (peso1+peso2)/1000 print('el peso total es',pesototal,'kg')
[ "noreply@github.com" ]
noreply@github.com
cf8d0b5cf4e4a0107de6cd9c133e7f4aa366db30
95deb106d41a4612628c50568b2e6107e0a6773d
/applications/admin/handlers/role.py
bbeb9f28634de63f2130e98cf28534b2ae5137dc
[ "BSD-3-Clause" ]
permissive
sjl421/py_admin
a57b0d2449a1beabef5ccffb88bd510a38db8013
2fb404af8b8435d247eb23c13386ae8deb88d144
refs/heads/master
2020-03-18T21:04:26.213089
2018-05-22T06:11:15
2018-05-22T06:11:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,344
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """URL处理器 [description] """ import json import tornado from applications.core.settings_manager import settings from applications.core.logger.client import SysLogger from applications.core.cache import sys_config from applications.core.decorators import required_permissio...
[ "leeyisoft@icloud.com" ]
leeyisoft@icloud.com
330a5454f52c3e086f97d61cf9218d8ad1656eb4
120f2484c0d174519b5ea2cd4db741036d54d250
/Week4/Matplotlib_All/Matplotlib_ScatterPlot/programs/Scatter Plot Comparing Two Subject.py
bf36454cd0c6d98ff7e5f9a9773d1cba77f29713
[]
no_license
PoonamGhutukade/Machine-learning
6f43da99b5a7df6d97cad00aed486cc777fc5de7
7f58ad0ad9f484bc61082a210c923d48d155e529
refs/heads/master
2020-04-28T22:10:07.143664
2019-06-26T10:28:38
2019-06-26T10:28:38
175,608,314
3
0
null
2019-06-26T07:29:10
2019-03-14T11:27:25
Jupyter Notebook
UTF-8
Python
false
false
2,156
py
from Week4.Matplotlib_All.Matplotlib_ScatterPlot.Utility.scatterplot_utility import validate_num, get_marks import matplotlib.pyplot as plt # class to perform graphical representation of data using matplotlib pie chart class ScatterPlotCompareTwoSubject: choice = 0 def scatter_plots(self): print() ...
[ "poonam.ghutukade@gmail.com" ]
poonam.ghutukade@gmail.com
5cb365c88d11e4906a757b2995cf93d0128fcde3
a4e5a695e749e49953d173e7ac2aeaf372d0513d
/flask/myapp.py
33873b70b27a80cd5f95b83bd1af3eeb4cebe55f
[]
no_license
mamueller/nix_examples
7e79194a479e8a73490f22d9087bc11a834f9c66
98fd728d0bba83d9c7a8151e724ef06aadd6cb95
refs/heads/master
2021-06-12T11:02:02.224015
2021-04-09T18:44:51
2021-04-09T18:44:51
167,869,054
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
#! /usr/bin/env python import subprocess from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello, Nix!" def run(): res=subprocess.run(['qemu-x86_64','-h']) print(res) app.run(host="0.0.0.0") if __name__ == "__main__": run()
[ "markus.mueller.1.g@googlemail.com" ]
markus.mueller.1.g@googlemail.com
1ea8d734403be436ba043166a9c312562de2a51a
48517a9b7ec7b0f0bf0a03291b7d1e3def751c0a
/Choose Your Own Colors/horizontal_striper_15.py
9e0f6da63d3a326564cc317ef111c0c8348888c7
[ "MIT" ]
permissive
Breakfast-for-Pigeons/Unicorn-HAT
1ae033bf11c05b9cc739b1eacfc77665506e0bc8
9ff1388ee627a8e81f361929e9e9b708db4e2832
refs/heads/master
2021-06-06T12:22:48.162031
2020-10-22T17:31:51
2020-10-22T17:31:51
74,648,524
1
0
null
2018-10-02T17:37:31
2016-11-24T07:28:23
Python
UTF-8
Python
false
false
2,042
py
#!/usr/bin/python3 """ Horizontal Striper 15 - Choose Your Own Colors With the Raspberry Pi oriented with the GPIO pins at the top, this program stripes from the top to the bottom and alternates from left to right and right to left. This is exactly the same as Horizontal Striper 7 except the color order is reversed. ...
[ "noreply@github.com" ]
noreply@github.com
9cb206a3abb8b5b241194a31e2545cc7ddb1cb38
02a2ab11083a2038d4e27b7548d1754121173afb
/rob-lekcje-python/rob4.py
dedcb0c22d6f84ab9cd9b6d0aa33e6e2ce8372ff
[]
no_license
robertpolak1968/Python
9e0398afab3fcde994cd700c28cef615a16f2394
950577f4e47e9cdad753bf9575e896e7fcd482e6
refs/heads/master
2020-07-21T09:09:54.353310
2019-12-07T11:15:56
2019-12-07T11:15:56
206,808,805
0
0
null
null
null
null
UTF-8
Python
false
false
716
py
people = { 'Alice': { 'phone': '2341', 'addr': 'Foo drive 23' }, 'Beth': { 'phone': '9102', 'addr': 'Bar street 42' }, 'Cecil': { 'phone': '3158', 'addr': 'Baz avenue 90' } } # Descriptive labels for the phone number and address. These will be used # when printing the output. labels = { 'phone': 'phone number', 'addr':...
[ "robertpolak1968@gmail.com" ]
robertpolak1968@gmail.com
420dc4337b61a38021879990e4ee06cc055b145e
ff76e6d80d548150acb05b7566ad89836f57cf92
/app1/migrations/0003_movie_director.py
0dfff6689b9c234c383063e30754fe66ab6a5972
[]
no_license
JamesFrostSoftware/FYP
ac69327fa225d7d66d53555626a3310b5b6ccaf9
2c3131516646a32ee7d86868292cb699ab8c353a
refs/heads/master
2022-08-23T08:15:59.498042
2020-05-26T20:14:08
2020-05-26T20:14:08
267,140,545
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
# Generated by Django 2.2.11 on 2020-03-26 10:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app1', '0002_remove_movie_director'), ] operations = [ migrations.AddField( model_name='movie', name='director', ...
[ "jamesfrostwork190@gmail.com" ]
jamesfrostwork190@gmail.com
c26ea7b4d35ceff9359a585dd8a04fcf673884e8
bb24a612684f5684abc9d80ff81140e95fb22ed2
/python/rsvp.py
15736dd78e3c57b1d8d472237d0367b9d76db73c
[]
no_license
sungpia/Whoshungry
8d06a3f073039587446a661b52b585a6ba674842
4987403b83b8eddca2f346bf4e1868e741a72fbf
refs/heads/master
2020-05-16T01:48:12.845708
2015-07-21T01:43:42
2015-07-21T01:43:42
31,397,361
1
0
null
null
null
null
UTF-8
Python
false
false
484
py
import requests import json BASEURL = "http://localhost:3000/v1/" login1 = { "user_id" : 1, "access_token" : "001001002003" } logindata= json.loads(requests.post(BASEURL+"auth", data=login1).text) token= logindata["token"] user_id = logindata["user_id"] vote_id = 3 make_rsvp = { "rsvp" : 1 } #print requests.po...
[ "sungpia@me.com" ]
sungpia@me.com
fcb594e60250b5305d02c254838b39e4b566b36b
4f302cdcd63507c1d6c9c0961cba6c97386cc682
/Gallery/urls.py
d27caae792d2daa9f46a43f7c12923ccfb30b228
[]
no_license
Andy-3501-2018/Web_developer
ee7e60afb0ded3728b9fc52b66e28354483be8ec
fc88b2278adc35ba51f2dea55511dcf725e930af
refs/heads/master
2020-04-13T09:58:18.741111
2018-12-27T09:58:55
2018-12-27T09:58:55
163,125,884
0
0
null
null
null
null
UTF-8
Python
false
false
1,234
py
"""Gallery URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
[ "2362620433@qq.com" ]
2362620433@qq.com
5976d3eab12fc8edfe9e75477bdaaf4c588a9f2d
1b5df57d4086468aeb652a04e01104c9521d4c04
/kuryr/schemata/release_address.py
30226d2bf924f52aeb1bd8e7144136d35234484b
[ "Apache-2.0" ]
permissive
thed00de/kuryr
d1d906ac5113138376c6e9385aa3e87bbafb6ed8
8d85829d729eed28f5fce6e2a4b2f976d903e1cc
refs/heads/master
2021-01-17T11:58:51.334628
2016-07-04T14:35:51
2016-07-04T14:35:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "choudharyvikas16@gmail.com" ]
choudharyvikas16@gmail.com
6fdb094e7f8936d65474156243043ac349a04633
c6bfc62c5d90a8eaa7dcb0f4149b48a18dec3dc1
/model.py
503d31ccb1cd347ef5807b9bd8ced9f9f9543e4d
[]
no_license
PabloRR100/Bert_Sentiment_Multilingual
4e2e897a7638ca097043980f2bf00336b7f87673
d19b0ebca0c890313b25b3c8fbd3ac165f94856c
refs/heads/master
2023-07-12T17:34:46.746524
2020-05-13T10:23:01
2020-05-13T10:23:01
261,702,895
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
import torch import torch.nn as nn import config import transformers """ EXTENDES TRANSFORMERS BERT MODEL """ class BERTBaseUncased(nn.Module): def __init__(self): super(BERTBaseUncased, self).__init__() self.bert = transformers.BertModel.from_pretrained(config.BERT_PATH) self.bert_drop...
[ "pabloruizruiz10@gmail.com" ]
pabloruizruiz10@gmail.com
9a2bfa2e085d4bdbbcd7e45e25f31886e442b9b4
3cd19164c17d9793ea506369454b8bacd5cebfa9
/Backend/py2club/bin/pyjwt
56637acb75b755885e5c894368fe1121d7d3a106
[]
no_license
Myxg/BadmintonClubSystem
337a17728122ab929d37e7f2732850beb49d8be0
1c51236098ab3770cadd925212f9d3978ed83c2a
refs/heads/master
2022-12-27T10:13:55.129630
2020-09-16T10:21:36
2020-09-16T10:21:36
295,998,099
0
0
null
null
null
null
UTF-8
Python
false
false
257
#!/home/ubuntu/BadmintonClubSystem/Backend/py2club/bin/python # -*- coding: utf-8 -*- import re import sys from jwt.__main__ import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "15234407153@163.com" ]
15234407153@163.com
c30428c042c8cff19f6c5a55e4419743ec7ac4b6
369e316523cdd9c466de3ca744c971719ca12c5f
/Python/Tutorials/boolean_basic.py
e45512bad9baa8e48a027226862ea6c60a3a7772
[]
no_license
whysofar72/SOME-Projects
31ade23d5446ba12aac8146c65d45b041ae8048c
b034471363b5e7cd5619ce52707e5b4887f32443
refs/heads/master
2021-01-23T10:07:42.911834
2018-01-09T13:21:07
2018-01-09T13:21:07
102,605,542
0
0
null
null
null
null
UTF-8
Python
false
false
542
py
#Boolean - OR in_str = input("Enter your ID: ") real_tk = "tekdk__39" real_dk = "DavidKim" if in_str == real_tk or in_str == real_dk: print("Greeting !") else: print("ID not authorized, Register first.") #Boolean - AND in_str1 = input("Enter your ID: ") in_str2 = input("Enter your password: ") real_tk = "tekd...
[ "whysofar72@gmail.com" ]
whysofar72@gmail.com
8b0b3dfa30fbd16c14720cd80c0223d30a9672d7
71fa9fe72104a5b535f28d03d1776414a0285fc3
/venv/bin/pip
df16833fea1fd4a2ae2b91236d4010755ddd5251
[]
no_license
vibha0815/AhaChennaiKitchenApp
50c4a50d35645c42a0ab2590bcba4afe1704a285
9b5d5a2cdb1a4eb5686090041e6d11e0299acd8f
refs/heads/master
2021-02-19T07:40:07.911475
2020-03-05T23:53:04
2020-03-05T23:53:04
245,288,884
1
0
null
null
null
null
UTF-8
Python
false
false
398
#!/Users/prashanthiyer/projects/api/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.ex...
[ "vibha0815@gmail.com" ]
vibha0815@gmail.com
f4cf7019f39021a4b77232222532df88fce1f0ff
e1c7d4257b7e8ccdd369b12a3cb6c07e7b46df85
/tools/zpycompletion
64f55f2ab6dfb05cf738656662d96813f57b5eaa
[]
no_license
Trietptm-on-Coding-Algorithms/workshop
c461d6dd78ce80850a1a238a19509a5f30559c5b
5a26fc86c737dc5f236983c6dbf53318b0a559aa
refs/heads/master
2021-01-12T19:24:31.472826
2016-05-26T13:21:45
2016-05-26T13:21:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,993
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # zpycompletion # # Copyright 2015 Spencer McIntyre <zeroSteiner@gmail.com> # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code m...
[ "zeroSteiner@gmail.com" ]
zeroSteiner@gmail.com
19a76e26092ec389793026a5b6b3a32e09ff7ac3
ac1d3a1ff9e4ccac37c1ae206f3c12021e56e420
/code/figures/MBL_xan_titration.py
d3cb715bf2652b4a6ed9ccd6e0df1e2db8f0fb2c
[ "MIT", "LicenseRef-scancode-proprietary-license", "CC-BY-4.0" ]
permissive
RPGroup-PBoC/mwc_activation
4bcdeb2271047df4c1fe8243de2eade709012d0a
6ef3f02a53ecd80877082006ecc4b8fe4204c1d6
refs/heads/master
2023-07-22T22:09:25.442468
2020-02-27T18:59:17
2020-02-27T18:59:17
167,025,404
0
0
MIT
2023-07-06T21:20:04
2019-01-22T16:16:05
Jupyter Notebook
UTF-8
Python
false
false
5,692
py
#%% import numpy as np import pandas as pd import matplotlib.pyplot as plt import joypy import glob import sys import scipy.stats sys.path.insert(0, '../../') import act.viz import act.flow colors = act.viz.pub_style() # %% # Parse all of hte files. files = glob.glob('../../data/flow/csv/*.csv') dfs = [] for f in f...
[ "gchure@caltech.edu" ]
gchure@caltech.edu
12c2fb913ef27cff8bbefcf384d426de3192582e
9da8754002fa402ad8e6f25659978bd269bbcec8
/src/314B/test_cdf_314B.py
e9e2e5ce0864198663b5fa16bab21ce3f1026005
[ "MIT" ]
permissive
kopok2/CodeforcesSolutionsPython
a00f706dbf368ba0846c8ae86d4145b5dd3e1613
35bec0dbcff47765b123b5fe60476014376153df
refs/heads/master
2023-02-02T03:08:22.097651
2020-12-17T22:00:50
2020-12-17T22:00:50
196,035,812
1
1
null
null
null
null
UTF-8
Python
false
false
563
py
import unittest from unittest.mock import patch from cdf_314B import CodeforcesTask314BSolution class TestCDF314B(unittest.TestCase): def test_314B_acceptance_1(self): mock_input = ['10 3', 'abab', 'bab'] expected = '3' with patch('builtins.input', side_effect=mock_input): Sol...
[ "oleszek.karol@gmail.com" ]
oleszek.karol@gmail.com
5fefd8d41292945de9fc62f603575b322f51d4c8
b53996e30722f9fa5f1ec20029dac222951fa0fa
/assignment1/neural_net_main.py
a8b15cc0a1e8c7c8ab31c1b6fce185cc31a82fa2
[]
no_license
vgundecha/cs231n--Convolutional-Neural-Networks-for-Visual-Recognition
b3ab26c890c44b7bdb4b0dd72059b5bd9aeca9f2
7206d7bccbccacaa60a7d65cd6b2c7742d8dca62
refs/heads/master
2023-04-29T17:11:28.478513
2017-02-16T00:32:41
2017-02-16T00:32:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,704
py
# A bit of setup import numpy as np import matplotlib.pyplot as plt import sys sys.path.insert(0,"C:\Satan\HW\#cs231n\prog1") from cs231n.classifiers.neural_net import TwoLayerNet plt.rcParams['figure.figsize'] = (10.0, 8.0) # set default size of plots plt.rcParams['image.interpolation'] = 'nearest' plt.rcParams['im...
[ "vineet.gundecha@gmail.com" ]
vineet.gundecha@gmail.com
3be73d7398df750bd09398671d97d790adfa6e86
6d3961592d4b3bb6e67d9049108f5242925606e7
/tutorial/tutorial/spiders/dmoz_spider.py
5025cec45da4764ca0c6a020e28effb9154b0363
[]
no_license
zhuyiqing828/mtime
b01a33096e7933e885c33471a929279471eaaf7b
2ff329b9d008bac8e93b12e07bd80e452577410a
refs/heads/master
2020-05-23T02:21:35.529902
2019-05-14T10:56:08
2019-05-14T10:56:08
186,601,925
0
0
null
null
null
null
UTF-8
Python
false
false
2,065
py
# -*- coding:utf-8 -*- import scrapy import scrapy from tutorial.items import DmozItem import jsonlines def read_url(url): #按行读取json文件 读取json文件中的http的关键字,存入url数组中 with open("tencent_film.json", encoding='utf-8') as f: for line in jsonlines.Reader(f): url_key = line['coverId'] ...
[ "784301334@qq.com" ]
784301334@qq.com
93085ac8cbbe0aa96b3980b732e0b186d659835e
2abbe49106e79566b18cdcc7f70280f3ed996d26
/check.py
c6a3941909e1278fcc823608cae491e04a8b3969
[]
no_license
HYH13/HYH
e74213e6c7e660c40ac2696df4b79441d09ad015
11e3a1aa7e5ab090c7686190d8c32601bc4b1424
refs/heads/master
2022-03-08T14:05:01.713039
2022-02-22T19:34:18
2022-02-22T19:34:18
207,047,395
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
from tensorflow.contrib.framework.python.framework import checkpoint_utils var_list = checkpoint_utils.list_variables("./model.ckpt") for v in var_list: print(v)
[ "noreply@github.com" ]
noreply@github.com
58c2ae36f9998c4835dd02a7c2d6505ab505322f
6c001816af83e053bdd07f755fa98273907441bd
/13_input_output.py
e4bbd83330d47e771088e5279db589aae83b43c0
[]
no_license
pan123go/numpypandas
521a94da22ce0a015a6384a24f370f1561cb2b4b
09517d0178887dad559a266c4660112f241b3d1b
refs/heads/master
2021-04-02T20:52:19.062880
2020-03-18T19:34:09
2020-03-18T19:34:09
248,320,222
0
0
null
null
null
null
UTF-8
Python
false
false
121
py
import pandas as pd import numpy as np data = pd.read_csv('student.csv') print(data) data.to_pickle('student.pickle')
[ "panminglixue@163.com" ]
panminglixue@163.com
9df9ea600916713cd0d1db1109aed72c0fa8bb2d
5ac1f70dc4f4e330856ceb8fd33db9e8bb34d833
/Bot_Discord/Main.py
df056e8ec4ebd92ca23c3286ef4730643e22c385
[]
no_license
Benjamin-Rdg/Projet-Tutor-s2
4190f93d936ece5f474a31529f88018a2eec4f68
5b02ecb2bdbf2f5af74369a584cb9e8278feba38
refs/heads/main
2023-05-14T02:57:23.561614
2021-06-06T12:05:26
2021-06-06T12:05:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,500
py
from time import sleep from dotenv import load_dotenv from PIL import Image from Alarme import * from Camera import * import random import nasapy import os import urllib.request import RPi.GPIO as GPIO import discord import sys from discord.ext import commands GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) BestFish =...
[ "noreply@github.com" ]
noreply@github.com
a96d36f1f9ad05f3e3107a56beed2a571b9c5a7e
ebd194cf2c081e20d7481731988f9cbbe2688565
/Supplement/comparison_tools/stats.py
6859a79df3d10f1ec5d581ce7381d8ac4b4f15a7
[ "MIT" ]
permissive
coridon/latools
fd511c92c37537f9346882aee1b47de7251ce01a
cca574054358305f5232db44adb49002f817342c
refs/heads/master
2022-03-23T21:29:12.211363
2019-12-11T16:59:31
2019-12-11T16:59:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,189
py
import statsmodels.api as sm import pandas as pd import numpy as np from scipy import stats import matplotlib.pyplot as plt def fmt_RSS(x): """ Calculate RSS and format as string. """ return 'RSS: {sumsq:.2f}'.format(sumsq=np.sqrt(np.nansum((x)**2))) def pairwise_reproducibility(df, plot=False): ...
[ "oscarbranson@gmail.com" ]
oscarbranson@gmail.com
442133d18e2d15765c4895b1ea38df3be5816d09
3862fe7bb86fb27be33eed5c02278168c6828470
/Python Scripts/excepciones_5.py
9e1cd83a303db8df3f5b321a7e5abbe023be836e
[]
no_license
MrBrightside7991/python
4d3fef03824c66c6ab8498184b6e1fb10621e432
61ad636c5e1b552d792d63bc47eb3b18a459bb72
refs/heads/master
2021-01-04T19:01:19.566661
2020-03-07T17:22:42
2020-03-07T17:22:42
240,720,690
0
1
null
null
null
null
UTF-8
Python
false
false
250
py
# -*- coding: utf-8 -*- """ Created on Fri Mar 6 19:14:10 2020 @author: CEC """ lista=[1,2,3,4,5] ix=0 doit=True while doit: try: print(lista[ix]) ix+=1 except IndexError: doit=False print("Listo")
[ "noreply@github.com" ]
noreply@github.com
f2cc5f6f8b3ac1a429f71c5a1e78bcae39d6be7a
255e19ddc1bcde0d3d4fe70e01cec9bb724979c9
/all-gists/2604992/snippet.py
d1ee8b056d79d916da3e98173cd2729fc7778229
[ "MIT" ]
permissive
gistable/gistable
26c1e909928ec463026811f69b61619b62f14721
665d39a2bd82543d5196555f0801ef8fd4a3ee48
refs/heads/master
2023-02-17T21:33:55.558398
2023-02-11T18:20:10
2023-02-11T18:20:10
119,861,038
76
19
null
2020-07-26T03:14:55
2018-02-01T16:19:24
Python
UTF-8
Python
false
false
485
py
# Print each permutation. def perm(l, n, str_a): if len(str_a) == n: print str_a else: for c in l: perm(l, n, str_a+c) # Return a list of permutations. def perm2(l, n, str_a, perm_a): if len(str_a) == n: return [str_a] + perm_a else: new_perm_a = perm_a ...
[ "gistshub@gmail.com" ]
gistshub@gmail.com
aa41b572c7625de059c27fd3a508829ba7590cb4
690b5b2e47ec7c1f8ca475c5576c1ef4a98b4e3c
/PLT00_main.py
58b68ebeaa6951a67ce3ee8e84d3332e690c9beb
[]
no_license
mirakalyan-07/pyAnalytics
2e5072d9aef5c49560b0b2037a11201b1b398c8e
bf27f6fd67ac7121c944ec43f5dd2c2f59a47744
refs/heads/main
2023-06-04T23:18:08.463127
2021-06-26T14:17:58
2021-06-26T14:17:58
376,863,646
0
0
null
null
null
null
UTF-8
Python
false
false
2,610
py
#python : Topic :Graphs on mtcars #standard libaries import numpy as np import pandas as pd import matplotlib.pyplot as plt from pydataset import data import seaborn as sns df = data('mtcars') df.describe() df.head() df.columns df.dtypes #scatter plt.scatter(x=df.wt, y=df.mpg, color='red', marker='o') plt.show(); #...
[ "miraglittering1997@gmail.com" ]
miraglittering1997@gmail.com
0a85d36cc1a0d025855da19e08d0826209a0d735
508321d683975b2339e5292202f3b7a51bfbe22d
/Userset.vim/ftplugin/python/CompletePack/PySide2/QtWidgets/QStyleOption.py
c82ecadb7fa2cdc8b2a6f3c10eb0f9bc1b529d32
[]
no_license
cundesi/vimSetSa
4947d97bcfe89e27fd2727423112bb37aac402e2
0d3f9e5724b471ab21aa1199cc3b4676e30f8aab
refs/heads/master
2020-03-28T05:54:44.721896
2018-08-31T07:23:41
2018-08-31T07:23:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,232
py
# encoding: utf-8 # module PySide2.QtWidgets # from C:\Program Files\Autodesk\Maya2017\Python\lib\site-packages\PySide2\QtWidgets.pyd # by generator 1.145 # no doc # imports import PySide2.QtCore as __PySide2_QtCore import PySide2.QtGui as __PySide2_QtGui import Shiboken as __Shiboken class QStyleOption(...
[ "noreply@github.com" ]
noreply@github.com
2d955a76eb32edaf404ea4ca61f1fa9696e17582
9852cee063eb438227abf75fa4aa06c0d2d7a23a
/hacktivitycon/web/ladybug.py
6c45caddae6a0597e627efbc95dec881fc2a2349
[]
no_license
arwildo/ctf
227a6038b4d068f33134153534942e91ec5f36f8
623ac5cf7f177870d837ae298310bbd244a1db56
refs/heads/master
2021-09-08T16:50:32.890102
2021-08-28T04:13:37
2021-08-28T04:13:37
248,462,299
2
0
null
null
null
null
UTF-8
Python
false
false
222
py
#!/usr/bin/python3 import requests url = 'http://two.jh2i.com:50018/mail.php' myobj = {'name': 'fsdkfkjs', 'email': 'dfjskjsf', 'subject': 'dfdfs', 'message': 'dfssf'} x = requests.post(url, data = myobj) print(x.text)
[ "arwildo@gmail.com" ]
arwildo@gmail.com
964e6dbd21e6451da417e34cfbb9a5beef20ba9f
e22cc72303b957a54ff133daa7f407f414044634
/learn_tf.py
08e41fe890a6ad7573a9ed8d353fd0c190645c06
[]
no_license
henbucuoshanghai/yolo1_not_done
5d3dfd3e4c3ab1ac45591aa014fdf56b273e70e5
b02972a5845c1edf9f163b1afa1297f8550e1cb6
refs/heads/master
2020-06-04T20:16:19.658935
2019-06-16T10:29:18
2019-06-16T10:29:18
192,176,705
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import numpy as np import tensorflow as tf offset = np.transpose(np.reshape(np.array([np.arange(4)] * 4 * 2), (2, 4,4)), (1, 2, 0)) print offset print '.......' a=tf.reshape(tf.constant(offset, dtype=tf.float32),[1,4,4,2] ) print a set = tf.tile(a, [3, 1, 1, 1]) print set sett=tf.tran...
[ "1119006913@qq.com" ]
1119006913@qq.com
3e6f34481593e6d3a94d3f6cd125b50d1b4b91db
b001b44c95f4a7c5574385baa4fe72c5f3d02236
/home/migrations/0014_auto_20181104_1611.py
4acbda228febaf659b1e14a983a45d508d1d4673
[ "MIT" ]
permissive
gjergjk71/Attendence
3ae9b9f3cb3c4e0bfe2addf4124b7612a78f1533
9e9370125bfc4958de02171a3ae4c8e16bf10913
refs/heads/master
2020-04-14T08:46:58.649674
2019-01-01T14:27:29
2019-01-01T14:27:29
163,743,067
0
0
MIT
2019-01-01T14:34:28
2019-01-01T14:34:28
null
UTF-8
Python
false
false
2,087
py
# Generated by Django 2.1.3 on 2018-11-04 10:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('home', '0013_auto_20181104_1610'), ] operations = [ migrations.AlterField( model_name='semester...
[ "201651011@iiitvadodara.ac.in" ]
201651011@iiitvadodara.ac.in
3223e9456074d581c757af51c335c344c95af82e
ac627d7b2d67f27a13a85d0d91cc9e312d20f81c
/algorithms/python3/59 Spiral Matrix II.py
e0d89ed9ec8eefb5749549821ae10180cbcfbba5
[]
no_license
hcfw007/LeetCode
d80dfae86b018d7db80974dfa2eec5f71de1b140
5a22ebbbc3841aae0ed62b44874b0bcc17418ef9
refs/heads/master
2021-07-01T14:24:38.456987
2019-07-27T10:03:22
2019-07-27T10:03:22
133,489,073
2
0
null
null
null
null
UTF-8
Python
false
false
914
py
class Solution: def generateMatrix(self, n: int) -> List[List[int]]: matrix = [[-1] * n for _ in range(n)] count = 1 directions = [ [0, 1], [1, 0], [0, -1], [-1, 0] ] direction = 0 point = [0, 0] while count <= n...
[ "brotherstyx@gmail.com" ]
brotherstyx@gmail.com
7d8cf6dec53453c97b6b289e7392a73be5aa8bbc
21377b69e2f60c93ea82326766b2666947b5786a
/maria/maria/wsgi.py
96793d62534d74857655258419c246684eb5c41b
[]
no_license
bhandariroshan/python-application-to-pull-data-from-yahoo-charts-and-create-interactive-visualizations
89fc6cadd7bcb214048497ecb3dea67425a74a3b
5b9f1d1f2e6a45de9e03f5b077d11dae95ae5912
refs/heads/master
2022-09-01T06:00:26.263938
2017-05-19T17:11:56
2017-05-19T17:11:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
""" WSGI config for maria 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.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTING...
[ "brishi98@gmail.com" ]
brishi98@gmail.com
a8dd8167fcc89be655cbc9b00d1533f48a628530
4e0e96aa663683642bf1b6dd19885a245c5d4129
/flowcharts/migrations/0003_auto_20191213_0409.py
a3fa8b951c8b6eafbe1a4ba2e53054f451e9596f
[]
no_license
atleastzero/XYearDjango
fe12707f0cd4d8c272452cc2b004360e3554645d
5d25ed268fd6fdba49f7fe8ac0ba08031876e235
refs/heads/master
2021-09-24T19:13:56.990118
2019-12-14T03:52:11
2019-12-14T03:52:11
222,778,871
0
0
null
2021-09-22T18:07:23
2019-11-19T20:00:53
Python
UTF-8
Python
false
false
464
py
# Generated by Django 3.0 on 2019-12-13 04:09 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('flowcharts', '0002_flowchart_last_updated'), ] operations = [ migrations.AlterField( model_name='flowchart', ...
[ "megan.obryan52@gmail.com" ]
megan.obryan52@gmail.com
534ff2ff2d4c67fe84121d7af419371c58a918e2
1078c61f2c6d9fe220117d4c0fbbb09f1a67f84c
/paws/lib/python2.7/site-packages/euca2ools-3.4.1_2_g6b3f62f2-py2.7.egg/EGG-INFO/scripts/eulb-attach-lb-to-subnets
fcf3618ac8aa00e3864a9b452656c3acae5f986c
[ "MIT" ]
permissive
cirobessa/receitas-aws
c21cc5aa95f3e8befb95e49028bf3ffab666015c
b4f496050f951c6ae0c5fa12e132c39315deb493
refs/heads/master
2021-05-18T06:50:34.798771
2020-03-31T02:59:47
2020-03-31T02:59:47
251,164,945
0
0
null
null
null
null
UTF-8
Python
false
false
284
#!/media/ciro/LOCALDRV/A_DESENVOLVIMENTO/AWS/receitas/paws/bin/python -tt import euca2ools.commands.elasticloadbalancing.attachloadbalancertosubnets if __name__ == '__main__': euca2ools.commands.elasticloadbalancing.attachloadbalancertosubnets.AttachLoadBalancerToSubnets.run()
[ "cirobessa@yahoo.com" ]
cirobessa@yahoo.com
2029e1962d5f912957525a8d2368e4e25e63efde
716b976855903281115bfa59dbd0854ff56a42cc
/guestbook/urls.py
14cd2a2a29c52af74ed8731c8344d896bcd1b1d9
[]
no_license
allengosta/broomtrade_new
4996faadd2f0c18c62ec402237a770a8a115d532
84e04d4b6cac9ac3d39b8293274733fc6e07ab8f
refs/heads/master
2020-03-21T07:48:36.476040
2018-06-22T12:43:55
2018-06-22T12:43:55
138,300,697
0
0
null
null
null
null
UTF-8
Python
false
false
147
py
from django.conf.urls import url, include from guestbook.views import * urlpatterns = [ url(r'^$',GuestbookView.as_view() ,name="guestbook") ]
[ "www.allen.gosta@mail.ru" ]
www.allen.gosta@mail.ru
eae4bf54adb41478cd54a1be1552be4234d1fc44
09a95131e9e335b967f726e918b06f01db56fcc4
/A2C/cartpole-old/models.py
a31c2f0a0353d78339d7c83dc369ed747be86592
[]
no_license
shahbuland/Learning-RL
82281873b49d5ff2b90d25cb97669c47d3ef8e55
9825c52d0674269fccbabdc707c5530ff0cce7b2
refs/heads/master
2020-08-09T00:16:54.387567
2020-04-27T23:32:24
2020-04-27T23:32:24
213,956,387
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
from torch import nn import torch import numpy as np import torch.nn.functional as F from constants import * class Actor(nn.Module): def __init__(self): super(Actor, self).__init__() self.fc1 = nn.Linear(STATE_SIZE, ACTION_SIZE) def forward(self,x): return F.softmax(self.fc1(x)) class Critic(nn.Module): ...
[ "ssmatian@uwaterloo.ca" ]
ssmatian@uwaterloo.ca
3a0144cdf1e259bc2e58048edd913628a97b9c95
82121d8c684d9e4dabb8723e61ce2aa7d5a002a6
/api/endpoints/auth.py
e3df050f7f8e6daa9e3e2d613ec3aa8215bf1afb
[]
no_license
vividhsv/flask-vue-bulma
87fc8959679f8224d8a46c11e4053839af027b3e
2d8b26c621ef4672f6198e7dcb5d85dad4931dda
refs/heads/master
2021-01-20T13:58:52.570813
2017-04-14T15:44:55
2017-04-14T15:44:55
82,719,867
0
0
null
null
null
null
UTF-8
Python
false
false
3,244
py
import gevent from flask import current_app from flask import jsonify from flask import render_template from flask import request from flask import url_for from flask_mail import Message from flask_jwt_extended import create_access_token from flask_classful import FlaskView, route from itsdangerous import SignatureExpi...
[ "vividhsv@gmail.com" ]
vividhsv@gmail.com
74e9ac39841f619350673f1edf1d781d48e38e67
17f0bbe28e7b46c768661ce55b6e32e9a9628f98
/utils/load_mat.py
79a83f8f39068194fc18aa3eff5b1cfd385cb7a7
[]
no_license
donikv/MultiIlluminant-Utils
d7f6e4a1c31ff118325f31c85cce01c50cbb5631
9bd929ac5bea1b39caaacb67f80f31c0111170a1
refs/heads/master
2021-03-15T11:05:30.778555
2020-06-15T17:53:38
2020-06-15T17:53:38
246,846,152
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from scipy.io import loadmat def get_gt_for_image(name, path = 'data/dataset_hdr/real_illum/real_illum', ext = 'mat'): file = loadmat(f'{path}/{name}.{ext}') rgb = file['real_illum'][0][0][0].mean(0) return rgb
[ "donikv@gmail.com" ]
donikv@gmail.com
a331e88396499a142a946e91d2e07901aea207c3
1c5df85c942ff1e2546c270e85d5c5335d0a77e6
/profile_api/models.py
899f4bac25342e10dd1f2fee82ad7482578b6793
[]
no_license
smhj022/profile-rest-api
76bbb73366ebcd2481b8f3e4a3c9018ceb701f4e
919c80d79bbe427b1bdad4e54ab4fc8586cd7906
refs/heads/master
2023-07-03T02:59:34.311629
2021-07-31T19:42:47
2021-07-31T19:42:47
390,445,090
0
0
null
null
null
null
UTF-8
Python
false
false
2,590
py
from django.conf import settings from django.contrib.auth.models import (AbstractBaseUser, BaseUserManager, PermissionsMixin) from django.db import models # Create your models here. class UserProfileManager(BaseUserManager): """Manager for user profile""" def create_u...
[ "smhj022@gmail.com" ]
smhj022@gmail.com
310fbda3e7edaa5707602795633ce2c70e3ef932
75cd5cb3ad898548b3be1863de233c2ad01334d2
/python/Drone_utils.py
42cee4cff8311d96cd44869e30d0f3e7d7763e01
[]
no_license
bacisback/tfm
25e6fa61c202b679e64c10f18062717539a4432d
626ef8065ea150de882442f523c9fbb0af5c8428
refs/heads/master
2023-07-17T06:22:03.869401
2021-09-03T11:18:12
2021-09-03T11:18:12
349,205,997
0
0
null
null
null
null
UTF-8
Python
false
false
2,989
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Mar 29 17:40:46 2021 @author: e321075 """ import numpy as np from PIL import Image from matplotlib import pyplot as plt import pandas as pd import cv2 import scipy.misc from skimage.transform import resize import os from collections import namedtuple i...
[ "you@example.com" ]
you@example.com
8cdcd5aa8323afd323edc780695d9486917da508
2f8fdeb0c356b0f4b7514edc5bd2398077713c90
/tests/test_sklearn_multi_output.py
f8e0025cb35660119342bfe68cc1194db37a52da
[ "Apache-2.0" ]
permissive
cbourjau/sklearn-onnx
e79d091a1d5ac1c5eb9f616ebd81c327d78f5c5f
befbc94340f062c73348a98ae553bd43fb71d276
refs/heads/master
2023-08-22T01:19:27.287821
2021-10-02T12:06:44
2021-10-02T12:06:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,280
py
# SPDX-License-Identifier: Apache-2.0 import unittest from logging import getLogger import numpy from numpy.testing import assert_almost_equal from onnxruntime import InferenceSession from sklearn.datasets import load_linnerud, make_multilabel_classification from sklearn.multioutput import MultiOutputRegressor, MultiO...
[ "noreply@github.com" ]
noreply@github.com
43d913c3b4fe499271cc04b90223e09f5ccc556d
d5811d60c451233cf11aaf36abafb44d3554561d
/src/sfla.py
c9c1cb5ee328226bd7d3ad72f2ae799f48219251
[]
no_license
tttocklll/knapsack
68eec257d193a872b1237bb2b35005de24fb8b43
f08dd046b68ff3a5c33cc3b074d257de4d2ac301
refs/heads/master
2023-03-03T18:56:59.358959
2021-02-17T05:34:59
2021-02-17T05:34:59
333,230,408
0
0
null
null
null
null
UTF-8
Python
false
false
6,174
py
from __future__ import annotations import numpy as np import copy import tqdm method = 3 class Frog: def __init__(self, dimension: int): self.dimension = dimension self.x = self.generate_x() self.fitness = 0 def generate_x(self): return np.random.randint(0, 2, self.dimension) ...
[ "tocky.dison@gmail.com" ]
tocky.dison@gmail.com
5df93b8c881a2a1c43d6c44da5ba0a33780ceb34
21b8f06cdef21bbb6e1b4f3f26b26344f559b865
/Backend/migrations/0001_initial.py
55a7dd76dbd63c0b42dff61228eed9d25a82249c
[]
no_license
reemahmedosman/ImageBackEnd
214509fc0b842375393f55aa1d91a32b7488c51b
fe9c2c7b1d5c388b969f34e23c8e4c844a4970ae
refs/heads/master
2020-03-15T00:25:43.869521
2018-05-02T19:03:10
2018-05-02T19:03:10
131,868,090
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
# Generated by Django 2.0.4 on 2018-04-29 15:01 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='ImageDetails', fields=[ ('id', models.AutoF...
[ "reem_wagih@yahoo.com" ]
reem_wagih@yahoo.com
279e9f7888438fbff53713aa3f4d6a044a834623
113ac7a688612e44c3e5d1dc398cdaa47f608ad9
/py/checkOrganizationsSshKeys.py
6d030a828b6a55a7d54af039b2fc249a254a1c26
[ "Apache-2.0" ]
permissive
quilicicf/Tooling
32502b1ef19cf133f3a02b95f9533e69399b4385
b5c11e8907994efe57d553bf19e141f96183ed6d
refs/heads/master
2023-07-10T08:05:05.854688
2023-06-26T06:52:50
2023-06-26T06:52:50
94,681,981
0
0
Apache-2.0
2023-06-26T06:52:52
2017-06-18T11:08:00
Shell
UTF-8
Python
false
false
2,356
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Checks wheter the given organization's members have sufficiently long SSH keys. # Github recommends a length of 4096 bytes although experts seem divided about 2048 keys being sufficient. # I've set the limit at 4096, it's up to you to change it via the # Example: python ...
[ "cquilici@restlet.com" ]
cquilici@restlet.com
52d152cd936a19bcfaff23e213b40de5abd66f4d
e4e4c60ffa509f257afc915d4c6cd32c0cb7098c
/.history/app_20200916151418.py
ce395406ad7ab0b64c3691b8145d6d189f1fbc90
[]
no_license
QianyueMa/Google-Health-Search-Project
01dbd597780158f50eebfba2a228b505f8169726
6ef6b270dc7ab0826ad4f0338c9cd95d3571e19a
refs/heads/master
2022-12-19T03:55:10.328167
2020-10-02T12:54:27
2020-10-02T12:54:27
296,495,736
0
0
null
2020-09-18T02:44:12
2020-09-18T02:44:11
null
UTF-8
Python
false
false
3,775
py
import numpy as np import os import requests import json import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine import pandas.io.sql as pdsql from config import pg_user, pg_password, db_name from flask import Flask, jsonify, render_templ...
[ "ermiasgelaye@gmail.com" ]
ermiasgelaye@gmail.com
a32b901fa5cc65a7c591b8309f437e613d4fd918
b403fbdc385e9ff01ca7ea830ea4592fd8b4e785
/Practice/models.py
8b0d797b4d43ff837b1af7b3276f701135ef1468
[]
no_license
ksing/APIs
170ffe58d32144c90d596ab8951e608e3569ed96
2e991e4f33bf7d6d2bca958103c599a5f4438279
refs/heads/master
2021-01-18T07:02:59.064372
2016-03-19T11:36:26
2016-03-19T11:36:26
51,510,223
0
0
null
2016-02-11T11:22:28
2016-02-11T11:22:28
null
UTF-8
Python
false
false
878
py
# -*- coding: utf-8 -*- from sqlalchemy import Column,Integer,String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship, sessionmaker from sqlalchemy import create_engine Base = declarative_base() class Restaurant(Base): __tablename__ = 'restaurant' id = Column...
[ "singhalkushagra@gmail.com" ]
singhalkushagra@gmail.com
24811acdf55674b42da0109b4ac218aea4cc6dd1
f5fc5bba72b72bd8bf4266106e3ed8b576a74cd0
/erp_project.py
40a39d9e2efdbed0591b453e8d34f5ce3050352d
[]
no_license
jatdem/erp_project
4d8777fe3142aa23f8ff46439f4258c1de3cf814
cc422e506e8f3bb168dccf3058e9474e720dd16d
refs/heads/master
2023-04-09T04:02:14.314222
2021-04-07T08:07:49
2021-04-07T08:07:49
329,341,242
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
import tkinter.ttk from tkinter import * root = Tk() root.title("formongde") root.geometry("1200x700") root.resizable(True, True) #노트북 생성 notebook = tkinter.ttk.Notebook(root, width = 1000, height = 1000) notebook.pack(fill = "both") #페이지1(원주문서) frame1 = tkinter.Frame(root) notebook.add(frame1, text = "page1") fram...
[ "yahoooh@naver.com" ]
yahoooh@naver.com
c2f66ca6d5d76b2c7657e6035b85941cfe6b9f61
db303c68682dfd18965a04026ff14e15c1ba6120
/ch04/ans35.py
b9577362e4fe622f0c34d0265e8758e7446b7b73
[]
no_license
Toshiyana/nlp100v2020
1a89f164de0c720da6d42c19b3fa60f8013d662c
37d4d208d5d527d163356793b630f36eb7595779
refs/heads/master
2023-07-15T15:01:28.454515
2021-08-21T13:20:03
2021-08-21T13:20:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
931
py
from collections import defaultdict def parse_mecab(block): res = [] for line in block.split('\n'): if line == '': return res (surface, attr) = line.split('\t') attr = attr.split(',') lineDict = { 'surface': surface, 'base': attr[6], ...
[ "upura0@gmail.com" ]
upura0@gmail.com
0deb5d5658c60f9a95c30297977be47460475bd9
f4c4546f21046ddfd109a0dd34005ac4872f123d
/oldboy/day2/基础数据类型4.py
c5fe2670b3666f8eb90c4ca3640d26fd759070c6
[]
no_license
wuzhisheng/Python
ebbeacc81881b65d6085b8f4bf10e15a25549ab0
84930c2eb5fb0397d546819effef0d879055e2c8
refs/heads/master
2022-01-17T14:57:08.926481
2021-12-31T09:52:01
2021-12-31T09:52:01
146,844,250
0
0
null
null
null
null
UTF-8
Python
false
false
3,770
py
'''''' ''' 字符串:str 存储少量数据类型 python中:凡是用单/双引号引起来的数据就是字符串。 str = 'wuzhisheng 吴志盛' str1 = "wuzhisheng 吴志盛" wu=''' ''' # """ """或''' ''' 保留格式 字符串可以用 + 或 * + 将字符串进行拼接 w = 'wu' z = 'zhi' # 加可以 print(w + z) print(w * 3) 切片: w="wwww" print(w[::2]) ''' #capitalize()首字母大写,其余小写 ** s1='oldBoy' s2=s1.capitalize() print ...
[ "806215829@qq.com" ]
806215829@qq.com
1960911a448fe409111dc47525bcc32d28409c96
0c952db0501a057ee2373e34117622b249d653fe
/selection.py
bcff3d1e9b3bb18589a27bc09dbf851948826128
[]
no_license
sushil518/dsa_in_python
0ee37f024a175bff2b91760f29a647a190b99e70
2b1ae0944f101c054b14902040732c6d36c4b3bc
refs/heads/main
2023-08-05T06:05:52.509559
2021-09-29T07:48:08
2021-09-29T07:48:08
411,578,963
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
def selection_sort(a): for i in range(len(a)-1): minIndex = i for j in range(i+1, len(a)): if a[j] < a[minIndex]: minIndex = j if i != minIndex: a[i], a[minIndex] = a[minIndex],a[i] ############################################### list1 = [6,3,1,5,9,...
[ "bhaleraosushil518@gmail.com" ]
bhaleraosushil518@gmail.com
71f256e0f16e925196b66cbfc1ebaad0930a58ff
7904b9c6a1ead1214c1c9de89bbe58087c2d2596
/venv/bin/ipython3
6cec8a0192fa4502d6ae277dc1b384084557567a
[]
no_license
tpaul016/ransomware-detection-classification
a843056e118e4cae0ad2f68bd0ee146193ee10e5
3d0afbfb7daaab27129435d7497f940069bff60d
refs/heads/master
2022-04-24T19:32:09.345475
2020-04-28T19:07:29
2020-04-28T19:07:29
236,087,869
3
0
null
null
null
null
UTF-8
Python
false
false
301
#!/Users/Trist/Documents/uOttawa/SEG3904/ransomware-detection-classification/venv/bin/python # -*- coding: utf-8 -*- import re import sys from IPython import start_ipython if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(start_ipython())
[ "tpaul016@uottawa.ca" ]
tpaul016@uottawa.ca
82fdc60327198e8c20ab394cc99f4a13921bbf62
834601307dbf8c15570a3ee0bf44cd38841636a1
/VisualPytorch/NeuralNetwork/translate/test_data/svhn.py
9ac90fd68593079ef4df934efec7262b8a1d72d4
[]
no_license
NAG2020/VisualPytorch
b876b024137b5efc6aad1f05f62d0a727d53ca0f
98a93c1ea7bfb8e7451a7e0b8a90330726fbb659
refs/heads/master
2022-10-23T18:14:34.911904
2020-05-06T08:46:30
2020-05-06T08:46:30
255,796,382
9
5
null
2020-06-03T05:09:51
2020-04-15T03:38:44
JavaScript
UTF-8
Python
false
false
12,292
py
data={ "canvas": [ { "type": "sequential", "name": "sequential_", "attribute": { "in": "canvas_31", "out": "canvas_44", "nets": { "canvas_31": { "type": "base", ...
[ "58384208+harrychen23235@users.noreply.github.com" ]
58384208+harrychen23235@users.noreply.github.com
ef6488330b1bdf42f860630a202fc64c4f784459
346e50fce74253f36ffd88ec8bfbf29f7a5c5796
/ch04/gradient_simplenet.py
ecf12e44dc93061af19892ffa0ae37a088bb20b9
[ "MIT" ]
permissive
care0717/deep-learning-from-scratch
67c47a909ed2fdd30e941678e90468ccde07fcd7
0d8eaae1636a47b6da27930ba857bfa3fa7d355c
refs/heads/master
2023-04-01T17:37:06.147749
2021-04-08T15:27:58
2021-04-08T15:27:58
350,610,078
0
0
MIT
2021-03-23T06:56:54
2021-03-23T06:56:54
null
UTF-8
Python
false
false
841
py
import numpy as np from common.activation_function import softmax from common.error_function import cross_entropy_error from common.differential_function import numerical_gradient class SimpleNet: def __init__(self): self.W = np.array([[0.47355232, 0.9977393, 0.84668094], [0.855...
[ "dev.care0717@gmail.com" ]
dev.care0717@gmail.com
6fc1429d66400253485d6e2c8aa343ee3ecc5205
b7562575e67b49bd4f4fb9b6af11710e908ed6fd
/src/utils.py
473e16ab53f5081747a63aaad78591c08245537e
[]
no_license
silencedsre/Click-Through-Rate
80929826c8e54224645442e8f2d0c13e6527c648
edac87eee2ddf5ac946d5310321dcc26435d1bf0
refs/heads/master
2022-07-18T04:02:12.945129
2020-03-02T12:05:36
2020-03-02T12:05:36
222,198,194
0
0
null
2022-06-22T01:18:25
2019-11-17T04:44:05
Jupyter Notebook
UTF-8
Python
false
false
3,307
py
import pandas as pd import math import random from pathlib import Path def create_sample(filename, sample_filename): if not Path(sample_filename).exists(): num_lines = sum(1 for l in open(filename)) sample = int(num_lines/10) skip = sorted(random.sample(range(1,num_lines+1), num_lines-sampl...
[ "jamakatel.shree.krishna@gmail.com" ]
jamakatel.shree.krishna@gmail.com
71b4904a308e77ad43f1976e2817ec36814cab43
4644eb637a27eb7a546ee0b0887a174f7d4c13d6
/old/test/das_memcache_t.py
f137479d19a8ab168f7662a474e36ae144de4a5c
[]
no_license
dmwm/DAS
4c33ce63156bbe7f87703532e04321320fd6d66d
a2dddea2c2cb18287d607a3f8da0c6364f9f70d7
refs/heads/master
2021-08-08T17:40:27.066179
2021-05-27T18:47:21
2021-05-27T18:47:21
4,300,629
7
5
null
2021-05-27T18:47:22
2012-05-11T19:07:55
Python
UTF-8
Python
false
false
3,977
py
#!/usr/bin/env python #pylint: disable-msg=C0301,C0103 """ Unit test for DAS cache module """ import unittest import time from DAS.utils.utils import genkey from DAS.utils.das_config import das_readconfig from DAS.utils.logger import DASLogger from DAS.core.das_memcache import DASMemcache try: # with python 2.5 ...
[ "metson@4525493e-7705-40b1-a816-d608a930855b" ]
metson@4525493e-7705-40b1-a816-d608a930855b
9a50971527644b599bc90295fcb4678c1ab58df3
d46b1dd77246a86b1d197042783d6d239029fa58
/python-project-starter/app/forms/GoalForm.py
d2997ebd7e4fab14266a162072536a7f19b937bc
[]
no_license
bparsons17/Ataraxia
3047a4a2991633e5f1ce88bd41f77c0590385e76
1c7c7de27dfc28c412060379416eb1f419142952
refs/heads/main
2023-06-13T21:52:14.135175
2021-07-07T21:08:50
2021-07-07T21:08:50
343,587,304
1
0
null
2021-05-12T17:43:19
2021-03-01T23:34:06
Python
UTF-8
Python
false
false
469
py
from flask_wtf import FlaskForm from wtforms import StringField, DateField, TextAreaField, SubmitField from wtforms.fields.core import IntegerField from wtforms.validators import DataRequired dr = [DataRequired()] class GoalForm(FlaskForm): title = StringField('title', dr) description = TextAreaField('descrip...
[ "bparsons17@liberty.edu" ]
bparsons17@liberty.edu
ccb1c1b62024f5043826822e7372e87f34db5db0
0917d51c33d943c8c9ebcd60a550897feacd088d
/combinator/deps.py
8be188fe7a17e018794ef6e3bb5318ce5720547a
[ "MIT" ]
permissive
habnabit/Combinator
9a4378e21a7982421b05c4d6a640a56e39b6f4b8
56614578028a0adb4fa1ce5608e05ecbf2833449
refs/heads/master
2023-08-08T04:35:14.115656
2013-07-04T00:45:38
2013-07-04T00:45:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
344
py
from combinator.branchmgr import theBranchManager dependencies = [ 'Twisted', 'trunk', 'svn+ssh://svn.twistedmatrix.com/svn/Twisted/trunk', 'Nevow', 'trunk', 'svn+ssh://divmod.org/svn/Nevow/trunk', ] def getAll(anonymously=True): for dep, bch, uri in dependencies: theBranchManager.changeProje...
[ "" ]
adc4f459879b269dde92c908191c795b18bea6ed
56b7e5ed6941fc4b83148e00bd51421dc3ac993a
/34. Search for a Range.py
d43315aac3a2b836dc2f1ceb6cfe250eb12e94f4
[]
no_license
samir-0711/Leetcode-Python
f960e15015a3f2fd88f723d7f9237945a7133553
d75876ae96bcd85c67bbfbf91bbc0f0bc773e97c
refs/heads/master
2022-12-18T05:27:48.224001
2020-09-30T21:03:42
2020-09-30T21:03:42
300,061,318
0
0
null
2020-09-30T20:59:42
2020-09-30T20:59:42
null
UTF-8
Python
false
false
2,002
py
""" Given an array of integers sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the order of O(log n). If the target is not found in the array, return [-1, -1]. For example, Given [5, 7, 7, 8, 8, 10] and target value 8, return [3...
[ "bruce.tw.weng@foxconn.com" ]
bruce.tw.weng@foxconn.com
48f51dd77a2e048b33fe320e5f910b43111e6e54
b3f27ce0d80e589349a479a701308193ecb1dfe1
/qiita_pet/handlers/portal.py
69056bcd268a2b92b154d063dcff4f7f4aac2363
[ "BSD-3-Clause" ]
permissive
DarcyMyers/qiita
a63058a02311bec544aac158859e7d470b0d300d
261648ce59437cbb54ef969b5502cec979a9e531
refs/heads/master
2020-12-27T01:45:24.435408
2015-07-09T20:51:57
2015-07-09T20:51:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,267
py
# ----------------------------------------------------------------------------- # Copyright (c) 2014--, The Qiita Development Team. # # Distributed under the terms of the BSD 3-clause License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
[ "squirrelo@gmail.com" ]
squirrelo@gmail.com
b9f588862a07c467235cc17ce406dc4ab40b183c
b02a95fbf7b5b6ff0ca9115838d4bb91b515b9c4
/main.py
a5470aeff4c02492980e9ba17b247053301baedb
[]
no_license
CodecoolGlobal/Codecool.io
e5c050bcd2a6568daa27b7e0c66dd77326a0d3b4
de62d781472db4e2b913a2da0c4214998ff743ea
refs/heads/master
2023-03-04T00:11:49.732545
2020-08-03T10:15:15
2020-08-03T10:15:15
284,660,568
0
0
null
null
null
null
UTF-8
Python
false
false
304
py
from flask import Flask, render_template, url_for app = Flask(__name__) @app.route('/') def index(): return render_template('index.html') @app.route('/design') def design(): return render_template('design.html') def main(): app.run(debug=True) if __name__ == '__main__': main()
[ "sandyrnelson@berkeley.edu" ]
sandyrnelson@berkeley.edu