blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
1b646554b77ea9e3b2ef8385b127b6695757f01a
cb5230844234ec481bf6c1d9c01f814caea588ac
/尚学堂_大数据_Python视频教程源码/112-192 web框架项目文档源码/sessionadvance/Test/migrations/0001_initial.py
f7f72ce51b331b19710d555b68530dc6917f5bd6
[]
no_license
yaodwwy/videosCode
d1d7ab91081c2b8e29e7187f29c0abab8c1cc568
5c1da3a0c3155c406cc5288bc609cf05e65f702c
refs/heads/master
2022-06-21T14:51:12.326310
2020-09-02T11:30:51
2020-09-02T11:30:51
155,160,565
0
0
null
2021-12-14T21:24:03
2018-10-29T06:10:34
TSQL
UTF-8
Python
false
false
550
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-11-16 02:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Person...
[ "yaodwwy@gmail.com" ]
yaodwwy@gmail.com
3e21d3fa32c72f5bb7a966914b6b6f0267686556
1d981bcfff967ae43059e2683aca10aadaec6016
/Assignment 1/Function/answer8.py
dbe5526c822d888c9bdf7467988ce809414549fd
[]
no_license
anupjungkarki/IWAcademy-Assignment
ea3b9bb4bce30e71ab0242da18c8e7dd8aad8cb1
e2f48edbac5606962fa3c314095e0da19cb1dcbf
refs/heads/master
2023-01-28T20:06:25.067748
2020-12-14T10:02:30
2020-12-14T10:02:30
316,900,393
0
0
null
null
null
null
UTF-8
Python
false
false
335
py
# Write a Python function that takes a list and returns a new list with unique elements of the first list. def get_unique_list(list_data): result = [] unique_list = set(list_data) for list_data in unique_list: result.append(list_data) return result print(get_unique_list(list_data=[1, 2, 2, 3,...
[ "anupkarki2012@gmail.com" ]
anupkarki2012@gmail.com
fc8b3de97acacd27c2f5bff5c92476b3083f8781
90f26134ccf4f36ebf6ecdf456d4e102d65bf615
/paper_scan_coint.py
288f0084998288d5c473c0631408233d966ec6fd
[]
no_license
hasakura511/ML-TSDP
d3f133df094ede8d6ccea42a98c6b5a2f6a52520
01138b86caf14d8c52350a9031a05a1fc9dde501
refs/heads/master
2023-05-01T20:46:58.459884
2017-12-11T12:46:58
2017-12-11T12:46:58
52,503,676
0
0
null
null
null
null
UTF-8
Python
false
false
4,295
py
import numpy as np import pandas as pd import time from os import listdir from os.path import isfile, join # -*- coding: utf-8 -*- """ Created on Tue Mar 08 20:10:29 2016 3 mins - 2150 dp per request 10 mins - 630 datapoints per request 30 mins - 1025 datapoints per request 1 hour - 500 datapoint per request @author: H...
[ "yuukifushimi@gmail.com" ]
yuukifushimi@gmail.com
022da63ef9f53ae32f1ab4c7a9d9e60d66e7972a
c5148bc364dac753c0872bd5676027a30b260486
/build/lib/biosteam/units/_solids_centrifuge.py
76c6f32915938d7c3f6b219be63f756d874c4b67
[ "MIT", "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ecoent/biosteam
86f47c713a2cae5d6261b6c2c7734ccf7a90fb4e
f1371386d089df3aa8ce041175f210c0318c1fe0
refs/heads/master
2021-02-24T14:10:23.158984
2020-03-05T03:43:17
2020-03-05T03:43:17
245,433,768
1
0
NOASSERTION
2020-03-06T13:59:27
2020-03-06T13:59:26
null
UTF-8
Python
false
false
2,034
py
# -*- coding: utf-8 -*- """ Created on Thu Aug 23 22:18:36 2018 @author: yoelr """ import numpy as np from ..utils.design_warning import lb_warning from .decorators import cost from ._splitter import Splitter __all__ = ('SolidsCentrifuge',) @cost('Solids loading', cost=68040, CE=567, n=0.50, ub=40, BM=2.03, N=...
[ "yoelcortes@gmail.com" ]
yoelcortes@gmail.com
fa3ec2b6b175ccf61ad8d7cc78c27289772c6cbc
8a94de4c3cf8725e7a5a627777d31f43e4ad73f2
/old-leetcode/older/530MinimumAbsoluteDifferenceinBST.py
047ecfc1cf17293d7e0a229ec4084265505c4de6
[]
no_license
zhangzhao156/Basic-Algorithm
a873101fae8e8c750cdab41c60ce4734348bab27
c7f6d176b22cdbd66635d437b4bda8eb36412da3
refs/heads/master
2023-02-10T01:14:12.599898
2021-01-05T14:09:27
2021-01-05T14:09:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,085
py
# Definition for a binary tree node. class TreeNode(object): def __init__(self, x): self.val = x self.left = None self.right = None #中序遍历二叉树,然后求相邻数字的差求最小 class Solution(object): def getMinimumDifference(self, root): """ :type root: TreeNode :rtype: int ...
[ "congyingTech@163.com" ]
congyingTech@163.com
7ef5f61fedaefdaafd595fd886f2ccb6e6010fee
78c3082e9082b5b50435805723ae00a58ca88e30
/03.AI알고리즘 소스코드/venv/Lib/site-packages/caffe2/python/onnx/tests/ssa_test.py
bfb6e37314de38e623c9ee9fbec2ae185aa01ee3
[]
no_license
jinStar-kimmy/algorithm
26c1bc456d5319578110f3d56f8bd19122356603
59ae8afd8d133f59a6b8d8cee76790fd9dfe1ff7
refs/heads/master
2023-08-28T13:16:45.690232
2021-10-20T08:23:46
2021-10-20T08:23:46
419,217,105
0
1
null
null
null
null
UTF-8
Python
false
false
4,150
py
## @package onnx # Module caffe2.python.onnx.tests.ssa_test import copy import numpy as np from caffe2.proto import caffe2_pb2 from caffe2.python import core from onnx import TensorProto import caffe2.python.onnx.frontend as c2_onnx from caffe2.python.onnx.helper import c2_native_run_net from caf...
[ "gudwls3126@gmail.com" ]
gudwls3126@gmail.com
82362590f98be4f3eae2531633b41341bf240d5a
d3efc82dfa61fb82e47c82d52c838b38b076084c
/MoneyFund/moneyfundservice/mfCheckDataPrice.py
9be8f97015e15bc7348e0e7b19bcf58b78174ba9
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,154
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/service") import ServiceConfig from log import * sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/MoneyFund/moneyfundmysql/mysql") from...
[ "418033945@qq.com" ]
418033945@qq.com
40d7a8b3e7effe595f9a4a4428b014e04805d655
f138be1e8e382c404cfe1ff6a35e90fc77fa9bff
/ABC/python/158/B.py
b835fc5b727644861cad0418787d636615f6b262
[]
no_license
jackfrostwillbeking/atcoder_sample
8547d59ca2f66b34905f292191df6c474010fded
d5b2fe8f628fd56eaf23ee7e92938e8ac1b1fef9
refs/heads/master
2023-07-25T19:16:14.340414
2021-08-26T15:26:08
2021-08-26T15:26:08
273,857,286
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import sys N,A,B = map(int,input().split()) if not ( 1 <= N <= 10**18 and 0 <= A and 0 <= B and 0 < A + B <= 10**18 ): sys.exit() if not ( isinstance(N,int) and isinstance(A,int) and isinstance(B,int) ): sys.exit() count = N // (A+B) remind = N % (A+B) if N % (A+B) <= A else A print(count * A + remind)
[ "jackfrostwillbeking@gmail.com" ]
jackfrostwillbeking@gmail.com
25b2827491b8a725d7cda2a9d4e4d340a2a57734
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/batch_write_f/job-queue_delete.py
82a7bd70429602aad868e3eb0a85f100b199a6bc
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
bcf78f2b43a367552a497f96ed2620cc6b9209b9
f8126e4ee63f871ce80241279e4439b3182d224b
/forms/bMD_forms/patches_2_form.py
b5cfc149f67d7ef5b696533394c5e1c8b94a8323
[]
no_license
DmitryChitalov/stress_analysis_app
2c239895d829e842943e6e7a0102deaad2d12509
ce253a7a454f0fcf8f19356fb1b3be272443f24f
refs/heads/master
2020-04-11T21:16:16.652675
2018-12-17T12:04:31
2018-12-17T12:04:31
162,100,233
3
1
null
null
null
null
UTF-8
Python
false
false
5,339
py
# -*- coding: utf-8 -*- #---------------------------Импорт модулей и внешних форм------------------------- from PyQt5 import QtCore from PyQt5 import QtSql from PyQt5 import QtGui from PyQt5.QtWidgets import QWidget, QFileDialog, QLineEdit, QLabel, \ QHBoxLayout, QLineEdit, QPushButton, QGridLayout, \ QFrame...
[ "cdi9@yandex.ru" ]
cdi9@yandex.ru
77cbef4a62b6419e18b265880a155262e2144e79
d3b77550a40b860970450e702b6bcd28d5f9b3e4
/LeetCode/Arrays/find_number_with_even_number_digits.py
ca4541cb8e59fc953cde2311a363086aba0fe2d9
[]
no_license
CateGitau/Python_programming
47bc9277544814ad853b44a88f129713f1a40697
6ae42b3190134c4588ad785d62e08b0763cf6b3a
refs/heads/master
2023-07-08T03:08:46.236063
2021-08-12T09:38:03
2021-08-12T09:38:03
228,712,021
1
0
null
null
null
null
UTF-8
Python
false
false
277
py
""" Given an array nums of integers, return how many of them contain an even number of digits. """ nums = [12,345,2,6,7896] def Findnumbers(nums): even = 0 for i in nums: if len(str(i)) % 2 == 0: even += 1 return even print(Findnumbers(nums))
[ "catherinegitau94@gmail.com" ]
catherinegitau94@gmail.com
d37fef8379053de51113037d203991513ef6cc6d
00c27793e17ec9eab2ef56c31776a322a8a65625
/algorithm/migrations/0001_initial.py
383ea8d4acef13be0f5a26ca47a114868ad1dc4a
[]
no_license
MehdioKhan/Regular-Languages
9a64d461bf1b6f48da363f0e3a64d0658522c6ea
f9fd08b1a9e096cdd6d442e7341164717eb1de80
refs/heads/master
2020-03-12T10:00:10.599348
2018-07-13T14:04:34
2018-07-13T14:04:34
130,211,472
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Generated by Django 2.0.3 on 2018-04-21 20:52 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Contact', fields=[ ('id', m...
[ "mehdiokhan@gmail.com" ]
mehdiokhan@gmail.com
63894ac31e3946a43d8367dcad7eeb52f81ae070
ab0a5f6c799836b06646283867b2454b0238e845
/src/sentry/web/frontend/remove_team.py
757ab540c89c49b1846e004b91284eab89ceef08
[ "BSD-2-Clause" ]
permissive
xiaoge56/sentry
cfc173bd62639b5a2a40b7714018d7af861a3d5f
5e8db7ec93ed06954629e2ba5b7970082913e855
refs/heads/master
2021-01-14T13:16:14.611423
2015-11-13T17:30:12
2015-11-13T17:30:12
46,139,267
1
0
null
2015-11-13T18:18:19
2015-11-13T18:18:19
null
UTF-8
Python
false
false
1,278
py
from __future__ import absolute_import from django import forms from django.contrib import messages from django.core.urlresolvers import reverse from django.http import HttpResponseRedirect from django.utils.translation import ugettext_lazy as _ from sentry.api import client from sentry.web.frontend.base import TeamV...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
499dc3fc6017e14cd04d05276d3338dbca0af9ce
09ce9635b0e74ba178e98efd0d5229a25995713e
/submissions/abc148/e.py
643637658b66f1eabab853b15890756d09275c98
[ "Unlicense" ]
permissive
m-star18/atcoder
7575f1e1f3ee1dfa4a765493eb17b4ef0ad5f1f0
08e475810516602fa088f87daf1eba590b4e07cc
refs/heads/main
2023-07-14T09:16:42.807150
2021-08-22T15:59:48
2021-08-22T15:59:48
364,458,316
1
0
Unlicense
2021-08-22T15:59:49
2021-05-05T04:13:03
Python
UTF-8
Python
false
false
264
py
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines sys.setrecursionlimit(10 ** 7) n = int(read()) if n % 2 == 1: print(0) exit() cnt = 0 n //= 2 while n: n //= 5 cnt += n print(cnt)
[ "31807@toyota.kosen-ac.jp" ]
31807@toyota.kosen-ac.jp
2a953cc214da50b6b58e8a4db2308baf3e6904ee
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_34/355.py
8912ff255b5d772dd85a5873c5fc555028b31a62
[]
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
3,662
py
import sys letters = 'abcdefghijklmnopqrstuvwxyz' def test_cases(FILE): f = open(FILE) total = f.readline() total = total.split() L = int(total[0]) D = int(total[1]) N = int(total[2]) words = [] patterns = [] for i in range(0,D): word = f.readline() w...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
a9dfd0b69e38f7d04a98ee19c74c95f3632e89e7
930309163b930559929323647b8d82238724f392
/arc059_a.py
f0c9807cc6711c91b0cf2dfa947808743ac56156
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
219
py
import statistics import math N=int(input()) *A,=map(int,input().split()) mean = statistics.mean(A) can0, can1 = math.floor(mean), math.ceil(mean) print(min([sum([(can-a)**2 for a in A]) for can in [can0, can1]]))
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
dd140408caff400b7abbb2888b83359a6123792c
67f1b667084de19d03a1054588efdcd5fc0d1c0b
/voter_guide/votes/urls.py
1e3ad9965937a8ed66a72b6506bff5ebd9501255
[ "CC0-1.0" ]
permissive
ericj/councilor-voter-guide
b100295ba50537a1a0180f7080fc130926e3c644
c9557e62a8003356babe7bbc3bf567b3cbfdcbba
refs/heads/master
2021-01-19T07:24:58.638624
2014-11-24T12:29:49
2014-11-26T07:20:09
26,960,311
1
0
null
null
null
null
UTF-8
Python
false
false
336
py
from django.conf.urls import patterns, url from votes import views urlpatterns = patterns('', url(r'^(?P<county>)/(?P<index>normal|conscience)/$', views.select_county, name='votes'), url(r'^(?P<county>\S+)/(?P<index>normal|conscience)/$', views.votes, name='votes'), url(r'^(?P<vote_id>\S+)/$', views.vote, ...
[ "twly.tw@gmail.com" ]
twly.tw@gmail.com
c1095d908df5af2fbc17a0dc286eb9d33832245b
c873bd4c8daa0db3b2fe5b2957eb119d6ca5ac7f
/adminsite/apps.py
d4f2eedf916dc9adad85aebca6e638f3477f45c7
[]
no_license
PRIVATpython/Online-Shop-Bot
0bec0936217ee83afcb685fb747345700aaaca3c
d191df8cec4d9fb7e3a2dba1792b5758cd9eaf81
refs/heads/master
2023-08-16T13:06:02.784412
2021-09-30T14:42:07
2021-09-30T14:42:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
150
py
from django.apps import AppConfig class AdminsiteConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'adminsite'
[ "you@example.com" ]
you@example.com
c55bdfb97c69c72f270a4e7f5d6885b060c845cc
854202772d2b1c54955d9f800b3df6683217b888
/analyses/median_lengths.py
41e073c8c1768180c19e9f0bb34ae9df4b09d52b
[]
no_license
domspad/text_viz_project
1efa342c3f9f02308e02d4742b9766ecf690df89
344487a6a4578c610b5b3069a1afb1fbdc70f8e7
refs/heads/master
2016-08-05T00:05:19.880117
2015-06-23T23:56:49
2015-06-23T23:56:49
37,825,657
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
""" This script will output med_word_length_syll med_sent_length_word med_word_length_char 9 3 23 3 5 52 3 2 52 .. .. .. FOR ALL TEXTS EXCEPT JULUIS CAESAR AND ROMEO AND JULIET to be copied over to the data file """ import sys sys.path.append('/Users/dominicspadacene/Desktop/school_books/text_viz_project/')...
[ "domspad@umich.edu" ]
domspad@umich.edu
2a94c9c911380d96ff0b6c8f83da11df42787538
9b20161b91400238b0c6e6ee3282a328d42935e2
/tensorflow_datasets/graphs/ogbg_molpcba/dummy_data_generation.py
b2e476fa159fc3c13d7002a8ecb118da8cfe6922
[ "Apache-2.0" ]
permissive
okyanusoz/datasets
61c0ced07c420d7e900080e851890def74a37d94
8997c4140cd4fc145f0693787b1da78691930459
refs/heads/master
2023-05-31T23:19:30.153499
2021-05-06T19:56:49
2021-05-06T19:58:56
365,308,067
1
1
Apache-2.0
2021-07-04T11:15:13
2021-05-07T17:32:53
null
UTF-8
Python
false
false
5,857
py
# coding=utf-8 # Copyright 2021 The TensorFlow Datasets 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 appl...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
b291b6821ed4551d1fdcf02916e9f06ea557911d
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/fv/rstodomdef.py
36654a8825237533c59331f4ce19893f2fd4223e
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
7,315
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
869e5e6d1ba1d032a90336d9750a171884ebe9bb
544cfadc742536618168fc80a5bd81a35a5f2c99
/test/vts-testcase/performance/fmq_benchmark/FmqPerformanceTest.py
9c86942206858bd8ab1af2c305aac3c3b0861e82
[]
no_license
ZYHGOD-1/Aosp11
0400619993b559bf4380db2da0addfa9cccd698d
78a61ca023cbf1a0cecfef8b97df2b274ac3a988
refs/heads/main
2023-04-21T20:13:54.629813
2021-05-22T05:28:21
2021-05-22T05:28:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,166
py
#!/usr/bin/env python # # Copyright (C) 2017 The Android Open Source Project # # 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 req...
[ "rick_tan@qq.com" ]
rick_tan@qq.com
90dd4b65298b8d470047e7e458050de4efc5b91d
224832fed9b1cac2f7f2deac01ece91dcb61daca
/basistoknowofpython/utils.py
6c45f4613869a16d20108eec30e186fdabc51a96
[]
no_license
existenceE/into
aff0584c1e0b69df91292e4d2eb0dba83f373e3a
6e24bb7d49219a75799a42bcb09475d16fc36781
refs/heads/master
2020-03-12T23:18:34.357303
2019-04-08T01:50:16
2019-04-08T01:50:16
130,863,399
0
0
null
null
null
null
UTF-8
Python
false
false
772
py
import requests from requests.exceptions import ConnectionError base_headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36', 'Accept-Encoding': 'gzip, deflate, sdch', 'Accept-Language': 'en-US,en;q=0.9,zh-CN;q=0.8,zh;q=...
[ "mxn2013@gmail.com" ]
mxn2013@gmail.com
90b6358c72d334fbb7bf9e198741474cf275ee78
95863ef4e8dfcce24dc7e565950728ba4e95d702
/1864_문어숫자.py
5339e01164491f65f464dc43e8063596f4310f15
[]
no_license
choijaehyeokk/BAEKJOON
ee007cd1f06724872fb2359930b26f32a0d646da
1fa57407a2d981ddd851c135e81c9861afa2dd81
refs/heads/master
2023-05-18T01:59:00.753233
2021-06-12T15:50:12
2021-06-12T15:50:12
329,467,059
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
import sys octo = {'-':0, "\\":1, '(': 2, '@': 3, '?': 4, '>': 5, '&': 6, '%': 7, '/': -1} while True: number = sys.stdin.readline().rstrip() if number == '#' : break result : int = 0 squared = len(number) - 1 for i in range(len(number...
[ "enlqn1010@gmail.com" ]
enlqn1010@gmail.com
762b6bf6059f6a95ca732ba73720f6429b48e536
73726c3bd3db0bd4f2be54cde663887ccf36ffc9
/release/nrc/nrc.str.sencoten/extras/fix-wordlist.py
db4352ef358b297871e0894d64b8201d408e4f54
[ "MIT" ]
permissive
keymanapp/lexical-models
d04f88346595cd84b275304ee5875b58fc3728e2
7baa65560e31dee4e7426c0746db04de8fdb7465
refs/heads/master
2023-08-18T09:32:36.559842
2023-07-29T16:08:06
2023-07-29T16:08:06
167,696,050
10
36
MIT
2023-08-14T20:59:18
2019-01-26T14:10:41
HTML
UTF-8
Python
false
false
3,572
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ Takes Timothy Montler's original word list and cleans up some punctuation and other oddities. Requires Python 3.6! Maintainer: Eddie Antonio Santos <easantos@ualberta.ca> """ import re import sys from collections import Counter from unicodedata import normalize d...
[ "easantos@ualberta.ca" ]
easantos@ualberta.ca
13124f48308920f476e22586a8d783cf1f7bf1f4
c91d029b59f4e6090a523bf571b3094e09852258
/src/manutencao/migrations/0028_maquina_subtipo_maquina.py
c8d0013825ed4525ce4be0b5724f2b8e68475a39
[ "MIT" ]
permissive
anselmobd/fo2
d51b63ebae2541b00af79448ede76b02638c41f0
8e7f8f3d9a296c7da39d0faf38a266e9c6c162ab
refs/heads/master
2023-08-31T19:59:33.964813
2023-08-31T19:50:53
2023-08-31T19:50:53
92,856,677
1
0
MIT
2023-04-21T21:50:46
2017-05-30T17:04:27
Python
UTF-8
Python
false
false
549
py
# Generated by Django 3.2.16 on 2023-06-27 16:04 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('manutencao', '0027_subtipomaquina'), ] operations = [ migrations.AddField( model_name='maquina...
[ "anselmo.blanco.dominguez+github@gmail.com" ]
anselmo.blanco.dominguez+github@gmail.com
ae460c16a50e8396f68096535c766dea31045947
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Jjbbjqm3JuA6WnPYH_4.py
72cd5b4d03c993c4557441c097814b88f36022bb
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
""" Python offers some bit operations but not bit rotation. To complete that, create a function that takes three parameters: 1. `n`: Integer, which in binary representaion should be rotated. 2. `m`: Number of rotation steps that should be performed. 3. `d`: Boolean value; `True` = rotation right, `False` = ro...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0059eb91d0521fd8b7bfae22cc1ed87e05b83d06
bbe7d6d59ef6d7364ff06377df9658367a19c425
/toon/LaffRestockGlobals.py
2f406c03038ccdf7e4c9db48a19782c5998df4c7
[ "Apache-2.0" ]
permissive
DedMemez/ODS-August-2017
1b45c912ad52ba81419c1596644d8db2a879bd9b
5d6214732e3245f63bfa250e3e9c881cc2dc28ad
refs/heads/master
2021-01-22T18:37:51.626942
2017-08-19T02:04:51
2017-08-19T02:04:51
100,762,513
0
8
null
null
null
null
UTF-8
Python
false
false
506
py
# Fuck you Disyer. Stealing my fucking paypal. GET FUCKED: toontown.toon.LaffRestockGlobals from toontown.toonbase import TTLocalizer TIMER_SECONDS = 30 TIMER_END = 0 USER_CANCEL = 1 RESTOCK = 2 FULL_LAFF = 0 LESS_LAFF = 1 NOT_ENOUGH_MONEY = 2 RESTOCK_SUCCESSFUL = 3 RestockMessages = {FULL_LAFF: TTLocalizer.R...
[ "noreply@github.com" ]
DedMemez.noreply@github.com
d8ff95b4940030090f7512307fd1d8e564b433d9
bf426f52cf7462ba4b8b583f0fbd3f5585a73491
/System/Processes/pipe1.py
c9d12aeef4ed4ef4b79e8d897cd62ba46e3f716b
[]
no_license
CodedQuen/Programming-Python-by-Mark-Lutz
337b309f8ba98be3ac7585d0de0fc8d7ee4697f5
0397b29973ab24d476308b1f4f3c9befb3169a25
refs/heads/master
2022-06-09T21:19:01.891651
2020-05-01T01:57:13
2020-05-01T01:57:13
260,358,442
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import os, time def child(pipeout): zzz = 0 while True: time.sleep(zzz) # make parent wait msg = ('Spam %03d' % zzz).encode() # pipes are binary bytes os.write(pipeout, msg) # send to parent zzz = (zzz+1) % 5 # goto 0 a...
[ "noreply@github.com" ]
CodedQuen.noreply@github.com
750da96c70978fbfc860cf6ee91e3c4b53244b47
3cedb583e9f3dfcdf16aeba56a0b3ff7c6213e99
/python-codes/m2_curso_em_video_estruturas_de_controle/ex053.0.py
c98efcbece9d367788656fce4ebb4c1b8a29e3a5
[ "MIT" ]
permissive
lucasportella/learning-python
0f39ae2389db6d07b5b8c14ebe0c24f1e93c77c5
a9449dffd489e7e1f1619e3acef86bc2c64f0f14
refs/heads/master
2022-12-26T15:04:12.806300
2020-10-14T23:17:47
2020-10-14T23:17:47
260,685,503
0
0
null
null
null
null
UTF-8
Python
false
false
286
py
frase = str(input('Digite uma frase: ')).lower() frase = ''.join(frase.split()) ordem = (frase[0:]) invert = (frase[::-1]) print('O inverso de {} é {}.'.format(ordem,invert)) if ordem == invert: print('A frase é um palíndromo!') else: print('A frase não é um palíndromo.')
[ "lucasportellaagu@gmail.com" ]
lucasportellaagu@gmail.com
6df7fc71c14848e919b9e1e58aa9fe61ac2eb521
be51250bcf59e1b47ed417c45e203c50aa233aae
/dojo-python-django/belt_review/belt_review/settings.py
90119b53b43cdd608621236219114343809c4347
[]
no_license
shoredata/dojo-python
4f064c76632bf94a385bb9f552562eb5640398b2
e7b7a542fa086088252ce92257f37c4b5eedd0c4
refs/heads/master
2020-05-02T22:07:31.547469
2019-03-28T17:44:06
2019-03-28T17:44:06
178,242,426
0
0
null
null
null
null
UTF-8
Python
false
false
3,141
py
""" Django settings for belt_review project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import o...
[ "31630233+shoredata@users.noreply.github.com" ]
31630233+shoredata@users.noreply.github.com
80aa94307c14661cbd24724212a679915c2cfa12
ff4e8dce711aa148517fa84f63a1f724366a171b
/flask_unchained/di.py
740c00daf2670a286661d259f1762e71f44d552c
[ "MIT" ]
permissive
zilleanai/flask-unchained
2701810e35b0fae7845f51b92729dd1eac48ffab
5214ffd2194b7a4a85ed0d4f0993325ce0ea9e7c
refs/heads/master
2020-05-05T10:02:28.682842
2019-04-24T15:36:35
2019-04-24T15:36:35
179,927,601
0
0
null
2019-04-07T06:40:51
2019-04-07T06:40:51
null
UTF-8
Python
false
false
5,401
py
import functools import inspect from py_meta_utils import (AbstractMetaOption, McsArgs, MetaOptionsFactory, process_factory_meta_options, deep_getattr) from types import FunctionType from typing import * from .constants import _DI_AUTOMATICALLY_HANDLED, _INJECT_CLS_ATTRS from .string_utils ...
[ "briancappello@gmail.com" ]
briancappello@gmail.com
56a06003a7d4e13a0a1df5911ed144ece2a5e24d
2e556e4955c978d3c6a7d8bed7f2820cdb5b79c9
/Registration-master/Registration-master/djangoProject/settings.py
25538c617e6b28adbd2b7e529e3240a753ee9ac1
[]
no_license
pankajmandrai/dj
53bd048418e72e04115e60608b00b4dcf011e74c
704a2db3725a924f067becf102314dbda5fe6fc9
refs/heads/master
2021-07-05T16:09:34.789693
2020-08-26T12:35:02
2020-08-26T12:35:02
159,200,628
0
0
null
null
null
null
UTF-8
Python
false
false
3,756
py
""" Django settings for djangoProject project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import...
[ "44706073+pankajmandrai@users.noreply.github.com" ]
44706073+pankajmandrai@users.noreply.github.com
56f6b1b823d407b6906ef58ed4253d6644c797de
f769e0a8e80f604502a63ae0073b8e95c771bad8
/blog_app/migrations/0001_initial.py
23fcf666b73af8227c423089468763eaac6d7552
[]
no_license
Justprince234/blog
6c318f005346086b2df28741e689a032646d1c9f
25004f3731045384dd423f8e6375a5e609fd5548
refs/heads/master
2023-01-23T14:07:36.119180
2020-08-06T00:57:07
2020-08-06T00:57:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,392
py
# Generated by Django 3.0.4 on 2020-08-06 00:44 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "princewilljackson@ymail.com" ]
princewilljackson@ymail.com
adb2a481442158dfde619b81bc1b8c682b60867c
894c973735c5ca727cab30c1b8df261c7e2ace0d
/Algorithms/binary_search.com/height.py
0943867ca0db2f1874e575d237e63be179763331
[]
no_license
Alferdize/Data-Structure-and-Algorithms
a587ae5851aee531deaf84f9ec65a7c55787dd55
5cbb1d3232acff55ac3f7508b5ace0785be540ac
refs/heads/master
2020-12-08T22:10:38.100156
2020-06-02T07:58:27
2020-06-02T07:58:27
233,109,088
0
0
null
null
null
null
UTF-8
Python
false
false
341
py
def solve(self, root): # Write your code here def trv(node): # return height of a node if node is None: return [0, True] else: lh = trv(node.left) rh = trv(node.right) return [max(lh[0], rh[0])+1, abs(lh[0]-rh[0]) <= 1 and lh[1] and rh[1]] ...
[ "simonandrew132@gmail.com" ]
simonandrew132@gmail.com
2eaa9587ea6a782533000c3f004a04ad9eca294d
28dbe47aba287ed94ef7bba734203736bcc06249
/.history/dmac_20200624215944.py
1ab57704557de53e135d6e7caf6794d0e696efde
[]
no_license
ntung88/Trading_Algorithms
242fd816b19df95e02e9fcd8c5c91c862d2ede40
d96488b1754e3751f739d9c3f094a8f8dc54a0a9
refs/heads/master
2022-11-19T16:04:07.800344
2020-07-17T21:14:10
2020-07-17T21:14:10
276,239,640
1
0
null
null
null
null
UTF-8
Python
false
false
3,570
py
import yfinance as yf import numpy as np from scipy.stats import norm import pandas as pd from pandasgui import show from scipy.optimize import minimize, LinearConstraint import matplotlib.pyplot as plt def clean_data(data): incomplete_idxs = False for col in data.columns: incomplete_idxs |= np.isnan(d...
[ "nathantung@Nathans-MacBook-Pro.local" ]
nathantung@Nathans-MacBook-Pro.local
cb3cd54e149dd42a82b2dad5aeec501c5a656562
15a2a8c612545e61dab18a5d0673b1cef95a9638
/PublicReference/__init__.py
82941e8c99ef79b640ad36b6d713476bff476370
[]
no_license
YICHENG-LAI/DNFCalculating
6fa10b692580dad119446307508a3bf32ff46d1a
426375e4e0034e435a8f38974ce81323c8ea7f9c
refs/heads/master
2022-11-17T00:18:06.650791
2020-07-05T07:28:50
2020-07-05T07:28:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # ------------------------------- # File : logging # DateTime : 2020/6/10 0010 17:21 # Author : Chen Ji # Email : fzls.zju@gmail.com # ------------------------------- import logging import pathlib import sys from datetime import datetime from .common import * ...
[ "wxh_email@yeah.net" ]
wxh_email@yeah.net
b87ec34ebc5eb20d3326b6375217e6a4fbef28da
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03993/s174234018.py
efbbb06f8b748863f15245d4f47834bb2258ed0e
[]
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
431
py
import collections import sys import numpy as np sys.setrecursionlimit(1000000000) from heapq import heapify,heappop,heappush,heappushpop MOD = 10**9+7 import itertools import math n = int(input()) a = list(map(int,input().split())) pair = [] for i in range(len(a)): koho = [i,a[i]-1] koho.sort() pair.appen...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
097177e4ebdbc50b8187568932b6ecfba043c174
f29f09f7edfa5f23eef77f25c251033fd9acd524
/exyr/__init__.py
b5762130c23db386613c47e9dd1fac76d2da2f4b
[ "BSD-3-Clause" ]
permissive
padenot/exyr.org
9d6a6ad11e2434b7ec34bcbb1fa19ce3551ecf99
47147f66f9804965625b75589e0af1e171ff111d
refs/heads/master
2021-01-21T15:38:26.408020
2015-03-09T10:26:22
2015-03-09T10:27:24
33,189,403
0
0
null
2015-03-31T14:15:42
2015-03-31T14:15:42
null
UTF-8
Python
false
false
4,772
py
import os import io import re import datetime import itertools import markdown as markdown_module import pygments.formatters import yaml import jinja2 import werkzeug from flask import Flask, render_template, send_from_directory, abort, url_for app = Flask(__name__) app.jinja_env.undefined = jinja2.StrictUndefined a...
[ "simon.sapin@exyr.org" ]
simon.sapin@exyr.org
bde2bc9a47e1e4e7654b19b19f84e0c4bacafc8f
2af9121ebeb04d684f10e00f95417e2e4bc8e42e
/src/customers/migrations/0006_auto_20200403_1626.py
771029c6ef063ac94c4516cf9606d6d13ae5286c
[]
no_license
ionescuig/freelance-manager
b323b3e37b2c0b948c911a5703dc028516a1aa5a
fefa91156269bc3cf5a5b0ff07e4f7c32097636a
refs/heads/master
2022-02-06T04:02:12.168861
2021-04-06T19:47:10
2021-04-06T19:47:10
233,611,952
0
0
null
2022-01-06T22:41:48
2020-01-13T14:16:35
HTML
UTF-8
Python
false
false
540
py
# Generated by Django 2.2.9 on 2020-04-03 15:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('customers', '0005_auto_20200403_1623'), ] operations = [ migrations.AlterF...
[ "ionescuig@yahoo.com" ]
ionescuig@yahoo.com
6136bb1259f043c17ccfaa5f9e1a527ca82fc2a5
0b134572e3ac3903ebb44df6d4138cbab9d3327c
/app/grandchallenge/algorithms/migrations/0003_algorithm_organizations.py
f56fa623e61d47e6365b66fdf191434d6a4aba50
[ "Apache-2.0" ]
permissive
comic/grand-challenge.org
660de3bafaf8f4560317f1dfd9ae9585ec272896
dac25f93b395974b32ba2a8a5f9e19b84b49e09d
refs/heads/main
2023-09-01T15:57:14.790244
2023-08-31T14:23:04
2023-08-31T14:23:04
4,557,968
135
53
Apache-2.0
2023-09-14T13:41:03
2012-06-05T09:26:39
Python
UTF-8
Python
false
false
643
py
# Generated by Django 3.1.1 on 2020-12-17 06:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("organizations", "0001_initial"), ("algorithms", "0002_auto_20201214_0939"), ] operations = [ migrations.AddField( model_...
[ "noreply@github.com" ]
comic.noreply@github.com
0d969a054e54ed20c523f3d9760a6e8b41c05955
7357d367b0af4650ccc5b783b7a59090fdde47bb
/basic_ML/regression/linear_regression_GD.py
d143b2502a79c99363e1bdfa20fad2b8b9e554de
[ "MIT" ]
permissive
BarracudaPff/code-golf-data-python
fb0cfc74d1777c4246d56a5db8525432bf37ab1a
42e8858c2ebc6a061012bcadb167d29cebb85c5e
refs/heads/main
2023-05-29T05:52:22.856551
2020-05-23T22:12:48
2020-05-23T22:12:48
378,832,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,547
py
""" linear_regression_GD.py (author: Anson Wong / git: ankonzoid) """ class LinearRegressorGD: def __init__(self): pass def fit(self, X, y): print("Fitting...") N, d = X.shape a_fit = np.random.normal(size=d + 1) loss_tolerance = 1e-2 fit_tolerance = 1e-4 eta = 1e-6 converge = False loss = 9e99 ...
[ "sokolov.yas@gmail.com" ]
sokolov.yas@gmail.com
e0d5b3565126a2f451ea598240d070ee8af91585
c6554c9a24e267be33c4710257cfcdd1a99e0bfa
/trello_background_watchdog/users/apps.py
972269cc447d7e885bcdeef8a582a4029100913c
[ "MIT" ]
permissive
KNI-Genbit/trello-background-watchdog
10a1e4c56645c2270039ac60523632b9c991ec37
8c92ca02f7dfb8ab4d099f7d68105c57a5f269ca
refs/heads/master
2020-12-24T11:37:26.729809
2016-11-07T01:44:58
2016-11-07T01:44:58
73,024,143
0
0
null
null
null
null
UTF-8
Python
false
false
292
py
from django.apps import AppConfig class UsersConfig(AppConfig): name = 'trello_background_watchdog.users' verbose_name = "Users" def ready(self): """Override this to put in: Users system checks Users signal registration """ pass
[ "naczelnik@jawnosc.tk" ]
naczelnik@jawnosc.tk
d9990486c131d6860b3534c706736c4dbca3122d
be1c645dea7f35dea75a63d4984fdfdd31c15f3f
/tasking/projects/migrations/0003_initial.py
addf0ee2004edd7c6c72e5eec26244d05547ba9c
[ "MIT" ]
permissive
cmanallen/tasking
e46b2c5ec818d320fb59484751a2892e46e47489
0a613357148afdb4b55078c58429ec45bb60a436
refs/heads/master
2021-01-10T19:38:17.958677
2015-01-09T18:58:57
2015-01-09T18:58:57
22,313,809
0
0
null
null
null
null
UTF-8
Python
false
false
1,551
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Project' db.create_table('projects_project', ( ...
[ "cmanallen90@gmail.com" ]
cmanallen90@gmail.com
c8df0ed0347cb08e59a10ee94aad147ddee9dd13
d272b041f84bbd18fd65a48b42e0158ef6cceb20
/catch/datasets/rotavirus_h.py
8472583417f88df4bf62726ade8d114f660668f9
[ "MIT" ]
permissive
jahanshah/catch
bbffeadd4113251cc2b2ec9893e3d014608896ce
2fedca15f921116f580de8b2ae7ac9972932e59e
refs/heads/master
2023-02-19T13:30:13.677960
2021-01-26T03:41:10
2021-01-26T03:41:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,266
py
"""Dataset with 'Rotavirus H' sequences. A dataset with 62 'Rotavirus H' sequences. The virus is segmented and has 11 segments. Based on their strain and/or isolate, these sequences were able to be grouped into 46 genomes. Many genomes may have fewer than 11 segments. THIS PYTHON FILE WAS GENERATED BY A COMPUTER PROG...
[ "hmetsky@gmail.com" ]
hmetsky@gmail.com
e3a11ec0e82fb4e42dd5e2c5659ad9348ca7570d
068082a2946d0579f2cbe7ecaf4cf7eb3b1d2440
/blog/utils/ssh_utils.py
80f2f0a3b9e3e822ac63d266cab5cfd222ec441e
[]
no_license
StephenTao/blog
5fab2ff5d6566cff7599dfb1962dfcdd7e115d3a
a542dbca7c3effeb3834ff97ab002d70c561b2db
refs/heads/master
2021-01-10T15:46:40.733217
2016-02-25T07:27:31
2016-02-25T07:27:31
52,505,230
0
0
null
null
null
null
UTF-8
Python
false
false
2,056
py
# -*- coding: utf-8 -*- # # Copyright 2014 - Mirantis, Inc. # # 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 requir...
[ "stephenhuang@augmentum.com.cn" ]
stephenhuang@augmentum.com.cn
bace035a5499c7b4d0426c9f4ebd72cbc008beda
0c8a267966edd260177106beb04daad8622ba07f
/enron_dataset_project/utils/data_loader.py
edfadc020bb3d3c6474c2b10bc2236100e8f748d
[]
no_license
BrianSipple/Machine_Learning
9665cec5ba9cc94e0dc06db346ddf18cff19d6a6
f0848183dba64000ff26a32ec45e97531d2bc758
refs/heads/master
2021-01-19T00:44:21.123062
2015-02-09T04:17:40
2015-02-09T04:17:40
29,520,532
1
0
null
null
null
null
UTF-8
Python
false
false
483
py
#!/usr/bin/python """ Starting point for exploring the Enron dataset (emails + finances) loads up the dataset (pickled dict of dicts) the dataset has the form enron_data["LASTNAME FIRSTNAME MIDDLEINITIAL"] = { features_dict } {features_dict} is a dictionary of features associated with that person...
[ "Bsipple57@gmail.com" ]
Bsipple57@gmail.com
00727b41da3afe4197ea45fcf8a204ba6ab203bf
d17a8870ff8ac77b82d0d37e20c85b23aa29ca74
/lite/tools/search_support_ops.py
43c3c0704d72c6dc984c0e1e08a45c756ceb2e36
[ "Apache-2.0" ]
permissive
PaddlePaddle/Paddle-Lite
4ab49144073451d38da6f085a8c56822caecd5b2
e241420f813bd91f5164f0d9ee0bc44166c0a172
refs/heads/develop
2023-09-02T05:28:14.017104
2023-09-01T10:32:39
2023-09-01T10:32:39
104,208,128
2,545
1,041
Apache-2.0
2023-09-12T06:46:10
2017-09-20T11:41:42
C++
UTF-8
Python
false
false
1,832
py
# -*- coding: utf-8 -*- import os import re def merge_sort_two_list(la, lb): la.extend(lb) la = list(set(la)) la.sort() return la ops_file = "../api/paddle_use_ops.h" kernels_file = "../api/paddle_use_kernels.h" result_file = "./support_ops_list.md" # search ops if os.path.exists(ops_file): pa...
[ "noreply@github.com" ]
PaddlePaddle.noreply@github.com
13f647498d3538ee8126e231a8e9d0709f98aea0
904f80808061d498e9c8aeaccee5de172b5e97e6
/pycharm/ch01/simple.py
85b20cb625347df3eab4d407216bcfe9d11a0cc5
[]
no_license
Orderlee/tjoeun
ad48691f439f47b5518f374ca3089c9d5f2e845e
e494b39ee4574076b52ab1cc2b93443ee0572bae
refs/heads/master
2022-12-23T07:35:07.481383
2020-09-27T14:20:30
2020-09-27T14:20:30
298,336,476
0
0
null
null
null
null
UTF-8
Python
false
false
290
py
#리스트 languages = ['python', 'perl', 'c', 'java'] for lang in languages: if lang in ['python','perl']: print("%6s need interpreter" % lang) elif lang in ['c','java']: print("%6s need complier" % lang) else: print("should not reach here")
[ "61268230+Orderlee@users.noreply.github.com" ]
61268230+Orderlee@users.noreply.github.com
d7f76db6213139d3c1be81f8a41aa7059db3884f
015eb3f0b9a2da9f29c0d352515269bcce2fe6c1
/ftests/test_adapter_doctest.py
552b124d68915d2b9f66ac9481f8eff47332d64f
[]
no_license
aclark4life/worldcookery
4dcfe85263aa5072c280291a56c9256eda9af311
783fa5c87b3134cffb598cf001f878198d7a02e8
refs/heads/master
2021-01-21T11:39:53.507380
2015-07-14T00:55:50
2015-07-14T00:55:50
39,041,481
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
import unittest from zope.app.testing.functional import FunctionalDocFileSuite def test_suite(): return FunctionalDocFileSuite('adapter.txt', package='worldcookery.browser') if __name__ == '__main__': unittest.main(defaultTest='test_suite')
[ "aclark@aclark.net" ]
aclark@aclark.net
971b75c99c9fb21901ea2dbcf759a13fcf752243
cb6482b61e94355b9a86aec3361d00da6986a57e
/cme/protocols/ssh/database.py
101bfa1ad1fb8bc88bc910e793daf08a1db76567
[ "BSD-2-Clause" ]
permissive
fengjixuchui/CrackMapExec
27e0e8f3f36f743faee36d804d7fa2b448c2dc1d
5c19ba561bb965c742da3f25e78da38cb9c98297
refs/heads/master
2021-07-09T07:48:39.157251
2020-11-07T03:28:40
2020-11-07T03:28:40
211,487,169
1
1
BSD-2-Clause
2020-11-07T03:28:41
2019-09-28T11:03:15
Python
UTF-8
Python
false
false
532
py
class database: def __init__(self, conn): self.conn = conn @staticmethod def db_schema(db_conn): db_conn.execute('''CREATE TABLE "credentials" ( "id" integer PRIMARY KEY, "username" text, "password" text, "pkey" text )''') ...
[ "byt3bl33d3r@gmail.com" ]
byt3bl33d3r@gmail.com
17d9b2ab5a5d863d58f1087b0dfa5cbb19b93bdb
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/sum-of-multiples/92415244c41c478682154c27e02bf76f.py
bb2e07edfffcb821967c2fa160abbf1d1282758c
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
152
py
def sum_of_multiples(n, a = [3, 5]): if a[0] == 0: a = a[1:] x = [z for z in xrange(n) if any(z % i == 0 for i in a)] return sum(x)
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
1104c4bc6ece95e0b0911433e5adf740fc99583c
2a1b8a671aceda6bc446f8ce26400aa84fa444a6
/Packs/HealthCheck/Scripts/HealthCheckInstalledPacks/HealthCheckInstalledPacks.py
8ecc50700fb5b427672126d78e5821d2dbf71c44
[ "MIT" ]
permissive
demisto/content
6d4722d46f0ff0beea2748e9f7de585bf91a78b4
890def5a0e0ae8d6eaa538148249ddbc851dbb6b
refs/heads/master
2023-09-04T00:02:25.618032
2023-09-03T21:56:22
2023-09-03T21:56:22
60,525,392
1,023
1,921
MIT
2023-09-14T20:55:24
2016-06-06T12:17:02
Python
UTF-8
Python
false
false
1,701
py
import demistomock as demisto # noqa: F401 from CommonServerPython import * # noqa: F401 packs = [] need_update = 0 incident = demisto.incidents()[0] accountName = incident.get('account') accountName = f"acc_{accountName}/" if accountName != "" else "" config_json = demisto.executeCommand("demisto-api-get", ...
[ "noreply@github.com" ]
demisto.noreply@github.com
b71259cb67ed7cd2d883d5d2c439e7d7fe573bb9
7b02411227428bb746e7622736dc006ee24ca925
/fhirclient/models/schedule_tests.py
c80ba9153e8e3a04811e656d7929e14d2c1f8756
[]
no_license
NCATS-Tangerine/CPKG
81c74abaec8de75ad769724e84d893dec117cf97
92b6079d61bdb975a0a4bc08879f56b686ff08ef
refs/heads/master
2022-12-10T17:55:52.586808
2019-08-20T20:19:56
2019-08-20T20:19:56
202,387,355
0
0
null
2022-12-08T06:01:57
2019-08-14T16:29:04
Python
UTF-8
Python
false
false
6,515
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.1.0-0931132380 on 2019-08-06. # 2019, SMART Health IT. import os import io import unittest import json from . import schedule from .fhirdate import FHIRDate class ScheduleTests(unittest.TestCase): def instantiate_from(self, filename): ...
[ "solbrig@jhu.edu" ]
solbrig@jhu.edu
67b00941e36b683f5df29fbf6fbb36619e1d5e5c
814568751dccd74638cee34a371bef0ccf739e72
/tfcc_code_generator/frontend/onnx/converter/random/randomuniformlike.py
097f1aaaa8ea17d04f6b326f86c7c1b9e0a3f680
[]
no_license
zjjnevergg/WeChat-TFCC
03010e67b4d8427e0b5174b06e8f198e1e515e27
fe76438cb9a632e65e999680f19443bfcf27957e
refs/heads/master
2023-06-07T02:16:49.703797
2021-07-06T23:05:38
2021-07-06T23:10:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,010
py
# Copyright 2021 Wechat Group, Tencent # # 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...
[ "yonderxiao@tencent.com" ]
yonderxiao@tencent.com
3bcca9730d2365475b7576a71cad7a213526426f
c180333a152eb3efd39ec1a6f92965c2124d41fd
/Dojo/Python_Stack/Django/019beltreview/main/apps/beltreview/views.py
00932d3e5ad1fc7105a4b527807487fc1f48fe7c
[]
no_license
AlexFloresGreer/Branching_and_Merging
3399a91dfb9f23e6d3ec163d40d004d27bc330ab
3d53fb814345d075a79a6078a63c9ef7ccfa09bc
refs/heads/master
2021-01-15T09:15:27.153736
2016-08-24T18:02:58
2016-08-24T18:02:58
64,349,980
0
0
null
null
null
null
UTF-8
Python
false
false
2,059
py
from django.shortcuts import render, redirect, HttpResponseRedirect, HttpResponse from django.contrib import messages from .models import User, validationManager, Book, Author, Reviews import bcrypt import datetime # from datetime import datetime #CONTROLLER #Create your views here. def index(request): return rend...
[ "floresalexx@gmail.com" ]
floresalexx@gmail.com
04b6738c1f8d3133e041129ed7c343eed119a818
82f5c7cfd8cb6fd45413a2b6b1a9964f44ef4280
/app/celery/process_sns_receipts_tasks.py
e0059311ef8c8a16cd5f4b83ca9944da532220e6
[ "MIT" ]
permissive
isabella232/notification-api
3fcb36ce980e55b9dd29f402b6b3b98affad78fe
d33727f06da5470ef1e93d49596f3c8a9d82e46c
refs/heads/master
2023-02-26T01:49:02.820339
2021-02-03T17:57:08
2021-02-03T17:57:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,733
py
from datetime import datetime, timedelta import iso8601 from celery.exceptions import Retry from flask import current_app, json from notifications_utils.statsd_decorators import statsd from sqlalchemy.orm.exc import NoResultFound from app import notify_celery, statsd_client from app.config import QueueNames from app.d...
[ "noreply@github.com" ]
isabella232.noreply@github.com
4fa4681bee9fc85c13957de195ed73f7792c1767
a438748ac89d53b19e7f4130529906896f059b25
/screenshot.py
a1e08857c7a7e48b8386fce11dd5587e18823e7d
[]
no_license
Alexfordrop/Basics
90ead9294727a823eb044e5f2f69d8f29133d150
eda400424b2c72bd5e01a6c7cb14ad7ae29477d4
refs/heads/master
2023-06-08T16:42:26.704163
2021-06-27T20:46:27
2021-06-27T20:46:27
329,421,907
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import pyscreenshot # Делаем скриншот image = pyscreenshot.grab() # Открываем его image.show() # Сохраняем результат image.save('screenshot.png')
[ "mishechkin.aleksei@mail.ru" ]
mishechkin.aleksei@mail.ru
64651ae9bb04c29c431e9db07206587412040f00
3960122369ba7d800c67b67b80eb1bf6e45991d2
/src/db.py
8b722155000d859f817a7bdd72f5f9f2e991fe52
[ "MIT" ]
permissive
sasano8/fastapi_docker_template
be5be17795889aad119e7bae64e9f96c8f05d11d
9f53ba7473da02f5fe9725c753a4ab491e42c855
refs/heads/main
2023-02-09T01:26:19.191254
2021-01-05T17:28:30
2021-01-05T17:28:30
327,011,895
0
0
null
null
null
null
UTF-8
Python
false
false
1,140
py
from typing import Iterable from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import Session, sessionmaker from src.config import Env env = Env() engine = create_engine( env.connection_string, connect_args={"options": "-c timezone=utc"} ) SessionLo...
[ "y-sasahara@ys-method.com" ]
y-sasahara@ys-method.com
a7af41c66604f0976f9e794c90c374d94b7c6d57
73a0f661f1423d63e86489d4b2673f0103698aab
/python/oneflow/test/modules/test_lerp.py
b7e24ef94239c6cbf12d0894935451d28cf0932c
[ "Apache-2.0" ]
permissive
Oneflow-Inc/oneflow
4fc3e081e45db0242a465c4330d8bcc8b21ee924
0aab78ea24d4b1c784c30c57d33ec69fe5605e4a
refs/heads/master
2023-08-25T16:58:30.576596
2023-08-22T14:15:46
2023-08-22T14:15:46
81,634,683
5,495
786
Apache-2.0
2023-09-14T09:44:31
2017-02-11T06:09:53
C++
UTF-8
Python
false
false
2,747
py
""" Copyright 2020 The OneFlow 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 applicable law or agr...
[ "noreply@github.com" ]
Oneflow-Inc.noreply@github.com
794fac9144de51a57307ce51ed24e5f00f730c8b
b4ca99fdb2e7f5da8eb559adf647a0bc69e2d7c5
/StandardSpider/SpiderRulesMap/Kionix/CCT2016111700000001.py
074d306f1912b247908437c27da4f603b98efadd
[]
no_license
RoyalClown/MyPython
4f6b68e0f5f883c187cf8253df0c5feeab3de8fd
baf13612d8d36e519ce54825c4b664597789128a
refs/heads/master
2021-01-11T13:29:30.332280
2017-05-31T02:56:07
2017-05-31T02:56:07
81,513,648
1
0
null
null
null
null
UTF-8
Python
false
false
1,920
py
""" @description: 来源:kionix 商城品牌:Kionix 目标类目:加速度计 商城类目:加速计/加速度传感器 来源网址:http://zh-cn.kionix.com/parametric/Accelerometers @author: RoyalClown @date: 2016/11/17 """ from DataAnalyse.dbDataGet.CCT2016111700000001_...
[ "421581115@qq.com" ]
421581115@qq.com
10fbe1a432cda8561005f8b40f857b44ebb11a2c
3312b5066954cbf96c79ef3e1f3d582b31ebc5ae
/colegend/welcome/migrations/0004_auto_20170612_1813.py
9576a7c2bacad72998d7e81b016770c35cbab74c
[]
no_license
Eraldo/colegend
d3f3c2c37f3bade7a3a1e10d307d49db225fe7f5
2e7b9d27887d7663b8d0d1930c2397c98e9fa1fc
refs/heads/master
2021-01-16T23:32:09.245967
2020-10-07T12:12:14
2020-10-07T12:12:14
21,119,074
4
2
null
null
null
null
UTF-8
Python
false
false
409
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.4 on 2017-06-12 16:13 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('welcome', '0003_auto_20170612_1811'), ] operations = [ migrations.RenameModel( ...
[ "eraldo@eraldo.org" ]
eraldo@eraldo.org
8fbcd2cf853bd59d691c083c49f00413ee0611ba
fc889019a53a771d22f7c4c1f2aded028f2c19d3
/projects/10/analyzer/tokenizer.py
61642462a8df44d50e900922406c354818466b0e
[]
no_license
MattSegal/nand2tetris
ad077e9d70e1b68ad30b8ba2941afc0020ebbc4e
19fc14c97bdaddcf92cd4d7a750788fb44ece76e
refs/heads/master
2021-07-23T19:05:15.858335
2017-11-04T03:49:18
2017-11-04T03:49:18
105,969,609
1
0
null
null
null
null
UTF-8
Python
false
false
3,359
py
""" Use tokenize() to convert a string into a list of tokens """ import re from constants import KEYWORDS, SYMBOLS MULTILINE_COMMENT_REGEX = r'\/\*[\s\S]*?\*\/' COMMENT_REGEX = r'\/\/[\s\S]*' IDENTIFIER_REGEX = r'([A-Z|a-z|_]){1}([A-Z|a-z|0-9|_])*' WHITESPACE = (' ', '\t', '\n', '\r') def tokenize(text): tokens ...
[ "mattdsegal@gmail.com" ]
mattdsegal@gmail.com
54e9efa8d836012a74c95dc1cf0e05f3a7f3f5df
e9539de5b8832e2a09365917fe201a945bf5d99b
/leetcode208.py
3e237ded4dc2dc59a6010c25b63a700d4033bc33
[]
no_license
JoshuaW1990/leetcode-session1
56d57df30b21ccade3fe54e3fd56a2b3383bd793
6fc170c04fadec6966fb7938a07474d4ee107b61
refs/heads/master
2021-09-20T16:18:15.640839
2018-08-12T09:40:51
2018-08-12T09:40:51
76,912,955
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
class Node(object): def __init__(self): """ Initialize the Node """ self.children = dict() self.end_flag = False class Trie(object): def __init__(self): """ Initialize your data structure here. """ self.root = Node() def insert(self...
[ "Jun.Wang@tufts.edu" ]
Jun.Wang@tufts.edu
cc147c8e7208c46d21c7655a01af06db30b3d062
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/vcFgGJHxhTwRiLK5d_20.py
31f38be12a5eac92044e973c9346dc08a109c802
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
def smallest(n): l = [i for i in range(2, n+1)] for i in range(len(l) - 1): for j in range(i + 1, len(l)): if l[j] % l[i] == 0: l[j] = int(l[j] / l[i]) p = 1 for i in l: p *= i return p
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
79dbeaa1fe6409f1252a5cbba100fd25f03d97f8
d6a2704c52a76f26a0a8a2d6353049eefc8de2ae
/surveil/api/handlers/config/contact_handler.py
de580befaa000758f48e82fb69f0b2d63cd2527b
[ "Apache-2.0" ]
permissive
mtamilselvan/surveil
3e20cf7993f92b5a1f439b47b6744bc4ce76b032
81f8950e07817aa92fc8fc6aa8362f296bb1d236
refs/heads/master
2021-01-22T16:10:41.703003
2015-08-19T18:57:25
2015-08-25T19:05:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,118
py
# Copyright 2014 - Savoir-Faire Linux inc. # # 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 ...
[ "alexandre.viau@savoirfairelinux.com" ]
alexandre.viau@savoirfairelinux.com
65047277eb0dced317298e81428c59f6bbd7e779
eb9c2f83a918c6d1511f211a1ca8154eca0d67d6
/buttontest.py
d47af37e4792158dd59ed4ed3f38c8490d81ece5
[ "MIT" ]
permissive
winxin/micropython-tft-gui-
34a65ae7312b837727581dd11af3aed936fc3212
59b812b81be70e25d2ffd816ce9b544ea561e691
refs/heads/master
2021-01-11T00:02:38.129826
2016-10-12T15:25:53
2016-10-12T15:25:53
70,766,239
0
0
null
null
null
null
UTF-8
Python
false
false
6,565
py
# buttontest.py Test/demo of pushbutton classes for Pybboard TFT GUI # The MIT License (MIT) # # Copyright (c) 2016 Peter Hinch # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without rest...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
06e3793237cc1a2fc25d0272fd547f6b179590c1
3755ad6796e382a2d0e86ddcf550e064ce64bd90
/Models/User/Cart.py
e7615df28873e32e143d45ff651abe773e53b6fc
[]
no_license
elaineo/lemmiwink
95c2c06ec08ea7b5bc33ea9da921ad88f48d74ec
3686601bdd88f9e3f56921c04577843fc09b1d9d
refs/heads/master
2016-09-12T16:53:57.328381
2015-03-09T05:20:37
2015-03-09T05:20:37
59,610,505
1
1
null
null
null
null
UTF-8
Python
false
false
1,997
py
from google.appengine.ext import ndb from Utils.data.defs import default_shipping import logging import json # Shopping Cart # ########## class CartItem(ndb.Model): item = ndb.KeyProperty() quantity = ndb.IntegerProperty() class Cart(ndb.Model): cart_item = ndb.StructuredProperty(CartItem, repeated=True...
[ "elaine.ou@gmail.com" ]
elaine.ou@gmail.com
95dac62e17b1a6a34ca3905f90d8e6ce647a29bd
a69564378f1a3764e4f5ba8a6e377d8200dd65be
/Antitheft-Client/controllers/servomotor/runservo.py
a7ee3444b5fc4290f5429372ec9b6147a0d47377
[]
no_license
rjpaje/Antitheft-Pro
023c61936f883d3c81b9ecff4c89c0b5a1b0b3ef
88f2d3eaf92674b9d0e2223f868ff8817cfa9ec1
refs/heads/master
2023-03-16T21:23:51.420840
2018-12-09T10:22:57
2018-12-09T10:22:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from Tkinter import * import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.OUT) pwm = GPIO.PWM(18, 100) pwm.start(0) pwm.ChangeDutyCycle(float(500) / 10.0 +2.5)
[ "prateekagrawal89760@gmail.com" ]
prateekagrawal89760@gmail.com
c4f06bd9e8bbdbc93653f7dbb88fae4f51d4da96
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/224/usersdata/268/108761/submittedfiles/gravitacional.py
d324f826a148322ebb4a53c42c6b4108f1ebc766
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
815
py
# -*- coding: utf-8 -*- import numpy as np import funcoes #ENTRADA dimensao = input('Digite a dimensao das matrizes: ') matrizA = input('Digite a Matriz A como uma única linha entre aspas: ') matrizD = input('Digite a Matriz D como uma única linha entre aspas: ') alfa = input('Digite o valor de alfa: ') #PREPARANDO A...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
dfbcba3dddb7c4b3c181d9ae6d094a3a964289b1
abcc3c93b9273d16918d87efe4e4cd9ddf5df375
/tests/test_blockchain.py
fb1939c98c90ebb0566b8ec4c5b503ebbe26512c
[]
no_license
davebryson/py-evm
87a3f724a865492a0d5a285068b7f515a3292082
21e2c5787487f9518a52ed1cb300fa0d582ef49f
refs/heads/master
2021-01-22T20:18:08.279983
2017-05-01T15:56:42
2017-05-01T15:56:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,012
py
import pytest import json import os from trie.db.memory import ( MemoryDB, ) from eth_utils import ( keccak, ) from evm.exceptions import ( InvalidTransaction, ) from evm.vm.evm import ( MetaEVM, ) from evm.vm.flavors import ( MainnetEVM, ) from evm.vm.flavors.mainnet import ( FRONTIER_BLOC...
[ "pipermerriam@gmail.com" ]
pipermerriam@gmail.com
63c1c0c395d54df439e4bf1913f47bc7853818cb
a667d52d9be08aab9f101952dfede0e29a43b012
/src/apps/escuela/serializers.py
4c313394bd349305f85355edee4ee1ce501593a6
[]
no_license
Epatzan/app-suni
50b04bbf58417e8cfba77a5e00c2d6a5a6537c16
b7f9eaf62942797cd4f222ea2fb82348304aeaf4
refs/heads/master
2023-08-21T13:15:44.826842
2018-03-15T14:00:30
2018-03-15T14:00:30
123,631,541
0
0
null
2018-03-02T21:13:55
2018-03-02T21:13:55
null
UTF-8
Python
false
false
365
py
from rest_framework import serializers from apps.main.serializers import DynamicFieldsModelSerializer from apps.cyd import models class EscuelaSerializer(DynamicFieldsModelSerializer, serializers.ModelSerializer): url = serializers.URLField(source='get_absolute_url', read_only=True) class Meta: model...
[ "jinchuika@gmail.com" ]
jinchuika@gmail.com
f1e41e4180ace34969719ce4a0979ed69c849bf0
c6b9b9f2fbc6c62e7a86b02718954661af3c564f
/configs/liteflownet2/liteflownet2_pre_M6S6_8x1_flyingchairs_320x448.py
dfc4b9fd44226831466bee6f86226065d2f410c2
[ "Apache-2.0" ]
permissive
open-mmlab/mmflow
a90ff072805ac79cbc0b277baded1e74d25cccf0
9fb1d2f1bb3de641ddcba0dd355064b6ed9419f4
refs/heads/master
2023-05-22T05:19:48.986601
2023-01-10T16:05:18
2023-01-10T16:05:18
428,493,460
808
110
Apache-2.0
2023-09-05T13:19:38
2021-11-16T02:42:41
Python
UTF-8
Python
false
false
575
py
_base_ = [ '../_base_/models/liteflownet2/liteflownet2_pre_M6S6.py', '../_base_/datasets/flyingchairs_320x448.py', '../_base_/default_runtime.py' ] optimizer = dict(type='Adam', lr=1e-4, weight_decay=0.0004, betas=(0.9, 0.999)) optimizer_config = dict(grad_clip=None) # learning policy lr_config = dict( ...
[ "meowzheng@outlook.com" ]
meowzheng@outlook.com
4376b7c1700cdf0430a7a502555ef384c8170cdc
26f6313772161851b3b28b32a4f8d255499b3974
/Python/ImplementRand10()UsingRand7().py
90120c8e16207a9b88bfef021752cce9828fa789
[]
no_license
here0009/LeetCode
693e634a3096d929e5c842c5c5b989fa388e0fcd
f96a2273c6831a8035e1adacfa452f73c599ae16
refs/heads/master
2023-06-30T19:07:23.645941
2021-07-31T03:38:51
2021-07-31T03:38:51
266,287,834
1
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
""" Given a function rand7 which generates a uniform random integer in the range 1 to 7, write a function rand10 which generates a uniform random integer in the range 1 to 10. Do NOT use system's Math.random(). Example 1: Input: 1 Output: [7] Example 2: Input: 2 Output: [8,4] Example 3: Input: 3 Output: [8,1,10...
[ "here0009@163.com" ]
here0009@163.com
7d9d346efce5723b35a6dbd41459ff6cb08f6ab4
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/CK6mdHahiJBjuiDBi_1.py
6eedc7e7417a55b5459ae8bddb7f4d073c58e9f9
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
def can_fit(weights, bags): class Bag: ​ def __init__(self, maxweight, ident, inventory = []): self.i = inventory self.w = 0 self.id = ident ​ for item in inventory: self.w += item.w self.mw = maxweight self.available = self.mw - self.w ​ def add(self, item)...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
8fa845bf5ce0f4a3b269d6f584180218db85e0de
3034063bd441fe95e63c91cdcf7c72d338a9d31a
/Car.py
8a88806a628336b9034572650a2abae20af933c7
[]
no_license
Nick-FF/Python-Basics
3cbb9f3b1eea9d658da85980e46108167774667e
62331595feac71d9281185854c371a60c2052410
refs/heads/main
2023-02-15T08:14:12.941817
2020-12-26T08:37:39
2020-12-26T08:37:39
318,616,397
0
0
null
2021-01-02T16:49:55
2020-12-04T19:30:01
Python
UTF-8
Python
false
false
1,369
py
class Car: speed = 60 color = "red" name = "DeLorean" is_police = False def go(self): print("Машина поехала") def stop(self): print("Машина остановилась") def turn(self, d): if d: print("Поворот направо") else: print("Поворот налево"...
[ "johndoe@example.com" ]
johndoe@example.com
36b5df914898f36d533fc5f2dcfc681116286cb4
ac81f7f0160571a7e601d9808d424d2c407573b6
/0412-Fizz-Buzz.py
7d40aaf4c82886d07ef3ecdc6df728e7cad20b62
[]
no_license
nirmalnishant645/LeetCode
61d74c152deb0e7fb991065ee91f6f7102d7bbc6
8bdb4583187ee181ca626063d7684dcc64c80be3
refs/heads/master
2022-08-14T04:10:23.110116
2022-07-13T06:27:18
2022-07-13T06:27:18
227,960,574
53
19
null
2021-01-16T17:26:30
2019-12-14T03:31:54
Python
UTF-8
Python
false
false
906
py
''' https://leetcode.com/problems/fizz-buzz/ Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the number and for the multiples of five output “Buzz”. For numbers which are multiples of both three and five output “FizzBuzz”. E...
[ "nirmalnishant645@gmail.com" ]
nirmalnishant645@gmail.com
1832cca41291549f38e2daaaa33acf94949f366b
090b8ab6d3e6c4b48bd697520e6538f22e3c3791
/saleor/graphql/product/utils.py
8d196734f3d095e086772aed403548f955fa043d
[ "BSD-3-Clause" ]
permissive
pilotbe2man/saleor
4e887f7bde83e4f1cddf93d3b6c52736a07e2164
c14de2dbe00b4df90c6385feb75d0a4c862e2b0d
refs/heads/master
2022-12-24T14:55:31.031047
2018-09-30T15:05:46
2018-09-30T15:05:46
150,977,187
2
2
BSD-3-Clause
2022-12-08T02:51:42
2018-09-30T15:01:59
Python
UTF-8
Python
false
false
2,304
py
from django.utils.text import slugify from ...product.models import Attribute, AttributeValue, ProductVariant from ...product.utils.attributes import get_name_from_attributes def attributes_to_hstore(attribute_value_input, attributes_queryset): """Transform attributes to the HStore representation. Attribute...
[ "be2man@hotmail.com" ]
be2man@hotmail.com
e06893e53e298539dab6cf5265a2ab60cde60436
28c0bcb13917a277cc6c8f0a34e3bb40e992d9d4
/koku/api/settings/view.py
22997cab3ca8f61263507658a33886b6a02040e9
[ "Apache-2.0" ]
permissive
luisfdez/koku
43a765f6ba96c2d3b2deda345573e1d97992e22f
2979f03fbdd1c20c3abc365a963a1282b426f321
refs/heads/main
2023-06-22T13:19:34.119984
2021-07-20T12:01:35
2021-07-20T12:01:35
387,807,027
0
1
Apache-2.0
2021-07-20T13:50:15
2021-07-20T13:50:14
null
UTF-8
Python
false
false
1,656
py
# # Copyright 2021 Red Hat Inc. # SPDX-License-Identifier: Apache-2.0 # """View for Settings.""" import logging from django.utils.decorators import method_decorator from django.utils.translation import ugettext as _ from django.views.decorators.cache import never_cache from rest_framework.response import Response from...
[ "noreply@github.com" ]
luisfdez.noreply@github.com
d3a17a6e79a74eebc26cb4885b5ad298a3029e70
3a9793b9def9f8e092d803b86f207fc05e0b2501
/tests/parsers/test_detectors.py
7cecbc31449d729007ad26ba5e611948163b4014
[ "MIT" ]
permissive
i6ww/doc2dash
b53fa367115567ddef100046932bc442027285de
b44ce7e6889c61c61b1d8a34e05739eb09d08c26
refs/heads/master
2020-03-24T21:31:28.258014
2018-07-28T15:55:07
2018-07-28T15:55:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
from __future__ import absolute_import, division, print_function import os import pytest from mock import MagicMock import doc2dash from doc2dash.parsers import DOCTYPES def test_get_doctype(monkeypatch): monkeypatch.setattr(doc2dash.parsers, "DOCTYPES", []) assert doc2dash.parsers.get_doctype("foo") is ...
[ "hs@ox.cx" ]
hs@ox.cx
af77b39aa2feb4a05412770ae9a4224fd692484e
d225ec04301d8abd681d68ad8d7316befc404bc1
/ZShape/EffAcc/python/scans/EB_mean_Apr111042_cfg.py
bc73b06dbcde01002f1d133ed6ee7201a1cdbc89
[]
no_license
UMN-CMS/ZShape_Analysis
372ea0083d6c0bda2dbba30322ef01269501afa8
83bff158b21210b048afbcff0af1e803780ad4bd
refs/heads/master
2020-06-07T10:34:40.227684
2013-12-11T16:59:25
2013-12-11T16:59:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,027
py
import FWCore.ParameterSet.Config as cms process = cms.Process("Zefficiency") process.TimerService = cms.Service("TimerService") process.load('FWCore.MessageService.MessageLogger_cfi') process.MessageLogger.cerr.FwkReport.reportEvery = 1000 process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(Tr...
[ "klapoetke@physics.umn.edu" ]
klapoetke@physics.umn.edu
806b7a153f75832be42ea6603d218462d6b52e7a
6a01efb7f00ee2f066fb34e0107a95fa90ed6daa
/venv/bin/pyrsa-verify
0b0149f6317ce764fded4be72348a767451b5eb2
[]
no_license
a-soliman/OAuth2.0
186c489d8ffc7af670c7e579eed7a930fc801117
35004492f50e423d5327fd875b380bf40bf22e5d
refs/heads/master
2020-03-18T06:58:16.437945
2018-05-23T17:52:32
2018-05-23T17:52:32
134,424,155
0
0
null
2018-05-22T14:04:03
2018-05-22T14:04:03
null
UTF-8
Python
false
false
285
#!/Users/ahmed/Documents/ahmed/Nano-degree/python/udacity/python/oauth/venv/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from rsa.cli import verify if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(verify())
[ "ahmed.soliman@programmer.net" ]
ahmed.soliman@programmer.net
9bcfdb32832995054074ac4475d1d5131b98e968
dbc3e853a1aa22db5d8a58c8dab04108fd82d38f
/core/data_migration/2_product.py
c9de4ee5be45980bfd521a978cd3659ab3ecd5d2
[]
no_license
izonenav/subul
a6f1baeccec936f91a27ce0ddbb098e13c385b9a
8128666d4e14878cfb04e7a35eb7e1178c61756e
refs/heads/master
2022-11-13T04:47:40.943093
2020-07-14T02:29:09
2020-07-14T02:29:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,087
py
import os from decimal import Decimal import cx_Oracle import django os.environ.setdefault("DJANGO_SETTINGS_MODULE", "subul.settings") django.setup() # cx_Oracle 한글처리 시작 from core.models import Location from product.models import ProductCode, ProductMaster, ProductEgg, Product, ProductAdmin os.environ["NLS_LANG"] = ...
[ "sugohaseyo93@gmail.com" ]
sugohaseyo93@gmail.com
24f5e0b0371e465500e8a5e374f5db1356e3c25b
f8aec64ddb57bdef499d2cc34808da893a50347b
/test/slack/event_handlers/test_action_menu.py
c6cf814214328058eb7b49f859d3ecb46549def0
[]
no_license
AllenAnthes/pyback-rewrite
ba6060427a81aa01b986a9974a384bdbb635df7c
d944e43cbca4d9970b3f769d014e4a36d8c1840f
refs/heads/master
2020-03-26T06:58:43.482204
2018-08-25T23:09:51
2018-08-25T23:09:51
144,630,841
1
0
null
null
null
null
UTF-8
Python
false
false
826
py
import pytest from pyback.slack import event_handlers from pyback.slack.event_handlers import action_menu @pytest.fixture def slack_client(mocker): return mocker.patch.object(event_handlers, slack_client.__name__) @pytest.fixture def args(): return { 'actions': [ {'name': 'slack'} ...
[ "abanthes@gmail.com" ]
abanthes@gmail.com
77f528ef69cbcf76bb471409b44bba15655678c5
e3a584642c5442b27e928bbeafe8fcdbed7a14f1
/evidently/tabs/classification_performance_tab.py
878dbc47f9651bc8a79b07f7ede2e60f1400c7c2
[ "Apache-2.0" ]
permissive
Ben-Epstein/evidently
9c7bed144944dce13ac6be15c963c852887c05f4
b84c3d9f5710500e68aaf0439fb6e6b438277600
refs/heads/main
2023-03-06T18:35:44.184598
2021-02-22T18:44:21
2021-02-22T18:44:21
341,299,737
0
0
Apache-2.0
2021-02-22T18:36:51
2021-02-22T18:36:50
null
UTF-8
Python
false
false
1,981
py
#!/usr/bin/env python # coding: utf-8 from typing import List from evidently.tabs.base_tab import Tab from evidently.widgets.class_target_name_widget import ClassTargetNameWidget from evidently.widgets.class_ref_quality_metrics_widget import ClassRefQualityMetricsWidget from evidently.widgets.class_prod_quality_metri...
[ "emeli.dral@gmail.com" ]
emeli.dral@gmail.com
107ecaccefeefdcd0ccf4e47ffb2d7beeef582d5
06836fd97c9d8ce941b24980a48a574aa93873fe
/phoenix/solrsearch/views/solrsearch.py
ae556b3b06f7d829f60bd4777c583e279aab9392
[ "Apache-2.0" ]
permissive
xhqiao89/pyramid-phoenix
3c469848e9b3ff2283d124826bd42a7c02dfa3d6
4ecd1f34547c0c314d0aea5d54431f6f0ffbab53
refs/heads/master
2020-12-30T16:40:05.888064
2017-05-09T16:26:33
2017-05-09T16:27:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
from pyramid.view import view_config, view_defaults from phoenix.views import MyView import logging logger = logging.getLogger(__name__) @view_defaults(permission='view', layout='default') class SolrSearch(MyView): def __init__(self, request): super(SolrSearch, self).__init__(request, name='solrsearch'...
[ "ehbrecht@dkrz.de" ]
ehbrecht@dkrz.de
ba5a54bff8f7b3851ffe797fcb59a3383618ad64
29e91d422f0fcad92f0e25b3dbb9efd39dc01162
/old-library/fix-the-generator.py
0b0d38ccd51a13c9604c798ac87f911770bc5d21
[]
no_license
cielavenir/checkio
c206410b7d8d368e80ad0f66f6314097bd900bcd
e2dfcdef75cd68ca3cced159225b5433570bd85b
refs/heads/master
2021-01-22T20:34:29.899146
2018-02-22T15:16:21
2018-02-22T15:16:21
85,328,995
0
1
null
null
null
null
UTF-8
Python
false
false
279
py
from itertools import combinations checkio=lambda data: sum(e[0]>e[1]+e[2] for e in combinations(reversed(sorted(data)),3)) if __name__ == '__main__': assert checkio([4, 2, 10]) == 1, "First" assert checkio([1, 2, 3]) == 0, "Second" assert checkio([5, 2, 9, 6]) == 2, "Third"
[ "cielartisan@gmail.com" ]
cielartisan@gmail.com
a9a35ce81c63e7753b8d02150f8fdeb91b2e7d95
b4c8a9e51f2922311c1b0352c28b1dcb95e275aa
/ml-dl/dl4all/01_least_square_method_실습.py
7998aa9b9f9ce4dbd179b2d48140b72100dc936a
[]
no_license
Esantomi/ygl
85aad7e0f8516ad66151b85600e54dd757cc3ed2
3b488125d4baaeb0c3e9a0bd0c9c31a65f613b71
refs/heads/main
2023-07-28T01:12:25.023612
2021-09-18T15:01:26
2021-09-18T15:01:26
395,146,970
0
0
null
null
null
null
UTF-8
Python
false
false
724
py
# -*- coding: utf-8 -*- """01_Least_Square_Method_실습.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/125lwFbircs190eHYHVdXPGRl8o5MnDIm """ # -*- coding: utf-8 -*- import numpy as np # x 값과 y값 x=[2, 4, 6, 8] y=[81, 93, 91, 97] mx = np.mean(x) my...
[ "pilinnasa@gmail.com" ]
pilinnasa@gmail.com
75ec37c427874bd9be2906f36862f294274af581
5b2c9386534dab0afc006ae44f3f19b527c3dae5
/source/experiment.py
391ffdbdb84bf79079ec5007815365dd2a19ef5c
[]
no_license
saurabhc123/unsupervised
d1cd2820fa7ee6269acb6d176e99799475337947
6a36fcfacea9d788e5274b4cde763104d2231789
refs/heads/master
2020-03-18T15:38:53.519559
2018-07-30T02:16:47
2018-07-30T02:16:47
134,920,402
1
0
null
null
null
null
UTF-8
Python
false
false
2,413
py
from abc import ABC, abstractmethod import json import os from pprint import pprint from os import path from data_processors.tweet_dataset import TweetDataSet from torch.utils.data import Dataset from torch.utils.data import DataLoader from entities.tweet import Tweet from embeddings import word2vec from clustering im...
[ "saurabc@yahoo.com" ]
saurabc@yahoo.com
edc3c9f439c5ddb4d761c6310c65be0875c7cc9c
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Bunnies and Badgers/cfg.py
56c20f78cb1e0b85bcb56630180692f6c460320d
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:4d9f355e521995613da6155712b03f355e70a6994f9f6d0a85d4e84316c6cfc8 size 1278
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
caf8d69c3da0e4601b314dc754d345264e09da79
826bffcd468f0979d05251e6578de13fff1029d4
/tests/train/test_monitor.py
5a100578a81ce5c1ebbd4874fbf687fa006d89ed
[ "MIT" ]
permissive
korepwx/madoka
58b9b65cb1e3edf476d741ee1b5ffc67a9793a48
56675bd8220935c6a9c1571a886a84bed235fd3b
refs/heads/master
2021-01-12T03:18:46.261909
2017-01-06T06:36:21
2017-01-06T06:36:21
78,190,020
0
0
null
null
null
null
UTF-8
Python
false
false
4,722
py
# -*- coding: utf-8 -*- import unittest import numpy as np import tensorflow as tf from madoka.dataflow import DataFlow from madoka.train import CheckpointMonitor, ValidationMonitor, FixedMaxSteps from madoka.utils import TemporaryDirectory, tfhelper from madoka.utils.tfcompat import global_variables, global_variable...
[ "public@korepwx.com" ]
public@korepwx.com
d36353adcc0dd5b2de30b7fc100ea695380a3699
37cb6852a45dbbf2f7c3eee9b11048f74b295e2f
/hack_travel_labs/backend/hack_travel_labs/contrib/sites/migrations/0003_set_site_domain_and_name.py
de51a34cedd163a4fd2dbf302c0840aa69fd4856
[]
no_license
skarzi/hack_travel_labs
66fd0b45fb7a9bf20bad74bd89eef8b8ac37208c
7e2cae4e02b12d3947760b9fd0f9fe7585e1a6aa
refs/heads/master
2020-03-17T01:07:13.754961
2018-05-13T13:33:30
2018-05-13T13:33:30
133,140,517
1
0
null
null
null
null
UTF-8
Python
false
false
1,087
py
""" To understand why this file is here, please read: http://cookiecutter-django.readthedocs.io/en/latest/faq.html#why-is-there-a-django-contrib-sites-directory-in-cookiecutter-django """ from django.conf import settings from django.db import migrations def update_site_forward(apps, schema_editor): """Set site d...
[ "skarzynski_lukasz@protonmail.com" ]
skarzynski_lukasz@protonmail.com
5eed3714239dbbdbc222747f4f0cbdeabd53f707
e211000d0d843fd944266892f49a7649c7e8918d
/abc/123/python/code_b.py
b66a43f0808d4068744a33bf695a953d695fb66e
[]
no_license
habroptilus/atcoder-src
63dfa16c6d4b80d1e36618377d3201888183281f
4cd54202037996b3f4a4442b1bd19d42d8a46db1
refs/heads/master
2020-04-26T07:14:38.322156
2019-06-08T14:44:26
2019-06-08T14:44:26
173,388,602
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
import itertools C = [] for i in range(5): C.append(int(input())) ans = float("inf") for order in itertools.permutations(C, 5): total = 0 for c in order: if total % 10 != 0: total = (total // 10 + 1) * 10 total += c ans = min(total, ans) print(ans)
[ "x7deed53bc9k8@softbank.ne.jp" ]
x7deed53bc9k8@softbank.ne.jp
6d106d639fc88e7665a4240be17042cde6af8abc
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_304/ch3_2019_03_01_13_17_51_752920.py
154ae84238124582094fe76fa1c44246f56ad182
[]
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
141
py
import math def calcula_gaussiana (x, mi, sigma): g = (1/ (sigma * (2* math.pi)** 0.5))* math.exp (-1/2*((x-mi)/sigma)**2) return g
[ "you@example.com" ]
you@example.com
509969186825a2b741968d27e6db165c2497afb9
a36ff7af02702002fa30f6931a39a12986bd06cc
/app/demo/profile/apps.py
4c401ef92c42afe40f6b00763263915b242cecec
[ "MIT" ]
permissive
m4rb3n/django-material-admin
7878d2b2e332a04fda6c91d699a503a9b73af2ad
8e113070b3ed47965cbe1bd4164729ea47b6a6f8
refs/heads/master
2022-09-16T11:48:05.753395
2021-12-25T19:35:35
2021-12-25T19:35:35
274,634,734
0
0
MIT
2020-06-24T09:57:06
2020-06-24T09:57:05
null
UTF-8
Python
false
false
206
py
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class ProfileConfig(AppConfig): name = 'demo.profile' icon_name = 'layers' verbose_name = _('Profile')
[ "it2015maistrenko@gmail.com" ]
it2015maistrenko@gmail.com
30063246e8b89e68b5d40738bf69604bbd590010
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_curable.py
d6810c259819ef4187ea19730aa0f4e58819f290
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#calss header class _CURABLE(): def __init__(self,): self.name = "CURABLE" self.definitions = [u'A curable disease can be cured: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' def run(self, obj1, obj2): self.jsondata[obj2] = {} self....
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
47d2fe0fa90c83f6b40b403e38c6a6a4d1ea8a66
6ae1ba7d2ad2a97725699e1467171cc2deebb0d4
/面向对象/05-魔法方法.py
9108997cb05c769554cdbc04180c60f7ef94f653
[]
no_license
weizt/python_studying
6a95edcf781bd91d8b5f2684f1c6046a40a6d432
6dace3a6b73032de220c4b3ea4b3c37d47880ff1
refs/heads/master
2023-01-18T19:45:48.291898
2020-12-02T00:59:01
2020-12-02T00:59:01
293,965,283
2
0
null
2020-09-13T01:15:50
2020-09-09T01:04:03
Python
UTF-8
Python
false
false
2,048
py
# 魔法方法:也叫魔术方法,是类里的特殊的一些方法 ''' 特点: 1.不需要手动调用,会在合适的时机自动调用 2.这些方法,都是使用__开始,使用__结束 3.方法名都是系统规定好的,在合适的时机自己调用 ''' class Person(object): def __init__(self, name, age): # 在创建对象时,会自动调用这个方法 print('__init__被调用了') self.name = name self.age = age def __del__(self): # 当对象被销毁时,自动调用此方...
[ "weizhetao3@163.com" ]
weizhetao3@163.com
34a6ba87e667f5ba3e5d2ae0b17dfe476de4193f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03352/s354399878.py
46a787af28e80a908dd47ff3ac9482d29002732a
[]
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
226
py
n = int(input()) ex = [False]*(n+1) ex[1] = True for i in range(2, n+1): v = i*i if v>n: break while(v<=n): ex[v]=True v*=i for i in range(1, n+1)[::-1]: if ex[i]: print(i) break
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
04562fdf71a3b1c5f07e792477b11322ff0fef34
1adcd7d2c146e6ddf5131112de5da69e7808fcb1
/cluster_tools/inference/multiscale_inference_vis.py
f52599a93e419a7ccb591ee65915809326ac2569
[ "MIT" ]
permissive
constantinpape/cluster_tools
cd6fc207a3c4ac4d5b7f1424dcc4ac2b85b83fa3
366f2a1a57d5c01a7d51548c74e1d53465a25924
refs/heads/master
2023-08-14T10:23:34.993578
2023-07-27T20:54:37
2023-07-27T20:54:37
118,263,492
30
14
MIT
2023-08-16T12:49:23
2018-01-20T17:09:39
Python
UTF-8
Python
false
false
2,100
py
import dask import toolz as tz import numpy as np import nifty.tools as nt from elf.io import open_file import cluster_tools.utils.volume_utils as vu from cluster_tools.inference.multiscale_inference import _show_inputs, _load_inputs def view_multiscale_inputs(input_path, input_group, input_scales, ...
[ "constantin.pape@iwr.uni-heidelberg.de" ]
constantin.pape@iwr.uni-heidelberg.de
efcc2f4eef9e46fcec286eee605e1e8bfab9f08c
230c42e95aab5297e2f566f5a0d698c07d1c5793
/venv/bin/mako-render
886682d68c5bef54c44709868011d2aea1a47d06
[]
no_license
XiangLei5833/jobplus3-13
aa83cc072b982d257535477524d2309d2529609a
a0e21b1453b0d1c7cf28f07a741a515ab7aefcf9
refs/heads/master
2021-05-12T03:32:23.427715
2018-02-12T07:30:39
2018-02-12T07:30:39
117,617,495
0
0
null
2018-01-16T01:58:25
2018-01-16T01:58:25
null
UTF-8
Python
false
false
269
#!/home/shiyanlou/Flask-Education-Platform/simpledu/venv/bin/python3.5 # -*- coding: utf-8 -*- import re import sys from mako.cmd import cmdline if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(cmdline())
[ "leixiang5833@163.com" ]
leixiang5833@163.com