blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
532643ec7785b8e9f57df629a1c947434c7fcbcd
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-2705.py
da1acce1fdca02af865dc610333ef8e807a4d3b9
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
2f147c1641f843f833516ed9c68321409fb72dac
84c4474a88a59da1e72d86b33b5326003f578271
/saleor/graphql/checkout/mutations/checkout_language_code_update.py
2da8f5d51c6bdb4c3a5fd72b4babc3f0f2d1e657
[ "BSD-3-Clause" ]
permissive
vineetb/saleor
052bd416d067699db774f06453d942cb36c5a4b7
b0d5ec1a55f2ceeba6f62cf15f53faea0adf93f9
refs/heads/main
2023-07-20T02:01:28.338748
2023-07-17T06:05:36
2023-07-17T06:05:36
309,911,573
0
0
NOASSERTION
2020-11-04T06:32:55
2020-11-04T06:32:55
null
UTF-8
Python
false
false
2,360
py
import graphene from saleor.webhook.event_types import WebhookEventAsyncType from ...core import ResolveInfo from ...core.descriptions import ADDED_IN_34, DEPRECATED_IN_3X_INPUT from ...core.doc_category import DOC_CATEGORY_CHECKOUT from ...core.enums import LanguageCodeEnum from ...core.mutations import BaseMutation...
[ "noreply@github.com" ]
vineetb.noreply@github.com
a99ce7753905122bebfe5cb66c00c6ed7573a622
b5b0a24c9006b65b33b82c954705ada878f846f9
/main.py
9fcf9f4b74636543668bd2dc1bae6fb982b0a0ee
[]
no_license
himanshuc3/FSND-item_catalog
068c831a110b9ceb64388c6550b5e29ed02a22c6
71bc80ef6b902c08693422b5d58f9fbfbdf02676
refs/heads/master
2021-07-15T16:22:29.154023
2018-11-11T17:24:05
2018-11-11T17:24:05
149,265,241
0
0
null
2020-05-20T16:38:50
2018-09-18T09:48:20
Python
UTF-8
Python
false
false
15,022
py
from flask import Flask, render_template, \ request, url_for, flash, redirect, Blueprint, \ session as login_session, make_response, jsonify # For applying bootstrap integration into flask jinja templates from flask_bootstrap import Bootstrap # For login management from flask_login import LoginManager, login_r...
[ "himichhabra14@gmail.com" ]
himichhabra14@gmail.com
6f3ba5a679a0d4a845b7bd6df1fb487818530f60
01245f879c22722773c9671f7d67fb29509570a8
/stackLinked.py
d0fe86934d1e9a2c82dc5bb6b697044447130b6b
[]
no_license
vishnu1729/Data-Structures-and-Algorithms
9a64b746c305e5467e82277806539fd14c06b26c
884bdb80b7da0aba16e7b976b4255c31e2baec74
refs/heads/master
2021-01-17T20:25:23.928216
2016-08-12T17:23:22
2016-08-12T17:23:22
65,432,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,653
py
"""definition of linked list implementation of s stack ADT the different memeber functions are described beside in the comments the class LinkedStack uses a private nested class Node that holds the units of the LinkedList""" """Author: Vishnu Muralidharan""" class LinkedStack: #non-public nested class Node cl...
[ "noreply@github.com" ]
vishnu1729.noreply@github.com
e3968b5a6ee4acfc5472f3331048077d2290fe32
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_203/78.py
29bc91b6b0a4fa993c5a99a015c4bc7188f4154e
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,130
py
#!/usr/bin/env python2 import itertools def solve_row(prev_row, row): prev_row = list(prev_row) prev_chars = set(prev_row) #print prev_row, row for i, row_i in enumerate(row): if row_i == '?': continue min_i = i max_i = i while max_i + 1 < len(prev_row) and pr...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
ec3819ed601e8ab6a68677955f102bd18ca71960
9952b458bc4c0335d46f2eff3e07b02b4cfb16d2
/bdo_gestor_guilda/core/forms/guerras.py
8eda11a7fa0a88de02a198d7a77008aab671172e
[]
no_license
diegoMasin/game-guild
01652d5e1266f5dd80a39a614f255a502b67fa89
7f72b57cce575d987ba70f557f6b472f093fb4fb
refs/heads/master
2023-05-30T21:06:53.424421
2021-04-22T19:49:00
2021-04-22T19:49:00
182,143,786
0
0
null
2021-06-10T23:47:11
2019-04-18T19:12:18
JavaScript
UTF-8
Python
false
false
1,634
py
from django import forms from bdo_gestor_guilda.core.models.guerras import Guerras from bdo_gestor_guilda.usuario.models.user_avancado import UserAvancado class GuerrasForm(forms.ModelForm): call = forms.ModelChoiceField( label='Call de ...', queryset=UserAvancado.objects.filter(ativo=True), ...
[ "diego.masin@defensoria.ce.def.br" ]
diego.masin@defensoria.ce.def.br
2b66dd52a998aea178cb94410fc4a807ae8c5154
fa16ff5977e219da184e387ee649799ac5f1a300
/imperativeVSoop/OOP/main.py
7cee5c666d6cb9e62230d6c2bedfcdb4adf63135
[]
no_license
erika-r/phonebook_comparison
472282f54f24d803fb3e793b5eb8f8e5a7890761
53b6f0d5ad5b3bfd0e03a7e59e131e518c76d229
refs/heads/main
2023-06-17T03:56:23.750867
2021-07-13T18:08:59
2021-07-13T18:08:59
309,206,107
0
0
null
null
null
null
UTF-8
Python
false
false
1,282
py
#!/usr/bin/python #FINAL from binaryTree import * from phonebook import * def main(): contacts = Phonebook() #adding contacts contacts.add("John","03495803","DCU") contacts.add("Erika","08123456","13 Fernwood Way") contacts.add("Tofu","08123457","15 Fernwood Way") contacts.add("Daisy","08123...
[ "noreply@github.com" ]
erika-r.noreply@github.com
c97d16689906d212fe9082dcf81bc9105d3beed9
0e4c4f47b99b9cc09eee6142cd77638682964f3a
/events/migrations/0001_initial.py
1a5e00f3f0754db71fee4888a4ecc620de692a93
[]
no_license
rytwalker/hb-catering-api
85820131204fee9f28691552f15eb5c7b6aa1ad4
c7ecf4498d044147d9f77c159305a92207cd98f5
refs/heads/master
2020-05-18T09:52:44.030836
2019-04-30T22:15:49
2019-04-30T22:15:49
184,338,805
0
0
null
null
null
null
UTF-8
Python
false
false
1,741
py
# Generated by Django 2.2 on 2019-04-30 21:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ...
[ "rytwalker@gmail.com" ]
rytwalker@gmail.com
e506e4c948c54bc319a2fe6bfce55d10abfeda16
cdca1b25a83959ace8791a80d06dfe268123ed5d
/venv/bin/python-config
7a0202f61aa5b6f97361379294fa653a329f06a7
[]
no_license
dakshsriv/Chess-Analyzer-1000
151f8f6a9d8917144e803684d6aa24f41ccda296
b3200595ed68f02b8abd880b9c226ca2592c263b
refs/heads/master
2023-07-31T01:33:29.278651
2021-10-03T23:00:45
2021-10-03T23:00:45
387,560,331
0
0
null
null
null
null
UTF-8
Python
false
false
2,363
#!/home/daksh/Projects/Chess-Analyzer-1000/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags') if ...
[ "daksh.srivastava.10@gmail.com" ]
daksh.srivastava.10@gmail.com
4940253fa76b9870f50b2a11d79c434ea74cbeb5
f2a5e91ee00059e450d86ce891f34ac891277d26
/tests/checker.py
34f88fbc9323a7972f67c3d276cab86a52b7a273
[ "MIT" ]
permissive
SwapnilKotkar/pytenable_refactored
e1a371513c1e2dccb047741f3305d783402c4b5b
d4030389c8a4c2dc937bc5c6aff9d98281a825ef
refs/heads/main
2023-08-14T00:53:41.894880
2021-09-10T08:05:19
2021-09-10T08:05:19
403,574,516
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
import six from dateutil.parser import parse as dateparse import datetime, sys, re def check(i, name, val_type, allow_none=False): assert name in i if not allow_none: assert i[name] != None single(i[name], val_type) def single(var, val_type): reuuid = r'^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F...
[ "swapnilkotkar793@gmail.com" ]
swapnilkotkar793@gmail.com
84280fd0666262bd335a91b289f02eb112bd1b2e
01dad4d1d2ffaf2fa070e99fe828d42f59a9f9d1
/src/pycrop2ml_ui/menus/creation/externalpackage.py
f807d1b04ea080d66b5fe6406cd6137f97e13e1d
[ "MIT" ]
permissive
AgriculturalModelExchangeInitiative/Pycrop2ml_ui
5e210facf9689348bb57c16060967118b7c5f49a
3d5d2b87a74f0be306056b71808286922fef2945
refs/heads/master
2023-06-24T13:52:39.933728
2023-06-17T00:17:26
2023-06-17T00:17:26
193,912,881
0
4
MIT
2023-02-25T13:26:57
2019-06-26T13:44:34
Jupyter Notebook
UTF-8
Python
false
false
3,958
py
import os import ipywidgets as wg from pycrop2ml_ui.browser.TkinterPath import getPath from pycrop2ml_ui.menus.creation.createcomposition import createComposition from pycrop2ml_ui.menus.creation import createmenu from IPython.display import display class externalPackageMenu(): """ Class providing the exter...
[ "romaric.justes@orange.fr" ]
romaric.justes@orange.fr
b460173067fee5643332d9bdb6cca562422f0628
d007f8d6c318c3d66e76d99715edf324c9fe0294
/recipe_modules/ninja/__init__.py
e0c77a7a641618bf0e7ebb4ca42b2cc775baf20b
[ "BSD-3-Clause" ]
permissive
nirvus/infra-recipes
c0f9e5facca7ad1907d639eb8819a59dc8f3584e
a5dc52f47405dcce56fb43a3e8ac80a2fbd56717
refs/heads/master
2020-04-07T23:15:01.809232
2018-11-06T02:30:12
2018-11-06T17:37:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
36
py
DEPS = [ 'recipe_engine/step', ]
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
8f9139a190d429e54bae0fddd3b33a486abcfe40
80301f1cffc5afce13256e2ecab6323c5df00194
/cn.sc/py/T2210.py
a756c221d750cd1c54907be6878f0a7c1118b1b4
[]
no_license
ZhenjianYang/SoraVoiceScripts
c1ddf7c1bbcb933243754f9669bd6b75777c87b9
94a948090aba0f63b10b2c69dc845dc99c822fc4
refs/heads/master
2023-04-18T04:54:44.306652
2023-04-06T11:15:17
2023-04-06T11:15:17
103,167,541
43
11
null
2021-03-06T08:52:54
2017-09-11T17:36:55
Python
UTF-8
Python
false
false
75,412
py
from ED6SCScenarioHelper import * def main(): SetCodePage("gbk") # 卢安 CreateScenaFile( FileName = 'T2210 ._SN', MapName = 'Ruan', Location = 'T2210.x', MapIndex = 1, MapDefaultBGM = "ed60012", Flags ...
[ "zhenjian.c.yang@gmail.com" ]
zhenjian.c.yang@gmail.com
c638b2c52850b9a3d8881b615ddec38e4799910a
d4015bdfa9ab411d04bb8366262f73678f9cb31a
/bin/django-admin
13b7fb980727f38607fb40b37019794c4b4ecfa0
[]
no_license
Stainislav/isb
28fe40940c4715555bba1b37fb9f5b81f61d2d99
7749497f26ae44f45f8eb461f4ed0b928cdd4134
refs/heads/master
2020-06-13T05:56:03.379388
2019-06-30T20:58:59
2019-06-30T20:58:59
194,561,006
0
0
null
null
null
null
UTF-8
Python
false
false
300
#!/home/stanislav/MegaFon/CloudDev/Books/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "swatogor@mail.ru" ]
swatogor@mail.ru
05d0319ccd4828d064b1c1dec90c8c72497eabf3
e87bb24f697085e8aa18f7a2245effb45b40ff3a
/basicExeptionHandling/trySt.py~
93e3227ec4591e96d3e044e75be5c192038fbb44
[]
no_license
Julian-Carlosama/PersonalExersises
e74cb45e913a2490855f07e54d6499dead109d7d
888a750ed467d187e25bb970db6ec21aa8c0964b
refs/heads/main
2023-07-16T02:52:45.942662
2021-09-06T14:54:03
2021-09-06T14:54:03
402,678,637
0
0
null
null
null
null
UTF-8
Python
false
false
225
#!/usr/bin/env python3 #Handle exeptions while True: try: x = int(raw_input("Por favor ingrese un número: ")) break except ValueError: print ("Oops! No era válido. Intente nuevamente...")
[ "cromocelcarlosama@gmail.com" ]
cromocelcarlosama@gmail.com
38376f59bb4dc3c9026277d80f6a376078358f21
b75048b53dd10f20ad4bd7fca61c4844f2545c66
/test.py
3225df14315773aa3d57405c80e350ef1fa9e273
[]
no_license
kali20gakki/YOLOV3
16615998587d13670efcc5e8c8d3f79796f41986
7c8815194fc614e1cba8b3c160422c2dbf33cdb8
refs/heads/master
2021-03-17T20:34:09.615901
2021-03-08T07:41:38
2021-03-08T07:41:38
247,015,776
2
1
null
2021-03-08T07:41:38
2020-03-13T07:50:45
Python
UTF-8
Python
false
false
159
py
import matplotlib.pyplot as plt import numpy as np from time import strftime, localtime anchor_mask= [[6, 7, 8], [3, 4, 5], [0, 1, 2]] print(anchor_mask[0])
[ "zhangwei3.0@qq.com" ]
zhangwei3.0@qq.com
eae9c6e885efc10991a0442e56f10ef883ce3903
36c2713bec30903e11b636ef2d9d68b61ea3ab0a
/Homework1/PartB/main.py
8f53430e79a4c50efb3661b64dd8b3abfade2fcd
[]
no_license
nateehuang/AlgorTradingGithub
1186cd27840ca1dbed8ab59a0d40c71d481b32dc
4aabbb41b2e9ce18172e010527c59d53ffb95984
refs/heads/master
2023-01-08T06:25:30.125978
2020-11-06T21:13:14
2020-11-06T21:13:14
310,706,999
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
''' Created on Feb 25, 2020 @author: Nate, Zibin, Martin ''' from PartB.StockStatPlot import oneStockTradeStat, oneStockQuoteStat if __name__ == '__main__': plot = False # Change to True if want to plot if plot == True: oneStockTradeStat('AYE', False) # False: before clean oneStockT...
[ "huangnatee@gmail.com" ]
huangnatee@gmail.com
540332d79a4582991e14c4c8f295cd883341c233
78a720310e3dd64b15faa75442a9cc7ca46f3ddc
/sns_app/flaskr/forms.py
38ca5ff9139c05c69f4e64b08261f8e91edcbc00
[]
no_license
HiroakiMorita/sns_flask_app
93c6d61c786421c9de0024a8ec924b32c66d5e8a
e4040c5a70a930ec6bf6df98357e27f7b5bba0e9
refs/heads/master
2022-12-12T07:09:50.053016
2020-09-03T07:01:15
2020-09-03T07:01:15
285,998,246
0
0
null
2020-09-03T07:01:16
2020-08-08T07:46:38
Python
UTF-8
Python
false
false
4,085
py
from flask_wtf import FlaskForm from wtforms.fields import ( StringField, FileField, PasswordField, SubmitField, HiddenField, TextAreaField ) from wtforms.validators import DataRequired, Email, EqualTo from wtforms import ValidationError from flask_login import current_user from flask import flash from flaskr....
[ "taiyou3291@outlook.jp" ]
taiyou3291@outlook.jp
ad18b7efb9bf4fe2a6a973acc2c84fbcc41117e3
d7546f7f7730c17dd8ce3f9eb5e03e91c0b2d44c
/Python3/283. Move Zeroes.py
30bc0045f6cff0cd2ba091d8f1cbf817578135d6
[]
no_license
zhangyudong0215/FightAgainstLeetCode
05edf84a378bc0c696aabe1bf4cfb0938c81f5e6
fe702bb2b3ebd35bb9ec233bf3acc1291127bf04
refs/heads/master
2021-04-30T11:24:46.813783
2018-05-28T15:15:09
2018-05-28T15:15:09
121,253,253
3
0
null
2018-02-18T08:38:00
2018-02-12T14:00:08
Go
UTF-8
Python
false
false
663
py
class Solution: def moveZeroes(self, nums): """ :type nums: List[int] :rtype: void Do not return anything, modify nums in-place instead. """ # count = nums.count(0) # 56ms # index = 0 # for num in nums: # if num: # nums[index] = num...
[ "petenlf1025@gmail.com" ]
petenlf1025@gmail.com
b80f3341e01c927cd8220c8b5e567848a7c8a259
229f4ec6272c5a730da44923a94f211fba04d38f
/cltk/prosody/latin/HendecasyllableScanner.py
15a3a006967237e83df65eef182e34fe46ab2867
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Sedictious/cltk
d8fd364f66eb5fdbc85057b490ddd842b15e96a4
681170d58de61d50bec6cca9ca5753844506c3f6
refs/heads/master
2021-04-30T02:10:41.988706
2018-12-10T17:14:17
2018-12-10T17:14:17
121,495,814
1
0
MIT
2018-12-10T17:01:16
2018-02-14T10:05:17
Python
UTF-8
Python
false
false
9,228
py
"""Utility class for producing a scansion pattern for a Latin hendecasyllables. Given a line of hendecasyllables, the scan method performs a series of transformation and checks are performed and for each one performed successfully, a note is added to the scansion_notes list so that end users may view the provenance of...
[ "kyle@kyle-p-johnson.com" ]
kyle@kyle-p-johnson.com
acd92fa6257280f3779d78caf9b3b72b1ac3e54f
b94f9692393f2a1f24e36ea49f1b61995dc93214
/Study/test_func.py
5941bc023a16becdd8501b3eed1473f3400baed8
[]
no_license
annomad/ZB_tools
d1d1932be853dc330a7ca38dd369d7570093f3c4
f64428f7d8348f3f625c8541b4061a5b30e7e5ad
refs/heads/master
2023-05-07T07:16:15.491417
2021-05-26T03:32:57
2021-05-26T03:32:57
349,976,923
0
0
null
null
null
null
UTF-8
Python
false
false
146
py
class TestFunc(): def __init__(self, a=0, b=0): self.a = a self.b = b def Add(self): return (self.a + self.b)
[ "25004472@qq.com" ]
25004472@qq.com
426c5e0d5a83f6df17a3d005e7214aa7f8ce9038
189d79c0e0fcdce192a6034306416fd492202501
/LeetCode/Python/306 Additive Number.py
c7806ee6c106e36c199ee794f0ded80b76622235
[]
no_license
digant0705/Algorithm
294fbc84eaa4b6e0ea864924b71c4773c2e1c0c6
01f04bcc5e8f55014973d4eef069245f3f663eb9
refs/heads/master
2021-07-25T16:44:34.366974
2021-06-05T23:37:17
2021-06-05T23:37:17
251,144,249
0
0
null
2020-03-29T22:05:29
2020-03-29T22:05:28
null
UTF-8
Python
false
false
1,981
py
# -*- coding: utf-8 -*- ''' Additive Number =============== Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. Except for the first two numbers, each subsequent number in the sequence must be the sum of the preceding two. For example...
[ "shiyanhui66@gmail.com" ]
shiyanhui66@gmail.com
be938368f2fbe8f503a6259a20e3e9714ac29b5c
5af4b89949a703bcc53bdc25a19a5ff079817cce
/papermerge/core/models/folder.py
00f6881892ed5ee47048c385c945b3f38b07f4ff
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
0xpointer42/papermerge
4b176a865ffa3044605844406fecd3ac5f3c5657
9bea16e96d460d00229e813f7063e45bfd07b4e2
refs/heads/master
2022-09-09T09:18:56.596921
2020-06-02T15:45:11
2020-06-02T15:45:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
658
py
from django.utils.translation import ugettext_lazy as _ from papermerge.core import mixins from papermerge.core.models.kvstore import KVNode from papermerge.core.models.node import BaseTreeNode from papermerge.search import index class Folder(mixins.ExtractIds, BaseTreeNode): search_fields = [ index.Sear...
[ "eugen@django-lessons.com" ]
eugen@django-lessons.com
85a6d295adf2b06ebfa2ea5e0abcc2746a7fbf07
6544fa558a6c08e4c67de393ed0d0ab554533839
/DjangoProjects/DjangoProjects11RentAccount/rento/enquiry/views.py
55dd0ff91d83125c2c00f2759da4de7eb06e3656
[]
no_license
tennnmani/bitproject7-DjangoPython-
498878276ca0c847d0cf2ca73c1091074720d6e5
fe13b4822c4cc5686a478dbfee915c108b6f9278
refs/heads/main
2023-02-21T16:56:10.842672
2021-02-25T04:13:52
2021-02-25T04:13:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
from django.shortcuts import render, redirect from .models import Enquiry from rooms.models import Room from user.models import User from enquiry.forms import EnquiryForm from django.contrib.auth.decorators import login_required from django.shortcuts import render, HttpResponse from user.decorators import unauthenticat...
[ "diwakartop10now@gmail.com" ]
diwakartop10now@gmail.com
1e0067c9c51a9acc16bb60a8b1ab9eaf983a11fb
da39b485bf020c88519d367219d3aaf119539409
/0x01-python-if_else_loops_functions/102-magic_calculation.py
ed6e72f487a69b3e7e125a4be234932900943fd2
[]
no_license
JulianArbini97/holbertonschool-higher_level_programming
e67356dc04a5af22c4dadec6daeb043d3864c913
68865e995e69443b4ee43f5174b21052e755f97b
refs/heads/main
2023-04-19T22:36:25.226180
2021-05-04T20:13:06
2021-05-04T20:13:06
319,322,369
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
#!/usr/bin/python3 def magic_calculation(a, b, c): if (a < b): return c elif (c > b): return (a + b) return ((a * b) - c)
[ "1890@holbertonschool.com" ]
1890@holbertonschool.com
478f8c7ada5ddf9f251c892adde96e027b636b33
d5ed141e513dcb6fc8ab851835ec9a4630e3651b
/anaconda/anaconda/pkgs/anaconda-navigator-1.4.3-py27_0/lib/python2.7/site-packages/anaconda_navigator/widgets/dialogs/license.py
89276b1e51fc11996f430c0cb1cfb33639b87002
[]
no_license
starrysky1211/starrysky
713998b366449a5ae4371e38723c56ea40532593
abb642548fb9b431551133657f1a67858041a7e6
refs/heads/master
2022-11-09T21:51:22.558151
2017-02-25T14:42:37
2017-02-25T14:42:37
67,608,074
0
1
null
2022-10-16T05:17:25
2016-09-07T13:16:45
Python
UTF-8
Python
false
false
13,033
py
# -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # Copyright 2016 Continuum Analytics, Inc. # # May be copied and distributed freely only as part of an Anaconda or # Miniconda installation. # -------------------------------------------------------------------------...
[ "starry_sky_@outlook.com" ]
starry_sky_@outlook.com
6356fa85d64646c23a6d3e5a624cc94cc5e9fa29
0348515f8ed14df0e005073ad911360f78eff574
/backend/controllers/relations/learns.py
4604e9720eea23fbdb8dd6176ba9cdb03a8759f2
[]
no_license
Graduation-Team-2021/LMS-Graduation-Project
e54e3fa3a6ae0b92ddc2d687fdf34c52dbdca844
02a6402bf8dfdd72a19107f007779672b62009dc
refs/heads/main
2023-06-22T14:00:44.361803
2021-07-26T06:06:12
2021-07-26T06:06:12
309,816,360
1
2
null
2021-07-24T17:14:36
2020-11-03T21:54:40
JavaScript
UTF-8
Python
false
false
6,306
py
from controllers.course.deliverables import deliverable_controller from models.relations.learns import Learns_Relation from models.course.courses import Course from models.user.students import Student from methods.errors import * from flask import jsonify from models.user.users import User deliv_object = deliverable_c...
[ "davidmesak@hotmail.com" ]
davidmesak@hotmail.com
29d64bfeff13d2d620664beeb544713fc033e990
614d5ec96dcd9c6bb7a4384ea5420a7757c43d34
/examples/checkable.py
3bb79a1ddb3669a679ec3b68eab1e3c9bd9625ce
[ "MIT" ]
permissive
githeshuai/dayu_widgets_tag
52ae4816addd58505b6bbd0e4cd12f931df89e95
f843e8f100b698af74353ec7595c26213574bc15
refs/heads/master
2023-04-05T10:04:03.726767
2021-04-01T16:02:42
2021-04-01T16:02:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,032
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################### # Author: Mu yanru # Date : 2019.8 # Email : muyanru345@163.com ################################################################### from dayu_widgets_tag import MCheckableTag from dayu_widgets.qt import Q...
[ "muyanru345@163.com" ]
muyanru345@163.com
f34dcd6dad26fc4831dfaf360693efd91e8f2dd5
6b6021013c7bb08fbb293e414b19d102bae8a1a8
/main.py
6ef986d1b03c79ff4092f7c1cbc4431f2401e31e
[]
no_license
Ray9090/Invisible-Cloak
0f7799571ccd989fa65c69690e72cd374871d237
e0e4c6bcdf3e275d40ec9718d9a51a1585024953
refs/heads/main
2023-06-16T16:36:01.854224
2021-07-18T17:02:28
2021-07-18T17:02:28
387,226,149
0
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
#Importing libraries import numpy as np import cv2 import time # Recording and caching the background for each frame. cap = cv2.VideoCapture(0) # Read from the web cam time.sleep(3) # for the system to sleep for 3 second before the webcam starts for i in range(30): retval, back = cap.read() back ...
[ "noreply@github.com" ]
Ray9090.noreply@github.com
fc47576fb7e929ac7a3d75b13445277f353da61c
e5ad4dee7ed547435355c235dc05180ab9507405
/Python/1512-number-of-good-pairs.py
103c6030eb331ba9798584f36f95dc2305d69d4c
[]
no_license
ulises-c/LeetCodeSolutions
a70c2178c9ef626593e343b6b31a6951c7a73ec9
effab97aaa78b7c4d62071f0945eac777acf3f1d
refs/heads/main
2023-05-19T11:56:19.803749
2021-05-26T23:12:24
2021-05-26T23:12:24
358,153,720
0
0
null
null
null
null
UTF-8
Python
false
false
336
py
# https://leetcode.com/problems/number-of-good-pairs/ class Solution: def numIdenticalPairs(self, nums: List[int]) -> int: good_pairs = 0 for i in range(len(nums)): for j in range(len(nums)): if(nums[i] == nums[j] and i < j): good_pairs += 1 r...
[ "ez1ollie@yahoo.com" ]
ez1ollie@yahoo.com
d946aabf1c1931c6d83f1723fac5e4b9fe703fcc
20b9a508844f79eb4670fe33f87db2897f5bae7f
/PythonClient/cv_mode.py
f71455c4fdf2d638a601f379ab38dd4ba96daa46
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jelaredulla/thesis
2f5714c013552c1775ad3b36274c0929fb0bc18c
dc348652cc0bd0a35e5d7506144d641510c2483b
refs/heads/master
2021-05-15T04:12:38.795907
2017-11-21T01:33:47
2017-11-21T01:33:47
105,950,956
0
0
null
null
null
null
UTF-8
Python
false
false
1,474
py
# In settings.json first activate computer vision mode: # https://github.com/Microsoft/AirSim/blob/master/docs/image_apis.md#computer-vision-mode from AirSimClient import * import pprint pp = pprint.PrettyPrinter(indent=4) client = CarClient() client.confirmConnection() for x in range(3): # do few times z = x ...
[ "s4284683@eait.uq.edu.au" ]
s4284683@eait.uq.edu.au
9ec8dfb6896bd3defa4e777b809942f49b4b449d
3f597d5c1363f1f6f77764bcdb864167c3e51795
/qwapp/defaults.py
ac08eacd7647f3441469ca0c64e9eeeb3df07f45
[]
no_license
mbr/qwapp
558c58b47398abcaca41b1814c7b5e8363b8eaf0
44fa2ecefcb61d2fb5c2280d30af2b1140f3f03b
refs/heads/master
2023-06-06T20:48:59.776375
2013-06-06T01:46:49
2013-06-06T01:46:49
1,467,990
1
0
null
null
null
null
UTF-8
Python
false
false
637
py
WIKI_NAME = 'qwapp Wiki' REPOSITORY_PATH = './wiki' DEBUG = True SECRET_KEY = 'development key' # use password.py to generate PASSWORD_HASH = '06ab2f79d3fb9d86c75f0bb981c95f5d68497b311bdb1ed32918717547b4a6c31017a7a04908c6d39a93c8f748e312d5bfd255cbfbf15530cf374c1861dc73a7' # "devpass" CACHE_TYPE = 'simple' # set this ...
[ "git@marcbrinkmann.de" ]
git@marcbrinkmann.de
8aa3a5eaa85358372544b8993ca3d799b9320850
57f6566f646bac9932ad290158dee8ddd5ae845a
/146A.py
f2d8e898ede60843755f44db403c51fa65154b3b
[]
no_license
Praveen230102/Codeforces-Solution-in-Python-and-C-
cf6cf921d6fd0095b833c0b6cb7b5303df3bbf0d
6210f775ab3d7d03adb7cea631223b02f7566871
refs/heads/master
2022-07-29T19:24:30.348682
2020-05-25T03:04:03
2020-05-25T03:04:03
266,518,881
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# bsdk idhar kya dekhne ko aaya hai, khud kr!!! # from math import * # from itertools import * # import random n = int(input()) s = list(input()) if "0" in s or "1" in s or "2" in s or "3" in s or "5" in s or "6" in s or "8" in s or "9" in s: print("NO") else: first = s[0:n // 2] last = s[n // 2:] first...
[ "noreply@github.com" ]
Praveen230102.noreply@github.com
7e35990b45388256e3e32d8beda84a60ab4fa84c
d563246783b542dbe00080a030c1d1a136e71b2c
/setup.py
31e4c03fdde1a814108d447dd3c21e09cb928868
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
CloneAssassin/cve_bot
03590397d4747e896525d3aaaf7c6abb9761b41e
92c53cbd37b14a44aecd6b8956bd0b8fe55f6c5b
refs/heads/main
2023-08-03T17:13:10.720314
2021-09-15T07:14:14
2021-09-15T07:14:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,204
py
import os from importlib.machinery import SourceFileLoader from pkg_resources import parse_requirements from setuptools import find_packages, setup module_name = "cve_bot" module = SourceFileLoader( module_name, os.path.join(module_name, "__init__.py") ).load_module() def load_requirements(fname: str) -> list:...
[ "me@weastur.com" ]
me@weastur.com
ffe677165dccb88d9f37a995aa2f5a489fc75489
239c49bfe13774340515cfd336e88b0f3cc82a5a
/tensorflow_synthetic_features.py
ba67ae278004df42865a4eb8451f7a9a0dc2058b
[]
no_license
mhmdsamir92/MLCrashCourse
2b8c3186b7590f0c552dab6659c2892e24d60873
bf788a7f928a4c88bb8889574abca5a64457e1b2
refs/heads/master
2020-03-20T16:10:52.211731
2018-06-27T07:47:45
2018-06-27T07:47:45
137,532,136
0
0
null
null
null
null
UTF-8
Python
false
false
7,050
py
import math from IPython import display from matplotlib import cm from matplotlib import gridspec from matplotlib import pyplot as plt import numpy as np import pandas as pd from sklearn import metrics import tensorflow as tf from tensorflow.python.data import Dataset tf.logging.set_verbosity(tf.logging.ERROR) pd.opt...
[ "mhmdsamir92@gmail.com" ]
mhmdsamir92@gmail.com
d17bf5c34fd35badf9407e18ada3ecc5a2daf043
0a82ddc06b00c95c87382dab920f025c93f285b7
/Scraps/Functions/__init__.py
280a2f24ad97cbca8aff359b8b9a4b8f023056df
[]
no_license
bmauss/Science-Standards-NLP-Analysis
ffea37bff81f531bf5376db0df8f6ad685b91da5
84e2d4a29580525507b1f7f75f5b5871960f5585
refs/heads/main
2023-02-26T04:29:30.574512
2021-02-03T23:17:40
2021-02-03T23:17:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
39
py
from Functions.final_functions import *
[ "kristendavis27@gmail.com" ]
kristendavis27@gmail.com
d22fcf08ad900c44a6935d22cbe6759656c6a23e
cf525299a2cca27df8750d64bf87e72cd367e63e
/telas/Saguao.py
46e7f9848a0659ad0909abae02c1bc92d4cf83fe
[]
no_license
FBMLJ/es2-trabalho-war
09ab1fab39145309af94d2bf6d900979cab919ac
e5a1017a963297f5674376b90e8a9e2f959028e7
refs/heads/master
2023-08-17T05:45:15.982998
2021-09-18T01:11:14
2021-09-18T01:11:14
390,141,619
2
0
null
null
null
null
UTF-8
Python
false
false
9,328
py
from componentes.campoTexto import * from componentes.botao import * from componentes.RetanguloTexto import * from firebase_admin import firestore from constant import estados from servico.firestore import db from datetime import datetime from PPlay.gameimage import * from PPlay.sprite import * class Saguao: def...
[ "danielbougleux@id.uff.br" ]
danielbougleux@id.uff.br
cda6d1cac436f71e288b1965f757877d5981c273
7b6451a4ca3184f3f3f6e2fb7244c658338b533c
/AI/Self-Driving-Car-Python/dataprep.py
bbf49bd6dce582e9d6f768312bfb28501f3ab7b6
[]
no_license
alexandrerussi/Autonomous-Car
9a2cc279bb181d586091a17748e3489b6c7cc0e1
3b6c1172829900b3afc0d392d7d756603493f377
refs/heads/master
2020-06-29T14:05:25.513080
2019-09-30T01:48:41
2019-09-30T01:48:41
200,557,385
0
0
null
null
null
null
UTF-8
Python
false
false
10,222
py
import numpy as np import cv2 import re import os from datetime import datetime import collections from random import shuffle from util import sanitize_data_folders def make_gamma_tables(gammas): gamma_map = collections.OrderedDict() for gamma in gammas: # build a lookup table mapping the pixel values ...
[ "alexandrerussijunior@gmail.com" ]
alexandrerussijunior@gmail.com
07464cdad35ad7b4f680e3ab926989fbcf8d020a
f8aa467bbaa5dbdddf2085b6121f90cb19bc13c7
/my_happy_pandas/plotting/_matplotlib/tools.py
eaf9e090f77dc0e2f0813c2bad7a2a826fda6779
[ "Apache-2.0" ]
permissive
ggservice007/my-happy-pandas
ec5520383aa887b12f07a2dc5e2944d0ca9b260e
63145d54e452177f7d5b2fc8fdbc1fdf37dd5b16
refs/heads/default
2023-02-22T00:24:01.164363
2021-01-27T11:22:24
2021-01-27T11:22:24
332,691,761
0
0
Apache-2.0
2021-01-26T07:39:47
2021-01-25T09:18:59
Python
UTF-8
Python
false
false
12,266
py
# being a bit too dynamic from math import ceil import warnings import matplotlib.table import matplotlib.ticker as ticker import numpy as np from my_happy_pandas.core.dtypes.common import is_list_like from my_happy_pandas.core.dtypes.generic import ABCDataFrame, ABCIndexClass, ABCSeries from my_happy_pandas.plottin...
[ "ggservice007@126.com" ]
ggservice007@126.com
84d759bb04610b3c0237f3c151ca8917b2c27f4b
456433ac78b70cb8ae076ae166a85e349f181d7f
/systems/KURSSKLAD/KURSTERM/SELECTDC/templates/taskMWares.py
f515a3b448eecf874d1c05dd1dd6fe8fc60e5da9
[]
no_license
shybkoi/WMS-Demo
854c1679b121c68323445b60f3992959f922be8d
2525559c4f56654acfbc21b41b3f5e40387b89e0
refs/heads/master
2021-01-23T01:51:20.074825
2017-03-23T11:51:18
2017-03-23T11:51:18
85,937,726
0
0
null
null
null
null
WINDOWS-1251
Python
false
false
19,848
py
#!/usr/bin/env python # -*- coding: cp1251 -*- ################################################## ## DEPENDENCIES import sys import os import os.path from os.path import getmtime, exists import time import types import __builtin__ from Cheetah.Version import MinCompatibleVersion as RequiredCheetahVersion from Cheeta...
[ "s.shybkoi@gmail.com" ]
s.shybkoi@gmail.com
3042812bdbd8a115621ce18b49ec5776b9227138
3b9d763180410bf0abf5b9c37391a64319efe839
/toontown/town/TTTownLoader.py
0780028cd0ae5e5b0b03c022cae3ac05115db2fc
[]
no_license
qphoton/Reverse_Engineering_Project_ToonTown
442f15d484324be749f6f0e5e4e74fc6436e4e30
11468ab449060169191366bc14ff8113ee3beffb
refs/heads/master
2021-05-08T00:07:09.720166
2017-10-21T02:37:22
2017-10-21T02:37:22
107,617,661
0
1
null
null
null
null
UTF-8
Python
false
false
869
py
# File: T (Python 2.4) import TownLoader import TTStreet from toontown.suit import Suit class TTTownLoader(TownLoader.TownLoader): def __init__(self, hood, parentFSM, doneEvent): TownLoader.TownLoader.__init__(self, hood, parentFSM, doneEvent) self.streetClass = TTStreet.TTStreet ...
[ "Infinitywilee@rocketmail.com" ]
Infinitywilee@rocketmail.com
09a9431a6f962fe8e4e27dafefa004f31c465bad
a4cc0abde394380db62a8d276d9b1a6bb237334f
/my_func.py
388855fe75c05937c6573996727995da06c6fa3d
[ "Apache-2.0" ]
permissive
pythongirl/Python_Week2
50341d00fa7149bcf0c4ad136e83178bfa6f202a
c40d95d022c872b61ea46da2ef1943cb370bc844
refs/heads/master
2020-12-25T15:18:06.757764
2016-08-14T09:06:00
2016-08-14T09:06:00
65,646,658
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
''' Write a simple Python module that contains one function that prints 'hello' (module name = my_func.py). Do a test where you impor my_func into a new Python script. Test this using the following contexts: * my_func.py is located in the same directory as your script * my_func.py is located in some ran...
[ "vinita.shah@colorado.edu" ]
vinita.shah@colorado.edu
8e0c2ea46e515db066552441ae389a1cae55bd63
62a14e6c14c8bed51ad92326b08df6e6d60b62ff
/PyTorchProj/src/data/dataset.py
ca13418bd4fe0b3ea53bf0b4cd37d3a4aa71e2c4
[]
no_license
dwHou/PyTorchProj
7aee6229434cdd6469e984dbe65d128c41cebcb0
ffe5f4cdab542206058818156c5f47c8395913ec
refs/heads/master
2021-05-20T19:56:18.825972
2021-03-07T11:11:18
2021-03-07T11:11:18
252,398,687
0
0
null
null
null
null
UTF-8
Python
false
false
3,759
py
import torch.utils.data as data from os import listdir from os.path import join from PIL import Image from util import common import numpy as np import pickle import lmdb from option import opt # def is_image_file(filename): # return any(filename.endswith(extension) for extension in [".png", ".jpg", ".jpeg"]) #...
[ "noreply@github.com" ]
dwHou.noreply@github.com
c342c102e65a81dd1e162fc1885fdcdf358c04f7
5d4b2a5d0bde6dbe7d41f64b6fcc066b129b2544
/src/women_shoes/serializers.py
753c0683700a1f4f839fd970fa0692abb05e2dc5
[]
no_license
vanemaster/project_persephone
c133b3138d1a18e2a411a210d7f6597e4d1ffb7b
4cdc8d0e675fab349aedd17ad757ae0083960455
refs/heads/main
2023-06-25T06:06:21.174579
2021-07-15T20:56:42
2021-07-15T20:56:42
368,344,330
0
0
null
null
null
null
UTF-8
Python
false
false
2,297
py
from .models import WomenShoes from rest_framework import serializers import datetime class WomenShoesSerializer(serializers.ModelSerializer): id = serializers.IntegerField(read_only=True) brand = serializers.CharField(required=False, allow_blank=True, max_length=50) colors = serializers.CharField(max_le...
[ "vafranca@gmail.com" ]
vafranca@gmail.com
d89cfb8f0978fc0bca985f2f530f9406acc32058
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2465/60631/246241.py
f35f636406a4f9cd9aa0b1ec54ba471016376403
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
158
py
si = input() li = si.split(',') out = [] for i in range(len(li)): p = len(li)-1-i h = li[p] if i < int(h): out.append(i+1) print(max(out))
[ "1069583789@qq.com" ]
1069583789@qq.com
aaad07c5c9cec442a2ff560d06925993644a66f9
d4b28b0c0b8c33a0189474342d14eb0cac3594ad
/homemaid/maids/models.py
1db8d036681149edb7b1ef7931b848ce6c0fcbc1
[]
no_license
thana-arnam/homemaid
f05d2f90b5b7b2c19d471a78c7a5295e8d9c62a8
b5b25c20534968693890c3faff05204b09a2517c
refs/heads/master
2023-08-18T03:09:01.913549
2020-07-18T09:54:37
2020-07-18T09:54:37
280,569,682
0
0
null
2021-09-22T19:27:20
2020-07-18T02:58:07
Python
UTF-8
Python
false
false
338
py
from django.db import models from django_extensions.db.models import TimeStampedModel class Maid(TimeStampedModel): name = models.CharField(max_length=300) profile_image = models.FileField() birthdate = models.DateField() description=models.TextField() certificate=models.TextField() salary=mod...
[ "thanamat@odds.team" ]
thanamat@odds.team
dda5656ea860805745000de4d7aafc852e8a8153
bf88052e625b654ff603cd344eb7c747c16d095b
/src/FusionFilter.py
6da86d750748052cd290812f030c9510911708dd
[]
no_license
joshuaburkhart/ReactomeFIFusion
361db6fdc227d922123a3e97e973cea1e25f822a
ac1745ce8a93fe071e5e430f540303f46d75bf96
refs/heads/master
2020-04-13T22:21:24.782181
2016-04-30T03:03:14
2016-04-30T03:03:14
50,455,750
0
0
null
null
null
null
UTF-8
Python
false
false
5,030
py
import os import re FUSION_GENE_CAPTURE = "^\"[0-9]+?\"\s+\"" \ "(?P<gene1>.+?)" \ "\"\s+\".+?\"\s+\".+?\"\s+\".+?\"\s+\"" \ "(?P<gene2>.+?)\"" GENE_PDB_CAPTURE = "^(?P<gene1>[A-Z]+[0-9A-Z]+)," \ "(?P<pdbset1>\[?[',\s0-9A-Z]+\]?)," ...
[ "burkhart.joshua@gmail.com" ]
burkhart.joshua@gmail.com
c7406e98ca05ca9ae9967f7ac9503ceb05764380
ffb5f8fd5e7bcaf8c68e172af2032c85941c1099
/growth_inflation/growth_inflation_v2.py
4269112d1324333b182f904a0ea71140820adf1e
[]
no_license
dpsugasa/Macro_Data
558aec75165c25a5176a899cdbd2f58898096766
6051fd6b672b12f522329b07e3ad3345871f7d48
refs/heads/master
2020-03-28T17:22:11.988668
2019-02-08T14:23:00
2019-02-08T14:23:00
148,782,420
1
0
null
null
null
null
UTF-8
Python
false
false
7,830
py
# -*- coding: utf-8 -*- """ Created on Mon Jan 21 14:04:28 2019 @author: dpsugasa """ #import all modules import pandas as pd from pandas.tseries.offsets import * import numpy as np import matplotlib.pyplot as plt import datetime #for dates from datetime import datetime import quandl #for data from math import sqrt f...
[ "dustin.sugasa@gmail.com" ]
dustin.sugasa@gmail.com
3459de3607f81b8e3cd2943b8031dbd163d4b650
1268030197a27bf2ef5e3f5ab8df38993457fed5
/run_bot.py
552b71c22140a9c5e5e54878a65f05870a32fd77
[]
no_license
parimalpate123/rasa_slack_chatbot
439abd9a541d6314b46c6fb303c0275803fc9357
206aacab62f12be9df9f009f65736caed3e8edac
refs/heads/master
2020-04-17T14:13:49.917604
2019-05-07T11:08:07
2019-05-07T11:08:07
166,649,129
0
1
null
2019-01-29T11:09:07
2019-01-20T10:32:59
Python
UTF-8
Python
false
false
1,112
py
#import json from rasa_core.channels.slack import SlackInput from rasa_core.agent import Agent from rasa_core.interpreter import RegexInterpreter from rasa_core.channels import HttpInputChannel #from rasa_core.utils import EndpointConfig # load your trained agent #agent = Agent.load(models\current\dialogue...
[ "noreply@github.com" ]
parimalpate123.noreply@github.com
b096276667e51556fbc5afb449f519a9223b8673
d87a64f76caa183c5c85580401827ae5ba64ef11
/env/bin/rst2odt.py
7a8ba53d8361e8a7016459ba5ee2d890b79fea60
[ "BSD-3-Clause" ]
permissive
wahello/sminor
4c56ee4e5bc56cb81448bca9067b6c1aaa992d4f
24ffcafedfd0c0eff8db4a53e2f1f5f6ff3ebfc9
refs/heads/master
2022-10-04T03:33:55.066685
2018-06-25T14:25:49
2018-06-25T14:25:49
139,105,033
0
0
BSD-3-Clause
2022-09-16T03:59:19
2018-06-29T05:32:10
Python
UTF-8
Python
false
false
789
py
#!/home/gulli/Github/saleor/env/bin/python3 # $Id: rst2odt.py 5839 2009-01-07 19:09:28Z dkuhlman $ # Author: Dave Kuhlman <dkuhlman@rexx.com> # Copyright: This module has been placed in the public domain. """ A front end to the Docutils Publisher, producing OpenOffice documents. """ import sys try: import locale...
[ "gnorland93@gmail.com" ]
gnorland93@gmail.com
a21dc69a9c06c325f19eb0f5e598d8983b278e69
d5108a669b9788d0ce8b40758eef118f26e11f99
/payment/urls.py
da1bd6bffc2139bb47b20cdf75b9e420c9f9f959
[]
no_license
StephanGolubev/BlogAndStore
6b2c58e4065ca455b1e450b2d66cf1fc69c61369
ed0312c3ccf6e08d96744de90e573d17d64efa23
refs/heads/master
2020-07-04T05:04:19.863974
2019-08-13T14:44:15
2019-08-13T14:44:15
202,164,884
1
0
null
null
null
null
UTF-8
Python
false
false
295
py
from django.urls import path from . import views app_name = 'ZooShop' urlpatterns = [ path('process/', views.payment_process , name='process'), path('done/', views.payment_done , name='done'), path('canceled/', views.payment_canceled , name='canceled'), ]
[ "golubevstephan@gmail.com" ]
golubevstephan@gmail.com
5f80568a7b2d0594272a7ca8a3950f22dc63eb7e
83d42cd72c62df5d618aeb5bafed8d12ca5bdf9e
/betweenHiraKata.py
a08d7d68aa56dffce0c903148af74b96fa4fbd9a
[]
no_license
akbaker54/jsl
3d4163e3c87cc33d4c344cedab6b3b6c3cb24a4a
7e28e1e9846a4f6e80c7a97ed8225f55b5357e8a
refs/heads/master
2021-01-19T06:14:50.114363
2016-06-28T15:50:59
2016-06-28T15:50:59
62,068,806
0
0
null
null
null
null
UTF-8
Python
false
false
5,504
py
import sys import os import codecs r = ["A", "a","I","i","U","u","E","e","O","o","ka","ga","ki","gi","ku","gu","ke","ge","ko","go","sa","za","si","zi","su","zu","se","ze","so","zo","ta","da","ti","di","TU","tu","du","te","de","to","do","na","ni","nu","ne","no","ha","ba","pa","hi","bi","pi","hu","bu","pu","he","be"...
[ "noreply@github.com" ]
akbaker54.noreply@github.com
e531492075fab779d13d15fa4a18293e35a2f0b4
eaf00759ebec00f930c936b0beacc4b65cee6452
/7.0/avalara_salestax/account_tax.py
efb0b55d2ca02408eefb47630160d8591c23dd5c
[]
no_license
alephobjects/ao-openerp
b73bbeedc2149b08a946660aeb6d78f4eafa3698
3a0d7ddb85d497b4f576678370a1fbbfd71379f4
refs/heads/master
2020-04-12T03:53:47.210221
2016-07-27T09:44:24
2016-07-27T09:44:24
15,320,631
3
5
null
null
null
null
UTF-8
Python
false
false
6,020
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>) # # This program is free software: you can redistribute it and/or modify # it under the terms of...
[ "bkannan@ursainfosystems.com" ]
bkannan@ursainfosystems.com
07160874012b6c06686cd008254ddb273c4a7ef8
6b255557f6e5609fcadf13d11c0eb734a78777fb
/transmembrane.py
87968181b803538cdfb2c6284470d23bc14cd611
[ "MIT" ]
permissive
jeansabety/learning_python
1d37750a65d6c8531430f177506ff0ca9f9d4613
02d37999e1a3195b9697b3f5e90e37bb4b0b5882
refs/heads/main
2023-05-08T03:07:42.551880
2021-06-03T17:03:16
2021-06-03T17:03:16
354,625,945
0
0
null
null
null
null
UTF-8
Python
false
false
3,452
py
#!/usr/bin/env python3 import sys # Write a program that predicts if a protein is trans-membrane # Trans-membrane proteins have the following properties # Signal peptide: https://en.wikipedia.org/wiki/Signal_peptide # Hydrophobic regions(s): https://en.wikipedia.org/wiki/Transmembrane_protein # No prolines in hydroph...
[ "jeansabety@MacBook-Air.local" ]
jeansabety@MacBook-Air.local
b4d4ead5d2cf9d7f08614c609f00ee0eb0df9021
de21b77219fcdd07bdd18bbb3f027eb42f9580d6
/loops.py
5527b0ebef6f208895b9e4d18d2b5d9a3a8e27ec
[]
no_license
Miriam-Gerharz/UCL-project
1c52bd8f645755c596a7f314a90c2dbc62b5de9e
5eff451be8251453778025547aeee64d5fff42ca
refs/heads/master
2022-04-20T12:32:36.866978
2020-04-07T17:01:37
2020-04-07T17:01:37
218,821,713
0
0
null
null
null
null
UTF-8
Python
false
false
3,449
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jan 27 10:52:53 2020 @author: miriam """ import tools import numpy as np import pickle import time ########################### param = tools.parameters() omega = np.arange(0, 700, 10e-2)*1e3*2*np.pi # freq for spectrum #############################...
[ "gerharz@stud.uni-heidelberg.de" ]
gerharz@stud.uni-heidelberg.de
4dfdf0673670dd303109bbb0c959e9128805d683
e131c6ac8335ef97908b940a6fc21554871957c4
/uWSGI/ScrapyNews/ScrapyUdn/settings.py
8fe9b3c6b63be86a15109e4a510e4feab69e0f06
[]
no_license
valosz66842/DockerUdn
2e65e6a838f4214d684a82ded1f16289a7708949
6204ed6d7ecf96470736674c101c3e61962b1b3e
refs/heads/master
2023-05-14T20:04:35.861286
2020-05-12T16:45:21
2020-05-12T16:45:21
257,435,731
0
0
null
2021-06-10T22:53:55
2020-04-21T00:08:24
JavaScript
UTF-8
Python
false
false
3,317
py
# -*- coding: utf-8 -*- # Scrapy settings for ScrapyUdn project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/t...
[ "valosz66842@gmail.com" ]
valosz66842@gmail.com
483c301f953c3c537727a973289e3a0073e0e2cc
c6797c1fc28a8af86415772e4d4e4aa2520dfd4f
/polls/views.py
7166272d67947522c2ad42da1ba5cc683b51fe8e
[]
no_license
kaeruco/basic_timer_test
b7759b02ae7fa447c34bfd63fb8ea39925805e21
268411581aadcffacb1f5fbb25ec568e0c55259a
refs/heads/master
2023-02-19T23:24:57.624281
2021-01-09T08:06:55
2021-01-09T08:06:55
328,108,183
0
0
null
null
null
null
UTF-8
Python
false
false
3,109
py
from django.http import HttpResponseRedirect from django.shortcuts import get_object_or_404, render from django.urls import reverse from django.views import generic from django.utils import timezone from .models import Choice, Question #def index(request): # latest_question_list = Question.objects.order_by('-pu...
[ "tom@example.com" ]
tom@example.com
4cf47cf2f86dade167984e4feeec446abe091806
7f2e38505200032dcc337cc18d22bd6bcaa00d2e
/call.py
231398bf0e0c8ef97b22eec4e96f9741958600d6
[]
no_license
lestate44/535final
b210be5013ad283318e5fd28383e8cebb40a4083
6b050605a75e1e7e683f4317b1366531deef50c6
refs/heads/master
2021-01-20T16:11:07.705622
2017-05-10T05:56:14
2017-05-10T05:56:14
90,825,465
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
import numpy as np import lda import lda.datasets import math import matplotlib.pyplot as plt import operator docfile='src/kos1000.txt' vocfile='src/kosvoc.txt' def loadv(): f=open(vocfile,'r') vocab={} i=1 for line in f.readlines(): line=line.strip('\n') vocab[i]=line i=i+1 ...
[ "kaichen.nyc@gmail.com" ]
kaichen.nyc@gmail.com
3984f48344d482c4b43d4c48cf7947780c1092f0
a83557042d61b793545380d87b312b16c0f62da4
/data_cleanning_script/host_clean.py
90e9c781a7b0fada5c51d6392277753ce762a479
[]
no_license
ashleyxu99/safe_travel
748214d9b60fcae31f1585898109cd79459767c8
e1fc44e570cd86c30e9f095ac59dedd0787553df
refs/heads/main
2023-07-05T10:50:12.591126
2021-08-16T03:02:29
2021-08-16T03:02:29
396,545,514
0
0
null
null
null
null
UTF-8
Python
false
false
591
py
import csv with open('host.csv', 'r') as file: csvreader = csv.reader(file) host = [] host_ids = [] for lines in csvreader: id = lines[0] if id not in host_ids: host_ids.append(id) host.append(lines) print(host[0]) fields = ['HostId', 'HostName', 'HostSince',...
[ "noreply@github.com" ]
ashleyxu99.noreply@github.com
14b577ec46ee9d7038f9abbef96019ef6af5fd26
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/RiskFinishLabel.py
70510d2ed4724524faa93b6970839d177175fd54
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
1,630
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class RiskFinishLabel(object): def __init__(self): self._code = None self._label = None self._path = None @property def code(self): return self._code @code...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
086d71d8403da4e51cc18131dfe0d147a579032b
cf99bd701a390d2911f87350a4ddcb15cdf82365
/common/migrations/0002_client.py
323790608e2f2c8f11a60f31b9fc2622a97f21b8
[]
no_license
prescience-labs/auth-service
7a7d6bb9d5fca742c5588774c7ba2ba008d5057a
951e6ea291041f0a0dcd2349ca0232e2a8b3b467
refs/heads/master
2022-12-10T04:43:19.932832
2020-01-09T01:48:31
2020-01-09T01:48:31
202,735,903
0
0
null
2022-12-08T06:07:34
2019-08-16T13:50:54
Python
UTF-8
Python
false
false
1,072
py
# Generated by Django 2.2.4 on 2019-10-14 12:47 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('common', '0001_initial'), ] operations = [ migrations.CreateModel( name='Client', fields=[ ...
[ "jdick@solutionreach.com" ]
jdick@solutionreach.com
768de293d85f995da0ae44763caa347d16ad330d
027800302a2a5cb4638c608832deab5280131572
/send.py
0450d031709a65a622145030123988d1b87de685
[]
no_license
luigitercero/consumirRabbitSopes
f5e81975890846e1d8f75e7982a935ef76a20ee8
61e3e5abf0aa78e6eb33c27e221473149c5c0a05
refs/heads/master
2020-03-22T03:56:23.650293
2018-07-04T13:45:25
2018-07-04T13:45:25
139,461,698
0
1
null
null
null
null
UTF-8
Python
false
false
532
py
#!/usr/bin/env python import pika credentials = pika.PlainCredentials('admin', '123') parameters = pika.ConnectionParameters('35.229.58.120', 5672, '/', credentials) channel = connection.channel() ...
[ "luigitercero3@gmail.com" ]
luigitercero3@gmail.com
617b9bc9422490bfc0bace688f400d0718d6e2b6
ccf218c6ec57e48316f81238c029a542a0ddd905
/django-sites/mooncouch/journal/views.py
ae4dad50011418bb63eb774c42a15308fb518a3d
[]
no_license
mooncouch/hello
5d3d925cc9bf00e74e2b5c90b060d3b4f32b093f
8991ece7c480f6aeb8202293d334c1ff49fe8911
refs/heads/master
2020-03-27T20:14:42.300618
2018-09-23T03:50:04
2018-09-23T03:50:04
147,051,705
0
0
null
2018-09-10T03:36:05
2018-09-02T03:36:51
Python
UTF-8
Python
false
false
611
py
from django.http import HttpResponse def index(request): return HttpResponse("You're at the journal index.") def detail(request, author_id): return HttpResponse("you're looking at author %s." %author_id) def entry_sum(request, author_id): response = "You're looking at the entries of author %s." retu...
[ "noreply@github.com" ]
mooncouch.noreply@github.com
28784c69c73d492028e87b1c012edc1da26e063b
49492055fb670efae0aa0e554570272e6fbffc52
/document.py
417f1f785afe953faecd31913d4a43dcfa3120d2
[]
no_license
dima-kov/parser
fc713b1510f4ed318ef2850ce4743d10309b8bf3
2754101f4e44ef9fc01f5516b6f275f48e9b811c
refs/heads/master
2020-03-23T10:23:07.783054
2018-07-19T18:20:08
2018-07-19T18:20:08
141,440,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
import datetime from mongoengine import QuerySet from mongoengine import document from mongoengine import fields class PageQuerySet(QuerySet): def create(self, **kwargs): page = Page(**kwargs) page.save() return page def exists(self, **kwargs): return self.filter(**kwargs) ....
[ "dima.kovalchuk.v@gmail.com" ]
dima.kovalchuk.v@gmail.com
8402564387ae855252d09edce5c9e530bfb1827c
ce4c2d2d88234c6dfa5a74d1c8997101119c5d14
/arsenalqa/models.py
9547964871c25230b73553b04c71fbbfa1c6b034
[ "Apache-2.0" ]
permissive
ovoron1/arsenalqa
dea7fd1099310a6a9f0019b8e92311331ab185a0
c8c0af0da1b4b94687cbd36c1d2bc3eac5596cdc
refs/heads/main
2023-01-14T10:35:35.013006
2020-11-19T18:43:14
2020-11-19T18:43:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,338
py
""" * Copyright 2020 Wargaming Group Limited * * 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...
[ "r_romanyuk@wargaming.net" ]
r_romanyuk@wargaming.net
a852a43246a94a9b6e75f57bdf385b9ca4208862
512f07d1c9485fd1d533ee015d659edcaea7acf9
/basic-syntax/divmod.py
22a0b1fdaa7ac400e05a76ab41e35c68618de43d
[]
no_license
SathvikPN/beginPython
7d173407bacab7e1a7aa685497ec08da4055693a
81f8aa3132475c9d369e70e211537744ff6aeb07
refs/heads/master
2023-01-19T14:16:45.922701
2020-11-24T14:10:46
2020-11-24T14:10:46
298,954,673
0
0
null
null
null
null
UTF-8
Python
false
false
35
py
quotient, remainder = divmod(a, b)
[ "noreply@github.com" ]
SathvikPN.noreply@github.com
f254f69848a95f326b53f8ce3d6c7f556a3e272f
5130754859e274cd06f63260439e5203c2000a11
/core/jobs/batch_jobs/blog_post_search_indexing_jobs.py
9b9440e7125be3ee12d6e27e9720636aeb7227bd
[ "Apache-2.0" ]
permissive
oppia/oppia
8ebc9c7c7f2b336e9a79ce04533abe3956f48cbe
d16fdf23d790eafd63812bd7239532256e30a21d
refs/heads/develop
2023-09-04T07:50:13.661276
2023-09-03T09:21:32
2023-09-03T09:21:32
40,687,563
6,172
4,666
Apache-2.0
2023-09-14T18:25:11
2015-08-14T00:16:14
Python
UTF-8
Python
false
false
3,766
py
# coding: utf-8 # # Copyright 2022 The Oppia Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requi...
[ "noreply@github.com" ]
oppia.noreply@github.com
02106294b4d4b980e76f0077bd730aa8cb529c27
9c14bb4d3029a9fff23cf0d3e9fdce9ca4e369ab
/prettyqt/widgets/composed/imageviewer.py
ac1daae24ae902a88755ea0c2d5992f940896d16
[ "MIT" ]
permissive
fossabot/PrettyQt
0e1ae074ca0776fa02ee0b8e6c04f9d545408855
d435b8d8c68d16c704c39972457497c93741859f
refs/heads/master
2020-05-14T16:50:48.896440
2019-04-17T11:48:25
2019-04-17T11:48:25
181,880,405
0
0
null
2019-04-17T11:48:19
2019-04-17T11:48:19
null
UTF-8
Python
false
false
726
py
# -*- coding: utf-8 -*- """ @author: Philipp Temminghoff """ import pathlib import sys from prettyqt import widgets class ImageViewer(widgets.Widget): def __init__(self, title="", parent=None): super().__init__(parent) self.title = title self.left = 10 self.top = 10 self...
[ "phil65@kodi.tv" ]
phil65@kodi.tv
a7fb7c75827d25da06f35074ee9c7c1030698b40
8236101e4b42f03dac2063a3ad0bd588e41de5f1
/parsers/LibriSpeech_parser.py
51ea53648d04a06ffe418cce5af450aa37d67185
[]
no_license
tzuhsien/Voice-conversion-evaluation
e803fbe7dee52840f4965537037efb5b522e7be0
8e15b75273c5cd1073bafc562cc8d0d10696dc1e
refs/heads/master
2023-06-14T05:29:15.976029
2021-07-11T10:31:15
2021-07-11T10:31:15
355,152,491
36
5
null
2021-05-29T13:32:29
2021-04-06T10:45:28
Python
UTF-8
Python
false
false
2,889
py
"""LibriSpeech Corpus parser.""" import random from collections import defaultdict from pathlib import Path, PurePosixPath import librosa from librosa.util import find_files class Parser: """Parser""" def __init__(self, root): seed = random.randint(1, 1000) random.seed(seed) wav_file...
[ "tzuhsien1016@gmail.com" ]
tzuhsien1016@gmail.com
e0a0bfe842755d832225f9678234d2d59ed708fb
90047daeb462598a924d76ddf4288e832e86417c
/build/android/pylib/utils/emulator.py
a5aa544b4c70ec402b7a00d23e4684e671fb52db
[ "BSD-3-Clause" ]
permissive
massbrowser/android
99b8c21fa4552a13c06bbedd0f9c88dd4a4ad080
a9c4371682c9443d6e1d66005d4db61a24a9617c
refs/heads/master
2022-11-04T21:15:50.656802
2017-06-08T12:31:39
2017-06-08T12:31:39
93,747,579
2
2
BSD-3-Clause
2022-10-31T10:34:25
2017-06-08T12:36:07
null
UTF-8
Python
false
false
17,458
py
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Provides an interface to start and stop Android emulator. Emulator: The class provides the methods to launch/shutdown the emulator with ...
[ "xElvis89x@gmail.com" ]
xElvis89x@gmail.com
81080dddd1dc963925b712b8617d42546f849962
d4811f4ba6b20d9cba2ae63736e58fe8d1de198a
/tests/serializing/wrappers/test_int64.py
d3ea0090079d2f956301c3591f3e0688bf7f6e5a
[ "MIT" ]
permissive
mlga/schematics-proto3
f6de009cff5ac6ff096dbe784618001b3c3bd5fb
588fe5bc212e203688166638a1c52dfeda931403
refs/heads/master
2020-09-11T06:31:21.146154
2020-08-19T17:32:45
2020-08-19T17:32:45
221,972,314
0
0
MIT
2020-08-19T17:32:47
2019-11-15T17:28:45
Python
UTF-8
Python
false
false
390
py
# -*- coding:utf-8 -*- from schematics_proto3 import types from tests import schematics_proto3_tests_pb2 as pb2 from tests.serializing.wrappers import CommonWrappersTests class TestInt64(CommonWrappersTests): field_type_class = types.IntWrapperType protobuf_msg_class = pb2.WrappedInt64 def get_value(sel...
[ "github@mlga.io" ]
github@mlga.io
c7ce6a26eabd9e0321bd10daacd750f082343174
b8d2f095a4b7ea567ccc61ee318ba879318eec3d
/树 Tree/538. 把二叉搜索树转换为累加树.py
9a2100675571f2350424587e70a2d48bbd0aa325
[]
no_license
f1amingo/leetcode-python
a3ef78727ae696fe2e94896258cfba1b7d58b1e3
b365ba85036e51f7a9e018767914ef22314a6780
refs/heads/master
2021-11-10T16:19:27.603342
2021-09-17T03:12:59
2021-09-17T03:12:59
205,813,698
1
0
null
null
null
null
UTF-8
Python
false
false
570
py
# Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right from util.ZTree import TreeNode class Solution: def convertBST(self, root: TreeNode) -> TreeNode: def d...
[ "zsjperiod@foxmail.com" ]
zsjperiod@foxmail.com
0c5e81e31f3423a12125f91838a1aa195b0987ba
ca47ebf432f787e0ae78a54afcd3c60d0af2d476
/GitProgs/152002016_PythonLabCode1_R_Parnika_Murty/Q2.py
1bd4495f446a8e5de2c579c00a17269c90c17d39
[]
no_license
Parnika1102/My_Assignments
0659c70f8f8473107b49a611ee9d16823331c535
b0ecf3df0107c627944f5ef98f72996efdf42f37
refs/heads/master
2023-03-20T11:37:02.821148
2021-03-10T12:14:45
2021-03-10T12:14:45
344,998,848
0
0
null
null
null
null
UTF-8
Python
false
false
949
py
#!/bin/python3 #Class Polygon with attributes numsides and area. class Polygon: #__init__() constructor. def __init__(self,numSides,area): #The class attributes "numSides" and "area". self.numSides = numSides self.area = area #For the string representation of our object. def __str__(self): #To display erro...
[ "email" ]
email
43d762c0f1e0bca9d0979907653b5f49f247f87c
b1fc997484ea9c3b2be6b7151ddb6600821daea9
/UbiGraph-alpha-0.2.4-Linux64-Ubuntu-8.04/examples/Python/callback_webcrawler.py
895ece7611c78468b967690ec251c3425d4bfb5a
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
JLiangWaterloo/sat
0e76f055fc9cd38e850f448ea49f9e730a423a46
df5f09cda06c8ab70ff9eacf098d8ce6bb9b91fc
refs/heads/master
2021-01-21T12:43:29.168066
2013-11-29T16:08:50
2013-11-29T16:08:50
13,397,989
2
1
null
null
null
null
UTF-8
Python
false
false
5,402
py
# Omit from run_all.sh import urllib, htmllib, formatter, xmlrpclib, random, os.path, time from urlparse import urlparse from urlparse import urljoin from sets import Set # Maximum vertices to render at once max_vertices = 100 start_url = "http://planetmath.org/encyclopedia/GraphTheory.html" # To avoid expanding to...
[ "william.fr.lindsay@gmail.com" ]
william.fr.lindsay@gmail.com
f605d22c1a6336bd346a68aa4ef9452a9cb23cf0
f48db3ec691da9eef9ebf130599ef594d0895a3b
/samplesite/bboard/migrations/0003_auto_20190813_2119.py
ab675b7fa51088c4255942c8f44d0f291929aacd
[]
no_license
OnePlusZero/django
692fc8ff6cd7126e8a5d0bc4cf937e7f853f9a29
78450f78c03c70c5554bb3991edfceb86825a1ef
refs/heads/master
2020-07-14T05:13:30.975704
2019-08-29T20:48:24
2019-08-29T20:48:24
205,246,127
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
# Generated by Django 2.2.4 on 2019-08-13 21:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bboard', '0002_auto_20190812_1528'), ] operations = [ migrations.AddField( model_name='bb', name='named', ...
[ "dimasfanzerg@yahoo.com" ]
dimasfanzerg@yahoo.com
773f8b9dce982b9249d251050ac2401104779d8f
77462125540636949d28284f848ed7c80c1b4626
/dstruct/linkedlist.py
ba227a3b6917a4148fbe11f2a825bc5caffe4630
[ "MIT" ]
permissive
gmarciani/pymple
1a39b1009fa11b699af50000bc3b11a2aec0ae36
5da3befa95f2d0138e4a364857e6dd9c421ab6d8
refs/heads/master
2021-01-10T10:48:18.750183
2015-12-12T21:45:21
2015-12-12T21:45:21
47,878,365
1
0
null
null
null
null
UTF-8
Python
false
false
11,316
py
#Interface Import from model.base.baselinkedlist import baselinkedlist class SimpleLinkedList(baselinkedlist): class Record: def __init__(self, element): self.element = element self._next = None def __repr__(self): return str(sel...
[ "giacomo.marciani@gmail.com" ]
giacomo.marciani@gmail.com
f5ef3bb85a2fca98469989b50eaeeec674b16b69
22cec042bc4e600f2a42ff974cb1a958daf6cb39
/helpers/exceptions.py
c1c3bb2421bde2374636ef9caad6e8638b31359e
[]
no_license
dal3006/edat
86d9a39b9218a57eaf989eddf614c01fa2401585
29468da54de6c9167e869e5fe6901aa7a667150c
refs/heads/main
2023-04-02T16:17:09.792206
2021-03-01T00:26:01
2021-03-01T00:26:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
""" Custom Exception classes used throughout the application """ class FileAccessError(Exception): """ Exceptions called in case there was any file access problem """ def __init__(self, message): self.message = message def __str__(self): return self.message class PlotRenderError(Excepti...
[ "ibolsch@gmail.com" ]
ibolsch@gmail.com
5e6330450d613daf77b5516864df671d6b111029
65320420ac129fc49d8737dcb608cc9a97ed8f79
/src/s010cognatematch/s005splitFilesV09.py
e24c13dc2d49fa4f8bc7dd601cdbde74e59298d2
[ "Apache-2.0" ]
permissive
bogdanbabych/morphosyntax
625fe6d037cdbf4c6aafd51d9e5716a5fea5b50c
c345be0f9b0274e2ef8a2961c0d176b7f0d43f6c
refs/heads/master
2021-01-19T02:09:17.572907
2019-08-22T10:18:39
2019-08-22T10:18:39
73,376,110
0
0
null
null
null
null
UTF-8
Python
false
false
2,095
py
''' Created on 9 Dec 2016 @author: bogdan ''' import sys, os, re, codecs class cSplitFile(object): ''' classdocs ''' def __init__(self, SFNameI, ILenSplit=50): ''' Constructor ''' SNameInm , SNameIext = os.path.splitext(SFNameI) SFNameO = SNameInm + '-1000' + SNameIext # FNameI = open(SFNameI, 'rU...
[ "bogdan.babych@gmail.com" ]
bogdan.babych@gmail.com
71f29bd8fe9c38bb4dfb37161179b569edf632fa
76a2a0846ba5cf4f89ee39442448894a8a2cf5a6
/mysite/apps/mpemail/signals/__init__.py
6c22c4b7f54511e02b320178ef7ad84173266284
[]
no_license
littlehome-eugene/mpemail
a2d86410c3d5f17a50ad22352dec708f86ae083c
7bb93175d5a98add93570302cc14db863ba477fd
refs/heads/master
2020-03-26T21:39:43.828954
2018-09-19T00:26:13
2018-09-19T00:26:13
145,401,319
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
import mpemail.signals.email
[ "p.compassion@gmail.com" ]
p.compassion@gmail.com
ee84fabbea404d237c006dfce600cd586c85153c
ade2f7fb02a8e45ee276f2c61b32af0b9795ccb6
/planner/migrations/0004_remove_event_date.py
a8c1651d3402c69c773ed95979f714a9e8100ba2
[]
no_license
Jacqui-E-McGowan/MyWeek
11fb96c2eac6cfe0a7469f5ebdea7c29a3745754
c002a3d218de8760dfedb140920570d7fb027547
refs/heads/main
2023-03-12T12:36:13.381130
2021-02-28T05:30:23
2021-02-28T05:30:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
# Generated by Django 3.1.6 on 2021-02-25 19:06 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('planner', '0003_event_address'), ] operations = [ migrations.RemoveField( model_name='event', name='date', ), ]
[ "nheyland@gmail.com" ]
nheyland@gmail.com
13670695bd691fcc3a0ecaf59ac201dc5ef20834
d0aec3726aa4d16de7df0948a782f7373ae14189
/tests/day02_test.py
f246260bc4b04be9b4870bca8ae0e445c468c76f
[ "MIT" ]
permissive
zoeimogen/AoC2019
1b70c46bc9ede73ab9aa3db540373a237a57b59d
44ffc08a38cb07273d7c4fd49200fb7912d4a1cb
refs/heads/master
2020-09-24T19:32:49.786707
2019-12-23T17:29:08
2019-12-23T17:29:08
225,826,751
0
0
null
null
null
null
UTF-8
Python
false
false
1,033
py
#!/usr/bin/python3 '''Advent of Code 2019 Day 2 tests''' import unittest import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from aoc2019 import intcode # pylint: disable=wrong-import-position class TestUM(unittest.TestCase): '''Unit Tests''' def test_day02(s...
[ "zoe@complicity.co.uk" ]
zoe@complicity.co.uk
f6ac16a6d52366142f9463e5bdd5f3b1ba0ccd99
169f45b84ac3f325626981f0f128cf188fc32f7e
/code/sentence_level_EE/data_utils.py
bab720d815ed04bf684d13bf26e1230101abf648
[]
no_license
HangYang-NLP/DCFEE
89e8464159dbc05f2fb717f44e99d92c5c7bb559
8d3cfe9bcb5caa876bc6237b6dc4747d3d98ab89
refs/heads/main
2023-05-06T23:32:13.804313
2021-06-01T08:17:29
2021-06-01T08:17:29
372,746,553
2
1
null
null
null
null
UTF-8
Python
false
false
8,773
py
# encoding = utf8 import re import math import codecs import random import numpy as np import jieba jieba.initialize() def create_dico(item_list): """ Create a dictionary of items from a list of list of items. """ assert type(item_list) is list dico = {} for items in item_list: for it...
[ "noreply@github.com" ]
HangYang-NLP.noreply@github.com
aef7ea599fa129eaf6944dc71a68f690d72162c4
2dc3cc7fad04cd3e314e28dd5f8ca4979cce038d
/tests/test_analysis.py
1006a9e6dca399ff3770cecbbab1ef2cd7a26f89
[ "MIT" ]
permissive
TangleSpace/hotstepper
32ce07300ff38825df6297162d460885d64b93c6
4d8a278d94f19fee2bc4d3ba25628fa69ed3653d
refs/heads/master
2023-03-30T03:05:02.968659
2021-03-21T18:32:57
2021-03-21T18:32:57
338,184,036
14
2
MIT
2021-03-13T21:44:31
2021-02-11T23:55:28
Python
UTF-8
Python
false
false
1,414
py
import os import sys sys.path.insert(0, r"..//") import warnings warnings.filterwarnings("ignore") import matplotlib.pyplot as plt import numpy as np import hotstepper as hs import hotstepper.samples as samples vessel_stats = { 'integrate': 67562.4666666666, 'nintegrate': 3165.1666666666665, 'mean': 7.7...
[ "lenardeuler@hotmail.com" ]
lenardeuler@hotmail.com
0c7234b5f0ad13145c42a218a6e23787e0f2cd00
b7d09fd039405d7adbb5a8dd05f8fb1fbc17c0be
/viewer.py
296976fbc159849aaaf225c4f34afbea539079b7
[]
no_license
Smart-SE/sse2019-group4
e0957db58af62f786c53873e3e3b47608f3e0d23
eb5aff13c0b233ba73242657725ae0476933151e
refs/heads/master
2020-06-05T23:06:04.670019
2019-07-13T07:39:39
2019-07-13T07:39:39
192,570,281
5
1
null
null
null
null
UTF-8
Python
false
false
1,179
py
""" Task : #6 画面に会話アシスタントの内容を表示する """ import asyncio import time import os from pyppeteer import launch from pyppeteer import connection from watcher import async_watch loop = asyncio.get_event_loop() def patch_pyppeteer(): original_method = connection.websockets.client.connect def new_method(*args, **kwargs...
[ "benishouga@gmail.com" ]
benishouga@gmail.com
4566132d1837ae90005a6bcb84a812d52f51a117
311b6d51936d76dbb88212a06ee52e4b48fa5cd3
/models/train_classifier.py
bd3f1444d4b1ba5ef88cb117838f97a13d75ef1d
[]
no_license
jiayijyc/Disaster-Response-Pipeline-Project
e50475eafeef24f15d89a345d1463255265d1220
3486ea5485177979e87298e13a7497aa56b1c728
refs/heads/master
2020-04-07T04:09:34.097704
2018-11-24T10:54:16
2018-11-24T10:54:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
import sys import nltk nltk.download(['punkt', 'wordnet']) import pandas as pd import numpy as np from sqlalchemy import create_engine from nltk.tokenize import word_tokenize from nltk.stem import WordNetLemmatizer from sklearn.feature_extraction.text import CountVectorizer, TfidfTransformer from sklearn.pipeline impor...
[ "noreply@github.com" ]
jiayijyc.noreply@github.com
483d27e67d1c7cbafd00dac1937a7658f04d1979
29b9f17a3081eb4cb64c60f66de562a903362884
/levenshtein.py
7a033dca6051191e8501dc3af5fc3954818bf128
[]
no_license
swetabhch/Database-Cleaning-SeSTA
bf91b70b4e98c107f6d0cb9d3817579ca7ee2350
20536aaa04cc596eaafc1c41b5cdbb4b352135ac
refs/heads/master
2023-02-01T23:28:48.565728
2020-12-17T07:16:58
2020-12-17T07:16:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
689
py
import numpy as np # compute levenshtein distance between strings a and b def levenshtein(a, b): m, n = len(a)+1, len(b)+1 matrix = np.zeros((m, n)) for x in range(m): matrix[x, 0] = x for y in range(n): matrix[0, y] = y for x in range(1, m): for y in range(1, n): ...
[ "noreply@github.com" ]
swetabhch.noreply@github.com
5d1c3752c86fc8b5ab35d3855687ecd4dc0a64bc
5ed150a21c4754a27abe2dcf627aa630bfb00db3
/mySiteRest/mysite/urls.py
24cf814a1717d4dc3b179f94c4d1583638729036
[]
no_license
samiul24/apiproject
a6819349e7097121fa3daa5ff15a3042f790d857
9425c06f68691ec767c639b3b5fe46da326d0fc9
refs/heads/master
2023-04-05T22:36:49.448805
2021-05-01T06:12:37
2021-05-01T06:12:37
363,335,162
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
from django.contrib import admin from django.urls import path,include from django.conf import settings from django.contrib.staticfiles.urls import static, staticfiles_urlpatterns from home import views from order import views as orderviews urlpatterns = [ path('admin/', admin.site.urls), path('', include('ho...
[ "samiul110624@gmail.com" ]
samiul110624@gmail.com
87f27491103c863122d5b540b57be42f6faccd47
5b28005b6ee600e6eeca2fc7c57c346e23da285f
/nomadic_recording_lib/comm/dmx/OSCtoOLA.py
c5c93f2ac60ce93d0dcc09a1ffe7fb3941cf2212
[]
no_license
nocarryr/wowza_logparse
c31d2db7ad854c6b0d13495a0ede5f406c2fce3f
d6daa5bf58bae1db48ac30031a845bf975c7d5cc
refs/heads/master
2021-01-17T07:19:00.347206
2017-06-24T16:57:32
2017-06-24T16:57:32
25,835,704
1
0
null
null
null
null
UTF-8
Python
false
false
5,980
py
import socket import threading import array #import jsonpickle from Bases import OSCBaseObject, Serialization from ola_IO import olaIO from ..osc.osc_io import oscIO from ..BaseIO import detect_usable_address class OSCtoOLAHost(OSCBaseObject): osc_address = 'OSCtoOLA' ui_name = 'OLA (Open Lighting Architecture...
[ "matt@nomadic-recording.com" ]
matt@nomadic-recording.com
65922f0129961d9a17ab0e0c398410b698cc34a7
10fe9643c97b2dd976329753b58ba7c72e837783
/misc/perform_pose.py
57f45613f4f31fd69e4189e83e5bd9487fbcfacf
[ "GPL-3.0-only" ]
permissive
sgoldenlab/simba
456bc6663222e6deec27f98e0549b64e13930846
ab5162ba23d1970b2b97f329d1607feec5d4ef7c
refs/heads/master
2023-08-31T20:11:27.839593
2023-08-31T00:41:15
2023-08-31T00:41:15
206,670,333
247
127
MIT
2023-05-21T15:54:20
2019-09-05T22:53:05
Python
UTF-8
Python
false
false
4,494
py
import cv2 from tools.misc import load_config_yaml from pylab import * from dlclive import DLCLive, Processor from tools.misc import read_bp_config_csv from tools.determine_fps import determine_fps from multiprocessing import shared_memory from tools.image_manipulations import change_color, change_size from mul...
[ "noreply@github.com" ]
sgoldenlab.noreply@github.com
4a99c6319ece2159f2b4e58a9e147858fb422ca3
f74b34ead276aff6e3ce04894b609d6bf26095c0
/github api example.py
036ce936f710a0a2ff80b56468ee08342b668842
[ "MIT" ]
permissive
LincT/PythonExamples
5f234ef3e386bb72be7076b4ac1b83f30b056eec
a0b61e8c60cd0754f2406b6b72fcd562667c9bb0
refs/heads/master
2023-03-01T08:10:06.648350
2021-02-11T18:46:36
2021-02-11T18:46:36
111,839,241
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
import requests def wip(): print() def apiToDictionary(url, *args): request_string = url response = (requests.get(request_string)) json = response.json() response.close() return dict(json) def main(): # docDict = {"text":"592da8d73b39d3e1f54304fedf7456b1", "markdown":"6a4cccf1c66c780e72...
[ "test@testserver.com" ]
test@testserver.com
807b21863986eed838bfcb55599dff00e23de588
c0e0d9036f8bb478defa07781a2b1f0d9523c051
/Tasks_app/admin.py
df5de86546b915690391bee2e0de9a1e8bfde73e
[]
no_license
NGarteman/Blog
3fdbec2e69c562fbe37782c5813ea54084a8e729
571fb5f35f5c474bfabc9d544f4e1713017c0d32
refs/heads/main
2023-09-05T13:33:51.435913
2021-11-20T07:10:41
2021-11-20T07:10:41
429,866,569
1
1
null
2021-11-19T17:37:42
2021-11-19T16:35:00
HTML
UTF-8
Python
false
false
156
py
from django.contrib import admin from .models import Task, Tag, Comment admin.site.register(Task) admin.site.register(Tag) admin.site.register(Comment)
[ "maxlestor2@gmail.com" ]
maxlestor2@gmail.com
0646c3635e117745dcdb20cb226c8c8661c8993d
c97b8be8a59da8ba73e22f4a1406b6c80f0884ed
/py-learn-code/code-blackChocolate/learn/day_5文字识别/learn_day_05.py
478374f7bab37c5d5669acd26549955a23951186
[ "MIT" ]
permissive
F1ame12/for-py
8668d3247da91278543a336a82666dd3e15a5141
1353ee977a25f36caa754edf23c3e934724145c2
refs/heads/master
2022-09-04T06:02:00.351533
2018-07-21T05:02:41
2018-07-21T05:02:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
#pip install keyboard 监控键盘 import keyboard from PIL import ImageGrab import time import sys import os import win32con import win32clipboard as w from 文字识别 import BaiDuAPI from 剪切板 import GetTexts #截图方法 def screenShot(): #截图的开始 if keyboard.wait('alt+ctrl+a') == None: #截图的结束 if keyboard.wait('ent...
[ "1692959384@qq.com" ]
1692959384@qq.com
4dd478a47e59c6f2986c31dcf7582023c8aff44c
738da30162f7d009826792121cab4123aafdd9c6
/isbn-verifier/isbn_verifier.py
b5fbdb737d84d748879183ac78d1396bc246bc24
[]
no_license
TommieHG/Exercism-Python
ef3d70370a5ee6d4c2242255490d563812de127b
6e8b72b2f6ffc2bcc5096aba5c87b4632dbb91dc
refs/heads/master
2023-02-18T02:18:01.765803
2021-01-14T12:06:16
2021-01-14T12:06:16
322,819,100
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
import re def is_valid(isbn): list_of_numbers = re.findall(r"\w", isbn) #remove too short or long numbers if len(list_of_numbers) is not 10: return False #remove chars in the middle of sequence for i in range(0,9): if not list_of_numbers[i].isdigit(): return False ...
[ "tommieg@kth.se" ]
tommieg@kth.se
a0e5f256d2cb86d124c17c2a9422fdeb7ca8e033
bc8a20a5f1d8115941b41d8ad8de2eb0f6213dae
/Strings/decode_string.py
9f42243ae23eecc064dbc2a3d723f048f35d0230
[]
no_license
kapc/problems
773e17a654ee516816e80da03c6cde217d264a5f
8c2734a8084aa58d9278f3ec034cec200454a826
refs/heads/master
2020-03-31T22:00:09.142964
2018-10-11T14:10:45
2018-10-11T14:10:45
152,601,496
0
0
null
null
null
null
UTF-8
Python
false
false
1,396
py
#! /usr/env/python """ A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given a non-empty string containing only digits, determine the total number of ways to decode it. Example 1: Input: "12" Output: 2 Explanation: It could be decoded as...
[ "ckap@Chandreshs-MacBook-Pro.local" ]
ckap@Chandreshs-MacBook-Pro.local
b01d7a3cdcd836c5768a3d047858412d1628bd52
ec6812f0a2fbc8cad17bb13510f9071894f7d24e
/01_first_test_v1.py
292740e5f78cb7c727f1abbb1e3179f27c3fafd7
[]
no_license
naoe1999/Training02_TensorFlow_v2
7044cf17c9d7e21a6a76aeab52ec59fdd516d0ea
a0f9828ee2b2f5893eb24717a25425cfbf83bf03
refs/heads/master
2023-07-16T16:04:57.474255
2021-09-02T11:41:54
2021-09-02T11:41:54
402,398,955
0
0
null
null
null
null
UTF-8
Python
false
false
505
py
# 텐서플로우 2.x 설치된 환경에서 1.x 코드를 돌리기 위해 아래와 같이 import import tensorflow.compat.v1 as tf # 텐서플로우 2.x에 와서는 eager_execution이 기본적으로 enable 되어 있음 # tf.Session을 사용하기 위해 이를 disable 시켜야 함 tf.disable_eager_execution() # 여기부터는 기존 코드와 동일 msg = tf.constant('Hello, TensorFlow') sess = tf.Session() print(sess.run(msg)) a = tf.constan...
[ "naoe1999@naver.com" ]
naoe1999@naver.com
3ce2bc9fc56982061e585feab4245d388dd09ad7
da489e1e388643174101981fbbdf12fd498a3ba0
/ihome13/ihome/api_1_0/houses.py
04060d610fb1249835258fd7910565bf95ce96a1
[]
no_license
zb14755456464/home
f5344b90e91a538283524dbd21fecf51cdfdbe50
3ec478083c2f5792ddfbfdb92e8bd43f51d6242d
refs/heads/master
2023-01-04T16:37:28.869627
2018-03-11T08:25:38
2018-03-11T08:25:38
124,736,942
0
0
null
2022-12-27T14:57:48
2018-03-11T08:23:36
JavaScript
UTF-8
Python
false
false
16,644
py
# coding=utf-8 import logging import json from . import api from ihome import redis_store, constants, db from ihome.models import Area from flask import request, jsonify, g, session, current_app from ihome.response_code import RET from ihome.models import House, Facility, HouseImage, User, Order from ihome.utils.commo...
[ "1273844671@qq.com" ]
1273844671@qq.com
8a799e2cabd700ee77f0ad33017d302c27b1e94b
5a89fbc3f61e9eb1fd97545f223ebef4fd206cb9
/image_ces.py
c82242b58ab936dcdbefb7ca85b76324b0cbac66
[]
no_license
MichealRGB/ImageRender
5abb46b0170b7a4a8976316f5eda9ac134f933f6
1c174c63cd17e9d450ae16e195a3fe93b86ca60f
refs/heads/master
2021-01-20T15:07:10.583758
2017-05-25T07:43:35
2017-05-25T07:43:35
90,722,202
0
0
null
null
null
null
UTF-8
Python
false
false
2,395
py
#!/usr/bin/python # -*- coding: utf-8 -*- __author__= "Micheal" import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('images/ceshi2.jpg') ## 先进行灰度处理 gray_image = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) ## 二值法进行处理 ret,thresh = cv2.threshold(gray_image,127,255,cv2.THRESH_BINARY) ## 腐蚀处理 ...
[ "510943034@qq.com" ]
510943034@qq.com
7880bcad5a3a3c0cfe1efef41f3c6bcba6189d35
49a0010d8c6c3dc4c92a5795ddee418de976ada4
/CH03/0311.py
e40cc572a518f4ea487a43c2a36bcac7623a0484
[]
no_license
mytree/Test_PythonCV
4c20ee4f073558488d2bf947fca500f677f36d13
9ba1e0bc8e7d84f1f7df3ca051a3d7e70e1745bb
refs/heads/master
2020-09-13T06:20:04.743092
2019-11-19T11:37:40
2019-11-19T11:37:40
222,679,573
0
0
null
null
null
null
UTF-8
Python
false
false
865
py
#0311.py import cv2 import numpy as np def onMouse(event, x, y, flags, param): ## global img if event == cv2.EVENT_LBUTTONDOWN: # 마우스 왼쪽 버튼 클릭 if flags & cv2.EVENT_FLAG_SHIFTKEY: # shift 키와 함께 cv2.rectangle(param[0], (x-5,y-5),(x+5,y+5),(255,0,0)) else: cv...
[ "noreply@github.com" ]
mytree.noreply@github.com
90d59540d8e2afccaf99b13f80cc0a735d81e0a3
85a7dde9c48945972a7f521f0fbb2eb56b323aa2
/obsolete_files/old/listening_eyes.py
69a61d1a1a20e04408df1df5513166b7f89f27b3
[]
no_license
jwmcgettigan/renegade
1e8f61a14d6a5a7aff5c410f0c26bb166f95bd03
ef76bebc6867683e1fb3201be547f42aa6e65881
refs/heads/master
2021-04-06T13:53:12.945602
2018-07-17T22:09:13
2018-07-17T22:09:13
124,680,527
1
0
null
2018-07-17T22:09:14
2018-03-10T17:33:52
Makefile
UTF-8
Python
false
false
752
py
#!/usr/bin/env python import rospy as rp import cv2 from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError bridge = CvBridge() def left_callback(data): cv2.imshow("left_eye", bridge.imgmsg_to_cv2(data, desired_encoding="passthrough")) if cv2.waitKey(20) & 0xFF == ord('q'): p...
[ "jwmcgettigan@gmail.com" ]
jwmcgettigan@gmail.com
6b54a465ce0fb3d99b380b2741c436f2a04aba50
d5ab31874dd279656d7f24780e102b352f7f1e08
/reports/configs/only_logd_dmpnn8_2/only_logd_dmpnn8_2
2bdd9de08945ebddf565738ef8cab7e248ea5be7
[ "MIT" ]
permissive
WangYitian123/graph_networks
77f76ab9ffa74bb4d52df52b1a17867c0c86be25
542f2a59b1b9708abdc718d77db7111f3ba2df96
refs/heads/main
2023-07-08T22:43:11.775430
2021-07-29T13:01:35
2021-07-29T13:01:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,815
from dataclasses import dataclass, field from typing import List import tensorflow as tf from graph_networks.utilities import * import logging import os ATOM_FEATURE_DIM = DGIN8_ATOM_FEATURE_DIM EDGE_FEATURE_DIM = DGIN8_EDGE_FEATURE_DIM @dataclass class BasicModelConfig: """ Config for model1/2/3 run file. ...
[ "wieder.oliver@gmail.com" ]
wieder.oliver@gmail.com