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
d30dbf66d2ea698ca1fcdeb2b0d7bce0a0234ec5
35fd40fbc4cfa46272c4031b9ca0cb88572e3fa4
/xmonitor/tests/unit/common/test_exception.py
5214f2648e9cba4e36d3acf5011a66b2450dd765
[ "Apache-2.0" ]
permissive
froyobin/xmonitor
3d662541387226a4ff1c18ef450fdc77a769d0b8
092dcaa01f834353ffd8dd3c40edf9e97543bfe8
refs/heads/master
2020-12-23T22:33:15.758127
2016-06-30T06:18:05
2016-06-30T06:18:05
62,284,213
0
0
null
null
null
null
UTF-8
Python
false
false
1,996
py
# Copyright 2012 OpenStack Foundation # 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 requ...
[ "froyo.bin@gmail.com" ]
froyo.bin@gmail.com
e48ca799c46f9e78eece1ef95ecde64a1cb9b16f
45870a80cbe343efe95eb9e8d0bd47c8c88353d1
/特殊的函数/venv/Lib/site-packages/tensorflow/python/estimator/canned/linear.py
2e7adad3f74f202de58acc499f70a28686fa6960
[]
no_license
pippichi/IntelliJ_PYTHON
3af7fbb2c8a3c2ff4c44e66736bbfb7aed51fe88
0bc6ded6fb5b5d9450920e4ed5e90a2b82eae7ca
refs/heads/master
2021-07-10T09:53:01.264372
2020-07-09T13:19:41
2020-07-09T13:19:41
159,319,825
0
0
null
null
null
null
UTF-8
Python
false
false
17,515
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...
[ "874496049@qq.com" ]
874496049@qq.com
55ba82e8df23f22fd6f621e5c72c51ddb2cc046d
5acc6332dc32c1b0ce5a570b94e018e0b4bcae38
/ABC079/a.py
42bf5fadd2d18f7a9e2d2a09e034663cb6b62129
[]
no_license
mongopa/competition
112ab25468a0210dcb71ef15fac46a4ada15c658
e4a272c4d27df9dc0a641da5da232aa7c3107079
refs/heads/master
2020-04-28T11:08:22.319248
2019-11-18T14:53:45
2019-11-18T14:53:45
175,225,918
0
0
null
null
null
null
UTF-8
Python
false
false
95
py
n = input() if n[0] == n[1] == n[2] or n[1] == n[2] == n[3]: print('Yes') else: print('No')
[ "mongopa88@gmail.com" ]
mongopa88@gmail.com
e9177837fbba1fc656eeaae51020c023600e0103
5ae3bc1920fafc33693cdfa3928a48158aa6f725
/778/778-bs.py
b44dc8ee6345f1a3fd0f6dde159e15fe0ab5a5bb
[]
no_license
sjzyjc/leetcode
2d0764aec6681d567bffd8ff9a8cc482c44336c2
5e09a5d36ac55d782628a888ad57d48e234b61ac
refs/heads/master
2021-04-03T08:26:38.232218
2019-08-15T21:54:59
2019-08-15T21:54:59
124,685,278
0
0
null
null
null
null
UTF-8
Python
false
false
1,295
py
class Solution: def swimInWater(self, grid): """ :type grid: List[List[int]] :rtype: int """ if not grid or not grid[0]: return 0 values = [] for col in grid: for val in col: values.append(val) ...
[ "jcyang@MacBook-Air.local" ]
jcyang@MacBook-Air.local
f1c213ecdb03f4f37c38a90fe01074fb8c69b05b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_doormen.py
d7e0af99d960fa1b5034dc5060f5d38b8f224293
[ "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
224
py
#calss header class _DOORMEN(): def __init__(self,): self.name = "DOORMEN" self.definitions = doorman self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['doorman']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
b4bc1623d4575aa701a0fe6c7787971dbc6f46a7
7113651d18cc80e0f05682aef5302fb7a3e816c5
/examples/prompts/finalterm-shell-integration.py
1b55a09baa51a1d1a9af925740141a501d0cae14
[ "BSD-3-Clause" ]
permissive
vsajip/python-prompt-toolkit
74bbcd4d313e553bf7ebd1ba5c2da4a8c2843715
3dd592367e5d0605dbf639f9d4ee944be8abae54
refs/heads/master
2020-08-27T05:49:25.509206
2019-10-20T13:51:01
2019-10-20T13:51:01
217,261,240
1
0
BSD-3-Clause
2019-10-24T09:25:40
2019-10-24T09:25:40
null
UTF-8
Python
false
false
1,312
py
#!/usr/bin/env python """ Mark the start and end of the prompt with Final term (iterm2) escape sequences. See: https://iterm2.com/finalterm.html """ import sys from prompt_toolkit import prompt from prompt_toolkit.formatted_text import ANSI BEFORE_PROMPT = '\033]133;A\a' AFTER_PROMPT = '\033]133;B\a' BEFORE_OUTPUT = ...
[ "jonathan@slenders.be" ]
jonathan@slenders.be
89aa92c5ddfeb9116cdf9df14df8bad9d5cdd726
ff23900a911e099595c392a7efab1d268b4f5f7d
/python_modules/dagster/dagster/_core/definitions/source_asset.py
52fe0af682135863a99b814b174327aaaf255b61
[ "Apache-2.0" ]
permissive
zkan/dagster
bbf2da091bdc7fca028c569db72b9c68ddf55e98
b2b19edb71fc8985f505b116927350dd23b4a7d9
refs/heads/master
2022-08-24T03:20:12.583577
2022-08-16T00:01:23
2022-08-16T00:01:23
244,012,061
0
0
Apache-2.0
2020-02-29T17:33:24
2020-02-29T17:33:24
null
UTF-8
Python
false
false
8,743
py
from typing import Dict, Iterator, Mapping, NamedTuple, Optional, Sequence, Union, cast import dagster._check as check from dagster._annotations import PublicAttr, public from dagster._core.definitions.events import AssetKey, CoercibleToAssetKey from dagster._core.definitions.metadata import ( MetadataEntry, M...
[ "noreply@github.com" ]
zkan.noreply@github.com
d11ed5f551004c213136b8bb175c9e4e21473d60
e0378adb07d3a051b65420e98ed8d141aabcbf18
/Assignment 10/sql_repository/sql_activity_repository.py
35e447bcaadbb73c6398a6522c9ad558caaf7931
[]
no_license
BVlad917/Fundamentals-of-Programming
bc36c961be8d7144dd57aaf97b7419db551bd291
afd98cd572d456b2dda40c41882c1f2eb8f139f5
refs/heads/main
2023-08-06T17:02:26.966825
2021-09-20T19:56:11
2021-09-20T19:56:11
408,119,112
0
0
null
null
null
null
UTF-8
Python
false
false
5,073
py
import sqlite3 from domain.activity import Activity from domain.validators import DateTimeValidator # from repository.in_memory_repo import Repository from repository.custom_repo import Repository from repository.repository_exceptions import RepositoryException class SqlActivityRepository(Repository): ...
[ "noreply@github.com" ]
BVlad917.noreply@github.com
fd5026d944e3df0522f92c6024ecf94c5882a884
59e53b3330707185a2129893e6ea4dc153c7bbbd
/test/__init__.py
8ea24f68357371f366c5ac7f9812cd72d6b56aa3
[ "BSD-3-Clause" ]
permissive
JukeboxPipeline/jukedj
f545193982159c0d6280aa3f280761cc9ff72e91
d4159961c819c26792a278981ee68106ee15f3f3
refs/heads/master
2016-09-06T05:07:49.662652
2015-04-07T10:44:01
2015-04-07T10:44:01
24,757,644
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
import os os.environ['JUKEBOX_TESTING'] = 'True'
[ "zuber.david@gmx.de" ]
zuber.david@gmx.de
1333a8d83f2098e25a93e2ba136aff512e859365
6e38f14064df41c211cbc0b388187ee9ae2c4604
/django_china/apps/coolsites/forms.py
ab8000cac7a016ff3af47431bbd5b3dbf0455972
[]
no_license
wwq0327/django-china
cefdbac7ed592909e956ce6abc67ea1072799a2a
0404cebe377711c2f903097c01d8b979dfc4cdd3
refs/heads/master
2021-01-25T05:23:03.206856
2012-04-29T10:27:36
2012-04-29T10:27:36
3,385,382
6
4
null
null
null
null
UTF-8
Python
false
false
966
py
from django import forms from django.contrib.auth.models import User from coolsites.models import SiteCategory, CoolSites class SiteCategoryForm(forms.ModelForm): class Meta: model = SiteCategory def save(self, user): model, created = SiteCategory.objects.get_or_create( name = sel...
[ "wwq0327@gmail.com" ]
wwq0327@gmail.com
e0486c0e3d9b7ec51a0b04a25434f25ee70980fe
a26571600f80e037c110336752f2211272480af7
/vis_tools/vis_boxes.py
d8bc2ca5bca6b82d104a69935847c0999f7ee7be
[]
no_license
longzee/object_detetction_tools
45bd2d315310b709735aedce0b663f20fbaffcae
67cddf0fad1a1a143d75a6981709f6834cfffbf5
refs/heads/master
2020-05-17T07:28:40.861141
2019-05-15T08:58:50
2019-05-15T08:58:50
183,582,054
0
0
null
2019-04-26T07:41:56
2019-04-26T07:41:55
null
UTF-8
Python
false
false
1,590
py
import cv2 import numpy as np import os import glob __extensions__ = ['jpg', 'png'] def read_label_file(label_file): boxes = open(label_file, 'r').readlines() rects = [] for box in boxes: box = box.split(',') print(box) x1, x2 = float(box[1]), float(box[3]) y1, y2 = float(box...
[ "wubingzheagent@gmail.com" ]
wubingzheagent@gmail.com
eb089572ad6be329ad53d8dacd0054c36cb59dd9
f558d369d140e059716b153fdbfcde8677f65bd4
/ml/linear_regression_polynomial.py
d69e99ed3ec5d021f4d3713e283f661580374c75
[]
no_license
KqSMea8/public-data
c8c8dc6d113972998fa39093ce425a329e63b11f
99d6260efc10e57a701fc2faaa3ba9ff2f3c7f14
refs/heads/master
2020-04-10T17:06:46.651427
2018-12-10T11:33:45
2018-12-10T11:33:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,422
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 线性回归 简单参数 y=ax**2+bx+c ? 参考: """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import matplotlib.pyplot as plt def generate_dataset(): """生成训练数据 y=ax+b""" # numpy.linspace(sta...
[ "gaotianpu@gmail.com" ]
gaotianpu@gmail.com
d3e815aa9536395f53c297299da49eb382024d91
db304e61ad16cf9a5825246bd7712b7fbd78fd64
/application/__init__.py
2a0dfac8cc2032f491bdc755f6c3acd8a4d65a35
[]
no_license
pseeth/interface-template
7bdb7b81cfbf3e3cc24cceabafa2d57c71554f48
baca3c71a4cc286b413456a332937adbfa879e56
refs/heads/master
2021-01-10T04:45:42.038870
2015-11-04T05:57:37
2015-11-04T05:57:37
45,518,024
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
""" Here's how the app gets run. It creates an Flask app, pulls boilerplate settings, and imports views, which contains all the path handlers and functions for the app. """ from flask import Flask import os app = Flask('application') if os.getenv('FLASK_CONF') == 'DEV': app.config.from_object('application.settings.D...
[ "prem@u.northwestern.edu" ]
prem@u.northwestern.edu
613e9cc26ef059223ca0c01cbb29c4207221fb59
437e905d8c214dc25c559b1dc03eaf9f0c85326f
/is28/lobanov28/zadanie1/n16.py
8b814802dd002b53c5b23b99c42ff718acd37a24
[]
no_license
AnatolyDomrachev/karantin
542ca22c275e39ef3491b1c0d9838e922423b5a9
0d9f60207e80305eb713fd43774e911fdbb9fbad
refs/heads/master
2021-03-29T03:42:43.954727
2020-05-27T13:24:36
2020-05-27T13:24:36
247,916,390
0
1
null
null
null
null
UTF-8
Python
false
false
279
py
n = int(input("введите число n ")) a = False for i in range(2,n): for j in range(2, int((i/2)+1)): if(i % j !=0): a = True else: a = False break if(a == True): print(i)
[ "you@example.com" ]
you@example.com
876d61b96b5785d3333c58110ed8db37687c2540
de361b65f296125f5470fe6cb001a3ce09f7e9cd
/python_net/day05/get_pid.py
e3620b53cd580df1ce6e200709a9a91fc3539ec6
[]
no_license
18502992073/tarena
f35e3df7f73fc47b276f252b42a42df8f0413b16
ff4ed2c26632694376b06d85b96e78fea77b9bbc
refs/heads/master
2020-05-29T14:56:15.102181
2019-06-11T01:02:44
2019-06-11T01:02:44
189,207,016
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
import os from time import sleep pid = os.fork() if pid < 0: print("error") elif pid == 0: sleep(0.5) print("child pid", os.getpid()) print("get parent pid", os.getppid()) else: print("parent pid", os.getpid()) print("get child pid", pid)
[ "lvze@tedu.cn" ]
lvze@tedu.cn
7305682f5ef98373b3b576f48683100c8ffdc3dd
66b96cbf26682eb51e6893a45d773481c5118b67
/alidns-20150109/python/alibabacloud_alidns20150109/client.py
1c0b19e09fb88c787021042b4ffcbd76faad1ad0
[ "Apache-2.0" ]
permissive
atptro/alibabacloud-sdk
4c104535fe77b94a4d5536028874f492d86aa794
65d4a000e4f4059b58ca1bc3d032853aedef4f3f
refs/heads/master
2022-10-17T21:45:07.475716
2020-06-18T07:37:05
2020-06-18T07:37:05
273,171,083
0
0
NOASSERTION
2020-06-18T07:29:22
2020-06-18T07:29:21
null
UTF-8
Python
false
false
45,591
py
# This file is auto-generated, don't edit it. Thanks. from alibabacloud_tea_rpc.client import Client as RPCClient from alibabacloud_alidns20150109 import models as alidns_20150109_models from alibabacloud_tea_util import models as util_models from alibabacloud_tea_util.client import Client as UtilClient from alibabaclo...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
233198010b8cc93e8ed4e46fe9b3a3cd65381a9a
10b74a5b6e678e51853611645f7898d2d28eccf8
/player113.py
c8e8a5a631271c993c004b168f7d955ace9901c2
[]
no_license
tigervanilla/Guvi
a31ce1838707c71976a23fd5b25f5ebd9e0656ef
f9363f46f23d8a9b17a14f3d83322f59944a444b
refs/heads/master
2020-04-01T02:44:43.767502
2019-04-18T04:58:40
2019-04-18T04:58:40
152,793,355
2
0
null
null
null
null
UTF-8
Python
false
false
131
py
import re s=input() try: re.match(r'^[0-9]{2}/[0-9]{2}/[0-9]{4}$',s).group() print('yes') except Exception: print('no')
[ "piyushcool102@gmail.com" ]
piyushcool102@gmail.com
0db913c073fcbd2c807bd07ba17449faaf81f070
4b8d35ace73a16d3b66a0cfd1400edd66c505b22
/python_oop/asgi.py
6c50fd8c348f980834ca593f498e8a9b690d8f90
[]
no_license
Enforcer/django-refactor
137e7b61cbca6dab51f52a4c7d2db185a5d891dd
37b883bc68527162ce07d772a1934608e81d1bf7
refs/heads/master
2023-03-05T17:05:19.047835
2021-02-16T15:38:10
2021-02-16T15:38:10
339,432,705
6
1
null
null
null
null
UTF-8
Python
false
false
397
py
""" ASGI config for python_oop project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SE...
[ "nnplaya@gmail.com" ]
nnplaya@gmail.com
a5a3c783e8c490e7a9ae3b6bb2e5520177f4cd13
32eeb97dff5b1bf18cf5be2926b70bb322e5c1bd
/benchmark/wikipedia/testcase/interestallcases/testcase6_004_3.py
7bf7d4ce51c69c6852f8b9aa00b16d74df05dae2
[]
no_license
Prefest2018/Prefest
c374d0441d714fb90fca40226fe2875b41cf37fc
ac236987512889e822ea6686c5d2e5b66b295648
refs/heads/master
2021-12-09T19:36:24.554864
2021-12-06T12:46:14
2021-12-06T12:46:14
173,225,161
5
0
null
null
null
null
UTF-8
Python
false
false
6,838
py
#coding=utf-8 import os import subprocess import time import traceback from appium import webdriver from appium.webdriver.common.touch_action import TouchAction from selenium.common.exceptions import NoSuchElementException, WebDriverException desired_caps = { 'platformName' : 'Android', 'deviceName' : 'Android Emulat...
[ "prefest2018@gmail.com" ]
prefest2018@gmail.com
7c81aa6c0d422efd4853ac02c720be6d5a186d9a
31ad733cf90baf904b549165888935ee194051e9
/tests/app/guild_helper_bot/test_commands.py
4444129f83fa16c7fdfb2763af91d8920b7de95c
[ "MIT" ]
permissive
ricardochaves/chat-wars-database
3335dc838887f32353a518f9ccf387c4ec40bfa4
597f192fb6ddf290c6c7477cf8c7d0ca654925f6
refs/heads/master
2020-12-01T20:58:13.049344
2020-09-09T23:55:32
2020-09-09T23:55:32
230,767,993
1
0
MIT
2020-01-02T23:02:38
2019-12-29T15:22:08
Python
UTF-8
Python
false
false
11,632
py
from datetime import datetime from django.test import TestCase from chat_wars_database.app.guild_helper_bot.business.commands import command_alliance_info from chat_wars_database.app.guild_helper_bot.commands import _execute_found_hidden_location_or_headquarter from chat_wars_database.app.guild_helper_bot.commands im...
[ "ricardobchaves6@gmail.com" ]
ricardobchaves6@gmail.com
01c579195e73564342e8b29d1e38ada6743cf6ef
a7f855efff14e0b15cffb3f035d8dc9f7f102afe
/mfb/binWin/2.69/python/lib/numpy/polynomial/tests/test_hermite_e.py
e4feb44ca63765d7e21d9123ff05d42487d1da77
[]
no_license
BlenderCN-Org/FlipbookApp
76fcd92644c4e18dd90885eeb49e5aecae28f6f0
0df2acebf76b40105812d2e3af8f0ef4784ab74c
refs/heads/master
2020-05-27T14:33:25.330291
2014-07-10T17:47:29
2014-07-10T17:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,563
py
"""Tests for hermite_e module. """ import numpy as np import numpy.polynomial.hermite_e as herme from numpy.polynomial.polynomial import polyval from numpy.testing import * He0 = np.array([ 1 ]) He1 = np.array([ 0 , 1 ]) He2 = np.array([ -1 ,0 , 1 ]) He3 = np.array([ 0 , -3 ,0 , 1 ]) He4 = np.array([ ...
[ "mike.c.pan@gmail.com" ]
mike.c.pan@gmail.com
462b01b0e02c704ea1481e257c89248f6786ff52
a689a72d3699883d7b58bd4ee3103373270bd0d5
/2019/1909/190914/BJ2549.py
d5022b3b655b5fcacca6cac4af9691c7d37d9c86
[]
no_license
Oizys18/Algo
4670748c850dc9472b6cfb9f828a3ccad9c18981
45caafe22a8a8c9134e4ff3b227f5f0be94eefe7
refs/heads/master
2022-05-11T08:35:06.812539
2022-05-07T01:30:41
2022-05-07T01:30:41
202,690,024
4
1
null
null
null
null
UTF-8
Python
false
false
3,361
py
# BJ2549 루빅의 사각형 import sys from pprint import pprint sys.stdin = open('input.txt','r') cnt = 0 # 오른쪽으로 움직이는 함수, x 행을 n번 움직인다. def moveR(x, n): global cnt tempX = mat[x] cnt += n for i in range(4): tempX[i] = mat[x][x+n % 4] if x + n < 4: tempX[i] = mat[x][x+n] eli...
[ "oizys18@gmail.com" ]
oizys18@gmail.com
ff6151264a9000d29b41f9a80b4a53de58045bee
78d35bb7876a3460d4398e1cb3554b06e36c720a
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_05_01/aio/operations/_load_balancer_probes_operations.py
b48176b8488510b284b6f243d0c8ceb71c4027fb
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
catchsrinivas/azure-sdk-for-python
e35f59b60318a31b3c940a7a3a07b61b28118aa5
596227a7738a5342274486e30489239d539b11d1
refs/heads/main
2023-08-27T09:08:07.986249
2021-11-11T11:13:35
2021-11-11T11:13:35
427,045,896
0
0
MIT
2021-11-11T15:14:31
2021-11-11T15:14:31
null
UTF-8
Python
false
false
8,483
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
catchsrinivas.noreply@github.com
225b5ceb62f164b42a90f64e107beaab05f9ec80
a5747577f1f4b38823f138ec0fbb34a0380cd673
/18/mc/ExoDiBosonResonances/EDBRTreeMaker/test/crab3_analysisQCD_HT50to100.py
4c1979d1ef96bc41836fa080bc927fc75bce73f7
[]
no_license
xdlyu/fullRunII_ntuple
346fc1da4cec9da4c404aa1ec0bfdaece6df1526
aa00ca4ce15ae050c3096d7af779de44fc59141e
refs/heads/master
2020-08-03T07:52:29.544528
2020-01-22T14:18:12
2020-01-22T14:18:12
211,673,739
0
3
null
null
null
null
UTF-8
Python
false
false
2,206
py
from WMCore.Configuration import Configuration config = Configuration() config.section_("General") config.General.requestName = 'QCD_HT50to100' config.General.transferLogs = True config.section_("JobType") config.JobType.pluginName = 'Analysis' config.JobType.inputFiles = ['Autumn18_V8_MC_L1FastJet_AK4PFchs.txt','A...
[ "XXX@cern.ch" ]
XXX@cern.ch
bf5b7bf3ea6a12a3a8e4eb16b343f6a9553d4528
747f759311d404af31c0f80029e88098193f6269
/addons/purchase_discount/__terp__.py
11ec0a68ec8ab5947dffa4810af0b475273a79d9
[]
no_license
sgeerish/sirr_production
9b0d0f7804a928c0c582ddb4ccb7fcc084469a18
1081f3a5ff8864a31b2dcd89406fac076a908e78
refs/heads/master
2020-05-19T07:21:37.047958
2013-09-15T13:03:36
2013-09-15T13:03:36
9,648,444
0
1
null
null
null
null
UTF-8
Python
false
false
67
py
/home/openerp/production/extra-addons/purchase_discount/__terp__.py
[ "geerish@omerp.net" ]
geerish@omerp.net
82a9f564ba8db69ece031ee1ff251a63cba32084
7efd687ae84f7680e7af7f103f2756a814f48194
/面向对象模块学习/cash.py
26466991e9f7070719701080bd237efc3272bcfa
[ "Apache-2.0" ]
permissive
xiaoyongaa/ALL
1746e43c241cdb58f2f2e39ed49f0aa9ba57f099
76acb00db7d3a7126efea74750a33ec0c5ea0a62
refs/heads/master
2021-01-11T03:05:33.405232
2016-12-21T07:15:34
2016-12-21T07:15:34
71,097,431
2
2
null
null
null
null
UTF-8
Python
false
false
158
py
class c1: def f1(self): print("f1") class c2(c1): def f1(self): super(c2,self).f1() print("f2") obj2=c2() print(obj2.f1())
[ "845219159@qq.com" ]
845219159@qq.com
16500efd7384a3e85973a41de6b3c3bb8aeab278
7461f0f3e6d79d4a9b3a480edd8596cfcfe395ca
/requests_cancel_confirm/__manifest__.py
c520172e938b0109f375a1e2b2dadf6c1214feb8
[]
no_license
ecosoft-odoo/requests
c6b2d9939197bbab776db49aabb75ce52ff32746
760d07431eef3373f1eab047480a785dadb5f5b1
refs/heads/14.0
2023-07-01T01:25:35.217172
2021-07-21T02:46:01
2021-07-21T02:46:01
332,989,933
2
1
null
2021-07-23T02:37:23
2021-01-26T06:13:53
Python
UTF-8
Python
false
false
497
py
# Copyright 2021 Ecosoft Co., Ltd. (http://ecosoft.co.th) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Requests Cancel Confirm", "version": "14.0.1.0.0", "author": "Ecosoft,Odoo Community Association (OCA)", "category": "Usability", "license": "AGPL-3", "websi...
[ "kittiu@gmail.com" ]
kittiu@gmail.com
819f9208026397d21d68459297f94c1f388e6f3b
34a2cc04894db9699a49e166f7e64150e91ff0cf
/week5_exercises/prime_numbers.py
2492940c8a78bc18cd6672200adffff731be5cf8
[]
no_license
amymhaddad/cs_and_programming_using_python
6e39d2ba6a54f802c5b6269f64d8ebb81d9501c9
4ed0faa42b821d373f3b5ba82f3ec53ad294010d
refs/heads/master
2020-04-21T09:45:17.174989
2019-04-15T11:51:47
2019-04-16T21:11:43
169,461,593
0
0
null
2019-04-16T21:13:28
2019-02-06T19:12:56
Python
UTF-8
Python
false
false
556
py
def genPrimes(): x = 1 total_factors = [] prime_numbers = [] while True : for number in range(1, x + 1): if x % number == 0: total_factors.append(number) if len(total_factors) == 2: prime_numbers.append(x) ...
[ "amy.m.haddad@gmail.com" ]
amy.m.haddad@gmail.com
3ac6c303050476669d70656bf290aa0b5856ffd0
c599cc86ab19005fb84214ba94d8d4fb260d970b
/sdt/bin/sdusrcon.py
a4531142926e589c4349b7dc19aeb132cb17d744
[ "DOC" ]
permissive
ncarenton/synda
34251e35e03e91ebe06729b5e57a019efb9555dd
aa8c88ea1c5afc72e3d94bc58abde02aede73d81
refs/heads/master
2020-12-11T02:13:27.918718
2015-06-10T12:13:33
2015-06-10T12:13:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,341
py
#!/usr/bin/env python # -*- coding: ISO-8859-1 -*- ################################## # @program synda # @description climate models data transfer program # @copyright Copyright “(c)2009 Centre National de la Recherche Scientifique CNRS. # All Rights Reserved” # @license...
[ "jerome@TOSH001.home" ]
jerome@TOSH001.home
ff6ca6417adf67fbb530ae2d64ace26dc0e276b2
5e9c6f9e03b53496660817b33943860cbc36ecee
/ORGword_frequency.py
8ddae5a49fb044b40e74f0582615b32fe8064711
[]
no_license
momentum-morehouse/python-word-frequency-NicholeMatters
c489fe745a73a74191cc5d3eb6d89121afff4fa2
f7aa81ff3f6bb345332511f968a5b0169de71253
refs/heads/master
2022-11-24T00:20:19.633066
2020-06-26T02:44:02
2020-06-26T02:44:02
274,750,789
0
0
null
2020-06-24T19:18:48
2020-06-24T19:18:42
Python
UTF-8
Python
false
false
2,624
py
STOP_WORDS = [ 'a', 'an', 'and', 'are', 'as', 'at', 'be', 'by', 'for', 'from', 'has', 'he', 'i', 'in', 'is', 'it', 'its', 'of', 'on', 'that', 'the', 'to', 'were', 'will', 'with' ] # def flatten_lol(lol): # flat_list = [] # for sublist in lol: # for item in sublist: # flat_list.append(item) #...
[ "replituser@example.com" ]
replituser@example.com
1b007454cbb9ddb50413470bd3160f785c12ead5
0e6228c8d2c25df73fc95c6d1738be7012dfb084
/getl/blocks/load/entrypoint.py
4ba2f4ca839ccd67ae66f287f359f47fe2b655c9
[ "MIT" ]
permissive
sgazar/GETL
89989b2a582927db3e3905a5cab9245f6406c949
65f8c0b4fb74721907469e21bddcbdc9240dbbc6
refs/heads/master
2022-08-30T05:31:36.545365
2020-05-28T06:24:04
2020-05-28T06:24:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
"""This is an example file""" def load_json(): """This will load json""" pass
[ "draso.odin@gmail.com" ]
draso.odin@gmail.com
be9e38f3394f3264b2e29a38cbfd228b948f8006
a8eb3ee2225bea109985ed463b146ef887e8822e
/experiment/055_simpole_lgb.py
ccc7b8b7d59ce2dcd5101391b0684efbef7d1beb
[]
no_license
zakopuro/kaggle_Riiid
58148deb1c0f1d3672d44aa9c8ba5acf35180694
557caf57dc2460733e64cf24a7b547c7eee27363
refs/heads/main
2023-02-14T19:50:00.398300
2021-01-11T11:30:36
2021-01-11T11:30:36
302,792,953
0
0
null
null
null
null
UTF-8
Python
false
false
3,622
py
import pandas as pd import numpy as np import lightgbm as lgb from sklearn.metrics import roc_auc_score import os import time import sys import gc sys.path.append('./') from utils import data_util,logger path = 'kernel_base' SEED = 123 FEATURES_LIST = ['BASE_FIX','LOOP_FIX','TAGS'] # BASE = ['part','prior_question_...
[ "zakopuro@gmail.com" ]
zakopuro@gmail.com
fdb07f35b774fee43043fa90282a1141ef285be0
77d834eb125fdc56c96af31cf74db5b741c8e94e
/api_v3/migrations/0004_auto_20200602_1716.py
8692fac6c417fd6d4e6656658c7c5171fd9ea949
[]
no_license
zhouf00/learn_rest_framework
7c17124fcb08ce48f54f94201f2da29e41e9d867
a292e38ee9ff475e43ce4612fbb6c074b4073f84
refs/heads/master
2022-10-12T12:05:07.618651
2020-06-11T02:40:45
2020-06-11T02:40:45
268,827,695
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
# Generated by Django 2.2.2 on 2020-06-02 09:16 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('api_v3', '0003_auto_20200602_1706'), ] operations = [ migrations.AlterField( model_name='author...
[ "49618748+zhouf00@users.noreply.github.com" ]
49618748+zhouf00@users.noreply.github.com
f748d57b41c3d2a94a1ebb21f1f6cdc701e6fcd6
f47749141f763d28d8d9e6fe2be28baa6b2b8c35
/interfaces/python/tests/qp_problems/interval_ls_nm_fit.py
129d58c8d4f161255a15f4b51a3bcbfd5f6bc97c
[ "Apache-2.0" ]
permissive
Capri2014/osqp
549c55c606346ffd0b7502e0779b33d156995f3b
d06cc8cfbfab9f36aec49052202b56338f9257d3
refs/heads/master
2021-08-15T11:37:07.180470
2017-09-21T18:50:23
2017-09-21T18:50:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,663
py
# For plotting import matplotlib.colors as mc from scipy.interpolate import griddata import utils.plotting as plotting import matplotlib.pyplot as plt import numpy as np import scipy.sparse as spa # Dataframes import pandas as pd from tqdm import tqdm # Formulate problem import cvxpy def get_ratio_and_bounds(df): ...
[ "bartolomeo.stellato@gmail.com" ]
bartolomeo.stellato@gmail.com
e51e1723a0c97dfd7a83e42b84a35c3eb32fb1ef
bfd97b6def045d520eb5eaac46f151769cf49e1a
/commons/smart_http.py
b31350fb7aa17e0d00692d833e4f90ce66a27d7c
[ "Apache-2.0" ]
permissive
virus-warnning/twag
c860fbf96faa356dfdbca7a7ee545408723ac524
ee5124560aa35520755591c2ccaba536526fa0a5
refs/heads/master
2020-12-25T06:11:56.633303
2018-10-25T11:01:03
2018-10-25T11:01:03
52,577,206
9
4
null
null
null
null
UTF-8
Python
false
false
1,720
py
import json import requests import urllib.parse import logging.config logger = logging.getLogger(__name__) # 偵測 bs4 是否已安裝 try: from bs4 import BeautifulSoup BS4_INSTALLED = True except ImportError: logging.warn('bs4 is not installed.') BS4_INSTALLED = False # 選擇 etree try: from lxml import etree LXML_INSTALLED...
[ "virus.warnning@gmail.com" ]
virus.warnning@gmail.com
1071e48a5f10f3fb4fcd41eb02e7b0c2461efaa2
cefb431aa55a266758961575263989e097e1958f
/pytoolkit/pipeline/core_test.py
bbac8f01a38de7762c2a75ac6d1743008c09e447
[ "MIT" ]
permissive
templeblock/pytoolkit
4ab062a780fc1f113ff473ea8370031833659bfe
1bf26c9386442ead9c674765fc0aeb21674da0e6
refs/heads/master
2021-07-04T20:09:01.329749
2020-11-17T14:34:14
2020-11-17T14:34:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,594
py
import numpy as np import pytest import pytoolkit as tk @pytest.mark.parametrize("output_count", [1, 2]) def test_predict(output_count, tmpdir): # pylint: disable=abstract-method dataset = tk.data.Dataset(data=np.random.randint(0, 256, size=(3, 2, 1))) folds = [ ([0, 1], [2]), ([1, 2], [0...
[ "mark@aur.ll.to" ]
mark@aur.ll.to
204c9680224bc34b4057e8684b3a2ffa4b0a1542
3339c3602c298914b429bca26b66b29dc46acaa6
/torch/jit/quantized.py
8236a9ca7e4bf1f430d5dd5a09f85ec52fc9dd62
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
xlpczv/pytorch
af051e746dd7c07ec04370539adacd2e1f2140dd
c1d6bcf301b03291ee1e157730d127dbde877fbe
refs/heads/master
2020-05-25T18:38:11.135058
2019-05-21T23:30:01
2019-05-21T23:37:52
187,932,680
1
0
NOASSERTION
2019-05-22T00:21:35
2019-05-22T00:21:34
null
UTF-8
Python
false
false
21,053
py
import torch from typing import Tuple, Optional, List # noqa: F401 from torch import Tensor # noqa from torch.nn import _VF from torch._jit_internal import _parameter_list from torch.nn.utils.rnn import PackedSequence, get_packed_sequence class QuantizedLinear(torch.jit.ScriptModule): __constants__ = ['scale',...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e41c86fe5380043b8935c44be2e63c44b19aed8f
ddcb80a615ce083ef923bf62c7cc0f3bcfd3a632
/lc/prob_52.py
f420e50633bccc43d9b400e6c543a33d489cefe4
[]
no_license
Stanleyli1984/myscratch
eb8e00a5e0bdcdf2c022edb053c0d20220f9367c
04e57c7e8a4e5a03ba13ac07c64fa1715c183922
refs/heads/master
2021-01-19T04:13:00.331345
2016-06-24T22:16:34
2016-06-24T22:16:34
61,744,845
0
0
null
null
null
null
UTF-8
Python
false
false
835
py
class Solution: # @return a list of lists of string def recurse(self, status): finished_row = len(status) for x in xrange(self.n): if x not in status: for n in xrange(finished_row): if (finished_row - n) + status[n] == x or -(finished_row - n) + s...
[ "Zhongqi Li" ]
Zhongqi Li
3a18e455174be7f0258fa3e806087e9c00ba0570
99f43f4591f63d0c57cd07f07af28c0b554b8e90
/python/기타/프로그래머스_kit/stack & queue/fourth.py
845c69dbd04feeb16728eddaca29fca0f3075b23
[]
no_license
SINHOLEE/Algorithm
049fa139f89234dd626348c753d97484fab811a7
5f39d45e215c079862871636d8e0306d6c304f7e
refs/heads/master
2023-04-13T18:55:11.499413
2023-04-10T06:21:29
2023-04-10T06:21:29
199,813,684
0
0
null
null
null
null
UTF-8
Python
false
false
667
py
progresses = [93, 30, 55] speeds = [1, 30, 5] def solution(progresses, speeds): answer = [] while True: if not progresses: break count = 0 if progresses[0] >= 100: count += 1 for i in range(1, len(progresses)): if progresses[i] >= 100: ...
[ "dltlsgh5@naver.com" ]
dltlsgh5@naver.com
29569fb9ee97827270cbdf6e187b80a7bca6dd19
92993cff825da80a8ff601572a0c52b0b7d3cbde
/algorithms/Logistic_regression/LBFGS/lbfgs_m7.py
33187ab75aaf5baf646703d475a2d218c85c082b
[]
no_license
yingzhuoy/MRs-of-linear-models
06e8b1f84b08c6aa77553813824cf35c1806c5a7
c3df8299e039a12613f2022b370b8c3e9c2dd822
refs/heads/master
2023-04-07T23:09:37.736952
2021-04-04T05:33:37
2021-04-04T05:33:37
265,124,549
0
0
null
null
null
null
UTF-8
Python
false
false
5,340
py
import numpy as np from algorithms.clf import Clf def wolfe(fun, grad, x, p, maxiter=100, c1=1e-3, c2=0.9, alpha_1=1.0, alpha_max=10**6): # if alpha_1 >= alpha_max: # raise ValueError('Argument alpha_1 should be less than alpha_max') def phi(alpha): #----bug---- #return fun(x + alpha*p) re...
[ "yingzhuoy@qq.com" ]
yingzhuoy@qq.com
701c9965177819ba577b90eead15d57a194a714f
cb6166192835e0580895f743975d2ae866effa00
/DjangoTest/venv/Scripts/pip3.7-script.py
8e08819d07b1bc2747f6e827b1c09e49e231e87b
[]
no_license
luanshiyinyang/PythonWeb
d25ccf35a3eec6990295b276d721126bcdffc648
ba10163e8d71d23d123dee4946fb672fc6367337
refs/heads/master
2020-04-23T09:39:15.631088
2019-03-09T13:01:59
2019-03-09T13:01:59
171,075,985
1
0
null
null
null
null
UTF-8
Python
false
false
442
py
#!"D:\Work\Python workspace\PycharmProjects\PythonWeb\DjangoTest\venv\Scripts\python.exe" # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.2','console_scripts','pip3.7' __requires__ = 'pip==19.0.2' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.py...
[ "1695735420@qq.com" ]
1695735420@qq.com
67c72b1364e9d252f13ac5c0bc7c87951ccac196
0d1576eea1733c04e227fda48b2fc1d13f5f37cb
/PyFBA/tests/test_bounds.py
1b3488f1bacfae2de24bd4cf8dbc51befe1dd7d6
[ "MIT" ]
permissive
linsalrob/PyFBA
d207b976a7cc3a6dc682647b4a72396bde83a892
3723e95e6f96481c4fc470a004dc88da3617f3c3
refs/heads/master
2023-03-09T10:16:11.812589
2023-02-25T21:54:19
2023-02-25T21:54:19
46,241,465
27
15
MIT
2021-05-22T22:56:22
2015-11-15T23:51:34
Python
UTF-8
Python
false
false
2,406
py
import unittest import PyFBA from PyFBA import lp class TestBounds(unittest.TestCase): def test_row_bounds(self): '''Testing the assertion of row bounds and the logic''' # define a media compound media_compound = PyFBA.metabolism.CompoundWithLocation("m0011", 'Media', 'e') media =...
[ "raedwards@gmail.com" ]
raedwards@gmail.com
c143151ff29a48030f47d008276d0df1ca51de09
dea3cd9da2c3429d9f6eaf2cd9d055fbe232bfba
/app/create_app.py
1214e5d2a1db14386fa25d40c68cfb127d8d4910
[ "BSD-2-Clause" ]
permissive
Kentoseth/Flask-User-starter-app
543df37111b972736a80e68fea7d140bb8c8c771
fc41127a52d3cec5b92f0e5ed05432833266bd0d
refs/heads/master
2021-01-12T04:20:14.045205
2016-12-29T06:46:51
2016-12-29T06:46:51
77,589,739
1
0
null
2016-12-29T06:43:50
2016-12-29T06:43:50
null
UTF-8
Python
false
false
5,071
py
# Copyright 2014 SolidBuilds.com. All rights reserved # # Authors: Ling Thio <ling.thio@gmail.com> from datetime import datetime from flask_mail import Mail from flask_migrate import Migrate, MigrateCommand from flask_user import UserManager, SQLAlchemyAdapter from flask_wtf.csrf import CsrfProtect import os from app ...
[ "ling.thio@gmail.com" ]
ling.thio@gmail.com
221dca70e6f59f6fd75985ebdcffc96790cc67e1
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_fussing.py
1e33b0045ff1a91c9f35b1e7603382d5e2383813
[ "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
228
py
from xai.brain.wordbase.verbs._fuss import _FUSS #calss header class _FUSSING(_FUSS, ): def __init__(self,): _FUSS.__init__(self) self.name = "FUSSING" self.specie = 'verbs' self.basic = "fuss" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
872e9e3d03699f93c7916e73d1cadfa74d6a56e8
a2da4ef74f9b1f83697364b9de7bbd535a0c4a04
/creating_randomness.py
0007ce830084f57781c69371c6f38125d3221c8d
[]
no_license
matthewharrilal/CS-2-Tweet-Generator
13dc99e3e6a909a107273b5a36c3b3eacfa5ef9d
f5a5fff685af312c760c9bf1f0e4fac2bec75aee
refs/heads/master
2021-05-15T10:31:02.377522
2018-01-11T15:02:09
2018-01-11T15:02:09
108,192,580
0
0
null
2017-10-24T22:53:30
2017-10-24T22:53:30
null
UTF-8
Python
false
false
331
py
from time import time import math word_list = ["Matthew", "Ralph", "Harrilal", "Ralph", "Ralph", "Tyler", "Matthew"] def time_random(): return(time() - float(str(time()).split('.')[0])) def gen_random_range(min, max): return float(time_random() * (max + min) - min) # # print(generate_random_relative_word(...
[ "matthewharrilal@gmail.com" ]
matthewharrilal@gmail.com
58a7bcbf2b01de9f379efb673ed5d4f96d8bab91
eeb639fa4ae5d5356df0143acb18f05b9a2858da
/apps/document/models.py
d7de3a2e9f9eaecefbd071bb14c173e9276111b9
[]
no_license
pbpoon/new_pan
446d9107a8d386326984afc2a0885154520e8807
bcc42f5df1f531b478352ffd20c5eef775b4d264
refs/heads/master
2021-01-19T11:15:38.027239
2017-06-03T03:53:01
2017-06-03T03:53:01
87,945,676
0
0
null
null
null
null
UTF-8
Python
false
false
2,490
py
from django.shortcuts import reverse from django.db import models import os class Category(models.Model): name = models.CharField('分类名称', max_length=20, db_index=True) desc = models.CharField('分类描述', max_length=60, null=True, blank=True) create_d = models.DateTimeField('创建时间', auto_now_add=True) clas...
[ "pbpoon@live.com" ]
pbpoon@live.com
7266f8d73930a968f4b7aa95999970aa5eb24ef5
4e0c1615c467c63524db9a33d0e769f1370f5a12
/python-ops/aws/compute/lambda+/ecs/ecs-post.py
7d4c9416765b0ccc200906441b1f044fa9e73db6
[]
no_license
infra-ops/cloud-ops
1afb44ed29000491aaa5420ebc6e0b8d740fc55c
4f676fde13f33c838f7f17affd705966a6d31da2
refs/heads/master
2023-08-27T03:00:32.867645
2023-08-23T14:27:59
2023-08-23T14:27:59
140,283,053
3
1
null
null
null
null
UTF-8
Python
false
false
985
py
#!/usr/bin/python ##execution process : python post.py import requests import json import subprocess def image_no(): p = subprocess.Popen("aws ecr describe-images --repository-name connector-dev --query 'sort_by(imageDetails,& imagePushedAt)[-1].imageTags[0]' --output text",shell=True, stdout=subprocess.PIPE) pp=p.st...
[ "chakraborty.rock@gmail.com" ]
chakraborty.rock@gmail.com
d591cbaa6ccb08209046902d4003402051597303
c0da86779f7037d9fa50499c470f8dd91fb11093
/Scrapy__Project/day_140_self_code/redisSpider_Pro/redisSpider_Pro/settings.py
3fbb3d462f3a7a5562d7021426d99c79997af938
[]
no_license
SuoSuo-Rocky/HaiYan_left_Pro
9c96148a9fe9edc191b2aa1ba1a4caf55184d2e1
670aedee8b403141c5e81615dea89d28dfcd9ebb
refs/heads/master
2023-01-12T07:12:53.602217
2019-07-07T06:20:25
2019-07-07T06:20:25
195,602,247
0
0
null
2023-01-05T20:39:51
2019-07-07T02:39:33
JavaScript
UTF-8
Python
false
false
4,236
py
# -*- coding: utf-8 -*- # Scrapy settings for redisSpider_Pro project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://doc.scrapy.org/en/latest/topics/settings.html # https://doc.scrapy.org/en/late...
[ "dt1930dgbomb@aliyun.com" ]
dt1930dgbomb@aliyun.com
cc21731d0a8f17f0479e744f85c055749f84b78f
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/bin/fitsinfo
43074e2b36bb18e480c54662c45255674c0b3534
[ "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
307
#!/usr/bin/env python # EASY-INSTALL-ENTRY-SCRIPT: 'astropy==1.1.2','console_scripts','fitsinfo' __requires__ = 'astropy==1.1.2' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('astropy==1.1.2', 'console_scripts', 'fitsinfo')() )
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
deebb5c67f955864f7ab26d7ea7dd83b0c8b7268
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/TiLa2PopTZxYHrxGb_10.py
adb57e8c9986efa9c5afdbf95ba4c21cc4dca595
[]
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
284
py
def playback_duration(duration, speed): h, m, s = [int(_) for _ in duration.split(':')] t = int((3600 * h + 60 * m + s) / float(speed)) h = t // 3600 t %= 3600 m = t // 60 s = t % 60 return str(h).zfill(2) + ":" + str(m).zfill(2) + ":" + str(s).zfill(2)
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
f0ff339e0c2aa0b0f21fb1531a112afa8cb210e4
7a4099cea66cbc29558ae261c59e154e2956bad3
/core/response.py
095a3175f427db623b4a9a4c4389cb7655a3830c
[ "MIT" ]
permissive
genonfire/workcloud
96f29ca3d3a05985aa6868295368b21c093dcd3e
9547990a16b4ed45eabe5e6522f1ec5649caaf31
refs/heads/master
2023-08-29T02:51:34.322512
2023-08-28T03:48:10
2023-08-28T03:48:10
214,943,754
5
2
MIT
2023-08-10T09:18:42
2019-10-14T03:55:20
Python
UTF-8
Python
false
false
1,229
py
from rest_framework.response import Response as _Response from rest_framework.status import ( HTTP_200_OK, HTTP_201_CREATED, HTTP_204_NO_CONTENT, HTTP_400_BAD_REQUEST, HTTP_401_UNAUTHORIZED, HTTP_403_FORBIDDEN, HTTP_404_NOT_FOUND, HTTP_501_NOT_IMPLEMENTED, ) class Response(_Response): ...
[ "gencode.me@gmail.com" ]
gencode.me@gmail.com
92d70fc9c1ee9ecbda3b559dd1162243f535923d
baa57f56d80e444da14a4967497cae8f11d377e1
/archive/nucleus_encoder/results/3/conv_recon.py
7203676065227eeb2c87ccc66cafa741ae83c21c
[ "BSD-3-Clause" ]
permissive
leoatchina/u24_lymphocyte
ae7b422b08bad6e5c33836662b65c5e91a54e4f4
94a72686e41cad874d5e40604cec960939c79a28
refs/heads/master
2020-07-16T09:25:37.339784
2019-08-09T16:53:43
2019-08-09T16:53:43
205,763,378
0
0
BSD-3-Clause
2019-09-02T02:36:29
2019-09-02T02:36:29
null
UTF-8
Python
false
false
1,869
py
import pickle import sys import os import urllib import gzip import cPickle import h5py import time import lasagne import theano import numpy as np import theano.tensor as T from lasagne import layers from lasagne.updates import nesterov_momentum from nolearn.lasagne import NeuralNet from nolearn.lasagne import BatchIt...
[ "lehhou@bright70.cm.cluster" ]
lehhou@bright70.cm.cluster
ca0da88cbc3ae08b31b1439a67a5c964a0839907
6fcfcb48dfc6cf4136b59b4644da78377f22030f
/test/node/test_put_score.py
8e8ed1a9013a53d5479889cadae4109be6738f44
[ "MIT" ]
permissive
DronMDF/zold-lazy-node
15114892e1503714342a28394fb5025c956a8c5e
835a4c505dbfccb800af69146487f18d10e3c39c
refs/heads/master
2021-07-25T13:56:04.835867
2018-10-25T20:11:24
2018-10-25T20:11:24
136,481,562
1
0
MIT
2018-10-25T20:11:26
2018-06-07T13:28:53
Python
UTF-8
Python
false
false
1,750
py
# Copyright (c) 2018 Andrey Valyaev <dron.valyaev@gmail.com> # Copyright (c) 2018 Alexey Tsurkan # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. ''' Тестирование майнинга ''' import hashlib from flask_api import status from node.app import APP...
[ "dron.valyaev@gmail.com" ]
dron.valyaev@gmail.com
e3e2a18be39056c4cadfdc61638541d2068bcd69
88713958f354b62bfa1382e22ea63299b0182952
/app/request.py
6008161cb569fa480ff61790427b6062e905b2f3
[]
no_license
felkiriinya/Watchlist
be6fb3d8b4b90257ed8a16d292f1e5a4fd6e9d60
fd2749a9b9066aa14c57531d6ed6e720d210695e
refs/heads/master
2022-12-31T19:17:05.458619
2020-10-22T14:04:02
2020-10-22T14:04:02
303,902,680
1
0
null
null
null
null
UTF-8
Python
false
false
3,068
py
import urllib.request,json from .models import Movie # Getting the api key api_key = None # Getting the movie base url base_url = None def configure_request(app): global api_key,base_url api_key = app.config['MOVIE_API_KEY'] base_url = app.config['MOVIE_API_BASE_URL'] def get_movies(category): ''...
[ "felkiriinya@gmail.com" ]
felkiriinya@gmail.com
302b9aa0fa26f971c9e53ed7bf2f27f61095acee
8c5ff532373dc44ed9865fc1b0885934e0d5c1ca
/28.py
0086a169d2811c50608e3458eebc233f7011870b
[]
no_license
irachex/ProjectEuler
548fab11412058fc99a741b1598c65c8c8373542
f7a326d16be764445f5bbe2213dce31afcdb6260
refs/heads/master
2020-07-20T18:07:56.856576
2012-06-28T10:19:21
2012-06-28T10:19:21
3,009,409
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
n = 1001 x, y, d, a, acnt, s = 0, 0, 0, 1, 0, 1 dx = [1, 0, -1, 0] dy = [0, -1, 0, 1] for i in range(2, n*n+1): x += dx[d] y += dy[d] if abs(x) == abs(y): s+= i acnt += 1 if acnt == a: d = (d+1)%4 if acnt == a+a: d = (d+1)%4 a += 1 acnt = 0 print s
[ "irachex@gmail.com" ]
irachex@gmail.com
f628b87afbf0ff6038a92770c8fb4631a9d8aa07
3e4bb5b4036a66d25a72793c1deaa4f5572d37bf
/apps/tasks/filters.py
f8ff16a88b77971ac848612e47b5b5a6c9c68901
[ "MIT" ]
permissive
hbussell/pinax-tracker
f7f7eb0676d01251d7d8832557be14665755844d
4f6538324b2e1f7a8b14c346104d2f1bd8e1556b
refs/heads/master
2021-01-20T12:06:29.630850
2010-02-03T00:39:05
2010-02-03T00:39:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,235
py
from django import forms import django_filters as filters from tasks.models import Task from projects.models import Project from django.contrib.auth.models import User from milestones.models import Milestone from django.contrib.contenttypes.models import ContentType from django.utils.safestring import SafeString cla...
[ "harley@harley-desktop.(none)" ]
harley@harley-desktop.(none)
4c2bf6c68f2b55080c64b7ba8ea4e32e2214f0c9
3c1dacd32c9a795459d8e03538435b8daf4e46f6
/website/application.py
5f5fe46a143effa8ef39f1cf564b709ff222ecf1
[]
no_license
uxlco-alterway/owf2013
d220ff35170dcacc58334df4a9a8d0d130e4b050
0a9851d51347be2a49dc7678db5ead1f81bb0d17
refs/heads/master
2021-01-21T17:13:47.441486
2013-07-12T14:48:06
2013-07-12T14:48:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,216
py
# coding=utf-8 import locale from os import mkdir from os.path import join, dirname, exists import re from flask import Flask, abort, request, g from flask.ext.admin import Admin from flask.ext.bootstrap import Bootstrap from flask.ext.frozen import Freezer from flask.ext.flatpages import FlatPages from flask.ext.mar...
[ "sf@fermigier.com" ]
sf@fermigier.com
61e870387f4ce7ac747f4b8b206af0473ada69f8
be0f3dfbaa2fa3d8bbe59229aef3212d032e7dd1
/Gauss_v45r8/Gen/DecFiles/options/27163408.py
10fda76d05c5250f120afd4592ba41df1f904343
[]
no_license
Sally27/backup_cmtuser_full
34782102ed23c6335c48650a6eaa901137355d00
8924bebb935b96d438ce85b384cfc132d9af90f6
refs/heads/master
2020-05-21T09:27:04.370765
2018-12-12T14:41:07
2018-12-12T14:41:07
185,989,173
0
0
null
null
null
null
UTF-8
Python
false
false
2,460
py
# file /home/hep/ss4314/cmtuser/Gauss_v45r8/Gen/DecFiles/options/27163408.py generated: Fri, 27 Mar 2015 15:48:03 # # Event Type: 27163408 # # ASCII decay Descriptor: [D*(2010)+ -> ( D0 -> (rho(770)+ -> pi+ pi0) K- ) pi+]cc # from Configurables import Generation Generation().EventType = 27163408 Generation().SampleGene...
[ "slavomirastefkova@b2pcx39016.desy.de" ]
slavomirastefkova@b2pcx39016.desy.de
1dc7c89d3e56863d42d37806ea0d60b8ef09adc8
18239524612cf572bfeaa3e001a3f5d1b872690c
/clients/keto/python/ory_keto_client/model/remove_ory_access_control_policy_role_members_internal_server_error.py
6d3bae25f36f25b73a502d443377e6272b0ee17b
[ "Apache-2.0" ]
permissive
simoneromano96/sdk
2d7af9425dabc30df830a09b26841fb2e8781bf8
a6113d0daefbbb803790297e4b242d4c7cbbcb22
refs/heads/master
2023-05-09T13:50:45.485951
2021-05-28T12:18:27
2021-05-28T12:18:27
371,689,133
0
0
Apache-2.0
2021-05-28T12:11:41
2021-05-28T12:11:40
null
UTF-8
Python
false
false
7,161
py
""" ORY Keto A cloud native access control server providing best-practice patterns (RBAC, ABAC, ACL, AWS IAM Policies, Kubernetes Roles, ...) via REST APIs. # noqa: E501 The version of the OpenAPI document: v0.0.0 Contact: hi@ory.sh Generated by: https://openapi-generator.tech """ import re # ...
[ "noreply@github.com" ]
simoneromano96.noreply@github.com
6a03c9dae1ae8ce26645851fc43954020bf88f52
98c6ea9c884152e8340605a706efefbea6170be5
/examples/data/Assignment_4/fldmic006/piglatin.py
fce9c6858fb37db1ad56744a5d7be700a7c25de4
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
3,068
py
#create function to seperate string into individual words def toPigLatin(string): #check for case where they only enter one letter if len(string) == 1: piglatin = toPig(string) return piglatin else: word = string.split() piglatin = "" ...
[ "jarr2000@gmail.com" ]
jarr2000@gmail.com
306e99f581431a01903a1dc6ef9ed19f552206f6
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/mutesync/config_flow.py
e06c0b07c877242edb807e6ab06396bb351220bb
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
2,473
py
"""Config flow for mütesync integration.""" from __future__ import annotations import asyncio from typing import Any import aiohttp import mutesync import voluptuous as vol from homeassistant import config_entries from homeassistant.core import HomeAssistant from homeassistant.data_entry_flow import FlowResult from ...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
d48467f197d0029bd683f512d5679890c161b230
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4458942.3.spec
079b5912dac1f5400b313a7c712afd480a0534a7
[]
no_license
MG-RAST/mtf
0ea0ebd0c0eb18ec6711e30de7cc336bdae7215a
e2ddb3b145068f22808ef43e2bbbbaeec7abccff
refs/heads/master
2020-05-20T15:32:04.334532
2012-03-05T09:51:49
2012-03-05T09:51:49
3,625,755
0
1
null
null
null
null
UTF-8
Python
false
false
14,694
spec
{ "id": "mgm4458942.3", "metadata": { "mgm4458942.3.metadata.json": { "format": "json", "provider": "metagenomics.anl.gov" } }, "providers": { "metagenomics.anl.gov": { "files": { "100.preprocess.info": { ...
[ "jared.wilkening@gmail.com" ]
jared.wilkening@gmail.com
503d010589336a99693e169a8becdcf3082798d1
964b063c2461aad267ddd991fefaf7ab53b1ca94
/7-kyu/sum-of-cubes/python/solution.py
dcc4756916e849bed4d93ef7de1a257987921ebb
[]
no_license
lucasbflopes/codewars-solutions
26c4e2cd1be19db50cc8c1d9fc117c51c82a2259
72ef2c02dde7bd0d5a691e04e3b2a383e892f84b
refs/heads/master
2022-03-14T01:26:41.816498
2019-11-23T17:17:19
2019-11-23T17:17:19
114,834,447
0
1
null
null
null
null
UTF-8
Python
false
false
68
py
def sum_cubes(n): return sum(map(lambda x: x**3, range(1, n+1)))
[ "LucasBraganca@Lucas-MacBook-Pro.local" ]
LucasBraganca@Lucas-MacBook-Pro.local
2cb0aaf443c888c5d78347155915dd257a1f2bf4
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/386/usersdata/268/83609/submittedfiles/ep1.py
3eb46d68f7d8cc92624a9120ff5e152991d4cf59
[]
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
740
py
# -*- coding: utf-8 -*- #FUNÇAO def raiz_quadrada(x,epsilon): r=x while True: rq=(1/2)*(r+(x/r)) if (abs(r-rq)<epsilon): return(rq) r=rq #INICIO n= int(input('Digite o numero de equações: ')) cont=0 while(cont<n): #ENTRADA a=float(input('Digite ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8f2397c4ff6d6b92a829eb152fbbb468eba4413e
1ff3ac69beed2381de1deadfc06a61e87ee32779
/courses/urls.py
e30223bafac682ad1741eed537edb5713601ba43
[ "MIT" ]
permissive
urosjevremovic/Learning-platform
dd1566c3e51f7d749d149072ae4eb5bcc03acee3
eedf0d4decea0be42fa70e2e90388b87d506a819
refs/heads/master
2022-12-10T07:27:01.801402
2018-08-24T19:00:32
2018-08-24T19:00:32
144,371,684
0
0
MIT
2021-09-08T00:06:32
2018-08-11T09:15:21
Python
UTF-8
Python
false
false
1,927
py
from django.urls import path from courses.views import ManageCourseListView, CourseCreateView, CourseUpdateView, CourseDeleteView, \ CourseModuleUpdateView, ContentCreateUpdateView, ContentDeleteView, ModuleContentListView, ModuleOrderView, \ ContentOrderView, CourseDetailView, CourseListView, StudentCourseDet...
[ "jevremovic.uros91@gmail.com" ]
jevremovic.uros91@gmail.com
7b87d394144ee50fc720b36c1c25c7a5c8bf6c93
f0b886b0ca47972b923e98cb1a005b0a88296b3e
/src/nros/core/node.py
316917cb4cd4fc75f3ab27d9cd29f66c1d6652f8
[]
no_license
pobot-nros/nros-core
335b5e65e165aaf0427daf53d41b6761dd23ae97
06a80506854ee9814a2bd071f2f2ec217aa5a9c2
refs/heads/master
2020-05-21T08:47:33.382002
2016-09-24T08:06:09
2016-09-24T08:06:09
69,088,158
0
0
null
null
null
null
UTF-8
Python
false
false
14,828
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This module includes the definitions of the base types used to define a nROS node. The nROS node is the building block for nROS applications. Each node runs as a separate process and is intended to handle a specific functionality of the system. It can be for instance ...
[ "eric@pobot.org" ]
eric@pobot.org
9caace73c55ddd06b05fa27731ccb566385c2219
46e0c2e043058e485600988a140e6376423e9140
/logger.py
4621ab6a6f8ae2694dc0f752d95e5ca734302aa1
[]
no_license
capric8416/toutiao_news
0cbf70a042ab40fcf6861b16ba2bf3fd196cd174
f27db2191fde32dcd025d3075467fb91fc201269
refs/heads/master
2022-07-12T23:29:54.005094
2017-11-20T08:17:06
2017-11-20T08:17:06
111,380,942
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
# -*- coding: utf-8 -*- # !/usr/bin/env python import logging def get_logger(name, level='INFO', fmt='%(asctime)s - %(name)s - %(lineno)d - %(levelname)s - %(message)s'): _level = getattr(logging, level) _logger = logging.getLogger(name=name) _logger.setLevel(_level) _stream_handler = logging.Strea...
[ "capric8416@gmail.com" ]
capric8416@gmail.com
cdf766eb624534abf97db7cde8adf6138d186063
9d4a03990d94e9fb0248ec94875376c82139891a
/django/zqxt_admin/zqxt_admin/wsgi.py
55792141f368002b36cb779ff1e6d32913b49cad
[]
no_license
wenhaoliang/learn-python
114744f3c94859f665a998b03c6d5f5d908fb94d
bd31daa34cc79f3171a2e195c149af60a7e0ebed
refs/heads/master
2020-04-16T02:14:36.345629
2019-07-06T12:26:23
2019-07-06T12:26:23
58,053,238
7
7
null
2017-07-21T09:35:55
2016-05-04T13:14:26
Python
UTF-8
Python
false
false
397
py
""" WSGI config for zqxt_admin project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "641541452@qq.com" ]
641541452@qq.com
26e2322878d3e02ae38d60a9237159d0f08a3ad6
a94e8b83bb2a4ccc1fffbd28dd18f8783872daab
/DMOPC/DMPG15S5 Apples to Oranges.py
07c3166e61e387a66595f89bd56a32c78bffc332
[]
no_license
MowMowchow/Competitive-Programming
d679c1fe2d7d52940dc83a07dc8048922078704e
0ec81190f6322e103c2ae0ad8c3935bd4cdfff46
refs/heads/master
2022-03-03T03:01:03.383337
2022-02-17T07:27:45
2022-02-17T07:27:45
184,678,148
0
0
null
null
null
null
UTF-8
Python
false
false
780
py
import sys sys.setrecursionlimit(1000000) n, m = [int(x) for x in sys.stdin.readline().split()] adj = {} answers = {} for i in range(n): temp = sys.stdin.readline().strip("\n") adj[temp] = [] answers[temp] = 0 for i in range(m): a, b, c = sys.stdin.readline().strip("\n").split() c = float(c) adj...
[ "darkstar.hou2@gmail.com" ]
darkstar.hou2@gmail.com
d41d5f221cb3a9063dd67a8a8a64512c10eb3158
b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1
/tensorflow/python/framework/graph_io.py
6b7fdbcd89c5c56be6f41670be194644a5f23c80
[ "Apache-2.0" ]
permissive
uve/tensorflow
e48cb29f39ed24ee27e81afd1687960682e1fbef
e08079463bf43e5963acc41da1f57e95603f8080
refs/heads/master
2020-11-29T11:30:40.391232
2020-01-11T13:43:10
2020-01-11T13:43:10
230,088,347
0
0
Apache-2.0
2019-12-25T10:49:15
2019-12-25T10:49:14
null
UTF-8
Python
false
false
2,713
py
# Copyright 2015 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...
[ "v-grniki@microsoft.com" ]
v-grniki@microsoft.com
7cbea112e05928df60ffccba547552d864984b68
532e7f997f8aa51f8e3a30806dd4c518d95b12ac
/tests/test_checkout_arrayset_access.py
90d317e626a7b5a5e84feadc80f68d5432f8693f
[ "Apache-2.0" ]
permissive
ameen4455/hangar-py
393ba22dd99dfd541e3014455908d4cdda7255bc
d4af0cd85c5588b59fb869097b3245d3b85ad8c3
refs/heads/master
2020-08-13T12:43:17.727000
2019-10-15T06:17:38
2019-10-15T06:17:38
214,969,958
0
1
Apache-2.0
2019-10-25T06:12:38
2019-10-14T06:56:20
Python
UTF-8
Python
false
false
27,113
py
import pytest import numpy as np # -------------------------- Reader Checkout ---------------------------------- @pytest.mark.parametrize("samplename", ['0', '-1', 1, 0, 1000, 'alkea']) def test_write_single_arrayset_single_sample(written_repo, array5by7, samplename): wco = written_repo.checkout(write=True) ...
[ "rizzo242@gmail.com" ]
rizzo242@gmail.com
14dee00871c4b6cc0b557a2474d56cb5ace1d991
84c4474a88a59da1e72d86b33b5326003f578271
/saleor/graphql/account/tests/mutations/staff/test_user_avatar_delete.py
920d673c2c23eced1ed82f66a7414341f6968a05
[ "BSD-3-Clause" ]
permissive
vineetb/saleor
052bd416d067699db774f06453d942cb36c5a4b7
b0d5ec1a55f2ceeba6f62cf15f53faea0adf93f9
refs/heads/main
2023-07-20T02:01:28.338748
2023-07-17T06:05:36
2023-07-17T06:05:36
309,911,573
0
0
NOASSERTION
2020-11-04T06:32:55
2020-11-04T06:32:55
null
UTF-8
Python
false
false
1,096
py
from ......thumbnail.models import Thumbnail from .....tests.utils import assert_no_permission, get_graphql_content USER_AVATAR_DELETE_MUTATION = """ mutation userAvatarDelete { userAvatarDelete { user { avatar { url } } } ...
[ "noreply@github.com" ]
vineetb.noreply@github.com
9c542d95760c79f6cfe90c017f4c29c60c88a67e
c8c4721e2282aaeece7bb36e6b7c33fe2e4af207
/torch/fx/experimental/fx2trt/converters/linear.py
23a7407dac6e2d99d2c5a579e326e422de407706
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
suo/pytorch
ac1008c62906cf0b055c2c851dab611c0a1276b8
fb0e27d38a8fdab4e1c14d6378c9e41cb30fd6a3
refs/heads/master
2023-04-18T18:57:04.622931
2022-01-28T04:57:17
2022-01-28T05:01:06
142,352,607
1
0
NOASSERTION
2019-11-08T19:38:03
2018-07-25T20:50:09
C++
UTF-8
Python
false
false
2,795
py
import torch import tensorrt as trt from torch.fx.experimental.fx2trt.converter_registry import tensorrt_converter from .converter_utils import mark_as_int8_layer, to_numpy, get_dyn_range def common_linear(network, mod, input_val, layer_name, is_quantized): """ TensorRT fully connected layer implicitly flatte...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
633afb80cdad03a3fb7a479ec9f180fd98ed454d
0cc13245b4acd3130f0be9ee0f269124232bd768
/home/views.py
f3437fbbd87b03c7b652190c7be59868f33fb6ec
[]
no_license
crowdbotics-users/pilarfc-crowdbotics-117
1fe90f3231b257f5756026e9dcb856c1efc91509
3a0e7c4161b839a173a3d39f365b81b68e9894a1
refs/heads/master
2020-03-13T09:36:36.975599
2018-04-25T21:52:52
2018-04-25T21:52:52
131,067,750
0
0
null
null
null
null
UTF-8
Python
false
false
293
py
from django.shortcuts import render # Create your views here. from django.shortcuts import render def home(request): packages = [ ] context = { 'title': 'pilarfc-crowdbotics-117', 'packages': packages } return render(request, 'home/index.html', context)
[ "sp.gharti@gmail.com" ]
sp.gharti@gmail.com
38f29438bcb865aa158eb27c58644b31f2e9ca9c
13a82b9daf2f050c8c76636df0ba37d9092f3795
/practice/lxml_01_The Element class/lxml_011_Elements_are_lists.py
eb1d57db88b0cd6f616a225af059acc8865c0d64
[]
no_license
Vincent105/1st-PyCrawlerMarathon
68c9d11aa90e0b8884a3a00c057d6e8bf255b277
d66e19b2bacccd1c0c2535f50aee0309c2fe3880
refs/heads/master
2022-12-12T17:35:31.174585
2021-01-21T09:47:16
2021-01-21T09:47:16
223,867,991
0
2
null
2022-12-08T07:46:44
2019-11-25T05:26:16
Jupyter Notebook
UTF-8
Python
false
false
1,240
py
from lxml import etree # The Element class root = etree.Element("root") print(root.tag) root.append(etree.Element("child1")) child2 = etree.SubElement(root, "child2") child3 = etree.SubElement(root, "child3") print(etree.tostring(root, pretty_print=True)) ''' # Elements are lists ''' child = root[0] print(child.ta...
[ "vincent1050917@gmail.com" ]
vincent1050917@gmail.com
42f2d872de2aeeef2aede478facff4d4a8bd9051
780b6cca690a213ac908b1cd5faef5366a18dc4e
/167_complete_user_class/save2_passed.py
053ed15056a55ec5559954bed9a1e9aa5d4b3dc4
[]
no_license
katkaypettitt/pybites-all
899180a588e460b343c00529c6a742527e4ea1bc
391c07ecac0d92d5dc7c537bcf92eb6c1fdda896
refs/heads/main
2023-08-22T16:33:11.171732
2021-10-24T17:29:44
2021-10-24T17:29:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
class User: """A User class (Django's User model inspired us) """ def __init__(self, first_name, last_name): """Constructor, base values""" self.first_name = first_name self.last_name = last_name @property def get_full_name(self): """Return first ...
[ "70788275+katrinaalaimo@users.noreply.github.com" ]
70788275+katrinaalaimo@users.noreply.github.com
a189ceeec59271db266b632607f5340c0b8a98e3
a7fd2ed77661ed0e32d75678bdfbb448a4b1a38d
/ABC/abc174/e/main.py
c25a154f4282bdefc38c8475bc1f8dc1a8ee5a71
[]
no_license
Rikuo-git/AtCoder
218a976a96f961371f4c1f4a8bf0e4ef7a78e09c
e7fe5db837acba11aed890181d429517c0f4bedc
refs/heads/master
2023-03-03T10:07:09.825074
2021-02-15T11:37:10
2021-02-15T11:37:10
266,530,674
0
0
null
null
null
null
UTF-8
Python
false
false
726
py
#!/usr/bin/env python3 from bisect import bisect_left n, k = map(int, input().split()) *a, = map(int, input().split()) def is_ok(arg): # 条件を満たすかどうか?問題ごとに定義 return sum(-(-i // arg) - 1 for i in a) <= k def meguru_bisect(ng, ok): ''' 初期値のng,okを受け取り,is_okを満たす最小(最大)のokを返す まずis_okを定義すべし ng ok は と...
[ "rikuo.takahashi@keio.jp" ]
rikuo.takahashi@keio.jp
7170bd005b1e50c22a3fac6d51c26560f893da6d
70fa6468c768d4ec9b4b14fc94fa785da557f1b5
/lib/surface/bigtable/app_profiles/create.py
ebe35734ae01626dec51b896ff88703130c23329
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
kylewuolle/google-cloud-sdk
d43286ef646aec053ecd7eb58566ab2075e04e76
75f09ebe779e99fdc3fd13b48621fe12bfaa11aa
refs/heads/master
2020-04-20T22:10:41.774132
2019-01-26T09:29:26
2019-01-26T09:29:26
169,131,028
0
0
NOASSERTION
2019-02-04T19:04:40
2019-02-04T18:58:36
Python
UTF-8
Python
false
false
2,265
py
# -*- coding: utf-8 -*- # # Copyright 2018 Google Inc. 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 requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
3b9718d2460c226b3f7c24179fbb595df6e135f0
04a82c022b5291a2a43f4e0ddad457f7a2cd8621
/nozomi/rendering/view/view.py
20be04be97d5b9b095fca77e28803cfa1952ed47
[ "MIT" ]
permissive
pypi-buildability-project/nozomi
4cf2bc2f16ce6f513348da56da6803ee44a2f9cc
547fb5c554f79cda1b038b1500c513fbec8bee0b
refs/heads/master
2022-08-26T03:00:18.647598
2020-05-21T15:51:10
2020-05-21T15:51:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,637
py
""" Nozomi View Module author: hugh@blinkybeach.com """ from typing import Optional, Dict, Any, List from nozomi.rendering.view_template import ViewTemplate from nozomi.rendering.context import Context from nozomi.rendering.static_context import StaticContext from nozomi.rendering.open_graph import OpenGraph from nozom...
[ "hugh.jeremy@gmail.com" ]
hugh.jeremy@gmail.com
f8cbc648c823f3d733d407c43b57c0dda12c3c85
9b149222a2589e43395b253539afcf327ecac811
/billy/tests/functional/test_transaction.py
b45079f946632863a402a6e2cc1101485610e150
[ "LicenseRef-scancode-warranty-disclaimer", "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
vasilcovsky/billy
95c2593cfc381c39865b4a12bb86cd3e4884b601
7151aca956f8a0ba1b9484461da3d76892123594
refs/heads/master
2021-01-22T12:38:42.159966
2013-12-19T23:32:57
2013-12-19T23:32:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,187
py
from __future__ import unicode_literals import datetime import transaction as db_transaction from freezegun import freeze_time from billy.tests.functional.helper import ViewTestCase @freeze_time('2013-08-16') class TestTransactionViews(ViewTestCase): def setUp(self): from billy.models.company import Co...
[ "bornstub@gmail.com" ]
bornstub@gmail.com
db5bbf832973a2c1bfc9eb2b0c61b0611d2aacf6
480a175ab2b3c012af2d1cddb79674fad1490fe5
/0x05-python-exceptions/1-safe_print_integer.py
13eeb47c0e979a142eacbd21527974591de6ff5c
[]
no_license
ianliu-johnston/holbertonschool-higher_level_programming
a8a6476fc6a7ac0bd8ae300f2196f17c13e1b36f
f6a7c9cddb2482991c2aadacb99aa66e64eb50eb
refs/heads/master
2021-04-29T11:12:56.820851
2017-05-10T00:48:17
2017-05-10T00:48:17
77,854,226
3
3
null
null
null
null
UTF-8
Python
false
false
176
py
#!/usr/bin/python3 def safe_print_integer(value): try: print('{:d}'.format(value)) return (True) except (ValueError, TypeError): return (False)
[ "ian.liu-johnson@holbertonschool.com" ]
ian.liu-johnson@holbertonschool.com
0d2bdf00d4c88913c750c3e35cac13b03c3fae55
2e43c638f54b838a65860dd6b876ea537f0f01f6
/updateAfterIntent.py
9e786bac7638ce45111137362d98d92995985506
[]
no_license
theriley106/alexaQuoteGenerator
da6478e688948ad7ef49a6dc2d1fcb76ec0f68f4
16b2bcb1f68b9bab55d7aec676f5edba120374a5
refs/heads/master
2021-09-06T09:45:49.868315
2018-02-05T04:55:07
2018-02-05T04:55:07
114,775,941
1
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
import os import requests import json def checkForUpdateOnGithub(quoteAuthor): try: quoteAuthor = quoteAuthor.replace(' ', '_') url = "https://raw.githubusercontent.com/theriley106/alexaQuoteGenerator/master/QuoteDB/{}.txt".format(quoteAuthor) res = requests.get(url) print("Checking github for new quote for {...
[ "christopherlambert106@gmail.com" ]
christopherlambert106@gmail.com
e670ede7daf663a1a080412b9c72aa180b9922ee
93997ad9312957f8a677a298e92f407a30a5a0cf
/src/Filtering/MathematicalMorphology/DilateAGrayscaleImage/Code.py
e19cdc43dd49412af2c1f25e5b3dd56ec6782668
[ "Apache-2.0" ]
permissive
GRSEB9S/ITKExamples
ccdf4ab4a3e8549815444228710c46133b896a2a
c04b9e5c195be6c3bb495efabe9e0069ab2d1625
refs/heads/master
2021-05-27T15:25:05.204218
2015-01-08T18:33:22
2015-01-08T18:33:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,749
py
#!/usr/bin/env python #========================================================================== # # Copyright Insight Software Consortium # # 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 Licen...
[ "michkapopoff@gmail.com" ]
michkapopoff@gmail.com
4fcbc4e1bcfedfa7d032a3afd5b0e894e6065730
7a3c194356437db110671ad163f03df1344a5e87
/code/validation/generate/collect_stats.py
4af44b136f704045089976896c89c690da106c26
[ "MIT" ]
permissive
dmytrov/gaussianprocess
6b181afdb989415ec929197cdb20efee571ebbcc
7044bd2d66f44e10656fee17e94fdee0c24c70bb
refs/heads/master
2022-12-08T22:23:11.850861
2020-09-14T19:37:33
2020-09-14T19:37:33
295,513,701
0
0
null
null
null
null
UTF-8
Python
false
false
2,503
py
import os import pickle import numpy as np import matplotlib.pyplot as plt import utils.parallel.runner as pr import validation.generate.common as vgc import validation.common as vc class StatsReader(pr.JobRunner): def __init__(self): super(StatsReader, self).__init__( realpath=os.pa...
[ "dmytro.velychko@gmail.com" ]
dmytro.velychko@gmail.com
f2cce3e827e056015c3d8268a1a88dd825961cd8
ef61c5f177ee44ac08325335fc28a12f3fccbb58
/resource_management/tests/interactors/test_delete_items_interactor.py
03384caf4540e1ff9b2a7d09b9f11021b4002029
[]
no_license
bammidichandini/resource_management-chandini
3c11c7b2eb5e2f8d3df5b55e4d3ee86a27ed5c3a
aa4ec50f0b36a818bebc2033cb39ee928e5be13c
refs/heads/master
2022-12-01T19:59:25.366843
2020-07-23T09:10:42
2020-07-23T09:10:42
269,610,045
0
0
null
null
null
null
UTF-8
Python
false
false
3,410
py
import pytest from unittest.mock import create_autospec from resource_management.exceptions.exceptions import ( UserCannotManipulateException, InvalidIdException ) from django.core.exceptions import ObjectDoesNotExist from resource_management.exceptions.exceptions import InvalidIdException from resource_man...
[ "chandini.bammidi123@gmail.com" ]
chandini.bammidi123@gmail.com
452652a875439831fa0d5b4790810d09b5b2ac2c
0fc4f615115fe2da514f17530cc46555dd0f14c3
/tests/validation/parameter/test_pattern_validation.py
617d559add2763c46c666f2346fe3b6ddef0e210
[ "MIT" ]
permissive
ossdev07/flex
c63469e00412a070bea2acaa6b652792bf891280
7486c2295dee87ae0663a35820c749ce4cf42989
refs/heads/master
2020-11-27T01:51:16.238689
2019-12-05T05:40:53
2019-12-05T05:40:53
229,262,607
0
0
MIT
2019-12-20T12:39:54
2019-12-20T12:39:53
null
UTF-8
Python
false
false
1,762
py
import pytest from flex.exceptions import ValidationError from flex.loading.schema.paths.path_item.operation.parameters import ( parameters_validator, ) from flex.validation.parameter import ( validate_parameters, ) from flex.constants import ( PATH, STRING, ) from flex.error_messages import MESSAGES ...
[ "piper@simpleenergy.com" ]
piper@simpleenergy.com
225f424617ed4247cc83fe7c40c0502b68c40285
35c3999aa3f6a9e31ae6f9170ac0235da4fe7e11
/irekua_rest_api/filters/collection_devices.py
c9d1636a35a792238c849e03094ded3f738dbfbd
[ "BSD-2-Clause" ]
permissive
CONABIO-audio/irekua-rest-api
28cf9806330c8926437542ae9152b8a7da57714f
35cf5153ed7f54d12ebad2ac07d472585f04e3e7
refs/heads/master
2022-12-12T09:24:18.217032
2020-08-15T21:01:20
2020-08-15T21:01:20
219,046,247
0
4
BSD-4-Clause
2022-12-08T10:54:47
2019-11-01T19:03:10
Python
UTF-8
Python
false
false
726
py
from irekua_database.models import CollectionDevice from .utils import BaseFilter search_fields = ( 'physical_device__device__model', 'physical_device__device__brand__name', 'physical_device__device__device_type__name', ) class Filter(BaseFilter): class Meta: model = CollectionDevice ...
[ "santiago.mbal@gmail.com" ]
santiago.mbal@gmail.com
4e47461c81d1aa9479c1d6f799affc5b6fe4d774
f09dc121f213f2881df3572288b7ee5b39246d73
/aliyun-python-sdk-drds/aliyunsdkdrds/request/v20190123/DescribeHiStoreInstanceInfoRequest.py
7699fc5bac565cb91a7e4732af00ccf2db65379a
[ "Apache-2.0" ]
permissive
hetw/aliyun-openapi-python-sdk
2f31378ad6be0896fb8090423f607e9c7d3ae774
7443eacee9fbbaa93c7975c6dbec92d3c364c577
refs/heads/master
2023-01-19T22:42:36.214770
2020-12-04T10:55:14
2020-12-04T10:55:14
318,689,093
1
0
NOASSERTION
2020-12-05T03:03:03
2020-12-05T03:03:03
null
UTF-8
Python
false
false
1,705
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
21a381bcf7fe24a95d2f98b8099a4768997aa9ce
811c52273f62d433accbd43fdee7a2d4e0d2f4b7
/app/forms.py
a27cf570fbb989943b04e20a2ae6b1d7bccf1743
[]
no_license
joelunmsm2003/comisiones
5f8c4941cc6716d410bf2ec93dd8edc0c7f188db
76743ddc25f308550ecd8af383988da78df8c5b6
refs/heads/master
2022-12-15T13:10:47.847747
2018-11-16T14:39:58
2018-11-16T14:39:58
157,739,971
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
from django.utils.translation import ugettext_lazy as _ from django.db import models from django.forms import * from app.models import * from django.forms import ModelForm, TextInput class AgenteForm(ModelForm): class Meta: model = Agente fields = ('id','nombre','dni','telefono','direccion','equipo...
[ "you@example.com" ]
you@example.com
148392c6b8bf7032c9ad1fe8373c3903dda59f77
8e9a248f78510943c604c13e58def5413e2f258f
/src/__init__.py
dd0ec45ced4f1c66054947492c1c16d04ee9a209
[]
no_license
happeninghq/happening-groups
57fa22dd7d9648572ab92cd7992663bbd0926d6b
76b9765ab949f5cdeaf79ff479dade244b95fa1f
refs/heads/master
2021-01-20T22:31:10.822420
2017-01-12T19:58:05
2017-01-12T19:58:05
59,932,781
0
0
null
null
null
null
UTF-8
Python
false
false
1,546
py
"""Split members into groups, with automatic/manual grouping.""" import copy class Plugin(object): """Split members into groups, with automatic/manual grouping.""" name = "Groups" url_root = "groups/" admin_url_root = "groups/" def generate_groups(ungrouped_users, number_of_groups, existing_groups...
[ "jonathan@jscott.me" ]
jonathan@jscott.me
b738de7fc948d0435a07d2796292ac4feac0f69e
5f7335fb5240590eaebf751ec2c37ffbfb92d08b
/stickytape/__init__.py
d396aa0680b03fd33a564edaa3f1ff60fc264d48
[ "BSD-2-Clause" ]
permissive
mwilliamson/stickytape
41523ff4650384634660ebe164a2e637319ed4cb
7e8d4dc2ace78d4f99e4c7a0f49273abf341b187
refs/heads/master
2023-05-10T23:12:21.253570
2023-05-01T15:04:37
2023-05-01T15:04:37
6,472,845
209
29
BSD-2-Clause
2022-10-05T20:45:32
2012-10-31T11:27:37
Python
UTF-8
Python
false
false
7,046
py
import ast import os.path import subprocess from .stdlib import is_stdlib_module def script( path, add_python_modules=None, add_python_paths=None, python_binary=None, copy_shebang=False, ): if add_python_modules is None: add_python_modules = [] if add_python_paths is None: ...
[ "mike@zwobble.org" ]
mike@zwobble.org
61123a58e60901c23b4d6bf2a5816c0cd41e94dc
f0fd2b4f56b1753e47139a3557a1625abcfead9e
/django/django_fundamentals/books_authors_shell copy/books_authors_shell/settings.py
d61925e32428459951d8e650c3e824e5219881e9
[]
no_license
nlee1229/Python-Stack
16dd6078be98392d8a21a93965beb7d39ba4157e
1aba5cf17f1f6c50d8fd50de031fcd6ec2bdda21
refs/heads/master
2023-03-26T05:12:14.264780
2021-03-22T01:56:22
2021-03-22T01:56:22
328,876,685
0
0
null
null
null
null
UTF-8
Python
false
false
3,139
py
""" Django settings for books_authors_shell project. Generated by 'django-admin startproject' using Django 2.2.4. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ ...
[ "72540269+nlee1229@users.noreply.github.com" ]
72540269+nlee1229@users.noreply.github.com
4686caff4efd2754a54b38a99ca88c98b26461e7
e82b3c6000fe8e4639d6606f9d3605e75a8a5d5c
/src/secondaires/crafting/commandes/guilde/liste.py
7e6ed1c544ac4fd5ce8cc41d8bc6c8a50d1b01c4
[ "BSD-3-Clause" ]
permissive
vincent-lg/tsunami
804585da7bd1d159ad2c784b39f801963ca73c03
7e93bff08cdf891352efba587e89c40f3b4a2301
refs/heads/master
2022-08-02T15:54:35.480614
2022-07-18T12:06:41
2022-07-18T12:06:41
25,605,543
5
2
BSD-3-Clause
2019-06-05T15:59:08
2014-10-22T21:34:10
Python
UTF-8
Python
false
false
2,966
py
# -*-coding:Utf-8 -* # Copyright (c) 2010-2017 LE GOFF Vincent # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # ...
[ "vincent.legoff.srs@gmail.com" ]
vincent.legoff.srs@gmail.com
477cba3371adc05ca7f481d6b017490f46ffbff7
4e212b61aeb142fca3b2ea801df76a9c37cf9d9d
/cuesubmit/cuesubmit/ui/Frame.py
4dec785edea37a0c852e8dee39a15243a444eb5a
[ "Apache-2.0" ]
permissive
AcademySoftwareFoundation/OpenCue
90f2c9e90370966a9d7488e7022d484805abce33
c1f335d22e59cdf75859aa14ecdfe43d9cb43e95
refs/heads/master
2023-08-25T21:53:58.408872
2023-08-09T15:47:45
2023-08-09T15:47:45
133,735,379
439
191
Apache-2.0
2023-09-14T00:46:43
2018-05-16T23:58:12
Python
UTF-8
Python
false
false
1,687
py
# Copyright Contributors to the OpenCue 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 required by applicable law or...
[ "noreply@github.com" ]
AcademySoftwareFoundation.noreply@github.com
c27b7e157727e680fe6f16a56fde9bc4772ab0a1
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201029125222.py
0598c6d7c30cdbfbf7984f00fe6520805f66454e
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
3,457
py
from django import forms from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock from wagtail.contrib.table_block.blocks import TableBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
11a2284a85c3e01397c58d576dea6be0322066c5
a914431f31d8e0ddd7c7b170c297f788d425682e
/torchx/components/base/test/roles_test.py
b00fa50133cd94593a18108bfc0932aa2bcdacac
[ "BSD-3-Clause" ]
permissive
muskanmahajan37/torchx
5e80830b7ae58f3088744bc9a938d8d28f367daa
20040badf349d468b43469d26fd2356e7157a1bb
refs/heads/master
2023-05-29T18:40:04.679516
2021-06-12T01:29:24
2021-06-12T01:30:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,533
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import os import unittest from dataclasses import asdict from torchx.components.base.rol...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
14c9cada653f48f58455518758710aaf1425966f
3a8f8bef453f5eb01cc6f22d8bb140d7791024df
/test/test_command.py
6438124302157f457051a395a2cb4437f61d303b
[]
no_license
thomasvs/python-command
23a68de2ce596a7eed5a2740a5ee1471f62ed569
4c31072e9f5f68e22c92cdc8f0a02d911b7e5fc0
refs/heads/master
2020-05-02T11:29:24.459355
2014-09-07T22:23:58
2014-09-07T22:23:58
5,668,726
0
3
null
null
null
null
UTF-8
Python
false
false
3,287
py
# -*- Mode: Python; test-case-name: test_command -*- # vi:si:et:sw=4:sts=4:ts=4 # # Copyright (C) 2006,2007 Thomas Vander Stichele <thomas at apestaart dot org> # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Softw...
[ "thomas (at) apestaart (dot) org" ]
thomas (at) apestaart (dot) org
29c83e6745ac0129d2aeeb71884a6b3919fc0c2d
89fccb6aec70180b460668589f3c998ea1ef9964
/sdk/python/test/test_v1_replica_spec.py
34efefeb4e73eb5f79143d56a268096bce5608af
[ "Apache-2.0" ]
permissive
caicloud/tf-operator
1bcefa329a2a5cf2323fad4b997666c703fe35ca
efe60f92b5fb41e66f6ee5a5c16103c9073aeba5
refs/heads/master
2021-06-07T23:07:25.881896
2020-12-23T10:40:45
2020-12-23T10:40:51
226,273,057
2
1
Apache-2.0
2021-01-11T09:05:30
2019-12-06T07:40:34
Jsonnet
UTF-8
Python
false
false
1,418
py
# Copyright 2019 kubeflow.org. # # 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,...
[ "k8s-ci-robot@users.noreply.github.com" ]
k8s-ci-robot@users.noreply.github.com
b56e2f7a99fa117d8882e7e770ab04b932506670
99668f081f346cb81619fd07267236ed433d7bce
/ykdl/extractors/tdorig.py
1f9a43d0f64dafa7822978882b87abf9ebad066d
[ "MIT" ]
permissive
Yu1984/ykdl
e7e3f743b74bfac25c2bb762f3c731c4e08c623f
991d4224bb1b18fe5043027ce559a8205505b231
refs/heads/master
2021-01-09T20:54:20.528834
2016-06-14T00:20:58
2016-06-14T00:24:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,102
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from ..extractor import VideoExtractor from ..util.html import get_content, add_header from ..util.match import match1 import json from xml.dom.minidom import parseString class TDorig(VideoExtractor): name = u"土豆原创 (tudou)" def prepare(self): add_header...
[ "zhangn1985@gmail.com" ]
zhangn1985@gmail.com
0670de20cbca7f53774e03ecf5d7e251be9243f7
eee6dd18897d3118f41cb5e6f93f830e06fbfe2f
/venv/lib/python3.6/site-packages/numpy/distutils/__init__.py
0a9a5bcd74a82a5bf16d9ed8c3b795bd418eea29
[]
no_license
georgeosodo/ml
2148ecd192ce3d9750951715c9f2bfe041df056a
48fba92263e9295e9e14697ec00dca35c94d0af0
refs/heads/master
2020-03-14T11:39:58.475364
2018-04-30T13:13:01
2018-04-30T13:13:01
131,595,044
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
import sys from .__version__ import version as __version__ # Must import local ccompiler ASAP in order to get # customized CCompiler.spawn effective. from . import ccompiler from . import unixccompiler from .info import __doc__ from .npy_pkg_config import * # If numpy is installed, add distutils.test() try: fr...
[ "georgeosodo2010@gmail.com" ]
georgeosodo2010@gmail.com