blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
1faf1347cd1525f165138cd7f899bab919343c52
37a0d47e4ffe57277333012ba36ceea4b4c2685f
/backend/call/api/v1/viewsets.py
14b5ef46b8100bd251adc74882d742df902743d4
[]
no_license
crowdbotics-apps/nonprofitscreenapp-22237
bbe5c1dc7ab1f4cae6860a671741b488a4e3e9f3
fe5a55b917cb5cd166d3a91a5ba758e97e9f0286
refs/heads/master
2023-01-04T19:26:59.802350
2020-11-04T22:27:12
2020-11-04T22:27:12
309,513,430
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
from rest_framework import authentication from call.models import Phone from .serializers import PhoneSerializer from rest_framework import viewsets class PhoneViewSet(viewsets.ModelViewSet): serializer_class = PhoneSerializer authentication_classes = ( authentication.SessionAuthentication, au...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
91645f9825d06a79d1e9adbbb45c1628dcaef7db
bc441bb06b8948288f110af63feda4e798f30225
/cmdb_sdk/api/instance_tree/instance_tree_anchor_v2_pb2.pyi
f8a06a06187f0c3f7230e5e651967797e0f62fa0
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,176
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from cmdb_sdk.model.cmdb.instance_tree_root_node_pb2 import ( InstanceTreeRootNode as cmdb_sdk___model___cmdb___instance_tree_root_node_pb2___InstanceTreeRootNode, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf__...
[ "service@easyops.cn" ]
service@easyops.cn
15d82001b2d22e0b0bf25b220d0b11a954eab139
2680093864e7590185ab8b7178f21352d6d257a5
/factorial.py
5c8ae69eccfac0f029e0772e9cff3e11caa94185
[]
no_license
BarnabasK/fizzbuzz
157cb6fb94997c697f393a68bd235460511a7ca1
973f2ec39a8c3e2721a3ee668f9453e272a377f4
refs/heads/master
2021-01-11T06:54:20.342775
2016-10-30T16:25:26
2016-10-30T16:25:26
72,357,145
0
0
null
null
null
null
UTF-8
Python
false
false
314
py
#Have a function factorial(number), take the number parameter been passed and return the factorial of it. #For example: if number is 4, it should return (4 * 3 * 2 * 1) which is 24. def factorial(num): factorial = 1 for i in range(1, num+1): factorial = factorial * i return factorial print(factorial(10))
[ "kariukibarnabas@gmail.com" ]
kariukibarnabas@gmail.com
15f568242d6f174e8eaff829accce8f270d94282
3400b44c17b4366d66536338ea8dee08d58c926f
/generateinfo/views.py
837f190714630121e143b6e622e22e0187ff8da6
[]
no_license
DonSaik/pollsDjango
c01915de69238d02c4d40267d8bb12ca59ffc884
5ee8c70e85b375eea666dbb188c89d5ca37c8f4c
refs/heads/master
2020-09-24T08:58:33.991534
2019-12-04T17:19:27
2019-12-04T17:19:27
225,720,921
0
0
null
null
null
null
UTF-8
Python
false
false
2,996
py
from django.shortcuts import get_object_or_404 from polls.models import Question import io from django.http import HttpResponse, FileResponse from xlwt import Borders from django.template.loader import get_template from django.utils import timezone import xhtml2pdf.pisa as pisa import xlwt import datetime # Create your...
[ "ds32204@gmail.com" ]
ds32204@gmail.com
1d4913ccb5c729773c440c70c0f177451d1d9578
2b28759d02601c21d8506ee9f45abe9f763c8d35
/deivani9.py
22a7dbb00aa29f6d5656833d8aac919388541dd9
[]
no_license
Rajadeivani/deivani9
da612e39f89d7db1abca09a94bd147c6f9505908
ed2ac449f9652c6dd7e3b3df58c12abd83b23e29
refs/heads/master
2020-06-24T02:38:59.831762
2019-07-25T12:23:30
2019-07-25T12:23:30
198,825,400
0
0
null
null
null
null
UTF-8
Python
false
false
151
py
num = ch(input()) if((num>='a' and num<= 'z') or (num>='A' and num<='Z')): print(num, "is an Alphabet") else: print(num, "is not an Alphabet")
[ "noreply@github.com" ]
Rajadeivani.noreply@github.com
41ecb0fe0bdf87b0c1ebc4493930a2d22f00a45e
a438adc4bdceb4acbb4d5a4cff48c05c720349c5
/Lesson_12/shoppinglistparse.py
04b9b74d6595aa867b821a4d003b2d6cdc9e9244
[]
no_license
anneharris4/Hackbright-Intro-to-Programming-Assignments
d2f53e278cf0f39823aa6a87499440cf657d3844
a35216499a199277158d335f477c1da52e492145
refs/heads/master
2016-09-13T06:58:39.237514
2016-05-22T22:43:33
2016-05-22T22:43:33
57,790,518
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
shop1 = "item : apples, quantity : 4, price : 1.50\n" shop2 = shop1.split(',') quantity_list = shop2[1].split(":")[1] price_list=shop2[2].split(':')[1] quantity_list = float(quantity_list) price_list =float(price_list) def calculate_bill (quantity_list,price_list): return quantity_list * price_list print calculate_...
[ "anneharris4@gmail.com" ]
anneharris4@gmail.com
4cd2b717a6df5a7b3bf7eca581c8a162ae1bbbe3
66c3ff83c3e3e63bf8642742356f6c1817a30eca
/.vim/tmp/neocomplete/include_cache/=+home=+abel=+.virtualenvs=+django=+lib=+python2.7=+site-packages=+django=+core=+urlresolvers.py
2a8512bf3f996b861a1f42b58f05eb423f8c92c1
[]
no_license
pacifi/vim
0a708e8bc741b4510a8da37da0d0e1eabb05ec83
22e706704357b961acb584e74689c7080e86a800
refs/heads/master
2021-05-20T17:18:10.481921
2020-08-06T12:38:58
2020-08-06T12:38:58
30,074,530
0
0
null
null
null
null
UTF-8
Python
false
false
4,613
py
[{'word': 'LocaleRegexProvider', 'menu': '[I]', 'kind': 'c', 'abbr': 'LocaleRegexProvider(object): <class>'}, {'word': 'LocaleRegexURLResolver', 'menu': '[I]', 'kind': 'c', 'abbr': 'LocaleRegexURLResolver(RegexURLResolver): <class>'}, {'word': 'NoReverseMatch', 'menu': '[I]', 'kind': 'c', 'abbr': 'NoReverseMatch(Except...
[ "pacifi.bnr@gmail.com" ]
pacifi.bnr@gmail.com
460d5f0bfeac95517098e3c24993693ef5f06d93
2b52acc6141bb0d4716b7b1ad617e5302ece42b3
/comentarios/api/viewsets.py
47d41f1b3d4ab4337725d95e3c8a25d85f541c66
[]
no_license
nayannanara/django-rest-framework
4eb621c55ffd22f2d5e4ea55815552f03d099c5f
6b2c8a6de091c4647b228bb19dd2ee536e4772bd
refs/heads/master
2023-03-04T14:42:29.942526
2021-02-14T13:02:37
2021-02-14T13:02:37
321,846,045
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
from rest_framework.viewsets import ModelViewSet from comentarios.models import Comentario from .serializers import ComentarioSerializer class ComentarioViewSet(ModelViewSet): queryset = Comentario.objects.all() serializer_class = ComentarioSerializer
[ "nayanna501@gmail.com" ]
nayanna501@gmail.com
c1f385635984be5f23fc87275477174408f7985e
0f7718c7d4df241d6d4aa2638e265bd735f3761f
/python-client/test/test_recognize_request.py
d5ff6ac52b87fe00f2e73f50be0c31745e5fee92
[]
no_license
jplaceres/Guardian
9d0eca833b235b1c6cdd1e9f8524357aef0da375
74ecad9232b77e575350da4792986f1f5ec64aac
refs/heads/master
2020-04-26T11:00:42.848546
2019-03-02T22:09:59
2019-03-02T22:09:59
173,502,415
0
0
null
null
null
null
UTF-8
Python
false
false
881
py
# coding: utf-8 """ Betaface API 2.0 Betaface face recognition API. # noqa: E501 OpenAPI spec version: 2.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import unittest import swagger_client from swagger_client.models.recognize_r...
[ "33101350+jplaceres@users.noreply.github.com" ]
33101350+jplaceres@users.noreply.github.com
c2f8e0154349643a895fea833e2a1eeb7e25c897
fdcbf5b203f07cceefbb38a746f4a43b322e263e
/Python/string_similarity/create_sample_data.py
208b55446b99e6914b361cbdf673d639438ffb52
[]
no_license
Masoumeh/0390.IbnAhmadMuqaddasi.AhsanTaqasim
e7a3eddc895edb79f8d93c1bd0f09f130a761858
592720e5a154fcfe9cdab84b16eaf5574f30b806
refs/heads/master
2021-01-18T00:36:09.962622
2017-11-07T13:13:46
2017-11-07T13:13:46
45,922,253
0
0
null
2015-11-10T15:49:02
2015-11-10T15:49:02
null
UTF-8
Python
false
false
592
py
import get_sttl_reg as gsr import numpy as np def write_sample_file(data_file, write_file): muq_sttls = list(gsr.get_sttl(data_file)) sample_index = np.random.choice(1200, 100) with open(write_file, 'w', encoding="utf8") as samples_file: for i in sample_index: sttl = muq_sttls[i] ...
[ "m.seydi@uni-leipzig.de" ]
m.seydi@uni-leipzig.de
fb4b0789e6190cd6c3f1eb1a911363043e65006e
587e2fc104a484c60aa2fab01c3cdc1d2a330778
/Prozor/Prozor.py
dda495e85ca4e4ff7cb4a46a1f952e95dea47cf9
[]
no_license
tlittle2/Kattis-Solutions-Python
7b3c379f9b394b8b944377c1329332e483ccfcf3
92ed9987b81e3276d2a03252177f1f45b98388e4
refs/heads/main
2022-10-10T07:51:33.431519
2022-09-30T22:29:12
2022-09-30T22:29:12
216,254,189
0
2
null
2022-09-30T18:27:47
2019-10-19T18:42:47
Python
UTF-8
Python
false
false
543
py
#/usr/bin/env python3 import sys def main(): rows,cols,rack= [int(x) for x in sys.stdin.readline().split()] window=[] for i in range(rows): print(window.append(list(sys.stdin.readline().rstrip()))) count= 0 for i in range(rows-rack+1): for j in range(cols-rack+1): ...
[ "noreply@github.com" ]
tlittle2.noreply@github.com
dbfefbd395ad03c04935a750e349e51e17f0f114
67758d0837e59828a6f522596268b90045ea309c
/02 skeleton_version/qt_import.py
d85715cac9c9add932f640d76bd770274f635462
[]
no_license
mskoenz/workingTitle
e2009fa470493db1b2e601d7075c32a30d3dcc4e
a27e2a7dfa60bedc9f92c92d4b20b2cc3acaa8cf
refs/heads/master
2020-05-18T03:41:39.205698
2012-01-22T21:45:47
2012-01-22T21:45:47
3,062,773
0
1
null
null
null
null
UTF-8
Python
false
false
450
py
#!/usr/bin/python3.2 # -*- coding: cp1252 -*- # # Author: Mario S. Könz <mskoenz@gmx.net> # Date: 16.01.2012 17:36:09 CET # File: qt_import.py try: from PySide.QtCore import * from PySide.QtGui import * print("PySide loaded") except ImportError: try: from PyQt4.QtCore import * fr...
[ "mskoenz@gmx.net" ]
mskoenz@gmx.net
2abcdea583720c1791f057a4c62c1b85df091afe
a3c662a5eda4e269a8c81c99e229879b946a76f6
/.venv/lib/python3.7/site-packages/pylint/test/functional/cellvar_escaping_loop.py
23c6b4b2e146d28a183c0aa82118e1869bef02e4
[ "MIT" ]
permissive
ahmadreza-smdi/ms-shop
0c29da82c58b243507575672bbc94fb6e8068aeb
65ba3f3061e2ac5c63115b08dadfe7d67f645fb6
refs/heads/master
2023-04-27T19:51:34.858182
2019-11-24T20:57:59
2019-11-24T20:57:59
223,616,552
6
2
MIT
2023-04-21T20:51:21
2019-11-23T16:09:03
Python
UTF-8
Python
false
false
2,472
py
# pylint: disable=print-statement """Tests for loopvar-in-closure.""" from __future__ import print_function def good_case(): """No problems here.""" lst = [] for i in range(10): lst.append(i) def good_case2(): """No problems here.""" return [i for i in range(10)] def good_case3(): "...
[ "ahmadreza.smdi@gmail.com" ]
ahmadreza.smdi@gmail.com
6a318fbcc08879357f4b53da88f761a9ae7b1322
f7c39a27d7b932523097e8379fe18b77d99efafd
/apps/reserva/apps.py
2cd090ca175f5ab0e7ff3ccc919c7a518c51b7c5
[]
no_license
francobostian/TpMetodologia
8533ae01aa7ac07c75eca7cc45853f09a27a5772
755fc622f2186f17f976ea83e8c23265f284966e
refs/heads/master
2020-04-05T18:38:14.770350
2018-11-16T04:57:14
2018-11-16T04:57:14
157,106,826
1
0
null
null
null
null
UTF-8
Python
false
false
154
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.apps import AppConfig class ReservaConfig(AppConfig): name = 'reserva'
[ "francobostian@gmail.com" ]
francobostian@gmail.com
8927b66c17aba3be47ad44adf5e8be615f925b3b
23dbbf39374e30ecf518e5646182e36cd7537f6c
/backend/src/entities/entity.py
c043f8fa10aeecdc10ff6cf226c0cf0bd1e21fde
[]
no_license
ashokpkumar/templat_application
9c28824bf01ceb3d57bba01022139e70fdc79fba
2b364d38cfea06b5845a75e6e639d2296763b75b
refs/heads/staging-master
2023-03-27T08:20:39.455635
2021-03-25T15:24:45
2021-03-25T15:24:45
351,477,156
0
1
null
2021-03-30T13:21:22
2021-03-25T15:02:25
Python
UTF-8
Python
false
false
770
py
from datetime import datetime from sqlalchemy import create_engine, Column, String, Integer, DateTime from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker db_url = 'localhost:5432' db_name = 'online-exam' db_user = 'postgres' db_password = '0NLIN3-ex4m' engine = create_engine...
[ "mani120488@gmail.com" ]
mani120488@gmail.com
ccbf0df253c59c0acbdb7fd3a32f366274aff649
39e876928091892e371c2390d3787ed7e8846069
/label_gui.py
04f624ab110397861b165971a64061416720f573
[]
no_license
IPavlak/Grayscale-CNN
540ab5c28b3b48341070359ba6aa7519e1ed2578
bc5e0e8f38e3bcc1669219600a330fe197265046
refs/heads/master
2020-07-28T05:08:57.633764
2019-10-03T11:47:12
2019-10-03T11:47:12
209,318,383
0
0
null
null
null
null
UTF-8
Python
false
false
6,175
py
import tkinter as tk import numpy as np from math import floor, ceil red = 'NOT' orange = 'NOT' white = 'NOT' txt_gui = None exit_flag = False def classify(ids): global red, orange, white args = ids.split(':') if args[0] == 'red': red = 'red -> ' + args[1] elif args[0] == 'orange': o...
[ "ivan.pavlak@fer.hr" ]
ivan.pavlak@fer.hr
8b2e0a2780393df8d6d12b84da7e1d9a11670ab6
52ea21f0b6a2a994539bc900fa7b7d9c2278a3c4
/RoboticFramework/Position/Position.py
8fb2f2498970811e352cb1b4bb85d1dda72a9f29
[]
no_license
dheerendra1/RobotNaturalLearning
1b485a47a0deddaef55a6d8aa7bf0a4962478dcd
036070f713008950f07c9e42a52fc55868b0c544
refs/heads/master
2020-12-24T18:13:04.871143
2011-10-23T14:59:21
2011-10-23T14:59:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
218
py
#Abstract position class # Author: Witold Wasilewski 2011 class Position: _value = 0 type = "Abstract" def __init__(self, value): self._value = list(value) def getValue(self): return self._value
[ "vitotao@gmail.com" ]
vitotao@gmail.com
415065eaf61d37a2964051f86901692df17d1bba
a96fffd451827146cbeeede4712e1ba23ea4147e
/lang/python/2016-05-19/exp6.py
2d93f956b27bfb80455979e2e9c5058e94b73fd2
[]
no_license
synchronized/gtd
360f3a030fa5d3939c610e521886c65e960f01c9
7363de59d198fdb2b1f09a68c7d61f314c6d8d4e
refs/heads/master
2023-06-24T09:09:36.702386
2023-06-12T02:16:36
2023-06-12T02:16:36
49,370,734
0
0
null
2023-02-25T04:24:05
2016-01-10T14:41:42
C++
UTF-8
Python
false
false
1,487
py
#!/usr/bin/env python # -*- coding:utf-8 -*- import os import pickle class FileDescr(object): saved = [] def __init__(self, name=None): self.name = name def __get__(self, obj, typ=None): if self.name not in FileDescr.saved: raise AttributeError, \ '%r used bef...
[ "synchronized@yeah.net" ]
synchronized@yeah.net
ec6d7359acfe5f63e5d0a2082973529f08f8a5d4
52d41c97581dbbe2c559472722b73f6731837a2f
/pydron/translation/test_decomp.py
e638f20360e5569c2224fdf18b3bf0e805614099
[ "MIT" ]
permissive
pydron/pydron
89268bf215f436d701b7dee31d7538157ab53e00
a7b484dec8bcc2730ba9bd76bc63bf3362c05e4d
refs/heads/master
2020-04-06T06:53:23.800903
2016-04-14T11:41:33
2016-04-14T11:41:33
56,232,534
5
2
null
null
null
null
UTF-8
Python
false
false
1,535
py
# Copyright (C) 2014 Stefan C. Mueller import unittest from pydron.translation import utils, decomp class TestDeComp(unittest.TestCase): def test_list(self): src = """ def test(): return [x for x in lst] """ expected = """ def test(): return [x for ...
[ "scm@smurn.org" ]
scm@smurn.org
56a18ea38a3756bc399bf2e1e0c3ead7ee5d5c06
3c158b18fd706a8732c8b2f70ad57bc4328ec23b
/pyAlertGen.py
649532e666ba821d67cbaae98113261befeb8e5f
[ "MIT" ]
permissive
LavheyM/tkinter_base_template
19059e1d52780dca34e9dbfc84583d777b9f8d93
db7ead4c1f0448a7eefb2117eed083f85933702f
refs/heads/master
2020-07-01T18:16:59.615846
2019-08-08T13:03:26
2019-08-08T13:03:26
201,252,807
0
0
null
null
null
null
UTF-8
Python
false
false
765
py
import tkinter as tk class Application(tk.Frame): def __init__(self, master=None): super().__init__(master) self.master = master master.title("Python Link Generator v.01") master.geometry("425x175") self.grid() self.create_widgets() def create_widgets(self): ...
[ "40267291+LavheyM@users.noreply.github.com" ]
40267291+LavheyM@users.noreply.github.com
e7db50b5124ba11c9c8bdc76de58e831dc27f3d3
9c7cb29490635e373fbc50d0784a67804eb52b94
/operationstesting.py
d0deb91b0a9850e6b6ea79d9d7a98312c50e3613
[]
no_license
siddharthsubramaniam1996/sensiblepythoncode
42d98c635492a912295e202bdc9acd3a440f1e78
3501300935d615b02f3272748572eb2fc869e33f
refs/heads/master
2021-06-29T20:38:41.762966
2021-01-06T13:43:56
2021-01-06T13:43:56
197,215,857
1
1
null
null
null
null
UTF-8
Python
false
false
1,690
py
# -*- coding: utf-8 -*- """ Created on Mon Jul 29 19:47:18 2019 @author: SIDDHARTH """ import numpy as np L=np.array([3,4,5]) N=np.array([3,4,5],np.int32) print(L) print(N) print(L*N) print(N*3) print(L+L) print(N+N) O=np.array([2,4,6,8]) print(O) P=np.array([[2],[4],[6]]) print(P) Q=np.arra...
[ "noreply@github.com" ]
siddharthsubramaniam1996.noreply@github.com
e252c6bc189d98d40c6b3adf034ba673d18893f3
86091c60ceb6582768ba9fd24d6e7dd00dfcffec
/giggleliu/tba/hgen/utils.py
0fd01de5fe07f940fd21483053463e4e95178f2b
[ "MIT" ]
permissive
Lynn-015/NJU_DMRG
8d6167ab26c571b81ca1bdbfe7c7ffb9dccac7ea
88be712b2d17603f7a3c38836dabe8dbdee2aba3
refs/heads/master
2020-04-05T19:00:54.364285
2016-12-10T09:33:20
2016-12-10T09:33:20
44,971,751
2
0
null
null
null
null
UTF-8
Python
false
false
2,762
py
''' Author: Giggle Leo Date : 8 September 2014 Description : physics library ''' from numpy import * from numpy.linalg import * from matplotlib.pyplot import * import scipy.sparse as sps import pdb,time __all__=['sx','sy','sz','s','H2G','s2vec','vec2s','ind2c','c2ind'] ############################ DEFINITIONS #######...
[ "lynn_015@outlook.com" ]
lynn_015@outlook.com
6e480ff6a021a328c9c46edcbb4326f0509dfa29
984b125ae0b6094c1f05e0d6045bc9e3e1ca8b49
/html/v0.2/image/survey_example.py
0d019fdac15de4d6abf97c3d56e39e4c764698ae
[]
no_license
cdeil/gammapy-docs-rtd-archive
6a171322239ae918d4814a792cb64922226435a6
f28c7a480a66f6189d73e909967acfc8722d63f0
refs/heads/master
2021-05-11T02:22:18.826834
2018-01-21T17:38:04
2018-01-21T17:38:04
118,354,235
0
0
null
null
null
null
UTF-8
Python
false
false
651
py
"""Plot a Galactic plane survey image in two panels.""" from aplpy import FITSFigure from gammapy.datasets import FermiGalacticCenter from gammapy.image import GalacticPlaneSurveyPanelPlot class GPSFermiPlot(GalacticPlaneSurveyPanelPlot): def main(self, figure, subplot): filename = FermiGalacticCenter.fi...
[ "Deil.Christoph@gmail.com" ]
Deil.Christoph@gmail.com
95b7635b1536790811d098d8565b00f3acc36710
879bebb89d30aac73e0cb3afb1412efdf51bcc11
/unum_config.py
7b64079f2218c39205f4b64d1a2aae600d25bac6
[]
no_license
jrmuizel/pyunum
d8247caf55757742dc8731d5353651e9c35b481d
c99c3eea3ffb5d235dd24426dcedf107af8091cf
refs/heads/master
2023-09-04T03:14:36.570175
2016-04-27T17:25:16
2016-04-27T17:25:16
34,972,849
57
14
null
2016-03-21T17:07:06
2015-05-03T03:48:16
Python
UTF-8
Python
false
false
12
py
e = 3 f = 4
[ "jmuizelaar@mozilla.com" ]
jmuizelaar@mozilla.com
a96d4d582ea9213d45d349e10c8139dd57e26a65
ae5f69089c0e792c913fa86f36d923cd60b47e51
/tests/test_insert.py
b206926a111e92e3a1620dbcb2831cb5cb91e949
[ "MIT" ]
permissive
kenchensb/sqllineage
ca930a222f3fd8d57195270bd6d5037359d06381
43da1348d2589ade519291630d1abb48042c6b99
refs/heads/master
2023-05-26T23:17:19.391680
2021-06-14T11:42:50
2021-06-14T11:42:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,177
py
from .helpers import helper def test_insert_into(): helper("INSERT INTO tab1 VALUES (1, 2)", set(), {"tab1"}) def test_insert_into_with_keyword_table(): helper("INSERT INTO TABLE tab1 VALUES (1, 2)", set(), {"tab1"}) def test_insert_into_with_columns(): helper("INSERT INTO tab1 (col1, col2) SELECT * F...
[ "noreply@github.com" ]
kenchensb.noreply@github.com
cdbbf6f97cfad02fde41b96e3addd353a035e946
c4a0ee5346d464fa4f9c7b6c93a627c5be60bbff
/scripts/WalkExp.py
85cec9fc1b3dd241183c42d2198342e769970f66
[]
no_license
s91402001/quadruped_control
f12dbb559cc3c91f64fa4aab83b0ee2966237879
680abd7cae854cea83028d82945ac6a20fedfba1
refs/heads/master
2021-01-19T03:19:40.119697
2016-07-09T10:41:36
2016-07-09T10:41:36
48,423,532
0
0
null
null
null
null
UTF-8
Python
false
false
5,182
py
#!/usr/bin/env python import rospy from math import cos from math import fabs import time import RobotFuncs from std_msgs.msg import Float32 from geometry_msgs.msg import Point from quadruped_control.msg import MotorAngles iniTime =0 leg1th1,leg1th2,leg2th1,leg2th2 ,leg3th1,leg3th2,leg4th1,leg4th2 = 90,0,-90,0,90,0,...
[ "s91402001@gmail.com" ]
s91402001@gmail.com
59cea2eb429009357563209061045b12a57395ed
dfb6a80dda5882a1c2be87b0b6e1e7a87a7b4c20
/test/test_device_type_array.py
07275f3238e36a65bc16075787c2dbfcab27855e
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
artikcloud/artikcloud-python
a090201bea9fadbdf5dd57d94d9085b03b34f927
c5489b2fca27fd9a8bcea99f309e02cb690dd349
refs/heads/master
2020-12-26T03:33:00.657575
2017-12-28T20:40:05
2017-12-28T20:40:05
55,102,598
13
11
null
2017-03-18T03:22:58
2016-03-30T22:38:07
Python
UTF-8
Python
false
false
835
py
# coding: utf-8 """ ARTIK Cloud API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sy...
[ "jswattonjue@gmail.com" ]
jswattonjue@gmail.com
6213143d37b701cddc3bd02ad04ead4730648dd3
fb0ddefaa2fec8b80b5f0d5f27eb201703e8599c
/Days/day15/binary.py
3ccec95ecf0594968af3e215ce3fa192319c9596
[]
no_license
hamidihekmat/Programming-Practice
faa10e8277bc6da3f413b35565b66a8e489f3064
2119357634482ca3c73de28818b9a6b4fa34a6cf
refs/heads/master
2020-07-13T12:00:10.223812
2019-10-04T18:37:08
2019-10-04T18:37:08
205,078,317
1
0
null
null
null
null
UTF-8
Python
false
false
153
py
def binary(int): binary = '' while int!=0: int = int / 2 binary += str(int % 2) return binary[::-1] print(binary(255))
[ "theonehamidi@gmail.com" ]
theonehamidi@gmail.com
7c47f7283c0da28dbf4eba399cb9ca36e5cde1f3
045a9da06ded1a2dd0311fcf34e4859e3934e2cd
/venv/Scripts/easy_install-script.py
5af263c5515d492ee2298fa0f2c59b34513af1b5
[]
no_license
testestzxcv/analysis_pd_test
48479a874d3234abf23babd251338b11ce4e1a57
92721655a843ed236262b9cdb3d5fa0e74f646fe
refs/heads/master
2020-03-20T09:10:26.664473
2018-06-14T08:36:49
2018-06-14T08:36:49
137,330,159
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
#!D:\PycharmProjects\analysis_pd_test\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe...
[ "illuillu55@hotmail.com" ]
illuillu55@hotmail.com
3cff6193ecc1eec7bc14e4e3012916d09dd0ce96
ac9ee909a8a9c546781450e2145210e86c0dfe2f
/LoginAuthentication-Django-main/Login/models.py
0e3dc7c12a0fe6693c02a69459685d9afdb77a81
[]
no_license
Florencekyarikunda/LoginAuthenticationForm-Django
79d054245d1a894362f968faf640eb040781c2e3
81584a8aa6c70c7099cf2b69489cb3dda48d8959
refs/heads/master
2023-07-04T02:27:38.698137
2021-08-09T09:09:09
2021-08-09T09:09:09
394,226,273
0
0
null
null
null
null
UTF-8
Python
false
false
473
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): # Making one to one relationship with User model of Django user = models.OneToOneField(User, on_delete=models.CASCADE) auth_token = models.CharField(max_length=100) verified...
[ "florencekyarikund@gmail.com" ]
florencekyarikund@gmail.com
dfcfba24d132a9c9a4b8646a52c480b1b175bf15
fa11c4d0fd4ddac2afd4387d4c58704fde19723c
/sample.py
2bd2f48c52fa4ee031de62de9cf1bb9adbf01c44
[]
no_license
rrakesh100/sample-django
4aad071f7e27458a5aa637233204ccddf5a45196
735d8a8c0221c2d471f2cddd6eb15475c6c8bc75
refs/heads/master
2020-07-18T20:19:20.832880
2019-09-04T11:46:54
2019-09-04T11:46:54
206,306,346
0
0
null
null
null
null
UTF-8
Python
false
false
192
py
import os; import sys; print(os.path.dirname(__file__)) print(os.path.basename(__file__)) print(os.path.abspath(__file__)) print(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
[ "rakesh.rampalli@bigbasket.com" ]
rakesh.rampalli@bigbasket.com
1bae556d02178233cda63a9813e54edbab64a307
560022b5f21c4b7c086547e6cf2d72351c5d87fd
/crm/crm/urls.py
e0b1d521f504acd8ff9e1ae07732ecf307cac586
[]
no_license
novice-gamer/crmself
5999667389a7ff5ba6002bcb8aa1fb6f2d03cdc4
e9d894c4a3be52983da8dc8359126fdccd42a88c
refs/heads/master
2023-01-23T06:06:53.855973
2021-04-09T07:58:08
2021-04-09T07:58:08
216,338,411
0
0
null
2023-01-11T19:54:53
2019-10-20T09:40:03
HTML
UTF-8
Python
false
false
835
py
"""crm URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.pulgin, name='pulgin') Class-ba...
[ "17611236100@163.com" ]
17611236100@163.com
d6cb57d8f74d7f6693fe814df163f7f5c7925053
fcbe8723526462b85a13310b9d1d1c466d10710f
/bot.py
3cab40dc00322cfae1f29352f16d8843b75f485f
[ "MIT" ]
permissive
hectorRod101/Instagram_Bot
e7fa88a48649ae652030ef69677efcbbf129888c
cd6b10fa7bf9bdd7b87fbf03a33892e020b6e8e5
refs/heads/main
2023-01-11T00:40:57.297461
2020-11-05T20:08:11
2020-11-05T20:08:11
310,380,221
0
0
null
null
null
null
UTF-8
Python
false
false
2,379
py
# Created By: Hector Rodriguez from selenium.webdriver.common.by import By from selenium import webdriver import os, time, sys import bot_functions as bf class InstagramBot: def __init__(self, username = None, password = None): """Initialize parameters for Instagram login.""" self.username = usern...
[ "hectorrodriguez@Hectors-MacBook-Pro.local" ]
hectorrodriguez@Hectors-MacBook-Pro.local
71873742c0d28828c53b56ee54deb2d0f76bef90
c384c1f8062f01a6a343e4aad7fcd231a906dbf5
/python/Count the point V1.py
8755e096c7dd20fc5a9cbc5022e7ff3fd70538b0
[]
no_license
RawitSHIE/Algorithms-Training-Python
b9bf95ccc7b3974de78f290492d646679d05ae4b
02ba71f88d18e48b35046564fe6f61911db31ac4
refs/heads/master
2021-03-24T12:34:02.101117
2017-12-10T14:15:40
2017-12-10T14:15:40
109,127,600
0
0
null
null
null
null
UTF-8
Python
false
false
288
py
"""Count the point V.1""" def main(): """Count the point V.1""" time = int(input()) for _ in range(time): point = list(input()) if "." in point: num = point.index(".") print(len(point[num+1:])) else: print(0) main()
[ "Rawitgun@gmail.com" ]
Rawitgun@gmail.com
d4e66bfa17d1e1f19eb7b0ce1c189b1d70480b0d
245c492894a82b986d6cfcc4a2a519f08989a251
/present_k.py
d6d274d307a476b97c7fd8e12ae62fd383d53a11
[]
no_license
muthuramasamy/Player
bb20db14d787a6a8c514437a4a3e11a6a84f5273
11bdae8d84c980ef3d204d45f7a3a3fd480561c0
refs/heads/master
2020-04-18T18:09:59.563987
2019-02-18T13:38:26
2019-02-18T13:38:26
167,676,089
0
1
null
null
null
null
UTF-8
Python
false
false
178
py
# your code goes here n,k=map(int,input().split()) li=list(map(int,input().split())) f=0 for i in li: if i==k: f=1 else: continue if f==1: print("Yes") else: print("No")
[ "noreply@github.com" ]
muthuramasamy.noreply@github.com
b46aa02ab19cc27d82be37ad53921de0c0e5dbe6
f912049e661c163ac3db8ab8358df8da4c8f9fce
/common/auth.py
936f3f54a315b58a45134cc8df6a543285c2bc3f
[]
no_license
vibhash1083/load-test-locustio
4ab38e1c2fd4ce469fe0e88ce7b35d321fb8d974
3c6fd28b5b22f2ac9e281137aae0581e49923f75
refs/heads/master
2023-04-30T21:07:59.311492
2021-05-20T20:04:51
2021-05-20T20:04:51
116,121,893
0
0
null
null
null
null
UTF-8
Python
false
false
395
py
def login(self): # GET login page to get csrftoken from it print("logging innnnnnnnnn") response = self.client.get('quiz/login/') csrftoken = response.cookies['csrftoken'] # POST to login page with csrftoken self.client.post('quiz/login/', {'username': 'prajaip', 'passwor...
[ "prajaip@amazon.com" ]
prajaip@amazon.com
ceea920616f07da8b48de670bd3a87ceba768a61
099d29ec51df145a04c4ca0b22d069ef45ee3575
/Assegnment/inventory/migrations/0003_remove_inventory_author.py
3ed635828a3fe089ab54f6e91515c53245e210da
[]
no_license
prahaladc20/invent
51e7d6194e9c33a7b1131f46d6cdac21308f6809
8256e3f6e24231ba2561d760e5a1c5d481e3e33a
refs/heads/master
2023-01-24T12:29:08.281628
2019-12-10T15:07:33
2019-12-10T15:07:33
225,514,320
0
0
null
2023-01-07T12:25:22
2019-12-03T02:37:35
Python
UTF-8
Python
false
false
331
py
# Generated by Django 2.2.7 on 2019-11-27 15:22 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('inventory', '0002_inventory_author'), ] operations = [ migrations.RemoveField( model_name='inventory', name='author', ...
[ "prahaladc20@gmail.com" ]
prahaladc20@gmail.com
ef8b3323333c1819d0f0617597141303720ffa5a
fb0c0b784ae7e9f000d0194563a7784bbf46daf0
/data/components/message_window.py
e183a5473f9cd5a7d24eaf994c18145cc61670b7
[]
no_license
iminurnamez/lessor
25a0d2a84bad195b884f521d4ee6dc814602a5d0
b591a379d7f5019dbae57a5a5ee88672d2342729
refs/heads/master
2021-01-21T05:16:58.779434
2017-02-25T23:56:34
2017-02-25T23:56:34
83,165,839
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
import pygame as pg from .. import prepare from ..components.labels import Label, Button, ButtonGroup, MultiLineLabel from ..components.window import Window class MessageWindow(Window): def __init__(self, building, player, message): super(MessageWindow, self).__init__(building, player) self.msg =...
[ "easinerf@gmail.com" ]
easinerf@gmail.com
d706094388182f230bb3ca8c6b7f24b46b339ab1
9f66941e73cad0c215601339512b8dd6729792da
/Show_Program_exe/predictModelUI/tensorflow/core/protobuf/saved_object_graph_pb2.py
49dc225a4205282e1120033dc9b5f2026c16e5e6
[]
no_license
NgaAdrain/TEAM_Enter_Text_Here
eb0e02c13959b90eecc0c69d2b24adb23a50150a
a7217438284360e06c93d37092dca1afcecb735a
refs/heads/master
2023-07-20T11:42:50.353497
2021-05-28T08:30:53
2021-05-28T08:30:53
267,983,495
2
0
null
2023-07-06T22:00:36
2020-05-30T00:50:59
Python
UTF-8
Python
false
true
37,038
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: tensorflow/core/protobuf/saved_object_graph.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message ...
[ "adrainnga@gmail.com" ]
adrainnga@gmail.com
8df1865493f7d6d659d54f4de4e6c2e98f00eeab
feaef9e12345f9a9b0a839d159d101357a22b3fe
/maxconnect4.py
1e63c90e2b1f2c327622bef3deb9b9e635a08c9e
[]
no_license
akash682/Maxconnect4Game
03975b07743d148255724b3f4325aab322770daa
1047504c6182504a61f3dec93e66e7f44966dd8e
refs/heads/master
2020-04-27T02:55:15.103086
2019-03-09T04:14:37
2019-03-09T04:14:37
174,009,249
0
0
null
null
null
null
UTF-8
Python
false
false
7,751
py
#!/usr/bin/env python # Written by Chris Conly based on C++ # code provided by Dr. Vassilis Athitsos # Written to be Python 2.4 compatible for omega import sys from MaxConnect4Game import * from Minimax import * import sys def oneMoveGame(currentGame, fname, depth): # Is the board full already? ...
[ "noreply@github.com" ]
akash682.noreply@github.com
acf702401d77c59421e65ac7578a059df5d45539
4c3397f6e48800ac544e332ce3d408db8ab538e4
/colabsnippets/face_detection/fpn/FPN3StageMD.py
f024014011b3ec6ed3a3b02d18e5f90ff6386bb7
[]
no_license
rebser/colabsnippets
7fcd18ab09de527b374d8e358abc1075912389d9
005145d69179e4265f19ec021d38f4bceda40ed9
refs/heads/master
2023-03-18T09:39:05.966629
2020-03-08T10:53:12
2020-03-08T10:53:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,180
py
import tensorflow as tf from .FPN3StageBase import FPN3StageBase from ...ops import conv2d, reduction_block, main_block class FPN3StageMD(FPN3StageBase): def __init__(self, name='fpn3stagemd', with_detection_module=True, use_minimal_anchors=True): super().__init__(name=name, stage_filters=[128, 256, 512], with...
[ "muehler.v@gmail.com" ]
muehler.v@gmail.com
97ff9d00847b0ba529fc65f6788083fc1f43bc49
2a176ede9250c523425aa8a3e068bf7a64254068
/robot.py
5ff1fe79540a43cab9225391a0b30acac2f84474
[]
no_license
prikevs/nupt-zccx
31c99026efbc9645a81de1e50431acb939bf14ea
3c27b5f5093917a13bf654253ff5b8d0c477fdf4
refs/heads/master
2021-01-10T04:38:07.932983
2015-05-07T10:55:31
2015-05-07T10:55:31
34,276,326
2
1
null
null
null
null
UTF-8
Python
false
false
1,009
py
#!/usr/bin/env python2.7 #coding:utf-8 import werobot import re from zccx.handle import Handle robot = werobot.WeRoBot(token="kevince") msg1 = u"欢迎使用南邮晨跑查询微信公众号\n" msg2 = u"Developed by Kevince & Powered by https://github.com/prikevs/nupt-zccx\n" msg3 = u"首先请进行绑定操作:\n输入 绑定+姓名+学号 例如\n绑定 田二狗 B13040216" HELLO_MSG = msg1...
[ "wildfire_ks@foxmail.com" ]
wildfire_ks@foxmail.com
3ae7787d9641335df5ad2bb0d983fb3866b51cd1
617e6557eb86754dd5a041d4aa4325c31f7a0d1a
/bench/genesys2.py
c853cee0ecd7e6cb4709b9d40ba529f847c44f62
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
chengzhangxinli/litedram
ae9a5faa82a21b5915cadfd80bc0f1530fb9ed5f
af979bbd3149c1bfe617320c22b4e4759de1182d
refs/heads/master
2023-01-20T17:26:38.469499
2020-11-24T18:48:56
2020-11-24T18:48:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,551
py
#!/usr/bin/env python3 # # This file is part of LiteDRAM. # # Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr> # SPDX-License-Identifier: BSD-2-Clause import os import argparse from migen import * from litex.boards.platforms import genesys2 from litex.soc.cores.clock import * from litex.soc.intercon...
[ "florent@enjoy-digital.fr" ]
florent@enjoy-digital.fr
332a2c3e1c62d34e4e9f75987b816e7d0c89b786
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/iam_write_f/server-certificate_update.py
f50d6dee040a81fc171979af61dd2f5573540c89
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
911
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
57f0b4f3983a5a317feac10e3d5f3eee570a4930
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_75/122.py
91ba1fe748d8690b47b3ad3c3d70a7a782710c20
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,423
py
#!/usr/bin/python # coding: utf-8 class OpposedElementsFound(Exception) : pass def main() : T = int(raw_input()) for t in xrange(T) : args = raw_input().split() args.reverse() C = int(args.pop()) allComb = {} for i in xrange(C) : s = args.pop() ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
74e89a7099e0add391dcc3d2df835de9ff0604c4
82820a53954d9e8f7270ed8c25a6754fa3d407dc
/scripts/ciciol
31c9ae320be4ac8c002b85f4cdf17d2f4b62924b
[]
no_license
volpino/Ciciol
6c3010d9153be078aca08a669162db9b0152feda
2693d8a6ec3d59fbeabb25c2bc947db0fa00f4c0
refs/heads/develop
2020-04-17T10:32:02.567007
2012-03-26T08:32:44
2012-03-26T08:32:44
3,662,082
0
0
null
2023-08-29T21:29:21
2012-03-08T16:57:14
Python
UTF-8
Python
false
false
1,431
#!/usr/bin/env python import sys import logging from ciciol import Ciciol from ciciol.utils import setup if __name__ == '__main__': import optparse p = optparse.OptionParser( usage="usage: %prog [options]") p.add_option('-v', '--verbose', action="store_true", dest="verbose", defau...
[ "fox91@anche.no" ]
fox91@anche.no
55bddf73973779c6fa266e24ff8debbf72df4e49
4edb790e2cb11bf9ec63dd470773244bcf2f8213
/example_build_better_cli/setup.py
a7ad40a09d944844f46aafeea96bf331d494e31b
[]
no_license
xNok/pystatemachine
7002d169c46b4fd1780cc66e35fbecb164b9f4dd
e702fd1509d31a9946ec3b6ac1579f988c0bcb36
refs/heads/master
2021-09-06T22:09:30.239282
2021-08-19T14:33:33
2021-08-19T14:33:33
234,469,523
1
0
null
null
null
null
UTF-8
Python
false
false
404
py
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='python_better_cli', version='1.0.0', description='5 tricks to improve command lines', author='xNok', author_email='xNok@gmail.com', packages=find_packages(exclude=['docs', 'tests*']), entry_points = { ...
[ "nokwebspace@gmail.com" ]
nokwebspace@gmail.com
0e2c5c7abff42f5e18fe5c1a358e959befda0801
76ad9ddeed036602bbb4acc8c2bf06e05635cdaa
/hyspider/spiders/movie/db.py
9cf291aae2b011d912a494240dbec37ce89717c9
[]
no_license
improvejin/hyspider
0db8105900103d7fbc1faf80f80c12fd3bfa58c2
df394e2a48399bda25940f1e027a51d2ac85a516
refs/heads/master
2022-12-08T11:00:27.244654
2019-01-07T07:43:39
2019-01-07T07:43:39
164,394,618
1
2
null
2022-12-08T02:28:41
2019-01-07T07:30:48
Python
UTF-8
Python
false
false
2,111
py
import json import requests import scrapy from hyspider.items.movie import MovieDB from hyspider.utils.log import logger class MovieDBSpider(scrapy.Spider): name = 'movie_db' allowed_domains = ['douban.com'] in_theaters = 'https://api.douban.com/v2/movie/in_theaters?count=100' coming_soon = 'https:/...
[ "jiating.jin@vipshop.com" ]
jiating.jin@vipshop.com
eb98d2bf4ffc16181844c9d20d36bff925b598af
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flashblade/FB_2_7/models/snmp_manager.py
1c867f4105b7eced0f86aadd70c826f00a847ed4
[ "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
4,572
py
# coding: utf-8 """ FlashBlade REST API A lightweight client for FlashBlade REST API 2.7, developed by Pure Storage, Inc. (http://www.purestorage.com/). OpenAPI spec version: 2.7 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typ...
[ "tlewis@purestorage.com" ]
tlewis@purestorage.com
af8ae257b3d500b84f630ff8f93ffed08e118e8a
76d665df937da46d3fab9a6e363a2f6931feff4a
/TravelGear/urls.py
bf3f34924206dfafc9cb05843e778a752685a62b
[]
no_license
17201078/Project-CSE-310-17201078
23e325ddb8c62ce728ef35b84163a5badd0e76f4
2e444c7070a903ac4424aee0df4bc3abb9b2c7f8
refs/heads/master
2023-05-04T04:54:04.234060
2021-05-25T07:46:31
2021-05-25T07:46:31
370,586,058
0
0
null
null
null
null
UTF-8
Python
false
false
232
py
from django.urls import path, include from django.contrib import admin from django.conf.urls.static import static from .import settings urlpatterns = [ path('admin/', admin.site.urls), path('', include('store.urls')), ]
[ "76899576+17201078@users.noreply.github.com" ]
76899576+17201078@users.noreply.github.com
12cf351f21aa609e58f988aa0bf3d97763273cad
c50becdbb9bf2e2793a55d775d6554a01969c4f0
/bucle_while2_python.py
9e38cdab390718fc9acf854423c122d4412bfcca
[]
no_license
Victormaximus/ejercicios_programacion
df7a536921f75be9cd6e73ee9c087b68e3061f5f
e2ea7e15e26309a4dec93e326833592c85b5ec41
refs/heads/master
2020-04-29T13:20:52.926339
2019-03-18T00:16:16
2019-03-18T00:16:16
176,166,997
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
VariableContador = 0 while VariableContador <= 10: VariableNumerica = int(input("inserte la variable: ")) if VariableNumerica >= 50: VariableContador = VariableContador + 1 if VariableNumerica % 2 != 0: print(VariableNumerica)
[ "victormanuelchami@hotmail.com" ]
victormanuelchami@hotmail.com
505bdbc5051899409c5705d3b571bf3e7d806e50
81fab92212f48d0719a44770ec6b57336c5e0b59
/novela/_utils/metaclass.py
8a200c262cba61b8d2755524171f9d2d17f6e4ab
[]
no_license
Zessay/novel_analysis
954bd4b624a994ed0d48959c307cbe4a1f710f1f
a07087a77d6e0c7eeb0a7b4da23baac9bbbfb3d6
refs/heads/master
2023-03-13T06:56:31.062182
2021-03-05T04:36:33
2021-03-05T04:36:33
332,147,656
2
0
null
null
null
null
UTF-8
Python
false
false
2,732
py
# coding=utf-8 # @Author: 莫冉 # @Date: 2021-01-22 import inspect import enum from typing import Iterable, Any class LabelEnumMeta(enum.EnumMeta): """用于单层枚举类的元类""" def __new__(mcs, name, bases, attrs): obj = super().__new__(mcs, name, bases, attrs) obj._value2member_map_ = {} # value表示这个...
[ "zhushuai0403@163.com" ]
zhushuai0403@163.com
6e66e6b7f8c7581380e43ea9c3a4c406187486fc
afdfcad1fddbe347c508a4ee1370bc1798fde00e
/day5.py
f657389c7714ebe61cdca578c151652ea27dedc5
[]
no_license
muszkin/advent-of-code-2020
67213884bde2740cfed2b0e9595cf9e57a3761aa
9e0988d2a6909ba740a24530d4d1cd2bb8786be3
refs/heads/main
2023-01-30T18:46:18.222106
2020-12-13T11:36:03
2020-12-13T11:36:03
316,169,343
0
0
null
null
null
null
UTF-8
Python
false
false
693
py
def get(seat_row: str, ran: list): for index, sr in enumerate(seat_row): if index == len(seat_row) - 1: if sr == "F" or sr == "L": return ran[0] else: return ran[1] if sr == "F" or sr == "L": ran = ran[0:int(len(ran)/2)] els...
[ "muszkin@gmail.com" ]
muszkin@gmail.com
ec24dedcdd0573e9451d4dea70c5855bbdc88e40
9ea87c10180665db0db6fa36997704acc001692d
/guides/rpi/mqpy.py
03d24816e17afe46ede57671d9fc9ac55ed158e1
[ "MIT" ]
permissive
ToraNova/library
8af942f4657ebc07043848616e5b75cdace67212
20b321302868e8c2ce8723c808aa9e7a313e2cb8
refs/heads/master
2021-07-13T07:57:40.631816
2020-07-02T18:41:08
2020-07-02T18:41:08
159,255,786
0
0
MIT
2019-05-17T05:43:34
2018-11-27T01:16:08
Python
UTF-8
Python
false
false
3,535
py
#!/usr/bin/python3 # Simple python-gpio for raspberry pi GPIO detection # uses callback events import time, datetime, sys import RPi.GPIO as gpio import paho.mqtt.client as mqtt from gpiomq import GPIOMQTT from utilog import srvlog as log import configparser #for config parsing #defining callback behavior def on_con...
[ "chia_jason96@live.com" ]
chia_jason96@live.com
40e70b4a488818d46d8b3bda7dd401256a057ef0
c0f285754eb9e2be6db11ae9a00a18a5630cad66
/picture_manage/picture/urls.py
01f476f17139f508ebf5c5b8157927f64235921d
[]
no_license
qjx666/document-manage
27ae56ece5303531e85297525792101b88c7c81d
2d3cb37304d65020d9c147afbff95892dbb1e5c7
refs/heads/master
2022-01-30T19:30:56.314775
2019-05-29T13:21:30
2019-05-29T13:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
663
py
# -*- coding:utf-8 -*- # 为应用程序users定义URL模式 from django.urls import path,include,re_path from . import views urlpatterns = [ # 主页面 re_path(r'submit$', views.submit, name='submit'), re_path(r'modify$', views.modify, name='modify'), re_path(r'add$',views.add,name="add"), re_path(r'multiply-(\d+)-(\d+)$...
[ "2380383965@qq.com" ]
2380383965@qq.com
7a8e34489199616f0421ed4a450e58123ba9d7ad
29981fa8b38f785dfe917fafbf1a07956eb021e9
/python/lsst/sims/operations/SeqHistory.py
e98be1e794e8160471fa47c16930bfbe35a6d10e
[]
no_license
humnaawan/sims_operations
f9f33b6a5113c05fbafc91ac6865389cb83af446
ab2bf2e872ce788772cb5e980542ef342110ac52
refs/heads/master
2020-07-27T22:42:31.032318
2017-01-20T05:17:32
2017-01-20T05:17:32
73,422,733
0
1
null
2017-01-20T05:12:51
2016-11-10T21:35:15
Python
UTF-8
Python
false
false
4,196
py
#!/usr/bin/env python """ SeqHistory Inherits from: LSSTObject : object Class Description The SeqHistory class is an interface to the SeqHistory database. It provides methods to ingest data into the database and to retrieve data from it. Method Types Constructor/Initializers - __init__ DB Access - addObservation ...
[ "" ]
5e2fff9451f4a7d4a40d060837845604ee8577a8
489b53afe55712946d15bd4371acad4f9f7d674e
/sandbox.py
f45d3f9d77a6913f779a255f1b17ce0eb056edad
[]
no_license
jardmclan/rfstation
c3ed69d2874f86485f1371d26e8d650f34f01a76
d146660e2b242280eaf6d60f8825495acfaaeea2
refs/heads/master
2023-03-21T08:30:56.218209
2021-03-12T03:29:16
2021-03-12T03:29:16
297,444,277
0
0
null
null
null
null
UTF-8
Python
false
false
279
py
import re out = b"Successfully submitted metadata object 9183465129133019626-242ac1111-0001-012".decode("utf-8") match = re.fullmatch(r"Successfully submitted metadata object (.+)", out) if match is not None: uuid = match.group(1) print(uuid) else: print("failed")
[ "mcleanj@hawaii.edu" ]
mcleanj@hawaii.edu
1eab197bbfb9a7676ad53bc230af3523d720b2f0
8c1ad79b554cace2bc45e4484fda6914f83ed326
/NewCompanyFrame.py
083b96d8cd84ce6c241ba458e85ed835236091f4
[]
no_license
CoryGeeAndDaBoiz/PythonProject
59b0e97be486ec7066abc4ab241edbc8fd22e956
83ed7cd18bad5f6f239a284ea9177cd77ca3b7e1
refs/heads/master
2016-09-06T18:09:44.681710
2014-03-27T17:47:52
2014-03-27T17:47:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
import wx # Search for a new company by the stock symbol class newCompanyFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'Company Search',size=(1000,550)) new_comp_panel = wx.Panel(self) wx.StaticText(new_comp_panel, -1, "Sym:", (8,13), (200,-1)) ...
[ "corygeeanddaboiz@gmail.com" ]
corygeeanddaboiz@gmail.com
6e510f560fa25f97fd56be7e45333f0a2683b37e
0c7b5f78f40ac95bb5adeafb1c199e99415c8705
/venv/Scripts/pip3-script.py
0bd503c2eb93bfd9f3793c5abb46e702f6142842
[]
no_license
BenoitGoethals/XmlSite
5b00c98f460c8eca4550482255578af2036844b5
8328b265c264d91646ad9e710311c868c08c72db
refs/heads/master
2022-04-08T05:57:35.887059
2020-02-10T06:56:16
2020-02-10T06:56:16
236,384,964
0
0
null
null
null
null
UTF-8
Python
false
false
414
py
#!C:\Users\benoit\PycharmProjects\XmlSite\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip3' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv...
[ "benoitgoethals@outlook.com" ]
benoitgoethals@outlook.com
79d80c06892bcc0d65c9be037af02ee0c877cfec
b938a6e3dcf74e03c1f96e96e91a2bab0a0c2de5
/backend/excercise.py
25136c13deb0d10c3c92af1fe3816a8a7ea045b7
[]
no_license
Bellinazzi31/mvp
f77f3bd2011ad42aa00a3992150da270980c5d75
814513bdc8311087380e4867336b1bd84a3ee1a6
refs/heads/master
2023-04-01T14:15:18.047210
2021-03-30T21:51:48
2021-03-30T21:51:48
353,132,263
0
0
null
null
null
null
UTF-8
Python
false
false
6,098
py
import mariadb from flask import request, Response import dbcreds import json import secrets def get(): program_id = request.args.get("programId") conn = None cursor = None excercises = None try: conn = mariadb.connect(user = dbcreds.username , port = dbcreds.port , host = dbcreds.host ...
[ "bellinazzifelipe@gmail.com" ]
bellinazzifelipe@gmail.com
61800e0e35fd39838b134dc03a188b2128beb559
387721add1f00b836f8b62b348ebcd02e4cb40c0
/Location/views.py
3a7bd8ff63bbe5ea543b04bb09e3c9f976d9be00
[]
no_license
assissh/Landing-Page
9d3f35b141ab4980782d90288c16cca9ca50569a
a96119324b2fcf9d5e4eda5dd9b2681368b9c113
refs/heads/master
2020-03-08T10:16:15.518352
2018-04-04T13:51:36
2018-04-04T13:51:36
128,068,636
0
0
null
2018-04-04T13:48:11
2018-04-04T13:48:10
null
UTF-8
Python
false
false
2,848
py
# from django.shortcuts import render from django.contrib.auth.mixins import LoginRequiredMixin # for autherising users from django.views.generic import ListView, DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView from . import models from django.urls import reverse_lazy # Creat...
[ "rashish66@gmail.com" ]
rashish66@gmail.com
90991c9b16713b45c5b717e36eebb064ee357850
921b3a67a24df947f085e93ba58833ec20f6b89e
/producer-tutorial/Lib/site-packages/faker/providers/address/hi_IN/__init__.py
264e08f7220d2c3d393bc8cad459d9ff9b4e7339
[]
no_license
jaslanm/python
e3bacd7ad0020b7e11adcb1b17dd6da3e4b2f65c
5cfa3913b89acb0b8cf79247de1b2820a8b92f3a
refs/heads/main
2023-08-30T01:53:13.752918
2021-10-23T13:24:48
2021-10-23T13:24:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,640
py
from .. import Provider as AddressProvider class Provider(AddressProvider): city_formats = ('{{city_name}}', ) street_name_formats = ( '{{first_name}} {{last_name}}', '{{last_name}}', ) street_address_formats = ('{{building_number}} {{street_name}}', ) address_formats = ('{{str...
[ "jaslanm@gmail.com" ]
jaslanm@gmail.com
873f76582d06ee71c7abd38a0f534e3e159b182a
e07f6732fa210844f1d6ef27aedd986a95e0aafa
/src/locations/views.py
935b848c158120e8b3724e8f1f4b3b7ec9dd3956
[]
no_license
jbierfeldt/WAMC
325058ca17fa6a9be09a4dacf816c8d086ff0ef9
cec9caa944730e931c74ed742c293dd4ee4e4d68
refs/heads/master
2021-04-12T05:06:25.412149
2015-05-11T14:58:29
2015-05-11T14:58:29
24,379,256
0
0
null
null
null
null
UTF-8
Python
false
false
1,361
py
from django.core import serializers from django import http from django.utils.text import slugify import json import re from django.views.generic.detail import BaseDetailView from locations.models import Location class JSONResponseMixin(object): def render_to_response(self, context): "Returns a JSON res...
[ "jbierfeldt@gmail.com" ]
jbierfeldt@gmail.com
56e3aa24312bd0459505ed4fef97735acd309444
5672737d1ff34bebfeb408426e52ed49df8be3bb
/graphgallery/attack/targeted/common/dice.py
199c77c82ff5a357cfc3632765515866b0b07504
[ "MIT" ]
permissive
sailfish009/GraphGallery
5063ee43340a6ca8da9f2d7fb3c44349e80321b2
4eec9c5136bda14809bd22584b26cc346cdb633b
refs/heads/master
2023-08-24T19:19:59.714411
2021-10-16T10:10:40
2021-10-16T10:10:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,398
py
import random import numpy as np from graphgallery.attack.targeted import Common from .rand import RAND @Common.register() class DICE(RAND): def add_edge(self, influence_nodes): u = random.choice(influence_nodes) neighbors = self.graph.adj_matrix[u].indices.tolist() potential_no...
[ "cnljt@outlook.com" ]
cnljt@outlook.com
ce68ca6a985d5ee7aaf94ae58cdf1018d16e5b87
fab14fae2b494068aa793901d76464afb965df7e
/benchmarks/f3_wrong_hints/scaling_nonlinear_software/4-19_24.py
64ccf5f9ec01d994ed630115ca20592c032bc646
[ "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
5,964
py
from typing import FrozenSet, Tuple import pysmt.typing as types from pysmt.environment import Environment as PysmtEnv from pysmt.fnode import FNode from utils import symb_to_next from hint import Hint, Location def transition_system(env: PysmtEnv) -> Tuple[FrozenSet[FNode], FNode, FNode, ...
[ "en.magnago@gmail.com" ]
en.magnago@gmail.com
193c0f5daa4e016227ac734facb2ea5dfa3bb46f
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/amYH2SMto4yZw9E6n_19.py
6ad4dab5e20ba6ba2aa12a7d60bbef1fcaf658e6
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
""" Write a function that returns `True` if the phone number is in a valid format. Valid formats are as follows: **With Country Code**| **Without Country Code** ---|--- +1-892-445-7663| 892-445-7663 1-892-445-7663| (892) 445-7663 1 (892) 445-7663| 892.567.8901 1.892.567.8901| 1/892/567/8901 1 892 567 ...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
c6ddaf30fbca2509de73210a8c1e50c08424d871
1f8fa8755e19d521caa5c4063a2d3518bd925f83
/mysql-from-python.py
5fb47cbf157a9f1b0d8ce19a54c60fab3f697e5e
[]
no_license
Artrage/pymysql
d26fc737795d83310a85bfe51c9f6ddd784c74bd
f70a6e78fea65f39cdb80b722241ff8132a9b736
refs/heads/master
2022-12-22T15:05:27.426315
2020-09-15T12:02:14
2020-09-15T12:02:14
294,419,908
0
0
null
null
null
null
UTF-8
Python
false
false
631
py
import os import pymysql # Get username from Cloud9 workspace # (modify this variable if running on another environment) username = os.getenv('C9_USER') # Connect to the database connection = pymysql.connect(host='localhost', user=username, password='', ...
[ "art.balenok@gmail.com" ]
art.balenok@gmail.com
9b0a028dc463c20bab0b5cd04f3a053169274e09
dccd1058e723b6617148824dc0243dbec4c9bd48
/codeforces/837A.py
1e2ca2f8f3888d7535474d2dcd8b5df8a1b593e2
[]
no_license
imulan/procon
488e49de3bcbab36c624290cf9e370abfc8735bf
2a86f47614fe0c34e403ffb35108705522785092
refs/heads/master
2021-05-22T09:24:19.691191
2021-01-02T14:27:13
2021-01-02T14:27:13
46,834,567
7
1
null
null
null
null
UTF-8
Python
false
false
176
py
n = int(input()) s = input() ans = 0 for w in s.split(' '): t = 0 for c in w: if ord('A')<=ord(c)<=ord('Z'): t += 1 ans = max(ans,t) print(ans)
[ "k0223.teru@gmail.com" ]
k0223.teru@gmail.com
fc6ff244f04d5c3ed78ef4d3f3f06fab0771b412
e3046f25d96311a3f642d7bd55d76a536a98d228
/src/mailme/migrations/0001_initial.py
e88809b19a66936b2fa7cae1bb7150d06da51047
[ "BSD-3-Clause" ]
permissive
mailme/mailme
6afa6585588fd423a4d8f395683cde7df359b910
5e24a1b7078c6325d8302a4547c46027d76c4acf
refs/heads/master
2023-09-01T14:06:45.225768
2018-02-21T08:40:11
2018-02-21T08:40:11
54,772,613
2
1
BSD-3-Clause
2023-09-14T09:31:44
2016-03-26T09:43:12
Python
UTF-8
Python
false
false
5,169
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-29 12:26 from __future__ import unicode_literals from django.conf import settings import django.contrib.auth.models import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion import django.utils.ti...
[ "cg@webshox.org" ]
cg@webshox.org
f0a66338703bff98e6f8ac84537690a653604c9d
a2e638cd0c124254e67963bda62c21351881ee75
/Extensions/PairOptionsPricerDealPackage/FPythonCode/StrategyDealPackageBase.py
722d1533ec65186ebd68e6d79549af90aaaa0ad1
[]
no_license
webclinic017/fa-absa-py3
1ffa98f2bd72d541166fdaac421d3c84147a4e01
5e7cc7de3495145501ca53deb9efee2233ab7e1c
refs/heads/main
2023-04-19T10:41:21.273030
2021-05-10T08:50:05
2021-05-10T08:50:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,178
py
import acm from PairOptionsDealPackageBase import PairOptionsDealPackageBase from PairOptionsUtil import QuotationLabel, CurrencyNameFromCurrency, GetSingleValue, RoundPremium from DealPackageDevKit import Object, CalcVal, Float, ParseFloat, Action from DealPackageUtil import DealPackageException from PairOptionsB2B im...
[ "81222178+nenchoabsa@users.noreply.github.com" ]
81222178+nenchoabsa@users.noreply.github.com
401636124c6bb27058ccc63c5dddf06041a4a95c
fab5f4bc66f9aad0f28387d2b4bbd20b252575ac
/append.py
a603ea159b795a4931d00f35d8e99f40abb5cddc
[]
no_license
zacwbond/submod-string-appender
64c42a658ffd7a18fa937355a1e56e743d51e20e
443ba910cd6eebe968fce34e076d4fe3d824ee4c
refs/heads/master
2021-01-10T01:43:37.797278
2016-02-17T19:20:38
2016-02-17T19:20:38
51,854,017
0
0
null
2016-02-17T20:19:27
2016-02-16T17:18:56
Python
UTF-8
Python
false
false
742
py
def append_abc(s): return 'abc_' + s def append_bcd(s): return 'bcd_' + s def append_efg(s): return 'efg_' + s def append_stinker(s): return 'stinker_' + s if __name__ == '__main__': def unit_test(f, s, expected): if f(s) != expected: return False return True tests = { 'h...
[ "zachary.bond@bigasssolutions.com" ]
zachary.bond@bigasssolutions.com
4c29029e33d273eaa754609f6e8b2b13dc4c418e
0fd50d8efb1f47c7a29054dbeb2e6079a59022cd
/utils/pvacapi/__init__.py
641c92d9bef136dfc157b4d89d77923c2ec88f0e
[ "BSD-3-Clause-Clear", "Apache-2.0" ]
permissive
malachig/pVACtools
8f6ead96660d5de3ffcc57f2224ad1fba8dd01e7
1e86411055b3da9f81f966e83578dfadc3883498
refs/heads/master
2023-03-18T05:31:39.196527
2022-01-06T19:11:58
2022-01-06T19:11:58
590,623,643
0
0
BSD-3-Clause-Clear
2023-01-18T20:41:32
2023-01-18T20:41:32
null
UTF-8
Python
false
false
60
py
__all__ = [ 'app', 'clear_cache' ] from . import *
[ "atawollam@gmail.com" ]
atawollam@gmail.com
1a9b0404f1fecb0e67e39598df067a2447ee813a
e94222c81c4692000b15670820652a545db41ae6
/supplementary_material/Learning_to_Cartoonize_supp/inference_code/inference.py
5c685f08771a5053c7440bc617b5f8fec1407a20
[]
no_license
SystemErrorWang/supplementary
7037ac7f5aff45853281f95b4702f9ca26cb94cc
ab8d143aadc87cec482879b4cbad2125156e4069
refs/heads/master
2022-03-27T21:31:37.239446
2019-11-23T02:28:42
2019-11-23T02:28:42
222,672,327
0
0
null
null
null
null
UTF-8
Python
false
false
3,300
py
''' CVPR 2020 submission, Paper ID 6791 Source code for 'Learning to Cartoonize Using White-Box Cartoon Representations' ''' import os import cv2 import numpy as np import tensorflow as tf import network import guided_filter from tqdm import tqdm def center_crop(image): h, w, c = np.shape(image) if h > w: ...
[ "secret_wang@outlook.com" ]
secret_wang@outlook.com
07039fd160d1f48fe2efec31078b006df2fbf471
732bece5927d83405b448963ffd2ed08f2ee8ef9
/tests/unit/api/validation/record_validator_tests.py
05331c44805de6b9becdb17f493fd81a6ed7cdb9
[]
no_license
thiagortz/phone-book
8b530017924a08fb225219c1eba83a7dbd97758c
02835f23c9ea22eabcab8f9db05187694ed2c6c8
refs/heads/master
2020-03-30T21:47:56.949507
2018-10-04T22:16:56
2018-10-04T22:16:56
151,642,415
0
0
null
null
null
null
UTF-8
Python
false
false
1,094
py
from unittest import TestCase from unittest.mock import patch from unittest.mock import Mock from app.api.record.validation.validator import Validator from app.utils.formats import PHONE_NUMBER_REX class RecordValidadorTests(TestCase): def setUp(self): self.validador = Validator() @patch("app.api.re...
[ "thiago-dias@outlook.com" ]
thiago-dias@outlook.com
c1e2b450471c90733728dcdbe3046d7c624eac93
be9405b109fd1786249f028276a19f2c53f80273
/ex18.py
53333959e593bb95588c9b75f3706c01e2cd973d
[]
no_license
dongzeyuan/LPTHW
76209d917954bc88b6fb30094cc922e6f99e8e44
66fa6e5b5caad423cf984bf420cb083aa4940e1b
refs/heads/master
2021-01-21T10:19:24.944628
2017-03-04T13:24:04
2017-03-04T13:24:04
83,405,359
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
def print_two(*args): arg1, arg2 = args print("arg1: %r, arg2: %r" % (arg1, arg2)) def print_two_again(arg1, arg2): print('arg1: %r, arg2: %r' % (arg1, arg2)) def print_one(arg1): print("arg1: %r" % arg1) def print_none(): print("I got nothing.") print_two("slash", "dong") print_one("slash")...
[ "dongfujing88@gmail.com" ]
dongfujing88@gmail.com
5e09919524ddd06ec18898f2f208eb83de797bc1
14aebe7f5f7b83637924f88df41cb5b8b813bc30
/msgvis/apps/experiment/management/commands/add_controlled_experiment.py
fdc128e05e6b390c32499bd14f0084f655060b0d
[ "MIT" ]
permissive
hds-lab/coding-ml
1ab5a4caceabb9864f4abf4ad90a771e5640ebd4
0c4d1aab92e7192ac11f61f6b58ebf2455cc8c9e
refs/heads/master
2020-12-10T05:44:58.740299
2017-02-10T01:36:37
2017-02-10T01:36:37
47,863,198
1
1
null
2016-12-11T23:43:25
2015-12-12T03:52:36
JavaScript
UTF-8
Python
false
false
2,805
py
from django.core.management.base import BaseCommand, make_option, CommandError import msgvis.apps.experiment.models as experiment_models from msgvis.apps.base.utils import check_or_create_dir from django.db import transaction import logging logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=...
[ "nanchen.chen@gmail.com" ]
nanchen.chen@gmail.com
0a970ae7098ed4db96e7a3dfb9f6da2a4c8da81d
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Foursquare/Users/CheckinsByUser.py
afc8767ec80d8e6b065d8be4e153e455acb86af8
[]
no_license
dattasaurabh82/Final_thesis
440fb5e29ebc28dd64fe59ecd87f01494ed6d4e5
8edaea62f5987db026adfffb6b52b59b119f6375
refs/heads/master
2021-01-20T22:25:48.999100
2014-10-14T18:58:00
2014-10-14T18:58:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,046
py
# -*- coding: utf-8 -*- ############################################################################### # # CheckinsByUser # Retrieve a list of check-ins for an authenticated user. # # Python version 2.6 # ############################################################################### from temboo.core.choreography im...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
56a182b4418a7cec1d9e071eadaa0bc1e801a723
e0e6ef2f917a84eca1683db5d590e670a99219ff
/parser/generated/python/arrow.py
ebd03e80bcebc67d66d171b84f8a9c1e8b61729f
[]
no_license
mabudrais/LCLBinding
57bf4ee255493e7d492f04f21e67544edebe70a9
10adee21f65ee0cf5ff533adfc3a402b389442cf
refs/heads/master
2020-04-10T13:20:38.788353
2018-12-22T14:36:07
2018-12-22T14:36:07
161,047,806
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
from Graphics import * from Controls import * from Classes import * from MainPasObject import * import LCLBindingUtil #import end
[ "m.abudrais@yahoo.com" ]
m.abudrais@yahoo.com
6f0f458414950830519af00253a3f12963a9376e
f3e18e8e7e47ec38cc637d96bed55610f7cfd5f0
/smart_card.py
e78861e7da8948a238d6778fa381f08f080a3cdd
[ "MIT" ]
permissive
KVR-ADITYA/IOT-3-level_auth
195a7d575f3c076fa3a920f9fa910c3b2c38527d
0bce66a96fc9834137b4be67ab218828c6478103
refs/heads/main
2023-03-14T09:39:41.759190
2021-02-19T11:02:29
2021-02-19T11:02:29
340,341,687
0
0
null
null
null
null
UTF-8
Python
false
false
14
py
import secrets
[ "noreply@github.com" ]
KVR-ADITYA.noreply@github.com
4a11547d58aecc997ef191b31a60bc45d35cfd4a
456a5bfc9a19fc6a66621f6646fe4d415669de40
/seal_test.py
8b9c9409c268037dbf992181c75515f54d9dcec2
[]
no_license
11uc/WholeCellPatch
d7bf31df4c97608b70c257297e2d163a30eb585d
96e184aa95a42b2a5ad80c2323379177112204c2
refs/heads/master
2020-04-21T22:44:35.756526
2019-02-09T22:58:54
2019-02-09T22:58:54
169,923,090
0
1
null
null
null
null
UTF-8
Python
false
false
14,289
py
#!/usr/local/bin/python3 import math import re import os import numpy as np import pandas as pd from scipy.optimize import curve_fit import matplotlib.pyplot as plt import pyqtgraph as pg import joblib from igor import binarywave from process import DataPrep, SignalProc import plot import util class SealTest(DataPrep...
[ "liuchenghao44@gmail.com" ]
liuchenghao44@gmail.com
b203df8ac8d4069daeb7d969a706e5ce937e6732
7c82a7a1537a03e9773cf5dee200999f045b323a
/4.1.3 Abstract Data Types/queue.py
735a51fd8f34362d50b31c3b021487813614bd03
[]
no_license
danielgunn/A-Level-CS
fd21038153131a41037fdc83a4ec474bf3c0e927
c9e214f3d8494c19ecf21b4a657e3b710dc214ea
refs/heads/master
2023-03-19T11:03:06.884200
2021-03-12T03:05:57
2021-03-12T03:05:57
103,843,064
3
1
null
null
null
null
UTF-8
Python
false
false
385
py
from list import List class Queue: l = List() def enqueue(self, value): self.l.add(value) def dequeue(self): if self.l.is_empty(): print("Error: dequeue attempt on empty queue") return None else: v = self.l.head.data self.l.remove(0)...
[ "4oESUv0U" ]
4oESUv0U
c2c535523afc8cbd95e7a52e74520c02f2fbc22c
122299087e4b1e83f8b18fa8d2aa914b19091315
/tree_bfs/boundary_binary_tree.py
d9e17312b322555fefd99fa22dbd47416b653ae2
[]
no_license
federicociner/leetcode
522254c59d15a3145a81905d9bb8889736d68ad2
5595ef27cf88a93fa639155180d4b3305438fa2c
refs/heads/master
2020-11-26T02:37:58.431440
2020-07-08T23:45:23
2020-07-08T23:45:23
228,939,486
0
0
null
null
null
null
UTF-8
Python
false
false
4,486
py
"""Given a binary tree, return the values of its boundary in anti-clockwise direction starting from root. Boundary includes left boundary, leaves, and right boundary in order without duplicate nodes. (The values of the nodes may still be duplicates.) Left boundary is defined as the path from root to the left-most nod...
[ "federico.ciner1@cba.com.au" ]
federico.ciner1@cba.com.au
3963154da5f61758bf4e8a20d537670d2f773f88
32712c478ff9dff44de085cb50a1302bfc2eba67
/badges/admin.py
2de5a06f7d80c1a5d79728e5e31948ebe2e57d9b
[ "MIT" ]
permissive
vas3k/vas3k.club
158af17c329fe693178ca1bce36466922604df3b
b3ff2fd95ef1d6c593c57d3bcd501240f2705fbb
refs/heads/master
2023-09-03T07:10:10.859004
2023-09-01T09:08:32
2023-09-01T09:08:32
254,190,180
697
326
MIT
2023-09-04T09:02:12
2020-04-08T20:11:44
Python
UTF-8
Python
false
false
635
py
from django.contrib import admin from badges.models import Badge, UserBadge class BadgesAdmin(admin.ModelAdmin): list_display = ( "code", "title", "description", "price_days", "created_at", "is_visible", ) ordering = ("-created_at",) search_fields = ["t...
[ "me@vas3k.ru" ]
me@vas3k.ru
cfa36cbaa10d6086ca5294bb9709785974e89d6f
05786ed35013dbc5c19f89c76b4bc4f820922536
/quizzler-app-start/quiz_brain.py
cdbaf36ea97413294322b2663584daf40e1e3883
[]
no_license
nope2jope/quiz_this
dc6888f8527d759a5efd7943d198011c3955b18b
756ed9de4a2ba83c07ecc72764bbfe1c039bfe4c
refs/heads/main
2023-03-01T03:31:50.278117
2021-02-03T23:37:11
2021-02-03T23:37:11
335,784,543
0
0
null
null
null
null
UTF-8
Python
false
false
877
py
import html class QuizBrain: def __init__(self, q_list): self.question_number = 0 self.score = 0 self.question_list = q_list self.current_question = None def still_has_questions(self): return self.question_number < len(self.question_list) def next_question(self)...
[ "noreply@github.com" ]
nope2jope.noreply@github.com
ae426f722f6003fbb33283a0eff3cd2e112d90a5
38d1ef01184bbdb3898b8cf495eeee48eaa1a30a
/koopman_modes_rollout_helper.py
74e2f5017ccef64bcd860f6f4a057a8b58b141c7
[]
no_license
LenCewa/MasterThesis
39c86c8ab3c752fedc445fea14368bbd74ca8f3a
b2d4d67b7ae2f363dd627ecb4355de1ae6ef04a3
refs/heads/master
2020-06-16T15:47:29.971151
2020-04-15T09:29:43
2020-04-15T09:29:43
195,626,164
0
1
null
null
null
null
UTF-8
Python
false
false
4,627
py
from Fourier import dFourier, ddFourier from evaluate_parameter_koopman import * import matplotlib.pyplot as plt # Newtons Optimization Method dN=N ddN=N d_fourier = dFourier(1, 1, 0.001, N, 450, [], []) dd_fourier = ddFourier(1, 1, 0.001, N, 450, [], []) def set_dfourier_coefficients(c, N): for i in range(N + 1)...
[ "len13@hotmail.de" ]
len13@hotmail.de
ed6444d14e4a48cf3c0e7007bcd0b884296aabd8
809b2d40a02e85e3d5a75ae16f2a776e2918d125
/lecture2.py
6276d8c93198846c05998305ce41cd08c2927ca5
[]
no_license
ethanmatthews/Matthews-Assignment2
25e7441f15bd6eb4a558ab7a65cc1c0648dbe4b1
8e089c9a41ac5a65bc8170fedc0fa15971bf062e
refs/heads/master
2022-12-17T07:42:20.515983
2020-09-21T04:19:34
2020-09-21T04:19:34
295,560,966
0
0
null
null
null
null
UTF-8
Python
false
false
3,729
py
# # This is a human readable message # ''' # This is also a # human readable message # ''' # # print("This statement will not print") # ''' # print("These statements") # print("will not print") # ''' # # Display two strings on separate lines # print("Marc") # print("Hauschildt") # # Display two print statements o...
[ "ethan-matthews@student.kirkwood.edu" ]
ethan-matthews@student.kirkwood.edu
9d693845b36a0a9f1657a290629bbc8933bb867f
751a8a16290fb709deaca4d52226b48f587f3cdd
/check.spec
0060f829e2d5a9207e836540185e985340964b3a
[]
no_license
aibotez/ip
0b8069d413d45752491b3e7452b37fde080c6c5f
3ee48c030e16f0c9f5425e82c91ad7e528d25e43
refs/heads/master
2020-04-24T22:24:30.591960
2019-02-24T07:57:39
2019-02-24T07:57:39
172,311,038
0
0
null
null
null
null
WINDOWS-1252
Python
false
false
845
spec
# -*- mode: python -*- block_cipher = None a = Analysis(['check.py'], pathex=['G:\\python\\ÏîÄ¿\\´úÀí'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], win_no_pr...
[ "2290227486@qq.com" ]
2290227486@qq.com
c8cd0530837fc1343888c978be7360120bd9cb36
b20ded7b01710508b09496a657a21e626818769c
/batch_crawl_of_key_words.py
c3c1d67428e554343096cdc13330bed14b77a113
[]
no_license
cash2one/cwq-crawler
b991876a08c08030e5e71caa60fe5291c39747c4
301ef9aa8f6551a9fb31a3957a1d4e5353a7bc0b
refs/heads/master
2021-01-22T16:04:56.680827
2016-05-30T03:30:33
2016-05-30T03:30:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,924
py
#-*- coding: utf-8 -*- """ 读取excel, 逐次抓取每个关键词的一定数目的top商品 每个关键词的top商品对应一个文件, 文件名以关键词进行区分 """ import xlrd import xlwt import os import re import httplib2 from pyquery import PyQuery from utils import extractNum default_prefix = "C:/users/chenweiqiang/Desktop/" keys = [] def get_keys(filename, prefix...
[ "chenweiqiang@lightinthebox.com" ]
chenweiqiang@lightinthebox.com
c3d983f043466d2017b451a515eb6e63f8395cdf
0e1fbfa23989dd5679d272b12c1e3d2080f2feb2
/mmcv/utils/ext_loader.py
2a3c223838126e146160612724bf73f0b60f0d20
[ "Apache-2.0" ]
permissive
LuGuo1920/mmcv
dae1003f63ce23d5cfc58b27c0c620a61cc5323e
76d9bf1efb052785fea95cb157288a102976a49e
refs/heads/master
2023-05-30T08:11:36.148373
2021-06-28T09:31:36
2021-06-28T09:31:36
381,047,895
1
0
Apache-2.0
2021-06-28T13:49:28
2021-06-28T13:49:27
null
UTF-8
Python
false
false
1,924
py
import importlib import os import pkgutil import warnings from collections import namedtuple import torch if torch.__version__ != 'parrots': def load_ext(name, funcs): ext = importlib.import_module('mmcv.' + name) for fun in funcs: assert hasattr(ext, fun), f'{fun} miss in module {nam...
[ "noreply@github.com" ]
LuGuo1920.noreply@github.com
1c54275b907380b5fa2c52e4721bd84443bb77a7
1b5c808e51cd6cd945748a14d735f72841871575
/scripts/ksap_exploit.py
51970dcc196f50fa2f50a60edb51fb230c1a7426
[]
no_license
zlmone/SecSysEngCtfSS14
1ba0c4f9f121b5a694dfd718506378358ab9148e
e22721a8a75de18f7d112449f2151ee144f64893
refs/heads/master
2021-05-27T19:37:07.221611
2014-06-04T13:38:42
2014-06-04T13:38:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
796
py
#!/usr/bin/env python import sys import math import base64 import codecs import socket import sys import Crypto import hashlib from Crypto.Cipher import DES3 from Crypto import Random from Crypto.Util import Counter from Crypto.Hash import * from os.path import expanduser from os import listdir import subprocess from o...
[ "zoltan.krekus@opengroupware.ch" ]
zoltan.krekus@opengroupware.ch
9b1c89433e328bf11272cbd13947ef07e5c11770
7075436a4f848f04c41fff05348318e2791086b6
/us-power-dash-app/pages/index.py
77bb1d2a8f43e00e10bb6e79746ba8320624fe16
[]
no_license
Tclack88/Renewable-Energy
9b197458134725396cc87c9af3f47109494a36e9
3d9913833a98a365b90b2219883e1ad96ec37527
refs/heads/master
2023-05-25T22:17:33.102988
2022-07-05T13:44:59
2022-07-05T13:44:59
215,392,260
2
1
null
2023-05-01T23:18:47
2019-10-15T20:38:28
Jupyter Notebook
UTF-8
Python
false
false
2,147
py
import dash import dash_bootstrap_components as dbc import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output import plotly.express as px import pandas as pd import numpy as np from app import app """ https://dash-bootstrap-components.opensource.faculty.ai/l/com...
[ "tclack@aol.com" ]
tclack@aol.com
2c3636239c359b654bce6774dea039342f4615c1
0b2d21d87615e648068bc4eceee17575dd1bbf1c
/weigthed_k_nearest_neighbors.py
122d236ccd0b89a47a15e28b2364174356c736e4
[]
no_license
ronigatt/ML-HW1
bac021854176f881af31492111a2bc4cc8999152
54e5b3cc1a2ce52cdfbce5a91fbd90b25d63a47f
refs/heads/master
2023-01-19T14:56:17.984664
2020-11-21T16:37:06
2020-11-21T16:37:06
306,458,685
0
0
null
null
null
null
UTF-8
Python
false
false
1,747
py
from typing import Tuple import numpy as np class WeightedKNearestNeighbors: """ Simple implementation of a k-NN estimator. """ def __init__(self, n_neighbors: int = 1) -> None: self.k = n_neighbors self.X_train = None self.y_train = None def fit(self, X_train: np.ndarray,...
[ "ronigattegno@mail.tau.ac.il" ]
ronigattegno@mail.tau.ac.il
15a2af635847f045d978ea39e5bd6d3943831c81
9c3b41c6855909318b12b5c0c7e4b914771bd811
/backend/DIP/test.py
4adb2eed2c3bcb4dd0cf3934c6dd6ed567ab40b8
[]
no_license
LeeJAJA/DIP_Final_Project
85072972a488c5ec8a9df7ffc5a2e252ddb5b922
291d76bdf426394b95c6f3321f42064cc5dda062
refs/heads/main
2023-02-21T17:01:27.251721
2021-01-24T18:21:46
2021-01-24T18:21:46
325,323,851
4
0
null
null
null
null
UTF-8
Python
false
false
4,394
py
import sys import os import warnings from model import COVNet_CSR from utils import load_net import pandas as pd import torch import torch.nn as nn import torch.nn.functional as F from torch.autograd import Variable from torchvision import datasets, transforms from sklearn.metrics import roc_auc_score from sklearn.me...
[ "v-jiajieli@microsoft.com" ]
v-jiajieli@microsoft.com
558f806ef3cf4da4ecd19def816a9ecbee9c5b2d
a0f55e31c92c31832fbe074038f07b8f8726425b
/Python/Python编程实践gwpy2-code/code/modules/temperature.py
3b2efc93b6953585f76955309183412c19d238db
[ "MIT" ]
permissive
jjc521/E-book-Collection
7533717250395a8b81163564eef821e66bae5202
b18bf6630bf99b7bf19b4cc4450b67887f618d31
refs/heads/master
2023-03-15T23:48:49.018347
2019-08-30T07:26:01
2019-08-30T07:26:01
206,090,622
2
2
null
null
null
null
UTF-8
Python
false
false
507
py
def convert_to_celsius(fahrenheit): """ (number) -> float Return the number of Celsius degrees equivalent to fahrenheit degrees. >>> convert_to_celsius(75) 23.88888888888889 """ return (fahrenheit - 32.0) * 5.0 / 9.0 def above_freezing(celsius): """ (number) -> b...
[ "907097904@qq.com" ]
907097904@qq.com
c546794f818cd7dad078231721e1a58b6fd382fa
607278f02cfbd1104b06385f064d85670b6d8794
/t1.py
91bfd8f44b69bcca999428a6a4d3571cb207a619
[]
no_license
Dvk2002/Algo
445baaa03409ce7e16ddddbd8d0c0ada41f564bf
4444c8603424617565d9e9fe90eec238f01b93d8
refs/heads/master
2020-12-07T02:03:06.827289
2020-07-01T13:48:30
2020-07-01T13:48:30
232,608,626
0
0
null
null
null
null
UTF-8
Python
false
false
367
py
#1. Выполнить логические побитовые операции «И», «ИЛИ» и др. над числами 5 и 6. # Выполнить над числом 5 побитовый сдвиг вправо и влево на два знака. a = 5 b = 6 print(bin(a)) print(a & b) print(a | b) print(a ^ b) print(a << 2) print(a >> 2)
[ "noreply@github.com" ]
Dvk2002.noreply@github.com
b3f013300f5bacd1ee5510b6238b8cec1feacf9d
b810066cbbd9fa3d76839df58cb232f7c06a2adf
/graph/kcores.py
f9024cac72b11d9923d22cafbbb01540299cdcb7
[]
no_license
VaishnaviDhulipalla2902/Data-Structures-and-Algorithms
2cb8a00047fc3636c492799324595f982fbe12d1
52a6d65ffef3c3cbfc90a05d90a3c5493c1dc2c8
refs/heads/master
2020-04-08T16:53:11.003330
2018-11-28T17:36:17
2018-11-28T17:36:17
159,540,148
0
0
null
null
null
null
UTF-8
Python
false
false
3,346
py
# program to find K-Cores of a graph from collections import defaultdict # This class represents a undirected graph using adjacency # list representation class Graph: def __init__(self,vertices): self.V= vertices #No. of vertices # default dictionary to store graph self.graph= defaultd...
[ "noreply@github.com" ]
VaishnaviDhulipalla2902.noreply@github.com
740d5a837b4cf6ccf1dce748d6dbf6261231c33f
4cf340a94809ce51b8cd29896c27cb1b34d746e3
/venvv/Scripts/pip3-script.py
05100c20d341092af86a93edd6cfb76e66019b82
[]
no_license
cuongpianna/automation_test
ca9798ef2a3ef65f58dd5597240c5e094ca6213c
570ddaa1d8be65f69bd987a189622a674f37c37a
refs/heads/master
2020-04-08T19:22:55.486396
2018-11-30T10:28:24
2018-11-30T10:28:24
159,652,814
0
0
null
null
null
null
UTF-8
Python
false
false
422
py
#!C:\Users\admin\Desktop\lam\autotest\letskodeit\venvv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', ...
[ "cuongpianna1996@gmail.com" ]
cuongpianna1996@gmail.com
5625dc31686635f15a536d27320a06ce760647d8
2146cd1c3c00d9cb4f09c7b2a606cbf321cf1ede
/Temporizador_LCD/main.py
b42040b858d719954b6eff3c6105f1b4fb768a00
[]
no_license
marioferreyra/Proyectos_PyQt4
269aca2b12687424c6f046b6546aa8e5fb20a9bb
e79759462de1e170b785306118315284002c5ddc
refs/heads/master
2020-06-13T19:59:40.027452
2019-07-02T02:27:00
2019-07-02T02:27:00
194,772,943
0
0
null
null
null
null
UTF-8
Python
false
false
3,206
py
# -*- coding: utf-8 -*- from PyQt4.QtGui import * from PyQt4.QtCore import * from PyQt4 import uic ONE_SECOND = 1000 # 1000 ms = 1 s class Temporizador(QWidget): """ Ventana de un temporizador, con opciones para setear el tiempo, iniciar, pausar y resetear. """ def __init__(self): QWidget...
[ "ferreyramario7@gmail.com" ]
ferreyramario7@gmail.com
06c51227a9261b7a9b1f911e5ff2ebd76daea836
f7d0c32b8d29dcff788d439c2b7051734afbbfc6
/meiduo1/apps/user1/crons.py
c3a3f835bb36096554b8b4821ab26a9b54fa8c6b
[ "MIT" ]
permissive
woobrain/nginx-uwsgi-web
dcf5159ba3f3332108c2d351ef3dac0cc504ade7
5b3ca1fba8205c2c0a2b91d951f812f1c30e12ae
refs/heads/master
2022-12-22T21:08:00.758841
2019-11-13T12:31:20
2019-11-13T12:31:20
221,447,696
0
0
MIT
2022-12-11T19:51:54
2019-11-13T11:52:19
JavaScript
UTF-8
Python
false
false
1,091
py
import os import time from django.conf import settings from django.template import loader from apps.user1.models import ContentCategory from apps.user1.utils import get_categories def generate_static_index_html(): """ 生成静态的主页html文件 """ print('%s: generate_static_index_html' % time.ctime()) # 获取商品频...
[ "xwp_fullstack@163.com" ]
xwp_fullstack@163.com
d962fc5032ad40cdc67297acaa22af482ab70d52
ba875d5f71e9d0339a00fc57a26ace159df41079
/server2/urls.py
5fa5390ef5988a449c220a7c349b3e28dd6b5961
[]
no_license
Ruiyang-061X/ruiyang-website
b3f6dc33f45e3e5c22697f64067525888027c91d
0037760438f1cc5ed836a25e1776c13d48a9396d
refs/heads/master
2020-09-24T21:01:06.413638
2019-12-04T10:58:36
2019-12-04T10:58:36
225,843,077
1
0
null
null
null
null
UTF-8
Python
false
false
825
py
"""server2 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "ruiyang@Ubuntu18.04" ]
ruiyang@Ubuntu18.04