blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
8b354179b8a8992d767d00a4edc6a9d8f61d5c3b
e1b8ae703c84f6a06dd3a3072cfa9afb7f9ebce7
/accounts/views.py
0173f6be5057efb35f374b1cdba19b08f80fd4c6
[]
no_license
Code-Institute-Submissions/renanclothestore
95a2a161f0f0046e328cb639a88ddaf6afaceae5
ea295d1643b06a1f5cdbdbafcdbe767d2c286648
refs/heads/master
2020-03-26T12:34:21.946183
2018-08-13T21:40:09
2018-08-13T21:40:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,209
py
from django.contrib import messages, auth from django.contrib.auth.decorators import login_required from accounts.forms import UserRegistrationForm, UserLoginForm from django.core.urlresolvers import reverse from django.shortcuts import render, redirect from django.template.context_processors import csrf from django.co...
[ "renanzabeu@yahoo.it" ]
renanzabeu@yahoo.it
8f404dd9f87feae9a0b2c22d54b7c1e5641b0c48
281fa4de7baa79587c7d1dedb63019627e429de0
/lesson1/Hello_Input3.py
531102bc4e305b9c90d292fbc657c41b9fc521ce
[]
no_license
vincenttuan/PythonCourse
a7b302324148633e84b9e6db3cc3b00eea8f08d4
648f342eb3c82b4bbd4e6575ef8e6e690322ce70
refs/heads/master
2020-04-18T17:32:55.734217
2019-03-30T08:31:13
2019-03-30T08:31:13
167,657,410
5
1
null
null
null
null
UTF-8
Python
false
false
440
py
# -*- coding:UTF-8 -*- import math h = 170.0 w = 60.0 bmi = w / ((h/100)**2) print('身體評量指數 bmi = %.2f' % bmi) bmi = w / math.pow(h/100, 2) print('bmi = %.2f' % bmi) print('h = %.2f, w = %.2f, bmi = %.2f' % (h, w, bmi)) print("h = {0}, w = {1}, bmi = {2}".format(h, w, bmi)) if (bmi >= 18.0 and bmi < 23) : print('正...
[ "vincentjava@yahoo.com.tw" ]
vincentjava@yahoo.com.tw
77ee955b11d10f5174a6ce0263c5c809f8f785ef
7e395a7ac6abec3fe24f4ca02d5370f1c8fb3c17
/DemoPrj_tent/employee_shared/views.py
46ff1396326f2b0f49311dd202b3bb110073e9c8
[]
no_license
udaykumaraodh/DjangoTentPrj
fbfe6929954846d3c9bc4815a06108eecf3ea54c
53d8c518247666f7325bb55672819dce66bf89a9
refs/heads/main
2023-07-27T21:06:11.704280
2021-08-31T16:28:49
2021-08-31T16:28:49
401,743,799
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
from django.shortcuts import render from django.http import HttpResponse from django.db import connection def empDetails(request): with connection.cursor() as cursor: cursor.execute('''Insert into employee_shared_empdetails(empno,ename,salary) values(103,'harish',30000.0) ''') connection.commit() ...
[ "udaykumarandolu@gmail.com" ]
udaykumarandolu@gmail.com
743939c27c7e0e8d00a2487a97e1bdf562484341
d3519a4d17c3a1097b6b16404d4657f3ab1035f7
/env/gym_Rubiks_Cube/envs/rubiks_cube_env.py
493f1074976e99b902f269699cccea4c176a2b66
[]
no_license
AveyBD/rubiks-cube-ai
1e7dc0d343e811d5fbe7dda989d61856266b9899
a0f276ca022a579c6d1d75f817993b1dae44ff89
refs/heads/master
2020-09-28T07:08:57.938186
2019-12-08T19:31:19
2019-12-08T19:31:19
226,719,959
1
0
null
2019-12-08T19:30:10
2019-12-08T19:30:09
null
UTF-8
Python
false
false
2,676
py
import gym from gym import spaces import numpy as np import random from gym_Rubiks_Cube.envs import cube actionList = [ 'f', 'r', 'l', 'u', 'd', 'b', '.f', '.r', '.l', '.u', '.d', '.b'] tileDict = { 'R': 0, 'O': 1, 'Y': 2, 'G': 3, 'B': 4, 'W': 5, } class RubiksCubeEnv(gym.Env): m...
[ "vivnps.verma@gmail.com" ]
vivnps.verma@gmail.com
a46da7b7026d254511b4f87b98c7230d86a6ee3b
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_299/ch153_2020_04_13_20_31_46_202522.py
3cb9afb3697ff5ec456e21b36cec4d500a24ee1f
[]
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
632
py
def agrupa_por_idade(dicio): criança = [] adolescente = [] adulto = [] idoso = [] dicionovo = {'crianças':criança, 'adolescentes':adolescente, 'adultos':adulto, 'idosos':idoso} for nome , idade in dicio.items(): if idade <= 11: criança.append(nome) elif idade <= 17: ...
[ "you@example.com" ]
you@example.com
b662116be5fba1510a240c78910795c6ec93caec
c839961aeab22795200d9edef9ba043fe42eeb9c
/data/script335.py
6eca8fa73f168a3bb922efb5448f2204b04c98c3
[]
no_license
StevenLOL/kaggleScape
ad2bb1e2ed31794f1ae3c4310713ead1482ffd52
18bede8420ab8d2e4e7c1eaf6f63280e20cccb97
refs/heads/master
2020-03-17T05:12:13.459603
2018-05-02T19:35:55
2018-05-02T19:35:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,287
py
# coding: utf-8 # **Cluster Visualization - Assets based on Structural NAN values** # In[ ]: # This Python 3 environment comes with many helpful analytics libraries installed # It is defined by the kaggle/python docker image: https://github.com/kaggle/docker-python # For example, here's several helpful packages to...
[ "adithyagirish@berkeley.edu" ]
adithyagirish@berkeley.edu
94ccbc6af940e19a5187ad8c2c0913db8af83b8d
04a77043cebd9415069aad4a6b8e7af077de1168
/2-python_opp/day04/Python_OO4/with.py
f38bdaf9633ae0eaac7bd82d4b73c4c65fce139f
[]
no_license
yangxiangtao/biji
a935fbc4af42c81205900cb95a11e98c16d739de
5c5f46e6c145fc02ea10b7befdc05c489fc3b945
refs/heads/master
2022-11-12T02:25:51.532838
2019-04-02T01:22:12
2019-04-02T01:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# with.py # with语句示例 # try: # #f = open("aaa.txt", "rt") # # 使用with语句,不管以下的操作是否 # # 发生异常,都能保证文件被正确关闭 # with open("a.txt", "rt") as f: # for line in f: # print(line,end="") # # with语句结束 # except: # print("文件操作失败") class A: #自定义资源管理器 def __init__(self, name): self...
[ "123@bb.com" ]
123@bb.com
d41d78e8572fe2ff96675b55eb8b75fc96cc4b9a
a5e6ce10ff98539a94a5f29abbc053de9b957cc6
/competition/20191124/d.py
fb87af6d47c3ddbc8bf896989ae9b64796fbfd70
[]
no_license
shimaw28/atcoder_practice
5097a8ec636a9c2e9d6c417dda5c6a515f1abd9c
808cdc0f2c1519036908118c418c8a6da7ae513e
refs/heads/master
2020-07-26T10:59:51.927217
2020-06-13T11:53:19
2020-06-13T11:53:19
208,622,939
0
0
null
null
null
null
UTF-8
Python
false
false
532
py
N = int(input()) g = [] for _ in range(N-1): a, b = map(int, input().split()) g.append((a,b)) d = {} for i in range(1, N+1): d[i] = [] d_lines = {} col = [1] n_cols = 1 d[g[0][0]].append(1) d[g[0][1]].append(1) d_lines[1] = [g[0][0], g[0][1]] for gi in g[1:]: a, b = gi[0], gi[1] n = 1 whil...
[ "shima.w28@gmail.com" ]
shima.w28@gmail.com
f1c9093fbdba3a7d1f45d8cd049d334f45a4d65c
d7ffbb47995f35b42b3e3d06d5fb14978440e766
/mysite/urls.py
cb583ad6c599aed51704ddf4cd3250a1c2c3bcc1
[]
no_license
githubjyotiranjan/django-restframework-api
032c39aa93fea125a63a546638f8750ba5b3860f
46affccbb1f72a488e382ad7dc8dacadc8e4e1c5
refs/heads/master
2020-03-20T15:56:30.233524
2018-06-24T04:28:16
2018-06-24T04:28:16
137,525,395
0
0
null
null
null
null
UTF-8
Python
false
false
1,190
py
"""mysite URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based ...
[ "jsatapathy007@gmail.com" ]
jsatapathy007@gmail.com
b529a2465a28b369f9bc16606c3b1b5d712fb008
7855dfd58df154a6f0a0d0939630fbc3ca24b0c1
/memegen/__init__.py
159ae96c2d670c3110c7aaedebcf52706c2a278c
[ "MIT" ]
permissive
neufeldtech/memegen
f17c7b4c9bcb849fc0e021a444eb5678ab7af06e
1375c7ca88b44fc435bb55992b5ef6b7ad882475
refs/heads/master
2020-12-25T15:51:08.260488
2016-06-06T01:38:11
2016-06-06T11:29:14
52,167,031
1
0
null
2016-02-20T17:56:40
2016-02-20T17:56:39
null
UTF-8
Python
false
false
296
py
"""Package for MemeGen.""" import sys __project__ = 'MemeGen' __version__ = '2.1' VERSION = "{} v{}".format(__project__, __version__) PYTHON_VERSION = 3, 5 if sys.version_info < PYTHON_VERSION: # pragma: no cover (manual test) exit("Python {}.{}+ is required.".format(*PYTHON_VERSION))
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
b8412b4889c039c927fe3d297dfdb00dbe224b5a
8130c34d546c323d6d5d2ca6b4a67330af08828f
/.history/menu_app/views_20210104161836.py
f2217c09ba6b4454c6940d53ef9b130fb78808e2
[]
no_license
lienusrob/final
ba2dad086fc97b21b537ef12df834dfadd222943
f2726e31f1d51450e4aed8c74021c33679957b28
refs/heads/master
2023-02-15T01:36:54.463034
2021-01-07T12:47:05
2021-01-07T12:47:05
327,279,792
0
0
null
null
null
null
UTF-8
Python
false
false
3,858
py
from .models import Cart, CartItem, MenuItem, ItemsCategory, Order, Orders, generate_order_id from account_app.models import Profile from .forms import AddToCartForm from django.views.generic import ListView from django.shortcuts import render, get_object_or_404, redirect from django.urls import reverse from djang...
[ "lienus.rob@hotmail.de" ]
lienus.rob@hotmail.de
101d748a0568052170a6d7e693048fe769ade8ae
7cce9875553a31b2ef2253792d46c488a8e5acb7
/keras/keras12_split2_pratice.py
eba9f6c7ecb0b719832496daab847b8985cdac43
[]
no_license
qzson/Study
8498f0b1612fb2f7947d5067b7275c338e0216c6
4b214e9efb0ad7a5e11bca58fd311ee66200ad5e
refs/heads/master
2022-12-01T15:16:00.966115
2020-08-14T08:16:42
2020-08-14T08:16:42
263,221,146
1
0
null
null
null
null
UTF-8
Python
false
false
2,302
py
# split 개인 연습 파일 # 1. train:val:test = 6:2:2 데이터 분리 import numpy as np x = np.array(range(1,101)) y = np.array(range(101,201)) from sklearn.model_selection import train_test_split x_train, x_test, y_train, y_test = train_test_split( x, y, shuffle = False, train_size = 0.6) x_val, x_test, y_val, y_test = trai...
[ "qzson@naver.com" ]
qzson@naver.com
f60d9436d6d9c1ff4d9caaf58ceab35dfe0ad001
9ebaf3720bed22f4b122ea530e6fa3921c2a71b4
/101_110_파이썬 분기문/104.boolean.py
b1e3d4c2024597f2b349bb9c4eced7625153f921
[]
no_license
dofany/python300
703b7ecb17aab718cb45ca7f4fc3cc325efed0f1
c0a30f8136ec66a4bdc66ce47cf8547fb508cefc
refs/heads/master
2023-04-20T10:45:06.290735
2021-05-08T08:15:21
2021-05-08T08:15:21
355,829,735
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
# 아래 코드의 결과를 예상하라. x = 4 print(1<x<5)
[ "kimdohwan17@gmail.com" ]
kimdohwan17@gmail.com
d16de8d3bf1afedbf28f3c59adba5016a078d48b
bc368e94d950af97b71e0b0c2a3d2b86c6a9d173
/learn-theano/learn/nn2.py
1d24fcba78306ab8cb4597b321cc554f35b414ff
[]
no_license
ChenLiangbo/Learning-python
6100c6ff74330fb1710622cdb22bde5a1d52e40b
868cc4d71d1b9bd362b9fac8a39f295037d20b4c
refs/heads/master
2020-06-11T07:42:04.434182
2018-05-08T05:06:14
2018-05-08T05:06:14
75,731,274
0
0
null
null
null
null
UTF-8
Python
false
false
1,852
py
#!usr/bin/env/python # -*- coding: utf-8 -*- import theano import theano.tensor as T from theano import function from theano.ifelse import ifelse import numpy as np from random import random print "strat build model ..." # http://www.tuicool.com/articles/M7FRziR # 定义变量: x = T.matrix('x') w1 = theano.shared(np.array([...
[ "chenlb@polarwin.cn" ]
chenlb@polarwin.cn
2f7b3ebc8907d6b393f102241244a36dbd7c459c
cbda89443b351bb2047180dad4e300c13dc3df7f
/Crystals/Morpurgo_all_atoms_Reorgs_qsplit_fittedscreens/Jobs/PDIF-CN2/PDIF-CN2_neut_neut_inner2_outer0/PDIF-CN2_neut_neut_inner2_outer0.py
15ddd8ba9e54cd3004aa0e5e5a64fa6fc1119384
[]
no_license
sheridanfew/pythonpolarisation
080f52979f98d26360a46412a10c8e3f51ee4549
178e2684e9a239a8e60af5f7b1eb414ac5f31e92
refs/heads/master
2021-07-10T01:07:40.978790
2021-03-11T16:56:37
2021-03-11T16:56:37
96,101,351
0
0
null
2017-07-03T13:37:06
2017-07-03T10:54:52
null
UTF-8
Python
false
false
5,854
py
import sys sys.path.append('../../../../../') from BasicElements import * from BasicElements.Register import GetRegister from BasicElements.MoleculeFactory import ReadMoleculeType from BasicElements.MoleculeFactory import GetMolecule from BasicElements.Crystal import * from Polarizability.GetDipoles import get_dipoles,...
[ "sheridan.few@gmail.com" ]
sheridan.few@gmail.com
13bb30d8a590842169beb86a035435accff49d55
add0bb7a309ea346614d7f560a24e653d3d0ff67
/pythonbase/数据解析/2.正则解析_分页爬取.py
fdab3e17bf3c37d2d29e351313833ffb684b8d18
[]
no_license
1572903465/PythonProjects
935aff08d5b3d3f146393764a856369061513d36
73576080174f72ea1df9b36d201cf3949419041b
refs/heads/master
2023-06-10T15:50:49.178112
2021-07-05T15:42:53
2021-07-05T15:42:53
301,328,267
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
# 需求爬取糗事百科中糗图模块下的所有图片图片 import requests import re import os if __name__ == '__main__': #创建一个文件加, 保存所有的图片 if not os.path.exists('./qiutuLibs'): os.mkdir('./qiutuLibs') # 设置一个通用的url模板 url = 'https://www.qiushibaike.com/imgrank/page/%d/' headers = { 'User-Agent': 'Mozilla/5.0 (Windows N...
[ "1572903465@qq.com" ]
1572903465@qq.com
4232950bb6747d83d1fbf6623c4a0579313b9c14
eef659a707d87e979741cc11ad59344c911790f5
/cc3/rest/serializers.py
3ab26544ea65b8b75307be53466128327e97be3c
[]
no_license
qoin-open-source/samen-doen-cc3
1e5e40a9b677886aa78f980670df130cbbb95629
8b7806177e1e245af33b5112c551438b8c0af5d2
refs/heads/master
2020-05-04T02:26:07.039872
2019-04-02T21:19:54
2019-04-02T21:19:54
178,926,274
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from rest_framework import serializers from cc3.cards.models import Card class CardSerializer(serializers.ModelSerializer): class Meta: model = Card fields = ( 'card_type', 'number', 'card_security_code', 'creation_date', 'activation_date...
[ "stephen.wolff@qoin.com" ]
stephen.wolff@qoin.com
537c884c6295315906c8b48d238b4689ecbbad55
e57d7785276053332c633b57f6925c90ad660580
/sdk/cognitivelanguage/azure-ai-language-questionanswering/samples/async_samples/sample_query_text_async.py
a34195f7e320e51f4760c054540dd55b0ae6b5c0
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
adriananeci/azure-sdk-for-python
0d560308497616a563b6afecbb494a88535da4c5
b2bdfe659210998d6d479e73b133b6c51eb2c009
refs/heads/main
2023-08-18T11:12:21.271042
2021-09-10T18:48:44
2021-09-10T18:48:44
405,684,423
1
0
MIT
2021-09-12T15:51:51
2021-09-12T15:51:50
null
UTF-8
Python
false
false
2,419
py
# coding=utf-8 # ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ """ FILE: sample_query_text_async.py DESCRIPTION: This sample demonstrates how to ask a question from supplied text data. USAGE: python sample_...
[ "noreply@github.com" ]
adriananeci.noreply@github.com
54f9c679ed4b9d269ac0c203e74bb78f7f17dd0b
b2758a5755d3712fef54ff004403cbf1d25c7956
/sourcefinder/image.py
b68587776e41dcb08574281553c5a0f25d14be8a
[ "BSD-2-Clause" ]
permissive
DavidRuhe/pyse
6fa34dbe247f44cee89e8bd84bc5e5efe245c047
a8310c2967bf597d265376e7e5bd8ca598bb34be
refs/heads/master
2022-12-07T14:51:16.857972
2018-03-28T15:15:05
2018-03-28T15:15:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,548
py
""" Some generic utility routines for number handling and calculating (specific) variances """ import itertools import logging import numpy from sourcefinder import extract from sourcefinder import stats from sourcefinder import utils from sourcefinder.utility import containers from sourcefinder.utility.memoize impo...
[ "gijs@pythonic.nl" ]
gijs@pythonic.nl
9c004b8f8bc3f269da8eea1ebaae63fe378d510a
31cc708f7e38017073cb148f33393aed879e27bb
/blog/migrations/0001_initial.py
0c440763cc8ed74b8afb6998860ff8c7b0306564
[]
no_license
rkdwldnjs1/My-first-blog
9a38820a1f9211052ff491945d7cd366a07b6783
f43b28a2a3eb00d70b326c103e3ae311299b4210
refs/heads/master
2020-03-22T01:35:19.576412
2018-07-01T09:14:50
2018-07-01T09:14:50
139,315,463
0
0
null
null
null
null
UTF-8
Python
false
false
1,052
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.13 on 2018-06-21 19:05 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dep...
[ "you@example.com" ]
you@example.com
83f869d6971a120fc931416ae7e1f6cc3824e0ea
045cb1a5638c3575296f83471758dc09a8065725
/addons/website_crm/models/__init__.py
266fafb332a6569b8e611cb61511f4b2ae4a4946
[]
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
190
py
# -*- coding: utf-8 -*- # Part of Harpiya. See LICENSE file for full copyright and licensing details. from . import crm_lead from . import res_config_settings from . import website_visitor
[ "yasir@harpiya.com" ]
yasir@harpiya.com
c99b8bdaa5e8f2344cdc98648368b6410b06dfad
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/eve/client/script/ui/shared/messagebox.py
d97d98c5ea0fb0485ea02234e8cd716ccb54e7bb
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,300
py
#Embedded file name: eve/client/script/ui/shared\messagebox.py import uiprimitives import uicontrols import uiutil import uthread import uicls import carbonui.const as uiconst import localization class MessageBox(uicontrols.Window): __guid__ = 'form.MessageBox' __nonpersistvars__ = ['suppress'] default_wid...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
ac325ec992292cfb4f5972a30cef9de1144e0730
47128c6ff1277eedf851670d33f7a288fdfe2246
/redis database/redis_hashs.py
972824bc49c27750abbba4a168846bf52f541d75
[]
no_license
chati757/python-learning-space
5de7f11a931cf95bc076473da543331b773c07fb
bc33749254d12a47523007fa9a32668b8dc12a24
refs/heads/master
2023-08-13T19:19:52.271788
2023-07-26T14:09:58
2023-07-26T14:09:58
83,208,590
0
0
null
null
null
null
UTF-8
Python
false
false
636
py
import redis redis=redis.StrictRedis( host='localhost', port=6379, db=0, password=8182757 ) ''' hash value -hset <myhash> <field> <hashvalue> -hget <myhash> <field> -hmset <myhash> <field1> <hashvalue> <field2> <hashvalue2> .. -hmget <myhash> <field1> <field2> .. -hgetall ...
[ "chati757@users.noreply.github.com" ]
chati757@users.noreply.github.com
790f67a27f41c7f4456c418cf0e03464a2005369
e4ee9f2ca60b60ea9fa1b05c982594a2c1b10484
/day61 课上笔记以及代码 django orm跨表查询/代码/manytable/app01/models.py
17295b515cdc4aa9e96bd4ea8605780ea96f0da5
[]
no_license
tianshang486/Pythonlaonanhai
100df2cc437aad1ee1baf45bdfc4500b1302092b
2a5b46986f5ca684b2ae350596e293db54e1e2f4
refs/heads/master
2022-09-19T02:16:56.972160
2020-06-04T09:24:30
2020-06-04T09:24:30
269,314,860
1
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
from django.db import models # Create your models here. from django.db import models # Create your models here. #作者表 class Author(models.Model): #比较常用的信息放到这个表里面 name=models.CharField( max_length=32) age=models.IntegerField() # authorDetail=models.OneToOneField(to="AuthorDetail",to_field="nid",on_delete=m...
[ "tianshang486@.com" ]
tianshang486@.com
d9883c55f4417a71358c9968e50ee92c86351fe8
1131148b4a368c959893c0b3115ac35735dde195
/setup.py
3659bddd44d06334873087da61d2d03bbf94b10d
[ "MIT" ]
permissive
radical-cybertools/radical.repex
d6db7251b2edfa4783113a217204f38c122dc91a
46b5afa6b656f7477de64e29d4e10e015095f91b
refs/heads/master
2023-04-30T04:39:27.796788
2022-08-15T11:00:36
2022-08-15T11:00:36
204,073,881
0
0
MIT
2021-11-23T18:01:42
2019-08-23T21:44:53
Python
UTF-8
Python
false
false
10,450
py
#!/usr/bin/env python3 __author__ = 'RADICAL-Cybertools Team' __email__ = 'info@radical-cybertools.org' __copyright__ = 'Copyright 2013-22, The RADICAL-Cybertools Team' __license__ = 'MIT' ''' Setup script, only usable via pip. ''' import re import os import sys import glob import shutil import subprocess...
[ "andre@merzky.net" ]
andre@merzky.net
fd4fd9e65dc6ee6914dcc793301d1b035fea57b1
3da6b8a0c049a403374e787149d9523012a1f0fc
/Coder_Old/早期代码/test6.py
73386cf5c9237f095c66d194c9e0dbf3b2a33fb8
[]
no_license
AndersonHJB/PyCharm_Coder
d65250d943e84b523f022f65ef74b13e7c5bc348
32f2866f68cc3a391795247d6aba69a7156e6196
refs/heads/master
2022-07-25T11:43:58.057376
2021-08-03T02:50:01
2021-08-03T02:50:01
348,922,058
3
3
null
2021-09-05T02:20:10
2021-03-18T02:57:16
Python
UTF-8
Python
false
false
363
py
user_answer_correct = False #False while not user_answer_correct: #True user_gender = input("请输入你的性别(F/M):") if user_gender == 'F': print("你是萌妹子!") user_answer_correct = True elif user_gender == 'M': print("你是糙汉子!") user_answer_correct = True else: print("输入不正确,请输入'F'或'M'")
[ "1432803776@qq.com" ]
1432803776@qq.com
79f773c3ae16399c5f62a3cf1fb0ce58800a4bfe
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_7/gdljam001/question1.py
82f4d81b71c8d1fa705a32a941e2345642497547
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
"""Enter strings delete duplicates print James Godlonton 29 April 2014""" def main():#Main function get input of strings and print unique ones print("Enter strings (end with DONE):\n") count=0 words=[]#array is used to keep order newWord=input("")#get first string #append to array ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
89407569d51f23f7788a8c25ad587b13bfa7d953
68a52ad1df836c9f6d922515b2f896b6928ce6a0
/SafetyProductionSystem/systemsettings/migrations/0003_auto_20190225_1623.py
899014ddee8e156d68343a14982871a4e35b7333
[]
no_license
Chuazhen0/SafetyProductionSystem
1141f845e04b032ff2a230c8def26066f061600c
442d5df3818d43aebb9830f2456c73018aae2acf
refs/heads/master
2020-05-20T12:47:46.365020
2019-05-08T09:56:01
2019-05-08T09:56:01
185,579,244
0
0
null
null
null
null
UTF-8
Python
false
false
889
py
# Generated by Django 2.0.5 on 2019-02-25 16:23 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('systemsettings', '0002_supervisiontype_form_use'), ] operations = [ migrations.AddField( model_name='kks', name='KKs...
[ "Caohuazhenrn@163.com" ]
Caohuazhenrn@163.com
8e718c6efb993cb859b4413f341342e7098c2c60
01062df369907a6ff4367ad006d9be75f3b0886f
/zvt/recorders/eastmoney/dividend_financing/__init__.py
49e6bf4757df6edae05a9e784d6be28b8a1da5cc
[ "MIT" ]
permissive
scanfyu/zvt
917d8dd6df63fd3d55183896710573700f615a0e
2ff38155bd85fb0945a7b45cad8dbdf2f175a3d5
refs/heads/master
2021-12-01T13:40:00.241766
2021-11-26T16:04:04
2021-11-26T16:04:04
186,553,012
0
0
MIT
2020-03-01T02:33:08
2019-05-14T05:46:40
Python
UTF-8
Python
false
false
1,256
py
# -*- coding: utf-8 -*- # the __all__ is generated __all__ = [] # __init__.py structure: # common code of the package # export interface in __all__ which contains __all__ of its sub modules # import all from submodule eastmoney_dividend_detail_recorder from .eastmoney_dividend_detail_recorder import * from .eastmoney...
[ "5533061@qq.com" ]
5533061@qq.com
c8495695dfc3158a39b3fd5002042159feee657f
74b12c96a73d464e3ca3241ae83a0b6fe984b913
/python/tvm/ir/memory_pools.py
6fa6bb41280ee5b88cdca8431f31b4201bd621c5
[ "Apache-2.0", "BSD-3-Clause", "Zlib", "MIT", "LicenseRef-scancode-unknown-license-reference", "Unlicense", "BSD-2-Clause" ]
permissive
masahi/tvm
cf765bb892655f02135e1ce3afde88698f026483
c400f7e871214451b75f20f4879992becfe5e3a4
refs/heads/master
2023-08-22T20:46:25.795382
2022-04-13T08:47:10
2022-04-13T08:47:10
138,661,036
4
2
Apache-2.0
2021-09-03T20:35:19
2018-06-25T23:39:51
Python
UTF-8
Python
false
false
4,811
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
masahi.noreply@github.com
272841adc8391f599019c7c4e827f9a9d32e39c6
bb5d587afdf7fb455972889b1453b48371b55c25
/my_projects/social_project/social_profile/urls.py
5ae5e9d4a2bf24fbbd6c72a76988e482e20487cd
[]
no_license
nilldiggonto/projects_dj3_vue3_js
e8a98019c1e5ec65724c09733054afbacfb22ead
6ce52c29c3560a25ed36ba074fc6c2a60191ebe4
refs/heads/main
2023-05-30T06:00:06.558789
2021-05-29T10:06:02
2021-05-29T10:06:02
342,195,694
0
0
null
null
null
null
UTF-8
Python
false
false
632
py
from django.urls import path from .views import socialprofileView,follow_userView,unfollow_userView,followerView,followView,edit_avatarView urlpatterns = [ path('avatar/',edit_avatarView,name='social-edit-avatar'), path('<str:username>',socialprofileView,name='social-profile'), path('<str:username>/follow/...
[ "nilldiggonto@gmail.com" ]
nilldiggonto@gmail.com
668ee56d3db6869a5a34ef2f597168e88eb72fe4
337522cddf5931972932a870e24905567889a49f
/example7.py
e772a6cd235c28c6f95c89d68e7929327932a8dd
[]
no_license
taichi-dev/voxel-challenge
3d7552d7029328e9c28e2665c06e1b23a15bcc30
94c28c8c37d6ff1547daf47becf9731be41dc2e5
refs/heads/main
2023-07-10T06:59:02.694455
2022-08-04T03:06:53
2022-08-04T03:06:53
481,891,435
186
45
null
2022-08-05T16:09:43
2022-04-15T08:29:35
Python
UTF-8
Python
false
false
5,837
py
from scene import Scene; import taichi as ti; from taichi.math import * day = True; manual_seed = 77 scene = Scene(voxel_edges=0, exposure=2 - day) scene.set_floor(-0.05, (1.0, 1.0, 1.0)) scene.set_background_color((0.9, 0.98, 1) if day else (0.01, 0.01, 0.02)) scene.set_directional_light((1, 1, 1), 0.1, (0.9, 0.98, 1)...
[ "noreply@github.com" ]
taichi-dev.noreply@github.com
e15565680e10de69563972677f3682cd3d1140ce
aff608f59d1c9ecee2ebca0ac63e0e1775502858
/sitegeist/cache.py
0244a7db751c7415809f9af64171871519dea17c
[]
permissive
parthkhatri1998/sitegeist
45a5010dad09fabd98be59a9fd0dc18289749ba7
231b18dfb3a5a0fce32c1c5e01227dcf9bb18010
refs/heads/master
2022-12-23T01:37:37.721753
2020-09-30T16:26:15
2020-09-30T16:26:15
299,981,485
0
0
BSD-3-Clause
2020-09-30T16:25:45
2020-09-30T16:25:45
null
UTF-8
Python
false
false
1,509
py
import datetime import logging from django.conf import settings from sitegeist.mongo import db logger = logging.getLogger(__name__) class CoordinateCache(object): def __init__(self, namespace, snap_radius=None): self.namespace = namespace self.snap_radius = snap_radius or settings.SITEGEIST['G...
[ "jcarbaugh@gmail.com" ]
jcarbaugh@gmail.com
c679014ccedb4e34ff298ce78464a417862421b3
fe0017ae33385d7a2857d0aa39fa8861b40c8a88
/env/lib/python3.8/site-packages/pandas/io/formats/format.py
e1e5a003b341a42dcec5a1b1b3a9e2d821e9838d
[]
no_license
enriquemoncerrat/frasesback
eec60cc7f078f9d24d155713ca8aa86f401c61bf
e2c77f839c77f54e08a2f0930880cf423e66165b
refs/heads/main
2023-01-03T23:21:05.968846
2020-10-18T21:20:27
2020-10-18T21:20:27
305,198,286
0
0
null
null
null
null
UTF-8
Python
false
false
64,892
py
""" Internal module for formatting output data in csv, html, and latex files. This module also applies to display formatting. """ import decimal import re from contextlib import contextmanager from csv import QUOTE_NONE, QUOTE_NONNUMERIC from datetime import tzinfo from functools import partial from io import StringIO...
[ "enriquemoncerrat@gmail.com" ]
enriquemoncerrat@gmail.com
aadb7b2e4e1363533ecbe16d31573db2a76fb0f0
77900cdd9a815caf1cd04705321ca93f5072179f
/Project/.history/product_20211116161051.py
37f9a82e833a984cd72187f16de880e3336ee1fb
[]
no_license
Bom19990111/helloword_python
717799d994223d65de5adaeabecf396ff2bc1fb7
2ee2e67a60043f03c1ce4b070470c7d2dcdc72a7
refs/heads/master
2023-09-06T04:17:02.057628
2021-11-21T20:00:46
2021-11-21T20:00:46
407,063,273
0
1
null
2021-11-21T20:00:47
2021-09-16T07:18:35
Python
UTF-8
Python
false
false
10,482
py
import data as list_product import random import pandas as pd # def __init__(self, Id, Product_code, Product_name, Brand, Year, Size): # self.Id = Id # self.Product_code = Product_code # self.Product_name = Product_name # self.Brand = Brand # self.Year = Year # self.Size = Size # Thêm sản phẩ...
[ "phanthituyngoc1995@gmail.com" ]
phanthituyngoc1995@gmail.com
dc14a031d4b4835a5f528eaa2f8bc1d6d6d739ac
dd027c4bbcace97e3dbf566c123b178ceb1a8282
/sett/jenkins.py
e001b1bf4d4e59dbd5a8ad9a75c21044fbe740be
[]
no_license
cecedille1/Sett
479bf00ca8df807f431e235c68b892bb90fab9b0
bf8b9f204caa532a5fb8f110ab4e4a1cea03cb96
refs/heads/master
2021-01-10T13:28:11.614022
2016-03-31T16:51:14
2016-03-31T16:51:14
43,488,127
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from paver.easy import task, call_task @task def jenkins(): """Runs the Jenkins tasks""" # Generate nosetest.xml # Generate coverage.xml # Generate flake8.log try: call_task('quality', options={ 'output': 'flake8.log', ...
[ "gr@enix.org" ]
gr@enix.org
f6a4e829c58c1e15e58c94bdee01590ada2c674c
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_228/ch167_2020_06_22_18_23_48_389416.py
3422198732d84d06c9a9ad4b22dcf97ec1c7fdeb
[]
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
410
py
def bairro_mais_custoso(empresa): semestral={} for bairro in empresa: semestral[bairro]=0 for gasto in empresa[bairro][6:]: semestral[bairro]+=gasto maiorcusto=0 nome="" for bairro,custo in semestral.items(): if custo>maiorcusto: maiorcusto=custo ...
[ "you@example.com" ]
you@example.com
8f2d224306e0f28df1fcd4c35f5e3b04d6029624
8ce3df908d86c22ed9f1de810ce92493528f82c7
/examples/speedup/tmp/main_init_mean.py
46311a958c8584dd5ac9050bc8aeff17b33f2f34
[]
no_license
kun0906/kjl_reload
cbe596b80500253e1a636b75dfc87c2aac78cbbd
a7690d9a548809d6d56f46af715f53fe28f945b7
refs/heads/master
2023-03-31T00:07:10.758612
2021-03-25T13:58:23
2021-03-25T13:58:23
349,272,691
0
1
null
null
null
null
UTF-8
Python
false
false
26,465
py
""" Main function 1. Instructions for executing the main file 1) Change the current directory to "examples/" cd examples/ 2) Check the python3 veriosn python3 -V 3) Execute the main file PYTHONPATH=../:./ python3.7 speedup/main_kjl.py > speedup/out/main_kj...
[ "kun.bj@foxmail.com" ]
kun.bj@foxmail.com
3ade7e133fc24950c2902b71a88de65edfd42d9e
1ba8d8ae275524a2ac61226dca4a21972cf6c355
/Deep_Learning_with_TensorFlow/1.4.0/Chapter10/8. Estimator-DNNClassifier.py
0355ab5fda86fa6dc0e3bc53a476c1c09fb64d08
[ "MIT" ]
permissive
hyphenliu/TensorFlow_Google_Practice
4e2da546f6056ddbbda26a2d9855cc96c2e3a708
0ea7d52a4056e5e53391a452a9bbd468175af7f5
refs/heads/master
2020-09-28T17:13:05.032238
2018-07-18T08:07:34
2018-07-18T08:07:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,444
py
# coding: utf-8 # ### 1. 模型定义。 # In[1]: import numpy as np import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data tf.logging.set_verbosity(tf.logging.INFO) mnist = input_data.read_data_sets("../../datasets/MNIST_data", one_hot=False) # 定义模型的输入。 feature_columns = [tf.feature_column.nu...
[ "1786546913@qq.com" ]
1786546913@qq.com
c1d24c92172885a47858a5721728634a2ce52cf1
b24ce5acced59ef367a20706949953f3ea81d57a
/tensorflow/contrib/learn/python/learn/datasets/mnist.py
01262ff5f81053a3407809aa680589af27cec783
[ "Apache-2.0" ]
permissive
BoldizsarZopcsak/Image-Classifier
b57dd3b72cf368cc1d66a5e318003a2a2d8338a4
c0d471a55a70b3118178488db3c005a9277baade
refs/heads/master
2022-11-19T12:28:49.625532
2018-01-20T15:48:48
2018-01-20T15:48:48
118,253,026
1
1
Apache-2.0
2022-11-01T09:24:24
2018-01-20T15:04:57
Python
UTF-8
Python
false
false
9,114
py
# Copyright 2016 The TensorFlow 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 required by applica...
[ "zboldi@gmail.com" ]
zboldi@gmail.com
2252aa44817b2d07ab6ed5d0ee6a3517d72f807c
aa7de5b75b65404715676121d61a9b06348d5f62
/telemetry/telemetry/internal/platform/device_finder.py
4547ecd20747c41e9da726a41ddad68480306fba
[ "BSD-3-Clause" ]
permissive
benschmaus/catapult
3ca2ede51e4a23082e634fa07a03c11158bd6d9a
f388b1f6b90c670b6524fd68a295bae26ba8db70
refs/heads/master
2021-01-20T07:53:45.431708
2017-07-17T18:03:09
2017-07-17T18:03:09
90,060,605
0
1
null
2017-05-02T17:38:42
2017-05-02T17:38:41
null
UTF-8
Python
false
false
1,304
py
# Copyright 2014 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. """Finds devices that can be controlled by telemetry.""" from telemetry.internal.platform import android_device from telemetry.internal.platform import cros...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
d9d3518697740e62f5fcd78a2d44d8952a390926
e976eb4db57ddee4947cbab8746446dd53f6cf6f
/101-150/三角形最小路径和.py
ec3af7dda958d297f2e463e0f3c2c521d4e43907
[]
no_license
Aiyane/aiyane-LeetCode
5328529079bcfbc84f4e4d67e3d8736b9745dc0d
3c4d5aacc33f3ed66b6294894a767862170fb4f6
refs/heads/master
2020-04-01T20:33:54.125654
2019-06-25T09:56:10
2019-06-25T09:56:10
153,610,015
1
0
null
null
null
null
UTF-8
Python
false
false
905
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # 三角形最小路径和.py """ 给定一个三角形,找出自顶向下的最小路径和。每一步只能移动到下一行中相邻的结点上。 例如,给定三角形: [ [2], [3,4], [6,5,7], [4,1,8,3] ] 自顶向下的最小路径和为 11(即,2 + 3 + 5 + 1 = 11)。 说明: 如果你可以只使用 O(n) 的额外空间(n 为三角形的总行数)来解决这个问题,那么你的算法会很加分。 """ __author__ = 'Aiyane' class Solution(object): def...
[ "2310091880qq@gmail.com" ]
2310091880qq@gmail.com
d52dadc7c858dec5f454c2bdd7b914dc1e9870c5
c90b3ac3e5ad11cb93d4e6b76b9b9c4a19d0f512
/.history/copytest_20200502125750.py
3f5f083b6c965e4eb030019b5d6986b066591552
[]
no_license
rbafna6507/passwordstorageproject
6465585e36c81075856af8d565fe83e358b4a40a
480c30e358f7902ac0ef5c4e8d9556cb1d6d33f4
refs/heads/master
2022-11-25T12:05:02.625968
2020-07-27T21:33:38
2020-07-27T21:33:38
283,021,426
0
0
null
null
null
null
UTF-8
Python
false
false
953
py
import pickle import cryptography from cryptography.fernet import Fernet """def encrypt(message: bytes, key: bytes) -> bytes: return Fernet(key).encrypt(message) def decrypt(token: bytes, key: bytes) -> bytes: return Fernet(key).decrypt(token) """ infile = open('jeff.pkl','rb') z = pickle.load(infile) key = ...
[ "35872545+rbafna6507@users.noreply.github.com" ]
35872545+rbafna6507@users.noreply.github.com
de6d747b4bcee54d33b0dee1e30d34fd54406e16
57fc5d54f5df359c7a53020fb903f36479d3a322
/controllers/.history/supervisor/supervisor_20201129205247.py
5141061cf25577be2ea6efb0fdd4690a9671d116
[]
no_license
shenwuyue-xie/webots_testrobots
929369b127258d85e66c5275c9366ce1a0eb17c7
56e476356f3cf666edad6449e2da874bb4fb4da3
refs/heads/master
2023-02-02T11:17:36.017289
2020-12-20T08:22:59
2020-12-20T08:22:59
323,032,362
0
0
null
null
null
null
UTF-8
Python
false
false
26,472
py
import math import numpy as np from numpy import random from numpy.core.fromnumeric import size from numpy.lib.function_base import meshgrid import utilities as utils from deepbots.supervisor.controllers.supervisor_emitter_receiver import \ SupervisorCSV # # from deepbots.supervisor.wrappers.tensorboard_wrapper i...
[ "1092673859@qq.com" ]
1092673859@qq.com
75c04d89f6a090103d6edb1dd15a4c3ce0c7ac47
32b9ed968247fd0f5b2291307059f2de4288a951
/models/seq2seqGAN/networks.py
4c7390dead57273a7f30eba2f25ee6fcd24fa0ff
[]
no_license
jshi31/T2ONet
4aaf57636e2caf8f8d93ba742be8b4ebaaefe30d
928cdc3311e887f3676a55db5d544fee5ac71a3f
refs/heads/master
2023-05-25T22:14:54.441849
2023-05-10T06:45:02
2023-05-10T06:45:02
247,373,510
18
0
null
null
null
null
UTF-8
Python
false
false
19,553
py
import torch import torch.nn as nn import functools from torch.autograd import Variable import numpy as np import pdb ############################################################################### # Functions ############################################################################### def weights_init(m): clas...
[ "j.shi@rochester.edu" ]
j.shi@rochester.edu
ee82fb7cc4fd156f236ae8bafab57f23b8736e1b
7b3711d4c6d7284255ba0270d49d120f984bf7c6
/problems/549_binary_tree_longest_consecutive_sequence_ii.py
9351f1ab9242d7c976ab632e31e3661c5bf978ce
[]
no_license
loganyu/leetcode
2d336f30feb55379aaf8bf0273d00e11414e31df
77c206305dd5cde0a249365ce7591a644effabfc
refs/heads/master
2023-08-18T09:43:10.124687
2023-08-18T00:44:51
2023-08-18T00:44:51
177,875,222
0
0
null
null
null
null
UTF-8
Python
false
false
1,748
py
''' Given a binary tree, you need to find the length of Longest Consecutive Path in Binary Tree. Especially, this path can be either increasing or decreasing. For example, [1,2,3,4] and [4,3,2,1] are both considered valid, but the path [1,2,4,3] is not valid. On the other hand, the path can be in the child-Parent-chil...
[ "logan.yu@cadre.com" ]
logan.yu@cadre.com
39490c4724d2b3f930595661177772125731acc9
ab79f8297105a7d412303a8b33eaa25038f38c0b
/education/school_transport/wizard/transfer_vehicle.py
6d509565898bbd75f1f7b57dd95cfd567302c7c2
[]
no_license
adahra/addons
41a23cbea1e35079f7a9864ade3c32851ee2fb09
c5a5678379649ccdf57a9d55b09b30436428b430
refs/heads/master
2022-06-17T21:22:22.306787
2020-05-15T10:51:14
2020-05-15T10:51:14
264,167,002
1
0
null
2020-05-15T10:39:26
2020-05-15T10:39:26
null
UTF-8
Python
false
false
4,425
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). # Copyright (C) 2011-2012 Serpent Consulting Services (<http://www.serpentcs.com>) # Copyright (C) 201...
[ "prog1@381544ba-743e-41a5-bf0d-221725b9d5af" ]
prog1@381544ba-743e-41a5-bf0d-221725b9d5af
990dbb97b825729a03f9e35c2c4534b21c1a05e4
2a171178942a19afe9891c2425dce208ae04348b
/kubernetes/client/models/v1alpha1_certificate_signing_request_status.py
7d4e56624b8742735902dccd5ab749de8d607509
[ "Apache-2.0" ]
permissive
ouccema/client-python
ac3f1dee1c5ad8d82f15aeecb87a2f5f219ca4f4
d7f33ec53e302e66674df581904a3c5b1fcf3945
refs/heads/master
2021-01-12T03:17:54.274888
2017-01-03T22:13:14
2017-01-03T22:13:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,830
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.5.0-snapshot Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Li...
[ "mehdy@google.com" ]
mehdy@google.com
c4e9f6e335fa168175f5e5b8bf42d3dcdb16c8d4
b59e093876a78054bf58ae16fa245bace5d924a2
/maxWidthRamp.py
fb91dfb4aae2584c36dc9a7c834098301dea7ae2
[]
no_license
NeilWangziyu/Leetcode_py
539551585413e1eebd6e6175ba3105c6bc17e943
4105e18050b15fc0409c75353ad31be17187dd34
refs/heads/master
2020-04-08T03:50:05.904466
2019-10-15T07:13:49
2019-10-15T07:13:49
158,991,828
2
0
null
null
null
null
UTF-8
Python
false
false
1,746
py
class Solution(object): def maxWidthRamp(self, A): """ :type A: List[int] :rtype: int """ if not A: return 0 if len(A) < 2: return 0 res = 0 for i in range(len(A)): for j in range(i+1, len(A)): if A[i...
[ "noreply@github.com" ]
NeilWangziyu.noreply@github.com
049cb528754542f06ea9fb36b875d4720677fdeb
5de14b0e96e17822aafdd0658aef846693db2786
/app/core/tests/tests_admin.py
fbce74a7b8516edecfa5f3236de2aa61dfbd05bd
[ "MIT" ]
permissive
mahinm20/recipe-app-api
392a6cec214d54522cd7ebbb21bb4a443ab8d6ef
f9d6c69ae71cdd3c265f50b503cb027c6cb307a9
refs/heads/master
2022-10-05T01:03:19.799872
2020-06-07T21:25:05
2020-06-07T21:25:05
264,731,945
0
0
null
null
null
null
UTF-8
Python
false
false
2,279
py
from django.test import TestCase, Client from django.contrib.auth import get_user_model from django.urls import reverse class AdminSiteTests(TestCase): def setUp(self): self.client = Client() self.admin_user = get_user_model().objects.create_superuser( email = 'mahinmalhotra20@gmail.com', ...
[ "mahinmalhotra20@gmail.com" ]
mahinmalhotra20@gmail.com
486f1f5d15eb52bf0fc58132dc6ea64812ba691a
d274e22b1cc5d546855fe46b089b13cfe2f4047c
/september2020/solutions/day03_RepeatedSubstringPattern.py
bb4d713142470f406a4f140eab73257325d2f299
[]
no_license
varunkumar032/lockdown-leetcode
ca6b7a8133033110680dd226c897dd8a1482682b
15a72a53be9005eca816f018cb1b244f2aa4cdfb
refs/heads/master
2023-06-30T08:31:54.323747
2021-07-12T11:29:59
2021-07-12T11:29:59
260,616,280
0
0
null
2021-05-06T10:24:48
2020-05-02T04:52:37
Python
UTF-8
Python
false
false
728
py
# Given a non-empty string check if it can be constructed by taking a substring of it and # appending multiple copies of the substring together. # You may assume the given string consists of lowercase English letters only and its length # will not exceed 10000. # Example 1: # Input: "abab" # Output: True # Explanat...
[ "varunkumar032@gmail.com" ]
varunkumar032@gmail.com
588a8a5be895bf8a6ad7215fca32c5d78ead3cf1
7202b4cf562fcacf2f684c1985b448b5780c4967
/alds1/05d.py
c2600d1dd7eb418017cba2b350db2a0f9c426f45
[]
no_license
mskt4440/AOJ
ce523182dbd75e85c1bba43d7d23217711b8e617
f6d9ca36e77a88ed9ddbeb53340a745bf8cac157
refs/heads/master
2021-07-07T00:34:23.034606
2020-09-24T02:25:43
2020-09-24T02:25:43
188,768,314
0
0
null
null
null
null
UTF-8
Python
false
false
829
py
# # alds1 05d # def merge(A, left, mid, right): count = 0 L = A[left:mid] R = A[mid:right] L.append(1000000001) R.append(1000000001) i, j = 0, 0 for k in range(left, right): if L[i] <= R[j]: A[k] = L[i] i += 1 else: A[k] = R[j] ...
[ "mskt4440@gmail.com" ]
mskt4440@gmail.com
8762b8e7d197c08bf7bf83f303877557b9522988
f50f1aa1f8f139d546db3230a1cb1f53043fd9e6
/util/admin/utempter/actions.py
8c7613e8e50b84e6a3887ce3173972ecb7f86f3e
[]
no_license
pars-linux/corporate2
7887961d1552d39bc3b0bef4a60fd3413d9b82bb
14d1eacfc824fb8d0bff8173e7ac06b36b88d10d
refs/heads/master
2020-05-26T15:02:12.005654
2017-02-27T03:07:14
2017-02-27T03:07:14
82,476,084
4
0
null
null
null
null
UTF-8
Python
false
false
615
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import pisitools from pisi.actionsapi import shelltools f...
[ "eki@420bcd57-4a62-4fd6-832e-5ede16c90cc9" ]
eki@420bcd57-4a62-4fd6-832e-5ede16c90cc9
54cce0747110b0b1c271b203c1514e4c21cc3016
350c6ff3512579a8380b3c4f07e580ec9c69761c
/tests/test_sync_fetch.py
e56659d5b8578846a03394497b8673caeaa45810
[ "Python-2.0", "Apache-2.0" ]
permissive
tailhook/edgedb-python
1928e2fb7e9dbb28c32fd26cde41b8acb6a6806f
c30518918d2ca3f224469d45ff12f47db5762ef4
refs/heads/master
2020-09-12T20:30:45.098907
2019-11-08T16:35:02
2019-11-08T16:35:02
222,544,936
0
0
Apache-2.0
2019-11-18T21:08:32
2019-11-18T21:08:32
null
UTF-8
Python
false
false
13,024
py
# # This source file is part of the EdgeDB open source project. # # Copyright 2016-present MagicStack Inc. and the EdgeDB 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...
[ "yury@magic.io" ]
yury@magic.io
c72d86150e8893812b060a8c68cf3d14538adb84
3952a0faa9085169cca288e22ba934073923613c
/pytorch/pytorchcv/models/others/oth_ntsnet2.py
ebd73d84473c54962119bc50de008d54444b3653
[ "MIT" ]
permissive
Magic-chao/imgclsmob
4876651d8db8642dc363f83fe754e828394fa927
b9281ed56e9705623941498f49ca833805b6a7e0
refs/heads/master
2020-05-24T00:27:12.622838
2019-05-13T06:27:00
2019-05-13T06:27:00
187,017,063
1
0
null
2019-05-16T11:47:36
2019-05-16T11:47:35
null
UTF-8
Python
false
false
8,710
py
import numpy as np import torch from torch import nn import torch.nn.functional as F from .oth_nts_resnet import resnet50 __all__ = ['oth_ntsnet'] INPUT_SIZE = (448, 448) # (w, h) CAT_NUM = 4 PROPOSAL_NUM = 6 _default_anchors_setting = ( dict(layer='p3', stride=32, size=48, scale=[2 ** (1. / 3.), 2 ** (2. / 3...
[ "osemery@gmail.com" ]
osemery@gmail.com
84090d40ff2316d42b863fad8d472445fab799f6
1dca0675aa9c56bc13d2423362e21914c9426cfa
/web_29_jul_dev_8220/wsgi.py
e17ecdf2603d683b1472cb55c3f5b29a649233af
[]
no_license
crowdbotics-apps/web-29-jul-dev-8220
9c5a1ba90482dde61d8ec4f0e6ba9bc8f28b71cb
5583b4280a97c8269a36265bf56c27c3c6515e54
refs/heads/master
2022-11-29T05:14:25.319284
2020-07-29T05:09:48
2020-07-29T05:09:48
283,399,990
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
""" WSGI config for web_29_jul_dev_8220 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
06b9b4cd93422773c9648fa9e62d931e63211375
357b233baba79125936def2065cdb7d20008b06e
/scraper/spiders/bilkent_turkish_writings.py
e3f4f5788e139e2e565a4f9229211db4945f1685
[]
no_license
selimfirat/bilkent-turkish-writings-dataset
00e7bf8d83f21ce54705022887ad49ab54e8fbcd
be662fd50987a653071af0673e1247fb4c4ce7ed
refs/heads/master
2021-05-08T14:33:35.472323
2018-02-04T15:59:27
2018-02-04T15:59:27
120,089,498
41
3
null
null
null
null
UTF-8
Python
false
false
1,038
py
import scrapy from scrapy import Request from scrapy.linkextractors.lxmlhtml import LxmlLinkExtractor from writing_entry import WritingEntry class BilkentTurkishWritingsSpider(scrapy.Spider): name = "bilkent_turkish_writings" custom_settings = { "ITEM_PIPELINES": { 'scrapy.pipelines.file...
[ "yilmazselimfirat@gmail.com" ]
yilmazselimfirat@gmail.com
4eb07103153cd420fa53c7b6c7e7f84d5bc4c189
9cfdc1373b59b92121a0a4ab795a395ac8440fbf
/python/false_nearest_neighbours.py
c5ca028d352032a8575fd13ac8e1c99f4829885b
[]
no_license
physycom/metnum
ae1da308ba333dd036dea46319c45c2ba81bd1ca
cb114bb49062f9a9ec165e294a05b24663c60f17
refs/heads/master
2023-04-01T07:30:21.122348
2023-03-22T16:06:27
2023-03-22T16:06:27
34,463,378
4
6
null
2018-03-23T21:59:19
2015-04-23T15:04:48
C++
UTF-8
Python
false
false
2,205
py
# -*- coding: utf-8 -*- """ Created on Mon Mar 19 22:30:58 2018 @author: NICO """ import numpy as np import matplotlib.pylab as plt import scipy dt = .01 it = 10000 sigma = 16. b = 4. r = 45.92 x, y, z = np.empty(shape=(it)), np.empty(shape=(it)), np.empty(shape=(it)) x[0], y[0], z[0] = 10, 1, 1 Vx = lambda x, y, s...
[ "nico.curti2@unibo.it" ]
nico.curti2@unibo.it
09a5308750165fafa7c2e001427ab5f7c4828826
e861f5fb5f8a8b766bf5633f69990bafe7552d96
/triage_tickets/TicketList.py
4f9f538f3cbef5114f965dd443ceab6d5186dda2
[]
no_license
Lothilius/random_tools
59d849629cbdd7cb9f469dc2b5fb4c1f2271ff2d
cb085723d474648d63cfcd28790d385bf06bb870
refs/heads/master
2020-07-03T21:44:07.508955
2019-08-13T03:50:06
2019-08-13T03:50:06
202,058,255
0
0
null
2019-08-13T03:50:07
2019-08-13T03:38:23
Python
UTF-8
Python
false
false
14,775
py
__author__ = 'Lothilius' # coding: utf-8 import datetime import re import sys import pandas as pd from pyprogressbar import Bar from HelpdeskConnection import HelpdeskConnection as hdc from HelpdeskConnectionV3 import HelpdeskConnection as hdc3 from Ticket import Ticket from helper_scripts.misc_helpers.data_manipula...
[ "martin.valenzuela@bazaarvoice.com" ]
martin.valenzuela@bazaarvoice.com
c23921ec0bde1e6d104e6e05ace6a9282567bf7a
18ef7bb35b3029672e4c4072aa7868e3513bfe44
/P1.py
73d0507c967519673d3c90287e9f91022857b10e
[ "MIT" ]
permissive
chinmaydas96/CarND-LaneLines-P1
d7e1235ad8ed2107588881f5dfcaa428b192cb3c
be8e03257962314d6adea68634d053d5f0550510
refs/heads/master
2022-04-22T12:31:43.611230
2020-04-16T10:39:34
2020-04-16T10:39:34
255,964,402
0
0
MIT
2020-04-15T15:46:48
2020-04-15T15:46:47
null
UTF-8
Python
false
false
19,123
py
#!/usr/bin/env python # coding: utf-8 # # Self-Driving Car Engineer Nanodegree # # # ## Project: **Finding Lane Lines on the Road** # *** # In this project, you will use the tools you learned about in the lesson to identify lane lines on the road. You can develop your pipeline on a series of individual images, and...
[ "chinmaydasbat@gmail.com" ]
chinmaydasbat@gmail.com
9e5a7e72a9833ec32ef8a92895d30c8b3d688938
66b2bccf07754119b9eed320d9f7715fa52f6d44
/scrapy_learn1/utils/dbbaseutil.py
2c512ebc43bf825ae27711e81ddf171a5572ea7b
[]
no_license
wangsanshi123/scrapy_learn1
678c3708e3765ab26cff8799a55d0153abe9da55
16bf80a634484842e9b66db9138c2f4c8769d087
refs/heads/master
2020-03-08T07:42:56.260798
2018-04-04T03:26:58
2018-04-04T03:26:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,566
py
#!/usr/bin/python # -*- coding: utf-8 -*- import warnings import sqlite3 import pymysql warnings.filterwarnings('ignore') __author__ = 'yangsheng' class DBUtil(object): def __init__(self, dbpath): self._dbpath = dbpath self._conn = sqlite3.connect(self._dbpath) def cursor_execute_one(self, s...
[ "118319592@qq.com" ]
118319592@qq.com
b751373ce90366b0f78e58e0b5902ed2dfc9ceb2
69d8a912212c1355470c298ac4f2fb716aed9982
/proyecto/adopcion/models.py
1f6b436c1ecfcf697d872172f1543322344ffd27
[]
no_license
juampiludu/almanimal
b7fa92cb34cd8b908ef609036fb647fd1ca328a7
033037823252a13fd20514c226dd100837fdc610
refs/heads/master
2023-01-20T17:46:57.671217
2020-12-02T04:05:03
2020-12-02T04:05:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,022
py
from django.db import models from django.contrib.auth.models import User from django.utils.html import mark_safe from django.templatetags.static import static # Create your models here. class Animal(models.Model): class Sexo(models.TextChoices): MACHO = 'Macho' HEMBRA = 'Hembra' ...
[ "juanzakka@gmail.com" ]
juanzakka@gmail.com
bb8c3ba0a02d52add159b61061125416627d40e6
33c19c13824db26e455177b18864963ea40d8cba
/trtools/tools/tests/test_pload.py
660140b711338b8cb729a7529b53cf2ab0d9f7a7
[ "MIT" ]
permissive
jeffamaxey/trtools
6767375d04d4c6702f61d0ad4839e4ebe6ffe3f8
39db1d72269f43e7ba380da5ad28d565137089ed
refs/heads/master
2023-08-10T23:44:17.640063
2021-09-17T18:21:54
2021-09-17T18:21:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
import trtools.util.testing as tm import trtools.io.api as trio import trtools.tools.pload as pload
[ "dale@dalejung.com" ]
dale@dalejung.com
96c5e9e11b6540e09bfed4c444788cc0a3fcee75
119f503a2786a929db24937c2b91d63ac9c2af72
/examples/plot_sig_bkg.py
be5db7ccfca401c916b1cf0e9d086ed26b2c7c44
[ "BSD-3-Clause" ]
permissive
loopylangur/zfit
f1c1e352eca5c1e58fbe276ba4b65b409f0faa6d
535b970dfb6611ef687a184746b9e191756506ba
refs/heads/master
2020-12-20T14:41:30.985958
2020-01-12T15:28:54
2020-01-12T15:28:54
236,109,089
0
0
null
2020-01-25T00:59:17
2020-01-25T00:59:16
null
UTF-8
Python
false
false
2,592
py
# Copyright (c) 2019 zfit import numpy as np import zfit import matplotlib.pyplot as plt # create space obs = zfit.Space("x", limits=(-10, 10)) # parameters mu = zfit.Parameter("mu", 1., -4, 6) sigma = zfit.Parameter("sigma", 1., 0.1, 10) lambd = zfit.Parameter("lambda", -0.06, -1, -0.01) frac = zfit.Parameter("fra...
[ "mayou36@jonas.eschle.com" ]
mayou36@jonas.eschle.com
9ef8ca178f37669d0f1c6165b9589e22eec12759
8a6dbabe023deea0d29e666bc4d6d7a53a51f08d
/tests/test_drug_response.py
aa7473787c40a3b048261fec9ad60fc92a61aba5
[ "CC-BY-NC-ND-4.0", "Apache-2.0" ]
permissive
pasmopy/breast_cancer
01d2c1f387364b71fc99a7a5250b0d39decd7575
f6113dd286476069d1abc7627475e626e5cbeafc
refs/heads/master
2023-04-10T03:08:52.806513
2022-09-21T15:52:03
2022-09-21T15:52:03
348,209,066
7
4
Apache-2.0
2022-09-21T15:52:05
2021-03-16T04:05:57
Python
UTF-8
Python
false
false
984
py
import os import shutil import pandas as pd from drug_response.drug.database import CancerCellLineEncyclopedia def test_create_figs(): for dir in ["dose_response", "activity_area"]: if os.path.isdir(dir): shutil.rmtree(dir) ccle = CancerCellLineEncyclopedia() erbb_expression_ratio = p...
[ "31299606+himoto@users.noreply.github.com" ]
31299606+himoto@users.noreply.github.com
72587c53ee9d480ee96056750566064d1ab30347
4c82c378774437b4fece5865a469485d11dd5c04
/games/files_directories.py
013a16b59ba58486ac2ffae7e1b4f38ad5e817c5
[]
no_license
Cunarefa/Matrix
54c4bbfd588d5f1a5d5889228be5224b85889538
634a793c1554458ab6b9b65014ba3fde279b4c4d
refs/heads/master
2023-07-25T17:39:02.795840
2021-09-10T11:25:31
2021-09-10T11:25:31
401,263,945
0
0
null
null
null
null
UTF-8
Python
false
false
1,145
py
from abc import ABC, abstractmethod class Component(ABC): @abstractmethod def get_size(self): pass def add_component(self, component): pass class File(Component): def __init__(self, size): self.size = size def __add__(self, other): return self.size + other.size ...
[ "yevgen.yelik@gmail.com" ]
yevgen.yelik@gmail.com
ec7974d7ba5104cef543b2d76097554593a51e29
a1d8b5de6a54dc942f63e2e4a946db174cae0996
/ctci-making-anagrams/main.py
5af3a78f3b4833c0e58dbb912cc1a9f0c63d7d09
[ "MIT" ]
permissive
joaojunior/hackerrank
5dae64166b6fdbec8b7bd2112443fdfde0e64e74
a5ee0449e791535930b8659dfb7dddcf9e1237de
refs/heads/master
2021-11-22T07:53:33.978238
2021-09-28T00:35:16
2021-09-28T00:35:16
116,694,043
0
1
MIT
2018-02-21T00:29:09
2018-01-08T15:29:26
Python
UTF-8
Python
false
false
354
py
def make_anagrams(a, b): d_a = {} d_b = {} qty = 0 for c in a: d_a[c] = d_a.get(c, 0) + 1 for c in b: d_b[c] = d_b.get(c, 0) + 1 for c, frequency in d_a.items(): qty += abs(frequency - d_b.get(c, 0)) for c, frequency in d_b.items(): if c not in d_a: ...
[ "jcajcefet@yahoo.com.br" ]
jcajcefet@yahoo.com.br
6f070a3bd651d8a3d1201e6e7cd264da3ea66a23
60ae058efd4d8c1367af3cf7e5b40d868bfef610
/config/wsgi.py
808061fc392eb6922590a6c79f928db37899b7d2
[ "MIT" ]
permissive
munikarmanish/cms
dc766bac59f4b2a9a38b2962ceedb4b8c3e36a27
39cbdd89bed7b9de887b0e8ba545e72e440bf1d2
refs/heads/master
2021-03-27T14:47:34.809972
2017-01-24T04:30:23
2017-01-24T04:30:23
79,788,621
0
0
null
null
null
null
UTF-8
Python
false
false
1,468
py
""" WSGI config for Communication Management System project. This module contains the WSGI application used by Django's development server and any production WSGI deployments. It should expose a module-level variable named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover this application via t...
[ "munikarmanish@gmail.com" ]
munikarmanish@gmail.com
adfe0cf1de9c32946f939923d8014e797f2e7db0
01fdd206c8c825b30870bdd3f6e75f0aa113b849
/test/record/parser/test_response_whois_isoc_org_il_property_status_transfer_allowed.py
3e8870b0af59fcdedef88641297afba471c8dc7e
[ "MIT" ]
permissive
huyphan/pyyawhois
0fbc5a7d64a53ae6e3393fdc1c7ff0d0ac5f22b5
77fb2f73a9c67989f1d41d98f37037406a69d136
refs/heads/master
2021-01-23T22:42:55.989651
2015-09-19T16:40:06
2015-09-19T16:40:06
23,335,785
0
0
null
null
null
null
UTF-8
Python
false
false
963
py
# This file is autogenerated. Do not edit it manually. # If you want change the content of this file, edit # # spec/fixtures/responses/whois.isoc.org.il/property_status_transfer_allowed # # and regenerate the tests with the following script # # $ scripts/generate_tests.py # from nose.tools import * from dateutil....
[ "dachuy@gmail.com" ]
dachuy@gmail.com
ba5c8b5a65db1e493db1a3389552f2447aac39b0
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r10p1/Gen/DecFiles/options/11110011.py
6a4ef801f0e27b7b31926ae3ec0e52db71d2bbe9
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,132
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r10p1/Gen/DecFiles/options/11110011.py generated: Wed, 25 Jan 2017 15:25:20 # # Event Type: 11110011 # # ASCII decay Descriptor: {[[B0]nos -> mu+ (tau- -> pi+ pi- pi- nu_tau) (K*(892)0 -> K+ pi-)]cc, [[B0]nos -> (tau+ -> pi+ pi- pi+ anti-nu_tau) mu- (K*(892)0 -> K+ pi-)]cc, [[B0...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
cb8dcbaeebb340b0047d76d8fbbc2286bb66e39b
21e7753732296bfdfb6dd9a9b58c7c6b8d90a1e5
/ArraysAndStrings/IsUnique/IsUnique.py
4841949c494375e7ad7ad4044c532c52a0ddc5b6
[]
no_license
rongfeng-china/python-algorithms-and-data-structures
eb8514b44d7ff97dd7c4deda2d8ea888a5aa8d04
a69241bb7b684bc7d00acdd46c2fc214f7b61887
refs/heads/master
2020-03-13T09:08:13.375870
2015-12-11T07:37:30
2015-12-11T07:37:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# Accepts a string and returns true if all chars in the string are # unique. Returns false otherwise. Assumes strings made up of # lowercase letters 'a' through 'z' def isUniqueChars(str): checker = 0 for c in str: value = ord(c) - ord('a') if (checker & (1 << value)) > 0: return False checker |= (1 << valu...
[ "prathamt@outlook.com" ]
prathamt@outlook.com
f2b8894c23d54c6d333e01186a92793a177ca940
d554b1aa8b70fddf81da8988b4aaa43788fede88
/5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4424/codes/1637_2443.py
da74fa2d94940f25db95693ea2d3556c85cc5da1
[]
no_license
JosephLevinthal/Research-projects
a3bc3ca3b09faad16f5cce5949a2279cf14742ba
60d5fd6eb864a5181f4321e7a992812f3c2139f9
refs/heads/master
2022-07-31T06:43:02.686109
2020-05-23T00:24:26
2020-05-23T00:24:26
266,199,309
1
0
null
null
null
null
UTF-8
Python
false
false
403
py
# Teste seu código aos poucos. # Não teste tudo no final, pois fica mais difícil de identificar erros. # Use as mensagens de erro para corrigir seu código. from math import* r = float(input("Digite um numero: ")) h = float(input("Digite um numero: ")) n = float(input("Digite um numero: ")) if(n==1): x=((pi*h**2)*(3*r...
[ "jvlo@icomp.ufam.edu.br" ]
jvlo@icomp.ufam.edu.br
06d7833c5cf9a4d4c3c82424abe3000b5fccce9a
34599596e145555fde0d4264a1d222f951f49051
/pcat2py/class/212441d0-5cc5-11e4-af55-00155d01fe08.py
ce239a839bec9440133bfd44d09eebdbf2016b3e
[ "MIT" ]
permissive
phnomcobra/PCAT2PY
dc2fcbee142ce442e53da08476bfe4e68619346d
937c3b365cdc5ac69b78f59070be0a21bdb53db0
refs/heads/master
2021-01-11T02:23:30.669168
2018-02-13T17:04:03
2018-02-13T17:04:03
70,970,520
0
0
null
null
null
null
UTF-8
Python
false
false
1,467
py
#!/usr/bin/python ################################################################################ # 212441d0-5cc5-11e4-af55-00155d01fe08 # # Justin Dierking # justindierking@hardbitsolutions.com # phnomcobra@gmail.com # # 10/24/2014 Original Construction ################################################################...
[ "phnomcobra@gmail.com" ]
phnomcobra@gmail.com
a33256408c609682eb43687b84b9c799e96b48e9
7c44b3e06bd9d212b81e1d237c2bf945940b8893
/numpy_pandas_matplotlib/matplotlib_and_seaborn_part_1/bar_chart_practice.py
c76603b8b5de4ae08b6b6ee2a954a9fd4a89edfe
[]
no_license
sivaneshl/ai_programming_with_python
e89f9faf566b01b844fe83329dd3e54257141397
75801197fcc1ebbb827cc9c8cf7c8ab9e373e1e2
refs/heads/master
2022-04-11T07:58:50.148433
2020-04-05T05:22:16
2020-04-05T05:22:16
248,581,164
0
0
null
null
null
null
UTF-8
Python
false
false
1,890
py
# prerequisite package imports import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sb pokemon = pd.read_csv('pokemon.csv') print(pokemon.head()) # Task 1: There have been quite a few Pokémon introduced over the series' history. How many were introduced in each # generation? Create...
[ "sivaneshl@virtusa.com" ]
sivaneshl@virtusa.com
d9e20c42cd6f1cd9777d48d2c582d65d0e74ca28
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_206/1009.py
d384122c55980468d170b2657602724644c3e86d
[]
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
251
py
t=input() m=1 while m<=t: n,d=map(int,raw_input().split()) ti=[] while d: d-=1 a,v=map(int,raw_input().split()) ti.append(float(n-a)/float(v)) ti=max(ti) print "Case #"+str(m)+": {0:.6f}".format(round(float(n)/float(ti),6)) m+=1
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
5b370a69edfe4fc04c6aecace8d9746361dbb566
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/loadtesting/azure-mgmt-loadtesting/azure/mgmt/loadtesting/operations/__init__.py
402d17a0616ec39fabd982a5382b8a74612463d5
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
917
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
2487c049fae1f807d744beb02551e7d28cde2723
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02723/s554502060.py
c72f25fef3a45b0bd9520c9936493221c77df6e5
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
def main(): k = input() print("Yes" if k[2] == k[3] and k[4] == k[5] else "No") if __name__ == '__main__': main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
38ff0aebf3aeaaff4c9604670e7270beb6611cde
94ca5a956889a1263bb58fc9b8624455503783cd
/page/storagebox/personinfo.py
686ff5550dfec556681b1a366cf3509647dcb18c
[]
no_license
xmaimiao/wmAPP
50bfbd5c50982cae0723fa3ce3f3f8c59314403b
b427f0afaccde0d939b275f9f48724d404257f1e
refs/heads/master
2023-03-27T05:16:31.920995
2021-03-29T07:31:11
2021-03-29T07:31:11
352,554,192
0
0
null
null
null
null
UTF-8
Python
false
false
1,285
py
from appium.webdriver.common.mobileby import MobileBy from page.basepage import BasePage from page.storagebox.editpage import EditPage class PersonInfo(BasePage): edit_ele = (MobileBy.XPATH,'//button[@class="van-button van-button--primary van-button--large van-button--plain van-button--block"]') def goto_edi...
[ "765120214@qq.com" ]
765120214@qq.com
27a9b0abcecd91ef70deff9da8a75cd44fa09432
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/web/web_app_slot.py
c8e01b97cda8ccdfa62d6c3523f44080e0913232
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
57,034
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
fe735cb9f61a0d4d595382311f8f59fc71f50011
80d50ea48e10674b1b7d3f583a1c4b7d0b01200f
/src/datadog_api_client/v1/model/i_frame_widget_definition_type.py
4b9a12abbd72dab5bebb2895c3a106438d65446c
[ "Apache-2.0", "BSD-3-Clause", "MIT", "MPL-2.0" ]
permissive
DataDog/datadog-api-client-python
3e01fa630278ad0b5c7005f08b7f61d07aa87345
392de360e7de659ee25e4a6753706820ca7c6a92
refs/heads/master
2023-09-01T20:32:37.718187
2023-09-01T14:42:04
2023-09-01T14:42:04
193,793,657
82
36
Apache-2.0
2023-09-14T18:22:39
2019-06-25T22:52:04
Python
UTF-8
Python
false
false
857
py
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License. # This product includes software developed at Datadog (https://www.datadoghq.com/). # Copyright 2019-Present Datadog, Inc. from __future__ import annotations from datadog_api_client.model_utils import ( Mo...
[ "noreply@github.com" ]
DataDog.noreply@github.com
d22ec5d91e8e2f8415c562b398f5064d16e44272
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02380/s032648197.py
e45329928543031c03cf6ec6f6bb061bf46b86d1
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
import math a, b, C = map(float, input().split()) S = (a * b * math.sin(math.radians(C))) / 2 L = a + b + (math.sqrt(a**2 + b**2 - 2*a*b*math.cos(math.radians(C)))) h = b * math.sin(math.radians(C)) print("{:.8f}".format(S)) print("{:.8f}".format(L)) print("{:.8f}".format(h))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
3e2f28d4cfd271faae64dc9e2da5164da032ab8d
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/bib.py
6779e0a1defb70e03b19560226f2a5e023953e6b
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
9d448fa4788fc7db4f9ad0d3f889f2f0add779c3
a9937139b1af85180cea706a52d447abce2430f4
/a/cwiczenie_4-1/BMI.py
e4e109f6ff184f3c7a759b39f3ad213864c556ca
[]
no_license
MirekPz/Altkom
8f16014d43adb10e87804ae2b5d23151924cb226
0a49e75e681593b41d07cbff63dea0723a11756b
refs/heads/master
2020-09-29T00:12:37.990353
2019-12-13T15:52:30
2019-12-13T15:52:30
226,899,295
0
0
null
null
null
null
UTF-8
Python
false
false
679
py
wzrost = float(input("Podaj wzrost [m]; ")) waga = float(input("Podaj wagę [kg]; ")) BMI = waga/wzrost**2 print(round(BMI, 2)) if BMI < 16: print("Wygłodzenie") elif BMI <=16.99: print("Wychudzenie") elif BMI <= 18.49: print("Niedowaga") elif BMI <= 24.99: print("Wartość prawidłowa:") elif BMI <= 29....
[ "mirek@info-tur.pl" ]
mirek@info-tur.pl
388d322e7321b6221b4e638c5421221acdb06151
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startPyquil2978.py
9e6b9ff316ab2c467b06cfb9f702676e859600a3
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
1,959
py
# qubit number=4 # total number=46 import pyquil from pyquil.api import local_forest_runtime, QVMConnection from pyquil import Program, get_qc from pyquil.gates import * import numpy as np conn = QVMConnection() def make_circuit()-> Program: prog = Program() # circuit begin prog += CNOT(0,3) # number=10 ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
218eff2b76cfe7f74adbaddd19c69e8b4a65b612
bc441bb06b8948288f110af63feda4e798f30225
/cmdb_sdk/model/container/hpa_pb2.pyi
ba9ca505ff5c447e180d7f7fc8dc3ec1ccd8f670
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
5,592
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from cmdb_sdk.model.container.resource_metric_source_pb2 import ( ResourceMetricSource as cmdb_sdk___model___container___resource_metric_source_pb2___ResourceMetricSource, ) from google.protobuf.descriptor import ( Descriptor as google___pr...
[ "service@easyops.cn" ]
service@easyops.cn
642b38a413df309b7c1b02b03690ef51953c2841
b25182d0034468e5e545c6c72e5a2cdd3c43a484
/.PyCharm2017.2/system/python_stubs/-223353804/lxml/etree/DTD.py
4a9de7fc7e62c4dfc3e361e63287deb22bbafd98
[]
no_license
lovewula/config
f9ac16b30082c04be7733969d5359ee6c7258db6
c0720e5bfd49f579a52f83de36de40c76996ebf6
refs/heads/master
2021-08-19T19:31:44.088218
2017-11-27T08:04:06
2017-11-27T08:04:06
111,974,690
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
# encoding: utf-8 # module lxml.etree # from D:\Python\Python27\lib\site-packages\lxml\etree.pyd # by generator 1.145 """ The ``lxml.etree`` module implements the extended ElementTree API for XML. """ # imports import __builtin__ as __builtins__ # <module '__builtin__' (built-in)> from _Validator import _Validator c...
[ "lovewula1314@gmail.com" ]
lovewula1314@gmail.com
568c23ea6c150f1790bd62cfcdcca3c4eb2884d9
cca5ceb42b09e567d79fcb46f298757c1ff04447
/Requests/ProxyIP.py
16b5e0c5908fa2e51b4e45542a118d54b3bdf395
[]
no_license
NishantGhanate/PythonScripts
92933237720e624a0f672729743a98557bea79d6
60b92984d21394002c0d3920bc448c698e0402ca
refs/heads/master
2022-12-13T11:56:14.442286
2022-11-18T14:26:33
2022-11-18T14:26:33
132,910,530
25
15
null
2022-12-09T09:03:58
2018-05-10T14:18:33
Python
UTF-8
Python
false
false
536
py
import requests from lxml.html import fromstring def get_proxies(): url = 'https://free-proxy-list.net/' response = requests.get(url) parser = fromstring(response.text) proxies = set() for i in parser.xpath('//tbody/tr')[:20]: if i.xpath('.//td[7][contains(text(),"yes")]'): #Grab...
[ "nishant7.ng@gmail.com" ]
nishant7.ng@gmail.com
d3c160de4501cb84be1bc3e5585762ce8b657d36
27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f
/tests/unit/modules/network/fortios/test_fortios_switch_controller_quarantine.py
4093a700e7f1a2da8709a47b049c6a23e71f795d
[]
no_license
coll-test/notstdlib.moveitallout
eb33a560070bbded5032385d0aea2f3cf60e690b
0987f099b783c6cf977db9233e1c3d9efcbcb3c7
refs/heads/master
2020-12-19T22:28:33.369557
2020-01-23T18:51:26
2020-01-23T18:51:26
235,865,139
0
0
null
null
null
null
UTF-8
Python
false
false
6,077
py
# Copyright 2019 Fortinet, Inc. # # 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 program is distributed in the...
[ "wk@sydorenko.org.ua" ]
wk@sydorenko.org.ua
eec408b4327d41fd937c2ad9c5fbdfce8c90427b
777844bd87b2e87bb992af18bdf13ca1b2c747fd
/nnvm/tutorials/nlp/from_darknet_rnn.py
bbf70c724bbe43a4aeba64d71b5443cd3a88be94
[ "Apache-2.0" ]
permissive
FrozenGene/tvm
5a6d875e39af0f2c00e1508bf33a3f699ae9ac27
fbd1c16484b5710a48717b9cf50f424326a84cca
refs/heads/master
2021-06-18T09:14:49.173534
2019-04-02T00:10:16
2019-04-02T00:10:16
155,194,851
1
2
Apache-2.0
2018-10-29T10:43:18
2018-10-29T10:43:18
null
UTF-8
Python
false
false
5,383
py
""" Compile Darknet Models for RNN ============================== **Author**: `Siju Samuel <https://siju-samuel.github.io/>`_ This article is an introductory tutorial to deploy darknet rnn models with NNVM. This script will run a character prediction model Each module consists of 3 fully-connected layers. The input l...
[ "tqchen@users.noreply.github.com" ]
tqchen@users.noreply.github.com
9e786306217ad5c74dde5a37eab383d4a736229b
d7a1b26449211f4ea67dce9370f6558f16df992c
/todo/settings.py
1e4b4da5176e67e3e8e7a02f0936daf740f04dde
[]
no_license
SonerArslan2019/ToDoAPP_Django_BULMA
8c245b49e2f8f6e35d34b9cf34bdc923fc065ce5
8a0c8d97699b856c7634b2a98692b9311a0bf183
refs/heads/master
2023-04-15T08:33:19.635367
2021-04-25T19:11:18
2021-04-25T19:11:18
361,483,184
0
0
null
null
null
null
UTF-8
Python
false
false
3,296
py
""" Django settings for todo project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib impo...
[ "soner@arslanyapi.com.tr" ]
soner@arslanyapi.com.tr
71ec5eb99a91022cff32c68fb9a82d33c1fe8b5a
2a5c0c49319989a24f9c9f18530f109bc48a8df1
/CursesEnded/SecondYear/PythonJava(InternetOfThings)/list5/driver2.py
c165f04582e1365ac5166f1e5e28d3e6b1d1892d
[]
no_license
Kamil-IT/Studies
0ada6dd92d7ecdbd0a3164c7c80080dd715ce8fc
d70343b2b7818ce303d816443bb15d21e03b42e0
refs/heads/master
2022-12-22T01:55:35.047783
2022-10-20T18:55:29
2022-10-20T18:55:29
217,039,987
0
1
null
2022-12-10T06:03:55
2019-10-23T11:24:33
Jupyter Notebook
UTF-8
Python
false
false
1,105
py
import json import paho.mqtt.client as mqtt import requests def subscribe_topic(broker_url, topic, on_message): client = mqtt.Client() client.connect(broker_url) client.subscribe(topic) client.on_message = on_message client.loop_forever() def on_message_app2_driver(client, userdata, msg): i...
[ "kkwolny@vp.pl" ]
kkwolny@vp.pl
eb13bc5a7c58a79ab899c6c06b92d27c1a45639b
933ed73cdf117fc6c88c1ebba7a17b82807a16e8
/docs/00.Python/demo_Chapter01/demo_python_structure/pkg/module1.py
7fde6166ac45f7f13a4c86150943558d3d96b12d
[ "Apache-2.0" ]
permissive
wan230114/PythonNote
c4fff80f6f3849ed0b0346526d3c6197a4867d2c
f4989a44c03efdcea3f7aa3484e3470e7fd983eb
refs/heads/master
2023-01-28T14:51:07.304066
2023-01-12T18:38:16
2023-01-12T18:38:16
242,367,069
5
6
Apache-2.0
2021-01-05T23:35:10
2020-02-22T15:45:01
JavaScript
UTF-8
Python
false
false
876
py
"""这是该模块1的说明文档""" print("""这是模块1,它包含: 三个变量: a -- 数值对象, ClassName -- 类对象, func -- 函数对象 一个类: ClassName; 类方法有: __init__, main; 类属性有: self.arg 一个函数: func 五个语句块: 1 * class, 3 * def, 1 * for 七个语句: 5 * print, a = 520, self.arg = arg """) a = 520 class ClassName(object): """这是类的说明文档""" def __...
[ "1170101471@qq.com" ]
1170101471@qq.com
eac26296fc7adb18685967c93a73c56898d63177
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/playground/mehmet/2011/python-pymodel/actions.py
2f6b2f799e6cfaa6c12c1a1ad5670d9f8917771d
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
822
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2011 TUBITAK/BILGEM # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import pisitools from pisi.actionsapi import pythonmodules instalDir = "/usr/lib/python2.7/si...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
e3f4ec202b116de4065c3adbc9dff68c89344718
7b3009e019e081667df67c6b41328b5db632b898
/render_video.py
2c1ab87baf640b84dd9b59daeeae4eb0ce89851e
[ "MIT" ]
permissive
frostburn/multibranch-mandelbrot
d1e2cc6bce6ab8f065b678fb2133bd3057b832d5
84e4887ffc90a5338ae448ced6f62fcf40bc11a1
refs/heads/master
2023-08-02T18:20:56.671175
2021-09-28T09:57:58
2021-09-28T09:57:58
287,219,716
0
0
null
null
null
null
UTF-8
Python
false
false
3,123
py
import argparse from threading import Thread, Lock import imageio import progressbar from pylab import * from coloring import red_lavender, subharmonics from mandelbrot import mandelbrot RESOLUTIONS = { "2160p": (3840, 2160), "1440p": (2560, 1440), "1080p": (1920, 1080), "720p": (1280, 720), "480p...
[ "lumi.pakkanen@gmail.com" ]
lumi.pakkanen@gmail.com
9194e098f370acb66cbbfd5d2ba7fb1be66571be
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/streamanalytics/v20211001preview/input.py
b596602c0ad2d333a81941dbb68a5b22a9db6fc3
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,977
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
66b835b459e04052f8a621dc21cce79fcd3161d7
52877e2b60ed675eb16ea66c7398127294a313d3
/t2t_bert/utils/wmd/emd_utils.py
9cf43816e992e02220600b9cacca89a96f46c2b0
[ "Apache-2.0" ]
permissive
yyht/BERT
0dc82ea8e141cad4774e638dd7d44f781d77b6c3
480c909e0835a455606e829310ff949c9dd23549
refs/heads/master
2023-04-07T03:32:28.123608
2021-02-17T02:15:58
2021-02-17T02:15:58
162,232,730
37
12
Apache-2.0
2022-11-21T21:15:04
2018-12-18T05:02:27
Python
UTF-8
Python
false
false
2,167
py
import numpy as np from pyemd import emd def wmd_distance(w2v_model, document1, document2, distance_metric=None): len_pre_oov1 = len(document1) len_pre_oov2 = len(document2) document1 = [token for token in document1 if token in w2v_model] document2 = [token for token in document2 if token in w2v_model] diff1 = l...
[ "albert.xht@alibaba-inc.com" ]
albert.xht@alibaba-inc.com
28c9e7a82531a49e4999185788a456a178e709e1
e585c3a61b830d3c24a8cec8343d262c84c724e7
/CDocente/page_objects/certificados/certificado.py
2f5e659cdb2509b4cb1c522eee4d2652a84b9a52
[]
no_license
Valupiruiz/AutomationPHP
bb0728b2b6508b017c133a7d560a652033adeaf4
9a92634ac9f5b27e46723294f9a4cc83a1f99252
refs/heads/master
2023-01-18T17:27:57.819270
2020-11-27T15:04:49
2020-11-27T15:04:49
310,594,260
0
0
null
null
null
null
UTF-8
Python
false
false
899
py
from page_objects.base_page import BasePage from .locators import CertificadoLocator from utils.file_utils import FileUtils import time from selenium.common.exceptions import TimeoutException class Certificado(BasePage): def __init__(self, driver): super().__init__(driver) self.__locators = Certi...
[ "tomasmoreira04@gmail.com" ]
tomasmoreira04@gmail.com
965cb0a1756aaadfefc1748a36c0fbcf6e13f0e5
595d901410872617023f773a6dbe66a174187c42
/DL/Avanzado/Vision-Transformer/model.py
66c2689836cdda5250d8bbda32997a8963b935bb
[]
no_license
HiroForYou/Deep-Learning-Collection
70c3b4405bd0f733aa946b71be0292a497bbb947
2b199692739fac8929eb144f9556af544f4eb2ac
refs/heads/main
2023-03-26T21:57:23.581940
2021-03-19T20:12:28
2021-03-19T20:12:28
346,814,850
0
0
null
null
null
null
UTF-8
Python
false
false
5,343
py
import numpy as np import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3' import tensorflow as tf from tensorflow import keras from tensorflow.keras import layers import tensorflow_addons as tfa from dataset import dataset import matplotlib.pyplot as plt # HIPERPARÁMETROS PARA EL modelo num_classes = 10 # CIFAR10 input_or...
[ "csanchezs@uni.pe" ]
csanchezs@uni.pe
09c8465762b44641a8cc4519d5f269a6dc59a91c
9f9082b2d84da1ade9952c829b8ec99e23db2b98
/server/fandogh/user/migrations/0001_initial.py
82beed1205d25f0e08a64e9190376d7f90145cb6
[ "MIT" ]
permissive
RezaHaidari/fandogh
384c79fe7eb26e3a7e7f4bf4597e99fa90227921
6173ab9dee0e5b9756edf31149aad9af0e0d3564
refs/heads/master
2020-03-22T22:53:09.004039
2018-07-09T11:36:26
2018-07-09T11:36:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
513
py
# Generated by Django 2.0.4 on 2018-05-11 16:33 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='EarlyAccessRequest', fields=[ ('id', models...
[ "soroosh.sarabadani@gmail.com" ]
soroosh.sarabadani@gmail.com
d664dec3a87d05a323144383c5556092f7f21f1b
facb8b9155a569b09ba66aefc22564a5bf9cd319
/wp2/merra_scripts/03_model_fitting/merra882/202-tideGauge.py
4b1714fee2523770b8179de06ec5eb94a4ef4150
[]
no_license
moinabyssinia/modeling-global-storm-surges
13e69faa8f45a1244a964c5de4e2a5a6c95b2128
6e385b2a5f0867df8ceabd155e17ba876779c1bd
refs/heads/master
2023-06-09T00:40:39.319465
2021-06-25T21:00:44
2021-06-25T21:00:44
229,080,191
0
0
null
null
null
null
UTF-8
Python
false
false
7,041
py
# -*- coding: utf-8 -*- """ Created on Mon May 4 15:51:30 2020 This program is designed to validate a multiple linear regression model by using the KFOLD method @author: Michael Tadesse """ import os import numpy as np import pandas as pd from sklearn import metrics from scipy import stats from datetime import date...
[ "michaelg.tadesse@gmail.com" ]
michaelg.tadesse@gmail.com