blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
48da04f61e056962abffa6aab149f7ef9965f6c3
b6bcfd935f7876fc65416e7340fda1c9b0516fd7
/examples/pbc/12-gamma_point_post_hf.py
38f775af31be359c38bccf0b98f07a92246a91a7
[ "Apache-2.0" ]
permissive
lzypotato/pyscf
62f849b9a3ec8480c3da63a5822ea780608796b2
94c21e2e9745800c7efc7256de0d628fc60afc36
refs/heads/master
2020-09-06T22:45:04.191935
2019-06-18T06:04:48
2019-06-18T06:04:48
220,578,540
1
0
Apache-2.0
2019-11-09T02:13:16
2019-11-09T02:13:15
null
UTF-8
Python
false
false
913
py
#!/usr/bin/env python ''' Gamma point post-HF calculation needs only real integrals. Methods implemented in finite-size system can be directly used here without any modification. ''' import numpy from pyscf.pbc import gto, scf cell = gto.M( a = numpy.eye(3)*3.5668, atom = '''C 0. 0. 0. ...
[ "warlocat@zju.edu.cn" ]
warlocat@zju.edu.cn
bd55384ca7a0585407e1d2dfe91d875ad040fbdf
9b9f7546c9d4396bae7d9065b81b8c6c163b9a1d
/lectures/physics/old/NumericalIntegration003.py
04b881c55a92a5de32c593f54cd00e16b9b1b659
[]
no_license
geo7/csci321
60db9454fab00fc63624a4fc32c4dd47f02fda41
527744c8d76c5c4aceb07e23a1ec3127be305641
refs/heads/master
2020-12-28T14:50:17.267837
2015-06-03T19:18:53
2015-06-03T19:18:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,786
py
import numpy as N import pygame, time from pygame.locals import * from pygame.color import * import numpy as N from particlesystem import * #### Globals pygame.init() screen = pygame.display.set_mode((640,480)) background = pygame.Surface(screen.get_size()) background.fill((128,128,255)) myfont = pygam...
[ "geoffrey.matthews@wwu.edu" ]
geoffrey.matthews@wwu.edu
feb125c8c1bdc5ba19a5cbac3035d3dc811bf671
4e5d078e21cccd8ad2793055ca79865c2bb4c10a
/crawler/julyedu_crawler/julyedu_crawler/settings.py
d8b27127827e007dcc8ffec5a361ee941877fd59
[]
no_license
gifts1912/PythonProject
13cabf395cd9efaebca19e2ea8519d39b772a3c6
e6bccdb37a60bee9c219eaf8f9514109074c3ce4
refs/heads/master
2021-01-09T09:37:47.114854
2017-04-01T07:45:09
2017-04-01T07:45:09
81,183,554
1
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
# -*- coding: utf-8 -*- # Scrapy settings for julyedu_crawler project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/e...
[ "hengyliu@hotmail.com" ]
hengyliu@hotmail.com
d7dfea7732fa3aeb28a4d33e5c072968ab7880a2
de0724c1b71dce624ae2fcef9044952a6360c8cf
/pca_masks/extract_signal_subrois.py
7733df08085d1f4ecf29433da676cda48a8c7937
[]
no_license
Gilles86/bias_task
8c52914c55dc7866d5d679305be2ad4fcb96dc5e
18cce163e662c7edf8d42d7f32e87f0ed644875d
refs/heads/master
2021-07-09T01:45:43.381063
2020-07-29T08:17:20
2020-07-29T08:17:20
168,526,219
0
0
null
null
null
null
UTF-8
Python
false
false
3,474
py
import argparse import os.path as op import nipype.pipeline.engine as pe import nipype.interfaces.io as nio import nipype.interfaces.utility as niu import nipype.interfaces.ants as ants from niworkflows.interfaces.bids import DerivativesDataSink def main(derivatives, ds): if ds == 'ds-01': subjects = ...
[ "Gilles.de.Hollander@gmail.com" ]
Gilles.de.Hollander@gmail.com
fd5617504c204afac765da96f70e358c59e59da4
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/ltl_maxplus/f3/maxplus_28_14.py
431fa8d3ba87d98f91220e70c6fcd890d93465fc
[ "MIT" ]
permissive
teodorov/F3
673f6f9ccc25acdfdecbfc180f439253474ba250
c863215c318d7d5f258eb9be38c6962cf6863b52
refs/heads/master
2023-08-04T17:37:38.771863
2021-09-16T07:38:28
2021-09-16T07:38:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
80,926
py
from collections import Iterable from mathsat import msat_term, msat_env from mathsat import msat_make_true, msat_make_false from mathsat import msat_make_constant, msat_declare_function from mathsat import msat_get_rational_type from mathsat import msat_make_and as _msat_make_and from mathsat import msat_make_or as _...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
902e51bf7e36d601a8ba585d3269eb982f6f8d7c
a38670ee08ea64af33477899a68ee22936f70ce7
/luffy/第三模块/第6章网络编程/第6章每小节/5 文件传输/优化/服务端.py
d8ea33a935f6021bdfff842963a99952f97a3b17
[]
no_license
foremostxiao/d
40ed37215f411e8b081a4cb92c8ecbd335cd9d76
fe80672adc6b2406365b05d5cedd02c6abf66c11
refs/heads/master
2020-03-29T13:51:19.589004
2018-09-23T09:29:56
2018-09-23T09:29:56
149,985,622
0
0
null
null
null
null
UTF-8
Python
false
false
2,991
py
import socket import subprocess import struct import json import os,sys BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(BASE_DIR) from db import settings def get(conn,cmds): filename = cmds[1] header_dic = { 'filename': filename, 'md5': 'xxdxxx', ...
[ "foremostxiao@163.com" ]
foremostxiao@163.com
f27edaccdc64a506e287adb8921ebb20260c7a50
e0c00b126aecd06e0b914a6134c8c14f647ad620
/comment/models.py
43376e0cb71cc865babafdbc205c54541d018c96
[]
no_license
ssk1987/MyBlog_django
e658eb29504968fdf5659f8befbb598d039e721e
12d9e38b5f1b1460f3525fb4a57a0a73ceac1435
refs/heads/master
2023-03-28T09:47:08.446446
2021-03-26T06:52:46
2021-03-26T06:52:46
351,415,646
0
0
null
null
null
null
UTF-8
Python
false
false
1,548
py
from django.db import models from django.contrib.auth.models import User from article.models import ArticlePost from mptt.models import MPTTModel, TreeForeignKey from ckeditor.fields import RichTextField # 文章评论 class Comment(MPTTModel): # 被评论的文章 article = models.ForeignKey(ArticlePost, on_delete=models.CASCAD...
[ "10293665@qq.com" ]
10293665@qq.com
b9464425e45d62a6f92da84b5b394988caf0a5a1
0c01446c765b9765b1dd1e95dfd1915e61e5d16d
/run.py
6191de1ff540b604c8b4e4269fa1b126ea901f0d
[ "MIT" ]
permissive
saeedbeiraki/Second_Order_Parsing
3cf3ff75d62297236432d3efec895ee7f6e99c04
333c2dc5a72b2018f3e3331a232dfe3cd63f9a37
refs/heads/main
2022-12-29T15:22:16.908353
2020-10-22T09:15:57
2020-10-22T09:15:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,364
py
# -*- coding: utf-8 -*- import argparse import os from parser.cmds import Evaluate, Predict, Train from parser.config import Config import torch import pdb if __name__ == '__main__': parser = argparse.ArgumentParser( description='Create the Biaffine Parser model.' ) subparsers = parser.add_subpa...
[ "wangxy1@shanghaitech.edu.cn" ]
wangxy1@shanghaitech.edu.cn
0f6336a4696e6bd762d1b4c51b39b6aaca2b9344
3eed647ca50411ce28072085e50aaf83ea792539
/config.py
1fb9b937ded6c83b3ff2ec66e7fd7142b35075df
[]
no_license
valhuber/ApiLogicServerProto
132dcd6064b63fe0d02cb40e9c58ae191a3674f1
5425bf518e4201b103c7c943e23f18434284e6c7
refs/heads/main
2023-03-02T03:16:17.226783
2021-01-26T18:07:59
2021-01-26T18:07:59
328,511,148
1
1
null
2021-01-26T15:24:43
2021-01-11T00:46:32
Python
UTF-8
Python
false
false
1,794
py
"""Flask configuration variables.""" from os import environ, path import util from dotenv import load_dotenv # for complete flask_sqlachemy config parameters,session handling, # read: file flask_sqlalchemy/__init__.py AND flask/config.py ''' app.config.setdefault('SQLALCHEMY_DATABASE_URI', 'sqlite:///:memory:') app....
[ "valjhuber@gmail.com" ]
valjhuber@gmail.com
692f0ccbe03319a9173e638c8c084eaaaa48af69
96c6060e49418f87f49625fa2e141324aa809b5a
/setup.py
e2e56cba82e8fc128873f37e444afd18132ff835
[]
no_license
paulosjd/aqrecs
9e08dc79b74d24610bfc2c360f6fafd988ec38e7
3ea59811aabfb9b67431ab971e7cc9630cfea920
refs/heads/master
2020-12-10T00:18:06.044062
2020-03-15T22:41:00
2020-03-15T22:41:00
233,456,167
0
0
null
null
null
null
UTF-8
Python
false
false
1,468
py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.md')) as f: README = f.read() requires = [ 'plaster_pastedeploy', 'pyramid', 'pyramid_mako', 'pyramid_debugtoolbar', 'waitress', 'alembic', 'pyr...
[ "pjdavis@gmx.com" ]
pjdavis@gmx.com
2740018dd7730df6381dd6898796dac5699a78f5
a7d41aa056165fc33b0c1d8edd50b8557f642548
/Python/Map-1/map_ab3.py
b30e1d8ec495be592f788fc466020d41a6bd6c6e
[]
no_license
jemtca/CodingBat
3243ec9c5309f8581e1a54fba0b076069cec7d74
8545a70348dd621070c8b3efa280ca79a24f9d5a
refs/heads/master
2023-04-05T03:20:17.416495
2023-03-31T06:35:08
2023-03-31T06:35:08
147,287,514
0
0
null
null
null
null
UTF-8
Python
false
false
460
py
# modify and return the given map as follows: if exactly one of the keys "a" or "b" has a value in the map (but not both), set the other to have that same value in the map def map_ab3(d): if 'a' in d and not 'b' in d: d['b'] = d['a'] elif not 'a' in d and 'b' in d: d['a'] = d['b'] return d...
[ "30645648+jemtca@users.noreply.github.com" ]
30645648+jemtca@users.noreply.github.com
6c5086766388009f89ca4345eeff2ece6a1c74b4
4e62fcb385d9e8a6af0c6c9ec315f803d6ea190b
/testsuite/modulegraph-dir/package/submod.py
b112d56513f15007d3381465df24169829b90d7b
[ "MIT" ]
permissive
ronaldoussoren/modulegraph2
8d8a18b472574acc158c5c293ae4ed7b88f06ba9
227954f5037e291edc91e666f21bda44fd66fcb2
refs/heads/master
2023-09-01T05:16:44.873049
2023-04-09T10:28:19
2023-04-09T10:28:19
231,953,118
12
7
MIT
2023-04-09T10:29:06
2020-01-05T17:36:35
C
UTF-8
Python
false
false
33
py
""" submod """ import no_imports
[ "ronaldoussoren@mac.com" ]
ronaldoussoren@mac.com
3ab1275b9cc38744553596af5a248053d6f0c3cc
e83e8a3b7ef31b36b2c590b37bf2d1df1487fe5a
/ninja/security/apikey.py
ef210d43560322ac2c455bd8552c365eca0a3299
[ "MIT" ]
permissive
duilio/django-ninja
19d66eae1b3b01f9910f3ea0f569ed6d3a561707
8dac3c981bcf431322d32acd34c8179564a3698d
refs/heads/master
2023-01-21T07:17:02.544071
2020-11-25T10:48:30
2020-11-25T10:48:30
316,243,580
0
0
MIT
2020-11-26T13:56:19
2020-11-26T13:45:12
null
UTF-8
Python
false
false
981
py
from ninja.security.base import AuthBase from ninja.compatibility.request import get_headers class APIKeyBase(AuthBase): openapi_type = "apiKey" param_name = "key" def __init__(self): self.openapi_name = self.param_name super().__init__() def __call__(self, request): key = se...
[ "ppr.vitaly@gmail.com" ]
ppr.vitaly@gmail.com
8dfd73233628b2b4e5705f550dd176e3c4993a6f
fd1612fb542fede6899c3f69ff124e7b2335ad95
/list/views.py
15db2a2bde30f4d531e2cf5ac7e5e847feec1fd7
[]
no_license
Shovon588/toDoList
821a7163caa6d6abb4c7f8e6ecea34e6249b1b87
bf037097a37734a106c959729c05d9beb0f503e6
refs/heads/master
2021-09-25T08:07:45.355541
2020-04-19T05:18:23
2020-04-19T05:18:23
231,726,869
0
0
null
2021-09-22T18:52:30
2020-01-04T07:37:16
JavaScript
UTF-8
Python
false
false
2,062
py
from django.shortcuts import render from list.models import Item, UserIP from django.http import HttpResponseRedirect from django.urls import reverse from django.contrib import messages from datetime import datetime # Create your views here. def index(request): x_forwarded_for = request.META.get('HTTP_X_FORWARDE...
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
83f5415c5e682e0e5c90fe418860953455cc7050
cebe89b09271deb0dfff1baa5e1beb8b5a4f95c4
/pycurve/parser.py
d74028c6b2e9ddaec1f1845561fc620f793867bb
[ "Apache-2.0" ]
permissive
thatch45/curve
1ff3bcd8f961e25cf6d6f38a6c509c287d98eb82
2684733ad2de51e0a0c78a46d99ae4442f879e87
refs/heads/master
2020-05-29T21:49:37.110085
2013-12-12T05:38:46
2013-12-12T05:38:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
997
py
''' Parse command line options ''' import optparse def parse(): ''' Parse options for a server ''' parser = optparse.OptionParser() parser.add_option( '--server-ip', dest='server_ip', default='127.0.0.1', help='the server ip') parser.add_option(...
[ "thatch45@gmail.com" ]
thatch45@gmail.com
47c7333bc96d80de441ad9dfc8c33af56bea3437
03f32cdb30e6a44decd529f9112a6459c655b1ef
/2_FormNetAndSomeStatics/createnet.py
bcedbee39a9a6babce8a0838f2967829f15e8837
[]
no_license
curryli/AntiLanudry-Python
ee693480e0c62dc0795bd9b76499149cdec7a83a
4d69d911be5cea6aa30f6aeb263644614808cea2
refs/heads/master
2021-01-11T01:47:24.384978
2016-12-14T07:04:32
2016-12-14T07:04:32
70,667,232
0
0
null
null
null
null
UTF-8
Python
false
false
1,179
py
import sys import re import os def GetInOut(filein,fileout): r = re.compile('\s') with open(filein,'r') as FILEIN: with open(fileout,'w') as FILEOUT: for line in FILEIN.readlines(): ItemList = r.split(line) #in, out, money, locati...
[ "xurui.lee@msn.com" ]
xurui.lee@msn.com
cfeb943a74dbd748829d195b83c317c63c5c287f
d838bed08a00114c92b73982a74d96c15166a49e
/docs/data/learn/Bioinformatics/input/ch3_code/src/Stepik.3.10.CodeChallenge.GenerateContigsFromReads.py
9dac465815b57c2cd32dbeb1129b39899c5e4a18
[]
no_license
offbynull/offbynull.github.io
4911f53d77f6c59e7a453ee271b1e04e613862bc
754a85f43159738b89dd2bde1ad6ba0d75f34b98
refs/heads/master
2023-07-04T00:39:50.013571
2023-06-17T20:27:05
2023-06-17T23:27:00
308,482,936
1
0
null
null
null
null
UTF-8
Python
false
false
610
py
from FindContigs import find_maximal_non_branching_paths from Read import Read from ToDeBruijnGraph import to_debruijn_graph with open('/home/user/Downloads/dataset_240263_5.txt', mode='r', encoding='utf-8') as f: data = f.read() lines = data.split('\n') kmers = lines[:] kmers = [l.strip() for l in kmers] # get r...
[ "offbynull@gmail.com" ]
offbynull@gmail.com
cc46f4e6f27650f01b8dfc036fb07f4c738cc912
dc95dfb24f3cd12b823dfad2cca8607ab12e757b
/11-Lists-Mutation/Coding Exercises/while_testing.py
8fe180696ca79d5a7fb264b089e7bd7d79518111
[]
no_license
RandyG3/Python
06213a361deac2d653d4cd4734728838ed34e733
86068d81ae037beb6fd6114d93074a92c2f3108e
refs/heads/master
2023-01-06T15:18:43.173886
2020-11-08T03:03:34
2020-11-08T03:03:34
236,549,506
0
0
null
null
null
null
UTF-8
Python
false
false
171
py
def delete_all(strings, target): i = 0 while target in strings: strings.remove(target) i += 1 return strings print(delete_all([4, 4, 4], 4))
[ "40631249+RandyG3@users.noreply.github.com" ]
40631249+RandyG3@users.noreply.github.com
611565744823e16f64e1d21191a903a2c6a5d301
1f70e6c069074d848347cfb6674b1376a323aae2
/rich/rich_traceback.py
382f4424c6aad7f1c1e5e4e2547c69242b9adeed
[]
no_license
TalentBoy2333/python_study
5b3bf172a4bb04bd0ee05c24af7a223470ff78ca
703d2ff4d9fe18c9c5b801c3784e5e8f0845a3a7
refs/heads/master
2023-05-25T15:27:22.315664
2021-06-14T08:16:50
2021-06-14T08:16:50
357,243,974
0
0
null
null
null
null
UTF-8
Python
false
false
111
py
from rich.console import Console console = Console() try: a = 1 / 0 except: console.print_exception()
[ "957498562@qq.com" ]
957498562@qq.com
e10707058cbb09229792c940f0b0188728ca2335
c39f999cae8825afe2cdf1518d93ba31bd4c0e95
/PYME/ParallelTasks/taskQueue.py
c486b62becb2b78e8edbd235be56dd08794665e8
[]
no_license
WilliamRo/CLipPYME
0b69860136a9b2533f2f29fc29408d7471cb934d
6596167034c727ad7dad0a741dd59e0e48f6852a
refs/heads/master
2023-05-11T09:50:58.605989
2023-05-09T02:17:47
2023-05-09T02:17:47
60,789,741
3
1
null
2016-06-17T08:52:44
2016-06-09T16:30:14
Python
UTF-8
Python
false
false
5,659
py
#!/usr/bin/python ################## # taskQueue.py # # Copyright David Baddeley, 2009 # d.baddeley@auckland.ac.nz # # 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 Lice...
[ "willi4m@zju.edu.cn" ]
willi4m@zju.edu.cn
3804ffbc4338cf88a60d5ae74c2722e1a81e2149
09dd58f46b1e914278067a69142230c7af0165c2
/blackmamba/lib/rope/base/fscommands.py
3564ed919c9cfb40b50806b43940c8f8240d4135
[ "MIT" ]
permissive
zrzka/blackmamba
4e70262fbe3702553bf5d285a81b33eb6b3025ea
b298bc5d59e5aea9d494282910faf522c08ebba9
refs/heads/master
2021-01-01T18:43:19.490953
2020-01-20T08:26:33
2020-01-20T08:26:33
98,410,391
72
12
MIT
2020-01-20T08:26:35
2017-07-26T10:21:15
Python
UTF-8
Python
false
false
7,983
py
"""Project file system commands. This modules implements file system operations used by rope. Different version control systems can be supported by implementing the interface provided by `FileSystemCommands` class. See `SubversionCommands` and `MercurialCommands` for example. """ import os import shutil import subp...
[ "rvojta@me.com" ]
rvojta@me.com
7b2ae68ab7f1b7179ab667418b5826b4e8620bf4
1577e1cf4e89584a125cffb855ca50a9654c6d55
/pyobjc/pyobjc/pyobjc-framework-Quartz-2.5.1/Lib/Quartz/ImageKit/_metadata.py
aa46f15bceb55acf5c17fc448bf22a1d7c140bdd
[ "MIT" ]
permissive
apple-open-source/macos
a4188b5c2ef113d90281d03cd1b14e5ee52ebffb
2d2b15f13487673de33297e49f00ef94af743a9a
refs/heads/master
2023-08-01T11:03:26.870408
2023-03-27T00:00:00
2023-03-27T00:00:00
180,595,052
124
24
null
2022-12-27T14:54:09
2019-04-10T14:06:23
null
UTF-8
Python
false
false
21,281
py
# This file is generated by objective.metadata # # Last update: Fri Jun 8 16:58:05 2012 import objc, sys if sys.maxsize > 2 ** 32: def sel32or64(a, b): return b else: def sel32or64(a, b): return a if sys.byteorder == 'little': def littleOrBig(a, b): return a else: def littleOrBig(a, b): return b mis...
[ "opensource@apple.com" ]
opensource@apple.com
761973b5dd1207bb3727936299c38638b92eb8e8
6a0abe2f4172f680415d83f1946baaf85e5711b7
/aliyun-python-sdk-bssopenapi/aliyunsdkbssopenapi/request/v20171214/QueryAccountBalanceRequest.py
5815155394b4b7f9816484efc1ee6806044bb9e0
[ "Apache-2.0" ]
permissive
brw123/aliyun-openapi-python-sdk
905556b268cbe4398f0f57b48422b713d9e89a51
8c77db6fd6503343cffa3c86fcb9d11770a64ca2
refs/heads/master
2020-05-01T16:26:49.291948
2019-03-21T09:11:55
2019-03-21T09:11:55
177,572,187
1
0
null
2019-03-25T11:21:59
2019-03-25T11:21:59
null
UTF-8
Python
false
false
983
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 u...
[ "yixiong.jxy@alibaba-inc.com" ]
yixiong.jxy@alibaba-inc.com
8443bf3ecaa41447fe625e2fe2294e82ecab398d
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-cloudesl/aliyunsdkcloudesl/request/v20180801/DescribeStoresRequest.py
5a7a3d07d56264658c0fd2ae92922535fd509779
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,173
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 u...
[ "1478458905@qq.com" ]
1478458905@qq.com
b7cc73147ba4ef14c6838961e1aef059cb0b31c4
66bb3f65f0157a2b5475903c90a54d5173bc4f0a
/djthia/bin/thank_you.py
ee920d6ca181a5ffa1743eab7dad3af84a511194
[ "MIT" ]
permissive
carthage-college/django-djthia
691233049bcb05391fd82e390edb717f3bc0588a
52401592291a980c7226c0573d415e7cdb8c20d3
refs/heads/master
2023-03-04T08:22:03.055448
2023-02-24T18:33:12
2023-02-24T18:33:12
249,989,382
0
0
MIT
2023-02-24T18:33:56
2020-03-25T13:43:24
Python
UTF-8
Python
false
false
1,155
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- import django import os import sys # load apps django.setup() from django.conf import settings from djthia.gearup.models import Annotation from djtools.utils.mail import send_mail # env os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djthia.settings.shell') DEBUG = ...
[ "plungerman@gmail.com" ]
plungerman@gmail.com
7b98ad676a95b27ba930eb3ee2cf809754df15c6
9cc1b58d0319308da98187d071295b2fabf1f080
/0730_numpy/a0730_終於教到Numpy_02.py
3e6fefbfabd6cd5f2e6ebc2b2d00832df63433cd
[ "MIT" ]
permissive
Arwen0905/Python_Test
60d1dee383c9cf27df6b93cfde7884c91092229c
c75357e4354a684a9fae41f751dae60d4cf0716c
refs/heads/master
2023-01-13T13:14:55.355898
2020-10-31T18:52:07
2020-10-31T18:52:07
265,150,874
0
1
null
null
null
null
UTF-8
Python
false
false
1,089
py
import numpy as np a = np.array([1,2,3]) a = a * 3 a = a + 2 print(f"原本的a: {a}") b = np.array([2,2,0]) print(f"原本的b: {b}") print("a+b: ",a+b) # print("a/b: ",a/b) #除有問題 print("a*b: ",a*b) #建立陣列: np.array #建立陣列: np.arange c = np.arange(10) print(c) d = np.linspace(0,10,5) #平均撒點 print(d) e = np.array([[1,2,3],[4,5,6]...
[ "qq23378452@gmail.com" ]
qq23378452@gmail.com
d72d8940b00243adfe8eab7a936b3ee7a94c04c1
7c06b1221eba1da4141cdadaefbe318ad8cc13ec
/email_daemon.py
3e9cbc9b9537327634c8a4b1b02a621f3a790356
[]
no_license
danielmoniz/netrunner_db
c539323ff995157d881dd04d3e294889987c1727
3eb2c3f6388d3a2aebfaa1d7655319a92f385c00
refs/heads/master
2021-01-01T06:00:27.577047
2016-11-09T17:06:06
2016-11-09T17:06:06
19,191,392
0
0
null
null
null
null
UTF-8
Python
false
false
59
py
from netrunner import mail_reader mail_reader.read_mail()
[ "daniel.moniz@gmail.com" ]
daniel.moniz@gmail.com
3ff08b6463ee0d3726a8807965d91aba577eb6f3
dd87194dee537c2291cf0c0de809e2b1bf81b5b2
/test/test_v1beta1_deployment_spec.py
661c7f5b82ef365e85cabe855eb49e525f5a2da1
[ "Apache-2.0" ]
permissive
Arvinhub/client-python
3ea52640ab02e4bf5677d0fd54fdb4503ecb7768
d67df30f635231d68dc4c20b9b7e234c616c1e6a
refs/heads/master
2023-08-31T03:25:57.823810
2016-11-02T22:44:36
2016-11-02T22:44:36
73,865,578
1
0
Apache-2.0
2018-10-10T12:16:45
2016-11-15T23:47:17
Python
UTF-8
Python
false
false
1,440
py
# coding: utf-8 """ Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: unversioned Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "Licens...
[ "mehdy@google.com" ]
mehdy@google.com
f28198c3ce34e8dc612664c6550ed1185d9c3b32
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5690574640250880_1/Python/kevinleeone/main.py
7a28010c1cded6c2928d58496a1d84262b6a4e88
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
2,338
py
import sys def fillRow(data, row): for i in range(len(data[row])): data[row][i] = '*' def fillCol(data, col): for i in data: i[col] = '*' def fill(data, row, col): data[row][col] = '*' def printSolution(data): return '\n'.join([''.join(i) for i in data]) def solve(): row, col, m...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
050fdadc5b742ad96f26c3e3b74fc638ca7f9300
2cb2bc953975540de8dfe3aee256fb3daa852bfb
/kawagashira_nobuyuki/tyama_codeiq186.py
c27fa12584c938e2faec4bcece92b9bd39865131
[]
no_license
cielavenir/codeiq_solutions
db0c2001f9a837716aee1effbd92071e4033d7e0
750a22c937db0a5d94bfa5b6ee5ae7f1a2c06d57
refs/heads/master
2023-04-27T14:20:09.251817
2023-04-17T03:22:57
2023-04-17T03:22:57
19,687,315
2
4
null
null
null
null
UTF-8
Python
false
false
870
py
#!/usr/bin/python #coding:utf-8 import nltk #import re #nltk.download() #Download Corpora -> gutenberg from nltk.corpus import gutenberg #words1 = [w.lower() for w in gutenberg.words('austen-sense.txt')] #words2 = [w for w in words1 if re.sub(r'[^a-z]','',w)==w] words2 = [w.lower() for w in gutenberg.words('austen-sens...
[ "cielartisan@gmail.com" ]
cielartisan@gmail.com
3ce44d8bde5dbf48a665dbc4c07d1ad54d105060
4db539a1fec5369d1970a10554a71f85b31a1855
/manage_command/migrations/0003_auto_20200707_2112.py
43943b20f0285a850ceef3038c56e8a6990cda4a
[]
no_license
1SouravGhosh/API_MONGO
8f04f37892703fbac9d851028505252cf58886b8
b7071ec5797adf3bcccdf6749c560f50e1469839
refs/heads/master
2022-11-19T23:35:03.933449
2020-07-10T07:24:22
2020-07-10T07:24:22
278,567,555
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# Generated by Django 3.0.5 on 2020-07-07 15:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('manage_command', '0002_auto_20200707_2111'), ] operations = [ migrations.RenameField( model_name='command', old_name='comman...
[ "1SouravGhosh@noreply.github.com" ]
1SouravGhosh@noreply.github.com
f86b14c00d63c82b17124a789bec6e8f3d9f89e5
37683c6f6c36f47ff4c7344576b268817e992ec3
/源代码/p17/p17_50.py
5b95523d6d60cf37313b3d1f9b97a73f93d0f7ac
[]
no_license
WhiteSheep-y/Python
33e026a798e2a02d75908cefa2b02fa2c654e199
a166bdb8ec8bcea2f955b43d16e9c9b92c44f558
refs/heads/main
2023-06-01T02:09:32.641415
2021-06-16T15:00:09
2021-06-16T15:00:09
359,199,929
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
# p17_50.py from tkinter import * root = Tk() def create(): top = Toplevel() top.title("FishC Demo") msg = Message(top, text="I love FishC.com") msg.pack() Button(root, text="创建顶级窗口", command=create).pack() mainloop()
[ "xiaomie_y@163.com" ]
xiaomie_y@163.com
53096071f7b1fc09e5f96abc1c67458157a34650
1b78ca7f3250ebed418717c6ea28b5a77367f1b8
/051.n-queens/n-queens.py
0d216ecb8ef8f38a36a8a90aa7459786820bdf17
[]
no_license
JaniceLC/lc-all-solutions
ced854f31b94f44c0b03a0677988805e3b9ee718
3f2a4ee8c09a8890423c6a22c73f470eccf979a2
refs/heads/master
2020-04-05T19:53:31.307528
2018-11-12T04:18:45
2018-11-12T04:18:45
157,155,285
0
2
null
2018-11-12T04:13:22
2018-11-12T04:13:22
null
UTF-8
Python
false
false
1,091
py
class Solution(object): def solveNQueens(self, n): """ :type n: int :rtype: List[List[str]] """ ans = [] def dfs(path, n, ans): if len(path) == n: ans.append(drawChess(path)) return ...
[ "jedihy@yis-macbook-pro.local" ]
jedihy@yis-macbook-pro.local
b7334aef4dd1fac6f082369bba23650ac0764e78
6f866eb49d0b67f0bbbf35c34cebe2babe2f8719
/tests/app/forms/field_handlers/test_field_handler.py
81289acd03f8c36048634f0175cd0fdb9e99385b
[ "MIT", "LicenseRef-scancode-proprietary-license" ]
permissive
ONSdigital/eq-questionnaire-runner
681b0d081f9cff0ee4ae3017ecc61f7390d553bf
87e7364c4d54fee99e6a5e96649123f11c4b53f1
refs/heads/main
2023-09-01T21:59:56.733363
2023-08-31T15:07:55
2023-08-31T15:07:55
219,752,509
12
18
MIT
2023-09-14T11:37:31
2019-11-05T13:32:18
Python
UTF-8
Python
false
false
2,438
py
from wtforms import validators from app.forms import error_messages from app.forms.field_handlers.string_handler import StringHandler from app.forms.validators import ResponseRequired def test_get_mandatory_validator_optional(value_source_resolver, rule_evaluator): answer = {"mandatory": False} text_area_ha...
[ "noreply@github.com" ]
ONSdigital.noreply@github.com
690ea698c2f6650c9785ed6877b332086552e8c7
6b4f38370ce1126a7f74e13c2012ab238a01df93
/azure-mgmt-compute/azure/mgmt/compute/compute/v2017_03_30/models/os_disk_image.py
52165b11bc0cd25a81a4315d22b3130f970e4f7d
[ "MIT" ]
permissive
action/azure-sdk-for-python
52d8a278bfb2fbc9c7e11297e3bd21c604f906b1
f06553e45451f065c87ee9ed503ac4be81e64a71
refs/heads/master
2020-12-03T02:13:52.566291
2017-06-30T18:42:49
2017-06-30T18:42:49
95,917,797
1
0
null
2017-06-30T19:25:58
2017-06-30T19:25:58
null
UTF-8
Python
false
false
1,140
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
3c288fa74b379bbb4e9419282be8f2108292fa16
139715a923c8c82b172803d5bdc1b1bca46fbdf3
/leetcode/swap_node.py
5bfdd00934e97a6e295d9ed9688c73a3b12c36b5
[]
no_license
haoccheng/pegasus
ab32dcc4265ed901e73790d8952aa3d72bdf72e7
76cbac7ffbea738c917e96655e206f8ecb705167
refs/heads/master
2021-01-10T11:33:23.038288
2016-03-18T04:17:28
2016-03-18T04:17:28
46,103,391
0
0
null
null
null
null
UTF-8
Python
false
false
955
py
# Given a linked list, swap every two adjacent nodes and return the head. # 1->2->3->4 return: 2->1->4->3. # Use constant space. May not modify the values in the list; only nodes itself can be changed. class ListNode: def __init__(self, x): self.val = x self.next = None def pt(self): ret = [] ret....
[ "haoc.cheng@gmail.com" ]
haoc.cheng@gmail.com
b285f83ba9cb715e85abeb79cde46b6044797581
9507ff9e9bca2ca8104369c9e25acd74d308e9b3
/data_collect/novatel_pi.py
485fa7917c9ecbd01b49b1f1ad849886d092ea02
[]
no_license
yangkang411/python_tool
03e483c7ec7e1e76284f93cf5b9086fdf98af826
713071a9fbabfabcbc3c16ce58d1382c410a7ea3
refs/heads/master
2023-03-17T16:14:03.332332
2020-09-10T02:37:05
2020-09-10T02:37:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,837
py
#!/usr/bin/python import serial import math import time import datetime import os def get_utc_day(): year = int(time.strftime("%Y")) month = int(time.strftime("%m")) day = int(time.strftime("%d")) hour = int(time.strftime("%H")) minute = int(time.strftime("%M")) second = int(time.strftime("%S")) local_time = d...
[ "41727862+geqian@users.noreply.github.com" ]
41727862+geqian@users.noreply.github.com
6dc99ea802bf1e2b5e2bec7686b08547ccf9f1ae
b71e4e576d242598d8cec5c552e1d66630b81328
/tools/generate_changelog.py
810bde02639a0ed417bc48dd5d0bd88b0c2d2b77
[ "Apache-2.0" ]
permissive
Global19-atlassian-net/qiskit-bot
d77b7b326e3a9b3e4db3b7453fa62326ecc65be7
2cd2e27d0ff51bb517eee0ceab24cb57b2034f12
refs/heads/master
2023-03-31T08:05:38.992587
2021-04-09T20:23:50
2021-04-09T20:23:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,863
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This code is part of Qiskit. # # (C) Copyright IBM 2019 # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICE...
[ "mtreinish@kortar.org" ]
mtreinish@kortar.org
7c7f43bb605f5e933d8b743773578ddafeecd426
35e79b51f691b7737db254ba1d907b2fd2d731ef
/AtCoder/ARC/108/B.py
70f7cfc3ece60774a07f7d71f03ed6736989158b
[]
no_license
rodea0952/competitive-programming
00260062d00f56a011f146cbdb9ef8356e6b69e4
9d7089307c8f61ea1274a9f51d6ea00d67b80482
refs/heads/master
2022-07-01T02:25:46.897613
2022-06-04T08:44:42
2022-06-04T08:44:42
202,485,546
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
n = int(input()) s = input() seq = [] for i in range(n): seq.append(s[i]) if len(seq) <= 2: continue if seq[-3] + seq[-2] + seq[-1] == "fox": for j in range(3): seq.pop() print(len(seq))
[ "dragondoor0912@yahoo.co.jp" ]
dragondoor0912@yahoo.co.jp
dacc6ba9a649d25e5bab950814610ce498f64c67
e77b92df446f0afed18a923846944b5fd3596bf9
/Programers_algo/DFS_BFS/pro_4_re_re_re.py
6c6c3154a70e176d89d9f76bbb775c1d43586c4c
[]
no_license
sds1vrk/Algo_Study
e40ca8eb348d1fc6f88d883b26195b9ee6f35b2e
fbbc21bb06bb5dc08927b899ddc20e6cde9f0319
refs/heads/main
2023-06-27T05:49:15.351644
2021-08-01T12:43:06
2021-08-01T12:43:06
356,512,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,037
py
from collections import defaultdict def solution(tickets): # 특정 티켓의 인접 리스트를 구하는 함수 def init_graph(): routes = defaultdict(list) for key, value in tickets: routes[key].append(value) return routes # 재귀 호출을 사용한 DFS def dfs(key, footprint): if len(footprint) == N...
[ "51287886+sds1vrk@users.noreply.github.com" ]
51287886+sds1vrk@users.noreply.github.com
77f5260da75e460a62606596b673ba4a447d4e95
795dc0de20ee4c7f4067231560238d67adb81d7e
/tests/tagifai/test_data.py
1c2750da6855674f85cb8a23e6af3aabb053a192
[ "MIT" ]
permissive
raulqf/MLOps
9fe3597b9313c4079b9ec6ec0e64e53c7629a180
9cd4efb5ae4b201f10c92cc1f79b64c04e99b1f7
refs/heads/main
2023-08-08T01:21:41.934588
2021-09-15T23:29:18
2021-09-15T23:29:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,631
py
# tests/tagifai/test_data.py # Test tagifai/data.py components. import itertools import tempfile from argparse import Namespace from collections import Counter from pathlib import Path import numpy as np import pytest from app import config from tagifai import data, main, utils @pytest.fixture(scope="module") def ...
[ "gokumd@gmail.com" ]
gokumd@gmail.com
ec3d37871d0b7c038a83fbd98c57ece4b479fd40
ba4e73e43a419b2491c68ef1b64f6ff21c296fb8
/src/profiles_project/profiles_api/serializers.py
41de36ffefe6a3fc177d0ac206d764e10d37fdc8
[]
no_license
adithyanps/profile-rest-api
7ca6c14f43bc072b4cd3815463950753867b5786
65421b9f3fd45f80ef86a8ca6591929a0e5453d8
refs/heads/master
2020-04-09T22:35:40.979205
2018-12-06T07:15:54
2018-12-06T07:15:54
160,632,750
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
from rest_framework import serializers from . import models class HelloSerializer(serializers.Serializer): """serialise a name field for testing our API view""" name = serializers.CharField(max_length=10) class UserProfileSerializer(serializers.ModelSerializer): """A serializer for our user profile object...
[ "adithynps3@gmial.com" ]
adithynps3@gmial.com
3cf0e33afa27ddc56d6846b1d08d09011df235f6
5c11c2731c736be4055639b9ddae74d2536a62b9
/cloudmesh_base/locations.py
f7d263a459b779d2e44c894868778aa42b558464
[ "Apache-2.0" ]
permissive
zaber-paul/base
6694e1e12c0ca7e500e7e645df0336475bf0b11a
9c4d4e40db7a5059dcaa32d44be0146b6bb829c4
refs/heads/master
2020-08-11T09:37:08.805336
2020-01-08T01:24:44
2020-01-08T01:24:44
214,541,353
0
0
Apache-2.0
2019-10-11T22:56:48
2019-10-11T22:56:48
null
UTF-8
Python
false
false
890
py
from cloudmesh_base.util import path_expand from cloudmesh_base.Shell import Shell import os __config_dir_prefix__ = os.path.join("~", ".cloudmesh") __config_dir__ = path_expand(__config_dir_prefix__) def config_file(filename): """ The location of the config file: ~/.cloudmesh/filename. ~ will be expanded ...
[ "laszewski@gmail.com" ]
laszewski@gmail.com
a78b3e5b9320fcde83a6189f7374d3fd0882b1bf
98dfa21cd26462658165c802a16b697cf1ba582f
/blog/models.py
e9c5ed76a0502a3bcd4b7f74d90fcf624cd8409b
[]
no_license
samirpatil2000/startwith_rest-framework
9408c295bf08ed21551ae5e5fe45a54c45bde8d2
0b1e3978886ab3fea40d046814c3ca3bc258c8f7
refs/heads/master
2022-12-31T14:04:36.376080
2020-10-18T06:17:36
2020-10-18T06:17:36
304,104,735
0
0
null
null
null
null
UTF-8
Python
false
false
1,795
py
import random from django.db import models from django.db.models.signals import pre_save from django.urls import reverse from django.utils.text import slugify from django.conf import settings from django.db.models.signals import post_delete from django.dispatch import receiver # Create your models here. def upload_l...
[ "samirspatil742099@gmail.com" ]
samirspatil742099@gmail.com
bf25d724880936aef9b3440e4517fa7ff12fc670
a024fe3b05dd320a7860165dd72ebd832ce6e484
/sale_order_portal/models/models.py
09856cd628a8bd90a34b8d5a2e76f83c0d408bf3
[]
no_license
acostaw/erp_odoo
97d02a675908e441cf8e1ba4e3dcbc62691f8dec
2437997b650c9fdbf6a6f007c0a1fea2aab018e2
refs/heads/main
2023-04-19T14:52:48.877851
2021-04-22T18:40:07
2021-04-22T18:40:07
360,644,871
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
# -*- coding: utf-8 -*- from odoo import models, fields, api # class sale_order_portal(models.Model): # _name = 'sale_order_portal.sale_order_portal' # name = fields.Char() # value = fields.Integer() # value2 = fields.Float(compute="_value_pc", store=True) # description = fields.Text() # # @a...
[ "wacosta@INTN.GOV.PY" ]
wacosta@INTN.GOV.PY
978ffec64bc93981e16854128c9f7aade48bfc3f
a4e6b080d17611853374577aaecb0367366b39b5
/glycresoft_sqlalchemy/web_app/services/json_api.py
222df0e6d93e068677cb4d7a0fa37616774c997e
[]
no_license
mobiusklein/glycresoft_sqlalchemy
6235b1ea2c8da9ef6b2e725a60f0b6a925f1689d
e0edf12a8d6243cc2438a6236aa0564a28f92a8a
refs/heads/master
2020-04-06T05:38:35.849225
2016-11-21T03:25:26
2016-11-21T03:25:26
37,537,754
0
2
null
2016-11-21T03:25:27
2015-06-16T15:10:45
Python
UTF-8
Python
false
false
1,370
py
from flask import Response, Blueprint, g, jsonify from glycresoft_sqlalchemy.data_model import GlycopeptideMatch, Hypothesis, HypothesisSampleMatch, json_type from glycresoft_sqlalchemy.report import colors JSONEncoderType = json_type.new_alchemy_encoder() # ---------------------------------------- # JSON...
[ "mobiusklein@gmail.com" ]
mobiusklein@gmail.com
aee11c008b0ca2f0155cc78007ea2d40ddb62c6b
09a6d8dbad5b92f93791948b5bf9b75f5cb2e5ce
/tests/pulse/test_rydberg.py
09b9dec3a11de3365dc2030989535323b841e771
[ "Apache-2.0" ]
permissive
PennyLaneAI/pennylane
458efd5d9457e90ada31ca2ef0fb6bb96a24e9a7
0843183ff15a013c2622af5e61fea431d18076d3
refs/heads/master
2023-09-03T17:00:43.105784
2023-09-01T16:15:07
2023-09-01T16:15:07
129,936,360
1,431
410
Apache-2.0
2023-09-14T21:30:56
2018-04-17T16:45:42
Python
UTF-8
Python
false
false
16,570
py
# Copyright 2018-2023 Xanadu Quantum Technologies Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or...
[ "noreply@github.com" ]
PennyLaneAI.noreply@github.com
f1627ae27f127f6561a052c0246ee3cff0d0491e
b84955813634b3e64a82bc9c9bef13d2b596e4db
/us_addresses.py
fabfdb2b11e79431c34aab25c462521541da4a27
[]
no_license
henocdz/postalcodes
6cf5157c5f6946a42abad875b0d6bddfd77ec7c2
3f95618b2423b6f0fd9970b7b92f8f53322d28d7
refs/heads/master
2021-01-03T04:48:22.295053
2020-02-14T16:25:13
2020-02-14T16:25:13
239,929,346
0
1
null
null
null
null
UTF-8
Python
false
false
4,442
py
import json from geopy.geocoders import GoogleV3 import concurrent.futures MAPS_API_KEY = "" STATES = { "AA": "Armed Forces Americas", "AE": "Armed Forces Middle East", "AK": "Alaska", "AL": "Alabama", "AP": "Armed Forces Pacific", "AR": "Arkansas", "AS": "American Samoa", "AZ": "Ariz...
[ "henocdz@gmail.com" ]
henocdz@gmail.com
8bc19bc8b5f4e92d2e69058ec02dacb602eba280
36273a4ce1e01bdd3d80c71e22fb5fae751a264c
/elementary/first_word.py
dc268bd1542686110339791a8ac293dd90665da6
[]
no_license
pavoli/checkIO
63e0e347a0a4800626e5d2d1be07f53e86de070f
27578ce460c45a82bd549206a4260fc3f9ec711b
refs/heads/master
2022-02-07T08:26:40.509503
2019-07-11T06:54:54
2019-07-11T06:54:54
114,545,792
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
# -*- coding: utf-8 -*- import re #s = 'Hello world' #s = 'greetings, friends' #s = ' a word ' #s = "don't touch it" #s = "... and so on ..." s = "Hello.World" def first_word(str): new_str = str.replace(',', ' ') new_str = new_str.replace('.', ' ') for i in new_str.split(' '): if re.search('^([a-...
[ "pavel.olifer@gmail.com" ]
pavel.olifer@gmail.com
3720c7d48077bc2eb852dfeb905da7a06b79d172
463c8ba5baad086d37819804af4ee10f43ab6dd5
/Algorithm/190826/서울3반_홍수경_4880_토너먼트 카드게임.py
5e28e22ac950f854a850cfbf5df5597d724a4a28
[]
no_license
sooya14/TIL
dbbb0608d45ce273ddef6f7cea1b1195285f269d
232b0d38d8f6ee2e6e5517bfd6a2a15cf1000dad
refs/heads/master
2023-01-11T17:12:39.370178
2020-05-11T12:06:41
2020-05-11T12:06:41
195,916,241
0
0
null
2023-01-05T18:22:56
2019-07-09T02:17:42
Jupyter Notebook
UTF-8
Python
false
false
231
py
import sys sys.stdin = open('4880_토너먼트 카드게임.txt', 'r') def gbb(people): T = int(input()) for tc in range(T): num = int(input()) people = list(map(int, input().split())) print(tc+1, num, people)
[ "soosmile9653@gmail.com" ]
soosmile9653@gmail.com
9493189223318dadd253d8cd0089fddd799df474
60e38d3122cfb18cf8901e0d7fba02ef2a32affa
/notebooks/__code/ui_registration_profile_settings.py
557057a50a472250f2e9186f5148506fa616bf90
[ "BSD-3-Clause" ]
permissive
earnestdl/python_notebooks
ac11b40d9d5e721b947b083b2f4c301079f206a8
4ef31711b70b90cf621e9e9d094fa2a43eeeae16
refs/heads/master
2023-03-12T19:41:44.229158
2021-02-22T15:41:57
2021-02-22T15:41:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,331
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/Users/j35/git/python_notebooks/notebooks/ui/ui_registration_profile_settings.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_Ma...
[ "bilheuxjm@ornl.gov" ]
bilheuxjm@ornl.gov
0838708c369b20173d3a097231fd65eda479e366
368c66467b78adf62da04cb0b8cedd2ef37bb127
/SW expert/python/회문2.py
c76690313edabce32dc132e0b0a60e8d53b94f55
[]
no_license
DJHyun/Algorithm
c8786ddcd8b5693fc9b3b4721fdf1eeda21611c5
fd6ae800886dac4ec5ff6cf2618bc2c839a76e7a
refs/heads/master
2020-07-30T16:32:49.344329
2020-02-25T07:59:34
2020-02-25T07:59:34
210,289,983
0
0
null
null
null
null
UTF-8
Python
false
false
1,193
py
import sys sys.stdin = open("회문2.txt", "r") def my_palindrome(a): for i in range(len(a) // 2): if a[i] != a[len(a) - 1 - i]: return False return True for test_case in range(1,11): input() sh = [] sv = [] result = 0 for i in range(100): sh.append(lis...
[ "djestiny4444@naver.com" ]
djestiny4444@naver.com
baea61977f014066c06cd7432a185fe8ee8c8fe4
4fd35f92c0c5fbdab85da5d3583ade2a838e7332
/services/files.py
7e06380031b09b0ec77f58670aa618ab67ec40df
[]
no_license
Finding-Articles-Using-Snippets/AFUS-Backend
0551ff53a5f9f9f2ded30e4a81a0970ef73c7e8a
80f676976e07982e5ed98456c49864ea4ebc1339
refs/heads/main
2023-02-04T20:48:38.217037
2020-12-18T20:37:23
2020-12-18T20:37:23
314,789,145
0
0
null
null
null
null
UTF-8
Python
false
false
119
py
def getPdf(user_id, file_id): text = '' return text def getDictionary(user_id): dict = {} return dict
[ "ajinkyataranekar@gmail.com" ]
ajinkyataranekar@gmail.com
d5d6a4febd04864dbf24cbed11cb887994e90f9d
d8422247ecbe450c75df45dcf2c92fb4438b65af
/horizon/openstack_dashboard/dashboards/network/vpn/forms.py
77329021e3407151bd02ae7f4286d402294cf101
[ "Apache-2.0" ]
permissive
yianjiajia/openstack_horizon
deb9beca534b494b587ae401904c84ddbed64c4a
9e36a4c3648ef29d0df6912d990465f51d6124a6
refs/heads/master
2016-09-12T21:34:25.718377
2016-04-28T05:29:56
2016-04-28T05:29:56
57,273,157
0
0
null
null
null
null
UTF-8
Python
false
false
18,783
py
# Copyright 2013, Mirantis Inc # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agre...
[ "yanjj@syscloud.cn" ]
yanjj@syscloud.cn
4ebaf23e1ab2fff8d10ecedfe6fb866c36b15ff4
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-elasticsearch/aliyunsdkelasticsearch/request/v20170613/UpdateInstanceChargeTypeRequest.py
cab978c843cbe65c84557ce41d927fee367195fd
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
1,944
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 u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
f4a798c794dcd2f46d7d18e1f36c63693a7d3aec
232c2738dff4b89ca63d7d4ec3c812570e3860c3
/ch06/better_rnnlm.py
0f8b26a6b999cb089ed405c9a6e08498643d5b53
[]
no_license
Soh1121/DeepLearningFromScratch2
0c115fcdf15c7b0cfd5d1ce7c6c32873354839d7
f2294156c6394fd105a6534801ff42a078b0a0af
refs/heads/main
2023-02-19T15:58:58.779465
2021-01-20T02:06:07
2021-01-20T02:06:07
319,550,802
0
0
null
2021-01-19T06:30:58
2020-12-08T06:45:41
Python
UTF-8
Python
false
false
2,722
py
import sys sys.path.append('..') from common.np import * # import numpy as np from common.time_layers import * from common.base_model import BaseModel class BetterRnnlm(BaseModel): ''' LSTMレイヤを2層利用し、各層にDropoutを使うモデル [1]で提案されたモデルをベースとし、weight tying[2][3]を利用 [1] Recurrent Neural Network Regularizat...
[ "satou.shg@gmail.com" ]
satou.shg@gmail.com
faaa83c242009275d9ca670497e67c056417638e
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.0_rd=1_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=2/params.py
a831fdb8216bcc697815a8f8e189c1e1b40951a2
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
251
py
{'cpus': 4, 'duration': 30, 'final_util': '2.040810', 'max_util': '2.0', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 2, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
7c34b796aabf2898ce5b3391cd849ba3d47df125
5380c194fd3d97ce5779790abe8ffa1694daa519
/BackEnd/Account/views/Account.py
f6880e538f29d92e69825a4999c829b54ee73d67
[]
no_license
frshman/LuffyCity
4efc5360256cb328cdc34091762078bde11610be
8f3143e832a457a1bfbf5aa46c0abb298198164a
refs/heads/master
2023-08-13T22:10:50.544455
2020-06-05T04:47:37
2020-06-05T04:47:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
649
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020/5/18 23:12 # @File : Account.py # ---------------------------------------------- # ☆ ☆ ☆ ☆ ☆ ☆ ☆ # >>> Author : Alex 007 # >>> QQ : 2426671397 # >>> Mail : alex18812649207@gmail.com # >>> Github : https://github.com/koking0 # >>> Bl...
[ "alex18812649207@gmail.com" ]
alex18812649207@gmail.com
affef3944b882801c0913fe7ca31980c9b4f1b7f
de5be7e4d9e20bbfda3ce8697afc3433a3ccf55d
/python_tutorial/excercise_3/reverse_string_list_func.py
6b8f844aa74c95bd28dd0956de310a0c381b3d6d
[]
no_license
poojataksande9211/python_data
42a88e0a0395f383d4375000a3d01b894bd38e62
64c952d622abfa77f2fdfd737c210014fce153c5
refs/heads/main
2023-04-16T10:24:27.213764
2021-04-27T16:34:32
2021-04-27T16:34:32
360,673,774
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
def rev_string(l): element=[] for subelement in l: element.append(subelement[::-1]) return element words=["abc","def","ghi"] print(rev_string(words)) #---------------------------- # def rev_string(l): # element=[] # for subelement in range(len(l)): # element.append(subelement[::-1])...
[ "amitganvir6@gmail.com" ]
amitganvir6@gmail.com
0fbc601cc05227e44edc2e2eea6511f140d8c776
d4f1d1a1657f94376c989b12a8e16c8ff1d86e01
/Stanford_ml/ex2/pylogistic/logistic.py
c0888790944abd48764a573c639db092c0d66ae3
[]
no_license
sbmaruf/DataMing-MachineLearning
6e2335c4f16039bf7e5b4aad852e7426e10d2e6f
baf9d9b668588329504975c6586dbd31b2932900
refs/heads/master
2021-06-07T02:22:31.129127
2016-09-30T09:56:07
2016-09-30T09:56:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,921
py
#!/usr/bin/env python # coding=utf-8 import numpy as np import pandas as pd def sigmoid(z): """""" g = 1 / (1 + np.exp(-z)) return g def cost_function(theta, X, y): """""" m = y.size J = (-y.T * np.log(sigmoid(X * theta)) - \ (1 - y).T * np.log(1 - sigmoid(X * theta))) / m grad ...
[ "scutqiuwei@163.com" ]
scutqiuwei@163.com
2ca6d767460661f1a4351a9b75835ee0d90e53b8
0ef933a7b019e9a754222464046aeaaf8a42b553
/django_facebook/tests/test.py
4343a14b74f0bd22fe50c3f8c76231417a08b410
[ "BSD-3-Clause" ]
permissive
kennu/Django-facebook
1d858a53856a3f3997557ad5564c768b9c83c21d
88ba7025d24023756a417d1bae4f84e6ed6b67fd
refs/heads/master
2020-12-25T08:19:29.244207
2011-10-12T17:22:10
2011-10-12T17:22:10
2,562,533
0
0
null
null
null
null
UTF-8
Python
false
false
4,749
py
from __future__ import with_statement from django.contrib.auth.models import AnonymousUser from django_facebook import exceptions as facebook_exceptions from django_facebook.auth_backends import FacebookBackend from django_facebook.connect import connect_user, CONNECT_ACTIONS from django_facebook.tests.base import Face...
[ "thierryschellenbach@gmail.com" ]
thierryschellenbach@gmail.com
110c2eaecef9a00e4485c50558865f58db4514b5
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/101/usersdata/173/49768/submittedfiles/av1_m3.py
d342df107865d5b70a00235643849cdcbd0af61c
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
# -*- coding: utf-8 -*- import math m=int(input('Digite o número de termos: ')) i=2 for i in range(0,m,2): if(m>0): pi=4/(i*(i+1)*(i+2))+soma i=i+2 soma=pi-(4/(i*(i+1)*(i+2))) i=i+2 print(soma+3)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
5c2083159abd93b9c6afcc86c8d18669cb55d2c2
c00a2490947ad10582b5d675f070ccb62b70901d
/chromium/chrome/chrome_common.gypi
98a13da650c3839702b48a08801e8f2bc9195b4a
[ "BSD-3-Clause" ]
permissive
teotikalki/vivaldi-source
543d0ab336fb5784eaae1904457598f95f426186
22a46f2c969f6a0b7ca239a05575d1ea2738768c
refs/heads/master
2021-01-23T01:17:34.305328
2016-04-29T20:28:18
2016-04-29T20:28:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,773
gypi
# Copyright (c) 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'variables': { # File lists shared with GN build. 'chrome_common_sources': [ 'common/all_messages.h', 'common/attrition_experimen...
[ "jason@theograys.com" ]
jason@theograys.com
213a49e3cf6265a409a23e3a85dc6a390d5167de
93091329589b31111001eb817315e4d734fa8ab4
/detectron2/data/build.py
ce4b183fba1ca01cb9e5d1b673810784a97356d5
[ "Apache-2.0" ]
permissive
natureyoo/detectron2
b5e32f5b4386ad7100ff092a3016179501a9bc14
7f2be92895636e127f3efa8f32fcfed3fb052152
refs/heads/main
2023-08-22T20:37:13.104766
2023-07-14T05:56:04
2023-07-14T05:56:04
274,582,273
0
0
null
2020-06-24T05:23:36
2020-06-24T05:23:35
null
UTF-8
Python
false
false
21,313
py
# Copyright (c) Facebook, Inc. and its affiliates. import itertools import logging import numpy as np import operator import pickle from typing import Any, Callable, Dict, List, Optional, Union import torch import torch.utils.data as torchdata from tabulate import tabulate from termcolor import colored from detectron2...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
1fac6bde65fdf5f1f5abad21276844002a40ff1c
f4b60f5e49baf60976987946c20a8ebca4880602
/lib64/python2.7/site-packages/acimodel-1.3_2j-py2.7.egg/cobra/modelimpl/isis/treecalcnodestats1d.py
019aef14e5fac61d0bde8f8f6a69940f6fd965a4
[]
no_license
cqbomb/qytang_aci
12e508d54d9f774b537c33563762e694783d6ba8
a7fab9d6cda7fadcc995672e55c0ef7e7187696e
refs/heads/master
2022-12-21T13:30:05.240231
2018-12-04T01:46:53
2018-12-04T01:46:53
159,911,666
0
0
null
2022-12-07T23:53:02
2018-12-01T05:17:50
Python
UTF-8
Python
false
false
20,460
py
# coding=UTF-8 # ********************************************************************** # Copyright (c) 2013-2016 Cisco Systems, Inc. All rights reserved # written by zen warriors, do not modify! # ********************************************************************** from cobra.mit.meta import ClassMeta from cobra.m...
[ "collinsctk@qytang.com" ]
collinsctk@qytang.com
ec6006c50785e0e8b157893e35b4789999df4d00
6be8aa517e679b33b47d35f100e6590902a8a1db
/Greedy/MST/Problem06.py
403924f5fc49aba57dc94d7603a32fc491a619fb
[]
no_license
LeeJuhae/Algorithm-Python
7ca4762712e5e84d1e277abecb3bf39c9cbd4e56
729947b4428205adfbac194a5527b0eeafe1c525
refs/heads/master
2023-04-24T01:02:36.430970
2021-05-23T07:17:25
2021-05-23T07:17:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,081
py
# https://www.acmicpc.net/problem/17472 import sys from collections import deque, defaultdict directions = ((1, 0), (0, 1), (-1, 0), (0, -1)) read = sys.stdin.readline n, m = map(int, read().strip().split()) islands = [list(map(int, read().strip().split())) for _ in range(n)] v = 0 visit = [[0 for _ in range(m)] for ...
[ "gusdn0657@gmail.com" ]
gusdn0657@gmail.com
5ea58c5b4506ca5eba55364cae0aa1b3d9f5e864
b4afb44b8f483c048716fe12d778186ce68ac846
/pages/ios/ffan/movie_page_configs.py
cdc95760ceb5ada9045205274bfe84e52614c57f
[]
no_license
liu111xiao111/UItest
64309b2c85f6d2334d64bb0875ba9ced459ebb1e
67e2acc9a99da81022e286e8d8ec7ccb12636ff3
refs/heads/master
2021-09-01T18:30:28.044296
2017-12-28T04:36:46
2017-12-28T04:36:46
115,585,226
1
0
null
null
null
null
UTF-8
Python
false
false
921
py
#!/usr/bin/env python # -*- coding:utf-8 -*- class MoviePageConfigs(object): ''' This is a configuration class for MoviePage class. ''' # Assert view time out assert_view_timeout = 10 # Verify view time out verify_view_timeout = 10 # Assert invalid view time out assert_invalid_...
[ "tl@neusoft.com" ]
tl@neusoft.com
a9316fca169c00cd96bfefb8ba8ffbead21d8a48
0cb72fac7926b7415af3bff1bf7dbe03e96fead5
/LC_Non_Decreasing_Array.py
ca41f20ed70e4daf05dfc1ccff9b789768309e9f
[]
no_license
venkatsvpr/Problems_Solved
586b5ef9f5868785cb52552da674ed003e139278
11c81645893fd65f585c3f558ea837c7dd3cb654
refs/heads/master
2022-11-11T21:53:27.469213
2022-10-14T05:59:11
2022-10-14T05:59:11
114,329,154
5
1
null
null
null
null
UTF-8
Python
false
false
1,785
py
""" 665. Non-decreasing Array Given an array with n integers, your task is to check if it could become non-decreasing by modifying at most 1 element. We define an array is non-decreasing if array[i] <= array[i + 1] holds for every i (1 <= i < n). Example 1: Input: [4,2,3] Output: True Explanation: You could modify ...
[ "venkatakrishnansvpr@gmail.com" ]
venkatakrishnansvpr@gmail.com
32226188a7bed68e781ad02fb2608f42c19404c7
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/googlecloudsdk/core/util/keyboard_interrupt.py
8a1c992f84aeaeb3bed44caaeb72156c683c93d1
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
1,941
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
591261811f03add0430c0fb4333e9d46e62d9105
c3ff891e0e23c5f9488508d30349259cc6b64b4d
/python练习/老王开枪/老王开枪2.py
1897dcbc68707445a20bba1d7fbb9ffb4d19a52b
[]
no_license
JacksonMike/python_exercise
2af2b8913ec8aded8a17a98aaa0fc9c6ccd7ba53
7698f8ce260439abb3cbdf478586fa1888791a61
refs/heads/master
2020-07-14T18:16:39.265372
2019-08-30T11:56:29
2019-08-30T11:56:29
205,370,953
0
0
null
null
null
null
UTF-8
Python
false
false
2,754
py
class Person(): def __init__(self,name): super(Person,self).__init__() self.name = name self.gun = None self.hp = 100 def install_bullet(self,clip_temp,bullet_temp): clip_temp.store_bullet(bullet_temp) def install_clip(self,gun_temp,clip_temp): gun_temp.store_...
[ "2101706902@qq.com" ]
2101706902@qq.com
a24eae2a57094a02b726d84a5b8fa1291192c8f5
53784d3746eccb6d8fca540be9087a12f3713d1c
/res/packages/scripts/scripts/client/tutorial/doc_loader/sub_parsers/quests.py
ab4c7a0dda44086cdaa465d5711086060442461e
[]
no_license
webiumsk/WOT-0.9.17.1-CT
736666d53cbd0da6745b970e90a8bac6ea80813d
d7c3cf340ae40318933e7205bf9a17c7e53bac52
refs/heads/master
2021-01-09T06:00:33.898009
2017-02-03T21:40:17
2017-02-03T21:40:17
80,870,824
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
7,831
py
# 2017.02.03 21:54:21 Střední Evropa (běžný čas) # Embedded file name: scripts/client/tutorial/doc_loader/sub_parsers/quests.py from tutorial.control.quests import triggers from tutorial.doc_loader import sub_parsers from tutorial.doc_loader.sub_parsers import chains, readVarValue from tutorial.doc_loader.sub_parsers i...
[ "info@webium.sk" ]
info@webium.sk
78651cd819bee71e2717fa7ef9e14dd50ca938b4
be1ebe1b2b7fa059e49922a4ba66cf74bb4bcbd2
/main/admin.py
ec32b6e207b024e42a4909134afc658c05fbb6a3
[]
no_license
Offdevelopers/realestate
8c6c5fb222cb2372c223a31183080d6f3c366652
f40d131f0c3c05de1ea38839732835dc6f2b16c5
refs/heads/master
2020-03-21T18:31:39.094430
2018-06-15T16:00:43
2018-06-15T16:00:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
234
py
from django.contrib import admin from .models import Developer, Agent, Property, Mortage # Register your models here. admin.site.register(Property) admin.site.register(Developer) admin.site.register(Agent) admin.site.register(Mortage)
[ "abiodun.toluwanii@gmail.com" ]
abiodun.toluwanii@gmail.com
e08fcd2d1e413bc7a3a92ee6303bb7e8cfd5379e
581b960e3782e6968c23a664567cf1e857161048
/20190505_pycon_plugins/code_pyplugs/plotters/line.py
cb0f32bc87907ba66f3c6c9b086fd2c2e61e74ee
[]
no_license
gahjelle/talks
d6f04e0edf8ce15949120f715479c7e82de9d46c
d0423f46568b6495ee913f8a850c619c65c1214c
refs/heads/master
2023-04-30T16:21:18.801997
2023-04-23T18:39:29
2023-04-23T18:39:29
147,107,339
21
2
null
null
null
null
UTF-8
Python
false
false
149
py
"""Plot a line plot""" # Third party imports import pyplugs @pyplugs.register def line(ax, data): """Plot a line plot""" data.plot(ax=ax)
[ "geirarne@gmail.com" ]
geirarne@gmail.com
c391850ca49a84f97e5fd99f0c065229515432ee
ade5dcc2d30fc7cc52b887bb5c326dbf155f11ad
/tests/test_select.py
5ef4e5ecf77a2543c9f2c04b736e2b780abfb8ac
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
shawnbrown/squint
e08fc6cf12b705c4675ac9d25d3f5f9bb9767493
a9d326ff8edb2e2b740c4355fd953edd2c0cf114
refs/heads/master
2020-06-29T19:01:49.230704
2020-02-01T21:39:49
2020-02-01T21:39:49
200,598,178
3
0
null
null
null
null
UTF-8
Python
false
false
18,341
py
# -*- coding: utf-8 -*- from __future__ import absolute_import import os import shutil import sqlite3 import tempfile from squint._compatibility.builtins import * from squint._compatibility.collections import namedtuple from .common import ( StringIO, unittest, ) from squint.select import Select from squint.se...
[ "shawnbrown@users.noreply.github.com" ]
shawnbrown@users.noreply.github.com
bdc7c56228322a08b6c0e6e1e2705a7bb79dad5d
db863bdd3507bf53800368d88a887247ef4a7636
/Transaction/migrations/0009_auto_20210408_1019.py
55bea4125b4834ec2947a82808078a205c74bdd9
[]
no_license
vikasjoshis001/yes_backend
ed116f774237517da23dc5b420d791cba33a3efa
97e071a4037f7020cc4bce667eee10e7294903f7
refs/heads/master
2023-08-01T03:27:40.521169
2021-09-15T09:16:29
2021-09-15T09:16:29
353,229,366
0
1
null
null
null
null
UTF-8
Python
false
false
603
py
# Generated by Django 3.0.7 on 2021-04-08 10:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Transaction', '0008_auto_20210408_1015'), ] operations = [ migrations.AlterField( model_name='transactionhistorymodel', ...
[ "vikasjoshis001@gmail.com" ]
vikasjoshis001@gmail.com
42b84294b85ec7fda3c05db22cbb46d5d6bec28e
462682b3b29304b561eaea3833c29e84d1e95c0e
/PythonTypes/ConsoleCode.py
46da9d7f5a7259f3b5872f29883a929d85b87cc7
[]
no_license
ravi4all/PythonDecMorning
4452b8340ce0b4ab067bd769725c5a6f831b7f45
1e20da3c90d407dbef714770ad54e72f16be0eec
refs/heads/master
2021-09-02T11:01:28.686860
2018-01-02T05:05:06
2018-01-02T05:05:06
113,133,365
0
0
null
null
null
null
UTF-8
Python
false
false
4,304
py
Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> a = [] >>> a.append(1) >>> a [1] >>> a.append(2) >>> a [1, 2] >>> a.append("Hello") >>> a [1, 2, 'Hello'] >>> a = [1,2,3,10.5,"Hello",True] >>> a[0]...
[ "noreply@github.com" ]
ravi4all.noreply@github.com
ec95f318cee2e9f5dd28e4996ed3789e99994eb5
bc41457e2550489ebb3795f58b243da74a1c27ae
/python/ghtc2012.py
1eacd49e770cdbff348b5fe621063937f34b7f50
[]
no_license
SEL-Columbia/ss_sql_views
28a901d95fe779b278d2a51aec84d6bf51245c02
d146fd96849a4d165f3dc3f197aadda804a2f60a
refs/heads/master
2021-01-01T19:35:18.999147
2012-05-10T18:43:36
2012-05-10T18:43:36
3,020,367
0
0
null
null
null
null
UTF-8
Python
false
false
2,797
py
import offline_gateway as og import datetime as dt import matplotlib.pyplot as plt import pandas as p ''' 25 "ml00" 164 "ml01" 143 "ml02" 213 "ml03" 192 "ml04" 57 "ml05" 70 "ml06" 102 "ml07" 123 "ml08" ''' # todo: fit solar generation over same time period ''' print print 'ml03' og.analyze_load_profile_curve(213,...
[ "danielrsoto@gmail.com" ]
danielrsoto@gmail.com
cbbc41a4f95e61fcc71ca12aa4a08db0df652e6f
1e4b37d3bfa9ecba22517548c0577dee76704d8f
/temp_ws/src/sawyer_velctrlsim-master/src/ref_rand_joint_state_pub.py
4cb127b09acdbc0ce1e8873cbdce164979627504
[]
no_license
mch5048/catkin_ws_4rl
0aa19dc46effd2ae7941cc1e0b6d824f595d8574
2201d3b353da3b380dc7330ae5651e9640cd3408
refs/heads/master
2020-04-19T01:42:56.013573
2019-02-21T01:09:13
2019-02-21T01:09:13
167,879,885
0
0
null
2019-02-21T01:09:14
2019-01-28T01:27:31
Makefile
UTF-8
Python
false
false
1,350
py
#!/usr/bin/env python import rospy import numpy as np from sensor_msgs.msg import JointState class RandomJointState: def __init__(self): rospy.init_node('ref_js_randomizer') self.pub = rospy.Publisher('/ref_sawyer/joint_states',JointState, queue_size=10) self.ref_js = JointState() ...
[ "mch5048@korea.ac.kr" ]
mch5048@korea.ac.kr
f8e97138e7562167aa73dade88277515117fc3a5
21e1d00c48c1732cc44af077572299831b93ffc2
/ANISUL'S_VIDEOS/While-Loop.py
7fd62963e6e7c26514ee7be3a6e6ddbfdbcbae7d
[]
no_license
GolamRabbani20/PYTHON-A2Z
7be72041407e4417359b3a610ced0919f3939993
7c89223f253aa559fa15caacb89c68e0b78ff915
refs/heads/master
2023-05-09T00:43:03.012963
2021-05-26T07:56:56
2021-05-26T07:56:56
317,953,879
0
0
null
null
null
null
UTF-8
Python
false
false
112
py
n=int(input("Enter the value of N: ")) i=1 sum=0 while i<=n: #if i%2==1: sum=sum+i i=i+1 print(sum)
[ "mdgolamrabbani96@gmail.com" ]
mdgolamrabbani96@gmail.com
e34ae855ef6e2c976a31db40c2df67bea7aab7ba
af0877371939aba73e8cd68d1130f5f89f27d48e
/tests/test_engine.py
8920055d4356a2000012ec4f106403298ca5f650
[ "Apache-2.0" ]
permissive
Mil4dy/plumbery
9db82dce591b7fefa72415b36035506e42f0a3ce
5ede749a84f36f2302d3b182776b4f1cc8c1aca9
refs/heads/master
2020-12-25T20:20:30.531737
2016-03-10T22:41:31
2016-03-10T22:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,121
py
#!/usr/bin/env python """ Tests for `plumbery` module. """ import logging import os import socket import unittest from Crypto.PublicKey import RSA import ast from mock_api import DimensionDataMockHttp from libcloud.compute.drivers.dimensiondata import DimensionDataNodeDriver from libcloud.common.types import Invali...
[ "bernard.paques@gmail.com" ]
bernard.paques@gmail.com
9c9fb00c316199447af33e79a78359efcc6b08d9
1d2bbeda56f8fede69cd9ebde6f5f2b8a50d4a41
/medium/python/c0075_142_linked-list-cycle-ii/00_leetcode_0075.py
439484c8b6b418348aa22f97d0b9fbe24737d76b
[]
no_license
drunkwater/leetcode
38b8e477eade68250d0bc8b2317542aa62431e03
8cc4a07763e71efbaedb523015f0c1eff2927f60
refs/heads/master
2020-04-06T07:09:43.798498
2018-06-20T02:06:40
2018-06-20T02:06:40
127,843,545
0
2
null
null
null
null
UTF-8
Python
false
false
691
py
# DRUNKWATER TEMPLATE(add description and prototypes) # Question Title and Description on leetcode.com # Function Declaration and Function Prototypes on leetcode.com #142. Linked List Cycle II #Given a linked list, return the node where the cycle begins. If there is no cycle, return null. #Note: Do not modify the linke...
[ "Church.Zhong@audiocodes.com" ]
Church.Zhong@audiocodes.com
99a3b499be8c43322aee33f233fae8f504813476
547018e2fb9b178aacfe2ceabcab4313647ffb79
/mapry/go/validation.py
a3d2be3dea02b0fd3eea4b07a29d0ba93e64152c
[ "MIT" ]
permissive
Parquery/mapry
2eb22862494342f71ca4254e7b2b53df84bd666f
93515307f9eba8447fe64b0ac7cc68b2d07205a7
refs/heads/master
2021-06-11T09:57:17.764387
2021-06-02T14:19:52
2021-06-02T14:19:52
165,482,780
11
3
MIT
2021-06-02T14:19:53
2019-01-13T08:31:08
C++
UTF-8
Python
false
false
14,225
py
"""Validate that the Go code can be generated according to the schema.""" from typing import ( # pylint: disable=unused-import Dict, List, Mapping, MutableMapping) import mapry import mapry.naming import mapry.strftime import mapry.validation _KEYWORDS = { 'break', 'default', 'func', 'interface', 'select', '...
[ "noreply@github.com" ]
Parquery.noreply@github.com
65a545ee33b66672c39fab64dbefac761dbab3cf
6fbd633d0c7c831ca8217788dcd3e82cd26dd72d
/src/pkgcheck/const.py
87135e5e7de36a83947d0af03c71d28bba8104a3
[ "BSD-3-Clause" ]
permissive
chutz/pkgcheck
b93724cc0c0dd3d17e49c734faf019b2ad67b0c7
714c016381b53246b449dd9c3116811e50db744f
refs/heads/master
2020-09-22T13:46:59.498632
2019-12-01T04:05:35
2019-12-01T04:06:11
225,225,319
0
0
BSD-3-Clause
2019-12-01T20:22:06
2019-12-01T20:22:05
null
UTF-8
Python
false
false
3,343
py
"""Registration for keywords, checks, and reporters.""" import inspect import os import pkgutil import sys from functools import partial from importlib import import_module from snakeoil import mappings from . import __title__, checks, reporters, results _reporoot = os.path.realpath(__file__).rsplit(os.path.sep, 3)...
[ "radhermit@gmail.com" ]
radhermit@gmail.com
c6ef643551dfb8508cda8c878e72f447e75cb54d
bec8f33002130d8395f4ac4f0c74b785aa22cac5
/appium/options/ios/xcuitest/other/command_timeouts_option.py
420b350397bc4e77af147af84a13acbd818a8ad0
[ "Apache-2.0" ]
permissive
appium/python-client
1c974fdf1ac64ce4ac37f3fc8c0a3e30c186d3ca
2e49569ed45751df4c6953466f9769336698c033
refs/heads/master
2023-09-01T22:14:03.166402
2023-09-01T11:52:27
2023-09-01T11:52:27
18,525,395
1,588
606
Apache-2.0
2023-09-10T02:00:09
2014-04-07T17:01:35
Python
UTF-8
Python
false
false
2,627
py
# Licensed to the Software Freedom Conservancy (SFC) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The SFC licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
appium.noreply@github.com
9f3e016075ca44f0a6162e23e5b74692c5851c57
6b1febf141315330fcb67495e094ff7aeb6520c8
/ajaxsite/mixins.py
f42c1cf1f8587b620de9f6014651869faba40358
[]
no_license
anidem/ajax-setup
40a6ae856b0b3415ba3a2842f812c96d2b0978ef
bf5c9187eb878c627c5cb20a6e58a4e0e602be65
refs/heads/master
2021-01-10T20:38:22.928879
2014-11-17T18:13:46
2014-11-17T18:13:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
from django.http import JsonResponse class AjaxableResponseMixin(object): """ Mixin to add AJAX support to a form. Must be used with an object-based FormView (e.g. CreateView) """ def form_invalid(self, form): response = super(AjaxableResponseMixin, self).form_invalid(form) if self....
[ "richmedina@gmail.com" ]
richmedina@gmail.com
3ac03889ebac07e88d1b65696d71d07c0ca04cb5
3bbe69481d294eba60f83639f3a9430fb8cda4d9
/feedback/views.py
69481acb6cf19ded68b141738fab0ae2af40b3df
[]
no_license
ulugbek1999/ncd-cms
5e288f44b01387cd66a54d2dcaf1e0d288205bc4
dcb43bf65f0d6efcbf6481f5c9284c8c1a7c6b9d
refs/heads/master
2022-09-06T13:22:34.637080
2019-12-14T09:10:26
2019-12-14T09:10:26
204,455,916
0
0
null
null
null
null
UTF-8
Python
false
false
615
py
from django.urls import reverse from django.views.generic import TemplateView, ListView, View, DetailView from .models import Feedback from django.contrib.auth.mixins import LoginRequiredMixin class FeedbackListView(LoginRequiredMixin, ListView): template_name = 'feedback/list.html' model = Feedback conte...
[ "kayrat.nazov@gmail.com" ]
kayrat.nazov@gmail.com
11bb78f5bf946d78ca3589dc9dcad9baeaa919c9
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2462/60708/289131.py
444c31167f10af1ad63b76154f6c924656b18429
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
652
py
def find(list,l,r,index): if(l>r): return index mid=(l+r)//2 if(list[mid]>list[mid-1] and list[mid]>list[mid+1]): index=mid find(list,l,mid-1,index) return index else: index1=find(list,l,mid-1,index) index2=find(list,mid+1,r,index) if index1!=-1: ...
[ "1069583789@qq.com" ]
1069583789@qq.com
02cc23d4157b6b0f584b4183e57cb643b4c693e1
57870ba30e4c530482db3a2f182e6c037a010a01
/cauldron/test/test_reload.py
c9f2890cf6018d34bfe35ba78af77afa1113469a
[ "MIT" ]
permissive
khemanta/cauldron
32e17b978a5856a4ac12bc79cdd23583207c0750
79ae3aa2cf919feb5c3365f85ae006075bec47e3
refs/heads/master
2021-01-11T14:25:16.416313
2017-02-08T23:12:24
2017-02-08T23:12:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
from cauldron.test import support from cauldron.test.support import scaffolds class TestReload(scaffolds.ResultsTest): """ """ def test_reload(self): """ """ r = support.run_command('open @examples:hello_cauldron') r = support.run_command('reload') self.assertFal...
[ "swernst@gmail.com" ]
swernst@gmail.com
0f06d523fd131eb90436cc8c91f1e500395a99c9
bfdab27f224d9cac02e319fe55b53172fbf8d1a2
/motion_editor_core/data/thor/positions/arm/cebit_open_1.py
8a67313f858c7528161178e516a267cac8682468
[]
no_license
tu-darmstadt-ros-pkg/motion_editor
c18294b4f035f737ff33d1dcbdfa87d4bb4e6f71
178a7564b18420748e1ca4413849a44965823655
refs/heads/master
2020-04-06T12:37:30.763325
2016-09-15T14:11:48
2016-09-15T14:11:48
35,028,245
2
3
null
2015-05-05T13:20:27
2015-05-04T10:18:22
Python
UTF-8
Python
false
false
73
py
{ 'cebit_open_1': [1.2409, -0.0628, 0.1401, -0.13, 0.6785, 0.0628, 0.0]}
[ "martin.sven.oehler@gmail.com" ]
martin.sven.oehler@gmail.com
f023f3dae9e638f1830edf280727cf851dbd9faa
fdb9b553a23647f7ea06f690613707c40b54902f
/src/main/resources/resource/Tracking/Tracking.py
870b67eea8d276da57bc8641d9971ca3702a1d76
[ "CC-BY-2.5", "Apache-2.0" ]
permissive
ShaunHolt/myrobotlab
d8d9f94e90457474cf363d36f4a45d396cfae900
92046d77abd560f0203050b3cccb21aa9df467f2
refs/heads/develop
2021-07-08T04:55:01.462116
2020-04-18T19:58:17
2020-04-18T19:58:17
122,795,957
0
0
Apache-2.0
2020-04-18T19:58:18
2018-02-25T01:37:54
Java
UTF-8
Python
false
false
2,158
py
# a minimal tracking script - this will start all peer # services and attach everything appropriately # change parameters depending on your pan tilt, pins and # Arduino details # all commented code is not necessary but allows custom # options port = "COM19" #change COM port to your own port xServoPin = 13 #change ...
[ "grog@myrobotlab.org" ]
grog@myrobotlab.org
11563a609e255317803e2b21817ec9e87f6efe33
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_19/models/directory.py
0a684f6248f887806fa3011cccd444893b0e0135
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
6,952
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.19 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
PureStorage-OpenConnect.noreply@github.com
f3b1cf51d5b02fff27e636e3da4cc964efe47835
77be22f90869e8ad91e8ae15009274e97753e832
/andrewl_mortal_kombat/rsa1.py
8cb9ea18f8adfb8bd5883d58c0d3962a58e2e93a
[]
no_license
lwerdna/crackme
a18b0544c51d04b947bf2d6254c71dc4744dd728
9f9e082805a75120c6084cedb4a9306c6ec3818d
refs/heads/master
2023-02-14T04:55:39.275773
2023-01-22T05:50:25
2023-01-22T05:50:25
192,410,237
4
2
null
null
null
null
UTF-8
Python
false
false
807
py
#!/usr/bin/python # rsa challenge, straight forward # # example name/serial pairs: # # knowledge/26582066182495701597915248727138888909 # is/141271412203160330710342183730048971956 # power/135066534443646675683259471815808056369 # Mortal/125332528239055605555179231197739673804 # Kombat/97493559731364...
[ "andrew@vector35.com" ]
andrew@vector35.com
c754a90037d31c683e8dcffccf46f531f37f3f1b
f2b172f7c1dcf0ac28fe7465b5844b48facade18
/12/120601/style2.py
6e181d0f6005d2fa5769718d7f1e0e251b2f71ef
[]
no_license
0gravity000/IntroducingPython
2fde12485d0597e72a7da801a08d5048a47f2ff5
5d3281dbe37ed1a08d71cb6a36841781f9ac0ccf
refs/heads/master
2023-07-19T02:53:23.081806
2021-09-30T01:51:44
2021-09-30T01:51:44
403,935,207
0
0
null
null
null
null
UTF-8
Python
false
false
145
py
# 12.6.1 pylint、pyflakes、pep8によるチェック # pip install pylint # pip install pyflakes a = 1 b = 2 c = 3 print(a) print(b) print(c)
[ "0gravity000@gmail.com" ]
0gravity000@gmail.com
72cd412bb1d32b99ae9b5fb9e575dec5bfecfaf3
56d58964a7a498e8f99bf804927b5d15f69fbccb
/fluent_pages/pagetypes/fluentpage/admin.py
992accd311303ed0bd915a6ae3924c8c0af9afd4
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
floppya/django-fluent-pages
3c8e56a12261c6901ef63008e3203f7518f5864e
5041d3b2d1d02bfc90cca1fe017618d99555a37b
refs/heads/master
2021-01-18T11:26:13.853182
2013-04-06T22:16:20
2013-04-06T22:16:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,839
py
from django.conf.urls.defaults import patterns, url from fluent_pages.admin import HtmlPageAdmin from fluent_pages.models import PageLayout from fluent_pages.utils.ajax import JsonResponse from fluent_contents.admin.placeholdereditor import PlaceholderEditorAdmin from fluent_contents.analyzer import get_template_placeh...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
dbbc4a131d4c1c6286c0c8fad167b1b843753cd3
795efc7484b5e1ccfd18ead6afed9dc3ccb7de99
/apps/books/urls.py
344716a952eff813a2da3a1fe534e881ef2988ca
[]
no_license
wd5/book_base
ccf874357a42679043cb9063be443761a6d91ed4
922820180b24c45fd56afff72e55de79728d32b4
refs/heads/master
2021-01-10T01:37:41.318168
2012-08-01T09:54:34
2012-08-01T09:54:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,181
py
# -*- coding: utf-8 -*- from django.conf.urls import patterns, url from .views import BookList, BookDetail from .views import BookBlank, BookBlankFromBookmark from .views import BookmarkList, BookmarkAdd, BookmarkDel, BookmarkDelAll from .views import RenderOrderBookForm, MakeOrderBook, CancelOrderBook urlp...
[ "DrMartiner@GMail.Com" ]
DrMartiner@GMail.Com
cbbfba50005ee9b1a3b09f614c684c894ae7e6b6
b0ec01db9a15fcb171f9a73f44f67a736804f113
/app/__init__.py
323adc2762af574ee13612b08b7c39bece7521d6
[]
no_license
uwase-diane/BookApp
60b7aded64f6892e51a13f3c6c487c25534f46f0
4549a1705b38a4a2f86c1b0cb34a2468c5964a56
refs/heads/master
2023-01-29T00:28:24.781440
2020-12-10T09:28:49
2020-12-10T09:28:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,242
py
from flask import Flask from config import config_options from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from flask_uploads import UploadSet,configure_uploads,IMAGES from flask_simplemde import SimpleMDE login_manager = LoginManager() login_manager.se...
[ "tharcissieidufashe@gmail.com" ]
tharcissieidufashe@gmail.com
01521707f60526029a7269c3681ee91590141a97
6219e6536774e8eeb4cadc4a84f6f2bea376c1b0
/scraper/storage_spiders/demxinhvn.py
c23106e40abebd9467378da623d03ed7d214615c
[ "MIT" ]
permissive
nguyenminhthai/choinho
109d354b410b92784a9737f020894d073bea1534
d2a216fe7a5064d73cdee3e928a7beef7f511fd1
refs/heads/master
2023-05-07T16:51:46.667755
2019-10-22T07:53:41
2019-10-22T07:53:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
975
py
# Auto generated by generator.py. Delete this line if you make modification. from scrapy.spiders import Rule from scrapy.linkextractors import LinkExtractor XPATH = { 'name' : "//div[@id='product-main']/h1", 'price' : "//span[@class='price-new']/span[@id='formated_special']", 'category' : "", 'descript...
[ "nguyenchungthuy.hust@gmail.com" ]
nguyenchungthuy.hust@gmail.com
74ebf1832b3b13468d1c73b53dcd6062ad53a6bb
50be0ae5bc8a28b25c2ed81ea119140b8fa160bd
/libs/markdowncode.py
44fef0ef313ec8be9bb438da32e337aa86416770
[]
no_license
Deattor/docmaster
e899c98cc3f93fd2cb4383205ae76111a53febe5
d3647c2734415c566554e07363fc85ec652fa626
refs/heads/master
2020-12-26T20:40:38.404797
2014-03-09T04:45:28
2014-03-09T04:45:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,091
py
#encoding=utf-8 ##预处理器 from markdown.preprocessors import Preprocessor class CodePreprocessor(Preprocessor): def run(self, lines): new_lines = [] flag_in = False block = [] for line in lines: if line[:3]=='!!!': flag_in = True ...
[ "five3@163.com" ]
five3@163.com
a372d6acf27900226db66972f167ca17971335c0
5f57cfb662e7a490235255273114d2eb712a9ce4
/djd-prog2/noite-aula10/inimigos.py
84a03745c90c009a40dee665aa4cb6f38314c03d
[]
no_license
antoniorcn/fatec-2020-2s
762e14acfbf0cb42a2e478662e6cf0001794f72c
4d90cc35d354382ad38c20ce2e32924216d7d747
refs/heads/master
2023-01-27T22:52:29.529360
2020-12-05T13:51:30
2020-12-05T13:51:30
289,972,977
9
7
null
null
null
null
UTF-8
Python
false
false
253
py
AMARELO = (255, 255, 0) class Alien: def __init__(self, c, x, y): self.cor = c self.pos_x = x self.pos_y = y a1 = Alien("AMARELO", 100, 500) a2 = Alien("AZUL", 150, 350) print("A1 Cor:", a1.cor) print("A2 Cor:", a2.cor)
[ "antoniorcn@hotmail.com" ]
antoniorcn@hotmail.com
17544fa8a3e7e531224872ab76b461074fd8402f
3db0033d5266d73a84ab8cb0385b1b5f718f1d47
/menpobench/predefined/trainable_method/sdm.py
9f087bed219adb651b23bc29f03d6016f17151ca
[ "BSD-3-Clause" ]
permissive
luckynote/menpobench
64ba98480712289e777d75b1d40402a8fe121857
cf0ea24c0bb6143bcfc6b0dc18951bcded69317e
refs/heads/master
2020-03-26T22:58:14.692536
2016-06-16T21:32:40
2016-06-16T21:32:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
756
py
from menpobench.method import MenpoFitWrapper from menpobench.imgprocess import menpo_img_process from menpofit.sdm import SDMTrainer metadata = { 'display_name': 'Menpo Supervised Decent Method', 'display_name_short': 'Menpo SDM' } def train(img_generator): # clean up the images with the standard menpo...
[ "jabooth@gmail.com" ]
jabooth@gmail.com