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
4c96174ebc58089a9f1463ea249a47bdb6de5e5d
dca0bd2e04dda3801d395c2a6ab2f9d95be79551
/Python/PCC/Chapter5/Checking_usernames.py
e7e4cd558a512dbc9d16ac5fcb68c269bf28260f
[]
no_license
A-khateeb/Full-Stack-Development-Path
ab8c86abea2f983fb8e0046a65b99772416c754c
5a5eaa198367cc95a6b5638e9740f4ad564dec23
refs/heads/master
2021-06-01T23:52:04.965494
2020-05-01T22:59:20
2020-05-01T22:59:20
89,286,943
2
0
null
2017-12-22T22:21:52
2017-04-24T21:04:07
Shell
UTF-8
Python
false
false
320
py
current_users = ["Ahmad","Ali","Muhammad","Mustafa","Afeef","Mahmoud","admin"] new_users = ["Ahmad","Abdallah","Muhammad","Mustafa","Afeef","Malek","Ihab"] for i in new_users: if i not in current_users: print("The username is available " + i) else: print("The username is already taken! " + i )
[ "khateebafeef@gmail.com" ]
khateebafeef@gmail.com
a49fcbaaea1d8f087b93f30983577092c83903fc
c34aed00b6678cddbdcc482d1de5e2404d84e399
/specific-parts/specific-addons/todo_website/controllers/main.py
f136a69cf0489f726efae251e3e8f8d5d9db48c1
[]
no_license
vonpupp/odoo-module-tutorial
1cdd14acd2b38dca421b8805dbd6f40299b1c143
7f121ec30ad3186760242af29e36ae71f08fc948
refs/heads/master
2021-01-13T05:47:22.365701
2017-01-25T14:56:14
2017-01-25T14:56:14
76,273,484
0
0
null
null
null
null
UTF-8
Python
false
false
800
py
# -*- coding: utf-8 -*- from odoo import http from odoo.http import request class Main(http.Controller): """Controller example for the website frontend""" @http.route('/todo', auth='user', website=True) def index(self, **kwargs): TodoTask = request.env['todo.task'] tasks = TodoTask.searc...
[ "vonpupp@gmail.com" ]
vonpupp@gmail.com
3c014e22f91a361b86b2c7b8ddb21a0b3d604916
6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4
/Cp3JRpooAqfA4kGkv_19.py
19b50a9be2cf97fe5bdb374e4d29c418b9a3dcdf
[]
no_license
daniel-reich/ubiquitous-fiesta
26e80f0082f8589e51d359ce7953117a3da7d38c
9af2700dbe59284f5697e612491499841a6c126f
refs/heads/master
2023-04-05T06:40:37.328213
2021-04-06T20:17:44
2021-04-06T20:17:44
355,318,759
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
def node_type(_N, _P, n): if n not in _N: return "Not exist" root = _N.pop(_P.index(-1)) if n == root: return "Root" if n not in _P: return "Leaf" return "Inner"
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
e092d8ef6813a7f08e67419306fd8f9cb440e42c
c291ba4506a8998df8d7f384c911f6a0a1294001
/bai__14/BaiTapOnTap.py
f7ad831db7d1fe2669a981a36e5850aa0b072488
[]
no_license
thanh-falis/Python
f70804ea4a3c127dcb7738d4e7c6ddb4c5a0a9d4
fa9f98d18e0de66caade7c355aa6084f2d61aab3
refs/heads/main
2023-08-18T17:34:29.851365
2021-09-30T12:09:30
2021-09-30T12:09:30
398,952,505
0
0
null
null
null
null
UTF-8
Python
false
false
683
py
# Câu 6: i1 = 2 i2 = 5 i3 = -3 d1 = 2.0 d2 = 5.0 d3 = -0.5 """ # (a) print(i1 + (i2 * i3)) # (b) print(i1*(i2+i3)) # (c) print(i1/(i2+i3)) # (d) print(i1//(i2+i3)) # (e) print(i1/i2+i3) # (f) print(i1//i2+i3) # (g) print(3+4+5/3) # (h) print(3+4+5//3) # (i) print((3+4+5)/3) # (j) print((3+4+5)//3) # (k) print(d1+(d2*d3...
[ "thanhelma2020|@gmail.com" ]
thanhelma2020|@gmail.com
b2677d57e8a7c9937dab5dcc2632eaa7008766d7
52b5773617a1b972a905de4d692540d26ff74926
/.history/tape_20200717144131.py
a63edc786fe75b7dfcc5959d2063e3c94f807983
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
def tape(A): # goal is to find minimal abs difference # so its i - i:len(A) i = 0 min_diff = abs(A[0] - sum(A[1:])) # # print('min',min_diff) if A != []: while i < len(A)-1: # print('i',sum(A[:i+1]),'sum',sum(A[i+1:len(A)])) total = sum(A[:i+1]) - sum(A[i...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
c0584b07c9e0280cf8ba2d19ec64af96ca3b7083
fb33b689b8ebd54695828dab3f9d1db074203d34
/practice/hash/idiom/processers/analyze_data.py
450c0edb3dbfe6f7a392c67498e6e5afa7b479a5
[]
no_license
takumikaka/workspace
471ab6e60d47f61ae36e4b95e8d58b0840188f65
f72946ff5f46b549dfab51a0038f05478b301490
refs/heads/master
2021-05-06T11:58:24.334256
2019-03-22T08:32:18
2019-03-22T08:32:18
113,008,406
1
0
null
2018-02-23T12:28:54
2017-12-04T07:14:00
Python
UTF-8
Python
false
false
1,120
py
# -*- coding: utf-8 -*- from processers.read_json import readJson from processers.random_lst import randomLst from processers.get_cwd import getCwd import os class analyzeData(object): def __init__(self): self.read_json = readJson() self.random_lst = randomLst() self.get_cwd = getCwd() ...
[ "qk2006qk@163.com" ]
qk2006qk@163.com
91d87c8ca73af8fd333d8ab95ff60de0b5b34b72
5f5a7bdac85e6719ab52a60238869b7d30bb783a
/PDEnet_2.0/PDE-Net/burgerscomparecoeffs.py
9304297d0cc47d8e9ffe52653907ace6aeef742b
[]
no_license
msaad1311/PDEs-using-NN
3909aadee62d8eae3bc053dfee86126d48b2363c
cf536bb0d245982b72e4416ea329419e59baf1c9
refs/heads/main
2023-05-05T12:12:05.579726
2021-05-25T17:37:04
2021-05-25T17:37:04
338,437,814
0
0
null
null
null
null
UTF-8
Python
false
false
2,496
py
""" compare coeffs change name1, name2 to compare coeffs between different tasks """ #%% from numpy import * import torch import matplotlib.pyplot as plt import conf name1 = 'burgers-2-upwind-sparse0-noise0.001-block6' name2 = 'burgers-2-upwind-sparse0.005-noise0.001-block6' D = [] D.append(torch.load('coeffs/burgers/'...
[ "50722220+msaad1311@users.noreply.github.com" ]
50722220+msaad1311@users.noreply.github.com
99834d084543a4413671e13997e6f4f547c16e90
c166a041ced9adf232e71115430f64812b393f6e
/id0_rsa_api/settings.py
acc8edd7a237d7e2e1492ff322e2624e41909811
[]
no_license
AntonKueltz/id0-rsa-api
89f737d4436cf21b6b3c9db057f816f8c9c6f1bb
969e95792f5c6bc9c93c77810d499d997dc3750c
refs/heads/master
2020-04-04T12:41:05.583905
2018-11-08T04:06:38
2018-11-08T04:06:38
155,934,523
0
0
null
null
null
null
UTF-8
Python
false
false
3,732
py
""" Django settings for id0_rsa_api project. Generated by 'django-admin startproject' using Django 2.1.3. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/settings/ """ import o...
[ "kueltz.anton@gmail.com" ]
kueltz.anton@gmail.com
366deed5612692f4652d4461e37642154232950b
6f1d2b0bca75be9c932b1728b4b050bb2741695e
/617.合并二叉树.py
84eb32eb7da754e707696cd7540ee61dcf735fb9
[]
no_license
yangyuxiang1996/leetcode
8c529da7a5f432bf6f14847d1c063077d2034c2a
6e18c5d257840489cc3fb1079ae3804c743982a4
refs/heads/main
2023-07-17T00:55:51.230915
2021-09-05T01:48:31
2021-09-05T01:48:31
372,850,024
0
0
null
null
null
null
UTF-8
Python
false
false
833
py
# # @lc app=leetcode.cn id=617 lang=python # # [617] 合并二叉树 # # @lc code=start # Definition for a binary tree node. # class TreeNode(object): # def __init__(self, val=0, left=None, right=None): # self.val = val # self.left = left # self.right = right class Solution(object): def mergeTree...
[ "18310206637@163.com" ]
18310206637@163.com
f4f74a6135925ad676e078fcaf1f14d5f15aaa0b
9b722ca41671eb2cea19bac5126d0920639261bd
/.history/app_20201124124938.py
84043d99906150dcb6ba511a9e470856ba00b9d5
[]
no_license
thawalk/db_flask_server
7928fd481f99d30bdccc60d97f02db78324cfdbe
cd55f1c9bf84c734457ee02d9f64a6833e295fad
refs/heads/master
2023-01-25T02:40:19.097457
2020-12-06T07:45:50
2020-12-06T07:45:50
314,229,480
0
0
null
null
null
null
UTF-8
Python
false
false
6,032
py
import json import pymongo from flask import Flask, jsonify, url_for, request, redirect,Response,Request import pymongo from bson.json_util import dumps import mysql.connector from werkzeug.serving import run_simple import os from dotenv import load_dotenv import datetime import time app = Flask(__name__) test_collec...
[ "akmal_hakim_teo@hotmail.com" ]
akmal_hakim_teo@hotmail.com
648ddc409c8ed36acc054ffd04a2b4416dbe707c
b39d9ef9175077ac6f03b66d97b073d85b6bc4d0
/Zaditen_eye_drops,_solution_SmPC.py
e09306706b68514baeacab499a15e04c83bace84
[]
no_license
urudaro/data-ue
2d840fdce8ba7e759b5551cb3ee277d046464fe0
176c57533b66754ee05a96a7429c3e610188e4aa
refs/heads/master
2021-01-22T12:02:16.931087
2013-07-16T14:05:41
2013-07-16T14:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,112
py
{'_data': [['Common', [['Eye', u'\xf6gonirritation, \xf6gonsm\xe4rta, punktformig keratit, punktformiga korneala erosioner.']]], ['Uncommon', [['Eye', u'\xf6verg\xe5ende dimsyn omedelbart efter applicering, torrhetsk\xe4nsla i \xf6gat, \xf6gonlocksf\xf6r\xe...
[ "daro@daro-ThinkPad-X220.(none)" ]
daro@daro-ThinkPad-X220.(none)
5c43f269b621461f5af26cbf2b55d627d13bd022
c89f5856fe74cff49a9d96dde9ed0117109e3845
/A-bit-of-py/ds_str_methods.py
68dcfe5013bed62b84b7d14920cc44b99fdda50a
[]
no_license
sinoclover/python
b2b3f435d15840ec16a34c62d50308bdfb9d6c3e
02f5347bc8219f1df52486077adf0017fe6d5211
refs/heads/master
2020-08-27T22:14:20.672846
2019-12-01T13:27:42
2019-12-01T13:27:42
158,791,898
0
0
null
null
null
null
UTF-8
Python
false
false
356
py
# 这是一个字符串对象 name = 'Swaroop' if name.startswith('Swa'): print('Yes, the string starts with "Swa"') if 'a' in name: print('Yes, it contains the string "a"') if name.find('war') != -1: print('Yes, it contains the string "war"') delimiter = '_*_' mylist = ['Brazil', 'Russia', 'India', 'China'] print(delim...
[ "zzxy123007@163.com" ]
zzxy123007@163.com
7f0a3b4cf231688870f1ccb012e66543d6081890
1f51c4e89a71ea3fcc2cc921613aacc19e078b69
/12_Intermediate Data Visualization with Seaborn/04_Creating Plots on Data Aware Grids/03_Using a lmplot.py
aee3af259f8f12560c7148b332368b1feb8eb862
[ "MIT" ]
permissive
CodeHemP/CAREER-TRACK-Data-Scientist-with-Python
871bafbd21c4e754beba31505965572dd8457adc
13ebb10cf9083343056d5b782957241de1d595f9
refs/heads/main
2023-03-26T08:43:37.054410
2021-03-22T15:08:12
2021-03-22T15:08:12
471,015,287
1
0
MIT
2022-03-17T13:52:32
2022-03-17T13:52:31
null
UTF-8
Python
false
false
1,781
py
''' 03 - Using a lmplot The lmplot is used to plot scatter plots with regression lines on FacetGrid objects. The API is similar to factorplot with the difference that the default behavior of lmplot is to plot regression lines. For the first set of exercises, we will look at the Undergraduate popula...
[ "ifaizymohd@gmail.com" ]
ifaizymohd@gmail.com
05526859fa830c2257da165a2815d19e26920e2b
99b784550a6d306147c022c8d829800b0fbb8c68
/Part_1_Basics/Chapter_2_Variables_and_Simple_Data_Types/name_cases.py
4b259296e67ac7f3957a8f82465fa0660458b0a9
[]
no_license
apuya/python_crash_course
116d6598f656d8fed0b4184edbce8e996cd0f564
0b2e8a6e9849a198cfb251706500a919d6f51fe7
refs/heads/main
2023-06-03T22:41:03.203889
2021-06-16T04:07:28
2021-06-16T04:07:28
367,812,531
0
0
null
null
null
null
UTF-8
Python
false
false
674
py
# Python Crash Course: A Hands-On, Project-Based Introduction To Programming # # Name: Mark Lester Apuya # Date: 05/19/2021 # # Chapter 2: Variables and Simple Data Types # # Exercise 2.4 Name Case: # Use a variable to represent a person’s name, and then print that person’s # name in lowercase, uppercase, and title ...
[ "contact@mapuya.com" ]
contact@mapuya.com
1e476e210066950d20e85b2282342ee6eeb394f1
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Sklearn_arm/source/setuptools/namespaces.py
44939e1c6d40539eb8173bf1527db926c5a54658
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
3,093
py
import os from distutils import log import itertools flatten = itertools.chain.from_iterable class Installer: nspkg_ext = '-nspkg.pth' def install_namespaces(self): nsp = self._get_all_ns_packages() if not nsp: return filename, ext = os.path.splitext(self._get_target())...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
7b35d43e27d73e0b99176b92115cf1a65246056d
c8efab9c9f5cc7d6a16d319f839e14b6e5d40c34
/source/All_Solutions/0308.二维区域和检索-可变/0308-二维区域和检索-可变.py
283691842822d4b94c1e098dfe296cbe0cad893c
[ "MIT" ]
permissive
zhangwang0537/LeetCode-Notebook
73e4a4f2c90738dea4a8b77883b6f2c59e02e9c1
1dbd18114ed688ddeaa3ee83181d373dcc1429e5
refs/heads/master
2022-11-13T21:08:20.343562
2020-04-09T03:11:51
2020-04-09T03:11:51
277,572,643
0
0
MIT
2020-07-06T14:59:57
2020-07-06T14:59:56
null
GB18030
Python
false
false
1,364
py
class NumMatrix: def __init__(self, matrix: List[List[int]]): if matrix == [] or matrix == [[]]: return row, col = len(matrix), len(matrix[0]) sum_arr = [[0] * (col + 1) for _ in range(row + 1)] self.update_dic = collections.defaultdict(int) for i in range(row): ...
[ "mzm@mail.dlut.edu.cn" ]
mzm@mail.dlut.edu.cn
76c019cd915eabfd7f4d624b5f5b605482da9d8a
fe3e85aa2051eba7b90f454484816037f39fbba6
/make_projects.py
1fe379a5608bc5915b6cd5eb97ea09885228c45a
[]
no_license
spencerwuwu/didactic-octo-happiness
4299719f4cb62521f299f9bb2a3afea3548622de
103c83c439b5dd9246822d22c0852113724480d7
refs/heads/master
2022-07-29T15:47:52.780664
2021-03-31T19:19:37
2021-03-31T19:19:37
213,309,861
0
0
null
2022-07-06T20:19:39
2019-10-07T06:23:38
Python
UTF-8
Python
false
false
5,146
py
#!/usr/bin/env python3 import sys import os import logging import json from subprocess import Popen, PIPE def _run_cmd(cmd, log): log.info(cmd) try: process = Popen(cmd, stdout=PIPE, stderr=PIPE, shell=True) out, err = process.communicate() if process.returncode != 0: log....
[ "spencerwu85@gmail.com" ]
spencerwu85@gmail.com
65608afd38741b5265b596ab0f137a5b10a85d7b
9a46784244d544445c01c6f0d564f4da65efcfaf
/CodeUltimateFlaskCourse/08. Flask-WTF/wtf_field_enclosures/app.py
c2354dcfae2d9406976ea8ca5249660996d13c4c
[]
no_license
ammbyrne/Flask
f55a606ec234c6a00b4d264a48e11b2f487d4ef7
7922ab46b8a4c388346043d2393173e7e49e43bb
refs/heads/main
2023-04-19T16:07:08.224824
2021-05-07T03:21:44
2021-05-07T03:21:44
365,101,770
0
0
null
null
null
null
UTF-8
Python
false
false
2,055
py
from flask import Flask, render_template from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, IntegerField, BooleanField, Form, FormField from wtforms.validators import InputRequired, Length, AnyOf, Email app = Flask(__name__) app.config['SECRET_KEY'] = 'Mysecret!' app.config['WTF_CSR...
[ "andy_m_byrne@yahoo.co.uk" ]
andy_m_byrne@yahoo.co.uk
61a43e0b3b8c6137b8ef821676d7b27f351cf09a
74549d7c57b4746ac2a9c275aa12bfc577b0e8af
/kaprekar-numbers.py
86a8403c9fbc659eda1857a9fc1307552c469b73
[]
no_license
abidkhan484/hackerrank_solution
af9dbf6ec1ead920dc18df233f40db0c867720b4
b0a98e4bdfa71a4671999f16ab313cc5c76a1b7a
refs/heads/master
2022-05-02T11:13:29.447127
2022-04-13T03:02:59
2022-04-13T03:02:59
99,207,401
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
# this is not what i should do # karNum is get from wikipedia. # write the code again karNum = [1, 9, 45, 55, 99, 297, 703, 999, 2223, 2728, 4950, 5050, 7272, 7777, 9999, 17344, 22222, 77778, 82656, 95121, 99999] length = len(karNum) p = int(input().strip()); q = int(input().strip()) c = 0 for i in range(len...
[ "noreply@github.com" ]
abidkhan484.noreply@github.com
0c8a48cfb399b46d6e799a0165710e2b33d74eaa
88d32cff45c04a069714101ba03b630758478767
/DaGuan_TextClassification_Rank11/src/ensemble/stacking.py
5706a1dbf1430f18136092cdeb86f70ed0b91ec0
[]
no_license
wsh85340390/daguanbei2019
857a0a519edd0a4580c9df16f03581cb3aff6cab
f48052caa018c32b99daf58ce7e528897049b33d
refs/heads/master
2020-06-28T13:58:11.938096
2019-08-03T01:30:13
2019-08-03T01:30:13
200,249,131
0
0
null
null
null
null
UTF-8
Python
false
false
6,682
py
import warnings warnings.filterwarnings('ignore') import os import numpy as np from lightgbm import LGBMClassifier from sklearn.metrics import f1_score from sklearn.model_selection import StratifiedKFold def softmax(x): e_x = np.exp(x - np.max(x, axis=1, keepdims=True)) return e_x / np.sum(e_x, axis=1, keepd...
[ "mac@Macs-MacBook-Pro.local" ]
mac@Macs-MacBook-Pro.local
d2cb444f323988b2a9db7dbce4a6307011f0e34c
b2baf5d4eb6246a5bca48c4fc11363029d1a58ad
/feaPyFoFumEditor.roboFontExt/lib/feaPyFoFumLexer.py
6f424d30596978644ed685a39ee075dc06524628
[ "MIT" ]
permissive
typemytype/feaPyFoFumEditorRobofontExtension
438aaf1b67c4766edce4e2de6961a8a1e6537804
ed004d393bd9e1ad8405e5a0fe084ca990f46a64
refs/heads/master
2023-09-04T03:29:14.648563
2021-05-05T09:02:55
2021-05-05T09:02:55
58,588,263
2
0
null
null
null
null
UTF-8
Python
false
false
2,721
py
from lib.features.featureEditor import languagesIDEBehavior, FeatureLexer from pygments.token import * from pygments.lexers.python import PythonLexer languagesIDEBehavior["FeaturePyFoFum"] = dict(languagesIDEBehavior["Feature"]) # lexer class FeaPyFoFumLexer(FeatureLexer): name = "FeaturePyFoFum" aliases...
[ "frederik@typemytype.com" ]
frederik@typemytype.com
8eaf5797bdb9cb9a917d59ed49526ae7f590126a
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03221/s622625944.py
ddcc6daa9a57e896de7ff122710cc39d7840241c
[]
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
451
py
from collections import deque n,m = map(int,input().split()) prefs = [{} for _ in range(n)] cities = deque() for i in range(m): p, y = map(int,input().split()) prefs[p-1][y] = -1 cities.append((p,y)) for p in prefs: years = list(p.keys()) years.sort() for y in range(len(years)): p[years...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
ed3ae2943bf713d19fa38878d40c9e7931655efd
77a014156f639330f10162b79e6fa31fce7e88f9
/adminacttools/tests/test_config.py
5df2d12502eb7fb58f37de67b8152134c90c6162
[ "Apache-2.0" ]
permissive
tmbx/teambox-acttools
1d50e6cdc2c78fb31f1bf8da05897971439645c5
4ca2e0a59d37cfa9756047e9655f6a769b688a9e
refs/heads/master
2016-09-05T19:12:05.439175
2013-05-16T19:56:42
2013-05-16T19:56:42
3,780,293
0
1
null
null
null
null
UTF-8
Python
false
false
2,668
py
# # Copyright (C) 2010-2012 Opersys inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
[ "karim.yaghmour@opersys.com" ]
karim.yaghmour@opersys.com
0293f5ce5ab61391d4bba970bf2c79b4191f45dc
78e315299f77b06db363bb305c2b11b9ad07aea9
/strategies/branch/__init__.py
16abf5ce9edd96441f9751b5cb52f208fd7b9581
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
logpy/strategies
e45e7d72249210d9db555dc5ea20b4ee29ae83cf
f23e3bcc9e48c5de2a0c7d8357845e641787c438
refs/heads/master
2021-01-25T07:34:44.402024
2015-08-23T17:55:07
2015-08-23T17:55:07
8,736,848
13
2
null
2017-08-05T04:59:00
2013-03-12T19:48:38
Python
UTF-8
Python
false
false
129
py
from .core import (condition, debug, multiplex, exhaust, notempty, chain, onaction, sfilter, yieldify, do_one, identity)
[ "mrocklin@gmail.com" ]
mrocklin@gmail.com
751378684ee4d6497cc28736bd888a43808c99ec
9b35cf8db615e9972240b6870ba163c0649cb087
/web/test.py
08afbfabf85d9b8bfd8198b7c103365089d44496
[]
no_license
qunER006/Data-analysis-and-visualization
3b4d4897d58af9f8710b749ac152d92bbe415ad1
56ccb070bd5d34f525f16a7237d38d2c09bdb9bd
refs/heads/main
2023-06-27T06:48:34.062191
2021-07-22T03:45:37
2021-07-22T03:45:37
388,314,108
1
0
null
null
null
null
UTF-8
Python
false
false
9,367
py
# import jieba # from model import mysql # import re # res = mysql.get_comment_data() # data = [] # stopwords = {}.fromkeys([line.rstrip() for line in open('stopword.txt','r',encoding='utf-8')]) # with open('comments.txt','w') as f: # for i in res: # s = '' # m = re.split(r'\t|\n|&hellip|&ldquo|&rd...
[ "szqszq00766@163.com" ]
szqszq00766@163.com
1cdc1a330f4f13546102ed4afc350ad6df3a4c2d
7b8f68ecf2f75e1568ece86b8f4c60d32606ee5d
/TheoreticalUncetainties/crossSectionsFromMcM.py
c0592ceb7af91f3b41f7eaa82bf5b4d3246e2cb3
[]
no_license
kjaffel/ZA_FullAnalysis
c86c3f265817e7b9fc4877943c0bd4f3937eed10
30df434202df51017309b5bf88a1d9b94041b6ef
refs/heads/master
2023-08-19T10:42:53.054337
2023-08-13T10:47:02
2023-08-13T10:47:02
194,130,550
11
4
null
2023-03-07T10:21:22
2019-06-27T16:38:34
Python
UTF-8
Python
false
false
1,560
py
#!/usr/bin/env python # Usage ./crossSectionsFromMcM -d "datasetname" # Before using, run bash getCookie.sh to get the private cookie file # # Wildcards are supported. Note that it's always best to put them # in quotes so they aren't expanded by bash # # Kenneth Long U. Wisconsin -- Madison # 2016-05-12 # import reque...
[ "khawla.jaffel@cern.ch" ]
khawla.jaffel@cern.ch
950221391148263afe12ffc0d8170ca6ef306ff0
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_151/ch49_2020_09_30_21_08_35_482182.py
91d5ec7e349a95e8dd1874de540e3b71a84511fd
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
def inverte_lista(x): i = len(x) j = i y = [] while j < i: y.append(i-1) j = j - 1 return y
[ "you@example.com" ]
you@example.com
e42c4180af4c0662932ca1dacacce63075348fea
35b46a27beafd35171ec614209c9830499f627bc
/dashboard/dashboard/pinpoint/models/quest/run_gtest_test.py
6b1e2a5fa520e478b75dfbc0fa0549506baf33d9
[ "BSD-3-Clause" ]
permissive
ncalexan/catapult
386650a377e677ac4ee83838737d4309b87af3d7
d21a98f0ee0bc0394eb93922d0b274fd6ac281d5
refs/heads/master
2020-04-23T13:08:02.406162
2019-02-17T23:18:06
2019-02-18T01:19:20
171,193,111
0
1
BSD-3-Clause
2019-02-18T01:17:17
2019-02-18T01:17:16
null
UTF-8
Python
false
false
1,200
py
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import unittest from dashboard.pinpoint.models.quest import run_gtest from dashboard.pinpoint.models.quest import run_performance_test from dashboard.pinpoi...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
0f5e0bdc1ce6d2f044ed70d1ebc209d093058cfb
5f3cfd876c77a7831c42f6b378bc8acb57c6efd9
/manage.py
792eea50de75d6f49d308b20c0d681ec4dfc80a4
[]
no_license
eduardogpg/important_people
f48fb48fb3150d53e30f270e9bde0abc7e0a0868
cbf02ee9deeccd1f37cb2f30d1436694d376a7f2
refs/heads/master
2020-12-08T10:49:02.644401
2016-09-11T17:38:14
2016-09-11T17:38:14
67,936,613
0
0
null
null
null
null
UTF-8
Python
false
false
2,724
py
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = 'Eduardo Ismael García Pérez' __contact__ = '@eduardo_gpg' from flask import Flask from flask import render_template from flask import request from flask import session from flask import redirect from flask import url_for from flask import flash from flask im...
[ "eduardo78d@gmail.com" ]
eduardo78d@gmail.com
c98cd7479edc8437620885da00b123b6590df651
5e9fca77e8663682e05b6054a59b5cc8a45b375d
/appengine/swarming/swarming_bot/api/platforms/posix.py
bc366143bad20f13c64ba96ed30585598c2de0d0
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Swift1313/luci-py
c8a8f41b8101d6fc1e52286b756c5c326333dc0f
0a4fdfc25f89833026be6a8b29c0a27b8f3c5fc4
refs/heads/master
2020-04-21T18:40:43.968106
2019-02-08T15:16:25
2019-02-08T15:16:25
169,779,399
0
0
Apache-2.0
2019-02-08T18:20:59
2019-02-08T18:20:59
null
UTF-8
Python
false
false
2,143
py
# Copyright 2015 The LUCI Authors. All rights reserved. # Use of this source code is governed under the Apache License, Version 2.0 # that can be found in the LICENSE file. """POSIX specific utility functions.""" import os import subprocess import sys def _run_df(): """Runs df and returns the output. The outpu...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
43ac38bcb410093a5e985cc37bb073b66ba40430
3e334aee189a01f4c82d47bd6e1a06e0bc667f73
/hazelcast/protocol/codec/client_authentication_custom_codec.py
05e0d67b6d0a02aa93616c647c2690872a03ae59
[ "Apache-2.0" ]
permissive
SaitTalhaNisanci/hazelcast-python-client
d7ef3709e36f0a82754195a93d1055a7a2588d0b
af382081da02a360e826163b1026aa0f68b6e9b8
refs/heads/master
2020-04-05T08:00:17.830918
2018-11-08T08:40:01
2018-11-08T08:40:01
156,697,115
0
0
Apache-2.0
2018-11-08T11:32:12
2018-11-08T11:32:12
null
UTF-8
Python
false
false
2,455
py
from hazelcast.serialization.bits import * from hazelcast.protocol.client_message import ClientMessage from hazelcast.protocol.custom_codec import * from hazelcast.protocol.codec.client_message_type import * REQUEST_TYPE = CLIENT_AUTHENTICATIONCUSTOM RESPONSE_TYPE = 107 RETRYABLE = True def calculate_size(credential...
[ "arslanasim@gmail.com" ]
arslanasim@gmail.com
2b93ef9976777030d284ee0fa5bf442352af42ce
bfaf64c553eb43684970fb3916eedaafbecf0506
/Player/set8/diuct_num.py
88e1f0104a204ce152ec1a1bba240320e30dbd9f
[]
no_license
santhoshbabu4546/GUVI-9
879e65df0df6fafcc07166b2eaecf676ba9807a2
b9bfa4b0fa768e70c8d3f40b11dd1bcc23692a49
refs/heads/master
2022-01-24T15:22:34.457564
2019-07-21T14:20:35
2019-07-21T14:20:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
170
py
n1=int(input()) l=[int(i) for i in input().split()] c=0 for i in range(len(l)): for j in range(i+1,len(l)): if(l[i]<l[j]): c=c+1 print(c)
[ "noreply@github.com" ]
santhoshbabu4546.noreply@github.com
3f54e5777b952325ef98159b382624c73a7474f7
1be65c272e2788f647534db9b3b003fc98228a71
/tim-mobile/security.py
e308046aa8781ff48bd01d8a1a072e89c83f3c78
[]
no_license
camwes/thisis.me
e93e530cdddaab08d8796985ef88c0882ae142d0
e1c32d237a7410298fdb034cab8378d5ecc14973
refs/heads/master
2021-01-20T21:45:09.389189
2012-09-12T00:45:19
2012-09-12T00:45:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
from sqlalchemy.orm import join from mi_schema.models import Author from mi_schema.models import AccessGroup from mi_schema.models import AuthorAccessGroupMap from globals import DBSession # get the groups the user is a member of # def groupfinder(authorname, request): dbsession = DBSession() author = dbsess...
[ "howard@mobileidentity.me" ]
howard@mobileidentity.me
9ef1bcd6b92b570bde10354069006a114736df1c
f9ed6d4ef53874453ff429bd67bfdc91369c5d82
/kaidee/category_distribution.py
5f0e9c8fd365f749059beb13a4a3579841026ae4
[]
no_license
axeltidemann/propeller
35a79464f6f0ee249c2d5e91d5e31d2fe6c08b33
b9485f523812bf37c40404d052e05a43f6dc0799
refs/heads/master
2020-04-04T07:37:07.430215
2019-06-05T04:45:48
2019-06-05T04:45:48
39,445,622
5
1
null
2019-05-29T04:55:46
2015-07-21T13:02:33
Python
UTF-8
Python
false
false
808
py
# Copyright 2016 Telenor ASA, Author: Axel Tidemann import argparse import pandas as pd parser = argparse.ArgumentParser(description=''' Calculates the distribution of ad categories. ''', formatter_class=argparse.ArgumentDefaultsHelpFormatter) parser.add_argument( 'in_file', help='CSV file with counts...
[ "axel.tidemann@gmail.com" ]
axel.tidemann@gmail.com
ee866bb188c0b251a8ff46992f675a545468e6c6
209c876b1e248fd67bd156a137d961a6610f93c7
/python/paddle/fluid/tests/unittests/collective/fleet/test_fleet_localsgd_meta_optimizer.py
2765b8c3eaea00242cc4b5373b18d5a0a412927c
[ "Apache-2.0" ]
permissive
Qengineering/Paddle
36e0dba37d29146ebef4fba869490ecedbf4294e
591456c69b76ee96d04b7d15dca6bb8080301f21
refs/heads/develop
2023-01-24T12:40:04.551345
2022-10-06T10:30:56
2022-10-06T10:30:56
544,837,444
0
0
Apache-2.0
2022-10-03T10:12:54
2022-10-03T10:12:54
null
UTF-8
Python
false
false
3,614
py
# Copyright (c) 2020 PaddlePaddle 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 appli...
[ "noreply@github.com" ]
Qengineering.noreply@github.com
b2968d5f97d88784bc6825f72b99fc4eca06a589
e0980f704a573894350e285f66f4cf390837238e
/.history/streams/blocks_20201023163444.py
643d40665eb55aa8cef4d446697b1ac22592d56b
[]
no_license
rucpata/WagtailWebsite
28008474ec779d12ef43bceb61827168274a8b61
5aa44f51592f49c9a708fc5515ad877c6a29dfd9
refs/heads/main
2023-02-09T15:30:02.133415
2021-01-05T14:55:45
2021-01-05T14:55:45
303,961,094
0
0
null
null
null
null
UTF-8
Python
false
false
1,834
py
from wagtail.core import blocks from wagtail.images.blocks import ImageChooserBlock class TitleBlock(blocks.StructBlock): text = blocks.CharBlock( required = True, elp_text='Tekst do wyświetlenia', ) class Meta: template = 'streams/title_block.html' icon = 'edycja' ...
[ "rucinska.patrycja@gmail.com" ]
rucinska.patrycja@gmail.com
9a2f9d9f2ce34b81e986f73e1c73742578e30029
6942eee54db7923ba9edac9319aa3a96c1f77ac2
/dxtbx/command_line/show_matching_formats.py
7152304379497770bb163c9a476e80ed8749dfc1
[]
no_license
hainm/cctbx_project
e7eeaddb032b7c4695db2f52538c14ddb2885627
7fd9c4281e86af11fe44571fb1bd8c6454c388be
refs/heads/master
2020-06-14T07:21:02.536499
2016-11-30T00:42:45
2016-11-30T00:42:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
640
py
from __future__ import division def recurse(fmt, arg): for _fmt in fmt._children: if _fmt.understand(arg): print _fmt.__name__, _fmt.understand(arg) recurse(_fmt, arg) else: print fmt.__name__, fmt.understand(arg) def show_matching_formats(): import sys from dxtbx.format.Registry im...
[ "graeme.winter@gmail.com" ]
graeme.winter@gmail.com
5637edf495f5d4385ed19451b72ab62528eb4d67
7ed9b1d87012cd11ecc1625cadbea861223e82c5
/plugins/worlds/Pyrobot/LightInMaze.py
09285797ca5174dd70b14b47514ff436af0e7162
[]
no_license
dsblank/pyrobot
577bdcb1cd68777b76aaada11ff3d3c3c5231c38
d9c19947767a97980ec31d2096ec157bafa55f0d
refs/heads/master
2021-01-21T21:19:48.788998
2019-04-01T03:55:06
2019-04-01T03:55:06
94,819,207
2
2
null
2019-03-30T17:03:32
2017-06-19T20:43:18
Python
UTF-8
Python
false
false
1,185
py
""" A PyrobotSimulator world. A large room with a robot and many walls. (c) 2005, PyroRobotics.org. Licensed under the GNU GPL. """ from pyrobot.simulators.pysim import TkSimulator, TkPioneer, \ Pioneer16Sonars, PioneerFrontLightSensors def INIT(): # (width, height), (offset x, offset y), scale: sim = T...
[ "doug.blank@gmail.com" ]
doug.blank@gmail.com
dfecb8f07a01434b87b34907e5d3a4d8003aceae
a6106cedc42dcab94ccc4ee6d681372d2246ce5e
/python/활용자료/예제/07/ex7-15.py
8f0f7aec640ca585d3b037ffd0601472ae3eea07
[]
no_license
leemyoungwoo/pybasic
a5a4b68d6b3ddd6f07ff84dc8df76da02650196f
481075f15613c5d8add9b8c4d523282510d146d2
refs/heads/master
2022-10-08T19:57:26.073431
2020-06-15T06:50:02
2020-06-15T06:50:02
267,502,565
1
0
null
null
null
null
UTF-8
Python
false
false
422
py
scores = ['김소영 82 80 93 97 93 88', '정예린 86 100 93 86 90 77', '이세영 91 88 99 79 92 68', '정수정 86 100 93 89 92 93', '박지수 80 100 95 89 90 84'] data = '' for item in scores : data += item + '\n' # 화면 출력하기 print(data) # 파일(scores.txt)에 저장하기 file = open('scores.txt', 'w', e...
[ "mwlee2587@gmail.com" ]
mwlee2587@gmail.com
96bd85d7944289995707118553758a25de2fa9f1
8b1945b9698fcba3ea409e838c3ed9b18bba05b1
/day05/mydjango/app7/dateview/showTeachings.py
6f9d88887e92cf6c6bf4aa9a690ce5a25a83e97b
[ "Apache-2.0" ]
permissive
Vanessa-kriby/Python
659a67c9c9b1a79490374c3991fcd63bfbde9d56
1fbef67852fb362712fc48fa5c3c29eac68fe202
refs/heads/main
2023-08-22T19:40:03.538141
2021-10-16T10:09:03
2021-10-16T10:30:15
417,788,531
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
from app1.models import * from app1.util.utils import * def showTeachings(request): ''' url: http://127.0.0.1:8000/app7/showTeachings?teid=002&couid=002 调用参数: 老师工号:teid 课程编号:couid ''' try: if(request.method=='POST'): data = json.loads(request.body) data =...
[ "1823954042@qq.com" ]
1823954042@qq.com
9eabcd8047c7ab95ce8ccef99b3a8a83585ee000
3de3dae722829727edfdd6cc3b67443a69043475
/edexOsgi/com.raytheon.uf.tools.gfesuite/cli/src/siteActivation/ActivationTopicListener.py
e557c04c8a5df61da1c4c9d30ae056eec5e89384
[ "LicenseRef-scancode-public-domain", "Apache-2.0" ]
permissive
Unidata/awips2
9aee5b7ec42c2c0a2fa4d877cb7e0b399db74acb
d76c9f96e6bb06f7239c563203f226e6a6fffeef
refs/heads/unidata_18.2.1
2023-08-18T13:00:15.110785
2023-08-09T06:06:06
2023-08-09T06:06:06
19,332,079
161
75
NOASSERTION
2023-09-13T19:06:40
2014-05-01T00:59:04
Java
UTF-8
Python
false
false
2,151
py
## # This software was developed and / or modified by Raytheon Company, # pursuant to Contract DG133W-05-CQ-1067 with the US Government. # # U.S. EXPORT CONTROLLED TECHNICAL DATA # This software product contains export-restricted data whose # export/transfer/disclosure is restricted by U.S. law. Dissemination # to non...
[ "mjames@unidata.ucar.edu" ]
mjames@unidata.ucar.edu
a56e305489fff4e0e0c0cf3520242229a26e2e82
36de14c6b188886df6a284ee9ce4a464a5ded433
/Solutions/0592/0592.py
02fc481f2da92e10a8f2e0c7d89dca50d05e73b3
[]
no_license
washing1127/LeetCode
0dca0f3caa5fddd72b299e6e8f59b5f2bf76ddd8
b910ddf32c7e727373449266c9e3167c21485167
refs/heads/main
2023-03-04T23:46:40.617866
2023-02-21T03:00:04
2023-02-21T03:00:04
319,191,720
3
0
null
null
null
null
UTF-8
Python
false
false
637
py
# -*- coding:utf-8 -*- # Author: washing # DateTime: 2022/7/27 10:40 # File: 0592.py # Desc: class Solution: def fractionAddition(self, expression: str) -> str: l = expression.replace("+", " ").replace("-", " -").strip().split(" ") l = [map(eval, i.split("/")) for i in l] fz1 =...
[ "1014585392@qq.com" ]
1014585392@qq.com
13cda31fa44c5834a3bfbd669904d73256f9c63b
09e57dd1374713f06b70d7b37a580130d9bbab0d
/data/p3BR/R1/benchmark/startQiskit_Class375.py
214c1dc47ac4de518f68db71b136e3ae83bc677c
[ "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
5,360
py
# qubit number=3 # total number=68 import numpy as np from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ from qiskit.visualization import plot_histogram from typing import * from pprint import pprint from math import log2 from collections import Counter from...
[ "wangjiyuan123@yeah.net" ]
wangjiyuan123@yeah.net
5b48aee080d34ad36324547fabd9478094677963
a9e3f3ad54ade49c19973707d2beb49f64490efd
/Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/lms/djangoapps/instructor_task/__init__.py
476eeca191524b0a1515e9d94af4599dfaaef3fe
[ "AGPL-3.0-only", "AGPL-3.0-or-later", "MIT" ]
permissive
luque/better-ways-of-thinking-about-software
8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d
5809eaca7079a15ee56b0b7fcfea425337046c97
refs/heads/master
2021-11-24T15:10:09.785252
2021-11-22T12:14:34
2021-11-22T12:14:34
163,850,454
3
1
MIT
2021-11-22T12:12:31
2019-01-02T14:21:30
JavaScript
UTF-8
Python
false
false
137
py
# lint-amnesty, pylint: disable=missing-module-docstring default_app_config = 'lms.djangoapps.instructor_task.apps.InstructorTaskConfig'
[ "rafael.luque@osoco.es" ]
rafael.luque@osoco.es
92e5a8212625e0dc1e182ae7154f48f166c45382
d4eb113c44c86322b3811513a7286d176f106eb6
/experiments/simple_autoencoder_activations/softmax/autoencoder.py
4531934f323fb483d15c8b65045b08eaa10d5bd8
[]
no_license
philip-brohan/Machine-Learning
67a2eb780383b3436da4fef1d763f39d255ae696
dc53b9c336d5f12272257f327abe49dec436ea04
refs/heads/master
2021-03-27T12:33:07.518279
2020-04-30T19:38:02
2020-04-30T19:38:02
56,614,781
0
0
null
null
null
null
UTF-8
Python
false
false
2,618
py
#!/usr/bin/env python # Very simple autoencoder for 20CR prmsl fields. # Single, fully-connected layer as encoder+decoder, 32 neurons. # Very unlikely to work well at all, but this isn't about good # results, it's about getting started. # This version uses softmax activations import os import tensorflow as tf impo...
[ "philip@brohan.org" ]
philip@brohan.org
b8305ae6e2ae250bc20a8a9de428b29d436d7164
57015f325c4a6e6a1d9caa8017bec699534add89
/process/migrations/0013_auto_20190206_0918.py
bf8a8368d37ddbd352fd76034029358beac29450
[]
no_license
mrCrendel/mathPlatform
102d4e2e77f86767b864f8d2c51cea832d329a67
71c9836a3ba3568d1724dd22ba205a68da0b303e
refs/heads/master
2022-12-11T18:54:16.673128
2019-05-29T08:59:48
2019-05-29T08:59:48
164,434,667
1
0
null
2022-12-08T01:31:26
2019-01-07T13:11:39
Python
UTF-8
Python
false
false
543
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2019-02-06 09:18 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('process', '0012_auto_20190206_0853'), ] operations...
[ "tggrmi@gmail.com" ]
tggrmi@gmail.com
6f866358f6f46cdfdea99747878b33c9b728de14
4806f706b703a4b9ccd8cbca8fcbf300621c32ec
/medium/Populating Next Right Pointers in Each Node/solution.py
f396767d850e7515567818eb1d369a06bfb78b90
[ "MIT" ]
permissive
vishsanghishetty/LC-Python
aa46151162d74ae3d1edb89462848c56e6e39575
65f99a3694549af88c7702b598de1a8ccb7db5fb
refs/heads/main
2023-07-19T00:08:50.813224
2021-09-14T15:32:09
2021-09-14T15:32:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
# Time complexity: O(n) # Approach: Straight forward joining. """ # Definition for a Node. class Node: def __init__(self, val: int = 0, left: 'Node' = None, right: 'Node' = None, next: 'Node' = None): self.val = val self.left = left self.right = right self.next = next """ class Sol...
[ "ashutoshhathidara98@gmail.com" ]
ashutoshhathidara98@gmail.com
fd6baa196a08115cb6e43440b97763bab4c351ea
84c2fa4aed9094b5ec3cc612d28980afe5d42d34
/leetcode/day11_26.py
fc1545a87b3b7dd08f867f5d95592cb74b155502
[]
no_license
cyg2695249540/generatewework
186831a1b5c788e9b99e90d1a08bf6a8638131ce
cd01b0fc4a69cc2f2ed4c109afdf8771bee3bffd
refs/heads/master
2023-01-20T17:13:13.186034
2020-12-01T12:05:01
2020-12-01T12:05:01
310,201,995
0
0
null
null
null
null
UTF-8
Python
false
false
2,956
py
# !/usr/bin/env Python3 # -*- coding: utf-8 -*- # @FILE : day11_26.py # @Author : Pluto. # @Time : 2020/11/26 17:18 """ exp:1487. 保证文件名唯一 给你一个长度为 n 的字符串数组 names 。你将会在文件系统中创建 n 个文件夹:在第 i 分钟,新建名为 names[i] 的文件夹。 由于两个文件 不能 共享相同的文件名,因此如果新建文件夹使用的文件名已经被占用,系统会以 (k) 的形式为新文件夹的文件名添加后缀,其中 k 是能保证文件名唯一的 最小正整数 。 返回长度为 n 的字符...
[ "2695249540@qq.com" ]
2695249540@qq.com
7151d1a4080440c107a72259271f17c6cca70494
759c049123aa88daa4dd7b4c1b710fd2de869136
/Chap0/project/ex31.py
6ae2ea831297f000161c274af6b14543978d0590
[]
no_license
AIHackerTest/perfectfoolish_Py101-004
f0399e510ff2ba1eacfd027d754acd3d6e2f9a47
af9c0a8682320a6fc13d64b19e71e27a5b2c9632
refs/heads/master
2021-03-27T13:08:21.449237
2017-09-12T08:29:20
2017-09-12T08:29:20
103,240,393
0
0
null
null
null
null
UTF-8
Python
false
false
1,044
py
print("You enter a dark room with two doors. Do you go through door #1 or door #2?") door = input(">") if door == "1": print("There's a giant bear here eating a cheese cake. What do you do?") print("1.Take the cake.") print("2.Scream at the bear.") bear = input(">") if bear == "1": print...
[ "xiaowan5219@gmail.com" ]
xiaowan5219@gmail.com
99b255b9a2414a6bf4bbec5cba65a32973586b78
97a7b8bab5365548f10b8a4b92fb5ade0ead0add
/homedisplay/info_tea/models.py
405c12ab7c153fa83ba1e44a997c777117e3b5d3
[ "BSD-3-Clause" ]
permissive
ojarva/home-info-display
a337b71e517607e6ac74808d5395e1efe0e01e92
873d022308732baff94d0dc2381cf9dc7dce23b7
refs/heads/master
2021-07-02T11:44:13.256764
2021-05-18T11:14:50
2021-05-18T11:14:50
28,542,835
1
1
BSD-3-Clause
2021-05-18T11:14:51
2014-12-27T17:59:00
Python
UTF-8
Python
false
false
1,396
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.core import serializers from django.db import models from django.db.models.signals import post_save, post_delete from django.dispatch import receiver from homedisplay.utils import publish_ws import datetime import json class NfcTag(models.M...
[ "olli@jarva.fi" ]
olli@jarva.fi
297eb9ffbcd2e8b8195e6d421fa864e9a563c82d
32c56293475f49c6dd1b0f1334756b5ad8763da9
/google-cloud-sdk/lib/surface/access_context_manager/perimeters/update.py
7bf9455bf3c28f0b74a50d14b2d57f8e3f8979e3
[ "MIT", "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/socialliteapp
b9041f17f8724ee86f2ecc6e2e45b8ff6a44b494
85bb264e273568b5a0408f733b403c56373e2508
refs/heads/master
2022-11-20T03:01:47.654498
2020-02-01T20:29:43
2020-02-01T20:29:43
282,403,750
0
0
MIT
2020-07-25T08:31:59
2020-07-25T08:31:59
null
UTF-8
Python
false
false
4,115
py
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "jonathang132298@gmail.com" ]
jonathang132298@gmail.com
614373784dfac5bf6f3ed0aa18009ca4690c457a
af57b26ad50ab4c6517aa6c309165d66383841a1
/ctc_with_lm.py
8834abb09b9e7bd1965e3615ac3c0b3585984f2e
[]
no_license
JesseYang/TextRecognizeBak
ef9c9a2e457a9a9ab779cf6a12b705d2ed678575
46acecac1aedd8995354651e6288c6eecdc3b052
refs/heads/master
2021-09-09T00:24:23.441188
2018-03-12T22:53:01
2018-03-12T22:53:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,587
py
import numpy as np import copy import operator import pickle import kneser_ney from tensorpack import * import pdb try: from .cfgs.config import cfg except Exception: from cfgs.config import cfg def confirm_prefix(container, prefix): if prefix not in container.keys(): container[prefix] = [0, 0]...
[ "jesse.yang1985@gmail.com" ]
jesse.yang1985@gmail.com
4b8be3183f4268c6858158d1370760e23bb63fb1
854b94d7be92582bd191a7cb63143a95e5b5c337
/hyfetch/distros/wii_linux_ngx.py
7e4768e99e23f748fe24ad4024fff15edb557271
[ "MIT" ]
permissive
hykilpikonna/hyfetch
673c0c999d0f3f542349824495ad6004f450ebac
98863df16d70b030696f4b94080d114396320f35
refs/heads/master
2023-08-17T10:41:10.289997
2023-08-17T03:37:23
2023-08-17T03:37:23
479,913,941
447
78
MIT
2023-09-14T14:39:18
2022-04-10T04:38:15
Shell
UTF-8
Python
false
false
1,271
py
# This file is automatically generated. Please do not modify. from . import AsciiArt wii_linux_ngx = AsciiArt(match=r'''*"wii-linux-ngx"*|*"whiite-linux"*| *"gc-linux"*''', color='6 7', ascii=r""" ${c1}''''''' `~;:` -'''''' ~kQ@@g\ ,EQ@@g/ h@@@@@@' o@@@@@9` `@@@@@...
[ "me@hydev.org" ]
me@hydev.org
c28caccb6b7110a1e6f544681fd85df28e7d2aee
8dabfb03a1016f23a319ee27fe507442ceefcce6
/setup.py
5bf8b12ce9a141ec86049d3c69a059a471880bdc
[ "MIT" ]
permissive
redhog/socket-tentacles
7aec3b732e81a4784ef14efba661bae1bb01f3aa
87e35ef34584d458f17fc127e7360e7a194de0f2
refs/heads/master
2020-09-01T14:41:17.792472
2019-10-16T08:49:36
2019-10-16T08:49:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
665
py
#!/usr/bin/env python import setuptools setuptools.setup(name='socket-tentacles', version='0.0.8', description="""Simple tcp client/server that divorces the concept of server/client from which side opens the tcp connection.""", long_description="""Simple thread based tcp client/server that divorces ...
[ "egil.moller@freecode.no" ]
egil.moller@freecode.no
36f241ab9c7ae4f75b7ba845c71decd3f5b5b391
e424b8a028a8066fbd1146ba1b763ef90191bc9a
/.venv/bin/jupyter-labextension
1f7df5865197bc77bc698dade35ce96d7c60dff5
[]
no_license
MohammedGhafri/soloStatistics2510
317ac57a27abacc39ead9a9627b9352c144be327
d06a3fc342c43315e8fe548a303a1d640b097c83
refs/heads/main
2023-01-07T16:36:50.771789
2020-11-09T12:58:57
2020-11-09T12:58:57
307,134,411
0
0
null
2020-11-09T12:58:58
2020-10-25T15:53:32
Python
UTF-8
Python
false
false
256
#!/home/ghafri/soloStatistics2510/.venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyterlab.labextensions import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "eng.m.ghafri@gmail.com" ]
eng.m.ghafri@gmail.com
0ba50acfbeed10862505f05a1da8b689bc624354
d12b59b33df5c467abf081d48e043dac70cc5a9c
/ixnetwork_restpy/testplatform/sessions/ixnetwork/availablehardware/chassis/card/port/tapsettings/parameter/parameter.py
b153b25d188a6c84b6b8bd655e7e93b419ca270c
[ "MIT" ]
permissive
ajbalogh/ixnetwork_restpy
59ce20b88c1f99f95a980ff01106bda8f4ad5a0f
60a107e84fd8c1a32e24500259738e11740069fd
refs/heads/master
2023-04-02T22:01:51.088515
2021-04-09T18:39:28
2021-04-09T18:39:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,067
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # 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 Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "andy.balogh@keysight.com" ]
andy.balogh@keysight.com
1c2e64e1b4096dfadf92a63a5b65f493e29f7c8e
1eef839cf49943b1ef869f2841c89b68865ea6a5
/backend/home/management/commands/load_initial_data.py
7936143846b48313402c8142208da76c88784ec9
[]
no_license
crowdbotics-apps/googlevision-2076
1704c9682f91d1e8ddfc9fde475ec1cd128a6cf1
64cc5327272a418d4d4546510162f9de17034c32
refs/heads/master
2022-12-13T00:47:35.948925
2019-04-08T14:04:56
2019-04-08T14:04:56
180,162,128
0
0
null
2022-12-06T17:15:57
2019-04-08T14:04:52
JavaScript
UTF-8
Python
false
false
737
py
from django.core.management import BaseCommand from home.models import CustomText, HomePage def load_initial_data(): homepage_body = """ <h1 class="display-4 text-center">googlevision_2076</h1> <p class="lead"> This is the sample application created and deployed from the crowdbotics ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
ea5601a3fe347e977766fc8f3aa36f7e713c5929
e11dff811ca981f428644fd70d10a7369c671bcb
/src/tools/ecos/cvxpy/cvxpy/atoms/affine/sum_entries.py
fb2c25a29f5877aab3f953dfc928c1024a96fcb2
[ "GPL-3.0-only", "GPL-3.0-or-later", "MIT" ]
permissive
riadnassiffe/Simulator
3c4a036b5635534929fdb04b0e9c96d64c0da71f
7d9ff09f26367d3714e3d10be3dd4a9817b8ed6b
refs/heads/master
2021-06-20T09:31:36.033427
2021-04-17T00:03:17
2021-04-17T00:03:17
16,033,879
0
0
MIT
2021-03-22T23:20:34
2014-01-18T20:58:10
Jupyter Notebook
UTF-8
Python
false
false
1,828
py
""" Copyright 2013 Steven Diamond This file is part of CVXPY. CVXPY 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. CVXPY is distributed i...
[ "riad.nassiffe@gmail.com" ]
riad.nassiffe@gmail.com
ae597411a6945c07b448ad1f6c67ba4faf26865b
9a9d6052f8cf91dd57be9a9b6564290b0fac9e52
/Algorithm/BOJ/2116_주사위 쌓기.py
f494fc01ddc883e6b46464d4aa89b959695f7bba
[]
no_license
Gyeong-Yeon/TIL
596ec6a093eec34a17dad68bcd91fa9dd08690e8
eb1f43ee0525da93233b70716cd35caab8d82bda
refs/heads/master
2023-03-31T19:56:30.979062
2021-03-28T13:09:27
2021-03-28T13:09:27
280,307,737
0
1
null
null
null
null
UTF-8
Python
false
false
905
py
N = int(input()) arr = [list(map(int,input().split())) for _ in range(N)] # index = 0:5, 1:3, 2:4 match = {0:5, 1:3, 2:4, 3:1, 4:2, 5:0} adds = [] # 합 리스트 for i in range(6): # arr[0][i] bottom = arr[0][i] top = arr[0][match[i]] initial_max = 0 for j in range(6): if j != i and j != match[i]: ...
[ "lky4156@naver.com" ]
lky4156@naver.com
113f24100f87187303d4fce638376a725ba60f5c
62b736eff115a6d9cfd323c1b396c94f8a9302fe
/gen_al/old/Travelling_Salesperson_Problem_Projects/tsp_2/turtle_func.py
191975ff56757ee28aca872f5ed1b7395afb8113
[]
no_license
ccnelson/Python
dccbb9a2c00f8124216f2f4d4202b94907134083
ebd0c401b23aee7467332d692588f02cda0ff935
refs/heads/master
2023-04-02T09:09:55.716686
2021-03-28T18:16:15
2021-03-28T18:16:15
184,681,086
0
0
null
null
null
null
UTF-8
Python
false
false
2,823
py
# turtle functions (drawing) # new tsp project # C.NELSON 2019 # v1.2 updated 12/03 # Python 3.6 ############################ import turtle def setup_turtle(canv): """ prepare turtle return turtle and screen object """ # t = turtle.Turtle() t = turtle.RawTurtle(canv) t.speed(0)...
[ "noreply@github.com" ]
ccnelson.noreply@github.com
de820da903246a69f7c90adb173912c6450dcaae
85b402cd9e762b2749c978105ea362b10d335e5c
/251_satellite_image_to_maps_translation/251_pix2pix_maps.py
3286d791ef3287e37f49e5c4a7535959450b7fff
[]
no_license
bnsreenu/python_for_microscopists
29c08f17461baca95b5161fd4cd905be515605c4
4b8c0bd4274bc4d5e906a4952988c7f3e8db74c5
refs/heads/master
2023-09-04T21:11:25.524753
2023-08-24T18:40:53
2023-08-24T18:40:53
191,218,511
3,010
2,206
null
2023-07-25T07:15:22
2019-06-10T17:53:14
Jupyter Notebook
UTF-8
Python
false
false
3,787
py
# https://youtu.be/6pUSZgPJ3Yg """ Satellite image to maps image translation ​using Pix2Pix GAN Data from: http://efrosgans.eecs.berkeley.edu/pix2pix/datasets/maps.tar.gz Also find other datasets here: http://efrosgans.eecs.berkeley.edu/pix2pix/datasets/ """ from os import listdir from numpy import asarray,...
[ "noreply@github.com" ]
bnsreenu.noreply@github.com
0b128ab5be76ea74d4b4f4f499d711d894c30a40
e7ef4e1933fd13b1c1259f6fbadd60d3ede1fbee
/osmessages_24733/wsgi.py
4821d8a1dba5415226372796f5ce0987e23c85aa
[]
no_license
crowdbotics-apps/osmessages-24733
14226472cb59aa3f2726e8d5b47115a4ceed3cec
0bc236e2a9bf4288cedc6722aac04952f0ee154b
refs/heads/master
2023-03-12T18:01:27.649671
2021-02-27T02:36:53
2021-02-27T02:36:53
342,753,277
0
0
null
null
null
null
UTF-8
Python
false
false
409
py
""" WSGI config for osmessages_24733 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJA...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
0ea17e3dc66a474be668489033ac2b787f376f4d
64d923ab490341af97c4e7f6d91bf0e6ccefdf4b
/tensorforce/core/networks/keras.py
aa2bf35c0e726548cde7abb23ce762143bd75cf3
[ "Apache-2.0" ]
permissive
tensorforce/tensorforce
38d458fedeeaa481adf083397829cea434d020cd
1bf4c3abb471062fb66f9fe52852437756fd527b
refs/heads/master
2023-08-17T17:35:34.578444
2023-08-14T20:14:08
2023-08-14T20:14:08
85,491,050
1,312
246
Apache-2.0
2023-08-14T20:14:10
2017-03-19T16:24:22
Python
UTF-8
Python
false
false
4,461
py
# Copyright 2020 Tensorforce Team. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
[ "alexkuhnle@t-online.de" ]
alexkuhnle@t-online.de
c46739db37cc0d8d6f66b8088d2c8cdddfb6de28
37e87b3d5e1ee9009f0ea0671bc0c6edf0e233b7
/214_2.py
3b61a632caade66702456fc9ceb28cca7655b778
[]
no_license
Jane11111/Leetcode2021
d9f4987792938597bf89ff72ba6bbcb4a3f9d081
a95b871578aae0103066962c33b8c0f4ec22d0f2
refs/heads/master
2023-07-14T21:29:41.196752
2021-08-23T03:28:02
2021-08-23T03:28:02
344,804,297
2
0
null
null
null
null
UTF-8
Python
false
false
678
py
# -*- coding: utf-8 -*- # @Time : 2021-06-29 16:08 # @Author : zxl # @FileName: 214_2.py class Solution: def shortestPalindrome(self, s: str) -> str: base = 131 mod = 1000000007 h1 = 0 h2 = 0 mul = 1 l = 0 for i in range(len(s)): n = ord(...
[ "791057615@qq.com" ]
791057615@qq.com
e515ff5a0ecccaac1a76f07b6c2939263f989829
df7f13ec34591fe1ce2d9aeebd5fd183e012711a
/hata/discord/embed/embed/tests/test__parse_type.py
40425580b6fed79c705693c035314f72161e03dd
[ "LicenseRef-scancode-warranty-disclaimer" ]
permissive
HuyaneMatsu/hata
63e2f6a2d7a7539fd8f18498852d9d3fe5c41d2e
53f24fdb38459dc5a4fd04f11bdbfee8295b76a4
refs/heads/master
2023-08-20T15:58:09.343044
2023-08-20T13:09:03
2023-08-20T13:09:03
163,677,173
3
3
Apache-2.0
2019-12-18T03:46:12
2018-12-31T14:59:47
Python
UTF-8
Python
false
false
619
py
import vampytest from ..fields import parse_type from ..preinstanced import EmbedType def _iter_options(): yield {}, EmbedType.rich yield {'type': EmbedType.gifv.value}, EmbedType.gifv @vampytest._(vampytest.call_from(_iter_options()).returning_last()) def test__parse_type(input_data): """ Tests wh...
[ "re.ism.tm@gmail.com" ]
re.ism.tm@gmail.com
f1d198ebc68355b45ed1d8a198fb331cf580631a
03e3138f99f275d15d41a5c5bfb212f85d64d02e
/source/res/scripts/common/Lib/plat-mac/Carbon/AppleHelp.py
b3a1eb71ee91095744f834691f576b5c4c72e21a
[]
no_license
TrenSeP/WorldOfTanks-Decompiled
e428728e7901146d0b599d02c930d70532232a97
1faa748acec1b7e435b657fd054ecba23dd72778
refs/heads/1.4.1
2020-04-27T08:07:49.813023
2019-03-05T17:37:06
2019-03-05T17:37:06
174,159,837
1
0
null
2019-03-06T14:33:33
2019-03-06T14:24:36
Python
UTF-8
Python
false
false
222
py
# Python bytecode 2.7 (decompiled from Python 2.7) # Embedded file name: scripts/common/Lib/plat-mac/Carbon/AppleHelp.py kAHInternalErr = -10790 kAHInternetConfigPrefErr = -10791 kAHTOCTypeUser = 0 kAHTOCTypeDeveloper = 1
[ "StranikS_Scan@mail.ru" ]
StranikS_Scan@mail.ru
335aeaa24a5acc26b604f77f1b185944aaa1eec0
8cb210f5a7b9a46dcdd1c4f4cdebb9b006e16d2f
/cedm/policy/Wizard.py
60a2da0b8967a89d66834335869e728a29270b07
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
drwiner/Py3Dial
0ed4572c3d110907a27a8a8f3167299db0de1919
0aa5b68f4548bb15e9d167165c17306fd267ee4f
refs/heads/master
2020-03-26T19:13:53.511897
2018-08-18T21:45:32
2018-08-18T21:45:32
145,254,529
3
1
null
null
null
null
UTF-8
Python
false
false
4,481
py
############################################################################### # PyDial: Multi-domain Statistical Spoken Dialogue System Software ############################################################################### # # Copyright 2015 - 2018 # Cambridge University Engineering Department Dialogue Systems Grou...
[ "drwiner131@gmail.com" ]
drwiner131@gmail.com
35b48c0c9437127813b557f04216cc6e646c9a22
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02725/s834414031.py
4ea7ae85f73f038b9396e7adaf897e35aedc1d80
[]
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
169
py
K, N = map(int, input().split()) A = list(map(int, input().split())) d = [a1 - a2 for (a1, a2) in zip(A[1:], A[:-1])] d.append(A[0] + K - A[-1]) print(sum(d) - max(d))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
02753662837aeffc964c4affc5dc2aaa36b7142b
1a220abd21c56728aa3368534506bfc9ced8ad46
/백준/Bronze/11365. !밀비 급일/!밀비 급일.py
77b139edee3333df8d90c7e2c2295478df3d5b5c
[]
no_license
JeonJe/Algorithm
0ff0cbf47900e7877be077e1ffeee0c1cd50639a
6f8da6dbeef350f71b7c297502a37f87eb7d0823
refs/heads/main
2023-08-23T11:08:17.781953
2023-08-23T08:31:41
2023-08-23T08:31:41
197,085,186
0
0
null
2023-02-21T03:26:41
2019-07-15T23:22:55
Python
UTF-8
Python
false
false
168
py
while True: seq = input() if seq == "END": break list_seq = list(seq) reversed_seq = reversed(list_seq) print("".join(reversed_seq))
[ "43032391+JeonJe@users.noreply.github.com" ]
43032391+JeonJe@users.noreply.github.com
5594f85458ee92193d63e15a164455811be06b15
b946b727ed7382af746cc45cbbc3920de4af1a6a
/dcard/dcard/utils.py
a465c17750c5d9b3dfa33d9256be45d8f32a7fa4
[ "MIT" ]
permissive
UDICatNCHU/KCM-Data-Source-Extractor
b8ac304adf69571982b36594c3437d7755eeb1b5
f23d587538686f2dd722d3eb3a9a711823adfca0
refs/heads/master
2021-07-05T23:18:17.032594
2017-10-01T10:02:20
2017-10-01T10:02:20
82,277,663
0
0
null
null
null
null
UTF-8
Python
false
false
2,502
py
# -*- coding: utf-8 -*- import logging import itertools from multiprocessing.dummy import Pool from six.moves import http_client as httplib import requests import prequests from requests.adapters import HTTPAdapter from requests.packages.urllib3.util.retry import Retry from requests.exceptions import Retry...
[ "davidtnfsh@gmail.com" ]
davidtnfsh@gmail.com
f7e91c26f0a0012e64a3b4d978d1274820fb0a97
ab9b75fcdd2b7352968886e5ed41ee7788216226
/src/gamesbyexample/sandfall.py
98fdce06afdf41e4d83aab3388f2f504ac601ee8
[ "MIT" ]
permissive
mgocken/PythonStdioGames
d7b48cafbc33a027548cab08ad08aea6c0c81abd
036d2f142581fb74a38400721aecce15a695e1bc
refs/heads/master
2020-09-29T18:35:34.589307
2019-12-06T00:15:46
2019-12-06T00:15:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,386
py
# Sand Fall, by Al Sweigart al@inventwithpython.com # A falling sand animation. # Inspired by https://asciinema.org/a/6515 __version__ = 1 # This program MUST be run in a Terminal/Command Prompt window. import random, time, os, sys WIDTH = 80 HEIGHT = 25 X = 0 Y = 1 PAUSE_LENGTH = 0.2 SAND = chr(9617) # Character 9...
[ "asweigart@gmail.com" ]
asweigart@gmail.com
26e8374e62eee7079be97121b85843109b85b254
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_snowboarded.py
48e56120e5e640bf93d4c6bffe86e0c3d656db48
[ "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
236
py
#calss header class _SNOWBOARDED(): def __init__(self,): self.name = "SNOWBOARDED" self.definitions = snowboard self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['snowboard']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4f6ed962219fc9a5c29c8960f2eb3e6c09fba5c8
84e661d5d293ec0c544fedab7727767f01e7ddcf
/newsroom/migrations-old/0051_useredit_changed.py
391cb4b99bdcb8e91ddb0f49a8f6a037902ee35f
[ "BSD-3-Clause" ]
permissive
groundupnews/gu
ea6734fcb9509efc407061e35724dfe8ba056044
4c036e79fd735dcb1e5a4f15322cdf87dc015a42
refs/heads/master
2023-08-31T13:13:47.178119
2023-08-18T11:42:58
2023-08-18T11:42:58
48,944,009
21
23
BSD-3-Clause
2023-09-14T13:06:42
2016-01-03T11:56:48
JavaScript
UTF-8
Python
false
false
456
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-01-29 10:00 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('newsroom', '0050_auto_20170116_2109'), ] operations = [ migrations.AddField...
[ "nathangeffen@gmail.com" ]
nathangeffen@gmail.com
cfe32ff880588ea44c2a6e1ac2acc69a57538e1e
a259551b1e6be667c1ac048ed309e54f005d25fb
/test/test_datasets.py
3ba3553ea6d04658ef51ff4e2a39ce01d0929d53
[]
permissive
cokelaer/spectrum
6b2747e3a62014f8747cc6841c09cc1f287e71db
5966c4ba5d07722ff7b05ad4471fecd76b7992f5
refs/heads/master
2023-01-13T18:55:02.306026
2022-12-28T23:06:31
2022-12-28T23:06:31
23,551,663
314
101
BSD-3-Clause
2022-12-28T23:06:32
2014-09-01T18:26:09
Python
UTF-8
Python
false
false
589
py
#from spectrum import datasets from spectrum.datasets import * def test_marple_data(): d = marple_data assert len(d) == 64 def test_timeseries(): data = data_cosine(N=1024, A=0.1, sampling=1024, freq=200) ts = TimeSeries(data, sampling=1) #assert ts.N == 1024 #assert ts.sampling == 1024 t...
[ "cokelaer@gmail.com" ]
cokelaer@gmail.com
47551324220fb39497184bbe7c61a3dcb06479ec
5ecabca09cfd1850d07fce8bfdf3792a4bc63074
/__init__.py
1df3fcc74206510e9eb921ff58ebe9d31355f2cf
[]
no_license
chrisjbillington/image_reconstruction
2668156d4872a0067e078f71bb3246300394a875
2ec548c9874a69fac842086172c3df0189d58380
refs/heads/master
2020-12-30T02:49:34.806907
2020-07-07T01:02:53
2020-07-07T01:02:53
238,835,594
0
0
null
null
null
null
UTF-8
Python
false
false
488
py
import numpy as np def reduced_chi2(a, b, unc, mask=None): """Compute the sum squared error/uncertainty per degree of freedom between arrays a and b with given uncertainties and mask""" if mask is None: # No masek mask = np.ones(a.shape, dtype=bool) else: # Convert to bool if n...
[ "chrisjbillington@gmail.com" ]
chrisjbillington@gmail.com
405d3e760ab7d565533c7d24e0fc2a22cd5bdfe0
9b5597492e57313712c0a842ef887940f92636cd
/judge/sessions/2018Individual/jinxi@g.ucla.edu/PA_01.py
689fe72d4bcbd5d40edd869440e3a4a32a031804
[]
no_license
onionhoney/codesprint
ae02be9e3c2354bb921dc0721ad3819539a580fa
fcece4daf908aec41de7bba94c07b44c2aa98c67
refs/heads/master
2020-03-11T11:29:57.052236
2019-05-02T22:04:53
2019-05-02T22:04:53
129,971,104
0
0
null
null
null
null
UTF-8
Python
false
false
910
py
import sys number = int(sys.stdin.readline()) # return the max sum smaller than total # a is array # def find_max(a, p): # if a[0] > p: # return 0 # i = 0 # j = len(a) - 1 # while (i < j): # mid = (i + j) / 2 # if (a[mid] < p): # i = mid + 1 # elif (a[mid] == p): # return p # else: # j = mid - ...
[ "root@codesprintla.com" ]
root@codesprintla.com
51de58ff151ba858090d3fc91a75415a8121d12a
eed7b5aa4861086d34e539e7bbfeff4286506692
/src/Game/Events/multi_zone_event.py
9102f440aebfe46cb980b30331b2c8ecbdb39b71
[]
no_license
dfwarden/DeckBuilding
0be2ccb68fc9a69c8eaa1d8acedeaa7cebef1a31
0b5a7573a3cf33430fe61e4ff8a8a7a0ae20b258
refs/heads/master
2021-01-18T09:52:51.880892
2015-02-03T03:21:17
2015-02-03T03:21:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
class MultiZoneEvent: """ Represents an Event to wrap cards from multiple zones """ def __init__(self, zones, context): """ Initialize the Cards Event with the cards and where they came from """ self.zones = zones self.context = context.copy() self.context.event = s...
[ "cloew123@gmail.com" ]
cloew123@gmail.com
db45468074d3fef707506348bb572cc7960f4c2d
c709247afa306cf27c6773796eabe257645290a2
/sorting-algorithms/radixSort.py
93d8b84dee9a6662b829ae67a0d9b73d624b95bb
[]
no_license
sarthikg/python-algorithms
fe7ca1b1b5e6f3836c4b16f16b55af6591923b13
cf86c3e76f577eb56282483bdaeb44ccb2b15615
refs/heads/master
2023-01-07T21:04:26.240692
2020-10-31T19:06:58
2020-10-31T19:06:58
289,223,708
1
0
null
2020-10-31T19:06:59
2020-08-21T08:53:54
Python
UTF-8
Python
false
false
696
py
import math def getDigit(number, place): return ((number // (10 ** place)) % 10) def getTotalDigits(number): if number == 0: return 1 return math.floor(math.log(number, 10)) + 1 def getMaxDigits(array): maxDigits = 0 for num in array: tempMax = getTotalDigits(num) if tempMax > maxDigits: ...
[ "sarthikg@gmail.com" ]
sarthikg@gmail.com
4ef2667cd365d4be7b12d942ac301cbead507d0b
d05a59feee839a4af352b7ed2fd6cf10a288a3cb
/xlsxwriter/test/comparison/test_chart_axis08.py
a6201f3a50f4b14f0950e6f7115c83fff4a31cf5
[ "BSD-2-Clause-Views" ]
permissive
elessarelfstone/XlsxWriter
0d958afd593643f990373bd4d8a32bafc0966534
bb7b7881c7a93c89d6eaac25f12dda08d58d3046
refs/heads/master
2020-09-24T06:17:20.840848
2019-11-24T23:43:01
2019-11-24T23:43:01
225,685,272
1
0
NOASSERTION
2019-12-03T18:09:06
2019-12-03T18:09:05
null
UTF-8
Python
false
false
1,418
py
############################################################################### # # Tests for XlsxWriter. # # Copyright (c), 2013-2019, John McNamara, jmcnamara@cpan.org # from ..excel_comparsion_test import ExcelComparisonTest from ...workbook import Workbook class TestCompareXLSXFiles(ExcelComparisonTest): """...
[ "jmcnamara@cpan.org" ]
jmcnamara@cpan.org
99c98cfc4dbdd8d99c387daf73a9cf9549a4f6b1
f6a5a048d0b3f00c997ab1583a122f1d2027a321
/get_images_from_baidu.py
e50cc8fa65b7dd93253f51ef887dba61651edf27
[]
no_license
wangyitao/migicCode
74b7b71f2aa19c341a8f3080d20df495241ee40b
9b2bfa2c4923d786c818a16f39c01045a38c4f8d
refs/heads/master
2020-04-12T07:51:53.632965
2019-12-11T14:11:45
2019-12-11T14:11:45
162,372,775
2
0
null
null
null
null
UTF-8
Python
false
false
5,519
py
# -*- coding: utf-8 -*- # @Time : 19-1-10 下午9:44 # @Author : Felix Wang import re import requests import json import random from multiprocessing import Pool def translate(content, tolang='zh', fromlang=None): User_Agent = [ 'Mozilla/5.0 (Linux; Android 8.0; Pixel 2 Build/OPD3.170816.012) AppleWebKit/...
[ "1403179190@qq.com" ]
1403179190@qq.com
d990be3e0d49aeebec431d4937106f1fcb583efb
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/4AtqpqKdXAFofa566_11.py
ea968a4150eadae1e4ed7655d420211362b019b8
[]
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,104
py
""" Create a function that takes in a _number as a string_ `n` and returns the number **without trailing and leading zeros**. * **Trailing Zeros** are the zeros _after_ a decimal point which _don't affect the value_ (e.g. the _last three_ zeros in `3.4000` and `3.04000`). * **Leading Zeros** are the zeros _be...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
43a791ceda13379d69bcca4e24e3c486b1c96201
5825e26a618b4153c03b63b52a4f200fb734efbc
/ccatcracker/OnlineTest/migrations/0003_test.py
d6c9e0be977ddc177384220aaa696efd554da992
[]
no_license
asheteh/myproject
ff6ea4f4aff69cd19a5973601c301c90e0f85742
300071cf19edc11ff902bcb70f2cf0841970e9e5
refs/heads/master
2023-03-08T14:15:52.180462
2020-08-24T08:55:43
2020-08-24T08:55:43
195,670,319
0
0
null
2023-02-15T23:12:20
2019-07-07T15:55:40
HTML
UTF-8
Python
false
false
900
py
# Generated by Django 2.2.1 on 2019-10-22 05:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('OnlineTest', '0002_auto_20191022_1119'), ] operations = [ migrations.CreateModel( name='Test', fields=[ ...
[ "abhijit.shete@happiestminds.com" ]
abhijit.shete@happiestminds.com
212280e342b1daaed424182e661187429d2518b7
6e3da68be6eb3c1c604c55d6b0209493f1567bc4
/tests/test_commands.py
37be23a37ac5b3fbc3f0e7743a4105ad1c78b611
[]
no_license
flaviogf/the_password
53027bce78334dedfe3f9daa7be6cf0e7fafe5af
69ec788be01b4a882ccf8c3112e05226d8daa068
refs/heads/master
2020-06-25T13:59:03.630954
2019-09-19T01:10:38
2019-09-19T01:10:38
199,329,497
0
0
null
null
null
null
UTF-8
Python
false
false
810
py
from app.commands import create_user from app.models import User class TestCreateUser: def test_should_output_return_success_message_when_create_user(self, runner): result = runner.invoke(create_user, ['--name', 'Naruto', '--email', 'naruto@em...
[ "flavio.fernandes6@gmail.com" ]
flavio.fernandes6@gmail.com
b1ac1da4668652db9c041d3ea20058e816a55fce
f4996d975ce705c1d09fdad168cd1225bbb99dd8
/chemex/experiments/cpmg/n_atrosy/data_point.py
5b7bb883cba16d36bd9f2ae38e06985e0b7f2b90
[ "BSD-3-Clause" ]
permissive
chriswaudby/chemex
d0d39d834989d92f738f17de737167b7f9118884
c3424bb8891b05de43c969108311d3ea50ba3428
refs/heads/develop
2020-01-23T21:05:04.695331
2016-11-08T13:29:16
2016-11-08T13:29:16
74,578,043
0
1
null
2016-12-24T12:58:50
2016-11-23T13:11:30
Python
UTF-8
Python
false
false
4,603
py
""" Created on Aug 5, 2011 @author: guillaume """ # Standard imports from inspect import getargspec from scipy import pi # Local imports from chemex.parsing import parse_assignment from chemex.experiments.base_data_point import BaseDataPoint from chemex.constants import xi_ratio from .back_calculation import make_c...
[ "gbouvignies@gmail.com" ]
gbouvignies@gmail.com
fe3e0cef1342b09b851c4842822fcbc3016e4974
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/carbon/common/lib/werkzeug/contrib/profiler.py
3a261838f4a49835c5d266bd0b50a055737e1ddb
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,954
py
#Embedded file name: carbon/common/lib/werkzeug/contrib\profiler.py """ werkzeug.contrib.profiler ~~~~~~~~~~~~~~~~~~~~~~~~~ This module provides a simple WSGI profiler middleware for finding bottlenecks in web application. It uses the :mod:`profile` or :mod:`cProfile` module to do the profiling an...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
15e275e395224c3485b07a4667b24ed5dc279a8d
d2a7907fd06aebce3d27a36bb1e8231289d07e6f
/jobs/settings/dev.py
fe732a818d6cfcea52bf04fdecec241d55899962
[]
no_license
drucko/djobs
d27042764f8ed05d7f8ab95ab2d2a57590d986aa
88faa924c67c05aab3f87ba06a826866488bd74e
refs/heads/master
2020-04-05T01:19:16.536894
2012-12-13T19:27:45
2012-12-13T19:27:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
343
py
from .base import * DEBUG = TEMPLATE_DEBUG = True EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' try: import debug_toolbar except ImportError: pass else: INSTALLED_APPS.append('debug_toolbar') INTERNAL_IPS = ('127.0.0.1',) MIDDLEWARE_CLASSES.insert(0, 'debug_toolbar.middleware.De...
[ "jacob@jacobian.org" ]
jacob@jacobian.org
6a570bcf70c24a704f152686c9a94ebd637b57b0
914aa18d6420b9b920e2a20df238302f891f79f1
/arda_db/browser/migrations/0013_auto_20150331_2016.py
4df15d91a86f78e40180471d2a32baaa1dbd912d
[ "MIT" ]
permissive
rwspicer/ARDA
2152405c911afacad14dd1478b040f5af9246ba2
9bd98786feff4afbd45afdf3f3f1c2549f6356cf
refs/heads/master
2016-08-05T10:08:13.719344
2015-05-01T00:56:27
2015-05-01T00:56:27
30,052,617
5
0
null
null
null
null
UTF-8
Python
false
false
1,003
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('browser', '0012_auto_20150331_2002'), ] operations = [ migrations.AlterField( model_name='resource', ...
[ "rwspicer@alaska.edu" ]
rwspicer@alaska.edu
616b91a9692764dea3f270915c2c2289d98a684b
c001930958cb94f8b91b1f734108671f1db9e9f1
/tests/unit/pages/test_pages_config.py
958580422dc149f58ac9c53a26be307cb4cdb2f5
[ "MIT" ]
permissive
plotly/dash
73c752135937e27975071fbd144e3fb21618e7b4
6eaf2e17c25f7ca1847c41aafeb18e87c586cb9f
refs/heads/dev
2023-08-30T21:21:06.056499
2023-08-29T16:49:04
2023-08-29T16:49:04
33,702,544
20,553
2,355
MIT
2023-08-31T20:51:14
2015-04-10T01:53:08
Python
UTF-8
Python
false
false
2,789
py
from contextlib import contextmanager from pathlib import Path import pytest from dash import Dash, exceptions as _exc from dash._configs import pages_folder_config THIS_DIR = Path(__file__).parent @contextmanager def does_not_raise(): """Context manager for testing no exception is raised""" yield @pyte...
[ "nletcher@gmail.com" ]
nletcher@gmail.com
06856d4948c5f8700c2bcff1fda2baa18ed7b834
644a2a6b691d5e79292eea4a1e0de34536bf54b4
/tensorflow/python/training/distribute_test.py
20b6d4f977d799281ffbf12cef5dc54607bd9fba
[ "Apache-2.0" ]
permissive
nemoNoboru/tensorflow
b6917537caf01cba0f47e261d6748a14b769cc44
9a608da83605d162be891e69db903f581ca9566b
refs/heads/master
2020-04-06T18:35:00.922299
2018-11-15T09:02:45
2018-11-15T09:07:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,478
py
# Copyright 2018 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...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
02ae7a06a7aef32aff8fa2ed0f7aea193b717c0f
4e3eedbf46a032c42665c3b212a48bc30652c1ed
/day38/03 存储引擎.py
05934ddc5283d9c1f7d610e9d39380ec3bc9a5d4
[]
no_license
zranguai/python-learning
7eb2a842f6f4624f550ee1c4ff7cd64ac948097a
acf19c9f85eec4bee3e3e3a00712c4a53aa9d249
refs/heads/master
2023-03-24T14:36:32.248437
2021-03-15T08:24:01
2021-03-15T08:24:01
347,874,326
1
0
null
null
null
null
UTF-8
Python
false
false
1,640
py
# 存储引擎 -- 存储数据的方式 # 一张表 # 数据 # 表的结构 # 索引(查询的时候使用的一个目录结构) # Innodb存储引擎 ***** mysql5.6之后的默认的存储引擎 # 数据和索引存储在一起 2个文件 # 数据索引\表结构 # 数据持久化 # # 支持事务 : 为了保证数据的完整性,将多个操作变成原子性操作 : 保持数据安全 # 支持行级锁 : 修改的行少的时候使用 : 修改数据频繁的操作 # 支持表级锁 : 批量修改多行的时候使用 : 对于大量数据的同时修改 # 支...
[ "zranguai@gmail.com" ]
zranguai@gmail.com
189d5d2e47d6496fb3b56107c142a75e13f2663a
aa265e03e73f718d4008cfe30ada7ee32c852eec
/ARC_A/ARC032_A.py
1cb865f08e8809bd4f8369e25f9f05bde3cb9d6a
[ "MIT" ]
permissive
ryosuke0825/atcoder_python
4fb9de9733cd9ef41c2ad9ad38b3f190f49d3ad5
52d037d0bc9ef2c721bf2958c1c2ead558cb0cf5
refs/heads/master
2023-03-11T22:47:56.963089
2023-03-05T01:21:06
2023-03-05T01:21:06
181,768,029
0
0
null
null
null
null
UTF-8
Python
false
false
272
py
n = int(input()) nsum = 0 for i in range(1, n+1): nsum += i if nsum == 1: print('BOWWOW') elif nsum <= 3: print('WANWAN') else: for i in range(2, n+1): if n % i == 0: print('BOWWOW') break else: print('WANWAN')
[ "ayakobon@gmail.com" ]
ayakobon@gmail.com
5ae97a4ec65305d7d5bbaa117021333a62f6416b
d488f052805a87b5c4b124ca93494bc9b78620f7
/google-cloud-sdk/.install/.backup/lib/surface/compute/images/export.py
46000f6c6a5173eb952a5f03d0f1389e70997754
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "MIT" ]
permissive
PacktPublishing/DevOps-Fundamentals
5ce1fc938db66b420691aa8106ecfb3f9ceb1ace
60597e831e08325c7e51e8557591917f7c417275
refs/heads/master
2023-02-02T04:48:15.346907
2023-01-30T08:33:35
2023-01-30T08:33:35
131,293,311
13
19
null
null
null
null
UTF-8
Python
false
false
3,925
py
# Copyright 2018 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "saneetk@packtpub.com" ]
saneetk@packtpub.com
31190276e32a27dad05e9d3220b147ad38baa117
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_muddy.py
41e363e748cd032b248f751ce2659ebafad53748
[ "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
452
py
#calss header class _MUDDY(): def __init__(self,): self.name = "MUDDY" self.definitions = [u'covered by or containing mud (= wet, sticky earth): ', u'Muddy colours are dark and not bright: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' d...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
927e264ac873a64922c86321b331df07609db0d4
636ba2700eaf3a151b73144b510f38c75ab1919d
/keras/keras35_1_save_model.py
35f85681b362ff08ea32bb2059a9d68da542c865
[]
no_license
Taerimmm/ML
17997f388e18c28dfd9de83af98a6d4bebe7e1f0
6147cede81ebcc95f21adebf75731fbbb11edfab
refs/heads/master
2023-06-10T14:26:45.335219
2021-07-05T15:30:47
2021-07-05T15:30:47
324,874,959
3
0
null
null
null
null
UTF-8
Python
false
false
502
py
import numpy as np from tensorflow.keras.models import Sequential from tensorflow.keras.layers import Dense, LSTM # 2. 모델 model = Sequential() model.add(LSTM(100, input_shape=(4,1))) model.add(Dense(100)) model.add(Dense(50)) model.add(Dense(20)) model.add(Dense(10)) model.add(Dense(1)) model.summary() # 모델 저장 mode...
[ "xofla7560@naver.com" ]
xofla7560@naver.com
78767d09cb55b49c70a67818fcfb61a54b1046cb
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/16. Database Design/Chapter/02. Database Schemas and Normalization/05-Querying the snowflake schema.py
8045a0c972ede22133132f6aa03e7bcea5a0340c
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
''' Querying the snowflake schema Imagine that you didn't have the data warehouse set up. Instead, you'll have to run this query on the company's operational database, which means you'll have to rewrite the previous query with the following snowflake schema: The tables in this schema have been loaded. Remember, ou...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
93b501ff38bffb8f345c4c0bf2122482a1be3aa7
7d958671a6202d9205ee0dd1166396bc4be2c228
/tsuru_autoscale/event/views.py
898f90e80b056bebe8844c92bd5d8506593ea797
[]
permissive
tsuru/tsuru-autoscale-dashboard
520aa8bd2da51d2cb983d967b8bec79ee13904f7
56abbb7ecb6dca1e6dfa831ed76111597f35a43d
refs/heads/master
2023-06-01T08:23:38.115200
2022-08-23T17:10:36
2022-08-23T17:10:36
34,817,317
11
6
BSD-3-Clause
2023-05-22T21:34:49
2015-04-29T20:43:28
Python
UTF-8
Python
false
false
306
py
from django.shortcuts import render from tsuru_autoscale.event import client def list(request, alarm_name): token = request.GET.get("TSURU_TOKEN") events = client.list(alarm_name, token).json() context = { "list": events, } return render(request, "event/list.html", context)
[ "andrewsmedina@gmail.com" ]
andrewsmedina@gmail.com
d2eabe0ccd2caedcd429675c7a8a63be1ba55845
ad357cfbec64afb8f4cc4043b212996768f9755c
/api/action_plans/migrations/0004_actionplan_current_status.py
d41968976a5e8a034bf91b5eda03a3a1ae2e2751
[ "MIT" ]
permissive
uktrade/market-access-api
6b4680e6455eb5c25480ccd3e3d9445654269f36
4da26d1be53843d22411577409d9489010bdda09
refs/heads/master
2023-08-30T14:47:10.373148
2023-08-29T13:58:08
2023-08-29T13:58:08
131,856,014
2
3
MIT
2023-09-14T08:04:42
2018-05-02T13:38:37
Python
UTF-8
Python
false
false
411
py
# Generated by Django 3.1.10 on 2021-06-15 18:53 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('action_plans', '0003_auto_20210615_1844'), ] operations = [ migrations.AddField( model_name='actionplan', name='cur...
[ "noreply@github.com" ]
uktrade.noreply@github.com
a904056ed74235ecce5241ab097366d2c4d1064a
ef2d9fcdc29655f7da9b2ea5bd03b03c4bf9c2b9
/award/forms.py
f7a3542eba8c2024495f20eaaaad1b0ae67d877a
[]
no_license
Jackson-coder-arch/Week3-IP
7283129bae0263bb1f1ec4f067aa004c1796469c
3248307e100c542975f9eb5a2f23a351ef8802a7
refs/heads/master
2023-04-01T07:39:46.720316
2021-04-08T08:28:39
2021-04-08T08:28:39
354,091,958
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
from django import forms from django.forms import ModelForm from .models import Project, Profile, Rating, Review from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm class ProjectForm(forms.ModelForm): class Meta: model = Project fields = ('name','im...
[ "jacksonikonya@gmail.com" ]
jacksonikonya@gmail.com
c7cf1f8bc2169081708255693c291ef200e7cf2d
9139abff4dfec3c4c0623e42db2d44a866595752
/lagom/envs/wrappers/vec_standardize_observation.py
0507cf0f022d00a95b2796dfa3ef411aad505fa4
[ "MIT" ]
permissive
LorinChen/lagom
42e7c0c89c356b1cc7c160f12517fa01693e91c5
273bb7f5babb1f250f6dba0b5f62c6614f301719
refs/heads/master
2020-07-20T17:46:45.648603
2019-08-13T13:20:57
2019-08-13T13:20:57
206,686,173
1
0
MIT
2019-09-06T01:16:27
2019-09-06T01:16:24
null
UTF-8
Python
false
false
2,498
py
import numpy as np from lagom.transform import RunningMeanVar from lagom.envs import VecEnvWrapper class VecStandardizeObservation(VecEnvWrapper): r"""Standardizes the observations by running estimation of mean and variance. .. warning:: To evaluate the agent trained on standardized observ...
[ "zuoxingdong@hotmail.com" ]
zuoxingdong@hotmail.com
6f334bf77ea76460049f1d3fa0c7bca6f3d460a3
f3b233e5053e28fa95c549017bd75a30456eb50c
/p38a_input/L2T/2T-2J_MD_NVT_rerun/set_3.py
6fca43aa0d58abb3ae87377e73faecf5c328af53
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
740
py
import os dir = '/mnt/scratch/songlin3/run/p38a/L2T/MD_NVT_rerun/ti_one-step/2T_2J/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_3.in' temp_pbs = filesdir + 'temp_3.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lam...
[ "songlin3@msu.edu" ]
songlin3@msu.edu