blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
07cbedc6ca7e7c3a19c72dc9fe6f4a3073a3d89c
565fe0d7a4b4eee46d97f008b7d904454d123c93
/nameSorter.py
3e2400465605b11b5a221a5c6bf694d6ec46acd2
[]
no_license
cesarvh/Python-Scripts
eb9a63f8b4262c1eb74bbf644fe24967a2a6465d
08c177fa76912db1d97ae6911d02c283ccb05ac2
refs/heads/master
2021-05-04T11:15:02.903404
2019-09-13T18:30:49
2019-09-13T18:30:49
51,233,457
0
0
null
null
null
null
UTF-8
Python
false
false
601
py
import operator def letterSorter(names): """ >>> names = ["annie", "bonnie", "liz"] >>> letterSorter(names) ["bonnie", "liz", "annie"] >>> names = ["abcdefg", "vi"] ["abcdefg", "vi"] """ aVal = ord('a') letterVals = {} retVal = [] for i in range(0, 26): letterVals[chr(aVal + i)] = i + 1 namesDic = {} ...
[ "Cesarvh@Cesars-MacBook-Pro.local" ]
Cesarvh@Cesars-MacBook-Pro.local
50b1ce7488482d127f0ea9067966b478ed40ec33
effc9404cdf56c8bd0db5a66787e47022ae66f66
/app/utils/wtf_handler/client.py
c33b8fe35e97bc494544e24a7d79c3b39229867d
[ "MIT" ]
permissive
WMU-SuLab/MagicExWASPortal
2d3219089336199e63a25e360793c4bc31eccbc6
35f5ba3f10bb90d99a64d376fff8c322a11b8598
refs/heads/main
2023-08-15T04:09:57.619196
2021-10-16T01:38:26
2021-10-16T01:38:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
from wtforms import StringField, IntegerField, BooleanField from wtforms.validators import DataRequired, Length, ValidationError, Regexp, EqualTo from app.libs.enums import ClientTypeEnum from app.models.tcm.user import User from app.utils.wtf_handler.base import BaseForm # 客户端基类 class ClientForm(BaseForm): acc...
[ "1061995104@qq.com" ]
1061995104@qq.com
f111086e0ac8fb98fe8c8a52c28756fc0d1efffd
7623f6f9bb276d0579bc1604a048a7ef398740b7
/Model Creation/src/CommonVars.py
e2661a1e1c5da99c9a12e383f47b223e91e6c96e
[ "MIT" ]
permissive
AAU-projects/P5-food-dispenser
55e969bcc11a211d29c3aa467dfb0c71fc99b052
3c88ec515941fb5db153bcb3a8d47d661a9a04b3
refs/heads/master
2022-12-20T23:29:14.323305
2020-09-23T09:50:02
2020-09-23T09:50:02
147,639,801
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
import os # Hidden vars __picturePath = "new data" # Static vars classes = ["cats", "dogs", "junk"] picture_folders = ['dataset', 'evalset'] img_hight, img_width = 128, 128 # Dynamic vars picturePath = os.path.join(os.getcwd(),__picturePath) num_classes = len(classes)
[ "lukasronsholt@gmail.com" ]
lukasronsholt@gmail.com
e9094277497c8437c705d1da62ecc09c655bb403
8acf2f92feacd7fe23032c36ec9a63b86069c608
/pythondir/predict_visu_wl.py
3421b317eee0265ebbcea26d90f9831427b4805d
[]
no_license
skconsulting/ild
fd33fe7d2b7487268558473db3fbf4029a06aba1
906bcd06bfec11d90ae76e8cb620c6c9548ceace
refs/heads/master
2020-12-31T04:56:21.219224
2018-03-06T13:48:10
2018-03-06T13:48:10
58,540,571
2
0
null
null
null
null
UTF-8
Python
false
false
59,807
py
# coding: utf-8 #Sylvain Kritter 21 septembre 2016 """ generate predict and visu with lung in bmp file already there """ #general parameters and file, directory names" import os import cv2 import datetime import time import dicom import scipy import sys import shutil import numpy as np #import Tkinter as...
[ "noreply@github.com" ]
noreply@github.com
585e22492d381cfccb12914baf68b9378763da48
f2af4d6108261ec1a216d6d402993b57a9224b16
/play1.py
e262b0895662c82f77c670561f561a821c895da8
[ "MIT" ]
permissive
idsdlab/basicai_sp21
c0e678f55b9ad13edc4d7dec0504697aea568fef
af9acba34c0417fed830de1b61753c50fd303169
refs/heads/main
2023-05-03T16:42:46.250882
2021-05-19T06:41:41
2021-05-19T06:41:41
340,587,992
1
0
null
null
null
null
UTF-8
Python
false
false
396
py
import json user = json.loads('{"id": 100, "name": "홍길동"}') print(f'username is {user["name"]}') def userinfo(u): """사용자 정보를 상세히 보여줌 Args: u (User): User json object Returns: String: User Information """ id = u["id"] name = u["name"] return f'ID is {id}, Name is {name}' ...
[ "guruzoa@gmail.com" ]
guruzoa@gmail.com
29f38e7eab91a2abd5df5a75fb978e3ad1e2f5ce
00b8ef0f8ca56d33e30ef3e93a3e59c892a14323
/Functions.py
666edd5447ed101907ffad99264f79ba46b13384
[]
no_license
tjkabambe/pythonBeginnerTutorial
d68452d97122f25faa7b877f3d04bc93684d195c
2f02e22b24cb756391f459c3d41f8b3eb2ec939e
refs/heads/main
2023-07-16T02:26:28.473669
2021-08-19T05:04:29
2021-08-19T05:04:29
397,821,091
0
0
null
null
null
null
UTF-8
Python
false
false
522
py
# Functions in Python # Like in maths, where a function takes an argument and produces a result, it does so in python as well # General form of Python function is: # def function_name (arguments): # {lines telling the function what to do to produce the result} # return result # Consider producing a function that...
[ "noreply@github.com" ]
noreply@github.com
d3f2e9bf10fb6c25475086bb869667de2892c2a3
37b32878a00e935d22a48a59f7482ff65350617a
/app/scanner/forms.py
9b7bd7222312ad728818913790b3d81d079fc7cb
[]
no_license
KudzaiMakufa/iotscanner
dfce4908618156ce31e9003669056042a5e5c212
7e2f983b74c8537aad172793b103c75bfe1f933d
refs/heads/main
2023-06-19T04:25:28.620760
2021-07-06T09:49:24
2021-07-06T09:49:24
377,589,673
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
from django import forms from scanner.models import Scanner class ScannerForm(forms.ModelForm): class Meta: model = Scanner fields = [] widgets = { 'ipaddress': forms.TextInput(attrs={ "class":"form-control" }), }
[ "pmakufa@cimas.co.zw" ]
pmakufa@cimas.co.zw
144ad152b5e9dc1c38e2a29bb9072569a0c6fdd2
45df508e4c99f453ca114053a92deb65939f18c9
/tfx/utils/logging_utils.py
8d5e5b0ce8ce081ed22a0a7b494b338c20b32a4d
[ "Apache-2.0" ]
permissive
VonRosenchild/tfx
604eaf9a3de3a45d4084b36a478011d9b7441fc1
1c670e92143c7856f67a866f721b8a9368ede385
refs/heads/master
2020-08-09T13:45:07.067267
2019-10-10T03:07:20
2019-10-10T03:07:48
214,100,022
1
0
Apache-2.0
2019-10-10T06:06:11
2019-10-10T06:06:09
null
UTF-8
Python
false
false
3,124
py
# Copyright 2019 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-team@google.com" ]
tensorflow-extended-team@google.com
09079d911bd182c40acb75f150998691aff00fa6
e267a9c417c92bffdc4f4af885d2cae716e2a5ec
/syrushack/booksale/views.py
a7e15170855a97a9d3d2850517a151f56199b860
[]
no_license
Gurudatt007/NOOBMASTERS-69_gurudatt
182642464c3532f6ca87e3320db2843597efe7ee
6ab95e777dbfc1a43b6dc9cf5777855b2162ff93
refs/heads/master
2021-02-15T08:49:30.161870
2020-03-05T17:23:26
2020-03-05T17:23:26
244,883,383
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
from django.shortcuts import render, redirect from django.contrib.auth.forms import UserCreationForm, AuthenticationForm from . import forms from django.contrib.auth import authenticate, login # Create your views here. def login(request): return render(request,'book/signup.html') def signup(requests)...
[ "noreply@github.com" ]
noreply@github.com
855f07a85b5f4d2de97355bda711a4f857e44b4a
1eaf240cca1013876eb3ea4f2ea70313a82fe984
/monthlist.py
94506fea0c2d195956ad4cd489f7182ec54591a9
[]
no_license
amithachalappuram/pythonsession2new
7c4167696025b4e5fe686358664e4a7ede1c2e38
05d6299d1d443724c1a0bbece51ae0cb94fc843f
refs/heads/master
2021-01-01T06:08:37.262980
2019-04-02T05:48:57
2019-04-02T05:48:57
97,367,488
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
month=['jan','feb','march','april'] print 'The first month is' ,month[0] print 'The second month is' ,month[1] print 'The third month is' ,month[2] print 'The fourth month is' ,month[3]
[ "noreply@github.com" ]
noreply@github.com
894b3d23385ba3502e5a1619eee20bdcc0626a08
31fd41ca65bf39106b691c46dff35efecfda3694
/application.py
a7697307d1773b155f21cc105034bd21ad2ff5c1
[]
no_license
kBarbz/finance
4ed1e22de67466037952286061dbf18c11d9228b
0225ef5e8d7e0a69609edf0b68a84f5b531783d9
refs/heads/master
2022-03-05T17:15:23.253912
2019-11-14T07:18:45
2019-11-14T07:18:45
221,136,821
0
0
null
null
null
null
UTF-8
Python
false
false
11,097
py
import os from cs50 import SQL from flask import Flask, flash, jsonify, redirect, render_template, request, session from flask_session import Session from tempfile import mkdtemp from werkzeug.exceptions import default_exceptions, HTTPException, InternalServerError from werkzeug.security import check_password_hash, ge...
[ "kbarbz1995@gmail.com" ]
kbarbz1995@gmail.com
6e35edd57bda6e2fa78faea367322c4f8cb0b8a9
925a996531ab9e2d582aa7aa78312df2e9ef70c3
/compare_veget.py
7544c09cf67fddea696ca7c55304d316e8815c92
[]
no_license
ChaoYue/lscetools
8ab5ac2f6bdcca26537a7db2137e02e4d1dcea12
6b5ead797ed637c795376aa521e74e816f8485e5
refs/heads/master
2021-01-02T22:18:05.480113
2018-03-27T12:04:30
2018-03-27T12:04:30
8,806,582
1
0
null
null
null
null
UTF-8
Python
false
false
1,281
py
#!/home/orchidee03/ychao/anaconda/bin/python #2012-11-12 #This is to compare the difference of vegetation type between two stomate_history files. #Arguments: #filename1, filename2: the two file names with full path that need to be compared. import matplotlib as mat import gnc import sys import cons import matplotlib...
[ "chaoyuejoy@gmail.com" ]
chaoyuejoy@gmail.com
81c7a920e569890df5dd38fa7fd0156b55bcbd72
e59cf235375f4cf38e0a42ce2c9774b5f9409511
/python/testcases/import_fasta/import_ignore_duplicates_bulk/run.py
c028aa8758090f59957146862b24d0b6a2ca386e
[]
no_license
JamesOsgood/mongodb-ebi
685b1b1f99ebd87349ad742f03e6b056edf67453
cf50e0b9d6f85d7c1eed824d55ebfa5e5410f50c
refs/heads/master
2020-07-25T03:37:14.649165
2019-09-18T20:47:42
2019-09-18T20:47:42
208,153,016
0
1
null
null
null
null
UTF-8
Python
false
false
1,159
py
# Import base test import os from datetime import datetime from pymongo import MongoClient, UpdateOne from pymongo.errors import BulkWriteError from pysys.basetest import BaseTest from FastaParser import FastaParser class PySysTest(BaseTest): def __init__ (self, descriptor, outsubdir, runner): BaseTest.__init__(...
[ "james.osgood@gmail.com" ]
james.osgood@gmail.com
ef94445d6b1610a2ae6a0c06860afd62b5e23786
9e6b91907e04a37f708b28e8ee52760662b4c761
/py/dirbalak/run.py
0355e2698c739d28f282edf63e736dfafbde8594
[ "Apache-2.0" ]
permissive
shlomimatichin/dirbalak
d744e3f4fdadf920082c870107f50f9020d57af6
218441fe55715c0602dd41142ae6a34ddfef6b38
refs/heads/master
2020-12-11T03:45:23.059866
2015-02-26T15:40:44
2015-02-26T15:40:44
28,646,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,848
py
import subprocess import upseto.run import tempfile import shutil import os import select import time run = upseto.run.run def runAndBeamLog(logName, command, cwd=None): with open("/dev/null") as devNull: popen = subprocess.Popen( command, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.S...
[ "shlomi@stratoscale.com" ]
shlomi@stratoscale.com
5a0e9bffcbd01a5b6bad624035adac5cfd991662
7f24789833097af944b35339a5b6c70abd941558
/config.py
b6f8df87f1fa0e53e82874baac792bf27f8b714f
[]
no_license
DaShiLar/Naive-Govern-Server
c61e1d821b4dd437a2b9ce1e0cc9867e322a44d6
65b1ac51da3453b913fb3babe2e4a2fafc866bac
refs/heads/master
2020-03-28T18:44:18.319420
2018-02-17T12:17:17
2018-02-17T12:17:17
148,905,987
0
0
null
null
null
null
UTF-8
Python
false
false
284
py
from flask import Flask import json import os import sys RESOURCE_PATH = os.path.dirname(os.path.abspath(__file__))+'/static/' HOTEST_STANDARD = 3 LATEST_STANDARD = 10 PASSAGE_PER_NODE = 20 DB_CONNECT_STRING = 'mysql+pymysql://root:She68105028@localhost:3306/govern?charset=utf8'
[ "15201752137@163.com" ]
15201752137@163.com
d2a64cdcee734353fb399e428cdc958978d9006e
613b467eefed4c42859731545ca9e479a76e99ea
/MeetBot/plugin.py
1416587b6c6ebf151e194982f8257d9046e5d287
[ "BSD-3-Clause" ]
permissive
lanefu/limnoria-plugins
69495b2ed6b042673679ac1fe1207b67980be6ae
fc54482fef3d1e8d438b11d640a392b5ea172245
refs/heads/master
2022-11-13T17:04:34.747860
2020-07-06T06:41:05
2020-07-06T06:41:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,416
py
### # Copyright (c) 2009, Richard Darst # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions...
[ "werner@armbian.de" ]
werner@armbian.de
5ca4bfc5ead5df67ff52a4cd7a38d3e55584e30e
f215920aaca0650ffa9e9a10a559fb1512cb3935
/enquieryformpro1/enquiryformapp/migrations/0001_initial.py
eaf9e68a381b8c7fd059552f20dd98169226c5bd
[]
no_license
sunitalandge/remote_enquieryform_repository
ec24b8f0fa9f4fd239a3ea6f1923a4394bae17cf
d81f48ee933410e5194d76d77801d314f6700e8d
refs/heads/master
2020-05-05T10:00:43.708010
2019-04-07T17:33:17
2019-04-07T17:33:17
179,926,458
0
0
null
null
null
null
UTF-8
Python
false
false
867
py
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2019-03-12 18:14 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='EnquiryDa...
[ "sunitalandge30@gmail.com" ]
sunitalandge30@gmail.com
dd287ab4dacb2cfc45941be3341ffa301364946e
c8781d6c35bc1a01572ae079c10ae09a48360d0d
/postprocess_tweets.py
32e7614af149211c9c5541c6c10e55184e600ce0
[]
no_license
molguin92/RechazoMiner
030e718d7a7128ad3cf3c9b167e58fd353c898e8
3c027426876e7ed65c7f9039f5a66c8260ada746
refs/heads/master
2022-04-21T04:35:20.497340
2020-04-12T20:00:33
2020-04-12T20:00:33
250,283,855
0
0
null
null
null
null
UTF-8
Python
false
false
1,729
py
import matplotlib.pyplot as plt import numpy as np import pandas as pd from nltk.corpus import stopwords from wordcloud import WordCloud def main(): tweets = pd.read_parquet('./tweets.parquet') \ .reset_index() \ .drop_duplicates(subset='tweet_id') \ .set_index('tweet_id') # tweets_no_...
[ "manuel@olguin.se" ]
manuel@olguin.se
f876efbd76bf68b8a1f414d2b58264a63adb5904
07c01f9f43eb8bf86986f08a94fa578f90bbb8c7
/itemCrawler.py
52b67c6adf0afd175ae1f502c34a3aa2d73280a5
[]
no_license
kpandey1337/RSAnalysis
15ea60eb32bd0f6cdf7c8012db1fe162137f037d
35a0ef727ebc7771a310bfeef44bcd9ae5b7e1f4
refs/heads/main
2023-02-26T20:06:26.430134
2021-02-05T01:10:06
2021-02-05T01:10:06
332,914,685
0
0
null
2021-02-01T23:42:01
2021-01-25T23:35:23
Python
UTF-8
Python
false
false
159
py
"https://runescape.wiki/w/Module:Exchange/Fire_rune/Data?action=raw" https://runescape.wiki/w/Category:Grand_Exchange_items?pageuntil=Adamantite+ore?action=raw
[ "32352036+yoonsters@users.noreply.github.com" ]
32352036+yoonsters@users.noreply.github.com
5b2cc65fd28a82eef601c8b2bae269efad7edfe6
c3082eb2adc43b311dd3c9ff16fd3ed9df85f266
/python/examples/pytest/fib6/fibonacci.py
39bc1096dde229bdf5f76119b024e852994386a4
[]
no_license
szabgab/slides
78818c7138331b3ba9e221c81da3678a46efe9b3
63bba06678554db737602f2fbcd6510c36037e8a
refs/heads/main
2023-08-31T07:13:51.536711
2023-08-29T13:17:59
2023-08-29T13:17:59
122,212,527
87
69
null
2023-05-19T06:55:11
2018-02-20T14:57:03
Python
UTF-8
Python
false
false
124
py
def fib(n): if n < 1: return None a, b = 1, 1 for _ in range(1, n): a, b = b, a+b return a
[ "gabor@szabgab.com" ]
gabor@szabgab.com
f5d36a1e69c2685ed0795fad774e5dfc00e115bf
7fdf80333aea7315936db807dbbf56f49eab60d1
/test/test_reports.py
6299949241830205dcde3d2ee1b4aaa7ddf942b8
[ "Apache-2.0" ]
permissive
ministryofwrestling/messagemedia-rest-api-python-sdk
a2b3b8b3aa4ae940118a0c8b660bfa9151e1c663
c6ffff7df339070939f120daefc2a439b1c76957
refs/heads/master
2020-05-20T12:58:35.009848
2017-01-17T05:12:24
2017-01-17T05:12:24
80,387,569
0
1
null
2017-01-30T02:11:09
2017-01-30T02:11:08
null
UTF-8
Python
false
false
1,308
py
# coding: utf-8 """ MessageMedia REST API Australia's Leading Messaging Solutions for Business and Enterprise. OpenAPI spec version: 1.0.0 Contact: support@messagemedia.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the...
[ "ITNextGen@messagemedia.com.au" ]
ITNextGen@messagemedia.com.au
d6b918c2a69143ef6ef75bc85848642b763eea92
ba6921a268198bc0af433622c021533905f5d462
/airflow/providers/github/sensors/github.py
602f71f518c5a2ba12b708780ba4739331d60185
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
potiuk/airflow
b6447765b1a7b586a3d6c8d7ba9262f6bf68fbfd
ca2f3013bcb123c4b3973a5b85de77094bf2c459
refs/heads/main
2023-08-30T13:05:50.698888
2023-05-21T21:08:14
2023-05-21T21:26:14
173,467,275
8
7
Apache-2.0
2023-05-21T21:58:40
2019-03-02T15:50:53
Python
UTF-8
Python
false
false
5,277
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
noreply@github.com
7c35640b67e50c85bb514e2c0e787739aa1147da
9532b00af389efa4cd0ae59c35d240fa558485d6
/python-04/python-05.py
fb31e5991b0c6aaa4bbfe9a2799e088484b564f2
[]
no_license
sontekliu/python-note
972540b325d735fbc25be882b67fff66928497c3
9274474cee4cd4c1e0e12be83eac34567816f063
refs/heads/master
2021-01-20T22:29:12.530475
2017-01-09T06:11:55
2017-01-09T06:11:55
63,420,085
0
0
null
null
null
null
UTF-8
Python
false
false
415
py
#!/usr/bin/python # -*- coding:utf-8 -*- # 返回函数,即,函数作为返回值返回 def lazy_sum(*args): def inner_sum(): ax = 0 for x in args: ax = ax + x return ax return inner_sum f = lazy_sum(1,2,3,4,5) print (f) print (f()) def count(): fs = [] for i in range(1, 5): def f(): return i * i fs.append(f) print fs ret...
[ "sontekliu@outlook.com" ]
sontekliu@outlook.com
6496d83ba933d5bda0dce9d72be80a97df7944fc
4caa5f443e89697ecda42449e1a4865e9f975501
/hackerrank/challenges/Algorithms/Strings/python3/morgan_and_a_string.py
c12bacd713413091937e9a8dece5b10bec9a0377
[]
no_license
kdar/challenges
5ece84df838e1aa4e50df8c078971c5f51ce3f06
6c07b20cada9bc7c542a9751ccca6ea87693fec0
refs/heads/master
2021-01-21T13:52:55.508948
2016-05-06T22:31:20
2016-05-06T22:31:20
44,148,975
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
#!python3.5 # https://www.hackerrank.com/challenges/morgan-and-a-string for _ in range(int(input())): a = input() b = input() a += 'z' b += 'z' la = len(a) lb = len(b) i,j = 0,0 lex = "" while i < la and j < lb: if a[i:] < b[j:]: lex += a[i] i += 1 # optimization to just ke...
[ "kevin@outroot.com" ]
kevin@outroot.com
9d7374c689738611b593f071860859ebc55710b8
ad8e6eede9bd713e12d491e7e3d3740591bba656
/Python_Grundlagen1.py
675a3425819ef0753625e2951d828d323b6dbe47
[]
no_license
alexandermayerl/pythonGrundlagenSPL
1e694a0066aba52972ab8e084986ddd3ccff1891
99ac475c9b3e58161b9c77d90f843e68b0456e1b
refs/heads/master
2020-04-07T12:59:42.302502
2018-03-07T11:19:05
2018-03-07T11:19:05
124,213,652
0
0
null
null
null
null
UTF-8
Python
false
false
733
py
print("Taschenrechner (+, -, *, /, **)") zahl1 = float(input("Bitte die erste Zahl eingeben")) zahl2 = float(input("Bitte die zweite Zahl eingeben")) operation = input("+, -, *, /, oder ** rechnen ?") if(operation == "+"): summe = zahl1 + zahl2 print("Summe = ", summe) if(operation == "-"): differen...
[ "noreply@github.com" ]
noreply@github.com
005720c4277dba2f6e1e2d5f06050e86acc47c7e
1b782f4c3a5a75fc93e4a56c1963de630350f6f3
/06/aliens2.py
f7283d13e35d086fe1c333d8f66070b74856c505
[]
no_license
gan-gan777/Python_Crash_Course
355915d69704a494cdb7fb3aca3e511b1b6e08d8
473a7ddd44dad4738a0f14015fef2fbbe9669b0e
refs/heads/master
2020-03-16T06:11:39.660654
2018-05-08T09:33:31
2018-05-08T09:33:31
132,548,986
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
# -*- coding: UTF-8 -*- # 创建一个用于存储外星人的空列表 aliens = [] # 创建30个绿色的外星人 for alien_number in range(30): new_alien = {'color': 'green', 'points': 5, 'speed': 'slow'} aliens.append(new_alien) for alien in aliens[0:3]: if alien['color'] == 'green': alien['color'] = 'yellow' alien['speed'] = 'medium' alien['points']...
[ "shot_gan@hotmail.com" ]
shot_gan@hotmail.com
b269b31e542d4f2fe0026b1954e2b2984fbd54ff
dca48a105eb467c1c92bfe7e49c0f0666ff7d5a3
/python/practice/materials/core-python-getting-started-resources/m08/clip-07/key-error-in-mapping/code.py
7b521e75cfae3de6a1c2085d54ca17d671dd13c0
[]
no_license
hbqdev/code
a97233456ad75df5552a003698cfcb99c6f7836d
7012d203aaf8fdc753491603f9a35dc69ca3286a
refs/heads/master
2023-06-25T13:06:01.851720
2023-06-13T00:11:54
2023-06-13T00:11:54
184,701,167
0
0
null
2019-05-03T05:02:08
2019-05-03T05:02:08
null
UTF-8
Python
false
false
90
py
def lookup(key): if not find_key(key): raise KeyError() return value(key)
[ "tin.tran@split.io" ]
tin.tran@split.io
9ff58db763bf0355cab2d81f3295bb39fbc791c1
2d10ce4b43045c041146ecef4bfbaefe0f180004
/interview/users/models.py
e2d678ae229a9678761c0c6a94e629da81e326e4
[]
no_license
Nekotopec/survey-rest-api
1e50ff7319a02a9bc54da6e1cb2a934688d5fc67
99ee309367b1de99b13a0614d768d79fddf193ec
refs/heads/master
2023-03-23T20:16:11.729698
2021-03-18T17:14:31
2021-03-18T17:53:22
349,162,712
0
0
null
null
null
null
UTF-8
Python
false
false
359
py
import uuid from django.db import models from django.contrib.sessions.models import Session # Create your models here. class AnonymousUser(models.Model): id = models.IntegerField(primary_key=True) session = models.ForeignKey('sessions.Session', on_delete=models.SET_NULL, ...
[ "nekotopec@gmail.com" ]
nekotopec@gmail.com
4d0accebb3c8b38201bf3aab2d6ab564283fbf9f
d94b6845aeeb412aac6850b70e22628bc84d1d6d
/social_rl/adversarial_env/utils.py
6a235a2c7e5d60f56c19c192fd53d434a804576e
[ "CC-BY-4.0", "Apache-2.0" ]
permissive
ishine/google-research
541aea114a68ced68736340e037fc0f8257d1ea2
c1ae273841592fce4c993bf35cdd0a6424e73da4
refs/heads/master
2023-06-08T23:02:25.502203
2023-05-31T01:00:56
2023-05-31T01:06:45
242,478,569
0
0
Apache-2.0
2020-06-23T01:55:11
2020-02-23T07:59:42
Jupyter Notebook
UTF-8
Python
false
false
17,133
py
# coding=utf-8 # Copyright 2023 The Google Research Authors. # # 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 applicab...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
8ddc1bb8f4a20ecdb528058fedc4bcd5962a64de
dcce56815dca2b18039e392053376636505ce672
/dumpscripts/asyncio_coroutine_return.py
4232ff84185f4cccf3562bcb97cb4daeb5f66d4f
[]
no_license
robertopauletto/PyMOTW-it_3.0
28ff05d8aeccd61ade7d4107a971d9d2576fb579
c725df4a2aa2e799a969e90c64898f08b7eaad7d
refs/heads/master
2021-01-20T18:51:30.512327
2020-01-09T19:30:14
2020-01-09T19:30:14
63,536,756
4
1
null
null
null
null
UTF-8
Python
false
false
326
py
# asyncio_coroutine_return.py import asyncio async def coroutine(): print('nella coroutine') return 'risultato' event_loop = asyncio.get_event_loop() try: return_value = event_loop.run_until_complete( coroutine() ) print('ritornato: {!r}'.format(return_value)) finally: event_loop.cl...
[ "roberto.pauletto@gmail.com" ]
roberto.pauletto@gmail.com
83fd0483590ca890422fb68150b7d7917f2a1699
1b6cea605ee3ad1cac7ed39e8e56d78b41a0a9c8
/touchdown/aws/route53/zone.py
df8463a3555b95405eb2e22bd3a323ef2ab00f98
[ "Apache-2.0" ]
permissive
pombredanne/touchdown
37e0847649d376ad8b087f993ef3021db37ff728
2213f3572c2b99cecf46dbee48d6d3f038cc442c
refs/heads/master
2021-01-18T09:05:05.027531
2015-01-29T11:42:10
2015-01-29T11:42:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,133
py
# Copyright 2014-2015 Isotoma Limited # # 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 wr...
[ "john.carr@unrouted.co.uk" ]
john.carr@unrouted.co.uk
4aac24bacfe7f09c172be90a41fed5dcadc0cefc
4b6999b7ea814891c254716d1832542f03f0a91b
/auth_cabina/migrations/0002_auto_20200907_1418.py
1f83d44f790909657f8640000e1a414e3c8bf4d2
[]
no_license
anthony01099/APICABINA
93f4e07cde2bfa45646460384cc6935eef5bbd18
f2f7658b8128373586d4031ee71cccaa6aa5ac88
refs/heads/master
2023-01-18T15:34:08.800197
2020-10-29T02:51:22
2020-10-29T02:51:22
314,688,003
1
0
null
null
null
null
UTF-8
Python
false
false
754
py
# Generated by Django 3.1 on 2020-09-07 20:18 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('auth_cabina', '0001_initia...
[ "israel.paez14@outlook.com" ]
israel.paez14@outlook.com
ace77e5f79254ba219aab7c0f4f0f4b2817ccc7c
cb9f7e52d878c55d1cdcf7a262e3e5e707d563d4
/django_introduction/urls.py
b0bcc0f39a94444b5b3acbd2000d04b2903220c5
[]
no_license
giriawsh/django_introduction
15565c90958acb39eff8dff2bb44abb22642ea07
dd862e4c53bac96e964127503cc9ea6445e014c2
refs/heads/master
2020-07-17T09:25:23.223836
2019-09-28T13:49:15
2019-09-28T13:49:15
205,993,952
0
0
null
null
null
null
UTF-8
Python
false
false
832
py
"""django_introduction URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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=...
[ "giriawsh@outlook.com" ]
giriawsh@outlook.com
3d896af960b5e3f6493dfe0bd2f44dcb1c5b85db
c548c10c4fd0b6c1d1c10cc645cb3b90b31f2de6
/keras/keras54_conv1d_01_lstm.py
46786f3cdafe9a0d5880bfff0ec509b09b860a2d
[]
no_license
sswwd95/Study
caf45bc3c8c4301260aaac6608042e53e60210b6
3c189090c76a68fb827cf8d6807ee1a5195d2b8b
refs/heads/master
2023-06-02T21:44:00.518810
2021-06-26T03:01:26
2021-06-26T03:01:26
324,061,105
0
0
null
null
null
null
UTF-8
Python
false
false
3,264
py
# conv1d # LSTM과 비교 import numpy as np # 1. 데이터 x = np.array([[1,2,3] ,[2,3,4], [3,4,5], [4,5,6], [5,6,7], [6,7,8], [7,8,9], [8,9,10], [9,10,11], [10,11,12], [20,30,40],[30,40,50],[40,50,60]]) y = np.array([4,5,6,7,8,9,10,11,12,13,50,60,70]) x_pred = np.array([50,60,70]) pri...
[ "sswwd95@gmail.com" ]
sswwd95@gmail.com
9a668e3015f75457eca3ef9bba737ce1120713ff
4399b34cb96ece479123b8bb2e99d5a4c547510b
/scripts/gamma_distribution.py
6f4e230ab446f5430b424438f7c92264718f2c3a
[ "MIT" ]
permissive
wleizny/wleizny.github.io
fe8c21c234785d4afda09cee8df846b6410b0374
9b38db96e75a351426006de36f085938fb239501
refs/heads/master
2020-04-11T20:42:53.404545
2020-02-10T02:09:35
2020-02-10T02:09:35
162,080,376
0
0
null
null
null
null
UTF-8
Python
false
false
979
py
#coding: utf-8 import numpy as np import matplotlib.pyplot as plt import scipy.stats as st fig=plt.figure(figsize=(18,6))#确定绘图区域尺寸 ax1=fig.add_subplot(1,2,1)#将绘图区域分成左右两块 ax2=fig.add_subplot(1,2,2) x=np.arange(0.01,15,0.01)#生成数列 z1=st.gamma.pdf(x,0.9,scale=2)#gamma(0.9,2)密度函数对应值 z2=st.gamma.pdf(x,1,scale=2) z3=st.gamm...
[ "leiwei.lw@gmail.com" ]
leiwei.lw@gmail.com
2951f9918b65ff8723f67976693c4de1f72c851d
48bb4a0dbb361a67b88b7c7532deee24d70aa56a
/codekata/persquare.py
0d0aef46cce120f2115cd0d2263aef327619c712
[]
no_license
PRAMILARASI/GUVI
66080a80400888263d511138cb6ecd37540507c7
6a30a1d0a3f4a777db895f0b3adc8b0ac90fd25b
refs/heads/master
2022-01-28T08:54:07.719735
2019-06-24T15:57:05
2019-06-24T15:57:05
191,355,070
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
l,r=map(int,input().split()) l1=[] cg=0 for i in range(1,r+1): sq=i*i if(sq<=r): l1.append(i*i) else: break for j in range(l,r+1): if(j in l1): cg+=1 print(cg)
[ "noreply@github.com" ]
noreply@github.com
29c7191e1f0bb964d65ea7d49d125e5c1361171f
2aba62d66c2c622bdc148cef451da76cae5fd76c
/exercise/learn_python_dm2039/ch17/ch17_21.py
2f28cbe564dd9eb87e19a2b997177f787f6af96d
[]
no_license
NTUT-109AB8011/crawler
6a76de2ab1848ebc8365e071e76c08ca7348be62
a703ec741b48d3af615a757fed7607b1f8eb66a6
refs/heads/master
2023-03-26T22:39:59.527175
2021-03-30T03:29:22
2021-03-30T03:29:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
696
py
# ch17_21.py from PIL import Image, ImageDraw newImage = Image.new('RGBA', (300, 300), 'Yellow') # 建立300*300黃色底的影像 drawObj = ImageDraw.Draw(newImage) drawObj.rectangle((0,0,299,299), outline='Black') # 影像外框線 drawObj.ellipse((30,60,130,100),outline='Black') # 左眼外框 drawObj.ellipse((65,65,95,95),fill='Blue...
[ "terranandes@gmail.com" ]
terranandes@gmail.com
159a446d1b5ea6a103c778cb3bdf38c7ffdd2d47
2933f7fab11343898c91434c7d217dfdc67e6df0
/A.py
bb30e39a2a7b6fec2bb8c61ea10254c4c8ea220e
[]
no_license
PragyaRajput/Python_Programs
29893317c07a60a12b43aca4457ca1779a5363aa
c9983ee1276f4a3358182fc12b44bff9058cdce5
refs/heads/main
2023-01-19T20:09:25.041102
2020-11-22T19:06:54
2020-11-22T19:06:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
for row in range(7): for col in range(5): if (row==0) and (col in {1,2,3}): print("*",end=' ') elif (row in {1,2,4,5,6}) and (col in {0,4}): print("*",end=' ') elif (row==3): print("*",end=' ') else: print(" ",end=' ') print()
[ "noreply@github.com" ]
noreply@github.com
e4b8ec3fe2483957517a29a0c38d5f8aab408766
51db53de93dad578b2e1ee1b92c23e194c862a67
/Django_Stuff/my_site/MyDjango/Scripts/django-admin.py
fe9e4438a2f30ead385af097c8356c4ee4459a37
[]
no_license
Sourav-1234/Blog-Clone
79e92107440f22a5acd0186bbc3b7c2f63fc89d1
05df44226423adaa70e80d4e4836ca668922cddb
refs/heads/main
2023-06-16T10:43:47.964054
2021-07-16T07:36:18
2021-07-16T07:36:18
386,544,599
1
0
null
null
null
null
UTF-8
Python
false
false
709
py
#!c:\users\sourav\desktop\django_stuff\my_site\mydjango\scripts\python.exe # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'djan...
[ "sourav08saha@gmail.com" ]
sourav08saha@gmail.com
df51f416e6630ff5fd00c70a19c657fa5064858c
3f4409b26e08024b7c4ab10b532d6d372becdd77
/TP2_Deep_learning/Ex2_Re_identification_using_Siamese_Neural_Networks/Code/data.py
faa67e9e07efcb30f4af26d77a4bf27f422a7d5a
[]
no_license
PPatrickGU/ROB313
382b8cacfaeb76653f7ab683a8f1b11bf5faad1a
c390d2413214022333e7e2e22fa8094ada5b40e6
refs/heads/main
2023-02-17T05:31:22.986413
2021-01-15T01:49:46
2021-01-15T01:49:46
314,022,216
2
0
null
null
null
null
UTF-8
Python
false
false
5,005
py
from torchvision import transforms from torch.utils.data import dataset, dataloader from torchvision.datasets.folder import default_loader from utils.RandomErasing import RandomErasing from utils.RandomSampler import RandomSampler from PIL import Image from opt import opt import os import re import numpy as np class ...
[ "gudajing@yeah.net" ]
gudajing@yeah.net
d320a4eb327b6aced1fa88203fc51f24371e8f63
3fa393553d23460ef0f3e60bcab028545c48d4fa
/vim/install.py
ee4ec0e065b586d5fda7cb80fe01c60fc24048ef
[]
no_license
wuxiangwei/Oh-My-Tools
5858ebe7b97baed180c9f6bbfb7dcd5a067fc556
1660c59b2989c263565f3650cd4042835f3bf7d8
refs/heads/master
2021-05-06T05:51:13.949577
2017-12-23T05:39:57
2017-12-23T05:39:57
115,173,189
0
1
null
null
null
null
UTF-8
Python
false
false
557
py
#!/usr/bin/env python # coding=utf-8 import os def install_vundle(): home_dir = os.path.expanduser('~') dst_path = os.path.join(home_dir, '.vim/bundle/Vundle.vim') if not os.path.exists(dst_path): src_path = 'https://github.com/VundleVim/Vundle.vim.git' cmd = 'git clone %s %s' % (src_path,...
[ "wuxiangwei@corp.netease.com" ]
wuxiangwei@corp.netease.com
529751b7b1fb80e925577d9c0a2c840c5be28e4f
b96df82899f659c4b9eaf822226512be387abdb5
/Problem_Solving/Mini-Max-Sum.py
21b6e883001151563f3576e9fdfeb4d84b073852
[]
no_license
YeswanthRajakumar/Problem_Solving_Hackerrank_Python
0f633a3aa51f3f13df8b3075edc4334c4330b12d
e2771f4cb0953b1d85c7e0999d781d6078678cde
refs/heads/master
2022-11-19T18:00:26.514238
2020-07-18T14:16:16
2020-07-18T14:16:16
266,459,664
0
0
null
null
null
null
UTF-8
Python
false
false
248
py
arr =[1,3,5,7,9] as_sort = sorted(arr) des_sort = list(reversed(as_sort)) as_sum =0 des_sum =0 for i in range(0,len(arr)-1): as_sum +=as_sort[i] for i in range(0,len(arr)-1): des_sum +=des_sort[i] print(as_sum ,end=' ') print(des_sum)
[ "yeswanthjayanthi@gmail.com" ]
yeswanthjayanthi@gmail.com
bc4ad1e3ba5f5c0445d8c6b1ef0285c8f0c30029
0549d3ce6b5c09a2522011d0f8f6322a08141c20
/210204/test4.py
028ba2f2c3426c8faf68a64a6a4e5875c68fc479
[]
no_license
ticod/goodee-python
0a4b376ba94dcd431e9e55c28e906dff5d68ebe0
d1120d92ed7137315719683ad020ae9da9d9b724
refs/heads/master
2023-03-03T10:19:16.534028
2021-02-14T15:42:03
2021-02-14T15:42:03
337,089,821
0
0
null
null
null
null
UTF-8
Python
false
false
854
py
# -*- coding: utf-8 -*- """ Created on Thu Feb 4 16:59:56 2021 @author: Dohun test4.py 16진수를 입력하면 16진수 인지 아닌지 판단하여 16진수가 맞으면 10진수로 변경하는 프로그램을 작성하시오. 16진수가 아닌 경우 16진수 아님을 출력하기 ​ 16진수 입력 : ff ff = 255 ​ 16진수 입력 : qw qw 문자는 16진수 문자가 아닙니다 """ inStr = input("16진수 입력: ") try: print(inStr, " = ", int(inStr, ...
[ "lours2021@gmail.com" ]
lours2021@gmail.com
b373db01d970b6ce88143768f0517f0be7b4a386
5f6112f58e4e570a99e58ac0424b36a0fb7da744
/preps/apps/sports/track/admin.py
0f91fc904b1abfaa5ef3415e96d14c9cb520bad5
[]
no_license
huyenme/django-preps
335915f2d6c68cde0410bccbabaeee48f3ccc39a
fede0d245cbcff5781b6a4bf1cecc0477897d9e4
refs/heads/master
2020-05-02T22:52:46.779618
2011-07-05T21:10:43
2011-07-05T21:10:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
813
py
from django.contrib import admin from preps.apps.sports.track.models import Meet class MeetAdmin(admin.ModelAdmin): fieldsets = ( ('Basic information', { 'fields': (('meet_type', 'meet_date_time'), ('teams', 'season')) }), ('Administration', { 'fields': (('featured_m...
[ "jeremyjbowers@gmail.com" ]
jeremyjbowers@gmail.com
237c6f3687015e6d0e783aebe8edf5a9ef51cd70
e10b66c7f7602557013e948741d5de0e397390c0
/owner_forgot.py
142f4834744f7eec924ca5d1ce8c2caadb1e6ce3
[ "Apache-2.0" ]
permissive
rajibmitra/truckz.io
a9570ded8e32421276abda6894d7dbe3ad68e501
4f87ad5851ab51336e37994a70a3d6ddb2514258
refs/heads/master
2020-04-17T06:49:51.094107
2019-07-04T11:09:45
2019-07-04T11:09:45
67,310,879
0
0
null
null
null
null
UTF-8
Python
false
false
463
py
#!C:\Python34\python.exe import cgi import cx_Oracle import json print('Content-type: application/json\r\n\r\n') con=cx_Oracle.connect('cbs/apss@localhost/xe') cur=con.cursor() data=cgi.FieldStorage() sts=-1 password=-1 email=data.getvalue('email') dob=data.getvalue('dob') sql="SELECT PASSWORD FROM OWNER WHERE EMAIL...
[ "noreply@github.com" ]
noreply@github.com
21d7bb84b76006046e266027a70e863769930cee
11ea2ad950af9054b6252b42b0f97d9eb8789723
/lib/gcloud/monitoring/query.py
b8c529f50ae1f8c8c0eb88ae2942112d7967ef83
[]
no_license
saitejar/colabedit
df213d0b5bf398c8019bc911196422b2a8db0d6f
5a5df3ed78b3d8e0718cd5925184a534030ef48d
refs/heads/master
2021-01-17T06:42:53.112321
2016-06-08T19:02:26
2016-06-08T19:02:26
56,410,749
0
1
null
null
null
null
UTF-8
Python
false
false
23,869
py
# Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agree...
[ "sranuva@uci.edu" ]
sranuva@uci.edu
ba38b308dc5edb0052dd3223d5e0bbca4c0eb3e1
a826caf3c6fd1d2170a5f492ec8c98a85c0d9579
/find_cffed_functions.py
2a369c186f5543d1e449932943bbb4b3f52fdd7b
[]
no_license
gitQqqHs/ida_android_script
7140561650bdf8a5b23a8155fce5a81df454be6e
c84543beffb1846f30728456cf05d4cb702fc6b1
refs/heads/master
2020-03-18T11:09:22.292698
2017-08-09T09:16:07
2017-08-09T09:16:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
603
py
#!/usr/bin/env python # -*- encoding: utf-8 -*- # Author: TheCjw<thecjw@live.com> # Created on 16:48 2017/7/31 __author__ = "TheCjw" from idautils import * from idaapi import * from idc import * def main(): print("An experimental idapython script to find Control-Flow-Flattened functions") ea...
[ "thecjw@live.com" ]
thecjw@live.com
faae17f8cb393c180d038c7b4a21d9df9415e81b
0c751feaba8644cfef2602da70d7fc26fd2cd58b
/backend/catalogueManagement/product/models.py
3ec2f64bb527891f8ffed0f0f7637fbb31e7b081
[]
no_license
saurabhnk-94/ECommerce-Inventory-Management-System
cf75ae330b1d3f746b8bbaa00ed67c1d7740ead5
97139f8b297e6a1d2007bffffc4935561147f4cd
refs/heads/master
2020-11-28T02:49:31.090498
2020-01-30T12:28:17
2020-01-30T12:28:17
229,685,990
0
0
null
null
null
null
UTF-8
Python
false
false
2,567
py
from django.db import models import jsonfield class Category(models.Model): """ Category model, this has a tree structure using the parent foreign key. The name is unique. This will be shown as a bread crumbs in the frontend """ name = models.CharField(max_length=250, unique=True, help_text="The ...
[ "saurabhnk94@gmail.com" ]
saurabhnk94@gmail.com
9c58da8f6f2ca4fe76c5acddd34f0f70ccf4e23d
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_47340.py
91cb79d70b4583e53b6a388ec9065caeaeae9000
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,850
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
4a6e8d053a94706c74d944c4a9ad04c88fc8fefd
350db570521d3fc43f07df645addb9d6e648c17e
/1352_Product_of_the_Last_K_Numbers/solution.py
5c9cce8733e553c8d05006544a5caa5ba5d53971
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
442
py
''' 1352. Product of the Last K Numbers Level: Medium https://leetcode.com/problems/product-of-the-last-k-numbers ''' ''' Solution: ''' class ProductOfNumbers: def __init__(self): def add(self, num: int) -> None: def getProduct(self, k: int) -> int: # Your ProductOfNumbe...
[ "benjaminhuanghuang@gmail.com" ]
benjaminhuanghuang@gmail.com
c8f6df806cbd7433aff54e08bcc8bfbd20c702d0
8ea15bb41fa672a8abd5cbc6e4c3413a910e5fb4
/api/admin.py
fdc895cff91355bb421614c370acdbf99f297eca
[]
no_license
bluedazzle/smart_screen
172bb1672bd9995e27889700a7320c0d9e207abe
f4d40807e7c6684ae35d8c1c7f386ae2ff8d8925
refs/heads/master
2021-07-04T07:30:50.807052
2019-01-23T06:47:56
2019-01-23T06:47:56
111,908,525
1
0
null
2019-05-16T03:30:51
2017-11-24T10:56:46
Python
UTF-8
Python
false
false
812
py
from django.contrib import admin from models import * # Register your models here. class GoodsInventoryAdmin(admin.ModelAdmin): search_fields = ['barcode'] class GoodsAdmin(admin.ModelAdmin): search_fields = ['belong__id'] admin.site.register(FuelOrder, GoodsAdmin) admin.site.register(FuelTank) admin.sit...
[ "zhangjianqi@bytedance.com" ]
zhangjianqi@bytedance.com
0fb98fcf45d1f20d7281fa9ab62b6f9ea72e6bb3
67f97a25c93ae07698255363341ad24c9303cfe1
/purbeurre/webapp/modules/api/requests_library/request_products.py
8b7b17f3e439463b50aa7dd719957ec98f8569d1
[]
no_license
AlexisFricard/P11_Purbeurre
e9d2f6b19d3ea9315b9e8db83672e1934b009e19
99e66b63f8e3d466128dfecf7cdc33c8fb23c689
refs/heads/main
2023-06-22T23:33:53.518896
2021-07-26T18:00:58
2021-07-26T18:00:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,374
py
""" REQUEST PRODUCTS BY NAME """ import requests def openfoodfact_terms(terms, number): page = 1 # BUILD URL url_begin = 'https://fr.openfoodfacts.org/cgi/search.pl?search_terms=' url_end = '&search_simple=1&action=process&json=1' url_page = f'&page={page}' url = f"{url_begin}{terms}{url_en...
[ "a.fricardpro@gmail.com" ]
a.fricardpro@gmail.com
108b79b900fb5bfd554e42ff75ca653cc35681c4
bb46b4e50f8285176d0901522b9a8fa521e08e96
/worker-elastic-pr-preview/coordinator.py
e24edcd211761807a39b7ee81f12429f25969089
[]
no_license
zw0610/ps-worker-elastic
c32cb4aa8cd7a774c72f70623b0a015c109665d8
90fce87e32303bb8e161f4445d1a94e7d8b56fab
refs/heads/master
2023-04-08T11:36:00.507781
2021-04-20T09:10:13
2021-04-20T09:10:13
353,957,757
1
1
null
null
null
null
UTF-8
Python
false
false
6,179
py
import os import subprocess import time import tensorflow as tf from utils.resolver import get_coordinator_resolver from utils.model import MyModel, get_datasets from tensorflow.python.eager import context from tensorflow.python.distribute.coordinator.cluster_coordinator import Worker if __name__ == "__main__": ...
[ "zilinzhu@tencent.com" ]
zilinzhu@tencent.com
2f3e3552822bbf4fc4f72eac033319fd83970466
468643c42a93f920183f2ad22a5c27f09a783d1c
/file_trans2/source.py
1123930e2dfb0a172e43566a24cb16df61c3b0a7
[]
no_license
lanseyege/linux_OM
dbb9ac4ed7813d3f043ad3a80d9d0e1c0245e866
beee330df3165503f6573eaf16a961fee8e743a6
refs/heads/master
2020-12-25T13:45:49.562525
2018-09-12T08:00:04
2018-09-12T08:00:04
61,020,186
0
0
null
null
null
null
UTF-8
Python
false
false
2,802
py
#encoding=utf-8 import os import commands import threading def read_conf(path): file=open(path) A=[] for line in file: A.append(line.strip()) return A def read_source_dir(ips, s_path, w_df): if s_path[-1] != '/': s_path += '/' path_lists={} source_path_nums=0 for ip in ips: command='ssh name@%s ls %s'%(...
[ "lanseyege@gmail.com" ]
lanseyege@gmail.com
b14b1b13fd24073c9ebde57c05e4f234b0ac0da4
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/heatmapgl/colorbar/tickfont/_family.py
ba495312ec633e48e44034f6156ee76e0784f0c1
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
525
py
import _plotly_utils.basevalidators class FamilyValidator(_plotly_utils.basevalidators.StringValidator): def __init__( self, plotly_name="family", parent_name="heatmapgl.colorbar.tickfont", **kwargs ): super(FamilyValidator, self).__init__( plotly_name=plotly_name, pare...
[ "noreply@github.com" ]
noreply@github.com
df974a2a8eb8076abb44ee0af07e0366ee280f16
f85fb8ea9df44a3ebb19430d8fe248be7d738413
/tests/test_plotter.py
eab925f85900d74d67c471aec580a5352247c590
[ "MIT" ]
permissive
Samreay/ChainConsumer
9ab425fd31a0853f5be92bf2a266ece59a1a2d01
888921942789f7c7a817c7a3cee3e7e5da3a26bf
refs/heads/master
2022-09-16T16:52:06.175389
2022-09-04T02:48:44
2022-09-04T02:48:44
63,556,220
74
20
MIT
2018-09-06T00:34:00
2016-07-17T23:01:21
Python
UTF-8
Python
false
false
2,856
py
import numpy as np from scipy.stats import norm from chainconsumer import ChainConsumer class TestChain(object): np.random.seed(1) n = 2000000 data = np.random.normal(loc=5.0, scale=1.5, size=n) data2 = np.random.normal(loc=3, scale=1.0, size=n) def test_plotter_extents1(self): c = Chain...
[ "samuelreay@gmail.com" ]
samuelreay@gmail.com
50a7a9e089a7487e004a9f76785a5d174afbba38
dd24ed7de37259a9386009bcff0d1e4d01f673fd
/django_0501/apps.py
12d64cc1cd1328a99a87ef09005618067ddaca41
[]
no_license
shiyanlou-015555/django_05
e4839a85354fe608ff7f579d50cef728c8483b32
a90b93185d0ed2fa9509f3cd1ff0b6f89fd1b516
refs/heads/master
2020-04-11T03:27:55.864163
2018-12-12T11:33:07
2018-12-12T11:33:07
161,478,901
0
0
null
null
null
null
UTF-8
Python
false
false
96
py
from django.apps import AppConfig class Django0501Config(AppConfig): name = 'django_0501'
[ "1685715822@qq.com" ]
1685715822@qq.com
d1057a3547ebe9fbade8932524d209efac5ef7dc
06ce1cb6a1ee1f03600eee93289efece692b77e6
/CTA_testbot.py
0d0e196a355e8373cb9837a0d7ead9646efe9bce
[]
no_license
TJalal/CurrentResponseAutomation
cc15615fc18e2e3e7a6db233950b347764c6b712
3aeae499b41f6d5c6b0c547f8cc1c91f23c6c9e3
refs/heads/master
2021-05-04T10:28:05.275725
2017-01-21T00:02:49
2017-01-21T00:02:49
44,210,195
0
0
null
null
null
null
UTF-8
Python
false
false
45,249
py
#!/usr/bin/python # -*- coding: utf-8 -*- #import objc import sys import traceback import WakeOnLan from time import gmtime, strftime, sleep from datetime import datetime, timedelta from beagle_py import * import Tkinter from Tkinter import * import tkSimpleDialog import fileinput import pexpect from pexpect import ...
[ "tjalal21@gmail.com" ]
tjalal21@gmail.com
67c88c5642b885e5c3ffa1ab317224f11a47d97d
a26a3605f8055a28083107b98800d72bfcc11fd9
/Koncreti/Koncreti/middlewares.py
efea3c768875aa07a437ec6da0bd57857a844b6a
[]
no_license
huzaifabaloch/Modern-Web-Scraping
521c3bd9302c3be0743a16cb65a02bf5a6666d9e
021c5f987d7c150118340ccbf986be51ecdca349
refs/heads/master
2020-09-26T23:40:46.306998
2020-06-30T17:10:49
2020-06-30T17:10:49
226,367,502
0
0
null
null
null
null
UTF-8
Python
false
false
3,601
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class KoncretiSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrap...
[ "huzbaudi3@gmail.com" ]
huzbaudi3@gmail.com
7d502107c0f34c1e21b6b45dce36da5f88e1f94d
01106e974a7e84e5b2cc4b4f29aba3b2604354af
/Matrix/search_ele.py3
caca045f2bc4b5068b7139fa1ea5f1cb2d47eb82
[]
no_license
souravtiwary/codeLibrary
d746952a7a7385c7f239c2dec46bb9192bff9624
b13658f4f7397caac342137071afc8f709962f43
refs/heads/main
2023-07-29T20:40:18.831158
2021-09-23T19:16:51
2021-09-23T19:16:51
409,698,829
0
0
null
null
null
null
UTF-8
Python
false
false
978
py3
class Solution: def doBinarySearch(self, row, target): l = 0 r = len(row) - 1 while l <= r: mid = (l + r)//2 if row[mid] == target: return True if row[mid] < target: l = mid + 1 elif row[mid] > target: ...
[ "noreply@github.com" ]
noreply@github.com
0d4d185363be01637bbf659ff0fe1af94954840a
a6aadedf6cc2d9641e4a53f76cbcd1264ebe9673
/DGHV_cp_decrypt/DGHV_cp_decrypt/Decrypt.py
0b0713dff195aff7ffd74d07f23c805139474d1f
[]
no_license
obserthinker/DGHV_cp_decrypt
4c5f2970d63dfb9a61124c5a61d3e05928e24e34
58730e04565f6eaede0b4614c44cb71cdf751e34
refs/heads/master
2020-05-17T22:52:46.032344
2015-12-03T13:58:10
2015-12-03T13:58:10
41,525,084
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
# -*- coding: utf-8 -*- from Function.operations import * def decrypt(cipher, secret_key): p = secret_key.sk #m = (c % p) % 2 #print "************** Decrypt ***************" #print "c = ", cipher.c, "\t p = ", p, "\tx0 = ", cipher.x0 m = residue( cipher.c, p) #print "c % p = ", m m = ...
[ "onserthinker@gmail.com" ]
onserthinker@gmail.com
9986a1659cfdc8dc4bd6a6862039eead3c2b5e84
30e21273013b228f5421a5d685660cc370c92d7c
/dgfont.py
2e37de03891875ec73a74d5581f477352fd09cf6
[]
no_license
hwinther/homeautomation
0aecccae16995f53b14d0de07eb6d61cc91a52fc
0ee1f97238bdd5c2c7367a75f4376f2d662c4b9c
refs/heads/master
2021-01-10T10:11:06.803852
2018-10-22T22:06:36
2018-10-22T22:06:36
44,271,892
0
1
null
null
null
null
UTF-8
Python
false
false
3,136
py
#!/usr/bin/python # coding=utf-8 from datetime import datetime letters = { '0': [ [0, 1, 1, 0], [1, 0, 0, 1], [1, 0, 0, 1], [1, 0, 0, 1], [0, 1, 1, 0], ], '1': [ [0, 0, 1, 1], [0, 1, 0, 1], [0, 0, 0, 1], [0, 0, 0, 1], ...
[ "hc@wsh.no" ]
hc@wsh.no
af6994e086b22f5bca40803ae9f92d2006e608f8
0938ff0c809638157e0deb81515fa3e810e86b86
/clustering/clusters.py
061be5131085d716d9e63966f40cded141ea1af3
[]
no_license
fjsweeney/NEATLAB-AddictionResearch
e50d993575b6ccdf4d0123bd0de178d3b24aa808
cb0b1283c78b140458b3c436db69f0cdf94f79b3
refs/heads/master
2020-12-29T08:08:25.060339
2020-03-11T00:58:08
2020-03-11T00:58:08
238,521,750
1
0
null
null
null
null
UTF-8
Python
false
false
8,878
py
import numpy as np import pandas as pd import matplotlib.pyplot as plt import datetime import time as tm import math R = 6371000 # Radius of Earth, meters def getSpeed(time0, time1, coord0, coord1): dTime = math.fabs(time1-time0) # Time change if dTime == 0: return 0 # haversine formula ...
[ "chuprii@wwu.edu" ]
chuprii@wwu.edu
0f393af45d9c533f8422fe7ec7e9bb8998126725
8a8815642a27809402224518b5bd01960270060b
/homework_3/python_hw3.py
22d47eb56723c0cb3a09dc7e5af61275b62785d5
[]
no_license
dariasuslova/python_homework
98c712c7bab123f7a26aa0cfe428f9e6b496af0c
d32e160d8c64111beb1338d48e47a35c1e01b3a0
refs/heads/master
2021-01-23T14:41:37.000950
2018-03-21T11:49:06
2018-03-21T11:49:06
102,695,549
0
0
null
null
null
null
UTF-8
Python
false
false
3,951
py
# coding: utf-8 # In[1]: from pattern.web import Wikipedia, plaintext import re import nltk nltk.download('punkt') nltk.download('stopwords') from nltk import word_tokenize from nltk.collocations import * from collections import Counter, defaultdict from itertools import islice, tee import math from nltk.corpus imp...
[ "noreply@github.com" ]
noreply@github.com
616ea2a870fe0d07963ec33c6068f9e83ca94b0e
9aa7c4d4b70eda25e9bae4ce1b91118fa82fe798
/ex11.py
25e8dcd2efc02b549cd4d2a57da2857090f76f46
[]
no_license
feilicsuzan/python
05bc0cd9b7b0a1eb43e73717ec4c6a31d2ee2fc8
5db4d73844a846cd37bcbee4e01ca402a985573f
refs/heads/master
2020-03-24T09:45:05.251457
2018-07-28T11:41:53
2018-07-28T11:41:53
142,636,821
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
x=1 y=2 z=3 a='a' b='b' c='c' test=[x,y,z,a,b,c] print"x=",x,"y=",y,"z=",z,"a=",a,"b=",b,"c=",c print test print "x not in test?",x in test print "1 in test?",1 in test print "test+a",test+a print "test*20",test*20 print test[2:4] print len(test) print min(test) print"",test.index(2,1,3) print "",test.count(1) a={'a':...
[ "felicsuzan_98@163.com" ]
felicsuzan_98@163.com
108d68accc881e48bb69ecb2973ce1bd1dbf2825
80d50ea48e10674b1b7d3f583a1c4b7d0b01200f
/examples/v1/synthetics/GetSyntheticsDefaultLocations.py
6e44aa3003ea64d20039ddc3cb1e3952f2e290a2
[ "Apache-2.0", "BSD-3-Clause", "MIT", "MPL-2.0" ]
permissive
DataDog/datadog-api-client-python
3e01fa630278ad0b5c7005f08b7f61d07aa87345
392de360e7de659ee25e4a6753706820ca7c6a92
refs/heads/master
2023-09-01T20:32:37.718187
2023-09-01T14:42:04
2023-09-01T14:42:04
193,793,657
82
36
Apache-2.0
2023-09-14T18:22:39
2019-06-25T22:52:04
Python
UTF-8
Python
false
false
387
py
""" Get the default locations returns "OK" response """ from datadog_api_client import ApiClient, Configuration from datadog_api_client.v1.api.synthetics_api import SyntheticsApi configuration = Configuration() with ApiClient(configuration) as api_client: api_instance = SyntheticsApi(api_client) response = ap...
[ "noreply@github.com" ]
noreply@github.com
a7310f5ba7a955f4a67094d3fdcdea61e2d0684c
4650d9ba2f309c6dcf4fb3f74f715680ebc232e6
/locallibrary/catalog/migrations/0003_book_slug.py
1edb8e9ee688d4b51572dbbed88dee68c8a14ef8
[]
no_license
iambonface/zillathon
ff6f545923f28325a8dca6cb85c749b4e350fef0
afef85954c2957b514200043e99e0e889ad98dab
refs/heads/master
2023-08-17T14:56:05.311464
2020-04-16T17:16:36
2020-04-16T17:16:36
255,800,496
0
0
null
2021-09-22T18:53:25
2020-04-15T04:02:02
Python
UTF-8
Python
false
false
388
py
# Generated by Django 3.0.5 on 2020-04-15 03:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0002_auto_20200414_2013'), ] operations = [ migrations.AddField( model_name='book', name='slug', ...
[ "mudirib@gmail.com" ]
mudirib@gmail.com
44499b72c3f163b0282e42a95fcc1f5cffeadb31
cb564efccf84cb8b9c0f5c697193e97ed8c2a138
/forms.py
0c938acd1684890913e818240cceb314840a3b5b
[]
no_license
satvik6005/blog_site
c1884ec5ced9c3ba65765d88fb7895df56b89fab
6fa7f2ab440a5d28cbe6485f9e908054e59a5bc6
refs/heads/main
2023-05-09T15:36:27.733756
2021-05-29T16:19:40
2021-05-29T16:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from django import forms class blog_form(forms.Form): title=forms.CharField(label='Title',max_length=20,widget= forms.TextInput(attrs={'class':'form-control'})) data=forms.CharField(max_length=200,widget= forms.Textarea(attrs={'class':'editable'})) author=forms.CharField(label='author',max_length=10,widget...
[ "noreply@github.com" ]
noreply@github.com
ac409fba8612780ecc144aa3fc94607609a6c797
f8b5aafac15f408a48fabf853a918015c927e6fe
/backup/virtualenv/venv27/lib/python2.7/site-packages/ansible/modules/extras/cloud/lxc/lxc_container.py
518038124eb6cca7eeb78adc95a6b3a7b688fbb6
[]
no_license
to30/tmp
bda1ac0ca3fc61e96c2a1c491367b698d7e97937
ec809683970af6787728c2c41f161f416155982a
refs/heads/master
2021-01-01T04:25:52.040770
2016-05-13T16:34:59
2016-05-13T16:34:59
58,756,087
0
1
null
null
null
null
UTF-8
Python
false
false
55,215
py
#!/usr/bin/python # -*- coding: utf-8 -*- # (c) 2014, Kevin Carter <kevin.carter@rackspace.com> # # This file is part of Ansible # # Ansible 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...
[ "tomonaga@mx2.mesh.ne.jp" ]
tomonaga@mx2.mesh.ne.jp
390282881120690c1146b2d04601b0ef71a74a3b
9fa0d129c513d1234121c3fc30f8b0dff92a740e
/customcases.py
33282d8cf6928be6835604f27e2329d89e1a1941
[]
no_license
martinhaberg/balex
0ac77779bcf3933647f73af46fc3b1d5ecee824e
925cd90061c266fc650975c17ed0b17a8fb7b6f9
refs/heads/master
2021-10-10T20:59:35.448838
2019-01-17T08:19:17
2019-01-17T08:19:17
105,146,055
0
0
null
null
null
null
UTF-8
Python
false
false
39,257
py
# Copyright (c) 1996-2015 PSERC. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. """Power flow data for zone 1 of IEEE 118 bus test case. """ from numpy import array def case118zone1(): """Power flow data for zone 1 of partitioned IEEE 11...
[ "martin.haberg@ntnu.no" ]
martin.haberg@ntnu.no
30ffdec787b66ada92eeeb6cbf6313939aceed32
6c455e7983df8a9a1e59b81ab0c62b1cabf6cdff
/kornia/morphology/basic_operators.py
aef1ce94c3c1f2a3bebc8eba0ff6f11b2f36d40d
[ "Apache-2.0" ]
permissive
vribeiro1/kornia
73528cbf75525067409b01c97db9276440a5409e
054d006828a47ba9929a36d82ff8070b5e69d3b0
refs/heads/master
2022-12-27T13:01:28.297706
2021-05-18T07:08:53
2021-05-18T07:08:53
289,010,878
0
0
NOASSERTION
2020-08-20T13:16:12
2020-08-20T13:16:11
null
UTF-8
Python
false
false
3,062
py
from typing import Tuple, Union, List import torch import torch.nn as nn import torch.nn.functional as F # _se_to_mask def _se_to_mask(se: torch.Tensor) -> torch.Tensor: se_h, se_w = se.size() se_flat = se.view(-1) num_feats = se_h * se_w out = torch.zeros(num_feats, 1, se_h, se_w, dtype=se.dtype, de...
[ "noreply@github.com" ]
noreply@github.com
e7d0356d5018b49590816f3a1833f6a81bca41ae
9505cd79a0ee133e33191a0b96356b430a81f19d
/batch_correction/mnn/scanpy_mnn.py
4ceda64e9f5ed96c4d6f4cf44e389f4e6585bd03
[ "MIT" ]
permissive
lilab-bcb/cumulus-experiment
6fcdf1ee8f1c8feac0df6f658b6cc151b05a392b
4a1139563b5e8702c6bb771c0c8dca7c3b98c3a2
refs/heads/master
2020-08-05T11:44:44.668634
2020-05-01T22:50:54
2020-05-01T22:50:54
212,489,221
0
0
null
null
null
null
UTF-8
Python
false
false
2,119
py
import numpy as np import pandas as pd import scanpy as sc import os, sys, re, time from termcolor import cprint from mnnpy import mnn_correct from datetime import timedelta rand_seed = 0 src_file = "/data/MantonBM_nonmix_tiny_filter_norm.h5ad" hvf_file = "/data/MantonBM_nonmix_hvf.txt" def calc_mnn(): adata = sc...
[ "yang.yihming@gmail.com" ]
yang.yihming@gmail.com
d5f61eb9e2e964355a3e89e89b3a16d67426d97a
3da4da54c9b3e2632bfa8d9f4c996d051955a57c
/melon/melonsec/models.py
8107c17f178a3e9c0f9e5f3d724ce52121d273cb
[]
no_license
twoodhouse97qmul/melonsec
c10bd0ac28490cf58462d2f905dd5343476d77eb
023048e42bb82174d3f02958c1e88e1c91eba77d
refs/heads/master
2020-04-07T05:42:59.379237
2019-01-15T18:08:12
2019-01-15T18:08:12
158,106,974
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
from django.db import models # Create your models here. class Message(models.Model): name = models.CharField(max_length=255) bio = models.CharField(max_length=900, blank=True)
[ "aoterop97@gmail.com" ]
aoterop97@gmail.com
e97f3d6e3f0f430949be1e45ba239322963b514d
cf1e007bc404666e4349c858647389d8de2a865d
/modules/utils.py
22430fec7c360ff5e6aed1a60522b7f228f2934e
[ "MIT" ]
permissive
recursion-cn/story
6e3df430ee50f708588e12923dc5304b9d077dbe
fdd60b5c698a6775e4062fc9d6afec0402461b38
refs/heads/master
2021-01-10T05:05:12.990506
2016-01-01T16:01:25
2016-01-01T16:01:25
45,263,905
0
0
null
null
null
null
UTF-8
Python
false
false
417
py
#!/usr/bin/python # -*- coding: utf-8 -*- from datetime import datetime, date import json # custom encode function for dateime and date type class JSONEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, datetime): return obj.strftime('%Y-%m-%d %H:%M:%S') elif isinsta...
[ "linianchao@meituan.com" ]
linianchao@meituan.com
7f56057a954ac9a7acf1c74107ba155b63e49b80
3fce06b4e58c8e69e4845502b05df73f253f201c
/machine/models.py
84fa9ccff5bef2695b6d5a38a82b2538d703dfde
[]
no_license
geekyzk/DjangoUpload
31b4979bad1b368a77994573539d8983f7b64941
5442d8e9b2b9cfcedf8bbd449ad513a6044427c1
refs/heads/master
2020-04-04T12:09:26.847164
2018-11-02T20:21:10
2018-11-02T20:21:10
155,916,133
0
0
null
null
null
null
UTF-8
Python
false
false
347
py
from django.db import models # Create your models here. class CsvModel(models.Model): csvFile = models.FileField(upload_to='csv',verbose_name="训练文件") name = models.CharField(max_length=120) imageFile = models.ImageField(upload_to='images', verbose_name="产生文件",null=True) class Meta: ordering ...
[ "geekyzk@163.com" ]
geekyzk@163.com
5ab2b509a45bb836fd3ba253f75232ff02ae4645
fc5b54bfea60ad4d9f66ccfb94192b8214a2a11e
/scrapycw/utils/exception.py
3fb7335ad7321621ade8bb4b3d37d3583bfe4895
[]
no_license
erygreat/scrapycw
c5f755f30f5238c5eed2447447228dd028ede5b7
9317590e6472657b27279b8aaf67771416cf7826
refs/heads/master
2021-10-05T11:40:59.797905
2021-07-14T16:40:30
2021-07-14T17:08:07
224,704,931
1
0
null
2021-09-22T18:05:01
2019-11-28T17:56:45
Python
UTF-8
Python
false
false
638
py
class ScrapycwException(Exception): def __init__(self, message): self.message = message class ScrapycwUsageException(ScrapycwException): pass class ScrapycwDaemonProcessException(ScrapycwException): pass class ScrapycwNotSupportSystemException(ScrapycwDaemonProcessException): pass clas...
[ "ery991172821@gmail.com" ]
ery991172821@gmail.com
0d81d2a79087eebfe1b9946fc02902fdef301e86
7127d0a85f05b7ebb111c7ba786087acb29b9bc7
/Desktop/carRenting-master/c001_env/bin/easy_install
f5ebf4c1b27598f82f6760d589b239fef7a80254
[]
no_license
mohamedTbarka/pfe
ea46cc2d4e5e1de63e4becb9e26015450bc646e4
aec590fc0cd02e1b822eafa36aff9f34f24372d0
refs/heads/master
2020-07-17T01:54:33.872677
2020-02-20T10:16:57
2020-02-20T10:16:57
205,914,025
0
0
null
null
null
null
UTF-8
Python
false
false
253
#!/home/wbc/c001/c001_env/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())
[ "simo.tbarka@gmail.com" ]
simo.tbarka@gmail.com
69f33545f4b439eb551888ff6fdfa7bf9119c6b2
b7b376b17e0cb641a0ba1a656f939fb74ae72ebd
/Testing_for_None.py
05974ad9d14c097ed1f608abef9fb163338a1258
[]
no_license
EhsanPeymani/PythonSnippets
fbefbb066ea9e90dc9ff188af17d404a3de6e5c5
58e8974eadca8e3a7142367309e2917a702ee45a
refs/heads/master
2020-03-15T05:18:00.502078
2018-07-02T12:27:13
2018-07-02T12:27:13
131,985,980
0
0
null
null
null
null
UTF-8
Python
false
false
340
py
# taken from talkpython.fm def find_accounts(search_text): db_is_available = False if not db_is_available: return None return 1 accounts = find_accounts('python') # test for None using 'is' or 'is not' if accounts is None: print('No accounts returned') else: print('{} account(s) returne...
[ "ehsanTO2" ]
ehsanTO2
c846a590136e0bb196e354e74fcbd29d898260ef
3f3af5062b8551606e16e997e600fdfcd943b929
/wenxue/ReptilePart/getListOfJournal/getListOfJournalThree.py
2aa6fcc805d7a18008e2d4b7243bec22417430f2
[ "MIT" ]
permissive
YaKaiLi/GraduationProjectYan
63179df688522c486f8874a3443ef05d22cc7d72
5ddcc081748daa39f7d7b070f5b172c6a5919349
refs/heads/master
2020-03-07T23:05:17.741977
2018-05-09T14:15:57
2018-05-09T14:15:57
127,771,839
1
2
null
null
null
null
UTF-8
Python
false
false
1,730
py
# -*- coding: UTF-8 -*- from urllib import request import chardet import re import pymysql if __name__ == "__main__": # 打开数据库连接 db = pymysql.connect(host="localhost",user="root",password="root",db="graduationprojectyan",port=3306,charset="utf8") # 使用 cursor() 方法创建一个游标对象 cursor cursor = db.cursor() ...
[ "jkliyakai@163.com" ]
jkliyakai@163.com
a9d741674633187263d89f750e6f77327dbbe5b5
beb86e0c664367738f338eaa016347eca4c91c9a
/SmaliAnalisys.py
f2cf7c7a5f2bd1b320b86580e5636a57536d160b
[]
no_license
cesarl88/CS673-Apkmirror_Scrapper
da92477ce054b57dd258548448a42a97aa64c9d5
0396c10be39440fdeb37a596d8429b63db6c5bbc
refs/heads/master
2020-03-29T20:15:57.898356
2018-12-03T02:11:40
2018-12-03T02:11:40
150,303,371
2
1
null
null
null
null
UTF-8
Python
false
false
13,888
py
from smalanalysis.smali import SmaliObject, ChangesTypes, SmaliProject, Metrics from smalanalysis.tools.commands import queryAaptForPackageName import sys, time, csv import os import subprocess import json import statistics import xlsxwriter.workbook import pickle CURSOR_UP_ONE = '\x1b[1A' ERASE_LINE = '\x1b[2K' d...
[ "cesarl_88@hotmail.com" ]
cesarl_88@hotmail.com
e4eec31dce97714bc69fefd768c98db8e091b20b
c428c6c6f93ca5630445fe68e48bce36ee082cf9
/analysis/jinny/remove_quot.py
3d018bb3db4d753bda19789eae6308a04b859ad9
[ "MIT" ]
permissive
ShawnLYU/A-Hybrid-Approach-of-Insincere-Questions-Detection
9b5ff742b81e8b3de8446bb421eda41e67e69466
0bc76c3fc186245f83e665732dac53a1af3f3fbf
refs/heads/master
2021-10-26T02:45:23.155558
2019-04-10T00:31:35
2019-04-10T00:31:35
166,863,784
0
0
null
null
null
null
UTF-8
Python
false
false
914
py
import csv from progress.bar import Bar input_path = '../data/mytest.csv' output_path = 'mytest_noquots.csv' input_file = open(input_path, 'r', newline='') output_file = open(output_path, 'w', newline='') fieldnames=['qid', 'question_text', 'target'] output_file.write(','.join(fieldnames) + '\n') line = input_file....
[ "jinyue9635@gmail.com" ]
jinyue9635@gmail.com
3e0eae434dee9b04f632d37f230cc54ecbbcd704
b0a0230640bff01c6099ed834a2b77a8a78aee34
/apps/common/utils.py
80641f1ca24e407794924150597fbac61332eedc
[]
no_license
mrtnayo/svb_backend_prod
e1dfa219be1d4000102acdf0402af19b79dcb18f
d69a6942da59f1ace6682befec12450c2f26b037
refs/heads/master
2022-11-21T01:48:37.883812
2020-07-20T03:54:50
2020-07-20T03:54:50
281,007,569
0
0
null
null
null
null
UTF-8
Python
false
false
2,045
py
# -*- coding: utf-8 -*- import random import string from django.utils.text import slugify from rest_framework.pagination import PageNumberPagination from rest_framework.response import Response from rest_framework.status import ( HTTP_400_BAD_REQUEST, HTTP_404_NOT_FOUND, HTTP_200_OK, HTTP_201_CREATED, ...
[ "mrtnayo@gmail.com" ]
mrtnayo@gmail.com
1883ff0ffb9bff6ab9d8d839f7c5e3d67045433b
7c8a7ec35f05abe3fc4cff1841678abcb8c9496a
/wykop/accounts/models.py
bedfc4eab0bad18c7091f6284f41c9a5a3c6bd20
[]
no_license
michals96/django_blog_app
76bd9083107a218cc48e36f1e6b2c578b8ebfbaf
a8ef4560cdaca3a710a3e0bc8be9beb86e3f0a52
refs/heads/master
2020-05-30T12:29:39.816603
2019-06-01T14:03:00
2019-06-01T14:03:00
189,735,304
1
0
null
null
null
null
UTF-8
Python
false
false
157
py
from django.contrib.auth.models import AbstractUser from django.db import models class User(AbstractUser): banned = models.BooleanField(default=False)
[ "michal@macbook-pro-michal.home" ]
michal@macbook-pro-michal.home
4bafadafbbbf859ee89ea28625e1f82ce1c6c27b
852f6b0f44b7479ce115ecd740da1235ef6706d4
/script_compile_STDN_small.py
fbf60594869d76d94593f1e620f1eca6d9100e43
[]
no_license
qiaodaben/NYCDatasetProcessing
201cd09e0c162a31973aba72eed151c9f580a00a
e6ce9affa20ef3762b7ee708e70f6185f1279ccd
refs/heads/master
2022-03-25T19:25:18.832608
2020-01-15T08:39:57
2020-01-15T08:39:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
import numpy as np from utils import generate_dates ''' Use this to take all the individual STDN files in data/ and put them into four large numpy arrays ''' # First batch of filenames fns_f = ["STDN-flow-2013-01.npz", "STDN-flow-2013-02.npz"] fns_v = ["STDN-volume-2013-01.npz", "STDN-volume-201...
[ "tpepin96@gmail.com" ]
tpepin96@gmail.com
5fcc7cbcdb6607e46ff22c7e9bb4ed75ef2fdbbb
c6646a4053a7546424fe7625c3a8ee05407610dc
/Python/Part II/11. Methods/main.py
ace2e5c2f175be8e992bb099ffaf7f9d01ff8be5
[]
no_license
diazinmotion/LearnCode
c269891fe03400ed71f0e00e2ca853aaf7b57f0a
6d125fb232c67acbe0c77d65e4810b0a859535aa
refs/heads/master
2023-05-10T04:40:35.018637
2020-10-18T11:47:09
2020-10-18T11:47:09
145,180,914
0
0
null
2023-05-01T19:50:11
2018-08-18T01:39:51
Python
UTF-8
Python
false
false
358
py
from counter import Counter # object method caller c = Counter(10) print(c.simpleMethod(1, 1)) # class method can be called from obejct print(c.sumOfNumbers(10, 20)) # class method can be called directly print(Counter.sumOfNumbers(1, 2)) # static method can be called directly a = Counter.multiplyOfNumbers(5, 5) pri...
[ "dimaswicaksono93@gmail.com" ]
dimaswicaksono93@gmail.com
83d990917bf793fe15f48767f4d08ec2aef59717
c05f2a26ce811f08950f49e103c66449c043722e
/YuQin/week05/homework05.py
41618aab232fd8c1477a93b67330ac4138baef67
[]
no_license
wjj800712/python-11
fd57b579fa35d0eddc07f86d8985ab45e525aaf3
83be5f468696500ae5cd9a7f869b59c49cdbd25d
refs/heads/master
2020-04-13T20:03:24.210828
2018-09-21T09:59:09
2018-09-21T09:59:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
#打乱列表 import random alist=[1,2,3,4,5] random.shuffle(alist) print(alist) #随机返回一种商品 store=["袜子"]*10 + ["鞋子"]*20 + ["拖鞋"]*30 + ["项链"]*40 random.shuffle(store) target=random.choice(store) print(target)
[ "yuqin940223@163.com" ]
yuqin940223@163.com
1de7a3a145c1faa4f9b381f060b5da58404920b9
bfed4b754a3741b45070e36fb741963e7dcc4535
/Youtube_learning/functions.py
f684dc2f9fa8a57530f4f164d2db5fa9c63fe4b7
[]
no_license
RudraECN/MyCode_Journal_python
2dcf3187fd4fd38d0efaa48d293cc35d3f79e7d9
0edf72f18f86a95792825895a4c63952259261eb
refs/heads/master
2023-08-28T20:08:21.807712
2021-11-12T21:52:35
2021-11-12T21:52:35
426,773,656
0
0
null
null
null
null
UTF-8
Python
false
false
302
py
def Nameof_function(): #indentation is iportant in functions. Imp in python print(" Hello user") def add_param(name,size): print("Hello " + name + "you are a " + size + "namuna" ) add_param("Rudra","small") add_param("MAndy","5") def cube(num): return num+num+num print(cube(3))
[ "patelrudra456@gmail.com" ]
patelrudra456@gmail.com
e3bbeb0c7d377d4b5d1612a8999324e7b651a988
679d796b89729f4dc29c9a020bc1a05dc663876a
/skill/views/skill.py
66d4b97e7778c34c35fc7f3bb49242bf5815c2c9
[]
no_license
erielmejias99/personal_web_backend
c459aa3224e4f795b710dbd32ec5631de18cddc1
059302176f6333cb3ec1997303cbb24f85983fd5
refs/heads/master
2023-05-10T12:53:53.468110
2021-05-30T03:14:08
2021-05-30T03:14:08
372,093,603
0
0
null
null
null
null
UTF-8
Python
false
false
781
py
from rest_framework.mixins import ListModelMixin, RetrieveModelMixin, CreateModelMixin, UpdateModelMixin, \ DestroyModelMixin from rest_framework.permissions import AllowAny, IsAuthenticated from rest_framework.viewsets import GenericViewSet from permission import IsSuperUser from skill.models import Skill from sk...
[ "erielmejias99@gmail.com" ]
erielmejias99@gmail.com
4e639caaa6cf3d48bcf922f4c974b7e0728af874
d3c672baac7878c8e115d3bcee0e70b245402eaa
/mnist_r5_advanced.py
56421ab57e6115e056b8e205c6aebb7446a18ef7
[]
no_license
baralevit/Training-Neural-Classifier-with-Regression-Objective
5137bc991a1e17585aab7a4c4b18b9a0f84a1718
6a3cc4022cb7ffa3e93a9af32c0ae847faf52604
refs/heads/main
2022-12-29T21:35:41.915425
2020-10-19T14:56:41
2020-10-19T14:56:41
305,417,979
0
0
null
null
null
null
UTF-8
Python
false
false
9,527
py
import torch import torchvision import torchvision.transforms as transforms batch_size =100 transform_train = transforms.Compose([ transforms.Pad(4), transforms.RandomHorizontalFlip(), transforms.ToTensor(), transforms.Normalize((0.1307,), (0.3081,)) ]) transform_test = transforms.Compose([ tr...
[ "noreply@github.com" ]
noreply@github.com
fc0e8603847804a8eb3f362ca615675aa298fe69
b54bd47e05b3e18ff274f4b7b32093e45d8be8a6
/extractionRelXQTable/createRelXQTable.py
84063423f34a0a24062b6a32a4a92aaed93da4a9
[]
no_license
whitexozu/PySpark-Example
14a4cd6ae1d816953a305e6df24e1b0fcee39cce
0f3dd0a2f7bb667b0662a4e7944595500150513f
refs/heads/master
2020-07-06T03:22:07.065403
2019-08-17T11:32:23
2019-08-17T11:32:23
202,872,721
0
0
null
null
null
null
UTF-8
Python
false
false
5,195
py
#-*- coding: utf-8 -*- import collections import math from operator import add from pyspark import SparkContext, SparkConf from pyspark.sql import Row from pyspark.sql import SparkSession from pyspark.sql.functions import * from pyspark.sql import functions from pyspark.sql.types import * from pyspark.sql.window impor...
[ "whitexozu@gmail.com" ]
whitexozu@gmail.com
8aea0d953aea07654445f1a42684e582aafcdfe2
9514ae0b2f60e7b8769cd49d0b3a7b660e71eca5
/profileapp/models.py
2019bffe5361e0d395440b595d3d0125bf8487c3
[]
no_license
hsw5703/Django
66bb2bce382c638051e30ea6c385e842baf68af3
ba67f5ae3f1a013c235e4314b440d2c8e5fce2d5
refs/heads/master
2023-07-01T05:43:36.076447
2021-08-12T03:45:29
2021-08-12T03:45:29
382,992,991
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from django.contrib.auth.models import User from django.db import models class Profile(models.Model): user = models.OneToOneField(User, on_delete=models.CASCADE, related_name='profile') image = models.ImageField(upload_to='profile/', null=True) # null=True : 데이터가 없어도 상관없는지 여부 nickname = models.CharField(...
[ "hsw5703@naver.com" ]
hsw5703@naver.com
b6be628f703dec55030e68c4a3d13a67ce8180be
a2d36e471988e0fae32e9a9d559204ebb065ab7f
/huaweicloud-sdk-aom/huaweicloudsdkaom/v2/model/statistic_value.py
d3dfd884e2f8fce485e13476f04cbd5dc66f26e0
[ "Apache-2.0" ]
permissive
zhouxy666/huaweicloud-sdk-python-v3
4d878a90b8e003875fc803a61414788e5e4c2c34
cc6f10a53205be4cb111d3ecfef8135ea804fa15
refs/heads/master
2023-09-02T07:41:12.605394
2021-11-12T03:20:11
2021-11-12T03:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,601
py
# coding: utf-8 import re import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class StatisticValue: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
aa740c632f2d979c85a9e077dec6523848a5ea4d
d17a6d47f5dcfc88b25c660eec7aa41440efb93b
/reports/views/reception.py
c9bfb3d7ea595209281eb4fbb657ce6030cb3b12
[]
no_license
mpsspb/fcbp
793cea8a916935f9f153785c1f044bbf225248b8
4120dd94084e953bc0867eec89681f3c1d5ba1fe
refs/heads/master
2021-05-07T13:47:01.072294
2017-11-06T10:57:10
2017-11-06T10:57:10
109,679,945
0
0
null
2017-11-06T10:20:55
2017-11-06T10:20:55
null
UTF-8
Python
false
false
7,405
py
# -*- coding: utf-8 -*- from datetime import timedelta, datetime from django.utils.translation import ugettext as _ from django.db.models import Sum from .base import Report from reports import styles from clients.models import ClientClubCard, UseClientClubCard, Client from finance.models import Payment from products...
[ "3apa3ka3@gmail.com" ]
3apa3ka3@gmail.com
36e44fafb23c05be61b43c4d4d77bda91af81127
aab524d9439cb4e0fa9a6f40d1f41908285e6314
/src/capture/aws/sqs.py
dd283895d992985dac0476410284ef11c887dfc2
[]
no_license
danbernstein/sl-example
f2171b60c7cca2949abc877401370df682f4186a
25ff1fdb8a37279014cc07ae7059a2ff33efa3c6
refs/heads/main
2023-01-13T11:13:36.643094
2020-11-15T17:16:44
2020-11-15T17:16:44
312,121,201
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
import json import uuid import os import traceback from botocore.exceptions import ClientError from loguru import logger from sqsextended.SQSClientExtended import SQSClientExtended from pysqs_extended_client.config import ( AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, ) BUCKET_NAME = json.loads(os.getenv('data')...
[ "danbernstein94@gmail.com" ]
danbernstein94@gmail.com
ea3f73e23f2513826d958c2c7db62761b6b90265
576365015ff9e08c5bcc7a88a4b7f52adb27ceab
/basesite/migrations/0001_initial.py
270f3d781072e9503f16b272b36513cdb9cb3a9d
[]
no_license
postindustrial/vityajeweler
a5f49a1e1acbc70a151f1190af14860cd16a8c51
93e0d99ae6ec73acd6058ea84e683a5538008bd4
refs/heads/master
2020-05-09T18:22:38.593744
2019-04-29T13:21:37
2019-04-29T13:21:37
181,339,496
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
# Generated by Django 2.0.13 on 2019-04-29 12:15 import ckeditor.fields from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='RealPage', fields=[ ...
[ "victorlegotin@gmail.com" ]
victorlegotin@gmail.com
692006753759743029b737d3aa6ed430a2b7c433
72247a311da4374aad057991a0544a12a58d5746
/123.py
d879f86aae5cf0d642645f52fb39ae64ca6529c9
[]
no_license
vijayarohini/Vijaya-Rohini
8429eb37d02a120b5c52ff69efd5e4969a391548
b9d8e1ca8bbfc9a6399d76fa047016835ee78975
refs/heads/master
2020-04-10T20:44:40.916313
2019-02-25T08:32:06
2019-02-25T08:32:06
161,277,337
0
0
null
null
null
null
UTF-8
Python
false
false
105
py
a=int(input("")) if(a==0): print("Zero") elif(a>0): print("Positive") else: print("Negative")
[ "noreply@github.com" ]
noreply@github.com
db3064926b3b2b35dccc32d8c301c80f044da4eb
bcf700ed0c1a48f62ab0445f39def684bafbe104
/python_server/test.py
9b0ed2fc2fdaa274b7632dc30679f486c0604688
[]
no_license
jmalliaros/hackTheNorth2015
4a584607118dd12ddbe7085b21bbd587264b03fe
307a8e22a664fdd77b783ab457804e0dc7c864d7
refs/heads/master
2020-04-28T03:14:41.986801
2017-04-28T19:02:42
2017-04-28T19:02:42
174,928,826
1
0
null
2019-03-11T05:02:06
2019-03-11T05:02:06
null
UTF-8
Python
false
false
529
py
count = 100 search = api.GetSearch(term='china', lang='en', result_type='recent', count , max_id='') for t in search: #print t.user.screen_name + ' (' + t.created_at + ')' #Add the .encode to force encoding print t.text.encode('utf-8') print '' #finding popular tweets countpop = 3 search = api.GetSearch(term='c...
[ "m45yang@uwaterloo.ca" ]
m45yang@uwaterloo.ca
71c848aa736f1b7aaaf894a5035e0ec68db6814c
e8f7c66e2ae19bb3ad0592a236186f7386d12886
/korean/__init__.py
f0246ccf98d8ae9bbf9eb17100aea68dcd1a5db0
[ "BSD-3-Clause" ]
permissive
Pusungwi/korean
c978264073bc8832675fcffd7ac7c1e8d9d29e9b
384961e38d396b05532afa0402b8f5d3662cbbf0
refs/heads/master
2020-12-30T17:32:59.583192
2012-10-12T01:36:23
2012-10-12T01:36:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
# -*- coding: utf-8 -*- """ korean ~~~~~~ A library for Korean morphology. :copyright: (c) 2012 by Heungsub Lee :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import from . import hangul, l10n, morphology from .morphology import Morpheme, Noun, NumberWord, Loanwo...
[ "h@subl.ee" ]
h@subl.ee
40509e9f6a36bec9a1d1da8601d22541a73c39e4
48bcf32a071250344ee169ceff0bfac1883abfa4
/catchip/admin.py
4098943623490dacec6b0f1e04ab64ee281bb519
[]
no_license
adewinter/ip_helper
871264a1e7781a8bd0c69c25a8f5331670557dd4
2d4835ca7dfb5196aff524c3e087331669fcc6c5
refs/heads/master
2021-01-01T05:51:22.910873
2011-09-21T10:24:40
2011-09-21T10:24:40
2,428,049
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
from django.contrib import admin from catchip.models import IPLog admin.site.register(IPLog)
[ "adewinter@dimagi.com" ]
adewinter@dimagi.com
0b06164f1e2ea52a10c1f12eb6a2a9ec9648565b
9bd265169c7ec5897dc28a93119387ab26e23547
/July LeetCoding Challege 2021/KthSmallestElementInaMatrix.py
3d2909f55f745e618fc3dd28aee7b57b64111b5d
[]
no_license
Premdeep/LeetCode
2c58a97b1882271a3e428f1cef3882ed8af741a4
84eabd9ced6fcc0dfb39809cc345f792a613dcfa
refs/heads/main
2023-06-15T02:25:26.200870
2021-07-11T00:04:56
2021-07-11T00:04:56
383,935,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,630
py
# Question: Kth Smallest Element in a Sorted Matrix # Given an n x n matrix where each of the rows and columns are sorted in ascending order, return the kth smallest element in the matrix. # Note that it is the kth smallest element in the sorted order, not the kth distinct element. # Example 1: # Input: matrix = [[...
[ "preamdhep.usapp@gmail.com" ]
preamdhep.usapp@gmail.com