blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
994164e610d278fe042d18fcfb17557acddd8a41
47a496e0c7ea9adf35c006d193a88357006a370e
/algorithm/TopicB2/TreePagoda.py
fcce3df7058ac52a7a5bc94496f5eb20ed821fda
[]
no_license
Curious-chen/curriculum-design
01ea5aff12c3097f7283571befd7bcfe68149817
036f78a62b15ec8e5c8e1013d124f726fd2bebe4
refs/heads/master
2020-12-06T14:19:29.026158
2020-01-08T06:30:50
2020-01-08T06:30:50
232,483,805
6
1
null
null
null
null
UTF-8
Python
false
false
2,727
py
""" 将正整数排成等边三角形(也叫数塔),三角形的底边有个数, 下图给出了的一个例子。从三角形顶点出发通过一系列相邻整数(在图中用正方形表示), 如何使得到达底边时的总和最大 """ import numpy as np """ https://www.jianshu.com/p/2a7f5cac0d58 """ """ 动态规划 dp[i][j] = max(dp[i+1][j],dp[i+1][j+1])+date[i][j] """ """ (1) 初始化距离数组dp,令距离dp的最后一行复制树塔的最后一行的值 (2) ...
[ "noreply@github.com" ]
Curious-chen.noreply@github.com
af0407d686f5be807f2d3d4b938ec56483a3f89e
d6b0bc433b260b5d519d73087d5df46aa516fcdd
/biobb_adapters/pycompss/biobb_amber/pmemd/pmemd_mdrun.py
e94945a6809b7c30cc12c1d92b7e2ea6151423f4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bioexcel/biobb_adapters
b5442fe953b90be4e66faf3460b4a88a40e6d448
3daa84ba83a7951add017dd0f05dc361aa99dfe5
refs/heads/master
2023-08-14T08:46:39.323257
2023-08-02T09:05:21
2023-08-02T09:05:21
157,351,268
0
2
Apache-2.0
2023-04-01T14:56:43
2018-11-13T09:07:36
Common Workflow Language
UTF-8
Python
false
false
3,420
py
# Python import os import sys import traceback # Pycompss from pycompss.api.task import task from pycompss.api.parameter import FILE_IN, FILE_OUT from pycompss.api.multinode import multinode from pycompss.api.constraint import constraint # Adapters commons pycompss from biobb_adapters.pycompss.biobb_commons import task...
[ "andriopau@gmail.com" ]
andriopau@gmail.com
7d10a0ba89d020ea8778672c530012d3496bb89b
0ab5b15d1b97b9d72a9e4218ad6b7377c26e76ec
/tkContacts_LAB15.py
c4c4c3d8fbfbf064790aa63503f585440122fa65
[]
no_license
RagggySu/-Sample-work-from-other-person-Portfolio
3beb01e18b5ace8858bb73eb9aad76e67c87d94b
8f5b6d2f3f4d82435cd166d6f4c038ae7352e59c
refs/heads/main
2023-05-05T06:50:13.906847
2021-05-28T18:45:05
2021-05-28T18:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,481
py
# Programmer: James Aniciete # Course No.: CSC 157 # Lab No.: 15 # Date: 5/9/2020 from tkinter import * from tkinter import messagebox # for exit button's messagebox import os # for exiting the app import myDatabasefile as dbf import sqlite3 # create table dbf.createTable() # get contactlist contactlist = dbf.select...
[ "noreply@github.com" ]
RagggySu.noreply@github.com
7be70ac3312c262cb16fc7fdd8dcb45124a48f14
d2b2023261ccdcaf560a2e7b0bab13ecdedacfc9
/03/fullbackup.py
00cb6631683557864d36d5b2b9b06ca824c29799
[]
no_license
lilyef2000/lesson
a9d96ffc19f68fa3f044f240de6496b6d69394f6
2a5abb00b9bbb8bb36602ea6e1e8c464accc0759
refs/heads/master
2021-01-10T08:41:14.524421
2016-01-01T18:04:04
2016-01-01T18:04:04
46,460,003
0
0
null
null
null
null
UTF-8
Python
false
false
879
py
#!/usr/bin/python import sys,os,time,logger source_file = sys.argv[1] formated_source_file = source_file.split('/')[-1] backup_dir = '/home/Administrator/lesson/backup/' backup_to_file = '''%s%s_%s.tgz'''% (backup_dir,formated_source_file,time.strftime("%Y%m%d%H%M%S",time.localtime())) def run_backup(runtime='now',e...
[ "lilyef2000@gmail.com" ]
lilyef2000@gmail.com
848a890e8baab9228465b85ff2aaf300a3bd3890
59835adaceb26614d0aa51cf8dda2be5be79bcfb
/run_menu.py
91721ab25d52dd5a240b4d7c8ac9c851985b7866
[]
no_license
Farah-H/python_menu
b438e11d649729611ec4aa8ca3a8c9bd0106c3b6
7401eb938a71c03a89da30667ebda4d59f75d4ac
refs/heads/master
2023-01-07T03:28:06.934944
2020-11-08T19:43:54
2020-11-08T19:43:54
310,585,828
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
from waitstaff_class import Waitstaff # This part of the program will actually execute taking an order, saving it, and printing it back to the user #instantiating the waitstaff class jenny = Waitstaff() all_orders = [] # a list to store all orders in (could increment by making this csv output) # prompting the us...
[ "61236001+farahmh@users.noreply.github.com" ]
61236001+farahmh@users.noreply.github.com
2cc9faf3e8e17c9e733a3ce6a37951dfcd9caabb
5602c3572852f8574dff7173fd19c32c48520b28
/rigify/rigs/basic/raw_copy.py
2ebbe13382bfcfe90dd4692ae3038b58086e1ad6
[]
no_license
Dancingbubble/blender-addons
58be022f1d8f712ca83acdbd765336e74074a14d
a6ee5b0e6f6a945c33b6159fd0536d548b23ccb6
refs/heads/master
2023-02-19T22:19:53.125675
2021-01-01T20:54:21
2021-01-01T20:54:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,521
py
#====================== BEGIN GPL LICENSE BLOCK ====================== # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later vers...
[ "angavrilov@gmail.com" ]
angavrilov@gmail.com
73b6a55d16f9a0ddb2370537646877ecaa9d332e
464b6f3a8e3662ecc357735b17c5fe859aa9f3e3
/StanCode-Projects/searching_name_system/babygraphics.py
2ee9308af259ad456f5b8b65ffae016860eaec6b
[ "MIT" ]
permissive
jennywei1995/sc-projects
a840f1fcb6e691999a6b8ac31a53c8a5b0f260b8
ec192434a967d68fee4f772ae907e5ef5fa556d2
refs/heads/main
2022-12-30T13:06:44.186249
2020-10-20T07:56:43
2020-10-20T07:56:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,451
py
""" File: babygraphics.py Name: Jenny Wei ----------------- SC101 Baby Names Project Adapted from Nick Parlante's Baby Names assignment by Jerry Liao. ----------------- This file will create a canvas and enable user to use the program to search for babes' names' ranks over decades. Once the user search a name, the corr...
[ "noreply@github.com" ]
jennywei1995.noreply@github.com
85dbdd459b8e5552ad1d55043b0a1f5779b84c91
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_20926.py
194a6671b01c6bb8bdc4a0d1f301faf7b48d8ed5
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
32
py
# Modifying sys.path PYTHONPATH
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
171783a41f6cc03ffad67745ac99b75219895fad
c37de1b37ea7f6e5d0e4b6715be6f6da342cba9a
/examples/vasp/wallet.py
794836a62040bbfc7b35e797ac4dca07f265240e
[ "Apache-2.0" ]
permissive
fil-blue/client-sdk-python
6389d6b40c1af1587b23ecef96a4db5af66e34dd
2105e7362a35e69298de0896e17331006374de57
refs/heads/master
2023-02-15T02:54:40.512655
2021-01-05T23:42:40
2021-01-05T23:42:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,300
py
# Copyright (c) The Diem Core Contributors # SPDX-License-Identifier: Apache-2.0 from dataclasses import dataclass, field from http import server from diem import ( identifier, jsonrpc, diem_types, stdlib, testnet, utils, LocalAccount, offchain, ) import logging, threading, typing logg...
[ "ilx@fb.com" ]
ilx@fb.com
d047e999cc18d2f81e6f7afc24a22551af5b8e21
c96f923cba05f4bfefafa24c02818cc98e8caa14
/sum.py
86724be39016ee75ac99bd413acdd8c139cca37c
[]
no_license
saviorseelf/test
0178865ff0fbafe37ee286301669876ecb5e7ae6
7438be19b185e16a92a1c3e72cad402b987edc01
refs/heads/master
2021-05-30T11:11:31.744015
2016-01-21T19:15:18
2016-01-21T19:15:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
from threading import Thread i = 0 def add(): global i for j in range(0,1000000): i += 1 def sub(): global i for j in range(0,1000000): i -= 1 def main(): thread1 = Thread(target = add, args = (),) thread2 = Thread(target = sub, args = (),) thread1.start() thread2...
[ "andershanssen92@gmail.com" ]
andershanssen92@gmail.com
fa4650d4a8f4d6e62f671e455d2f45eaa553ced4
d9b0e4be5b29c6bdb806eeb2b6df340aa26d1152
/payloads/shop2.py
016c15fba07f2ae5dd9a4a3ca6bbe7da515a824f
[ "MIT" ]
permissive
opoudel/sculptbf-bot
ba5a4fb3550ffd51620d38d5171413cb89fbe136
3d9307bc4506844c8a693db68217d37fe2e76130
refs/heads/master
2020-12-02T11:34:19.539736
2017-07-21T15:39:20
2017-07-21T15:39:20
96,653,410
0
0
null
null
null
null
UTF-8
Python
false
false
3,652
py
# -*- coding: utf-8 -*- import json def shop(recipient_id): return json.dumps({ "recipient": { "id": recipient_id }, "message": { "attachment": { "type": "template", "payload": { "template_type": "list", ...
[ "opoudel@me.com" ]
opoudel@me.com
5c6efe87ee9b93f8027bf4a15335244acf89f525
ae2f3356ab79b77090f8eb927f692c23ee070278
/SMA_SES_DES.py
6ae165e143cee8c29eb017cdeffa048c74e8509c
[ "MIT" ]
permissive
ImPHX13/Demand-Forecasting
5cfdbfdd712dc23834f702e347b39bcdf23d1d3d
078e58fed6fdd59e8fbae69e8f54d01e784d4be7
refs/heads/master
2022-11-25T22:07:23.255490
2022-11-18T04:26:40
2022-11-18T04:26:40
265,248,188
2
0
null
null
null
null
UTF-8
Python
false
false
5,881
py
#!/usr/bin/env python # coding: utf-8 import numpy as np import pandas as pd from matplotlib import pyplot as plt from statsmodels.tsa.stattools import adfuller from statsmodels.tsa.seasonal import seasonal_decompose from statsmodels.tsa.arima_model import ARIMA from pandas.plotting import register_matplotlib_convert...
[ "noreply@github.com" ]
ImPHX13.noreply@github.com
aa300723ff8030d337ad1c65d8905af0053a9077
760578355ed00ce758591b9a0b4929a3105de530
/query/protocols/Gamespy.py
ed4437c4d9ffc4c0f2cfdf96f9a4022703cf0062
[ "MIT" ]
permissive
SanSource/GameQuery
6c385e7607d7ad7fca0782ef8eea839f838268a7
b10845bffc872e9ce3d3d5d4016fd1905b3b8b0c
refs/heads/master
2020-12-29T16:07:39.179677
2017-08-20T22:59:33
2017-08-20T22:59:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
from ..connection import BaseUDP from ..helpers import async_raise_on_timeout from ..parser.helpers import QueryBytes class Gamespy1(BaseUDP): @async_raise_on_timeout async def get_info(self): reader, writer = await self._connection.connect() query = QueryBytes() query.append(b'\\info...
[ "patryk.sondej@gmail.com" ]
patryk.sondej@gmail.com
cdc9c0fe13be7945a2a837c9dfa2b6ee764b8977
8b881e5a11a4b69362edf70929570964644aab75
/src/ai/AlphaBetaOwnSeeds.py
eb7539b7632553ff9285607c9d3a507bb67ba13b
[]
no_license
BpGameHackSoc/kalahai
18b84bf528c6e5e12e2ac0b0abb3052fec4b81c8
abc2ce1aa4c766fd1cadb62bf3bf4d92b9fe5f56
refs/heads/master
2021-09-02T10:16:27.051245
2017-12-23T10:23:52
2017-12-23T10:25:30
110,739,312
2
1
null
2017-11-19T14:39:11
2017-11-14T20:10:11
Python
UTF-8
Python
false
false
760
py
import numpy as np from . import AlphaBeta from model import Side class AlphaBetaOwnSeeds(AlphaBeta.AlphaBeta): def evaluate(self,state): south_holes = state.board.get_holes(Side.SOUTH) north_holes = state.board.get_holes(Side.NORTH) south_store = state.board.get_store(Side.SOUTH) ...
[ "gergely.halacsy@gmail.com" ]
gergely.halacsy@gmail.com
28849c5633fc880b6e4043d6ee95027eb192b0fe
d77b363dd92fd61ff0f1fc75ffb9836dea201524
/main.py
f44ecfc93f61f7c047c6480e45d49d15fc1f7556
[]
no_license
BalticPinguin/ArgonMD
6309ac8cf2aceb115f2615c81b62eaeacb5bf286
ddb723e7b34ec8b150acf187aaff3d61df9c0f08
refs/heads/master
2016-09-03T07:39:16.201770
2015-08-10T19:42:32
2015-08-10T19:42:32
39,498,512
1
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
#!/usr/bin/python3 import physics as ph import sys def frange(start, stop, step): #imitate range, but with floats. r = start i=0 while r <= stop: yield r i+=1 r =start + i*step def main(argv): assert len(argv)==1, "only temperature and alpha are allowed as input-parameter!" N=256 #num...
[ "tobias.moehle@uni-rostock.de" ]
tobias.moehle@uni-rostock.de
82405e9839e46249f460ed4e84143cc38d8ef32b
55e31bc59b435ccfb60da178d560dedd6248b593
/resources/store.py
b1c85be12f356d4d78b91c85e8bebff15149a086
[]
no_license
kenHsieh25053/flaskapi
a456c2ae28127ba422582693949fcb79bff71977
da1130585fc722910db3c503946ee5d3b8d66591
refs/heads/master
2020-03-10T22:44:36.581563
2018-04-22T09:07:09
2018-04-22T09:07:09
129,625,792
0
0
null
null
null
null
UTF-8
Python
false
false
806
py
from flask_restful import Resource from models.store import StoreModel class Store(Resource): def get(self, name): store = StoreModel.find_by_name(name) if store: return store.json() return {'message': 'Store not found'}, 404 def post(self, name): if StoreModel.find_by_name(name): return {'message':...
[ "kw1984@livemail.tw" ]
kw1984@livemail.tw
c82afac573bf870007f2a26a2677f45d8e51d99c
04ae1836b9bc9d73d244f91b8f7fbf1bbc58ff29
/1233/solution.py
c47461e1a3ab14eb3051ffb577ac9f8ff8d4de5e
[]
no_license
zhangruochi/leetcode
6f739fde222c298bae1c68236d980bd29c33b1c6
cefa2f08667de4d2973274de3ff29a31a7d25eda
refs/heads/master
2022-07-16T23:40:20.458105
2022-06-02T18:25:35
2022-06-02T18:25:35
78,989,941
14
6
null
null
null
null
UTF-8
Python
false
false
1,365
py
class Node(): def __init__(self, str_): self.str_ = str_ def __eq__(self, other): return self.str_ == other.str_ def __repr__(self): return self.str_ def __repr__(self): return self.str_ def __hash__(self): return hash(self.str_) ...
[ "zrc720@gmail.com" ]
zrc720@gmail.com
54a7a8cba0c76261822e8420ebdd9b22a638ba22
1ba12eb2be477e7dc99b4f13d1014917e78199aa
/usr/lib/solydxk/constructor/solydxk.py
89f79749e8211f426ccb25c69f76882e3d7ac50e
[]
no_license
KDB2/solydxk-constructor
0704f5ce5ef331f45888348804936cfcf4c43f25
c05b8c38b873bb36eb3c8d3160600f45d5cd4798
refs/heads/master
2021-01-17T06:31:41.055358
2015-11-03T16:02:32
2015-11-03T16:02:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,011
py
#! /usr/bin/env python3 import re import threading from os import remove, rmdir, makedirs, system, listdir from shutil import copy, move from datetime import datetime from execcmd import ExecCmd from os.path import join, exists, basename, abspath, dirname, lexists, isdir class IsoUnpack(threading.Thread): def _...
[ "root@solydxk" ]
root@solydxk
1c990786b09382998bcbe64210b2d6960dcbb44f
6691d0c71ddb92422fddb5d5994b660ee88a2435
/SDP_Assignments/Game_of_life/game_of_life_vishnu/GolLogic.py
0bbc877b4cafbc1f8997045ede5e4138c3d71dd9
[]
no_license
dadi-vardhan/SDP
fb1b2e49c014d769add0e6244ca302e4b6939de5
f692837c2cda68d8b16d57727d4b727acf545bf2
refs/heads/master
2023-03-13T10:28:49.060533
2021-03-08T16:45:38
2021-03-08T16:45:38
310,674,824
0
1
null
2020-11-23T09:06:31
2020-11-06T18:23:23
Jupyter Notebook
UTF-8
Python
false
false
1,224
py
import time import numpy as np import matplotlib.pyplot as plt class Logic(object): def __init__(self, console): self.state = console.state def neighbour_cell_count(self): ''' Counts the number of cells present at time 't' on the console and returns it. Parameters: n...
[ "vishnu.dadi@smail.h-brs.de" ]
vishnu.dadi@smail.h-brs.de
3259d0615171353e16e44fb0506a5558587028c0
d037002f9d2b383ef84686bbb9843dac8ee4bed7
/tutorials/Trash/Distributed-DRL/torch/sac_test/utils/environment.py
c86069ea34cea9e7eb5b64d4846270b3babd3d96
[ "MIT" ]
permissive
ICSL-hanyang/Code_With_RL
4edb23ca24c246bb8ec75fcf445d3c68d6c40b6d
1378996e6bf6da0a96e9c59f1163a635c20b3c06
refs/heads/main
2023-08-15T18:37:57.689950
2021-10-18T07:31:59
2021-10-18T07:31:59
392,944,467
0
0
null
2021-08-05T07:20:57
2021-08-05T07:20:56
null
UTF-8
Python
false
false
971
py
import gym class Environment: def __init__(self,env_name): self.env = gym.make(env_name) self.state_dim = self.env.observation_space.shape[0] self._max_episode_steps = self.env._max_episode_steps self.can_run = False self.state = None if type(self.env.action...
[ "nzy1414117007@gmail.com" ]
nzy1414117007@gmail.com
fe5b26c41e27f960c84721814d918ba912d334fe
2aee7676daad10456a34fe23ce952966c05718ff
/regular_expression/q3.py
0b17a5f0733331c189c670e8f860c6394bec5ba8
[]
no_license
sharonsabu/pythondjango2021
405b45bc08717301315016d7ccb9b4a03c631475
1dfb60b92296bc85248bad029a3fd370745623a6
refs/heads/master
2023-04-18T19:39:40.378956
2021-05-02T05:48:56
2021-05-02T05:48:56
333,471,566
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
from re import * pattern="a{2,3}" #checks for min 2 and max 3 no of "a" matcher=finditer(pattern,"aaaacaabbaaab") for match in matcher: print(match.start()) print(match.group())
[ "sharonsabu100@gmail.com" ]
sharonsabu100@gmail.com
b71909c9661e6baf2be15d0e61a3055456d35d1a
290b4c7ca63a975b38e55018cc38bd2766e14639
/ORC_app/jni-build/jni/include/tensorflow/tensorflow.bzl
bb0e46adddd64bf4473131cda060e9cc6eee198f
[ "MIT" ]
permissive
luoabd/EMNIST-ORC
1233c373abcc3ed237c2ec86491b29c0b9223894
8c2d633a9b4d5214e908550812f6a2489ba9eb72
refs/heads/master
2022-12-27T14:03:55.046933
2020-01-16T15:20:04
2020-01-16T15:20:04
234,325,497
0
1
MIT
2022-12-11T13:32:42
2020-01-16T13:25:23
C++
UTF-8
Python
false
false
20,524
bzl
# -*- Python -*- # Parse the bazel version string from `native.bazel_version`. def _parse_bazel_version(bazel_version): # Remove commit from version. version = bazel_version.split(" ", 1)[0] # Split into (release, date) parts and only return the release # as a tuple of integers. parts = version.split('-', 1...
[ "abdellah.lahnaoui@gmail.com" ]
abdellah.lahnaoui@gmail.com
b55e30d6f12b49a52c2c808328cfba62b35668cb
71711bd2c11a3c0cbbc99bcfa78384d005e07828
/puct_mcts/datasets.py
f2aa99600a387a45d927073b70ec24d3e7ff95c7
[ "BSD-3-Clause" ]
permissive
kastnerkyle/exploring_species_counterpoint
9365b2485cd227e375521f769ba1bfbd62c7b629
dda762463e64036adeba7efd46c51daaaf906019
refs/heads/master
2021-09-13T10:55:03.096300
2018-04-28T19:00:21
2018-04-28T19:00:21
103,225,538
0
0
null
null
null
null
UTF-8
Python
false
false
14
py
../datasets.py
[ "kastnerkyle@gmail.com" ]
kastnerkyle@gmail.com
4fcd5f7a94f65e8208038c8f3ad8ad80fbf84495
0e531fa04060ca129a1c3323c7c403a373e6c00d
/pca2tracks.py
144f71e0fac0d9de660813931366a2c86113f2fa
[]
no_license
zhipenglu/xist_structure
6b71f4f718991d22d00d5b0fc8008b6e97581b62
0dfb910d0b303fc94d421c66bb2e484b8e72297e
refs/heads/master
2020-04-22T23:17:33.781817
2019-02-14T18:22:33
2019-02-14T18:22:33
170,736,269
0
0
null
null
null
null
UTF-8
Python
false
false
1,819
py
""" pca2tracks.py This script converts the PCA analysis results for RIP/CLIP enrichment to a minimal number of tracks for display on IGV. This approach provides more useful information than the heatmap. The input file is *pca_array.pc.txt, and output are the first few tracks that explain the most variance (e.g. *pc1.b...
[ "noreply@github.com" ]
zhipenglu.noreply@github.com
31b58b74e967def34fcd7730cc4170cb953bf04e
d23ddee7237f138d003b44d859d12a9f8385cfce
/app.py
acc6da3dca2bd6c32be0c58631cb41c1bbe758e2
[]
no_license
Kelby-Wilson/sqlalchemy_challenge
a6497bde709e8edf838949b75cf1e2a7fa011074
3b8ba0e3a1ac237ae319532eba892445b5be4912
refs/heads/master
2022-12-03T17:29:22.003559
2020-08-26T16:52:57
2020-08-26T16:52:57
262,371,228
0
0
null
null
null
null
UTF-8
Python
false
false
5,189
py
import numpy as np import sqlalchemy from sqlalchemy.ext.automap import automap_base from sqlalchemy.orm import Session from sqlalchemy import create_engine, func, inspect from flask import Flask, jsonify import datetime as dt # Relative Date ### # Database Setup ### engine = create_engine("sqlite:///hawaii.sqlite...
[ "noreply@github.com" ]
Kelby-Wilson.noreply@github.com
d930901a91772e4d664bb3b770867aa984a3e77f
08aadcd04337ee45b01e6bd7f5cc9d87cd433bfd
/basic_projects/2D lists and nested loops.py
3098b812d793bcbe6b1a711c279db30a87fbdf59
[]
no_license
AnthonyPerugini/Training_projects
eb12acc36f0c2562ea9da6ca76221ea32bd73d38
bf4d8027740abedbcce296675a7484fae5e1095f
refs/heads/master
2021-03-10T04:43:14.473043
2020-03-16T18:31:32
2020-03-16T18:31:32
246,419,607
0
0
null
null
null
null
UTF-8
Python
false
false
137
py
number_grid = [ [1, 2, 3], [4, 5, 6], [7, 8, 9], [0] ] for row in number_grid: for col in row: print(col)
[ "Anthony.r.perugini@gmail.com" ]
Anthony.r.perugini@gmail.com
e9413bfa3cd627adaf3cf6bb968577c84e905767
2b84bd7cdcfe9c921fa60fefa2ee1257df33ce38
/utils/email_util.py
713ad3955e46c9b1c3cf07d310a5c6f928855407
[]
no_license
webclinic017/market_monitor
f9cfa4a8443b81830abd9e5900509c7dfdab3e37
9a8a9b6181e1ab4f5d3dad32641ac941c5e4fabf
refs/heads/main
2023-07-28T00:39:34.481170
2021-09-15T12:39:38
2021-09-15T12:39:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,525
py
# Copyright (c) 2015 Shiye Inc. # All rights reserved. # # Author: zsx <zhaoshouxin@shiyejinrong.com> # Date: 2019-03-07 import smtplib from email.mime.text import MIMEText from docs.config.email_cfg.config import mail_info as m class SchedulerError(RuntimeError): def __init__(self, time): self.time = ...
[ "1125191117@qq.com" ]
1125191117@qq.com
fcafef610287029b1a2c87cfaac8bd9b6790c9b0
285f136156a925b05b5d51f3a4021813a455b971
/backend/handlers/__init__.py
73a855f9a4321fcd162797bf6c8a09cc1dbcc598
[ "Apache-2.0" ]
permissive
kubikvid/weather-this-day
41185aacbbdcf65578576bf6f5974d00a00a3275
ada662f191ee122190168265d3d50e925ef26630
refs/heads/master
2020-05-21T21:24:21.959135
2019-05-13T01:42:14
2019-05-13T01:42:14
186,151,156
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
# Copyright (c) 2019. Lorem ipsum dolor sit amet, consectetur adipiscing elit. # Morbi non lorem porttitor neque feugiat blandit. Ut vitae ipsum eget quam lacinia accumsan. # Etiam sed turpis ac ipsum condimentum fringilla. Maecenas magna. # Proin dapibus sapien vel ante. Aliquam erat volutpat. Pellentesque sagitti...
[ "moonquiz@ya.ru" ]
moonquiz@ya.ru
7fd9141000ee1b4be8b4f5dd9b969abf33c9eac9
d5dbae52bbfded54436a665f614a2793029371ea
/models/model2csv.py
64ec1c92bead5bf32dd3801e0c4c0df6e534c482
[ "Apache-2.0" ]
permissive
bmarggraff/allie
88b97acffebe2c1876b379d478b293bfb9edfefb
2e2f8780f0a42229b582703455e9ce1d42cf9f96
refs/heads/master
2022-11-28T02:27:55.100030
2020-08-07T19:55:46
2020-08-07T19:55:46
285,911,411
1
0
null
2020-08-07T20:03:08
2020-08-07T20:03:07
null
UTF-8
Python
false
false
2,962
py
''' AAA lllllll lllllll iiii A:::A l:::::l l:::::l i::::i A:::::A l:::::l l:::::l iiii A:::::::A l:::::l l:::::l ...
[ "noreply@github.com" ]
bmarggraff.noreply@github.com
23cfee1ada500316d73bc8ad4983d16ddaefb85b
c71ad354837830987f17ab93ca3f7ceb6d405311
/khajuri/bin/pipeline_test.py
772f8726ae18693915e513ab87a0fac87cf3679f
[]
no_license
zigvu/samosa
f353248a75fe7a83a8a59b375b104abec8d1d855
3962b3c7bab9d26bf871d257e15dd39c45ffaddd
refs/heads/master
2021-03-30T18:12:58.441901
2016-02-20T00:12:30
2016-02-20T00:12:30
50,481,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,390
py
#!/usr/bin/env python import logging import os import glob import argparse import _init_paths from khajuri.pipeline.run_pipeline import RunPipeline from khajuri.multi.clip import Clip from tools.files.file_utils import FileUtils def parse_args(): """Parse input arguments.""" parser = argparse.ArgumentParse...
[ "eacharya@gmail.com" ]
eacharya@gmail.com
9c398ed840e6c2bc5aa61edeb589e34f35fb1ef5
c36d43dc3ebb5ab987bda1cd7329a6fab58af45b
/semnet/interp/evaluator.py
5575ddf4edf6448507606f8f00ce119d1381ded7
[]
no_license
patgrasso/semnet
e37cacfdab0903b0b5aed5ac010e071f24decb65
e5fd8912a1768f3f59dee937199feaa2158c925c
refs/heads/master
2021-01-12T06:38:10.173145
2016-12-31T00:04:35
2016-12-31T00:04:35
77,401,845
1
1
null
null
null
null
UTF-8
Python
false
false
158
py
class Evaluator(object): def __init__(self, env): self.env = env def valueof(self, node, node_list): self.env.get(node["word"])
[ "pgrasso@stevens.edu" ]
pgrasso@stevens.edu
07bf5e876ec76acc417629cf2befc0a819977d2d
4a4d727cab138c5a3bf3bfb05d48084ba06bd5d4
/Python master/MODULO 7 - API/primeiro_api.py
1bd2268ba3f4021a784fbde76a9f426ed37e5ca4
[]
no_license
RoniNunes/python
9e9d61e69deab02ee9e9955a5e95c7e6ef610e7a
52f6b068f469fc63907b84f67e6005f9b7964442
refs/heads/master
2023-06-16T11:37:35.046750
2021-07-02T11:37:32
2021-07-02T11:37:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,621
py
from flask import Flask, jsonify, request app = Flask(__name__) postagens = [ { 'titulo': 'Api com Flask', 'autor': 'Roni nunes' }, { 'titulo': 'Voce ja usou o Selenium?', 'autor': 'Roni nunes' }, { 'titulo': 'Como instalar o python', ...
[ "noreply@github.com" ]
RoniNunes.noreply@github.com
e5679a098872822f28be752dec6bb6519196d5b7
8a5ab3d33e3b653c4c64305d81a85f6a4582d7ac
/PySide/QtCore/QTimer.py
5e91243992b9f324a3a089a65f93db3242e8a538
[ "Apache-2.0" ]
permissive
sonictk/python-skeletons
be09526bf490856bb644fed6bf4e801194089f0d
49bc3fa51aacbc2c7f0c7ab86dfb61eefe02781d
refs/heads/master
2020-04-06T04:38:01.918589
2016-06-09T20:37:43
2016-06-09T20:37:43
56,334,503
0
0
null
2016-04-15T16:30:42
2016-04-15T16:30:42
null
UTF-8
Python
false
false
1,511
py
# encoding: utf-8 # module PySide.QtCore # from /corp.blizzard.net/BFD/Deploy/Packages/Published/ThirdParty/Qt4.8.4/2015-05-15.163857/prebuilt/linux_x64_gcc41_python2.7_ucs4/PySide/QtCore.so # by generator 1.138 # no doc # no imports from QObject import QObject class QTimer(QObject): # no doc def interval(sel...
[ "yliangsiew@blizzard.com" ]
yliangsiew@blizzard.com
eb66be29af0e15d10254c571bd6fd7164a88478f
3b0a27a6fbaed8a3cba81a70f0142e99b8ce60c7
/blender/io_import_sprites/export_scripts.py
8a16ddcd39c4a45f817cbd941ce7ef358f390af0
[]
no_license
sangohan/flumpkit
43b263bdf8076c5e02234b1ccd644370a93ec2d0
017a3f94b9363b719a6a502a4c42e66bfc305223
refs/heads/master
2021-01-16T20:31:51.898801
2013-08-07T18:03:58
2013-08-07T18:03:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,996
py
## Author: Daniel Gerson ##GPL 3.0 unless otherwise specified. import bpy from bpy.types import Operator from bpy.types import Menu, Panel import mathutils import math import os import collections import json import re from bpy.props import (StringProperty, BoolProperty, EnumProperty, IntProperty, Flo...
[ "daniel@mambo.co.za" ]
daniel@mambo.co.za
800613bb979e2a651e7833167d3b6536f748963a
699add6df73ad158b8ebeb5f9de4aada5820f205
/facebook/app/posts/models/comments.py
51bab010f0aef4c5c779bd1f65e15e568916fbfe
[]
no_license
ricagome/Api-Facebook-Clone
4f035ad280e6cb48d375fd87a9f62eecce67eb51
fae5c0b2e388239e2e32a3fbf52aa7cfd48a7cbb
refs/heads/main
2023-08-17T12:34:33.379017
2021-10-05T21:23:32
2021-10-05T21:23:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
694
py
"""Comment model.""" # Django from django.db import models # Utilities from app.utils.models import FbModel class Comment(FbModel): """Comment model.""" user = models.ForeignKey('users.User', on_delete=models.CASCADE) profile = models.ForeignKey('users.Profile', on_delete=models.CASCADE) post = mo...
[ "juliancamilohermida@hotmail.com" ]
juliancamilohermida@hotmail.com
a254ecc9342fa1c6acec1d6dd7d1b9ee994945ee
8ae3e86fd736b65825a8c810560a73d17da74575
/solrdataimport/dataload/cqlbuilder.py
ee377653b8dbfc43530f90d778226878ff1f73fd
[ "Apache-2.0" ]
permissive
pisceanfoot/solrdataimport
68d12e6ab96f7ed856e8187806981af8635920d6
a7f97cda5eb4ff569e67e5636a9217e9fe1a5fb5
refs/heads/master
2021-01-10T06:17:16.154994
2018-03-17T07:14:09
2018-03-17T07:14:09
49,885,709
2
1
Apache-2.0
2018-03-17T07:14:10
2016-01-18T15:29:32
Python
UTF-8
Python
false
false
2,135
py
# -*- coding:utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals, \ with_statement import logging from solrdataimport.cass.cassClient import CassandraClient from solrdataimport.cass.cassSchema import CassSchema logger = logging.getLogger(__name__) class CqlBuilder(object...
[ "pisceanfoot@gmail.com" ]
pisceanfoot@gmail.com
5483a62a0289eaf03b82b517c8e78dd11f7e8a9d
4a2f163e603f90d5b9a4b2a100d7bc7bc77d1c95
/predicting_biological_response/hemy_example.py
401b7f3d5dd2f883930c7bfdf5ca5cfa2b058519
[]
no_license
tusonggao/data_cck
d781334bd1d425f6ecd613ebdb194835846e3adb
91d48589e8431fd00d70348dcb049c52fdcd2c7f
refs/heads/master
2020-04-09T03:59:09.931284
2020-01-26T15:54:14
2020-01-26T15:54:14
160,005,725
0
0
null
null
null
null
UTF-8
Python
false
false
155
py
# https://blog.csdn.net/data_scientist/article/details/79036382 # https://blog.csdn.net/Gin077/article/details/84339790 # https://github.com/rushter/heamy
[ "tusonggao@163.com" ]
tusonggao@163.com
20cb0d0b09a6ffefdcad9798b490f37d638c9fec
73ffeccb2b50320536e375c255c1a48f5dfa4493
/quantified_self_project/settings.py
080b42090d5b843aa1ce6c8b14cd8290e86b11be
[]
no_license
justinetroyke/qs-django
0db7737b96d5deb1e3c6f81a25097b87a4da61c5
095524f8d0e8e83e702bfb02dbab8fb6bd650d17
refs/heads/master
2020-03-27T13:34:49.323224
2018-08-29T15:02:51
2018-08-29T15:02:51
146,617,327
0
0
null
null
null
null
UTF-8
Python
false
false
3,391
py
""" Django settings for quantified_self_project project. Generated by 'django-admin startproject' using Django 2.1. 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/ """...
[ "jjtroyke@gmail.com" ]
jjtroyke@gmail.com
a77ed31a71760f495bdfed54cbe1295c506714c3
6dd65ba20f60ee02e5d449d1bbe61865a993ab3b
/Monthly_Bussiest_Route.py
9d0eb6636f660d57d29a3156c505f071b3bb0262
[]
no_license
subhanshugpt07/Aviation_Big_Data_2017
a065aa52afaa287d489b88cd89c2df3544521fb0
fd5d68c6f9dfa92853ba67e2cfceda8d15f602bb
refs/heads/master
2021-07-03T08:20:12.739348
2017-09-24T23:21:44
2017-09-24T23:21:44
104,683,057
2
0
null
null
null
null
UTF-8
Python
false
false
3,243
py
from pyspark.sql.functions import * import csv from pyspark.sql.types import * from pyspark.sql.functions import * from pyspark import SparkContext from pyspark.sql import HiveContext from pyspark.sql.functions import * from pyspark.sql.functions import udf from pyspark.sql.types import BooleanType from pyspark.sql imp...
[ "sg4595@nyu.edu" ]
sg4595@nyu.edu
91b43cda449292a11f4a69bb1dffb18b7872d0b9
32349a7406af3f6926e508dd4154a9042cd8a0b6
/DAA/Dynammic Programming/edit_distance.py
3fd4b208d55bfa264a9def65b8de2f5664df98c2
[]
no_license
anumehaagrawal/LabWork-Sem-4
d78b95b61b2ec94d1ad143768200b739d40c2105
782430f67bb423b84749295a3fef61f241293032
refs/heads/master
2021-05-12T07:30:30.746342
2018-04-17T03:11:12
2018-04-17T03:11:12
117,244,508
2
1
null
null
null
null
UTF-8
Python
false
false
485
py
def edit_distance(str1,str2,n,m): dp_array =[[0 for i in range(m)] for k in range(n)] for i in range(n): for k in range(m): if i==0: dp_array[i][k] = k elif k==0 : dp_array[i][k] = i if str1[i] ==str2[k]: dp_array[i][k] = dp_array[i-1][k-1] else: dp_array[i][k] = 1+ min(dp_array[i][k-1],...
[ "anuzenith29@gmail.com" ]
anuzenith29@gmail.com
d0e2832e8ee5e98f43faaa16e7637d13c046db78
29fc564df8ee16a2d140cbd150260e04f4ddc5c5
/0x0A-python-inheritance/10-square.py
6c8775c89972ea3d1271833f32c5db7e5717d8fe
[]
no_license
ChristianAgha/holbertonschool-higher_level_programming
9359fdf4e3f30ed4422a0af59672ac5ff397d4a2
cce59b31aba3e2a09cb4bf76a6fcfeefa7ab5031
refs/heads/master
2021-01-20T07:15:31.258319
2017-09-27T05:53:25
2017-09-27T05:53:25
89,984,551
0
0
null
null
null
null
UTF-8
Python
false
false
1,313
py
#!/usr/bin/python3 """Geometry Module""" class BaseGeometry: """class BaseGeometry""" def area(self): """raises an Exception with the message area() is not implemented""" raise Exception("area() is not implemented") def integer_validator(self, name, value): """validates value""" ...
[ "christianagha@gmail.com" ]
christianagha@gmail.com
24c336f380a817f634b1f446450fdffa2ad476f9
7ace4c9742af543db1965afec55b115b38d70aea
/programs/classconsrtuctor.py
1d91c88cb6d14bb1fccabcfaaa58948dd4b781f5
[]
no_license
abhis021/C-DAC
8a7472517fb9d664cdcf1d6b33146219da970943
cd002a5740f63aa6fd25b982a4c7f2942877f12d
refs/heads/main
2023-08-25T03:36:35.726671
2021-10-17T07:41:27
2021-10-17T07:41:27
416,581,367
0
0
null
null
null
null
UTF-8
Python
false
false
265
py
class partyanimal: x=0 name=' ' def __init__(self,name1): self.name=name1 def party(self): self.x=self.x+1 print(self.name,'party count',self.x) an=partyanimal('sally') an.party() na=partyanimal('jim') na.party() na.party()
[ "abhisheku722@gmail.com" ]
abhisheku722@gmail.com
d24b0c9ae9dcf47759d369bdaf972fc87c046577
8dfd0de8519bf29565cf44ac342587a2b93fb086
/sonar.py
6dbb5b8b2981536bd1f86487a0012dbc577fb58c
[]
no_license
ThePfarrer/Invent-Your-Own-Games
d058fdbb5f7408ab5ac3b4a301298fda62b0d458
ae13a457277f0cad53185bb1d611203eb78c22b0
refs/heads/master
2023-02-09T17:57:11.661474
2021-01-06T18:46:41
2021-01-06T18:46:41
323,171,153
0
0
null
null
null
null
UTF-8
Python
false
false
7,797
py
# Sonar Treasure Hunt import random import sys import math def get_new_board(): # Create a new 60x15 board data structure. board = [] for x in range(60): # The main list is list of 60 lists. board.append([]) # Each list in the main list has 15 single-character strings. for y in r...
[ "orezpablo@gmail.com" ]
orezpablo@gmail.com
88e7be6d96ec8e784aba5e12b0692d4c5beb1949
2db7597686f33a0d700f7082e15fa41f830a45f0
/Python/LeetCode2.0/DP/72.Edit Distance.py
b071302d4d3bdf3daf32936c19f8404f75c65131
[]
no_license
Leahxuliu/Data-Structure-And-Algorithm
04e0fc80cd3bb742348fd521a62bc2126879a70e
56047a5058c6a20b356ab20e52eacb425ad45762
refs/heads/master
2021-07-12T23:54:17.785533
2021-05-17T02:04:41
2021-05-17T02:04:41
246,514,421
2
0
null
null
null
null
UTF-8
Python
false
false
1,595
py
#!/usr/bin/python # -*- coding: utf-8 -*- # @Time : 2020/05/09 ''' input: two words: str; the length of word is from 0 to inf output: int; the number of modify steps corner case: one of the word is ‘’ → len(word2) both words are ‘’ → 0 Method - DP Steps: build DP table; the size of table is (len(word1) + 1)* ...
[ "58391184+Leahxuliu@users.noreply.github.com" ]
58391184+Leahxuliu@users.noreply.github.com
5b8829efc99be0d97be1f033a445e8090d9021fe
7c0a5b40e86c876e72d3a635a60978dbf1c79c8b
/__init__.py
dbc8e29cabf9ba156d1b1396ed22dcd9204f2a28
[]
no_license
BlenderCN-Org/selection_logic
a48e396f2ebfaf6f750bfa5871f33d49c69b15ba
7d240d626d699e5b41f1b45728730f41a360fc77
refs/heads/master
2020-05-23T21:20:40.599162
2018-10-10T17:35:25
2018-10-10T17:35:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
py
bl_info = { "name": "Selection Logic", "description": "Advanced selections based on logical conditions.", "author": "Omar Ahmad", "version": (1, 0), "blender": (2, 79, 0), "location": "View3D", "warning": "", "category": "Mesh" } import bpy from . import ui from . import operators clas...
[ "omar.squircleart@gmail.com" ]
omar.squircleart@gmail.com
ddad2ca9b7b59fdf640e2b0a0f29fdc4854b3efb
a1a789f14eb2d5c039fbf61283b03f2f1e0d2651
/jeopardy/migrations/0002_auto_20150622_0957.py
7c525a02cd0795373e6b581937c6f647021a3936
[ "MIT" ]
permissive
codefisher/web_games
279bf5be5a348951e6ae3361c24b696ac841e01c
d09ffb8f86b24e04568b2a33c94aa49d80455715
refs/heads/master
2021-01-10T13:10:33.097712
2017-07-12T05:46:37
2017-07-12T05:46:37
36,868,291
0
0
null
null
null
null
UTF-8
Python
false
false
817
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('jeopardy', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='points', options={'...
[ "mail@codefisher.org" ]
mail@codefisher.org
89a66584f244256442569d26ef92908874f586c1
7da8913218b6450e83c3833f21315630717c7d88
/thomasStudents/odu.py
c3de060757e7fb196b013215e6237d1f35168bf4
[]
no_license
andrefisch/PythonScripts
b028bec4ebf0f4442face3602dd136235efc32fa
bd68981ac931ab9ea7b44761647f5e2fff04e4c8
refs/heads/master
2021-01-17T13:10:49.227307
2017-07-06T04:30:43
2017-07-06T04:30:43
57,985,283
0
0
null
null
null
null
UTF-8
Python
false
false
2,842
py
from urllib.parse import urlencode from urllib.request import Request, urlopen import pandas import openpyxl import re import math import pygame, time ''' 1. import spreadsheet 2. for loop: A. find value in cell C(row) B. make a request to database C. find student in response using last name C(row) and fir...
[ "anfischl@gmail.com" ]
anfischl@gmail.com
9488c0f83f1e5752703d6f5e72ddae45c675c8e9
86095e9590db8bab47b95752b967d9dbb88647da
/client.py
6ee40913d22e329ed34554e2633080860679cf5e
[]
no_license
jrestuccio/python-udp-filetransfer
3cb2e4ec5d0751d133e648fefc20db73755e75c4
0c9e4cf278279a0fb980749eb9a3a2a8ca5796e9
refs/heads/master
2020-12-03T08:13:27.254990
2014-05-05T11:41:08
2014-05-05T11:41:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,013
py
""" :title: client.py :author: Josephine Lim :description: Client to download files from server Summary of packet types: 1 = 0b0001 = read request = \x00\x00\x00\x01 2 = 0b0010 = read response = \x00\x00\x00\x02 4 = 0b0100 = open request = \x00\x00\x00\x04 8 = 0b1000 = open response = \x00\x00\x00\x08 9 = 0b1001 = clo...
[ "thecodeman66@hotmail.com" ]
thecodeman66@hotmail.com
b534f887f4eef332a9a1d5dc5f0a6b197b40df84
29ad238bedc14b3c268b22777391b25fb8701858
/config.py
5c010a83ee93ad59c31d5579d15039b6b2d83b60
[]
no_license
chiris-ye/-
2c079efe602f390fc5fdfd2d3a74d73d840c3cfd
84b836a637c6647ab13d801caff03359956536c0
refs/heads/master
2021-12-10T02:36:58.345901
2021-11-03T06:40:14
2021-11-03T06:40:14
262,729,476
0
0
null
2020-05-10T06:52:20
2020-05-10T06:52:19
null
UTF-8
Python
false
false
174
py
class config(): embed_dim = 300 hidden_dim = 300 layers = 1 dropout = 0.1 seq_in_size=7200 fc_dim=100 out_dim=2 mind_dim = 600 man_dim=16
[ "noreply@github.com" ]
chiris-ye.noreply@github.com
9aa84188689bfa3d627c30002874472a97dc229a
499ff5445e2017d042690c0429cf2e767a7f623f
/coral/io/_abi.py
b19a2ab0ec287ad6d000026ece9b71f749677f3a
[ "MIT" ]
permissive
blthree/coral
b6ab934c10271d7b790130fe45e622b7c66921b4
30514735d9a51487583535a3a7e3fbfd0fe15ed8
refs/heads/master
2021-01-22T10:14:52.018579
2017-02-19T00:28:33
2017-02-19T00:28:33
81,997,699
0
0
null
2017-02-14T22:58:59
2017-02-14T22:58:59
null
UTF-8
Python
false
false
3,069
py
'''Read and write DNA sequences.''' import coral as cr import numpy as np import os from . import parsers from .exceptions import UnsupportedFileError def read_abi(path, trim=True, attach_trace=True): '''Read a single ABI/AB1 Sanger sequencing file. :param path: Full path to input file. :type path: str ...
[ "nbolten@gmail.com" ]
nbolten@gmail.com
0d3b60023a60eed6ae0274a83fd1daecbd04b513
95749b75c446df3ce4aabb03d5aec90de793e207
/gemini/taskapp/celery.py
722f621c5679f886e12c4c93ba9692df4ba43474
[]
no_license
Hawk94/gemini
8288a11499c4cc12c8c79641a51b5e99afe268c5
3a4d0b13488b8e9fbc40dc3cde338b61bc04b494
refs/heads/master
2020-06-24T11:37:22.204269
2017-07-12T20:33:21
2017-07-12T20:33:21
96,935,334
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
import os from celery import Celery from django.apps import apps, AppConfig from django.conf import settings if not settings.configured: # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'config.settings.local') # pragma: no cover app = Cele...
[ "x99tom.miller@gmail.com" ]
x99tom.miller@gmail.com
92d9d24d3beb5ec8799d88be94123456d4805482
9da1a3470d60a667167ecba0a49915296de2fbc8
/server/app/utils/token_util.py
f57cff5e5ac332cd85b84fb05b608e2dbac6f71e
[ "MIT" ]
permissive
csu-xiao-an/web_info_monitor
5d01d296b2fc9583a1029df30af1cd89feff4419
5f39254a4ae014e1a2017006290585b4648cc013
refs/heads/master
2020-07-27T08:46:16.882741
2019-09-09T14:08:44
2019-09-09T14:08:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,545
py
from flask import jsonify from itsdangerous import TimedJSONWebSignatureSerializer, SignatureExpired, \ BadSignature from app.models import User import os secret_key = os.environ.get("secret_key", "recar") #返回token字符串 def generate_auth_token(uid, is_amdin=False, scope=None, expiration=5000...
[ "yansiyu@360.net" ]
yansiyu@360.net
abedc4c120a71cfaac46c76124d5f686290bce4b
2255a4eb151b85df055d3b66455bd788b6928592
/lcs.py
24442756a9a6765b6654a20e307ef03c08b6fd1c
[]
no_license
mloo3/LocalHooks
fcfe073d6be32b54421b860920a3de59a948282c
9ff07384e544150d2677906683a7f55c31ebd4dc
refs/heads/master
2021-01-01T19:22:27.343172
2017-07-28T19:35:33
2017-07-28T19:35:33
98,575,650
0
0
null
null
null
null
UTF-8
Python
false
false
807
py
def lcs(x,y): m = len(x) n = len(y) l = [[None]*(n+1) for i in range(m+1)] for i in range(m+1): for j in range(n+1): if i == 0 or j == 0: l[i][j] = 0 elif x[i-1] == y[j-1]: l[i][j] = l[i-1][j-1]+1 else: l[i][j] ...
[ "slayer71432@gmail.com" ]
slayer71432@gmail.com
2df9cffd7c706f44089b51dd1178e45e110bfbc7
8149d1030b5bc62cc82d5afedbe7486daedbf8c5
/[829][Consecutive Numbers Sum][Medium].py
4810671219d8327bd315d73d7fbaf90d1a403a40
[]
no_license
guofei9987/leetcode_python
faef17bb59808197e32ed97e92e2222862e2ba8c
23703a6fb5028d982b3febc630e28f9bb65a82a6
refs/heads/master
2020-03-21T18:24:33.014579
2019-10-12T13:29:03
2019-10-12T13:29:03
138,889,760
1
0
null
null
null
null
UTF-8
Python
false
false
55
py
# https://leetcode.com/problems/consecutive-numbers-sum
[ "guofei9987@foxmail.com" ]
guofei9987@foxmail.com
cfd392a9079699ee6d0b693e945546b5a1178576
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_301/ch41_2019_04_04_16_40_15_344267.py
6c41a0d67bc67884cf85bc1629a7262fa142531b
[]
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
102
py
a=input('que palavra? ') while a!='desisto': a=input('que palavra? ') print(voce acertou)
[ "you@example.com" ]
you@example.com
1bb19df97eb432adc4d8988bc491abf66979b71f
babf32f611200957e4e2a6bd3c156916b891c43f
/mysite/settings.py
b9d178757d2991419be0a8125ff4f05d4507fd1a
[]
no_license
Tawfiq-Abu/new_blog
5faffc2f569d4cc4f7e56ea9207d5ac97c64e5cd
10743b8ac6ef665a928e909aba8f4c1d4557964f
refs/heads/main
2023-02-19T16:54:43.002556
2021-01-19T11:44:10
2021-01-19T11:44:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,076
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib ...
[ "tawfiqabubakr7@gmail.com" ]
tawfiqabubakr7@gmail.com
346dfc71b0db9a749e8ee1d65b7425c276ff9cb1
4577d8169613b1620d70e3c2f50b6f36e6c46993
/students/1797637/homework01/program03.py
1dea672b0e9890cc0e4a8907a314950ef5731495
[]
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
1,579
py
def codifica(chiave, testo): ''' Viene codificato e restituito un testo, fornito il testo stesso e una chiave di codifica''' codifica=codifica_chiave(chiave) for indice,carattere in enumerate(testo): if carattere in codifica.keys(): testo = testo[:indice]+ testo[indice:].replace(testo[indice],codif...
[ "a.sterbini@gmail.com" ]
a.sterbini@gmail.com
ab0c049cca67cdb3f90aa2e8ce48ecceed5f6ce8
83acd2e879b8d1dfbd7d735193539b8537e86d08
/pyropod/ropod/ftsm/ftsm_base.py
b5a56108172f6d678c51713eb4724ab28dca21d7
[]
no_license
HBRS-SDP/ropod_common
89b296e6bb56dc225319850036d3a63efd46ace9
5ce24b8ae79239f4fd5d2249fd33d1b1061eaceb
refs/heads/master
2020-05-09T23:39:11.209722
2019-03-12T12:59:48
2019-03-12T12:59:48
181,508,576
0
0
null
2019-04-15T14:52:18
2019-04-15T14:52:18
null
UTF-8
Python
false
false
1,339
py
from pyftsm.ftsm import FTSM, FTSMStates, FTSMTransitions class FTSMBase(FTSM): '''ROPOD-specific implementation of a fault-tolerant state machine @author Alex Mitrevski @maintainer Alex Mitrevski, Santosh Thoduka, Argentina Ortega Sainz @contact aleksandar.mitrevski@h-brs.de, santosh.thoduka@h-brs.de...
[ "aleksandar.mitrevski@h-brs.de" ]
aleksandar.mitrevski@h-brs.de
edc33e4a7d63438dd82b67c0afebd70a4f1e0c49
6fb6a62a33b13690f3c95c166f07a736836308b6
/functions/cartupdate/main.py
483369e75fa95ce5f8173cd6d6f83a32c2c1ff5e
[]
no_license
Dualic/petshop
88172ed47d65ccef79342524262b4de26995a463
03443c0b8c2a3a12e9552a5924b99745fb4b6465
refs/heads/master
2023-07-16T08:53:22.961111
2021-09-03T12:16:17
2021-09-03T12:16:17
401,612,658
0
2
null
2021-09-03T09:40:14
2021-08-31T07:29:40
Python
UTF-8
Python
false
false
1,334
py
def getsecret(secretname): import google.cloud.secretmanager as secretmanager client = secretmanager.SecretManagerServiceClient() name = f"projects/week10-1-324606/secrets/{secretname}/versions/latest" response = client.access_secret_version(request={"name": name}) return response.payload.data....
[ "ilkka.o.pekkala@gmail.com" ]
ilkka.o.pekkala@gmail.com
89e6f9abf269be06d699b31d7a18f80d863cd0af
ea57b713f59d2e2a8d6f4b0b6938c20a8ae6d67d
/fetchQzone/iszhi.py
96f87ced87c63b0bdd70fb54d9775a8bf09cc8d9
[]
no_license
guoyu07/fetchQzone
9919f9fad3d44a4643ebaba61d534f3d99c95f8f
db0d69b7d4369bd8aaafc2af8f14fdbe6316d294
refs/heads/master
2021-05-28T20:50:23.052035
2015-03-06T05:10:56
2015-03-06T05:10:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
def iszhi(x): cnt=0 if x<=1: return False for m in range(1,x+1): if x%m==0: ++cnt if cnt>2: return True return False
[ "zhangxu1573@qq.com" ]
zhangxu1573@qq.com
8ccd44a76e64b8cc0ad921f213460c409e895266
cc7b4e71b3c27240ec650a75cc6f6bbab5e11387
/crdb/templatetags/email_tags.py
b13eedd6c32b7950e6ee3313c89e155c42547e14
[ "MIT" ]
permissive
jsayles/CoworkingDB
0cdada869d950a28cfef20d1b9c1eb3eb4d7b1c2
78776910eba0354a7fd96b2e2c53a78e934d8673
refs/heads/master
2023-02-22T23:11:19.040799
2021-12-28T19:13:39
2021-12-28T19:13:39
883,951
3
0
MIT
2023-02-15T17:59:10
2010-09-02T18:36:43
Python
UTF-8
Python
false
false
764
py
import os from django.template import Library from django import template from django.conf import settings from django.utils.html import format_html from django.urls import reverse from crdb.models import EmailAddress register = template.Library() @register.simple_tag def email_verified(email): if not email: ...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
8eac566ccd717ac44dc96ccf4939d880776e6da5
abeb7f8ce8fa3fe3035ad6d7139273266588248f
/bottles.py
6797be3262b2af6facecda607921990935effc46
[]
no_license
mohanoatc/pythonSamples
dcddd6a9d989c5435d17bc888aa19ed6bc94c1c1
6ff5657e24d46b9d47561e9c9c5fe5735f65aea3
refs/heads/master
2020-03-22T14:16:46.219459
2018-07-15T12:03:17
2018-07-15T12:03:17
140,166,562
0
0
null
null
null
null
UTF-8
Python
false
false
470
py
for bottles in range(10, 0, -1): if bottles > 1: print(bottles, " bottles of beer on the wall") print(bottles, " bottles of the beer ") else: print(bottles, " bottle of beer on the wall") print(bottles, " bottle of the beer ") print("Take one down.\nPass it around.") ...
[ "noreply@github.com" ]
mohanoatc.noreply@github.com
e1e3124cd44931303505037d6d88f51555fb555a
403e7f22b8dd4119fc83d153d6dc6e3520ac1922
/python-scripts/S3/awsS3PutBigFiles.py
b1f76cdc33db30acf3ebdecee8ddf7bb2eea8edd
[]
no_license
vincedgy/AWS-Scripts
1e56c13245b38f5c520a4207acf544f1d01ac5cb
f350167c200700daea23ad9dcbe609ab1d7b90d9
refs/heads/master
2020-03-29T00:39:13.453200
2017-11-01T20:34:25
2017-11-01T20:34:25
94,635,738
2
0
null
null
null
null
UTF-8
Python
false
false
1,442
py
""" """ # Create a big file (100 Mb): # dd if=/dev/zero of=/tmp/bigfile bs=1024 count=0 seek=$[1024*100] import os import sys import threading import boto3 from boto3.s3 import transfer class ProgressPercentage(object): def __init__(self, filename): self._filename = filename self._size = float(os...
[ "vincent.dagoury@gmail.com" ]
vincent.dagoury@gmail.com
9c33d363aec75e149c68e57f14c11dbc0baa71bd
3825f56bef58063374d56d06a9de3418d04bedd6
/exercices/advanced-modules/stringio.py
168ebcf3ec63621fd6fabcba9afb42aea7e44b71
[ "MIT" ]
permissive
cfascina/python-learning
a989869846fe8eca45f2f0717ea958bd603d12e5
1bc1d4032fb68456a092229de94b5207db7e9143
refs/heads/master
2020-05-20T08:48:06.121746
2019-07-11T18:07:01
2019-07-11T18:07:01
185,482,445
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import io # StringIO method sets the string as file like object file = io.StringIO("This is just a normal string.") # Read the file and print it print(file.read()) # Reset the cursor and writes a new string file.seek(0) file.write("Second line written to the file like object.") # Reset the cursor, read the file aga...
[ "cfascina@gmail.com" ]
cfascina@gmail.com
2d0fe84cfd8f2ee9d2079fa3b668038f362c4362
e48faca9b6e2016ae936a77e8acc2f9bce08d207
/series_in_func.py
d6418cb68aeeb2c92160d18f6dd99020f817e56e
[]
no_license
ramachitikineddy/becomecoder
84d7315e7f99c1e18855350c9f14729ba8e57087
d4e9611bb8a82dd0fb85a33e9b00443daee1e781
refs/heads/main
2023-05-06T20:59:51.022901
2021-05-29T10:33:17
2021-05-29T10:33:17
367,065,138
1
1
null
null
null
null
UTF-8
Python
false
false
172
py
def seq(n): if n%2: return 3*n+1 return n//2 n=int(input()) print(n,end=" ") while (n:=seq(n)): print(n,end=" ") if n==1: break
[ "noreply@github.com" ]
ramachitikineddy.noreply@github.com
732ef0438ed7f6a4a45a2ba312e54337afc3e84a
c7f8193a80d68b6144af8d9b2e2f012bf463af6a
/busstop.py
e02b0e8415b6ff5dc87ad36202eda1409cd94c78
[]
no_license
marcteale/DAKboard-OneBusAway-integration
8c060360062f07d1be4e1f88e7d0759b3efd8a8d
9803aa8568828e8b0533e5c4f452b50f424805b1
refs/heads/master
2020-03-21T08:29:31.120908
2018-10-03T19:36:04
2018-10-03T19:36:04
138,347,228
0
0
null
null
null
null
UTF-8
Python
false
false
4,173
py
#!/usr/bin/env python3.6 import configparser import json import os import sys from datetime import datetime import requests def get_departures_for_stop(departures, stop_id, routes, minutes_before, minutes_after, server, apikey): """Fetch the departures for the requested stop and return them as a dict.""" r ...
[ "marc.teale@openmarket.com" ]
marc.teale@openmarket.com
005779a57f96302b20a3bcde3152d53965d436f1
d496d504bf4ccdb59fbbeeee7b5d70ae7ab136b8
/ts_development/version1/ts__development/models/models.py
7448e94a50dfbd30c0d9546155d7beafbc13bcf3
[]
no_license
taybahsoftegy-dev/ts-modules
6e92bb0748238fcde38df146ab73ae311f16df55
cf4ec549943a0ba29d203ef1611a337040389d64
refs/heads/master
2022-11-08T23:18:37.734241
2020-06-29T12:45:15
2020-06-29T12:45:15
275,809,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,976
py
# -*- coding: utf-8 -*- from odoo import models, fields, api,_ import time class Development_Tracking(models.Model): _name = 'development.tracking' _inherit = ['portal.mixin', 'mail.thread.cc', 'mail.activity.mixin', 'rating.mixin'] _mail_post_access = 'read' _check_company_auto = True # _mail_post...
[ "dev.mohamedfci@gmail.com" ]
dev.mohamedfci@gmail.com
e8b2f8c81f953e4c0e4a8d266dceb71804203e01
7f25740b1ef47edc24db1a3618b399959b073fe1
/1029_17_smallproject.py
97673d239a34ef5759856f9eeba050bcf1977446
[]
no_license
pjh9362/PyProject
b2d0aa5f8cfbf2abbd16232f2b55859be50446dc
076d31e0055999c1f60767a9d60e122fb1fc913e
refs/heads/main
2023-01-09T12:12:06.913295
2020-11-07T15:32:03
2020-11-07T15:32:03
306,814,117
0
0
null
null
null
null
UTF-8
Python
false
false
198
py
cost = int(input()) cpn = input() if cpn == "Cash3000": print(cost-3000) elif cpn == "Cash5000": print(cost-5000) else: print("쿠폰이 적용되지 않았습니다.") print(cost)
[ "pjh9362@gmail.com" ]
pjh9362@gmail.com
a105b75168724e5d6040804652d0f8dd4fadeb5e
ca97700838056596c072a0b63934f179c6fbac17
/_21_ev_differentDER.py
6e2edf1852af3d9af8f4081db991a47e467510ae
[]
no_license
mlamlamla/powernet_pyGridlabD_eval
c18bff98164eb6df4ae79a157b840a59c19ff6d9
54275cbd86517bb1728e72824ba16fcbec99e767
refs/heads/master
2022-04-17T11:50:17.273163
2020-04-03T18:23:18
2020-04-03T18:23:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
17,644
py
import os import pandas as pd import numpy as np def get_monthly(run,ind,month,df_total_load_all=None): folder = '/Users/admin/Documents/powernet/powernet_markets_mysql/'+run+'/'+run + '_' + ind directory = run + '_' + ind + '_vis' #Procurement costs df_system = pd.read_csv(run+'/' + directory +'/df_system.csv',i...
[ "admin@admins-air.attlocal.net" ]
admin@admins-air.attlocal.net
385836ada1f0c7aa8919ec7aeb97acca6aea94c0
644b13f90d43e9eb2fae0d2dc580c7484b4c931b
/network2.py
5dbc8833c5526d15e355e3169680c46c4a5bc280
[]
no_license
yeonnseok/ps-algorithm
c79a41f132c8016655719f74e9e224c0870a8f75
fc9d52b42385916344bdd923a7eb3839a3233f18
refs/heads/master
2020-07-09T11:53:55.786001
2020-01-26T02:27:09
2020-01-26T02:27:09
203,962,358
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
def cal_ans(): temp = [] ans = 0 for i in range(len(src)): if src[i] == 0: if len(temp) == 5: temp = temp[1:] temp.append(i) else: ans += i * len(temp) - sum(temp) for j in temp: link[i + 1].append(j + 1) ...
[ "smr603@snu.ac.kr" ]
smr603@snu.ac.kr
3923da15d3cfb9a730088a4d9708e6a18aa4ff3f
2ef742fe5e3208715208ff711eb2046acc1f5ef6
/NathHorrigan/wsgi.py
b4e20145e98ba5cc686716da381e9690d4db59ac
[]
no_license
NathHorrigan/NathHorrigan.com
9ac53208061b16d3f8bc4a00e4575df83083dc7c
636165b718659cf5dcd70ed29251ae69b4b09748
refs/heads/master
2020-03-20T16:23:07.531145
2018-08-31T22:22:13
2018-08-31T22:22:13
137,537,826
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for NathHorrigan 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.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_...
[ "nathan_horrigan@icloud.com" ]
nathan_horrigan@icloud.com
20ba1ba73360f4befafe0351c226f32696426e2f
a8163b09c4b4a58fc82cdb6ff8df29197fd15945
/_OldVersion/index.py
2756bb9c27b13e6d15761ae94704a0c1842d6512
[]
no_license
zhudonlin/Fuck_HENUDC
bd78a78f0807e96fdfda36a727c2c017cab7ad9c
0aa398333c1d8e42c4820f6b80292509af46cfd0
refs/heads/main
2023-07-14T13:43:51.803980
2021-09-03T08:08:13
2021-09-03T08:08:13
402,689,111
1
0
null
2021-09-03T07:46:57
2021-09-03T07:46:56
null
UTF-8
Python
false
false
16,520
py
# -*- coding: utf-8 -*- import sys import json import uuid import oss2 import yaml import base64 import requests import time import random import uanalyse from pyDes import des, CBC, PAD_PKCS5 from datetime import datetime, timedelta, timezone from urllib.parse import urlparse from urllib3.exceptions import InsecureReq...
[ "yulonger@outlook.com" ]
yulonger@outlook.com
03ab69e575d2a03c8d9095898808b1c4e3877e59
6db68bd7f4e792d3df009671c10cbe93f963c5e6
/NOC_Chp0/NOC_0_3/walker.py
db7d99af07feffb25e3763feabc401da99e501ab
[]
no_license
mickardinal/The-Nature-of-Code-Python
0ce9125b92707a9de4dd57a77c4a92c04df66467
a883e365051826228002317741df7d198eae6dfe
refs/heads/master
2020-03-11T20:55:21.939021
2018-04-25T16:29:06
2018-04-25T16:29:06
130,250,157
1
0
null
null
null
null
UTF-8
Python
false
false
408
py
class Walker(object): def __init__(self): self.x = width/2 self.y = height/2 def display(self): stroke(0) point(self.x, self.y) def step(self): r = random(0, 1) if r< 0.4: self.x += 1 elif r < 0.6: self.x -= 1 ...
[ "jsrdccsx@gmail.com" ]
jsrdccsx@gmail.com
a86eb97efcd2033e7ba2688689a2d35a96976693
48295cd5f8e7a1b1cfda8b9642012611488156ce
/users/migrations/0004_auto_20191123_1158.py
69f25c440fe48acfb912e16d8e4f514085e401e8
[]
no_license
mugglecoder/airbnb-clone
0c47445761e9f9fd82805299ddab46e382e9b5a4
6276cdeaa13b1a88697b62d322dcb871d9a5e25a
refs/heads/master
2022-12-10T14:00:47.409310
2020-01-05T14:14:39
2020-01-05T14:14:39
212,250,078
0
0
null
2022-12-10T11:01:26
2019-10-02T03:44:49
Python
UTF-8
Python
false
false
563
py
# Generated by Django 2.2.5 on 2019-11-23 02:58 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_auto_20191123_1051'), ] operations = [ migrations.RenameField( model_name='user', old_name='email_conf...
[ "winkknd@naver.com" ]
winkknd@naver.com
43f6176cdac6fed43d610aadb95791ffb1bc8e31
5f6e95aa83ca132c732f644c51e786785e9bdd2f
/src/e_psu/e_psu/urls.py
c6ecbf46fdf3b32c7d3230b71dd508c60b649c90
[]
no_license
kerupuksambel/django-e-pantau
9905a9902752fd5143e03326a0ab585f09ccb50d
bbadcd31984c9bd254ac2cc23a30f55a9fe5b997
refs/heads/master
2022-12-22T07:28:58.444314
2020-10-02T14:35:05
2020-10-02T14:35:05
300,641,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,268
py
"""e_psu URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based v...
[ "kerupuksambel.2000@gmail.com" ]
kerupuksambel.2000@gmail.com
1ae7978cbc58218d181868d7280ebd339c401050
099f7e9234cd8b3afa6f7cd8cb81a654ca5043ea
/models/payment.py
38bf0252591bf723514586c8ec8f04e40171c1d6
[]
no_license
nazrinshahaf/Nextagram_python
1716893e7b4466fec5b9d48fd630e00d01f2b74f
8738929ca6f11da6943b9093f05bd445ff58e951
refs/heads/master
2022-12-11T21:45:58.316999
2020-02-04T10:35:55
2020-02-04T10:35:55
235,014,627
0
0
null
2021-06-02T00:56:25
2020-01-20T03:55:13
HTML
UTF-8
Python
false
false
492
py
from models.base_model import BaseModel import peewee as pw from models.user import User from models.user_images import User_images from config import S3_LOCATION from playhouse.hybrid import hybrid_property from flask_login import current_user class Payment(BaseModel): user = pw.ForeignKeyField(User, backref='don...
[ "nazrinfernandez@gmail.com" ]
nazrinfernandez@gmail.com
3947c1886e64b2e14da5a55a34c8661ff9cdde6c
ed8c7fba9c5592b14ab79eac399813d9d0537b7d
/website/migrations/0001_initial.py
fac9f699cda3d22a2ad1bac05bf8e333a9cb5fe6
[]
no_license
OpenWebCurtin/Catching-out-corruption
4834f7d95393b71009347237aff08f7726049a7a
33617c4d01dd33f118aaac4c562948598f6206ba
refs/heads/main
2023-01-18T19:21:26.723344
2020-11-23T13:07:19
2020-11-23T13:07:19
315,027,698
0
0
null
null
null
null
UTF-8
Python
false
false
14,429
py
# Generated by Django 2.2.6 on 2019-10-31 16:18 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "r.a.clydesdale+bb-ccp@gmail.com" ]
r.a.clydesdale+bb-ccp@gmail.com
10dfdf1f98da77c3edb8bc6c1a987c773d2ff61f
bb4e603d41c040114a6161427593e30fad02828b
/classwork4.py
4db534ef9a08d9437b14bcf379813698bf674fbe
[]
no_license
MS-Dok/pythonCore
40871c8dc53bee583fb12a6366db2275521d6e6e
d0d89997022f0e284626035d6fa61d94183d8f80
refs/heads/master
2021-07-02T00:52:31.621971
2020-10-20T12:29:40
2020-10-20T12:29:40
184,242,248
1
0
null
null
null
null
UTF-8
Python
false
false
4,404
py
"""1. Створити список цілих чисел, які вводяться з терміналу та визначити серед них максимальне та мінімальне число. """ user_value=int(input("Enter the value: ")) print("Min value is",min([x for x in range(user_value)])) print("Max value is",max([x for x in range(user_value)])) """ 2. В інтервалі від 1 до 10 в...
[ "noreply@github.com" ]
MS-Dok.noreply@github.com
aa9c14845c14707dc3ac40e78df6b0a435a73c19
051fff90eb3fcb1f928c5857992fef351fc1ba04
/output/figuresAndTables/makeFinalTables.py
92d6e9cd2931bb2d07a7fdcae6dad5e5ed9ca5cd
[ "MIT" ]
permissive
AndresYague/Snuppat
1503c8a729513d857a04a7963b8256451c9f6cd1
8a7f73fbc260bab67b5d38ed1efc628980f5047c
refs/heads/master
2021-06-08T11:22:11.930896
2021-04-08T12:58:53
2021-04-08T12:58:53
67,886,532
0
0
null
null
null
null
UTF-8
Python
false
false
2,455
py
def getKeyList(indx, lst): '''Return adecuate value from list''' if indx >= 0 and indx < len(lst): return lst[indx] else: return "--" def printTable(storeNamVal): '''Print table in order''' nCol = 3 keys = [x for x in storeNamVal.keys()]; keys.sort() nEls = len...
[ "and.yague@gmail.com" ]
and.yague@gmail.com
03ba849ab901a2dd4684b9660222925b7988aa2f
6b7aa3e8a15ab8502094d41f88c72e0fa0a6cc6d
/python/algoMonster/dp/knapsackWeightOnly.py
e98b2cd035c350fae50709d41ea7b21b5190ac2a
[]
no_license
artem-tkachuk/algorithms
77f51c0db2467f718ef1ebe3822343282fc8bf39
a656bc363d3cf4bb81fa83d0c627bf6f12029943
refs/heads/master
2023-05-25T12:30:10.094499
2023-05-16T03:17:25
2023-05-16T03:17:25
205,235,253
0
0
null
null
null
null
UTF-8
Python
false
false
1,255
py
from typing import List def knapsackWeightOnly(weights: List[int]) -> List[int]: # return list(knapsackWeightOnly_TopDown_Helper(weights, valuesSet=set())) return knapsackWeightOnly_BottomUp_Tabulation_Helper(weights) # Top down solution, no memoization, bad time complexity def knapsackWeightOnly_TopDown_Hel...
[ "artemtkachuk@yahoo.com" ]
artemtkachuk@yahoo.com
06a25a1b6196b3b4b67262bea39f8289fb2daa7e
c059ed04ed5f72d11dbe3b01e9395bacd28b6e8b
/문자열내p와y개수.py
fdb32a8a8483982f6580418362fe2487966dd8ad
[]
no_license
kimhyewon0/kimhyewon0.github.io
532b5feb214d686865b8e6169251de8dca7a2caf
eaac275ff5b933e477099c9b4c3a1b69e05fa521
refs/heads/master
2021-01-23T04:13:25.509101
2019-09-22T16:40:30
2019-09-22T16:40:30
33,710,735
0
0
null
null
null
null
UTF-8
Python
false
false
126
py
def solution(s): s=s.upper() if s.count('P') ==s.count('Y'): return True else: return False print(solution("Py"))
[ "coope0357@gmail.com" ]
coope0357@gmail.com
ab0b8196c759f436a72d4ad731e16756cc9d4511
699cf40f6326b954a40b78e87317a62401bd4c2c
/.history/Drowsy_Detection_20210728124624.py
935884724404299f8e03c238ed4ff5289a4858c5
[]
no_license
KhanhNguyen1308/Python-mediapippe
e3927f9c0c6499d8a3ba50a675617b89197dce89
981412efd39bd29c34a66afbec88abdabcb47ab9
refs/heads/main
2023-06-25T18:37:43.234063
2021-07-29T11:35:31
2021-07-29T11:35:31
368,535,068
0
0
null
null
null
null
UTF-8
Python
false
false
3,727
py
import cv2 import time import numpy as np import mediapipe as mp import tensorflow as tf from threading import Thread from head_pose_ratio import head_pose_ratio from function import draw_point, eye_avg_ratio, put_text from Angle_head_pose_ratio import head_pose_status, eye_stat from mode import sleep_mode interpreter ...
[ "khanhnguyenduy1308@gmail.com" ]
khanhnguyenduy1308@gmail.com
7d24324bd1f5837946c3a16a2bf594cd700afd24
9d53d831b631c5431d625848ca0dbd1e4a02eb78
/pybo/models.py
7f387f16dda1be32c0a6e106a2f4bc1f0512818a
[]
no_license
jghee/Django_pratice
2b918f730dc40cd6f0c9881ad1c176906e84de8f
859befa7b04df8dd119cd6c8985d0c13edd7521a
refs/heads/main
2023-06-20T19:56:37.231458
2021-07-17T02:43:25
2021-07-17T02:43:25
383,633,921
0
0
null
null
null
null
UTF-8
Python
false
false
1,344
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Question(models.Model): subject = models.CharField(max_length=200) content = models.TextField() create_date = models.DateTimeField() author = models.ForeignKey(User, on_delete=models.CASCADE, rel...
[ "ghj171937@gmail.com" ]
ghj171937@gmail.com
181d7604566e31eea4b774b2ae9b3356926009e6
a40950330ea44c2721f35aeeab8f3a0a11846b68
/VTK/Actors/ThreeLine.py
e780418bfccbe2f4be8ca077eaf8f0c68c4225b5
[]
no_license
huang443765159/kai
7726bcad4e204629edb453aeabcc97242af7132b
0d66ae4da5a6973e24e1e512fd0df32335e710c5
refs/heads/master
2023-03-06T23:13:59.600011
2023-03-04T06:14:12
2023-03-04T06:14:12
233,500,005
3
1
null
null
null
null
UTF-8
Python
false
false
3,218
py
import vtk # Visualize colors = vtk.vtkNamedColors() # Create points p0 = [0.0, 0.0, 0.0] p1 = [1.0, 0.0, 0.0] p2 = [1.0, 1.0, 0.0] p3 = [0.0, 1.0, 0.0] p4 = [2.0, 0.0, 0.0] p5 = [2.0, 1.0, 0.0] # LineSource: draw a line with two points def createLine1(): lineSource = vtk.vtkLineSource() lineSource.SetPoint1...
[ "443765159@qq.com" ]
443765159@qq.com
59bc5e311c76d97d748a6bf5da5acff9c9eafe2f
92e6d757704f9916bbc9374d40d3d575122ab9f7
/5-Factory.py
df982127becd77e6fd54f11e032f776b36ebc019
[]
no_license
TomCranitch/MATH3202-Tutorials
2479dced9ef89bff101a9b98a8a94caf30cd5962
0a4e81e82f7473b1d993b5a212d9ce2c98fe7aeb
refs/heads/master
2020-04-27T10:07:13.016853
2019-06-14T02:56:02
2019-06-14T02:56:02
174,240,870
0
0
null
null
null
null
UTF-8
Python
false
false
2,191
py
from gurobipy import * # Set up your data profit = [10, 6, 8, 4, 11, 9, 3] P = range(len(profit)) n = [4, 2, 3, 1, 1] M = range(len(n)) # usage[P][M] usage = [ [0.5, 0.1, 0.2, 0.05, 0.00], [0.7, 0.2, 0.0, 0.03, 0.00], [0.0, 0.0, 0.8, 0.00, 0.01], [0.0, 0.3, 0.0, 0.07, 0.00], [0.3, 0.0, 0.0, 0.10,...
[ "tom@cranitch.com.au" ]
tom@cranitch.com.au
586389d67bfb22c131f65413987a6d9937d948a4
085773c6b2945589e60022ba8268d2e93a61145f
/cha_10_regular_expression/10_7_match.py
1eac13208caf382181b89f4b5903da67f81f838d
[]
no_license
bj1570saber/muke_Python_July
dde67a74882f0bcc72c1aca828922829376a0375
96fa464bd0eeb8a922e713700addb548b6ef4727
refs/heads/master
2020-09-08T14:08:36.963017
2020-01-09T08:54:41
2020-01-09T08:54:41
221,154,988
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
import re a = 'pyth_pytho0python1pythonn2pythonnnn' # *: match previous char 'n' 0 or many times r = re.findall('python*', a) print(r)# ['pytho', 'python', 'pythonn', 'pythonnnn'] print('~' * 20) # +: match previous char 'n' 1 or many times r = re.findall('python+', a) print(r)# ['python', 'pythonn', 'pythonnnn'] pr...
[ "bj1570saber@gmail.com" ]
bj1570saber@gmail.com
83f0e5e137f2710df1e45e901c6a227e112040d5
3a698e77300380546267afacf72568ce8586e4f8
/test.py
ef88e5117c4ba019bead6794c698caf7f5eff76d
[]
no_license
MichaelESwartz/TWITTERWEBBOT
10e6934f0bbaada148d9bee6f7c907e08cdccba8
e0598ddfd598c0105b0687ab2b63d5a8acb0fbaf
refs/heads/master
2021-01-20T00:47:23.285010
2017-05-02T22:02:31
2017-05-02T22:02:31
89,189,348
0
0
null
null
null
null
UTF-8
Python
false
false
110
py
def math(y, z): x = y + z return x if math(3, 2) == 5: print "success" else: print "failed"
[ "Michael@Michaels-MacBook-Pro-4.local" ]
Michael@Michaels-MacBook-Pro-4.local
904a7bc9b799b09ef6eb6b12445e53839cc08f7b
a02a2da4ca761b74544ab0fe819847074930fed8
/demos/incompressible_flow/scalar_transport/almgren-two-grids-check-div-eps-1/config.py
0da2495e847aad20e2ced600036b7ce982cbbbb6
[]
no_license
marc-nguessan/mrpy
40ac7a11404ed97ab5824f4dc8fd57e8d51caf95
6fb0bce485234a45bb863f71bc2bdf0a22014de3
refs/heads/master
2020-12-03T08:28:11.312333
2020-01-01T19:05:05
2020-01-01T19:05:05
231,252,927
2
0
null
null
null
null
UTF-8
Python
false
false
12,650
py
"""... """ from math import * # Definition of time integration t_ini = 0. t_end = 0.5 nt = 200 dt = (t_end - t_ini) / nt dt_sc = dt / 20 # Definition of the printing options n_print = min(nt, 600) #n_print = nt dt_print = (t_end - t_ini) / n_print # domain size L = 1 x_1 = 0. y_1 = 0. x_2 = 0.09 y_2 = 0. x_3 = -...
[ "arthur.nguessan@gmail.com" ]
arthur.nguessan@gmail.com
3dc8a090b2c9403994f512b47d7fc301201b29e0
4d5c542f56dad6668dd30be7693ac93032adfe4c
/app.py
cbb0742b6876948e3d5b1447ee18a3993a7ff68a
[]
no_license
maanbosa/restful-flask
0044cd6179f6877b14f46c29e11f094dbee68946
c587b17276929cf567d22ed4bcc51676308a8ad5
refs/heads/master
2023-02-01T23:08:48.615079
2020-12-11T19:01:55
2020-12-11T19:01:55
320,643,482
0
0
null
null
null
null
UTF-8
Python
false
false
839
py
from flask import Flask from flask_restful import Api from flask_jwt import JWT from security import authenticate, identity from resources.user import UserRegister from resources.item import Item, ItemList from resources.store import Store, StoreList app = Flask(__name__) app.config['SQLALCHEMY_DATABASE_URI'] = 'sqli...
[ "maanbosa@gmail.com" ]
maanbosa@gmail.com
b39d2e8a3337080a1c893fd9b36e4a0743b7a421
cf431dd9967ba3de7732541e42412fa9bd2bf4ba
/todo/models.py
555d0d4228bdccf2f6ba5aa1e9bbc0c89d8b036b
[]
no_license
ansu5555/TaskManager
de073c53b50fa876118b03f564cea5a51fbc947c
a6a743a2fbe9203afc0694f89bbe938ace6f843a
refs/heads/master
2021-09-06T22:35:08.632556
2018-02-12T17:46:27
2018-02-12T17:46:27
12,598,650
0
0
null
null
null
null
UTF-8
Python
false
false
294
py
from django.db import models # Create your models here. class todo_lists(models.Model): todo_crtdt = models.DateTimeField(auto_now_add=True) todo_detail = models.CharField(max_length=100) todo_duedt = models.DateTimeField() todo_complete = models.BooleanField(default=False)
[ "ansuman5555@gmail.com" ]
ansuman5555@gmail.com
18eaf4480da5398f037854fd148de9adc33abbe1
d8940b6d45c15a84c8ee1ab298c4df8a905f956c
/pysnooper/__init__.py
4b6ea5bc1ee65f9e361836555c20c181a5e8e0ff
[ "MIT" ]
permissive
Karanxa/PySnooper
f179c3e23627979c3a58664b966c9ae4cfa522a2
22f63ae09bb6d63de86496d613815ee03d191b75
refs/heads/master
2023-05-27T14:23:00.604201
2021-06-11T15:06:55
2021-06-11T15:06:55
376,061,317
1
0
MIT
2021-06-11T15:06:55
2021-06-11T15:04:02
null
UTF-8
Python
false
false
812
py
# Copyright 2019 Ram Rachum and collaborators. # This program is distributed under the MIT license. ''' PySnooper - Never use print for debugging again Usage: import pysnooper @pysnooper.snoop() def your_function(x): ... A log will be written to stderr showing the lines executed and variables ch...
[ "ram@rachum.com" ]
ram@rachum.com
b0b09977413df66d842b53b5df6ee0e5dec3c57e
34096e5f3d6569e3aaee794bf8ccc0b04f2c8c8f
/docusign_esign/models/offline_attributes.py
077596d786a847ed9812880ca9dd352e3e55323a
[ "MIT" ]
permissive
hunk/docusign-python-client
5c96de8a08973fe1744d902b2a3873a7376a62c7
a643c42c1236715e74eef6fc279a1b29da1b5455
refs/heads/master
2021-06-14T06:41:23.298368
2020-04-01T05:51:08
2020-04-01T05:51:08
254,482,059
0
0
MIT
2020-04-09T21:28:23
2020-04-09T21:28:23
null
UTF-8
Python
false
false
7,470
py
# coding: utf-8 """ DocuSign REST API The DocuSign REST API provides you with a powerful, convenient, and simple Web services API for interacting with DocuSign. OpenAPI spec version: v2.1 Contact: devcenter@docusign.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from p...
[ "noreply@github.com" ]
hunk.noreply@github.com
6017f8bc5e80a39ea78cc67cbc7474a53ad39874
4d259f441632f5c45b94e8d816fc31a4f022af3c
/tornado/mongodb/client.py
df52fa27df3ea41b18e3d682e2bcf182a9f48e30
[]
no_license
xiaoruiguo/lab
c37224fd4eb604aa2b39fe18ba64e93b7159a1eb
ec99f51b498244c414b025d7dae91fdad2f8ef46
refs/heads/master
2020-05-25T01:37:42.070770
2016-05-16T23:24:26
2016-05-16T23:24:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,204
py
import httplib2 from urllib import urlencode h = httplib2.Http() ## Add articles data = {'id':'1', 'author':'B', 'genre':'comedy'} body = urlencode(data) h.request("http://127.0.0.1:8888/articles", "POST", body=body) data = {'id':'1', 'author':'C', 'genre':'comedys'} body = urlencode(data) h.request("http://127.0.0...
[ "junmein@junmeinde-macbook-pro-3.local" ]
junmein@junmeinde-macbook-pro-3.local
74044ba31aee8febadeb0b5bdf8ad33d30405070
575bdfbcc1eef8a0c38b60292dc992aa3e9dab90
/2_Regression/Simple_Linear_Regression.py
11da5c04873b45adc42f921c7dfcf874c0f31693
[]
no_license
saimahesh-geek/machine-learning
36ffce0cd08f4046e52f28ca8b0e9329d6346239
ca5ccea924c5cce9ae8046b139d80b4a661accdb
refs/heads/master
2020-04-05T22:21:31.637849
2018-11-19T09:44:04
2018-11-19T09:44:04
157,253,574
0
0
null
null
null
null
UTF-8
Python
false
false
1,236
py
#Importing libraries import numpy as np import matplotlib.pyplot as plt import pandas as pd #Importing datasets dataset = pd.read_csv('Salary_Data.csv') X = dataset.iloc[:, :-1].values y = dataset.iloc[:, -1].values #Splitting the dataset into training and test sets #cross_validation - deprecated from sklearn.model_s...
[ "saimahesh.cse@gmail.com" ]
saimahesh.cse@gmail.com
51e97447fab2edd2d535b5f7d4cd8faff5ee62e1
cf833f507001409066a1aa1716161c6fcaea846b
/share/qt/clean_mac_info_plist.py
ee26b3c1fa50df733839f9002a0fcae496c788f2
[ "MIT" ]
permissive
Dubaicash/Dubaicash
b963eaa3865eb9e25fac50a5c874944a71845d59
5dc7df7271db82691441169b47f2409e209696da
refs/heads/master
2021-01-25T11:16:00.580273
2018-10-29T19:51:15
2018-10-29T19:51:15
123,389,485
1
0
null
null
null
null
UTF-8
Python
false
false
899
py
#!/usr/bin/env python # Jonas Schnelli, 2013 # make sure the Dubaicash-Qt.app contains the right plist (including the right version) # fix made because of serval bugs in Qt mac deployment (https://bugreports.qt-project.org/browse/QTBUG-21267) from string import Template from datetime import date bitcoinDir = "./"; i...
[ "dubaicashdev@gmail.com" ]
dubaicashdev@gmail.com
6a61782fcfd4338c981fee4050af6ec266ed0558
86cdb209d9dd3dda040ca5469b68000a0d5c311a
/RobustIntegerKnapsackModel.py
086075eae4cb3fe0070696265153dd96db6164d7
[]
no_license
ToledanoDiego/KnapsackProblem
40c9dd9d86036756e09cdc8a5006ede526378565
67ef1eb817eb65a180ba4b5c9fcb9a2694fba030
refs/heads/main
2023-08-19T03:48:13.440723
2021-10-04T14:55:37
2021-10-04T14:55:37
413,455,572
0
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
"""A Pyomo representation of the Robust Integer Knapsack Problem. Run the Integer Knapsack Problem with instances found in Instances/ and write results into RobustIntegerKnapsackSolution.txt. Typical usage example: python3 RobustIntegerKnapsackModel.py """ import random import pyomo.environ as pyo f...
[ "noreply@github.com" ]
ToledanoDiego.noreply@github.com
3a0f200b06d77ef08f908fd0474fe8e95f74cb21
b68fea9d645de59ee31da970d3dc435460fde9de
/discussboard/views_edit.py
a7cc8324343a334ab42398e43c09249b9d270868
[ "BSD-3-Clause" ]
permissive
shagun30/djambala-2
03fde4d1a5b2a17fce1b44f63a489c30d0d9c028
06f14e3dd237d7ebf535c62172cfe238c3934f4d
refs/heads/master
2021-01-10T04:20:30.735479
2008-05-22T05:02:08
2008-05-22T05:02:08
54,959,603
0
0
null
null
null
null
UTF-8
Python
false
false
7,026
py
# -*- coding: utf-8 -*- """ /dms/discussboard/views_edit.py .. enthaelt den View zum Aendern der Eigenschaften des Diskussionsforums Django content Management System Hans Rauch hans.rauch@gmx.net Die Programme des dms-Systems koennen frei genutzt und den spezifischen Beduerfnissen entsprechend angepasst wer...
[ "hans.rauch@gmx.net" ]
hans.rauch@gmx.net
12686b41f48293ecb798c9a1ddd3b0cd93d17050
f8adcf8dd868fda7ba7098eb94e383c7d588bffb
/test/readme_example_generate.py
b3435a74ea47747f4da915274d866f3ee169057f
[ "MIT" ]
permissive
bobyguo/frugally-deep
a847ad4fcb31d8d891ae6456d307a0e1e26e062f
20e2507e6055d1e64f4cf5a0a9a5a71bf3b3e97e
refs/heads/master
2020-03-08T08:26:21.410373
2018-04-09T09:24:02
2018-04-09T09:24:02
128,021,948
0
0
MIT
2018-04-04T07:08:09
2018-04-04T07:08:09
null
UTF-8
Python
false
false
542
py
#!/usr/bin/env python3 import numpy as np from tensorflow.python.keras.layers import Input, Dense from tensorflow.python.keras.models import Model inputs = Input(shape=(4,)) x = Dense(5, activation='relu')(inputs) predictions = Dense(3, activation='softmax')(x) model = Model(inputs=inputs, outputs=predictions) model....
[ "editgym@gmail.com" ]
editgym@gmail.com
792c81288e99d8d6ff55699c1e6d26a7002d0431
8bb062d48354fd7a9cca14c0637871e803a1a8ce
/agregator/business/__init__.py
69cb3bd528e7daa45010680730ba95ba237eb8f3
[]
no_license
denislamard/aggregator
b58887fbee4bf5beb833a847e3518d82ff3e3414
c040d36dab1b083c1ce2d518af458fc3b19cca6c
refs/heads/master
2020-06-22T18:26:17.015586
2019-07-19T12:49:18
2019-07-19T12:49:18
197,771,709
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
import os import json FILENAME = "entries.json" class Agregator: def __init__(self): self._routes = None self._loaddata(self.filedata) def _loaddata(self, path: str): with open(path) as json_file: self._routes = json.load(json_file) def _savedata(self, path: str): ...
[ "noreply@github.com" ]
denislamard.noreply@github.com
99cc6f137b9f513dd32357037e6f41e2231fad35
920b9cb23d3883dcc93b1682adfee83099fee826
/itsm/project/models/base.py
747edf57e059aed9c831fc4991b3f24c7f758c0a
[ "MIT", "LGPL-2.1-or-later", "LGPL-3.0-only" ]
permissive
TencentBlueKing/bk-itsm
f817fb166248d3059857b57d03e8b5ec1b78ff5b
2d708bd0d869d391456e0fb8d644af3b9f031acf
refs/heads/master
2023-08-31T23:42:32.275836
2023-08-22T08:17:54
2023-08-22T08:17:54
391,839,825
100
86
MIT
2023-09-14T08:24:54
2021-08-02T06:35:16
Python
UTF-8
Python
false
false
2,045
py
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making BK-ITSM 蓝鲸流程服务 available. Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved. BK-ITSM 蓝鲸流程服务 is licensed under the MIT License. License for BK-ITSM 蓝鲸流程服务: ------------------------------------------...
[ "1758504262@qq.com" ]
1758504262@qq.com