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
4134622276b22025842bfa81d13980db24e39416
041454da30317f0831d8af04a205db9716084ce9
/docker/f_ffmpeg_1.py
4646622786c900380acbad86af4f391aa3a63c83
[]
no_license
elssm/Bug-Recurrence
3db54b60e3968058566cdaf25589e61b147fb021
17365424c54401f83fc00547c7425e2f5901ef14
refs/heads/master
2020-05-02T20:18:16.429572
2019-03-28T11:16:23
2019-03-28T11:16:23
178,186,705
0
0
null
null
null
null
UTF-8
Python
false
false
1,262
py
#!/usr/bin/env python # -*- coding:utf-8 -*- #python version 3.6.4 #简介:脚本适用于docker下的vulapps环境,使用docker run -d -p 8004:80 medicean/vulapps:f_ffmpeg_1运行环境 #具体参见github地址:https://github.com/Medicean/VulApps/commit/86ee14f3b0c2e7e4fa1aa17655d77bed4184a177 #将poc下载到c盘根目录下 #此处ip为192.168.109.141 import requests import...
[ "noreply@github.com" ]
elssm.noreply@github.com
8e1fec41ecc67bb074bc42051b00369bde2be3ef
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_211/ch140_2020_04_01_20_23_34_419582.py
3947aeef47acbfc57438321e0d040d657c1d6513
[]
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
312
py
def faixa_notas(l): l=[] i=0 cinco=0 cincset=0 sete=0 quantidade=[cinco,cincset,sete] while(i<len(l)): if(l[i]<5): cinco+=1 elif(l[i]>=5 and l[i]<7): cincset+=1 else: sete+=1 return quantidade
[ "you@example.com" ]
you@example.com
d918e24948a40341e21650f17e4b4c41965e9398
ab4046bba677f9378053a68fb74a150c86202a02
/tools/tools.py
666d4f7142cd726e30cfd0ae4b86f1375f5ce9e0
[]
no_license
bvillasen/cooling_tools
f321100025f3b3f8a33b8afae22074f5ff947405
f4c47776d8489944c398c91ebffb6931d46fcb39
refs/heads/main
2021-12-02T18:26:24.315233
2021-08-13T04:18:37
2021-08-13T04:18:37
229,338,837
0
0
null
null
null
null
UTF-8
Python
false
false
3,979
py
import os, sys from os import listdir from os.path import isfile, join import numpy as np import h5py as h5 import time def Combine_List_Pair( a, b ): output = [] for a_i in a: for b_i in b: if type(b_i) == list: add_in = [a_i] + b_i else: add_in = [ a_i, b_i ] output.append( ...
[ "bvillasen@gmail.com" ]
bvillasen@gmail.com
5374d74a73bd8124eafa008ae144228c9c2bdbc9
2652fd6261631794535589427a384693365a585e
/trunk/workspace/Squish/src/API/Android/ActionBar/File/FileConst.py
d18e3b2246eefd013a70b883052c3b54eccb6cd0
[]
no_license
ptqatester1/ptqa
88c652380167f64a953bfd7a65041e7d8ac48c90
5b5997ea459e9aac17db8da2041e2af331927104
refs/heads/master
2021-01-21T19:06:49.275364
2017-06-19T03:15:00
2017-06-19T03:15:00
92,115,462
0
0
null
null
null
null
UTF-8
Python
false
false
559
py
class FileMenuConst: NEW = ':newNetwork_HTML_Object' LOAD = ':loadNetwork_HTML_Object' SAVE = ':saveNetwork_HTML_Object' SAVE_AS = ':saveAs_HTML_Object' ABOUT_PT = ':about_HTML_Object' #NETSPACE_LOGOUT = ':onLogout_HTML_Object' #DROPBOX_LOGIN = ':dbLogin_HTML_Object' SHARE_FACEBOOK = ':o...
[ "ptqatester1@gmail.com" ]
ptqatester1@gmail.com
5a72cdf4e073f6fc04267e4ffd83999834f77307
b2c0517a0421c32f6782d76e4df842875d6ffce5
/Algorithms/Math/171. Excel Sheet Column Number.py
394b929e34dda09459f87d61b0be287013ab7e34
[]
no_license
SuYuxi/yuxi
e875b1536dc4b363194d0bef7f9a5aecb5d6199a
45ad23a47592172101072a80a90de17772491e04
refs/heads/master
2022-10-04T21:29:42.017462
2022-09-30T04:00:48
2022-09-30T04:00:48
66,703,247
1
0
null
null
null
null
UTF-8
Python
false
false
158
py
class Solution(object): def titleToNumber(self, s): num = 0 for i in s: num = num*26 + (ord(i)-ord('A')+1) return num
[ "soration2099@gmail.com" ]
soration2099@gmail.com
b3e7694ac5ff6f15948df85aa45cfdd6a80d169c
71fafe9fb2190b6acf09f109105ca362bb9018c2
/jcsbms/jcsbms/match_import_timer.py
73cfe1de389815f1e235ace61b4546b089280935
[]
no_license
zhangyibo007/bms
1f43ca98057a72f1b62769719cb4aefbb4ffb289
1ae88e90415f0495d3a647112de0876da0b18e5e
refs/heads/master
2021-06-21T05:40:24.468473
2017-08-02T12:35:08
2017-08-02T12:35:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,973
py
# coding:utf-8 import sys,os,django from datetime import timedelta,datetime sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) #manage.py的目录 os.environ['DJANGO_SETTINGS_MODULE'] = 'jcsbms.settings' #setting的目录 django.setup() from apscheduler.schedulers.blocking import BlockingScheduler from l...
[ "zhangyibo@caifuzhinan.com" ]
zhangyibo@caifuzhinan.com
dd907560daeaba856d64a8eee0f86fdab5032374
3cd1c0b680d3ed9b251f6afec6fb2d362d9dc8df
/sample15_download_files_via_static_view/sample15_download_files_via_static_view/__init__.py
aa7807e9d48eb800042ca5c7712fb3920bd9ad85
[]
no_license
williamwu0220/pyramid_sample
ff34e02b6fdb06d906148a7b18c13694701d13f3
1b7c7b2a9c97f27912f812c0dce817eb8eeb4457
refs/heads/master
2020-03-14T22:14:07.336295
2018-05-02T08:15:00
2018-05-02T08:15:00
131,816,526
0
0
null
null
null
null
UTF-8
Python
false
false
859
py
from pyramid.config import Configurator def main(global_config, **settings): """ This function returns a Pyramid WSGI application. """ config = Configurator(settings=settings) config.include('pyramid_jinja2') config.add_static_view('static', 'static', cache_max_age=3600) # for example: # ...
[ "william@pylabs.org" ]
william@pylabs.org
1c248a911e5a1405d3fc84ed99a09bf978ec9404
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/services/services/keyword_plan_ad_group_service/client.py
2a790adbbde469677fb299ece7d52de4516cde43
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
22,948
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
9facb01edf8123187c2216673316c6136a0b5655
7a31235b60706896351c7e2fe8dbc47217023ddf
/Progress/digital_clock.py
53e4089d6aa1583c0493b46a886ac67bd3351408
[]
no_license
sailendrachettri/learning-tkinter
b947e9423654c63bc7b96eb58c03b8f8e0ba99e9
e978eaa428b71168a16e2ba66c0c54089738a47e
refs/heads/main
2023-05-27T14:32:06.419250
2021-06-11T08:53:27
2021-06-11T08:53:27
375,646,752
1
0
null
null
null
null
UTF-8
Python
false
false
1,012
py
import time from tkinter import * from PIL import Image from PIL.ImageTk import PhotoImage root = Tk() root.title('Digital Clock - Sailendra') root.geometry("600x650") root.configure(bg="#0075A2") #A function for clock def clock(): hour = time.strftime("%I") minute = time.strftime("%M") second = time.strf...
[ "sailendra9083@gmail.com" ]
sailendra9083@gmail.com
19ea764231c1a94b224080d6bd26c7496422741d
6b78bd7f62f7f407bf11d877cc4d91e7db3b62fe
/python/diamond_mine.py
4669941ed0ebfebb735a8125bc0f2eb0f15142c5
[]
no_license
PascalUlor/code-challenges
b85efacd4bc5999a0748d1fa1e84f503be09dc94
6488d0a6d2729bd50b106573f16488479fd6e264
refs/heads/master
2023-03-03T17:50:18.413127
2023-02-21T13:10:02
2023-02-21T13:10:02
212,979,719
1
0
null
2023-02-15T22:59:13
2019-10-05T10:14:29
Python
UTF-8
Python
false
false
430
py
""" 1) Given a matrix of n*n. Each cell contain 0, 1, -1. 0 denotes there is no diamond but there is a path. 1 denotes there is diamond at that location with a path -1 denotes that the path is blocked. Now you have start from 0,0 and reach to last cell & then return back to 0,0 collecting maximum no of diamonds. While ...
[ "pascalulor@yahoo.com" ]
pascalulor@yahoo.com
4dff494aab4fd14ae50a55d20d20b9b04525c132
d79a614759a818cffad595e1ad376e244b4550ed
/tests/unittest.py
db854e957be2c8ab2a8305e0b975fde48cde6063
[ "BSD-3-Clause" ]
permissive
absszero/sublime-phpunit
9577fc8c8b3b836a08847acf112038d0f5c59314
37f43378c3dae37cc88fa1910eea07da1ab4af9e
refs/heads/master
2023-06-29T15:09:30.865548
2020-05-05T22:53:33
2020-05-05T22:53:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,260
py
import os from unittest import TestCase from unittest import mock # noqa: F401 from unittest import skipIf # noqa: F401 from sublime import find_resources from sublime import active_window def fixtures_path(path=None): if path is None: return os.path.join(os.path.dirname(__file__), 'fixtures') ret...
[ "gerardroche@users.noreply.github.com" ]
gerardroche@users.noreply.github.com
03188c1d306bc98d4c39a009acf8fc9d5177dad4
ae12996324ff89489ded4c10163f7ff9919d080b
/LeetCodePython/SortTheStudentsByTheirKthScore.py
bd33fbc541d444dd7ce25c2e25b134d93734dc7f
[]
no_license
DeanHe/Practice
31f1f2522f3e7a35dc57f6c1ae74487ad044e2df
3230cda09ad345f71bb1537cb66124ec051de3a5
refs/heads/master
2023-07-05T20:31:33.033409
2023-07-01T18:02:32
2023-07-01T18:02:32
149,399,927
1
1
null
null
null
null
UTF-8
Python
false
false
1,653
py
""" There is a class with m students and n exams. You are given a 0-indexed m x n integer matrix score, where each row represents one student and score[i][j] denotes the score the ith student got in the jth exam. The matrix score contains distinct integers only. You are also given an integer k. Sort the students (i.e....
[ "tengda.he@gmail.com" ]
tengda.he@gmail.com
aafb5f0e2b2913ca35de9883987f2df7decb0f56
278d7f4467a112416d1adfbcd3218033ff0fd9b3
/configs/cascade_rpn/crpn_faster_rcnn_r50_caffe_fpn_1x_coco.py
12fdc8c8a7be3f7a59a9424662c683ff88982a17
[]
no_license
Young-1217/detection
e3d67938b454e955b5b7a82d5ae222e62f9545fb
6760288dac92e00ddc3e813ed0e1363c1fa1ce2d
refs/heads/main
2023-06-01T21:41:37.998947
2021-06-21T10:03:01
2021-06-21T10:03:01
371,868,683
0
0
null
null
null
null
UTF-8
Python
false
false
3,533
py
_base_ = '../faster_rcnn/faster_rcnn_r50_caffe_fpn_1x_coco.py' rpn_weight = 0.7 model = dict( rpn_head=dict( _delete_=True, type='CascadeRPNHead', num_stages=2, stages=[ dict( type='StageCascadeRPNHead', in_channels=256, ...
[ "noreply@github.com" ]
Young-1217.noreply@github.com
be828be8e6b3ef5b3d0469a50a97f4c57b295f59
aba00d6272765b71397cd3eba105fc79b3a346e0
/Old_Python_projects/ITGK/øving10/sudoku.py
11337b49d12f25436ebcbada686bb6db904a94e1
[]
no_license
JosteinGj/School
a2c7cc090571b867637003fe6c647898ba9d8d24
3b5f29846e443b97f042241237dbda3208b20831
refs/heads/master
2023-05-02T11:07:29.517669
2021-04-26T09:04:57
2021-04-26T09:04:57
295,340,194
3
1
null
null
null
null
UTF-8
Python
false
false
210
py
def make_board(filename): file=open(filename) board=file.readlines() output=[] for i in board: row=i.split(",") output.append(row) return output print(make_board("test.txt"))
[ "jostein.gj@gmail.com" ]
jostein.gj@gmail.com
b59095cc433c622fc7c3b98d5c0af88910171240
d7016f69993570a1c55974582cda899ff70907ec
/sdk/iothub/azure-mgmt-iothub/azure/mgmt/iothub/v2022_04_30_preview/aio/operations/_private_endpoint_connections_operations.py
886ffd50f96903141ddcc4d811e963bfeec394e0
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
28,250
py
# pylint: disable=too-many-lines # 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) AutoRe...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
6b40833fba82cb85808e5f9f3fbb03fa0177cdfa
03d07de94fc22d1583c45ca84c711a06df8a40ff
/lc/dynamic_programming/lc_474_ones-and-zeroes.py
92e6f2fda2baa84c8f8040ccba0e83ef0384d9a7
[]
no_license
gaopenghigh/algorithm
94e04293c69a2ad6903495e1cf6e1b75556535bb
f5d78c98c7201c56f9d4c3a9c0c76e9447a17985
refs/heads/master
2022-03-11T18:46:38.712923
2022-02-20T14:20:54
2022-02-20T14:20:54
54,484,549
0
0
null
null
null
null
UTF-8
Python
false
false
2,416
py
# 474. 一和零 # 给你一个二进制字符串数组 strs 和两个整数 m 和 n 。 # 请你找出并返回 strs 的最大子集的长度,该子集中 最多 有 m 个 0 和 n 个 1 。 # 如果 x 的所有元素也是 y 的元素,集合 x 是集合 y 的 子集 。 # # 示例 1: # 输入:strs = ["10", "0001", "111001", "1", "0"], m = 5, n = 3 # 输出:4 # 解释:最多有 5 个 0 和 3 个 1 的最大子集是 {"10","0001","1","0"} ,因此答案是 4 。 # 其他满足题意但较小的子集包括 {"0001","1"} 和 {"10","1","0...
[ "jh.gao@ucloud.cn" ]
jh.gao@ucloud.cn
9b596c719b030f28eac270a22b939f7f9af7eb1b
5e9de302964b59ccd74aa3d62d4786c87ca60108
/testmachine/common.py
cc5324bbe50a67ea2ea0b142239a1e4783349923
[ "BSD-2-Clause" ]
permissive
cid-aaron/testmachine
6c409d356ae3a3dc45d0ab35c8954d92cb57b4bf
dc207986b0d2d74241842472c80e98dd9f536e7d
refs/heads/master
2020-05-20T16:52:40.615042
2014-01-11T12:26:14
2014-01-11T12:26:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,383
py
import operator from .operations import ( Drop, Swap, Rot, BinaryOperator, UnaryOperator, ReadAndWrite, Check, PushRandom, ) def operation(*args, **kwargs): """ Add an operation which pops arguments from each of the varstacks named in args, passes the result in that order t...
[ "david@drmaciver.com" ]
david@drmaciver.com
77cbdfeadabbc31c5a1c4debe0f00849f53dbac8
ae71e532468e861e3a9fcb90f613eddca267ace6
/routes/class_incoming.py
f2d93f0a50f1963382d3895bbaf47dcf3e2de6e0
[ "CC-BY-4.0" ]
permissive
soon14/proms-4.0
0b4ed398125e529c13dc8f0d9b0c14e0348ae5c6
6c3a1fd62c9394761664e100fc1dde50fd79dc11
refs/heads/master
2020-09-23T20:33:56.716317
2019-06-09T04:01:29
2019-06-09T04:01:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,124
py
from abc import ABCMeta, abstractmethod import database from . import w_l class IncomingClass(metaclass=ABCMeta): @abstractmethod def __init__(self, request): self.request = request self.graph = None self.uri = None self.named_graph_uri = None self.error_messages = None...
[ "m13001282105@163.com" ]
m13001282105@163.com
1b720e6c3d0b7ff11d6d728118fb3c6214ec45a5
75cf6a9fd035883b64ca2309382e0178cf370b43
/Empirical/python/sklearn/zdivers/benchmarks/bench_multilabel_metrics.py
02a1fb8b5d83267d249892377574c05608ec6fba
[]
no_license
ygtfrdes/Program
171b95b9f32a105185a7bf8ec6c8c1ca9d1eda9d
1c1e30230f0df50733b160ca73510c41d777edb9
refs/heads/master
2022-10-08T13:13:17.861152
2019-11-06T04:53:27
2019-11-06T04:53:27
219,560,170
1
2
null
2022-09-30T19:51:17
2019-11-04T17:39:52
HTML
UTF-8
Python
false
false
7,086
py
#!/usr/bin/python #!/usr/bin/env python """ A comparison of multilabel target formats and metrics over them """ from timeit import timeit from functools import partial import itertools import argparse import sys import matplotlib.pyplot as plt import scipy.sparse as sp import numpy as np from sklearn.datasets import...
[ "githubfortyuds@gmail.com" ]
githubfortyuds@gmail.com
9108e76bcc9deddc6f24d53e3de93b4c57e58f2e
3005ac0fbafc802212f788185138206f13b1103d
/PILtest/tests2018_4_7.py
d5ec97cc486ac983271e930705ee8380a446d523
[]
no_license
Tony1886/python_workplace
a8903127d33d95c8e02e09dc2b4c4528a26561ad
6d1b325ee060dda46e81e359b7ed1402d3f02bdf
refs/heads/master
2020-05-24T15:09:50.366564
2019-05-18T06:51:03
2019-05-18T06:51:03
187,324,243
1
0
null
null
null
null
UTF-8
Python
false
false
2,689
py
# -*- coding: utf-8 -*- """ Created on Sat Apr 7 17:38:41 2018 @author: Tan Zhijie """ import numpy as np import myFunction as mf import tensorflow as tf import matplotlib.pyplot as plt # 生成几个随机二值图进行傅里叶变换 M = 1 N = 64 m = 2000 n = M*N Es = np.zeros((m,M,N)) Ir = np.zeros(np.shape(Es)) for i in ...
[ "=" ]
=
f47ce709574d8f6f0b2c6c34e551d32cd278a480
4c3e992678341ccaa1d4d14e97dac2e0682026d1
/addons/account/wizard/account_report_common.py
da1be81acd79cea6ed6fb59206f46c531281111e
[]
no_license
gahan-corporation/wyatt
3a6add8f8f815bd26643e1e7c81aea024945130d
77e56da362bec56f13bf0abc9f8cf13e98461111
refs/heads/master
2021-09-03T18:56:15.726392
2018-01-08T02:54:47
2018-01-08T02:54:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,850
py
# -*- coding: utf-8 -*- from gerp import api, fields, models, _ class AccountCommonReport(models.TransientModel): _name = "account.common.report" _description = "Account Common Report" company_id = fields.Many2one('res.company', string='Company', readonly=True, default=lambda self: self.env.user.company...
[ "duchess@gahan-corporation.com" ]
duchess@gahan-corporation.com
7102f2c70c62f905e9f89bfc6d22e4b136f0f913
41f52b15ab4c256ed5579f65520d1dee949613b8
/tensorflow/compiler/tests/nary_ops_test.py
d16e38bb3cb0fa30b556c42e951fc6ce7363c8f3
[ "Apache-2.0" ]
permissive
ychen404/TensorFlowPlus
c029ad2a77850cc6f141c13a4c10925e0a92d771
d4fcbe7278b983b6f736acf2d948e1f7954ca7e6
refs/heads/master
2022-10-15T16:59:37.683864
2017-10-04T23:28:02
2017-10-04T23:28:02
210,258,338
1
0
Apache-2.0
2022-10-04T23:54:20
2019-09-23T03:37:58
C++
UTF-8
Python
false
false
11,970
py
# Copyright 2017 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
fcc225958a570be16bc7a19b38cb01a20de850da
457959604ab1571c23d3c136ceb4def5dec685d5
/tf_agents/agents/categorical_dqn/categorical_dqn_agent_test.py
2380f5ac930402b7e81a3dc12cf34321bddb0106
[ "Apache-2.0" ]
permissive
Squadrick/agents
de3aa6566cf237e82fdaf1569586365d7803302e
d7905cfc8b317900657113c34f51244ec5211b69
refs/heads/master
2020-06-07T07:47:05.797364
2019-06-19T20:53:58
2019-06-19T20:54:32
192,964,888
0
0
Apache-2.0
2019-06-20T17:55:38
2019-06-20T17:55:38
null
UTF-8
Python
false
false
15,208
py
# coding=utf-8 # Copyright 2018 The TF-Agents Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
081a6467862d8313dc76b52f240463d6543170aa
e1092274408656117bc00252bc761e3609ec437f
/python/paddle/distributed/auto_parallel/operators/dist_transpose.py
8b40524e47315260d17e38f12bb95b5d93df39fb
[ "Apache-2.0" ]
permissive
xiegegege/Paddle
92822623e4d7fe0263503f11b63fb22610bf2773
df1d04ca0031da2d701f314f1c98afdbb107b1b5
refs/heads/develop
2022-01-13T08:34:09.835700
2021-12-30T07:06:03
2021-12-30T07:06:03
226,800,733
0
0
Apache-2.0
2019-12-09T06:28:40
2019-12-09T06:28:39
null
UTF-8
Python
false
false
4,337
py
# Copyright (c) 2021 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
xiegegege.noreply@github.com
a64a16ccd106e89067e9f9d78718ab8be8dfd26c
3e6dffad73b8d5024024b52b044c57a05e7e9655
/assets/2020-01-18/zoogle/zdocs/migrations/0001_initial.py
63b30f2d3ceded209f620d30b12c629ee113f1c1
[ "MIT" ]
permissive
dhilipsiva/talks
07f33b162d8db6e20e3d5974576d71c273629187
05581b6b8fdd0598d4ffed4bf75204d718719ed9
refs/heads/master
2022-08-05T12:27:39.932612
2022-07-21T07:43:36
2022-07-21T07:43:36
68,734,565
5
3
MIT
2021-07-30T11:24:12
2016-09-20T17:05:44
Python
UTF-8
Python
false
false
888
py
# Generated by Django 3.0.2 on 2020-01-17 11:51 from django.db import migrations, models import uuid class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Zdoc', fields=[ ('id', models.U...
[ "dhilipsiva@pm.me" ]
dhilipsiva@pm.me
b5da8a85646bf5e85130cdcf3f31dc9794265c46
83b5efa0d25c805971acf309146ca817f37692f2
/src/visualization/markov_1_RMSE_comparison.py
14c0f41a0dba1953a3e91bac58d3f03811fc6e2d
[ "MIT" ]
permissive
VictorOnink/Wind-Mixing-Diffusion
3d104014de9e5d169c26320cca039aaaa1f490e2
16ac459f010ea3fd845335737a9a1e3f913b6103
refs/heads/main
2023-04-11T09:24:54.988598
2022-03-02T15:39:25
2022-03-02T15:39:25
314,201,646
0
1
null
null
null
null
UTF-8
Python
false
false
5,748
py
import matplotlib.pyplot as plt import numpy as np import analysis, settings from visualization import utils_visualization as utils_v def markov_1_RMSE_comparison(x_label=r'$u_{10}$ (m s$^{-1}$)', y_label=r'RMSE', fig_size=(16, 8), ax_label_size=16, legend_size=11, wave_roughness=False): ...
[ "31734765+VictorOnink@users.noreply.github.com" ]
31734765+VictorOnink@users.noreply.github.com
0afd4eee10e14e1b6303f505244a18b388f4e105
20132d827a96afa4f33da2424dbb52f58f01a844
/Hash/Lessons42579/gamjapark_solution.py
bf234183778a0c3d46a8bfacfae6c1483158d56c
[ "MIT" ]
permissive
StudyForCoding/Programmers
270cddd6e9dcfbad2916fbae7ae6f127844b64bd
bb520ba2cc188af932a222c76b9a508e3567f7f8
refs/heads/master
2022-07-16T03:00:25.227522
2020-05-21T11:32:18
2020-05-21T11:32:18
265,508,921
0
0
MIT
2020-05-21T11:32:19
2020-05-20T09:02:31
Python
UTF-8
Python
false
false
965
py
def solution(genres, plays): answer = [] genre = dict() for g in genres: genre[g] = 0 PlayLength = len(plays) play = [0 for _ in range(PlayLength)] i = 0 for p, g in zip(plays,genres) : play[i] = {g:p} i += 1 for p in play: genre[li...
[ "gojang4@gmail.com" ]
gojang4@gmail.com
dbd9fccd7ac5204f453bf57235a36d02f7ee7daa
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_342/ch7_2020_09_09_12_13_31_428073.py
8f23596b9f6828be09ba337736b27df39a7b4582
[]
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
135
py
def calcula_area_do_triangulo(b,h): area_triangulo=((b*h)/2) return area_do_triangulo base=10 altura=5 print(base,altura)
[ "you@example.com" ]
you@example.com
0885fc81f9c934a44e70c6659f760daee032544c
1a07ef7e046c6cc278cfbd2e3d2e15b03d9e11b5
/collections-namedtuple.py
56c2e6ab87774041da0f213182dfd47b551c928d
[]
no_license
tjguk/lightning-collections
273b7da18ad6cf225186fb074685ad670d59bab1
6e78a2afbf880d611af7ebe52c8d764bf400b245
refs/heads/master
2020-06-02T10:26:17.518183
2012-09-06T12:42:35
2012-09-06T12:42:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import os, sys from collections import namedtuple import csv with open("files.csv", "rb") as f: reader = csv.reader(f) fields = reader.next() Row = namedtuple("Row", fields) files = [Row(*row) for row in reader] for f in files[:10]: print f
[ "mail@timgolden.me.uk" ]
mail@timgolden.me.uk
ac76c3ad644fa22d248fc653a359b84f9b4c9d09
434b9b85bb901a4e50977e14a74aa4592b583ea2
/old/config/share/databases/defaultdb/lenny/postgresql_server/script-config
f29b1fe4c02ca77a804fc4f94c0dbd57897f5473
[]
no_license
umeboshi2/paella
12dd9f4785588cd501d7916171a5179b7c29bb31
df4cf032a100ea1c109bcf02b1c74bb217bc84c6
refs/heads/master
2021-01-25T12:07:20.785787
2015-06-02T16:03:30
2015-06-02T16:03:30
7,497,284
5
3
null
2015-01-23T22:25:19
2013-01-08T07:11:58
Python
UTF-8
Python
false
false
4,911
#!/usr/bin/python import sys from useless.base.path import path from paella.installer.toolkit import InstallerTools print "config script for postgresql_server" it = InstallerTools() env = it.env() recreate_template1_instructions="""UPDATE pg_database SET datallowconn = TRUE where datname = 'template0'; \c tem...
[ "umeboshi@cfc4e7be-4be4-0310-bcfe-fc894edce94f" ]
umeboshi@cfc4e7be-4be4-0310-bcfe-fc894edce94f
6fbc0d258e0586e2a8a11eadc79b68c6fd0decf4
b2ccb163ea78887c32c9ce7e4513ae9db577e3cf
/Machine Learning A-Z/Part 7 - Natural Language Processing/Section 36 - Natural Language Processing/runstep3.py
6a33dd541bda3329bc92aa552e7c08a366ff6589
[]
no_license
Ukabix/machine-learning
f5966fec211d140e1297a2364789444f464a7caa
0f80ff342cf186803320084bcc4a5e0e73d1fe8f
refs/heads/master
2021-11-08T07:35:43.515249
2021-10-26T10:00:03
2021-10-26T10:00:03
213,165,560
0
0
null
2019-10-08T09:46:40
2019-10-06T12:36:05
Python
UTF-8
Python
false
false
847
py
# NLP - Bag of words # Natural Language Processing # Importing the libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importing the dataset dataset = pd.read_csv('Restaurant_Reviews.tsv', delimiter = '\t', quoting = 3) # tsv specific, quiting skips "" # cleaning the texts # stemming ...
[ "54454097+Ukabix@users.noreply.github.com" ]
54454097+Ukabix@users.noreply.github.com
eeb6e3d020373099a4465df961980ece301619ae
11771f5dd90a74d5c76765f27f0d9a9cb044f57b
/route/user_setting_top_menu.py
b9016c93c76dfbf472686e9b9939945095559130
[ "BSD-3-Clause" ]
permissive
openNAMU/openNAMU
cc031ea848ac6d829ad243fcf59da26adf0f0814
868107e4ef53e4e78af15c590673b78ee385baa5
refs/heads/beta
2023-08-24T10:20:00.245680
2023-08-23T14:09:53
2023-08-23T14:09:53
78,184,261
86
75
BSD-3-Clause
2023-09-13T21:36:03
2017-01-06T07:22:10
Python
UTF-8
Python
false
false
2,222
py
from .tool.func import * def user_setting_top_menu(): with get_db_connect() as conn: curs = conn.cursor() ip = ip_check() if ban_check(ip) == 1: return re_error('/ban') if flask.request.method == 'POST': curs.execute(db_change("select name from othe...
[ "min08101@naver.com" ]
min08101@naver.com
ff8d99be9ba8504e548a98344c65a23d7a5cdb13
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_172/ch35_2020_04_10_18_41_08_169350.py
ac2467fe93019c432612c8377d076ebdb0ddf1f0
[]
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
192
py
x = int(input('numero: ')) soma = 0 y = True while y: if x != 0: soma = soma + x x = int(input('numero: ')) y = True elif x == 0: y = False print (soma)
[ "you@example.com" ]
you@example.com
f8f02a246f4d5c420abe71734d426e5f77389c3b
bb5b63774924abe86c2cb0d8a09795fcf1a4d822
/chat/views.py
0b613a45f48e1e833992141c24ab0fda3260f81c
[]
no_license
IdenTiclla/realtime_chat_app
769bf432e993ee79cb93bd54489305db3526f4d5
d2a5187bb9f257c5e8fefe6735d23e5d0eec64e6
refs/heads/master
2023-06-23T17:47:41.766605
2021-07-21T21:00:25
2021-07-21T21:00:25
387,920,262
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
from typing import List from django.shortcuts import render, redirect from chat.models import Room, Message from django.http import HttpResponse, JsonResponse # Create your views here. def home(request): return render(request, 'home.html') def room(request, room): username = request.GET['username'] room...
[ "iden.ticlla@gmail.com" ]
iden.ticlla@gmail.com
2728b2991bd08e88147fbdd4f649c902775aeb96
48c65330f577d11cedb29fd970aee35788ab72c6
/ctrl_api_magento2_tierprice__upload.py
49630511be6a3891ec8208159908d6b16d1bc9d4
[]
no_license
yeboyebo/elganso_sync
309ecbaba3127493abe001cd1704cc7098234baa
66f033a0e27a05c1fc6704ec6ba2bd474d204b7e
refs/heads/master
2023-07-22T00:17:48.201252
2023-07-19T07:48:40
2023-07-19T07:48:40
173,096,155
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
import json from django.http import HttpResponse from sync.tasks import task_manager # @class_declaration interna_upload # class interna_upload(): pass # @class_declaration elganso_sync_upload # from models.flsyncppal import flsyncppal_def as syncppal class elganso_sync_upload(interna_upload): @staticm...
[ "jesus.yeboyebo@gmail.com" ]
jesus.yeboyebo@gmail.com
d206f151b94adc10fe4c49e4dbcce4e98915b17d
b01f25b447d5ec3d6bc08380ae2601d5badb6af3
/sortbypower.py
915263174c405422441a673ddfc3037fb3ddf3eb
[]
no_license
SurajPatil314/Leetcode-problems
0b05faab17214437a599d846dd1c9a7ea82b9c4c
9201a87246842855281c90a9705f83fce24d1137
refs/heads/master
2021-09-05T02:20:05.274438
2021-08-09T21:24:05
2021-08-09T21:24:05
203,467,630
0
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
''' The power of an integer x is defined as the number of steps needed to transform x into 1 using the following steps: if x is even then x = x / 2 if x is odd then x = 3 * x + 1 For example, the power of x = 3 is 7 because 3 needs 7 steps to become 1 (3 --> 10 --> 5 --> 16 --> 8 --> 4 --> 2 --> 1). Given three integ...
[ "spatil2@umbc.edu" ]
spatil2@umbc.edu
7e6bc2f7d0f3a1bc0d8311b35964e5b1f1bbad93
cc632d66ccceb5f7bd739553cdb4054a0f1c0035
/account/migrations/0001_initial.py
eee939a7d781d678f814c0532bd7e242beb8fde4
[]
no_license
raimbaev223/django-by-example__bookmarks
b3b197c75906d0e49c495f5d8511517ddef62e08
59c4b35f5c739b824bd3e8073993a81b3a4e8845
refs/heads/master
2023-03-19T10:39:13.003427
2021-03-18T06:45:07
2021-03-18T06:45:07
347,860,635
0
0
null
null
null
null
UTF-8
Python
false
false
845
py
# Generated by Django 3.1.7 on 2021-03-15 05:56 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...
[ "raimbaev.223@gmail.com" ]
raimbaev.223@gmail.com
0765de0d02b8ed5de3c97d6966c417566f8a965b
11bb0cbe6de2a0a4e94fc0ba610f61894d5593a1
/VBS_Zgamma/RunII2018/Ntuples_2018/PKUTreeMaker/test/Zcrab/crab3_analysisZA.py
6048c5a01d4c8023c1caecfb688a9c6e01a15f5d
[]
no_license
AnYpku/PKU-Cluster
0dc4a88445aeb3ca239b2d7d7f796c6a67f3f69c
f9ffbcb7988053f4618fd015c1bb656d92ff51c6
refs/heads/master
2022-11-01T23:46:59.442037
2022-10-21T06:37:43
2022-10-21T06:37:43
188,202,345
0
4
null
null
null
null
UTF-8
Python
false
false
1,183
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'Z-ZA_smearing' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Autumn18_V8_MC_L1FastJet_AK4PFchs.txt','A...
[ "ying.an@cern.ch" ]
ying.an@cern.ch
be2c6b067ca851d5e4016d68def182a7dd5a0109
83b67a0800ceb5d5828c8e2011ff31b5faa311f8
/experiments/save_exp.py
47f9c2c3deb37a6f84566cdb9566403e8279cbbc
[]
no_license
xKHUNx/scatnet_learn
77d89da4025f9c3cdbe74c957cf2a3e8626e3a01
9b2efbc9764118b58146950320215d33b6dc3240
refs/heads/master
2022-03-29T18:42:49.644481
2020-01-15T13:17:21
2020-01-15T13:17:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,443
py
# Fergal Cotter # # Future modules from __future__ import absolute_import from __future__ import division from __future__ import print_function import sys import os import time import git import shutil TEMPLATE = """Invariant Layer Experiment ========================== This experiment was run on {day} at {time}. T...
[ "fbcotter90@gmail.com" ]
fbcotter90@gmail.com
6a1a1757829d687a4e590ec2ef37f100293e8521
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/380/usersdata/346/73642/submittedfiles/testes.py
6e915ea2557ba3f2e24c9794f73162d52521c19f
[]
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
100
py
n= int(input('Digite quantos lados deve ter o seu polígono: ')) nd= (n*(n-3))/2 print('%.1f' % nd)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
de06d49e0d61870db7688cf2ef395cb2ffcc3935
81026fb32d5fe66e291c824f8bb8e251d6ce56d5
/04 Functions/using_math.py
32fbfddf7efc078860cced164909527f9c0badc5
[]
no_license
rifqirosyidi/coding-python
b1e148d1787d741cdc0ce2c36dd13ff6b8d2c17b
0d98d55d0aaf2cca4129f1b98365a5866eb28dd2
refs/heads/master
2020-08-11T12:51:57.567318
2019-10-29T15:38:14
2019-10-29T15:38:14
214,567,920
0
0
null
null
null
null
UTF-8
Python
false
false
1,007
py
import math def get_luas_bidang(value): bidang = value.lower() if bidang == "segitiga": bidang_segitiga() elif bidang == "segiempat": bidang_segiempat() elif bidang == "lingkaran": bidang_lingkaran() else: print("Hanya Menangani Segitiga, Lingkaran dan Segiempat") ...
[ "rief.rosyidi@gmail.com" ]
rief.rosyidi@gmail.com
0792882963b6c69117dab0d94d597d48eff39ae2
be9e32a9182d16fe92d937f5965a2a3a3ec11dc8
/bundler.py
b6d11c6deacf7a9dd8756f4b1a0058978e5e60df
[ "ISC" ]
permissive
theexiled1/CageTheUnicorn
1a649f974298109d68e4af3401976855ddf98c83
e695a2d9660eed3bdde4909f755c52d66beef7da
refs/heads/master
2020-12-03T11:59:29.995881
2017-08-21T16:43:20
2017-08-21T16:43:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
import struct, sys from glob import glob def main(dumpdir, mainaddr, wkcaddr): mainaddr = int(mainaddr.replace('0x', ''), 16) wkcaddr = int(wkcaddr.replace('0x', ''), 16) with file('membundle.bin', 'wb') as fp: files = glob('%s/*.bin' % dumpdir) fp.write(struct.pack('<IQQ', len(files), mainaddr, wkcaddr)) fo...
[ "cody.brocious@gmail.com" ]
cody.brocious@gmail.com
8a555b206e436193b34566826633625c548602f5
4cdf99ed3fd91f2406fe908fff77284fbc2cd3c3
/setup.py
2c5bf3aad0abc71d2d5317b265460620b0199da7
[ "MIT" ]
permissive
shinroo/mocr
cb4173d22413b9ba7e140118832e9ce6aac2da09
5d33a812172b87d126bf3f7de0238b0919c2ab86
refs/heads/master
2020-04-12T00:34:45.462919
2018-12-09T20:50:00
2018-12-09T20:50:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,030
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function import os import re import codecs from setuptools import setup, find_packages cwd = os.path.abspath(os.path.dirname(__file__)) def read(filename): with codecs.open(os.path.join(cwd, filename), 'rb', 'utf-8') as ...
[ "abdullahselek@gmail.com" ]
abdullahselek@gmail.com
d2698bcccc58c5147cae9d2d59f3b99c7942463e
f7ed942c685bd0e77eb207b901ccae78b1844cfc
/three_sum.py
4b5d927f83a2e27455519b1b6deaceb43c3a115e
[]
no_license
axu4github/leetcode.answers
beeeec30e2958a9fb5727fe1f77e5e919655becc
d2dd4a211a2c380f9816e0454c1a8c817545c1d7
refs/heads/master
2020-03-27T07:15:46.179010
2020-01-08T13:29:21
2020-01-08T13:29:21
146,176,415
0
0
null
null
null
null
UTF-8
Python
false
false
1,538
py
# coding=utf-8 class Solution(object): """ 15. 三数之和 (https://leetcode-cn.com/problems/3sum/description/) 给定一个包含 n 个整数的数组 nums, 判断 nums 中是否存在三个元素 a,b,c , 使得 a + b + c = 0 ?找出所有满足条件且不重复的三元组。 注意:答案中不可以包含重复的三元组。 例如, 给定数组 nums = [-1, 0, 1, 2, -1, -4], 满足要求的三元组集合为: [ [-1, ...
[ "axu.home@gmail.com" ]
axu.home@gmail.com
ee3d1185c32a04865b9ad8088059e235a5492772
eee5fc5e9e1bd9ababc9cf8ccb8add19c9219ca3
/ABC/151/d_bfs.py
21951db67400789ba2fc6f7fa0e087d70d5afb84
[]
no_license
matatabinoneko/Atcoder
31aa0114bde28ab1cf528feb86d1e70d54622d84
07cc54894b5bcf9bcb43e57a67f2a0cbb2714867
refs/heads/master
2021-11-13T04:39:13.824438
2021-10-31T01:42:52
2021-10-31T01:42:52
196,823,857
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
import queue import copy def main(): h,w = map(int,input().split()) maze = [] maze.append(['#' for i in range(w+2)]) for i in range(h): tmp = input() tmp = list('#' + tmp + '#') maze.append(tmp) maze.append(['#' for i in range(w+2)]) # print(maze) dx_ = [0,1,0,-1] ...
[ "matatabinoneko0721@gmail.com" ]
matatabinoneko0721@gmail.com
ae82513226f91ab38fa6ae76d5f8bc57af2d9873
6e47be4e22ab76a8ddd7e18c89f5dc4f18539744
/venv/openshift/lib/python3.6/site-packages/kubernetes/client/models/v1_aws_elastic_block_store_volume_source.py
ef20d19c36e713bc035972b2b71b0b4bad61a1a5
[]
no_license
georgi-mobi/redhat_ocp4.5_training
21236bb19d04a469c95a8f135188d3d1ae473764
2ccaa90e40dbbf8a18f668a5a7b0d5bfaa1db225
refs/heads/main
2023-03-30T10:47:08.687074
2021-04-01T05:25:49
2021-04-01T05:25:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,378
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.11 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import r...
[ "student@workstation.lab.example.com" ]
student@workstation.lab.example.com
262e68b1e377d555f99bc12cfb6bb2eb9023cf5a
47d1beba77ebde115c5d41b25a15ef144068c930
/findingaids/migrations/0019_auto_20161103_1604.py
b73f511547de16968764b57cb516bd6fc376f20a
[]
no_license
uchicago-library/library_website
f32d7dcaf793b4646cac37ba7270715dccf84820
e5912a17ed2de3a61ede2fbebda4a258664ff696
refs/heads/master
2023-08-16T20:20:45.063253
2023-08-10T21:19:12
2023-08-10T21:19:12
39,917,251
5
4
null
2023-08-10T21:19:14
2015-07-29T21:27:58
Python
UTF-8
Python
false
false
16,916
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-11-03 21:04 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('findingaids', '0018_findingaidspage_banner_feature'), ] ...
[ "jej@moss.lib.uchicago.edu" ]
jej@moss.lib.uchicago.edu
2e028dca7ed2e92d073356ef6d2bee07d82639ca
ff0c718b4be5f26ae0ead4b6419255747c679c00
/src/transformers/generation_flax_logits_process.py
12442917759b91ac3ce450e5ea9c8740bb76d225
[ "Apache-2.0" ]
permissive
elgeish/transformers
cb80d4026ebed67eb2ea8efd07d972f03ceb479f
c016dbdbdaf79339ae6d275d4651dc9f380be055
refs/heads/master
2021-11-25T19:28:09.297523
2021-11-06T14:33:47
2021-11-06T14:33:47
245,088,820
1
3
Apache-2.0
2020-03-05T06:43:47
2020-03-05T06:43:46
null
UTF-8
Python
false
false
11,502
py
# coding=utf-8 # Copyright 2021 The HuggingFace Inc. team # # 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 ...
[ "noreply@github.com" ]
elgeish.noreply@github.com
e1f003b7a5710057b5f83fb6a06df9cb3bdbece6
0129b016055daa1aaa1e9e0911f271fa7b38e27e
/programacao_estruturada/20192_166/for/fabio03_questao07.py
cd4394adf0a9e02d7f4115cc0e5c3e96b425cfb6
[]
no_license
rogeriosilva-ifpi/teaching-tds-course
7c43ff17d6677aef7b42071929b3de8361748870
771ccdc4dc932d0ef5ce6ba61a02b5ee11920d4c
refs/heads/master
2022-04-04T01:08:45.157185
2020-01-30T19:36:57
2020-01-30T19:36:57
206,439,119
1
0
null
null
null
null
UTF-8
Python
false
false
190
py
def programa(): numero = int(input('Número: ')) limite = numero + 1 soma = 0 for i in range(1, limite): soma = soma + i print('Resultado:', soma) programa()
[ "rogerio.silva@ifpi.edu.br" ]
rogerio.silva@ifpi.edu.br
6dcf58f3fdc4af5e1c6f72c92a3d68ba9e34b60c
34745a8d54fa7e3d9e4237415eb52e507508ad79
/Python Fundamentals/04 Functions/Exercises/09_Factorial_Division.py
7a8f98167d64d2071b173c43e8018a4076dbb28f
[]
no_license
DilyanTsenkov/SoftUni-Software-Engineering
50476af0dc88b267d72c56fa87eeb88d841164b2
fe446e3a50a00bb2e48d71ab8f783e0a4a406094
refs/heads/main
2023-08-12T18:18:42.144210
2021-09-25T11:10:38
2021-09-25T11:10:38
317,235,419
1
2
null
null
null
null
UTF-8
Python
false
false
428
py
def factorial(num1, num2): first_factorial = first_number second_factorial = second_number for i in range(1, num1): first_factorial *= (first_number - i) for i in range(1, num2): second_factorial *= (second_number - i) return first_factorial / second_factorial first_numbe...
[ "noreply@github.com" ]
DilyanTsenkov.noreply@github.com
15c17f24a24cf077d10cb8262277e8ae5cbf8997
d696454b3e3473a45e0bb486e93f3742493c86a0
/music/views/playlist.py
259f2b90dfa81dcf5dc5cea323f74b53d55c7dde
[]
no_license
jmg/music_camping
430d04e1c8dec28816975daa8fa5375f2eb02435
72816647f70bb0afca5899bad5d1cfbaef4ff889
refs/heads/master
2021-06-20T01:57:30.540852
2017-01-04T05:11:28
2017-01-04T05:11:28
40,454,505
0
0
null
null
null
null
UTF-8
Python
false
false
4,274
py
from base import BaseView from music.services.song import SongService from music.services.playlist import PlayListService from music.models import PlayList, Song, PlayListSong from django.conf import settings import threading class PlayingView(BaseView): url = r"^playlist$" def get(self, *args, **kwrags): ...
[ "jmg.utn@gmail.com" ]
jmg.utn@gmail.com
f45a472394de6a4dc8569170a4d0b8cb76b5f712
8a5f8dfdd038590a579d14a84558cce2bb930b22
/AICamera/app/src/main/cpp/caffe2/python/scope.py
7aa881c0ca815c4f51643bb33d182b18b967b95a
[ "MIT" ]
permissive
blackxer/AICamera
ebc94c663e6f2ea6e8c81290a64bce4e7d369ed9
4f0a6a09a2288da2ec7140744b5c2862df114c78
refs/heads/master
2020-08-11T19:53:42.388828
2019-10-16T01:19:59
2019-10-16T01:19:59
214,616,987
1
1
null
null
null
null
UTF-8
Python
false
false
3,465
py
## @package scope # Module caffe2.python.scope from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import contextlib import threading from past.builtins import basestring from caffe2.proto import caffe2_pb2 ...
[ "zhangwei@egova.com.cn" ]
zhangwei@egova.com.cn
32721484c00e4274922c0d5dce36abc0b6575e1b
d1c67f2031d657902acef4411877d75b992eab91
/swagger_client/models/team_routing_rule.py
91124b752ab07d247307aaaa3c98962cbd641c5d
[]
no_license
Certn/opsgenie-python
c6e6a7f42394499e5224d679cc9a449042fcf9c3
bd5f402f97d591e4082b38c938cbabca4cf29787
refs/heads/master
2023-01-01T10:45:13.132455
2020-10-27T17:40:01
2020-10-27T17:40:01
307,769,432
0
0
null
null
null
null
UTF-8
Python
false
false
7,731
py
# coding: utf-8 """ Opsgenie REST API Opsgenie OpenAPI Specification # noqa: E501 OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class TeamRoutingRule(object): """NOTE: This class is auto...
[ "john@oram.ca" ]
john@oram.ca
b962777592420ddaec641e394930ccb7f4714f4b
70b339d0b2638a7914d0d56c5edf8a2637c9f4b0
/Microsoft-budgetCombination.py
7c5b8974df0f7b5706643a7f2353cba23ce79435
[]
no_license
pflun/advancedAlgorithms
9991da7514024e18ba08de8688966b9220e12571
5520dbcd26999b98e1229bf03c2f62dd690a2ddc
refs/heads/master
2023-02-19T12:05:26.902535
2023-02-14T06:08:54
2023-02-14T06:08:54
189,055,701
4
0
null
null
null
null
UTF-8
Python
false
false
1,148
py
# -*- coding: utf-8 -*- # 给你一个menu,是一个map,key是菜名,value是价格,比如 # "apple": 3.25, # "chicken": 4.55, # "cake":10.85, # # 然后给你一个budget,比如7.80. # 要你给出所有菜名的combination,总价要正好符合budget,次序不重要,但不能有重复。 # 比如,如果budget是7.80,他就要求结果是[["apple", "chicken"]],不能是[["apple", "chicken"],["chicken","apple"]] # 比如,如果budget是6.50,他就要求结果是[["apple",...
[ "zgao@gwu.edu" ]
zgao@gwu.edu
f343e24f6f579b9ecca603705a2a764f1b6153c7
52c5b78f3afab4573926dd6d0a49e10ee1a77e26
/myproject/boards/models.py
be05814d747d51aef868e0b17217166717b84237
[]
no_license
zime-py/eight
d9eefc28a00a8411f3a58b0e931807492bc5bfc2
2138b2a8884dea299654ff7c41060c72f183486c
refs/heads/master
2023-01-11T23:03:53.062441
2020-11-14T14:43:04
2020-11-14T14:43:04
312,831,969
0
0
null
null
null
null
UTF-8
Python
false
false
1,017
py
from django.db import models class Do(models.Model): name = models.CharField(max_length=100) roll = models.CharField(max_length=100) #ForeignKey('auth.user',on_delete=models.CASCADE,) def __str__(self): return self.name class Did(models.Model): result = models.CharField(max_length=100) #Fore...
[ "mahmudhossain836@gmail.com" ]
mahmudhossain836@gmail.com
e1b381d9aa05348e59d8373f067baaca3e76ac38
951d62ecd155103fa77efaa68fb7611ac4b9af4b
/testtask/views.py
000f7b29ff9b717ae435c4111fc440ba7ef938da
[]
no_license
darkdkl/stdvor_dev
352cb46e45d943c3b31d430bd84d684979456d7e
c4b9dc8b691f11cf15dda565214036367141765a
refs/heads/master
2021-09-26T11:14:57.299457
2020-01-15T08:08:31
2020-01-15T08:08:31
234,028,893
0
0
null
2021-09-22T18:23:23
2020-01-15T07:59:51
Python
UTF-8
Python
false
false
2,290
py
from django.shortcuts import render from django.http import JsonResponse from testtask.models import Order, Сontact, Product from django.views.generic import View from django.views.decorators.csrf import csrf_exempt from django.utils.decorators import method_decorator from django.http import QueryDict # Create your vi...
[ "dark.dmake@gmail.com" ]
dark.dmake@gmail.com
2c600cd8520114fcf732b05492d70efb49e64f23
58af092b07edb8d34d8d03886d6bd56d5c34af42
/english_munchers_dj/telegram_bot/migrations/0001_initial.py
366e348ec9e185f732a5237448ed2d8c76a0051d
[]
no_license
Vido/freela-em
ced9f79cecc247bd1a42aae744a32155f07d9124
78d9ea732d6d869af5bdf78666e41078d7777e0b
refs/heads/master
2022-12-08T19:27:21.186061
2019-03-04T21:54:29
2019-03-04T21:54:29
110,721,168
0
6
null
2022-12-07T23:49:35
2017-11-14T17:15:46
JavaScript
UTF-8
Python
false
false
620
py
# Generated by Django 2.0 on 2017-12-11 14:40 import django.contrib.postgres.fields.jsonb from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='UpdateResponse', ...
[ "vido@usp.br" ]
vido@usp.br
c910db3bd9b777a4af8a0435d71e2fe3a8998987
be02fd6adb789e8b5f5c8f77b2635b71b1b24a52
/prob.py
7e69c9913f33a9eba9130d35476f74ca184f195b
[]
no_license
pavlin-policar/rosalind
05cd66bec512e7b3ca414effd00e4d1b4ffd563a
d9c8b2ab20e950ef543964fc5e1c47bbf21b8362
refs/heads/master
2021-11-25T08:20:28.083661
2021-11-07T17:28:50
2021-11-07T17:30:50
71,159,103
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
import operator from functools import reduce from math import log10 if __name__ == '__main__': sequence = input() probabilites = map(float, input().split()) prob = lambda l, p: p / 2 if l in ('C', 'G') else (1 - p) / 2 logs = [log10(reduce(operator.mul, [prob(l, p) for l in sequence], 1)) ...
[ "pavlin.g.p@gmail.com" ]
pavlin.g.p@gmail.com
d98628b7b3a81ff0fe9d3ae51d115f5d3ded0262
6444622ad4a150993955a0c8fe260bae1af7f8ce
/djangoenv/bin/python-config
f60d09bc69d85bc162d02850a5fd49608851224d
[]
no_license
jeremyrich/Lesson_RestAPI_jeremy
ca965ef017c53f919c0bf97a4a23841818e246f9
a44263e45b1cc1ba812059f6984c0f5be25cd234
refs/heads/master
2020-04-25T23:13:47.237188
2019-03-22T09:26:58
2019-03-22T09:26:58
173,138,073
0
0
null
2019-03-22T09:26:59
2019-02-28T15:34:19
Python
UTF-8
Python
false
false
2,403
#!/home/mymy/Desktop/Python_agility/cours/Hugo/Lessons_RestAPI/Lesson_RestAPI/djangoenv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix...
[ "jeremyrich@free.fr" ]
jeremyrich@free.fr
afa20d25cc412db5e1c7a07e46b39a65987b99c2
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/.install/.backup/lib/googlecloudsdk/third_party/apis/datastore/v1/datastore_v1_client.py
3390ffe8e1fab09390fda0ae8e4cba82b5321e06
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
17,492
py
"""Generated client library for datastore version v1.""" # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.py import base_api from googlecloudsdk.third_party.apis.datastore.v1 import datastore_v1_messages as messages class DatastoreV1(base_api.BaseApiClient): """Generated clien...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
dfcb9af51620932e87402ca302ac7f129e5addfb
7257d16c3352283a5e0237db74870374531d8e2d
/ch12/ex04.py
a19b3f8d607b9b5924c2782eb3e0a5d35a7c2f83
[]
no_license
EunhyeKIMM/python
886703a3ace8c51e4cf00d23ae5d6bfd99cd7e92
b4de600d9fccdd8f5fbef2a387d63f99610b67ed
refs/heads/master
2023-02-19T05:12:54.500019
2021-01-20T15:49:01
2021-01-20T15:49:01
329,340,972
1
0
null
null
null
null
UTF-8
Python
false
false
109
py
import sys while True: ans = input('명령>') if ans == 'quit': sys.exit(0) print(ans)
[ "kimeunhye0710@gmail.com" ]
kimeunhye0710@gmail.com
cae0e6ea55aba796f6f8be2d75ee40d5756d5a32
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/sLb2Fs6aGRQBYAXqQ_11.py
87b06555ae8f879dd67c342359ad561108009eb4
[]
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
687
py
""" Given a Rubik's Cube with a side length of `n`, return the number of individual stickers that are needed to cover the whole cube. ![Pictures of Rubik's Cubes](https://edabit- challenges.s3.amazonaws.com/rubrix.png) * The Rubik's cube of side length `1` has **6 stickers**. * The Rubik's cube of side length ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
cdbc0a4ed1d136f416ba29f80d6ac70a7f07cf3b
5b71e2952f34dd3bb20148874d952fee06d31857
/app/mf/crud/migrations/0068_auto_20210130_1317.py
dd034f797a90346ddce19c87f0439ee92d564331
[]
no_license
isela1998/facebook
a937917cddb9ef043dd6014efc44d59d034102b1
a0f2f146eb602b45c951995a5cb44409426250c5
refs/heads/master
2023-07-18T02:14:50.293774
2021-08-28T03:26:06
2021-08-28T03:26:06
400,613,743
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
# Generated by Django 3.1.1 on 2021-01-30 17:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('crud', '0067_auto_20210130_1104'), ] operations = [ migrations.RemoveField( model_name='sale', name='type_exchange',...
[ "infantefernandezisela@gmail.com" ]
infantefernandezisela@gmail.com
a04fd2d3b518817724d9cab376f37c2b71f9a3be
6c40a17cee8777dbf4e0b6d85e624eacefd67a69
/ez2pay/models/permission.py
4d79a47c58bd77bd06ab42d129503eadcdf61164
[ "MIT" ]
permissive
fangpenlin/ez2pay
ae5125c8c05bad0178d7c8bb0f0c256489e0127a
13ce4782d3c673a0cb07003a826a10bdfbe6a9ad
refs/heads/master
2021-05-28T06:01:56.627261
2013-12-03T01:46:23
2013-12-03T01:46:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,678
py
from __future__ import unicode_literals from . import tables from .base import BaseTableModel class PermissionModel(BaseTableModel): """Permission data model """ TABLE = tables.Permission def get_by_name(self, permission_name): """Get a permission by name """ ...
[ "bornstub@gmail.com" ]
bornstub@gmail.com
9114b0a4d64ffaa928a2b6eca362492c7d4d3a45
a034d4ba39789e4a351112c46dd04a38180cd06c
/appengine/monorail/services/api_pb2_v1_helpers.py
b67a0d604e05fada9d917b76f008ffec195dcc55
[ "BSD-3-Clause" ]
permissive
asdfghjjklllllaaa/infra
050ad249ab44f264b4e2080aa9537ce74aafb022
8f63af54e46194cd29291813f2790ff6e986804d
refs/heads/master
2023-01-10T21:55:44.811835
2019-07-01T14:03:32
2019-07-01T14:03:32
194,691,941
1
0
BSD-3-Clause
2023-01-07T07:12:37
2019-07-01T14:45:29
Python
UTF-8
Python
false
false
23,394
py
# Copyright 2016 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 or at # https://developers.google.com/open-source/licenses/bsd """Convert Monorail PB objects to API PB objects""" from __future__ import division from __fut...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
0b5493b2e903ebb798213959fd1101e12390742e
9f5557fd6a1d809e7026e23d58f3da57a0c0cbcc
/vega/service/user_service.py
82ae4a5a0971b198ec36c76d8d8a0e8f7daf8b9d
[]
no_license
biao111/learn_python2
e5150b7bb7cdd0166330ff159d83a809ca9d81d7
60f8fc1f7da8ae22dae2314b55dbe669b404d95a
refs/heads/master
2023-01-07T16:56:42.123504
2020-11-08T05:53:10
2020-11-08T05:53:10
310,993,379
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
from db.user_dao import UserDao class UserService: __user_dao = UserDao() #验证用户登录 def login(self,username,password): result = self.__user_dao.login(username,password) return result #查询角色 def search_user_role(self,username): role = self.__user_dao.search_user_role...
[ "18211149974@163.com" ]
18211149974@163.com
8287dba7a61531a7caacf4b6d203bf647d570660
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/operationsmanagement/management_configuration.py
9fcbdda9e01fec5b6c281daa72b730ae9185a220
[ "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,608
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
55d3dc367b251fb1c170bfef1057404c2ca9ef36
6b29dbfe527d9e1950d53fde913e05e2a58758ab
/server/tasks/psychiatricclerking.py
caa5891fab78b1c238c1181e21bf8b1e2a48cc8f
[ "Apache-2.0" ]
permissive
parijatsahai/camcops
d7b2843b77bedee87b8298138bc8a33fe66c5178
09c7000060b546ad22b908e4245b1ff02940dd63
refs/heads/master
2021-01-21T09:20:43.670032
2015-07-02T15:42:59
2015-07-02T15:42:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,976
py
#!/usr/bin/python2.7 # -*- encoding: utf8 -*- """ Copyright (C) 2012-2015 Rudolf Cardinal (rudolf@pobox.com). Department of Psychiatry, University of Cambridge. Funded by the Wellcome Trust. This file is part of CamCOPS. Licensed under the Apache License, Version 2.0 (the "License"); you may ...
[ "rudolf@pobox.com" ]
rudolf@pobox.com
bce6b7949363087074d3daaff106c143744040a5
aa81ba4d6ae20dee412acb24b5ee0eccb502767f
/venv/bin/jwk_create.py
35c37f0a49523cc2709765191324b825386ec5fa
[]
no_license
CarlosGonzalezLuzardo/SECAS
32c3e0b9c176333d2c20b7b3fed3adc9de8c0216
4455de4eb61fb4bddf6cfa8a4ce9e5f9f8e9d812
refs/heads/master
2020-03-14T11:11:33.922067
2018-06-14T10:54:14
2018-06-14T10:54:14
131,585,370
0
2
null
2018-05-08T13:51:43
2018-04-30T11:00:45
Python
UTF-8
Python
false
false
1,300
py
#!/home/alejandro/Proyectos/SECAS/Internals/derimanfranco/py-multifactor/venv/bin/python import json from Cryptodome.PublicKey import RSA import argparse import os from jwkest.jwk import RSAKey __author__ = 'rolandh' def create_and_store_rsa_key_pair(name="pyoidc", path=".", size=1024): key = RSA.generate(size) ...
[ "carlos.gonzalez@edosoft.es" ]
carlos.gonzalez@edosoft.es
1f7e38df13d990b7710695bc820c7e9bb278fe64
a554605ff97c7b688f457a8493d521d2c54101a3
/scripts/ratatosk_run.py
83c4c4149ac0757140b8531bb94696f183e417ec
[ "Apache-2.0" ]
permissive
SciLifeLab/ratatosk
9c0c9b15cc0bf1c515bb5144f38ada3dd02e9610
4e9c9d8dc868b19a7c70eb7b326422c87bc3d7c0
refs/heads/master
2020-12-25T09:57:52.696398
2013-03-25T13:42:36
2013-03-25T13:42:36
8,794,985
0
0
null
2013-03-25T13:43:17
2013-03-15T08:36:17
Python
UTF-8
Python
false
false
850
py
import luigi import os import sys import ratatosk.lib.align.bwa import ratatosk.lib.tools.gatk import ratatosk.lib.tools.samtools import ratatosk.lib.tools.picard from ratatosk.pipeline.haloplex import HaloPlex from ratatosk.pipeline.align import AlignSeqcap from ratatosk.pipeline import config_dict if __name__ == "__...
[ "per.unneberg@scilifelab.se" ]
per.unneberg@scilifelab.se
1fbde5a70e2caec3b5424736dc0badecdc100998
12ec7d731a465e43ad211235882e2939cc5c031d
/bills/views.py
b359ced2a2b590bdfc286341744e1b28bc9da6a3
[]
no_license
munikarmanish/merojob-bill
770101e3c42be46569f26037d5e012065aa94392
882dd2aeafd1030f38d2d679268607b48c6a84aa
refs/heads/master
2021-01-19T05:41:44.926766
2017-01-15T05:27:09
2017-01-15T05:27:09
78,848,703
0
1
null
null
null
null
UTF-8
Python
false
false
1,658
py
from django.contrib.auth.mixins import LoginRequiredMixin from django.urls import reverse_lazy from django.views import generic from clients.models import Client from .forms import BillForm from .models import Bill class CreateView(LoginRequiredMixin, generic.edit.CreateView): template_name = 'bills/bill_form.h...
[ "munikarmanish@gmail.com" ]
munikarmanish@gmail.com
8d4f206ec3a0026c9b1da9c8a234299dde23340e
fb1ea456040a36037c3be87ffdc51dc3d8aaa7bb
/setup.py
3e2e04ec60eb274e3400eb0d1b155cd61204cfe3
[ "MIT" ]
permissive
rpatterson/python-main-wrapper
badfb894afe7980afb261bda9d3ce84af39e8a10
eb549cee920bf144c4021632f7784b7d425b6c40
refs/heads/master
2023-09-05T04:26:53.052777
2021-09-21T18:45:00
2021-09-21T18:45:00
259,238,110
1
0
null
null
null
null
UTF-8
Python
false
false
1,905
py
""" main wrapper foundation or template, distribution/package metadata. """ import setuptools with open("README.rst", "r") as readme: LONG_DESCRIPTION = readme.read() tests_require = ["six", 'contextlib2;python_version<"3"'] setuptools.setup( name="main-wrapper", author="Ross Patterson", author_emai...
[ "me@rpatterson.net" ]
me@rpatterson.net
1e1adf50d4442520f05210a93462a543e4675b11
8ca19f1a31070738b376c0370c4bebf6b7efcb43
/office365/sharepoint/gtp/base_request_options.py
85faaf6e47d578df5eec240a8462c7370a7235db
[ "MIT" ]
permissive
vgrem/Office365-REST-Python-Client
2ef153d737c6ed5445ba1e446aeaec39c4ef4ed3
cbd245d1af8d69e013c469cfc2a9851f51c91417
refs/heads/master
2023-09-02T14:20:40.109462
2023-08-31T19:14:05
2023-08-31T19:14:05
51,305,798
1,006
326
MIT
2023-08-28T05:38:02
2016-02-08T15:24:51
Python
UTF-8
Python
false
false
110
py
from office365.runtime.client_value import ClientValue class BaseGptRequestOptions(ClientValue): """"""
[ "vvgrem@gmail.com" ]
vvgrem@gmail.com
f03ceb97b4ae1e32b9355c096ce23972956537e2
1a166165ab8287d01cbb377a13efdb5eff5dfef0
/sdk/communication/azure-communication-sms/samples/send_sms_to_multiple_recipients_sample.py
6254d388103c13c07088107f6e0a113ee9601b20
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
manoj0806/azure-sdk-for-python
7a14b202ff80f528abd068bf50334e91001a9686
aab999792db1132232b2f297c76800590a901142
refs/heads/master
2023-04-19T16:11:31.984930
2021-04-29T23:19:49
2021-04-29T23:19:49
363,025,016
1
0
MIT
2021-04-30T04:23:35
2021-04-30T04:23:35
null
UTF-8
Python
false
false
2,093
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. # --------------------------------------------------------------------...
[ "noreply@github.com" ]
manoj0806.noreply@github.com
9f3aba0a3fae8aebb7bce9c64a27e7c4c956ea66
480d67d9a3d0dfacc3cf8103450dae1669a52d9e
/setup.py
42aa82870668e6346f68ebd84546f18e48abbd35
[]
no_license
alenzhao/probabilistic2020
3045261e8855b959e50357edd7533ec4af5b5294
f748fad88e50e5229eb765ac59cf731a734e22e2
refs/heads/master
2021-01-12T17:58:40.989527
2016-10-12T19:46:52
2016-10-12T19:46:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,029
py
#from distutils.core import setup from setuptools import setup from distutils.extension import Extension import sys # fix problems with pythons terrible import system import os file_dir = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(file_dir, 'prob2020/cython')) SRC_DIR = 'prob2020' if '-...
[ "collintokheim@gmail.com" ]
collintokheim@gmail.com
99dc3ac93eb4286545895911c78ca1aa95a714b8
b7f8c050ca4ef10b1319afccb276e44cf18a2010
/setup.py
1507a4b936694833ed750ec7d982e98b8d7d4447
[ "Apache-2.0" ]
permissive
dyna-dot/pyglottolog
22496a2109cc2a775a67e78d8331883a0cfdac33
0f24f24a46d1f510c975337e4c0d8c23b357c8bd
refs/heads/master
2020-08-14T20:59:10.473487
2019-09-18T10:15:34
2019-09-18T10:15:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,002
py
from setuptools import setup, find_packages setup( name='pyglottolog', version='2.2.2.dev0', author='Robert Forkel', author_email='forkel@shh.mpg.de', description='python package for glottolog data curation', long_description=open('README.md').read(), long_description_content_type='text/ma...
[ "xrotwang@googlemail.com" ]
xrotwang@googlemail.com
8ad774489dd1562b14923368a5c82d5750bedd7f
9a2fd5e27d3f811cb18763ed388c2d56ae9907b6
/模块/模块位置.py
d578991757412884c3b1d2f838aa6ddc40aa2701
[]
no_license
wzc-ob/PycharmProjects
5297ce60bade883495e5dbdb614131d31c47682e
09f5ad6004dbdc83d456cabd78b769fde13d5357
refs/heads/master
2020-05-05T07:12:38.789400
2019-04-06T10:06:08
2019-04-06T10:06:08
179,817,189
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
# import sys # print(sys.path) # sys.path.append('D:\\PycharmProjects\\模块')#添加Apath为模块查找路径 import sys sys.path.append('D:\\PycharmProjects\\模块') import module_test module_test.m_t_pr() print('使用module_test模块中的变量:',module_test.name)
[ "43775612+wzc-ob@users.noreply.github.com" ]
43775612+wzc-ob@users.noreply.github.com
19b090d3d81b3707480c416cd85aa5daae56416a
a77fcccb2e46f06842daab98f1057209fe506b18
/BackJoonOnline/[BOJ]1543_문서검색.py
1db73e8e2654d5f19a821041568e58ef2a692622
[]
no_license
gan-ta/Algorithm
0c55344a6eb8038c9247485a50bc6324e4ef4c3e
80313278e6e8461891519fd556a65998939bc564
refs/heads/master
2023-05-27T17:03:28.236320
2021-06-14T18:48:35
2021-06-14T18:48:35
257,796,909
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
def calc_dp(n): max_value = 0 for i in range(0, n - len(sub_str) + 1): if max_value < dp[i]: max_value = dp[i] if full_str[n:].startswith(sub_str): dp[n] = max_value + 1 else: dp[n] = max_value if __name__ == '__main__': full_str = input() sub_str = input(...
[ "gilmat@naver.com" ]
gilmat@naver.com
f1874cffe8589d7d7cb20dd323029128249aa73e
71c247dc9bc9fe8c16daec09f337010043ca2943
/questions/migrations/0002_petmodel.py
7b116ee386fe280497d4e5214568220213cb4710
[]
no_license
elcolie/muy
c001c64499c7ecf4a18fd4da5c7263f880a4be2f
7e8fcc83c9d875806f18c2a57f1d8b6351e6be04
refs/heads/master
2020-07-06T03:10:09.449152
2019-12-06T12:24:04
2019-12-06T12:24:04
125,982,634
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
# Generated by Django 2.2.4 on 2019-10-16 07:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('questions', '0001_initial'), ] operations = [ migrations.CreateModel( name='PetModel', fields=[ ('id...
[ "sarit@elcolie.com" ]
sarit@elcolie.com
6a25852b6293b3676b6b0198c0d93d674c6fc44f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02848/s039122387.py
f66ce6cbc8f4c644979fe91d95726caeea7782fa
[]
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
100
py
n=int(input()) s=input() ans="" for i in s: ans+=chr(ord("A")+(ord(i)-ord("A")+n)%26) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
56acdc0c52bd147e4d98d3216d0555fd47d3e5c9
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_084/ch150_2020_04_13_19_48_43_698298.py
dfe80f0c803c05abcffb09810115898aee8b8f15
[]
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
117
py
import math def calcula_pi (n): i=1 p=0 while i<=n: p+=6/(i**2) pi=math.sqrt(p) return pi
[ "you@example.com" ]
you@example.com
18839609dbc881470c5684a1cfaa7e08aa130f9f
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/common/types/text_label.py
0c14a9e62aed19713a0e6374abd7c8229def98dd
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,724
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
bd39e9509d27e59130f875225feec6bf5ec17ecc
d190750d6cb34e9d86ae96724cf4b56a2f57a74a
/tests/r/test_thurstone.py
e349ecc070dc0a55dfa91d013b7380c34c3f5900
[ "Apache-2.0" ]
permissive
ROAD2018/observations
a119f61a48213d791de0620804adb8d21c2ad9fb
2c8b1ac31025938cb17762e540f2f592e302d5de
refs/heads/master
2021-09-24T04:28:02.725245
2018-09-16T23:06:30
2018-09-16T23:06:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
524
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.thurstone import thurstone def test_thurstone(): """Test module thurstone.py by downloading thurstone.csv and testing shape of extracted d...
[ "dustinviettran@gmail.com" ]
dustinviettran@gmail.com
998772f84df860c76d5e093fc8d05cddc95a48cc
5a4c55ad757410611a65999ab7304f701a74f657
/cratonclient/tests/__init__.py
011af390055f25bb0a11fa1d01bb6b1c4a1d239c
[ "Apache-2.0" ]
permissive
opstooling/python-cratonclient
28426596be6dbd76696edb26235ee0d2bbf9ec67
c123f0e35dbc0e99186f2c8ec65864d7834e0edb
refs/heads/master
2021-01-20T20:35:55.003738
2016-07-06T16:18:58
2016-07-06T16:18:58
61,128,908
0
1
null
2016-07-13T17:26:03
2016-06-14T14:19:38
Python
UTF-8
Python
false
false
591
py
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
[ "graffatcolmingov@gmail.com" ]
graffatcolmingov@gmail.com
f4014bf9c030093fdd9e44efc7935f2677b3b1ca
1796043fc26c958b8fc45d9c058e382473c4f3af
/Fabio02_A/f2_a_q22_duracao_jogo.py
dbb6ae9b4c8f2bf3916f579e31f17f48cda61bfd
[]
no_license
Lucakurotaki/ifpi-ads-algoritmos2020
a69adec27dbb10aceab1bc7038a0b56a760f99d1
34d5fedd5825a85404cf9340e42be618981679c1
refs/heads/master
2022-03-22T04:44:14.211359
2022-02-19T18:48:36
2022-02-19T18:48:36
246,585,463
0
0
null
null
null
null
UTF-8
Python
false
false
812
py
def main(): h_inicio = int(input("Digite a hora do início do jogo: ")) m_inicio = int(input("Digite o minuto do início do jogo: ")) h_fim = int(input("Digite a hora do fim do jogo: ")) m_fim = int(input("Digite o minuto do fim do jogo: ")) print(duracao(h_inicio,m_inicio,h_fim,m_fim)) def ...
[ "noreply@github.com" ]
Lucakurotaki.noreply@github.com
20ddfbe36286b792f45620f1976827510cbe3b1c
74549d7c57b4746ac2a9c275aa12bfc577b0e8af
/prob9.py
a921e7c7ee4566f8d4b41372890da77be1ee213e
[]
no_license
abidkhan484/hackerrank_solution
af9dbf6ec1ead920dc18df233f40db0c867720b4
b0a98e4bdfa71a4671999f16ab313cc5c76a1b7a
refs/heads/master
2022-05-02T11:13:29.447127
2022-04-13T03:02:59
2022-04-13T03:02:59
99,207,401
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
def facto(x): if(x<=0): return 1 else: result=1 result = x * facto(x-1) return result user_input = int(input().strip()) print(facto(user_input))
[ "abidkhan484@gmail.com" ]
abidkhan484@gmail.com
1c4a50aa0a877c28978f7261fdd1fcd169ddfdb8
b913242e405a7e8860501df6fd8c41513a32e820
/custom_test.py
599db660a03cf659a909a8601364125523ca3403
[ "MIT" ]
permissive
qiuwei/nicegui
55d34507e3a5dc4e1e0565c5559f81610e5df4ca
aa0c781a80b8e05d8ada0a4cddd670a7ae13fcda
refs/heads/main
2023-09-04T18:29:48.801099
2021-11-25T13:26:36
2021-11-25T13:26:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
324
py
#!/usr/bin/env python3 from nicegui import ui with ui.card(): example = ui.custom_example(on_change=lambda number: label.set_text(f'Custom value: {number}')) ui.button('Add 100', on_click=lambda: example.add(100)) label = ui.label() ui.joystick(on_move=lambda e: print("move", e.data.vector), color='blue', size=...
[ "falko@zauberzeug.com" ]
falko@zauberzeug.com
6bf9e79c5fe871e199d6a500d86789841ddc85db
1d717c797e93b451f7da7c810a0fb4075b1050d5
/src/optimizer/adamw.py
11c4536636c11dfc4bdcbd94a8f3a606d9e9e307
[]
no_license
jessie0624/nlp-task
32338b08051a3ea192db2bf74c9c969bdff1f6ad
aaeeed86341356d9fd061664f6f7bccf2ac353d0
refs/heads/master
2023-01-24T12:06:13.323646
2020-12-10T08:38:23
2020-12-10T08:38:23
292,151,135
0
0
null
null
null
null
UTF-8
Python
false
false
4,386
py
#!/usr/bin/env python # encoding: utf-8 ''' @author: zessay @license: (C) Copyright Sogou. @contact: zessay@sogou-inc.com @file: adamw.py @time: 2019/12/4 17:49 @description: AdamW优化器函数 ''' import torch import math from torch.optim.optimizer import Optimizer class AdamW(Optimizer): """ Implements Adam algorithm wi...
[ "jessie_lijie@126.com" ]
jessie_lijie@126.com
4515b2a2c837a6c1b1154219c1123b96f284b6fc
0216ac17591c6b3d68cb454371ecd3a5564c7af4
/project_2/coupled-cluster/tests/test_matrix_elements.py
2851e2bb3321dbe085273adae5bdd776e8250ba0
[]
no_license
Schoyen/FYS4411
3746a155b4026dbf04009cb4e8960a23201351fe
abb580c3c8bb41a71657f559c27bc6e21e04bf17
refs/heads/master
2021-05-11T06:34:02.909787
2019-06-27T12:49:00
2019-06-27T12:49:00
117,991,933
1
0
null
2018-03-06T20:22:03
2018-01-18T14:16:08
Jupyter Notebook
UTF-8
Python
false
false
1,300
py
import pytest import sparse from coupled_cluster.matrix_elements.index_map import ( get_indices_nm, generate_index_map ) from coupled_cluster.matrix_elements.generate_matrices import ( get_coulomb_elements, get_antisymmetrized_elements, get_one_body_elements_spin ) def test_two_body_generation...
[ "oyvindschoyen@gmail.com" ]
oyvindschoyen@gmail.com
35cef8b4c3957b43e069b2a8df2b8e7caefbb133
e747bac825ed5807f72654030e108b8c8f96b902
/mysite/.history/blog/views_20200716005453.py
df0879463678c569afeeac8f8bd0ce8858bd4344
[]
no_license
AyatSoft/Tech_blog
4415ab7dfb04bc53bddaf16fd4772e8554680ae8
4728c44e0685c3b97038db5e0232e12f35446e23
refs/heads/master
2022-11-15T23:01:52.310968
2020-07-16T08:52:51
2020-07-16T08:52:51
280,103,472
0
0
null
null
null
null
UTF-8
Python
false
false
4,194
py
from .models import Post from django.shortcuts import render, HttpResponsePermanentRedirect from django.contrib.auth.mixins import LoginRequiredMixin from .forms import PostForm, CommentForm, MyRegistrationForm from django.views.generic import TemplateView, ListView, DetailView, CreateView, UpdateView, DeleteView from ...
[ "tanviredu2018@gmail.com" ]
tanviredu2018@gmail.com
b9ff9e359c42c6f56fe741cd5dca07ef4ea2980f
7b12eb45c1ea76ad9c186b858b5dfebf2c5b862a
/.history/DEBER_20210904233156.py
f759b7aca2a0174716d1d345f4abf0c57a897202
[ "MIT" ]
permissive
Alopezm5/PROYECTO-PARTE-1
a1dce04009b24852c1c60e69bdf602ad3af0574b
bd7a8594edf08d41c6ca544cf6bac01ea4fcb684
refs/heads/main
2023-07-25T11:22:17.994770
2021-09-07T03:27:34
2021-09-07T03:27:34
403,670,226
0
0
null
null
null
null
UTF-8
Python
false
false
5,628
py
import os class Empresa(): def __init__(self,nom="",ruc=0,dire="",tele=0,ciud="",tipEmpr=""): self.nombre=nom self.ruc=ruc self.direccion=dire self.telefono=tele self.ciudad=ciud self.tipoEmpresa=tipEmpr def datosEmpresa(self):#3 self.nombre=input("Ingres...
[ "85761855+Alopezm5@users.noreply.github.com" ]
85761855+Alopezm5@users.noreply.github.com
d301a9b536d8c15fbe982044f5825fcb03af8bef
045cb1a5638c3575296f83471758dc09a8065725
/addons/account/tests/test_bank_statement_reconciliation.py
dbc8598d569ec2a6d0d936c8488e90da9fc8d820
[]
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
5,056
py
from harpiya.addons.account.tests.account_test_classes import AccountingTestCase from harpiya.tests import tagged @tagged('post_install', '-at_install') class TestBankStatementReconciliation(AccountingTestCase): def setUp(self): super(TestBankStatementReconciliation, self).setUp() self.bs_model =...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
640112112dfc01efccf5c8bd286908af5a23e0ef
1cb0cc435061b6a0156b37813343ae46b1f7346e
/1_learn_step/try_second/normal-Adamax-128.py
bec42472cced5d42858f0b3fb5265b09bacb02eb
[]
no_license
youthliuxi/keras
6370a9de11e152d8ba96e68e9ff02337203b7e66
60a367442f74313d0bd9af01f76068d56e23bec0
refs/heads/master
2020-04-30T19:54:16.628943
2019-08-21T09:47:13
2019-08-21T09:47:13
177,051,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,664
py
# -*- coding:utf-8 -*- from keras import backend as K K.set_image_dim_ordering('th') import numpy as np np.random.seed(123) from keras.layers import * from keras.models import Sequential from keras.utils import np_utils from keras.datasets import mnist # (X_train, y_train), (X_test, y_test) = mnist.load_data() path = "...
[ "lx_einstein@sina.com" ]
lx_einstein@sina.com
e660605572d83e89f80cee2e458890e18cd8664f
3c8701e04900389adb40a46daedb5205d479016c
/liaoxuefeng/05-面像对象编程/02-访问限制.py
fbe708c3a95ee8d4a9d9763f74054445db652382
[]
no_license
huboa/xuexi
681300653b834eaf506f49987dcca83df48e8db7
91287721f188b5e24fbb4ccd63b60a80ed7b9426
refs/heads/master
2020-07-29T16:39:12.770272
2018-09-02T05:39:45
2018-09-02T05:39:45
73,660,825
1
0
null
null
null
null
UTF-8
Python
false
false
868
py
class Student(object): def __init__(self, name, score): self.__name = name ###name 加上横线就变成了private 私有变量,只有内部可以访问,外部不能访问 self.__score = score def print_score(self): print('%s: %s' % (self.__name, self.__score)) def get_name(self): ###提供了新的方法供外部读取 return self.__...
[ "wxcr11@gmail.com" ]
wxcr11@gmail.com
a9207f2677a6c9f2a7e3870aea79ca983eafc2a6
c22e1fe34211a62dd453946c226db06aab620368
/mms/urls.py
626838f8a01c482ca8afa51792694e9c72897a23
[]
no_license
Mehedi-Bin-Hafiz/Hostel-management-
a45402fe591bb44e44a5a140c9aa8b0aa9fa5592
01cc0c0cb64c9cce444da8e1d4b664fa97cbf8de
refs/heads/master
2022-03-04T02:16:56.893873
2019-10-05T11:58:49
2019-10-05T11:58:49
212,954,634
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
"""mms URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/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 vie...
[ "mehedibinhafiz@gmail.com" ]
mehedibinhafiz@gmail.com
652ee2326545c6f21803481114ec18c1a4f0726f
7bb4954f798d295055607e1563269c2aeb10aca9
/src/sample/tensorflow/list2/list2_1.py
ff895de22b34888156f367d15f226029f900a3e0
[ "MIT" ]
permissive
mryyomutga/PDIII
081aca58eb4159e3543e4e59cf1d8a4b8f84dbd1
2dc14e741349845bfe528c1dd06c434cf4414941
refs/heads/master
2020-03-08T17:56:51.845215
2019-02-15T01:16:53
2019-02-15T01:16:53
128,282,342
1
0
null
2018-12-22T15:11:29
2018-04-06T01:09:33
Python
UTF-8
Python
false
false
369
py
import tensorflow as tf # constantは定数定義のAPI # 単一の数字のテンソル t1 = tf.constant(1, name="Rank0") # 配列のテンソル t2 = tf.constant([1, 2], name="Rank1") # 多次元配列のテンソル t3 = tf.constant([[1, 2], [3, 4]], name="Rank2") with tf.Session() as sess: print(sess.run(t1)) print(sess.run(t2)) print(sess.run(t3))
[ "mryyomutga@gmail.com" ]
mryyomutga@gmail.com
e2128c22737b078fb1161b9444fac63737b41c3a
072077377f8c3181923ba84dc7b11e0a6d5afc2b
/vendors/okta/models/log_user_agent.py
c62996bcde78021e701321b423c904014c303a36
[]
no_license
rafaelfoster/sophoscentral_okta_integration
c2a3ac472df6f2ac03770689f3c5213794f1e48e
d6170b700164ece51a831c27aee55bd498b94001
refs/heads/master
2023-02-15T11:30:40.195653
2021-01-07T21:32:35
2021-01-07T21:32:35
325,614,550
0
0
null
null
null
null
UTF-8
Python
false
false
1,657
py
# flake8: noqa """ Copyright 2020 - Present Okta, 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 agr...
[ "rafaelgfoster@gmail.com" ]
rafaelgfoster@gmail.com
8e495ea7490a463b054e66a65292e96eb033f824
074acb4439a97b76ea300b2c07d6a2457b04849f
/zombie/compat.py
4cfeccdfa331e0ab2937545e840daf0fd2c336fe
[ "MIT" ]
permissive
graffic/python-zombie
6d79ffb643034c27e84c18b697849d45eb901a06
7bfea60b3946d6b20dcc4f70896ffcfd4c55ac1f
refs/heads/master
2021-01-20T21:57:11.314505
2013-08-04T15:12:01
2013-08-04T15:12:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
296
py
import sys # True if we are running on Python 3. PY3 = sys.version_info[0] == 3 if PY3: # pragma: nocover from io import BytesIO as StringIO from urllib.parse import urlparse else: # pragma: nocover from urlparse import urlparse # noqa from cStringIO import StringIO # noqa
[ "lists@ryanpetrello.com" ]
lists@ryanpetrello.com
267d7138ff4d9a19338307ad8f5304c7ad922e09
6d824eae55583dfabc130bbafb797e860914f10c
/.svn/pristine/12/12024d5e4dc490f0630c466d0c7c4d43fb47495e.svn-base
b95c9c1b6f602aedd6d36d3ad5b8c1d049dd93f2
[]
no_license
sproutsbean/o2o
d97fd4840f983e4ff22746aaaeb1068f4c086755
2e2dbc35d756f5eda4232f0a737dcb3c074954e7
refs/heads/master
2021-05-05T19:23:20.733118
2018-01-17T03:30:25
2018-01-17T03:30:25
117,774,569
0
0
null
null
null
null
UTF-8
Python
false
false
25,754
#!usr/bin/env python # -*- coding:utf-8 -*- """ @author:user @file: test_zhongduan_gongxiang.py @time: 2017/12/11 """ import unittest from com.ea.common.cardname import cardname from com.ea.common.cardnumber import IdCardNumber from com.ea.common import login from com.ea.resource import globalparameter as gl from...
[ "lijie" ]
lijie
d54d706d83747cf914fb4c1c78c528103f7b8930
6b8681327ca166cf0f04891fa78f124e27ab85d7
/tb/axi_crossbar/test_axi_crossbar.py
e647a5c2ca6fea817fe347b85cabc41702775f4f
[ "MIT" ]
permissive
jerry-jho/verilog-axi
d95657e8b8443f8d58032cb642c897fb7efa4e3a
fbb507be8218fd61a58e364de6c8f73dda0709d7
refs/heads/master
2021-12-14T12:37:17.797360
2021-11-15T22:31:28
2021-11-15T22:31:28
237,615,694
0
0
MIT
2020-02-01T13:01:29
2020-02-01T13:01:28
null
UTF-8
Python
false
false
10,404
py
""" Copyright (c) 2020 Alex Forencich 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 restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute...
[ "alex@alexforencich.com" ]
alex@alexforencich.com