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
804b09be82a5890f8223579c5cca30c08fbd1e24
7ae32748fb910d2542e35c57543fc89f98cd2b1d
/tests/runtime/runtime.py
abd1a564bef4b7fae1348ad52b7bc9b326046667
[ "Apache-2.0" ]
permissive
sanjaymsh/dtfabric
451c87d987f438fccfbb999079d2f55d01650b68
9e216f90b70d8a3074b2125033e0773e3e482355
refs/heads/master
2022-12-19T09:13:02.370724
2020-09-27T05:11:25
2020-09-27T05:11:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,589
py
# -*- coding: utf-8 -*- """Tests for the run-time object.""" from __future__ import unicode_literals import unittest from dtfabric.runtime import runtime from tests import test_lib class StructureValuesClassFactoryTest(test_lib.BaseTestCase): """Structure values class factory tests.""" # pylint: disable=prot...
[ "joachim.metz@gmail.com" ]
joachim.metz@gmail.com
7b964f61670ccb5db77a15f8f6c355bc59266f51
e8f88fa5c7ca0263be5958d85a36b855976d4b0f
/LAB_EXAM_QUESTIONS/Solutions/string_apps/string_operation.py
5f8da9ca2b6b403bbd4ca01c630c4963429c11e9
[]
no_license
sxb42660/MachineLearning_Fall2019
67bb471e79608b17a57ac1fabc9f6de1e455a015
b256a6961d30918611ecbda6961d5938b1291864
refs/heads/master
2022-07-13T10:50:46.646541
2020-05-15T18:59:19
2020-05-15T18:59:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,143
py
''' Question1 : Write a program to find a longest substring without repeating characters from a given string input from the console. Sample Input: ‘ababcdxa’ Sample Output: abcdx ''' class StringOperations: def longest_substring(self, input_string): temp_string = "" longest_substring = "" ...
[ "sivakumar.umkc.fall2019@gmail.com" ]
sivakumar.umkc.fall2019@gmail.com
c35db6386f83d6038856651b1a5d0577fc8afc98
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-dcs/huaweicloudsdkdcs/v2/model/list_bigkey_scan_tasks_response.py
a6bf9b01d77cf1b7325ac90267c21449802d43a3
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,639
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListBigkeyScanTasksResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
62ec98c11c353c33219211cd44afe625c192ecf4
09cead98874a64d55b9e5c84b369d3523c890442
/py200620_python1_chen/py200703_06/quiz3_chen.py
037893db6af7902ecea02b99d135e9937ab38ff1
[]
no_license
edu-athensoft/stem1401python_student
f12b404d749286036a090e941c0268381ce558f8
baad017d4cef2994855b008a756758d7b5e119ec
refs/heads/master
2021-08-29T15:01:45.875136
2021-08-24T23:03:51
2021-08-24T23:03:51
210,029,080
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
""" quiz 2. date: 2020-07-03 student name: QiJun Chen """ """ q8. your answer: """ """ q7. your answer: """ """ q6. your answer: a """ """ q5. your answer: """ """ q4. your answer: """ """ q3. your answer: - a = 1 ; b = 2 """ a = 1 b = 2 a = 1 ; b = 2 # a = 1 b = 2 """ q2. your answer:b b, e, ...
[ "lada314@gmail.com" ]
lada314@gmail.com
066a76d2c53f6a0d62e7c286f609782fba3a1fe4
9e538305f9263d86e780a4a3f205c972f658f54d
/src/order/views/__init__.py
9f843456ab734d5c67008a631cf6b7c7a12202e2
[]
no_license
tanjibpa/mednet
bb188582b0d90407015622b34f0291557acb1919
19a7535d583077fec7b7030c298fceb4c4df3207
refs/heads/main
2023-05-26T07:44:27.615506
2021-06-10T06:30:19
2021-06-10T06:30:19
355,774,065
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
from order.views.supplier import * from order.views.pharmaceutical import * from order.views.retailer import *
[ "ikram.tanjib@gmail.com" ]
ikram.tanjib@gmail.com
71d1e1bd7fd8420c085463ad1438045a67a185a2
c88aa1d1f85d58226015510537153daa73358dce
/13/ex3.py
350553daddfe47db637c2269b69f59f65552c088
[]
no_license
kmollee/2014_fall_cp
e88ca3acf347a9f49c8295690e4ef81c828cec6b
fff65200333af8534ce23da8bdb97ed904cc71dc
refs/heads/master
2021-01-01T17:56:33.442405
2015-01-07T10:44:32
2015-01-07T10:44:32
24,130,641
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
# coding: utf-8 # 上面一行宣告程式內容所採用的編碼(encoding) # 導入 cherrypy 模組 import cherrypy # 導入 Python 內建的 os 模組 import os # 以下為 Guess 類別的設計內容, 其中的 object 使用, 表示 Guess 類別繼承 object 的所有特性, 包括方法與屬性設計 class Guess(object): # 以 @ 開頭的 cherrypy.expose 為 decorator, 用來表示隨後的成員方法, 可以直接讓使用者以 URL 連結執行 @cherrypy.expose # index 方法為 ...
[ "10073105@gm.nfu.edu.tw" ]
10073105@gm.nfu.edu.tw
353b363378fc41668dad00e5e4eed045090cb167
459c193e96a5446b7c6d408e664ee5c5caf18e44
/src/4DVar6hNMC_obs_parameter_estimation.py
8dbf80cb5b1dcfb54d9ce5c79eba97ed872c7171
[]
no_license
saceandro/DataAssimilation
da1bd32aa30b46aa2bacc2e3679da4a0ddcdd080
9ed3a708f0be442013f21cde2e14c6dd177fc789
refs/heads/master
2020-04-23T14:49:56.947434
2019-02-18T08:41:32
2019-02-18T08:41:32
171,245,480
2
0
null
null
null
null
UTF-8
Python
false
false
10,488
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 14 17:01:40 2017 @author: yk """ import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np import math count = 0 def handler(func, *args): return func(*args) #%% class Lorenz96: def __init__(self, N): ...
[ "y.tienjin.kon@gmail.com" ]
y.tienjin.kon@gmail.com
7682f8e46a7452dbb09d77d81b83c9ddd544deee
a3c662a5eda4e269a8c81c99e229879b946a76f6
/.venv/lib/python3.7/site-packages/pylint/test/input/func_bug113231.py
6334ff9c8ff8d817b27865e568d5dba02d72af51
[ "MIT" ]
permissive
ahmadreza-smdi/ms-shop
0c29da82c58b243507575672bbc94fb6e8068aeb
65ba3f3061e2ac5c63115b08dadfe7d67f645fb6
refs/heads/master
2023-04-27T19:51:34.858182
2019-11-24T20:57:59
2019-11-24T20:57:59
223,616,552
6
2
MIT
2023-04-21T20:51:21
2019-11-23T16:09:03
Python
UTF-8
Python
false
false
605
py
# pylint: disable=E1101 # pylint: disable=C0103 # pylint: disable=R0903, useless-object-inheritance, unnecessary-pass """test bugfix for #113231 in logging checker """ from __future__ import absolute_import # Muck up the names in an effort to confuse... import logging as renamed_logging __revision__ = '' class Logger...
[ "ahmadreza.smdi@gmail.com" ]
ahmadreza.smdi@gmail.com
9a70ed43d1cd64c0b0ca1d2c6fd5864c04128087
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/influxdb-client/influxdb_client/domain/bucket_retention_rules.pyi
48fc2554304ebe4cd9f9322e99473fb4876e26ed
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
876
pyi
from _typeshed import Incomplete class BucketRetentionRules: openapi_types: Incomplete attribute_map: Incomplete discriminator: Incomplete def __init__( self, type: str = "expire", every_seconds: Incomplete | None = None, shard_group_duration_seconds: Incomplete | None =...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
1160913b4e15aef699a5ac91d1ceb88cdfc89fbd
a6ed990fa4326c625a2a02f0c02eedf758ad8c7b
/meraki/sdk/python/getNetworkMerakiAuthUser.py
dd485a53b639bbcae0a844de8d441be562d0bd1c
[]
no_license
StevenKitavi/Meraki-Dashboard-API-v1-Documentation
cf2352976c6b6c00c17a5f6442cedf0aeed46c22
5ed02a7def29a2ce455a3f2cfa185f76f44789f5
refs/heads/main
2023-03-02T08:49:34.846055
2021-02-05T10:31:25
2021-02-05T10:31:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
import meraki # Defining your API key as a variable in source code is not recommended API_KEY = '6bec40cf957de430a6f1f2baa056b99a4fac9ea0' # Instead, use an environment variable as shown under the Usage section # @ https://github.com/meraki/dashboard-api-python/ dashboard = meraki.DashboardAPI(API_KEY) network_id = ...
[ "shiychen@cisco.com" ]
shiychen@cisco.com
c67931ef41e293a2d99a642e5d4acb3c14fba88e
01b759bfa841e601bebb560d49f7b33add6a6756
/sources/listen/liste3.py
eff7b61c7cedb3e01bc4c845708d487337d11c6a
[ "MIT" ]
permissive
kantel/python-schulung
dd5469d77b48da5ee13d240ca54632c8191e4e27
c319125c4a6f8479aff5ca5e66f3bbfbf48eb22c
refs/heads/master
2021-01-21T15:21:52.719327
2018-09-23T16:28:12
2018-09-23T16:28:12
95,450,919
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
fruits = ["Apple", "Tomato", "Banana", "Orange", "Lemon"] print(fruits) for i in range(len(fruits) - 1, -1, -1): if fruits[i] == "Banana": fruits.pop(i) print(fruits)
[ "joerg@kantel.de" ]
joerg@kantel.de
e08427b98bcea013ebcbad431d8d80b885fa09d8
24f0aba57f4393200a9327e3f3605a906859ae4b
/bot/wikidata/mfa_import.py
cd6ea5369441038bc7e0d1a88f37daefa1b767a1
[]
no_license
Sadads/toollabs
0b8b68adc9ca4cb21c785341cf8f3e901298d55c
31dcd44616e6dafefdd35bbc4d09c480738a9d44
refs/heads/master
2020-03-18T15:43:55.774106
2018-05-20T11:48:04
2018-05-20T11:48:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,213
py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Bot to scrape paintings from the Museum of Fine Arts, Boston website. http://www.mfa.org/collections/search?search_api_views_fulltext=&f%5B0%5D=field_classifications%3A16 """ import pywikibot import artdatabot import requests import re import HTMLParser def getMFAGenerat...
[ "maarten@mdammers.nl" ]
maarten@mdammers.nl
7f0dbdd8bbddfe74ffae5412b96cb85bfa3d079e
33f805792e79a9ef1d577699b983031521d5b6c9
/tapiriik/web/templatetags/displayutils.py
8d12cc795fab8e114bb4aa56ce04880e311873f4
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
cpfair/tapiriik
0dce9599400579d33acbbdaba16806256270d0a3
c67e9848e67f515e116bb19cd4dd479e8414de4d
refs/heads/master
2023-08-28T10:17:11.070324
2023-07-25T00:59:33
2023-07-25T00:59:33
7,812,229
1,519
343
Apache-2.0
2022-10-24T16:52:34
2013-01-25T02:43:42
Python
UTF-8
Python
false
false
2,560
py
from django import template from django.utils.timesince import timesince from datetime import datetime, date import json register = template.Library() @register.filter(name="utctimesince") def utctimesince(value): if not value: return "" return timesince(value, now=datetime.utcnow()) @register.filter(...
[ "cpf@cpfx.ca" ]
cpf@cpfx.ca
f1aeb93cd0ccc135f2f13a0e71519123c29394e4
32226e72c8cbaa734b2bdee081c2a2d4d0322702
/experiments/ashvin/rss/pusher1/scale/rl.py
fe1b316d1274746e7760e94c9705a061398925ae
[ "MIT" ]
permissive
Asap7772/rail-rl-franka-eval
2b1cbad7adae958b3b53930a837df8a31ab885dc
4bf99072376828193d05b53cf83c7e8f4efbd3ba
refs/heads/master
2022-11-15T07:08:33.416025
2020-07-12T22:05:32
2020-07-12T22:05:32
279,155,722
0
0
null
null
null
null
UTF-8
Python
false
false
3,316
py
from railrl.launchers.experiments.murtaza.multiworld import her_td3_experiment import railrl.misc.hyperparameter as hyp from multiworld.envs.mujoco.cameras import sawyer_pusher_camera_upright_v2 from multiworld.envs.mujoco.sawyer_xyz.sawyer_push_and_reach_env import ( SawyerPushAndReachXYEnv ) from multiworld.envs....
[ "asap7772@berkeley.edu" ]
asap7772@berkeley.edu
4541d4b20df8048c248369a9e12a1abbe4ff9d2b
a479a5773fd5607f96c3b84fed57733fe39c3dbb
/napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/extended_ipv4_reachability/prefixes/prefix/subTLVs/subTLVs_/flags/state/__init__.py
2cbd65f6e6f17027609843564b0443f7651f767c
[ "Apache-2.0" ]
permissive
napalm-automation/napalm-yang
839c711e9294745534f5fbbe115e0100b645dbca
9148e015b086ebe311c07deb92e168ea36fd7771
refs/heads/develop
2021-01-11T07:17:20.226734
2019-05-15T08:43:03
2019-05-15T08:43:03
69,226,025
65
64
Apache-2.0
2019-05-15T08:43:24
2016-09-26T07:48:42
Python
UTF-8
Python
false
false
534,091
py
# -*- coding: utf-8 -*- from operator import attrgetter from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType from pyangbind.lib.yangtypes import RestrictedClassType from pyangbind.lib.yangtypes import TypedListType from pyangbind.lib.yangtypes import YANGBool from pyangbind.lib.yangtypes import YANGListTy...
[ "dbarrosop@dravetech.com" ]
dbarrosop@dravetech.com
0c7e08fb553b03c40e35d8862537c388fe27ad46
0e25329bb101eb7280a34f650f9bd66ed002bfc8
/vendor/sat-solvers/simplesat/repository.py
e544bdb4aa6f264f1cf16b9c2b4d754e4b14d0f6
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
enthought/enstaller
2a2d433a3b83bcf9b4e3eaad59d952c531f36566
9c9f1a7ce58358b89352f4d82b15f51fbbdffe82
refs/heads/master
2023-08-08T02:30:26.990190
2016-01-22T17:51:35
2016-01-22T17:51:35
17,997,072
3
4
null
2017-01-13T19:22:10
2014-03-21T23:03:58
Python
UTF-8
Python
false
false
3,337
py
from __future__ import absolute_import import bisect import collections import operator import six from .errors import NoPackageFound class Repository(object): """ A Repository is a set of packages, and knows about which package it contains. It also supports the iterator protocol. Iteration is guar...
[ "cournape@gmail.com" ]
cournape@gmail.com
f2bfe28b7ac28b223882fa52c497abd85ab5296c
960087b76640a24e6bb5eb8a9a0e5aeb6c68917b
/model/predMultiOD_GEML_log_single2multi.py
f85f7ef2cba22efd7bc90d651d020fbe2ca4808d
[]
no_license
346644054/ODCRN
e14d0a1f2e2e4a9cb655cdd914b587beeaff37cf
71c11cb1da156ad0809c4352e578a8b0586fdf83
refs/heads/main
2023-06-19T21:32:22.245910
2021-07-20T02:47:59
2021-07-20T02:47:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,402
py
import sys import os import shutil import math import numpy as np import pandas as pd import scipy.sparse as ss from datetime import datetime import time import tensorflow as tf from keras.backend.tensorflow_backend import set_session from keras.callbacks import CSVLogger, EarlyStopping, ModelCheckpoint, LearningRateSc...
[ "jiangrh@csis.u-tokyo.ac.jp" ]
jiangrh@csis.u-tokyo.ac.jp
ba4fc1788c1dbf1d553af32f6f90a91f2aaa3485
dd80a584130ef1a0333429ba76c1cee0eb40df73
/external/chromium_org/chrome/chrome_repack_pseudo_locales.gypi
340ed191955ce1651ad7f722c9614b277d497f92
[ "BSD-3-Clause", "MIT" ]
permissive
karunmatharu/Android-4.4-Pay-by-Data
466f4e169ede13c5835424c78e8c30ce58f885c1
fcb778e92d4aad525ef7a995660580f948d40bc9
refs/heads/master
2021-03-24T13:33:01.721868
2017-02-18T17:48:49
2017-02-18T17:48:49
81,847,777
0
2
MIT
2020-03-09T00:02:12
2017-02-13T16:47:00
null
UTF-8
Python
false
false
1,247
gypi
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'action_name': 'repack_pseudo_locales', 'variables': { 'conditions': [ ['branding=="Chrome"', { 'branding_flag': ['-b', 'google_ch...
[ "karun.matharu@gmail.com" ]
karun.matharu@gmail.com
8265b22feff8988d5a78fd85d1d9fc43f915de26
b76615ff745c6d66803506251c3d4109faf50802
/pyobjc-framework-Cocoa/PyObjCTest/test_nsnumberformatter.py
903f5e2dffeb62d1bb0af948a9b0ab4af0a16d49
[ "MIT" ]
permissive
danchr/pyobjc-git
6ef17e472f54251e283a0801ce29e9eff9c20ac0
62b787fddeb381184043c7ff136f1c480755ab69
refs/heads/master
2021-01-04T12:24:31.581750
2020-02-02T20:43:02
2020-02-02T20:43:02
240,537,392
0
0
null
null
null
null
UTF-8
Python
false
false
4,347
py
from PyObjCTools.TestSupport import * from Foundation import * class TestNSNumberFormatter(TestCase): def testConstants(self): self.assertEqual(NSNumberFormatterNoStyle, kCFNumberFormatterNoStyle) self.assertEqual(NSNumberFormatterDecimalStyle, kCFNumberFormatterDecimalStyle) self.assertE...
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
1217867d6445957c4cf47d6409ea0cceff370ef9
783244556a7705d99662e0b88872e3b63e3f6301
/denzo/migrations(second attempt)/0017_auto_20160224_0953.py
41cd71d62a6d23ebf83e8ef0f9f1d7495859f9c9
[]
no_license
KobiBeef/eastave_src
bf8f2ce9c99697653d36ca7f0256473cc25ac282
dfba594f3250a88d479ccd9f40fefc907a269857
refs/heads/master
2021-01-10T16:49:14.933424
2016-03-08T13:30:48
2016-03-08T13:30:48
51,752,966
0
0
null
null
null
null
UTF-8
Python
false
false
687
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('denzo', '0016_auto_20160224_0951'), ] operations = [ migrations.AlterField( model_name='patientinfo', ...
[ "ezekielbacungan@gmail.com" ]
ezekielbacungan@gmail.com
1e6f70eec09a530a4c3db0e9939343b1075d7a12
3971979d46959636ee2a7a68d72428b1d7fd9853
/elasticsearch_django/management/commands/__init__.py
5c823387e8298bac9a333b02cb017b59c389c852
[ "MIT" ]
permissive
vryazanov/elasticsearch-django
818b302d53cdbf9c2c1ee05255170710e450186d
adc8328ca3e6ef5d21cb53447e3a2e0663d770d4
refs/heads/master
2020-03-16T16:11:19.230648
2018-02-23T14:50:36
2018-02-23T14:50:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
# -*- coding: utf-8 -*- """Base command for search-related management commands.""" import logging import builtins from django.core.management.base import BaseCommand from elasticsearch.exceptions import TransportError logger = logging.getLogger(__name__) class BaseSearchCommand(BaseCommand): """Base class fo...
[ "hugo@yunojuno.com" ]
hugo@yunojuno.com
96d23b92026e5ac28fb9bdcdb0b268cbd883af0d
938a496fe78d5538af94017c78a11615a8498682
/algorithms/901-/1030.matrix-cells-in-distance-order.py
56b21b33d5488d66697d5f02c50976a56e730edd
[]
no_license
huilizhou/Leetcode-pyhton
261280044d15d0baeb227248ade675177efdb297
6ae85bf79c5a21735e3c245c0c256f29c1c60926
refs/heads/master
2020-03-28T15:57:52.762162
2019-11-26T06:14:13
2019-11-26T06:14:13
148,644,059
8
1
null
null
null
null
UTF-8
Python
false
false
661
py
# 距离顺序排列矩阵单元格 class Solution(object): def allCellsDistOrder(self, R, C, r0, c0): """ :type R: int :type C: int :type r0: int :type c0: int :rtype: List[List[int]] """ # res = [[i, j] for i in range(R) for j in range(C)] # res.sort(key=lambda x:...
[ "2540278344@qq.com" ]
2540278344@qq.com
347e83a77741b61d8657d3cb2a0956f362fe55e5
426f216e3d38d2030d337c8be6463cc4cd7af6c3
/day07/mul/multipro8_pool.py
ddfcdc95d2e644dd1b33c973e98dbae909fcf69d
[ "Apache-2.0" ]
permissive
zhangyage/Python-oldboy
c7b43801935fc9e08e973ee0b852daa8e8667fb7
a95c1b465929e2be641e425fcb5e15b366800831
refs/heads/master
2021-01-23T02:59:37.574638
2019-10-27T05:35:58
2019-10-27T05:35:58
86,039,220
1
0
null
null
null
null
UTF-8
Python
false
false
689
py
#!/usr/bin/env python # -*- coding:utf-8 -*- ''' 进程池 ''' from multiprocessing import Process,Pool import time def f(x): #print x*x time.sleep(1) return x*x if __name__ == '__main__': pool = Pool(processes=5) #并行5个进程 res_list = [] for i in range(10): res = pool.apply_async(f,[i,]) ...
[ "zhangyage2015@163.com" ]
zhangyage2015@163.com
d629b3f65cb54454daeea955592e07b3c6160181
d678ac8e1e247702a021ddcc232f2ac3417eca3d
/GAZEBO_TEST_SAC/test_gazebo_sac.py
246063b53f097062eabdbdf991e799ec47609093
[]
no_license
CzJaewan/rl_avoidance_gazebo
1b55182e9f476a1890703f8f13f2f1659df01a7b
98c9359ded3a2a78edaedf29971e910d9b1158ec
refs/heads/master
2023-03-03T22:38:52.025571
2021-02-15T10:49:49
2021-02-15T10:49:49
290,694,749
7
2
null
null
null
null
UTF-8
Python
false
false
13,629
py
import os import logging import sys import socket import numpy as np import rospy import torch import torch.nn as nn import argparse from mpi4py import MPI from gym import spaces from torch.optim import Adam import datetime from torch.utils.tensorboard import SummaryWriter from collections import deque from model.ne...
[ "wodhks7968@gmail.com" ]
wodhks7968@gmail.com
0cc2e6b5afbcc6588596c4313893d206bcec3465
930309163b930559929323647b8d82238724f392
/abc104_c.v2.py
1c56b7dd77d336db84c82ba6490babad3fded1b6
[]
no_license
GINK03/atcoder-solvers
874251dffc9f23b187faa77c439b445e53f8dfe1
b1e7ac6e9d67938de9a85df4a2f9780fb1fbcee7
refs/heads/master
2021-11-07T14:16:52.138894
2021-09-12T13:32:29
2021-09-12T13:32:29
11,724,396
3
1
null
null
null
null
UTF-8
Python
false
false
726
py
import math N,G=map(int,input().split()) A=[] for i in range(1,N+1): score = i*100 num,comp=map(int,input().split()) A.append((score, num, comp)) P = 1<<len(A) ans = math.inf for i in range(P): num = 0 score = 0 for j in range(len(A)): if i&(1<<j) > 0: score += A[j][2] + A...
[ "gim.kobayashi@gmail.com" ]
gim.kobayashi@gmail.com
9e7631c87d277c14e04515ee0930159e352f908b
ccf94dcb6b1500fcbbd56964ae8c4832a496b8b3
/python/baiduads-sdk-auto/baiduads/share/model/save_sharing_batch_dr_response_wrapper_body.py
3ba6d3e6ccf54fcf6792652170c14f6b287f2ac3
[ "Apache-2.0" ]
permissive
baidu/baiduads-sdk
24c36b5cf3da9362ec5c8ecd417ff280421198ff
176363de5e8a4e98aaca039e4300703c3964c1c7
refs/heads/main
2023-06-08T15:40:24.787863
2023-05-20T03:40:51
2023-05-20T03:40:51
446,718,177
16
11
Apache-2.0
2023-06-02T05:19:40
2022-01-11T07:23:17
Python
UTF-8
Python
false
false
10,980
py
""" dev2 api schema 'dev2.baidu.com' api schema # noqa: E501 Generated by: https://openapi-generator.tech """ import re # noqa: F401 import sys # noqa: F401 from baiduads.model_utils import ( # noqa: F401 ApiTypeError, ModelComposed, ModelNormal, ModelSimple, cached_property, ch...
[ "jiangyuan04@baidu.com" ]
jiangyuan04@baidu.com
e82273798d8afec26681b06523573669549ef37e
ff6248be9573caec94bea0fa2b1e4b6bf0aa682b
/raw_scripts/132.230.102.123-10.21.9.51/1569576154.py
df8c1f338e4ae9d73116683d95475c2e528dc852
[]
no_license
LennartElbe/codeEvo
0e41b1a7705204e934ef71a5a28c047366c10f71
e89b329bc9edd37d5d9986f07ca8a63d50686882
refs/heads/master
2020-12-21T17:28:25.150352
2020-03-26T10:22:35
2020-03-26T10:22:35
236,498,032
0
0
null
null
null
null
UTF-8
Python
false
false
4,688
py
import functools import typing import string import random import pytest ## Lösung Teil 1. def is_palindromic(n: int): if not n > 0: return False else: x = str(n) y = reversed(x) x = str(y) if n == int(x): return True else: return False ##...
[ "lenni.elbe@gmail.com" ]
lenni.elbe@gmail.com
47dcf718ade146c544f3738e3061fbd694ed5dde
8f6aa9ac9c8c2e409875bbf36fbc49b3eb37d88b
/enthought/chaco/shell/plot_window.py
574b96513fc6a5e6f26d4ab506c447dad7163e40
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
enthought/etsproxy
5660cf562c810db2ceb6b592b6c12274bce96d73
4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347
refs/heads/master
2023-03-27T04:51:29.297305
2020-12-02T09:05:18
2020-12-02T09:05:18
1,632,969
3
1
NOASSERTION
2020-12-02T09:05:20
2011-04-18T22:29:56
Python
UTF-8
Python
false
false
92
py
# proxy module from __future__ import absolute_import from chaco.shell.plot_window import *
[ "ischnell@enthought.com" ]
ischnell@enthought.com
934fe6bcebc4666c645ddb6e55d9d59459a6fbc4
ffe2e0394c3a386b61e0c2e1876149df26c64970
/mobile.py
610210dbea874a2893e22f8ffea4e82ccb93aab5
[]
no_license
garethpaul/WillBeOut
202e0ad7a12800c6008ec106c67ee7d23d256a07
c8c40f2f71238c5a5ac6f5ce0cfb3a07e166b341
refs/heads/master
2016-09-05T14:02:15.648358
2013-01-16T17:26:43
2013-01-16T17:26:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
import tornado.auth import tornado.web import base import json import urllib class IndexHandler(base.BaseHandler, tornado.auth.FacebookGraphMixin): @tornado.web.authenticated @tornado.web.asynchronous def get(self): self.render('mobile_index.html') class EventsHandler(base.BaseHandler, tornado.auth.Fac...
[ "gareth@garethpaul.com" ]
gareth@garethpaul.com
dcb89766aada38572b34512af098bc731daae312
aaddc9b334b4d265d61cd97464d9ff73f32d9bec
/Auth3_DRF_API_CustomPermission/DRF_API_CustomPermission/settings.py
baba5469cc8a0bce68cc0199ee388878e4e822e0
[]
no_license
DharmendraB/DRF-Django-RestFramework-API
f3549955e53d43f7dad2a78468ad0792ebfb70d5
4f12ab84ca5f69cf2bb8e392b5490247d5f00e0e
refs/heads/main
2023-05-30T20:59:46.635078
2021-06-11T04:32:52
2021-06-11T04:32:52
375,905,264
0
0
null
null
null
null
UTF-8
Python
false
false
3,149
py
""" Django settings for DRF_API_CustomPermission project. Generated by 'django-admin startproject' using Django 3.1.5. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ ...
[ "ghldharmendra@gmail.com" ]
ghldharmendra@gmail.com
6f6d3de7df03b19b23300c93004ab7cdd98c3362
7da5bb08e161395e06ba4283e0b64676f362435c
/stackstrom/st2/bin/st2-migrate-datastore-scopes.py
404be7add19d12826953893b8610e0c1f575a948
[ "LicenseRef-scancode-generic-cla", "curl", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
devopszone/sensu_st2_backup
b25a061d21c570a7ce5c020fa8bd82ea4856c9f6
2aae0801c35c209fb33fed90b936a0a35ccfacdb
refs/heads/master
2020-03-22T09:32:20.970848
2018-07-05T13:17:30
2018-07-05T13:17:30
139,843,867
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
#!/opt/stackstorm/st2/bin/python # Licensed to the StackStorm, Inc ('StackStorm') 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 # (t...
[ "root@stackstrom.c.glassy-hue-205107.internal" ]
root@stackstrom.c.glassy-hue-205107.internal
464025fdf3f8bc94ee826cb60ed4768c719d36a1
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/ixnetwork_restpy/testplatform/sessions/ixnetwork/traffic/trafficitem/configelement/stack/ipv6GSRHType4_template.py
a1434a9b00f82a209edc9d69c14cc0ce0205e3d8
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
25,985
py
from ixnetwork_restpy.base import Base from ixnetwork_restpy.files import Files class Ipv6GSRHType4(Base): __slots__ = () _SDM_NAME = 'ipv6GSRHType4' _SDM_ATT_MAP = { 'SegmentRoutingHeaderNextHeader': 'ipv6GSRHType4.segmentRoutingHeader.nextHeader-1', 'SegmentRoutingHeaderHdrExtLe...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
e13c2b343d21f52283ccae9e50298c08e8d346bc
1733c48ea06f8265835b11dc5d2770a6ad5b23ac
/tests/device/test_measure_voltage.py
2373c86a8f3a626eb237656b65debee411eae59f
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Sensirion/python-shdlc-sensorbridge
c16374d018ca149c2e2a907929129e310e367252
c441c17d89697ecf0f7b61955f54c3da195e30e6
refs/heads/master
2021-06-30T07:49:24.032949
2021-03-19T10:00:04
2021-03-19T10:00:04
224,618,118
3
1
null
null
null
null
UTF-8
Python
false
false
862
py
# -*- coding: utf-8 -*- # (c) Copyright 2020 Sensirion AG, Switzerland from __future__ import absolute_import, division, print_function from sensirion_shdlc_sensorbridge import SensorBridgePort import pytest @pytest.mark.needs_device @pytest.mark.parametrize("port", [ SensorBridgePort.ONE, SensorBridgePort.T...
[ "urban.bruhin@sensirion.com" ]
urban.bruhin@sensirion.com
dad18d91eddb0dbdb35c8fae190c95de6cdec4bd
6858b0e8da83676634e6208829ada13d1ea46bd1
/vendor/pathtools/scripts/nosy.py
ad97406cc752bb38380997533f187eed485af9fc
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer", "MIT" ]
permissive
iVerb/armada-pipeline
452045da1b9dfc85c5d0bb4350feeee2061f761d
9f0d0fd7c23fe382ca9c9ea1d44fcbb3dd5cbf01
refs/heads/master
2023-05-02T00:52:19.209982
2021-05-14T14:57:06
2021-05-14T14:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,569
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # nosy: continuous integration for watchdog # # Copyright (C) 2010 Yesudeep Mangalapilly <yesudeep@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # i...
[ "borbs727@gmail.com" ]
borbs727@gmail.com
c029e030607bbbc3f34e1a1b0d889a1910658f3f
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/e4e01c5aae883f8131ebef455939f313e7125520-<_check_trainable_weights_consistency>-fix.py
084d3645a7ea3cf5a43993c7ff1540cbac19494d
[]
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
742
py
def _check_trainable_weights_consistency(self): 'Check trainable weights count consistency.\n\n This will raise a warning if `trainable_weights` and\n `_collected_trainable_weights` are inconsistent (i.e. have different\n number of parameters).\n Inconsistency will typically arise when o...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
33a7a7621b037b3e0b1dcd9b23bca3b857ee8c29
8bf8ab29cb25de00c6a799d1f58610528b810592
/파이썬 SW 문제해결 기본/4861. [파이썬 SW 문제해결 기본] 3일차 - 회문/main.py
4c37bd74d29cd8d1697e936726dc4dd023cdfd8d
[]
no_license
mgh3326/sw_expert_academy_algorithm
fa93fb68862cabeba8f9f5fff00a87f26a014afc
97cbd2a1845e42f142d189e9121c3cd5822fc8d8
refs/heads/master
2020-07-03T21:40:29.948233
2019-11-23T07:26:15
2019-11-23T07:26:15
202,058,567
0
0
null
2019-11-30T06:11:34
2019-08-13T03:40:18
Python
UTF-8
Python
false
false
1,214
py
import sys sys.stdin = open("./input.txt") def is_palindrome(input_str): if len(input_str) < 2: return False for i in range(len(input_str) // 2): if input_str[i] != input_str[len(input_str) - 1 - i]: return False return True def generate_substr(input_str): global result ...
[ "mgh3326@naver.com" ]
mgh3326@naver.com
afe1ff7d941c26b1091c800390340a09b4dbfa91
b2750720aee1300f46fd8e21038719693f6f4204
/gestao_RH/urls.py
9f1d60bd53b755609a9aba765eb37223783d633c
[]
no_license
matheuskaio/ProjetoDjangoGestaoRH
458393c9b39c8ebdf99e4fee206b3d0a1cdbad7f
8a3541c60bd71bfa72eb2d1e0d14e9a24c8d1bbb
refs/heads/master
2020-04-11T10:26:52.488685
2018-12-14T22:11:49
2018-12-14T22:11:49
161,713,119
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include urlpatterns = [ path('', include('apps.core.urls')), path('funcionarios/', include('apps.funcionarios.urls')), path('empresas/', include('apps.empresas.urls'))...
[ "m.k.m.p.2000@gmail.com" ]
m.k.m.p.2000@gmail.com
d174feba10caf4afadcac27921d4f36fc6d5cf8c
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj9-10_014908.87+011342.6/sdB_SDSSJ910_014908.87+011342.6_lc.py
805c78e017b0ef45b1ed827d291be153bd5923f0
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[27.286958,1.2285], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_SDSSJ910_014908.87+011342.6 /sdB_SDSSJ910_014908.87+011342.6_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.01038...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
2ec998d98e1fe7fd656f310f8b2b22f355e7b9f3
b891f38eb12eeafdbcec9deee2320acfaac3a7ad
/0x11-python-network_1/2-post_email.py
8c341dd0f2a209939ee201a9cbc73cde4e7f02c1
[]
no_license
davixcky/holbertonschool-higher_level_programming
bb112af3e18994a46584ac3e78385e46c3d918f6
fe4cd0e95ee976b93bd47c85c2bc810049f568fa
refs/heads/master
2023-01-11T00:41:03.145968
2020-09-22T22:55:53
2020-09-22T22:55:53
259,390,611
0
5
null
null
null
null
UTF-8
Python
false
false
411
py
#!/usr/bin/python3 """ Fetches https://intranet.hbtn.io/status""" from urllib import request, parse import sys if __name__ == '__main__': url, email = sys.argv[1:] body = {'email': email} data = parse.urlencode(body) data = data.encode('ascii') req = request.Request(url, data) with request.ur...
[ "dvdizcky@gmail.com" ]
dvdizcky@gmail.com
328fe766830ed081ceaf0df646470ba614068b59
4476597f6af6b9cd4614bf558553a7eb57c9f993
/tensorflow学习/tensorflow_learn.py
28dbea053a72c051c37b9874fa968b88f2678813
[]
no_license
zhengziqiang/mypython
07dff974f475d1b9941b33518af67ece9703691a
7a2b419ff59a31dc937666e515490295f6be8a08
refs/heads/master
2021-07-14T20:01:34.231842
2017-04-19T01:18:25
2017-04-19T01:18:25
56,583,430
3
1
null
2020-07-23T11:46:35
2016-04-19T09:26:39
Python
UTF-8
Python
false
false
404
py
#coding=utf-8 import tensorflow as tf x=tf.placeholder(tf.float32,[None,784]) w=tf.Variable(tf.zeros([784,10])) b=tf.Variable(tf.zeros([10])) y=tf.nn.softmax(tf.matmul(x,w)+b) y_=tf.placeholder("float",[None,10]) cross_entropy=-tf.reduce_sum(y_*tf.log(y)) train_step = tf.train.GradientDescentOptimizer(0.01).minimize(c...
[ "1174986943@qq.com" ]
1174986943@qq.com
a137c6fab5f8ef383f84dc97e08c32081d6cc57a
4716c1f8d0c42e49891e614aa87c77f48c0991b7
/src/_zkapauthorizer/model.py
7c62b8ff8e014b68c598822fb4a3b524fa83d38e
[ "Apache-2.0" ]
permissive
jehadbaeth/ZKAPAuthorizer
aa89fd833e9c034659494239c8eb109872633027
632d2cdc96bb2975d8aff573a3858f1a6aae9963
refs/heads/master
2023-03-06T00:37:37.740610
2021-02-18T15:37:19
2021-02-18T15:37:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
34,825
py
# Copyright 2019 PrivateStorage.io, 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 agreed to i...
[ "exarkun@twistedmatrix.com" ]
exarkun@twistedmatrix.com
05147268a82b27e5086c58f0ccec58fd4ba8cfb7
72a9d5019a6cc57849463fc315eeb0f70292eac8
/Python-Algorithms/Clustering/SOM/mvpa2/tests/test_surfing.py
f194e68a89fd6eb3f531edb3dd3199b891bf3468
[]
no_license
lydiawawa/Machine-Learning
393ce0713d3fd765c8aa996a1efc9f1290b7ecf1
57389cfa03a3fc80dc30a18091629348f0e17a33
refs/heads/master
2020-03-24T07:53:53.466875
2018-07-22T23:01:42
2018-07-22T23:01:42
142,578,611
1
0
null
2018-07-27T13:08:47
2018-07-27T13:08:47
null
UTF-8
Python
false
false
43,007
py
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the PyMVPA package for the # copyright and license terms. # ### ### ### ### ###...
[ "amir.h.jafari@okstate.edu" ]
amir.h.jafari@okstate.edu
993fdb71b1cfd755ab19dfa75580530c9d7055fc
c6548d34568618afa7edc4bfb358d7f22426f18b
/project-addons/acp_contrato_bufete/__init__.py
8d0e6954a36c6247a7571913dfbe95f5bf9a15b6
[]
no_license
Comunitea/CMNT_00071_2016_JUA
77b6cbb6ec8624c8ff7d26b5833b57b521d8b2a4
206b9fb2d4cc963c8b20001e46aa28ad38b2f7f0
refs/heads/master
2020-05-21T16:22:32.569235
2017-10-04T12:10:00
2017-10-04T12:10:00
62,816,538
0
0
null
null
null
null
UTF-8
Python
false
false
1,212
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of ...
[ "javierjcf@gmail.com" ]
javierjcf@gmail.com
1eb337a91fba49e0d21bb0111796ad7754e21348
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_340/ch40_2020_03_25_17_24_54_674946.py
90382adbb982876f65ccf3ac36f1ba2dc7c75c02
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
def soma_valores(elementos): s=0 i=0 while i<len(elementos): s+=elementos[i] i+=1 return s
[ "you@example.com" ]
you@example.com
ea7a2ef3739aa9fc580220294c7fc7f0fb121279
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/nnmason.py
808dc1dea271099aff64c07de7f8411475b2b469
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
1,382
py
ii = [('CookGHP3.py', 2), ('CoolWHM2.py', 1), ('WilbRLW.py', 18), ('RennJIT.py', 6), ('LeakWTI2.py', 1), ('WilkJMC3.py', 6), ('WilbRLW5.py', 2), ('LeakWTI3.py', 2), ('MarrFDI3.py', 1), ('PeckJNG.py', 6), ('GellWPT.py', 1), ('AdamWEP.py', 6), ('WilbRLW2.py', 3), ('ClarGE2.py', 9), ('GellWPT2.py', 1), ('WilkJMC2.py', 1),...
[ "varunwachaspati@gmail.com" ]
varunwachaspati@gmail.com
f3fa6a313038553ec69e6b0fac7b52445884eef9
5a394c53a7099bc871401e32cf3fc782546f9f7d
/.history/lab1_d/lab1/exam/test_20210203181948.py
73102cdae2950dabaa44d91e8cca8d6dfdad27c3
[]
no_license
ajaygc95/advPy
fe32d67ee7910a1421d759c4f07e183cb7ba295b
87d38a24ef02bcfe0f050840179c6206a61384bd
refs/heads/master
2023-03-27T10:10:25.668371
2021-03-23T08:28:44
2021-03-23T08:28:44
334,614,292
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
from collections import defaultdict, namedtuple class Temperature: def __init__(self): self.data = defaultdict() def readdata(self): with open('temperature.csv',r):
[ "gcajay95@gmail.com" ]
gcajay95@gmail.com
82af9214e5be3dff48f2557bc198e66e6c7f4b38
1061216c2c33c1ed4ffb33e6211565575957e48f
/python-blueplanet/app/openapi_server/models/messages.py
d2be98d214f7226e95c1ec1fa6f9e267b77439f7
[]
no_license
MSurfer20/test2
be9532f54839e8f58b60a8e4587348c2810ecdb9
13b35d72f33302fa532aea189e8f532272f1f799
refs/heads/main
2023-07-03T04:19:57.548080
2021-08-11T19:16:42
2021-08-11T19:16:42
393,920,506
0
0
null
null
null
null
UTF-8
Python
false
false
14,920
py
# coding: utf-8 from __future__ import absolute_import from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from app.openapi_server.models.base_model_ import Model from app.openapi_server.models.messages_all_of import MessagesAllOf # noqa: F401,E501 from app.openapi_server.m...
[ "suyash.mathur@research.iiit.ac.in" ]
suyash.mathur@research.iiit.ac.in
2f096768afa9f6f0836a187e39994e461fe13b6e
d5a3c744b70c9a68c8efcf4252c9f13eb9c9b551
/动态下拉刷新页面爬取-demo45练习1.py
0145b9812bcd692c970958bc542fe29ad9355c65
[]
no_license
zhouf1234/untitled8
9689b33aa53c49fcd4e704976a79b1a65578f137
c54634398800ba3c85f91885e6cf990e3645b2f6
refs/heads/master
2020-05-05T02:42:23.034426
2019-04-05T08:49:07
2019-04-05T08:49:07
179,648,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,519
py
import requests import re # 某一新浪微博主内容,转发数量,留言数量,点赞数量,未完成。微博内容有点问题。建议用demo45练习2 page = 1 #选择页数:第几页 uid = 1669879400 #选择微博主网页的uid:同https://m.weibo.cn/profile/1669879400的1669879400 nurl = '/api/container/getIndex?containerid=230413' nurl = nurl+str(uid)+'_-_WEIBO_SECOND_PROFILE_WEIBO&page_type=03&page='+str(page) # p...
[ "=" ]
=
ef83acb1830849c0e46fdb0f33f0b4ee6b03c16e
e7efae2b83216d9621bd93390959d652de779c3d
/vsphere/tests/legacy/test_metadata_cache.py
04695b37ae258f148227b4f2b37cb78669509635
[ "BSD-3-Clause", "MIT", "BSD-3-Clause-Modification", "Unlicense", "Apache-2.0", "LGPL-3.0-only", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "CC0-1.0" ]
permissive
DataDog/integrations-core
ee1886cc7655972b2791e6ab8a1c62ab35afdb47
406072e4294edff5b46b513f0cdf7c2c00fac9d2
refs/heads/master
2023-08-31T04:08:06.243593
2023-08-30T18:22:10
2023-08-30T18:22:10
47,203,045
852
1,548
BSD-3-Clause
2023-09-14T16:39:54
2015-12-01T16:41:45
Python
UTF-8
Python
false
false
1,545
py
# (C) Datadog, Inc. 2018-present # All rights reserved # Licensed under a 3-clause BSD style license (see LICENSE) import pytest from datadog_checks.vsphere.legacy.metadata_cache import MetadataCache, MetadataNotFoundError @pytest.fixture def cache(): return MetadataCache() def test_contains(cache): with p...
[ "noreply@github.com" ]
DataDog.noreply@github.com
d8539f1bf6ab8cbfd8fbabe5ef96bacc654049b3
0e5f7fbea53b56ddeb0905c687aff43ae67034a8
/src/port_adapter/api/grpc/listener/BaseListener.py
fe0dc7ab7c4c74bdb126db44e244dc94027a5174
[]
no_license
arkanmgerges/cafm.identity
359cdae2df84cec099828719202b773212549d6a
55d36c068e26e13ee5bae5c033e2e17784c63feb
refs/heads/main
2023-08-28T18:55:17.103664
2021-07-27T18:50:36
2021-07-27T18:50:36
370,453,892
0
0
null
null
null
null
UTF-8
Python
false
false
368
py
""" @author: Arkan M. Gerges<arkan.m.gerges@gmail.com> """ from src.resource.logging.decorator import debugLogger class BaseListener: @debugLogger def _token(self, context) -> str: metadata = context.invocation_metadata() for key, value in metadata: if "token" == key: ...
[ "arkan.m.gerges@gmail.com" ]
arkan.m.gerges@gmail.com
93c6c7dd56c60fb13f08f2d97e65e9d1e39305a3
c7cce6315bf8439faedbe44e2f35e06087f8dfb3
/Lab_Excercises/Lab_06/task_1.py
509866639df36f81fb0e45767cd470a3ad2b40b5
[]
no_license
sipakhti/code-with-mosh-python
d051ab7ed1153675b7c44a96815c38ed6b458d0f
d4baa9d7493a0aaefefa145bc14d8783ecb20f1b
refs/heads/master
2020-12-26T13:05:06.783431
2020-07-08T07:00:59
2020-07-08T07:00:59
237,517,762
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
str1 = list(input("Please input the string: ")) encrypted_string = "" for i in range(len(str1)): if str1[i].lower() in "aeiou" and i % 2 != 0: str1[i] = "_" for char in str1: encrypted_string = encrypted_string + char print(encrypted_string)
[ "476061@gmail.com" ]
476061@gmail.com
9d0079e1ca5505a1bfa70cf2f4e6a544afd4ead8
eb6f1c78b7a38f5386c013a8b453ba7c07a5e76b
/textattack/shared/word_embedding.py
02ea054cb7d3382f0b3f3bfa52a195eaeaa2aa46
[ "MIT" ]
permissive
StatNLP/discretezoo
b143306297fe5590800853c71278cc0c4cdd5e68
565552b894a5c9632ac7b949d61a6f71123031e4
refs/heads/master
2023-07-29T04:12:36.355651
2021-09-17T13:21:26
2021-09-17T13:21:26
404,305,923
0
1
null
null
null
null
UTF-8
Python
false
false
18,675
py
""" Shared loads word embeddings and related distances ===================================================== """ from abc import ABC, abstractmethod from collections import defaultdict import csv import os import pickle import numpy as np import torch from textattack.shared import utils class AbstractWordEmbedding...
[ "berger1954@gmail.com" ]
berger1954@gmail.com
08e57f662a5ed15727ebead11dbee1da91274819
f0ee987789f5a6fe8f104890e95ee56e53f5b9b2
/pythia-0.8/packages/pyre/pyre/odb/fs/CodecODB.py
2d64e24630bc15ec801aa5092f03fd4056070e69
[]
no_license
echoi/Coupling_SNAC_CHILD
457c01adc439e6beb257ac8a33915d5db9a5591b
b888c668084a3172ffccdcc5c4b8e7fff7c503f2
refs/heads/master
2021-01-01T18:34:00.403660
2015-10-26T13:48:18
2015-10-26T13:48:18
19,891,618
1
2
null
null
null
null
UTF-8
Python
false
false
2,236
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 1998-2005 All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~~~~~~~...
[ "echoi2@memphis.edu" ]
echoi2@memphis.edu
482d7b56dd358e962f6dedb3cd96e67a87f389dd
f6f1e8b6bf2bde4e3b9eef80cc7e942854bd2e83
/bin_search.py
e502e1d9e10705648fe00c1841a0103e926de0a0
[]
no_license
stevekutz/django_algo_exp1
178d84bda0520db39273b8f38b070c30758e222a
ef4e56b4f443868350deab7913b77678d093c6d6
refs/heads/master
2021-09-28T18:45:12.955842
2020-01-31T04:45:43
2020-01-31T04:45:43
236,881,770
0
0
null
2021-09-22T18:34:18
2020-01-29T01:35:41
Python
UTF-8
Python
false
false
2,339
py
dict_history = []; def binary_search(list, item): # array indices low = 0 high = len(list) - 1 global dict_history; def print_dic(dict): for val in dict: # print(val) # prints dict at index # {'item': 9, 'low': 0, 'high': 100, 'mid': 50, 'guess': 50} # prin...
[ "stkutz@gmail.com" ]
stkutz@gmail.com
a605d2a019956c7ce215d0b2d948919c7f05f214
3076bd73c41ed665c987d99218b8a3599fa05ec2
/cellpylib/evoloop.py
263af4027db03d4ceaf970ec86838890bbb9946c
[ "Apache-2.0" ]
permissive
lantunes/cellpylib
5135a6986e68424d9ec8b09fb42421b3dcf046d1
743e936d48f8520f6f4ac652570ac7bb46414189
refs/heads/master
2023-03-07T03:31:32.380400
2023-02-21T12:34:28
2023-02-21T12:34:28
126,618,694
203
32
Apache-2.0
2023-02-15T03:40:38
2018-03-24T16:33:15
Python
UTF-8
Python
false
false
21,821
py
import numpy as np from .ctrbl_rule import CTRBLRule class Evoloop(CTRBLRule): """ An implementation of H. Sayama's Evoloop. For more information, see: .. code-block:: text Sayama, H. (1998). Constructing evolutionary systems on a simple deterministic cellular automata space. PhD, Universi...
[ "lantunes@gmail.com" ]
lantunes@gmail.com
675724284077d36c8d4e2d814f985112987e18fe
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc003/A/4914205.py
be4bb822261b85d60bd74648d029ad41410d3a99
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
93
py
ans = 0 num = int(input()) for i in range(1, num+1): ans += i*10000/num print(int(ans))
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
9b3ac2d7b530dc6140c8a3ba781a071f7dc425e8
db2ae9b2d769d768f685be8a1e830ad3f71e4ad3
/torch_scatter/utils.py
fd4be5998ae87a9d375db9fc0e77353725ae74d2
[ "MIT" ]
permissive
hmaarrfk/pytorch_scatter
45623acd179bc309474f492d8d2358e0a9556b09
8d05f6108105d02b53b8fba35f28006cfdd1539f
refs/heads/master
2023-08-24T17:32:08.331457
2021-10-22T13:45:02
2021-10-22T13:45:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
import torch def broadcast(src: torch.Tensor, other: torch.Tensor, dim: int): if dim < 0: dim = other.dim() + dim if src.dim() == 1: for _ in range(0, dim): src = src.unsqueeze(0) for _ in range(src.dim(), other.dim()): src = src.unsqueeze(-1) src = src.expand_as(ot...
[ "matthias.fey@tu-dortmund.de" ]
matthias.fey@tu-dortmund.de
bb0bc1b070cdb39864536526363f9329311660dd
a5f0e7c09c36bb2fc91f95e5f3ec7f95c0ed305e
/cafe_backend/core/constants/sizes.py
962e36be4636824dd4958f081aa06e3356612c30
[]
no_license
ecmascriptguru/cafe_backend
e703047c7f04d68596f76dcbff06828afbf5cc68
0c4152692d68e951481b39f0789bc58e94e0d20c
refs/heads/master
2022-10-26T00:31:50.070430
2020-06-18T15:30:02
2020-06-18T15:30:02
184,465,639
0
0
null
null
null
null
UTF-8
Python
false
false
339
py
MAX_IMAGE_WIDTH = 1920 MAX_IMAGE_HEIGHT = 768 class DEFAULT_IMAGE_SIZE: tiny = (int(MAX_IMAGE_WIDTH / 30), int(MAX_IMAGE_HEIGHT / 16)) small = (int(MAX_IMAGE_WIDTH / 10), int(MAX_IMAGE_HEIGHT / 8)) normal = (int(MAX_IMAGE_WIDTH / 4), int(MAX_IMAGE_HEIGHT / 4)) big = (int(MAX_IMAGE_WIDTH / 2), int(MAX_...
[ "ecmascript.guru@gmail.com" ]
ecmascript.guru@gmail.com
c934cbc782156852dd476482a5d236715cf5ff97
552a6f227dea50887a4bcbf1a120289f3ae90fc0
/pandas/tests/tseries/frequencies/test_freq_code.py
0aa29e451b1ba4513e1beb37ec82f83724339f9d
[ "BSD-3-Clause" ]
permissive
Lucifer82/pandas
bbf6132e84585aebcfefe098d14ab6fa9adcf6d3
cdfdd77b65df350386ce27142ef3babd9e5186d2
refs/heads/master
2020-04-30T15:30:27.180080
2019-03-21T03:07:43
2019-03-21T03:07:43
176,922,084
1
0
BSD-3-Clause
2019-03-21T10:26:38
2019-03-21T10:26:38
null
UTF-8
Python
false
false
4,707
py
import pytest from pandas._libs.tslibs import frequencies as libfrequencies, resolution from pandas._libs.tslibs.frequencies import ( FreqGroup, _period_code_map, get_freq, get_freq_code) import pandas.compat as compat import pandas.tseries.offsets as offsets @pytest.fixture(params=list(compat.iteritems(_period...
[ "jeff@reback.net" ]
jeff@reback.net
867849b4a1a74bad8e87de49c3ee8b8079072654
3b78d0d2dda1e316d9be02ad05884102422484cf
/exercises/19_1_blog/blogs/models.py
fd86a36ea7f815487a3761af65455c2f3bf251a8
[]
no_license
xerifeazeitona/PCC_WebApp
4d28caedf44f5a5b6617a75393256bb0eb9d436c
26f73805bf20a01f3879a05bf96e8ff6db0449fe
refs/heads/main
2023-03-06T08:40:18.422416
2021-02-22T21:21:38
2021-02-22T21:21:38
340,138,351
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from django.db import models from django.contrib.auth.models import User class BlogPost(models.Model): """Simple model of a basic blog post.""" title = models.CharField(max_length=200) text = models.TextField() date_added = models.DateTimeField(auto_now_add=True) author = models.ForeignKey(User, on...
[ "juliano.amaral@gmail.com" ]
juliano.amaral@gmail.com
0362844276cdcce64c66e350f09c947d57457c2f
264ce32d9eebb594cc424ecb3b8caee6cb75c2f3
/content/hw/02_bootstrap/ok/tests/q9.py
b2cd04951595906ae26cf1f60d6afb44d329d8d3
[]
no_license
anhnguyendepocen/psych101d
a1060210eba2849f371d754e8f79e416754890f9
41057ed5ef1fd91e243ab41040f71b51c6443924
refs/heads/master
2022-03-24T02:20:32.268048
2019-12-21T02:51:02
2019-12-21T02:51:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
test = { "name": "Putting It All Together", "points": 1, "suites": [ { "cases": [ { "code": r""" >>> ## Did you define the right variables? >>> "easy_boot_delta_means" in globals().keys() True...
[ "charlesfrye@berkeley.edu" ]
charlesfrye@berkeley.edu
0811d6891a523db246ae901e3caaa94f48a7ec08
8fc999f5262b5a2dadc830f1cc345f51b6dde862
/samples/conceptual_samples/remaining/tuple.py
cc388fd0fa5107256c5ce382ac3135df515ef79c
[]
no_license
pandiyan07/python_2.x_tutorial_for_beginners_and_intermediate
5ca5cb5fcfe7ce08d109fb32cdf8138176ac357a
a4c14deaa518fea1f8e95c2cc98783c8ca3bd4ae
refs/heads/master
2022-04-09T20:33:28.527653
2020-03-27T06:35:50
2020-03-27T06:35:50
250,226,804
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
# this sample python script program is been created to demonstrate the tuple packing and tuple unpacking. data=("Name: pandiyan","Wannabe: I want to be a pythoneer","Nationality: indian","Proffession: hacker","Mothertounge: tamil") name,wannabe,nationality,proffession,mothertounge=data def details(): print nam...
[ "becool.pandiyan@gmail.com" ]
becool.pandiyan@gmail.com
13738c8961c445bffba50b67d9f0696f92910984
2f2682f778512a75a1ff49d7e267c2f4d355c48e
/geoprocess/logging.py
ebf3b24a9a5d6e989a24983429c4050591a40109
[]
no_license
beatcovid/geoprocess
4a44f46b900c2e0ffed0dab18008e7884e759e3b
c2a7b1e4ede06583679db9dadebe2066b0274e54
refs/heads/master
2023-04-13T13:45:48.572825
2020-05-27T03:08:14
2020-05-27T03:08:14
260,215,049
0
1
null
2023-03-29T00:36:19
2020-04-30T13:11:38
Python
UTF-8
Python
false
false
108
py
import logging logging.basicConfig(level=logging.INFO,) logger = logging.getLogger("beatcovid.geoprocess")
[ "nc9@protonmail.com" ]
nc9@protonmail.com
b49cc96396beee95aa535d05b7ed2be3897f7ec1
1160a607aa9b445ba96674f4e3b86079fede9bdc
/fichasManage/utils.py
bedae7e98cc8ae74ed1ceee6136f557b2de2618a
[]
no_license
astandre/fichas-geologicas-cliente
70820bca77c9ffa4de28d207ff84490205a8cc56
90ae40afd6aa4a331316e5106950a8406a38cf1f
refs/heads/master
2022-12-12T03:05:29.945240
2019-02-04T18:46:44
2019-02-04T18:46:44
165,874,901
0
0
null
2021-06-10T21:07:43
2019-01-15T15:26:21
Python
UTF-8
Python
false
false
6,608
py
from .constants import * def build_ficha_geologica(ficha): if "nomenclaturaUnidadGeologica" in ficha: try: ficha["nomenclaturaUnidadGeologica"] = UNIDAD_GEOLOGICA[ficha["nomenclaturaUnidadGeologica"]] except KeyError: print("Key error") if "tipoContactoGeo" in ficha: ...
[ "andreherrera97@hotmail.com" ]
andreherrera97@hotmail.com
d52becaa8c882ebedbde683171421ae43a6d6d7b
79d3fd089addc6a13ff1a83617398ffd1a0880b0
/topics/complex_numbers.py
5ecc6a01cc16be43797347bd88d1af7ab792b75a
[]
no_license
stoeckley/manim
1ee27f5c73d028b5b1bd948c6067508a9e393d7b
0af9b3005cb659c98226c8ad737bfc1e7b97517f
refs/heads/master
2021-05-31T19:34:34.098497
2016-01-17T02:08:51
2016-01-17T02:08:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,362
py
from helpers import * from number_line import NumberPlane from animation.transform import ApplyPointwiseFunction from animation.simple_animations import Homotopy from scene import Scene def complex_string(complex_num): return filter(lambda c : c not in "()", str(complex_num)) class ComplexPlane(NumberPlane): ...
[ "grantsanderson7@gmail.com" ]
grantsanderson7@gmail.com
41409f82ccd2588398fdf051d1696b159d04542a
b122b0d43455c6af3344e4319bead23bb9162dac
/instagram/insta_hossem.py
2dea5a7824669a6cb69d3c39770d92c21c404dde
[]
no_license
firchatn/scripts-python
85c7704170404f8a2e531164258f6c8b7e0d27f8
25a6a298aae279f23f08c2ce4674d866c2fca0ef
refs/heads/master
2021-03-16T06:09:23.484585
2018-11-02T10:09:36
2018-11-02T10:09:36
105,776,189
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By import time browser = webdriver.Firefox() browser.get('http://instagram.com') time.sleep(10) browser.find_element_by_xpath("//a[contains(@class, '_b93kq')]").click() compte = '' password = '' fo...
[ "firaschaabencss@gmail.com" ]
firaschaabencss@gmail.com
d25c31f1bf4a4fe5bfe3e31be5b3e8435213d236
ad38d8b669a6e173773ee4eb61ace40d6b508e21
/setup.py
25a29626aa99ce9d64ae330b3062737e5c27f025
[]
no_license
CJWorkbench/intercom
c3bf3eb407ea7c36460cb3ada8359e42938f31c9
c8da8e94584af7d41e350b9bf580bcebc035cbc1
refs/heads/main
2021-06-19T01:16:32.996932
2021-03-19T20:47:58
2021-03-19T20:47:58
192,569,734
0
0
null
2021-03-19T20:48:41
2019-06-18T15:44:12
Python
UTF-8
Python
false
false
392
py
#!/usr/bin/env python from setuptools import setup setup( name="intercom", version="0.0.1", description="Download user lists from Intercom", author="Adam Hooper", author_email="adam@adamhooper.com", url="https://github.com/CJWorkbench/intercom", packages=[""], py_modules=["libraryofcon...
[ "adam@adamhooper.com" ]
adam@adamhooper.com
29ef7a6457b0ff26e9d975f5624e21f36614095c
6bd94dab1b8b4fc0827bf0de9a405234d4e52bf6
/prototype/database/db.py
ab8c327d25436a630561f4be50bb53ac4841bf33
[ "BSD-3-Clause" ]
permissive
shenghuatang/ApiLogicServer
4f11d512bb72a504120e12684168f1ca932d83ea
ea5134d907b3ccf03f6514a2c9a1c25b5a737c68
refs/heads/main
2023-06-22T20:27:41.125374
2021-07-17T15:22:12
2021-07-17T15:22:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
from sqlalchemy.orm import Session from sqlalchemy.ext.declarative import declarative_base import safrs db = safrs.DB Base: declarative_base = db.Model session: Session = db.session print("got session: " + str(session)) def remove_session(): db.session.remove()
[ "valjhuber@gmail.com" ]
valjhuber@gmail.com
caa066ac6f9008d3b8b8f1ba7e83cfe88b54852e
ac2c3e8c278d0aac250d31fd023c645fa3984a1b
/saleor/saleor/shipping/__init__.py
92a86a08b6125f404c3f263a17cdc15aa85fe5f4
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
jonndoe/saleor-test-shop
152bc8bef615382a45ca5f4f86f3527398bd1ef9
1e83176684f418a96260c276f6a0d72adf7dcbe6
refs/heads/master
2023-01-21T16:54:36.372313
2020-12-02T10:19:13
2020-12-02T10:19:13
316,514,489
1
1
BSD-3-Clause
2020-11-27T23:29:20
2020-11-27T13:52:33
TypeScript
UTF-8
Python
false
false
199
py
class ShippingMethodType: PRICE_BASED = "price" WEIGHT_BASED = "weight" CHOICES = [ (PRICE_BASED, "Price based shipping"), (WEIGHT_BASED, "Weight based shipping"), ]
[ "testuser@151-248-122-3.cloudvps.regruhosting.ru" ]
testuser@151-248-122-3.cloudvps.regruhosting.ru
86c2f3c1a2765b31b3aaed5f9b777ff8028bc955
6f8266e36a252e3d0c3c5ec94d2238b21325af3e
/unsupervised_learning/1.Clustering/n3_inspectClustering.py
d7af304d5a1891720eb395184e707584d049a141
[]
no_license
ptsouth97/DeepLearn
c64b9b36850deb075020276d2b01c833c4b70c7d
e1eede4beb645c43545264a7a3ab828ae00c2a4f
refs/heads/master
2020-03-22T06:41:42.046163
2019-01-25T18:31:43
2019-01-25T18:31:43
139,651,311
0
0
null
null
null
null
UTF-8
Python
false
false
942
py
#!/usr/bin/python3 from sklearn.cluster import KMeans import matplotlib.pyplot as plt import n1_clusters, n2_clustering2Dpoints def main(): ''' create a KMeans model to find 3 clusters, and fit it to the data ''' # Create array of data points, new_points = n1_clusters.make_points() # Assign the columns of new_...
[ "ptsouth97@gmail.com" ]
ptsouth97@gmail.com
152a43e71398d137edfc3a6bce005472d32e4ccf
2dfa9a135508d0c123fe98f81e4b2598e14e0dc0
/pytorch_translate/dual_learning/dual_learning_models.py
ad8d19ccdf8808e2d2311f20804192e8adec49a5
[ "BSD-3-Clause" ]
permissive
Meteorix/translate
1ee46c6b8787a18f43f49de4f56871c2aa9660f7
1a40e4ae440118bb108d52f7888cad29b154defd
refs/heads/master
2020-07-02T02:28:34.013666
2019-08-07T16:51:44
2019-08-07T16:55:38
201,386,214
0
0
BSD-3-Clause
2019-08-09T03:58:59
2019-08-09T03:58:59
null
UTF-8
Python
false
false
7,109
py
#!/usr/bin/env python3 import logging import torch.nn as nn from fairseq.models import BaseFairseqModel, register_model from pytorch_translate import rnn from pytorch_translate.rnn import ( LSTMSequenceEncoder, RNNDecoder, RNNEncoder, RNNModel, base_architecture, ) from pytorch_translate.tasks.pyt...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
438d4d3c754121c02e3148d534a7f49f501ba665
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/third_party/google/cloud/pubsublite/internal/wire/default_routing_policy.py
9d0428069840f818b4cf68ad25018cf2cc91f352
[ "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
1,811
py
# 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 agreed to in writing, s...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
bd34f0c623410189976e30913ec1b9bcb28f7ef9
cf9f61e354658d92cd4f8fadc5ca6f1eb8dff9c1
/chicagoID.py
7197e04eddba0c5620f32e71e8afa5ce24d3c78e
[]
no_license
cphalen/IDCard
c183bd383c935ae9b4d4cecb07fc07d937e92229
78c7c044a25f363182b0b52927df127866e82925
refs/heads/master
2021-05-04T20:49:46.855457
2018-09-29T02:47:55
2018-09-29T02:47:55
119,841,029
0
1
null
null
null
null
UTF-8
Python
false
false
507
py
from sharedCode import send print("Type 'exit' to exit the program") f = open('ISO-Dump.csv') lines = f.read().split("\n") chiID = {} for line in lines: if line != "": cols = line.replace(' ', '').split(",") chiID[cols[5]] = cols[:] while True: input_var = str(raw_input("Enter ID #: ")) ...
[ "=" ]
=
664bdba1c3548f53247725c6f9c139de2e1e6ee5
8f0e022e2916fb7e237480fb0acba6c9e371bf6d
/backend/home/migrations/0002_load_initial_data.py
1586576c432aef56792eee1fab885e323be498a5
[]
no_license
crowdbotics-apps/pheeli-21735
3fef05062c20bbac3d6b4015aba80b21253ab579
34f3973720f2e055662782966f2aa55eae3d5839
refs/heads/master
2022-12-29T21:19:23.021378
2020-10-20T03:49:06
2020-10-20T03:49:06
305,582,930
0
0
null
null
null
null
UTF-8
Python
false
false
1,278
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "Pheeli" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ho...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
8fc0b4eca57a8acee9d14094dab8fc6f6b7ff91f
f48f9798819b12669a8428f1dc0639e589fb1113
/desktop/kde/l10n/kde-l10n-de/actions.py
fe0c826ffa47e8dea11b10ba4cb6c4f14a5849cd
[]
no_license
vdemir/PiSiPackages-pardus-2011-devel
781aac6caea2af4f9255770e5d9301e499299e28
7e1867a7f00ee9033c70cc92dc6700a50025430f
refs/heads/master
2020-12-30T18:58:18.590419
2012-03-12T03:16:34
2012-03-12T03:16:34
51,609,831
1
0
null
2016-02-12T19:05:41
2016-02-12T19:05:40
null
UTF-8
Python
false
false
936
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2008-2009 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import shelltools from pisi.actionsapi import cmaketools from pisi.actionsapi import get f...
[ "kaptan@pisipackages.org" ]
kaptan@pisipackages.org
3c6adec786102f38a24e54d1edd84c1f82ea9eaf
a0f0efaaaf69d6ccdc2a91596db29f04025f122c
/build/ca_description/catkin_generated/generate_cached_setup.py
16516c811fa0d462788d39fa25874b59435c8d62
[]
no_license
chiuhandsome/ros_ws_test-git
75da2723154c0dadbcec8d7b3b1f3f8b49aa5cd6
619909130c23927ccc902faa3ff6d04ae0f0fba9
refs/heads/master
2022-12-24T05:45:43.845717
2020-09-22T10:12:54
2020-09-22T10:12:54
297,582,735
0
0
null
null
null
null
UTF-8
Python
false
false
6,518
py
# -*- coding: utf-8 -*- from __future__ import print_function import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')): sys.path.insert(0, ...
[ "chiuhandsome1966@gmail.com" ]
chiuhandsome1966@gmail.com
2047511f9cf33dec55bba5391866c91495f9d24d
981fcfe446a0289752790fd0c5be24020cbaee07
/python2_Grammer/src/ku/matplot_/dot/2设置点的样式.py
03d7118fd8acf4abea24a3c319252e4eff548180
[]
no_license
lijianbo0130/My_Python
7ba45a631049f6defec3977e680cd9bd75d138d1
8bd7548c97d2e6d2982070e949f1433232db9e07
refs/heads/master
2020-12-24T18:42:19.103529
2016-05-30T03:03:34
2016-05-30T03:03:34
58,097,799
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
#coding=utf-8 ''' Created on 2015年5月4日 @author: Administrator ''' def scatter(x, y, s=20, c='b', marker='o', cmap=None, norm=None, vmin=None, vmax=None, alpha=None, linewidths=None, verts=None, hold=None, **kwargs): ''' :param x: X向量 :param y: Y向量 :param s:size 点的大小 :p...
[ "lijianbo@zhongbiao.mobi" ]
lijianbo@zhongbiao.mobi
9a96ee3e3890d83296ae2133c7c9d1595dd7c3c6
00b762e37ecef30ed04698033f719f04be9c5545
/scripts/test_results/scikit-learn_test_results/files/4_plot_roc_local.py
43df54f29e33f98eb8290a943711f1a858793715
[]
no_license
kenji-nicholson/smerge
4f9af17e2e516333b041727b77b8330e3255b7c2
3da9ebfdee02f9b4c882af1f26fe2e15d037271b
refs/heads/master
2020-07-22T02:32:03.579003
2018-06-08T00:40:53
2018-06-08T00:40:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,373
py
""" ======================================= Receiver Operating Characteristic (ROC) ======================================= Example of Receiver Operating Characteristic (ROC) metric to evaluate classifier output quality. ROC curves typically feature true positive rate on the Y axis, and false positive rate on the X a...
[ "srhee4@cs.washington.edu" ]
srhee4@cs.washington.edu
6ad5063b31f346984cb601876ebdc52c81182e7a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03145/s436230804.py
67a8782f717d025da7aa616953b3e02be0aa9eaf
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
AB, BC, CA = map(int, input().split()) print(BC * AB // 2)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e001f4413a6b84f5417a4140027ceaf7b64db41c
82be39549f5d90b1ca1bb65407ae7695e1686ed8
/code_challenges/264/clamy_fernet.py
1b42ee8ab2c6228e9691947ac3cc2b4f0b6f4467
[]
no_license
dcribb19/bitesofpy
827adc9a8984d01c0580f1c03855c939f286507f
a1eb0a5553e50e88d3568a36b275138d84d9fb46
refs/heads/master
2023-03-02T02:04:46.865409
2021-02-12T01:20:30
2021-02-12T01:20:30
259,764,008
1
0
null
2020-10-06T13:48:16
2020-04-28T22:16:38
HTML
UTF-8
Python
false
false
2,146
py
import base64 from cryptography.fernet import Fernet from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC from dataclasses import dataclass from os import urandom from typing import ByteString @datac...
[ "daniel.cribb.10@gmail.com" ]
daniel.cribb.10@gmail.com
a68dd80c57ee01d1dce08e0314b100dd89bc0f14
5ecfa1bf82a7a9fcb542f5063e0ef1c439e0607d
/chapter_14/tally_predictions.py
8f225d50913c2f317809641b1695bea200917665
[ "MIT" ]
permissive
alexiewx/PracticalDeepLearningPython
54256e1e973d30d4290ae9346ee2d314ab6f59c8
7466bac89e6e8e1e491dcacc5172598a05920d79
refs/heads/main
2023-08-30T22:39:04.848840
2021-10-24T17:47:39
2021-10-24T17:47:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
541
py
def tally_predictions(model, x, y): pp = model.predict(x) p = np.zeros(pp.shape[0], dtype="uint8") for i in range(pp.shape[0]): p[i] = 0 if (pp[i,0] > pp[i,1]) else 1 tp = tn = fp = fn = 0 for i in range(len(y)): if (p[i] == 0) and (y[i] == 0): tn += 1 elif (p[i] ...
[ "oneelkruns@hotmail.com" ]
oneelkruns@hotmail.com
c8038c6ab4252fe32f824e803f86d7d7591701ef
bcc7011cb121e653d831e77206e541675e348337
/Ugly_Number_II.py
afcfbde2313398bcaea4e0213ada86f9ccf34003
[]
no_license
Built00/Leetcode
2115c20bf91e9f9226ce952293132bc7a852fe86
ec3c0d4bd368dd1039f0fed2a07bf89e645a89c3
refs/heads/master
2020-11-24T09:12:08.172973
2018-03-27T01:23:08
2018-03-27T01:23:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,405
py
# -*- encoding:utf-8 -*- # __author__=='Gan' # Write a program to find the n-th ugly number. # Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. # For example, 1, 2, 3, 4, 5, 6, 8, 9, 10, 12 is the sequence of the first 10 ugly numbers. # Note that 1 is typically treated as an ugly number, a...
[ "binwengan@gmail.com" ]
binwengan@gmail.com
005133cbc738ddb6c51030f6fb44f6dae7a2faf9
6d7678e3d79c97ddea2e2d65f2c2ef03b17f88f6
/venv/lib/python3.6/site-packages/pysmi/searcher/__init__.py
cd95edb37e9541b91f70578821dc87adce859e79
[ "MIT" ]
permissive
PitCoder/NetworkMonitor
b47d481323f26f89be120c27f614f2a17dc9c483
36420ae48d2b04d2cc3f13d60d82f179ae7454f3
refs/heads/master
2020-04-25T11:48:08.718862
2019-03-19T06:19:40
2019-03-19T06:19:40
172,757,390
2
0
MIT
2019-03-15T06:07:27
2019-02-26T17:26:06
Python
UTF-8
Python
false
false
355
py
# # This file is part of pysmi software. # # Copyright (c) 2015-2019, Ilya Etingof <etingof@gmail.com> # License: http://snmplabs.com/pysmi/license.html # from pysmi.searcher.pyfile import PyFileSearcher from pysmi.searcher.pypackage import PyPackageSearcher from pysmi.searcher.stub import StubSearcher from pysmi.searc...
[ "overlord.lae@gmail.com" ]
overlord.lae@gmail.com
83aaca0d2c081e8e5f248cf12397bcef49910b51
9452f681ea486fc53ad88d05392aed5fc450805c
/data_language_all/python/python_358.txt
3202680a961720d40a417dbb85b675ccb1b70be6
[]
no_license
CoryCollins/src-class
11a6df24f4bd150f6db96ad848d7bfcac152a695
f08a2dd917f740e05864f51ff4b994c368377f97
refs/heads/master
2023-08-17T11:53:28.754781
2021-09-27T21:13:23
2021-09-27T21:13:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
603
txt
#!/usr/bin/env python # coding:utf-8 import time from gae import __version__ def application(environ, start_response): start_response('200 OK', [('Content-Type', 'text/plain; charset=UTF-8')]) if environ['PATH_INFO'] == '/robots.txt': yield '\n'.join(['User-agent: *', 'Disallow: /']) els...
[ "znsoft@163.com" ]
znsoft@163.com
b6cf0010323137b56fa6a9fb8154537ce795ecf0
e6c65e2e354336a4bea5b6a4ccbccd3682915fe2
/out-bin/py/google/fhir/labels/bundle_to_label_test.runfiles/pypi__apache_beam_2_9_0/apache_beam/testing/util.py
d3a88f330d1f77eb73607ff539bda56a44994246
[ "Apache-2.0" ]
permissive
rasalt/fhir-datalab
c30ab773d84983dd04a37e9d0ddec8bf2824b8a4
3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de
refs/heads/master
2021-10-09T05:51:04.593416
2018-12-21T18:11:03
2018-12-22T05:38:32
162,744,237
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
/home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/pypi__apache_beam_2_9_0/apache_beam/testing/util.py
[ "ruchika.kharwar@gmail.com" ]
ruchika.kharwar@gmail.com
1dcd4823d7cd977207da1e30b6e356b847c5aaac
81fbbf5a2c34b6d48aafa90b05faf0f56db892e1
/lib/fileop/errors.py
5a9f6ba40301635909a3731013191234f0129063
[ "MIT" ]
permissive
ellenlee1/dynamo
d1ea05a6f93668875576520d2e62cd3174120e4f
1d42ef49f523f5bc56ff2cf42fdf8e47a4108e2e
refs/heads/master
2020-03-25T00:37:09.660391
2018-08-01T18:50:12
2018-08-01T18:50:12
143,195,297
0
0
MIT
2018-08-01T18:47:01
2018-08-01T18:47:01
null
UTF-8
Python
false
false
3,738
py
import errno # For whatever reason, the following codes are missing from python errno errno.ENOMEDIUM = 123 errno.EMEDIUMTYPE = 124 errno.ECANCELED = 125 errno.ENOKEY = 126 errno.EKEYEXPIRED = 127 errno.EKEYREVOKED = 128 errno.EKEYREJECTED = 129 # message, error code msg_to_code = [ ('performance marker', errno.E...
[ "yiiyama@mit.edu" ]
yiiyama@mit.edu
99e5dde4f9e8caf124d612b0cc3ab50630307c1c
1fe0b680ce53bb3bb9078356ea2b25e572d9cfdc
/venv/lib/python2.7/site-packages/ansible/modules/network/aos/_aos_asn_pool.py
c81fac21e7ef1a096bd8194e0a17fb616932b7a1
[ "MIT" ]
permissive
otus-devops-2019-02/devopscourses_infra
1929c4a9eace3fdb0eb118bf216f3385fc0cdb1c
e42e5deafce395af869084ede245fc6cff6d0b2c
refs/heads/master
2020-04-29T02:41:49.985889
2019-05-21T06:35:19
2019-05-21T06:35:19
175,780,457
0
1
MIT
2019-05-21T06:35:20
2019-03-15T08:35:54
HCL
UTF-8
Python
false
false
10,714
py
#!/usr/bin/python # # (c) 2017 Apstra Inc, <community@apstra.com> # # This file is part of Ansible # # Ansible 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 opt...
[ "skydevapp@gmail.com" ]
skydevapp@gmail.com
457402d4eaabebf8990389ea3c4f45cb68b8bcbe
2359121ebcebba9db2cee20b4e8f8261c5b5116b
/configs_pytorch/e34.py
d36f30f4a718d8dba027c70d21f4493f0b2003f5
[]
no_license
EliasVansteenkiste/plnt
79840bbc9f1518c6831705d5a363dcb3e2d2e5c2
e15ea384fd0f798aabef04d036103fe7af3654e0
refs/heads/master
2021-01-20T00:34:37.275041
2017-07-20T18:03:08
2017-07-20T18:03:08
89,153,531
2
1
null
null
null
null
UTF-8
Python
false
false
14,351
py
#copy of j25 import numpy as np from collections import namedtuple from functools import partial from PIL import Image import data_transforms import data_iterators import pathfinder import utils import app import torch import torchvision import torch.optim as optim import torch.nn as nn from torch.nn import init ...
[ "Elias.Vansteenkiste@gmail.com" ]
Elias.Vansteenkiste@gmail.com
5cdc0af5edab6e038cb4eeb8d2e7b703f2d36c10
4c7baee40b96e6499f96d6fe81935437264c9c88
/stock_scraper/MainDriver/IndicatorTester/ADXIndicatorTesting.py
e6644bf00c73eb419ffdcb89a30ffbd596017f75
[ "MIT" ]
permissive
webclinic017/Stock-Analysis
083d376484adebcad2d52113749a513aa48b09a8
eea8cb5bcb635f12eb15ac13306ef16e2892cd92
refs/heads/master
2022-04-13T00:20:54.287730
2020-03-29T21:05:22
2020-03-29T21:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,729
py
import sys from os import path sys.path.append( path.dirname( path.dirname( path.abspath(__file__) ) ) ) sys.path.append( path.dirname( path.dirname( path.dirname( path.abspath(__file__) ) ) ) ) import pandas as pd from scraper.utility import * from MainDriver.IndicatorTester.IndicatorTesterClass import kIndicatorTest...
[ "singhanurag50@gmail.com" ]
singhanurag50@gmail.com
a48890bd444f48bc8314e5f840ce4da4bb1a5bb1
c2849586a8f376cf96fcbdc1c7e5bce6522398ca
/ch28/ex28-5.py
199e45d67884a4e186e1a99aebbe52ea8959076e
[]
no_license
freebz/Learning-Python
0559d7691517b4acb0228d1cc76de3e93915fb27
7f577edb6249f4bbcac4f590908b385192dbf308
refs/heads/master
2020-09-23T01:48:24.009383
2019-12-02T12:26:40
2019-12-02T12:26:40
225,371,155
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
# 버전 이식성: Print 함수 # py -2 person.py # ('Bob Smith', 0) # ('Sue Jones', 100000) from __fure__ import print_function print('{0} {1}'.format(bob.name, bob.pay)) # 포맷 메서드 print('%s %s' % (bob.name, bob.pay)) # 포맷 표현식
[ "freebz@hananet.net" ]
freebz@hananet.net
c69e3d82ce5b714344fefdd9359e37fb79c491aa
d93fe0484fc3b32c8fd9b33cc66cfd636a148ec4
/AtCoder/PAST1/probC.py
6a32593ddf1f0bb5c53475f5f2dfc7dfbdb53116
[]
no_license
wattaihei/ProgrammingContest
0d34f42f60fa6693e04c933c978527ffaddceda7
c26de8d42790651aaee56df0956e0b206d1cceb4
refs/heads/master
2023-04-22T19:43:43.394907
2021-05-02T13:05:21
2021-05-02T13:05:21
264,400,706
0
0
null
null
null
null
UTF-8
Python
false
false
69
py
A = list(map(int, input().split())) A.sort(reverse=True) print(A[2])
[ "wattaihei.rapyuta@gmail.com" ]
wattaihei.rapyuta@gmail.com
dbf9e6875fa49ed080fb938a4779cee26ebb7abd
1c9c0918637209b31fae10fec8329a864f4ddf2a
/lib/fabio/test/testGEimage.py
b59504e1c386bef104ac73221b7488a5d34e3eb0
[]
no_license
albusdemens/astrarecon_tests
224f2695ba14e4e6c8a2173132c1d30edba24e1b
6b0ee69a2357eb568e2fde1deccfa8b6dd998496
refs/heads/master
2021-01-18T19:43:17.485309
2017-07-21T12:17:54
2017-07-21T12:17:54
100,536,451
0
0
null
null
null
null
UTF-8
Python
false
false
2,873
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Project: Fable Input Output # https://github.com/silx-kit/fabio # # Copyright (C) European Synchrotron Radiation Facility, Grenoble, France # # Principal author: Jérôme Kieffer (Jerome.Kieffer@ESRF.eu) # # This program is free software: you...
[ "mannaro85@gmail.com" ]
mannaro85@gmail.com
d05dba8c42acde9c067414753a54c7e22f014b8b
d5a5ff1ed1f508c47e9506a552bf44844bcdc071
/labor/business.py
30a68565c63be37f889370060e9f8f8d0cbd6cb1
[]
no_license
sintaxyzcorp/prometeus
5c9dc20e3c2f33ea6b257b850ff9505621302c47
2508603b6692023e0a9e40cb6cd1f08465a33f1c
refs/heads/master
2021-09-01T09:31:36.868784
2017-12-26T07:58:27
2017-12-26T07:58:27
113,787,842
0
1
null
2017-12-18T08:25:31
2017-12-10T22:16:28
JavaScript
UTF-8
Python
false
false
3,230
py
# -*- coding: utf-8 -*- # Django's Libraries from django.shortcuts import get_object_or_404 from django.db.models import Q from django.core.paginator import Paginator from django.core.paginator import EmptyPage from django.core.paginator import PageNotAnInteger # Own's Libraries from .models import IncidentReport ...
[ "carloxdev@gmail.com" ]
carloxdev@gmail.com
65d52cdedac7d0a6460e1e1980f18c2c594b6c1b
aa1972e6978d5f983c48578bdf3b51e311cb4396
/nitro-python-1.0/nssrc/com/citrix/netscaler/nitro/resource/stat/cluster/clusternode_stats.py
abe2d6e3e45fa778aaa226fb9adbf4931f703567
[ "Python-2.0", "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
MayankTahil/nitro-ide
3d7ddfd13ff6510d6709bdeaef37c187b9f22f38
50054929214a35a7bb19ed10c4905fffa37c3451
refs/heads/master
2020-12-03T02:27:03.672953
2017-07-05T18:09:09
2017-07-05T18:09:09
95,933,896
2
5
null
2017-07-05T16:51:29
2017-07-01T01:03:20
HTML
UTF-8
Python
false
false
7,729
py
# # Copyright (c) 2008-2016 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "Mayank@Mandelbrot.local" ]
Mayank@Mandelbrot.local
fdecc8791d1fe84d3a7a0b13de466a0681441769
97af32be868ceba728202fe122852e887841e20c
/posts/viewsets.py
70d9194711b064d33b77fc0e298efcb2fb906e53
[]
no_license
Paguru/paguru_challenge_api
40e5b52300a260d463a19685addb50786f3acbe6
8f08a5f0e9f957402a7722dd9aa3846cdd018725
refs/heads/main
2023-01-13T19:15:11.720923
2020-11-23T14:25:30
2020-11-23T14:25:30
313,945,901
3
0
null
null
null
null
UTF-8
Python
false
false
885
py
from rest_framework import viewsets, permissions from .serializers import PostSerializer from .models import Post class IsAuthor(permissions.BasePermission): def has_object_permission(self, request, view, obj): if request.user: if request.user.is_superuser: return True ...
[ "leonardofreitasdev@gmail.com" ]
leonardofreitasdev@gmail.com
8891c63d771f6a79d7d21a6d4e1aa2b6b160da21
a9fc606f6d86d87fe67290edc49265986a89b882
/0x01-challenge/square.py
968a4ca633933d88ff03bcf97ff32862dd42e645
[]
no_license
Jilroge7/Fix_My_Code_Challenge
5a4a1aae18ebc600fdb327bcf8958e67475562f5
b9309addde32a714a533cbb43e87ba180b19e67a
refs/heads/master
2022-12-25T22:23:09.815638
2020-10-01T18:28:50
2020-10-01T18:28:50
287,828,672
0
1
null
null
null
null
UTF-8
Python
false
false
608
py
#!/usr/bin/python3 class square(): width = 0 height = 0 def __init__(self, *args, **kwargs): for key, value in kwargs.items(): setattr(self, key, value) def area_of_my_square(self): """ Area of the square """ return self.width * self.height def PermiterOfMyS...
[ "1672@holbertonschool.com" ]
1672@holbertonschool.com
e1bbf8182e588f5f52ffb8cadb97eaa892c613ba
1e263d605d4eaf0fd20f90dd2aa4174574e3ebce
/plugins/support-acl/setup.py
f1476d2d80a32ac08318c6525eb595d35a343679
[]
no_license
galiminus/my_liveblog
698f67174753ff30f8c9590935d6562a79ad2cbf
550aa1d0a58fc30aa9faccbfd24c79a0ceb83352
refs/heads/master
2021-05-26T20:03:13.506295
2013-04-23T09:57:53
2013-04-23T09:57:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
''' Created on June 14, 2012 @package: support acl @copyright: 2012 Sourcefabric o.p.s. @license: http://www.gnu.org/licenses/gpl-3.0.txt @author: Gabriel Nistor ''' # -------------------------------------------------------------------- from setuptools import setup, find_packages # ---------------------------------...
[ "etienne@spillemaeker.com" ]
etienne@spillemaeker.com
9ef335479513bfd0e95172dcbc515989e2208930
505ce732deb60c4cb488c32d10937a5faf386dce
/di_website/place/migrations/0006_auto_20190819_0751.py
ae04259a02373cbe7e974ab6654f35a3725dfcff
[]
no_license
davidebukali/di_web_test
cbdbb92b2d54c46771b067a24480e6699f976a15
a826817a553d035140bb8b6768f3fd2b451199d8
refs/heads/develop
2023-02-11T13:21:26.281899
2021-01-08T04:37:34
2021-01-08T04:37:34
319,560,677
0
0
null
2021-01-08T04:37:35
2020-12-08T07:30:51
HTML
UTF-8
Python
false
false
3,476
py
# Generated by Django 2.2.3 on 2019-08-19 07:51 from django.db import migrations import wagtail.core.blocks import wagtail.core.fields import wagtail.documents.blocks import wagtail.embeds.blocks import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ('place', '0005_auto_20...
[ "edwinm_p@yahoo.com" ]
edwinm_p@yahoo.com
2e8b12f1688ccdc4e2dbffa82c03704c1569082b
48832d27da16256ee62c364add45f21b968ee669
/res/scripts/client/messenger/gui/scaleform/channels/bw/__init__.py
baf94f407f20cf5ee2e4f40fcc8f9542bff22cb2
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
492
py
# 2016.08.04 19:54:00 Střední Evropa (letní čas) # Embedded file name: scripts/client/messenger/gui/Scaleform/channels/bw/__init__.py from messenger.gui.Scaleform.channels.bw.factories import LobbyControllersFactory __all__ = 'LobbyControllersFactory' # okay decompyling c:\Users\PC\wotsources\files\originals\res\script...
[ "info@webium.sk" ]
info@webium.sk
f5414a7b48746434a7782d7536d9dbd9b7408df0
a5e71a333a86476b9cb1bdf6989bb5f47dd5e409
/ScrapePlugins/M/MangaStreamLoader/ContentLoader.py
a34c254432bb1bbfe774256e4929aa4e787bc847
[]
no_license
GDXN/MangaCMS
0e797299f12c48986fda5f2e7de448c2934a62bd
56be0e2e9a439151ae5302b3e6ceddc7868d8942
refs/heads/master
2021-01-18T11:40:51.993195
2017-07-22T12:55:32
2017-07-22T12:55:32
21,105,690
6
1
null
2017-07-22T12:55:33
2014-06-22T21:13:19
Python
UTF-8
Python
false
false
4,185
py
import logSetup import runStatus import bs4 import nameTools as nt import os import os.path import processDownload import ScrapePlugins.RetreivalBase import settings import traceback import urllib.parse import webFunctions import zipfile class ContentLoader(ScrapePlugins.RetreivalBase.RetreivalBase): loggerPath...
[ "something@fake-url.com" ]
something@fake-url.com