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
defc4662ad24bac7f0c94489f4d8762a7b00ea29
be7bb6d0cbdb27d3ff72830dc9cce41b170b27fe
/0x08-python-more_classes/7-rectangle.py
07b740b4b98861329278958ae69a395ba2671045
[]
no_license
camagar/holbertonschool-higher_level_programming
21a8e7c2a2ad07c694c5443e174bb70502f910c2
97dd2fade6fb64ac7d9c52e412c0b8c1b8dfc3de
refs/heads/master
2023-04-07T21:38:00.071687
2021-04-14T02:11:42
2021-04-14T02:11:42
291,889,478
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
#!/usr/bin/python3 """create a class""" class Rectangle(object): """define the rectangle class""" number_of_instances = 0 print_symbol = "#" def __init__(self, width=0, height=0): self.width = width self.height = height Rectangle.number_of_instances += 1 @property de...
[ "mauriciogrestrepo@gmail.com" ]
mauriciogrestrepo@gmail.com
4ca2f6e5a50c697732e41ef7847d7a9e32d0c8ef
d83fde3c891f44014f5339572dc72ebf62c38663
/_bin/google-cloud-sdk/.install/.backup/lib/surface/bigtable/clusters/list.py
22a4d818ffea8110f2f7395f31ce3f059c5b9a3d
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
gyaresu/dotfiles
047cc3ca70f4b405ba272856c69ee491a79d2ebe
e5e533b3a081b42e9492b228f308f6833b670cfe
refs/heads/master
2022-11-24T01:12:49.435037
2022-11-01T16:58:13
2022-11-01T16:58:13
17,139,657
1
1
null
2020-07-25T14:11:43
2014-02-24T14:59:59
Python
UTF-8
Python
false
false
2,944
py
# Copyright 2016 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 required by applicable law or ag...
[ "me@gareth.codes" ]
me@gareth.codes
a109f4af2496f8cf2193422014e3bebe1bfb2884
efd81a5e287a398aaa5333e949d6ca40b1544053
/config/52_niak_centrality/00_gen_group_mask.py
0070a89bd229cbbe1bfd58a95fbcfb6571a9160d
[]
no_license
fitrialif/abide-1
82d80bf52cd9b36072985a1ddeacfb325791566e
9ccc45f612a58dbc3cf5fa3b70c41bcfeabd8ddc
refs/heads/master
2020-04-25T15:13:22.974634
2014-03-10T18:18:42
2014-03-10T18:18:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,892
py
#!/usr/bin/env python from __future__ import print_function import os, yaml from os import path as op def run(cmd): print(cmd) os.system(cmd) # First read in a quick pack file with all the paths fn = "/home2/data/Projects/ABIDE_Initiative/CPAC/abide/config/50_niak/quick_pack_run1_nofilt_noglobal.yml" s...
[ "czarrar@gmail.com" ]
czarrar@gmail.com
1a084933a4396b2d4ac47a77e5b0c1463ab35b6f
286a49d0360ee2eb718dd9a496be88555cef3227
/229. 求众数 II.py
feeac888d4a69cfbebe04caeb6b8e78a73040e78
[]
no_license
NaiveteYaYa/data-structrue
0618ab6bb7accc99c40e39a3ca60bbc0a9723c2f
a376863c1a8e007efafd5c1ed84929a80321b1b9
refs/heads/master
2023-07-02T03:15:33.523855
2021-08-14T02:02:07
2021-08-14T02:02:07
395,857,543
0
0
null
null
null
null
UTF-8
Python
false
false
3,043
py
# -*- coding: utf-8 -*- # @Time : 2020/4/2 14:20 # @Author : WuxieYaYa """ 给定一个大小为 n 的数组,找出其中所有出现超过 ⌊ n/3 ⌋ 次的元素。 说明: 要求算法的时间复杂度为 O(n),空间复杂度为 O(1)。 示例 1: 输入: [3,2,3] 输出: [3] 示例 2: 输入: [1,1,1,3,3,2,2,2] 输出: [1,2] 链接:https://leetcode-cn.com/problems/majority-element-ii 摩尔投票法的简单理解 与169. 多数元素的两点区别: “多数”是指超过n...
[ "jgm247878528@.qq.com" ]
jgm247878528@.qq.com
9b4bfa3a8c824efe83f17773632977134e891853
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/40/usersdata/68/18502/submittedfiles/main.py
9b3141f2cb1df838fab5b35110951b9ec577eca6
[]
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
1,041
py
# -*- coding: utf-8 -*- from __future__ import division import funcoes #COMECE AQUI def fatorial (m): m_fat=1 for i in range (2,m+1,1): m_fat=m_fat * i return m_fat m=int(input('Digite m:')) e=input('Digite o epsilon para o cosseno:') #DOUBLE CALCULA_VALOR_ABSOLUTO: if m<0: m...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5e8e3c2e021324492b3bddcc3682d341a0a778d6
4946fa19e840aafb7b3ed4ae159764af44c0ff34
/pages/urls.py
fd2b01a536ecda7eb1db9d3615cd50bf4701a964
[]
no_license
palmman/pedshop
c804be2fa8d1a7ce49c86c433a9bb00731146811
74aa002272e286e220e1e66fb701209ce9a055a6
refs/heads/main
2023-04-18T00:10:59.525763
2021-04-28T05:51:38
2021-04-28T05:51:38
362,352,612
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
from django.urls import path from . import views urlpatterns = [ path('', views.home, name='home'), path('shop', views.shop, name='shop'), path('about', views.about, name='about'), path('contact', views.contact, name='contact'), path('<int:id>', views.product, name='product'), path('category/<s...
[ "palm454555@hotmail.com" ]
palm454555@hotmail.com
912d1cc8bfd900d2efb1333cf76904f99bd70ae4
e34cbf5fce48f661d08221c095750240dbd88caf
/python/day42_sqlalchemy/4.0.scoped_session.py
b723853a14b95b576bc03df5c3d1d10b7857df60
[]
no_license
willianflasky/growup
2f994b815b636e2582594375e90dbcb2aa37288e
1db031a901e25bbe13f2d0db767cd28c76ac47f5
refs/heads/master
2023-01-04T13:13:14.191504
2020-01-12T08:11:41
2020-01-12T08:11:41
48,899,304
2
0
null
2022-12-26T19:46:22
2016-01-02T05:04:39
C
UTF-8
Python
false
false
1,295
py
#!/usr/bin/env python # -*-coding:utf8-*- # date: 2018/2/23 上午11:45 __author__ = "willian" import time import threading import datetime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import Column, Integer, String, ForeignKey, UniqueConstraint, Index from sqlalchemy.orm import sessionmaker, r...
[ "284607860@qq.com" ]
284607860@qq.com
2a29dc528d6fecc104cb427a3bf075c0acb82089
c2df9e04adec78e789d1fbdb0711c45e5b9263a7
/venv/Lib/site-packages/matplotlib/patches.py
9cbba65bbb9b007fbf470b1681f317385db6d8e6
[ "MIT", "BSD-3-Clause" ]
permissive
AdarshSai/Final_Project
433009a2f416e894ee3be85cd9317cb8e8df5516
f966834ca72dd232102ed500ef47ef2b3bdbed5b
refs/heads/main
2023-01-23T12:21:41.342074
2020-11-19T22:24:15
2020-11-19T22:24:15
308,898,012
0
1
MIT
2020-11-19T22:24:17
2020-10-31T14:19:58
Python
UTF-8
Python
false
false
153,320
py
import contextlib import functools import inspect import math from numbers import Number import textwrap import numpy as np import matplotlib as mpl from . import artist, cbook, colors, docstring, lines as mlines, transforms from .bezier import ( NonIntersectingPathException, get_cos_sin, get_intersec...
[ "adarshsaig@gmail.com" ]
adarshsaig@gmail.com
1522254803b17907540e7f62b7738bd022e97f1f
ce083128fa87ca86c65059893aa8882d088461f5
/python/sistema-de-contatos/.venv/lib/python2.7/site-packages/toolz/__init__.py
43226df7316aa0545101101540d51ff04f94c368
[]
no_license
marcosptf/fedora
581a446e7f81d8ae9a260eafb92814bc486ee077
359db63ff1fa79696b7bc803bcfa0042bff8ab44
refs/heads/master
2023-04-06T14:53:40.378260
2023-03-26T00:47:52
2023-03-26T00:47:52
26,059,824
6
5
null
2022-12-08T00:43:21
2014-11-01T18:48:56
null
UTF-8
Python
false
false
314
py
from .itertoolz import * from .functoolz import * from .dicttoolz import * from .recipes import * from .compatibility import map, filter from . import sandbox from functools import partial, reduce sorted = sorted # Aliases comp = compose functoolz._sigs.create_signature_registry() __version__ = '0.8.0'
[ "marcosptf@yahoo.com.br" ]
marcosptf@yahoo.com.br
c259f5026a586e6ea50ad764940a3a142ae65202
c7f4387733c95ced53dae485f36618a88f18ea45
/Uri/1061.py
3e14cd823da4b724d092a9f5fbb6458bae7fd7b6
[]
no_license
douradodev/Uri
25d7636b5d5553fafdbd61a38d7c465c4cb79c0c
e879ebca7a87de674d69d739617c4207156ce349
refs/heads/main
2023-06-03T18:53:11.749866
2021-06-22T12:40:11
2021-06-22T12:40:11
379,264,919
0
0
null
null
null
null
UTF-8
Python
false
false
1,080
py
def main(): begin_day = input().split() begin_time= input().split(' : ') end_day = input().split() end_time= input().split(' : ') begin_time = int(begin_time[0]), int(begin_time[1]), int(begin_time[2]) end_time = int(end_time[0]), int(end_time[1]), int(end_time[2]) total_day = 0 total_time = [0,0,0] total_d...
[ "victorhenrique01000@gmail.com" ]
victorhenrique01000@gmail.com
aa29aa9dd6c0b5f6833afd90f618c86c2bebc4b7
0386591b51fdbf5759faef6afb8729b64a3f1589
/layerserver/widgets/creationuser.py
0d14842f70435682d0eb6129fb35fbba132c0939
[ "BSD-3-Clause" ]
permissive
giscube/giscube-admin
1e155402e094eb4db1f7ca260a8d1402e27a31df
4ce285a6301f59a8e48ecf78d58ef83c3827b5e0
refs/heads/main
2023-07-11T17:23:56.531443
2023-02-06T15:12:31
2023-02-06T15:12:31
94,087,469
7
1
BSD-3-Clause
2023-07-07T13:22:09
2017-06-12T11:12:56
Python
UTF-8
Python
false
false
371
py
from .base import BaseWidget class CreationUserWidget(BaseWidget): base_type = 'string' @staticmethod def create(request, validated_data, widget): validated_data[widget['name']] = request.user.username @staticmethod def is_valid(cleaned_data): if not cleaned_data['readonly']: ...
[ "abusquets@gmail.com" ]
abusquets@gmail.com
757ad5797b4182e0b1dc39f8fd424e66c7e6df6b
23307f8e889f232724756bb26b1def1f0ba3323b
/fairseq/tasks/speech_to_text.py
9388047a5e92e1c66236022de664b0480b9862be
[]
no_license
krisjeong/fairseq_data
9395cb574d91147c95b6f08eecd814e4cb2fdad8
f29e7dae3c2be3a908e795bfc952cc845b80280d
refs/heads/master
2023-07-12T22:21:22.349970
2021-08-18T06:20:11
2021-08-18T06:20:11
397,152,122
0
0
null
null
null
null
UTF-8
Python
false
false
5,214
py
# Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import logging import os.path as op from argparse import Namespace from fairseq.data import Dictionary, encoders from fairseq.data....
[ "krisjeong00@gmail.com" ]
krisjeong00@gmail.com
43c06f8278a5366020f9d1faef6d11fbe0df03ae
82ebc6142f7044f8e908ffd6b2dc9e699191fd36
/users/serializers.py
a7c000728c4688b5ce63c1f4c258ca68ee3a3d0d
[]
no_license
32dantey/shopbuild
4f775209e5b320364a8a845583c0d3c77f9844ee
745b6cf73c8da52ed93b8bfe49055624dfa0aea2
refs/heads/master
2023-08-25T17:29:23.470994
2021-11-14T14:17:05
2021-11-14T14:17:05
427,917,564
0
0
null
null
null
null
UTF-8
Python
false
false
225
py
from django.contrib.auth.models import User from rest_framework import serializers class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ['username', 'email', 'is_staff']
[ "root@localhost.localdomain" ]
root@localhost.localdomain
815579dd6d44ae403fc012a4f99d9bb8a607d842
4aec44fe50fa5c40f80c45bfb160d2fa7a98a0a9
/students/jsward/lesson07/assignment/linear.py
f11fc105aa5a6d00df68e15542e76269dc162e4d
[]
no_license
UWPCE-PythonCert-ClassRepos/220-Advanced-Summer-2019
4e51fde79921e6e75f590bef223bc1b0f118ef41
6ffd7b4ab8346076d3b6cc02ca1ebca3bf028697
refs/heads/master
2022-12-13T01:22:01.063023
2019-09-22T10:21:37
2019-09-22T10:21:37
194,944,978
4
18
null
2022-12-08T01:22:40
2019-07-02T22:51:07
HTML
UTF-8
Python
false
false
3,005
py
# They are not, in fact, constants... # pylint: disable=C0103 # pylint: disable=W0703 """ Lesson 7: Linear Relational concept Mongo DB equivalent Database Database Tables Collections Rows Documents Index Index """ import cProfile import csv import datetime import logging i...
[ "james@Jamess-MacBook-Pro.local" ]
james@Jamess-MacBook-Pro.local
fe721a5d634410d1e7eae1f657adedf3d2a421f4
c4c159a21d2f1ea0d7dfaa965aeff01c8ef70dce
/flask/flaskenv/Lib/site-packages/tensorflow/python/keras/preprocessing/image.py
f2a6b9eb3dcc6002673a3e3a13516299983498ad
[]
no_license
AhsonAslam/webapi
54cf7466aac4685da1105f9fb84c686e38f92121
1b2bfa4614e7afdc57c9210b0674506ea70b20b5
refs/heads/master
2020-07-27T06:05:36.057953
2019-09-17T06:35:33
2019-09-17T06:35:33
208,895,450
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
version https://git-lfs.github.com/spec/v1 oid sha256:dd9edf94ef6b932c96aa6c9f40e3c19503ccfed4c5a10d0871bd11259eafd357 size 21747
[ "github@cuba12345" ]
github@cuba12345
bc99ce65235a3ffa79223116c532a78ee3ef3d86
4273f162abb12ef1939271c2aabee9547ac6afee
/studio_usd_pipe/resource/push/maya/uv/extractor_thumbnail.py
8f6da8661609560730437f9504ee9bfc291638a7
[]
no_license
xiyuhao/subins_tutorials
2717c47aac0adde099432e5dfd231606bf45a266
acbe4fe16483397e9b0f8e240ca23bdca652b92d
refs/heads/master
2023-07-28T13:42:41.445399
2021-09-12T11:02:37
2021-09-12T11:02:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
876
py
NAME = 'Extract UV Thumbnail' ORDER = 1 VALID = True TYPE = 'extractor' KEY = 'uv_thumbnail' OWNER = 'Subin Gopi' COMMENTS = 'To create uv thumbnail file' VERSION = '0.0.0' MODIFIED = 'April 19, 2020' def execute(output_path=None, **kwargs): import os from studio_usd_pipe.core import common from studio_us...
[ "subing85@gmail.com" ]
subing85@gmail.com
fa350fdb3e72dd4791fd8ec26ddfb37adacabbf3
c84a3895e6fdcaff5a9f97abe9c3efbecbad535f
/trader/connector/bitmex/trader.py
8a25600d285d7b0035c8a73b3cceaf9e557e151c
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
cal97g/siis
5a171eb34dd3f7ae6e19d8065ff1e2f8b6251319
adc06e48e5df6ffd7bed6ee6b79d0aa3cfe80e0d
refs/heads/master
2020-07-23T18:11:57.267225
2019-09-05T01:00:37
2019-09-05T01:00:37
207,663,001
0
1
null
2019-09-10T21:05:25
2019-09-10T21:05:25
null
UTF-8
Python
false
false
22,885
py
# @date 2018-08-21 # @author Frederic SCHERMA # @license Copyright (c) 2018 Dream Overflow # Trader/autotrader connector for bitmex.com import time import base64 import uuid import copy import requests from datetime import datetime from notifier.notifiable import Notifiable from notifier.signal import Signal from t...
[ "frederic.scherma@gmail.com" ]
frederic.scherma@gmail.com
967dc456ae8754460e5768a8eb7b68d269bb5fd9
d4bbbb07826fd11d071624761c3a452e431cec8f
/models/process_data.py
398631223021b2ea0a47c8b791f81c6922aaaaa5
[ "MIT" ]
permissive
planetnest/epl-prediction
ecb88fb1b9fbea8d93637a547fb559b004f29bb7
ffd4eb626d18829df49e07663ef74cd3735ca9d3
refs/heads/master
2021-07-06T19:07:14.132246
2017-09-27T23:45:15
2017-09-27T23:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,335
py
import os.path import pandas as pd import numpy as np from sklearn.model_selection import train_test_split from .preprocess import process_data DATASET_DIR = '../datasets/' DATA_FILES = ['epl-2015-2016.csv', 'epl-2016-2017.csv', 'epl-2017-2018.csv'] CURR_SEASON_DATA = os.path.join(DATASET_DIR, DATA_FILES[-1]) USELESS_...
[ "javafolabi@gmail.com" ]
javafolabi@gmail.com
b68be730fe886ebea5a66fb439c78439510f4794
e7a46c0f63e7595a533ab58a7db07b1c12ef6092
/begpyprog/integr.py
6504b69f2a91ac9fcea08095da70da492eb0ce9f
[]
no_license
sockduct/Books
263ab81b72e39a11acc83b698c76b41104d8bd20
954039ff4abf51bbfec05944e5175cefe232a68f
refs/heads/master
2021-01-10T03:37:47.340931
2016-10-29T12:34:58
2016-10-29T12:34:58
55,922,532
0
1
null
2016-10-29T12:34:59
2016-04-10T21:06:00
HTML
UTF-8
Python
false
false
970
py
#################################################################################################### ''' Simple program to convert a string of integers separated by commas into an integer list ''' # Imports import sys from BadInput import BadInput __version__ = '0.0.1' def parse(input): curlst = input.replace(' ...
[ "james.r.small@outlook.com" ]
james.r.small@outlook.com
94dbeb2675acafae474f9db4dcc4d4115a25d94f
ecae7275fd43ec93ca5771083e05ae864685faf9
/list/list_multiplication.py
e7375b7967c1e5ea8c97cb6557e6b9a2c5eae460
[]
no_license
shamoldas/pythonBasic
104ca8d50099c2f511802db1f161f6d050f879cc
3a7252a15f6d829f55700ec2ff7f7d153f3ec663
refs/heads/main
2023-01-09T06:38:55.357476
2020-11-11T12:27:31
2020-11-11T12:27:31
311,960,017
0
0
null
null
null
null
UTF-8
Python
false
false
97
py
import numpy as np a = [1,2,3,4] b = [2,3,4,5] d=a*b print(d) c=np.multiply(a,b) print(c)
[ "noreply@github.com" ]
shamoldas.noreply@github.com
8bf6f30a0b6898775a955c99c1135e2fb41fbb1c
9f46d82b1bbb561d663fbdbaa14331b9193fb18d
/buses/migrations/0002_auto_20200903_0438.py
eba7853d4e57eefbd553a172fc37a6f95240605f
[]
no_license
ziaurjoy/simple-class-based
32012b56bb727ca5891d3938b024cdda4c4f30c8
9fd881d83e2e573c7974caeefc89bb7b03a78a05
refs/heads/master
2022-12-07T23:50:03.114676
2020-09-07T14:11:06
2020-09-07T14:11:06
293,546,616
0
0
null
null
null
null
UTF-8
Python
false
false
816
py
# Generated by Django 3.1 on 2020-09-03 04:38 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('buses', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='bussescompany', ...
[ "ziaurjoy802@gmail.com" ]
ziaurjoy802@gmail.com
e411a3f2ff7be97ff72496885a1285324ae4b0cd
b40d1a26ea04a19ec0da7bf55db84b7ee36cc898
/leetcode.com/python/895_Maximum_Frequency_Stack.py
b083d8b11400faa43d9540631aac9d70eb9f35a3
[ "MIT" ]
permissive
partho-maple/coding-interview-gym
5e8af7d404c28d4b9b52e5cffc540fd51d8025cf
20ae1a048eddbc9a32c819cf61258e2b57572f05
refs/heads/master
2022-09-11T16:36:01.702626
2022-03-14T08:39:47
2022-03-14T08:39:47
69,802,909
862
438
MIT
2022-08-18T06:42:46
2016-10-02T14:51:31
Python
UTF-8
Python
false
false
797
py
from collections import defaultdict import heapq class FreqStack(object): def __init__(self): self.counter = defaultdict(int) self.stackIdx = -1 # initially the stack is empty self.maxHeap = [] def push(self, x): """ :type x: int :rtype: None """ ...
[ "partho.biswas@aurea.com" ]
partho.biswas@aurea.com
7c5f10be6bb29de0efad4fe84a70e7dd2449fd64
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D01B/MSCONSD01BUN.py
eb4f55884635f28f92c53726be35f53eb089349d
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
1,763
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD01BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 1, MAX: 9}, {ID: 'CUX', MIN: 0, MAX: 9}, {ID: 'RFF'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
6f5980258752082c35aaff63112e57d84ac32d19
21fec19cb8f74885cf8b59e7b07d1cd659735f6c
/chapter_13/getone-urllib.py
879783dfb46bea3276181cea113fd47ade1bf7c0
[ "MIT" ]
permissive
bimri/programming_python
ec77e875b9393179fdfb6cbc792b3babbdf7efbe
ba52ccd18b9b4e6c5387bf4032f381ae816b5e77
refs/heads/master
2023-09-02T12:21:11.898011
2021-10-26T22:32:34
2021-10-26T22:32:34
394,783,307
0
0
null
null
null
null
UTF-8
Python
false
false
2,020
py
"Using urllib to Download Files" ''' Python urllib.request module: given an Internet address string—a URL, or Universal Resource Locator—this module opens a connection to the specified server and returns a file-like object ready to be read with normal file object method calls (e.g., read, readline). We can use such a ...
[ "bimri@outlook.com" ]
bimri@outlook.com
1d4682439a3ec9cebb7221e6ed9577f7be10a86c
41cd61226440c7f0a6fcf77f7e4f65e65c28aaa1
/wg_auto/a1_inject/sql_injection/intro.py
2a1bcbc73989354939d03940f43f8d0cb3c7b42d
[]
no_license
xx-zhang/webgoat_auto
6d99d98148e180b6eacf46c5d2b4de81b552fb1e
8d47d6af68530940987a272224e9c21f870bf402
refs/heads/master
2023-04-03T22:24:54.675321
2021-04-16T09:23:30
2021-04-16T09:23:30
358,497,165
0
0
null
null
null
null
UTF-8
Python
false
false
1,860
py
# coding:utf-8 from wg_auto.base import request_wrap def sql2_test(q="select department from employees where first_name='Bob' and last_name='Franco'"): __url = '/SqlInjection/attack2' return request_wrap(method='post', url=__url, data={"query": q}) def sql3_test(q="update employees set department='Sales' wh...
[ "you@example.com" ]
you@example.com
a40a61da4b281943142d8d4709eff02cb23d9dca
2ca3b6cc4f9145438e283d4e055e55fff550ec90
/flask/hello.py
68f2d487bdd7eac37fde1aad5bf11e7ee96000bc
[]
no_license
manuck/python_practice
e39a7e3be41608dd9bf8a7bdb9228a22ceb652b6
7adbefbe616f305430c75e896d817ec8e7f938d3
refs/heads/master
2020-04-12T02:45:06.427693
2018-12-21T01:15:31
2018-12-21T01:15:31
162,252,332
0
0
null
null
null
null
UTF-8
Python
false
false
1,053
py
from flask import Flask, render_template import datetime import random app = Flask(__name__) @app.route("/") def hello(): return render_template("index.html") @app.route("/ssafy") def ssafy(): return "방가방가룽~" @app.route("/isitchristmas") def christmas(): if datetime.datetime.month == 12: if datet...
[ "snc9000@naver.com" ]
snc9000@naver.com
db619209d99e9c11e7884096814e36d0ecfb565e
bdfd3937f6222157d436dbdc7d7efad2b1b3f8f6
/appengine/logging/writing_logs/main_test.py
339caa4ef66206268f60e87b58a9339a9577a20d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
b-fong/python-docs-samples
81f089db6f4378cb7cfd278d3c8f9fb198aeb504
493f850306f7860a85948365ba4ee70500bec0d6
refs/heads/master
2020-12-25T08:37:37.864777
2016-02-17T22:54:50
2016-02-17T22:54:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
# Copyright 2015 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 required by applicable law or a...
[ "jon.wayne.parrott@gmail.com" ]
jon.wayne.parrott@gmail.com
c531e8963a8bdd1fd5685361f3d120b112d7931c
f0acc407f95b758fa734f5ed5f6506a8b20d2706
/docs_src/parameter_types/bool/tutorial004_an.py
1cb42fcc86f69fbffbf6fb0cd4576c958c05ba79
[ "MIT" ]
permissive
shnups/typer
ede6d86c5b169e8caa7823b0552f8531ed041f84
e0b207f3f577cb2e59fdd60da39686a2f5ed0e77
refs/heads/master
2023-08-31T01:54:21.168547
2023-08-01T09:36:09
2023-08-01T09:36:09
313,047,732
0
0
MIT
2020-11-15T14:22:06
2020-11-15T14:22:05
null
UTF-8
Python
false
false
276
py
import typer from typing_extensions import Annotated def main(in_prod: Annotated[bool, typer.Option(" /--demo", " /-d")] = True): if in_prod: print("Running in production") else: print("Running demo") if __name__ == "__main__": typer.run(main)
[ "noreply@github.com" ]
shnups.noreply@github.com
66034e4237f03e3feea6cf0c1cb3a5d2f84b4f3e
7f81c7b4110640f73b769b6a41e9ef3ae2495611
/bert_multitask_learning/__init__.py
e9e702d00da1d9e2c6bc914b6a59975fe2a14257
[ "Apache-2.0" ]
permissive
ml2457/bert-multitask-learning
26464c6d1ad94e7aeebd93d02f2604298ebde5db
993c1e6ca279e90e12ce4a684260219b18bbea70
refs/heads/master
2023-02-10T14:05:27.643723
2021-01-10T15:22:11
2021-01-10T15:22:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
__version__ = "0.6.10" from .read_write_tfrecord import * from .input_fn import * from .model_fn import * from .params import * from .top import * from .run_bert_multitask import * from .utils import * from .preproc_decorator import preprocessing_fn from . import predefined_problems from .special_tokens import *
[ "junpang.yip@gmail.com" ]
junpang.yip@gmail.com
f78963add4b60ef66c7ce35ce18852ad3a6e9be9
33daf4c69a8f46d7ad8d93eaa73fc60e36fd022d
/gestion/asignaciones/20150908-todos-cuerpos/procesar_tabla.py~
6817418317f466cb6fa5e7e4a9ff2c5abf0fe429
[]
no_license
OscarMaestre/estructurado
81cfc9412b77d5015be1bebf66785c357746d8e2
7649747e48128cb9c17dee937574e9490fcc9087
refs/heads/master
2021-01-10T15:05:47.695362
2016-04-28T07:30:50
2016-04-28T07:30:50
53,923,820
0
0
null
null
null
null
UTF-8
Python
false
false
4,671
#!/usr/bin/env python3 import re import sys import os NUM_SUBDIRECTORIOS_ANTERIORES=1 SEPARADOR=os.sep RUTA_PAQUETE_BD=(".."+SEPARADOR) * NUM_SUBDIRECTORIOS_ANTERIORES DIRECTORIO= RUTA_PAQUETE_BD + "db_nombramientos" #aqui = os.path.dirname(os.path.abspath(__file__)) sys.path.insert(0, DIRECTORIO) import GestorDB...
[ "profesor.oscar.gomez@gmail.com" ]
profesor.oscar.gomez@gmail.com
233ad6379183648285b533d82dfc4da333fbcf94
1b2a1f807b98034567e936b9b5c76c2fc89b908a
/adj_tf/models/marian/tokenization_marian.py
2eec924e0878443bd77b620a91f78c0f333ee2ec
[]
no_license
Adreambottle/Transformer2GP
48c955d8eb155caef4c24a3c03ee3aa9ab0bd3da
5ba1a5005c2ad21066304cdeb1d7c2587c8191da
refs/heads/main
2023-07-07T14:17:51.673437
2021-08-17T14:14:56
2021-08-17T14:14:56
397,279,894
0
0
null
null
null
null
UTF-8
Python
false
false
10,967
py
# Copyright 2020 The HuggingFace Team. 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 applicabl...
[ "adreambottle@outlook.com" ]
adreambottle@outlook.com
6d00fe5a1897d38b38e75686b9f721e7d3b4fd16
fc778e05df051a0773d80f867b1c84542b0a4b24
/lab/lab06/tests/q114.py
aaa2d192866854e477170552bc1f816f32a05d9d
[]
no_license
yukgu/data-6
d873e7231058b01365b278edc7ded4afade05b55
e96c0d864f58b7041dfb0820d3e469927eac97b0
refs/heads/master
2022-11-28T18:48:17.515825
2020-08-12T22:55:48
2020-08-12T22:55:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
test = { "name": "Question 1.1.4.", "points": 1, "hidden": False, "suites": [ { "cases": [ { "code": r""" >>> import numpy as np >>> np.isclose(berkeley_avg_in_thousands, 782.37) True ...
[ "42158157+castroian@users.noreply.github.com" ]
42158157+castroian@users.noreply.github.com
3ef598f244237952f1ffa69ac0f468555824db8b
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/matrix-org_synapse/synapse-master/synapse/storage/registration.py
26be6060c3be0523d8fdc939263fa610b948502c
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
17,431
py
# -*- coding: utf-8 -*- # Copyright 2014 - 2016 OpenMarket Ltd # # 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 applic...
[ "659338505@qq.com" ]
659338505@qq.com
e9e15aabeeb19d067d2268bae9dc0e125bd40664
0286c905b0b2d7e956940524aa65668c3e4347fd
/driver/python-client.py
12db4b64292961ae24c1aeb85ba208e50c97dfb8
[]
no_license
pcrews/libra-integration-tests
44e4597805d27423cf22a8c3f206305248d87766
0f3ee771512d2e859fe52bbcfd1d9f25d02f89b5
refs/heads/master
2021-01-23T07:26:51.001891
2014-05-06T18:57:00
2014-05-06T18:57:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,365
py
# Copyright 2012 Hewlett-Packard Development Company, L.P. # # 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 applicabl...
[ "gleebix@gmail.com" ]
gleebix@gmail.com
421594bcaed8aa3f30b6523167db2e27b5eda17b
42c48f3178a48b4a2a0aded547770027bf976350
/google/ads/google_ads/v4/proto/errors/extension_setting_error_pb2.py
be7216100728c18ba162b3213ffa8057ae1e1e1b
[ "Apache-2.0" ]
permissive
fiboknacky/google-ads-python
e989464a85f28baca1f28d133994c73759e8b4d6
a5b6cede64f4d9912ae6ad26927a54e40448c9fe
refs/heads/master
2021-08-07T20:18:48.618563
2020-12-11T09:21:29
2020-12-11T09:21:29
229,712,514
0
0
Apache-2.0
2019-12-23T08:44:49
2019-12-23T08:44:49
null
UTF-8
Python
false
true
17,018
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v4/proto/errors/extension_setting_error.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobu...
[ "noreply@github.com" ]
fiboknacky.noreply@github.com
a6f5582fc0f55ce1b8816e501641d8eb3f2f9ea4
946c04aa741b557daf56eac46385a613ac5e0cf2
/PP4E/System/Processes/multi1.py
2a10bd15027c964d91e4c4a8242d98ae4a2739d0
[]
no_license
Ozavr/lutz
513ba0ca91d7188b2d28f649efe454603121106f
0ee96b5859c81ab04e8d2a3523a17fff089f12f2
refs/heads/master
2021-01-02T23:18:16.680021
2018-09-04T22:27:35
2018-09-04T22:27:35
99,497,282
0
0
null
null
null
null
UTF-8
Python
false
false
1,076
py
""" основы применения пакета multiprocessing: класс Process по своему действию напоминает класс threading.Thread, но выполняет функцию в отдельном процессе, а не в потоке; для синхронизации можно использовать блокировки, например, для вывода текста; запускает новый процесс интерпретатора в Windows, порождает дочерн...
[ "ozavr@me.com" ]
ozavr@me.com
f90a330761a43f328e206363dca801aabefd20f4
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-dysmsapi/aliyunsdkdysmsapi/request/v20170525/AddSmsSignRequest.py
c3e037abfab8fb2d6f9075b66dd5a949c573ec10
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
2,870
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
ad8838d4134389b893ad78037c7bacb4573923a7
450c45e780332f56ea339a83891f0c12d6120794
/google/ads/google_ads/v2/services/age_range_view_service_client.py
e1aee0f95f28e5e679c2b9a8b0e6278f3c17cfec
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
akaashhazarika/google-ads-python
7766370cc526190c962dc9ff806520d459b05c25
25b43aa616020ad7dfa55b90fa236a29cf97d45a
refs/heads/master
2020-06-07T08:56:21.533323
2019-06-27T15:26:49
2019-06-27T15:26:49
191,448,135
0
0
Apache-2.0
2019-06-11T20:57:04
2019-06-11T20:57:04
null
UTF-8
Python
false
false
9,812
py
# -*- coding: utf-8 -*- # # Copyright 2019 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
[ "noreply@github.com" ]
akaashhazarika.noreply@github.com
eaa3af01316e70493317fc5e190e308304501276
5949db57f8de8278359f45fe64395f44017671bc
/blog/migrations/0002_auto_20180122_0552.py
fdc4f73978db4766bafa256495e6be4132467df4
[]
no_license
andrewidya/personal_blog
71ed6b83ac3c594fa40b9fb40145af3e37dd3079
c64df84f65dafd03ac05cf222fc113416e6926d5
refs/heads/master
2020-04-08T16:39:30.559072
2018-11-28T16:20:48
2018-11-28T16:20:48
159,528,638
0
0
null
null
null
null
UTF-8
Python
false
false
1,244
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.8 on 2018-01-22 05:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import modelcluster.fields class Migration(migrations.Migration): dependencies = [ ('blog', '0001_initial'), ] ...
[ "andrywidyaputra@gmail.com" ]
andrywidyaputra@gmail.com
f419cc7d65322b77ae227506168498401d3d7c01
a38180435ac5786185c0aa48891c0aed0ab9d72b
/S4/S4 Decompiler/decompyle3/semantics/make_function36.py
602936bbf3b0f37273e472b635dbfb0fc03dfe5d
[ "CC-BY-4.0" ]
permissive
NeonOcean/Environment
e190b6b09dd5dbecba0a38c497c01f84c6f9dc7d
ca658cf66e8fd6866c22a4a0136d415705b36d26
refs/heads/master
2022-12-03T13:17:00.100440
2021-01-09T23:26:55
2021-01-09T23:26:55
178,096,522
1
1
CC-BY-4.0
2022-11-22T20:24:59
2019-03-28T00:38:17
Python
UTF-8
Python
false
false
12,326
py
# Copyright (c) 2019-2020 by Rocky Bernstein # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is...
[ "40919586+NeonOcean@users.noreply.github.com" ]
40919586+NeonOcean@users.noreply.github.com
c90f2f2b47255a6b5eea2c2bb753ceb5989e6fe0
51fd69cc133a4f5eba61c90dbc87ff6531445840
/ib/ib_gateway.py
d826f27ac7409133e3d98ecf5fef22fce4fd8ed7
[]
no_license
risecloud/pyktrader2
36c7a8b3730fb6e900df488e67d78b453b14baf0
0d012bae464969dd893b7bf87ae689efa2d0bccc
refs/heads/master
2021-04-28T14:19:54.616928
2018-02-13T17:56:26
2018-02-13T17:56:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,983
py
# encoding: UTF-8 ''' Interactive Brokers的gateway接入,已经替换为vn.ib封装。 注意事项: 1. ib api只能获取和操作当前连接后下的单,并且每次重启程序后,之前下的单子收不到 2. ib api的成交也只会推送当前连接后的成交 3. ib api的持仓和账户更新可以订阅成主推模式,因此qryAccount和qryPosition就用不到了 4. 目前只支持股票和期货交易,ib api里期权合约的确定是基于Contract对象的多个字段,比较复杂暂时没做 5. 海外市场的交易规则和国内有很多细节上的不同,所以一些字段类型的映射可能不合理,如果发现问题欢迎指出 ''' im...
[ "harvey_wwu@hotmail.com" ]
harvey_wwu@hotmail.com
3c75260b5e4ea95e62b5308d82fca71483ebc612
443d8ce2b7b706236eda935e0cd809c3ed9ddae3
/virtual/bin/gunicorn
ca6b74ade67c3e02d6ea287a95095fbacd1cee42
[ "MIT" ]
permissive
billowbashir/MaNeighba
269db52b506d4954e2907369340c97ce2c3a7a2f
84ee7f86ac471c5449d94bd592adf004b3288823
refs/heads/master
2021-11-21T14:22:14.891877
2020-02-13T09:41:21
2020-02-13T09:41:21
153,802,533
0
0
null
2021-09-08T00:33:53
2018-10-19T15:15:16
Python
UTF-8
Python
false
false
246
#!/home/bashir/MaNeighba/virtual/bin/python # -*- coding: utf-8 -*- import re import sys from gunicorn.app.wsgiapp import run if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run())
[ "billowbashir@gmail.com" ]
billowbashir@gmail.com
f8332b51ff86f76385fbe4be9e2a971f78b0b4df
bb1e0e89fcf1f1ffb61214ddf262ba327dd10757
/plotly_study/graph_objs/choropleth/colorbar/__init__.py
260c248d1ed0c88a620f4f61647a5a35e410ceb2
[ "MIT" ]
permissive
lucasiscovici/plotly_py
ccb8c3ced89a0f7eccf1ae98551fa712460033fe
42ab769febb45fbbe0a3c677dc4306a4f59cea36
refs/heads/master
2020-09-12T05:43:12.363609
2019-12-02T15:13:13
2019-12-02T15:13:13
222,328,180
0
0
null
null
null
null
UTF-8
Python
false
false
25,104
py
from plotly_study.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Title(_BaseTraceHierarchyType): # font # ---- @property def font(self): """ Sets this color bar's title font. Note that the title's font used to be set by the no...
[ "you@example.com" ]
you@example.com
4e1af43587d5fdb2600cc976d39472607dc4bf30
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/third_party/kubernetes/client/models/v1beta2_replica_set_status.py
0c2f63cef33a6595d25265d9415af4140bce5378
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
8,428
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.14.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re ...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
e47dce9c9c5eed815ffa55ca6d0aed20f77b9a8f
80b2700b6f9940ee672f42124b2cb8a81836426e
/cgi/cgi.cgi
5d4924622945cb130546139be58763ec78e549d9
[ "Apache-2.0" ]
permissive
Vayne-Lover/Python
6c1ac5c0d62ecdf9e3cf68d3e659d49907bb29d4
79cfe3d6971a7901d420ba5a7f52bf4c68f6a1c1
refs/heads/master
2020-04-12T08:46:13.128989
2017-04-21T06:36:40
2017-04-21T06:36:40
63,305,306
1
0
null
null
null
null
UTF-8
Python
false
false
335
cgi
#!/usr/local/bin/python import cgi form=cgi.FieldStirage() name=form.getvalue('name','world') print ''' <html> <head> <title>Page</title> </head> <body> <h1>Hello,%s</h1> <form action='cgi.cgi'> Change name<input type='text' name='name' /> <input type='submit'/> </form> </body> </...
[ "406378362@qq.com" ]
406378362@qq.com
6a73d876aea17be4a376a5907de6235230844d3e
1a4353a45cafed804c77bc40e843b4ad463c2a0e
/examples/homogenization/linear_homogenization.py
1682971d9827a59e1fc33d4bc53001c774b6fcc9
[ "BSD-3-Clause" ]
permissive
shrutig/sfepy
9b509866d76db5af9df9f20467aa6e4b23600534
87523c5a295e5df1dbb4a522b600c1ed9ca47dc7
refs/heads/master
2021-01-15T09:28:55.804598
2014-01-24T14:28:28
2014-01-30T16:25:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,370
py
# 04.08.2009 #! #! Homogenization: Linear Elasticity #! ================================= #$ \centerline{Example input file, \today} #! Homogenization of heterogeneous linear elastic material import sfepy.fem.periodic as per from sfepy.mechanics.matcoefs import stiffness_from_youngpoisson from sfepy.homogenization.ut...
[ "cimrman3@ntc.zcu.cz" ]
cimrman3@ntc.zcu.cz
7b96f4da183d09e021d9952a0dcf54bf9f5af32f
c898af4efbfaeba8fa91d86bc97f7f6ee2381564
/easy/561. Array Partition I/test.py
e9fa5a72142fdad8d3321c524413f6509e273cb4
[]
no_license
weiweiECNU/leetcode
5941300131e41614ccc043cc94ba5c03e4342165
1c817338f605f84acb9126a002c571dc5e28a4f7
refs/heads/master
2020-06-20T18:33:28.157763
2019-08-20T07:52:14
2019-08-20T07:52:14
197,209,417
0
0
null
null
null
null
UTF-8
Python
false
false
423
py
# https://leetcode.com/problems/array-partition-i/ # 比较大的数字一定要和比较大的数字在一起才行,否则括号内的小的结果是较小的数字。 # 所以先排序,排序后的结果找每个组中数据的第一个数字即可。 # 时间复杂度是O(NlogN),空间复杂度是O(1). class Solution: def arrayPairSum(self, nums: List[int]) -> int: return sum(sorted(nums)[::2])
[ "weiweiwill995@gmail.com" ]
weiweiwill995@gmail.com
e05664ff87e83f760833b263ea27a3411e4d24e3
ca446c7e21cd1fb47a787a534fe308203196ef0d
/followthemoney/types/number.py
4072e01a3017fa934f2ce8208185ed2b55969689
[ "MIT" ]
permissive
critocrito/followthemoney
1a37c277408af504a5c799714e53e0f0bd709f68
bcad19aedc3b193862018a3013a66869e115edff
refs/heads/master
2020-06-12T09:56:13.867937
2019-06-28T08:23:54
2019-06-28T08:23:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from followthemoney.types.common import PropertyType from followthemoney.util import defer as _ class NumberType(PropertyType): name = 'number' label = _('Number') plural = _('Numbers') matchable = False
[ "friedrich@pudo.org" ]
friedrich@pudo.org
5554901defcf910a7eb1e706f39e14f5d12a7f72
5dccb539427d6bd98b4b4eab38b524dc930229c7
/monai/apps/pathology/transforms/post/array.py
5289dc101cbcd35a1374ebbfa721ba2ba02f1d52
[ "Apache-2.0" ]
permissive
Warvito/MONAI
794aca516e6b3ed365ee912164743a3696735cf3
8eceabf281ab31ea4bda0ab8a6d2c8da06027e82
refs/heads/dev
2023-04-27T19:07:56.041733
2023-03-27T09:23:53
2023-03-27T09:23:53
512,893,750
0
0
Apache-2.0
2022-08-05T16:51:05
2022-07-11T20:04:47
null
UTF-8
Python
false
false
36,850
py
# Copyright (c) MONAI 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 License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, so...
[ "noreply@github.com" ]
Warvito.noreply@github.com
edd312326d4c73266143456b10802aafd47f2de2
637962e1420d3b86005d0e916bafb5578f1537b2
/gan_training/utils_model_load.py
f32d21c2352efaa1afbea5a78302dfa898252ab1
[]
no_license
TrendingTechnology/GANmemory_LifelongLearning
aae31ec1f8830232f4c336e559a481a54cf8fe7b
264f67c0350271e31335f2fd8fd8b8811045322d
refs/heads/main
2023-03-03T08:25:06.175794
2021-02-10T08:29:48
2021-02-10T08:29:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
36,896
py
import torch import torch.utils.data import torch.utils.data.distributed import torchvision import torchvision.transforms as transforms from collections import OrderedDict def get_parameter_number(net): total_num = sum(p.numel() for p in net.parameters()) trainable_num = sum(p.numel() for p in net.parameters...
[ "noreply@github.com" ]
TrendingTechnology.noreply@github.com
4c8f7e6ae2aeddd5c42226129d42c4cb4aab080a
3ab599127dc2fc89cfee5f3ee3a91168499cb475
/tests/notebooks/print.py
f53c6110196004fd9f0397077b033b4cca94f792
[ "BSD-3-Clause" ]
permissive
maartenbreddels/voila
17dfb39c131ffad4b3b51926214dc71a2e06a964
d3a52abdd34b68bdabdd8f0ae34071711cd16742
refs/heads/master
2022-05-11T05:47:44.843627
2020-09-28T09:58:37
2020-09-28T09:58:37
149,579,689
2
1
NOASSERTION
2020-05-27T07:59:20
2018-09-20T08:50:19
Python
UTF-8
Python
false
false
284
py
# --- # jupyter: # jupytext: # text_representation: # extension: .py # format_name: light # format_version: '1.4' # jupytext_version: 1.2.1 # kernelspec: # display_name: Python 3 # language: python # name: python # --- print('Hi Voilà!')
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
bb3d8a5f150df51b5fdef25b495d0d2462c6e144
aae0461973440174afbf8e75e4ddf0f0c4dd1a9c
/gnu/gnu_slides.py
1a30f50a3ee380b604a8669eeb4d4ef8b8b97991
[]
no_license
behdad/slippy
f81eeac68df39eb0f6a7465effacd7239eb24cbf
5535fe88a785dd75c96171b989f310fcd80e479e
refs/heads/master
2023-08-29T08:48:40.919688
2016-09-27T08:02:01
2016-09-27T08:02:01
15,673,169
20
0
null
2014-01-10T08:09:47
2014-01-06T12:14:35
Python
UTF-8
Python
false
false
5,180
py
#!/usr/bin/python # -*- coding:utf8 -*- slides = [] def slide_add(f, data=None, width=800, height=400): slides.append ((f, data, width, height)) return f import pango def text_slide (l): def s (r): for i in l: yield i for i in range (30): yield '' slide_add (s, data={'align': pango.ALIGN_LEFT}) texts = ...
[ "behdad@behdad.org" ]
behdad@behdad.org
f0b3710c6bf6eebf47cd69db345fc58831d7d39c
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/308/usersdata/295/73012/submittedfiles/ex1.py
d7faface2964c55c9b074fbe6eed286761f20fc3
[]
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
302
py
# -*- coding: utf-8 -*- from __future__ import division a = input('Digite a: ') b = input('Digite b: ') c = input('Digite c: ') #COMECE A PARTIR DAQUI! a = input('Digite a: ') b = input('Digite b: ') c = input('Digite c: ') f = a*(x**2) + b*x + c if DH>0 print("X1 e X2") else: print("SRR")
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
b8664ce8a44166d29e61a75e3ca17132ba423261
76eb17916555462a9219cb7cfea741b2281ace7b
/testbot/urls.py
8b8843e97dfa5a7526faad8d82ac7c207b0cbefc
[ "MIT" ]
permissive
luungoc2005/chatbot_test
6ecabbe507d01418282a883d6ab70eb10130c991
f8c901c9c14a50727a7b514dda1e569c8180b458
refs/heads/master
2021-08-30T13:07:20.132250
2017-11-15T03:35:47
2017-11-15T03:35:47
105,901,223
0
0
null
null
null
null
UTF-8
Python
false
false
229
py
from django.urls import path from . import views urlpatterns = [ # ex: /testbot/ path('', views.index, name='index'), path('examples/', views.examples, name='examples'), path('test/', views.test, name='test'), ]
[ "luungoc2005@gmail.com" ]
luungoc2005@gmail.com
5cac8cdc56b579d7b87c1b9d6a558ed496f54f49
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/7QPHWACcDihT3AM6b_6.py
42998e86441fe6f7df22cf74314d844cef6aab32
[]
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
871
py
""" You are given an input array of bigrams, and an array of words. Write a function that returns `True` if **every single bigram** from this array can be found at least **once** in an array of words. ### Examples can_find(["at", "be", "th", "au"], ["beautiful", "the", "hat"]) ➞ True can_find(["ay", ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
a53d180b2d0604cbcd6624d4c8f734141673ae1d
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/bob/fd662cf898124b46b21e2ca30d117042.py
6281c95b5842337f10d96aec50200b80c8cd2e1d
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
346
py
def hey(input): has_alpha = False has_num = False for i in input: if i.isalpha(): has_alpha = True elif i.isnumeric(): has_num = True if not has_alpha and not has_num: return "Fine. Be that way!" if input.upper() == input and has_alpha: return "Whoa, chill out!" if input[-1] == "?": return "Su...
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
cd9d8b0b39e0e09d7940516635e9a94f971f38fc
7f4886802e83352f37d35509b7775c93c2756105
/accounts/forms.py
db5c1f9a162a945c87a84c42d50cf009988f7614
[]
no_license
JihyeKim0923/lion10
c23a019c3725de2d9f70556993db1ed3e8d6ae2e
2b76dc9290bec6f4d827a625b2f0b1e92c85ed53
refs/heads/master
2020-06-19T02:56:24.746341
2019-07-11T15:40:17
2019-07-11T15:40:17
196,539,639
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django import forms class CreateUserForm(UserCreationForm): email=forms.EmailField(required=True) nickname=forms.CharField(required=True) class Meta: model=User fields=("username","email...
[ "sos13313@naver.com" ]
sos13313@naver.com
369d942517debc6f30b559509854cb06ba1ef9e5
27d0ea837489f68978287e369b60faa57eeb2497
/examples/wifiz.py
9044f15d865520323e139912c9568d0c8210365d
[]
no_license
nimdavtanke/wifi-scripts
9692a4c67d23cc1a7d076d6a41be2bdd6cf4d3ce
83576bcbf62cdfe020b5c2178f9ab177733de1dc
refs/heads/master
2016-08-06T15:20:47.206467
2015-03-28T08:37:16
2015-03-28T08:37:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,227
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- # 802.11 sniffer/wpsig/wpspin/reaver # Credits go to: # # Craig Heffner Tactical Network Solutions # https://github.com/devttys0/wps # # WPSIG [ablanco@coresecurity.com, oss@coresecurity.com] __author__ = '090h' __license__ = 'GPL' from sys import argv, exit from os im...
[ "oleg.kupreev@gmail.com" ]
oleg.kupreev@gmail.com
4a5c5376aa7ce609fdb64cecfb2774f44dbc8725
cf0480eb13906bf6e2c46bfe09b864ee9bbf6776
/Functions/Calc/Calc_1.py
3b600966f2c62976f2522ee032f37f2d17a06b1c
[]
no_license
ravi4all/Python_JuneRegular_Evening
f7afb665541b88a9cb6ce89a488a32120f63dd6b
ad6e17c4acdcb2c669ba0508b12aeca8bdab8976
refs/heads/master
2020-03-20T21:20:36.763561
2018-07-06T11:26:52
2018-07-06T11:26:52
137,736,114
1
0
null
null
null
null
UTF-8
Python
false
false
355
py
print(""" 1. Add 2. Sub 3. Mul 4. Div """) user_choice = input("Enter your choice : ") num_1 = int(input("Enter first number : ")) num_2 = int(input("Enter second number : ")) if user_choice == "1": result = num_1 + num_2 print("Sum is",result) elif user_choice == "2": result = num_1 - nu...
[ "noreply@github.com" ]
ravi4all.noreply@github.com
f3ed0316d367ac2d8180e59a9ef4e265df2eb72b
d78dfc5089717fc242bbd7097f507d811abb4260
/French/plugin.video.fr.filmsdefrance/streamcomplet_common.py
01bb111cb943894548d6f78bf38f215525777056
[]
no_license
tustxk/AddOnRepo
995b980a9ec737e2c25bed423fc83f710c697e40
6b86a06cb37e6e10b4119584dd7311ebc2318e54
refs/heads/master
2022-10-08T21:34:34.632346
2016-10-28T09:48:01
2016-10-28T09:48:01
70,684,775
1
1
null
2022-10-01T16:27:13
2016-10-12T09:31:16
Python
UTF-8
Python
false
false
69,201
py
### ############################################################################################################ ### # ### # Author: # The Highway ### # Description: # Common File ### # ### ############################################################################################################ ### ###...
[ "ke.xiao@netxeon.com" ]
ke.xiao@netxeon.com
a7db7a35a129dddef9b0cb830716ebca4fed85be
42366c1e36038bf879652b4f4c45c6105209a738
/snakemake/wrapper.py
52b1c95f9256a8db894ea389c38ad40fd4bec165
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
endrebak/snakemake_dev
e22989e40d475250a1f6e44421290b75dcaf6651
846cad1273de7cf43a25fc210174ce43dfd45a8a
refs/heads/master
2021-01-13T16:01:30.593695
2016-12-14T08:21:22
2016-12-14T08:21:22
76,775,780
0
0
null
null
null
null
UTF-8
Python
false
false
1,340
py
__author__ = "Johannes Köster" __copyright__ = "Copyright 2016, Johannes Köster" __email__ = "koester@jimmy.harvard.edu" __license__ = "MIT" import os import posixpath from snakemake.script import script def is_script(path): return path.endswith("wrapper.py") or path.endswith("wrapper.R") def get_path(path, ...
[ "johannes.koester@tu-dortmund.de" ]
johannes.koester@tu-dortmund.de
ca2fa5ad4997c54d0f3874f400a20a3fbfbdaf02
ccbe341f4bc5f46ce31968a1d764a87f6f6803a8
/pytheas/__init__.py
49bf2edb9ecbfe446b859aa5cdeb805ed037f51e
[ "MIT" ]
permissive
skytreader/pytheas
8ce1e23965c61aff5eb48a301e9a8e04d3c70a55
c41cf985827734a1a9be1e61a93fca2a7b14c3d9
refs/heads/master
2023-04-09T01:54:24.423483
2014-06-03T04:04:35
2014-06-03T04:04:35
17,976,330
0
0
null
2023-03-31T14:38:58
2014-03-21T10:30:38
Python
UTF-8
Python
false
false
156
py
# Copied from https://github.com/andymccurdy/redis-py/blob/master/redis/__init__.py __version__ = "0.1.2" VERSION = tuple(map(int, __version__.split(".")))
[ "chadestioco@gmail.com" ]
chadestioco@gmail.com
ca15e754c14f4db76db15fe9fb24de4b5692d004
2b42b40ae2e84b438146003bf231532973f1081d
/spec/mgm4459099.3.spec
f64a808352387d76005b2abdd7351b26ddfed579
[]
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,321
spec
{ "id": "mgm4459099.3", "metadata": { "mgm4459099.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
890373e747027f7865371d1230e88bca75d7b9be
f0e3ba0707d8db85afa50701b739b570259236ca
/ppts/apps.py
083527dbb919b18619df6ea1b4dbb874ebc2d59c
[ "MIT" ]
permissive
Tubbz-alt/planningportal
bb3ff20ea3a730ccc2ca2ebef9e76198d5df8869
ef8ed9e604c2ff7fb88836247aaa8eba0cfa235f
refs/heads/master
2022-12-24T14:42:18.925112
2019-07-14T22:26:15
2019-07-14T22:26:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
83
py
from django.apps import AppConfig class PptsConfig(AppConfig): name = 'ppts'
[ "steven.buss@gmail.com" ]
steven.buss@gmail.com
cc0c3f49a86cd19e0eac92eb6d9d45901dc5447e
fb5c5d50d87a6861393d31911b9fae39bdc3cc62
/Scripts/sims4communitylib/enums/common_funds_sources.py
b752318a7a87e9b2ab9fbcb9e237f428646c1ce1
[ "CC-BY-4.0" ]
permissive
ColonolNutty/Sims4CommunityLibrary
ee26126375f2f59e5567b72f6eb4fe9737a61df3
58e7beb30b9c818b294d35abd2436a0192cd3e82
refs/heads/master
2023-08-31T06:04:09.223005
2023-08-22T19:57:42
2023-08-22T19:57:42
205,197,959
183
38
null
2023-05-28T16:17:53
2019-08-29T15:48:35
Python
UTF-8
Python
false
false
2,552
py
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from typing import Dict from sims.funds import FundsSource...
[ "ColonolNutty@hotmail.com" ]
ColonolNutty@hotmail.com
7fd63d245dbd1ed1b3c96be002435fe20c90baf8
44bbfe1c9a7f16e632cdd27c2de058033b33ea6d
/mayan/apps/authentication/links.py
dc7385bd9ff9101a3656851017b7786194679579
[ "Apache-2.0" ]
permissive
lxny2004/open-paperless
34025c3e8ac7b4236b0d8fc5ca27fc11d50869bc
a8b45f8f0ee5d7a1b9afca5291c6bfaae3db8280
refs/heads/master
2020-04-27T04:46:25.992405
2019-03-06T03:30:15
2019-03-06T03:30:15
174,064,366
0
0
NOASSERTION
2019-03-06T03:29:20
2019-03-06T03:29:20
null
UTF-8
Python
false
false
478
py
from __future__ import unicode_literals from django.utils.translation import ugettext_lazy as _ from navigation import Link def has_usable_password(context): return context['request'].user.has_usable_password link_logout = Link( icon='fa fa-sign-out', text=_('Logout'), view='authentication:logout_view' ) ...
[ "littlezhoubear@gmail.com" ]
littlezhoubear@gmail.com
6e6be05f168d51c04778758cfdbef7aef1c73390
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/deploymentmanager/azure-mgmt-deploymentmanager/azure/mgmt/deploymentmanager/aio/operations/_rollouts_operations.py
3e790f1835a9d269c5154a3a56505a1fc12ed757
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
23,787
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" ]
scbedd.noreply@github.com
26f57305b55d3b30eaa55261b2928f5dc17ece1b
b8ee76250770ba628b818a26b6f894347ff2e390
/Sqlite3Module.py
f3dd02adf33ac2df83d79a9fb702b4e8d11bbb8e
[]
no_license
SimonGideon/Journey-to-Pro
77c77bd1a5de387c41bc8618100bbb3957d15706
1591310891c7699710e992fe068b8fa230ac3d56
refs/heads/master
2023-04-28T19:31:53.155384
2021-05-18T19:18:32
2021-05-18T19:18:32
358,926,411
2
0
null
null
null
null
UTF-8
Python
false
false
699
py
import sqlite3 conn = sqlite3.connect('Database1.db') c = conn.cursor() # Create a table c.execute('''CREATE TABLE stocks(date text, trans text, symbol text, qty real, price real)''') # Insert a raw of data. c.execute("INSERT INTO stock VALUES ('2006-01-05','BUY','RHAT',100,35,14)") conn.commit() conn.close() # Gett...
[ "simongideon918@gmail.com" ]
simongideon918@gmail.com
9bad8400dbafa3c00fcaf4ba4085dc262f62207b
7b3743f052da9a74808b7d2145418ce5c3e1a477
/v2/api.thewatcher.io/api/docs/private.py
5f68768247fe15338ab8d818e23743055fb70ded
[ "MIT" ]
permissive
quebecsti/kdm-manager
5547cbf8928d485c6449650dc77805877a67ee37
a5fcda27d04135429e43a21ac655e6f6acc7768e
refs/heads/master
2020-11-26T19:22:53.197651
2019-10-22T20:53:40
2019-10-22T20:53:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
48,331
py
authorization_token_management = { "authorization_check": { "name": "/authorization/check", "desc": """\ <p><b>GET</b> or <b>POST</b> to this endpoint to determine if your Authorization header is still valid or if it has expired.</p>""", }, "authorization_refresh": { "name": "/author...
[ "toconnell@tyrannybelle.com" ]
toconnell@tyrannybelle.com
77936d27233ecb6692cf71a0edc03f93a9bed8ae
50dd2a43daa8316fc11e0c176b5872738fcc5dde
/Learning/130_Fluent_Python/fp2-utf8/bloccode/example 13-14.py
98a7540674b5e587a7df1e47f5cf78c41d0e53e3
[]
no_license
FrenchBear/Python
58204d368e3e72071eef298ff00d06ff51bd7914
b41ab4b6a59ee9e145ef2cd887a5fe306973962b
refs/heads/master
2023-08-31T18:43:37.792427
2023-08-26T15:53:20
2023-08-26T15:53:20
124,466,047
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# Example 13-14. typing.SupportsComplex protocol source code @runtime_checkable class SupportsComplex(Protocol): """An ABC with one abstract method __complex__.""" __slots__ = () @abstractmethod def __complex__(self) -> complex: pass
[ "FrenchBear38@outlook.com" ]
FrenchBear38@outlook.com
c3130eff5ead53a74d10c68261d2e3559dfc4623
91ab6e48d02822bd957e210484fceff4ce0b7d61
/usim_pytest/test_usimpy/utility.py
07f6c368aa6577c5ef2802885d34f46f00ad824f
[ "MIT" ]
permissive
MaineKuehn/usim
d203c78f2f644f546b932d1da40b50f26403d053
28615825fbe23140bbf9efe63fb18410f9453441
refs/heads/master
2021-09-25T08:05:03.015523
2021-09-17T13:42:39
2021-09-17T13:42:39
177,617,781
18
3
MIT
2021-09-17T13:42:40
2019-03-25T15:50:34
Python
UTF-8
Python
false
false
1,097
py
from functools import wraps from typing import Callable, Generator from ..utility import UnfinishedTest def via_usimpy(test_case: Callable[..., Generator]): """ Mark a generator function test case to be run via a ``usim.py.Environment`` .. code:: python3 @via_usimpy def test_sleep(env):...
[ "maxfischer2781@gmail.com" ]
maxfischer2781@gmail.com
352e1986d5a4bcac3ff903fd27c91bb9134f049b
a904e99110721719d9ca493fdb91679d09577b8d
/month04/project/day01-note/django-redis-4.10.0/tests/test_sqlite_herd.py
8a053dfdee6155fadba6c8df1a27d172aada7270
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
chaofan-zheng/tedu-python-demo
7c7c64a355e5380d1f8b6464affeddfde0d27be7
abe983ddc52690f4726cf42cc6390cba815026d8
refs/heads/main
2023-03-12T05:17:34.596664
2021-02-27T08:33:31
2021-02-27T08:33:31
323,350,480
4
1
null
null
null
null
UTF-8
Python
false
false
1,113
py
SECRET_KEY = "django_tests_secret_key" CACHES = { 'default': { 'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': [ '127.0.0.1:6379:5', ], 'OPTIONS': { 'CLIENT_CLASS': 'django_redis.client.HerdClient', } }, "doesnotexist": { "BACK...
[ "417355570@qq.com" ]
417355570@qq.com
c6a4f7fd762b8c458facb55f5b26d1bc13b3c944
e16d7d8f60145c68640b25aa7c259618be60d855
/django_by_example/myshop/orders/admin.py
f09d215605498c4504e1c955a53d7fe07aa330af
[]
no_license
zongqiqi/mypython
bbe212223002dabef773ee0dbeafbad5986b4639
b80f3ce6c30a0677869a7b49421a757c16035178
refs/heads/master
2020-04-21T07:39:59.594233
2017-12-11T00:54:44
2017-12-11T00:54:44
98,426,286
2
0
null
null
null
null
UTF-8
Python
false
false
609
py
from django.contrib import admin from .models import Order,OrderItem class OrderItemInline(admin.TabularInline): model = OrderItem raw_id_fields = ['product'] class OrderAdmin(admin.ModelAdmin): list_display = ['id', 'first_name', 'last_name', 'email','address', 'postal_code', 'city', 'paid','created', 'updated'...
[ "544136329@qq.com" ]
544136329@qq.com
863e45c0783451eb725d9e5182ae2b3154aabdaf
c2634ebec1d4448e372d174f459c3cbc03fd1edc
/lib/node_modules/@stdlib/math/base/special/cosm1/benchmark/python/scipy/benchmark.py
0f15a4ea4a9a905870399f1ccf3964f8e9ad5d86
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "MIT", "SunPro", "BSD-3-Clause", "BSL-1.0", "LicenseRef-scancode-public-domain" ]
permissive
stdlib-js/stdlib
ede11aee78f08e4f78a0bb939cb0bc244850b55b
f10c6e7db1a2b15cdd2b6237dd0927466ebd7278
refs/heads/develop
2023-09-05T03:29:36.368208
2023-09-03T22:42:11
2023-09-03T22:42:11
54,614,238
4,163
230
Apache-2.0
2023-09-13T21:26:07
2016-03-24T04:19:52
JavaScript
UTF-8
Python
false
false
2,198
py
#!/usr/bin/env python # # @license Apache-2.0 # # Copyright (c) 2018 The Stdlib 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 # # ...
[ "kgryte@gmail.com" ]
kgryte@gmail.com
d7b781bab6353a104d0b726b33244a8255434f2b
d47cd584579452a8212a19ffee462f0c2e792a9c
/fluent_contents/utils/tagparsing.py
0267274366501f593eb3eb2a955f356a98482d1c
[ "Apache-2.0" ]
permissive
kerin/django-fluent-contents
9db6d397c3b5aeebc4691e3b8ad6f09fbbd50c41
d760e7d1648f4583bdd8ba4c3078a3f5d9f544b4
refs/heads/master
2021-01-15T17:55:28.346869
2013-02-11T14:26:04
2013-02-11T14:26:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
from django.template.base import TemplateSyntaxError, Token import re kwarg_re = re.compile('^(?P<name>\w+)=') def parse_token_kwargs(parser, token, compile_args=False, compile_kwargs=False, allowed_kwargs=None): """ Allow the template tag arguments to be like a normal Python function, with *args and **kwargs...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
169eefc9524590604288b8376f8c1f4d487c5c88
fa78cd539cade5bba07e393c8d1184be58a6477a
/waste_collection/admin.py
a67fc1b7b28aa161d2dfddec85b68688bc9f5d76
[]
no_license
iLabs-Makerere-University/tilenga-crm-django
e2c3e8777f012052a8cd77af5e06b9ae2180f805
f764153e9c5877e20be1a1c1459de9fcb2b9df07
refs/heads/master
2020-04-29T22:08:04.113720
2019-04-01T08:18:15
2019-04-01T08:18:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
from django.contrib import admin from . models import WasteManagementProcedure class WasteManagementProcedureAdmin(admin.ModelAdmin): pass admin.site.register(WasteManagementProcedure, WasteManagementProcedureAdmin)
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
601dc711804496f547111d1d953946085dd3b498
e07da133c4efa517e716af2bdf67a46f88a65b42
/hub20/apps/ethereum_money/management/commands/load_tracked_tokens.py
5701e391f3f536030bd13c896353e2c518edd93a
[ "MIT" ]
permissive
cryptobuks1/hub20
be1da5f77a884f70068fd41edaa45d5e65b7c35e
3a4d9cf16ed9d91495ac1a28c464ffb05e9f837b
refs/heads/master
2022-04-19T21:26:15.386567
2020-04-19T07:17:47
2020-04-19T07:17:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
import logging from django.core.management.base import BaseCommand from eth_utils import to_checksum_address from hub20.apps.ethereum_money.app_settings import TRACKED_TOKENS from hub20.apps.ethereum_money.models import EthereumToken logger = logging.getLogger(__name__) class Command(BaseCommand): help = "Load...
[ "raphael@lullis.net" ]
raphael@lullis.net
6ef6540bd2180186c923cbd1e76bfd2414db3f1d
ec6b94f8fa4558f2156f5cdf1ab0347fb5573241
/tests/clickhouse/query_dsl/test_project_id.py
ce274c9a8930b4499e68fc3e9dba3946378cca79
[ "Apache-2.0", "BUSL-1.1" ]
permissive
pombredanne/snuba
8e9a55bf38b3ac84407d0c2755e3c0ac226688de
eb1d25bc52320bf57a40fd6efc3da3dd5e9f1612
refs/heads/master
2021-08-27T20:55:46.392979
2021-08-14T08:21:47
2021-08-14T08:21:47
171,631,594
0
0
Apache-2.0
2020-01-10T10:42:17
2019-02-20T08:26:17
Python
UTF-8
Python
false
false
4,583
py
from typing import Any, MutableMapping, Set import pytest from snuba.clickhouse.query_dsl.accessors import get_object_ids_in_query_ast from snuba.datasets.factory import get_dataset from snuba.datasets.plans.translator.query import identity_translate from snuba.query.parser import parse_query test_cases = [ ( ...
[ "noreply@github.com" ]
pombredanne.noreply@github.com
4df8edf8fd0b18807fd1e09544c4b2f48e36594d
ec0b8bfe19b03e9c3bb13d9cfa9bd328fb9ca3f1
/res/packages/scripts/scripts/client/gui/battle_control/arena_info/invitations.py
b1b060087fc9dc86befe5e49b3490250cc218ed0
[]
no_license
webiumsk/WOT-0.9.20.0
de3d7441c5d442f085c47a89fa58a83f1cd783f2
811cb4e1bca271372a1d837a268b6e0e915368bc
refs/heads/master
2021-01-20T22:11:45.505844
2017-08-29T20:11:38
2017-08-29T20:11:38
101,803,045
0
1
null
null
null
null
WINDOWS-1250
Python
false
false
10,226
py
# 2017.08.29 21:44:26 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/battle_control/arena_info/invitations.py import BattleReplay from adisp import process from constants import PREBATTLE_TYPE, INVITATION_TYPE from gui.battle_control.arena_info.settings import INVITATION_DELIVERY_STATUS from gui.ba...
[ "info@webium.sk" ]
info@webium.sk
fee6c4374d7d6e9eceaa09cf64c3bf93594efe6c
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-1/9960b43c9cc1e2a2e58da7952283f93d09a1fdc0-<f_regression>-bug.py
1f2d5280f165e64d4a762027a36feb370bb04cf1
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,406
py
def f_regression(X, y, center=True): 'Univariate linear regression tests.\n\n Linear model for testing the individual effect of each of many regressors.\n This is a scoring function to be used in a feature seletion procedure, not\n a free standing feature selection procedure.\n\n This is done in 2 ste...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
6cec2962afd83940865d9b5121ea405fb2a72374
c5dae77bb3ec7b39dca5c5c0522e101c4cb6d5a8
/rooms/permissions.py
8e1b5f8ec4de3e3507e9a1b899d0fbe75120a6cc
[]
no_license
Parkyes90/airbnb-api
f0726018738aad8eaf4ea891bb3de076ad875a36
f80864757433d0ea0421b2f47d2daab9cf02915f
refs/heads/master
2023-04-28T21:53:31.687273
2022-12-24T01:38:24
2022-12-24T01:38:24
243,207,499
0
0
null
2023-08-17T17:23:51
2020-02-26T08:19:24
Python
UTF-8
Python
false
false
320
py
from rest_framework.permissions import BasePermission class IsOwner(BasePermission): def has_object_permission(self, request, view, obj): if not hasattr(obj, "user"): raise Exception("해당 모델이 사용자 필드를 가지고 있지 않습니다.") return obj.user == request.user
[ "parkyes90@gmail.com" ]
parkyes90@gmail.com
1cb53ce92897d65d05b8eb78e9534d4bee7e0ba5
0fd9644616b5658ea960ef86f28b94cc95ce55e0
/djangoprj/mikrotik/migrations/0005_mtusers.py
744c7b72dff4e87a2d85c4bf78cfde2cdfeb1802
[]
no_license
zdimon/time-control
f4db6f26f15a18c89b91dba3f69a696a9d3a6c28
3a212d26dcaae13d3ca5a18247a425f63938fd7c
refs/heads/master
2020-05-13T16:33:53.011992
2019-04-19T07:05:01
2019-04-19T07:05:01
181,640,210
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
# Generated by Django 2.2 on 2019-04-17 07:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mikrotik', '0004_auto_20190417_0640'), ] operations = [ migrations.CreateModel( name='MTUsers', fields=[ ...
[ "zdimon@example.com" ]
zdimon@example.com
5d1c155d585d3b0a1036f0568b04008eafae631a
5ccd63bc0a51f6cbf8431395e69d263b88c3434d
/agents/policy_gradient/modules/generalized_onpolicy_loss.py
f72276336ffbfb188fb8f2fe5c2ebb405446b09d
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-research/seed_rl
12076a223365c700772e9e1ec5fdf6e6aa3dc67d
0e1e0ac9178a670ad1e1463baed92020e88905ec
refs/heads/master
2023-08-25T05:07:19.775923
2022-11-29T12:41:08
2022-11-29T12:41:08
215,027,338
818
164
Apache-2.0
2023-01-16T11:48:01
2019-10-14T11:35:42
Python
UTF-8
Python
false
false
11,465
py
# coding=utf-8 # Copyright 2019 The SEED Authors # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
[ "stanczyk@google.com" ]
stanczyk@google.com
9be35d2a711c8eb0700d7ddfc54912967c9d4596
ff81a9d7880f1b85a1dc19d5eba5ac72d7179c86
/pychron/options/views/flux_visualization_views.py
208b66906956dcd975359ab479acc112319b92dd
[ "Apache-2.0" ]
permissive
UManPychron/pychron
2fb7e479a9f492423c0f458c70102c499e1062c4
b84c9fd70072f9cbda30abe2c471e64fe3dd75d8
refs/heads/develop
2022-12-03T23:32:45.579326
2020-01-29T19:02:20
2020-01-29T19:02:20
36,100,637
0
0
null
2015-05-23T00:10:06
2015-05-23T00:10:05
null
UTF-8
Python
false
false
2,220
py
# =============================================================================== # Copyright 2015 Jake Ross # # 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...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
e28c6068b08233751108e44a68f3829d31617344
8229176ba618c08e23e47ca4b0a7c1ebeef4d994
/src/DescriptiveStats.py
6430639afb563b8258f98091b749e8a170eef2d0
[]
no_license
benblamey/ben_phd_python
703997daef090941b2e679dfee1cff78d475fa5f
7518784270410e2afdb2adfebf97fa1f4286449f
refs/heads/master
2021-05-04T11:09:21.582715
2017-09-18T20:43:32
2017-09-18T20:43:32
47,449,544
0
0
null
null
null
null
UTF-8
Python
false
false
17,702
py
from core import * # Import Datum Types from CSV file def do_descriptiveStats(): global total_gt_datums # See: ExportGroundTruthDatumEventTypes in Java. # a table of the different kinds of datums was exported to CSV (for all user lifestories) # { ID : datum-classname } # all the datums -- n...
[ "blamey.ben@gmail.com" ]
blamey.ben@gmail.com
caa434acc7d304b0c285e9a771010088d560dbc5
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/ReverseRepo/YW_NHG_SHHG_019_GC003.py
9f23f2cae281cc74a7cff9d8df2f7abdba2b90e2
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,025
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
8a2eb7cfab390a2f709d7eb3419c08fa0e6dd095
0eb599c3bbfa6e5b31516913b88cc9db3a1311ce
/ABC_6q/abc169f.py
ad9eed03c6ee61e3f204ed1ab80452f68d22e136
[]
no_license
Linus-MK/AtCoder
5b84dc88c2d2773d0f97ed18265d303290da7879
a587e89a9e0c2ab4d36b09176bcc95e901e14326
refs/heads/master
2022-11-25T05:37:12.148722
2022-11-17T16:04:10
2022-11-17T16:04:10
169,840,698
0
0
null
null
null
null
UTF-8
Python
false
false
416
py
n, s = list(map(int, input().split())) nums = list(map(int, input().split())) dp = [[0 for i in range(s+1)] for j in range(n+1)] mod = 998244353 dp[0][0] = 1 for i in range(n): for summ in range(s+1): if summ - nums[i] >= 0: dp[i+1][summ] = (2 * dp[i][summ] + dp[i][summ - nums[i]]) % mod ...
[ "13600386+Linus-MK@users.noreply.github.com" ]
13600386+Linus-MK@users.noreply.github.com
a13a4d56104bd687f7c9c1b4efa6c7b4fb4ee4e4
2020c9c6958d9cc338b72f62e24d9ad30c1a8cad
/python/0101.symmetric-tree/symmetric-tree.py
8cf51e4680551dbd6d293ddb24a39ee7fa4c43f7
[]
no_license
ysmintor/leetcode
b2d87db932b77e72504ffa07d7bf1b0d8c09b661
434889037fe3e405a8cbc71cd822eb1bda9aa606
refs/heads/master
2020-05-30T21:03:03.886279
2019-10-31T08:46:23
2019-10-31T09:02:24
189,963,050
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
class Solution: """ recursive solution """ def isSymmetric(self, root: TreeNode) -> bool: if root == None: return True return self.isMirror(root.left, root.right) def isMirror(self, t1: TreeNode, t2:TreeNode ) -> bool: if t1 == None and t2 == None: re...
[ "ysmintor@gmail.com" ]
ysmintor@gmail.com
30dea1db000cc40ea6b735e332cf15c6d2f4bace
6413fe58b04ac2a7efe1e56050ad42d0e688adc6
/tempenv/lib/python3.7/site-packages/plotly/graph_objs/layout/ternary/aaxis/__init__.py
797a36fb417fb76496384beb1c5bdf6c09acee6b
[ "MIT" ]
permissive
tytechortz/Denver_temperature
7f91e0ac649f9584147d59193568f6ec7efe3a77
9d9ea31cd7ec003e8431dcbb10a3320be272996d
refs/heads/master
2022-12-09T06:22:14.963463
2019-10-09T16:30:52
2019-10-09T16:30:52
170,581,559
1
0
MIT
2022-06-21T23:04:21
2019-02-13T21:22:53
Python
UTF-8
Python
false
false
159
py
from ._title import Title from plotly.graph_objs.layout.ternary.aaxis import title from ._tickformatstop import Tickformatstop from ._tickfont import Tickfont
[ "jmswank7@gmail.com" ]
jmswank7@gmail.com
f86011e920527fade4c0b894ea3f406f6ca86766
9b20743ec6cd28d749a4323dcbadb1a0cffb281b
/10_Imbalanced_Classification_with_Python/13/03_balanced_decision_tree.py
723ce924b4ed4330ac7a194e25defea465a60bfa
[]
no_license
jggrimesdc-zz/MachineLearningExercises
6e1c7e1f95399e69bba95cdfe17c4f8d8c90d178
ee265f1c6029c91daff172b3e7c1a96177646bc5
refs/heads/master
2023-03-07T19:30:26.691659
2021-02-19T08:00:49
2021-02-19T08:00:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
# decision tree with class weight on an imbalanced classification dataset from numpy import mean from sklearn.datasets import make_classification from sklearn.model_selection import RepeatedStratifiedKFold from sklearn.model_selection import cross_val_score from sklearn.tree import DecisionTreeClassifier # generate da...
[ "jgrimes@jgrimes.tech" ]
jgrimes@jgrimes.tech
11b41900468b82ef7940e02e889324872ea46a3f
f44a1cbb48952ce466310859234f73cb2769ef2c
/backend/mobile_5_oct_1723/wsgi.py
b09e1b28f4e63a9fbc6f3a96c61672bb2582051a
[]
no_license
crowdbotics-apps/mobile-5-oct-1723
ea496e71e634a67dccfb39019dd50d9351247943
94ddd875afaa86d5810d24644a35e23db6b231d1
refs/heads/master
2022-12-25T10:00:21.575101
2020-10-05T05:14:39
2020-10-05T05:14:39
301,300,030
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
""" WSGI config for mobile_5_oct_1723 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
3b43b227b7faa549f674979711bdaec0a30fe8d9
aaf7e8f9ec5856241930c98167071e424967b486
/src/lib/glfs-web/app/snmp.py
f9fa73d88593c3e76f64161535626ffe193a8b58
[]
no_license
ShenDezhou/PyCRM
e32826d143598227910c6a13bbc70140ec7f56d2
36b9411d9d5372b59fed00afdbc74607fb010df9
refs/heads/master
2022-02-10T02:29:45.876818
2018-06-17T10:09:43
2018-06-17T10:09:43
72,261,079
1
1
null
null
null
null
UTF-8
Python
false
false
250
py
import netsnmp def snmp_query(oid, dest_host, community,version=2): varbind = netsnmp.Varbind(oid) result = netsnmp.snmpwalk(varbind, Version=version, DestHost=dest_host, Community=community) return result
[ "bangtech@sina.com" ]
bangtech@sina.com
fd0a6ba9360c28449fd6b0848a7aecadab2791fb
1e998b8aa40e29dd21e97b1071fc5dc46d4746c2
/example/example/urls.py
3f3d7176338ff3f5b14369d3c51078945a69d240
[ "MIT" ]
permissive
PragmaticMates/django-templates-i18n
61786d0e3daf304316609fbf17f87f27457fdaae
0dac1b8da498dc414d4836c1cf6cb82cb1597c26
refs/heads/master
2016-09-06T15:47:46.161242
2014-09-26T12:14:02
2014-09-26T12:14:02
22,213,677
3
0
null
null
null
null
UTF-8
Python
false
false
632
py
from django.conf.urls import include, url from django.conf.urls.i18n import i18n_patterns # Uncomment the next two lines to enable the admin: from django.contrib import admin from views import HomeView, MyView admin.autodiscover() urlpatterns = i18n_patterns('', # Uncomment the admin/doc line below to enable a...
[ "erik.telepovsky@gmail.com" ]
erik.telepovsky@gmail.com
ecae1e41c1a4dbea1e9f916e518c7a30df863ebe
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/third_party/google/cloud/pubsublite_v1/types/topic_stats.py
1ad03e069c7d8a1f576f2e229fdb25414030148e
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
5,658
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 or...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
996e69c5148b5df26512a00ee71bb6d5b3048f9e
b805ded84cff8878ae70d772e50cface0c3aa45c
/proxy_pool/proxy_pool/settings.py
b6ecc4f6634f97f0ee761b1fd95cd587f2e5db95
[]
no_license
CNZedChou/python-web-crawl-learning
74f014fe95797d3f534e373de8451d2dfcc0600c
5edf8f53e1bb9df3661ec007bb4d7f0ba04ab013
refs/heads/master
2022-11-10T08:26:53.275547
2020-07-06T02:33:03
2020-07-06T02:33:03
275,563,035
0
0
null
null
null
null
UTF-8
Python
false
false
777
py
# !/usr/bin/python3 # -*- coding: utf-8 -*- """ @Author : Zed @Version : V1.0.0 ------------------------------------ @File : settings.py @Description : redis的密码,如果为空则表示没有密码 @CreateTime : 2020-6-30 11:22 ------------------------------------ @ModifyTime : """ PASSWORD = '' HOST ...
[ "1021844583@qq.com" ]
1021844583@qq.com
15b0120a6df7223e01d2f3afa3879e7993d63438
174f848b62fb2ea0a1605e1aab70085ffd27ce50
/beginning/age.py
0540185272594c22e444e0b66ab14903a4e2d11f
[]
no_license
unet-echelon/by_of_python_lesson
cd71bd3890d42d49cc128ec1730371bf1b64dbfa
c6c5c917414ac98b6dfb582dc06c26d31ea5b30c
refs/heads/master
2021-07-11T07:16:20.243347
2020-09-14T12:39:13
2020-09-14T12:39:13
201,041,106
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
#!/usr/bin/env python3 age = 26 name = 'kernel' print('Возраст {0} -- {1} лет'.format(name,age)) print('Почему {0} забаляэеться с этим Python?'.format(name))
[ "aleguk@ukr.net" ]
aleguk@ukr.net
593eff5c51f3663c6b63401945d8e42c0bd744e9
1e9de96619592ed25c3a4ff57b6a78717882a709
/app/resources/database.py
970e203f904febf5289d936283299a350e6346e4
[]
no_license
AntoineDao/example-service
503d08788f7e557ee12f72fabfa537136b927d3f
8b088ecd0a67642737a883d7f035722a8cd7a0b4
refs/heads/master
2020-04-22T07:13:59.199629
2019-02-07T17:36:17
2019-02-07T17:36:17
170,213,289
0
0
null
2019-02-11T22:32:16
2019-02-11T22:32:16
null
UTF-8
Python
false
false
988
py
import os import datetime import uuid from flask_sqlalchemy import SQLAlchemy import app db = SQLAlchemy() class Example(db.Model): """ Example Model for storing example related details """ __tablename__ = "example" id = db.Column(db.String(), primary_key=True, default=str(uuid.uuid4())) email = db....
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
c58f04c352758ec38036a3158f57cde81fbbd04f
3879d1ca43c573c209f962182cd1e7f7fe978fbf
/leetcode/1973. Count Nodes Equal to Sum of Descendants/1973.py
0b8f98e6fa4a8d999bcefc23edcbc239a22b78c5
[]
no_license
DoctorLai/ACM
34a5600a5adf22660c5d81b2d8b7a358be537ecf
aefa170f74c55c1230eb6f352770512b1e3f469e
refs/heads/master
2023-09-01T02:13:01.604508
2023-08-31T15:42:07
2023-08-31T15:42:07
146,173,024
62
18
null
2020-10-11T13:19:57
2018-08-26T11:00:36
C++
UTF-8
Python
false
false
864
py
# https://helloacm.com/teaching-kids-programming-count-nodes-equal-to-sum-of-descendants-recursive-depth-first-search-algorithm/ # https://leetcode.com/problems/count-nodes-equal-to-sum-of-descendants/ # MEDIUM, DFS, RECURSION # Definition for a binary tree node. # class TreeNode: # def __init__(self, val=0, left=...
[ "noreply@github.com" ]
DoctorLai.noreply@github.com
0b205c12342378f7ce7b47dbe339627f706f8e2f
dd73faa1c747089c44dbe85e081de5a089046329
/api_app/views/index_view.py
afa13a27813919ffbd4ba28140a04fb8d96188ab
[]
no_license
spaun299/api_tv_web
34aaa6da5fc0f3154a5830953ec8e9ee90d1a3b0
a19c0079e06a7c823236fda5ffe9d1e46a5e829d
refs/heads/master
2021-01-10T03:39:25.309627
2016-02-12T10:26:34
2016-02-12T10:26:34
51,149,276
0
1
null
null
null
null
UTF-8
Python
false
false
260
py
from ..urls.blueprints import index_bp from flask import render_template, g from ..constants.constants import ACTIVE_PAGES @index_bp.route('/') @index_bp.route('/index') def index(): return render_template('index.html', active_page=ACTIVE_PAGES['main'])
[ "you@example.com" ]
you@example.com
afc009bcd6b0b1e4386fb982e3e8419cfdd0b9d3
eacff46eda2c6b509449979a16002b96d4645d8e
/Collections-a-installer/community-general-2.4.0/plugins/modules/cloud/centurylink/clc_server.py
4e02421892d88000bc4739d6fdde7946a0d09ad2
[ "MIT", "GPL-3.0-only", "GPL-3.0-or-later" ]
permissive
d-amien-b/simple-getwordpress
5e6d4d15d5f87124ab591e46b63fec552998fdc3
da90d515a0aa837b633d50db4d91d22b031c04a2
refs/heads/master
2023-04-08T22:13:37.347545
2021-04-06T09:25:51
2021-04-06T09:25:51
351,698,069
0
0
MIT
2021-03-31T16:16:45
2021-03-26T07:30:00
HTML
UTF-8
Python
false
false
56,728
py
#!/usr/bin/python # # Copyright (c) 2015 CenturyLink # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) from __future__ import absolute_import, division, print_function __metaclass__ = type DOCUMENTATION = ''' module: clc_server short_description: Create, Delete, Start and S...
[ "test@burdo.fr" ]
test@burdo.fr