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
2b22b889d023fad6225e2543fe07804bff86e243
48729481fda3cfdcacb9ee53795796f870ea4527
/tests/samples/with_config/handlers.py
5ab17efb6b9abc1cac6e84d0b91d602f299fa805
[ "MIT" ]
permissive
attakei-sandbox/ananta
2ae1bb4c6b4e16cae2a98cef6953683ec6b5e072
31ad4be1010821a532a3ca7d4911b0e02b3aefbe
refs/heads/master
2021-05-31T15:54:28.761319
2016-02-01T13:22:27
2016-02-01T13:22:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
149
py
# -*- coding:utf8 -*- """ """ from ananta import lambda_config @lambda_config(FunctionName='test_1') def test_funcs(event, context): return {}
[ "attakei@gmail.com" ]
attakei@gmail.com
82a2cf90db27bfe505bc717258d375a62a07481b
a08047ff7297da03ca709397552d8755c299a8e3
/Python ETL/crmautomations/aut_otodompl_base_to_bd_deals.py
82ef7921e12173e8173e4a6f62a8139b7a068c1f
[]
no_license
Andre-Matias/crm_integration-1
c8573bddf489d3fe851fcbc463298500b1932588
63e500cab18731027a4acd2065d28ed92dcd137c
refs/heads/master
2020-03-30T02:01:59.762038
2018-09-27T09:23:54
2018-09-27T09:23:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,577
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import unicode_literals import basecrm import boto from boto.s3.key import Key from munch import * import simplejson as json from decimal import * import os import sys import gzip from datetime import datetime, timedelta import requests import time import ps...
[ "33873731+Andre-Matias@users.noreply.github.com" ]
33873731+Andre-Matias@users.noreply.github.com
30edc1049ebdd87194c77cac5fc618bf72cc2c9d
9183714a5a16c7624aa26dcbb1d8cb837921962a
/event/views/suggestions.py
be29d0db0f401daece02a04a7f563697d3857c6b
[]
no_license
jerinisready/arts-managemnet-system_CodingDOME
403a6cea0390f7fad0d609660edfe59b1e0564ce
8bb95b090c3f2afda8b8921f095bf6eb38c4dbe2
refs/heads/master
2023-08-12T16:42:33.843742
2021-09-14T09:12:25
2021-09-14T09:12:25
406,298,520
0
0
null
null
null
null
UTF-8
Python
false
false
3,318
py
from django.contrib import messages from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from django.urls import reverse from django.utils.decorators import method_decorator from django.views.generic import ListView, CreateView, UpdateView, DeleteView, FormView from e...
[ "jerinisready@gmail.com" ]
jerinisready@gmail.com
c3d87d4b48e259ba2018fe18a5484a34badd12b0
b438bef0dc82e13dfbc3b7237a2752f0f24b58e1
/venv/Scripts/easy_install-3.7-script.py
3e1f9ae7b052f966db78c86c7e2aef8361fc915c
[]
no_license
shh2000/Django-study
34ff74d0949eda9a742b272a0de1b4eef369fadd
f3993bf6ed54f6378324464871fea56105506fc0
refs/heads/master
2020-05-29T22:40:58.408446
2019-05-30T13:01:20
2019-05-30T13:01:20
189,415,633
0
0
null
null
null
null
UTF-8
Python
false
false
434
py
#!F:\django\Demo\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.arg...
[ "13820618441@163.com" ]
13820618441@163.com
eed6251d219f84cbb1bbb2049424245e68263414
612325535126eaddebc230d8c27af095c8e5cc2f
/src/base/android/linker/DEPS
b38742d81718aa1491256df59b9fed46f23acb58
[ "BSD-3-Clause" ]
permissive
TrellixVulnTeam/proto-quic_1V94
1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673
feee14d96ee95313f236e0f0e3ff7719246c84f7
refs/heads/master
2023-04-01T14:36:53.888576
2019-10-17T02:23:04
2019-10-17T02:23:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
86
include_rules = [ # This code cannot depend on anything from base/ "-base", ]
[ "2100639007@qq.com" ]
2100639007@qq.com
1f8ebfb96e2da682a5d5d4c9ea89ca77a91743ec
9d5c2a7c05602d478fe0981f910dbf0b7bb2abf0
/devel/lib/python2.7/dist-packages/eband_local_planner/cfg/EBandPlannerConfig.py
56a3c5c1177f4d9ff58882f58bc5e547efeaa7c1
[]
no_license
baidu31/catkin_wp
f440fcbf70cefe43e735bcc322fd3f6cb849aa54
5cf0f5e3d4c1346835bb56f7903798c7c7f242d9
refs/heads/master
2021-09-09T23:59:53.030955
2018-03-20T08:59:12
2018-03-20T08:59:12
125,989,066
1
0
null
null
null
null
UTF-8
Python
false
false
14,344
py
## ********************************************************* ## ## File autogenerated for the eband_local_planner package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float...
[ "934962995@qq.com" ]
934962995@qq.com
595213f07c855d2291f61d36527c21e93733f11d
cb130d20bc690679e228e5d5d79c2bb3eac8cc2d
/Record/PlayWav.py
5f0f0e86e2de62cdbf47a76b5a518b0f34cd1a3c
[]
no_license
hafoxiaowanzi/AudioTest
08a440a54665c02d8f5d786ebb7bd524461cdb3d
53254e7e03f69134d1e0a13905c1443baf670068
refs/heads/master
2020-05-21T06:07:55.661115
2019-05-16T11:11:10
2019-05-16T11:11:10
185,919,987
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # @Time : 2019/5/9 17:40 # @Author : wanxin # @File : PlayWav.py # @Software: PyCharm import pyaudio import wave import config.RecordConfig as config # 定义数据流块 CHUNK = 1024 # 只读方式打开wav文件 wf = wave.open(config.WAVE_OUTPUT_FILENAME, 'rb')#(sys.argv[1], 'rb') p = pyaudio...
[ "wangwanxin123@163.com" ]
wangwanxin123@163.com
0dd3ea006ce517622956e362adcf0ebc3731ec12
de933e4b67568eae577b2655b0fb02a20615fa47
/temp/InitialTests.py
aec409204d16ab3726734c0f2eb4d3a74de09cf1
[]
no_license
crawfonw/NoFriendsNoProblem
f3a931a12d4dbe8386e45860d2d6d3267528c754
c3a9e9bf3ba619c044cc6465cc5807659396ffe8
refs/heads/master
2020-06-06T17:45:50.418361
2011-05-18T20:56:51
2011-05-18T20:56:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,799
py
import unittest class TestPlayer(unittest.TestCase): def setUp(self): self.player = Player() self.deck = Deck() self.player.hand = ["Ace of Hearts", "Ace of Spades", "Ace of Diamonds", "Ace of Clubs"] self.deck.cards = ["King of Hearts", "King of Spades", "King of Diamonds", "King...
[ "crawfonw@rose-hulman.edu" ]
crawfonw@rose-hulman.edu
80e79baab11f02b85687eb92f1db1a6919a1937d
46ca4d6e345cf398cea19c2e356f82fc3088ef8a
/virtual/Emprestimo/solicitacao/migrations/0001_initial.py
978f53f894a9043e4d230935a5e82aaf692a642e
[]
no_license
helkias2/programacao_comercial
960fa95f7969b7b456dd42b8673dda701d40f4d9
19be650f85abf4d674f3d012b82cae2147a04095
refs/heads/master
2020-12-03T00:41:32.338643
2017-05-17T20:08:15
2017-05-17T20:08:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,399
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-05-17 02:55 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('livros...
[ "rosivania.r1@gmail.com" ]
rosivania.r1@gmail.com
b79cf42ddcad2e2c8f14ff12b751d3cc9c4e62a1
0a505df4532e19594ab27f9067f5fa0f0fb12a43
/swagger_client/models/rep_target_post.py
fcaf6d5aeb90080a767b49956d6913b3d54ddf7d
[ "Apache-2.0" ]
permissive
FengyunPan2/python-harborclient
2992b1a607918c813e14664f8d7ee947f067f432
69a55fdb92855d5080232a6e77f3ec9899624071
refs/heads/master
2021-04-15T10:02:35.263863
2018-03-26T08:18:11
2018-03-26T08:18:11
126,795,585
0
0
null
null
null
null
UTF-8
Python
false
false
5,045
py
# coding: utf-8 """ Harbor API These APIs provide services for manipulating Harbor project. OpenAPI spec version: 0.3.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class RepTargetPost(object): """ ...
[ "panfy@pfy.pfy.com" ]
panfy@pfy.pfy.com
e622a5485cad48692123eb7ad30d5e2f2df6678f
071557ee676ffe9f15d6e2edea109ceadb6675a6
/data/generator.py
1510db74878161d52ee03e4cb07d746c8dee8b68
[]
no_license
yixiang-wang-ny/QFinDataAnalysisToolKit
d0833c790542284f4c81b1847202daf5907bf8e2
e753b92fe0c1cb73606a6f37bf9c4256171f1404
refs/heads/main
2023-03-30T23:19:28.532766
2021-03-23T15:07:19
2021-03-23T15:07:19
343,226,501
0
0
null
null
null
null
UTF-8
Python
false
false
3,060
py
from abc import ABC import pandas as pd from data.field import Field from typing import Generator, Optional, List class DataContainer(object): def __init__( self, train_in: List[Field], train_out: List[Field], test_in: List[Field], test_out: List[Field], train_ts: Optional[List[Field]], t...
[ "yixiang.wang.ny@gmail.com" ]
yixiang.wang.ny@gmail.com
86fefa2b8ab03bd0b5da27c59bffb678de90db6a
bb277808cc3a234d32f4e99909bf56fed2e6de9e
/masscommand
5b5668ca9091ca613daca693103f22354bcc3bbe
[ "MIT" ]
permissive
lucashooten/masscommand
10a9b3175e2b0ba910f19fe90cf7aeca98f0ec9a
af3fc5e5bfd6e3ce74d9e94b96fb3454ec08c0b0
refs/heads/master
2023-01-22T03:38:33.808536
2020-12-01T20:12:12
2020-12-01T20:12:12
299,393,458
0
0
null
null
null
null
UTF-8
Python
false
false
3,482
#!/usr/bin/python3.6 # -*- coding: utf-8 -*- # author: Lucas M Hooten # date: 9/28/2020 """ Used to quickly execute a single command across all ansible-accessible servers, with choice to differentiate by box type. Requires password for sudoer/root user Requires updated Ansible hosts file """ import argparse, sys im...
[ "lucashooten@gmail.com" ]
lucashooten@gmail.com
2fa8aa6468eb4c44f43841c7fa8ee11f4797be84
7f7eec96cada14a0be0da4ca53a6aad7d013c36c
/to_do_list/list/models.py
e2c54977129f3d12a6b485a9ec51c423cc80311a
[]
no_license
lsyff210/django
69da52c99496a90aa88c86d6a38db44a08ed3cfe
4f64c30a684d7ae058f6707061a2e4f171f9c769
refs/heads/master
2021-01-11T03:20:37.742069
2016-10-17T13:23:07
2016-10-17T13:23:07
71,047,029
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
from django.db import models # Create your models here. class todo_list(models.Model): thing = models.CharField(max_length=200, verbose_name="待做的事情") state = models.BooleanField(max_length=1, choices=((0, '待做'), (1, '完成'),), default=0)
[ "jll210@126.com" ]
jll210@126.com
53f6c4ac643303827080d632a3f8474a4881f7bd
c9215c6b42cea98c880f444fc8e2f6122274d0d7
/entity/interface.py
b045b3432fec7a26f783a50ceaf7d1fd81bb349a
[]
no_license
whatisnull/roboter
b842e69c4f7f1326edb275888c1596c9ae593127
5ff287d87beea35ef2700d31f278b3eff4bbbf9e
refs/heads/master
2020-03-26T07:35:35.437679
2018-09-26T08:03:13
2018-09-26T08:03:13
144,661,526
1
1
null
null
null
null
UTF-8
Python
false
false
1,623
py
# -*- coding: utf-8 -*- """ Created by Dr.W on 2018/5/17 """ import unittest from appium import webdriver from utils.enums import Model from utils.apk import ApkInfo def set_driver(device): desired_caps = {} apk_base = ApkInfo(apk_path=device.get('apk_path')) desired_caps['platformName']...
[ "wangwenfeng@zhisland.com" ]
wangwenfeng@zhisland.com
fc07e28592592465f34667c2510771d8580a76b1
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_167/ch19_2019_08_30_17_33_49_991320.py
255123fd942fa40a66a7196baefba809573f081f
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
import math g=9.8 def calcula_distancia_do_projetil (v,θ,y0): d==(v**2/2*g)*1+(1 +2*g*y0/(v)**2*(math.sin(θ)**2))**1/2 return d
[ "you@example.com" ]
you@example.com
486e2af68ca7a7423f4cda9ef67747e8e9c78a43
22af2a76d1b1d1e478dcc75ec8e844ccdc73ceea
/01 file handling.py
a1fd0f6bdfdb12fded1f99e28a533c74e545e4a8
[]
no_license
afsalmpm/pythonProject
5699daac90d8a24776416bd5fe1b19a7473d14e3
18287b62b0abe7156bfeceb1fa2d9d0c88a7514c
refs/heads/master
2023-05-05T20:11:39.828410
2021-05-19T15:03:28
2021-05-19T15:03:28
367,999,533
0
0
null
null
null
null
UTF-8
Python
false
false
1,215
py
file_path = "C:\\Users\\dell\\Desktop\\" file_name = "test for file handling" try: with open(f"{file_path}{file_name}.txt", "x") as file: # 'x' as keyword argument to create a new file file.write(f"{file_path}\n") except FileExistsError: with open(f"{file_path}{file_name}.txt", "a") as file: # 'r+' ...
[ "afsalmpm@gmai.com" ]
afsalmpm@gmai.com
89d0edaf593e0bf40dd48360468518654f4e3fef
dfc3d113015ba71756271adf746e4e6976a29ab7
/apps/general/migrations/0003_address.py
5360e9e105b2aadd195f680beea0be915902386c
[]
no_license
abinabraham/capitalshipping
169f9a7be71b53b2fd515906ecfb79a5119bdfb0
1ff1950c322ea1221a44e2ce141e1926e6c3169c
refs/heads/main
2023-05-31T09:57:47.865671
2021-06-18T08:02:25
2021-06-18T08:02:25
378,076,804
0
0
null
null
null
null
UTF-8
Python
false
false
1,328
py
# Generated by Django 3.0.6 on 2020-05-31 05:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('general', '0002_footerourservice'), ] operations = [ migrations.CreateModel( name='Address', fields=[ ...
[ "abinabrahamcs@gmail.com" ]
abinabrahamcs@gmail.com
8ca3f112dba2ddf412dc8ed04db02bafdb9be374
78b42a602bdabbf28321b267714f0b29e89a669e
/3-2.队列.py
1d5c1807ba1b3d50d86169ad3decc5bb6aaa2c1c
[]
no_license
michelleweii/DataStructure-Algorithms
3c95240b8ed48237f23ff97754d6cc15cadc94dd
84f5d6e2811f5e6c4578a5e0d381a86cbc414ce9
refs/heads/master
2020-03-29T13:07:06.910799
2018-11-29T12:57:57
2018-11-29T12:57:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
# 取元素的端叫做队头,添加元素的端叫做队尾 class Queue(object): """队列""" def __init__(self): self.__list = [] def enqueue(self,item): """往队列中添加一个item元素""" self.__list.append(item) def dequeue(self): """从队列头部删除一个元素""" return self.__list.pop(0) # 先进先出 def is_empty(self)...
[ "641052383@qq.com" ]
641052383@qq.com
998701c5043e3a741ed1f9a2d53c3002cf0d9154
e09b905a092bd324050e405e1caf1e8a5630cc1f
/pyscf/nao/test/test_0047_dens_elec_gto2nao.py
7be36246af525c37b92f7c7cf0e02f1269d053aa
[ "Apache-2.0" ]
permissive
yangcal/pyscf
09a2776e8d88b2118f1d00a810a9c90e7e214281
e833b9a4fd5fb24a061721e5807e92c44bb66d06
refs/heads/master
2021-06-18T11:45:57.808856
2021-03-18T04:58:53
2021-03-18T04:58:53
246,690,849
1
0
Apache-2.0
2020-03-11T22:17:28
2020-03-11T22:17:28
null
UTF-8
Python
false
false
902
py
from __future__ import print_function, division import os,unittest,numpy as np from pyscf.nao import mf, conv_yzx2xyz_c from pyscf import gto, scf as scf_gto mol = gto.M( verbose = 1, atom = ''' H 0 0 0 H 0 0.757 0.587''', basis = 'cc-pvdz',) conv = conv_yzx2xyz_c(m...
[ "koval.peter@gmail.com" ]
koval.peter@gmail.com
bc63c91ba2b14d6188e57491cca088be67b939f1
73d0cc50d4849b43414f9043fb5fe68b04ac8bc1
/setup.py
60a929c924fd38675b37a2e6ea29cc66aa5dcc1d
[ "MIT" ]
permissive
xinhuang/nosql_versioning
9958e9a76c2c73615a254a901cd18583675f966f
7d0438cc735bf2a18431a512e4a366b53e0269df
refs/heads/master
2021-08-15T21:39:10.669294
2017-11-18T10:21:48
2017-11-18T10:21:48
103,007,023
1
0
null
null
null
null
UTF-8
Python
false
false
600
py
try: from setuptools import setup except ImportError: from distutils.core import setup import nosql_versioning with open("README.rst") as readme_file: readme_string = readme_file.read() setup( name="nosql_versioning", version=nosql_versioning.__version__, description="Python Library for NoSQL...
[ "xinhuang.abc@gmail.com" ]
xinhuang.abc@gmail.com
74b4941d9add860a6c290432fd06aacac809608d
282dcb397491cca62b84da29efaef4d0eadd92c6
/study/消息队列/test_readxl.py
021830d6aa14da3db4a778c9b3123e9f2676f077
[]
no_license
chenkyxx/pyproject
864d58dc5ec72825a88d5ef41348f3a7120618e3
6343a3833b7c0adb4ee428173b9440b7a7c283ef
refs/heads/master
2020-05-25T05:05:19.489852
2019-05-28T13:48:52
2019-05-28T13:48:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
814
py
# coding:utf-8 import xlrd if __name__ == '__main__': # 打开文件 workbook = xlrd.open_workbook(r"C:\Users\Administrator\Desktop\1.xls") workbook2 = xlrd.open_workbook(r"C:\Users\Administrator\Desktop\2.xls") # 获取sheet sheet = workbook.sheet_names()[0] sheet1 = workbook.sheet_by_index(0) s...
[ "842202171@qq.com" ]
842202171@qq.com
4bf38139de353494fb2b9a40ee3c040ba4c2a7be
1ace06d0e141b2fbf4be7ebb86794c16f5bb5e35
/main.py
469b9e98468ca46f042c361d3b79eab74541ac81
[]
no_license
IEIrodov/Automated_Birthday_Wisher
9fee42a80254a010b09bfde99970f711b1e29092
49d6ec7956d500e8374bdb20390f17acd649c20d
refs/heads/main
2023-03-21T05:25:41.316327
2021-03-15T06:40:26
2021-03-15T06:40:26
347,863,501
1
0
null
null
null
null
UTF-8
Python
false
false
1,043
py
import datetime as dt import pandas as pd import random import smtplib import os date = dt.datetime.now() today_tuple = (date.month,date.day) birthdays_data = pd.read_csv("birthdays.csv") birthdays_dict = {(data_row.month,data_row.day):data_row for (index, data_row) in birthdays_data.iterrows()} if today_tuple in bi...
[ "nikhilindia30111999@gmail.com" ]
nikhilindia30111999@gmail.com
f12cb2887878898e45a59c221e42a9c3602c08db
715322fe5d9a4becfd8d5b8de8858df6ec02c34b
/accountapp/views.py
729da2522fbf6f2c4de10911b3e28eead36e8bca
[]
no_license
caiyin0211/gis
00b07c13c0967ec80fc76d2aa0aee4a40b6b4856
cb5acd84ba7458e0b62bfdd452edd9e299ce85b0
refs/heads/master
2023-08-14T18:50:21.596810
2021-10-07T01:46:50
2021-10-07T01:46:50
381,255,040
0
0
null
null
null
null
UTF-8
Python
false
false
1,994
py
from django.contrib.auth.decorators import login_required from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User from django.http import HttpResponse, HttpResponseRedirect, HttpResponseForbidden from django.shortcuts import render # Create your views here. from django.urls i...
[ "caiyin0211@gmail.com" ]
caiyin0211@gmail.com
4fb3833526370b776a65d10938c421bb15804d6c
35c4c0ae37c78124732bc8056f9b9940cc80779b
/Data/Search/Find pivot element in a sorted array/Find pivot element in a sorted array.py
b266ca0952266d9b560f4086d94a868ad018fa69
[]
no_license
bhusalashish/DSA-1
8189c6fe27a7905eaa3ea0a404a38164245c8b6e
573b737483193c30753e7afc5d564396318d45ff
refs/heads/master
2023-02-09T21:44:16.691700
2020-12-25T06:19:58
2020-12-25T06:19:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
72
py
''' #### Name: Find pivot element in a sorted array Link: [link]() '''
[ "nishan.paudel1914@gmail.com" ]
nishan.paudel1914@gmail.com
66e2c5329e9521e3252d6ead99b95654d8cdaed4
b7c51f5e564d1f0e622fbe6e144f996d693af8cf
/Bins/MakeSparseMatrixSVD.py
c24629f3f51015d698bb93ed7c430d0c9260a6cd
[]
no_license
GINK03/job-recommender-api
a223fb225a1231eaf1b56abd92d9aa8f20ff241b
6afdfa915918184debe96f5ac6932dfa30f7d4a5
refs/heads/master
2022-11-19T16:48:38.776963
2020-07-24T15:49:23
2020-07-24T15:49:23
263,545,893
1
0
null
null
null
null
UTF-8
Python
false
false
4,429
py
import pickle import gzip import glob from scipy.sparse import lil_matrix from sklearn.decomposition import TruncatedSVD # import faiss import numpy as np from pathlib import Path from tqdm import tqdm import sys from concurrent.futures import ProcessPoolExecutor import joblib import pandas as pd from os import environ...
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
6867b230de8fd93c33a07b6924df8b2af22c9210
e1199ee28e0030cf56656b4907c0423185d09998
/nixui/graphics/richtext.py
54f631acd19e3d74cd3cc57b7b439f743b5fbac5
[ "MIT" ]
permissive
lrdickson/nix-gui
a002f235552265acfdb698ff7cfb996b546d8de6
f66aa80faf0ae01f2d85b3167677e063703eb71a
refs/heads/master
2023-06-15T18:27:01.182907
2021-07-11T01:29:43
2021-07-11T01:29:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,141
py
import re from PyQt5 import QtWidgets, QtGui, QtCore from nixui.options import api class HTMLDelegate(QtWidgets.QStyledItemDelegate): def paint(self, painter, option, index): style = option.widget.style() doc = self._builddoc(option, index) option.text = "" style.drawControl(QtWi...
[ "andrew" ]
andrew
daabb1e0dfdfbc9404d8dfb93de42beaa02ffc3d
c8a6425eb2c0b35ef626fdc4843be443ce805e5c
/ipv6smalltest.py
133ec43775b5508326ae4a33d67392f8ea928ccb
[ "MIT" ]
permissive
sharuijinfriend/ipv6-hosts
96ddb508effc8751806f9ce62dfe5246af65e531
d5dade4bcc92dddee3a9ffcf4dd17317dc47e6ff
refs/heads/master
2020-04-02T13:28:10.855134
2019-02-24T11:24:54
2019-02-24T11:24:54
154,482,472
0
1
null
null
null
null
UTF-8
Python
false
false
5,090
py
''' # import re # def validate_domain(domain): # pattern = '^((?!-)[*A-Za-z0-9-]{1,63}(?<!-)\\.)+[A-Za-z]{2,6}$' # p = re.compile(pattern) # m = p.match(domain) # if m: # return True # else: # return False # if validate_domain('www.google.com'): # print('yes') imp...
[ "noreply@github.com" ]
noreply@github.com
ff3dddc60230bb983c92cb9b19a3f83424bb5d03
e09389f2b6e830d0e3694848a43fac3ae71ca583
/formdemo/app1/models.py
388aff71720aae5d27dbcf8779eedacf65c32e40
[]
no_license
vikas123cb/learning_task_1
63fd1f042b04c68fec0e9be404eef7afe974c186
9087adb642b08d2f79fb24783d789b32de175f45
refs/heads/master
2023-05-03T05:53:49.267910
2021-05-13T03:36:27
2021-05-13T03:36:27
366,923,475
0
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
from django.db import models from django.contrib.auth.models import User # Question Model # mcq_type class mcq_question(models.Model): user=models.ForeignKey(User,on_delete=models.CASCADE) question=models.CharField(max_length=200) op1=models.CharField(max_length=100) op2=models.CharField(max_length=100) op3=model...
[ "vikas.chouhan@createbytes.com" ]
vikas.chouhan@createbytes.com
6f8acc30641314ca4fd580ada84c1e8ddc8a6e8a
e358227478c2ab1a15e55f1acc26afd62f7c5b6d
/curriculum/contact/models.py
3ccd551c4a3b2dcf6adfd4343fc350ee8ffd2c3e
[ "MIT" ]
permissive
ro199/Hoja-de-Vida
245e9101dfd59ba0d1ebdd3979e4ed0cc2f6bbdf
8864467f2998aed6e0a30a9f9767806dcb38ed71
refs/heads/master
2022-12-06T21:53:39.025997
2020-09-07T17:28:20
2020-09-07T17:28:20
286,880,301
0
0
MIT
2020-09-07T17:28:21
2020-08-12T00:50:53
JavaScript
UTF-8
Python
false
false
240
py
from django.db import models # Create your models here. class Contact(models.Model): contact_name = models.CharField(max_length=100) conact_email = models.EmailField(max_length=254) message = models.CharField(max_length=400)
[ "ronald.alvarado@epn.edu.ec" ]
ronald.alvarado@epn.edu.ec
3f73ed38a95759a28bb77adacb7c275da4b06d94
0909bdeec5ef24df40d92f15bdd30faee2585952
/week_2/while_for_work/task_1.py
0a7f734f3996a56b4943a1e6736d510a529bd8a2
[]
no_license
futurewujun/python_14_0402
83c60165d633625979c70ed0e685ef9abe6af980
ca931cd49192ea07a8f8b3640e2a3513b6338288
refs/heads/master
2022-12-10T01:35:05.084452
2019-11-15T03:31:45
2019-11-15T03:31:45
178,986,031
0
0
null
2022-12-08T01:21:43
2019-04-02T02:47:34
Python
UTF-8
Python
false
false
167
py
# -*- coding: utf-8 -*- # 1.利用while循环 完成1-100的整数数字相加和 a = 0 sum = 0 while 1: a+=1 sum+=a if a == 100: break print(sum)
[ "754499083@qq.com" ]
754499083@qq.com
6ff102d1cea23a24786b8d1335ce9d535b54fdb3
045cb1a5638c3575296f83471758dc09a8065725
/addons/base_gengo/models/res_company.py
82bdf8e87666085dc1a354e8cba4071dc6357e27
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from harpiya import fields, models class res_company(models.Model): _inherit = "res.company" gengo_private_key = fields.Char(string="Gengo Private Key", copy=False, groups="base.group_system") gengo_pub...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
f94ca25a0fbac5cf3c09a8e3e084bcdc814f85d0
61d24c80e4d68d26fa1577765eeee2de3fe009bb
/td_idf.py
b3f8087b6784e624c8453e612196f5683dcf9a4e
[]
no_license
goodmamll/sina_analysis
790708abec6b5c698f13e5e2f4dc5b9266a3ea98
7bed6c324efd4ae8234e4519ae331a48a4254a27
refs/heads/master
2023-03-16T03:45:49.101883
2020-02-16T06:39:05
2020-02-16T06:39:05
571,203,088
1
0
null
2022-11-27T13:56:41
2022-11-27T13:56:41
null
UTF-8
Python
false
false
2,804
py
from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer from sklearn.cluster import KMeans from sklearn.decomposition import PCA import matplotlib.pyplot as plt import pandas as pd def labels_to_original(labels, forclusterlist): assert len(labels) ==...
[ "761079834@qq.com" ]
761079834@qq.com
5290f04545eea5e5f46f6be3a50008aa1c9f3d59
78c322d1e2c15e42969dc4ae5a6075283975d8c6
/MalwareCrawler/src/utils/pyasn1/type/error.py
bb9b9351ef54c9b90d4aed2086dc02e6484240a7
[]
no_license
intelemetry/malware-crawler
723f26d233736d88ebdf508513052fb6bb609e5d
1672bab7aa292a350c0661e048517e9665ddc570
refs/heads/master
2021-01-10T10:22:12.862103
2015-10-17T20:36:41
2015-10-17T20:36:41
44,453,524
1
1
null
null
null
null
UTF-8
Python
false
false
90
py
from utils.pyasn1.error import PyAsn1Error class ValueConstraintError(PyAsn1Error): pass
[ "delta@deltas-MacBook-Pro.local" ]
delta@deltas-MacBook-Pro.local
2aca0fe016c401459269e4ca971610d24b46eb48
9c775d141a778156c85891f36a6462f7bee25773
/ComputerVisionTrainneProgram/T015/main.py
58f66fe460698fbb959e0e47bd81bb85d06cf82f
[]
no_license
GeilsonXavier/PPGEE
b1ae8597fb4a6767954c40c59204c5a6f1a2b13c
3b5bb4b06a0609e8a9a795e76efcd49982ac1ca7
refs/heads/main
2023-06-12T17:43:19.290758
2021-06-30T13:32:55
2021-06-30T13:32:55
381,692,355
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
import cv2 as cv import numpy as np # Inicializa a câmera cam = cv.VideoCapture(0) # Aguarda a tecla 'q' para finalizar while cv.waitKey(1) != ord('q'): # Captura o frame _, frame = cam.read() # transforma para níveis de cinza img_grayscale = cv.cvtColor(frame, cv.COLOR_BGR2GRAY) # Aplica o filt...
[ "geilsonx@gmail.com" ]
geilsonx@gmail.com
67c39e3fabdf646bcc6c350a8963d9780c4226c8
e5bcb7b5f6b1d0499c7151cc857f21c69127550b
/src/gp.py
2d6e876aa56113d01597cd5f2d1ea933074129c4
[ "MIT" ]
permissive
acauligi/energy291-project
8c774532d350bd071d9e2bc7504a8bd6c35413a0
de1cdc210f5e88e6764c850cead89adbe314fb19
refs/heads/main
2023-05-26T04:07:10.964075
2021-06-04T21:31:21
2021-06-04T21:31:21
370,866,400
0
0
null
null
null
null
UTF-8
Python
false
false
1,063
py
import gurobipy import numpy as np import cvxpy as cp import pandas as pd import matplotlib.pyplot as plt from scipy.stats import multivariate_normal import sklearn.gaussian_process as gp from sklearn.gaussian_process import GaussianProcessRegressor from sklearn.gaussian_process.kernels import RBF, ConstantKernel as C...
[ "acauligi@stanford.edu" ]
acauligi@stanford.edu
7e31745aac00fbaed87800b7d6d9cc93b456f820
25b573e38a9ccdebdf096d56d470bca1eb478b75
/Demoblog/urls.py
05598309e731a7f5d9c45e36a36949361a42c098
[]
no_license
sumaiyamulla786/blogsite
6febbbcaf4ed6744bcb481952245f2e1ccf8a29c
9453cd6b73c2a7a2761d2e11a4b96c124ca6ed9f
refs/heads/master
2021-04-27T14:58:41.510760
2018-02-22T10:23:49
2018-02-22T10:23:49
122,461,736
0
0
null
null
null
null
UTF-8
Python
false
false
1,319
py
"""Demoblog URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "sumaiyamulla786@gmail.com" ]
sumaiyamulla786@gmail.com
581736ce7af4e0d203eeb60e975e9a593ab3139d
de36b9799b09d62ee7ec8633095345bbfd5f17de
/app.py
52575442d0ef7d4d16b7f69827fb61304640f8c8
[]
no_license
busybee23/Forset-Fire-Prediction-
c93e1e6c7e951cc148b7636a83606140489ec0d8
4a23bc54f139a985c44632ddf9f1df711db0cd42
refs/heads/master
2022-12-12T11:16:59.869799
2020-09-11T17:13:49
2020-09-11T17:13:49
289,731,815
1
0
null
null
null
null
UTF-8
Python
false
false
990
py
from flask import Flask,request, url_for, redirect, render_template import pickle import numpy as np app = Flask(__name__) model=pickle.load(open('model.pkl','rb')) @app.route('/') def hello_world(): return render_template("forest_fire.html") @app.route('/predict',methods=['POST','GET']) def pr...
[ "noreply@github.com" ]
noreply@github.com
fdfa228f742a46c9fd86239aab1fe79482632d6a
98d09f9a156656816f767730dc405bf91f60959a
/problems/678. Valid Parenthesis String/solution.py
5633f1e2678fc7bffc447f82c3575f97d0fa3db5
[]
no_license
FranckNdame/leetcode
8b41d9fb9370489dd1a110a55a44e44e5782288d
b91bc8dd75138ffd0000523381acdd18ec7d0549
refs/heads/master
2022-06-26T13:13:39.101080
2020-05-09T09:43:00
2020-05-09T09:43:00
230,580,546
4
1
null
null
null
null
UTF-8
Python
false
false
285
py
class Solution: def checkValidString(self, s: str) -> bool: low = hi = 0 for c in s: low += 1 if c == "(" else -1 hi += 1 if c != ")" else -1 if hi < 0: break low = max(low, 0) return low == 0
[ "franck.mpouli@yahoo.com" ]
franck.mpouli@yahoo.com
834d1d77e917048675e93c9a05b5a405d1b1b2a1
c5ef95175ba7e168184fe5671f23e071278578dd
/scapy scripts/Beacon2Fuzz.py
0059e10a62ca14ff4d523d05b728b1bb05968a7f
[]
no_license
grayburn/wireless-scripts
0151beaea870d5176cb613b88bf50c5001a8f483
0517d90b4ea9293ab85a19434443ea1a76c787e7
refs/heads/master
2021-01-19T00:04:06.148389
2017-07-20T21:09:40
2017-07-20T21:09:40
46,151,071
1
0
null
null
null
null
UTF-8
Python
false
false
1,858
py
#!/usr/bin/python import sys from scapy.all import * probeResp = RadioTap()/Dot11(addr1="00:01:02:03:04:06", addr2="00:01:02:03:04:05", addr3="00:01:02:03:04:05")/Dot11Beacon(cap='ESS+privacy+short-preamble+short-slot')/Dot11Elt(ID="SSID", info='NETGEAR64')/Dot11Elt(ID="Rates", info='\x82\x84\x8b\x96$0Hl')/Dot11Elt(ID=...
[ "greg.rayburn@gmail.com" ]
greg.rayburn@gmail.com
44803dedada3fec966306568b761e601637bccc8
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/detection/NasFPN/mmdet/models/detectors/cascade_rcnn.py
47cc7cef984123804c4f99900d496807cde3c0e6
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
1,288
py
from ..builder import DETECTORS from .two_stage import TwoStageDetector @DETECTORS.register_module() class CascadeRCNN(TwoStageDetector): r"""Implementation of `Cascade R-CNN: Delving into High Quality Object Detection <https://arxiv.org/abs/1906.09756>`_""" def __init__(self, backbone, ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
a245f17a1350472a5725cf60254bb908d27fbe8a
c9be3b1b599456b773761ebc8a64352191bda7ea
/code1/sc_batch.py
76309a4eb2a0a2564444d9e11f029bd97fd8ac4c
[]
no_license
feliciss/Auto-Narrative-Generation-DL-with-Human-Intervence
c31210811dd6ba2307a736d4588fd74530a7b285
dedd7505067e08924cae297fabb54e966ed0bbe9
refs/heads/master
2022-03-01T22:35:35.717505
2019-09-06T09:01:19
2019-09-06T09:01:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,413
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # Modifications Copyright 2017 Abigail See # # 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...
[ "116010169@link,cuhk.edu.cn" ]
116010169@link,cuhk.edu.cn
f62773b1b744b9bad1a26b5ab260349ac2a09073
dcf47cd11915987269a7e551bf69a27d939797de
/2.py
346398fa042d1b1a560c763d696c32b7dd05118a
[]
no_license
kevinpeterson/python-challenge
52205b92ae7af8e313122afb3d1923aa702ed784
0963368f1d1dd3d4b1765080c5cdd02ffb18639e
refs/heads/master
2020-05-20T06:41:17.415751
2012-04-15T17:38:01
2012-04-15T17:38:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
99,578
py
""" Exercise 3: Counting character occurences using MapReduce. """ mess = list(''' %%$@_$^__#)^)&!_+]!*@&^}@[@%]()%+$&[(_@%+%$*^@$^!+]!&_#)_*}{}}!}_]$[%}@[{_@#_^{* @##&{#&{&)*%(]{{([*}@[@&]+!!*{)!}{%+{))])[!^})+)$]#{*+^((@^@}$[**$&^{$!@#$%)!@(& +^!{%_$&@^!}$_${)$_#)!({@!)(^}!*^&!$%_&&}&_#&@{)]{+)%*{&*%*&@%$+]!*__(#!*)...
[ "kevin.peterson@mayo.edu" ]
kevin.peterson@mayo.edu
9566d969f5182ad088a332b15442d9d3c4f9c16c
5f3cb178b5845d86b703dce3f11fb23632c01841
/gym/examples/agents/evolutionary_agent_w_crossover.py
80775d3ac27e3032764de4bd2009cbd04b70c84a
[]
no_license
q-learning-trader/fingym
279d93a91105ff0872261168c7a08d74491e7a00
d2e19ba5487d989154e35fa0e4d90028dd4b71c7
refs/heads/master
2021-04-05T06:48:49.769282
2020-03-15T18:48:24
2020-03-15T18:48:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,218
py
# Copyright 2020 The fingym Authors. # # 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 w...
[ "entrpn@gmail.com" ]
entrpn@gmail.com
621d3376a909c28ebfa4131ce1ef80c5f6dfd365
6f5d8aef8d7519e552f9377f13120c09b2d35524
/dia 1/ejemplos/exhaustive_enumeration.py
432f3558f7844b4db6e1ea2f69fa6a10b4f6477b
[]
no_license
KostadinovShalon/curso-de-python-2020
43fa0e6f2121b740920065c8d8825b86345a0bf6
fc064ce18f11c3c8c34af93c3e4ea31404eb0050
refs/heads/master
2021-02-07T21:49:39.013949
2020-03-04T12:55:08
2020-03-04T12:55:08
244,080,199
2
1
null
null
null
null
UTF-8
Python
false
false
1,010
py
# Aproximaremos la raíz cuadrada de un número buscando incrementalmente todos los números posibles x = 12 eps = 1e-2 # Esta es otra forma de representar 0.01 step = eps ** 2 # Nuestro tamaño de incremento será el valor de eps al cuadrado n = 0 # Vamos a llevar la cuenta de cuantos intentos se han hecho ans = 0.0 #...
[ "kostadinov.shalon@gmail.com" ]
kostadinov.shalon@gmail.com
82eae675fe3e66ff075d4f6eafdf97368129ae30
ae99b262d427c39b89ce0e771c4591d2f303b889
/first_project/first_app/models.py
71c3e304abf3c24fd08657254e9be33055190c64
[]
no_license
Sudipta96/Django-deployment
fa2b5ae6ed9c343221f35eb0e9fc835f5541092c
7e5cfbe8b178a0df34cf9cde8ca81b3ae61da7d9
refs/heads/master
2022-04-11T02:53:12.058350
2020-01-30T13:19:07
2020-01-30T13:19:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from django.db import models # Create your models here. class Topic(models.Model): topic_name = models.CharField(max_length=30,unique=True) def __str__(self): return self.topic_name class WebPage(models.Model): topic_name = models.ForeignKey(Topic,on_delete= models.CASCADE) name = models.Char...
[ "sudiptasarker583@gmail.com" ]
sudiptasarker583@gmail.com
3d8e087c32269d3024415ff947d05fb54bc4b5ae
826085daea311de883ad1e8dfcc8ef5569f087bf
/broca/similarity/term/wikipedia.py
33c38f57abeaea4f2b39766fd32b32d37969b214
[ "MIT" ]
permissive
parksebastien/broca
f2d10cfd6a7dcc6c069ee2e69d5faeb2e1004b67
7236dcf54edc0a4a54a55eb93be30800910667e7
refs/heads/master
2020-05-22T09:48:19.417396
2015-09-10T12:35:56
2015-09-10T12:35:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from scipy.spatial.distance import pdist, squareform from broca.similarity.term import TermSimilarity from broca.knowledge.wikipedia import Wikipedia from broca.vectorize.bow import BoWVectorizer class WikipediaSimilarity(Wikipedia, TermSimilarity): def __init__(self, terms, wiki_conn=None): """ I...
[ "f+accounts@frnsys.com" ]
f+accounts@frnsys.com
ef7df5c635ee7e5685a618e20e29cb2923ecaf40
48c652e473dc9011503e4795c8248d2f0823ac1f
/testenvironment/bin/easy_install-3.8
f792796f0e15ba054ac0f363d35e9c7f77b00a80
[]
no_license
preeti1510/django3-pre-portfolio
7128e70721c8accdf72dca36f54914eb4720c854
791f5d787741b7eb47ddb8e248f68185cec4ed92
refs/heads/master
2022-07-03T23:40:49.174060
2020-05-12T09:35:15
2020-05-12T09:35:15
263,023,637
0
0
null
null
null
null
UTF-8
Python
false
false
283
8
#!/home/preeti15/django3-pre-portfolio/testenvironment/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "preeti.s9215@gmail.com" ]
preeti.s9215@gmail.com
3e8441e8954ef683fedb483dd2d4f3802f4aa21f
a1e7a01f37a8ce859d182f83fbcc71309992e6ae
/switchbot/const.py
611ee0b72bc75866a143ffbcd4108ac46de04bf6
[ "MIT" ]
permissive
Danielhiversen/pySwitchbot
d771783290631676519e75f7081e40f5d172885c
2db1006e5f8be8212737b3c8eb4cff22eabc5a0b
refs/heads/master
2023-06-23T19:52:08.645269
2023-06-19T14:30:12
2023-06-19T14:30:12
147,250,077
72
47
MIT
2023-08-29T18:01:18
2018-09-03T20:21:57
Python
UTF-8
Python
false
false
1,332
py
"""Library to handle connection with Switchbot.""" from __future__ import annotations from enum import Enum DEFAULT_RETRY_COUNT = 3 DEFAULT_RETRY_TIMEOUT = 1 DEFAULT_SCAN_TIMEOUT = 5 from .enum import StrEnum class SwitchbotAuthenticationError(RuntimeError): """Raised when authentication fails. This excep...
[ "noreply@github.com" ]
noreply@github.com
2d0d27f46d9afd856acafd69bf26684b5b615324
f931242851c9b3ade7455e1d4179dfe063fa8dd1
/ThirdEye/boto_ex.py
ff6e745d5c4aff8c219817c89b7cf11f439ce368
[]
no_license
sanishetty/ThirdEye
a8194e0c91429b917e077cd71bad017c2c1f1401
b574ebb253b15e27e3225df8407e7afe6226b021
refs/heads/master
2021-09-13T07:54:42.091548
2018-04-26T20:47:51
2018-04-26T20:47:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
import boto3 from pprint import pprint s3 = boto3.resource('s3') print(s3.buckets.all()) for bucket in s3.buckets.all(): print(bucket) print('Done.') ec2 = boto3.resource('ec2') print("\nEC2 Instances(id,state)") for ins in ec2.instances.all(): print(ins.id, ins.state)
[ "sania.shetty1993@gmail.com" ]
sania.shetty1993@gmail.com
198ee3129c4d1c35e445b785a839c9e4640bc1b0
7e6f5dae51e9eb20f3c43dba84b2015b8e4b0847
/main.py
5a1b538b4fbf37257b18197a90e12cbbacdcaae0
[]
no_license
eamobire/flash-card-project-start
822c38b4f34d323808e6205409b2d23b93dea1c0
f012fcdebe872837c13006d1c0feac940c1ad164
refs/heads/master
2023-05-02T07:19:57.757312
2021-05-18T20:00:32
2021-05-18T20:00:32
368,652,577
0
0
null
null
null
null
UTF-8
Python
false
false
2,152
py
from tkinter import * import pandas import random to_learn = {} current_card = {} BACKGROUND_COLOR = "#B1DDC6" try: data = pandas.read_csv("data/words_to_learn.csv") except FileNotFoundError: original_data = pandas.read_csv("data/french_words.csv") to_learn = original_data.to_dict(orient="records") else: ...
[ "eamobs@gmail.com" ]
eamobs@gmail.com
3f060308edff9b06c0205ec23876a53a6661f5c1
01721a4c150cc14d0a2f4a97f5540a20f062c4d2
/Server/speech_input.py
3a28ef2445a8fa496920001f52377b7d97ca60cd
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
andrew-zhan139/Ctrl-Air-Space
a3b17a6c9021e20fc2f62870602b93f1d54bbd02
9cba3cdd98e14ee7b3c6baa6ae6211ccbcba51ec
refs/heads/main
2023-03-03T20:52:42.822699
2021-02-13T18:22:32
2021-02-13T18:22:32
330,211,885
3
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
import azure.cognitiveservices.speech as speechsdk import pyautogui import json import os # If want to use voice recognition feature, you must add your Azure Speech Service Key and Region in the settings.json file settings_path = "settings.json" if os.path.isfile("settings.json") else "Server/settings.json" if os.path...
[ "chcheung.office@gmail.com" ]
chcheung.office@gmail.com
0e1a466c84c1bbada633a51528210dbb55c36aa2
9040840053cc6fee5c0332d36b7d5a37df2fc503
/blog/forms.py
16190f164860eaf196801396d98a103d97a73f1b
[]
no_license
ChristiWilson/try_python
b196ff41631a5b826d1643772ffce7d6e6466f6b
9c2e77449386da767061ac36531905ec4653d4c9
refs/heads/master
2020-05-09T20:13:30.925529
2019-04-17T03:34:49
2019-04-17T03:34:49
181,399,414
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
from django import forms from .models import BlogPost class BlogPostForm(forms.Form): title = forms.CharField() slug = forms.SlugField() content = forms.CharField(widget=forms.Textarea) class BlogPostModelForm(forms.ModelForm): class Meta: model = BlogPost fields = ["title", "image"...
[ "Christi@ChristiWilson.com" ]
Christi@ChristiWilson.com
5cc176da258299c6ddf7a86b3875331dc23f0c4a
2f418a0f2fcca40f84ec0863b31ff974b574350c
/scripts/addons_extern/BlenderGIS-master/misc/view3d_setCamFromExif.py
af1522a46f970af7b694e7e71938eb00d01e6db1
[]
no_license
JT-a/blenderpython279
57a81b55564218f3b1417c2ffa97f5161897ec79
04846c82f794c22f87d677d9eb8cec1d05c48cda
refs/heads/master
2021-06-25T06:58:07.670613
2017-09-11T11:14:36
2017-09-11T11:14:36
103,723,697
4
2
null
2017-09-16T04:09:31
2017-09-16T04:09:31
null
UTF-8
Python
false
false
9,569
py
# -*- coding:utf-8 -*- # ***** GPL LICENSE BLOCK ***** # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This...
[ "meta.androcto1@gmail.com" ]
meta.androcto1@gmail.com
b760423756b3bf917362fb5fbd7fc8d25ada43d7
4f883962ebed2d49761a517000799adda60d9797
/183-16-346_Prosenjit_Chowdhury.py
0340dabe5af3ef6b470775bbf6e9f2df4a53d7e6
[]
no_license
prosenjit-chd/Python-problem-solving
cfefec3adef99d2cc7cd5c13c305a4d8e1bfc93c
e36561640f1453c3b14c06e0a8c392a1a2a6373d
refs/heads/main
2023-02-13T08:00:36.933374
2021-01-14T05:54:23
2021-01-14T05:54:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,387
py
#!/usr/bin/env python # coding: utf-8 # In[1]: import pandas as pd import numpy as np import matplotlib.pyplot as plt # get_ipython().run_line_magic('matplotlib', 'inline') # In[3]: dtframe = pd.read_csv("CONVENIENT_global_confirmed_cases.csv") dtframe dtframe = dtframe.iloc[1:] dtframe # In[5]: df = dtframe[...
[ "prosenjit.chd@gmail.com" ]
prosenjit.chd@gmail.com
27ddefd26f13bb3c2e80ec58bb7d3f0ea384e3a4
00c540041f5a158410c7f5d733f2332e26faaa3a
/tests.py
d4f1a5602104aee9836b39d1394204b62f6cdc42
[]
no_license
turmannn/trav_app_test
abd9cc1565e0f68f16af5298df155021478b4c1e
b5081aa3ed0422eda536c71f800227ab9939dd51
refs/heads/master
2021-01-10T03:01:33.411254
2016-02-23T03:56:57
2016-02-23T03:56:57
52,112,295
0
0
null
2016-02-19T20:02:46
2016-02-19T19:48:02
null
UTF-8
Python
false
false
682
py
from selenium import webdriver from selenium.webdriver.support.ui import WebDriverWait import unittest from page import * class BaseTest(unittest.TestCase): def setUp(self): self.driver = webdriver.Firefox() def tearDown(self): self.driver.close() class MainPageTests(BaseTest): def test...
[ "temiy@tut.by" ]
temiy@tut.by
5c2128c48f6cca29296f7fb6db51371bf51bddfe
e9e083aa75398a015e55ec5de655c262eb1496c6
/mod5-adv/threads/simple-non-daemon.py
c84fa8b3f9455600fa262c7ffd6e93d45bccacc2
[]
no_license
michaelconst/csuf-pythonprog
54d98a878b34038a067c07c649a6025b8380b971
017ec2004482bbd20ce24d6c5ec8f0ae2a6cdb78
refs/heads/master
2021-01-21T10:00:30.268732
2017-03-14T01:29:44
2017-03-14T01:29:44
83,357,234
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import threading import time import random def do_work(t): print('[{}] sleeping {}s'.format(threading.current_thread().name, t)) time.sleep(t) print('[{}] exiting'.format(threading.current_thread().name)) for i in range(5): threading.Thread(target=do_work, args=(random.randint(1, 5),)).start()
[ "constantinm@sharplabs.com" ]
constantinm@sharplabs.com
f63cba311274c50550ab3646cb08e9203bacea0f
9d961bd6a590cc96db0c1f9c72d84e3a66636edf
/심심풀이땅콩/[백준]2920.py
66cc611eced9e2f94957f850a848db3dff36e886
[]
no_license
0equal2/Python_Programming
bae65338929e8e1a88247b8d23de805caa026702
2ac1d0262320220f49cbdb45e787e55e994d0b0f
refs/heads/master
2023-05-14T22:13:41.583214
2021-06-09T03:04:51
2021-06-09T03:04:51
304,628,012
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
###[백준]2920 info=list(map(str,input().split())) info="".join(info) if info=="12345678": print("ascending") elif info=="87654321": print("descending") else: print("mixed")
[ "duddms0115@gmail.com" ]
duddms0115@gmail.com
2227429d9fa95a9f75c2536f46f71fd4fcc48a68
215b0cac3e85b0cebc0494f81d3143f6a4fd60aa
/python/examples/displayIP.py
b521a36fec31d26733a57a9fa3bf55f91344fde2
[ "BSD-2-Clause" ]
permissive
xHeliotrope/led_tweet_writer
094dcf15bea66e4662c5fd370178b8198def0145
ab6de46097e11d79ba7f9a49ea388a09d829da04
refs/heads/master
2021-05-07T16:45:59.938669
2017-10-28T23:51:36
2017-10-28T23:51:36
108,601,021
0
0
null
null
null
null
UTF-8
Python
false
false
3,222
py
import sys import time from neopixel import * from constants import alphabet, letterSpace, space WAIT_MS = 75 NUMROWS = 8 NUMCOLS = 32 col = Color(0, 0, 255) off = Color(0, 0, 0) LED_COUNT = 256 # Number of LED pixels. LED_PIN = 18 # GPIO pin connected to the pixels (must support PWM!). LED_...
[ "rmoore8869@gmail.com" ]
rmoore8869@gmail.com
4ccb39379284a4fb075d4e42f064302fdbeb8247
6d0d257a517185440fa62e8ee28f844bb2eb6497
/programmers/counts_of_divisor_and_addition.py
a705611ff3027db370e98df3167b16131e9de91d
[]
no_license
lein-hub/python_basic
ba0510125a2904f9b92a900929f58551265e0084
e73a9d4c8118b7b2d2cb7ed8742f0e0325b6e29b
refs/heads/master
2023-08-29T07:45:36.632854
2021-11-11T11:32:15
2021-11-11T11:32:15
404,591,900
0
0
null
null
null
null
UTF-8
Python
false
false
315
py
def solution(left, right): result = 0 for i in range(left, right+1): count = 1 for j in range(1, i//2 + 1): if i % j == 0: count += 1 print(count) if count % 2 == 0: result += i else: result -= i return result
[ "75424893+lein-hub@users.noreply.github.com" ]
75424893+lein-hub@users.noreply.github.com
a12c85993a5a9e530c8f2bcbdc8064958ecaf46d
36108231214b5988684298e0915125831c626d30
/fortuneteller/randomfortune/urls.py
8e8a0e951ba9dbbf111c758b11fe8a6d59acd9a1
[]
no_license
obinnadtq/Fortuneteller
2dcfb8a5a73fa196d272259bd7ae26ffbbbfc401
b4d920d95cc357fb16724234fa8489872633d7ae
refs/heads/main
2023-04-29T13:53:12.081400
2021-05-22T00:11:52
2021-05-22T00:11:52
369,679,558
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
from django.urls import path from . import views urlpatterns = [ path("", views.fortune) ]
[ "obinnaisiwekpeni@Obinnas-MacBook-Pro.local" ]
obinnaisiwekpeni@Obinnas-MacBook-Pro.local
443785d15570b7fe708fa5fcbc7af01a4bdc49a0
0228a33b8a2a7a7652a950da2701f6b4ba95d99d
/requests/models.py
0af541da11d38b6f3f5364f88be2e4014a646b21
[]
no_license
tackc/pythonCRUD
a428036c726ddf43ee707af0011c55d81c36f738
56cb85cc9fcb7cc3293dc1c893c6aeb1679c7330
refs/heads/master
2022-12-28T20:09:16.727839
2020-09-22T05:39:00
2020-09-22T05:39:00
295,620,817
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from django.db import models # Has a SQLite DB with a table named `requests` that has the following columns: # id (viz. autoincrementing int) # type of request (e.g. GET, POST, PUT, DELETE) # time of request (datetime) # comment (text, NULL by default) class Request(models.Model): # id = models.AutoField(primary_ke...
[ "chris_tack@mac.com" ]
chris_tack@mac.com
345299af5764903387076aba966b197662eecedb
154fb5b8e733452dcb1f8e01fd4379d24d8b111c
/GUI0/ErsterTermin/Utils/miniircd
3f3de5db793edd8254a8137b928d2753c79dce78
[]
no_license
ag-syssoft/Components2016
f57cb4a642eb49e4ae7a5ed4f5c05257dae50046
552e652d4f252ac0817959f23eb587ca8c7dae2b
refs/heads/master
2022-05-12T12:10:33.731797
2017-04-16T20:04:20
2017-04-16T20:04:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
38,197
#! /usr/bin/env python # Hey, Emacs! This is -*-python-*-. # # Copyright (C) 2003-2016 Joel Rosdahl # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at yo...
[ "jk@jascha-knack.de" ]
jk@jascha-knack.de
80ac51ff0828f84a2fb46db8e70ca06114cf1f43
0f5a1b4c8abeab2c745c74f5a25e41a76b7502b0
/playerset5.48.py
e53c53f1c64aa9c3347412461f1d20a07b185e27
[]
no_license
sujatha-2/test
d0c7af8a11061ce45acd19e86c3e7cfc50f43179
9a6338fabd4168ae327cdc61e790dddfda8bba9d
refs/heads/master
2021-07-19T13:28:46.356761
2019-01-09T09:19:10
2019-01-09T09:19:10
148,427,865
0
0
null
null
null
null
UTF-8
Python
false
false
499
py
import math def sumofoddFactors( n ): res = 1 while n % 2 == 0: n = n // 2 for i in range(3, int(math.sqrt(n) + 1)): count = 0 curr_sum = 1 curr_term = 1 while n % i == 0: count+=1 n = n // i curr_term *= i ...
[ "noreply@github.com" ]
noreply@github.com
bd33d71fa665d86364b9bba84ccd0d1a1e8b02ce
94938d2bea24052f95a6b07ede220229d5c2bc87
/source_code/neural_network_ml_classifier/data_processor/split_data_set.py
d8070b8f8d30eae80b16474ae2e10e63aaeaace9
[]
no_license
pushpit-UIUC-courses/TextInformationSystem-CourseProject
b24e81d20bf7109619141b57bb9c8a1fe66d1eda
f100a0dbed3f1dfd953bc5a9ea72f3ac2e8962e2
refs/heads/main
2023-01-29T14:31:42.199290
2020-12-13T21:36:55
2020-12-13T21:36:55
306,724,829
0
1
null
2020-12-13T21:36:56
2020-10-23T19:07:09
Jupyter Notebook
UTF-8
Python
false
false
1,537
py
import pickle from sklearn.feature_extraction.text import TfidfVectorizer import numpy as np from sklearn.model_selection import train_test_split # This script reads the data from the paths defined in "pos_data", "neg_data" variables # Shuffles the data and split in to 85% training set, 15% test set. # pos_data: posit...
[ "pushpit.saxena1511@gmail.com" ]
pushpit.saxena1511@gmail.com
e5734d4b75fc41ade857e0c16076011c6aceecd3
5127f92ca8ea72b9ead8fe3b1543b1c23e93d892
/assaignment2-0.py
1759ad2426a44d5ec09c132b925e70851c887895
[]
no_license
mcconnekeelanr/CNS210
f36f50d03b61889ebe210675c6018e53ab5a66b0
3b3c41f8eec26c7c4840e14576edcbeda8585ffb
refs/heads/master
2021-05-17T07:26:43.495010
2020-05-08T05:38:12
2020-05-08T05:38:12
250,696,889
0
1
null
null
null
null
UTF-8
Python
false
false
1,154
py
#!/bin/python3 import urllib.parse import urllib import urllib.request import re import requests from bs4 import BeautifulSoup import argparse parser = argparse.ArgumentParser("DOWNLOAD STUFF") parser.add_argument("userchoice",help="python 2.7.4, 3.3.1, or 3.2.4", choices=["2.7.4", "3.3.1","3.2.4"]) print("choose wis...
[ "noreply@github.com" ]
noreply@github.com
6a726761b329c956b3768f904b22bebfcb704b34
2359121ebcebba9db2cee20b4e8f8261c5b5116b
/configs_pytorch/f30_pt.py
ab367f0af0238b8e8079026ca000938067363cfa
[]
no_license
EliasVansteenkiste/plnt
79840bbc9f1518c6831705d5a363dcb3e2d2e5c2
e15ea384fd0f798aabef04d036103fe7af3654e0
refs/heads/master
2021-01-20T00:34:37.275041
2017-07-20T18:03:08
2017-07-20T18:03:08
89,153,531
2
1
null
null
null
null
UTF-8
Python
false
false
6,549
py
#copy of j25 import numpy as np from collections import namedtuple from functools import partial from PIL import Image import data_transforms import data_iterators import pathfinder import utils import app import torch import torchvision import torch.optim as optim import torch.nn as nn import torch.nn.functional...
[ "frederic.godin@ugent.be" ]
frederic.godin@ugent.be
52fc0a314b8c7900c41339efe131dd5f2bc66806
8c69736d7ac2541be761d728284d315cefa90d28
/nodes/1.x/python/Element.Category+.py
1d9538abcbb641afdd57cccc319aef7a91d65b65
[ "MIT" ]
permissive
ptrklk/ClockworkForDynamo
21ae4ab4ab70d02b6d706f16f312865cd73c4ace
90293d8fb74e6b3339acd6ca4ff69f695b6a02ac
refs/heads/master
2020-03-26T07:50:47.053264
2018-07-28T07:55:10
2018-07-28T07:55:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import * clr.AddReference("RevitNodes") import Revit clr.ImportExtensions(Revit.Elements) def GetCategory(item): objtype = item.GetType().ToString() if objtype == "Autodesk.Revit.DB.ViewSchedule": return Revit.Elements.Category.ById(item.Definition.Cate...
[ "dieckmann@caad.arch.rwth-aachen.de" ]
dieckmann@caad.arch.rwth-aachen.de
33270c868df62e8cea87b36283aa0cb8d68e895d
184ab8ee0e754bf917960dbb0f3840fc41ca0241
/S4L30-Classes & Objects.py
a0672d1e49a0ad9d8c43eab60a0a42733c1f0b5b
[]
no_license
sumitpagrawal/PythonProject
0df3b15b3fa5fc67f98a94a06a26492d25be7a80
da7cc993e810cefddbcc2dbd61a1fb5e65c9b358
refs/heads/master
2020-03-09T10:49:43.648384
2018-04-15T04:25:20
2018-04-15T04:25:20
128,746,171
0
0
null
null
null
null
UTF-8
Python
false
false
255
py
import random class Enemy: atkl = 60 #Attak low atkh = 80 #Attak high def getAtk(self): # self - its the object instanciated from the class print(self.atkl) enemy1 = Enemy() enemy1.getAtk() enemy2 = Enemy() enemy2.getAtk()
[ "sumitpagrawal@gmail.com" ]
sumitpagrawal@gmail.com
b55ebb5bb6b497313cc4eb21e5519b1e8693f38e
497ac83719275097420a2ff4c07f62a628094373
/Lista1/lista1.py
4b65e40f60ecd3420e103d9658bd5f7d4b28c90c
[]
no_license
sarcinelliRenan/Aprendizado-de-maquina
c0ed913235cccdc62cd34dd1a38406b9948cdcfa
3df7e899b3b0c2abb62e039836e22c5e30ceb887
refs/heads/master
2020-03-13T10:27:24.220260
2018-07-11T20:47:00
2018-07-11T20:47:00
131,083,866
0
0
null
null
null
null
UTF-8
Python
false
false
37,837
py
# -*- coding: utf-8 -*- """Lista1.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1jWzdeWyIlGU-04y6TsOxbglpMFXhTZHu # Lista de exercícios 1 <br/>**Disciplina**: Aprendizado de Máquina <br/>**Professor**: Dr. Patrick Marques Ciarelli **Aluno**: ...
[ "sarcinellirenan@gmail.com" ]
sarcinellirenan@gmail.com
cd8c4a157f22cc66d9a30755be0845906cc4c9e7
1ca08a8276f97c9e2560486ed19522e6a88b97d1
/tutorial.py
6d48cce43cab1465552a194839fdb44f786ca0a2
[]
no_license
cliebner/PVresearch
6cc2e2c25d06c9592de9c60d08ff52f958a95f5e
d5819485648273c69f2db276fcc2e289e7bebb0f
refs/heads/master
2020-04-16T02:14:27.454762
2017-07-18T18:22:34
2017-07-18T18:22:34
57,318,134
5
1
null
null
null
null
UTF-8
Python
false
false
188
py
__author__ = 'christina' # import pvlib as pv import matplotlib matplotlib.use('tkagg') import matplotlib.pyplot as plt plt.plot([0,1,4,9,16,25, 36, 49, 64], 'ro') plt.show()
[ "christina.liebner@gmail.com" ]
christina.liebner@gmail.com
0f2fb13936f02c57c1615fa5ae66848d7554ac5b
34ed92a9593746ccbcb1a02630be1370e8524f98
/lib/pints/pints/tests/test_log_likelihoods.py
abe63310e1b7037b4ac373902937a301a887133a
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
HOLL95/Cytochrome_SV
87b7a680ed59681230f79e1de617621680ea0fa0
d02b3469f3ee5a4c85d756053bc87651093abea1
refs/heads/master
2022-08-01T05:58:16.161510
2021-02-01T16:09:31
2021-02-01T16:09:31
249,424,867
0
0
null
2022-06-22T04:09:11
2020-03-23T12:29:29
Jupyter Notebook
UTF-8
Python
false
false
29,817
py
#!/usr/bin/env python3 # # Tests the log likelihood classes. # # This file is part of PINTS. # Copyright (c) 2017-2019, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # import unittest import pints import pints.toy import numpy as np class Tes...
[ "henney@localhost.localdomain" ]
henney@localhost.localdomain
7691280ef45508cee67dc040a51eff74f7c5704b
d5eb3295a7384e5cd00de4f9ca582bc3baf20e3f
/COLLECT-IOS-OUTPUT/Link_Result.py
908a22d9c5d5c53848e0a8b2a2a3e2c5b6fd4c58
[]
no_license
wucooper/SSH-CISCO
d54ebb7986201f71cfbf51a2b2be1ea6ba64442b
3548bc28bdf667df2f058b15039667a02fd3f05b
refs/heads/master
2020-08-08T07:15:50.893590
2019-10-09T01:12:40
2019-10-09T01:12:40
213,775,045
0
0
null
null
null
null
UTF-8
Python
false
false
440
py
#!/usr/bin/env python import yaml from flask import Flask, render_template import jinja2 DEV_LIST = [] app = Flask(__name__) @app.route('/') def load_html(): global DEV_LIST yml_stream = open('./GHD_HA_MONITORING_CUR.yml','r') DEV_LIST = yaml.load(yml_stream) yml_stream.close() return r...
[ "wuwei168@gmail.com" ]
wuwei168@gmail.com
9a305329c97e4fbed897b2e6c3ebc39494f48300
ef40704fc73b5423e8fd5265215c1e903561e0f7
/test-django/venv/bin/easy_install-3.6
b57325a5e629753bb15ae027e3f23df8bfb5bd77
[]
no_license
jason44406/python-projects
cfd397dec89ab6194ecca614d5bfde2cb0df8f65
7ced5ad511d8ccdb59d88b4594ea53a0430b290b
refs/heads/master
2020-04-16T08:09:13.637890
2019-01-26T14:13:21
2019-01-26T14:13:21
165,413,550
0
0
null
null
null
null
UTF-8
Python
false
false
277
6
#!/Users/jason/python-projects/test-django/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "Jason C" ]
Jason C
c83e72ec6ca1cb3d7f9fad995ad7f2a8f2ac895d
bf4013eb486725ed81f5b15d3d5efcd287a59460
/books/opera_book/export.py
727e66f9be1551042f8e2bbdf57e3c5a0c76d15e
[]
no_license
Majestychen/wordjoy
30e9b6e28f7b4e83600961f4b50a0521bd6e8c8c
12dfc03a56d4a7d53dcc24f39dd05941399936ec
refs/heads/master
2021-01-15T18:00:42.091867
2013-06-11T06:46:37
2013-06-11T06:46:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
#!/usr/bin/env python #-*- coding:utf-8 -*- import sqlite3 class Export(): """导出所有单词列表 """ def __init__(self, database): """ """ self.__database = database self.__connect() def __connect(self): """ """ self.conn = sqlite3.connect(self.__database...
[ "oyea9le@gmail.com" ]
oyea9le@gmail.com
a08b38faa2ac4577fbc67d293749443a33a6e5f5
e40376750d8e5b37715bfa1a349824ca3613a794
/Part1/mapper.py
66343b96fdd99a7b97ae966f98d0da188d3adbde
[]
no_license
livieee/MapReduce
d2e0a02e4b4517bb14ad67b4aed7a772537eda5c
890fc5346c69d18cec304f30ddbc310abb759915
refs/heads/master
2022-08-08T01:37:58.111462
2020-05-16T00:00:08
2020-05-16T00:00:08
264,323,875
0
0
null
null
null
null
UTF-8
Python
false
false
396
py
#!/usr/bin/env python import csv import sys reader = csv.reader(sys.stdin, delimiter=',') next(reader) for row in reader: # Write the key-value pair to stdout to be processed by # the reducer. # The key is anything before the first tab character and the # value is anything after the...
[ "noreply@github.com" ]
noreply@github.com
a3a3903cd807e179bed29599e95bd731499ab7cb
16791f2f2fc0655238a06c8799663c2a13b8bf3e
/bin/Legacy/test_existing_vs_layer_v2.py
3d56e5e2b65345376c868c3473acd36748b25af4
[]
no_license
wongliangze/drunken-ironman
19e12f82fd457d5893f15d22c3757e4b5befc1ac
2575ead4c27374830d6330c1f1e2cfc8a86b1549
refs/heads/master
2021-01-01T20:06:02.978298
2014-06-19T02:40:31
2014-06-19T02:40:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,165
py
# -*- coding: utf-8 -*- """ Created on Wed May 28 17:32:18 2014 @author: Liang Ze """ from __future__ import division import numpy as np import Core # Parameters hidden_size = 2 visible_size = 7 samples = 50 sparse_rate = 0.1 sparse_weight = 0.5 decay_weight = 0.6 data = np.random.rand(samples,visible_size) costs...
[ "liangze.wong@gmail.com" ]
liangze.wong@gmail.com
18e31e1e83c1f0f49a540005162919c6751fe8c5
859ba7e7d7e4f0670ded1343e052deee1554c70e
/untitled1_ex40.py
08d5c44cbbce69d79ada405e4349a96bbb669907
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
rafaelblira/exerc-ciospython
7eb258b8068ade66f75aea43f8550b696786d12e
ffe7182ac25c22ac0f799d6ecf13e68e998875ec
refs/heads/master
2022-05-25T05:08:32.463962
2020-05-01T13:37:03
2020-05-01T13:37:03
260,466,510
0
0
null
null
null
null
UTF-8
Python
false
false
498
py
n1 = float(input('Digite a primeira nota: ')) n2 = float(input('Digite a segunda nota: ')) media = (n1 + n2) / 2 if media >= 7: print('Tirando {} e {}, a média do aluno é {}'.format(n1, n2, media)) print('O aluno está APROVADO') elif media > 5 and media <= 6.9: print('Tirando {} e {}, sua média é {}'. forma...
[ "noreply@github.com" ]
noreply@github.com
4ef748121769af0048bb15f3f9278cf2ebd0a706
7cdcfd6dd28fc75e11a4f34b26ebe0a50405f23a
/catalog/models.py
eb3efa06e40cff7035cebed0a3da9e94c8b57b38
[]
no_license
green4x/django_local_library
2dd24c6715d9f458ed3235e782f745d9264030b7
728cadfb3881eb2fcddfbb01807c701eb6424a31
refs/heads/master
2020-04-24T03:47:22.119326
2019-02-21T11:08:37
2019-02-21T11:08:37
171,681,885
0
0
null
null
null
null
UTF-8
Python
false
false
4,146
py
from django.db import models from django.contrib.auth.models import User from datetime import date # Create your models here. class Genre(models.Model): """Model representing a book genre.""" name = models.CharField(max_length=200, help_text='Enter a book genre (e.g. Science Fiction)') def __str__(self):...
[ "red4x.mail@gmail.com" ]
red4x.mail@gmail.com
ca27d18394796f107ef0fb502c5dca401b10f406
6b007189eb46861fba91d2b36f08e59fb2e448e0
/LeetCode/InterviewQuestions/PasarPolis/second_largest_int_conversion.py
e61acc610d7dc9ee26d55104b9aa812a538a14fb
[ "Unlicense" ]
permissive
shreykhare/LeetCodeSolutions
bbd895f430db2b810c184425edfd5fc67642f869
92543c954801e5006a5059c1213d7b833b290e2e
refs/heads/master
2023-08-23T14:00:13.357835
2021-10-06T21:34:48
2021-10-06T21:34:48
296,578,251
0
0
Unlicense
2020-09-18T09:38:26
2020-09-18T09:38:25
null
UTF-8
Python
false
false
1,761
py
""" Write a function which takes an array of integers given as string as an argument and returns second max value from the input array. If there is no second max return -1. let's take some examples: 1. For array ["3", "-2"] should return "-2" 2. For array ["5", "5", "4", "2"] should return "4" 3. For array ["4", "4",...
[ "fvs@qlik.com" ]
fvs@qlik.com
c2be0c25c26720b8ccf2c12804b1ff8608c92969
55d0b65c7b9f725467355bbfa728dd5cf3e34657
/deep_boltzmann/deep_boltzmann/models/mueller_potential.py
1aeafeef1e472e0f6e0fee03e07c9364454b3148
[]
no_license
mohit2909/Boltzman_Generators
b06200dd6b565e6a04e7c80e24e00cacf6dc0eab
afe79fa584abe2ee429031387bb10d0d0b8cf7e2
refs/heads/master
2020-11-23T21:51:19.377901
2020-03-12T10:25:44
2020-03-12T10:25:44
227,761,578
0
1
null
null
null
null
UTF-8
Python
false
false
3,034
py
import numpy as np import tensorflow as tf class MuellerPotential(object): params_default = {'k' : 1.0, 'dim' : 2} aa = [-1, -1, -6.5, 0.7] bb = [0, 0, 11, 0.6] cc = [-10, -10, -6.5, 0.7] AA = [-200, -100, -170, 15] XX = [1, 0, -0.5, -1] YY = [0, 0.5, 1.5, 1] d...
[ "mohit299@yahoo.in" ]
mohit299@yahoo.in
03f18ee3bcca0419cb117de29e680bb955e83e41
b723dce343758f83c9df3f68f986f8e19eff215e
/spider_qiubai/qiubai_tpool.py
0f85f53fa5f52a19a7055469c36c887fe6b9e7ba
[ "MIT" ]
permissive
lp1225/other_spider
5af2fec6e886965e6d14584069ec63400ecca069
7fc246dda41a35bb8db6c33979fb702b5ebddaf8
refs/heads/master
2020-04-10T05:38:54.548588
2018-12-08T06:36:41
2018-12-08T06:36:41
160,833,679
0
0
null
null
null
null
UTF-8
Python
false
false
2,821
py
import requests from lxml import etree from bs4 import BeautifulSoup from queue import Queue from multiprocessing.dummy import Pool import time class SpiderQiuBai: def __init__(self): self.base_url = 'http://www.qiushibaike.com/8hr/page/{}' self.headers = { "User-Agent": "...
[ "1402412786@qq.com" ]
1402412786@qq.com
bc02bd5d06610caebebf2ffa034ff85777eb4b1d
d51e67abc7709b17664ee08eb9d68ecb938f00a9
/utils/farmbot.py
1ace2bcc577c12cf3db231e381d3c13f6f25e1c8
[]
no_license
averdier/farmware_watering_farmdesign
bb6d3d2615c8ac5294e3bbd61cea97cf0950e05c
d474d78629504907971c7f7b2ee6b88954f6f4cf
refs/heads/master
2020-03-30T09:26:40.012409
2018-10-02T09:16:04
2018-10-02T09:16:04
151,075,628
0
0
null
null
null
null
UTF-8
Python
false
false
2,367
py
# -*- coding: utf-8 -*- import uuid from time import time, sleep from .api import send_celery_script, log, get_resource from .geometry import Point3D def prepare_move_absolute_script(position, speed): return { 'kind': 'rpc_request', 'args': { 'label': 'farmware_circle_' + str(uuid.uui...
[ "a.verdier@outlook.fr" ]
a.verdier@outlook.fr
631b80890ec2de9a99b09a99a04c8962afd187d6
e1fada3a9846a5593e3d3d2fdc32b23b832e38b4
/tests/unit/cli/utils/test_hpo.py
a71d48a0cbb6160a41c64b495c9d45ad40b43c95
[ "Apache-2.0" ]
permissive
GalyaZalesskaya/openvino_training_extensions
fd1ebb189900008b16b85568449e5c62d8edbad5
6116639caeff100b06a6c10a96c7e7f5951f20c7
refs/heads/develop
2023-09-03T19:32:44.702497
2023-03-15T06:48:24
2023-03-15T06:48:24
202,568,309
0
0
Apache-2.0
2019-10-28T16:16:27
2019-08-15T15:41:59
Python
UTF-8
Python
false
false
27,415
py
import json from copy import deepcopy from pathlib import Path from tempfile import TemporaryDirectory from typing import List from unittest.mock import MagicMock import pytest import otx from otx.api.configuration.helper import create as create_conf_hp from otx.api.entities.model import ModelEntity from otx.api.enti...
[ "noreply@github.com" ]
noreply@github.com
2b9bacb7050fe1eb24ece4e8eb572e2926d53cb4
4f340ed313a67bddf077a9d8da2205b9c2feb29a
/emv/util.py
dd9f8ac0b99ed0b904b87cec4e819cd092561dd2
[ "MIT" ]
permissive
russss/python-emv
49b645be9ec60acc8cd23e95e5423a1b2c90a175
ce316ba05165e9b82026f72b55329b9bc287c0b8
refs/heads/main
2023-06-21T19:09:10.124472
2023-06-01T18:44:34
2023-06-11T15:26:11
76,971,486
105
30
MIT
2023-06-11T15:26:12
2016-12-20T16:10:14
Python
UTF-8
Python
false
false
1,096
py
import re def hex_int(val): """Convert an integer into a decimal-encoded hex integer as bytes, which the EMV spec seems awfully keen on. >>> hex_int(123456) [0x12, 0x34, 0x56] >>> hex_int(65432) [0x06, 0x54, 0x32] """ s = str(val) if len(s) % 2 != 0: s = "0" + s return...
[ "russ@garrett.co.uk" ]
russ@garrett.co.uk
4e3dbf1d5e5f1322b18d30e741a4ecefa93b1978
e7795082c0131682803a09e929a86b2deddeab74
/common/PackageRequest.py
55551a9dd599fd01e2d21b48e965acf577cdcab7
[ "MIT" ]
permissive
liwanlei/FXTest
01de3ad55849b16c49d93b58d1aae21fd0fdafa0
aeda58d01c14194290ca149d411c3a8596cca82d
refs/heads/master
2023-04-01T15:45:26.668688
2023-03-19T05:19:54
2023-03-19T05:19:54
97,098,845
807
419
MIT
2022-04-23T06:52:16
2017-07-13T08:27:48
Python
UTF-8
Python
false
false
5,324
py
# -*- coding: utf-8 -*- # @Date : 2017-07-20 15:13:25 # @Author : lileilei ''' requets模块的简单的封装 ''' import requests, json from config import Interface_Time_Out from requests import exceptions from common.systemlog import logger class reques(): def get(self, url, headers, parms): # get消息 try: ...
[ "leileili126@163.com" ]
leileili126@163.com
ae6eddaab99d4c2f15b97d125ccfdbfc13bfbc99
eda107e9318a0b2aaa82a6790a26a63d926f804d
/src/training/training.py
64dc60cee80238152f16338a58bf2b556baf7373
[]
no_license
horribleslug/SHOTTA-FLOW-4-REMIX-FT.-BLUEFACE
e3c3c35a875a18c39c6757d75d27e8fbd9500c46
1fddb13fb5110d52fc502e8d5c56cd1c91e609a1
refs/heads/master
2020-08-26T20:43:29.737621
2019-12-16T04:02:35
2019-12-16T04:02:35
217,140,758
2
0
null
null
null
null
UTF-8
Python
false
false
4,118
py
import numpy as np import cv2 import glob from keras import layers from keras import models from keras import optimizers from keras.utils import plot_model from keras import backend PATH = "/home/kausik/enph353/SHOTTA-FLOW-4-REMIX-FT.-BLUEFACE/src/training/pictures" LETTER_WIDTH_THRESH = 60 LETTER_HEIGHT_THRESH = 60 ...
[ "kausikkris10@gmail.com" ]
kausikkris10@gmail.com
8c56d3befb43633e8ded89b547f95b0ad2fe6cfd
3b21e66188a646c2a876fc283a19265ef891e277
/py/第二章:字符串和文本/2_16_以指定列宽格式化字符串.py
af2c985c37c77b666d02e82ab7d6f2ffbc095def
[]
no_license
Minsc016/ggstudy
f8139322d3f19b20fd39c43b972fe65d887592b4
00a75caad76eea213e7ece22f774ea4aace2bb13
refs/heads/master
2021-01-06T10:49:24.103229
2020-10-15T02:00:51
2020-10-15T02:00:51
241,302,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
######################################################################### # File Name: 2_16_以指定列宽格式化字符串.py # Author: Crow # mail:qnglsk@163.com # Created Time: Thu Nov 21 16:15:51 2019 ######################################################################### #!/usr/bin/env python3 # 有一些长字符串,想以 指定的列宽将它们重新格式化 # 使用 textt...
[ "qnglsk0@gmail.com" ]
qnglsk0@gmail.com
9f3c5e089ae047eccc7409ba654d7febe65e6240
6068923fe0c65f3cb79d00b01772356d8c14729a
/sw expert academy/Intermediate/기본 - Tree/1_subtree/subtree.py
b4cd7c07a7f435990c6b2da1de609165b601f78c
[]
no_license
jslee6091/SW_Algorithm
8eab8f1f07ddc6135a3b63a55d37b11002fd8b22
d5e580e4acd60e192fdc14fe6754a27f3ee95c84
refs/heads/master
2023-08-13T05:26:25.782693
2021-10-04T14:09:02
2021-10-04T14:09:02
330,440,965
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
import sys sys.stdin = open("subtree_imputs.txt", 'r') T = int(input()) def subtree(num): number = 1 if len(nodes[num-1]) != 0: for i in nodes[num-1]: number += subtree(i) else: return number return number for test_case in range(1, T + 1): E, N = map(int, input().sp...
[ "jslee6091@naver.com" ]
jslee6091@naver.com
7766872f7f542d461cbfe297d569640b5dd8760e
c33af8bb9b753b53a0bc2c2b1003ffc4962215bd
/flappy.py
52faf94f93c4d086cca84f43cd45652509295d4b
[]
no_license
MitanshGor/FlappyBirdPython
dc8e84ecec55ecbdb6c10881cd3d33006b2edd28
b085589ce4091b9346108d005f831dae25cb88e4
refs/heads/main
2023-09-01T15:14:31.422516
2021-10-21T18:12:28
2021-10-21T18:12:28
419,284,535
0
0
null
null
null
null
UTF-8
Python
false
false
9,145
py
''' Branch : CE Div : A Sem : 5 Authors: IU1941050060 : Raj Madhu IU1941050035 : Mitansh Gor IU1941050052 : Manav S Patel ''' import pygame,sys,random from pygame.constants import GL_MULTISAMPLEBUFFERS #this fn will draw 2 floors which will move one after other to show cont. motion def draw_floor(): screen.bl...
[ "gormitansh.com" ]
gormitansh.com
c2d01b5d527ad76dc88ed38af49bfe7bbfe6dcf6
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_8838.py
9260c4cc09a99e6f082dc00d995fd8e8dba08d41
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,842
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
dcd489a422ae85f38833f3b3b6951d818d3c6c12
a489a2abad91ae603b99d322b68f53b3d5831083
/compress_images.py
10ee2146c849bc9cf45ce55d28b8c3351ec6e4f3
[]
no_license
gbourgarel/Project
f0f025bd00dc55fde6593403de01737994367811
974ef00746673379d7e5331253376167e280e716
refs/heads/master
2021-03-07T05:09:23.858024
2020-03-10T12:50:57
2020-03-10T12:50:57
246,248,097
1
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
from PIL import Image, ImageFilter from tqdm import tqdm import glob, os paths=['RAIN_DATASET/ALIGNED_PAIRS/CG_DROPLETS/', 'RAIN_DATASET/ALIGNED_PAIRS/CLEAN/', 'RAIN_DATASET/ALIGNED_PAIRS/REAL_DROPLETS/', 'RAIN_DATASET/LABELLED/LABELLED_CG_RAIN_INPUTS/', 'RAIN_DATASET/LABELLED/LABELLED_CLEA...
[ "noreply@github.com" ]
noreply@github.com
9308e6343a4a33ebc579f7fae36f2709be7556a5
fc55afe8b8a7fb436b27459602730274eaa3beed
/flaskin/milkncookies.py
6597c5437d48cfdd7a987b742c508b8e12641765
[]
no_license
weissro/pyapivz
86a48101ff3c4f8afa3ad70b730e747cabfd291a
6ebbf14793e736774c413d1de1fd691cf98831fc
refs/heads/master
2020-07-07T16:25:52.101978
2019-08-22T20:31:28
2019-08-22T20:31:28
203,405,229
0
0
null
null
null
null
UTF-8
Python
false
false
825
py
#!/usr/bin/python3 from flask import Flask, make_response, request, render_template ## write some python code that connected to the database and pulled out the information you needed. app = Flask(__name__) @app.route("/index") @app.route("/") def index(): return render_template("index.html") @app.route("/setco...
[ "robert.weiss@verizon.com" ]
robert.weiss@verizon.com
8a1893e0ebd3b9e02b9ffda42dd79279306cdc05
6a4547451ec67acd9205b914060bf03f0b1081e1
/src/code1.py
810ade0b424b67cbdbd12ca3acdb9fdb77d2dda1
[]
no_license
Ryndom/Monte_Carlo
63da0dbe912c12cc490953d96f3a065e56e2f8d7
4dc78af55f2b982617f6ef53d371e0a3b1f76a08
refs/heads/master
2020-03-07T01:13:24.719516
2018-03-28T18:13:26
2018-03-28T18:13:26
127,178,025
0
0
null
null
null
null
UTF-8
Python
false
false
619
py
from random import random from math import hypot from PIL import Image from PIL import ImageDraw TRIALS=10**6 XMAX=500 YMAX=500 def main(): help = 1 inside = 0 img = Image.new('RGB', (XMAX, YMAX), "white") draw = ImageDraw.Draw(img) for i in xrange(TRIALS): x = random() y = random(...
[ "wood.shop@mac.com" ]
wood.shop@mac.com
f77f5363d6f47553328de36b6662574d65ffb2f4
dece3823ce6321b28463865f30b39dcfaaf8826c
/main_001.py
5801fa984bdad46bedde1f78ee70fe6446e6b941
[]
no_license
ordepzero/ensemble
7e40f9e34fdecec1f354c0e68133cbaac705ee2d
b8a5da6a5f50c3248433f3075a4603e94da9b071
refs/heads/master
2020-04-25T16:42:40.601404
2019-04-17T00:54:28
2019-04-17T00:54:28
172,921,616
1
0
null
null
null
null
UTF-8
Python
false
false
7,189
py
# -*- coding: utf-8 -*- """ Created on Thu Jun 14 07:30:16 2018 @author: PeDeNRiQue """ import svm as svm import scipy.io as sio import numpy as np import configuration import config_enviroment as config_e import preprocessing as prep import read_file as rf import sample import bases channels_names = ["FC5","FC3",...
[ "pedro.ul@hotmail.com" ]
pedro.ul@hotmail.com
2197ccaebce20b9ef0d05e424bad79bdff870009
7897d47317a0bcf213a08754cdf51ff9e0e42869
/project/routes.py
de74bd9687ac286ff40d6533ddfc12fa27dfd7e9
[]
no_license
KevChr93/pineapple
cb69be3ddac3108ae97375910873a3870ba9b29d
5e51762af9d08a13293f5d176d6333e801b7d6cc
refs/heads/master
2022-12-11T00:25:46.643006
2019-04-21T02:50:19
2019-04-21T02:50:19
182,477,326
0
0
null
2021-06-01T23:40:14
2019-04-21T02:25:47
HTML
UTF-8
Python
false
false
3,304
py
from flask import Flask,request, render_template, flash, url_for, redirect import json from project.models import User from project import app,host,db from project.forms import RegForm,LoginForm,subForm from project import bcrypt from flask_login import login_user, current_user,logout_user,login_required @app.befor...
[ "sendit2kev@live.com" ]
sendit2kev@live.com
6ba857f45be0a377186287819331c0f00d600dc2
411eff94020c192d5e5f657fa6012232ab1d051c
/game/src/coginvasion/attack/LinearProjectile.py
f5e3003258b6aada6e2dd3d56c10f9ceea59b384
[]
no_license
xMakerx/cio-src
48c9efe7f9a1bbf619a4c95a4198aaace78b8491
60b2bdf2c4a24d506101fdab1f51752d0d1861f8
refs/heads/master
2023-02-14T03:12:51.042106
2021-01-15T14:02:10
2021-01-15T14:02:10
328,268,776
1
0
null
2021-01-15T15:15:35
2021-01-09T23:51:37
Python
UTF-8
Python
false
false
484
py
from src.coginvasion.attack.BaseProjectile import BaseProjectile from src.coginvasion.attack.LinearProjectileShared import LinearProjectileShared class LinearProjectile(BaseProjectile, LinearProjectileShared): def __init__(self, cr): BaseProjectile.__init__(self, cr) LinearProjectileShared.__init_...
[ "maverick.liberty29@gmail.com" ]
maverick.liberty29@gmail.com
f90413e5f6f9b7b27188bad677b9dc723922f3fd
1f71f4e41c6aa789f7f5481bc369b852f9ac8eab
/cvat/apps/lambda_manager/tests/test_lambda.py
9409f2f9c400538428dfa6d7506be196ac1fa939
[ "MIT", "LGPL-2.0-or-later", "GPL-1.0-or-later" ]
permissive
shalevy1/cvat
2c7e041fa4c8b9a5166894b3ae5e7c28df5d8ae3
912e47e56c772eb6c2fb5b32f898b029a985fdfc
refs/heads/develop
2023-02-13T23:05:15.428038
2023-02-08T16:08:52
2023-02-08T16:08:52
200,596,810
0
0
MIT
2023-01-27T08:48:21
2019-08-05T06:39:24
TypeScript
UTF-8
Python
false
false
46,793
py
# Copyright (C) 2021-2022 Intel Corporation # Copyright (C) 2023 CVAT.ai Corporation # # SPDX-License-Identifier: MIT import json from collections import OrderedDict from io import BytesIO from typing import Dict, Optional from unittest import mock, skip import os import requests from django.contrib.auth.models impor...
[ "noreply@github.com" ]
noreply@github.com
1b392e96dea3bc4c7baebfd90006596440762416
30ba09b0a746b1cef4c817fd87f1f310904a6d88
/test/test_dialogs/test_title_screen.py
770f143c244c1bfcf20b45cf482ac9f12c0d5667
[ "MIT", "Artistic-1.0-Perl" ]
permissive
krother/tilegamelib
69e610959294ed950f49fefd8e7d50ceb1ba09ed
a8165f27b166acca37f81e8432a70e0b2e028338
refs/heads/master
2022-07-21T20:07:35.031330
2022-07-10T20:18:19
2022-07-10T20:18:19
1,045,043
5
2
null
null
null
null
UTF-8
Python
false
false
1,172
py
from unittest import TestCase, main from conftest import MENU_RECT, TITLE_IMAGE, TITLE_RECT from tilegamelib.dialogs.title_screen import TitleScreen from tilegamelib.events import QUIT_EVENT, EventGenerator from tilegamelib.menu import VERTICAL_MOVES class TitleScreenTests(TestCase): def setUp(self): se...
[ "krother@academis.eu" ]
krother@academis.eu
11cb64337e777c7ad3b65b63ecacbe284df42f95
46a9d8e7e2c9c5ff0c0ec88f36a8cff97491ebb7
/code/botcommon/models/person.py
b922259b79e74ded9e65a4c18d4ede6533534755
[]
no_license
marcgurevitx/comprendebot
c189e760239d59514b9c1f050b13bf32d45de0e1
6c02defb54b293a026d5645b22326e0cbddd0eb3
refs/heads/master
2023-03-17T08:06:30.477703
2021-02-26T16:07:37
2021-02-26T16:07:37
339,143,153
0
0
null
null
null
null
UTF-8
Python
false
false
6,357
py
import datetime import logging from nonelib import nonelist from psycopg2.extras import Json from botcommon.bottypes import ChallengeTypeCode from botcommon.choosers.challengetype import challenge_type_chooser from botcommon.config import config, calc_ratios from botcommon.models.basemodel import BaseModel logger = ...
[ "marcgurevitx@gmail.com" ]
marcgurevitx@gmail.com
e7ebc86bfcb5313184a0af5bf3d21c0db55d2c53
f6951e101981f8b7c8c9a8e3f82b61d401653689
/src/masking.py
0993c9040a5401f35d93bbd23f8ed2a4cb9f9d5e
[]
no_license
gbfelgas/cpe793-codec
d21e26a828dc523220489c02caf1b3d814332367
84c9168ae72bd8b7b7180e6f3ae310adbac31a7f
refs/heads/main
2023-08-25T07:13:03.631473
2021-10-28T02:18:44
2021-10-28T02:18:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
import numpy as np from src.utils import bark def delta_tone_masking_noise(z, delta): return delta + z def masking_model(bark, SPL, peaks, delta=15): sf_peaks = np.zeros((len(bark), len(bark))) teta = np.zeros_like(bark) for i in peaks: dz = bark - bark[i] teta[dz > 0] = 1 ...
[ "gbfelgas@gmail.com" ]
gbfelgas@gmail.com