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
a1f3baae2ae7d957d069289b1f36d2f680d3f886
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.5_rd=0.5_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=12/params.py
106ee852332fe69aea38aeb0a6597ada33dc539f
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
{'cpus': 4, 'duration': 30, 'final_util': '2.525095', 'max_util': '2.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '0.5', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 12, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
8127981a06daf63dd10904afe21974e27bd20512
580905861e3bdd1990cde76ba2b057c898e6f088
/Django_Stuff/class_based_views/basic_app/urls.py
8096ed097b0ecd3ea89f8ca6fa5ecf60bc74a0e5
[ "MIT" ]
permissive
muhammad-mamdouh/Django_Projects
14eddfdc25aa4be43c5d35e30c5efb146e255101
1f31e12aefb36b33474256db40a2c551882f445e
refs/heads/master
2022-12-10T20:02:38.918760
2019-12-14T21:24:08
2019-12-14T21:24:08
198,602,869
0
1
null
2022-11-22T04:13:34
2019-07-24T09:28:59
Python
UTF-8
Python
false
false
487
py
from django.urls import path from . import views app_name = 'basic_app' urlpatterns = [ path('', views.SchoolListView.as_view(), name='schools_list'), path('<int:pk>/', views.SchoolDetailView.as_view(), name='school_details'), path('create/', views.SchoolCreateView.as_view(), name='school_create'), pat...
[ "mahammad.mamdouh@gmail.com" ]
mahammad.mamdouh@gmail.com
408a957f07a2f0486900b35cab2bb2e923ea175c
b0e22deb519ec621b5f866bb15d15d597e6e75d4
/tests/models/validators/v3_0_0/jsd_c14128e5729b55e9b1feb638a8295e10.py
6b6d6f0e8e70d411891cb9993db6641a3b1f7ff3
[ "MIT" ]
permissive
oianson/ciscoisesdk
49ed9cd785a8e463cac4c5de3b1f3ff19e362871
c8fe9d80416048dd0ff2241209c4f78ab78c1a4a
refs/heads/main
2023-07-31T20:08:29.027482
2021-07-09T15:16:04
2021-07-09T15:16:04
385,743,799
0
0
MIT
2021-07-13T21:52:18
2021-07-13T21:52:18
null
UTF-8
Python
false
false
9,567
py
# -*- coding: utf-8 -*- """Identity Services Engine getNetworkAccessGlobalExceptionRuleById data model. Copyright (c) 2021 Cisco and/or its affiliates. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Soft...
[ "wastorga@altus.co.cr" ]
wastorga@altus.co.cr
97539f5418cf3928aff3692de719426093e91949
aa4901a8e75bb31e27a5088ec6e53494e19ea48e
/main/api/permissions.py
594a2774c732f6e32c3c5f783d4ad4017cca2407
[]
no_license
ByAvatarOff/SameTinder
e65cbbcc25a383e10c602de235e6f38bd5917f98
3e89c572c2edb78286f136f87cc3ff4846bd2059
refs/heads/master
2023-05-27T20:07:22.188835
2021-06-09T10:42:32
2021-06-09T10:42:32
335,273,909
0
1
null
null
null
null
UTF-8
Python
false
false
288
py
from rest_framework.permissions import BasePermission, SAFE_METHODS class IsOwnerProfile(BasePermission): def has_object_permission(self, request, view, obj): print(obj, view, obj.user.username) print(obj.user != request.user) return obj.user != request.user
[ "tsp7439@gmail.com" ]
tsp7439@gmail.com
959059b948a2b693180c69490a916f6139a44483
f95d2646f8428cceed98681f8ed2407d4f044941
/day40/test_lock.py
daad077e967e8ed2e3bf02e29c495f046ca8dacf
[]
no_license
q2806060/python-note
014e1458dcfa896f2749c7ebce68b2bbe31a3bf8
fbe107d668b44b78ae0094dbcc7e8ff8a4f8c983
refs/heads/master
2020-08-18T01:12:31.227654
2019-10-17T07:40:40
2019-10-17T07:40:40
215,731,114
1
0
null
null
null
null
UTF-8
Python
false
false
363
py
from threading import Lock, Thread m = 0 n = 0 def f1(): while True: with lock: if m != n: print('m =', m, 'n =', n) if __name__ == '__main__': lock = Lock() t = Thread(target=f1) t.start() while True: with lock: m += 1 n += 1 ...
[ "C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn" ]
C8916BA958F57D5A740E38E94644A3F8@i-search.com.cn
99eca18e5780231a3499acac6d61f0aae84efe15
a5698f82064aade6af0f1da21f504a9ef8c9ac6e
/huaweicloud-sdk-meeting/huaweicloudsdkmeeting/v1/model/user_dto.py
9ec9c3a799f903b7f6373ebbf88a82d594898d68
[ "Apache-2.0" ]
permissive
qizhidong/huaweicloud-sdk-python-v3
82a2046fbb7d62810984399abb2ca72b3b47fac6
6cdcf1da8b098427e58fc3335a387c14df7776d0
refs/heads/master
2023-04-06T02:58:15.175373
2021-03-30T10:47:29
2021-03-30T10:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,929
py
# coding: utf-8 import pprint import re import six class UserDTO: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the value is json ke...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
a28e70a40e954a2b65089db852c5a4ebf621fa2c
0b932d446d88013fadb8c4e0dd3ca3cc4a1a5de3
/localizacion/inte_nro_control_secuencial/__manifest__.py
3fe660f1f411281f17218061b50905c915108f7f
[]
no_license
grudiver/biumak
cd8e7477bba3389b2144fa6d35cd89d2eaf0210f
65705737f16da087b6cb01f725236e7bc9c59c86
refs/heads/master
2022-04-11T13:17:33.347975
2020-03-24T17:55:24
2020-03-24T17:55:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
638
py
# coding: utf-8 ########################################################################### ############################################################################## { "name": "Números de control SENIAT automaticos TYSAMNCA", "version": "1.0", "author": "Tysamnca", "license": "AGPL-3", "catego...
[ "soporte.innova2129@gmail.com" ]
soporte.innova2129@gmail.com
07a6a238b645d7e22766752b4f28aa6af2f7adf2
52243c4a05a296e7c042663b5942faa47eb66aee
/common_nlp/historico_processo.py
0ae114414b1095471ef1bb0480d7dbc6e4ac3f52
[ "MIT" ]
permissive
joaoppadua/Pesquisas
fbe0311b59340c041732d6d1f7f4862fa6c53198
808d8b0ef9e432e05a4f284ce18778ed8b3acd96
refs/heads/master
2023-07-16T02:50:30.846205
2021-09-03T13:34:54
2021-09-03T13:34:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,954
py
from parserTextoJuridico import parserTextoJuridico import pandas as pd, json, arrow class historico_processo(parserTextoJuridico): """Classe para obtenção de histórico do processo""" def __init__(self): super().__init__() self.batch_publicacoes = 1000 self.historico = None se...
[ "danilopcarlotti@gmail.com" ]
danilopcarlotti@gmail.com
d48c7d8e186158688fa8c2d9fb45afdee4e40eee
d28bd8a27dd33e8140f2dc48ae169b8c0fe46147
/setup.py
301b47df2fa164da557c51ec1ff11a2069a127f4
[]
no_license
marians/agssearch
b622de07b154ffdc688d477eb8ada66b516f8a64
3cabcaffda87347860072397a8e21773f217fad5
refs/heads/master
2016-09-05T11:30:19.978140
2014-01-26T12:45:22
2014-01-26T12:45:22
9,577,467
3
1
null
null
null
null
UTF-8
Python
false
false
637
py
# encoding: utf-8 from setuptools import setup try: import pypandoc description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): description = '' setup(name='agssearch', version='0.4', description='Python client for the German Destatis Gemeindeverzeichnis', long_descripti...
[ "marian@sendung.de" ]
marian@sendung.de
51bc9804b7ed340c37114ba3be568e7a407ff429
9cd180fc7594eb018c41f0bf0b54548741fd33ba
/sdk/python/pulumi_azure_nextgen/network/v20200401/ddos_protection_plan.py
e1c065824886b7f386b7f649e0715cf4605db0b7
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
MisinformedDNA/pulumi-azure-nextgen
c71971359450d03f13a53645171f621e200fe82d
f0022686b655c2b0744a9f47915aadaa183eed3b
refs/heads/master
2022-12-17T22:27:37.916546
2020-09-28T16:03:59
2020-09-28T16:03:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,788
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
a650ff2e726fa3c8a71871ebc3fe44fa460c67d6
077a17b286bdd6c427c325f196eb6e16b30c257e
/08_FmtString-unit-tests/10_32/verified-exploit-FsGotShellcode.py
267c686b65001ace4568decd888bfabf4113bbdb
[]
no_license
KurSh/remenissions_test
626daf6e923459b44b82521aa4cb944aad0dbced
9dec8085b62a446f7562adfeccf70f8bfcdbb738
refs/heads/master
2023-07-08T20:25:04.823318
2020-10-05T06:45:16
2020-10-05T06:45:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,583
py
# +------------------------------------------------+ # | Atack: Format String GOT Shellcode | # +------------------------------------------------+ # # For more info checkout: https://github.com/guyinatuxedo/nightmare/tree/master/modules/10-fmt_strings from pwn import * import sf target = process("./chall...
[ "ryancmeinke@gmail.com" ]
ryancmeinke@gmail.com
93366da9c13ccb209b3b624ab0008ae69ab264fb
80810054516ddc3fd93e916de4bf7e3e07d871b0
/1-books/book2_TensorFlow实战Google深度学习框架(第二版)/practice/LSTM_test1.py
cbed959b70b74bac7a7f453e2de3150c42bb2b24
[]
no_license
TinyHandsome/BookStudy
df9ca668f2dd1b51b1e364c22bc531394a03eeae
69c9018bb70893f74a44e4df9f3d3e39467de3f6
refs/heads/master
2023-09-04T03:06:43.918259
2023-09-01T04:27:01
2023-09-01T04:27:01
184,217,837
18
17
null
null
null
null
UTF-8
Python
false
false
2,216
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- # coding=utf-8 """ @author: Li Tian @contact: 694317828@qq.com @software: pycharm @file: LSTM_test1.py @time: 2018/12/23 13:37 @desc: LSTM测试1 """ import tensorflow as tf # 定义一个LSTM结构。再Tensorflow中通过一句简单的命令就可以实现一个完整的LSTM结构。 # LSTM中使用的变量也会在该函数中自动被声明 lstm = tf.nn.rnn_cell.B...
[ "694317828@qq.com" ]
694317828@qq.com
25a74194ca6e00f498d76dc01fac448dabd6dcdc
5d28c38dfdd185875ba0edaf77281e684c81da0c
/tests/projects/backend/test_local.py
6d2c431abc4dfb26ae7324c1182734a9f5c5ff01
[ "Apache-2.0" ]
permissive
imrehg/mlflow
3a68acc1730b3ee6326c1366760d6ddc7e66099c
5ddfe9a1b48e065540094d83125040d3273c48fa
refs/heads/master
2022-09-24T05:39:02.767657
2022-09-20T00:14:07
2022-09-20T00:14:07
244,945,486
1
0
Apache-2.0
2020-03-04T16:11:54
2020-03-04T16:11:53
null
UTF-8
Python
false
false
3,187
py
import os from unittest import mock from mlflow.projects.backend.local import _get_docker_artifact_storage_cmd_and_envs def test_docker_s3_artifact_cmd_and_envs_from_env(): mock_env = { "AWS_SECRET_ACCESS_KEY": "mock_secret", "AWS_ACCESS_KEY_ID": "mock_access_key", "MLFLOW_S3_ENDPOINT_URL...
[ "noreply@github.com" ]
imrehg.noreply@github.com
ac0ef84ade51397fbee7edd074f3c6ea7195b611
d700b9ad1e0b7225871b65ce0dafb27fb408c4bc
/students/k3342/laboratory_works/Frolov_Alex/laboratory_work_2/lab2_app/apps.py
485b93435cb1e8f7116e847859352c160710f558
[ "MIT" ]
permissive
TonikX/ITMO_ICT_WebProgramming_2020
a8c573ed467fdf99327777fb3f3bfeee5714667b
ba566c1b3ab04585665c69860b713741906935a0
refs/heads/master
2023-01-11T22:10:17.003838
2020-10-22T11:22:03
2020-10-22T11:22:03
248,549,610
10
71
MIT
2023-01-28T14:04:21
2020-03-19T16:18:55
Python
UTF-8
Python
false
false
95
py
from django.apps import AppConfig class Lab2AppConfig(AppConfig): name = 'lab2_app'
[ "noreply@github.com" ]
TonikX.noreply@github.com
f3a373a6f19c2f0cffafcbdfe7cc7e243c9f42e0
cac9c211a4eeb55cfd61d8e5c54a1d4082c4de33
/Experimental/SLP/webslptool.py
05fc80ef9e7f2def20ce53e4aa4dcd72059c9b6e
[ "BSD-3-Clause" ]
permissive
vchateauneu/survol
8c8b5db67f81c6400c3e2f4b84b57fb83d69fb1f
2b5be9d28115f8f9b1dd91bf05449c92bf9a9926
refs/heads/master
2020-03-21T09:11:37.765314
2018-07-03T20:40:16
2018-07-03T20:40:16
138,387,051
1
0
null
2018-06-23T09:05:45
2018-06-23T09:05:45
null
UTF-8
Python
false
false
8,376
py
#!/usr/bin/python from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer import CGIHTTPServer import re import os from os import curdir, sep import cgi import time import urllib import quik from quik import FileLoader def PrintTime(): print time.strftime('%X') PORT_NUMBER = 1234 # Specialised htpp server wh...
[ "remi.chateauneu@gmail.com" ]
remi.chateauneu@gmail.com
c8d783e36ee0e5587a7cc94fd30c3ed54e15537c
388e90c9cfdb59b28654d711fe1943aeda7cf3fd
/third_party/rlkit_library/rlkit/torch/distributions.py
f6d52d7e57d6894d213cc26a55d0ef533314bd5d
[ "MIT", "Apache-2.0" ]
permissive
google-research/DBAP-algorithm
bbb2827de7f00c9efa30e3cde109ff755b4d008a
545a4e780f9d9d480c96b67e7a8ae590a983db6b
refs/heads/main
2023-07-05T00:38:47.424870
2021-08-09T23:59:10
2021-08-09T23:59:10
394,473,322
3
2
null
null
null
null
UTF-8
Python
false
false
14,670
py
# Copyright 2021 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, ...
[ "karolhausman@google.com" ]
karolhausman@google.com
4aa8d69e3fc68379c480897545f8d19475acb2d8
febeffe6ab6aaa33e3a92e2dbbd75783a4e32606
/ssseg/cfgs/ce2p/base_cfg.py
53ab052f882aa2949da132381458f39250509ae2
[ "MIT" ]
permissive
Junjun2016/sssegmentation
7bbc5d53abee1e0cc88d5e989e4cff5760ffcd09
bf7281b369e8d7fc2f8986caaeec3ec38a30c313
refs/heads/main
2023-02-04T22:09:13.921774
2020-12-23T06:28:56
2020-12-23T06:28:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,668
py
'''base config for ce2p''' # config for dataset DATASET_CFG = { 'train': { 'type': '', 'set': 'train', 'rootdir': '', 'aug_opts': [('Resize', {'output_size': (2048, 512), 'keep_ratio': True, 'scale_range': (0.5, 2.0)}), ('RandomCrop', {'crop_size': (512, 512), 'o...
[ "1159254961@qq.com" ]
1159254961@qq.com
05d4e7398b6baf2c1f7de7b84f7a6e0e81cb0afb
d8fa0ed226e6dbc0f607961c8b711362942b120a
/maskrcnn_benchmark/modeling/roi_heads/pred_head/roi_pred_predictors.py
61f4ef46ed49d5168e57a75390aabcbf51111053
[]
no_license
ltnghia/video-maskrcnn
70d003f038f82156ec9a8dca4ce1b8ea1190792c
b0bc8eb8b43a8b45335625525eba620b389ba591
refs/heads/master
2021-06-19T11:13:29.058747
2021-04-01T02:19:07
2021-04-01T02:19:07
199,971,172
8
4
null
null
null
null
UTF-8
Python
false
false
3,052
py
from maskrcnn_benchmark.modeling import registry from torch import nn import math import torch from maskrcnn_benchmark.modeling.make_layers import make_fc @registry.ROI_PRED_PREDICTOR.register("FastRCNNPredictor") class FastRCNNPredictor(nn.Module): def __init__(self, cfg, in_channels): super(FastRCNNPred...
[ "trungnghiadk@gmail.com" ]
trungnghiadk@gmail.com
fdc61ea92d64ff7e6860e3bbbd86c25e0cf2f2b3
44e85fa836a4099478a1c17f920cbd9f8b862ccb
/pos_language_model/morph_analyzer_single_counts_main.py
57721f417c8fff33874a256f2f433158b4fa7c48
[]
no_license
yukitomo/jp_robust_morphame_analysis
7da9c4fdb3a743704d2e5f0acfb1a177c031230e
6ca8b22a08003da7ce32201f9fe7968b92889643
refs/heads/master
2021-01-25T07:28:47.093365
2015-04-20T23:51:46
2015-04-20T23:51:46
27,806,235
0
0
null
null
null
null
UTF-8
Python
false
false
4,823
py
#!/usr/bin/python #-*-coding:utf-8-*- #2015-01-31 Yuki Tomo import pickle import math import jctconv import string import sys from collections import defaultdict from make_dict_obj import Morph from morph_analizer_counts import * def main(): """ posid_unigram_freq : 品詞の頻度 posid_bigram_freq : 品詞バイグラムの頻度 posid_word...
[ "over.the.tr0ouble@gmail.com" ]
over.the.tr0ouble@gmail.com
91e40c70561c19a95bdf6e85872cc990ed29743d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02762/s492187443.py
d50e3beeefcb45621883846f22b51342ddd97ea9
[]
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
1,422
py
import collections class UnionFind: def __init__(self, N): self.parent = [i for i in range(N)] self.rank = [0]*N self.count = 0 def root(self, a): if self.parent[a]==a: return a else: self.parent[a]=self.root(self.parent[a]) return self...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2c36910a906c4c9ba81c09a28d3c666e18ad3e0c
b22e40b12e198af858dbf71cdb85f459314c0e37
/image_utils.py
c721a20228730f3744ad52aa2f9ebe1448380216
[]
no_license
gauenk/python_modules
8b40626b566e4fdd7db6fc830255ed3daa34b039
632d4813a8e182c74b950d98f3f5b98732d8d6ad
refs/heads/master
2020-12-15T16:34:42.542568
2020-06-09T15:47:43
2020-06-09T15:47:43
235,180,107
0
0
null
null
null
null
UTF-8
Python
false
false
3,529
py
import numpy as np import cv2 def overflowOnly(coordinate,rows,cols): if 0 > coordinate[0]: coordinate[0] = np.abs(coordinate[0]) elif rows < coordinate[0]: coordinate[0] = rows - coordinate[0] if 0 > coordinate[1]: coordinate[1] = np.abs(coordinate[1]) elif cols < coordinate[1]: coordinate[1] = cols -...
[ "kent.gauen@gmail.com" ]
kent.gauen@gmail.com
afb8c441118da9ce0c7ceb12fc640da170000a66
d9e8b7d5c468b38cdf18cece9dff12ad1188a71b
/DiscussionForum/Postapp/views.py
7cf20fbdb26a0e0028127630d851e46d326f9dac
[]
no_license
Ruchika-Munde/Django_Task
f14e0497a4f8045a68dbe58bbd772abf606369d3
7fa549842a544527b9f78cbfcf52c26dde31463c
refs/heads/master
2022-12-16T17:53:12.577323
2020-09-09T07:34:43
2020-09-09T07:34:43
294,036,604
0
0
null
null
null
null
UTF-8
Python
false
false
1,502
py
from django.shortcuts import render,redirect from Postapp.forms import Addpostform from Postapp.models import Post from django.views import View from Userapp.models import User from Commentapp.forms import commentform from Postapp.decorator import user_login # Create your views here. #for add post class base(View): ...
[ "ruchamunde@gmail.com" ]
ruchamunde@gmail.com
878c2b75897dabb57c8c8b8f229f2b4c3c2fda3e
7823d31688879b2d4dcfd2e3c11fb2c862f35a23
/AlexNet/cifar/__init__.py
0e34a0daf85c1391567619a425f9e1606cb30503
[]
no_license
FMsunyh/dlfive
7637631f54520673e4ec417b3c02b5334ecdf026
ffae48aac5ece4de5ff9afccc69b093a72e09637
refs/heads/master
2021-09-19T05:59:51.040214
2018-07-24T06:29:40
2018-07-24T06:29:40
108,929,499
1
0
null
null
null
null
UTF-8
Python
false
false
204
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 11/30/2017 10:43 AM # @Author : sunyonghai # @File : __init__.py # @Software: BG_AI # =========================================================
[ "fmsunyh@gmail.com" ]
fmsunyh@gmail.com
cdb285fcbd3bf0997b05842fdf2761137a12425e
cb9a9263e077111a9b2f6fe420438153a2f3f952
/empiricaldist/__init__.py
4323a53ba66a6117c76a3c43d918496d41084317
[ "BSD-3-Clause" ]
permissive
AllenDowney/empiricaldist
706cab3f556f97d1e3dd5c858d93d8422e799399
3df89ba1314a90a6e5515ec6a77dba4d02fa1438
refs/heads/master
2023-06-20T19:33:25.551749
2023-06-11T00:11:41
2023-06-11T00:11:41
179,715,194
128
30
BSD-3-Clause
2022-09-02T23:22:05
2019-04-05T16:13:21
Jupyter Notebook
UTF-8
Python
false
false
29
py
from .empiricaldist import *
[ "downey@allendowney.com" ]
downey@allendowney.com
497130a66a1d5cb4e762cfd18224838b0a235273
3dc647cd07a7361ed401e40d2b7cce8c826c8f6c
/Lib/distutils/command/install_headers.py
9bb0b18dc0d809dbc03d9ca355818b3bb0af573b
[ "CC-BY-4.0", "MIT", "Python-2.0" ]
permissive
RustPython/RustPython
5ddce4a9848b9de8c041ffd2634f83c0105d3f39
b864e5da1f18897fc884180b7093df5aa170024f
refs/heads/main
2023-09-04T12:38:29.458699
2023-09-03T12:33:42
2023-09-03T12:33:42
135,201,145
15,815
1,302
MIT
2023-09-14T08:11:45
2018-05-28T19:27:01
Rust
UTF-8
Python
false
false
1,298
py
"""distutils.command.install_headers Implements the Distutils 'install_headers' command, to install C/C++ header files to the Python include directory.""" from distutils.core import Command # XXX force is never used class install_headers(Command): description = "install C/C++ header files" user_options = ...
[ "33094578+coolreader18@users.noreply.github.com" ]
33094578+coolreader18@users.noreply.github.com
b7952897bfe878e35fb9ecdb2fdebc447c5a6b71
96c970ebacd9ade1493f4d01537005788b43a49b
/pychron/pyscripts/extraction_line_pyscript.py
5f8cc3ba8a68016c0e3a052fa639ab93b6d1ecea
[ "Apache-2.0" ]
permissive
OSUPychron/pychron
d2da9051b68024200d0009de634da810ccef2a0d
fe0ba9daff9548fa8bebab26db66a1cefff7c1d6
refs/heads/master
2021-01-14T12:47:26.389887
2015-12-18T22:27:02
2015-12-18T22:27:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
24,857
py
# =============================================================================== # Copyright 2011 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/licens...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
5f51abe52378a636ea41db4efa51780a173e9ad5
6b265b404d74b09e1b1e3710e8ea872cd50f4263
/Python/CodeTesting/Asserts/fac.py
7572aa64bddf2acdd30e38c0485814ca7db55178
[ "CC-BY-4.0" ]
permissive
gjbex/training-material
cdc189469ae2c7d43784ecdcb4bcca10ecbc21ae
e748466a2af9f3388a8b0ed091aa061dbfc752d6
refs/heads/master
2023-08-17T11:02:27.322865
2023-04-27T14:42:55
2023-04-27T14:42:55
18,587,808
130
60
CC-BY-4.0
2023-08-03T07:07:25
2014-04-09T06:35:58
Jupyter Notebook
UTF-8
Python
false
false
539
py
#!/usr/bin/env python def fac(n): '''compute the factorial of given number''' assert type(n) == int, 'argument must be integer' assert n >= 0, 'argument must be positive' if n > 1: return n*fac(n - 1) else: return 1 if __name__ == '__main__': for i in range(5): print('{...
[ "geertjan.bex@uhasselt.be" ]
geertjan.bex@uhasselt.be
90e80b34f6a4d3649a476769aa02209fa9c279ee
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res/scripts/client/gui/shared/gui_items/dossier/achievements/strategicoperationsachievement.py
e881003ec46abf209367c8d18f410da809eed7fb
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,075
py
# 2015.11.10 21:29:19 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/shared/gui_items/dossier/achievements/StrategicOperationsAchievement.py from abstract import ClassProgressAchievement from dossiers2.ui.achievements import ACHIEVEMENT_BLOCK as _AB class StrategicOperationsAchievement(ClassProgre...
[ "info@webium.sk" ]
info@webium.sk
bfb73d4604aeb01237151f4498cf682dc33c7707
4ba3a17f53985700de7b9e2c6ef9b9b5f1ad2e8d
/vgg.py
3557e2cbdec843382f81dba825f678e3eaf7ef5f
[]
no_license
brjathu/style_kernel
fcba958221ba203ad87c8c855726f8d43f7fdd1e
f9c285f38b54132c957bb1543f434a7d2ae3e178
refs/heads/master
2021-07-25T19:37:25.174814
2017-11-08T02:07:44
2017-11-08T02:07:44
103,022,493
0
0
null
null
null
null
UTF-8
Python
false
false
2,153
py
import tensorflow as tf import numpy as np import scipy.io VGG19_LAYERS = ( 'conv1_1', 'relu1_1', 'conv1_2', 'relu1_2', 'pool1', 'conv2_1', 'relu2_1', 'conv2_2', 'relu2_2', 'pool2', 'conv3_1', 'relu3_1', 'conv3_2', 'relu3_2', 'conv3_3', 'relu3_3', 'conv3_4', 'relu3_4', 'pool3', 'conv4_1', 'relu4...
[ "brjathu@gmail.com" ]
brjathu@gmail.com
973a45474eb480e5f8a6f94ec757e3a5fe555165
ac625440f8809a1cf0c7e9d8059f82725afcd9b8
/backend/code_submission/starter_code/find-triplets-starter.py
998dcda72dcf497c8de2a6ee97615dcb1d8d3342
[]
no_license
cfireborn/PrepCS
d4c746fb99d27285236e162dce7d9776d90dce56
8447572de85301476f548e5dc279eeb807a2496c
refs/heads/master
2022-12-10T01:23:53.907509
2019-06-10T22:13:23
2019-06-10T22:13:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
73
py
def naive_find_triplets(lst): solution = [] return solution
[ "david.awogbemila@bison.howard.edu" ]
david.awogbemila@bison.howard.edu
08d9b6d4b9d5aeff1c5b501d48c1cfbe84d1d66f
52542d7f93a97db5433293781e0b514f5330a127
/USV_V1/sensor/src/test_ws/sensor_dep/pwm_func.py
7970ffc38fabc807d658c570608d343aed3e3cb9
[ "Apache-2.0" ]
permissive
supcon-nzic/USV
437002ade39a8d4c70930c56127943a707152b83
52c97759f97f3222ca5465a5745842cfeb7f26a1
refs/heads/master
2022-11-20T11:38:11.783570
2020-07-28T01:09:37
2020-07-28T01:09:37
279,798,518
4
1
null
null
null
null
UTF-8
Python
false
false
1,707
py
# -*- coding: utf-8 -*- import string def pwm_export(pwm_num): pwm_num = str(pwm_num) pwm = '/sys/class/pwm/pwmchip/export' pwm_dir = pwm[:22] + pwm_num + pwm[22:] file_export = open(pwm_dir,'w') file_export.write('0') file_export.close def pwm_unexport(pwm_num): pwm_num = str(pwm_num) pwm = '/sys/class/pwm/...
[ "qiuyunpeng@nz-ic.com" ]
qiuyunpeng@nz-ic.com
d6915f891d241df17076fd4aac05f43ece785f6d
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/10/usersdata/73/23003/submittedfiles/testes.py
946f242d6568fd56d5fe56ac4d96a251e4c428f5
[]
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
388
py
# -*- coding: utf-8 -*- from __future__ import division qs=input('quantidade de salas:') for i in range (0,qs,1): sala=[] sala.append(input('quantidade de vidas da sala:')) print sala pe=input('porta de entrada:') ps=input('porta de saída:') soma=0 for i in range(sala[pe],sala[ps]+1,1): a=sala[pe+...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
522e260b84afd3a41e0c49124e442dacd6830b89
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_055/ch147_2020_04_12_04_04_45_284109.py
49542792d1c1e1124502b5db7a53e21506d70c53
[]
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
274
py
def mais_frequente(lista_palavras): contagem = {} for palavra in lista_palavras: if palavra not in contagem: contagem[palavra] = 1 else: contagem[palavra] += 1 max_value = index(max(contagem.values())) return max_value
[ "you@example.com" ]
you@example.com
02e60d332c813451d3d9c5255a8f743db92ca55a
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/insights/latest/metric_alert.py
50b45a69d4e1e078c908b4c4f226f57d69e1c428
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
12,275
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
d59bcbbad39d74bcd294b6117bc8ca2b88bc83fe
4f0385a90230c0fe808e8672bb5b8abcceb43783
/LNH/day4-teacher/5 面向过程编程.py
77d4e49cfd933d7a8fd11f330b2d27488f5bcdea
[]
no_license
lincappu/pycharmlearningproject
4084dab7adde01db9fa82a12769a67e8b26b3382
b501523e417b61373688ba12f11b384166baf489
refs/heads/master
2023-07-10T05:21:15.163393
2023-06-29T14:02:35
2023-06-29T14:02:35
113,925,289
0
0
null
null
null
null
UTF-8
Python
false
false
1,798
py
''' 强调:面向过程编程绝对不是用函数编程那么简单 面向过程的编程思想:核心是过程二字,过程即解决问题的步骤,即先干什么再干什么 基于该思想去编写程序就好比在设计一条流水线,是一种机械式的编程思想 优点:复杂的问题流程化,进而简单化 缺点:可扩展性差 ''' # import os # g=os.walk(r'C:\Users\Administrator\PycharmProjects\19期\day4\a') # for dirname,_,files in g: # for file in files: # abs_file_path=r'%s\%s' %(dirname,file) # ...
[ "lincappu@163.com" ]
lincappu@163.com
38ffb9f0f778b5e8343554b367df1434ad7e94bf
8fcc27160f8700be46296568260fa0017a0b3004
/client/dogma/eventCounters.py
abbf36a0815d4c95154b8703ffd3d80fd198ea7f
[]
no_license
connoryang/dec-eve-serenity
5d867f4eedfa896a4ef60f92556356cafd632c96
b670aec7c8b4514fc47cd52e186d7ccf3aabb69e
refs/heads/master
2021-01-22T06:33:16.303760
2016-03-16T15:15:32
2016-03-16T15:15:32
56,389,750
1
0
null
2016-04-16T15:05:24
2016-04-16T15:05:24
null
UTF-8
Python
false
false
1,191
py
#Embedded file name: e:\jenkins\workspace\client_SERENITY\branches\release\SERENITY\packages\dogma\eventCounters.py from contextlib import contextmanager class EventCount(object): def __init__(self): self.__eventCount = {} @contextmanager def Event(self, key): self._AddEventCoun...
[ "masaho.shiro@gmail.com" ]
masaho.shiro@gmail.com
f989dc9c65e8f3ba691c10722a36b9be7e818a0a
e7bba3dd662bf2778c36a406f72ee93b2ea05e11
/CardinalityEstimationTestbed/Overall/quicksel/test/python/test_include.py
4f19223fb4f8307520b7d4b1f74308bb4c36e7ba
[ "Apache-2.0" ]
permissive
TsinghuaDatabaseGroup/AI4DBCode
37e45b176bc94e77fe250ea45f0ad7b9054c7f11
a8989bfadcf551ee1dee2aec57ef6b2709c9f85d
refs/heads/master
2023-07-07T05:42:15.590000
2023-07-04T01:04:15
2023-07-04T01:04:15
217,175,047
53
35
null
2023-06-20T13:00:17
2019-10-24T00:03:14
Scala
UTF-8
Python
false
false
688
py
import sys sys.path.append('../../src/python') # isomer = imp.load_source('isomer', '../../src/python/isomer.py') # import imp import pprint from quickSel import isomer pp = pprint.PrettyPrinter(indent=2) def Node(query): return isomer.STHoles2d(query.boundary, [query]) def Query(boundary, freq...
[ "zhouxuan19@mails.tsinghua.edu.cn" ]
zhouxuan19@mails.tsinghua.edu.cn
a35bae9f502d173b1fff236cf84aff4322441cb5
a2211f0ef8297a77200a0b2eec8ba3476989b7e6
/itcast/02_python核心编程/03_网络编程/day03_网络通信过程/demo16_网络通信过程中的MAC地址_IP地址.py
25e25fb3f3e669b8dbe1ab7815b5d62ae64cb664
[]
no_license
qq1197977022/learnPython
f720ecffd2a70044f1644f3527f4c29692eb2233
ba294b8fa930f784304771be451d7b5981b794f3
refs/heads/master
2020-03-25T09:23:12.407510
2018-09-16T00:41:56
2018-09-16T00:42:00
143,663,862
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
# 一.通信过程中 # 1.源/目的MAC地址在两个设备间变化 # 2.源/目的IP地址不变 # 二.总结 # 1.MAC地址: 唯一标识数据转发的实际网卡地址 # 2.IP地址: 唯一标识逻辑地址 # 3.网络掩码: 协助确认网络号 # 4.默认网关: 目的IP不在同一网段时, 转发给默认网关 # 5.端口: 唯一标识非同一台设备上的应用 # 6.PED: 唯一标识同一台设备上的应用
[ "1197977022@qq.com" ]
1197977022@qq.com
f545ab96abec98ed85e1c53c4d829e3969265b38
02680f3057c3acd9c5a70474d37f76ac9fe39cd2
/Python Environment Setup/Alternate/1. Python/1. Installer/Python-3.4.0(Linux)/Lib/nntplib.py
fcb01d319b49ea0afe298ba08fdec275f603e7c4
[ "Apache-2.0", "LicenseRef-scancode-free-unknown", "LicenseRef-scancode-python-cwi", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "Python-2.0" ]
permissive
tpsatish95/Python-Workshop
1b43e25487b48d51185947e244845b41f199da6f
5f4da07c96cfd0ae76a502efc8acb94409347946
refs/heads/master
2022-11-04T02:31:49.286334
2017-02-26T13:35:29
2017-02-26T13:35:29
44,395,862
1
2
Apache-2.0
2022-10-21T00:22:22
2015-10-16T16:02:24
Python
UTF-8
Python
false
false
42,807
py
"""An NNTP client class based on: - RFC 977: Network News Transfer Protocol - RFC 2980: Common NNTP Extensions - RFC 3977: Network News Transfer Protocol (version 2) Example: >>> from nntplib import NNTP >>> s = NNTP('news') >>> resp, count, first, last, name = s.group('comp.lang.python') >>> print('Group', name, 'ha...
[ "tpsatish95@gmail.com" ]
tpsatish95@gmail.com
b58ca7421c8bed7d4672349b37925015a9d1977a
1fe03131ad139e2415fd0c0c73697b4541e5b862
/.history/src/_fighter_20190422143244.py
298ac4c7dbdcfafdc0a401584a8ebb9a79481efe
[ "MIT" ]
permissive
vidalmatheus/pyKombat
d83175a7a952663e278a8247d43349f87192fde3
6646020c59367ba0424d73a5861e13bbc0daac1f
refs/heads/master
2021-06-20T09:35:07.950596
2020-08-06T14:08:13
2020-08-06T14:08:13
172,716,161
1
1
MIT
2019-12-25T10:54:10
2019-02-26T13:24:31
Python
UTF-8
Python
false
false
37,663
py
from pygame_functions import * import fightScene import engine import menu class Fighter: fighterNames = ["Sub-Zero", "Scorpion"] fightMoves = [["w", "s", "a", "d"], ["up", "down", "left", "right"]] combatMoves = [["j","n","k","m","l","u","f"],["1","4","2","5","3","0","6"]] danceLimit = 7 walkLi...
[ "matheusvidaldemenezes@gmail.com" ]
matheusvidaldemenezes@gmail.com
169f65f33b732b562e5b9cf615068dbd751fd4ed
f39c2c500873180d953ab9a7b22a4f6df95fb1c3
/Bloomberg/Design Underground System.py
314a6c31b7b94a5f58dc9fbfad3485ba36f8756c
[]
no_license
Jason003/interview
458516f671d7da0d3585f89b098c5370edcd9f04
e153306b85c3687b23a332812a0885d25ecce904
refs/heads/master
2021-07-15T15:28:07.175276
2021-02-05T03:21:59
2021-02-05T03:21:59
224,898,150
2
3
null
null
null
null
UTF-8
Python
false
false
1,406
py
''' 经典地铁题,原题解法就不说了,地里也有很多资源。 主要讲下follow up。 国女问了哪些edge case可以导致error, 我说了两种,一是check out的时候id在map中不存在, 二是check out的时候id对应的时间t大于之前之前check in时的时间。国女表示满意, 又问了运行过程中可能出现哪些情况导致地铁出问题。我说可能有些check in了但是把地铁卡弄丢了没有checkout, id在memory中积压了很多最后导致memory不够。 解决方法是定期检查已经存储的数据, 如果start time间隔很久的就可以直接remove。 三哥也问了一个follow up,因为我在check out的m...
[ "jiefanli97@gmail.com" ]
jiefanli97@gmail.com
ff684e6ace834d561fb4e69b2849d0dc69da0f9d
1f07fa171b2407c436baedf7c791af0d6dbcdb68
/train.py
84eddb2b5149887e5f2bc036824640f7f5572f3f
[ "MIT" ]
permissive
xiaobingchan/yolov3-keras
9c17c60ec777d82810decbcfd835bd25e9dded9b
1649846297811d066d2f857ab0eb0dbb247f67e3
refs/heads/master
2023-05-04T17:04:30.742544
2021-05-17T01:24:09
2021-05-17T01:24:09
367,919,581
0
0
null
null
null
null
UTF-8
Python
false
false
8,375
py
""" Retrain the YOLO model for your own dataset. """ import numpy as np import keras.backend as K from keras.layers import Input, Lambda from keras.models import Model from keras.optimizers import Adam from keras.callbacks import TensorBoard, ModelCheckpoint, ReduceLROnPlateau, EarlyStopping from yolo3.model import p...
[ "you@example.com" ]
you@example.com
d46a46d06171563485050b9203c957d38c0d0829
9f2445e9a00cc34eebcf3d3f60124d0388dcb613
/2019-11-13-kineticfeatures/hhfitting_minimize_all.py
65943f142fdd8a7ddda864998cb0f6a72011bff9
[]
no_license
analkumar2/Thesis-work
7ee916d71f04a60afbd117325df588908518b7d2
75905427c2a78a101b4eed2c27a955867c04465c
refs/heads/master
2022-01-02T02:33:35.864896
2021-12-18T03:34:04
2021-12-18T03:34:04
201,130,673
0
1
null
null
null
null
UTF-8
Python
false
false
2,359
py
#exec(open('hhfitting_minimize.py').read()) #Using fmin import h5py import numpy as np import matplotlib.pyplot as plt import os from scipy import signal from scipy.optimize import minimize from scipy.optimize import curve_fit from scipy.optimize import Bounds # We do it for cell rCell10070.nwb # Take from 993 to 598...
[ "analkumar2@gmail.com" ]
analkumar2@gmail.com
2b51bb93386e0ac1b6f86ceadeaa9b0d86f1bacf
e7b6364245adec14cc47cbe5f2206afcba81d734
/main/models.py
8cc8cc3d931e5710e1e23fd46cacecd70d4e3f28
[]
no_license
anaf007/myapp
255cd3476fe05f9e063c96c3dc535e7089cf317f
90e2da4a4e0ec1d10620609cfa59f58a78fed08b
refs/heads/master
2020-03-24T05:14:03.174477
2018-08-02T09:33:30
2018-08-02T09:33:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from main.extensions import login_manager from main.user.models import User @login_manager.user_loader def load_user(user_id): """Load user by ID.""" return User.get_by_id(int(user_id))
[ "anaf@163.com" ]
anaf@163.com
81c8562b87597fa5954ae5a0d9f29bf0e1dc7a0c
b7cb4d7a14b4d15741ca18c7d6159f2e755e49ff
/pysurrogate/util/usage.py
59a844e65cf5b88dad879e7ee0d08d1e95a0d576
[ "MIT" ]
permissive
mberkanbicer/pysurrogate
eb270099d452602d41368ae08f0e70d03b945018
6fe58f157920ef7819bcd4756342b2ca778f43b8
refs/heads/master
2023-03-16T00:46:11.221702
2018-09-12T18:26:53
2018-09-12T18:26:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,723
py
import numpy as np import matplotlib.pyplot as plt from pysurrogate.optimize import fit, predict if __name__ == '__main__': # number of samples we will use for this example n_samples = 20 # --------------------------------------------------------- # Example 1: One input variable and one target #...
[ "jules89@arcor.de" ]
jules89@arcor.de
6ce2efa1815bfbcb8520ef0ef62c4d9a19a81325
46e9fc0fc20a58026d35a163c7201f1b40844ce8
/src/widgets/music_table_widget.py
cc86686d7da19ee6e19240dc84ed25d9aaa756ad
[ "MIT" ]
permissive
kiragoo/FeelUOwn
c47d09bd8f1ee6200ebd5c8a0de30e5b6f403d22
07b88b452af873f1596a1cbf551a21ffc940cb94
refs/heads/master
2021-05-29T23:25:51.556985
2015-08-05T09:14:33
2015-08-05T09:14:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,877
py
# -*- coding:utf8 -*- from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * from base.logger import LOG class MusicTableWidget(QTableWidget): """显示音乐信息的tablewidget """ signal_play_music = pyqtSignal([int], name='play_music') signal_remove_music_from_list = pyqtSignal([...
[ "yinshaowen241@gmail.com" ]
yinshaowen241@gmail.com
8784fdd39fd7940c5323ecb33a5d20bc0be6b2c1
4160b450b052830e17457a0412e29414f67caea5
/goods/apps.py
42618868a73474215ce8f280268254282c223de0
[]
no_license
mnogoruk/fastcustoms
6ad7b058607ddf4d2b56a09e23e66fcfb43be1a7
4c3bf7f9f1d4af2851f957a084b6adc2b7b7f681
refs/heads/master
2023-08-23T15:54:08.415613
2021-10-31T12:21:29
2021-10-31T12:21:29
372,066,847
0
0
null
null
null
null
UTF-8
Python
false
false
142
py
from django.apps import AppConfig class CargoConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'goods'
[ "lionless072@gmail.com" ]
lionless072@gmail.com
2e18bb631907b32d1f4cdde82bdb2a57e871174f
746a9c1f65674cd5bcdce6dbd1971b6a16345f9d
/images/forms.py
dd89b8853a27fc1fdb599041349f517c15c147a7
[]
no_license
mazulo/bookmarks
4dc25dc09772663c65698d3cc9f5b653fd409ba9
5c2ce3c3ad811466c63f7b0f3a21bf33a6a28f5e
refs/heads/master
2021-01-10T07:23:37.185414
2016-03-23T06:40:53
2016-03-23T05:40:53
54,158,063
0
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
from urllib import request from django import forms from django.core.files.base import ContentFile from django.utils.text import slugify from .models import Image class ImageCreateForm(forms.ModelForm): class Meta: model = Image fields = ('title', 'url', 'description') widgets = { ...
[ "pmazulo@gmail.com" ]
pmazulo@gmail.com
846a5e2ab2a378670c30bbbbae0fcf1e5f6f4070
23fddc940a266c2d1d0e0b1687c36cdbcc9d54d9
/test/unittest/line_up/line_up_test.py
adc7a590bbb62f34cfffe5488ea14b34016d80ec
[]
no_license
Cuick/traversing
210fcfb1c780037de59343fffeb4fa4d3f2eae32
c78982580af7f63c8bff4dcb37005b7f7c682b5b
refs/heads/master
2021-01-10T17:38:37.899460
2016-11-18T06:06:55
2016-11-18T06:06:55
55,397,540
0
1
null
null
null
null
UTF-8
Python
false
false
770
py
# -*- coding:utf-8 -*- """ created by server on 14-7-14下午6:12. """ from test.unittest.base.base_test_case import BaseTestCase import unittest class LineUpTest(BaseTestCase): """test heros_component and hero""" def test_add_hero(self): line_up_component = self.player.line_up_component line_up_...
[ "zxzxck@163.com" ]
zxzxck@163.com
8b92a7c9c58837640882ba3dee0dcaebc67d62bf
2383bf5a3b58e468d65713c361718795d51f1b97
/python/call_test.py
99c1f81aec4011b55d157f082bfafc64cf379f12
[ "MIT" ]
permissive
rec/test
3f4fb6614729ebc72d130888a8a9bc550f92988c
a260b9bf7fea96867e64163d3c891c2e2091f636
refs/heads/master
2023-08-03T13:49:24.347294
2023-07-28T09:19:39
2023-07-28T09:19:39
65,399,133
2
1
null
null
null
null
UTF-8
Python
false
false
337
py
class Call1(object): def __call__(self, x): return x class Call2(object): def __init__(self): self.call = lambda x: x def __call__(self, x): return self.call(x) class Call3(object): def __init__(self): self.__call__ = lambda x: x print(Call1()(3)) print(Call2()(3)) p...
[ "tom@swirly.com" ]
tom@swirly.com
55048821cc9cb29b98bdf0c56f5b9d6d22ccaed8
0a9949a7dbe5f7d70028b22779b3821c62eb6510
/static/statistic_struct/user portrait_0430/dynamic_analysis/code_test.py
f774cc12c9f529669c7813a4082b3099290f2e91
[]
no_license
744996162/warehouse
ed34f251addb9438a783945b6eed5eabe18ef5a2
3efd299a59a0703a1a092c58a6f7dc2564b92e4d
refs/heads/master
2020-06-04T22:10:14.727156
2015-07-03T09:40:09
2015-07-03T09:40:09
35,603,929
0
0
null
null
null
null
UTF-8
Python
false
false
162
py
#ecoding=utf-8 __author__ = 'Administrator' import sys reload(sys) sys.setdefaultencoding('utf-8') str = '\xe5\x88\xb0\xe8\xbe\xbe' print(str.encode("utf-8"))
[ "744996162@qq.com" ]
744996162@qq.com
d1c9d99e2b1639d463275d911bda31fdb8d8aea9
ce8ffe238c510f8a80b42aa897ab0ce29698445d
/finfet_ex/finfet/moscap3d.py
5ccc6333cfd4fa29bd590093e3f9a7177e40537e
[]
no_license
devsim/devsim_misc
4d29d58314f29cb08939c3580fee24f441f55b50
9a3c7056e0e3e7fc49e17031a706573350292d4d
refs/heads/main
2022-07-20T21:08:08.780498
2022-06-27T02:22:11
2022-06-27T02:22:11
191,487,676
1
1
null
null
null
null
UTF-8
Python
false
false
2,331
py
import pygmsh import bool_common geom = pygmsh.opencascade.Geometry( #characteristic_length_min=.1, #characteristic_length_max=2.5e-5 ) w=1 h=1 tox=3 tsi=60 xrf=-0.1 trf=3 l_contact=1 #tcl0=0.5 #cl in ox #tcl1=0.05 #cl near interface #tcl2=0.5 #tcl3=0.5 #cl near backside lcar=0.3 lrf=0.1 gate=bool_com...
[ "juan@tcad.com" ]
juan@tcad.com
600cb4a4a0fb0c02fd641c0744d20d4413860cd0
8d2abf7ad4c3f35801f6bfdb38a4d6cddf1e0fbd
/0404/demo03.py
b105dd59dfb4f75a1769f41c31d1d8eb5067af08
[]
no_license
erroren/Python_A
e9dfba73fc09160e4d3b8ea994183e2735f9d36e
47901316902705e513ea7d6e016f98f1cd2d3e85
refs/heads/master
2020-05-04T14:27:29.118843
2019-06-13T08:50:03
2019-06-13T08:50:03
179,197,541
1
0
null
null
null
null
UTF-8
Python
false
false
313
py
L = [x for x in range(10)] print(L, type(L), L.__sizeof__()) L1 = (x for x in range(10)) print(L1, type(L1), L1.__sizeof__()) # print(L1.__next__()) def run(L1): for i in L1: yield i r = run(L1) while True: try: print(next(r)) except Exception as e: print(e) break
[ "hcy@qq.com" ]
hcy@qq.com
7580457f1767cfc3fd8424fd738c1d6e49fa6094
c0f5d309576f791f8cc062e2d0cad340eec41d7d
/190326_electric_bus_2.py
0045a43b557135b855703e93b6422e9e110f0f7f
[]
no_license
mjjin1214/algorithm
fa91455ab792c38d01fd210c12e53e50f516eb55
423119406061443939b4b966c7d9f1513544dd03
refs/heads/master
2020-04-22T19:31:23.981387
2019-04-05T07:58:10
2019-04-05T07:58:10
170,610,108
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
import sys sys.stdin = open('input1.txt') def backtrack(x, count): global min_count if count >= min_count: return if x >= data[0]: if min_count > count: min_count = count return for i in range(data[x], 0, -1): backtrack(x+i, count+1) T = int(input()) for t...
[ "moc0etan@gmail.com" ]
moc0etan@gmail.com
f7a398e1bd474d711dd6004b39549a4426d9920a
388556baa0c2ee53d8767ae8a4bce18c03124488
/Chapter10/0011_rev09_match_z.py
b30aaea61405322ecf5e6f08f6aa090553e2a735
[]
no_license
8563a236e65cede7b14220e65c70ad5718144a3/introduction-python-programming-solutions
6e2e7c8cf8babc3c63f75d8d5e987f4dbc018269
f21d70ae2062cc2d5d3a2fefce81a2a3b4ea3bfd
refs/heads/master
2022-12-10T04:24:56.364629
2020-07-01T11:34:01
2020-07-01T11:34:01
294,878,260
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
""" Review Question 9 Matches a word containing "z" """ import re def main(): user_string = input("Enter sequence ") pattern = re.compile(r"\b\w*z\w*\b") match_object = pattern.search(user_string) if match_object: print("Match found") print(match_object.group()) else: print...
[ "warren.jitsing@gmail.com" ]
warren.jitsing@gmail.com
37ad454a8a7d3c8cc63dd66a836de528d210b27f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03240/s819025179.py
868e91e9b7562f6eedc217a4bfc2a8b1b491522a
[]
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
1,979
py
import sys import os import math import bisect import itertools import collections import heapq import queue import array # 時々使う # from scipy.sparse.csgraph import csgraph_from_dense, floyd_warshall # from decimal import Decimal # from collections import defaultdict, deque # 再帰の制限設定 sys.setrecursionlimit(10000000) ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
83bd218a3a6158cde57369b86689442952cd1249
f8ad6963bfc851657ea50c6a036cfad29cdd7f60
/Books/LearningTensorFlow/Chapter3_Tensorflow_Basic_Understand/subchapter_03_04_Linear_Regression.py
9c139d920a30a7310ed8b501626cfe7d1ea747e6
[]
no_license
foru120/PythonRepository
e1ab0265c0f50ef2e9acdf7447237c913560692b
db6b6be0f9fb91b0a81a3b6a2ec5631daab10f98
refs/heads/master
2021-01-01T06:53:11.728109
2019-04-25T13:52:50
2019-04-25T13:52:50
97,541,222
4
0
null
null
null
null
UTF-8
Python
false
false
1,265
py
import numpy as np import tensorflow as tf x_data = np.random.randn(2000, 3) w_real = [0.3, 0.5, 0.1] b_real = -0.2 noise = np.random.randn(1, 2000) * 0.1 y_data = np.matmul(w_real, x_data.T) + b_real + noise NUM_STEPS = 10 g = tf.Graph() wb_ = [] with g.as_default(): x = tf.placeholder(dtype=tf.float32, shape...
[ "broodsky1122@hanmail.net" ]
broodsky1122@hanmail.net
53a3368b892b1ea07bd5aed868eef146253be066
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/others/CenterMask2/models/centermask2/centermask/modeling/centermask/maskiou_head.py
23823fce2c12478ba7bdb4b83597a3363504cb80
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,952
py
# Copyright 2021 Huawei Technologies Co., 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 applicable law or agreed to...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
cee4f5e9ab599c026446b96d93c2e66655e40d5a
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/2/e1d.py
f4e740d648e64bd3e1c4e1cecebe54f7d92f4451
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
c1c6756e478054f83269309dca7764671c194c3a
3c000380cbb7e8deb6abf9c6f3e29e8e89784830
/venv/Lib/site-packages/cobra/modelimpl/eqptcapacity/l3v6usage1281w.py
eee8ed196b025d43c82b77745a416ef422f9880d
[]
no_license
bkhoward/aciDOM
91b0406f00da7aac413a81c8db2129b4bfc5497b
f2674456ecb19cf7299ef0c5a0887560b8b315d0
refs/heads/master
2023-03-27T23:37:02.836904
2021-03-26T22:07:54
2021-03-26T22:07:54
351,855,399
0
0
null
null
null
null
UTF-8
Python
false
false
36,152
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2020 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "bkhoward@live.com" ]
bkhoward@live.com
077ef840808c900b6c84ca30e5df3ad172cb241c
d78989a8ce52a98f48d77228c4ea893f7aae31f7
/symbolic_expressions/sample26-virt-max-merge-lenght-10.py
80de3bb4575b535cfa9b82ef617dff0381d1648f
[]
no_license
llyuer/Tigress_protection
78ead2cf9979a7b3287175cd812833167d520244
77c68c4c949340158b855561726071cfdd82545f
refs/heads/master
2020-06-17T11:16:40.078433
2019-04-16T09:27:29
2019-04-16T09:27:29
195,908,093
1
0
null
2019-07-09T01:14:06
2019-07-09T01:14:06
null
UTF-8
Python
false
false
14,613
py
#!/usr/bin/env python2 ## -*- coding: utf-8 -*- import sys def sx(bits, value): sign_bit = 1 << (bits - 1) return (value & (sign_bit - 1)) - (value & sign_bit) SymVar_0 = int(sys.argv[1]) ref_263 = SymVar_0 ref_278 = ref_263 # MOV operation ref_5500 = ref_278 # MOV operation ref_5542 = ref_5500 # MOV operati...
[ "jonathan.salwan@gmail.com" ]
jonathan.salwan@gmail.com
321e2ecf857820a2d395f84898feed8eefd6e54e
42abec8bc24b923dc18114d517bfc467505f0584
/test
def69bbdfc6b1c9cc09c8bc3b213a73584b3bed6
[]
no_license
TangYuOG/superTang
b422c00e5ccb52725c776a59f5fb0085559f2ee4
76001a717011637af5a81b1a6f1359c734bd4353
refs/heads/master
2020-04-04T18:17:13.121364
2018-11-05T02:46:20
2018-11-05T02:46:20
156,157,552
2
1
null
null
null
null
UTF-8
Python
false
false
811
#!/usr/bin/env python3 import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangodemo02.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure tha...
[ "tarena@tedu.cn" ]
tarena@tedu.cn
539f747aea7fe6c503a164283f17c23d2cc410ef
7e9c3b7684a7c9d712382cb170ab2ca1485b5ea2
/test/test_monty.py
ed1e6c94242cb103125420c1f68e9ec9b17fbb0c
[ "Apache-2.0" ]
permissive
hackerlist/monty-python
0adabb857d6025b8004f406a10f59a533c3df464
eb4233e2f0301665e3469401e71d8a54c4503311
refs/heads/master
2020-12-30T09:38:07.050584
2014-05-24T10:45:23
2014-05-24T10:45:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
758
py
#-*- coding: utf-8 -*- """ montypy.test ~~~~~~~~~~~~ Test cases for monty-python """ import unittest import os from montypy import Monty TEST_SRV = 'https://monty.criticalpha.se' class TestMontyPy(unittest.TestCase): def test_instantiation(self): m = Monty(TEST_SRV) def test_nodes...
[ "michael.karpeles@gmail.com" ]
michael.karpeles@gmail.com
74c58f92a24f50e470b93242b98a5a0b06c6581c
69f2b8f54d923a064bf0de20249b5aa619f1da12
/example/example/common/urls.py
6c7ab2725da62af487d78fe557a29dc7035f43b8
[]
no_license
skibblenybbles/django-dojoforms
8302dff51f571d35e2c1f8439487baf494cd655c
75e7b7a1c05c7db64df56352bd9e697450da4dab
refs/heads/master
2020-12-29T01:41:46.657653
2012-11-08T03:55:50
2012-11-08T03:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.conf.urls import patterns, include, url urlpatterns = patterns("example.common.views", url(r'^$', "pages.homepage_view", name="homepage"), )
[ "mkibbel@gmail.com" ]
mkibbel@gmail.com
24f50ff549e8c93fb62458eeb8bef3690e2293e6
63707652ba98b136744efd61115b7da9decd64ea
/homework1/q3/q3/spiders/q3_spider.py
d299ef2b3f7cf3267c544659ea1f1b26beb153c8
[]
no_license
yerihyo/cs6200f13
ad79a576f8ad190ef9f35049df988e62310ed0db
96c5161a1b767118ded5dee441140fe49c499251
refs/heads/master
2021-01-01T18:07:55.390969
2013-09-18T22:57:27
2013-09-18T22:57:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,559
py
from scrapy.contrib.spiders import CrawlSpider, Rule from scrapy.contrib.linkextractors.sgml import SgmlLinkExtractor from q3.items import HyperlinkItem import re import urlparse import sys from scrapy.exceptions import CloseSpider # from scrapy.contrib.closespider import CloseSpider class MyExtractor(SgmlLinkExtract...
[ "yerihyo@gmail.com" ]
yerihyo@gmail.com
537b65a9a936c8cc8663d161026ab155e899d103
e3dcfa127f8d1e03b25d9f38d1d93bea9926d3b5
/weaver/devtools/devclean.py
183a4076e3b3ab0df35d7611d31c1229f4ca3c85
[ "MIT" ]
permissive
mikadosoftware/weaver
72832ff66efb8e352523126865ba1a89ad881ab2
58d35b72714a9be78d4bf31d9072b243469f5ffc
refs/heads/master
2022-12-11T11:01:19.545070
2018-09-21T18:36:11
2018-09-21T18:36:11
76,447,730
0
0
MIT
2022-12-08T00:39:26
2016-12-14T10:04:52
Python
UTF-8
Python
false
false
1,535
py
#!/bin/env python """devclean Usage: devclean <rootpath> [--show] devclean (-h | --help) devclean --version Options: -h --help Show this screen. --version Show version. --show Only show dont kill files """ import os, sys from fnmatch import fnmatch from docopt import docopt crap_matcher...
[ "paul@mikadosoftware.com" ]
paul@mikadosoftware.com
8972f111013667f386ff26b9e44f2e4d03ac2211
8c95c48d48a5a6a351de57d90b56eb6e2642914c
/Select_pedigree.py
6facc3b4d61c02b8d21a1b0c0166f7b7ce1b4d30
[ "curl", "Apache-2.0" ]
permissive
janaobsteter/Genotype_CODES
e24dafcf00476a9e0cc989b3c822bd13a391f76f
8adf70660ebff4dd106c666db02cdba8b8ce4f97
refs/heads/master
2021-08-09T14:50:50.721598
2021-01-27T14:23:16
2021-01-27T14:23:16
63,061,123
1
1
null
null
null
null
UTF-8
Python
false
false
32,186
py
# -*- coding: utf-8 -*- from __future__ import division import os import sys import shutil from collections import defaultdict import pandas as pd import numpy as np from collections import defaultdict import random from itertools import chain from subprocess import call from selection10 import * #reload(selection) #fr...
[ "obsteter.jana@gmail.com" ]
obsteter.jana@gmail.com
08b77271f6d9e743446b11420b21694f8c5cb7a8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02767/s509630790.py
134d80c81b5f5cf92ccd09bce8a4d9e1b91e7af6
[]
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
165
py
N = int(input()) X_list = list(map(int, input().split())) X_mean = round(sum(X_list) / N) physical_sum = sum([(i - X_mean)**2 for i in X_list]) print(physical_sum)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
65e4cf82411c8c8153f0661d7ec0d14d2b426b00
b29acb2e230b3cf2f8be070850c34ed5d62dc80c
/Python/YPS/Rensyu/08/Sample1.py
e365d37f505389fb63bb58af6d100aea58fe1491
[]
no_license
MasatakaShibataSS/lesson
be6e3557c52c6157b303be268822cad613a7e0f7
4f3f81ba0161b820410e2a481b63a999d0d4338c
refs/heads/master
2020-06-17T13:42:08.383167
2019-11-11T07:23:14
2019-11-11T07:23:14
195,940,605
0
0
null
null
null
null
UTF-8
Python
false
false
471
py
class Car(): def __init__(self, num, gas): self.num = num self.gas = gas def getNumber(self): return self.num def getGas(self): return self.gas cr1 = Car(1234, 25.5) n1 = cr1.getNumber() g1 = cr1.getGas() cr2 = Car(2345, 30.5) n2 = cr2.getNumber() g2 = cr2...
[ "masataka.shibata.ss@gmail.com" ]
masataka.shibata.ss@gmail.com
7078dcee082ede20fd630e1599955619f9c49a3f
9c006bd8b1f628200a63a194000836505f50be9b
/tools/lldb/test/functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandLLDB.py
d2ba2ae6056b494007615c201f3531a9de244e39
[ "NCSA" ]
permissive
hoangt/NyuziToolchain
a66989a1b9c71a2df782f9c573b0da62d1e0e9cf
400aae2a01d38a1e836d7be33211aa8525c87070
refs/heads/master
2020-12-24T23:29:11.747602
2015-08-30T00:06:09
2015-08-30T00:06:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,631
py
""" Test 'watchpoint command'. """ import os, time import unittest2 import lldb from lldbtest import * import lldbutil class WatchpointLLDBCommandTestCase(TestBase): mydir = TestBase.compute_mydir(__file__) def setUp(self): # Call super's setUp(). TestBase.setUp(self) # Our simple so...
[ "jeffbush001@gmail.com" ]
jeffbush001@gmail.com
7cf33ffd307ec8485e367021e0c782dd7af726bb
27a580304382e3a79c7307f42a83b689566dbf30
/reinforcement_learning/0x03-policy_gradients/policy_gradient.py
dff87a11d16bf082c2455db22eacbd163879aa68
[]
no_license
salmenz/holbertonschool-machine_learning
a37712a125cd2e9e4bd6975c3bb2338f3533474f
a49eb348ff994f35b0efbbd5ac3ac8ae8ccb57d2
refs/heads/master
2023-07-11T06:00:36.162782
2021-08-11T17:45:35
2021-08-11T17:45:35
279,366,817
4
0
null
null
null
null
UTF-8
Python
false
false
662
py
#!/usr/bin/env python3 """policy gradient""" import numpy as np def policy(matrix, weight): """compute to policy with a weight of a matrix""" z = matrix.dot(weight) exp = np.exp(z) return exp / np.sum(exp) def softmax_grad(softmax): """softmax""" s = softmax.reshape(-1, 1) return np.diagf...
[ "salmen.zooro@gmail.com" ]
salmen.zooro@gmail.com
78c81bf41eaa5f3d6619327d769a73f98ac9db0b
09e57dd1374713f06b70d7b37a580130d9bbab0d
/benchmark/startQiskit1616.py
5f4d304cc7b1179048c26042ec6efbd6cdbd56f6
[ "BSD-3-Clause" ]
permissive
UCLA-SEAL/QDiff
ad53650034897abb5941e74539e3aee8edb600ab
d968cbc47fe926b7f88b4adf10490f1edd6f8819
refs/heads/main
2023-08-05T04:52:24.961998
2021-09-19T02:56:16
2021-09-19T02:56:16
405,159,939
2
0
null
null
null
null
UTF-8
Python
false
false
4,491
py
# qubit number=5 # total number=60 import cirq import qiskit from qiskit import QuantumCircuit, QuantumRegister, ClassicalRegister from qiskit import BasicAer, execute, transpile from pprint import pprint from qiskit.test.mock import FakeVigo from math import log2,floor, sqrt, pi import numpy as np import networkx as ...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
016174c973cc6d5cc9d0073c0db0aed68af4d195
75d54a70d42f3790e917569172cde9b6969468cb
/timesketch/api/v1/resources_test.py
13bf2ad68618a276a6b564f944363ea42a521818
[ "Apache-2.0" ]
permissive
MarVinPL/timesketch
792be04b8c9b1cab50bb6b5bf0096498bbc71b5b
3c63cacef0f4ed4bbe826903ee5d708cc0502bb3
refs/heads/master
2021-01-15T20:33:36.816774
2015-03-26T08:53:27
2015-03-26T08:53:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,786
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...
[ "jberggren@gmail.com" ]
jberggren@gmail.com
efb59884fa26538f68333a779cc23eb0241e6598
4ce2cff60ddbb9a3b6fc2850187c86f866091b13
/tfrecords/src/wai/tfrecords/object_detection/utils/shape_utils.py
8668796fc3a315e45922dc328d7c4ad147799896
[ "MIT", "Apache-2.0" ]
permissive
8176135/tensorflow
18cb8a0432ab2a0ea5bacd03309e647f39cb9dd0
2c3b4b1d66a80537f3e277d75ec1d4b43e894bf1
refs/heads/master
2020-11-26T05:00:56.213093
2019-12-19T08:13:44
2019-12-19T08:13:44
228,970,478
0
0
null
2019-12-19T03:51:38
2019-12-19T03:51:37
null
UTF-8
Python
false
false
16,848
py
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "coreytsterling@gmail.com" ]
coreytsterling@gmail.com
7092c7986651958a2883bb51380909307aebb640
10d89f178dc2e0f594c29c76aeef931c9525fbfd
/tests/.stage3_nonssl/verify_client.d/connector.py
6629e2ada72684fa53ee0ef3791acf9a5f78acaf
[]
no_license
exphost/exphost.postfix
7398bc629f02f5d8863535f3752e62a3214d0bb0
abc770f66422b9bffc6b2223c6356cc846047065
refs/heads/master
2023-05-14T08:01:20.293965
2021-06-05T07:47:35
2021-06-05T08:09:58
365,591,611
0
0
null
null
null
null
UTF-8
Python
false
false
172
py
connector = "nc test.some.example.domain.xyz 25" def setup_connector(host): host.ansible( "command", "yum install -y nc", become=True, check=False, )
[ "torgiren@gmail.com" ]
torgiren@gmail.com
543dd5665279a756c3a9926a77d1086c88ba932d
379beb6e4ad6f6383615d7eff0bc1b126712cd84
/venv/bin/pip
199c858bdc6fa52f707f4580b10a6422e736f50e
[]
no_license
chris-baby/bwonline
3eb9b372d825eab9cafa39121f254a53ce77298d
cca278a066c0a8beda95db87515ad2ed57d5e43d
refs/heads/master
2022-08-22T07:52:57.238431
2020-05-28T04:31:42
2020-05-28T04:31:42
267,493,073
0
0
null
null
null
null
UTF-8
Python
false
false
413
#!/Users/tongtong/PycharmProjects/django/bw_online/venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "918128078@qq.com" ]
918128078@qq.com
cd3fb7b1c5af5ec78d27e4e22f214c209953131b
090a4e026addc9e78ed6118f09fd0d7d4d517857
/graph_objs/candlestick/_decreasing.py
a63b2f5acb3f6c6939a7777ea542936faf4e0bab
[ "MIT" ]
permissive
wwwidonja/new_plotly
0777365e53ea7d4b661880f1aa7859de19ed9b9a
1bda35a438539a97c84a3ab3952e95e8848467bd
refs/heads/master
2023-06-04T19:09:18.993538
2021-06-10T18:33:28
2021-06-10T18:33:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,701
py
from plotly.basedatatypes import BaseTraceHierarchyType as _BaseTraceHierarchyType import copy as _copy class Decreasing(_BaseTraceHierarchyType): # class properties # -------------------- _parent_path_str = "candlestick" _path_str = "candlestick.decreasing" _valid_props = {"fillcolor", "line"} ...
[ "wwwidonja@gmail.com" ]
wwwidonja@gmail.com
71a4afa1dc2fd6e0f3aae9e30afd214e671ad0c6
5bfd77438d2de22d917bc0b103622a5c59a96377
/graph_adventure/adv2.py
b584f33e5bb7e72956cf52b9e70f1bc2cf68f85a
[]
no_license
ticotheps/Sprint-Challenge--Graphs
5cf8b4c3375237869ef962d806db77bc82161837
27c31691787572d02d288110e226abef9f44d1b6
refs/heads/master
2020-09-29T11:34:56.152170
2019-07-21T19:06:10
2019-07-21T19:06:10
192,962,364
0
1
null
2019-07-21T19:06:11
2019-06-20T17:35:16
Python
UTF-8
Python
false
false
29,550
py
from room import Room from player import Player from world import World import random # Load world world = World() # You may uncomment the smaller graphs for development and testing purposes. # roomGraph={0: [(3, 5), {'n': 1}], 1: [(3, 6), {'s': 0, 'n': 2}], 2: [(3, 7), {'s': 1}]} roomGraph={0: [(3, 5), {'n': 1, '...
[ "ticotheps@gmail.com" ]
ticotheps@gmail.com
b095a13c61d3f6d4f6323acdbd1670fda772230d
c39f999cae8825afe2cdf1518d93ba31bd4c0e95
/PYME/Analysis/MetadataTree.py
f1e6c667de7c1ded19123a87ef1ea3dcca949267
[]
no_license
WilliamRo/CLipPYME
0b69860136a9b2533f2f29fc29408d7471cb934d
6596167034c727ad7dad0a741dd59e0e48f6852a
refs/heads/master
2023-05-11T09:50:58.605989
2023-05-09T02:17:47
2023-05-09T02:17:47
60,789,741
3
1
null
2016-06-17T08:52:44
2016-06-09T16:30:14
Python
UTF-8
Python
false
false
16,153
py
#!/usr/bin/python ################## # MetadataTree.py # # Copyright David Baddeley, 2009 # d.baddeley@auckland.ac.nz # # 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 L...
[ "willi4m@zju.edu.cn" ]
willi4m@zju.edu.cn
9d296c259a2e461bf5c93b18863d06131d8b435c
9e2d79a2cf1dbeaffe8ef897bb53f94af8b5b68c
/ichnaea/api/submit/schema_v0.py
369e4e1815bfa4d4f1b610b8b794b4d3dfea8f60
[ "Apache-2.0" ]
permissive
amolk4games/ichnaea
a7d1cbd12b6aa5c0d877fca380080b08fcff24b8
907c542da05b428c8e994bce1537390e22b3ca58
refs/heads/master
2021-01-19T07:21:54.851167
2016-04-08T15:20:37
2016-04-08T15:21:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,408
py
""" Colander schemata describing the public v1/submit HTTP API. """ import colander from ichnaea.api.schema import ( OptionalBoundedFloatNode, OptionalIntNode, OptionalMappingSchema, OptionalNode, OptionalSequenceSchema, OptionalStringNode, UnixTimeFromString, ) class BlueV0Schema(Option...
[ "hanno@hannosch.eu" ]
hanno@hannosch.eu
fe972e3f143c34206e2f70eec1e9dd21dc51fb48
f85c41af07c89af418b7565d289e8237ebe433f1
/stubs/twisted/web/server.pyi
201fab94b71c99ae8d97155f18bb20ed7273cc8f
[ "Apache-2.0" ]
permissive
matrix-org/sydent
3b58e9488ce594b4fc803f9114d9b137a500611c
77cb99e3fc6a77c3bc2b66005770bd940060fae4
refs/heads/main
2023-08-04T09:52:33.984167
2023-07-31T10:53:38
2023-07-31T10:53:38
22,844,878
269
103
Apache-2.0
2023-09-12T11:17:20
2014-08-11T15:52:07
Python
UTF-8
Python
false
false
669
pyi
from typing import Callable, Optional from twisted.web import http from twisted.web.resource import IResource class Request(http.Request): ... # A requestFactory is allowed to be "[a] factory which is called with (channel) # and creates L{Request} instances.". RequestFactory = Callable[[http.HTTPChannel], Request] ...
[ "noreply@github.com" ]
matrix-org.noreply@github.com
eafab3a40a8fcd6e8f3c5f79a7ab45fb09a1997d
e27333261b8e579564016c71d2061cc33972a8b8
/development_codes/Backend/.history/UnigramLanguageModelImplementation_20210809204100.py
d1971d7e1650058901c9456feb9356fa2684514b
[]
no_license
Dustyik/NewsTweet_InformationRetrieval
882e63dd20bc9101cbf48afa6c3302febf1989b1
d9a6d92b51c288f5bcd21ea1cc54772910fa58f7
refs/heads/master
2023-07-01T09:12:53.215563
2021-08-12T08:28:33
2021-08-12T08:28:33
382,780,359
0
0
null
null
null
null
UTF-8
Python
false
false
3,156
py
import math from IPython.display import display import sys from BM25implementation import QueryParsers ALPHA = 0.75 NORMALIZE_PROBABILITY = True class UnigramLanguageModel: def __init__(self, tweets_data): #tweets is a pandas dataframe self.tweets_data = tweets_data self.wordsCollectionFrequencyD...
[ "chiayik_tan@mymail.sutd.edu.sg" ]
chiayik_tan@mymail.sutd.edu.sg
e80525d3c4e2b38c006b4ba26ad3d3c803612081
99c4d4a6592fded0e8e59652484ab226ac0bd38c
/code/batch-1/vse-naloge-brez-testov/DN5-M-155.py
8589f4c179dad3cc22b745e3fc1e830f8a3794f4
[]
no_license
benquick123/code-profiling
23e9aa5aecb91753e2f1fecdc3f6d62049a990d5
0d496d649247776d121683d10019ec2a7cba574c
refs/heads/master
2021-10-08T02:53:50.107036
2018-12-06T22:56:38
2018-12-06T22:56:38
126,011,752
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
def unikati(s): seznam = [] for i in s: if i not in seznam: seznam.append(i) return seznam def avtor(tvit): return tvit.split(":")[0] def vsi_avtorji(tviti): avtorji = [] for zapis in tviti: avtorji.append(avtor(zapis)) return unikati(avtorji) def izloci_besedo...
[ "lenart.motnikar@gmail.com" ]
lenart.motnikar@gmail.com
a25e272a7d02407e4dcb9451996d404845773daf
22bf910b64283b3c15cc4d80542e83fa89e9f09d
/monero_glue/messages/MoneroGetTxKeyRequest.py
b935838df9f412978aeb49278af672fb07c50028
[ "MIT" ]
permissive
ph4r05/monero-agent
24ed1aa17d6616b2ae6bcdb7b9997f982f8b7b5d
0bac0e6f33142b2bb885565bfd1ef8ac04559280
refs/heads/master
2022-10-18T06:30:43.550133
2021-07-01T16:27:56
2021-07-01T16:27:56
126,215,119
24
5
MIT
2022-09-23T22:53:44
2018-03-21T17:18:21
Python
UTF-8
Python
false
false
1,433
py
# Automatically generated by pb2py # fmt: off from .. import protobuf as p if __debug__: try: from typing import Dict, List # noqa: F401 from typing_extensions import Literal # noqa: F401 except ImportError: pass class MoneroGetTxKeyRequest(p.MessageType): MESSAGE_WIRE_TYPE = 55...
[ "dusan.klinec@gmail.com" ]
dusan.klinec@gmail.com
0db085b02f0f82902740aec7e44bb19ae0918fef
7b4e9342d42be2b55af5dc23a8abedd672d68e99
/libs/flows/windows/jweb/flow_container.py
d286652e4bd3a203a05068468b2b900f0cf0c236
[]
no_license
Amal548/QAMA
af5bb335c92a90b461f1ee9a3870435d83d46802
b5230c51d3bc7bb04b3448d1a1fe5a076d8898d5
refs/heads/master
2023-07-12T09:17:04.624677
2021-08-06T08:01:11
2021-08-06T08:01:11
389,595,655
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
import logging from time import sleep from MobileApps.libs.ma_misc import ma_misc from MobileApps.libs.flows.windows.jweb.home import Home from MobileApps.libs.flows.web.hp_id.hp_id import HPID from MobileApps.libs.flows.windows.jweb.auth_plugin import AuthPlugin from MobileApps.libs.flows.windows.jweb.eventing_p...
[ "amal.muthiah@hp.com" ]
amal.muthiah@hp.com
d1e693b8016e93dcc0157e1fd514a70256b61cc2
2734b77a68f6d7e22e8b823418ad1c59fe1a34af
/opengever/usermigration/exceptions.py
eb73aaf30ee632b9957c748ba72141de5c4b1d33
[]
no_license
4teamwork/opengever.core
5963660f5f131bc12fd0a5898f1d7c8f24a5e2b1
a01bec6c00d203c21a1b0449f8d489d0033c02b7
refs/heads/master
2023-08-30T23:11:27.914905
2023-08-25T14:27:15
2023-08-25T14:27:15
9,788,097
19
8
null
2023-09-14T13:28:56
2013-05-01T08:28:16
Python
UTF-8
Python
false
false
96
py
class UserMigrationException(Exception): """An error occured during user migration. """
[ "lukas.graf@4teamwork.ch" ]
lukas.graf@4teamwork.ch
f17b80dc4d7e285090138061fd5c7212a6c11d43
89044f6606e3ccfbbca0b0dacc277497e735d5d4
/lecture02/exercise02-B/template.py
de5bc2e02d30081a54e08b493b21c899c65425fb
[ "MIT" ]
permissive
nd-cse-34872-su21/cse-34872-su21-examples
10595f1d53ad3a45fd5e293a8705aefd66bf65c9
0294bb0964b502bbb8541054977988c4a3b49dab
refs/heads/master
2023-05-14T09:55:26.573462
2021-06-08T14:23:59
2021-06-08T14:23:59
370,460,163
0
2
null
null
null
null
UTF-8
Python
false
false
463
py
#!/usr/bin/env python3 import sys # Functions LEFT_PBB = ('(', '[', '{') RIGHT_PBB = (')', ']', '}') def is_pbbmatched(s): # TODO: Process string s using a stack to determine if the symbols are balanced return False # Main execution def main(): for line in sys.stdin: line = line.rstrip() ...
[ "pbui@nd.edu" ]
pbui@nd.edu
5ee64de7a0e5c54c20e9a919092352983197fa28
edbcb34df3f31bda1e90d9926916da8efc24f65d
/app/models.py
5130107da2b6efca832994dd037e4bf8af4bad4c
[]
no_license
yuansuixin/movies_project
74281ceeb6cc6e890c7a7e8d3f9a84e13e2ffdc7
8cd5dac957e9475c5f61c4dd648718a8cb782981
refs/heads/master
2021-04-05T23:30:57.037168
2018-03-14T15:36:55
2018-03-14T15:36:55
125,233,508
0
0
null
null
null
null
UTF-8
Python
false
false
1,096
py
from django.db import models # Create your models here. # 用户 class User(models.Model): # 密码 u_password = models.CharField(max_length=32) # 昵称 u_name = models.CharField(max_length=20,primary_key=True) # 头像路径 u_icon = models.ImageField(upload_to='icons') isDelete = models.BooleanField(default...
[ "cyss428@163.com" ]
cyss428@163.com
242533baba2a20c2d3b4e0423fb84119da1b8406
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/batch/outputs.py
ed75b44fb3c310c7cc66bfb9b6b27e814a0722b9
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
154,050
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities from...
[ "noreply@github.com" ]
morrell.noreply@github.com
13b03308cf7b6535f6bf15ad2090240da75658b2
bfee360e228494749ce1f73f7bc48cf5f4698d3a
/excelplay_echo/core/urls.py
25ee96a89465e3093bf6586026db47af2fb93213
[]
no_license
Excel-MEC/excelplay-echo
0cc1f8d2305c107f95c8e72f7929651ec44c2b0f
2b062e2a783adb7abeb05420c0761734fa1d368f
refs/heads/master
2021-04-18T21:26:59.333703
2019-01-14T17:34:54
2019-01-14T17:34:54
126,799,930
1
1
null
2018-10-26T09:13:41
2018-03-26T08:47:40
Python
UTF-8
Python
false
false
321
py
from django.urls import path from core.views import Submissionform,Problem,handshake urlpatterns =[ # path('leaderboard',Echoleaderboard.as_view(),name='leaderboard'), path('submit',Submissionform,name='finalsubmit'), path('probs',Problem,name='Problems'), path('handshake',handshake,name='handshake') ]...
[ "kurian.pro@gmail.com" ]
kurian.pro@gmail.com
859ec81a3750696e6e42c17160e3397d0d0753fb
accdde552cda99d0fa328441bebdc7ce78b74f36
/venv/Session6I.py
4f258afe71ea77a573b36943755b33675423d95e
[]
no_license
navnoorsingh13/GW2019PA2
056f0b3d293d8a6f3ec149c8de01c96f0d46f826
b94b2a5e1c6a760a5ada87e3f7a3117da552387d
refs/heads/master
2022-01-17T13:20:57.446539
2019-07-19T10:53:37
2019-07-19T10:53:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
# Pass By Reference def squareOfNumbers(nums): for i in range(0, len(nums)): nums[i] = nums[i] * nums[i] numbers = [1, 2, 3, 4, 5] squareOfNumbers(numbers) print(numbers) def fun(a, b, c): pass fun(a=10, c=20, b=30)
[ "er.ishant@gmail.com" ]
er.ishant@gmail.com
ccd38499deb46018021dc170d1176876dd50b27e
9f3488ddfdb02165f1be9a3ce3a4a3468af0e793
/leetcode/273.integer-to-english-words.py
ca6936b235ba2fbf36945ffa81071a42077ea446
[]
no_license
szr22/algorithm
b76646799272b81ea6dd179f0d07dba64d9b10d2
bcf18a6583303dbd5a10776d2c70181b0733defb
refs/heads/master
2022-05-13T13:59:27.471727
2022-04-15T18:27:55
2022-04-15T18:27:55
190,107,858
0
0
null
null
null
null
UTF-8
Python
false
false
1,709
py
# # @lc app=leetcode id=273 lang=python3 # # [273] Integer to English Words # # @lc code=start class Solution: def __init__(self): self.dictLessTwenty = ["", "One", "Two", "Three", "Four", "Five", "Six", "Seven", "Eight", "Nine", "Ten", "Eleven", "Twelve", "Thirteen", "Fourteen", "Fifteen", "Sixteen", "Sev...
[ "shizhenrong1987@hotmail.com" ]
shizhenrong1987@hotmail.com
e889548a187ca2c0ffa106a9c7a66ec640690c87
ab8a1749aa2b1ad5f5d6fde4ad83702b306c9946
/bowler/_bowlerv3.py
1feb828fe6c62dbfc524677718fea104647aa980
[]
no_license
Auzzy/python-dyio
ae85fdf5cdf17c59f6923e0a7c3eccd97bdddc3a
60ccc8b311ff23f897b102524fd5ebdf847a4b3a
refs/heads/master
2016-09-01T09:26:24.517331
2013-03-10T21:36:29
2013-03-10T21:36:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,452
py
from bowler import _DatagramBuilder,_DatagramParser LENGTH = 11 class Affect(object): STATUS = 0x00 GET = 0x10 POST = 0x20 CRIT = 0x30 ASYNC = 0x40 class _Builder(_DatagramBuilder): @staticmethod def build(mac, func, args, affect, ns): mac = mac.replace(':',' ') payload = _Builder._build_payload(func,arg...
[ "metalnut4@netscape.net" ]
metalnut4@netscape.net
f39f248f0bbe9ef7481745246946d51ff52cf137
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Quantization/trend_Lag1Trend/cycle_7/ar_12/test_artificial_32_Quantization_Lag1Trend_7_12_20.py
8aab6db49f32f6e1b077dd49b45246fcd79cf007
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
272
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 32 , FREQ = 'D', seed = 0, trendtype = "Lag1Trend", cycle_length = 7, transform = "Quantization", sigma = 0.0, exog_count = 20, ar_order = 12);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
9c5539d8a3f55ac77c8088a89e80ba26627d0880
4751fd86184b64316d694a98671d34faae76ffe6
/plannerrr/urls.py
5440d164eca08d316b10eec4f88ad184fb5b72d6
[]
no_license
mohammedaliyu136/dg_planner
8a6a4888cc109d6c3a1cb115494a1e6decbb864a
a0fb87e182527e541e7758a2c4720ddbb2438145
refs/heads/master
2020-04-03T08:09:02.020426
2018-10-29T19:57:16
2018-10-29T19:57:16
155,124,132
0
0
null
null
null
null
UTF-8
Python
false
false
1,225
py
from plannerrr import views from django.conf.urls import include, url from django.contrib import admin from plannerrr.advisor.views import edit_default_plan urlpatterns = [ url(r'^$', views.index, name='index'), url(r'^login/', views.login_user, name='login'), url(r'^login_out/', views.logout_user, name='...
[ "mohammedaliyu136@gmail.com" ]
mohammedaliyu136@gmail.com
a7116d737ea16e7b0521b8c9990f276ce7f27c42
d0bdf444c71b724ecfd59b5bc6850962c56494cb
/homeworks/02-arrays_tables/tests/q2_2.py
b338149a2d1c1e8bf6590df93b420ef2042ceb53
[]
no_license
ucsd-ets/dsc10-su20-public
10e3d0ff452b337f222baee330fe60d1465b0071
38787e6cc3e6210b4cc8a46350e5120845971c9f
refs/heads/master
2022-12-13T23:28:20.512649
2020-09-03T19:28:06
2020-09-03T19:28:06
275,905,339
0
1
null
null
null
null
UTF-8
Python
false
false
404
py
test = { 'name': 'Question 2_2', 'hidden': False, 'points': 1, 'suites': [ { 'cases': [ { 'code': r""" >>> isinstance( new_allowances_constant , np.ndarray) True """, 'hidden': False, 'locked': False } ], 'scored':...
[ "eldridgejm@gmail.com" ]
eldridgejm@gmail.com
3c2ffe9176682d22fb8791c366db0d1b969071f8
f7deae8209a3ff66050780d5e59c8f2231f8139f
/profil3r/app/core/services/_social.py
a5abb6c74a823594b669110e37afced5602f1873
[ "MIT" ]
permissive
cyber-workforce/Profil3r
858b6ce3ad71bb4cf5d621a6bd18023d50538968
ec308924850e0514416aaeaa9e96eabf658e2d0e
refs/heads/main
2023-06-17T04:07:57.303282
2021-07-12T12:51:03
2021-07-12T12:51:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,041
py
from profil3r.app.modules.social.facebook import Facebook from profil3r.app.modules.social.twitter import Twitter from profil3r.app.modules.social.tiktok import TikTok from profil3r.app.modules.social.instagram import Instagram from profil3r.app.modules.social.pinterest import Pinterest from profil3r.app.modules.social...
[ "r0g3r5@protonmail.com" ]
r0g3r5@protonmail.com
91b6bd20ba16539afdb282384848c0db31a11601
111cac4319ff247d890926ddda4809a7ca6e6f25
/ch02/02.py
edc962b02e51c769360fa1e35669d95871ace916
[]
no_license
gebijiaxiaowang/FluentPython
c5c9838209524cbab0036f22ef6b75085b8ead53
700427ee872cd4c2a4b6466f7a214b7acc679580
refs/heads/master
2023-03-02T21:20:06.224311
2021-02-09T08:58:42
2021-02-09T08:58:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,162
py
#!/usr/bin/python3.7 # -*- coding: utf-8 -*- # @Time : 2020/12/31 15:25 # @Author : dly # @File : 02.py # @Desc : import os from collections import namedtuple lax_coordinates = (33.9, -118.4) # 元组拆包 latitude, longitude = lax_coordinates print(latitude) print(longitude) # divmod(x, y) # Return the tuple (x/...
[ "1083404373@qq.com" ]
1083404373@qq.com
ff4a5fc06618705dfc56f7d5407354cef5cb04bd
d943d1b6803bb3c44b3600a2b3728662d4a3de06
/btcgreen/protocols/pool_protocol.py
8156b5f25f7f6e48ecf3d376e3bbe60cd68eaabe
[ "Apache-2.0" ]
permissive
onuratakan/btcgreen-blockchain
624575e3f484dcbb70dbbbfab46f7eeb92a5b709
03c9e27c483a0c3e6a34713dd9d2502eff7c25b2
refs/heads/main
2023-09-06T04:31:12.725344
2021-10-16T23:45:51
2021-10-16T23:45:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,027
py
from dataclasses import dataclass from enum import Enum import time from typing import Optional from blspy import G1Element, G2Element from btcgreen.types.blockchain_format.proof_of_space import ProofOfSpace from btcgreen.types.blockchain_format.sized_bytes import bytes32 from btcgreen.util.ints import uint8, uint16,...
[ "svginsomnia@gmail.com" ]
svginsomnia@gmail.com
3e95aaa34291786d7b1e43802787d3b150378db0
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/response/AlipayCommerceEducateTuitioncodePlanDisburseResponse.py
b68b5df3dd899650dcb85ee7430d2c745ecd58df
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
497
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayCommerceEducateTuitioncodePlanDisburseResponse(AlipayResponse): def __init__(self): super(AlipayCommerceEducateTuitioncodePlanDisburseResponse, self).__init__() d...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com