blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
f1dccbdcfb1da2093cf6af30613dd783bccbba79
8e23bb0db70619d9db02fc3ad29b77918554af20
/examples/00-load/create-poly.py
3d61ac8aa997ddb177b76ed2b244b5db84e3299e
[ "MIT" ]
permissive
zaknbur/pyvista
77dccd6dde1b6c349d5f3aeb5f9cda9a26caf91f
f9c19b33d50b6e6c13d290eb899d2e908896e3c5
refs/heads/master
2020-06-15T20:40:59.845763
2019-07-03T05:03:48
2019-07-03T05:03:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
""" .. _ref_create_poly: Create PolyData ~~~~~~~~~~~~~~~ Creating a PolyData object from NumPy arrays """ import numpy as np import pyvista as pv ############################################################################### # A PolyData object can be created quickly from numpy arrays. The vertex array # contain...
[ "banesullivan@gmail.com" ]
banesullivan@gmail.com
32b9227ebe3c5a52281596a9230afff9f1137612
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_011/ch42_2019_06_04_20_34_03_004455.py
726bbf6be79f9a610956ec9682867edee5085153
[]
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
183
py
def quantos_uns(numero): n = str(numero) uns = 0 i = 0 while i < len(n): a = n[i] if a == 1: uns +=1 i += 1 return uns
[ "you@example.com" ]
you@example.com
5f57f6744cecc5ccb19fdc0d75e2d1247e3a1f8a
bb2684d78f13554ba72ae067dddad1241d0e33cc
/tests/test_doc_document.py
0ebec6ae682ead7f8e4ca0abff03a099a311690d
[ "MIT" ]
permissive
alvarovm/ChemDataExtractor
27abe785a5465c2e7668c3308aa820b13817cc63
f5422824b1dfc6976d88b79b789c53d1bbcfa230
refs/heads/master
2021-01-11T14:38:40.220851
2017-01-22T22:49:18
2017-01-22T22:49:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,155
py
# -*- coding: utf-8 -*- """ test_doc_document ~~~~~~~~~~~~~~~~~ Test the Document class. :copyright: Copyright 2016 by Matt Swain. :license: MIT, see LICENSE file for more details. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import ...
[ "m.swain@me.com" ]
m.swain@me.com
361b2120abf1b5f0c0bb605b46f29ea77d1f68ae
05100b9198327653489f36280edaa944f4e6065d
/OmegaBlynkTest.py
a520d1e1405a1bfcc1d7a9eb2823c0348a206448
[]
no_license
youngsoul/BlynkLib
794c0e7165e1a7335928c035652ce14e94695fa7
c5745add2d121866a6a6ed3fce88b6b47cca414f
refs/heads/master
2021-01-17T15:03:45.803019
2017-06-23T15:28:56
2017-06-23T15:28:56
83,621,770
7
3
null
null
null
null
UTF-8
Python
false
false
2,096
py
import BlynkLib import time import logging import random import OmegaGPIOHelper logging.basicConfig(level=logging.DEBUG) gpio = OmegaGPIOHelper.OmegaGPIOHelper() def user_task_handler_2(task_state, blynk_ref): logging.getLogger().debug("user_task_handler_2: {}".format(time.time())) logging.getLogger().debug...
[ "theyoungsoul@gmail.com" ]
theyoungsoul@gmail.com
a775ddd9040bd17a2865af46792d03bc7776a187
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_vulvae.py
de05de65fd4fa30e90822d49ddd4869af93baae8
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
from xai.brain.wordbase.nouns._vulva import _VULVA #calss header class _VULVAE(_VULVA, ): def __init__(self,): _VULVA.__init__(self) self.name = "VULVAE" self.specie = 'nouns' self.basic = "vulva" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cffa7e64f2a68046cf5255c296ebdb0fd4fe9a8d
fc8137f6a4df69640657a0af5d7201de3c6eb261
/accepted/Shortest Palindrome.py
3d2d52334bd8eab2f837d01f54e3c5f1339f04e4
[]
no_license
hustlrr/leetcode
68df72b49ee3bbb9f0755028e024cc9fea2c21aa
56e33dff3918e371f14d6f7ef03f8951056cc273
refs/heads/master
2020-04-12T08:14:25.371761
2017-01-01T12:19:34
2017-01-01T12:19:34
77,119,341
4
1
null
null
null
null
UTF-8
Python
false
false
516
py
# coding=utf-8 class Solution(object): def shortestPalindrome(self, s): """ :type s: str :rtype: str """ concate = s + '#' + s[::-1] p = [0 for _ in range(len(concate))] # 记录前后缀共同字串长度 for j in range(1, len(concate)): i = p[j - 1] while ...
[ "823729390@qq.com" ]
823729390@qq.com
bce5d696589a5e06944791664c977389c3a1dbf5
7137161629a1003583744cc3bd0e5d3498e0a924
/tests/providers/samba/hooks/test_samba.py
4fb36d8ca9f9442f5d87b38d087e14e5067ec111
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
jbampton/airflow
3fca85975854eb916f16143b659a9119af143963
dcfa14d60dade3fdefa001d10013466fe4d77f0d
refs/heads/master
2023-05-25T22:31:49.104069
2021-09-18T19:18:32
2021-09-18T19:18:32
247,645,744
3
0
Apache-2.0
2020-03-16T08:12:58
2020-03-16T08:12:57
null
UTF-8
Python
false
false
4,500
py
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
[ "noreply@github.com" ]
jbampton.noreply@github.com
7e3463c3990c906b931a640fd5e26d44e1d2c235
44064ed79f173ddca96174913910c1610992b7cb
/Second_Processing_app/temboo/Library/Google/Documents/ToggleProperties.py
f57d563696bc71a6501cdb36a87b4c0fbbaa8a74
[]
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
3,237
py
# -*- coding: utf-8 -*- ############################################################################### # # ToggleProperties # Toggle settings for a document or file on or off, depending on its current state. # # Python version 2.6 # ############################################################################### from...
[ "dattasaurabh82@gmail.com" ]
dattasaurabh82@gmail.com
fffd4f4968592092e78bf2996c9f4ad13ea2e360
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/OpenGL/GL/NV/vertex_buffer_unified_memory.py
3bd5a5ba44c47da6d2913ab8aaaa3db5078ff84a
[ "MIT" ]
permissive
juso40/bl2sdk_Mods
8422a37ca9c2c2bbf231a2399cbcb84379b7e848
29f79c41cfb49ea5b1dd1bec559795727e868558
refs/heads/master
2023-08-15T02:28:38.142874
2023-07-22T21:48:01
2023-07-22T21:48:01
188,486,371
42
110
MIT
2022-11-20T09:47:56
2019-05-24T20:55:10
Python
UTF-8
Python
false
false
1,516
py
'''OpenGL extension NV.vertex_buffer_unified_memory This module customises the behaviour of the OpenGL.raw.GL.NV.vertex_buffer_unified_memory to provide a more Python-friendly API Overview (from the spec) This extension provides a mechanism to specify vertex attrib and element array locations using GPU addresse...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
17331523b2b62de18c32fc142d83491dbcb562e6
60b6513e607187e9886e0239ba9e430cdb8926ca
/python/2VideoCapture.py
4a1b7d3a895bc6666bff05805da02829e94ead9d
[]
no_license
ydwisroad/opencvinaction
81f32eb590070d66b47d92a089ea97b54b346eb6
cc98409f08b70a6abd14549b06de4c285332f917
refs/heads/master
2022-11-30T04:27:47.192664
2020-08-08T08:21:11
2020-08-08T08:21:11
282,236,370
0
0
null
null
null
null
UTF-8
Python
false
false
566
py
import cv2 #opencv读取的格式是BGR import matplotlib.pyplot as plt import numpy as np videoPath = '../data/tliangsetvideo.mp4' vc = cv2.VideoCapture(videoPath) open = False # 检查是否打开正确 if vc.isOpened(): open, frame = vc.read() else: open = False while open: ret, frame = vc.read() if frame is None: ...
[ "wandf12345@163.com" ]
wandf12345@163.com
0d28badcc55ae6d273fd0a2b4941876dad11876b
61587071621eefd6dd0f549d618753d769eededc
/src/pages/gabriel/esporteemidia.py
881a42ce660501f192e1bc013e94099e0dfeeeb8
[]
no_license
diegothuran/rss3
df1e9e07b0552eb8bdbe6131235df3b991ddbabc
3177cf768047ced21e38a060d2306cd028e752fb
refs/heads/master
2022-12-07T19:53:14.609867
2019-02-10T20:15:13
2019-02-10T20:15:13
145,567,411
0
0
null
2022-11-22T02:50:19
2018-08-21T13:25:00
Python
UTF-8
Python
false
false
715
py
# coding: utf-8 import sys sys.path.insert(0, '../../src') from bs4 import BeautifulSoup import requests GLOBAL_RANK = 171807 RANK_BRAZIL = 6506 NAME = 'esporteemidia.com' def get_urls(): try: urls = [] link = 'https://www.esporteemidia.com/' req = requests.get(link) n...
[ "victor.lorena@gmail.com" ]
victor.lorena@gmail.com
fa59aaafec24a3d481af30884e88e1836d4ee31f
fe85138c949c6198184c591780831fd2e183a24a
/Hotel_Everland/project/appliances/stove.py
7cf45b6edbaf841a72f51d8cfb51c258dee9b809
[]
no_license
valeri1383/Personal-Python-Projects
e98f6b7171298def019db4e28f6d176a709615cc
b7db81cb44668f549a7fd15de84c0cb23654ac3d
refs/heads/main
2023-05-26T09:02:24.260700
2023-05-22T14:40:28
2023-05-22T14:40:28
337,518,678
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
#from Personal_Projects.Hotel_Everland.project.appliances.appliance import Appliance from project.appliances.appliance import Appliance class Stove(Appliance): def __init__(self): super().__init__(0.7)
[ "noreply@github.com" ]
valeri1383.noreply@github.com
298c3542e5192643aad1ecb0ecbddd069bc410f7
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5658282861527040_0/Python/jeroenvw/B.py
8e0058be192a772ab673665d68c1e3cb2f709625
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
1,359
py
#!/usr/bin/python from __future__ import division import sys, os, subprocess, time, ctypes def line(): return sys.stdin.readline().strip() def doit(): N = int(line()) for i in range(N): print 'Case #%d:' % (i+1), res = go() print res def go(): A, B, K = map(int, line().split...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
fa673ed779bda8b2811f46093de8ce8c680a86c5
acd41dc7e684eb2e58b6bef2b3e86950b8064945
/res/packages/scripts/scripts/client/gui/Scaleform/daapi/view/meta/MinimapGridMeta.py
5af523c50cdb07d90c5540d27e8b105390151436
[]
no_license
webiumsk/WoT-0.9.18.0
e07acd08b33bfe7c73c910f5cb2a054a58a9beea
89979c1ad547f1a1bbb2189f5ee3b10685e9a216
refs/heads/master
2021-01-20T09:37:10.323406
2017-05-04T13:51:43
2017-05-04T13:51:43
90,268,530
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
975
py
# 2017.05.04 15:24:32 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/meta/MinimapGridMeta.py from gui.Scaleform.framework.entities.BaseDAAPIComponent import BaseDAAPIComponent class MinimapGridMeta(BaseDAAPIComponent): """ DO NOT MODIFY! Generated with yaml. __...
[ "info@webium.sk" ]
info@webium.sk
7e1ee4d26c6edf6a7d1531d590177accb0944f88
d8c93d81898012d6a1e9fb8cfa31e69b8cc783d2
/tools/afl/harness.py
eb24f1d0c954bb346a2499091f811b5d822a8ed4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
weijl6819/httpolice
94488095a5ab22078248d288d1367957c1447b7d
1abb20ce3a23dd70109014b2aec0b18bb0f191b0
refs/heads/master
2020-05-02T19:39:44.087345
2019-03-03T11:10:45
2019-03-03T11:10:45
178,165,119
1
0
NOASSERTION
2019-03-28T08:59:59
2019-03-28T08:59:58
null
UTF-8
Python
false
false
341
py
# -*- coding: utf-8; -*- import os import sys import httpolice.cli if __name__ == '__main__': args = httpolice.cli.parse_args(sys.argv) import afl while afl.loop(100): httpolice.cli.run_cli(args, sys.stdout, sys.stderr) # As suggested by python-afl docs. os._exit(0) # pylint: disa...
[ "vfaronov@gmail.com" ]
vfaronov@gmail.com
14d64591cd234c16e11bc44dedf7c294292fcf6c
6b53c21a39236ab70af63df2a93568958f23ba46
/polls/migrations/0001_initial.py
f6c1499b162e485e7519a169021bbeaa80374294
[]
no_license
uiandwe/django_tutorial
bb86ad7a6dd5d5cfca68fab5f93e4f99f3a59ecc
017569117f6091e12cb6bb29400b49debf435ad2
refs/heads/master
2020-04-13T06:00:29.602809
2019-01-19T22:24:53
2019-01-19T22:24:53
163,009,174
1
1
null
null
null
null
UTF-8
Python
false
false
1,165
py
# Generated by Django 2.1.2 on 2018-12-23 18:13 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Choice', fields=[ ...
[ "uiandwe@gmail.com" ]
uiandwe@gmail.com
e9d2488f2f34b6461b4fcfc6ce2a14492eba16dc
cd4f7d491168a14719ad36537e9d2a756814b18f
/celery/tests/app/test_annotations.py
20897ff5d35d1ad1cc3bc41e7152aab1454cf0e0
[ "BSD-3-Clause" ]
permissive
westurner/celery
1b9123fac906800c08ef0a74dd78eeaf4f8667d9
41964f24df4c8ca5d96bf0d644e40778212e10cb
refs/heads/master
2021-01-17T05:35:29.421048
2012-06-07T20:13:06
2012-06-07T20:13:06
4,592,043
1
0
null
null
null
null
UTF-8
Python
false
false
1,331
py
from __future__ import absolute_import from celery.app.annotations import MapAnnotation, prepare from celery.task import task from celery.utils.imports import qualname from celery.tests.utils import Case @task() def add(x, y): return x + y @task() def mul(x, y): return x * y class MyAnnotation(object): ...
[ "ask@celeryproject.org" ]
ask@celeryproject.org
51b9a24471cfffb49d5feb54ed5ed9e75ea16279
9704ae2f88071b40f7584c8391b897275342c940
/tests/features/capture_output_test.py
571c89cd3a7edf8ebd3f0e5dfda973cbc926b469
[ "MIT" ]
permissive
vivster7/pyupgrade
9860ab31eb6a8725a33e147c28c185892a4f5758
de7be58e4b0b34111d7096ddcae957153b697cb9
refs/heads/master
2023-08-12T09:08:28.498344
2021-10-12T02:10:35
2021-10-12T02:10:36
412,884,076
0
0
MIT
2021-10-02T18:46:24
2021-10-02T18:46:24
null
UTF-8
Python
false
false
3,885
py
import pytest from pyupgrade._data import Settings from pyupgrade._main import _fix_plugins @pytest.mark.parametrize( ('s', 'version'), ( pytest.param( 'import subprocess\n' 'subprocess.run(["foo"], stdout=subprocess.PIPE, ' 'stderr=subprocess.PIPE)\n', ...
[ "asottile@umich.edu" ]
asottile@umich.edu
1543ab66dad9e4e936685c3f19a08a36afe352dd
43e303f0a00f7854b9405bb2a2a9ecbad18ae0fa
/venv/lib/python3.7/site-packages/objc/_dyld.py
5a00cb7ef22c839c2102c02e1529425bf9c1aaeb
[ "MIT" ]
permissive
ykhade/Advent_Of_Code_2019
f64005c6e8872c17468f00eac2b247b6fa77c7f5
375ab43104712c5e1c782e5ea5f04073b5f8916c
refs/heads/master
2023-02-26T03:43:47.668384
2022-06-21T03:31:22
2022-06-21T03:31:22
224,943,590
1
1
MIT
2023-02-08T00:45:15
2019-11-30T01:27:48
Python
UTF-8
Python
false
false
4,036
py
""" dyld emulation """ __all__ = [ "dyld_framework", "dyld_library", "dyld_find", "pathForFramework", "infoForFramework", ] import os, sys from objc._framework import infoForFramework # These are the defaults as per man dyld(1) # DEFAULT_FRAMEWORK_FALLBACK = ":".join( [ os.path.expan...
[ "ykhade@nevada.unr.edu" ]
ykhade@nevada.unr.edu
5931da6e621de693f03b90ac6f968fe58292af30
0b9e884be78ecc22a44a94e2c1cabefd637b9ed0
/Python_Talk/mpt-master/ch02/extract_last_name.py
803a0cdeb79e217e676a77193830574a93344346
[]
no_license
marcovnyc/penguin-code
6ba3faa5f21186918e2d08f5a0fcacebb2697e56
a0c1f91219ff74a8bb8e9fd3375b03b667056b54
refs/heads/master
2021-12-22T15:04:26.002512
2021-12-16T04:01:40
2021-12-16T04:01:40
7,264,458
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
email = "John.Smith@uky.edu" pos1 = email.find(".") print(pos1) pos2 = email.find("@") print(pos2) last_name = email[(1 + pos1):pos2] print(last_name)
[ "penguin@penguin.com" ]
penguin@penguin.com
f9021ca1cf0217b497206a1f2838a865d2657ac1
443585e4fc146308b18bc2f9234d0947da38d3e5
/practice/sort_algorithm/quick.py
301569f6c4d420dfda71aa4df345eaef5a7304b2
[]
no_license
ggyudongggyu/20201208commit
b524c4a7fb241cacaacffa5882c55d1d0ccba11f
fbb58a8ed06f454a2a79a9b8c75deabaec62b317
refs/heads/master
2023-02-02T21:59:51.518218
2020-12-24T14:32:21
2020-12-24T14:32:21
319,578,473
0
0
null
null
null
null
UTF-8
Python
false
false
600
py
import random def swap(array, a, b): array[a], array[b] = array[b], array[a] def quick_sorted(arr): if len(arr) > 1: pivot = arr[len(arr)-1] left, mid, right = [], [], [] for i in range(len(arr)-1): if arr[i] < pivot: left.append(arr[i]) elif arr...
[ "donggyu0219@gmail.com" ]
donggyu0219@gmail.com
ad9ea2a4e37bc1fc1c6731208c8042f6ef6f3826
2967a6fa8065ecb68683b0499f66f65b9ab646c1
/Programowanie_obiektowe/7_Funkcja jako obiekt/przyklad_3/main.py
ddc1185032c15260ced9277cfff8b1591cdbbe04
[]
no_license
keinam53/Python_Poczatek
f285836a4aa7d261f25bcc4add253e894c30e65e
ccb05f3918cc94c925055c78627cba28482ce5bb
refs/heads/master
2023-05-01T06:41:56.414754
2021-05-13T19:30:30
2021-05-13T19:30:30
363,479,245
1
0
null
null
null
null
UTF-8
Python
false
false
667
py
from estudent.school import School from estudent.grade_calculator import GradeCalculator def run_example(): school = School.create_school_with_students("Moja szkoła") students = school.students for student in students: print(student) print("-" * 20) # for student in students: # st...
[ "mariusz.baran536@gmail.com" ]
mariusz.baran536@gmail.com
94e28d40f84841f5f016bab63fc774b086e182a6
518c235d86adfd4aa370319425588487ab095001
/parser/app/log_parser.py
07ace7386f2573910fb62ced83ae55a3cf1383f2
[]
no_license
nicolasteodosio/labsparser
135fe087412ecc8ed521f5092592b372bc127a5a
8a0aaff283b13eb945e95c3ec3ed336dfa921974
refs/heads/master
2020-04-17T23:30:00.487672
2019-01-26T19:57:31
2019-01-26T19:57:31
167,037,895
0
0
null
null
null
null
UTF-8
Python
false
false
3,357
py
import rows import re from parser.service.mongo import MongoService class ParsearLog: def __init__(self, log_file, csv_file='parser/samples/log.csv'): self.log_file = log_file self.csv_file = csv_file self.games_count = 0 self.games_kill = 0 self.players = [] self....
[ "nicolas.steodosio@gmail.com" ]
nicolas.steodosio@gmail.com
c4c0c3c601951182b821875e4a2d9f31dcacebd0
bc441bb06b8948288f110af63feda4e798f30225
/capacity_admin_sdk/model/topboard/product_pb2.py
a5747f12e891163816fea2768c0525ddb502f04e
[ "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
true
4,098
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: product.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 as _message from google.protobuf imp...
[ "service@easyops.cn" ]
service@easyops.cn
2768d5da90fef80d7e121c32de763e3bd891e7b4
fd5b85804bcd60c3b0d34f1e1032bcbc57d7eb0b
/market_watch/am730/posts.py
6d43624c88e992072f004e91b6064a1692b40edc
[]
no_license
eggyolktech/marketWatchBot
5ebb4d81a4ebd9849c8c210fb4446fe359e4858b
c5c9fffd9e543dc4f3b7a5573384b5919272aec7
refs/heads/master
2021-11-26T16:23:34.820487
2021-10-22T09:08:28
2021-10-22T09:08:28
84,456,370
2
1
null
null
null
null
UTF-8
Python
false
false
4,527
py
#!/usr/bin/python from time import gmtime from datetime import datetime import json import re import time import requests import hashlib from bs4 import BeautifulSoup from market_watch.telegram import bot_sender from market_watch.redis import redis_pool from market_watch.util import selenium_helper import sys, traceba...
[ "eggyolktech@gmail.com" ]
eggyolktech@gmail.com
01267f04effadb1cff85dd131a10bdae8a88f4dd
55815c281f6746bb64fc2ba46d074ca5af966441
/easy/1784.py
af92810aa304d7b5950cd82143b3e22cac02daff
[]
no_license
brandoneng000/LeetCode
def5107b03187ad7b7b1c207d39c442b70f80fc2
c7a42753b2b16c7b9c66b8d7c2e67b683a15e27d
refs/heads/master
2023-08-30T23:38:04.845267
2023-08-30T08:42:57
2023-08-30T08:42:57
199,584,584
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
class Solution: def checkOnesSegment(self, s: str) -> bool: return '01' not in s def main(): sol = Solution() print(sol.checkOnesSegment("1001")) print(sol.checkOnesSegment("110")) print(sol.checkOnesSegment("101010101010101010110")) print(sol.checkOnesSegment("10000000")) print(sol...
[ "brandoneng000@gmail.com" ]
brandoneng000@gmail.com
9aaa7396cafd4729a0768c3c02f432f0fa10653f
b7844b4d5483774b966785c3b36fd15d1442b913
/project/views.py
2c85a44465ea71552354adadc05623c790755e0f
[ "MIT" ]
permissive
abrusebas1997/FreeTime
f49c26f2e27b74d2b909358305eb2c247aed6907
831af2581f9972f1432cff709b335e1b0a767730
refs/heads/master
2022-12-16T04:34:25.835233
2020-03-24T18:32:44
2020-03-24T18:32:44
249,087,927
1
0
null
2022-12-08T06:19:35
2020-03-22T00:52:24
HTML
UTF-8
Python
false
false
2,870
py
from django.shortcuts import render, redirect from django.views import generic from django.urls import reverse_lazy from project.forms import TopicForm, FoodForm from project.models import Topic, Food from django.http import HttpResponse, HttpResponseRedirect class Home(generic.CreateView): def get(self, reque...
[ "sebastianabarca@Sebastians-MacBook-Pro.local" ]
sebastianabarca@Sebastians-MacBook-Pro.local
b53a98fe8906913e93b2b5478468190b80b85659
a3635ea0c475cc7e4655ed786e870361eede6464
/format/edat/npd_type.py
b2296f7c3bd416a8d80708fc0b057f5b4039a5a2
[]
no_license
Nicba1010/PS-Tools
91802ce37309ef0dcd52771a8c2c0c3c2f6c4a8b
2c2b7a83b4bea39be4459bb980adfd37bd44c2be
refs/heads/master
2020-04-14T00:25:09.976960
2019-03-05T09:14:12
2019-03-05T09:14:12
163,532,843
4
0
null
null
null
null
UTF-8
Python
false
false
158
py
from aenum import Enum class NpdType(Enum): FINALIZED_EDAT = 0x00 FINALIZED_SDAT = 0x01 NON_FINALIZED_EDAT = 0x80 NON_FINALIZED_SDAT = 0x81
[ "nicba1010@gmail.com" ]
nicba1010@gmail.com
6d7947b3c3ac88f83ce2751cc63cc70690c2b0e0
e12edf6cde9670eb3d4f1596cd648fddefaf480f
/miscellaneous/advent-of-code/2022/boilerplate.py
064f5d1951cf29dc5259b9fd47ea9e5b4e516289
[]
no_license
VitamintK/AlgorithmProblems
7a7786a0377a236f5cc82ae3b623ecad7f0eb025
34da53e2e7d3b5964bafd1f3edb2e00dea9a729d
refs/heads/master
2023-06-29T00:56:53.360829
2023-06-14T16:33:14
2023-06-14T16:33:14
25,510,479
11
4
null
null
null
null
UTF-8
Python
false
false
1,403
py
from collections import defaultdict, deque, Counter # d = deque() # d.append(5) # x = d.popleft() import re # m = re.match(r"(\w+) (\w+)", "Isaac Newton, physicist") # # or re.search # >>> m.group(0) # The entire match # 'Isaac Newton' # >>> m.group(1) # The first parenthesized subgroup. # 'Isaac' # >>> m....
[ "kevinwang@kevinwang.us" ]
kevinwang@kevinwang.us
ea6dbb5e365e23ad992843a86ca9e716993de788
8e7c006a81ebbbc60c6750dbb562ebb071a1d8aa
/opencv/image-proc/thresholding/threshold-demo.py
216a91d1726fb1962090311539dd573a3f418e61
[]
no_license
xueyangfu/tensorflow-learning
8b65dbc0e3a437ed2a14b4987c8fe7848ed2a6c4
ec477ac02ae5c2506819a7f8c147e3774baa3a4a
refs/heads/master
2021-05-15T16:32:05.194502
2017-01-30T12:24:46
2017-01-30T12:24:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
809
py
# -*- coding: utf-8 -*- # 阈值操作 import cv2 import numpy as np from matplotlib import pyplot as plt img = cv2.imread('../../../datas/images/fish.jpg') ret,thresh1 = cv2.threshold(img,127,255,cv2.THRESH_BINARY) ret,thresh2 = cv2.threshold(img,125,255,cv2.THRESH_BINARY_INV) ret,thresh2 = cv2.threshold(img,127,255,cv2.THR...
[ "kkoolerter@gmail.com" ]
kkoolerter@gmail.com
8a892a0474db64330d1781d5663d3b152b353b5d
2eab4a6fa0b525dc49fe06fd3c8f4e56dabe2ad2
/python/You're a square!.py
010fa0d881fac7cd90fd89d06e6e63035bb478f5
[]
no_license
bthowe/codewars
6563aa2c49bb876d3945620a27f95940f75130c6
fea2593c24b9e7f89ee33d1afb31581364e6f567
refs/heads/master
2020-07-01T02:59:35.113100
2017-02-06T19:57:34
2017-02-06T19:57:34
74,102,013
0
1
null
null
null
null
UTF-8
Python
false
false
188
py
def is_square(n): # if n<0: # return False # return n**.5 - int(n**.5)==0 return (n>=0) and (n**.5 - int(n**.5)==0) if __name__=="__main__": print is_square(-1)
[ "b.travis.howe@gmail.com" ]
b.travis.howe@gmail.com
dbd81d1297a455dc67f4b19cacbd01b677a4e777
75592c882e6283e42cb92310690a1edebb74e00a
/src/knowrob_semantic_map_tools/semantic_map/prolog/Client.py
23e74d62ae23321781a0a7e24da16897b8917656
[]
no_license
LinHuican/knowrob-semantic-map-tools
5f4891494034b5c0bf876a8449d2ea663774e70d
02d9ecb2d90deb3d03d4026262477a62165a750a
refs/heads/master
2020-12-24T05:59:15.119670
2015-05-22T14:59:14
2015-05-22T14:59:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
823
py
import rospy from rospy.rostime import * from knowrob_semantic_map_tools.prolog.Client import Client as Base from knowrob_semantic_map_tools.prolog import * from knowrob_semantic_map_tools.prolog.queries import * from Exception import Exception class Client(Base): def __init__(self): Base.__init__(self) ...
[ "ralf.kaestner@gmail.com" ]
ralf.kaestner@gmail.com
fa3d76cee92798e6e10e912f76b3ab1c9d22425e
be44368fb88e6826a217f46e0a3568a769f57d9a
/reconcile-custom/utils/matchlength.py
c2d47e2e3ff327bfe1ff288cb6aad3a9c8865f47
[]
no_license
jsfenfen/reconcile-legislators
d95208dea611a2c74f1b9b53243badb28417ffd1
74118dfcb57c10ba78bdc4aa005689214d6c350f
refs/heads/master
2021-01-23T13:29:22.130727
2013-04-17T00:32:30
2013-04-17T00:32:30
7,653,636
4
3
null
null
null
null
UTF-8
Python
false
false
491
py
import difflib def longest_match(text1, text2): isjunk=None # Case insensitive here--this might not be the right choice s = difflib.SequenceMatcher(isjunk,text1.lower(), text2.lower()); total_match_length = 0 for opcode, a0, a1, b0, b1 in s.get_opcodes(): if opcode == 'equal': ...
[ "jfenton@sunlightfoundation.com" ]
jfenton@sunlightfoundation.com
f199c401cbb6b9f9fac16836a9e893857f479958
a53f33bf69e47c4cbb010cf2766d9554bc992146
/geos-ue4/3.6.3/conanfile.py
91b4f0a36ca3cafd959974fb9fce289f5a632288
[ "MIT" ]
permissive
hongshmily/ue4-conan-recipes
22e51e717d7c9ed3b3a006a5add89a5801d36dc5
74363da4863de66fec8bd42902a967e60750b2aa
refs/heads/master
2022-11-21T13:46:10.742330
2020-07-31T05:08:36
2020-07-31T05:08:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,312
py
from conans import ConanFile, CMake, tools import os class GeosUe4Conan(ConanFile): name = "geos-ue4" version = "3.6.3" license = "LGPL-2.1-or-later" url = "https://github.com/adamrehn/ue4-conan-recipes/geos-ue4" description = "GEOS custom build for Unreal Engine 4" settings = "os", "compiler",...
[ "adam.rehn@my.jcu.edu.au" ]
adam.rehn@my.jcu.edu.au
0257a955f546c9344f4a3569b2352d743282981b
f090c3e0faa70cf0ef7c4be99cb894630bce2842
/scripts/simpleMeasurements/crystallization.py
b84bfc6355d3e30e6ef95203e8947f3bc712be0e
[]
no_license
HaeffnerLab/resonator
157d1dc455209da9b7de077157bda53b4883c8b7
7c2e377fdc45f6c1ad205f8bbc2e6607eb3fdc71
refs/heads/master
2021-01-09T20:48:03.587634
2016-09-22T18:40:17
2016-09-22T18:40:17
6,715,345
2
1
null
null
null
null
UTF-8
Python
false
false
486
py
import time import numpy def swtichXtalON(slptime): from lrexp.lr import Client dp = Client.connection.rohdeschwarz_server dp.select_device('lattice-pc GPIB Bus - USB0::0x0AAD::0x0054::104542') if not dp.output(): print 'WARNING crystallization beam is already on' print 'switching on crystallizatio...
[ "soenkeamoeller@gmail.com" ]
soenkeamoeller@gmail.com
2fe493ece61d22fa4a660c44533ef4137c28f026
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02412/s148683251.py
447b064eab608cc5e9a8fa4b571a95995fbf5258
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
while True: num = list(map(int,input().split())) if(num[0] == 0 and num[1] == 0): break c = 0 for i in range(1,num[0] - 1): for j in range(i+1,num[0]): for k in range(j+1,num[0]+1): if(i+j+k == num[1]): c += 1 print(c)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
a99e9cd9ff7d2183f221e01eb1ff350f4da280f6
597b888dca4e9add7acdf449f8c3d8d716826ff2
/gui/widgets/sliders.py
7b477c99ff2f632aad508d0fecdfc7edf52fa023
[ "MIT" ]
permissive
alsor62/micropython-micro-gui
a7cad669d69358599feb84011c23ac5d767adfda
5c7d6c96b30e4936a2a4315b09e98a730f14c6db
refs/heads/main
2023-09-04T09:54:10.946964
2021-11-09T11:46:59
2021-11-09T11:46:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,996
py
# sliders.py Extension to ugui providing linear "potentiometer" widgets. # Released under the MIT License (MIT). See LICENSE. # Copyright (c) 2021 Peter Hinch from micropython import const from gui.core.ugui import LinearIO, display from gui.core.colors import * # Null function dolittle = lambda *_ : None # *******...
[ "peter@hinch.me.uk" ]
peter@hinch.me.uk
482505a50965825a46eece8957db3e8742b003f7
622183f2069a84508e87d0ceebfd203d0ec9332a
/notes/06-28.py
fea90bf901735423ad16848c8635df6687154038
[]
no_license
kasrasadeghi/cs373
f4ff92fa8c472242fe9df10f6d5a022cba6fcdd9
7036f22db3e2830bf79395a3aef3c7bed4e58887
refs/heads/master
2021-01-01T18:23:57.473050
2017-07-25T15:58:55
2017-07-25T15:58:55
98,325,040
0
0
null
2017-07-25T15:59:32
2017-07-25T15:59:32
null
UTF-8
Python
false
false
649
py
# ----------- # Wed, 28 Jun # ----------- """ a little more about map and reduce zip decorators """ class square2 : def __init__ (self) : pass f(x) square3(x) square2(x) # not ok x = square2(3) # not ok x = square2() print(x.__call__(3)) # 9 print(x(3)) # 9 print(square2(3)) # not ok print(...
[ "downing@cs.utexas.edu" ]
downing@cs.utexas.edu
0a818d279270dc0724c98a8c4bac57d56d15f043
0cb08e9532758cbec1afe20eb41028d5f276e82d
/gs9/api/migrations/0001_initial.py
f726fdd725de06bd2dfac47cc3f519bc5df61dc9
[]
no_license
P-iyushRaj/Django-Rest-Framework
1eca586ee6ded4720e8f1845c9c9cac06d637492
9d7e754156739118f725ab431d25bdde63ebd91d
refs/heads/master
2023-03-15T05:27:37.352592
2021-03-08T09:27:46
2021-03-08T09:27:46
345,599,375
0
0
null
null
null
null
UTF-8
Python
false
false
594
py
# Generated by Django 3.0.1 on 2021-03-03 12:51 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Student', fields=[ ('id', models.AutoField(...
[ "piyush@gmail.com" ]
piyush@gmail.com
9d83a6c679957e3ee7c6671d3785a4202d7366d9
ffe14956f7e0ff6700026be09586ec5d9ea8535d
/spectral_parser/preprocessing/mappings.py
1dcdef3d1ed1db2c32a80e93e97db00e4730de09
[ "MIT" ]
permissive
wsj0874/Spectral-Parser
e447e8d3b22161d729f21aec3f60d973ea2404aa
f9fff71772c324ffb49534d3bf6ca54629d26c7d
refs/heads/master
2023-03-11T13:11:06.197972
2021-02-21T23:57:06
2021-02-21T23:57:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,628
py
from tqdm import tqdm import collections import config class NonterminalMap: """ Encapsulation of a two-way mapping between strings and ints. """ def __init__(self, trees): self.nonterm2int = dict() self.int2nonterm = dict() self.populate(trees) def populate(self, trees): ...
[ "gavinsweden@gmail.com" ]
gavinsweden@gmail.com
ae221021a77dc774dec73bea9d515f349732f1b9
f62072c360ee86740d67b32afec1b488285c4fce
/osr2mp4/InfoProcessor.py
5b5ab380100a2473df67817d996df0f06ca58e1e
[ "MIT" ]
permissive
Piggey/osr2mp4-core
9468f0ed897291f2a65d0261b015068acda7e50d
03a14370f161125225c366e301c6a6755158238b
refs/heads/master
2022-11-26T05:46:26.910481
2020-08-07T11:22:46
2020-08-07T11:22:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,422
py
import atexit from oppai import * from .EEnum.EState import States class Updater: counter = 0 def __init__(self, resultinfo, component, settings, mods, osufile): self.resultinfo = resultinfo self.component = component self.info_index = 0 self.info = self.resultinfo[0] self.idd = self.counter self.coun...
[ "snkraishin87@gmail.com" ]
snkraishin87@gmail.com
913bdca5fde41da7c9dff4ea31b043702325869f
f03c4ae0f1008c85cb148b6e0e693ed51cca6272
/U2Net/U2NetPy/u2net_train.py
9304030bfbcb5f84702682b1798a1b057cf3cd8a
[]
no_license
laity-sir/SalientObjectDetection
3460fa8b6a18b95e91f2009d0f0d49660a296fca
d647d289db44704ab92ad473b142a85c20b60487
refs/heads/master
2023-04-11T09:11:58.981577
2021-04-21T08:21:09
2021-04-21T08:21:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,870
py
import os import glob import torch import argparse import numpy as np import torch.nn as nn from torch.autograd import Variable from torch.utils.data import Dataset, DataLoader from torchvision import transforms, utils import torch.optim as optim from data_loader import Rescale from data_loader import RescaleT from da...
[ "1299050656@qq.com" ]
1299050656@qq.com
d586e609f2ac6254fe5b71618a082fc948457fd1
9df2fb0bc59ab44f026b0a2f5ef50c72b2fb2ceb
/sdk/containerregistry/azure-containerregistry/azure/containerregistry/_generated/aio/_vendor.py
5cb127b3879b262c2369e79db1ab49953bdac3b2
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
openapi-env-test/azure-sdk-for-python
b334a2b65eeabcf9b7673879a621abb9be43b0f6
f61090e96094cfd4f43650be1a53425736bd8985
refs/heads/main
2023-08-30T14:22:14.300080
2023-06-08T02:53:04
2023-06-08T02:53:04
222,384,897
1
0
MIT
2023-09-08T08:38:48
2019-11-18T07:09:24
Python
UTF-8
Python
false
false
845
py
# -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.9.4, generator: @autorest/python@6.4.9) # Changes may cause incorrect behavior and will be lost if the code is regenerated. # ----------------------------------------------...
[ "noreply@github.com" ]
openapi-env-test.noreply@github.com
aa09723233351f8b30fce62f59c1ee9e12c652d8
16b7bd707f14ffc4ee9b414b16a399d1b43cbc6e
/046.py
b28b428154ee00b6a3719bea79dc68cebbe5a225
[]
no_license
edson-onishi/cursoemvideo
15c5881a33e9e838b10a11903bbe17f4fc14b8de
b3a46fa34c14ffc829d367ca97f5e376d901ad9c
refs/heads/master
2023-01-29T00:14:19.505656
2020-12-09T14:49:59
2020-12-09T14:49:59
162,749,735
0
0
null
null
null
null
UTF-8
Python
false
false
254
py
'''Faca um programa que mostre na tela uma contagem regressiva para estouro de fogos de artificio, indo de 10 ate 0, com uma pausa de 1 segundo entre eles.''' from time import sleep for i in range(10,-1,-1): print(i) sleep(1) print("Fireworks")
[ "edson@hotmail.com" ]
edson@hotmail.com
0a4fce237b903b498ed9038d22cfb6e940688809
2154d0221e29a86850a1b83e4302f6e3e3f7fa5d
/for_login/xiami.py
dcf745a0b720bb8b99003076582e28f09cc108ea
[]
no_license
aaqqxx/simple_for_life
3b8805c6791da6a3a7f42c069dc1ee7d2b8d3649
9ad6d61a56216d04250cd89aeaeda63c11942d0a
refs/heads/master
2020-04-04T09:18:59.396540
2015-04-28T11:22:55
2015-04-28T11:22:55
20,906,518
1
0
null
null
null
null
UTF-8
Python
false
false
3,336
py
#coding:utf-8 #!/usr/bin/env python __author__ = 'SAF' # +----------------------------------------------------------------------------- # | File: xiami_auto_checkin.py # | Author: huxuan # | E-mail: i(at)huxuan.org # | Created: 2011-12-11 # | Last modified: 2012-02-06 # | Description: # | Description for xiami_au...
[ "aaqqxx1910@gmail.com" ]
aaqqxx1910@gmail.com
2b203696d4d845c841a849e2ccc209a55afdf01e
a08c76705fb9847437b951396db4e5cf7477c72c
/utils/__init__.py
cf357aa71d73496a416eb53d54862bd5b1246ba1
[]
no_license
Tiantian572/Snet
50bccde719d97bbf6a3a532031d423442e39263b
365ca8ed4ec240f5c975236aefc2494ffe9d4c22
refs/heads/master
2022-04-09T10:04:28.179499
2020-03-04T02:18:46
2020-03-04T02:18:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
222
py
from .misc import * from .logger import * from .visualize import * from .eval import * # progress bar import os, sys sys.path.append(os.path.join(os.path.dirname(__file__), "progress")) from progress.bar import Bar as Bar
[ "760997646@qq.com" ]
760997646@qq.com
6c4d2210b2efd2209d3e0d2441caade2da5f2ce0
c340835e4444c664fc2b261238e3738cf5bf7196
/search_insert_position.py
6e531b8b0cd75450f797be346e4766568fbde0c2
[]
no_license
z-o-e/LeetCode_OJ_Python
49f2a7378eb98f707c97d7757cc19ef19622db42
ad7f5152fe404bdd4e91710d9a719f392bec7a96
refs/heads/master
2021-03-12T22:39:44.898502
2014-10-16T05:30:25
2014-10-16T05:30:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
class Solution: # @param A, a list of integers # @param target, an integer to be inserted # @return integer def searchInsert(self, A, target): if not A: return 0 low, high = 0, len(A)-1 while low<=high: mid = (low+high) / 2 if...
[ "hyzhang22@gmail.com" ]
hyzhang22@gmail.com
4f85d22cf5f1b7733b4c758b9b189b13608481a4
9fda52ba27c026c768aab03a7022318054c9ca18
/sel_dedicated_codegen/models/resource_start_additional_model.py
4c1f8374eaf25581c30e8a0280a552b5dc14774d
[ "MIT" ]
permissive
xRocketPowerx/python-sel-dedicated
06e2923e60f488d587c94bd22e80b781ab497ccc
3b9b41fbd7abc05d427e8abf688b007b6dcf9e96
refs/heads/master
2020-08-11T18:39:53.969595
2019-10-13T15:49:58
2019-10-13T15:49:58
214,609,648
2
0
MIT
2019-10-13T15:49:59
2019-10-12T08:30:32
Python
UTF-8
Python
false
false
7,906
py
# coding: utf-8 """ Seido User REST API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 2.4.8 Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import ...
[ "eli.pavlov.vn@gmail.com" ]
eli.pavlov.vn@gmail.com
930cc89c0c623de79c957084cde3361114bf2a47
b248a0a1f51ded67c7637839b23f4e1f47c3d245
/maximizeXOR_TLE_SortedList.py
e22ac9be9f334a664234348eb22389fcb9f4e704
[]
no_license
gauravaror/programming
1bfe61136d93571a4f77d5443a642e1a0ffb1e86
afc5a08cd538c45e075fc6c479c255b3596d7ac5
refs/heads/master
2022-03-16T07:55:54.257609
2022-03-13T06:03:05
2022-03-13T06:03:05
229,214,293
0
0
null
null
null
null
UTF-8
Python
false
false
479
py
import sortedcontainers class Solution: def maximizeXor(self, nums: List[int], queries: List[List[int]]) -> List[int]: sl = sortedcontainers.SortedList() for i in nums: sl.add(i) output = [] for i in queries: check = i[0] ind = sl.bisect_right(i[1]...
[ "gauravarora.daiict@gmail.com" ]
gauravarora.daiict@gmail.com
e6b7578dfac58d056bd57b2ca8822ee4e7034df6
124c468f829830879db48f5499889b603a4010ca
/docs/10_games/breakout/app.py
6c7c81cc8939f569d43ab928a586aa69a7cbc4f1
[]
no_license
astin-sodamills/pygame-tutorial
5568bab48b0931e5f8601ee16bdab8ef84a6ebdd
b84b643a771299b234e54d802826e1a9df6450a7
refs/heads/master
2023-07-26T19:40:22.074718
2021-06-17T14:38:54
2021-06-17T14:38:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,023
py
# App class import pygame from pygame.locals import * import numpy as np class Sprite: def __init__(self, file=None, pos=(0, 0), size=None): self.parent = None self.size = size self.rect = Rect(pos, (20, 20)) self.position = np.array(pos, dtype=float) self.velocity = np.arra...
[ "raphael.holzer@citycable.ch" ]
raphael.holzer@citycable.ch
ee0821c9d4ede74f0ca552552ca7bfa48053b184
7c7236aa95ebebe241f04b98d55f3033b19dadc2
/untitled5/acticle/views.py
f1c07998c641d32bbfb56d5eeb4f2728da3151ea
[]
no_license
taisuo/cms
57d792bb47d85bf6a4a39558a1bc34457a355c26
dd8baa834d6426a2ce7406ea0b74eab252ef7789
refs/heads/master
2020-08-03T13:49:44.754754
2019-10-08T04:00:21
2019-10-08T04:00:21
211,765,786
0
0
null
null
null
null
UTF-8
Python
false
false
2,365
py
from django.shortcuts import render from datetime import date from datetime import datetime from django.http import HttpResponse # Create your views here import json import pymysql # Create your views here. def acticleList(request): return render(request, "acticle/acticleList.html") def acticleListHandle(request): ...
[ "3148378928@qq.com" ]
3148378928@qq.com
f926cef9977e7782163157b8a7b6bbb1eeb5410c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03687/s740533244.py
efc933dc34f2a6acefef2dea7b73393654bb656d
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
import sys import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines S = np.array(list(read().rstrip().decode())) def f(S, a): S = S == a if not np.any(S): return len(S) for n in range(len(S)): if np.all(S): ret...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5e3f4dee4bac22b679ee6ea4265e569786705a56
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_1484496_1/Python/killerrex/problem_C.py
eea1af620b2b5b95bf762a7c2b954f11e7a29f42
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
636
py
#!/usr/bin/python3 import itertools def printl(L): s = "" for i in L: s += str(i) + " " print(s[:-1]) def solve(elems): sums = dict() for i in range(len(elems)): for rng in itertools.combinations(elems, i): S = sum(rng) if S in sums: printl(sums[S]) printl(rng) # Finish! return els...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
8ebe049f6d32f4040441f9591c5357a73af95f96
3435505aa0b760eddf175a9a8f62119952020380
/one_more_layer_of_stacking/src/pipeline.py
a15b068c2b3bf10561daf5f5971197324fa9740d
[ "MIT" ]
permissive
CellProfiling/HPA-competition-solutions
2cc365b2be086eec382136856ebcf790d4eaabb9
547d53aaca148fdb5f4585526ad7364dfa47967d
refs/heads/master
2022-12-16T16:58:15.578281
2020-07-09T23:04:55
2020-07-09T23:04:55
223,605,040
61
25
MIT
2022-11-22T04:37:30
2019-11-23T14:49:57
Jupyter Notebook
UTF-8
Python
false
false
1,060
py
from models.pd_bninception_v3 import pd_bninception_v3 from models.pd_bninception_v4 import pd_bninception_v4 from models.pd_xception_v1 import pd_xception_v1 from models.pd_inceptionv4_v1 import pd_inceptionv4_v1 from models.pd_inceptionv4_v2 import pd_inceptionv4_v2 from models.pd_seresnext_v2 import pd_seresnext_v2 ...
[ "noreply@github.com" ]
CellProfiling.noreply@github.com
0b11f60578eec1f0af34d61cb0dd5cdb1d377e44
7a0d7ddfdbc92f4854eff7ef906b850b257cd9e3
/tests/test_operational.py
5a94300659eca973249625c17442a69e9e2e418f
[ "MIT" ]
permissive
csm-adapt/karon
d65ef787fe7612e8647df3152b3ffae3625a3a43
988ef07eb9339b6dea3babd4f31337bce7b5d5e4
refs/heads/master
2021-07-16T02:08:01.805244
2020-04-28T20:37:45
2020-04-28T20:37:45
206,864,955
1
1
MIT
2020-04-28T20:37:46
2019-09-06T19:56:05
Python
UTF-8
Python
false
false
5,779
py
import pytest from karon.operational import OpNode from karon.tree import (PreorderTree, PostorderTree, InorderTree, BreadthTree) ##### Test OpNode ##### def test_node_creation(): node = OpNode(contents=3.1415) assert node.contents == 3.1...
[ "bkappes@mines.edu" ]
bkappes@mines.edu
3f960a3c208a38de45380c40ccead9910b036fa1
e96e0fe5691279dcf968a5b1db5f5c42a6d56e9b
/deepdab/util/plot_state_visit_histogram.py
5a957c45c480e5ab5b620d599402c8eb41ffc9d3
[ "Apache-2.0" ]
permissive
lantunes/deepdab
c9a96bb25706c627b60045620c88864eb7e3f299
0e30f102b9d7c37d3691540496b1649f2704d586
refs/heads/master
2020-05-04T19:44:35.806717
2019-04-04T02:26:00
2019-04-04T02:26:00
179,406,194
1
0
null
null
null
null
UTF-8
Python
false
false
364
py
import matplotlib.pyplot as plt import numpy as np with open('../out/state_visitation_count_plot.txt', 'r') as f: data = eval(f.read()) count = list(zip(*data))[1] # x_pos = np.arange(len(count)) # plt.bar(x_pos, count, align='center') # plt.show() print(np.mean(count)) print(np.std(count)) print(np.min(count)) ...
[ "lantunes@gmail.com" ]
lantunes@gmail.com
40143b68f682f8f1ab19fd9eb03df6dc55726174
d21b5c31091cb32f92138c2e2d0b5c91aa6c8f4e
/simplebbs/domain/BulletinBoard/factory/BulletinBoardThreadFactory.py
53a3c44efab9529510b855cc4db5187a72d9cc72
[]
no_license
tevawolf/01_simplebbs
47ea7e7da00c7333217dc5fb8f82c980b55dbb81
c7f1f613ee7fcd047674a8ae7b7e03f1f5ada635
refs/heads/master
2023-06-20T00:25:18.894707
2021-07-19T07:10:40
2021-07-19T07:10:40
376,328,585
0
0
null
null
null
null
UTF-8
Python
false
false
941
py
from injector import Injector from simplebbs.binds import BulletinBoardDIModule from simplebbs.domain.BulletinBoard.object import Bulletin from simplebbs.domain.BulletinBoard.object.BulletinBoardThread import BulletinBoardThread from simplebbs.domain.BulletinBoard.object.BulletinBoardThreadPublicLevel import BulletinB...
[ "tevawolf@yahoo.co.jp" ]
tevawolf@yahoo.co.jp
1a962ba485e64fc9b1dd52da9cb03f536d9e4bff
cf3d1f3bc0da10b4ee2a7cc46a045670800ff5e3
/src/Candy/test_suite.py
bd4270e1124e6480b15e25bfee6b6b442ecf32c1
[ "Apache-2.0" ]
permissive
54lihaoxin/leetcode_python
b9c2ecf9e755168e89cbc92f41c29fce5751599c
435484369abd6a86bb16e6dbfe2eddb4ba9edbd2
refs/heads/master
2016-09-06T13:35:01.311426
2014-10-21T07:41:34
2014-10-21T07:41:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,180
py
from CommonClasses import * from solution import Solution class TestSuite: def run(self): self.test000() self.test001() # self.test002() # self.test003() # self.test004() def test000(self): print 'test 000\n' ...
[ "54lihaoxin@gmail.com" ]
54lihaoxin@gmail.com
5fb0b8fed538278c9debb728818d1aea57af170b
aa410a95773aeea73e75f0e701db5cdc0eda890b
/players/troll.py
dad4b80d020c454d3bd3656f635439a625f52f47
[]
no_license
predominant/zombsole
ccc00893b7739c5341c43fc28375415fa628b885
a04ff40a144cb1f63d8aa29ccf0b06ecccc2bc7f
refs/heads/master
2021-01-21T19:29:05.322551
2014-03-26T05:38:15
2014-03-26T05:38:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
389
py
# coding: utf-8 from things import Player class Troll(Player): '''A player that always heals itself. (trolls have regenerative capabilities, hence the name). ''' def next_step(self, things, t): self.status = u'healing myself' return 'heal', self def create(rules, objetives=None):...
[ "fisadev@gmail.com" ]
fisadev@gmail.com
b90f39fa52fb21861a32740c94b6ec0f99df5ca0
9b018e9eac8d97fbcc1e76a69b95c994f79a6ea3
/randomtest/migrations/0003_tests.py
74d099cc1bd9a3728bab0d0a60f38bc9c15f27d7
[]
no_license
hbgolze/contest-database
e39f269d7337652e7cdad03cc29827d4f729ec8f
263385b438f7b7e1ab99062aad561ed0cec9c079
refs/heads/master
2023-06-26T21:30:08.246647
2023-06-11T02:34:41
2023-06-11T02:34:41
71,851,839
1
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-16 23:09 from __future__ import unicode_literals from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('randomtest', '0002_userprofile'), ] operations = [ ...
[ "hbgolze@gmail.com" ]
hbgolze@gmail.com
5375c9bb0323a4159f2519caee923ba8cb27a8f4
ad682d2145f440c078a431a40d2153a204771026
/method/MultiLevel/svm-sle2/run_training.py
ca4ba4963a988f5fdfd57c357f042c8af43520ac
[]
no_license
barry800414/NewsCrawler
d81f1ee4b0e0c4a997dda1efd24d1430e222d318
18c10f10508558600f734d659e724d4e27f071a3
refs/heads/master
2021-05-03T13:11:29.696108
2015-07-01T16:38:05
2015-07-01T16:38:05
26,075,910
0
0
null
null
null
null
UTF-8
Python
false
false
4,593
py
import sys, os import math from FindBestParam import * cRange = [math.pow(2, i) for i in range(-5, 3)] iter = 30 sizeRange = [20, 40, 60] foldNum = 10 vfoldNum = 10 def run(iter, c, size, train_file, init_file, model_file, test_file, scoreFile, remove=False): m = '3' # feature smoothing -- see Section ...
[ "barry800414@gmail.com" ]
barry800414@gmail.com
d31d71384e3c102a29d7a79e1aa1092a58c12cab
c7d9adc9649f475882297d5d0df2396b7eda49c4
/python/160-intersection-of-two-linked-lists.py
d739d9350ccfbd8c5160cc3ecc000c08ab4c1dd0
[]
no_license
starrysky1211/leetcode
9d2a887d42b2df38d5707a4c6e48b82a1775b463
a115c8bead3ce7257e13220cc8d9f43a884e8c61
refs/heads/master
2021-11-22T02:21:36.774957
2021-09-14T01:12:07
2021-09-14T01:12:07
143,826,581
0
0
null
null
null
null
UTF-8
Python
false
false
774
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): """ :type head1, head1: ListNode :rtype: ListNode """ la,lb = 0,...
[ "starry_sky_@outlook.com" ]
starry_sky_@outlook.com
44fb65b41d0860b2b4c9d810f01c43b58f2a9c78
8670934f23ea25b83e37c4bf42bbd247bb9fdcf9
/cli.py
d49b4e8d24fc8009c10ff3adba413e7eef181134
[ "MIT" ]
permissive
matheusfelipeog/status-coronavoucher
d52763445de857793b16184d8c71dda9dc96967e
22171d86460dd643397d022978e083c5d480f073
refs/heads/master
2022-12-14T07:07:55.746415
2020-06-28T21:05:18
2020-09-04T17:15:58
256,339,963
8
2
null
null
null
null
UTF-8
Python
false
false
2,751
py
# -*- coding: utf-8 -*- # @author: Matheus Felipe <github.com/matheusfelipeog> if __name__ == '__main__': # Builtins import argparse # My Module from status_coronavoucher import Coronavoucher parser = argparse.ArgumentParser( prog='cli.py', usage='python %(prog)s [-h] cp...
[ "50463866+matheusfelipeog@users.noreply.github.com" ]
50463866+matheusfelipeog@users.noreply.github.com
fa5fbb57b3030024dfc0b1aa6737f6f320dc523c
0fb917674c99718bb24147e6007c7c09e6e714ed
/2018_DeepLerning/05_ML/neural_style/stylize.py
6a0f448e6d52a493edb8fb305e725eb02e45ce71
[]
no_license
RookieDay/Deep_Learning
19bf528fb40fefb1c146c9386a0948a86a4103ce
80cbd913050d2cb2e88d9d77f09135477b40d141
refs/heads/master
2021-05-06T18:56:33.746498
2018-05-27T11:25:48
2018-05-27T11:25:48
111,989,887
0
0
null
null
null
null
UTF-8
Python
false
false
5,990
py
# Copyright (c) 2015-2016 Anish Athalye. Released under GPLv3. import vgg import tensorflow as tf import numpy as np import time from sys import stderr CONTENT_LAYER = 'relu4_2' STYLE_LAYERS = ('relu1_1', 'relu2_1', 'relu3_1', 'relu4_1', 'relu5_1') try: reduce except NameError: from functools import reduc...
[ "1109318841@qq.com" ]
1109318841@qq.com
a921284bbf99728abcc4d364a0dcaeb89d1c26a1
c3ba36ce870c9766b73ecc5423468f095c308d0f
/playable_realease/base/base.py
7438e6b743c2e3f0c33c7404e8ea293244cf0942
[]
no_license
winghou/study
bb2f97d0f2d2f505afef6c364dc4ed5f6836bb7f
f8f531898c6cc777acd71733f333e256726dfa9f
refs/heads/master
2020-05-31T13:58:43.779807
2019-01-14T10:21:53
2019-01-14T10:21:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,722
py
# -*- coding: utf-8 -*- ''' Created on :2018/7/25:12:02 @author: yunxia.qiu ''' from playable_realease.config.ParseConfigurationFile import ParseConfigfile from selenium import webdriver import os,time from selenium.webdriver.chrome.options import Options from selenium.common.exceptions import NoAlertPresentException ...
[ "you@example.com" ]
you@example.com
8b7a0f8e8d0311f451e798c960e9917f40cdaa11
bc8d2f9ba58bca2ec4aec43ace09babf805285f6
/product_index_revision_generator/models/__init__.py
5f51d16854e5c6012dfb941a47c9a59d6f526d2b
[]
no_license
samirGuesmi/julius-openobject-addons
a8611f20edecfca904fe0aa3622027f03fc06ff1
9491623d3462e4aeffa048fd59a4ef06ed0c8c2f
refs/heads/master
2020-08-29T14:07:04.136621
2019-05-21T14:00:46
2019-05-21T14:00:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,098
py
# -*- coding: utf-8 -*- ############################################################################### # # OpenERP, Open Source Management Solution # Copyright (C) 2014-Today Julius Network Solutions SARL <contact@julius.fr> # # This program is free software: you can redistribute it and/or modify # it unde...
[ "mathieu@julius.fr" ]
mathieu@julius.fr
21064b4048cf6e3dc2eea0ef7e1b14801f60dfbf
f87d841ec1e78486ad9b28c01181962a21f6f124
/routes.py
958d32ed62eee1df7d4f301c8f7bb3afa7f14617
[ "MIT" ]
permissive
u1i/azure-appservice-sample-api-app
57903b0660d0e660f5f349cca8be6d0d6b5788a3
3663209b24927dd0d646d081ae94367c664659fc
refs/heads/master
2021-01-20T13:03:51.556350
2017-05-06T06:30:55
2017-05-06T06:30:55
90,442,391
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
""" Routes and views for the bottle application. """ from bottle import route, view, response from datetime import datetime from random import randint @route('/') @route('/home') @view('index') def home(): """Renders the home page.""" return dict( year=datetime.now().year ) @route('/api-request'...
[ "root@localhost" ]
root@localhost
c40e7db1a2781e3b66d81b9ddd6ff13e3b15bf58
fd5db824b87b49472c3cfa1d8765f95fc820deaa
/linecount
918d5353a4c8eb21b2072c1182899c01c5f446eb
[]
no_license
shawwn/scrap
67806c7a8f2b4ddbb87f800f9fa0bd50736b66d6
9d6d190b4606b57a7108881ca6f389f6110c5721
refs/heads/master
2023-09-01T08:46:44.779507
2023-08-29T11:09:58
2023-08-29T11:09:58
124,594,531
100
14
null
2020-07-31T03:09:48
2018-03-09T21:20:54
Python
UTF-8
Python
false
false
5,608
#!/usr/bin/env python import pdb #============================================================================== # Common Functionality #============================================================================== # # see http://stackoverflow.com/questions/2186525/use-a-glob-to-find-files-recursively-in-python # im...
[ "shawnpresser@gmail.com" ]
shawnpresser@gmail.com
74ca68ad1cc6ce4afe7883c15c684bf11d73b597
f92ffbbaf2783dbd566e2d11d065fc02fb6255f7
/MY_CRUD/movies/migrations/0001_initial.py
a33950f2fdc35c1723eeec04f01c33d99feef28b
[]
no_license
chelseashin/django_practice
20551810f31ffea1c7eb1ea301ffdbb2890a6830
6c28e44aa6c8b646d98e32307827c5ced5ba2c59
refs/heads/master
2020-06-04T09:19:26.404723
2019-06-14T15:10:36
2019-06-14T15:10:36
191,962,567
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
# Generated by Django 2.1.7 on 2019-02-26 10:54 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Movie', fields=[ ('id', models.AutoField(au...
[ "chaewonshin95@gmail.com" ]
chaewonshin95@gmail.com
367edbc28b61ceb03c49ab9ed09e44c1dad9ed4e
d9392b6c3bdb7cb727ced7f005c311deedc08c49
/backend/src/api/pool/resources/entities/requests/base_requests/schemas/common_schemas/common_strings/short_string.py
926c5535de3d0beb5c4eaeaea8fe79e5e5051df4
[]
no_license
enixdark/meeting-training-app
c5c1d8421f368c0fcc015bc27d9142bfd45ceac8
214cb14eb23f3aa1e32616d666c14d041a2c7dc7
refs/heads/master
2023-03-13T22:12:37.196060
2021-03-03T02:35:39
2021-03-03T02:35:39
343,978,363
0
0
null
null
null
null
UTF-8
Python
false
false
516
py
from . import CommonString, StringValidator class ShortString(CommonString): @staticmethod def _string_filter_rules() -> list: return [ShortStringValidator] class ShortStringValidator(StringValidator): __SHORT_LEN = 50 __ERR_MSG = 'String length must be shorter than {} characters.'.format(__...
[ "cqshinn92@gmail.com" ]
cqshinn92@gmail.com
8758a45c335abc856a75e5f8c44016117ad13a79
80bf55263b8f510dba0de1ab80d75d5e14933fd2
/scripts/parse_latex_equations.py
78bbabea076b8160b17c7145d867f6def688285b
[]
no_license
Schoyen/coupled-cluster-notes
85d5d4d511734dba2b48f4a0e0ac6d9518dea52e
0271d04356117c99fd70e56a1fe8278ac57945dc
refs/heads/master
2021-07-12T20:56:46.519372
2019-01-16T14:37:55
2019-01-16T14:37:55
117,835,336
0
1
null
null
null
null
UTF-8
Python
false
false
1,898
py
import re import os from generate_ccd_equations import get_ccd_equations from sympy import latex filename = "ccd_equations.dat" if not os.path.isfile(filename): ccd_equations = [latex(eq) for eq in get_ccd_equations()] with open(filename, "w") as f: for eq in ccd_equations: f.write(eq + "...
[ "oyvindschoyen@gmail.com" ]
oyvindschoyen@gmail.com
8120d2ae78f342f4f46bd9af28e081c60395ded6
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/DqLngKnnJcZyPMctn_7.py
e47850432a4efdeb1554116a8d22a3122597cdf6
[]
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,211
py
""" Create a function that takes a list of integers that represent the amount in dollars that a single stock is worth, and return the maximum profit that could have been made by buying stock on day **x** and selling stock on day **y** where **y >x**. If given the following list: [44, 30, 24, 32, 35, 30, 40, 38...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
0ed1838698d887c77e6d8edcc8726b75312466c6
1cb0cc435061b6a0156b37813343ae46b1f7346e
/1_learn_step/try_third/lecun_uniform-SGD-1024.py
530939d5802e536418c1bf25bd9773ee93ce87e2
[]
no_license
youthliuxi/keras
6370a9de11e152d8ba96e68e9ff02337203b7e66
60a367442f74313d0bd9af01f76068d56e23bec0
refs/heads/master
2020-04-30T19:54:16.628943
2019-08-21T09:47:13
2019-08-21T09:47:13
177,051,874
0
0
null
null
null
null
UTF-8
Python
false
false
1,679
py
# -*- coding:utf-8 -*- from keras import backend as K K.set_image_dim_ordering('th') import numpy as np np.random.seed(123) from keras.layers import * from keras.models import Sequential from keras.utils import np_utils from keras.datasets import mnist # (X_train, y_train), (X_test, y_test) = mnist.load_data() path = "...
[ "lx_einstein@sina.com" ]
lx_einstein@sina.com
0f605a7d2ddda25d1d656538d70cbf0f4e032be3
91b0b09d2c05e44f40e570a6323801d1f41bc60a
/binary_search/first_occurence_last_occirence.py
cb3a2a92f8c7bebf628675b9ab46470cf26d4729
[]
no_license
shiveshsky/datastructures
170243edbdaf1b206713bd3b53a029f32063d4ce
22fb94983846c4e7906a22f91ef7c0886c74a6b6
refs/heads/master
2021-05-21T16:46:43.852404
2020-07-17T02:29:48
2020-07-17T02:29:48
252,722,499
0
0
null
null
null
null
UTF-8
Python
false
false
1,152
py
class Solution: def searchRange(self, nums, target): l, r = (self.left_position([5, 7, 7, 8, 8, 10], 6), self.right_position([5, 7, 7, 8, 8, 10], 6)) return [l, r] def left_position(self, nums, target): l = 0 r = len(nums) - 1 while l <= r: mid = (l + r) // 2...
[ "shivesh@anlyz.io" ]
shivesh@anlyz.io
5f3550074e21d00a6da61ed710135114f0fd4248
746e0181955176741385091fe795e360a5f8fa3f
/yushubook/app/models/user.py
34ca83a175ef149b4e8a8a7b61b5a3ea2c450d43
[]
no_license
zhengpanone/flask_web
c26547483219011d9f1051d383f0d9a0a72d48df
87d324ffee503aaa794c415ba6e16785dbf84d99
refs/heads/master
2022-07-22T09:07:47.939938
2019-12-18T07:14:21
2019-12-18T07:14:21
206,232,120
0
0
null
2022-06-28T14:44:55
2019-09-04T04:35:50
JavaScript
UTF-8
Python
false
false
3,352
py
# -*- coding: utf-8 -*- from math import floor from flask import current_app from werkzeug.security import generate_password_hash, check_password_hash from app.lib.enums import PendingStatus from app.lib.helper import is_isbn_or_key from app.models.base import Base, db from sqlalchemy import Column, Integer, String,...
[ "zhengpanone@hotmail.com" ]
zhengpanone@hotmail.com
8721a7bb53e6c3bf6d3c278298dd7f9667d723f4
50d243bede5c2c5b2a0c7a8d4809114dbb52b33b
/cbm/utils/data_options.py
6e27d01d2dcd2307afdbd19ed57707d72f52cd68
[ "BSD-3-Clause" ]
permissive
voicagi/cbm
0532fce985185a50acc938dc76b771bb6de6b13e
c076e272f34a93a2e7dcc7de3c9685bd5c86c27a
refs/heads/main
2023-06-24T09:09:07.865900
2021-07-22T16:54:16
2021-07-22T16:54:16
387,414,700
0
0
BSD-3-Clause
2021-07-19T09:48:23
2021-07-19T09:48:22
null
UTF-8
Python
false
false
6,297
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # This file is part of CbM (https://github.com/ec-jrc/cbm). # Author : Konstantinos Anastasakis # Credits : GTCAP Team # Copyright : 2021 European Commission, Joint Research Centre # License : 3-Clause BSD def pts_tstype(): options = [ ("NDVI", 'ndvi'...
[ "Konstantinos.ANASTASAKIS@ext.ec.europa.eu" ]
Konstantinos.ANASTASAKIS@ext.ec.europa.eu
0163efc456249b13e8947efd434ca5dc3cec8464
78260a7ab56c581684f5cb6efbf37ae6468cb092
/payserver/puser/rest/client.py
97fcdc8ed706ef9c8e289828064feafc65add317
[]
no_license
yiyuhao/FukuanUnion
4702ee0c60b9a8d74a48c4c4c981c2f949dac04e
0d32f98f42591b43e0b4da5e978b627da517f758
refs/heads/master
2022-01-09T21:44:57.767264
2019-06-19T02:48:22
2019-06-19T02:48:22
192,504,062
0
0
null
2022-01-06T22:36:08
2019-06-18T09:00:40
Python
UTF-8
Python
false
false
3,835
py
# -*- coding: utf-8 -*- # # Project: payunion # Author: Luo Yufu # # Copyright (c) 2018 麦禾互动. All rights reserved. from rest_framework import serializers from rest_framework.response import Response from rest_framework.views import APIView import config from common.error_handler import raise_with_code from co...
[ "yiyuhao@mixadx.com" ]
yiyuhao@mixadx.com
58ff3b5a32a21943d174e12d1ed4630827589b61
048eaa32bcd05ee278e6f391f9091f1848022987
/dbdk/ai_based_adaptive_security_system/test_preprocess.py
c13d73fb5abcf9ca05d895cb99b898990b17b24c
[]
no_license
kendricklee91/portfolio
613e14fd6f13027c6d68d56b1b3d96b186de56b1
ef92604a1e14a3b81ae5e91883c07501def6b3da
refs/heads/master
2022-11-15T01:00:55.724686
2022-10-27T06:47:44
2022-10-27T06:47:44
170,043,628
0
0
null
null
null
null
UTF-8
Python
false
false
1,779
py
from ksv_model.preprocess.conv_payload import KnownAttackPreprocess import ksv_model.config.const as cst import os import pandas as pd import unittest class TestPreProcess(unittest.TestCase): # Fixture def setUp(self): pass def tearDown(self): pass @unittest.skip def test_sq...
[ "noreply@github.com" ]
kendricklee91.noreply@github.com
9b81c4c4599ddb845725dcb5e27c1774a7308034
e3b9aa9b17ebb55e53dbc4fa9d1f49c3a56c6488
/elastalert/komand_elastalert/connection/connection.py
c4ceb653b8d39680f7402e3d887cd0a8aeedcb84
[ "MIT" ]
permissive
OSSSP/insightconnect-plugins
ab7c77f91c46bd66b10db9da1cd7571dfc048ab7
846758dab745170cf1a8c146211a8bea9592e8ff
refs/heads/master
2023-04-06T23:57:28.449617
2020-03-18T01:24:28
2020-03-18T01:24:28
248,185,529
1
0
MIT
2023-04-04T00:12:18
2020-03-18T09:14:53
null
UTF-8
Python
false
false
559
py
import komand from .schema import ConnectionSchema # Custom imports below class Connection(komand.Connection): def __init__(self): super(self.__class__, self).__init__(input=ConnectionSchema()) def connect(self, params): self.logger.info('Listen: Listening...') user = params.get('cre...
[ "jonschipp@gmail.com" ]
jonschipp@gmail.com
714d7ae1ca12ab5c794d070c09b00ed562c6f7a6
6af44c684d1164e849c47a381facce11af6b45a1
/jd/api/rest/UnionOpenGoodsBigfieldQueryRequest.py
d2a17e0df25434bf93af91b5b77ef5f34d8b3050
[ "MIT" ]
permissive
dsjbc/linjuanbang
cdfa84f7c7e2a89dc840c476bea92c4ff4d4de84
8cdc4e81df73ccd737ac547da7f2c7dca545862a
refs/heads/master
2022-03-16T20:43:42.005432
2019-11-25T10:15:11
2019-11-25T10:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from jd.api.base import RestApi class UnionOpenGoodsBigfieldQueryRequest(RestApi): def __init__(self,domain='gw.api.360buy.com',port=80): RestApi.__init__(self,domain, port) self.goodsReq = None def getapiname(self): return 'jd.union.open.goods.bigfield.query'
[ "tarena_feng@126.com" ]
tarena_feng@126.com
0605902ad8d6074ceaab4350dcc4f8ac4216b0a8
b0958e674b9d562b9b983d26eca99747acc00365
/backend/apps/user/migrations/0005_auto_20200303_1700.py
18b7c4af0993735c6f0ab030e2268a25d05ed5fa
[ "MIT" ]
permissive
IT-xiaoge/Journey
d55bae3d6a4e8ac6fddc39c492f9a6a4699341a1
43f241e25e6030ddae39cc06a74b3da70c48da34
refs/heads/master
2021-05-23T10:51:33.424181
2020-03-23T03:15:10
2020-03-23T03:15:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
# Generated by Django 2.0.4 on 2020-03-03 17:00 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('user', '0004_auto_20200303_1651'), ] operations = [ migrations.AlterField( model_name='users', name='jwt...
[ "977983452@qq.com" ]
977983452@qq.com
2a8313adcd38761dca60a6df91e387fc406e034d
c37233e3eb16797acd06d4fdb724f8b522581507
/exerDjango/appSys/migrations/0002_employee_pwd.py
55e3c8828c18198c2101e3b2803df20a25845e09
[]
no_license
wildmanwang/exerSite
deb4ce8607b9fcc820df43a6948f15c355d3f0aa
b6a297b50349b0c645d9409618ef5bce649f4d88
refs/heads/master
2020-11-29T10:08:15.441035
2020-08-15T03:51:46
2020-08-15T03:51:46
230,086,936
0
0
null
null
null
null
UTF-8
Python
false
false
411
py
# Generated by Django 3.0.1 on 2020-01-03 03:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('appSys', '0001_initial'), ] operations = [ migrations.AddField( model_name='employee', name='pwd', field...
[ "cliff.w@qq.com" ]
cliff.w@qq.com
920f7aaf115e40384ab03e379b2dd585f8138e67
f75632bafa7d9771655a2030cbf009e73682d0f2
/test.py
3412740ccc0571e0e123ed37b52427b3c7948de4
[]
no_license
NicholasPiano/arktic
563acab350e9d4f1ef5375d9237cba6d2df04295
f28d868373f00aa8a817239f5bc167dadb50b053
refs/heads/master
2016-09-08T01:20:06.885034
2015-02-28T16:28:57
2015-02-28T16:28:57
19,547,469
0
1
null
2014-09-23T11:27:00
2014-05-07T19:31:26
JavaScript
UTF-8
Python
false
false
178
py
import os for path, subs, files in os.walk('./woot/apps'): for file in files: if '.py' in file: with open(os.path.join(path, file), 'w') as f: f.write('\n')
[ "nicholas.d.piano@gmail.com" ]
nicholas.d.piano@gmail.com
7ff065e43f5648524596bf831b2d5f9e4204291f
e6bc36f8b0e141f44ca7d141af7551d79a4e8793
/server.py
c21b2a52f5426efb9aabf613a9daddc8cd3bcb4e
[]
no_license
123webprotection/mitmproxy-patches
563a15cdeee55df8ac38609914018a43f5ffa547
6216064dff7771ff40e218892727c0ef49cfa8b4
refs/heads/master
2022-07-29T13:40:36.195894
2020-05-27T22:37:16
2020-05-27T22:37:16
267,434,871
0
0
null
null
null
null
UTF-8
Python
false
false
5,624
py
import sys import traceback from mitmproxy import exceptions from mitmproxy import connections from mitmproxy import controller # noqa from mitmproxy import http from mitmproxy import log from mitmproxy import platform from mitmproxy.proxy import config from mitmproxy.proxy import modes from mitmproxy.proxy import ro...
[ "you@example.com" ]
you@example.com
047169dd2897153e94721378a6dbca2d2d67deae
96dcea595e7c16cec07b3f649afd65f3660a0bad
/homeassistant/components/econet/climate.py
7233d135f2e1cd69df645a85c1aa0d2ec44df110
[ "Apache-2.0" ]
permissive
home-assistant/core
3455eac2e9d925c92d30178643b1aaccf3a6484f
80caeafcb5b6e2f9da192d0ea6dd1a5b8244b743
refs/heads/dev
2023-08-31T15:41:06.299469
2023-08-31T14:50:53
2023-08-31T14:50:53
12,888,993
35,501
20,617
Apache-2.0
2023-09-14T21:50:15
2013-09-17T07:29:48
Python
UTF-8
Python
false
false
7,836
py
"""Support for Rheem EcoNet thermostats.""" from typing import Any from pyeconet.equipment import EquipmentType from pyeconet.equipment.thermostat import ThermostatFanMode, ThermostatOperationMode from homeassistant.components.climate import ( ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, FAN_AUTO, FAN...
[ "noreply@github.com" ]
home-assistant.noreply@github.com
8a3a382550ab017bb166391982e444a309d833cb
5849d9b45d8720dcfb16bb1266f874cdd70f0b26
/project_name/settings.py
5ad1562aef2083d72af24739662a3aec1bb434c6
[]
no_license
jonashaag/django-project-template
8055ac398a06bba35722fe3934654c108de622f4
99a8e090cca3445cf931f93900f989dedd3638a6
refs/heads/master
2021-01-22T04:36:43.992341
2012-04-18T09:57:04
2012-04-18T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,732
py
ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.', 'NAME': '', } } TIME_ZONE = 'America/Chicago' LANGUAGE_CODE = 'en-us' USE_I18N = True USE_L10N = True # If you set this to False, Django will not use time...
[ "jonas@lophus.org" ]
jonas@lophus.org
98a7a75753720ac6215b66a0b39c188d7caa2bf1
40c927ea44653c645c9540e68a8f5b439990fddd
/Chap 14/Exercise_14.11.5.py
f05a19123c064d5b8aca04fc12cf345270829a24
[]
no_license
simrit1/asimo
211ff255434637ac6ad396e8ff5ed5cee6ea971d
12564ab591129ebbb0c2daaa3c538cc6d39aee39
refs/heads/master
2022-02-25T07:53:05.034587
2019-09-22T15:34:11
2019-09-22T15:34:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,921
py
# Exercise 14.11.5 from unit_tester import test my_tickets = [ [ 7, 17, 37, 19, 23, 43], [ 7, 2, 13, 41, 31, 43], [ 2, 5, 7, 11, 13, 17], [13, 17, 37, 19, 23, 43] ] def lotto_draw(): """ Simulate a lotto draw """ import random rng = random.Random(...
[ "noreply@github.com" ]
simrit1.noreply@github.com
59c5b250b1798f2135b9403a306f768273a43943
d233b312cd3f0c83a06c1cce830252a3664023ff
/catkin_ws/build/ridgeback/ros_control/controller_manager_tests/catkin_generated/pkg.installspace.context.pc.py
373d6f7d52270a9bdf095b23979975ae8508b6b1
[]
no_license
leopauly/Observation-learning-Real-world-UR5
32691f989ed60d92eca82bea0f47b960a6d48afa
72e61d07582d05d40a1bde31c99ab5d9cf97f70d
refs/heads/main
2023-07-05T07:05:00.554268
2021-08-12T11:51:58
2021-08-12T11:51:58
395,289,055
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/wisdom/catkin_ws/install/include".split(';') if "/home/wisdom/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "controller_manager;controller_interface".replace(';', ' ') PKG_CON...
[ "meetleopauly@yahoo.com" ]
meetleopauly@yahoo.com
4ee4a245592136d2e74d32b3230a927d706c195a
0b1c9f54f5abb46d3f771acf3cc0704d82c0beb6
/shot_blog/blogs/urls.py
63a9317ef5a2a2a2ea73b19a313fce57ea032f9f
[]
no_license
shotaro0726/ni_blog
c1250f49a396fd2d3f88ece3f29d75003aea4369
64787ab15f873bfeb781758e94d6adac955628a3
refs/heads/master
2022-04-28T05:20:20.118356
2020-04-19T06:49:15
2020-04-19T06:49:15
256,933,473
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
from django.urls import path from .import views app_name = 'blogs' urlpatterns = [ path('',views.index,name='index'), path('detail/<int:blog_id>/',views.detail,name='detail') ]
[ "shoutaro0726@gmail.com" ]
shoutaro0726@gmail.com
279a9182239a06ef24b97f18e286fafab6dec3ae
cb7e8d9ba783ac16c2c7bd260dc4edc68da4ce7e
/scripting_with_python/image/image_processing.py
def83e50634241fd618375054fe8d79d7d2beb34
[]
no_license
lunatic-7/ZTM-git-
d0598f7c177befaf1ae3af74878b08bed7dadd65
7140f622dfdfb3eba745fa9245a36816a85c2bfe
refs/heads/main
2023-08-16T23:15:28.809326
2021-09-24T11:12:21
2021-09-24T11:12:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,630
py
# What is image processing? # Image processing is cropping, compressing, adding filters etc. with an image, to # make it suitable for our use. eg. When we upload an image on instagram. We upload an # image of few (2-3 mb)s but, instagram processes it crops it compresses it, to # make it in a few kilobytes (kbs). It do...
[ "wasif1607@gmail.com" ]
wasif1607@gmail.com
217be29b0e93f5dc40d2bfb0b3ff8b2226b658aa
f64e31cb76909a6f7fb592ad623e0a94deec25ae
/leetcode/p0055_jump_game.py
cb84269f180d281d9b84ba505210e60cc8822f78
[]
no_license
weak-head/leetcode
365d635cb985e1d154985188f6728c18cab1f877
9a20e1835652f5e6c33ef5c238f622e81f84ca26
refs/heads/main
2023-05-11T14:19:58.205709
2023-05-05T20:57:13
2023-05-05T20:57:13
172,853,059
0
1
null
2022-12-09T05:22:32
2019-02-27T05:58:54
Python
UTF-8
Python
false
false
621
py
def can_jump(nums): """ Track mack distance from start to end. O(n) """ if not nums: return True target = len(nums) - 1 max_distance = ix = 0 while ix <= max_distance: max_distance = max(max_distance, ix + nums[ix]) if max_distance >= target: return...
[ "zinchenko@live.com" ]
zinchenko@live.com
f0ad192f81c7fb7c5b31bf9612c0a45824c29124
cdf04262a83d485b3a66310d3e7fc0e2231fc39d
/backend/new_figma_test_dev_22672/settings.py
a429f13684d9167ebd6b3c3a119e277c20d85806
[]
no_license
crowdbotics-apps/new-figma-test-dev-22672
0d414a22086ede2b42ecde64f3081ac8eafb2cb6
a5164632e846e1c3383a8c829ba7e1728b1dc109
refs/heads/master
2023-06-06T12:22:30.238343
2021-06-29T20:32:35
2021-06-29T20:32:35
381,489,748
0
0
null
null
null
null
UTF-8
Python
false
false
7,209
py
""" Django settings for new_figma_test_dev_22672 project. Generated by 'django-admin startproject' using Django 2.2.2. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
09bf3dff12dcbd85f5af0ac943eeeec41b2c5035
d1205c39ad5febd5f73526cb6eda5fd413e998a3
/ambra_sdk/service/entrypoints/generated/report.py
89fec61b0bc9b25cab1fb3e434d353c317f2ee58
[ "Apache-2.0" ]
permissive
ppolk-nocimed/sdk-python
77364972c5559a43787f81373327b86204f9ec39
165a8049bbc38a201ef27f60a8ba1b980c1c9a64
refs/heads/master
2022-11-22T23:48:22.444967
2020-07-17T16:27:05
2020-07-17T16:27:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
""" Report. Do not edit this file by hand. This is generated by parsing api.html service doc. """ from ambra_sdk.exceptions.service import MissingFields from ambra_sdk.exceptions.service import NotFound from ambra_sdk.exceptions.service import ReportFailed from ambra_sdk.service.query import QueryO class Report: ...
[ "akapustin@ambrahealth.com" ]
akapustin@ambrahealth.com
6fc875c9f312b3a5040af1e364d93d2448d17e32
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=3.5_rd=0.8_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=84/sched.py
f99f60fe8a3f5bc5fc288ac492b8972814c35822
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
-X FMLP -Q 0 -L 3 124 400 -X FMLP -Q 0 -L 3 112 400 -X FMLP -Q 0 -L 3 70 250 -X FMLP -Q 0 -L 3 53 200 -X FMLP -Q 1 -L 2 48 175 -X FMLP -Q 1 -L 2 45 150 -X FMLP -Q 1 -L 2 34 100 -X FMLP -Q 2 -L 1 33 175 -X FMLP -Q 2 -L 1 32 300 -X FMLP -Q 2 -L 1 31 125 -X FMLP -Q 3 -L 1 31 100 -X FMLP -...
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
c524ebba8085ed9338984abbab9910656e52c5e8
f6b5799c13fad2382d638a1208f4972ce818174a
/site/BAEKJOON/src/python/10_수학02/4948.py
98f10f2700d51370514ee92fe83c6ff5e25bd984
[]
no_license
JoonBeomLee/Algorithm_Python
6bf0cc29ffaf75156bfa44ea531c33b3d2b2a129
185fb39d535573c374f1d0d88f728f97086a4246
refs/heads/master
2023-06-11T10:27:10.228151
2021-07-05T14:59:40
2021-07-05T14:59:40
193,500,999
1
0
null
null
null
null
UTF-8
Python
false
false
362
py
# 에라토스테네의 체 def isPrime_v02(num): if num <= 1: return False i = 2 while i*i <= num: if num % i == 0: return False i += 1 return True while True: N = int(input()) if N == 0: break count = 0 for num in range(N+1, 2*N+1): if isPrime_v02(num): count+=1 ...
[ "jbl9595@naver.com" ]
jbl9595@naver.com
2067ae11cab5551190ed521b72c645b41e53cfdc
bc11e10521fa313d83011e77a2c31a0b6ed581af
/lib/rubyfox/server/data/lib/Lib/encodings/cp869.py
2e3ad35c1c500b19e96d7ccd333aa50d6942a7b0
[ "MIT" ]
permissive
neopoly/rubyfox-server
f6f191c68dcc30b8c56d22c8209e4a69251f4f27
26d67687fc642111ef8d02507f2b567828bd1ebd
refs/heads/master
2023-07-20T15:04:32.028192
2023-07-17T09:16:36
2023-07-17T09:33:20
6,457,322
3
4
MIT
2020-08-11T06:53:50
2012-10-30T13:06:32
Python
UTF-8
Python
false
false
6,708
py
""" Python Character Mapping Codec generated from 'CP869.TXT' with gencodec.py. Written by Marc-Andre Lemburg (mal@lemburg.com). (c) Copyright CNRI, All Rights Reserved. NO WARRANTY. (c) Copyright 2000 Guido van Rossum. """#" import codecs ### Codec APIs class Codec(codecs.Codec): def encode(self,input,error...
[ "ps@neopoly.de" ]
ps@neopoly.de
6af8db98178731f39ff28f1678f25b66209a5ff4
13ae63aff4cddc2bfc8becca8a6ad813b5b1b7cd
/data/Everything Else/Blender/2.73/scripts/addons/io_export_dxf/primitive_exporters/insert_exporter.py
80cf7dbdb7d11cff3fb9e6e54def41db512adf94
[ "MIT" ]
permissive
BlenderCN-Org/University-Assignments
d0e236599aeaa83e098cab5202c44c553949c97a
28b6bb9600b326e80bdf2ef6e7b46d64c501f79a
refs/heads/master
2022-12-24T20:06:41.904450
2019-01-01T21:06:01
2019-01-01T21:06:01
186,552,105
0
1
MIT
2022-12-15T02:10:57
2019-05-14T05:39:42
HTML
UTF-8
Python
false
false
2,464
py
from .base_exporter import BasePrimitiveDXFExporter class InsertDXFExporter(BasePrimitiveDXFExporter): pass #----------------------------------------------------- def exportInsert(ob, mx, insert_name, **common): """converts Object to DXF-INSERT in given orientation """ WCS_loc = ob.loc # WCS_loc is ...
[ "matthewgmcmillian@gmail.com" ]
matthewgmcmillian@gmail.com
0affb5c2908c801e1a13681bffc7ea7b82e0a314
35fff80627ad675bec1e429943cb2bbbaf141ca2
/notebooks/Papers/paper2/packages/gc/linear.py
20cc18c644f8dcbb81fbbbc2421c6b59b26360f2
[]
no_license
ishrat2003/IS-Goldsmiths
bac3473b7ffde7cebfb952cd78aba510c8d72c6f
afae9525ceb62cd09eb14149ee2b88798c5ceb90
refs/heads/master
2020-04-27T09:24:10.399620
2019-10-16T21:23:13
2019-10-16T21:23:13
174,212,961
0
0
null
null
null
null
UTF-8
Python
false
false
991
py
from .k3s import K3S import time class Linear(K3S): def __init__(self, datasetProcessor): super().__init__(datasetProcessor) self.startX = 0 self.now = time.time() return def setStartX(self, start): self.startX = start return def getPoints(self, totalTo...
[ "ishrat@thebyte9.com" ]
ishrat@thebyte9.com
45dd076e67e7b0aa3e828ae9f09e605be013a1f6
0e4860fecfdd34a3255003cc8c8df086c14083dd
/python/practise/learn-python/python_basic/function_return.py
c6bfaa6be95d86618db7d0e8ec69f0779b22cd3d
[]
no_license
anzhihe/learning
503ab9a58f280227011da5eaa4b14b46c678e6f3
66f7f801e1395207778484e1543ea26309d4b354
refs/heads/master
2023-08-08T11:42:11.983677
2023-07-29T09:19:47
2023-07-29T09:19:47
188,768,643
1,443
617
null
2023-08-24T02:10:34
2019-05-27T04:04:10
Python
UTF-8
Python
false
false
1,298
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @FileName: function_return.py @Function: python function return @Author: Zhihe An @Site: https://chegva.com @Time: 2021/7/4 """ """一、函数的定义之多个返回值""" """ 如果需要在调用函数后有多个返回值,可以在定义函数时在函数体内使用return语句返回由多个返回值组成的元组 """ # 把列表中的所有数分成奇数和偶数两类 de...
[ "anzhihe1218@gmail.com" ]
anzhihe1218@gmail.com
8d1d2eae33f02ebd2a785ecfa17dacc98d23012f
76fb0a3cfc9d9362ab29174bd1d55e888ea4d7f6
/tfx/experimental/templates/penguin/models/features_test.py
7119b23db0b9dd891dec82abd726468d73366074
[ "Apache-2.0" ]
permissive
tensorflow/tfx
0cfc9c55171352ecc98c9dfa8ffe976c689d7073
1b328504fa08a70388691e4072df76f143631325
refs/heads/master
2023-08-30T11:56:50.894497
2023-08-29T22:47:19
2023-08-29T22:48:26
169,116,405
2,116
899
Apache-2.0
2023-09-14T21:51:42
2019-02-04T17:14:36
Python
UTF-8
Python
false
false
862
py
# Copyright 2020 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
[ "tensorflow-extended-nonhuman@googlegroups.com" ]
tensorflow-extended-nonhuman@googlegroups.com