blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
076c28d36d4fdbc46a0f41b6e08331ee0968c567
6c4681f88b53ba0b5b89ad663475e31b94361dc6
/python/helloworld.py
dc87151c7363c8cd6b353687007920150cd458fb
[]
no_license
COBETCKNN17/coding-dojo
2883dc3069eeccb6989d74b585f9d3cb4f2d8e35
f66226c29f0a27f22abec88aef239c92d0a8ce0a
refs/heads/master
2020-04-04T11:39:43.757835
2018-07-18T20:13:41
2018-07-18T20:13:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
print "Hello World!" x = "Hello Python!" print x # This is a comment. ''' So is this. But this one can be on two lines. ''' name = "Nat" print "My name is", name #This is string interpolation first_name = "Nat" last_name = "Rosser" print "My name is {} {}".format(first_name, last_name) print last_name.upper() print "He...
[ "nuku@milkgoblin.com" ]
nuku@milkgoblin.com
06ca05c02915d12a98a3902628b4ed77ac8cb867
8ab77b0dfd35fc3d0a7965cfe5a5ab77ef2a938c
/c_type/migrations/0001_initial.py
e9a1218a3b8141191a2665ff3e86930c9c6e0e78
[]
no_license
geonho0116/graduationprj
1e367e0fe884816d5a6446730afc21b5ceb2d4ee
0c807f3ba144f27799510b93ae1fef236ebf1db4
refs/heads/master
2023-01-30T08:31:13.326384
2020-12-16T15:04:37
2020-12-16T15:04:37
302,541,116
0
0
null
null
null
null
UTF-8
Python
false
false
906
py
# Generated by Django 3.1.1 on 2020-10-07 11:21 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='C_type', fields=[ ('id', models.AutoField(a...
[ "geonho0116@naver.com" ]
geonho0116@naver.com
53ac7b62605e969730b2c095eb5ff57454f99867
1e0a7f89557a891dea891eb386daf9c94e09842c
/myplane.py
4bf415102056c7dba5c4ceb3534a52b37465a978
[]
no_license
czh9527/game-plane
8811387ae21c783f568e681244facc55fb760a70
701266763235c5dfd3340054cbb6853271c3081f
refs/heads/master
2022-09-29T08:30:41.166058
2020-06-05T07:49:04
2020-06-05T07:49:04
269,563,549
0
0
null
null
null
null
UTF-8
Python
false
false
1,927
py
import pygame class MyPlane(pygame.sprite.Sprite): def __init__(self,bg_size): pygame.sprite.Sprite.__init__(self) self.image1 = pygame.image.load('images/me1.png').convert_alpha() self.image2 = pygame.image.load('images/me2.png').convert_alpha() self.destroy_images = [] sel...
[ "62408791+czh9527@users.noreply.github.com" ]
62408791+czh9527@users.noreply.github.com
1302b7c7b0cd3888da2854559e4531fb5df7015e
d8eb06f41bc9ee0c076e4eb07fb303789858a724
/jobs/FreeBSD-head-riscv64-test/test-in-qemu.py
5e0cbe5fd851bbb795bc100d971f9dca6b01f2fd
[]
no_license
yasinai/freebsd-ci
7c3dce254e8facfe4bfac778dc1992d6d86b8260
7dba537a7afdf3319b0c64aca2c35b0284b66617
refs/heads/master
2020-09-13T10:09:58.254240
2019-11-17T03:15:02
2019-11-17T03:15:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
515
py
#!/usr/local/bin/python import re import sys import pexpect def forsend(child, s): for c in s: child.send(c) child.sendline() cmd = "qemu-system-riscv64 -machine virt -bios none -nographic -smp 2 -m 2048M -kernel ./bbl" child = pexpect.spawn(cmd) child.logfile = sys.stdout child.delaybeforesend = 0....
[ "lwhsu@lwhsu.org" ]
lwhsu@lwhsu.org
020d2021211e9bb453dba29e65cb62fe89f6ee96
84e0c6c2538cc8cc818f9fa4769e162f50aa9416
/todos/models.py
48ea0704aecd30ec9ac07a46953b55d8c1e371a2
[]
no_license
buggydev1/todo_remix
5fd61186e95e748132491cc2230a60b7a31d0237
ab43202dcd794487d5b9249746c4a49f3d0c387c
refs/heads/main
2023-04-09T13:10:02.658077
2021-04-21T16:34:25
2021-04-21T16:34:25
360,206,564
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
from django.db import models class Todo(models.Model): subject = models.CharField(max_length=100) details = models.CharField(max_length=100)
[ "mrtyreeharper@gmail.com" ]
mrtyreeharper@gmail.com
96096db134839a5c3e8488d27d5332c03b835942
cad2b9eec3aa9c31cfb26f6716d82053bd4ce38c
/collect/migrations/0006_auto_20190930_1932.py
3991827f41770f1059077d715b97d9dd5d35249b
[]
no_license
sposs/garden_monitor
96b0e3e6bb44b36b78bca41396473e1cd309793b
f0a4857ab442e875a1f48ccc0d4336c890b611a5
refs/heads/master
2021-08-12T06:48:16.639093
2021-08-08T16:41:56
2021-08-08T16:41:56
206,977,165
0
0
null
null
null
null
UTF-8
Python
false
false
801
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.24 on 2019-09-30 19:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('collect', '0005_relay'), ] operations = [ migrations.AddField( ...
[ "stephposs@gmail.com" ]
stephposs@gmail.com
60460a5972097ca1438fbb6423db8cfc0a670694
a3ec6241200d1c78703cbccb83ad3e66964fabc1
/cns/playfair/ctk.py
233b6f25d0309254efcce96f9ce3eb16e681ee29
[]
no_license
virtual457/Cryptography-with-GUI-tkinter-
bf14339236645c73905e88cb403664c67153d27d
347299c207eee6008f993db2b6446acd3d589898
refs/heads/master
2020-05-30T18:21:53.531704
2019-06-02T21:14:14
2019-06-02T21:14:14
189,895,724
1
0
null
null
null
null
UTF-8
Python
false
false
650
py
from Tkinter import * from playfair import * enc=[] def show(): enc=encrypt(e1.get(),e2.get()) e="".join(map(str,enc)) blank.insert(0,e) master=Tk() master.title("playfair encryptor") First=Label(master,text="your name").grid(row=0,column=0) Last=Label(master,text="message to be passed").grid(row=1,column=0) answer=...
[ "noreply@github.com" ]
noreply@github.com
be09c9ac292859b63a1b329e3e1eaa33e9188dc9
2d5c6a4ceab95de6ad7b070df2a16a51809f3c14
/view/Ui_LeftNavigation.py
22fe95a452ea05e1e7b02f2f56cde9c8c524b4ea
[]
no_license
cxinfinity/herbal
dcfa06e3574d5818e963eee7027bf47a77d903c5
e0fd7dca3ed99125d94c207de0b1225b68102b2f
refs/heads/main
2023-06-08T02:13:52.536002
2021-06-25T09:20:05
2021-06-25T09:20:05
380,142,499
0
0
null
null
null
null
UTF-8
Python
false
false
4,548
py
from PyQt5 import QtWidgets from PyQt5.QtCore import QSize from PyQt5.QtWidgets import * class UiLeftNavigation(QScrollArea): itemHeight = 45 style = ''' QWidget#leftWidget{ background:gray; border-top:1px solid white; border-bottom:1px solid white; ...
[ "noreply@github.com" ]
noreply@github.com
7c5bf2a5b042990589964dd4060b15dc81af3a98
5d2ccfaabd2361eb71d482d4b04f626f5225ba50
/faces.py
8d56c79b3ae310bf648a2d1e9c019e86fd44e232
[]
no_license
namrata-joshi/FaceReader
190dbc3bf31822785553f50ad9c72ec566d963a4
8916d0b4945694b953d5d2c22a62000d5076aef7
refs/heads/master
2022-11-15T17:54:19.645913
2020-07-12T11:18:16
2020-07-12T11:18:16
273,436,711
0
0
null
null
null
null
UTF-8
Python
false
false
1,759
py
import numpy as np import cv2 import pickle face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_alt2.xml') recognizer = cv2.face.LBPHFaceRecognizer_create() recognizer.read("trainer.yml") labels = {"person_name":1} with open("label.pickle", "rb") as f: og_labels = pickle.load(f) labels = {v:k for k...
[ "noreply@github.com" ]
noreply@github.com
12fd0800b7aab86b61e3bfbe4d9e56b0f3cd1aa1
b3eef18b0791694413352d8d11e7d087183aa89b
/new_tifs.py
038f08371b96ef879e8a9667d809ff21c33e073c
[]
no_license
nemac/raster-helpers
f1970f8dfc9d4e031ada86b82338d0bf5498819a
e50c7612899201db867145636bf9b6590bc7a324
refs/heads/master
2022-01-20T21:03:15.461554
2022-01-06T00:34:46
2022-01-06T00:34:46
200,237,517
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
#!/usr/bin/env python3 ''' Recursively walk a directory and do the following: - Remove .tfw and .wkt files - Use gdal_calc.py to run an identity function (A*1) on each .img or .tif file. This has the effect of removing built-in attribute tables and creating a "fresh" file to work with. Sometimes this takes an ext...
[ "mgeiger@unca.edu" ]
mgeiger@unca.edu
c7ddbd7d4315d8d9669864c986b8e974724f7610
a746b9f258c55fbd975d910bc951489e4245ad95
/postproject/urls.py
9a989fa3a69caaef07038eed41e899267c224419
[]
no_license
ahnhyojin/heroku
5b14f1d633765fd07ab55264970725cadfff10ec
ba0c16852899d79bc107c299e0b5dd94136107e7
refs/heads/master
2023-05-05T11:02:50.311183
2019-07-09T12:48:16
2019-07-09T12:48:16
195,993,465
0
0
null
2023-04-21T20:35:23
2019-07-09T11:16:01
Python
UTF-8
Python
false
false
1,195
py
"""postproject 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') Class-b...
[ "ahj2079@likelion.com" ]
ahj2079@likelion.com
841c6046c5b6b37c26338a127242921eb0a5ea05
2bbc7ba3ecdb54feffa446ed50297432f249e3dc
/tests/test_addons/test_addon_mtext.py
3aec15c652a5c501ee0432a626c758f40b8ebcd8
[ "MIT" ]
permissive
stephenthoma/ezdxf
16f7b06e43bad55ccf96387e22b68fd624a5d8fb
5cb1fb0298707d69d1b039858523b97990d85fba
refs/heads/master
2020-04-04T11:59:42.480375
2018-04-02T05:01:49
2018-04-02T05:01:49
155,910,581
0
0
NOASSERTION
2018-11-02T19:07:21
2018-11-02T19:07:21
null
UTF-8
Python
false
false
4,379
py
# Created: 09.03.2010, 2018 adapted for ezdxf # Copyright (C) 2010-2018, Manfred Moitzi # License: MIT License from __future__ import unicode_literals __author__ = "mozman <me@mozman.at>" import pytest import ezdxf from ezdxf.addons import MText @pytest.fixture(scope='module') def dxf(): return ezdxf.new('R12') ...
[ "mozman@gmx.at" ]
mozman@gmx.at
d8bc5e3e60b3bef9d21c889036bde600bff5720e
e8c377a48c4eb012f23374dd33df3cfe8eb476fa
/graph_util/onnx_graph.py
f8bb4269720c36a01f0d249b1b19bc3263c2937e
[ "Apache-2.0" ]
permissive
christian-krieg/mmdnn-graph-utils
9b18d6c1dd42e48bfe16fc5639050b9b74631db0
811cf6e040f7649a276eda1357c45b98d339fd65
refs/heads/master
2023-04-14T01:28:36.035511
2021-04-28T14:55:58
2021-04-28T14:55:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
27,802
py
"""Annette ONNX Graph Utils This Module contains the Graph Utilities to generate Annette readable graphs from ONNX or read directly from json. Code based on https://github.com/waltYeh/onnx2keras """ from __future__ import print_function import json import logging import sys from onnx import numpy_helper import onnx ...
[ "matthias.wess@gmail.com" ]
matthias.wess@gmail.com
2ec88b0eccad1c72aacb94e9cdf61100baff5083
8da150feb2c2d645dc87bccdf10dd12e2eed3dc5
/Medium Topic/src/20-10-22-220-contains-duplicate-iii.py
03f2e897d9d9adbb7c36f02856c53e3128d643c2
[]
no_license
JiahangGu/leetcode
41f7f012dfdab449e620b5e96129a4189ef58d2e
217e3c283dd873f7d1f76b81de6452ffcc957255
refs/heads/master
2023-01-08T19:43:34.477930
2020-11-03T12:43:20
2020-11-03T12:43:20
277,218,320
1
0
null
null
null
null
UTF-8
Python
false
false
2,297
py
#!/usr/bin/env python # encoding: utf-8 # @Time:2020/10/20 15:19 # @Author:JiahangGu from typing import List class Solution: def containsNearbyAlmostDuplicate(self, nums: List[int], k: int, t: int) -> bool: """ 首先可以使用暴力解法,对于每个元素查询前面的k个元素是否差值小于t的数字。时间复杂度为O(nmin(n,k))。 但是会超时,因为每一个元素查询前k个是重复的...
[ "gujiahang@bupt.edu.cn" ]
gujiahang@bupt.edu.cn
a013c723b7d2ce8a1ae36e563c4681897acd9827
dfba5ff70deb65ade501f9a4c9bb3b9d5b9ef118
/Curso/modulosdePython.py
d062052c2e025797e8e8e1f664b8b63cb71593eb
[]
no_license
Miguel009/Python
5573c4bdb941f9e938c127809bbc1b5b4379b209
74e601ad470f07b3224744f589997844a5d2bc5c
refs/heads/master
2023-02-02T18:32:26.581021
2020-12-20T23:50:32
2020-12-20T23:50:32
318,645,695
0
0
null
null
null
null
UTF-8
Python
false
false
731
py
#aqui veremos todos los modulos que python ofrece ya por defecto, primeramente si se desea ver la mayoria podemos ir a google #y busca PYTHON 3 MODULE INDEX import random for i in range(3): #aqui random.random se encarga de mandar un numero random entre 0 y 1 print(random.random()) #si queremos que sea ent...
[ "miguelfr0305@hotmail.com" ]
miguelfr0305@hotmail.com
ad3a475a300d0c1344e0d8e9e66b213d15d22e95
206c10808b6224f7d8236e27cc555e723af695d9
/tomodachi/launcher.py
4a7f1e19743d1f01214c04f799e54b9807194733
[ "MIT" ]
permissive
xdmiodz/tomodachi
3280209ae49100ec902e3b15c323b38e7480cdd3
7ca998a421dd724df5967d5baa0cf79f5112b79b
refs/heads/master
2023-03-15T19:22:16.381212
2023-01-20T07:34:48
2023-01-20T07:34:48
200,020,833
0
2
MIT
2023-03-08T00:00:01
2019-08-01T09:30:22
Python
UTF-8
Python
false
false
12,014
py
import asyncio import datetime import importlib import logging import os import platform import signal import sys import time from typing import Any, Dict, List, Optional, Set, Union, cast import tomodachi.__version__ import tomodachi.container import tomodachi.importer import tomodachi.invoker from tomodachi.containe...
[ "hello@carloscar.com" ]
hello@carloscar.com
0b63f180bc2d9bb8f73fd5ff68ffb7f0f620bed9
abb1d12b935c1fd4f881eb7709623b8f3e0adf26
/summit/apps/docs/migrations/0001_initial.py
b3891bf285b5f0cc60ba64f486b6cfbcaabbcdbc
[]
no_license
NAU-CCL/cpcesu-summit
3b99b17e3f9e8b8041b341d6c0c144c594e0c813
167a39307fe3d978d3eee4b3fcd53c27143f5924
refs/heads/master
2022-09-17T19:56:30.772626
2022-09-01T19:53:42
2022-09-01T19:53:42
234,479,561
0
0
null
2021-11-23T04:47:23
2020-01-17T05:46:19
JavaScript
UTF-8
Python
false
false
1,590
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.18 on 2019-05-09 07:24 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('summit_auth', '0004_auto_20190502_0752...
[ "josremy.dev@gmail.com" ]
josremy.dev@gmail.com
2be89dd258836f35115457cbf93e02e132dab730
9b0496e191c74153221b410f0872925b35ff9105
/API/API/mattersmithapp/serializers.py
4e622135f68feb7736b8159fe72afdc0977c9b30
[]
no_license
aniketht/Viusal-Manager
057fe7f66dd65ed9ee32e4a4c79f2a3a02073721
c367f701ffcf7cf10cf3082a78a95afb00934f32
refs/heads/master
2020-04-05T17:10:40.903898
2018-11-11T05:28:24
2018-11-11T05:28:24
157,048,008
0
0
null
null
null
null
UTF-8
Python
false
false
544
py
from rest_framework import serializers #from .models import User from django.contrib.auth.models import User from mattersmithapp.models import * class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = ('username','password','first_name','last_name','is_active','is_staff','email') cl...
[ "aniket@gmail.com" ]
aniket@gmail.com
2e0bb1ded65b0053c0de0b19fb4d831fa19d9409
152d7ae5c04db854cb5b3e6a1149e9feb8eb4d94
/FootageOverview/FootageOverview/wsgi.py
e479008d17e2b134acc65987ff951e938186f868
[ "Unlicense" ]
permissive
nylser/FootageOverview
4b6f82f83cc8878b94f859ae30d4d7f8b623aab2
921e003550ba445d5a3308dee231a2d92e642b01
refs/heads/master
2020-03-28T20:42:31.656387
2018-10-27T08:45:09
2018-10-27T08:45:09
149,095,052
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" WSGI config for FootageOverview project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJAN...
[ "korbinian.stein@gmail.com" ]
korbinian.stein@gmail.com
b872d81f1c05fc2084a9126cd4d59a028cdf7ef7
9031c2182b1bed7e8a238728479a6eb0a5d3d38f
/DoAnChuyenNganh/DoAnChuyenNganh-master/polls/migrations/0008_remove_userinfo_fullname.py
b786a0c3802d653b7b43dd4993f5991ef11e3d88
[]
no_license
ryodocoder1997/DoAn
a1980894ba9ad26d885b18a1587002799f39ad66
3355f7cfcd96e4fe4bc440733b9aed7cdca77a5c
refs/heads/master
2021-06-16T18:43:33.717020
2019-05-29T04:49:01
2019-05-29T04:49:01
183,548,769
0
0
null
2021-06-10T21:32:53
2019-04-26T03:16:09
HTML
UTF-8
Python
false
false
330
py
# Generated by Django 2.1.7 on 2019-05-05 06:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('polls', '0007_auto_20190428_0125'), ] operations = [ migrations.RemoveField( model_name='userinfo', name='fullname', ...
[ "46630762+ryodocoder1997@users.noreply.github.com" ]
46630762+ryodocoder1997@users.noreply.github.com
6f8524311c4daba1891bb1f2acf250e6288f9817
5a628b54e511e6186dcbc8636b530eab48cc6523
/django/template/base.py
67a7b330bed5e1a3646ecffeadb5155a98669f67
[ "BSD-3-Clause", "Python-2.0" ]
permissive
hdknr/annotated-django
9c6241853ce09d0d130a57e0f6611a062cc4f17b
5843908dd6586a54b92d974f45049fa87e64db8b
refs/heads/2.1.x
2021-05-22T08:08:11.469887
2020-01-25T22:41:11
2020-01-25T22:41:11
41,231,818
0
0
NOASSERTION
2019-11-02T22:33:33
2015-08-23T02:04:03
Python
UTF-8
Python
false
false
38,442
py
""" This is the Django template system. How it works: The Lexer.tokenize() method converts a template string (i.e., a string containing markup with custom template tags) to tokens, which can be either plain text (TokenType.TEXT), variables (TokenType.VAR), or block statements (TokenType.BLOCK). The Parser() class ta...
[ "gmail@hdknr.com" ]
gmail@hdknr.com
594663315b810fb9da4c005ee458d49252f814ef
c4d3927715b70234c766ad75f5228ff5ac33093a
/Graphs/BOJ/BOJ-1939-중량제한.py
4f34f844dc3fad6b6494688a71d86fc1e897baae
[]
no_license
Yeeun-Lee/coding-test-study
331a5a97a0faa2f4da32e286ade83c0e8997b4d1
84d38e3cd9ebe65a853fda80377fee9075d9a7d1
refs/heads/master
2023-04-17T06:00:11.660344
2021-04-20T15:14:53
2021-04-20T15:14:53
352,913,742
0
0
null
null
null
null
UTF-8
Python
false
false
868
py
# BFS + 이분탐색 from collections import deque n, m = map(int, input().split()) adj = [[] for _ in range(n+1)] def bfs(c): queue = deque([start_node]) visited = [False]*(n+1) visited[start_node] = True while queue: x = queue.popleft() for y, weight in adj[x]: if not visited[y] ...
[ "yeeun3430@gmail.com" ]
yeeun3430@gmail.com
1dff67206507943c23fc76cad97fd2f5d6e582d1
5ff947dd2e1c6fa35f4b27cbfa7b5d2027a0f699
/backend/manage.py
4ef77aa25ab2afbd68a04d97d8a91f8647411f7c
[]
no_license
crowdbotics-apps/game-3861
17b14ba1fd53b619a3e93ada6727007c742a8c23
d6404952fee48d411fda66803f88fbd01d08e419
refs/heads/master
2022-12-12T15:30:27.157082
2019-05-26T16:35:45
2019-05-26T16:35:45
188,707,474
0
0
null
2022-12-09T04:00:17
2019-05-26T16:35:29
Python
UTF-8
Python
false
false
807
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "game_3861.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that th...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
464062c137832e400f7b3df8d47208099258ecde
18dd4993e66dfb0924881745b0fd71c024ef93db
/cards.py
9259ffec98c959d5d61de15baba96f9c5a87eb83
[]
no_license
nikitparakh/Aces-High-Card-Game
fd6611299cdca15899db0777cc901724c3c36771
1902fb70598f6467b873ce22378c4c44d70c727a
refs/heads/main
2022-12-28T08:12:24.569425
2020-10-06T16:02:43
2020-10-06T16:02:43
301,781,647
0
0
null
null
null
null
UTF-8
Python
false
false
3,734
py
import random class Card( object ): """ Model a playing card. """ # Rank is an int (1-13), where aces are 1 and kings are 13. # Suit is an int (1-4), where clubs are 1 and spades are 4. # Value is an int (1-10), where aces are 1 and face cards are 10. # List to map int rank to printable ...
[ "noreply@github.com" ]
noreply@github.com
53b2e4478e0ed7cdeb2a3b0735d2e0eafb25129a
40545791617f14c0496887b32159eba496edb380
/slack/views.py
3e7a24e17580fbd0237061e1c501d8b6f1301c1f
[]
no_license
leolas95/cornershop-backend-test
42d10f5d4cecd49882b172dcc85be86ad08c31ec
67c3d6ed2d2dac8dfc2a0e2804e6fc7e088416d2
refs/heads/master
2023-02-13T15:56:56.044649
2021-01-15T16:19:44
2021-01-15T16:19:44
329,841,587
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
from django.contrib.auth.mixins import LoginRequiredMixin, UserPassesTestMixin from django.http import HttpResponse from django.shortcuts import redirect, render, get_object_or_404 from django.utils import timezone from django.views import View from menus.forms import MenuForm from menus.models import MenuSelection fr...
[ "leonardoguedezsuazo@gmail.com" ]
leonardoguedezsuazo@gmail.com
f6deb58ee8cb31201b2c6fd472b40322eb4857da
a6b304898a3b5bd1064f26a915a4926cbe33c99a
/page/login_page.py
a90cb75d6f1db945298d636b4bf12a03c81430f5
[]
no_license
zdy123456/jenkins
d57fb0da4396fe304ac649f07496cbf05652ab71
e8ec83b442474fc68528e20ba2941305bbc81e46
refs/heads/master
2020-03-22T00:14:16.379761
2018-06-30T08:50:17
2018-06-30T08:50:17
139,169,154
0
0
null
null
null
null
UTF-8
Python
false
false
351
py
import allure class LoginPage: @allure.step(title="输入用户名") def input_user_name(self): print("输入了用户名") @allure.step(title="输入密码") def input_password(self): print("输入了密码") @allure.step(title="点击登录") def click_login(self): print("点击了登录按钮")
[ "zhu.qq.com" ]
zhu.qq.com
7364f01bb21603b3191bf0811f00b0bf022bae9e
a2e7d7921474cd775803c5962be2659ffe22f258
/analyse.py
9a2e37404ef996fa5583fb04415f4e952dbc0394
[]
no_license
XiaohanLiang/data_classification
ae56602b6f4ef29c04f063502e8739bcac3d0d0f
579f378ec6a72c8596a5a896ce1b4322b82dbee4
refs/heads/master
2020-03-25T11:27:48.406949
2018-11-14T08:56:58
2018-11-14T08:56:58
143,733,482
0
0
null
null
null
null
UTF-8
Python
false
false
3,053
py
# # @Function: This function was used to analyse the resulting data # 1. Transfer spiking time into spiking rate # 2. Deploy 5% inhibition method # 3. Calculate the Euclidean-distance to find 5 nearest neighbor # # @Mention: This version will not have verification step, # we...
[ "Liangxiaohan95@gmail.com" ]
Liangxiaohan95@gmail.com
7eb01afea9846928ee43b0c0aecba5d7d1f98653
099c202f089970a12d6e80e3d611fc470de52528
/Version 1 - setting up/main.py
61ec2144d0e2da66743ae5b95b47e174473bf452
[]
no_license
shez2650/RPG-Project-2
d05c8254491a07920f008ae03ce1673924516d67
ec9caff10ddf2d5f0c7eac913b730e51e927fb8a
refs/heads/main
2023-08-16T16:51:15.707555
2021-09-20T17:53:35
2021-09-20T17:53:35
369,292,902
0
0
null
null
null
null
UTF-8
Python
false
false
2,832
py
import pygame, sys, random from os import path from pygame.locals import * from settings import * from sprites import * class Game(): def __init__(self): # Initialize game window, etc pygame.init() pygame.mixer.init() pygame.display.set_caption(TITLE) pygame.key.set_repeat(3...
[ "62561531+shez2650@users.noreply.github.com" ]
62561531+shez2650@users.noreply.github.com
d97ae505219e5dbd2cb9bf6a1c957b9cc023034c
7d03a399838ddb54ffafd6333bae33323f75a37e
/test/learn/do.py
6914356f7d3082f5e8a03a75fd1d118294077e0b
[]
no_license
ninenine999/new
4f724e979412a8c65705d7f5de69216f82a47df2
1466ee93953e63812db3b31d317073da8843b5a0
refs/heads/master
2020-04-03T02:10:50.011546
2019-12-12T08:48:28
2019-12-12T08:48:28
154,949,235
0
0
null
null
null
null
UTF-8
Python
false
false
641
py
''' Created on 2017年6月1日 @author: admin ''' from ctypes.test.test_pickling import name names =['x','y','z','n'] for y in names: print(y) x=0 for y in [1,2,3,4,5,6,7,8,9,10]: x=x+y print(x) x=0 for y in range(101): x=x+y print(x) x=0 n=99 while n>0: x=x+n n=n-2 print(x) L = ...
[ "wymdyw@163.com" ]
wymdyw@163.com
48c65b2c68ce49ed81e4e99de686a1e06dc4d029
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/Fe6wvtjcNFwuANuLu_17.py
2edae5acef2d0784cbb3e57f8f1de8dc2e9a243d
[]
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,088
py
""" A game of table tennis almost always sounds like _Ping!_ followed by _Pong!_ Therefore, you know that Player 2 has won if you hear _Pong!_ as the last sound (since Player 1 didn't return the ball back). Given a list of _Ping!_ , create a function that inserts _Pong!_ in between each element. Also: * If `win`...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
09311ea42133a7e18f202682e39191de2a28ac00
a188ea7ddd9ba4ab00f370b8d2fe2eb4982b469c
/PairsTrading.py
36a8c961bc896f10ab4bdc59c36fe4ec3aa4bb5f
[]
no_license
unknownUserXiXi/PairsTrading
bfde823ac52a0e0e6393d1c0392eef5d2d5d72e1
0f23daceb89bac01bea2af10ec303b46de746c74
refs/heads/master
2020-12-12T02:44:54.718918
2020-01-15T07:40:36
2020-01-15T07:40:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,546
py
# -*- coding: utf-8 -*- """ Created on Tue Dec 10 19:01:47 2019 @author: Xinyu Xi, Jierui Wang, Yihan He, Siyi Huang, Guoliang Sheng """ import pandas as pd import statsmodels.api as sm import numpy as np from statsmodels.tsa.stattools import adfuller import matplotlib.pyplot as plt from pykalman import KalmanFilter ...
[ "219020060@link.cuhk.edu.cn" ]
219020060@link.cuhk.edu.cn
3986bd746f5b13d4ed86f15168343c7e1138867b
ef071adda6067da869f04c812a65ede8fe8256e8
/xunHuan.py
d7d863c5ee4c0243a2ef069867f5628fd9892f79
[]
no_license
Yueyue202011/python_test
92073d5e6b61100122fd1f00819658a635633b80
11a50c7942e298312e3751f406d01eb732469661
refs/heads/master
2023-01-23T15:46:25.104866
2020-11-30T09:07:58
2020-11-30T09:07:58
314,418,779
0
0
null
null
null
null
UTF-8
Python
false
false
2,126
py
# # 循环语句:有规律且重复操作的语句 # # 列表 # a = [1,2,3,4] # for i in a : # for中的in不是判断 # print(i) # # 元组 # b = ("123", 13,15,55) # for i in b: # print(i) # # 字符串变量 # c = "春节快乐" # for i in c : # print(i) # # 字典 # d = {"username":"沈小姐","password":"123456"} # for i in d : # print(i) # # print(d[i]) # ...
[ "1498194198@qq.com" ]
1498194198@qq.com
726ac7c4ea704b318c298e1b2dbfc7fe37cba37f
a1356c72aa324f8b4dc4b1801dec6f2300b141f9
/src/c++/tests/loadrand/cparams.py
eb7f66d1a9dfb7cf41e50c3d3821d5cfdd0eba85
[ "Apache-2.0" ]
permissive
decentralized-identity/fuzzy-encryption
aff958fcd892d0d60754a32d6d8fc2548e3f837c
0d7205c7a444d1c4d17f57e0a706f756c1141dde
refs/heads/master
2023-03-03T11:30:03.523208
2021-02-07T01:12:13
2021-02-07T01:12:13
265,626,946
44
5
Apache-2.0
2021-02-06T01:23:23
2020-05-20T16:39:54
Python
UTF-8
Python
false
false
2,786
py
''' cparams.py For creating a file containing a JSON string that is an example of a WASM style input for gen_params.py ''' import json import binascii import secrets # import sympy import click def get_dict(set_size: int, correct_threshold: int, corpus_size: int) -> None: ''' returns a dictionary representin...
[ "kirk.olynyk@hotmail.com" ]
kirk.olynyk@hotmail.com
6dae8bf6edd2534f8e203a68ddfeedc35ca4bb43
050ecf7925e0732e515107acf53875881f4fdb22
/scripts/metaroom_processing/metaroom_features.py
579b9a2d2e8c9d2213d5ba53dbe653cef316ae17
[ "BSD-3-Clause" ]
permissive
blackyin1/rbpf_processing
e13e084c470ead64a814879faff95c5581e5bcdd
b8e6413f04ea83d7ae41debba8b0fd90a5f3074f
refs/heads/master
2020-05-17T17:40:15.925059
2018-11-23T08:02:05
2018-11-23T08:02:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,376
py
#!/usr/bin/python import os import tensorflow as tf import tensorflow.python.platform from tensorflow.python.platform import gfile import numpy as np import sys import json # This code comes from https://code.oursky.com/tensorflow-svm-image-classifications-engine/ def create_graph(model_path): """ create_gra...
[ "nilsbore@gmail.com" ]
nilsbore@gmail.com
d7e93993c75100b97ca7ce2aea911a2c88fe3860
b93a2092f46d4269e66fb33803fd7113ddfdcb48
/Sms/Engines/GenericSoap.py
ec96f596a793d5494ee47c9a04c44b7cb34bdd8e
[]
no_license
krakowunsound/sms-cli
0216dfee5c3a560798e18447d867c6de8118a46f
fa4b849a8bba7ade2d6ba1bf1fcba9ff0d6deb0f
refs/heads/master
2020-03-31T06:31:49.366624
2014-02-08T12:28:57
2014-02-08T12:28:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
362
py
## Michal Ludvig <mludvig@logix.net.nz> ## http://www.logix.cz/michal/devel/sms-cli ## License: GPL Version 2 import os import logging from Sms.Exceptions import * from Sms.GenericSmsDriver import GenericSmsDriver class SmsDriver(GenericSmsDriver): def __init__(self, options = {}): GenericSmsDriver.__init...
[ "mludvig@logix.net.nz" ]
mludvig@logix.net.nz
8e3b0ab7da5b8231729c77b4add04e051b904c7b
d904a1730d2aaa136a8fef7e0bff0e7ab68ba3df
/GUI_To_Show_Attributes.py
ddddd5f9cacad7650535654484e23365d229bf57
[]
no_license
MahmoudKhaleif93/Databases-
0f4304921f41258b19ca1726945b98017b92b905
e2a3bcb329a0adb3c845286ca882a2da0f0aa26f
refs/heads/master
2020-06-02T12:13:30.110087
2019-07-28T20:10:12
2019-07-28T20:10:12
191,151,015
0
0
null
null
null
null
UTF-8
Python
false
false
1,262
py
from tkinter import * import tkinter as tk from tkinter import Menu from tkinter import ttk import guizero window = Tk() window.title("Welcome to Testing Department") window.geometry('700x700') menu = Menu(window) new_item = Menu(menu) new_item.add_command(label='New project') lbl = Label(window,text="Project nam...
[ "noreply@github.com" ]
noreply@github.com
a6e77ff72798d6dce1a3fd56d1a1eec1079d209e
2b2d57fda4afc1fce4e3bcce315eca78d06dfe84
/Download_Object.py
7600ac143dfd593a28735444dfada8e71baa86ed
[]
no_license
mrehman29/vdc_Management
1822dcecdb92cb88cbef290b8b0aa284a15b9eff
f5a303d9ed9a3b057a46c8fc847ac1f347599e18
refs/heads/master
2021-08-08T17:44:26.543828
2019-01-09T22:30:31
2019-01-09T22:30:31
85,575,220
0
0
null
null
null
null
UTF-8
Python
false
false
2,206
py
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' Copyright (c) 2017-2018 Muhammad Rehman <muhammad@rehman.cf> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must r...
[ "noreply@github.com" ]
noreply@github.com
16d79f6a693248f707912d0602e5b5898033423f
60a525218779f250d725ca4f9677bd626eb687b9
/repos/system_upgrade/common/actors/checkfips/tests/unit_test_checkfips.py
7774352e00b1e0a332de81aef86c509fa0641ce8
[ "Apache-2.0" ]
permissive
examon/leapp-repository
920c9246540a2c603c7c9dfcbf9ae3673487f221
4cedc35b45aeb9131a651c8362f5ff4d89e3b5ee
refs/heads/master
2023-02-24T09:33:10.280795
2023-02-01T10:05:25
2023-02-06T11:03:38
169,085,644
0
0
Apache-2.0
2020-02-24T09:56:34
2019-02-04T13:52:38
Python
UTF-8
Python
false
false
1,403
py
import pytest from leapp.models import KernelCmdline, KernelCmdlineArg, Report from leapp.snactor.fixture import current_actor_context ballast1 = [KernelCmdlineArg(key=k, value=v) for k, v in [ ('BOOT_IMAGE', '/vmlinuz-3.10.0-1127.el7.x86_64'), ('root', '/dev/mapper/rhel_ibm--p8--kvm--03--guest--02-root'), ...
[ "xstodu05@gmail.com" ]
xstodu05@gmail.com
d4dfd3cbda727e702637ff99d4c9cb5e3d6eca6d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_014/ch167_2020_06_22_20_37_54_917135.py
a99f1260d35132010fb4d2db003a6410b59fc2c4
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
276
py
def bairro_mais_custoso(gastos): saida_1 = {} saida_2 = {} for x,y in gastos.items(): saida_1[x] = y[6:12] for a,b in saida.items(): saida_2[a] = sum(b) for i,j in saida_2.items(): if j == max(saida_2.values()): return i
[ "you@example.com" ]
you@example.com
54940730b843a5978a73817f91972a3a188d4be6
735142a7606f8bcbd409ec0cd8ca5bee40c3b42b
/redis_project/redis_project/__init__.py
4090314102e50a48be040faae0336348edabad5c
[]
no_license
gudcjfdldu/django_celery_redis
1739dfc29c0c18de93b7876f686f196045fc4d0f
b2f6909a1b60bf1378b7ae315c628df9ccb9f979
refs/heads/master
2020-09-14T01:29:27.272824
2016-09-08T11:14:35
2016-09-08T11:14:35
67,696,301
0
0
null
null
null
null
UTF-8
Python
false
false
82
py
from __future__ import absolute_import from .celeryapp import app as celery_app
[ "xlazks01@gmail.com" ]
xlazks01@gmail.com
50980ce90d315f624870db512b2b586deba96fcc
bb2a6ed544bde76b785c08a832c744cd1923c7f0
/Scientific computing with Python Projects/Probability Calculator/prob_calculator.py
668f16d2d9abd1bb412a2f0e4faa827515797b7c
[]
no_license
Djuniou/Challenges-from-freecodecamp.org
dbb3e2ae8f27501cc7946d8f22a97bf307eeec0f
ca915a36503aa1a73d256ee957fb022f99290c7c
refs/heads/main
2023-02-16T04:19:00.590926
2021-01-16T20:35:07
2021-01-16T20:35:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,427
py
import copy import random # Consider using the modules imported above. class Hat(): def __init__(self,**hat): self.total_balls = 0 self.contents = [] self.__dict__.update(hat) for entry in hat: for value in range(hat[entry]): self.contents.append(entry) ...
[ "30326175+Felijunior@users.noreply.github.com" ]
30326175+Felijunior@users.noreply.github.com
c13d8f39d026656023abadc64d3ccdf0c66caf4e
e86f87de59db59462527d2f1516e08f88b21d2cd
/utils/delete_folder_hdfs.py
4a5bc846797708217ff9ffe3f4093936e1135346
[]
no_license
kostjaigin/bachelor
ddb8dfd5da476e9a29a3c5fdc354e1ac675db1c2
b95c29646bcf7ec39d0542487ef999a5cdf1a764
refs/heads/master
2023-04-19T09:07:19.726954
2021-05-02T11:02:52
2021-05-02T11:02:52
327,432,168
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
import os, sys from pywebhdfs.webhdfs import PyWebHdfsClient def main(folder): hdfs = PyWebHdfsClient(host='130.149.249.25', port='50070') path = os.path.join('checkpoints/linkprediction/data', folder) hdfs.delete_file_dir(path, recursive = True) if __name__ == "__main__": args = sys.argv ...
[ "konstantin.igin@wally030.cit.tu-berlin.de" ]
konstantin.igin@wally030.cit.tu-berlin.de
12f4d68a13f543af6e710002b21fd31de60dd105
7fd0c4608e32c53fea935ac63cacf66e1a0c971d
/models/ZpHiggs_UFO_2000_70_1500_700/parameters.py
1f1099ab2ac1513eaaff2137a36bd4910bdb225e
[]
no_license
Quantumapple/MadGraph5_cards
285f8a303b04b9745abfc83f5ea4fb06a2922fc9
3db368ada01f59bace11b48eab2f58ab40ba29f2
refs/heads/master
2020-05-02T20:43:23.791641
2020-01-17T16:10:46
2020-01-17T16:10:46
178,199,838
0
2
null
null
null
null
UTF-8
Python
false
false
15,885
py
# This file was automatically created by FeynRules 2.0.28 # Mathematica version: 9.0 for Linux x86 (64-bit) (February 7, 2013) # Date: Tue 7 Mar 2017 15:17:59 from object_library import all_parameters, Parameter from function_library import complexconjugate, re, im, csc, sec, acsc, asec, cot # This is a default p...
[ "jongho.lee@cern.ch" ]
jongho.lee@cern.ch
09ab6f774f7ac99e9b1f93ad6c15708a4ce8bac9
450ffe3f9e680fbd1a8e3e1a89c28388b58c05f1
/threads/admin.py
4fa084758bfe7695cb88751ff28c2a4b7779cf7e
[]
no_license
IreneG5/we_are_social_forum
3cb04ab3e8287cdbfdf14e44797fee125748b927
cb0a48ef38b7bacd5615be4b7966fc56c6d4b7db
refs/heads/master
2021-01-01T20:03:53.794661
2017-08-09T18:21:58
2017-08-09T18:21:58
98,758,647
0
0
null
null
null
null
UTF-8
Python
false
false
188
py
from django.contrib import admin from .models import Subject, Thread, Post # Register your models here. admin.site.register(Subject) admin.site.register(Thread) admin.site.register(Post)
[ "irene.g5555@gmail.com" ]
irene.g5555@gmail.com
e7338d9b5095f398e9ea870d147fd649caa7e06b
2bc12d47f5e5a34e2168be8e79175812ab019f48
/colordither/alternate.py
06b2b496bf7916a09ed2b6a2b2ee99e64829625b
[]
no_license
p-cher/image-mungers
823bc5ca0a04a7b35dd37bf50672fcc389f1869a
4139d1a69114f8aa3554f744365a10511718d9d9
refs/heads/master
2023-01-09T06:13:32.883908
2020-11-16T11:32:23
2020-11-16T11:32:23
268,363,480
0
0
null
null
null
null
UTF-8
Python
false
false
141
py
a=2 #import sys f=open("alternate.py") f.readline() s=f.read() s="a={}\n".format((int(a)+1)%10)+s open("alternate.py","w").write(s) print(a)
[ "petercher@reed.edu" ]
petercher@reed.edu
fbe3ce465d2875e806e7034b8aa54da894dec8ea
9d453f694db476625c5175298964de66bbaac0f1
/pykrita/toolModifier/currentTool.py
0113ceef27d31957cb3b9652fd14ce4f947d033c
[]
no_license
C-Radius/Krita-Settings
bfe24f08772aa6a21214d989b8327e25f6f966c6
2d9b050106703c37a99ddc3d1f6770804eda4420
refs/heads/main
2023-04-30T04:50:13.448645
2021-05-16T11:46:14
2021-05-16T11:46:14
360,875,615
1
0
null
null
null
null
UTF-8
Python
false
false
842
py
from krita import Krita from PyQt5.QtWidgets import QWidget, QToolButton def find_tool_box(qwindow): for qobj in qwindow.findChildren(QWidget): if qobj.metaObject().className() == "KoToolBox": return qobj def find_active_tool(qtoolbox): for qobj in qtoolbox.findChildren(QToolButton): ...
[ "deus.deceit@gmail.com" ]
deus.deceit@gmail.com
c4f8a8fa32b5ab00f49d6f19fadbc54ecf892bac
0e85ca67a8e5a846e570275fc1e261a60cd2513a
/scan.py
1a1e72e9700cb9ea23ccb48af529f7267346ba86
[]
no_license
createchange/wordpress-security-scan
c402394348867cf8d808383e1b657dd408e6aaa7
fb3e04cea8387d7bc70ab7619143fd64a323b4b2
refs/heads/master
2020-08-07T13:36:48.238856
2019-10-07T19:46:42
2019-10-07T19:46:42
213,472,325
0
0
null
null
null
null
UTF-8
Python
false
false
1,022
py
import subprocess # Add list of sites to check to the appropriate section. Removed for security sake. maint_sites = ['https://training.msminc.com'] non_maint_sites = [] subprocess.check_output('cat headers/web_maintenance_header.txt > results.txt', shell=True) with open('results.txt','a') as f: for site in maint...
[ "createchange@protonmail.com" ]
createchange@protonmail.com
372ae494a255dba2d5abc9443a52b2894b4a4137
d9bb15f9631f025d425cb57906c343ace870d5d1
/lemari.py
482f5f29baa651687e435f19801d112b3258846f
[]
no_license
achimonchi/ProjectAnimasi
1644d6b18354f3eb553812965670ff43661cc61d
94ba16a0c552e50abc0241b6043e5aedae720f8d
refs/heads/master
2020-06-30T19:50:45.420209
2019-08-06T23:09:04
2019-08-06T23:09:04
200,935,279
0
0
null
null
null
null
UTF-8
Python
false
false
2,976
py
import bpy, os def run() : path = os.path.expanduser('E:\Project\Animasi\Texture\wood.jpg') try : imgPath = bpy.data.images.load(path) except : raise NameError("Cannot load image %s" % path) texture = bpy.data.textures.new('ColorTex', type="IMAGE") texture.image = imgPath ...
[ "achimonchi.reyhan@gmail.com" ]
achimonchi.reyhan@gmail.com
01a171dba5ecfdd0627f141c961da87d42691167
dc0bc6b2bfb1ae9b95829d56d10c6b386b0dc94e
/reference/cwltool/avro_ld/makedoc.py
9de72d04829514d2330db499c5612a77b6be7889
[ "Apache-2.0" ]
permissive
tovanadler/common-workflow-language
2482dc784e1f2025902bc5c50781b4cdc549aedc
bb5d98ccc39d4c43a30f670d2e2c8826e720353c
refs/heads/master
2020-12-03T04:00:23.477650
2015-05-27T17:24:38
2015-05-27T17:24:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,483
py
import mistune import schema import json import yaml import os import copy import re import sys import StringIO def has_types(items): r = [] if isinstance(items, dict): for n in ("type", "items", "values"): if n in items: r.extend(has_types(items[n])) return r if...
[ "peter.amstutz@curoverse.com" ]
peter.amstutz@curoverse.com
13f4de2c0c254f4c1cc261f06727734231b86878
e90961098da154be0f168b3a0b55d2a49eaebc4c
/tx_rpc_client.py
216f381b9d659f3df8c82c082f2e5aaa43ee7c63
[]
no_license
appetito/pika_tests
baeb761abce655c4d0ae5e597bea8088c208b0db
590ab4151f562f2bfb1af67a17ab94db40f06ffe
refs/heads/master
2016-08-12T04:29:57.642397
2016-01-18T04:42:56
2016-01-18T04:42:56
49,852,449
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
import sys import time import pika from pika.adapters import twisted_connection from twisted.internet.defer import inlineCallbacks from twisted.internet import reactor, protocol, task class Counter: def __init__(self, name=''): self.start = time.time() self.cnt = 0 self.name = name ...
[ "_yurka_@inbox.ru" ]
_yurka_@inbox.ru
b7bb0bef3a77ef1d25ba9945b83f9d6f9e82aa88
ace306b701d4d75f43cf143ba4aad0df19bb44f3
/findmyburritto/migrations/0003_auto_20171031_1827.py
283a285a4af01329182a890e69b176833f9849b5
[]
no_license
Kellier/wmap_assignment_django
4af3471ba27ba16535dabf330830d5bd1cc8ceea
16e3e4e7ef587ec099aa163b09898ed544117597
refs/heads/master
2021-08-28T08:21:17.356353
2017-12-11T17:46:23
2017-12-11T17:46:23
108,898,173
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-31 18:27 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('findmyburritto', '0002_user_burritos_burned'), ] operations = [ migrations.RemoveFi...
[ "cormackelly95@gmail.com" ]
cormackelly95@gmail.com
4f5414ad732b94b146fa88c2ad2549d7efe650c4
8bc68b9f7b9ab0d2c690773731df94ffd5d2cd22
/quizzes/migrations/0005_auto_20150813_0645.py
cb0e788d33dbe9e1c1e90d718f368e794a35e6be
[ "MIT" ]
permissive
ikedumancas/ikequizgen
da070e6cafb7decacd4dcc39ae42e52e3e7e319c
86cb4c183ef927be063eb9ad0e7855a0c23ba0d2
refs/heads/master
2020-12-30T11:15:14.850586
2015-08-13T12:18:53
2015-08-13T12:18:53
40,552,829
0
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('quizzes', '0004_auto_20150811_1354'), ] operations = [ migrations.AlterModelOptions( name='choice', ...
[ "ikedumancas.official@gmail.com" ]
ikedumancas.official@gmail.com
9309569dbb1a25d10ac57786f2e48786252a6ec1
05ace8ef6257681ae5b677ad1fcfceb316c5fd24
/moshmosh/repl_apis.py
99b0530c2b6116c52020d0369353a87b90d1a9da
[ "MIT" ]
permissive
thautwarm/moshmosh
cb0e5c2cc7c00886ec5f400629185f32cbe4e8c7
12435ac6288e88b42ea13d59825b90b37e297f38
refs/heads/master
2022-01-09T01:50:34.333840
2020-05-29T01:19:40
2020-05-29T01:19:40
196,604,714
120
7
MIT
2022-01-01T03:36:27
2019-07-12T15:39:55
Python
UTF-8
Python
false
false
4,289
py
from moshmosh.extension import * from moshmosh.extension import _extension_pragma_re_u def update_pragmas(extension_builder: t.Dict[object, Extension], lines): """ Traverse the source codes and extract out the scope of every extension. Incrementally. """ # bind to local for faster visiting in the l...
[ "twshere@outlook.com" ]
twshere@outlook.com
e07df365dabbf4df8437218e97888879266f6864
1e917ee718be6979c516007913dd85ffdabae289
/6-dl/neural.py
1c118e035d4d4b7e8d6c18be6d35d2839d0a860d
[]
no_license
AdolfoVillalobos/hands-on-rl-for-games
d4b2e6da9122c7f55c44c59aba571728f8cd07b1
d2dceebd2b48a0f0abcf48a7f941ecc989182e28
refs/heads/main
2023-06-20T22:54:30.155475
2021-08-03T15:07:19
2021-08-03T15:07:19
392,357,507
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
import torch batch_size, inputs, hidden, outputs = 64, 1000, 100, 10 x = torch.randn(batch_size, inputs) y = torch.randn(batch_size, outputs) model = torch.nn.Sequential( torch.nn.Linear(inputs, hidden), torch.nn.ReLU(), torch.nn.Linear(hidden, outputs), ) loss_fn = torch.nn.MSELoss(reduction='sum') lea...
[ "amvillalobos@uc.cl" ]
amvillalobos@uc.cl
1161e6cadac870db9df449d7395504a2bd9f4d9d
dbb3b3d39f7bd5255d846347b6cd7b153969955c
/packages/vaex-jupyter/vaex/jupyter/view.py
22d3ea574d52d2a61d0b1c553b838233437142c4
[ "MIT" ]
permissive
bbbbpage/vaex
ab02e89cdaf1ec99a13775d292dfcbfdc49c0384
bdf6670b5438bfbdf677477c7c71e69128b063e0
refs/heads/master
2022-07-30T09:26:28.060993
2020-05-22T14:51:58
2020-05-22T14:51:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,857
py
from __future__ import absolute_import import sys import vaex.ml import traitlets import ipywidgets as widgets import ipyvuetify as v import numpy as np from IPython.display import display from . import widgets as vw from . import model from .traitlets import traitlet_fixes import matplotlib.colors colors_default = ...
[ "maartenbreddels@gmail.com" ]
maartenbreddels@gmail.com
21841c72c02926b239c4f906fc18ce3c3159780f
cc4bf71432947098b26560d842fb5557bbe23b84
/rpv_macros/python/run_btaginjections.py
1f77a093c8d19c3363a494a45e781c6b9bf501f6
[]
no_license
jaehyeok/RPV
08aeea62901b26a0c4f27f3f37dbff01c669fbdb
eb0354aa399d4116a517b9daf699d6bb97baddee
refs/heads/master
2023-05-10T23:14:47.256581
2023-05-03T05:31:15
2023-05-03T05:31:15
62,891,485
1
4
null
null
null
null
UTF-8
Python
false
false
5,857
py
#! /usr/bin/env python import os import sys # What module to run makeCards = True makeWorkspaces = True runCombine = True makePlots = False # Setup directories dirBase = "/net/top/homes/rohan/RPV/Fit/CMSSW_7_4_7_patch1/src/HiggsAnalysis/" dirDC = dirBase + "datacards/" dirWS = dirBase + "workspaces/" dirCombine = di...
[ "rohan.bhandari@cern.ch" ]
rohan.bhandari@cern.ch
1561dc7a0d4fdcc7d078decb8d7a38e0e0838680
8600ea155f279e5a8dfe5a1926038511f6b6a7ea
/membership/wizard/__init__.py
ab1f292ce8f004d75e6a9cebe2c074fb580a2a84
[]
no_license
MarkNorgate/addons-EAD
c2fff89ab16fce3ba19fbe433ee5863705a6f4e5
840f28642b5d328e4b86839c413e5164622295a5
refs/heads/master
2020-04-23T22:11:00.164438
2015-07-22T12:24:53
2015-07-22T12:24:53
39,501,011
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
# -*- encoding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2009 Tiny SPRL (<http://tiny.be>). All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify #...
[ "mark.norgate@affinity-digital.com" ]
mark.norgate@affinity-digital.com
11965d52a95eb2f739fcd18beca8c5d82b0f3027
3c3e82740573044579df30c960b3ba9831c93547
/TPO_website/TPO_website/settings.py
358f776af895d6ca00627bce87afb1a04c0619bc
[]
no_license
desaidhruv/AcePlacement
bf37bbc6d944bb68f4d57c3997bf9c8e8590d39e
30e997c371f18a53267e3df6f7a37e3c191b6f60
refs/heads/master
2023-09-01T14:27:24.224526
2021-10-12T04:56:20
2021-10-12T04:56:20
295,662,347
1
0
null
null
null
null
UTF-8
Python
false
false
3,305
py
""" Django settings for TPO_website project. Generated by 'django-admin startproject' using Django 3.1.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pat...
[ "dhruvshah28@gmail.com" ]
dhruvshah28@gmail.com
73810b6998499b0bab1741e162e7d236db246bbc
c13e314c19496a57302ad1e08c47d782e86cb094
/datacenter/storage_information_view.py
cafb888fcb50290b9cf3474895c4758998405446
[]
no_license
dinazzz/security_remote
f3da732b50b9d1bee60e89bb5df1c5531218a135
dbc442e3236c55d94df4de40fe7aced897182931
refs/heads/master
2021-06-22T21:34:39.135073
2019-07-30T17:54:20
2019-07-30T17:54:20
199,700,742
0
0
null
2021-06-10T21:48:08
2019-07-30T17:49:20
HTML
UTF-8
Python
false
false
711
py
from datacenter.models import Passcard from datacenter.models import Visit from datacenter.models import format_duration from django.shortcuts import render def storage_information_view(request): non_closed_visits_info = [] non_closed_visits = Visit.objects.filter(leaved_at=None) for visit in non_clo...
[ "dinazval@gmail.com" ]
dinazval@gmail.com
ae433691f368227705fc5d0df3b181e7c53763e9
25ba4b387bf6bb278af1335b18e99ea0389548be
/think_python_solutions/chapter-06/exercise-6.8.py
9b6ed0d969a178a8c2633a592518055b1d9abade
[]
no_license
adwanAK/adwan_python_core
56ffc63b326ec3f6739bc4733c060dc49554f1ae
745922331cf36f65376c55115ee9a3df4d5c0450
refs/heads/master
2022-12-12T21:35:42.387685
2018-09-26T08:53:43
2018-09-26T08:53:43
148,442,004
2
1
null
2022-12-08T02:23:54
2018-09-12T07:46:34
Python
UTF-8
Python
false
false
841
py
#!/usr/bin/env python # encoding: utf-8 """ exercise-6.8.py Greatest commond divisor with Euclid's algorithm. PITA to realize that we must return the function vaule, not simply invoke the gcd function via recursion. Created by Terry Bates on 2012-08-19. Copyright (c) 2012 http://the-awesome-python-blog.posterous.com....
[ "breuss.martin@gmail.com" ]
breuss.martin@gmail.com
e9e2037b55eee5289c172664d2628b589cfd35ef
b7620d0f1a90390224c8ab71774b9c906ab3e8e9
/aliyun-python-sdk-live/aliyunsdklive/request/v20161101/DescribeLiveStreamWatermarksRequest.py
75fdfa4674d65607a75e94f5a4e7d72a1d5becb4
[ "Apache-2.0" ]
permissive
YaoYinYing/aliyun-openapi-python-sdk
e9c62940baee1a35b9ec4a9fbd1e4eb0aaf93b2f
e9a93cc94bd8290d1b1a391a9cb0fad2e6c64627
refs/heads/master
2022-10-17T16:39:04.515562
2022-10-10T15:18:34
2022-10-10T15:18:34
117,057,304
0
0
null
2018-01-11T06:03:02
2018-01-11T06:03:01
null
UTF-8
Python
false
false
1,844
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
b3e5bd8d47f87fb839ccf690c85c2d2b87d5a1e4
c6f6643b2bda6c2425d4bfceb696b209c4e1a81a
/testBoard.py
8703e965774fc65694f3da9a85da70ab329233ae
[]
no_license
HotlineHenok/TeamRushHour
ca5992b8a679b4e141b9f425f5a498978acc25da
e16bbeb2bb59927e39a582df4bbc836aa6391e13
refs/heads/master
2021-01-10T17:52:19.097646
2015-12-16T16:47:18
2015-12-16T16:47:18
45,538,706
0
0
null
null
null
null
UTF-8
Python
false
false
1,780
py
import boardClass import carClass import random import sys import queueClass import copy board = boardClass.Board(6, 6) redCar = carClass.Car('A', 1, 1, 2, 'H') LightBlueCar = carClass.Car('B', 3, 0, 2, 'V') OrangeCar = carClass.Car('C', 4, 3, 2, 'H') board.addCar(redCar) board.printBoard() queue = queueClass.Queue...
[ "hktesfai@gmail.com" ]
hktesfai@gmail.com
8db52108b64c77a0e1e55d9c0c3e35500eb09c74
9cb636849d7bf2c613e4468f409c8b37be4d0faa
/mapping/ros2/realsense_d400.launch.py
405e89d64c9d7f2d62268b94f89ff37e92471cb5
[]
no_license
yifan-Technology/smart-car
7abc3916d05e93745d50e6ef124f58fea00d1843
60e731c38ad827bb1824e4d5f96955d8f1acf03e
refs/heads/master
2023-01-23T05:51:05.657867
2020-12-06T17:32:14
2020-12-06T17:32:14
285,860,046
0
0
null
null
null
null
UTF-8
Python
false
false
1,842
py
# Requirements: # A realsense D400 series # Install realsense2 ros2 package (refactor branch) # Example: # $ ros2 run realsense_node realsense_node # $ ros2 launch rtabmap_ros realsense_d400.launch.py import os import launch from launch import LaunchDescription from launch.actions import DeclareLaunchArgument,...
[ "qq503414693@gmail.com" ]
qq503414693@gmail.com
a4696e79d362c698d41f0a078f35625fd11d8dfa
e81ec0db9caa2dae97b559a6663aa157c318e2dd
/builtin_modules.py
8c3a6387be16bbaa15baaea8b1ae1b4f0a6460a9
[]
no_license
biluoyuebai/TOT
5bbe9e420978d5aac9f9a817ec4fb180df898ca1
83f3149a83472ba67705126807c02aa56c14d5f0
refs/heads/master
2022-12-24T04:32:46.626762
2020-09-12T10:40:35
2020-09-12T10:40:35
294,920,783
2
0
null
null
null
null
UTF-8
Python
false
false
11,953
py
from nodes import Module, Parameter, Argument, Retval, VaArg, VaPar builtins = {} shape = Module('shape') shape.args.append(Argument('index', 'long', '-1')) shape.pars.append(Parameter('tensor')) shape.retvals.append([Retval('shape', 'long', 'scaler')]) builtins['shape'] = shape size = Module('size') size.args.a...
[ "apple@appledeMacBook-Pro.local" ]
apple@appledeMacBook-Pro.local
97c49ebf21ddfe6640528861bcc202067451dd00
11f4a234a117be785c4007b0fe112fcb6e68eec3
/vectorforge/scripts/example_geojson_points.py
f8ea0c66b8ef7416fa6bf8816cc1fc74596aa721
[]
no_license
escribano/vector-forge
edfd42de7104cbc8000c0a56394ee8bd374fb479
0194dc543a11a3deb4cb8e9470fad7be11ded3af
refs/heads/master
2021-01-22T08:53:04.069168
2016-03-15T10:12:35
2016-03-15T10:12:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
# -*- coding: utf-8 -*- import time import datetime import geojson import sys import traceback from gatilegrid import GeoadminTileGrid from sqlalchemy.orm import scoped_session, sessionmaker from geoalchemy2.shape import to_shape from vectorforge.lib.helpers import printProgress from vectorforge.lib.boto_s3 import s3C...
[ "loicgasser4@gmail.com" ]
loicgasser4@gmail.com
b150aea66bc591e189b33cf0d8f0aa9d5350afed
8ae16d0b53f3b70adab41b307d30148a3b7b6133
/csv_read.py
56bc1dfd50fa8a983b42d8ad2391437544c4817f
[]
no_license
maiorem/python_dataAnalysis
415af6fe401b76e623ba6c336e027d053d8dccc5
a2eb45bfcfb9ed3ae2533c021de1e8537bf2f563
refs/heads/main
2023-03-31T09:28:28.664694
2021-04-04T06:40:02
2021-04-04T06:40:02
354,154,214
1
0
null
null
null
null
UTF-8
Python
false
false
777
py
line_counter=0 data_header=[] employee=[] customer_USA_only_list=[] customer=None with open('customers.csv') as customer_data : while 1: data=customer_data.readline() if not data : break if line_counter==0 : data_header=data.split(",") else : customer=data.s...
[ "maiorem00@gmail.com" ]
maiorem00@gmail.com
c622f6bcbb12b57ff46d554069a6d27270b3e279
210a2a8135585b3eade20b69f7f41ca980690434
/setup.py
64281f3389482e73700394d4434b7af920abb048
[ "BSD-2-Clause" ]
permissive
dteskera/django-filebrowser-suit-skin
4361085d3b7c87c29705d90687720ce25d8f9633
2ab76cc79e603e85b99822dd0d07b5e2445d3ee4
refs/heads/master
2020-06-23T10:06:46.371201
2018-04-10T09:59:02
2018-04-10T09:59:02
74,655,165
0
1
null
2017-03-10T09:46:18
2016-11-24T08:54:49
HTML
UTF-8
Python
false
false
1,309
py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-filebrowser-suit-...
[ "dteskera@gmail.com" ]
dteskera@gmail.com
3f2a68a715af582af96e60f2761bb4744f4ca5ac
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/ACL_PyTorch/contrib/nlp/Transformerxl_large/transformerxl_large_preprocess.py
85138521dc044d589c125b5206763987eff99a80
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
3,677
py
# Copyright 2022 Huawei Technologies Co., Ltd # # Licensed under the BSD 3-Clause License (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://opensource.org/licenses/BSD-3-Clause # # Unless required by applicable law or agreed to in ...
[ "zhengwengang2@huawei.com" ]
zhengwengang2@huawei.com
63984bc3df657a5862395021216a6705551e8f90
921f2cd175ac70108ad31e784dae3b7c56665e3f
/tests/test_error.py
5861aaa87e16980cf7f95fd4b748950ec3d44176
[ "MIT" ]
permissive
iotanbo/iotanbo_py_utils
d7cfa0cf541eb2c4240087f0f1e8c0cf6f8b7a20
96a2728e051b5e5ee601459b4c449b5495768ba8
refs/heads/master
2022-10-21T06:42:30.016717
2021-06-11T10:00:14
2021-06-11T10:00:14
248,735,471
0
1
MIT
2022-10-07T04:44:20
2020-03-20T11:08:55
Python
UTF-8
Python
false
false
5,055
py
"""Test `iotanbo_py_utils.error.py`.""" from iotanbo_py_utils.error import Error from iotanbo_py_utils.error import ErrorKind def test_error_one_of_arithmetic_errors() -> None: errs = ( Error(ErrorKind.ArithmeticError), Error(ErrorKind.FloatingPointError), Error(ErrorKind.OverflowError), ...
[ "61734787+iotanbo@users.noreply.github.com" ]
61734787+iotanbo@users.noreply.github.com
48c02d0bdf8d65a99ab04076c908cfdfaa6cb911
e5cd6e41b82de0d24314b2790cc080341daf89ec
/plimalpliludo.py
4ede8421b8a1c8855d245e823c6f3a62f7f30032
[]
no_license
Emcxjo/Plimalpliludo
6f42b8b79cb655f427331453ea05c90bbc46e136
700f4b3cbd2dda6630773d2410265e02de6c3803
refs/heads/master
2021-01-10T19:40:29.482484
2010-06-05T11:11:34
2010-06-05T11:11:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,108
py
#coding=UTF-8 #jen ludo kie la komputilo kalkulas nombron hazardan inter 0 kaj limo difinita de la uzanto kaj la ludanto devos trovi. #Salutmesaĝo kaj difino de la limo print 'Saluton homo!' limo=input(' Ni ludos ludon kune. La komputilo produktos hazardan nombron inter 0 kaj la limo kiun vi difinos, ekz. 100. Ju pli...
[ "bjokac@gmail.com" ]
bjokac@gmail.com
b930c9bed91f5697d343966ab3f17016e9b85907
9f521a418261c18bd09c077203f24159c8b5f441
/tests/test_field_currency.py
d2a6a702306e03e402512a7648e3a2e9e427b347
[ "MIT" ]
permissive
Minege/dta
cf7ee99ce306799faf307045e84fdb802a3bbe81
8b57eca3dc8b986242bd61d4372fe88faf460544
refs/heads/master
2021-06-23T15:23:53.709102
2017-08-30T14:27:25
2017-08-30T14:27:25
101,292,177
0
0
null
2017-08-24T12:24:37
2017-08-24T12:24:37
null
UTF-8
Python
false
false
795
py
"""Tests for the Currency field.""" import pytest from dta.fields import Currency from dta.records.record import DTARecord FIELD_LENGTH = 3 class CRecord(DTARecord): """Subclass of DTARecord for testing the Currency field.""" field = Currency(length=FIELD_LENGTH) @pytest.mark.parametrize(('value', 'expec...
[ "jennyailin@Macintosh-2.local" ]
jennyailin@Macintosh-2.local
7ec62fa65d189134f96ad76d02130a15a9598acd
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/web/latest/web_app_swift_virtual_network_connection.py
3e8952e7afad52a8498263aaa96cb79bcd78486d
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
test-wiz-sec/pulumi-azure-nextgen
cd4bee5d70cb0d332c04f16bb54e17d016d2adaf
20a695af0d020b34b0f1c336e1b69702755174cc
refs/heads/master
2023-06-08T02:35:52.639773
2020-11-06T22:39:06
2020-11-06T22:39:06
312,993,761
0
0
Apache-2.0
2023-06-02T06:47:28
2020-11-15T09:04:00
null
UTF-8
Python
false
false
6,147
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
f11be6f113de8c6a38dd983e0733508706b708a4
300abb7a767bb5282b5c3165bff29662d62a499b
/King.py
31cfd2cb59d38f5dc9741ffd3cdbd4466d8d900a
[]
no_license
mtroper/chessEngine
badb564f739d6166a41673ec3240f275c4046751
27d799162caef9792319b6b8f4b9accb8eb6e06c
refs/heads/main
2023-04-30T16:57:57.093343
2021-05-14T22:01:30
2021-05-14T22:01:30
358,025,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,051
py
import math class King(): def __init__(self, color, position): # True for white, False for black self.color = color # position is a tuple (row,col) self.position = position def getClass(self): return("King") #returns list of valid moves (row, col)...
[ "austinfujimori123@gmail.com" ]
austinfujimori123@gmail.com
4dd177a8fee804f87eada029ed87069ec35d74d8
d0ffbfc3f1eec4344afacf911c3019c55b9ea1a9
/src/df_files.py
d3943633f0709b68b8324b3df2628b44d9bab91f
[]
no_license
klejim/ArenaEditor
dfbc3c534d99654c6c0c3b19feebaa1e11a0d32f
72c1c6d5c8649112f3929af1606f99425c5f58d4
refs/heads/master
2021-05-11T14:22:14.455838
2018-01-16T15:26:27
2018-01-16T15:26:27
117,701,534
0
1
null
null
null
null
UTF-8
Python
false
false
23,875
py
"""classes and functions for conversion of df files to usable data functions: loadColorScheme(filename) saveColorScheme(colors,filename) classes: Tile : enum for tile types ZLevel Map notes: character tile colours empty '# ', ...
[ "clement.jimenez@outlook.com" ]
clement.jimenez@outlook.com
d5e42271c0c9c4f4137445c35e1ded34b0605485
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/LArCalorimeter/LArCafJobs/python/GetLBsToIgnore.py
d5216ef4195445e6fc9d1d5401447eaec33faf2e
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
8,238
py
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration import sys, string ,re import xmlrpclib from PyCool import cool from CoolConvUtilities.AtlCoolLib import indirectOpen from DQDefects import DefectsDB try: serverfile=open("/afs/cern.ch/user/l/larmon/public/atlasdqmpass.txt") password=serv...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
51f33cc29c4bf5e9a4b13ce80679ec1ace1b8c61
a298d0b4a3e9e12170651a6bf728093b4badfac7
/LeetCode/394 - Decode String/decodeString.py
98d734f3743b24e348b307092d67a1c6b79350b9
[]
no_license
gavinz0228/AlgoPractice
fc8ecd194ea2d26de59df45909838161c802b8cd
1cb183a326a0612a5cd941778500a8265e1d7255
refs/heads/master
2022-07-27T11:42:06.887668
2022-07-18T20:38:31
2022-07-18T20:38:31
172,929,652
1
0
null
null
null
null
UTF-8
Python
false
false
1,021
py
class Solution(object): def decodeString(self, s): """ :type s: str :rtype: str """ return self.getString(s)[0] def getChars(self, s): if not s: return "","" if ord(s[0]) > 57: for i in range(len(s)): if...
[ "gavinz0228@gmail.com" ]
gavinz0228@gmail.com
8103fc2fd988bceb71dd6907f4767bcecc31e4f8
4ba5f4bddc7585aab87fba61893449f13657ebf3
/ex3.py
43c1452d6fae4ac9f2744621d017f485b530e1bf
[]
no_license
StanPOF/POFLab
15415fed4a06de720f89b2c231ad65496f7f38e5
393bde9f393684d3be2c9c7b547a9e5c765dc51b
refs/heads/master
2021-01-11T14:38:52.117469
2017-02-02T05:51:30
2017-02-02T05:51:30
80,185,182
0
0
null
null
null
null
UTF-8
Python
false
false
474
py
print "I will now count my chickens:" print "Hens", 25 + 30 / 6 print "Roosters", 100 - 25 * 3 % 4 print "Now I will count my eggs:" print 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6 print "Is it true that 3 + 2 < 5 - 7?" print 3 + 2 < 5 - 7 print "What is 3 + 2?", 3 + 2 print "What is 5 - 7?", 5 - 7 print "Oh, that's why...
[ "noreply@github.com" ]
noreply@github.com
3d7225d0c091a6cd0531b7fb78b41740c76b712f
8803260cc96c4aff6fb80585a4e00f35bed4876f
/lib_coordinates.py
3b67234c8c68cb1ffa11b6e60b47e7a5e03e80fc
[]
no_license
gpapad14/StarProjectNPAC
9d513d8d85e1a9a9876740d9b55b65eb8dde3bc1
74fee8381f716d5c1953a1d1e51286dad1ff19a0
refs/heads/master
2020-03-30T17:39:52.509468
2018-10-07T18:41:21
2018-10-07T18:41:21
151,464,788
0
0
null
null
null
null
UTF-8
Python
false
false
167
py
import lib_wcs import lib_stars def getcelcoord(cluster, wcs): peak_pixel = lib_wcs.PixelXY(cluster.y, cluster.x) return lib_wcs.xy_to_radec(wcs, peak_pixel)
[ "gpapad14@hotmail.com" ]
gpapad14@hotmail.com
d765b5aee32a543342ca64e07e232db7c612cd1a
717579c6d0f604932154096df85d7fef19ba1534
/scraper.py
981c68ab704f9ab8905bd2e0510cf92676ec6ca8
[]
no_license
BWARSRCH/funda-amsterdam
302cbfc06ad8c5f344986f47fd8d62773ebb86bd
b44697f4d92f60818196b986eba50b2f5d20b060
refs/heads/master
2020-05-18T11:10:07.220038
2014-04-02T14:01:45
2014-04-02T14:01:45
18,368,317
0
2
null
null
null
null
UTF-8
Python
false
false
2,249
py
import BeautifulSoup, scraperwiki, datetime scraperwiki.metadata.save('data_columns', ['id', 'date', 'street', 'city', 'postcode', 'livingspace', 'otherspace', 'price']) city = 'amsterdam' minPrice=str(200000) maxPrice=str(400000) minOpp=str(75) fundaUrl = 'http://www.funda.nl' # startUrl = fundaUrl + '/koop/' + cit...
[ "frans.versluis@bwaresearch.com" ]
frans.versluis@bwaresearch.com
2333fef0effc882199ab00b33b3a388f1f1ccbdd
6318f1458f9c6cca91cb00aa415638a599d8ba26
/interviewPractice/python/01_arrays/03_rotateImage.py
40d959cb845c4c5e978f5f6cee80d852dff041f1
[ "MIT" ]
permissive
netor27/codefights-solutions
836016a048086cd2bc644b2c40b7686102b6f179
69701ab06d45902c79ec9221137f90b75969d8c8
refs/heads/master
2021-10-28T13:04:42.940059
2019-01-16T23:12:08
2019-01-16T23:12:08
110,753,675
0
0
null
null
null
null
UTF-8
Python
false
false
1,228
py
'''' ote: Try to solve this task in-place (with O(1) additional memory), since this is what you'll be asked to do during an interview. You are given an n x n 2D matrix that represents an image. Rotate the image by 90 degrees (clockwise). Example For a = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] the output should ...
[ "ernesto@britecore.com" ]
ernesto@britecore.com
14d3e4f6cf5084f3af52fb1f33cb9d01e62b7ef4
5b29ed8a6d7db201ebed3d2fe2ffc74fc47dbd93
/fablinker/__init__.py
ed48a3c3026ba101764c5fb0540276f817ae46aa
[]
no_license
zhxd163/fablinker
42b67b10c0eb7e58d3b2567a993c7257b023aca3
f94449545af24f0640abac8cad5bc077c95afc09
refs/heads/master
2020-09-23T18:24:22.343751
2019-11-22T06:21:34
2019-11-22T06:21:34
225,557,850
2
1
null
2019-12-03T07:30:47
2019-12-03T07:30:46
null
UTF-8
Python
false
false
77
py
#!/usr/bin/env python # -*- coding: UTF-8 -*- from fablinker.cli import main
[ "ligangc@zbj.com" ]
ligangc@zbj.com
ec2f2582c70d1edf018923981839254e5cc522e2
5ba859cfe865fa6fe2ce445177df24b3b70a5242
/core/migrations/0037_auto_20161016_0247.py
2013bd0225a7788bdf31bd5ca303fd9038e3b2b8
[]
no_license
tonifc007/FixCodeProject
a718d2aef342ba106498b4e09bf4b5a617b014ef
09478c034ef4f87c2b291da70ab710548ff2bfd0
refs/heads/master
2020-05-26T17:11:52.000766
2017-02-19T23:34:22
2017-02-19T23:34:22
82,497,438
0
0
null
2017-02-19T23:32:35
2017-02-19T23:32:35
null
UTF-8
Python
false
false
606
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-10-16 05:47 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0036_profile_habilidades'), ] operations = [ migrations.AddField( ...
[ "diegofernando5672@gmail.com" ]
diegofernando5672@gmail.com
52282418fcdbfaa105e7c52e8a98f8a7b2e2549e
639c149da64ccea9e760d3c2d11ec791a6ee3eac
/apps/api/utils.py
c3a7e9ed6f94bbc5ecad9b033e26d1604d2eb6ee
[]
no_license
happyyst/django_rest
4bfc141562f233c29c70e40e0d47100d9954b201
3a43d9da3aca1fd2a6c8c31082755a62185d4729
refs/heads/master
2021-01-04T22:38:53.916961
2015-09-01T11:27:27
2015-09-01T11:27:27
41,723,219
0
0
null
null
null
null
UTF-8
Python
false
false
579
py
# -*- coding: utf-8 -*- __author__ = 'Kinslayer' import pkgutil def import_submodules(context, root_module, path): """ Import all submodules and register them in the ``context`` namespace. >>> import_submodules(locals(), __name__, __path__) """ for loader, module_name, is_pkg in pkgutil.walk_pac...
[ "john.yang@zhongkeyun.com" ]
john.yang@zhongkeyun.com
d19550f9599a76b7748b449a0fa00516de645085
32207ea94739e882fef82c05a79e75fdd0f94bb4
/do_auth.py
9220fb7761b6d8652edb30174c5bf383a11bafd7
[]
no_license
lleeoochen/library-room-reserve
f578328da784a15b2e54db5509b55e9be267b44a
ee3c1db483a20aab6687dd73f37f2cacbf826163
refs/heads/master
2020-04-07T04:15:18.574378
2019-04-15T18:24:04
2019-04-15T18:24:04
158,047,169
0
0
null
null
null
null
UTF-8
Python
false
false
66
py
from src import email_confirmation email_confirmation.authorize()
[ "yash_rane@umail.ucsb.edu" ]
yash_rane@umail.ucsb.edu
8f9b74e584166ea6b796806111f5fc467dbaebf4
f36b733f9c24d4cabd0d3354e0344094fbf3c026
/a10_saltstack/helpers/helper_modules/a10_cgnv6_lsn.py
cd9e9303c79271c0cf98e7829c74d1a2739c5a8a
[ "Apache-2.0" ]
permissive
a10networks/a10-saltstack
08e13647e0187b09500ed3d9053ae06e7e808746
0d86043b1d09e75ea170e72fac5068254fc4037c
refs/heads/master
2021-03-19T16:11:14.211706
2019-07-24T17:18:04
2019-07-24T17:18:04
123,501,933
2
3
null
2019-07-24T17:18:05
2018-03-01T22:55:53
Python
UTF-8
Python
false
false
2,223
py
# Copyright 2019 A10 Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "thompson.grey.hunter@gmail.com" ]
thompson.grey.hunter@gmail.com
5a7534ea0e83388e6fada6a81813e1d19cb2fd8d
dc230db042fee4627e0a2197dfd6177938c25c98
/src/GUM_Dispenser/GUM_Exceptions.py
9944a42d06f8b81f609922f91d1a856c06862147
[ "MIT" ]
permissive
jrdnfike/GUM_Dispenser
919c392e128f65a395daa044280ff88ed64174e4
b2655339445af4b1fb328676e2ec9f239dcd6bfc
refs/heads/master
2021-04-26T09:05:07.459694
2017-10-15T18:33:41
2017-10-15T18:33:41
106,972,783
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
class InvalidSourcePathError(Exception): pass class ConfigurationNotFoundError(Exception): pass class PackageNotFoundError(Exception): pass class SourceModuleNotFoundError(Exception): pass class UserConfirmedInvalidSetup(Exception): pass
[ "jrdnfike@gmail.com" ]
jrdnfike@gmail.com
c3275da4f713a1554579c46abfaa00d358223b0d
efd575a4e72fdd3d6e4651b2c1e00639408e39f9
/collective/geo/polymaps/interfaces.py
90e91b1d5ea0bae6b1b9779381886b7744413027
[]
no_license
collective/collective.geo.polymaps
a6688736721e67a4305e263ac4876328f7b15ad8
19ac75336aadec5471054a5e36787c80b94fc9cc
refs/heads/master
2023-08-21T21:36:53.436458
2013-04-02T13:58:50
2013-04-02T13:58:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
from zope.interface import Interface from plone.theme.interfaces import IDefaultPloneLayer from zope.viewlet.interfaces import IViewletManager class ICGPolymapsLayer(IDefaultPloneLayer): """Marker interface that defines a Zope 3 browser layer. """ class IJsonPolymapsViewlet(Interface): """Marker interface...
[ "nan010@db7f04ef-aaf3-0310-a811-c281ed44c4ad" ]
nan010@db7f04ef-aaf3-0310-a811-c281ed44c4ad
ede9c98e4a756da20b3a94048bcfbcb04cffe0e4
b4034b7ffb4609d7abe6ebafaf75f3255698c96c
/Building-Django-2.0-Web-Applications/untitled/news/views.py
f46dd1c4e4ec5de577d19d0a76d417dd51fa3548
[ "MIT" ]
permissive
manhtien998/Doucument
14249035a0de6cc4365d94231cdf3f8b18c70f0d
48da861b08a77f06656d9435eab592beb73f1fb9
refs/heads/master
2020-12-31T22:39:43.669711
2020-03-01T12:27:42
2020-03-01T12:27:42
239,052,496
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
from django.shortcuts import render from django.http import HttpResponse from .forms import PostForm # Create your views here. def index(repuest): return HttpResponse('hello') def add_post(request): a = PostForm() return render(request,'news/add_news.html',{'f' : a}) def save_news(request): if reques...
[ "manhtien998@gmail.com" ]
manhtien998@gmail.com
47034d28ba06cc183cdbfb5531306c01035a5159
063efc6d7382bd195fef1f50a1bdd07eed87b320
/src/middlewares/__init__.py
adf12faaec0b86d187dce1d31bdf86204c0ad9ff
[]
no_license
JavierNafa/Notes-Python-REST-Api
e8b5e1bb6397cea8429a8d5b8bd64be9dd8323c2
6901f11a1f17420ab3244af3f7af89fb62238946
refs/heads/master
2023-02-23T23:11:02.797665
2021-02-04T00:17:33
2021-02-04T00:17:33
326,835,228
0
1
null
null
null
null
UTF-8
Python
false
false
31
py
__all__ = ['schema_validator']
[ "javier.navarrete@metricamovil.com" ]
javier.navarrete@metricamovil.com
b032bab5b656e6bb9d18d5ee3d3dded0406cb869
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-ocr/huaweicloudsdkocr/v1/model/recognize_thailand_license_plate_request.py
c1acf5879b063b5598ca85dc49a3cc438cd447aa
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
6,709
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class RecognizeThailandLicensePlateRequest: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): Th...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
e7abbb613c1cb61b46c5033134cb72dac3a0d60e
efc16a4ba43dbd11dee51a4ba95e98e7d8cf1c49
/facturacion/models.py
99469e99196851e9331b436f9f81200af1544d74
[]
no_license
mashd3v/django_purchaseAndAcquisitionSystem
6ec35d530a682a123c22db0fe479b5b9325f0d8e
828cd1e86cf228436073c8f51ffb27d6833e79e3
refs/heads/master
2022-10-01T21:54:02.834133
2020-06-07T01:30:46
2020-06-07T01:30:46
262,691,407
1
0
null
null
null
null
UTF-8
Python
false
false
3,377
py
from django.db import models from django.db.models.signals import post_save, post_delete from django.dispatch import receiver from django.db.models import Sum from bases.models import ModelClass, ModelClass2 from inventario.models import Product class Customer(ModelClass): NAT = 'Natural' JUR = 'Juristic' ...
[ "qk_leugim96@hotmail.com" ]
qk_leugim96@hotmail.com
da9182fe589d50f10ece38e673ad6d69d88359cb
008552a04cb2a25d81d6b4a189389da34ff8990e
/suggestionsApi/suggestionsApi/asgi.py
21633a26f855fd6809fee2f2b1999f37224357ef
[]
no_license
VicNeto/suggestions_api
180f1293205e1a5e498c73f8691ccb9c8d51a8b6
dbebcd8a19b3c8b3e05f2b4fbe5b97a416e66327
refs/heads/master
2021-06-30T05:40:58.088505
2020-02-15T03:33:43
2020-02-15T03:33:43
240,398,008
0
0
null
2021-06-10T22:34:34
2020-02-14T00:43:31
Python
UTF-8
Python
false
false
405
py
""" ASGI config for suggestionsApi project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANG...
[ "victor.nedi@gmail.com" ]
victor.nedi@gmail.com
791ee65e5f3b5b0ea6c68cf346f4ef459e398542
241d5e206b6a25e05a36300ca42de89f152a3e39
/product/views.py
779f1dfb7fcd14df842d3a3038d7d43732d41357
[]
no_license
AbaiIliiazov/Rest-Api-Graduation-Project
87a6ab632d40d7a7adec74f492dd32c4939f3955
9453a27adc51b122fd837cde5d91484ef41331fe
refs/heads/main
2023-03-15T10:59:58.097925
2021-03-18T05:24:56
2021-03-18T05:24:56
348,946,208
0
0
null
null
null
null
UTF-8
Python
false
false
1,123
py
from rest_framework import status from django_filters.rest_framework import DjangoFilterBackend from rest_framework.permissions import IsAuthenticated from rest_framework.viewsets import ModelViewSet from product.filters import ProductFilter from product.models import Product from product.serializers import ProductSeri...
[ "kivamolbulak@gmail.com" ]
kivamolbulak@gmail.com
7bced17a754b33e543977c6ceb96b1a9f56a8e26
0fabf5d41497cf1c8f39f91161a84448d5b91c5f
/Hw10P4.py
cbdd47ea36466fc2f46707897ae0e929c6ce83e1
[]
no_license
dasha-pokutnaya/HPM573_Pokutnaya_Hw10
e4f5f8c3775272f3921fa3d3bb1c187efbf506d6
fd87dd12ab598975e2b606e5c2e5e719ff657a89
refs/heads/master
2020-03-11T12:06:35.130490
2018-04-18T02:08:16
2018-04-18T02:08:16
129,987,887
0
0
null
null
null
null
UTF-8
Python
false
false
820
py
import SupportMarkovModelHw10 import InputDataHw10 import ParameterClassesHw10 as Settings import scr.FormatFunctions as F import scr.EconEvalClasses as Econ # CBA if Settings.Therapies.ANTICOAG: NBA = Econ.CBA( strategies= Settings.Therapies.ANTICOAG, if_paired=True ) e...
[ "noreply@github.com" ]
noreply@github.com
60e91f2e1ad2d579f4573dfde521a2e9d2880966
4045f3f8ac8ef019af47eb8a32145cac8313a303
/blog_flask/main/routes.py
1ed7445c5c644f1d44a3b12610f59f7d167cde82
[]
no_license
vrahul1997/flask_blog
5502de4e582ba11eedfa87ff114ce93ce2523ce0
d02b8e36f8bad15e3667ba3938af844887264ad5
refs/heads/master
2023-04-08T16:24:44.588245
2021-04-21T19:50:26
2021-04-21T19:50:26
285,588,086
0
0
null
null
null
null
UTF-8
Python
false
false
464
py
from flask import Blueprint, render_template, request from blog_flask.models import Post main = Blueprint("main", __name__) @main.route("/") @main.route("/home") def home(): page = request.args.get("page", default=1, type=int) posts = Post.query.order_by( Post.date_posted.desc()).paginate(page=page,...
[ "vijayvenu1997@gmail.com" ]
vijayvenu1997@gmail.com
6d49fc4df7c3b8e4dd925d25afe79a6b324151f9
78b160d8131f3c4b7aef0d051b040825a9c50e0d
/algoexpert/threeNumberSum.py
864ca5a9c129c8a28975b66b5644991a336c3890
[ "MIT" ]
permissive
ardakkk/Algorithms-and-Data-Structures
744f8c9ffb233b95040e5bdcbddb9f5d2ff7a5ba
c428bb0bd7eeb6c34448630f88f13e1329b54636
refs/heads/master
2021-07-08T22:40:40.361282
2020-07-20T10:39:58
2020-07-20T10:39:58
156,005,721
0
0
null
null
null
null
UTF-8
Python
false
false
657
py
# Time: 0(n^2) | Space: O(n) def threeNumberSum(array, target_sum): array.sort() triplets = [] for i in range(len(array) - 2): left = i + 1 right = len(array) - 1 while left < right: current_sum = array[i] = array[left] + array[right] if current_sum == target...
[ "ardakfuse@gmail.com" ]
ardakfuse@gmail.com
bc9cd637fabfbf1772c352990efe31027e4ed06c
69577c8341ba5952305ffc64e4780af462f64a95
/Mine/app/migrations/0004_remove_users_phone.py
a1d01979917ebd0b5c7683e15843ddf79ba7c042
[]
no_license
Fuweiguo/Wines
2d0e2c32c66ed153ebe2339774e408ff617a1f09
56f5704bd3f30da9e364b71a5fe1b39a7de12420
refs/heads/master
2020-04-28T23:00:43.731693
2019-03-19T05:55:49
2019-03-19T05:55:49
175,638,680
0
0
null
null
null
null
UTF-8
Python
false
false
374
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2019-03-15 04:23 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app', '0003_users'), ] operations = [ migrations.RemoveField( model_nam...
[ "2843249419@qq.com" ]
2843249419@qq.com
1b0f531be6f88821e12f5db748ff9bf30f738f29
8bc9bd6f64a024ef236a69522982f5e291cc2e49
/PayJoy/manage.py
826012fb3793ee83fb1bf8901bb3ceba6312e97f
[]
no_license
yinguohang/payjoy-server
94e228d1f1a793769ddc83bae0c3f03f117785ae
a3d133f203f158faf3316d9ffe8749afc7a46552
refs/heads/master
2021-01-10T01:05:52.140934
2015-11-09T07:11:18
2015-11-09T07:11:18
45,821,223
2
1
null
null
null
null
UTF-8
Python
false
false
249
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "PayJoy.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
[ "jinglingshen@126.com" ]
jinglingshen@126.com
ac563116caaf0fd04a8dc147dae27c0f347f95fe
75fa11b13ddab8fd987428376f5d9c42dff0ba44
/metadata-ingestion/tests/integration/git/test_git_clone.py
3436c692f5d95399a53d6f910545ab484c6be3d1
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference", "BSD-2-Clause", "MIT" ]
permissive
RyanHolstien/datahub
163d0ff6b4636919ed223ee63a27cba6db2d0156
8cf299aeb43fa95afb22fefbc7728117c727f0b3
refs/heads/master
2023-09-04T10:59:12.931758
2023-08-21T18:33:10
2023-08-21T18:33:10
246,685,891
0
0
Apache-2.0
2021-02-16T23:48:05
2020-03-11T21:43:58
TypeScript
UTF-8
Python
false
false
3,961
py
import os import pytest from pydantic import SecretStr from datahub.configuration.common import ConfigurationWarning from datahub.configuration.git import GitInfo, GitReference from datahub.ingestion.source.git.git_import import GitClone LOOKML_TEST_SSH_KEY = os.environ.get("DATAHUB_LOOKML_GIT_TEST_SSH_KEY") def t...
[ "noreply@github.com" ]
noreply@github.com
2cffea98d101432b18af748076f170bb46b0f0c2
4aa40e0f6049cbfce6b7aa731109987da1e948b2
/src/api/server/flask_app.py
b41a5d2744c9c4878a7225a66bea0123616e5f5e
[]
no_license
aszubarev/sanic-example
0d22a31b5bf8ae39778b423dc5dfc8258b4f5da0
9bb9c4c480ed8b2a4bc7e1e0296c3d1b93d3ea0c
refs/heads/master
2023-03-04T07:37:14.994568
2018-04-06T11:17:55
2018-04-06T11:17:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
from flask import Flask import logging log = logging.getLogger('werkzeug') log.setLevel(logging.ERROR) app = Flask(__name__) @app.route('/') def hello_world(): return 'hello' if __name__ == '__main__': app.run(host='0.0.0.0', port=9000, debug=False)
[ "ya.zubarevanton@yandex.ru" ]
ya.zubarevanton@yandex.ru