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
213 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
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
080ade01442e6e832e638a11db4aae091773d1e8
47ef648d0d497db58573bfa9ab8964d3600293da
/libowei/preprocessing.py
782d9c542b23155ad4509d74d55e6433ab0d0ab7
[]
no_license
serea/DataMiningProject
9fab7ae5df8bf87478ef9b3cf9aa59e2c1cbb12e
f11721bb0eddf0a6ee87b4b721ca773ecb7b750b
refs/heads/master
2020-07-04T05:45:07.586199
2016-12-02T16:17:58
2016-12-02T16:17:58
73,867,212
0
1
null
2016-11-29T07:16:48
2016-11-16T00:18:35
Python
UTF-8
Python
false
false
1,584
py
# coding=utf-8 import pandas as pd import numpy as np # 列名 cols = ['肝气郁结证型系数', '热毒蕴结证型系数', '冲任失调证型系数', \ '气血两虚证型系数', '脾胃虚弱证型系数', '肝肾阴虚证型系数'] # 删除有空值的行 def dropNull(data): return data.dropna() # 用均值填补空值 def fillNullWithMean(data): # 0值替换为空 # data = data.replace(0, np.nan) # 空值用平均值填补 for ...
[ "libowei123123@qq.com" ]
libowei123123@qq.com
fa69ff9359ea44d255bc0bb5b7360434514e20c3
da73af9dacd2e5161dc5843fe9140d00dfa59685
/enaml/widgets/widget_component.py
309435d7069c60b7ac5e21874750c050bf37f5b7
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bgrant/enaml
20d7c1e69a47b7ad926afff132d7f1391642d473
0bc0b61142d2f77b042b527b2780c8c8810184dd
refs/heads/master
2021-01-18T05:57:39.583506
2012-12-02T17:52:59
2012-12-02T17:52:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,504
py
#------------------------------------------------------------------------------ # Copyright (c) 2011, Enthought, Inc. # All rights reserved. #------------------------------------------------------------------------------ from traits.api import Bool, Str, Tuple, Range, Enum from enaml.core.declarative import Declarat...
[ "sccolbert@gmail.com" ]
sccolbert@gmail.com
b4ebd31f1184138ba79dc2f76a2542d3a9b01d92
e1cf0e9941e72d06870baa63c792f1123f325762
/classify/chinese_classify/StenceDet_FlyAI/transformation.py
4aff8007fbf9ff619b3460ebb4b956765766e799
[]
no_license
yphacker/flyai_nlp
1ab79be510d82fb0e9bc7d5d823c3fbaf9bf2ce5
78a8cd8680190dacc053993fe4a00d2391a62408
refs/heads/master
2020-07-16T02:22:03.338890
2020-01-02T12:52:14
2020-01-02T12:52:14
205,699,001
3
5
null
null
null
null
UTF-8
Python
false
false
346
py
# -*- coding: utf-8 -*- class Transformation: ''' 处理训练数据的类,某些情况下需要对训练的数据再一次的处理。 如无需处理的话,不用实现该方法。 ''' def transformation_data(self, x_train=None, y_train=None, x_test=None, y_test=None): return x_train, y_train, x_test, y_test
[ "yphacker@163.com" ]
yphacker@163.com
40ea9e1bc48ce74446ea3380754e19550eb28111
1ed384608eb2624f53e8b6866bd99d842b7d986e
/scripts/test/integration/main.py
ada39452ce9e881035e7812a26b27e18645d180a
[]
no_license
d-becker/oozie-dbd-testing
00f20f9ee8419984f1b05c35b7884790ac208b9e
84db745a980f231f1062556d0c454086bc52c529
refs/heads/master
2021-07-11T20:01:11.243269
2019-01-22T14:34:45
2019-02-05T12:51:54
147,356,017
0
0
null
null
null
null
UTF-8
Python
false
false
3,166
py
#!/usr/bin/env python3 """ This script is the entry point to running the integration tests. For more information, run the script with the "--help" switch. """ import argparse import logging from pathlib import Path import re import sys from typing import Any, Iterable, List, Optional import unittest import __ma...
[ "daniel.becker@cloudera.com" ]
daniel.becker@cloudera.com
5052a557d88620ed5f6f3a3471aede46c367a29a
d6d903f9cfb3c0a15824da682ad9b9f91aea6783
/larb/migrations/0016_auto_20180325_2203.py
2008588038baf0261f0036d5671918f1f88a3703
[]
no_license
SlashKing/ctdev-DJANGO
3c7e99ca715e6ae1a150f7fe4bd148f84b23c5b9
75c8cc7e68bf4a6f6c094a994c7dfa7f2f1de735
refs/heads/master
2022-12-15T11:18:27.513572
2018-07-20T16:09:36
2018-07-20T16:09:36
139,062,357
0
0
null
2022-12-08T00:44:35
2018-06-28T19:53:57
Python
UTF-8
Python
false
false
1,117
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2018-03-26 05:03 from __future__ import unicode_literals import datetime from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc class Migration(migrations.Migration): dependencies = [ ('larb'...
[ "n.leblanc.cpga@gmail.com" ]
n.leblanc.cpga@gmail.com
d7cf648dd2846833855d11012bf88ea6e796bd33
d7ccb4225f623139995a7039f0981e89bf6365a4
/.history/mall/settings_20211012030652.py
ed9099343f8accda9ab42601efb05cfebbf948f8
[]
no_license
tonnymuchui/django-mall
64fd4abc3725c1bd0a3dcf20b93b490fe9307b37
55c083d8433be3c77adc61939cd197902de4ce76
refs/heads/master
2023-08-23T04:59:20.418732
2021-10-13T15:59:37
2021-10-13T15:59:37
415,668,388
1
0
null
null
null
null
UTF-8
Python
false
false
3,977
py
""" Django settings for mall project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ import django_he...
[ "tonykanyingah@gmail.com" ]
tonykanyingah@gmail.com
af0b82cd8c4a577365c20ea44999e5b9e3ca91b3
6538105c6ba7b0e6ab011e56beb3b1c413188136
/img_to_gray_scale_app/test1.py
d8cce85f8f1980a759c958e4cb74853b5fd6cd77
[]
no_license
dR3m/somecode
d3dcfa35fce9788cda93452c218dfe8ac239c4f8
4d4c9f3d0324f3b9c3dd0b86ad3ec5df064fc962
refs/heads/master
2021-05-11T15:13:31.988579
2019-08-21T16:13:25
2019-08-21T16:13:25
117,723,064
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
import requests from json import loads, dumps from random import randint def test(links, params): b = [] for i in range(len(links)): b.append({'img': {'url': links[i], 'param': params[i]}}) u = 'http://localhost:8080' res = requests.post(u, data=dumps(b)) print(res.content) def main(): l = [ "https://s...
[ "noreply@github.com" ]
dR3m.noreply@github.com
11da33bffccf0c24fc03696dd6135d85c28aa71f
b77127288b2f1fabe8703abea72eece93f07a178
/regp/regapp/admin.py
922c69bc3b39b06ed56ca3afdb45e94180264791
[]
no_license
dharanisaikumar/djangoex
3c7649f752c8e46d54084262c5e5bc11fdcbf697
71474bcebb92b16aabbae7ea9574c2d7cbca39cd
refs/heads/master
2021-01-06T15:01:44.289998
2020-02-18T13:47:44
2020-02-18T13:47:44
241,371,341
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
from django.contrib import admin from .models import usermodel,User # Register your models here. admin.site.register(usermodel)
[ "dharanisaikumar819@gmail.com" ]
dharanisaikumar819@gmail.com
276aa7b5b5d17cd1720f2bf15794ef27dab6986e
1d01b716cb3f7a516562e614b452b46444048e1a
/Leetcode/algorithms-questions/1249_Minimum_Remove_to_Make_Valid_Parentheses.py
a8f3e2c2c1b44378c362201bc143e8e28bbfb4c6
[]
no_license
deep0892/Algorithms_Practice
49e96178eb7fff6cc93acfb8dcba9f5aa25135bc
7b79bca508a520274f26098c9d2b3cf305b1a407
refs/heads/master
2023-06-19T00:20:51.981482
2021-07-13T08:03:09
2021-07-13T08:03:09
259,134,357
0
0
null
2021-06-11T16:54:46
2020-04-26T21:13:01
Python
UTF-8
Python
false
false
1,139
py
# https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses/ """ Discription of question in above link """ from typing import List class Solution: def minRemoveToMakeValid(self, s: str) -> str: result: str = '' stringBuilder = '' cnt_o: int = 0 for i in range(len(s)):...
[ "deepankar080892@gmail.com" ]
deepankar080892@gmail.com
09e9508924280b73e43341e921b6f66a853acef0
61cebc9f65bbff9125584da51d18b6f1f23e049f
/python/src/mqttSubs.py
3a6aae3262078c68022eee5dea2b55b9b06ed94b
[]
no_license
jacklee032016/rtosLwip
db466d3dba830266e0f7facc0f3c03d5804b68c2
0c66943809fa87cf808bb5e91ee44cc98f7cc8f5
refs/heads/master
2022-12-15T11:57:01.219702
2022-05-04T22:58:04
2022-05-04T22:58:04
142,618,793
1
2
null
2022-12-08T02:19:16
2018-07-27T20:01:41
C
UTF-8
Python
false
false
1,688
py
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright (c) 2010-2013 Roger Light <roger@atchoo.org> # # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Distribution License v1.0 # which accompanies this distribution. # # The Eclipse Distribut...
[ "jacklee032016@gmail.com" ]
jacklee032016@gmail.com
b12b9a4ef48443e63d6e0e312fe3e69e78868ee9
8a25ada37271acd5ea96d4a4e4e57f81bec221ac
/home/pi/GrovePi/Software/Python/others/temboo/Library/Flickr/Photos/SearchPhotos.py
3d8ba19da58779404fb135fdb6062271aef6c52e
[ "MIT", "Apache-2.0" ]
permissive
lupyuen/RaspberryPiImage
65cebead6a480c772ed7f0c4d0d4e08572860f08
664e8a74b4628d710feab5582ef59b344b9ffddd
refs/heads/master
2021-01-20T02:12:27.897902
2016-11-17T17:32:30
2016-11-17T17:32:30
42,438,362
7
8
null
null
null
null
UTF-8
Python
false
false
11,817
py
# -*- coding: utf-8 -*- ############################################################################### # # SearchPhotos # Returns a list of photos matching a search criteria. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may...
[ "lupyuen@gmail.com" ]
lupyuen@gmail.com
14b6bc5e5c8792849b11566ea3e04e9a7ee2ce12
eaf6481387d3055c9ccd36401e2c04713c214f16
/last_this_is_last_final_testing_code-master/registration/views.py
bb90b4414ce04571460318f409a2df2e60ccc512
[]
no_license
PrabhavLamichhane/chartupdate
deb38733b59a476fa4b1e472d4e9e3f29bead3c2
de6137b60e741f25ebf4934ba44d776613144c19
refs/heads/master
2020-11-24T05:29:12.439760
2019-12-14T07:38:47
2019-12-14T07:38:47
227,984,580
0
0
null
null
null
null
UTF-8
Python
false
false
2,605
py
from django.contrib.auth import login from django.contrib.auth.decorators import login_required from django.contrib.sites.shortcuts import get_current_site from django.shortcuts import render, redirect from django.utils.encoding import force_bytes, force_text from django.utils.http import urlsafe_base64_encode, urlsafe...
[ "parolaro123@gmail.com" ]
parolaro123@gmail.com
9780a87442ab339acb2d1cf4c6b6bbdad42a2478
f9b7930e6f43eca26abf87b39961fc2d022db54a
/Python/easy/796. Rotate String.py
29bda180d5ebf43de72fd30c3c808a6733bc89b3
[]
no_license
LRenascence/LeetCode
639452dd3bf65a14d0056c01e203a7082fbdc326
1a0e1d1503e0a7bff6917491a964a08c572827fb
refs/heads/master
2021-05-12T03:41:35.346377
2021-01-07T23:39:14
2021-01-07T23:39:14
117,622,661
0
0
null
null
null
null
UTF-8
Python
false
false
956
py
""" We are given two strings, A and B. A shift on A consists of taking string A and moving the leftmost character to the rightmost position. For example, if A = 'abcde', then it will be 'bcdea' after one shift on A. Return True if and only if A can become B after some number of shifts on A. Example 1: Input: A = 'abc...
[ "im.renascence@gmail.com" ]
im.renascence@gmail.com
54194b62f43d7ed37431e16a9d4ffbbc4b1e712f
27ce7d1ecb8556b1cce963eb649c92abf27347ab
/CodeChef/CRDGAME_Chef_and_Card_Game.py
a3f0ec40bd931dc499df1d23633ec66c7b141d66
[ "Unlicense" ]
permissive
a3X3k/Competitive-programing-hacktoberfest-2021
c005c2413e93e14808c5f1e60cbbc73c0ff04674
bc3997997318af4c5eafad7348abdd9bf5067b4f
refs/heads/main
2023-08-31T17:14:21.584487
2021-10-04T04:03:41
2021-10-04T04:03:41
413,268,126
1
0
Unlicense
2021-10-04T04:02:03
2021-10-04T04:02:02
null
UTF-8
Python
false
false
572
py
# Problem :: https://www.codechef.com/JULY20B/problems/CRDGAME # Python from sys import stdin,stdout def sumdigits(n): return 0 if n==0 else (n%10) + sumdigits(n//10) for _ in range(int(stdin.readline())): C_W = 0 M_W = 0 for _ in range(int(stdin.readline())): C , M = map(int,stdin.readline().split()) ...
[ "noreply@github.com" ]
a3X3k.noreply@github.com
bfd9359c7293fc2547b4a7f106c6bff14f477c6a
fde693971d3f9671aa1d2efbf8cafa58168f9271
/Vendors_project/vendors/migrations/0014_auto_20200806_1152.py
6b8b604c7bb841ae0294b8b9b54bb9d9191e8462
[]
no_license
HarikaMandava/Django-Projects
84e0929c686a3ee2c6379a803250cc8892b126d4
371cf0078818273bfabd609a5d69e1ef5356ebe6
refs/heads/master
2022-12-01T00:06:28.673108
2020-08-07T05:39:11
2020-08-07T05:39:11
285,738,872
0
0
null
null
null
null
UTF-8
Python
false
false
1,580
py
# Generated by Django 3.0.7 on 2020-08-06 06:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('vendors', '0013_remove_contacts_vendor'), ] operations = [ migrations.AddField( model_name='contacts', name='address...
[ "harika.mand@gmail.com" ]
harika.mand@gmail.com
83d71d33de21186e775b72c9924dcd96f1c005e1
5a001c02e36426359bc3f5b5a29a3373af343376
/Benchmark-gnn/data/molecules.py
972e749859619500206a5f81edd1cec7195b23e5
[ "MIT" ]
permissive
Axeln78/Transferability-of-spectral-gnns
65376e51b4e3e3e0e2df7a3c9dac89d7609d7e59
a89628851c22ceb6361ff6180ab810d4fa923898
refs/heads/main
2023-02-03T16:37:57.877362
2020-12-23T17:38:23
2020-12-23T17:38:23
306,058,184
6
1
null
null
null
null
UTF-8
Python
false
false
11,069
py
import csv import pickle import time import dgl import numpy as np import torch import torch.utils.data from scipy import sparse as sp # *NOTE # The dataset pickle and index files are in ./zinc_molecules/ dir # [<split>.pickle and <split>.index; for split 'train', 'val' and 'test'] class MoleculeDGL(torch.utils.da...
[ "axel.nilsson@epfl.ch" ]
axel.nilsson@epfl.ch
904bda4e2b052e0b879f460c446f7c066e14621c
b6076a3d63ec0591e435b0d763faa02419405fc3
/nlpaug/augmenter/word/wordnet.py
cec586ed2a672b60f9c87d674faffeb9fbf5fae8
[ "MIT" ]
permissive
Allensmile/nlpaug
37684850c22c6cc48f518cb63244e8c17cdef34f
8d60627cb6412b5ceb263e02e605360b174f0ddf
refs/heads/master
2020-05-28T08:22:09.270879
2019-05-24T01:31:07
2019-05-24T01:31:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,625
py
import nltk from nltk.corpus import wordnet from nlpaug.augmenter.word import WordAugmenter from nlpaug.util import Action, PartOfSpeech class WordNetAug(WordAugmenter): def __init__(self, name='WordNet_Aug', aug_min=1, aug_p=0.3, tokenizer=None): super(WordNetAug, self).__init__( action=Acti...
[ "makcedward@gmail.com" ]
makcedward@gmail.com
9f00ea8dc974ab43ffed2a536376dc9c57e25440
8b85111e6bd07ff89d48f3fe9f4bc9323e400516
/FuzzAnalysis/winappdbgResultAnalysis.py
8cabcc94749b46dfb9a81e7d77277ecc0a071e74
[]
no_license
JsHuang/fuzz4fun
612e74afed379eeaed6fc72f737493a509fa8dd1
3ca9e152e97d8890651e885a6025b0188cae0231
refs/heads/master
2023-04-07T19:33:38.778303
2023-03-28T05:35:34
2023-03-28T05:35:34
146,147,726
1
1
null
null
null
null
UTF-8
Python
false
false
1,410
py
#coding=utf-8 import os stack_hashes = {} def calculate_stack_hash(file_path): trace_str = "" traceIndex = -1 with open(file_path, "r") as f: for line in f.readlines(): if traceIndex < 0: line = line.strip() if line == "Frame Origin": ...
[ "54jin.huang@gmail.com" ]
54jin.huang@gmail.com
d69e444b95067b65c99730c702a1bc782949bbc9
91683c3a72383e07543f21c7cf09f7f94dd85f6a
/components/level.py
e73e920fb09ba62613a2ae9446b20c4ff8e88723
[]
no_license
TimTheFiend/roguepy
cd1528a7dea685ec826fe01ef2ab784d23cfdf25
2c5fe1e58c8693e91e757da8dd7b589a6a9b9db4
refs/heads/master
2022-12-06T23:34:46.248031
2020-08-03T12:36:26
2020-08-03T12:36:26
282,830,024
0
0
null
null
null
null
UTF-8
Python
false
false
2,195
py
from __future__ import annotations from typing import TYPE_CHECKING from components.base_component import BaseComponent if TYPE_CHECKING: from entity import Actor class Level(BaseComponent): parent: Actor def __init__( self, current_level: int = 1, current_xp: int =...
[ "33222649+JoakimFKK@users.noreply.github.com" ]
33222649+JoakimFKK@users.noreply.github.com
5d5078fb2eea343a3e1fd0560ff27a70a9ebbfd4
300e7208a0b296f291fdba2ccad0617b20d50eba
/topics/Matrix/Flood_Fill_733/[Iterative_DFS_getNeighbors_helper]_Flood_Fill_733.py
8816507b77d60021c564d4968c2c85ea6d8681d1
[ "MIT" ]
permissive
DmitryNaimark/leetcode-solutions-python
05b7854f40791e5c5af345293181c7ac4435eb3c
16af5f3a9cb8469d82b14c8953847f0e93a92324
refs/heads/master
2021-06-25T04:37:00.880255
2020-04-12T05:59:51
2020-04-12T05:59:51
215,267,156
1
0
MIT
2021-03-31T03:12:10
2019-10-15T10:07:17
Python
UTF-8
Python
false
false
1,751
py
# https://leetcode.com/problems/flood-fill/ # --------------------------------------------------- from collections import deque from typing import List # Runtime Complexity: O(N), where N is the amount of same-colored neighbors # Space Complexity: O(N) in worst case, if same-colored neighbors are in positioned as cont...
[ "dmitrynaimark@gmail.com" ]
dmitrynaimark@gmail.com
8d6c5acfd84ddf1433ab7c4c19901159f35a940b
17a3c31d3d7f3d0ee4c76ba0196b9a32b0e3745d
/lpthw/ex15.py
d26b8c2aa78370b23f0c99b445393de7bd7d24bf
[]
no_license
pixlalchemy/lpthw
440d3e21347e85133a8042b1da36fa9bcf38e9d0
1a93d73c2598de8f63589471a03e2da172bad4ef
refs/heads/master
2021-01-21T02:01:44.838200
2016-06-15T16:56:42
2016-06-15T16:56:42
60,893,219
0
0
null
null
null
null
UTF-8
Python
false
false
864
py
# Imports argument variable from system module from sys import argv # Unpacks the variables passed from the command line into their own variables script, filename = argv # opens the file stored in filename and stores it in txt txt = open(filename) # Print's a string "Here's your file %r:" and takes the name of the file...
[ "jordan.pixlalchemy@gmail.com" ]
jordan.pixlalchemy@gmail.com
50c64474635be18407de296ad776205d2b5b55c9
48ce7ff0bdb8dcd186b923dadc873167177937ae
/sentiment-KNN.py
19c5fb16611863a849effae37a219fcaf1af1c32
[]
no_license
tariqrahmani08/CPSC571project
9cce84f1d8ce40825b9abeee448a3ea0a59dec8a
c531d7b36927c576c0a4273759c666164d1c20b5
refs/heads/master
2020-04-21T22:32:00.256812
2019-04-04T03:50:22
2019-04-04T03:50:22
169,914,515
1
0
null
null
null
null
UTF-8
Python
false
false
5,969
py
from sklearn.feature_extraction.text import CountVectorizer, TfidfVectorizer from sklearn.metrics import roc_auc_score, accuracy_score, f1_score, precision_score, recall_score from sklearn.model_selection import GridSearchCV from sklearn.model_selection import train_test_split from sklearn.neighbors import KNeighbo...
[ "noreply@github.com" ]
tariqrahmani08.noreply@github.com
deb7ea13038fc4edbe7aab556974d2650f9dbb0c
6c4b9d86590c43e8a74685b0b367e6c5c0cd653e
/5-3networkrunning.py
a6749f78b3f78f412af226607bfcdcbafc81dd41
[]
no_license
weicmjincheng/Tensorflow
c24b81995b245bc583bafa107178042799f28043
a5c76987a057dee61a6c0408d5d8790b3113d45b
refs/heads/master
2020-03-24T12:39:46.227716
2018-07-29T01:15:31
2018-07-29T01:15:31
142,719,307
0
0
null
null
null
null
UTF-8
Python
false
false
3,271
py
# _*_coding:utf-8 _*_ """ @Time :2018/6/25 14:29 @Author :weicm #@Software: PyCharm """ import tensorflow as tf from tensorflow.examples.tutorials.mnist import input_data # 需要载入数据 one_hot编码 mnist = input_data.read_data_sets("MNIST.data",one_hot=True) batch_size = 100 # 计算一共有多少个批次 m_batch = mnist.train.num_ex...
[ "2608383530@qq.com" ]
2608383530@qq.com
49970e17697f8013da979a6dc53e76b32a6ce935
3c9a73bcae72487085eabb26c1e48bee6ac747be
/DjangoBlog/manage.py
9694a81464414424399d1213155099bf19de508b
[]
no_license
kevinmarsh/DjangoBlog
7c67b681227a92b6c13fad22a9cd93f850010f90
da382b6a8fa36c36482a62f78d6254eb2562e19a
refs/heads/master
2016-09-06T09:13:27.895260
2013-07-23T21:16:24
2013-07-23T21:16:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
259
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "DjangoBlog.settings.local") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "kevinmarsh3@gmail.com" ]
kevinmarsh3@gmail.com
ef81c4e21eadc3055006999d6cdfb2c1796a8a7c
b8a14abb639e489d67a7d7f80ccdd8a36c6fec6c
/Unidad 1/Python/3. Ejercicios/Act03/Ejercicio6.py
6b786b9ee848c63d0729e1a74ced8b9915ea1ee7
[]
no_license
djgonza/SGEM
de9eb5f11b80964a5e7b2a3155d8df7ca3c2f779
4f3b029c8cd9889432839cbb01c90c66555538fd
refs/heads/master
2021-05-16T06:52:01.153640
2017-11-17T09:43:28
2017-11-17T09:43:28
103,507,934
1
0
null
null
null
null
UTF-8
Python
false
false
427
py
password = input("Introduce contraseña: ") longUser = len(password) if longUser < 8: print ("La contraseña debe contener un mínimo de 8 caracteres") correct = bool(1) conNoAlfa = 0 for i in password: if i.isspace(): correct = bool(0) break if i.isalpha(): conNoAlfa += 1 if not ...
[ "davidjimenezgonza@gmail.com" ]
davidjimenezgonza@gmail.com
cc149f8e720cd77bdd3cdb333c2ee5d3a4c830d9
75fb9b79ed6db179540176511f35fddb094080dc
/template.py
e8c435474b941436e852eea5afbf15c24e098579
[]
no_license
wty0511/sentiment_analysis
47d38555b0b9720e0476c79f33417302ac346e89
e68862a40f06f943c1d0a4c07447fa995c3fff81
refs/heads/master
2023-01-24T13:03:18.036687
2020-11-18T16:12:54
2020-11-18T16:12:54
313,979,435
0
0
null
null
null
null
UTF-8
Python
false
false
1,259
py
template = { '/r/RelatedTo': '和{}相关', '/r/FormOf': '的形式为{}', '/r/IsA': '是{}', '/r/PartOf': '是{}的一部分', '/r/HasA': '具有{}', '/r/UsedFor': '用来{}', '/r/CapableOf': '可以{}', '/r/AtLocation': '在{}', '/r/Causes': '导致{}', '/r/HasSubevent': ',接下来,{}', '/r/HasFirstSubevent': ',紧接着,{}', ...
[ "15652198208@163.com" ]
15652198208@163.com
9505c6e284962d18864326a21ccb0101ba2b4d43
f9dbc7136e1f067d3064c44cf37d286abdd94495
/blogapp/migrations/0018_delete_aboutsite.py
a464184d9f705ae271a8f58db9558c1adb3093cb
[]
no_license
Aravind2203/Blog
0a58d8dfd4e8c557b48fba728cc8dcc92338d199
88e70a286f2e745a66e0978926e1eaa043f2b572
refs/heads/master
2023-04-30T23:00:46.308556
2021-05-10T12:47:07
2021-05-10T12:47:07
361,818,807
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
# Generated by Django 3.1.1 on 2021-05-02 13:31 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blogapp', '0017_aboutsite'), ] operations = [ migrations.DeleteModel( name='AboutSite', ), ]
[ "ndrevanth09@gmail.com" ]
ndrevanth09@gmail.com
7c41de820bc4c321a1797c54ee14abcdc803f8de
b187ca51679e28dd533a05f31a9faf891e831dd9
/palindrome_partitioning.py
d490a91fa7eecaf17415fcdaa0f714b9b9b93800
[]
no_license
88sanjay/Backtracking-2
85e36240bb3a20fa2a3850e817ae1009d4a61e8d
c223eefd3931a6c99be50b8631f22b745a49668b
refs/heads/master
2020-07-31T17:11:07.220861
2019-09-25T13:52:19
2019-09-25T13:52:19
210,687,158
0
0
null
2019-09-24T19:59:58
2019-09-24T19:59:58
null
UTF-8
Python
false
false
3,031
py
class Solution(object): def partition(self, input_string): """ Partition a palindrome into subsets of palindromes logic is similar to power set palindrome_partitioning("abacaba") = { "a" , palindrome_partitioning("bacaba") } + { "aba"...
[ "sanjay.kumar@shopkick.com" ]
sanjay.kumar@shopkick.com
75d13fa48f0b8fec03e88dfd359466b218141f81
6323ef814af90c23897d1f697a0bd4effd33d9cc
/VideoGame/GBMRAgent.py
2549a9a55008568a218ffd638642d3b792f272d1
[]
no_license
kangyongxin/GBMRcode
dc6c69144c01a04718506ab186d5623274724b01
8fec4e1efda67229482e2012e61eef14c418a3ed
refs/heads/master
2022-12-02T10:08:36.545723
2020-08-23T00:41:43
2020-08-23T00:41:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,616
py
# 一个对maze 和Atari环境都能适应的智能体结构 from functools import reduce import random from Memory import Memory import numpy as np class Agent(): def __init__(self,num_actions=None,dim_obs=None,memory_size=100,memory_word_size=32,name="TrainableAgent"): ''' 智能体对环境的基本认知,动作空间,状态空间 ''' self.num_act...
[ "kangyongxin2018@ia.ac.cn" ]
kangyongxin2018@ia.ac.cn
d8fd013e77df3e0b005e7b56e0c5c2909ae9dce0
c2330074689cc1e579fe84f762bc990ef83691f8
/wsgi.py
988a9bf766a26c4bf1214dea78bd06d20d239638
[]
no_license
asafvala/GetMeHome
bc1099c3ad4fb539d231f5eb2103dadeca09b7e8
dc67c826e5b1799b2194898382ff55a883d24f12
refs/heads/master
2020-12-31T04:42:43.538582
2016-06-01T18:23:24
2016-06-01T18:23:24
59,219,006
0
0
null
null
null
null
UTF-8
Python
false
false
382
py
""" WSGI config for busses 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/1.9/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SETTIN...
[ "mestrebisli@gmail.com" ]
mestrebisli@gmail.com
0c75b53c22419526419582115e847b0ff2e238e0
7669bfdd12852111f320f94c1587a951017c05d7
/fileOp-WordOcuurance.py
e957e37908f5db4c6d3268fd33ec527ad9033992
[]
no_license
pathakamaresh86/python_class_prgms
177fb1e6137b972369735b02dce8de5027624f87
2d671300677f60cce347031ab79610deb2180fae
refs/heads/master
2020-04-04T13:12:45.106943
2018-12-17T09:54:33
2018-12-17T09:54:33
155,952,985
0
0
null
null
null
null
UTF-8
Python
false
false
919
py
#!/usr/bin/python #WAP to accept file name, word and its occurance count from user print lines from file which hava that word occuring specified number of times import io def printFileLines(fname,word,wCnt): fd=io.FileIO(fname) wordList=[] if fd != None: while True: wordList=[] data=fd.readline()...
[ "noreply@github.com" ]
pathakamaresh86.noreply@github.com
d38df1b8cecbfa6ad0a2c22c75552007ce5b74b3
19245ce3b322a8d8dd731f6c14811e11ee826ee8
/IBRd.py
36db6e2875ca4de3eafe7901597a42c7bc572b7c
[]
no_license
akitaki6556/ID_By_Ringtone
c8d820145b3a505272076e05d267d9a9354ca18e
c93a94a76d71119d35e3962102e245542a3152d4
refs/heads/master
2020-07-06T01:35:06.116335
2019-08-17T07:10:39
2019-08-17T07:10:39
192,741,398
0
0
null
2019-06-19T13:48:22
2019-06-19T13:48:21
null
UTF-8
Python
false
false
2,432
py
#!/usr/local/bin/pyenv/versions/3.6.5/bin/python import os import sys import discord import settings from time import sleep TOKEN = settings.DIS_TOKEN NOSTALGIA_TEXT_CHANNEL = settings.NOS_TEXT NOSTALGIA_VOICE_CHANNEL = settings.NOS_VOICE TNS_VOICE_CHANNEL = settings.TNS_VOICE client = discord.Client() connect_flag ...
[ "kyuta3579@yahoo.co.jp" ]
kyuta3579@yahoo.co.jp
76f67f825101294e7de8a25e425d1a839a66dc39
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/last_child/give_little_time/first_eye/same_company.py
a19d53b348ad122a9629e5741cefab5e63b5db8d
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
207
py
#! /usr/bin/env python def call_small_day_from_life(str_arg): work(str_arg) print('few_year') def work(str_arg): print(str_arg) if __name__ == '__main__': call_small_day_from_life('man')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
04cc4c3737f0e1ee3ef280cd8f7501ddae000731
480604046fccd4310ab84db4cc768dfa45fd36d3
/plant_analysis.py
9a4b20c491a0e9eb4a6f3bea43825ab9bcc0cd90
[]
no_license
jeffschwane/ProjectPlant
ccb4b5f1464b69460c53950d6c36e45b210d1ee1
4d245e5f5f7aafe72ed92dbdb420ca8dc62a901e
refs/heads/main
2023-03-23T12:43:17.199193
2021-03-10T20:52:29
2021-03-10T20:52:29
327,977,266
0
0
null
null
null
null
UTF-8
Python
false
false
29,095
py
import sqlalchemy import numpy as np import pandas as pd import matplotlib.pyplot as plt import seaborn as sns import calendar import datetime as dt import sys import os from IPython.display import display from scipy.signal import argrelextrema, lfilter from sklearn.linear_model import LinearRegression, Lasso, Ridge fr...
[ "jschwane@gmail.com" ]
jschwane@gmail.com
fced4e0818140de43fec1105cf81e34675f42c09
4c054c36e80cca5f79e0c4a9665faf3b838b4ce9
/postprocessing/archive/UWater Supply PlanningResEvalMdlgGWMNFSEGV1.15_modelPEST_GIS_Postproccase007h_PO_noRF_finalpest_postprocbin/e2__NFSEG_Zonebudget_Figures.py
7b37dcb97d8dc5763b2e84a062f6c792b8fac820
[]
no_license
sjrwmd-wmm/nfseg_processing_utilities
534ac5070488d566388ce89a8af996e4542b14f1
6ede5f493f72df51b5a6d45f4179100e5beef14e
refs/heads/master
2023-03-20T22:30:19.154544
2021-03-11T21:51:09
2021-03-11T21:51:09
341,916,912
0
0
null
null
null
null
UTF-8
Python
false
false
21,330
py
import arcpy import sys import os import time arcpy.env.overwriteOutput = True start = time.clock() import numpy as np import fnmatch start = time.clock() # routines to flip arrows (trd 20171201) def flipUP(elename): for gre in greList: if gre.name == (ele.name+"_arrow"): XPOS = gre.elementPos...
[ "pbremner99@gmail.com" ]
pbremner99@gmail.com
b6b7d1d5d578a8190c28f91375647fe6f1c28d88
5c3b77012d86ee5d0b5746f1c17e6284f28ae667
/custom/addons-hugo/Modulos especificos/product_cost/models/product.py
130bc990cbfc51e96c0b61d6bebf45993c1b4e43
[]
no_license
apesquero/Odoo-10-PyCharm
c7e813979cf9bd87d23b5d2b680ba04a784c8f0d
e8a17a97aab99d9133e50bbbfd8bfbe689995f44
refs/heads/master
2018-10-21T05:48:59.770463
2018-09-05T18:45:49
2018-09-05T18:45:49
120,489,311
2
0
null
null
null
null
UTF-8
Python
false
false
19,413
py
# -*- coding: utf-8 -*- import numbers from openerp import models, fields, exceptions, api, _ import openerp.addons.decimal_precision as dp from openerp.exceptions import UserError from openerp.addons.product_price_cost_base.models.simpleeval import simple_eval, InvalidExpression class ProductCostExtra(models.Model...
[ "apesquero@gmail.com" ]
apesquero@gmail.com
7b526764995917422d721659a971462b18bfe82b
eca0357843c9d3f99d6a6c42f300f0a1910f4ab4
/for-one-linea/main.py
42e49b4d0a255a5a48ba6496669f8bfbc06a767a
[]
no_license
cokkike88/python-kok
8184cd3234e2fe6d281936d96f24b251c4e72266
1a994a6f1383b1df3e9f1509e1dedd14c8238642
refs/heads/main
2023-04-15T18:26:09.830874
2021-04-22T07:22:10
2021-04-22T07:22:10
360,268,966
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
# This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. def print_hi(name): # Use a breakpoint in the code line below to debug your script. print(f'Hi, {name}') # Press ...
[ "cok_eight@hotmail.com" ]
cok_eight@hotmail.com
af0c3c142ca16e37586048b4f96ec76da1cca252
35010e85657b3a943738ca8b04a317a1de3caf04
/produto/migrations/0003_alter_variacao_options.py
0f07a949eaaab7b74a91b757d5c7adf8c77cf65c
[]
no_license
willgvfranco/django-ecommerce
00eb6a318ebb2d31184f4a066f4c81d661d7a86c
97890f159fa10d46a35daf89a682132379f8ffba
refs/heads/master
2023-05-11T09:42:10.283298
2021-05-20T02:54:59
2021-05-20T02:54:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
383
py
# Generated by Django 3.2.3 on 2021-05-15 01:17 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('produto', '0002_variacao'), ] operations = [ migrations.AlterModelOptions( name='variacao', options={'verbose_name': 'Variaç...
[ "williamgvfranco@gmail.com" ]
williamgvfranco@gmail.com
876b621d2137ffd49f796cb5050cb9512cff100e
5eeaac5d3afe03cb065ad514054c3f62ecbca750
/HRMS/migrations/0012_auto_20191222_1651.py
c8b9f4cbcd3bfb225e1e8823fb4b37799a13e5e1
[]
no_license
InvokerAndrey/graduate_work
e8de1b7e83c4a3b609b3746533cd1c871f3765a4
62104a9a2209312b6c035eef49bf0b72e62866b8
refs/heads/master
2023-07-31T10:06:20.492259
2021-09-27T09:11:11
2021-09-27T09:14:03
410,814,630
0
0
null
null
null
null
UTF-8
Python
false
false
1,231
py
# Generated by Django 3.0 on 2019-12-22 13:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('HRMS', '0011_auto_20191221_2326'), ] operations = [ migrations.AlterField( model_name='position', name='education_requ...
[ "dydyshko1999@gmail.com" ]
dydyshko1999@gmail.com
bd559329e37823999dbf2b5a51e5cec08284346c
f3d7a8aaf2b4871eb0f292be0d03ee9b10cf8803
/views.py
34333de35b6cdf47efe99aad0176256cb40243bb
[]
no_license
dazbash/FlaskBlog
f990ba9f814ce7728240ac9ee43f21176a3447ad
8d29d89b5528725810c9bc1c77205b2c1561e4f1
refs/heads/master
2022-10-16T00:12:32.433183
2020-01-23T07:59:38
2020-01-23T07:59:38
230,219,291
0
0
null
2022-09-16T18:16:22
2019-12-26T07:43:47
Python
UTF-8
Python
false
false
127
py
from flask import render_template from app import app @app.route('/') def index(): return render_template('index.html')
[ "javadolaemeh49@gmail.com" ]
javadolaemeh49@gmail.com
e206cde9dcb6e4f5d1415f96160275835c6c3060
d17706b3061c93b9f83f2e9c28e58eadcbe058cb
/problems/8.py
2e897b02fca31cc20f81382321c199a4d5e18149
[]
no_license
Luctia/project-euler
b89c75a40c175216c9db00288edfcceb19e77ae3
56c207b37d67dcb9ae24e2afe61f4b145d69773a
refs/heads/master
2023-08-25T12:58:49.430470
2021-10-30T17:03:20
2021-10-30T17:03:20
391,651,581
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
import math NUMBER = 7316717653133062491922511967442657474235534919493496983520312774506326239578318016984801869478851843858615607891129494954595017379583319528532088055111254069874715852386305071569329096329522744304355766896648950445244523161731856403098711121722383113622298934233803081353362766142828064444866452387...
[ "timmerman.luc1999@gmail.com" ]
timmerman.luc1999@gmail.com
d930808b9a505f0e701be59900a756fcee2fdfc0
e68247f79e7bcee4c4ec6293efb3e017fe5a7047
/Convolutional/datasets.py
456b324865f908cbce7021ce47849fc0c2695bf1
[]
no_license
npbcl/icml21
3a2dc9e555fdb3eac1f96da25ea1b9ef381901d0
fce65915de54c7ad95b9ece0b960bc465fcd08d0
refs/heads/master
2023-03-01T13:27:06.047074
2021-02-10T09:41:56
2021-02-10T09:41:56
238,905,420
4
2
null
null
null
null
UTF-8
Python
false
false
2,320
py
from __future__ import print_function import os import numpy as np from urllib3 import request import gzip import pickle import os.path from os import path import matplotlib.pyplot as plt from urllib import request import os import sys import tarfile from scipy import ndimage from PIL import Image import re import ...
[ "kumarabh@microsoft.com" ]
kumarabh@microsoft.com
392828c8ff7b1d323f4dda6c0d105bde46b4976c
608b5afd3af1b4dbc5c6778f3f3e71ff7652054e
/setup.py
900a51ed593258c536d295e34b5fb1fdbb43144d
[ "MIT" ]
permissive
shresbi/py-web
6bf53bc2aef048a2465d7478e7b69ea351de089d
50a3899b82057840689fcf2e9e4af070d58a43fe
refs/heads/master
2020-03-12T02:22:23.922839
2017-11-29T18:55:01
2017-11-29T18:55:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
329
py
import setuptools setuptools.setup( version="0.0.1", license='mit', name='py-web', author='nathan todd-stone', author_email='me@nathants.com', url='http://github.com/nathants/py-web', packages=['web'], install_requires=['tornado==4.5.1'], description='a minimal, data centric web li...
[ "me@nathants.com" ]
me@nathants.com
a9546a02e4ffcc7b91841a3e10a7c6a47b379b6a
6c1c4284cfc66216a5f8faf6a9b90c3192f3d61e
/com/isa/python/chapter6/Strings.py
365aafa821af37d3128285030d8be236b1385d41
[]
no_license
isaolmez/core_python_programming
2c316f1dbf2a83175d2d4ab5fe01651c99935263
6275cfa3701e573c7e5f9e4d422488611786c039
refs/heads/master
2021-01-17T19:23:15.786220
2016-07-09T13:41:34
2016-07-09T13:41:34
56,500,959
0
0
null
null
null
null
UTF-8
Python
false
false
582
py
## Strings are immutable so you cannot modify an existing string object. You can create a new string object with contents taken from source string and then manipulated. first = "a" second = 'a' print first is second listStr = str(range(3)) print listStr text = "isaolmez" print text[1:] s1 = "a" s2 = s1 s1 = "b" ## ...
[ "isaolmez@gmail.com" ]
isaolmez@gmail.com
fbc66d973a75b1d01d107cd5cfb5faf9931848fa
17f5fac9cd23dd705973e1439db551658f6ceb52
/dz5/task1.py
4c57d78a647d8ce386e48f4ab097091f37057daf
[]
no_license
rozmeloz/PY
8d3fae1a386d22b18cad3834140244d64fbe1094
70773ae885b27b392ab6006698c36685130015fc
refs/heads/master
2021-01-06T16:45:18.043957
2020-02-10T22:38:54
2020-02-10T22:38:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,059
py
''' Про инков ''' s = [c for c in input('Введите: ')] s.append('.') i = 0 knot = 0 prepend = ['(', ')', '+', '-', '/', '*'] p = [] while i <= len(s)- 2: if s[i] in prepend : p.append(s[i]) elif (s[i] == '@') and (s[i+1] == '@'): knot += 1 elif (s[i] == '@') and (s[i+1] != '@'): knot...
[ "59009916+chost2004@users.noreply.github.com" ]
59009916+chost2004@users.noreply.github.com
9e85aedc8db94ea25f38968f18e0d90e01322bfe
e8f3365ad89c6cf2a264bf0fb934c7ba123757a0
/datamonkey/datamonkey/lib/redshift.py
3fe27687cd39d86c914008823395717622ae0328
[]
no_license
eatseng/insight
9313d23c711ecdb456addc5278a589aab8223765
afa5bb6aab22df7e8c62e7aa12c4fa09833daa26
refs/heads/master
2016-09-02T06:15:32.255545
2015-04-30T03:59:22
2015-04-30T03:59:22
34,832,747
0
0
null
null
null
null
UTF-8
Python
false
false
6,957
py
from __future__ import absolute_import import psycopg2 import psycopg2.extras import psycopg2.extensions from cStringIO import StringIO from boto.s3.key import Key from clay import config from boto.s3.connection import S3Connection psycopg2.extensions.register_type(psycopg2.extensions.UNICODE) psycopg2.extensions....
[ "edwardtseng@gmail.com" ]
edwardtseng@gmail.com
0bf9eea56b83d6474919c148dc6af0b026a65fbf
80d46af8bad0da6066cca4c0f9666fc1f8a9bd6a
/power.py
5ab7e58a936d6ba34215c25653f8539889af6cb2
[]
no_license
mayamithra/python-programming-
67cee943bfb8f936374cb8c4ef4cddf5f6f50867
48c7486f7c2a93b12373a3dfd81dde613a1364de
refs/heads/master
2021-07-17T00:26:18.276539
2019-02-05T09:50:16
2019-02-05T09:50:16
149,116,166
0
1
null
null
null
null
UTF-8
Python
false
false
39
py
n1=input() n2=input() p=n1*n2 print(p)
[ "noreply@github.com" ]
mayamithra.noreply@github.com
8a51710385c631437309fc3c7b1b1bcaa70be064
f073292678251f2b022aaa0864a66f9f480e25f6
/app/core/management/commands/wait_for_db.py
4900227f5c0918f8f6ba04b6dab373e8877153f6
[ "MIT" ]
permissive
SammyVome/recipe-app-api
412776ab84d126f9f7d7a72152d89a941665a0d3
61195e36ff05733d0a981b4b8d285adccc7a9c44
refs/heads/master
2022-11-07T23:46:52.144765
2020-06-13T21:53:57
2020-06-13T21:53:57
269,751,759
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
import time from django.db import connections from django.db.utils import OperationalError from django.core.management.base import BaseCommand class Command(BaseCommand): """Django command to pause execution until database is available""" def handle(self, *args, **options): self.stdout.write('Waitin...
[ "sammy.fagen@gmail.com" ]
sammy.fagen@gmail.com
843b40a9cca2383171cf684bd6e4786637a3b6ab
21a6b7abace13cef3a6f55f081d52c3cf182f971
/ex7.py
3431e3e8171c7b247fb2fbb2caff92fecfca5a5c
[]
no_license
PWynter/LPTHW
75ff58c1be70a7863b89b6e533a933acf978aee8
0d80dfad864cdf0ade01d35c7eb9561c5aac3197
refs/heads/master
2020-05-09T14:27:31.748840
2019-05-07T06:47:00
2019-05-07T06:47:00
181,194,973
1
0
null
null
null
null
UTF-8
Python
false
false
384
py
print("Mary had a little lamb.") print("It's fleece was white as {} .".format('snow')) print("And everywhere that Mary went.") print("." * 10) end1 = "C" end2 = "h" end3 = "e" end4 = "e" end5 = "s" end6 = "e" end7 = "B" end8 = "u" end9 = "r" end10 = "g" end11 = "e" end12 = "r" print(end1 + end2 + end3 + end4 + end5+ ...
[ "noreply@github.com" ]
PWynter.noreply@github.com
666ae8c346bf4ae8d956123385a762db5f032737
6fcdf0a4e0e11d86c20a468e5f663ead8c266bb7
/django_admin_api/comentarios/api/serializers.py
8a599f9fc55c4a16afc9b4fbc32416a7d6a9d076
[]
no_license
carolbarreto/django-admin-api-restful
f393ac849a28370c571827ac92f1f148f756868d
4481e7689d1ed943e714d3d51dbd7244df33652c
refs/heads/main
2023-05-13T14:21:25.924552
2021-05-31T23:18:19
2021-05-31T23:18:19
368,322,859
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
from rest_framework.serializers import ModelSerializer from comentarios.models import Comentarios class ComentarioSerializer(ModelSerializer): class Meta: model = Comentarios fields = ['usuario', 'comentario', 'data', 'aprovado']
[ "carolbarreto.ce@gmail.com" ]
carolbarreto.ce@gmail.com
6b38b49072355bc0eac2193ea5f7f6e6fab66864
998c6bd0d3168c8619b18a478338caa753ea129b
/flat_bandpass.py
3b3f6d0cd911c6cb987a26252ae144ca60f9163e
[]
no_license
louisbondonneau/psrfits_search
d87dce3b74bee8dee5c4caccce97fdeaa7e809a3
d76bc99da0531df6fc32a36628f14ef87ebe01cf
refs/heads/master
2023-07-09T12:50:42.794288
2023-06-29T14:06:29
2023-06-29T14:06:29
281,105,118
1
1
null
2023-06-29T14:06:30
2020-07-20T12:04:35
Python
UTF-8
Python
false
false
17,404
py
# RESCALE TIME # Resize data array extracted from a FITS file to a new number of rows. # Used to decrease the time lapse of a block for a involve the rfifind processing. # MODULES import numpy as np import pyfits as fi import sys import argparse as arg import os # ARGUMENTS LIST parser = arg....
[ "lbondonneau@nancep3.obs-nancay.fr" ]
lbondonneau@nancep3.obs-nancay.fr
5728540498983482ad98af45aa516f85770d2519
bf695d6099e9e76c798cbe7ef93aa50589fb7447
/muon-histograms.py
8a18ed330abb0335a683f06ba8384e362e712d82
[]
no_license
maxastyler/dah-checkpoint6
b45a0726d08349feaf7f32e672bd9bed88ac2fa8
c6ef84af40f51d2c844d023814f13bdb2377af7b
refs/heads/master
2021-06-07T19:47:38.317925
2016-11-02T18:05:44
2016-11-02T18:05:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,072
py
#!/usr/bin/env python3 import numpy as np import matplotlib.pyplot as plt import scipy.optimize data = np.loadtxt("upsilons-mass-pt-xaa.txt").flatten() #Range to take x from = [8.5 -> 10.99] #Take away data from 9.17 -> 9.66 and 9.84 -> 10.55 histed=np.histogram(data, bins=1000, range=[8.5, 10.99]) frequencies=histed...
[ "mtyler88@gmail.com" ]
mtyler88@gmail.com
cd4ed7ef774e0668bb1bb515c72a1a2ef5de833b
a0d4eaa576543f0c5da4c76a23ae5204599f7715
/ClinicAPI/ClinicAPI/wsgi.py
5b46f18f0d85fd2907b11779ee574c6246377d58
[]
no_license
AYHD-youtube/Django-Clinic-Management-API
220f8f1a73caf9113a05927110fbf9d47200eba5
f2fadf7463f21e3988647e6c79d2a456af81aa32
refs/heads/main
2023-06-07T00:17:11.475466
2021-07-02T18:00:16
2021-07-02T18:00:16
365,146,936
2
0
null
null
null
null
UTF-8
Python
false
false
395
py
""" WSGI config for ClinicAPI 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/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SET...
[ "abhishek3yadav3@gmail.com" ]
abhishek3yadav3@gmail.com
046554408249456c30a823c8ac25e8ff224ce88e
f6d5be69b92b5baf0d5f4ba683ad6210a5c7ff07
/backup.py
f69ba1eb634df25b82a61f6c80e9ca6cb714dd5a
[]
no_license
vedanshvachani/python
3b148e4f2628a47ffab5c7a5a1604e5b5bbfbab7
167b2105cc2f2243fed4ad111237509cc78cb74c
refs/heads/master
2021-07-02T18:36:18.862533
2020-09-07T15:56:58
2020-09-07T15:56:58
158,910,349
2
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/python import os import shutil path = "/root/Downloads/backup/" def copyPath(path,path1): for root,dirs,files in os.walk(path1,topdown=True): for i in files: ab = os.path.abspath(os.path.join(root,i)) os.system("cp -r "+ab+" "+path) path1 = raw_input("enter the path : ") if(os.path.exists(path1)): ...
[ "noreply@github.com" ]
vedanshvachani.noreply@github.com
e6df29d1f8e2bd031d22a4c4a6f8359cf0a2e06c
c27d623bc54e3f1d4d27a9dc432ab3f0142be7a7
/tech/models.py
11350f492e6b866c7daea33b119d500199890236
[]
no_license
spconger/TechReviewW2020
0faaa63943c64d8721898e41a8e03b0a0b61c124
714dff9c68316de09f1bffb52b21dce9700fefae
refs/heads/main
2023-02-27T18:24:10.813532
2021-02-06T21:56:41
2021-02-06T21:56:41
316,020,832
1
3
null
null
null
null
UTF-8
Python
false
false
1,981
py
from django.db import models from django.contrib.auth.models import User # Create your models here. ''' Models for techreviews: Models become tables in the database. Each model has an autonumbered id by default, though you can change that and delare your own primary keys. I won't do that here. TechType, which describ...
[ "spconger@gmail.com" ]
spconger@gmail.com
d0bf900fa6f07d26d98117838971d665ef9a68b6
33d74150807183ca860581fdbcab5d4a6d7bbf8c
/dragonfly/string/decode.py
a8f115e944638adf4c39c1e8d907b0f47def4991
[]
no_license
agoose77/hive2
c52623063773683ccd4f091dd411b6ad389c86fa
235a2f01dfd922f56d850062f2219bd444d24e7e
refs/heads/master
2021-01-24T02:47:08.831426
2017-06-29T00:41:09
2017-06-29T00:41:09
32,750,407
8
0
null
2015-08-05T00:33:29
2015-03-23T18:18:31
Python
UTF-8
Python
false
false
728
py
import hive def build_decode(i, ex, args): """Decode bytes into a string""" args.encoding = hive.parameter('str', 'utf-8') ex.encoding = hive.variable('str', args.encoding) i.string = hive.variable("str") i.pull_string = hive.pull_out(i.string) ex.string = hive.output(i.pull_string) i.by...
[ "goosey15@gmail.com" ]
goosey15@gmail.com
6012ed4f72f4cfd83e9f4e0b0c55f7c39f58b843
267298206e19567d2399cd32f7d4ac264f470760
/sorbet/feedmanager/migrations/0002_add_field_feed_hash.py
f777a667545d066636901fe89b43091e3552588a
[ "BSD-3-Clause", "CC-BY-3.0", "BSD-2-Clause" ]
permissive
kklimonda/sorbet
e340b4d5749ddb06e313f6b17f968b4391072cf8
d7d0d04fbd6ba16700a7549cfe1d240ca51693af
refs/heads/master
2021-01-18T06:30:10.063506
2012-07-15T06:20:16
2012-07-15T06:20:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,368
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Feed.hash' db.add_column('feedmanager_feed', 'hash', self.gf('django.d...
[ "kklimonda@syntaxhighlighted.com" ]
kklimonda@syntaxhighlighted.com
b4849bbe58f636c0f7b5ca205496c0dac740bc4b
7f63e3529b5a15e0f8221d92ca546c4715aae5a0
/venv/Scripts/easy_install-script.py
26ee29fab89bc688595d5d10d8e2693bed5eac5f
[]
no_license
tuzzo77/djangotodo
953d73ff979b5915c6caaa5284a212604802e4e7
c71e7090a51f5ce1d1218c5111bd0b065a3769bb
refs/heads/master
2020-07-25T11:12:31.116114
2019-09-13T13:47:43
2019-09-13T13:47:43
208,270,280
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
#!C:\Users\alex\PycharmProjects\djangotodo\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==40.8.0','console_scripts','easy_install' __requires__ = 'setuptools==40.8.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|...
[ "tuzzo77@yahoo.it" ]
tuzzo77@yahoo.it
ea3f3eaec893a324aea469678def793c22ab8495
4ef902205b2ecca863076e245aac1dd56116e93b
/newweb/test_templateparser.py
d7862e92d293f0dfe9cdae2e13f30b06aa0841be
[ "ISC" ]
permissive
edelooff/newWeb
f4bce302c4847904be2a65bc12d507b23d4ee900
6ee9b512b9a42ef313032e7b79f779b44da3c319
refs/heads/master
2020-12-25T17:26:46.573023
2017-08-23T21:59:51
2017-08-23T21:59:51
19,253,023
0
2
null
2017-08-23T21:59:52
2014-04-28T20:35:03
Python
UTF-8
Python
false
false
37,443
py
#!/usr/bin/python """Tests for the templateparser module.""" # Too many public methods # pylint: disable=R0904 # Standard modules import os import re import time import unittest # Unittest target from . import templateparser class Parser(unittest.TestCase): """Basic tests for the Parser class and equality of Tem...
[ "elmer.delooff@gmail.com" ]
elmer.delooff@gmail.com
2c83e23cf524ec8761f95cc6e52c17eb52eae1d8
ad3c7d3cb743dc625605f4c4323d02ff797e0584
/Code/prep_con.py
24ea0e329c004d2d134517b4a3368a651d375526
[]
no_license
Shaw9575/Mathematical-Pattern-Recognition-
19b7af93148a4fd1c657441b0a97dfb0b8abe7e0
414da484c731bd8ee1b0f75d154cb4e63fbe3c24
refs/heads/master
2020-03-15T01:43:30.000732
2019-06-24T04:29:00
2019-06-24T04:29:00
131,900,390
0
1
null
null
null
null
UTF-8
Python
false
false
4,947
py
# Pre-processing import numpy as np import pandas as pd from scipy import stats from sklearn.preprocessing import Imputer def prep_conti(): df = pd.read_csv('bank-additional.csv', delimiter=',') newdata = np.zeros((4119, 20)) for i in range(0, 4119): newdata[i - 1, 0] = df.iloc[i, 0] if df....
[ "noreply@github.com" ]
Shaw9575.noreply@github.com
cde1922f458bcdb9b5bfa265ad908f346cc22976
ddb65ebc3e012501839f5effcdee87e990748364
/gitlo.py
a5ad2abbad1fb92010e58f71c799b5f6eb24c6c9
[ "MIT" ]
permissive
quyencao/Gitlo
ea224de8e0f8346d4929b0f777d51bc58fb1e1d4
022e87e9cd346f8023c720f41ca68d489cf5a5ad
refs/heads/master
2021-09-22T01:13:38.304304
2018-09-04T11:42:39
2018-09-04T11:42:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,513
py
import requests import click @click.group() def cli(): """Command Line tool to access Github API. Know user info--> gitlo user <username> get repository-list by user--> gitlo repos <username> \b get language percentage of particular repository--> gitlo languages <username> <reponame> ...
[ "siddharthshringi@gmail.com" ]
siddharthshringi@gmail.com
e075e39a62758c8a8ed4b51f5533c3b24e335615
e753418f5f450ba80bd996e39bf5d71c26293c0f
/web/market/users/utils.py
4f0e71c52bc6dc3d9291a8df3c9b1d896a3c28f6
[]
no_license
chrisfid/flask-phone-market
818aec1d341804ce8ff6189429844396366859ec
4a8fac88fabc1583aac9f13c0c8094f8738af916
refs/heads/main
2023-07-01T15:39:14.669343
2021-08-13T16:40:15
2021-08-13T16:40:15
356,641,033
0
0
null
null
null
null
UTF-8
Python
false
false
1,020
py
import os import secrets from PIL import Image from flask import url_for, current_app from flask_mail import Message from market import mail def save_picture(form_picture) -> str: random_hex = secrets.token_hex(8) _, f_ext = os.path.splitext(form_picture.filename) picture_file_name = random_hex + f_ext ...
[ "krzysztof.fidyka@gmail.com" ]
krzysztof.fidyka@gmail.com
746473740108fc84e035a8fd663d66c9ffd07d05
f2575444e57696b83ce6dcec40ad515b56a1b3a9
/Algorithms/Strings/TheLoveLetterMystery.py
4a91f2fba1af78d5c73d22d0ccffa5384384ee65
[]
no_license
abhi10010/Hackerrank-Solutions
046487d79fc5bf84b4df5ef2117578d29cb19243
da2a57b8ebfcc330d94d104c1755b8c62a9e3e65
refs/heads/master
2021-07-24T09:41:49.995295
2020-07-12T09:31:58
2020-07-12T09:31:58
195,647,097
4
0
null
null
null
null
UTF-8
Python
false
false
377
py
import math import os import random import re import sys def theLoveLetterMystery(s): x=s[:int(len(s)/2)] y=s[math.ceil(len(s)/2):] c1, c2 = [],[] ans = 0 for i in x: c1.append(ord(i)) for i in y: c2.append(ord(i)) c2 = c2[::-1] for i in range(len(c1)): if c1[i]!...
[ "noreply@github.com" ]
abhi10010.noreply@github.com
4ba9fe3ea1b0c3b6aa2f0c62e3e04fca78567ac9
00f83b1737f0b4dd7912838eac4b2f68b7f8f6ff
/pa2/__3_Missing_Data_Processing.py
880dc420c74cc1545890683fe6c6b04884bb5c12
[]
no_license
jmausolf/Machine_Learning
dd4f2cf720c5b429d6617058239403f649d3eefd
f90bea92347f041a2fb3ab9ba25c349b6dfe2d9f
refs/heads/master
2020-05-21T01:04:36.718900
2015-06-07T02:05:28
2015-06-07T02:05:28
35,919,262
1
0
null
null
null
null
UTF-8
Python
false
false
1,789
py
""" Joshua Mausolf - CAPP 30254 Assignment 2 In this python module I pre-process the data by filling in missing values. """ import sys, os import csv import pandas as pd import re #_____________ PART 3A _______________________________________________ # # Pre-process values by filling in missing values. ## I made...
[ "Joshua@joshuas-imac.attlocal.net" ]
Joshua@joshuas-imac.attlocal.net
6cc469ea00e31b87cc76779d9e80678a81c4a06f
2b7250de4a549692b1dc8c187e7734b99d28d16c
/custom_components/volkswagencarnet/__init__.py
4e55fdb3393e4e291f4d91def35db73e9d326544
[]
no_license
Jazzi0/homeassistant-volkswagencarnet
fe0a1d2db437f3427f08ff898ed57d411641d883
189b22a21f15374dd12e26a5c33e8ed7d0819a2a
refs/heads/master
2020-07-10T07:18:58.953774
2020-02-01T09:56:01
2020-02-01T09:56:01
204,202,941
0
1
null
2020-02-01T09:56:02
2019-08-24T19:27:47
Python
UTF-8
Python
false
false
7,951
py
# -*- coding: utf-8 -*- import logging import voluptuous as vol import homeassistant.helpers.config_validation as cv from datetime import timedelta from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, CONF_RESOURCES, CONF_NAME, CONF_SCAN_INTERVAL) from homeassistant.helpers import discovery from homeassistan...
[ "me@robinostlund.name" ]
me@robinostlund.name
88d9496d7bf4cf6e7d5a110cb9f93bcc7f8c312a
94dbcfecd9559bfdc7ed37d0224abdc89fdcca89
/test_start.py
148cf3bf855af4e77a1b13a55a348d705d7a882e
[]
no_license
samtrot1524/6axes
57fd812a67d9edcda60d64ddf9f69dfe27807a24
1f8d0c3f7d131415a79aeffdd8e89162258681d6
refs/heads/master
2021-08-17T11:17:54.139018
2017-11-21T04:30:51
2017-11-21T04:30:51
111,498,969
0
0
null
null
null
null
UTF-8
Python
false
false
28
py
bla bla bla bla bla 2
[ "noreply@github.com" ]
samtrot1524.noreply@github.com
f8d2d6ac9548efd47c1d02e712d553948d6ef950
dc1855a5d0b56dc11fc624589c3260451be8c81a
/store/mainapp/migrations/0006_auto_20180926_1127.py
cedc758d4031e8fd29c2e03ac0c3b0816b284dbc
[]
no_license
nicolasechen/store
d73d93ba3e9532b38a5ccc66e112001ef741924c
487bd2df4735d065d43de560e938d2a104e59e92
refs/heads/master
2020-03-29T08:30:27.357857
2018-11-06T02:22:12
2018-11-06T02:22:12
149,714,438
0
0
null
null
null
null
UTF-8
Python
false
false
680
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-09-26 03:27 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('mainapp', '0005_auto_20180926_1036'), ] operations = ...
[ "nico@mail.eagleskytech.com" ]
nico@mail.eagleskytech.com
076e2c21c54adfbbf6fb490ca0200703100e72eb
1b5404b8099de74d4e39e0a41b1d04c61defa8d4
/Олимпиады/Timus/1336.py
52e412e811226b5d3b987476dbb40a668420779e
[]
no_license
ipeterov/random-stuff
5d07bdcfdcb145d06ed89095f2ad34b70ff0f0bd
dbb38d42331f636919fd149b23783e02ee2c9afb
refs/heads/master
2023-05-14T00:41:51.122251
2023-05-04T12:10:26
2023-05-04T12:10:26
206,028,412
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
n = int(input()) for y in range(1,n+1): x = (n * y**3)**(0.5) if type(x) == float and int(x) == x: print(int(x)) print(y) break
[ "ipeterov1@gmail.com" ]
ipeterov1@gmail.com
2e3c829ab244fe65976b3694300d5c3a2eb342a8
1e83829918c7d26585b57c5cd2bed68d3deedf6b
/venv/bin/easy_install-3.6
74a88718369e1610214ceab836741fa8f317fedf
[]
no_license
De4rm/flask-user-info-api
4e8a1a7f49e8e25842982f59da0f3fe4b56bc5fe
0dd5148e13a8e3feced75ee8e60a23115eba2d85
refs/heads/master
2020-03-07T20:56:07.405855
2018-04-02T05:57:34
2018-04-02T05:57:34
127,711,692
0
0
null
null
null
null
UTF-8
Python
false
false
269
6
#!/home/de4rm/Documents/Flask/whomai/venv/bin/python3 # -*- coding: utf-8 -*- import re import sys from setuptools.command.easy_install import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "graurvadim91@gmail.com" ]
graurvadim91@gmail.com
6cc1e53136510f8cd182137abdaeaa04503e0e81
3c1fa04d04cb2ba46bc8c1d0ba97aab3cb1fdfe2
/nova/tests/unit/api/openstack/placement/test_deploy.py
403df8a7a5dfdd9f53ffa585a534c9c62f22878d
[ "Apache-2.0" ]
permissive
arvindn05/nova
ddd900d47a6c9a3832c4deda0a60bb28dea13799
1d335b333245198dbf39841eedd221377beb58c2
refs/heads/master
2021-01-25T11:28:19.669580
2018-04-26T13:55:56
2018-04-26T13:55:56
123,398,672
0
0
Apache-2.0
2018-03-01T07:36:40
2018-03-01T07:28:04
Python
UTF-8
Python
false
false
1,572
py
# 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 agreed to in...
[ "cdent@anticdent.org" ]
cdent@anticdent.org
51635e5ed6ebc6f9ce37701cefd64f0a54aff036
44715bc474c7136c39c59c0c6fa09a7c654163dd
/utils/qiniu.py
a236eda89867b2bc34e69a6c31d13ae5f4b10f5f
[ "MIT" ]
permissive
ggitta/blog
338674c199873dbb8698fe67f4205e1584de4dec
bffb1bf9eb43df98eee6c9a4b9f7d1fd06bc3ef1
refs/heads/master
2021-12-13T23:51:35.837052
2021-12-02T02:40:42
2021-12-02T02:40:42
191,341,921
1
0
null
null
null
null
UTF-8
Python
false
false
535
py
from qiniu import Auth, put_file, etag from jfsite.settings import ACCESS_KEY,SECRET_KEY,PERURL,BKNAME q = Auth(ACCESS_KEY, SECRET_KEY) #上传后保存的文件名 key = 'my-python-logo.png' def upload(key,localfile): #生成上传 Token,可以指定过期时间等 token = q.upload_token(BKNAME, key, 3600) #要上传文件的本地路径 ret, info = put_file(token...
[ "1392670234@qq.com" ]
1392670234@qq.com
6f70359b893f70859a6f08eac88bddb34a844b23
ee3fe2c9167a382aad67cf5108be4edc7e520171
/hni/wifid.py
0ca93f394820ac10dc4fe02938f1872487f9429c
[]
no_license
Rovertholley/WiringPi
5bdbd865a4021f0769119e6f0db9892c7de5efc4
3559ce4f467e96a81b3a7cd0ce5b2e42cf4f38bd
refs/heads/master
2020-03-22T14:57:35.270913
2018-07-17T02:26:31
2018-07-17T02:26:31
140,218,074
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
import os import time def setup_conf_files(): dir = os.path.dirname(__file__) + '/conf/' _copy_file_no_overwriting(os.path.abspath(dir + 'dhcpd.conf'), os.path.abspath('/etc/dhcp/dhcpd.conf')) _copy_file_no_overwriting(os.path.abspath(dir + 'udhcpd.conf'), os.path.abspath('/etc/udhcpd.conf')) _copy_f...
[ "pjmpiop@gmail.com" ]
pjmpiop@gmail.com
dfbff07e71bbb5bb4ed4d4f2d5c8735b40db0626
af7f4a92720e31ae8a1d616ec7c727491ad4ac7b
/src/roles/sharpshooter.py
bf68e934d40694af002381c2f5c2b176245f6184
[ "BSD-2-Clause" ]
permissive
MishaCatskill/lykos
6a24bdc425125fed28b2d2299dca5057686ce57b
e4461416c18988b6195710abb2ce85824102ccd6
refs/heads/master
2021-07-01T06:53:11.905654
2018-10-19T02:15:44
2018-10-19T02:15:44
153,720,406
0
0
null
null
null
null
UTF-8
Python
false
false
1,315
py
import re import random import itertools import math from collections import defaultdict from src.utilities import * from src import channels, users, debuglog, errlog, plog from src.functions import get_players, get_all_players, get_main_role, get_reveal_role, get_target from src.decorators import command, event_liste...
[ "vgr255@live.ca" ]
vgr255@live.ca
cf59b23911afcb4569495e1a1045a5c246cc01ce
d11d772a73b7fd61fba68def7cd69c8d211490a4
/glue/models.py
ac46b9b18557c2b12ec5bfbd6d4bb2f9bb6755cf
[]
no_license
rharrell729/huddle
3ab7e41d1aaad80e1398166bf92bbdbf23e30e09
1f54969eaf3bb570d9215a4f74e658f4b7f7dc33
refs/heads/master
2020-06-04T18:47:21.170695
2015-11-04T16:54:06
2015-11-04T16:54:06
33,046,462
1
0
null
null
null
null
UTF-8
Python
false
false
592
py
from django.db import models from django.contrib.auth.models import User class Vote(models.Model): user = models.ForeignKey(User) class Option(models.Model): title = models.TextField() votes = models.ManyToManyField(Vote, related_name='votes', blank=True) class Huddle(models.Model): title = models...
[ "d_leblond@live.com" ]
d_leblond@live.com
51f6dd7806bf2d752fc5f09f43d5411e37c4d310
66e6360325b781ed0791868765f1fd8a6303726f
/TB2009/WorkDirectory/5121 Event Fraction Adc Cut/Profile_108537.py
cb307cc5fff2c5a591246c53aa8d83ea51af9714
[]
no_license
alintulu/FHead2011PhysicsProject
c969639b212d569198d8fce2f424ce866dcfa881
2568633d349810574354ad61b0abab24a40e510e
refs/heads/master
2022-04-28T14:19:30.534282
2020-04-23T17:17:32
2020-04-23T17:17:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,890
py
import FWCore.ParameterSet.Config as cms process = cms.Process("VlsbInfo") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) ) process.source = cms.Source("HcalTBSource", fileNames = cms.untracked.vstring("file:/tmp/chenyi/HTB_108537.root"), streams = cms.untracked.vstring('Chunk699...
[ "yichen@positron01.hep.caltech.edu" ]
yichen@positron01.hep.caltech.edu
b52b5a81401c778303b14c1ce311786c7e3ff9d2
94bc9af204919775bd7f228b90c9111996d519cf
/linear/test.py
18bcc2573641f7e5c34af02828126e6c902edb70
[ "Apache-2.0" ]
permissive
dkp-1024/my_machine_learning
e1cf3f36b152671875e27edb04c92627f2c18b45
11ace64c7ae5c709f20cb6691529768b42d08d22
refs/heads/master
2020-03-19T01:22:19.583402
2018-05-31T06:19:37
2018-05-31T06:19:37
135,540,338
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
import os os.environ['TF_CPP_MIN_LOG_LEVEL']='2' import tensorflow as tf x = tf.constant(35, name='x') y = tf.Variable(x + 5, name='y') print(y) import tensorflow as tf x = tf.constant(35, name='x') y = tf.Variable(x + 5, name='y') model = tf.global_variables_initializer() with tf.Session() as session: sessio...
[ "noreply@github.com" ]
dkp-1024.noreply@github.com
6bd5e98a294805536427c0f47065d221a069340c
1539cae50c650ce77d806277b3ebe9a177dedb07
/compiler/compiler.py
0c932b303707ccd53ad5cc79e40f03f342ae3845
[]
no_license
vudaoanhtuan/Assignment_Management_Server
58465c2e86fd0ade1635c538f5e9acd8505933d4
07667233b39bf8fd14b210e1536a14d46e07e120
refs/heads/master
2021-08-30T12:40:13.110662
2017-12-18T01:18:09
2017-12-18T01:18:09
112,940,425
0
0
null
null
null
null
UTF-8
Python
false
false
605
py
import os import xml.etree.ElementTree as ET def compile(compiler_name, source_file_list, exe_file, log_file): cm = compiler_name + " " for filename in list(source_file_list): cm = cm + filename + " " cm = cm + " -o " + exe_file + " > " + log_file + " 2>&1" res = os.system(cm) return res ...
[ "vudaoanhtuan@gmail.com" ]
vudaoanhtuan@gmail.com
e30f6f7fd13e31f856515cee88244d7ef0e1badd
95444cf00367b8afb7995f38e805824d0259e4ab
/DailyFrsh/apps/goods/views.py
64554118cfce81a3171b2be969c220ac47aca0ad
[ "MIT" ]
permissive
GSFNE/b-b-b
1675fa3a55819afa0fa1aa701a3d3602e0325caf
6004306a752cefc35956cc20da1af4e47168666e
refs/heads/master
2021-08-29T01:47:06.202099
2017-12-13T10:17:58
2017-12-13T10:17:58
112,737,926
0
0
null
null
null
null
UTF-8
Python
false
false
8,146
py
from django.shortcuts import render, redirect, HttpResponse from django.views.generic import View from django_redis import get_redis_connection # 链接redis数据库 from apps.goods.models import GoodsType, IndexGoodsBanner, IndexPromotionBanner, IndexTypeGoodsBanner, GoodsSKU from apps.order.models import OrderGoods from dja...
[ "123@163.com" ]
123@163.com
3e05e78e17b355c640da185e9558ca91381dce42
c411c5513ec5d58eb0e0edab0b6a697974d638fb
/model/my_model/ResUnet.py
2cd80c71c60bc1b404b2f28dc3968b7e15664933
[]
no_license
blue88blue/Segmentation
ab7f9dec4ab1ab4cdb4b8ca5af0cb9e1a560e20f
69c4db1897a550a08a63811ffbb817754c20fbf2
refs/heads/master
2023-03-01T06:58:49.405779
2021-01-27T02:07:56
2021-01-27T02:07:56
296,049,616
4
3
null
null
null
null
UTF-8
Python
false
false
2,669
py
from model.segbase import SegBaseModel from model.model_utils import init_weights, _FCNHead from .blocks import * from .SPUnet import SPSP from .ccr import ccr class ResUnet(SegBaseModel): def __init__(self, n_class, backbone='resnet34', aux=False, pretrained_base=False, dilated=True, deep_stem=False, **kwargs):...
[ "805207107@qq.com" ]
805207107@qq.com
cb50aa2494245aa5c59ca56f3e2213d3ab7c947f
37aa95872615830c481320ab3e5c41e900a87bc8
/register/views.py
c1511e5c6bd4e23ae8135b7648e10551bb0b54c4
[]
no_license
watermelon-nakatake/to_miyazaki
097fb4b858c86adffe7bbe7f8f3828a7d76ff6d9
36703f7266ee978604678643de877915cc3e43d0
refs/heads/master
2023-02-24T10:23:07.162120
2023-02-14T01:05:40
2023-02-14T01:05:40
264,803,731
0
0
null
null
null
null
UTF-8
Python
false
false
4,858
py
from django.conf import settings from django.contrib.auth import get_user_model from django.contrib.auth.views import ( LoginView, LogoutView, PasswordChangeView, PasswordChangeDoneView, PasswordResetView, PasswordResetDoneView, PasswordResetConfirmView, PasswordResetCompleteView ) from django.contrib.sites.sho...
[ "kirishima3260@yahoo.co.jp" ]
kirishima3260@yahoo.co.jp
1d14667b7ecc9cdfbde0a1e4777f83f5d2b51773
537e25911adae342c7b2f204ff9eff8b0cf08beb
/MyTensorflow/AlexNet.py
61f212deda4fd2b0726602336b17c9bd9ef946a3
[]
no_license
zhulianhai/DeepLearning
e3302b459812402d6ba8ef31fb2030129c2a36b7
e4c33ad74189a157997bf92d2eec15763a52858f
refs/heads/master
2020-06-13T10:10:13.524626
2017-07-29T04:46:40
2017-07-29T04:46:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,711
py
# -*- coding: utf-8 -*- """ project:Tensorflow实现ALexNet卷积神经 @Author:Gene @Github:https://github.com/Gene20/DeepLearning @Email:GeneWithyou@gamil.com @Website:www.gene20/top """ """ 网络结构:Input-->Conv+ReLu+LRN+Pool-->Conv+ReL+LRN+Pool-->Conv+ReLu-->Conv+ReLu-->Conv+ReLu-->Conv+ReLu -->Pool-->FC+ReLu-->FC+ReLu-->FC+So...
[ "noreply@github.com" ]
zhulianhai.noreply@github.com
1e6a902f205269146fc9ced1abef70cd4a716e1f
13de23a6ffd3ccc6b2a70003afcc410b5e3f3495
/exercises/Exercise 3 - Parking.py
10094f89c1042fa2e0765d394d3db75a049d38b1
[ "MIT" ]
permissive
RedFantom/practice-sql-tasks
e736e11bfe30e12fd44ab61d2d4b8580d4d00a9d
2a08144c9e02a32670a2fed1838bd8f5cfed8dfc
refs/heads/master
2020-12-26T10:36:53.686089
2020-01-31T17:44:04
2020-01-31T17:44:04
237,483,327
0
1
null
null
null
null
UTF-8
Python
false
false
760
py
""" Author: RedFantom License: MIT License Copyright (C) 2018 RedFantom """ from datetime import datetime from database import open_database, execute_query """Open database""" connection = open_database("parking.db") fmt = "%d-%m-%Y" """Determine name of the owner of the car that is parked the longest""" query1 = "...
[ "redfantom@outlook.com" ]
redfantom@outlook.com
171d17dc48c12508bbd7b444b7de5fcb2580ec3d
4d1d8940ca0372d09c574278d42d1a68c9296f64
/app/console/admin/BCModelView.py
e63316a9f72e0a15e6f6b4cb524115b8e6cbac94
[]
no_license
Eliaswilde/Flask_project
cfa5b46ee0a5e6d9002bff72544051513233e02e
d2000ef6cc7b422f5b3a17514c8693a8820c6aa6
refs/heads/master
2020-04-27T23:11:44.921296
2015-03-02T08:06:33
2015-03-02T08:06:36
31,529,478
0
0
null
null
null
null
UTF-8
Python
false
false
692
py
from flask_admin.contrib import sqla from flask import Flask, url_for, redirect, render_template, request, flash from flask.ext import login class BCModelView(sqla.ModelView): list_template = 'bc_admin/model/list.html' edit_template = 'bc_admin/model/edit.html' create_template = 'bc_admin/model/create.html...
[ "Eliaswilde@mail.com" ]
Eliaswilde@mail.com
7f2962f90f23c12cd02fa2c7b28275a154c8c151
10da822e3420c36fd4a05e4440b716bae016a756
/app/forms.py
d1bb4fa34554124e421c9b304ad25c963c3bbe0a
[]
no_license
infinity-milesman/microblog
2cfdd1236b6309328e6d57a9545cc5b9d461878f
e3d59d8910967fea33cf7889d1ba0f7628198681
refs/heads/master
2023-01-07T21:35:35.021627
2020-11-12T12:18:29
2020-11-12T12:18:29
311,271,386
1
0
null
null
null
null
UTF-8
Python
false
false
397
py
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import DataRequired class LoginForm(FlaskForm): username = StringField('Username',validators=[DataRequired()]) password = PasswordField('Password',validators=[DataRequired()]) r...
[ "amit.ssjhs@gmail.com" ]
amit.ssjhs@gmail.com
83a0d8a02d7463ad092dc11dfc86c5bfc1e90331
f7630fd6c829cb306e72472296e3a513844d99af
/lib/python3.8/site-packages/ansible_collections/fortinet/fortimanager/plugins/modules/fmgr_firewall_internetservice.py
db6da2648d4229af0b45afe9ef7d70e065698a46
[]
no_license
baltah666/automation
6eccce20c83dbe0d5aa9a82a27937886e3131d32
140eb81fe9bacb9a3ed1f1eafe86edeb8a8d0d52
refs/heads/master
2023-03-07T10:53:21.187020
2023-02-10T08:39:38
2023-02-10T08:39:38
272,007,277
0
0
null
null
null
null
UTF-8
Python
false
false
25,302
py
#!/usr/bin/python from __future__ import absolute_import, division, print_function # Copyright 2019-2021 Fortinet, Inc. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the ...
[ "baltah666@gmail.com" ]
baltah666@gmail.com
ffb89cb376990b6702c368100b3ab8fba60bca2c
9ca8613fd2d1e9fed477d2fa18797cb97924b4ba
/DynamicQ/views.py
e0cf93729513fcca7ecf31aaf182e6ce151e05fa
[]
no_license
Ajinkya237/Dynamic-Questionnaire-Pre-Final-
a3c9d992d43fc8541b3061678f1f0c2aea8108a8
1d898f591aeb4e743f8a93043fbb25dc6643289a
refs/heads/master
2020-12-24T18:23:15.364371
2016-05-14T05:47:18
2016-05-14T05:47:18
58,790,737
0
0
null
null
null
null
UTF-8
Python
false
false
508
py
from django.http import Http404 from django.shortcuts import render from .models import Question, Choice def index(request): all_questions = Question.objects.all() return render(request, 'DynamicQ/index.html', {'all_questions': all_questions}) def detail(request, question_id): try: question = Question.obje...
[ "jagtap.as95@gmail.com" ]
jagtap.as95@gmail.com
90b2a1a401f8aedf406f67a0ddf8c1a9d13df150
9c3a3a382378f60960efa1e425e531b1111acf82
/desafios/desafio 056.py
707740690dce4a501acc8194c5bd8a99693c28a0
[ "MIT" ]
permissive
juaoantonio/curso_video_python
ae68858be07e7303a7c3d4f4bbd622e9ef0cbbd5
7520223d8647929530a1cd96f7c7d8c8f264ba1e
refs/heads/main
2023-08-23T08:00:16.741277
2021-11-07T20:50:23
2021-11-07T20:50:23
425,601,286
0
0
null
null
null
null
UTF-8
Python
false
false
903
py
# Lendo o nome, idade e sexo de 4 pessoas: idades = [] homem_mais_velho = 0 mulheres_menores_de_idade = 0 maior_idade = 0 for c in range(1, 5): print(f' {c}ª PESSOA '.center(50, '=')) nome = str(input('Nome: ')).strip().title() idade = int(input('Idade: ')) idades.append(idade) sexo = str(input(...
[ "joaobarbosadev@gmail.com" ]
joaobarbosadev@gmail.com
8e025573ea240fa84c85305b619a3efdc76b4de9
70ca39484feec6dd0a6a707966d546b0da40bbaf
/test/mysite/poe/views.py
bd1ecded2c8892bacc9a851519724ff44ee008ab
[]
no_license
Lapeus/django
f184dd1fafd464df85e4d83b66b9ba9e6c21630c
ff4875a6a432052dbe4620162d01e9634713e398
refs/heads/master
2021-06-29T19:13:38.997166
2017-09-17T10:57:42
2017-09-17T10:57:42
103,821,924
0
0
null
null
null
null
UTF-8
Python
false
false
642
py
from django.shortcuts import render from django.http import HttpResponse import requests # Create your views here. def index(request): r = requests.get('http://www.pathofexile.com/api/public-stash-tabs?id=6715219-6940400-6501061-7710885-6962087') rJson = r.json() change_id = rJson['next_change_id'] # ...
[ "wolfma@uni-hildesheim.de" ]
wolfma@uni-hildesheim.de
9251b2fe1bd84f36119cadde501ff41ed6d9f7c7
f6f632bee57875e76e1a2aa713fdbe9f25e18d66
/python/_0001_0500/0271_encode-and-decode-strings.py
bf50c9d80c7636e4d7816346540340a037e7719b
[]
no_license
Wang-Yann/LeetCodeMe
b50ee60beeeb3661869bb948bef4fbe21fc6d904
44765a7d89423b7ec2c159f70b1a6f6e446523c2
refs/heads/master
2023-08-07T05:31:23.428240
2021-09-30T15:33:53
2021-09-30T15:33:53
253,497,185
0
0
null
null
null
null
UTF-8
Python
false
false
2,535
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Author : Rock Wayne # @Created : 2020-07-22 21:56:24 # @Last Modified : 2020-07-22 21:56:24 # @Mail : lostlorder@gmail.com # @Version : 1.0.0 """ # 请你设计一个算法,可以将一个 字符串列表 编码成为一个 字符串。这个编码后的字符串是可以通过网络进行高效传送的,并且可以在接收端被解码回原来的字符串列表。 # # # 1 号机(...
[ "wzy-511@163.com" ]
wzy-511@163.com
b2857831cceb7e8ab2c811718a838e2640b4dc1f
9ce03a9d96213f6cb043d2d79a59ad50d37ac7d8
/venv/bin/python-config
df34b14cacfb2de2aa42e33e54b3a054ecf91e82
[]
no_license
tawfung/first_Django_project
89d412d233c9fd4af038b50160d74f606c5c2bc4
f91142c9947b15e9b96776be3c81b75adabb09ac
refs/heads/master
2021-09-01T05:52:14.454803
2017-12-25T06:31:43
2017-12-25T06:31:43
113,393,852
0
0
null
null
null
null
UTF-8
Python
false
false
2,375
#!/home/enclaveit/PycharmProjects/first_Django_project/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('ab...
[ "tungvanle@gmail.com" ]
tungvanle@gmail.com
f31b3de560e8ca53ca60e44c0619f24741dcbb04
f92269f32d7b1df48f7fce606c941315016b81d8
/pyredispg/redis_wrapper.py
9935da7b8b71389fde073790a3aa9c82933ab7a9
[]
no_license
chimpler/pyredispg
28d4418eb6e7f50a74be1ef83bfe690d962ab655
06d19c4dd3d562997359cbe8fff3bf15078113b6
refs/heads/master
2023-09-01T01:02:48.324641
2017-06-08T04:31:13
2017-06-08T04:31:13
93,357,828
0
0
null
null
null
null
UTF-8
Python
false
false
4,000
py
import json import os import sys import time from pyredispg.exceptions import RedisException from pyredispg.postgres_dao import KeyValue class RedisWrapper(object): COMMAND_FILE = 'command.json' def __init__(self, dao, redis_info): with open(os.path.join(sys.path[0], self.COMMAND_FILE)) as fd: ...
[ "francois.dangngoc@gmail.com" ]
francois.dangngoc@gmail.com
98b3bd1c4e143064d2663f9c23197d9aec982459
95b00f80e2ba9628652472ae315af7aca0febd41
/lab3b/InodesInfo.py
c075cf09391db7b1253c2cf37d99e07b7341c578
[]
no_license
redhairdragon/OS_Project
ece96d893f220274a01483663140a5bf0370ac3f
ded4b1b1becf61e2e232c135e7b845a2c8978450
refs/heads/master
2020-04-27T05:24:27.846857
2019-03-06T05:49:57
2019-03-06T05:49:57
174,080,120
0
0
null
null
null
null
UTF-8
Python
false
false
1,451
py
from SuperBlock import * from Inode import * class InodesInfo(): def __init__(self, report_list): self.superblock=SuperBlock(report_list) self.free_inodes_bitmap=[False]*self.superblock.number_inodes self.inodes=[] for entry in report_list: if entry[0]=='IFREE': self.free_inodes_bitmap[int(entry[1])-...
[ "shen_teng@engineering.ucla.edu" ]
shen_teng@engineering.ucla.edu
d01723a024e12afc14be2a71f76f349b556d394c
9c3852b49ecda13bcc9a28ec7e48d5077b5a3ddc
/specialMath.py
e0cc663c8a130e5fdbc3836da7dd66ea4cd95cf9
[]
no_license
netskink/evidint
4b22bae286978e31d3a1e0e5c0af106345b349ad
4b6ad67346aab0e3de70473dbde8a800bb3ca7d0
refs/heads/master
2016-09-06T19:26:46.688141
2015-06-17T21:07:28
2015-06-17T21:07:28
37,620,910
0
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
#!/sw/bin/python2.7 import sys # the original recursive code def specialMath0(n): if(n==0): return 0 elif(n==1): return 1 return n + specialMath(n-1) + specialMath(n-2) def specialMath(n): # zero and one are special cases. if(n==0): return 0 elif(n==1): retur...
[ "davisjf@gmail.com" ]
davisjf@gmail.com
dab3f0ab7a14720b772e04a7ed139ce003b8b5b2
b9cd129f18e2cbe3c4315e19018e02b60a641a3a
/16-Take comma seperated city names and print in sorted order.py
b7908b0e61028ad8cd6f75cc0274576cf1b4ff7d
[]
no_license
VaibhaV0212/Sample-Programs
d61b294f3b40e05b2d24511eb5cc1a4f0c6a66ba
97f56a1b372c639ebd4fa5cfba2f770abd10a709
refs/heads/master
2022-11-14T23:16:21.762847
2020-07-02T04:44:10
2020-07-02T04:44:10
276,549,010
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
c = input('Enter City name wih comma seperated : ') a = list(c.split(',')) print(sorted(a))
[ "noreply@github.com" ]
VaibhaV0212.noreply@github.com
d96be9168efb4db78bb89d670d2b8578cb148ebc
bae992f3ac2c24d0a9741bd93ab4a6a7168fd51c
/pyprocessBarTest.py
46f9f8dbfbaee536f54899139af31e0e1f1780ee
[]
no_license
duanchun/NordicMutilDownload
a01b00428ad3c23f4b9c5f537f55734a9d1740b6
9bb2ff39809dc0ecd32c3b87ee38c0be060702ff
refs/heads/master
2023-08-02T03:10:23.183631
2021-09-27T02:26:18
2021-09-27T02:26:18
410,434,305
0
0
null
null
null
null
UTF-8
Python
false
false
1,449
py
import wx import wx.lib.agw.pygauge as PG class MyFrame(wx.Frame): def __init__(self, parent): wx.Frame.__init__(self, parent, -1, "PyGauge Demo") panel = wx.Panel(self) gauge1 = PG.PyGauge(panel, -1, size=(100, 25), style=wx.GA_HORIZONTAL) gauge1.SetValue(0) gauge1.SetBa...
[ "xiaojian.tian@tuya.com" ]
xiaojian.tian@tuya.com
3c32bd573510940440c654cb092bdc06a4d9c89b
dc3e24ee5bff9b1357175ff199453ad54efbdb86
/content/plugins/4k-vc-icon-shortcode/inc/util-generate-icon-list.py
4e10526c2c67fccea1b1231abf0520644731b7df
[]
no_license
jruck/wp-boiler
298f8d12c0cddad214391ff8bf51f9ef7d34d100
4a726d6f8d957a84b70c59fe0ec33edff8501dd6
refs/heads/master
2021-01-16T22:22:15.137046
2014-06-18T09:06:32
2014-06-18T09:06:32
14,827,185
0
2
null
null
null
null
UTF-8
Python
false
false
966
py
#!/usr/bin/python import sys # Uncomment if this will be used sys.exit() cssdir = 'icons/css/' from os import walk # Get all font CSS files fontCSSFiles = [] for (dirpath, dirnames, filenames) in walk(cssdir): fontCSSFiles.extend(filenames) break # Get all the font class names fontClasses = [] for file in ...
[ "justinruckman@gmail.com" ]
justinruckman@gmail.com
875960fc03310282775e2805f07e80fa525a74ff
4ffc58eb4491a2f7826b2dc81d8f41690c08edf1
/exts/levelsystem.py
2940b764ec957b1e52a480669e4adb04c0a6031d
[ "MIT" ]
permissive
AshutoshRajSingh/Zeta
4005b5642f6c9ab5d7f8b71e0f37eb81c5759419
aa93513c110ee8da24487911eeac9728c4fa9e6e
refs/heads/main
2023-08-11T01:45:10.130251
2021-09-16T07:20:03
2021-09-16T07:20:03
333,671,525
1
4
null
null
null
null
UTF-8
Python
false
false
13,911
py
import asyncio import discord import datetime from main import Zeta from typing import Union from math import floor, sqrt from discord.ext import commands, tasks def is_me(ctx): return ctx.author.id == 501451372147769355 QUERY_INTERVAL_MINUTES = 10 class LevelSystem(commands.Cog, name="Levelling"): """ ...
[ "ashutosh200210@outlook.com" ]
ashutosh200210@outlook.com
46bb8b716321dba5c04ec4b2425eb153d1d83097
dc3eb0fd04a2c7cfa0c797d169c7ff17f77e232a
/tools/select_seqs_by_IDs.py
f687561ef34de3c0243468606c5b51d220f81e8d
[ "MIT" ]
permissive
alexmsalmeida/virsearch
a7d3fda656040e8ef8109b6f9683ad2f6f7ff3b3
9807e6a4823170f29bb4e73f964c7f040bc85fa3
refs/heads/main
2023-08-14T17:13:58.265707
2021-10-05T21:37:31
2021-10-05T21:37:31
368,523,743
11
3
null
null
null
null
UTF-8
Python
false
false
1,776
py
#!/usr/bin/env python """takes a list of record.ids and returns to you the sequences from a fasta list that are part of the list""" from Bio import SeqIO from optparse import OptionParser import sys def test_file(option, opt_str, value, parser): try: with open(value): setattr(parser.values, option.dest, ...
[ "aalmeida@noah-login-02.ebi.ac.uk" ]
aalmeida@noah-login-02.ebi.ac.uk
3655a0f79f14c18fd00f21d93f064a434f6d7338
bc1edfef479c8e3f652a30478c4645f1cee7b729
/modules/memory.py
c6ec04e2f6aa852031d5c71e73ea5814b45ebd00
[]
no_license
maotianni/pj_2020_experiment_1
aa568678945a6a6efe30cde7aae321ebdc918763
86ea9583a5bcbfe72ac68efad295d9a72e255122
refs/heads/main
2023-02-10T10:32:29.287542
2021-01-06T04:14:33
2021-01-06T04:14:33
312,764,460
0
0
null
null
null
null
UTF-8
Python
false
false
2,774
py
import torch from torch import nn from collections import defaultdict class Memory(nn.Module): def __init__(self, n_nodes, memory_dimension, input_dimension, message_dimension=None, device="cpu", combination_method='sum'): super(Memory, self).__init__() self.n_nodes = n_nodes ...
[ "noreply@github.com" ]
maotianni.noreply@github.com
6658aeb098ba128b738ec8f718872be030a2af32
98e6c91a853bc01fcc7036027f3df852d2fa9c98
/main.py
82915eb2c8ba591945aa118f37a4c2eb2dc0f907
[]
no_license
ToyinY/HackMIT2019
fb7bee25a79290899dc0ea6fe4ff962ee71e7338
321cb56da97b8135d456955230764c648de7bf3b
refs/heads/master
2020-07-26T04:42:50.343210
2019-09-15T03:07:19
2019-09-15T03:07:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,927
py
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "43282748+kmerrill18@users.noreply.github.com" ]
43282748+kmerrill18@users.noreply.github.com