blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 616 | content_id stringlengths 40 40 | detected_licenses listlengths 0 112 | license_type stringclasses 2
values | repo_name stringlengths 5 115 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 777
values | visit_date timestamp[us]date 2015-08-06 10:31:46 2023-09-06 10:44:38 | revision_date timestamp[us]date 1970-01-01 02:38:32 2037-05-03 13:00:00 | committer_date timestamp[us]date 1970-01-01 02:38:32 2023-09-06 01:08:06 | github_id int64 4.92k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-04 01:52:49 2023-09-14 21:59:50 ⌀ | gha_created_at timestamp[us]date 2008-05-22 07:58:19 2023-08-21 12:35:19 ⌀ | gha_language stringclasses 149
values | src_encoding stringclasses 26
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 3 10.2M | extension stringclasses 188
values | content stringlengths 3 10.2M | authors listlengths 1 1 | author_id stringlengths 1 132 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
da8da5191d741d6fbad03c456f99bfd9faa9ca56 | db7dc139c3c66533bd543fad0f47b54b79cc33cf | /gui_game/2_background.py | 858d881e1937f5b7bd3d25cfcb7429c0e1b53158 | [] | no_license | lhs7091/pythonExam | a1b0529a960cbcbf610998a97e8821b8a125136c | aa739b250e24eb8a5375b55c40b7337049f2dbcf | refs/heads/master | 2021-06-29T04:27:47.290379 | 2021-01-17T11:56:20 | 2021-01-17T11:56:20 | 214,572,000 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 545 | py | import pygame
pygame.init()
pygame.display.set_caption("First Game")
screen_width = 480
screen_height = 640
screen = pygame.display.set_mode((screen_width, screen_height))
# set background
background = pygame.image.load(r"C:\Users\lhs-DT\Desktop\coding\python\pythonExam\gui_game\pics\background.png")
running = True... | [
"lhs7091@naver.com"
] | lhs7091@naver.com |
ff0166a942b05b6ebd16b37490316cd8a13e5e47 | e8e7ffc84b33713b40648156364ecaf54a2dcc32 | /src/spynner/testing.py | ea433f868bd7af4ef8cf5b7618bfe83529336c13 | [] | no_license | liguanpei/spynner | ee68ed87fe5bc8515452ccdea4af57d082900060 | fdb05855ae82f8f43e610e7615fae996cf4df596 | refs/heads/master | 2021-01-15T23:36:09.389897 | 2014-07-06T17:18:36 | 2014-07-06T17:18:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 641 | py |
def print_contents(browser, dest='~/.browser.html'):
"""Print the browser contents somewhere for you to see its context
in doctest pdb, type print_contents(browser) and that's it, open firefox
with file://~/browser.html."""
import os
open(os.path.expanduser(dest), 'w').write(browser.contents)
fro... | [
"kiorky@cryptelium.net"
] | kiorky@cryptelium.net |
40299cabd4d204cfd9ae5096bc918f0827ede7f7 | 05331bebd725758555d30ac41c38731b4a14d6c1 | /Project/migrations/0026_subject_student.py | ed96c02124c2295ff0f0418de2e73803623c5024 | [] | no_license | cabilangan112/System | ee397520c969ae93220ba9319f084147040e59e7 | 4b980f15655e60ac08d2a0a373f7930aa34d1937 | refs/heads/master | 2021-07-14T03:36:17.393314 | 2017-10-20T01:09:02 | 2017-10-20T01:09:02 | 105,743,649 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 553 | py | # -*- coding: utf-8 -*-
# Generated by Django 1.11.5 on 2017-10-10 03:25
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('Project', '0025_remove_subject_student'),
]
operat... | [
"jassencabilangan@gmail.com"
] | jassencabilangan@gmail.com |
cf15973ea1f6d3f4617577c4fceb414b6c19a238 | 3e917645a0e1375189c8ee8c1e93ed15348111ef | /projects/usxp/stages/refine/archive/parallel_mask_nlcd_v1.py | 93445216c3adaa4477007ee103350ce7d0acca6d | [] | no_license | mbougie/gibbs | d4544e688ce2b63530535e1f5102328aece30e0d | 39d5dc0866fc0dd149d0cf1f22bfd20911a9d29e | refs/heads/master | 2021-01-12T06:59:27.214123 | 2020-01-07T15:48:12 | 2020-01-07T15:48:12 | 83,906,717 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,771 | py | import sys
import os
#import modules from other folders
sys.path.append('C:\\Users\\Bougie\\Desktop\\Gibbs\\scripts\\usxp\\misc\\')
import arcpy
from arcpy import env
from arcpy.sa import *
import glob
from sqlalchemy import create_engine
import pandas as pd
import numpy as np
import psycopg2
from itertools import gro... | [
"mbougie@wisc.edu"
] | mbougie@wisc.edu |
5f9bb1c7eb8a5afde6788feba79dea7d17e40822 | 18b3ad3b0e1f7f10969738251e1201d01dfbc6bf | /flask-application/ur1.py | d6e85864ae3ba1e62d693342c3e5c5d7feb966d1 | [] | no_license | sahthi/backup2 | 11d509b980e731c73733b1399a8143780779e75a | 16bed38f0867fd7c766c2a008c8d43b0660f0cb0 | refs/heads/master | 2020-03-21T12:39:56.890129 | 2018-07-09T08:12:46 | 2018-07-09T08:12:46 | 138,565,151 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 491 | py | import urllib2
import sys
def fetch_data(url):
try:
w = urllib2.urlopen(url)
except:
print("Bad URL")
sys.exit(100)
data = w.read()
return data
def fetch_word_count(url):
data_s = fetch_data(url)
lines = data_s.split("\n")
word_count = {}
for line in lines:
for word in line.sp... | [
"siddamsetty.sahithi@votarytech.com"
] | siddamsetty.sahithi@votarytech.com |
2ae14048e2116d4351b54463de671dc02a3164ff | 87b8dc145c5cd901dafc78875daf2bf455a99b97 | /dcmotors.py | d91d27469e0017d9dfa2097ece0d422a524408b1 | [] | no_license | switchdoclabs/SDL_Pi_MouseAir | 0e3644d1134fefe8cb9974b503b9c9ec9fbfc213 | 21d8458ae974527a5758f7d60f6eb7c4f54078d3 | refs/heads/master | 2020-07-15T14:37:20.663925 | 2019-11-04T01:58:26 | 2019-11-04T01:58:26 | 205,584,684 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,111 | py | #!/usr/bin/env python
#
#
# SwitchDoc Labs, July 2019
#
# imports
import sys
import time
import datetime
import random
# Set frequency to 60hz, good for servos.
pwm.set_pwm_freq(60)
print ""
print "Test Launch Motors Version 1.0 - SwitchDoc Labs"
print ""
print "Program Started at:"+ time.strftime("%Y-%m-%d %H:%... | [
"jshovic@switchdoc.com"
] | jshovic@switchdoc.com |
8ac9794ad07a8e403e452727a450013aa82df736 | eaa96948036ce752e5574dd9032b8921ad889ae2 | /setup.py | eaea85c506e2e54135f1757f1724c356293f32bc | [
"BSD-2-Clause"
] | permissive | SiloGit/CrackMapExec | df436e56c4ef429e6d8da2e284b7eec4ac0e6004 | 7fe048a7df4061f16708b52654d46d2137682822 | refs/heads/master | 2021-01-20T03:15:02.226216 | 2017-04-25T22:16:50 | 2017-04-25T22:16:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,058 | py | from setuptools import setup, find_packages
setup(name='crackmapexec',
version='4.0.0dev',
description='A swiss army knife for pentesting networks',
classifiers=[
'Environment :: Console',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'To... | [
"byt3bl33d3r@gmail.com"
] | byt3bl33d3r@gmail.com |
08890ea9af283503ef7f4846ae336056f03530d8 | 29b1889b28eb7aeff82b7e0c11dbf62a24c0f68d | /tmllc/__init__.py | 80d1c7fec506d1dd0f8a0178d040fbd0f6b2f75e | [
"MIT"
] | permissive | kuntzer/mllc | 96f61ce209f59cf012273a7884f48096da081706 | 67a66b665b91f339256b176d1d96176ae8d0d2af | refs/heads/master | 2020-04-05T03:54:22.613498 | 2018-12-06T17:18:03 | 2018-12-06T17:18:03 | 156,531,518 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 101 | py | from . import utils
from . import data
from . import plots
from . import io
from . import diagnostics | [
"thibault.kuntzer@epfl.ch"
] | thibault.kuntzer@epfl.ch |
3812b929d0d248e77fc93034680fa7394e963d27 | 53c575f6c5af6ca12d0a51a9108424042f7d6d53 | /cgi-bin/hi.py | a4444bfa835e504bf8721641845c802caa7e49cd | [] | no_license | akashsewani/CloudProject | 3ecacc6ff7542c348bd721495f77bf0c27958f02 | bf5f3d0e40cdfe72b7bcd4ad325c52f94ea14ad4 | refs/heads/master | 2020-04-05T16:31:13.343744 | 2018-11-10T20:02:38 | 2018-11-10T20:02:38 | 157,016,407 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 355 | py | #!/usr/bin/python2
print "content-type:text/html"
print ""
import commands,cgi,cgitb
cgitb.enable()
content=cgi.FormContent()
key=content.keys()
value=content.values(key[0])
commands.getstatusoutput("sudo virsh start "+value[0])
print "<body onload=\"javascript:window.open('http://192.168.43.163?host=192.168.43.163&... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
ed041323174299b51602556c1579187e20df3fa7 | fdfb9b56b571e93f61e26379dc20675ef67f6485 | /__init__.py | 1cc3f5ee9abdc4dbc8af75074ad35d557309e715 | [] | no_license | baibhab007/Browser-request-automate | ce6577096d36354996a38677bf9588e447e72a3b | c471b77dae1b4f9380c718cb0304dce98d2acddd | refs/heads/master | 2020-07-18T01:41:50.031858 | 2019-09-03T18:32:20 | 2019-09-03T18:32:20 | 206,145,862 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,413 | py | import random
import mechanize
import time
import logging
import re
br = mechanize.Browser()
br.open("http://fens-sw3-pacc-was61.nl.eu.abnamro.com/VifWeb/sendform_ejb.jsp")
BC = open('BC1.txt', 'r')
BC2 = re.split('\n',BC.read())
for x in BC2:
i = time.time()
br.select_form(name="fm")
br.form['formkey'] = f... | [
"noreply@github.com"
] | baibhab007.noreply@github.com |
e2ecfee6d14d3b8a7b6505c681526f039e8e84e4 | 8f8ac99fd3ed9ceb36778b404f6fdd0b6899d3f4 | /pyobjc-framework-Cocoa/PyObjCTest/test_nsuserinterfaceitemidentification.py | 0e4e374bcb5e0e3c8baf758bdb7329c0375a7249 | [
"MIT"
] | permissive | strogo/pyobjc | ac4201c7742eb75348328eeecb7eedf4e3458de3 | 2579c5eaf44b0c5af77ee195c417d2c65e72dfda | refs/heads/master | 2023-07-13T00:41:56.448005 | 2021-08-24T06:42:53 | 2021-08-24T06:42:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 275 | py | import AppKit # noqa: F401
import objc
from PyObjCTools.TestSupport import TestCase, min_os_level
class TestNSUserInterfaceItemIdentification(TestCase):
@min_os_level("10.7")
def testProtocols(self):
objc.protocolNamed("NSUserInterfaceItemIdentification")
| [
"ronaldoussoren@mac.com"
] | ronaldoussoren@mac.com |
91e54dd9fdf9a7072638e7aaeb12afc12197592a | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/abc118/C/4922673.py | c6297d5f8a0aeee31978ba0f1d46ce5d28649ca9 | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | Python | false | false | 219 | py | N = int(input())
A = list(map(int,input().split(' ')))
GCD = A[0]
def alg_gcd(a,b):
if a % b == 0:
return b
else:
return alg_gcd(b,a%b)
for i in range(1,N):
GCD = alg_gcd(GCD,A[i])
print(GCD) | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
6d9eb7587f0008b6ade4f82306e9283b016c289d | b15d2787a1eeb56dfa700480364337216d2b1eb9 | /accelbyte_py_sdk/api/group/operations/group/update_group_custom_rul_f33cbf.py | e0ecec655dae7254bb68d97ae7cbc6757919362c | [
"MIT"
] | permissive | AccelByte/accelbyte-python-sdk | dedf3b8a592beef5fcf86b4245678ee3277f953d | 539c617c7e6938892fa49f95585b2a45c97a59e0 | refs/heads/main | 2023-08-24T14:38:04.370340 | 2023-08-22T01:08:03 | 2023-08-22T01:08:03 | 410,735,805 | 2 | 1 | MIT | 2022-08-02T03:54:11 | 2021-09-27T04:00:10 | Python | UTF-8 | Python | false | false | 9,305 | py | # Copyright (c) 2021 AccelByte Inc. All Rights Reserved.
# This is licensed software from AccelByte Inc, for limitations
# and restrictions contact your company contract manager.
#
# Code generated. DO NOT EDIT!
# template file: ags_py_codegen
# pylint: disable=duplicate-code
# pylint: disable=line-too-long
# pylint:... | [
"elmernocon@gmail.com"
] | elmernocon@gmail.com |
cf7162885a0d4c6c0756042ba722aaa6aba68231 | 50106d3b4996c56cd625ae5cebbd9e8175d76e4f | /jobadvisor/landing/migrations/0004_advantage_level.py | eea3189ebc76f754d100efcf2f3e5412c3b9a755 | [] | no_license | ewgen19892/jobadvisor | 07231a6245024468a33cc6ff734a6276f9b6ec95 | 713b9d84ac70d964d46f189ab1f9c7b944b9684b | refs/heads/master | 2023-05-27T00:15:35.170865 | 2021-06-20T16:31:32 | 2021-06-20T16:31:32 | 378,689,001 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 477 | py | # Generated by Django 2.2.3 on 2019-07-11 11:53
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('landing', '0003_auto_20190605_0939'),
]
operations = [
migrations.AddField(
model_name='advantage',
name='level',
... | [
"e.bohovchuk@admitad.com"
] | e.bohovchuk@admitad.com |
9189b05bfbed4a67d7049516f9856f951949ccf0 | d554b1aa8b70fddf81da8988b4aaa43788fede88 | /5 - Notebooks e Data/1 - Análises numéricas/Arquivos David/Atualizados/logDicas-master/data/2019-1/226/users/4152/codes/1836_1276.py | 2534b6047fd67a2734a1fd041eb13e2310ae7c61 | [] | no_license | JosephLevinthal/Research-projects | a3bc3ca3b09faad16f5cce5949a2279cf14742ba | 60d5fd6eb864a5181f4321e7a992812f3c2139f9 | refs/heads/master | 2022-07-31T06:43:02.686109 | 2020-05-23T00:24:26 | 2020-05-23T00:24:26 | 266,199,309 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 211 | py | from numpy import *
mat = array(eval(input()))
dias = zeros(shape(mat)[1], dtype=int)
for i in range(shape(mat)[1]):
dias[i] = sum(mat[:, i])
for i in range(size(dias)):
if dias[i] == max(dias):
print(i + 1) | [
"jvlo@icomp.ufam.edu.br"
] | jvlo@icomp.ufam.edu.br |
c579629aed1ccd6ed632aa724df72391b046d38a | a0c53168a4bdcfb0aa917d6d2c602f0999443a10 | /projexui/widgets/xorbpopupbutton.py | b3bc14175d1d474bdaac1970ec16305ab42b612f | [] | no_license | kanooshka/DPS_PIPELINE | 8067154c59ca5c8c9c09740969bb6e8537021903 | df2fcdecda5bce98e4235ffddde1e99f334562cc | refs/heads/master | 2021-05-24T04:32:03.457648 | 2018-09-07T13:25:11 | 2018-09-07T13:25:11 | 29,938,064 | 3 | 2 | null | 2020-07-23T23:06:37 | 2015-01-27T22:26:01 | Python | UTF-8 | Python | false | false | 2,281 | py | #!/usr/bin/python
"""
Extends the base XPopupButton to specifically handle Orb records and widgets.
"""
# define authorship information
__authors__ = ['Eric Hulser']
__author__ = ','.join(__authors__)
__credits__ = []
__copyright__ = 'Copyright (c) 2011, Projex Software'
__license__ ... | [
"kanooshka@gmail.com"
] | kanooshka@gmail.com |
5f3988033edc1f356b98123d6fbee86eb996090e | 3ff9821b1984417a83a75c7d186da9228e13ead9 | /2020_June_Leetcode_30_days_challenge/Week_2_Search Insert Position/by_binary_search.py | fb5fa93b96753e6b419eed88ccdcf020f006a663 | [
"MIT"
] | permissive | brianchiang-tw/leetcode | fd4df1917daef403c48cb5a3f5834579526ad0c2 | 6978acfb8cb767002cb953d02be68999845425f3 | refs/heads/master | 2023-06-11T00:44:01.423772 | 2023-06-01T03:52:00 | 2023-06-01T03:52:00 | 222,939,709 | 41 | 12 | null | null | null | null | UTF-8 | Python | false | false | 1,749 | py | '''
Description:
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.
You may assume no duplicates in the array.
Example 1:
Input: [1,3,5,6], 5
Output: 2
Example 2:
Input: [1,3,5,6], 2
Output: 1
Example 3:
... | [
"brianchiang1988@icloud.com"
] | brianchiang1988@icloud.com |
008046281d3dce9901cac96294c1cb23b832da33 | 9d77c2434b0e804af2ecaf4a4ea6d99f6ac6d96d | /models/official/recommendation/popen_helper.py | 190b4f89fb0a50747d1bb58444c9f7c51c1cc5e3 | [
"Apache-2.0",
"MIT"
] | permissive | UpCoder/ISBI_LiverLesionDetection | cce7c118601548eef8bfeeedfe4f50d88411a7df | e21ce360e55092a16acc4d147a1418a53545d562 | refs/heads/master | 2022-12-12T12:57:50.299718 | 2019-04-03T03:49:43 | 2019-04-03T03:49:43 | 179,206,267 | 8 | 1 | MIT | 2022-12-08T16:02:31 | 2019-04-03T03:49:00 | Python | UTF-8 | Python | false | false | 1,300 | py | # Copyright 2018 The TensorFlow Authors. 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 applica... | [
"546043882@qq.com"
] | 546043882@qq.com |
f1e0ac72229e2d4dd840c00b25efac30c3191e33 | 5932c38a847adbd9ee3b9ae6e8abf90f9ee919e1 | /for/sum-n.py | 03bb8314d8cc436c3fe8add8d5c266d40401756c | [] | no_license | AnhQuann/c4e-source | fe3b7c3e1ec861140b38ba1d49057d24863a28e7 | c73e3a08e6983516ebe9c738e0f8ecf1cddd94d5 | refs/heads/master | 2020-04-26T04:03:31.475190 | 2019-03-01T11:12:57 | 2019-03-01T11:12:57 | 173,288,702 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 91 | py | n = int(input("Enter a number:"))
sum = 0
for i in range(1, n+1):
sum += i
print(sum)
| [
"anhquan19051905@gmail.com"
] | anhquan19051905@gmail.com |
54be1d23baeacc24256d7be5806f265ae4e10c91 | 5dd47abf7061201d9378e73e51f08fbb314ba2fd | /envdsys/envdatasystem/migrations/0026_auto_20210228_1952.py | 54871b31e83a4b950da7478b510232aa9e43b3d6 | [
"Unlicense"
] | permissive | NOAA-PMEL/envDataSystem | 4d264ae5209015e4faee648f37608d68a4461d0a | 4db4a3569d2329658799a3eef06ce36dd5c0597d | refs/heads/master | 2023-02-23T22:33:14.334737 | 2021-07-22T01:09:16 | 2021-07-22T01:09:16 | 191,809,007 | 1 | 0 | Unlicense | 2023-02-08T00:45:54 | 2019-06-13T17:50:03 | Python | UTF-8 | Python | false | false | 556 | py | # Generated by Django 3.1.7 on 2021-02-28 19:52
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('envdatasystem', '0025_auto_20210228_1935'),
]
operations = [
migrations.AlterField(
model_name=... | [
"derek.coffman@noaa.gov"
] | derek.coffman@noaa.gov |
96e6a4ea686fae295b36f57c91a62f933e45cf2b | 620323fc090cebaf7aca456ff3f7fbbe1e210394 | /qt__pyqt__pyside__pyqode/animate_move_and_rotate_rect_draw_dynamic_QPainter_QTimer.py | cd6b52d320435bbf203c1f63fcd0ff087ecfa68f | [
"CC-BY-4.0"
] | permissive | gil9red/SimplePyScripts | bd2733372728bf9b9f00570e90316fa12116516b | 773c2c9724edd8827a1dbd91694d780e03fcb05a | refs/heads/master | 2023-08-31T04:26:09.120173 | 2023-08-30T17:22:59 | 2023-08-30T17:22:59 | 22,650,442 | 157 | 46 | null | 2023-09-08T17:51:33 | 2014-08-05T16:19:52 | Python | UTF-8 | Python | false | false | 2,061 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = "ipetrash"
import math
from PyQt5.QtWidgets import QApplication, QWidget
from PyQt5.QtGui import QPainter, QTransform, QPolygonF, QPen
from PyQt5.QtCore import QPointF, Qt, QTimer
class MainWindow(QWidget):
def __init__(self):
super().__init_... | [
"ilya.petrash@inbox.ru"
] | ilya.petrash@inbox.ru |
dfceb929b8b666ea94121c73dd49830542cd4777 | cd47264bc02966f92da2130fda6f4f73549ee7ce | /rooms/settings.py | 3322e224471c90e7cc0d1a6ca9b4eb0939c7c2f5 | [] | no_license | LeoKnox/dungeon_django | 79cbc2b9914f73150b0fceb2141507fd36ad3457 | 4dce8849764949b84a0948a131131dbfaf1d5ac7 | refs/heads/main | 2023-02-08T04:28:26.872893 | 2021-01-02T07:42:47 | 2021-01-02T07:42:47 | 318,706,320 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,399 | py | """
Django settings for dungeon_react_proj project.
Generated by 'django-admin startproject' using Django 3.1.4.
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/setting... | [
"noreply@github.com"
] | LeoKnox.noreply@github.com |
cd361ee536d822a43a307037533e7214f40a73eb | 1bc2a635a93b5bc84606edf9ac2226851cac9e6d | /rolling/action/collect.py | 159e2146700cb8bc30453a4ff4619b6aeae601c2 | [
"MIT"
] | permissive | coolkat64/rolling | 819149cbb1e11a455b93a030477f9da91e2f93e4 | 4c3ee2401128e993a52ac9b52cdbd32e17728129 | refs/heads/master | 2022-11-29T00:35:14.058665 | 2020-07-31T20:37:15 | 2020-07-31T20:37:15 | 285,312,272 | 0 | 0 | MIT | 2020-08-05T14:25:48 | 2020-08-05T14:25:47 | null | UTF-8 | Python | false | false | 8,061 | py | # coding: utf-8
import dataclasses
import typing
import serpyco
from guilang.description import Description
from guilang.description import Part
from guilang.description import Type
from rolling.action.base import CharacterAction
from rolling.action.base import get_character_action_url
from rolling.exception import I... | [
"sevajol.bastien@gmail.com"
] | sevajol.bastien@gmail.com |
b42611ac7ca97c059c01f558f58896a240a95d72 | a8b37bd399dd0bad27d3abd386ace85a6b70ef28 | /airbyte-integrations/connectors/source-ringcentral/source_ringcentral/__init__.py | c183ed7ff04d26138e4f0989f8fd007cbaea11cd | [
"MIT",
"LicenseRef-scancode-free-unknown",
"Elastic-2.0"
] | permissive | thomas-vl/airbyte | 5da2ba9d189ba0b202feb952cadfb550c5050871 | 258a8eb683634a9f9b7821c9a92d1b70c5389a10 | refs/heads/master | 2023-09-01T17:49:23.761569 | 2023-08-25T13:13:11 | 2023-08-25T13:13:11 | 327,604,451 | 1 | 0 | MIT | 2021-01-07T12:24:20 | 2021-01-07T12:24:19 | null | UTF-8 | Python | false | false | 134 | py | #
# Copyright (c) 2023 Airbyte, Inc., all rights reserved.
#
from .source import SourceRingcentral
__all__ = ["SourceRingcentral"]
| [
"noreply@github.com"
] | thomas-vl.noreply@github.com |
a1af728b060536e6ebc5e25ba15e6cd9c0d3c596 | 6bc9ce5219f7da1ee53200414889ea424a7dd421 | /src/mailer/migrations/0001_initial.py | ea9b5b83108e291257a96b8d8de1409aaa6c59a2 | [
"MIT"
] | permissive | pinax/django-mailer | 657a1c33234ac2b2e78900344c949716b09026c3 | 51d73f11a5ccf228d94cdb149b649a7c7e44744d | refs/heads/master | 2023-08-29T12:42:28.865962 | 2023-07-17T07:46:37 | 2023-07-17T07:46:37 | 419,570 | 544 | 155 | MIT | 2023-07-17T07:46:38 | 2009-12-11T09:25:55 | Python | UTF-8 | Python | false | false | 2,289 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
import django.utils.timezone
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='DontSendEntry',
fields=[
... | [
"L.Plant.98@cantab.net"
] | L.Plant.98@cantab.net |
e350592809b8c10e17fbd93a0c2d4d9a1cc3c164 | e7fa895f5af83618041a602293fc2384d3aae062 | /stars.py | be485c5d5a7eba5792677d759182d6af5a62296f | [] | no_license | Gadgetoid/Serial-TFT-Python | 2d554d6c2991602af4bc318eb9c1378d78099c4b | 0d930137348bb2f26709ee178fc21233bf34bc33 | refs/heads/master | 2021-01-15T16:10:48.794151 | 2013-05-23T08:33:02 | 2013-05-23T08:33:02 | 10,097,031 | 1 | 0 | null | 2013-05-23T08:33:04 | 2013-05-16T08:29:51 | Python | UTF-8 | Python | false | false | 4,944 | py | # Hobbytronics TFT - 3d star field demo (stars.py)
#
# This example demonstrates the serialtft library included
#
# Based on code found here:
# http://codentronix.com/2011/05/28/3d-starfield-made-using-python-and-pygame/
#
# This is example will run slowly and REQUIES modified firmware for best effect
#
# Run in backgr... | [
"phil@gadgetoid.com"
] | phil@gadgetoid.com |
d6fe6aa9f4fa02e4362b9c2ad92566d4af7e3ce7 | 212c3d0f91cec628cff8092c6884da7834339444 | /eventlist.py | 497fe6ced55e5d6186396970afc35edeb3af33a9 | [
"Apache-2.0"
] | permissive | mmoore99/softconsole | 6880dbaf86102d2db7557673f6558b6ae7b0a6ea | da05c0c0764a4684ab52c18ab030123234823d8b | refs/heads/master | 2021-01-12T05:55:04.952635 | 2016-12-22T23:21:35 | 2016-12-22T23:21:35 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,791 | py | from heapq import *
import time
import pygame
from debug import debugPrint
Tasks = None
class EventItem(object):
# basic event has name,dt, abstime,target (screen, proc, something - needed for hash)
def __init__(self, gpid, name):
self.gpid = gpid
# self.delay = -1 # delay in seconds filled in when added to li... | [
"kevin@coral-zone.com"
] | kevin@coral-zone.com |
2813f27ae1a62efeabfbfbda06c29717fd4f20d3 | ce2b5ca9a6f0d67a8305a7c2ec16974953b48c55 | /GR1/formal_Class/Section_14/Section_14_02.py | e682436773c546bd9ff3c6e762880630656270e3 | [] | no_license | xiaoloinzi/worksplace | 43fc36cf9c795e5aedab3d35d4bf7f63fe63eab1 | 2d7a0a062cf7b60bbc2b40d283f1c427e6c679c9 | refs/heads/master | 2020-05-30T22:07:17.059307 | 2019-06-03T10:49:57 | 2019-06-03T10:49:57 | 189,986,579 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,875 | py | # encoding=utf-8
import time
import multiprocessing
from multiprocessing import Process,Pool,Lock,Pipe,Manager
from multiprocessing.managers import BaseManager
import random
# Semphore--生成N把锁
# Lock --生成一把锁
def woek(s,i):
s.acquire()
print multiprocessing.current_process().name+'acquire'
time.sleep(i)
... | [
"xiaoloinzi@163.com"
] | xiaoloinzi@163.com |
a4003f0004d2d50dfb59ef4091cb1a7bae3b0d9b | a90077635aeac846965381e0b07591a1df011afe | /care/facility/migrations/0012_merge_20200321_1015.py | 6068dfb89aa2ef4e89e473208c036756f10c3c8c | [
"MIT"
] | permissive | Basharckr/care | f873ca140ae8607846d9b9500e3c21e9bfa15800 | c86ae2614ea9ba80b140a2eb21ad64fdbb47ad7e | refs/heads/master | 2023-06-17T21:26:48.936321 | 2021-07-12T06:03:52 | 2021-07-12T06:03:52 | 386,884,450 | 1 | 0 | MIT | 2021-07-17T08:41:09 | 2021-07-17T08:41:09 | null | UTF-8 | Python | false | false | 279 | py | # Generated by Django 2.2.11 on 2020-03-21 10:15
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('facility', '0011_auto_20200321_0927'),
('facility', '0011_facility_phone_number'),
]
operations = [
]
| [
"vichuhari100@gmail.com"
] | vichuhari100@gmail.com |
3e0dc8a729bad8dd37470bba84e0ed6dc29a1901 | 99156095108d76da7b7c1770920771953a3f589c | /dialog_generate/nlu_data_gen.py | 8a6a7c99a8b0c013cae8bd7c97c4e1517a02b26e | [] | no_license | naiqili/Lab | 9fe91c5d1a5349fef9cbc565a04287f7ab475326 | 797276f6fa821c1464e81a1277786dff899a48e3 | refs/heads/master | 2021-01-01T19:25:55.724364 | 2017-09-01T07:36:23 | 2017-09-01T07:36:23 | 78,506,419 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,224 | py | import nltk, random, json, itertools, cPickle
from nltk.parse.generate import Nonterminal
from grammar.generate import generate
from utils import *
from build_data1 import dur2str, time2str
from pprint import pprint
ontology_file = './ontology_itime3.json'
output_file = './tmp/nlu_data.pkl'
all_data = []
# Prepare o... | [
"naiqil@student.unimelb.edu.au"
] | naiqil@student.unimelb.edu.au |
9a88a67e8ecefc21c20afa9aaab4e275d394f49a | fd443565f10faec3ba40a0bb0e8821453413f952 | /lilmaster_23255/wsgi.py | 12cdf18b6f21ff019ba478c8cc229aff4c7c6805 | [] | no_license | crowdbotics-apps/lilmaster-23255 | 55c6cf47b3d0cd6dc4d544ed013b54cf8d3e3bda | 44fb33c841b57cc71e10a4ebb394ad32184e8e1d | refs/heads/master | 2023-01-28T14:57:45.927724 | 2020-12-08T18:31:48 | 2020-12-08T18:31:48 | 319,726,865 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 407 | py | """
WSGI config for lilmaster_23255 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.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJAN... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
c4bf327692f106d9be03323aafbf3542c597baa2 | 0d86a8ac0b26ecdc0cf15757b8be27305c688567 | /model.py | 9addbcd1c723b7d13ec3c5482aeb217d2c12eb04 | [] | no_license | scientist272/Trump_tweets_generator_lstm | a59b9d07b6fcaf18b23e3428eb65a888846b510c | 8541dd7c09decc8b52aa0a6a63c3eab69b971f22 | refs/heads/master | 2020-10-01T23:08:23.142299 | 2019-12-12T15:58:19 | 2019-12-12T15:58:19 | 227,643,089 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,590 | py | #!/usr/bin/env python
# coding: utf-8
# In[ ]:
import numpy as np
from keras.models import Sequential
from keras.layers import Activation, Dropout, Flatten, Dense, BatchNormalization, LSTM, Embedding, TimeDistributed
from keras.models import load_model, model_from_json,save_model
from keras.preprocessing.sequence im... | [
"123"
] | 123 |
b674a0c24dd3cba037932d3e25034a2ad9755cb7 | 3dcd426e84b40dee8e61e4fed5f598794cf915c8 | /braitenberg/world.py | 320b5975f404713b646340908549f4440a25ce3d | [
"BSD-3-Clause"
] | permissive | afcarl/fetedelascience2016 | 417aac38263085e2239d6000b9864817f29fd53e | b2ab79c0e1d18be41a4e825f086f9dff4709e384 | refs/heads/master | 2020-03-16T20:20:39.612626 | 2017-03-13T16:38:09 | 2017-03-13T16:38:09 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,827 | py |
class World:
def __init__(self, w, h):
self.w, self.h = w, h
self.center = w/2, h/2
self.lights = {}
def add_light(self, name, x, y, intensity):
self.lights[name] = Light(x, y, intensity=intensity)
def del_light(self, name):
del self.light[name]
def draw(sel... | [
"fabien.benureau+git@gmail.com"
] | fabien.benureau+git@gmail.com |
5a4507b01dd2264cf97751fa969b2d409c95bd25 | c6eb175980e148809846090ac3334cb4a4a4bd16 | /test45.py | ccd9e52844ee9dd3eb0f1cfdf1f57f2ed7fe1375 | [] | no_license | yukitomo/NLP_100_Drill_Exercises | a44c627dae07b6b6465d4161363cd11fd09224a2 | dcc279a1573e4d99f3f04543bbdf2d8a3fb0653e | refs/heads/master | 2016-09-06T10:22:11.308524 | 2014-10-24T09:25:36 | 2014-10-24T09:25:36 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 476 | py | #!/user/bin/python
#-*-coding:utf-8-*-
import sys
import MeCab
from test41 import mecab_input
data_japanese=sys.argv[1]
text=mecab_input(data_japanese)
#test45:AのBという表現を抜き出せ
for m in range(len(text)):
for n in range(len(text[m])):
if text[m][n]["surface"]=="の":
if text[m][n-1]["pos"]=="名詞" and text[m][n+1]["p... | [
"over.the.tr0ouble@gmail.com"
] | over.the.tr0ouble@gmail.com |
aa46f04d85eefedf7332969ce939ae4ccc1f736a | 5a07b73b33b198a9a1af7ed6f6de2c570b565001 | /ginga/gw/GwMain.py | daddd7f269f104c0688b799fc80f41e7fe5a23ab | [
"BSD-3-Clause"
] | permissive | jochym/ginga | c84f557467f941c43ab3454352c16ad761bc18bc | 91b05b0a9e39f0fa9c3ac9f1589bc4640d91c15f | refs/heads/master | 2020-12-02T17:47:27.856839 | 2015-11-17T21:30:10 | 2015-11-17T21:30:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,650 | py | #
# GwMain.py -- application threading help routines.
#
# Eric Jeschke (eric@naoj.org)
#
# Copyright (c) Eric R. Jeschke. All rights reserved.
# This is open-source software licensed under a BSD license.
# Please see the file LICENSE.txt for details.
#
from __future__ import print_function
import sys, traceback
import... | [
"eric@naoj.org"
] | eric@naoj.org |
67c8d8c5e4551719cecfbd614c87ff0066bf4c68 | 75764b5febc099a7177311d23c625f8d2a8484c5 | /api/order/models/__init__.py | 55981564413af881dc4cd2c253ef5736c33b67c6 | [] | no_license | drsantos20/customer-service | f58a054b40390971a4289711ef805ff4355b2b95 | 859f09854e0a5b15de6876e6605dc194f8f20415 | refs/heads/master | 2022-01-12T20:49:30.821904 | 2020-08-16T02:49:45 | 2020-08-16T02:49:45 | 227,499,394 | 0 | 0 | null | 2022-01-06T22:40:23 | 2019-12-12T02:04:13 | Python | UTF-8 | Python | false | false | 77 | py | from .address import Address
from .order import Order
from .user import User
| [
"drsantos20@gmail.com"
] | drsantos20@gmail.com |
6ab9222edbcaec50ac3f97bac9ebfd65fa99124b | 2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae | /python/python_6999.py | 072bb31cc420eb73e66ff7c82c9b8f5c85ebda96 | [] | no_license | AK-1121/code_extraction | cc812b6832b112e3ffcc2bb7eb4237fd85c88c01 | 5297a4a3aab3bb37efa24a89636935da04a1f8b6 | refs/heads/master | 2020-05-23T08:04:11.789141 | 2015-10-22T19:19:40 | 2015-10-22T19:19:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 64 | py | # Checking a list of objects against another list of objects
in
| [
"ubuntu@ip-172-31-7-228.us-west-2.compute.internal"
] | ubuntu@ip-172-31-7-228.us-west-2.compute.internal |
56900d9ec3bbd853917ce4f2a1d89caff0f06787 | f305f84ea6f721c2391300f0a60e21d2ce14f2a5 | /7_graph/经典题/置换环/765. 情侣牵手.py | 705c3368745d26ac3749943faef493ab217fe4b9 | [] | no_license | 981377660LMT/algorithm-study | f2ada3e6959338ae1bc21934a84f7314a8ecff82 | 7e79e26bb8f641868561b186e34c1127ed63c9e0 | refs/heads/master | 2023-09-01T18:26:16.525579 | 2023-09-01T12:21:58 | 2023-09-01T12:21:58 | 385,861,235 | 225 | 24 | null | null | null | null | UTF-8 | Python | false | false | 2,155 | py | # n 对情侣坐在连续排列的 2n 个座位上,想要牵到对方的手。
# 人和座位由一个整数数组 row 表示,其中 row[i] 是坐在第 i 个座位上的人的 ID。
# 情侣们按顺序编号,第一对是 (0, 1),第二对是 (2, 3),以此类推,最后一对是 (2n-2, 2n-1)。
# 返回 最少交换座位的次数,以便每对情侣可以并肩坐在一起。
# 每次交换可选择任意两人,让他们站起来交换座位。
# !情侣牵手 - 置换环
from collections import defaultdict
from typing import DefaultDict, List, Set
class Solution... | [
"lmt2818088@gmail.com"
] | lmt2818088@gmail.com |
bbd7dca1fb93de1f06c51b789d21ea714339bcea | 320357ec59d1a50a7ebb9219281eb2c7e73a9a89 | /ptina/tools/control.py | eaa06486a2ba9178d5c28bb3d7c460680cc7f1f4 | [] | no_license | archibate/ptina | e61143d9a54f0dc98446aa581daa83086cbf57c7 | 3f1112cdfc8f71f6d0c49f4eb2ba7789b432c774 | refs/heads/master | 2023-06-27T17:46:52.896353 | 2021-08-03T06:20:32 | 2021-08-03T06:20:32 | 340,851,384 | 8 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,248 | py | '''
camera control using Taichi GUI events (resulting in a 4x4 perspective matrix)
'''
from ptina.common import *
print('[TinaGUI] Hint: MMB to orbit, Shift+MMB to pan, wheel to zoom')
class CamControl:
def __init__(self, gui, fov=60, is_ortho=False, blendish=True):
self.gui = gui
self.center =... | [
"1931127624@qq.com"
] | 1931127624@qq.com |
4202bf250f078e1e7d8e7ff6131da4c4dd74fb04 | 2d82d4c6574bd6d32f2cf1c781615f7951f55f66 | /muntjac/terminal/composite_error_message.py | 9a76f78a35d9e2bbc078eba56c1772d4d4b69c46 | [
"Apache-2.0"
] | permissive | metaperl/muntjac | f83f745ee03942a61af92ee7fba7285aa9c46f3c | 8db97712edd81b4d25deaaa48587d2a08010f2c8 | refs/heads/master | 2021-01-15T22:04:25.057862 | 2012-11-09T03:52:59 | 2012-11-09T03:52:59 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,684 | py | # @MUNTJAC_COPYRIGHT@
# @MUNTJAC_LICENSE@
"""For combining multiple error messages together."""
import sys
from muntjac.terminal.error_message import IErrorMessage
from muntjac.terminal.paintable import IRepaintRequestListener
class CompositeErrorMessage(IErrorMessage):
"""Class for combining multiple error me... | [
"r.w.lincoln@gmail.com"
] | r.w.lincoln@gmail.com |
fc408ab119d04d82a24ffafc55e36e69ccf3f042 | 232fc6296b7149e24f8db401191439c43f2dc6cb | /oop/basic_oop.py | d6966689f193939646b779ceb723eb8bdcec745f | [
"MIT"
] | permissive | hoangducchinh/pydemo | 9181bf947da59d147e4fc89f20597cab384544cf | 8dedc138f4fb984e2b14af1ab4b3feb89baf9cff | refs/heads/master | 2021-01-14T08:59:31.214281 | 2015-06-05T15:00:23 | 2015-06-05T15:00:23 | 34,863,469 | 0 | 0 | null | 2015-04-30T15:59:25 | 2015-04-30T15:59:25 | null | UTF-8 | Python | false | false | 3,825 | py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
This script demonstrates how to use OOP in Python
Latest version can be found at https://github.com/letuananh/pydemo
References:
Classes in Python:
https://docs.python.org/2/tutorial/classes.html
@author: Le Tuan Anh <tuananh.ke@gmail.com>
'''
# Copyright (c) 2015,... | [
"tuananh.ke@gmail.com"
] | tuananh.ke@gmail.com |
34ccb80408aa2c243cbb07509aba3bf75cb9946e | 5da5473ff3026165a47f98744bac82903cf008e0 | /packages/google-cloud-workstations/google/cloud/workstations_v1/services/workstations/transports/grpc_asyncio.py | 9e49627332556e36bd545818a81395a4dd97892e | [
"Apache-2.0"
] | permissive | googleapis/google-cloud-python | ed61a5f03a476ab6053870f4da7bc5534e25558b | 93c4e63408c65129422f65217325f4e7d41f7edf | refs/heads/main | 2023-09-04T09:09:07.852632 | 2023-08-31T22:49:26 | 2023-08-31T22:49:26 | 16,316,451 | 2,792 | 917 | Apache-2.0 | 2023-09-14T21:45:18 | 2014-01-28T15:51:47 | Python | UTF-8 | Python | false | false | 43,871 | py | # -*- coding: utf-8 -*-
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | [
"noreply@github.com"
] | googleapis.noreply@github.com |
1dd02cfebd412b5fa56f30a67a73ac095c1eb452 | 24fe1f54fee3a3df952ca26cce839cc18124357a | /servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/latency/aaverage.py | 019c062f9c8fe6b13e9260b6625e34cc7a3d4fdc | [] | no_license | aperiyed/servicegraph-cloudcenter | 4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff | 9eb7975f2f6835e1c0528563a771526896306392 | refs/heads/master | 2023-05-10T17:27:18.022381 | 2020-01-20T09:18:28 | 2020-01-20T09:18:28 | 235,065,676 | 0 | 0 | null | 2023-05-01T21:19:14 | 2020-01-20T09:36:37 | Python | UTF-8 | Python | false | false | 5,134 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.m... | [
"rrishike@cisco.com"
] | rrishike@cisco.com |
a4a44fbf56ba60a0bee801c20ec4d46ab18268e9 | e6c65e2e354336a4bea5b6a4ccbccd3682915fe2 | /out-bin/py/google/fhir/seqex/bundle_to_seqex_converter_test.runfiles/absl_py/absl/third_party/unittest3_backport/case.py | d5f534a2b13a6a38205ed8b95e2b63736e8bb65a | [
"Apache-2.0"
] | permissive | rasalt/fhir-datalab | c30ab773d84983dd04a37e9d0ddec8bf2824b8a4 | 3e329fc8b4226d3e3a4a7c23c306a86e7a9ea0de | refs/heads/master | 2021-10-09T05:51:04.593416 | 2018-12-21T18:11:03 | 2018-12-22T05:38:32 | 162,744,237 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 137 | py | /home/rkharwar/.cache/bazel/_bazel_rkharwar/0ddaa3627472ad9d1367a008236ce2f5/external/absl_py/absl/third_party/unittest3_backport/case.py | [
"ruchika.kharwar@gmail.com"
] | ruchika.kharwar@gmail.com |
072d74888d0844a77401950b97b4a3a591173826 | 81c80197cc8438faabfcec0e0bfcb6bf5e622217 | /docs/conf.py | 5261bc5a4cce740c40259070e2d97b38d5c94988 | [
"MIT"
] | permissive | summerpulse/micropython | 10124be4223d232c1285e7ef994d22df71770ade | 51726b4d431302d9db94ff55fa04372379f39750 | refs/heads/master | 2021-01-15T09:46:26.161322 | 2015-05-29T22:07:18 | 2015-05-29T22:07:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,846 | py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Micro Python documentation build configuration file, created by
# sphinx-quickstart on Sun Sep 21 11:42:03 2014.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values are present in this... | [
"damien.p.george@gmail.com"
] | damien.p.george@gmail.com |
a91e63cae077ea4eafa9e7c07d807e9f397a5d77 | 90419da201cd4948a27d3612f0b482c68026c96f | /sdk/python/pulumi_azure_nextgen/apimanagement/v20200601preview/get_api_operation_policy.py | 9b8e753248a950e28b048b89a93a98d5608af21c | [
"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 | 4,168 | 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... | [
"noreply@github.com"
] | test-wiz-sec.noreply@github.com |
213deaeef42934e251d3a33a19fb99d1bcbdd7a0 | 133ab0e162c38f2c174f6065c251f7ab6e44eac7 | /FeedFeeder/AmqpInterface.py | 7e994e647b5a131c06ba6c20202e9007d0ad027d | [] | no_license | weijihao/wlnupdates | b3d1856bb65e97467e6807f3ab8abb236104ec2d | 0825d354ade8cfbe40117662ee46704573453e16 | refs/heads/master | 2020-04-13T10:14:33.359175 | 2018-12-07T11:02:32 | 2018-12-07T11:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,022 | py | #!/usr/bin/env python3
import msgpack
import settings
import datetime
import queue
from . import AmqpConnector
import logging
import threading
import os.path
import time
import ssl
import uuid
RUN_STATE = True
class RabbitQueueHandler(object):
die = False
def __init__(self, settings):
logPath = 'Main.Feeds.RPC... | [
"something@fake-url.com"
] | something@fake-url.com |
505d51e9b647951fb1aaa8dea6ce566f91adb644 | 9e780f17eb49171d1f234944563225ca22b3c286 | /postgresqleu/confreg/migrations/0085_conference_registrationtimerange.py | f587eaea58a299a5f187c35a22b35d0f52dfcc7c | [
"MIT"
] | permissive | pgeu/pgeu-system | e5216d5e90eec6c72770b88a5af4b3fd565cda59 | 885cfdcdadd4a721f72b699a39f26c94d1f636e0 | refs/heads/master | 2023-08-06T13:03:55.606562 | 2023-08-03T12:47:37 | 2023-08-03T12:47:37 | 161,434,221 | 15 | 27 | MIT | 2023-05-30T11:21:24 | 2018-12-12T04:48:14 | Python | UTF-8 | Python | false | false | 636 | py | # Generated by Django 3.2.11 on 2022-06-25 17:53
import django.contrib.postgres.fields.ranges
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('confreg', '0084_rename_active_conference_registrationopen'),
]
operations = [
migrations.AddField(
... | [
"magnus@hagander.net"
] | magnus@hagander.net |
d70b1e6bfebd01c14224b435a80f3546c2886748 | c47b081b2459fa0fca8ccfdf0f728ca25c73a801 | /django_test_githubactions/settings.py | ab3329db15d753208a316ef357b2cff0eeecb6fb | [] | no_license | khabdrick/Django-docker-actions | 54238001b2506200e7ad0203d7913243db1f22a9 | 69f1472ab59eb271a01c7f34264d445e90635050 | refs/heads/main | 2023-09-02T05:33:40.625889 | 2021-11-06T21:12:34 | 2021-11-06T21:12:34 | 425,333,221 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,317 | py | """
Django settings for django_test_githubactions project.
Generated by 'django-admin startproject' using Django 3.2.7.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/... | [
"muhamzyali@gmail.com"
] | muhamzyali@gmail.com |
88d657fc852ede68ed0623132d86afe4e28adaf1 | c45cab9ba0f66fbf331bf7dd67924fa5c99b985e | /pos/modules/report/objects/stockdiary.py | f32eff54054a87a91fb39f163b0c83231d4cdd2d | [] | no_license | itstar4tech/wxpos | a828cf91dce50765c1626c0a9e59098a5d305c01 | ed739b8026e9b694aa06962262dd0907653e8834 | refs/heads/master | 2020-07-24T07:22:58.062003 | 2012-02-22T21:18:48 | 2012-02-22T21:18:48 | 42,202,230 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,713 | py | import pos
from sqlalchemy import func
from reportlab.lib import colors
from reportlab.lib.pagesizes import A4, letter
from reportlab.lib.units import inch
from reportlab.platypus import SimpleDocTemplate, Table, TableStyle, \
Paragraph, Spacer
from reportla... | [
"jadkik94@gmail.com"
] | jadkik94@gmail.com |
bccee3d6009352df333d82f2f45524fb89125448 | 21894f73d504385e28c8154ec3352b5d40761359 | /backend/monster_hunt_18009/wsgi.py | a0029af2f0914a7657c16dd8cc55fc60726b00e5 | [] | no_license | crowdbotics-apps/monster-hunt-18009 | 234cd9843b72f211f9c87f6c57867755b925a5d5 | 46f0e1ce274a4a63c15483f9259cecc2584470c9 | refs/heads/master | 2022-10-18T17:05:42.953573 | 2020-06-11T00:59:17 | 2020-06-11T00:59:17 | 271,418,242 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 413 | py | """
WSGI config for monster_hunt_18009 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.2/howto/deployment/wsgi/
"""
import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('D... | [
"team@crowdbotics.com"
] | team@crowdbotics.com |
bfedf2030ce4daf570d7fa279597309fd1dbc22d | 51108a50ffb48ad154f587c230045bb783f22240 | /bflib/restrictions/set.py | b2ca1d9e668b890c1beed5afd3c78baf4b0e1142 | [
"MIT"
] | permissive | ChrisLR/BasicDungeonRL | c90bd0866c457557cccbad24e14689d5d6db7b00 | b293d40bd9a0d3b7aec41b5e1d58441165997ff1 | refs/heads/master | 2021-06-15T13:56:53.888646 | 2019-08-05T16:33:57 | 2019-08-05T16:33:57 | 104,269,987 | 3 | 0 | MIT | 2019-08-05T16:28:23 | 2017-09-20T21:35:19 | Python | UTF-8 | Python | false | false | 1,095 | py | from bflib.util import merge_set_if_true
class RestrictionSet(object):
__slots__ = ["ability_score", "armor", "classes", "hit_dice_max_size", "weapons", "weapon_size"]
def __init__(self, ability_score=None, armor=None, classes=None, hit_dice_max_size=None,
weapons=None, weapon_size=None):
... | [
"arzhul@gmail.com"
] | arzhul@gmail.com |
22e77cdfef311b0558f91710c1c1503d091eb8bd | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/CodeJamData/11/33/4.py | c60758bb8b7f090b89112b286c69414f937eb50e | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | Python | false | false | 358 | py | T = int(raw_input())
for t in range(T):
N,L,H = map(int, raw_input().split(' '))
notes = map(int, raw_input().split(' '))
ffound = False
for l in range(L,H+1):
if len(filter(lambda x: x == l or max(x,l)%min(x,l) == 0, notes)) == len(notes):
ffound = l
break
print "... | [
"kwnafi@yahoo.com"
] | kwnafi@yahoo.com |
8be626d7f8017952d0edf37c6dc8235bf471aa6e | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/ml/azure-ai-ml/azure/ai/ml/entities/_deployment/model_batch_deployment_settings.py | f8f7b1a332e0c310a8f88d4ee3110f5da0c62811 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later",
"LicenseRef-scancode-python-cwi",
"PSF-2.0",
"LGPL-2.0-or-later",
"GPL-3.0-or-later",
"GPL-1.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"Python-2.0",
"MPL-2.0",
"LicenseRef-scancode-other-copyleft",
... | permissive | Azure/azure-sdk-for-python | 02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c | c2ca191e736bb06bfbbbc9493e8325763ba990bb | refs/heads/main | 2023-09-06T09:30:13.135012 | 2023-09-06T01:08:06 | 2023-09-06T01:08:06 | 4,127,088 | 4,046 | 2,755 | MIT | 2023-09-14T21:48:49 | 2012-04-24T16:46:12 | Python | UTF-8 | Python | false | false | 3,927 | py | # ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from typing import Dict, Optional
from azure.ai.ml._schema._deployment.batch.model_batch_deployment_settings import ModelBatchDeploymentSe... | [
"noreply@github.com"
] | Azure.noreply@github.com |
c9ec324db7ace24f4ad3fbd97292ee92769a42b4 | 39e03684081b27311385a0ab31afcc2e09883e5c | /configs/vrd/VRD_SgDet_kern_faster_rcnn_x101_64x4d_fpn_1x.py | 26fef2cb5904d77186dc07968f4e72e961d69db9 | [
"MIT",
"Python-2.0"
] | permissive | witnessai/MMSceneGraph | 8d0b2011a946ddcced95fbe15445b7f4da818509 | bc5e0f3385205404c712ae9f702a61a3191da0a1 | refs/heads/master | 2023-08-12T06:54:00.551237 | 2021-10-12T03:04:21 | 2021-10-12T03:04:21 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,981 | py | # dataset settings
dataset_type = 'VrdDataset'
data_root = 'data/vrd/'
img_norm_cfg = dict(
mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
train_pipeline = [
dict(type='LoadImageFromFile'),
dict(type='LoadAnnotations', with_bbox=True, with_rel=True),
dict(type='Resize'... | [
"23736866+Kenneth-Wong@users.noreply.github.com"
] | 23736866+Kenneth-Wong@users.noreply.github.com |
547a91876c617c7124b79899fa0717c92ba2b5b1 | 711756b796d68035dc6a39060515200d1d37a274 | /output_cog/optimized_48583.py | 53a091d9bd6618748caf2760afe0544509629244 | [] | no_license | batxes/exocyst_scripts | 8b109c279c93dd68c1d55ed64ad3cca93e3c95ca | a6c487d5053b9b67db22c59865e4ef2417e53030 | refs/heads/master | 2020-06-16T20:16:24.840725 | 2016-11-30T16:23:16 | 2016-11-30T16:23:16 | 75,075,164 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,842 | py | import _surface
import chimera
try:
import chimera.runCommand
except:
pass
from VolumePath import markerset as ms
try:
from VolumePath import Marker_Set, Link
new_marker_set=Marker_Set
except:
from VolumePath import volume_path_dialog
d= volume_path_dialog(True)
new_marker_set= d.new_marker_set
marker_set... | [
"batxes@gmail.com"
] | batxes@gmail.com |
79b280a6a2f07a241976c2a2309c4e58c65f9f4c | cddc64888fafb24ee7cd7c816d20cd2ea82a1ffd | /tests/test_pam.py | c6fa29738ceb468641c846a645046c1ca8a0d723 | [
"Python-2.0",
"Apache-2.0"
] | permissive | lokeshchinthala/python-gatenlp | aa58d115e86734b1484b726f167428c87e09b8c2 | ae9ece3521dce661bf708f9e59911068f3324231 | refs/heads/master | 2023-03-06T04:37:23.897205 | 2021-02-16T16:42:49 | 2021-02-16T16:42:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 18,602 | py | import os
from gatenlp import Document, Annotation, Span
from gatenlp.pam.pampac import Context, Location
from gatenlp.pam.pampac import (
Ann,
AnnAt,
Call,
Find,
Text,
N,
Seq,
Or,
Success,
Failure,
Rule,
Pampac
)
class TestPampac01:
def test01(self):
doc =... | [
"johann.petrak@gmail.com"
] | johann.petrak@gmail.com |
faddebbcb027bdc8d6f161978dabb18cda51a647 | ac5e52a3fc52dde58d208746cddabef2e378119e | /exps-gsn-edf/gsn-edf_ut=2.0_rd=0.65_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=90/sched.py | 3fef87670b10560ee328d851a8c539327ee1ab23 | [] | 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 | 162 | py | -X FMLP -Q 0 -L 4 102 400
-X FMLP -Q 0 -L 4 76 250
-X FMLP -Q 1 -L 3 64 250
-X FMLP -Q 2 -L 3 57 200
-X FMLP -Q 3 -L 3 57 175
42 175
32 125
15 200
| [
"ricardo.btxr@gmail.com"
] | ricardo.btxr@gmail.com |
a296d1a8fcb8a117ac0f58c3ebf1b956ce44679c | 42b920d39f6fa79b1b6f8805c788599122e353db | /social media/9-Dec/utils.py | ae9c34dfffcb839eb28370f388496865e8be2661 | [] | no_license | analyticsbot/Python-Code---Part-10 | 62a167beb4326824429edf50f2004256103ef9d6 | 979853c419ed1073b046c65a095131e1e3a2769e | refs/heads/master | 2021-06-05T18:22:30.696083 | 2016-08-27T02:42:10 | 2016-08-27T02:42:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,110 | py | import pandas as pd
import requests, datetime
import xml.etree.ElementTree as ET
## function to generate the api request url for tickers
## ticker - string - name of the ticker. ex - AAPL
## _type - string - whether forecast or volatility
## _granularity - string - whether daily or monthly - should be supported by the... | [
"ravi.shankar1788@gmail.com"
] | ravi.shankar1788@gmail.com |
edc2dc8a95ca746e6775a5869aa23eccba761be2 | 4d01b138ebc1b23f2758811893ce214eeb96736e | /106.py | 58191bb2a25aa7855129d848ad01820020320818 | [] | no_license | db2398/setbeginner10 | 273c04ef12d3679e94a5478f7cd73e9dcc75bdb9 | f33f596ad63d7d8cfdbfe205eb65c640d883c2eb | refs/heads/master | 2020-06-17T04:32:42.980311 | 2019-07-08T11:42:05 | 2019-07-08T11:42:05 | 195,797,803 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 128 | py | bhavya,u=map(int,input().split())
list=input().split()
d1=[]
for i in list:
if(int(i)%2!=0):
d1.append(i)
print(d1[u-1])
| [
"noreply@github.com"
] | db2398.noreply@github.com |
d1ddf5568a2c7135707720178ccf9c11b83b995f | 39617843dba7b6331d92d5397b09e8fa9cfc2b54 | /1_python-practice/assignment/3_cost_of_the_meal.py | 2738c5b6d16ad31cb32f7a44443e2d40d48a7df0 | [] | no_license | Sem31/Data_Science | 7facde18f1f467314c5efcb38e6ddb2ab85dbce8 | 1a3dec0030ae21074e2aa65cbb613a4014cdca3e | refs/heads/master | 2020-07-01T22:50:05.176313 | 2019-09-06T14:19:10 | 2019-09-06T14:19:10 | 201,329,624 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 312 | py | meal = int(input("Enter the amount of the meal : "))
gst = meal * 18/100
tax = meal + gst
print("Your meal price is : ",meal)
print("your meal price with 18% gst : ",tax)
tip = meal * 18/100
total = tax + tip
print("18% of the waiter tips without tax {} then your total meal price is : {}".format(tip,total))
| [
"31kamleshprajapat@gmail.com"
] | 31kamleshprajapat@gmail.com |
af59f990c58ba482c380b17ce0bfa62f39d7fd14 | 0004d6d09f98502f018c8abcf738ed8350c26862 | /base/userdb.py | 0a65ce750174ddf7568b50d14618f9e097c030c0 | [] | no_license | disenQF/mysql_py | 7f8eb9474efc9e7c9d0ff5a041aa7588fad5c809 | 17b1cfca2a2f0f124b6c3744074d15e30b4c3680 | refs/heads/master | 2020-03-11T08:24:48.318037 | 2018-07-01T02:08:58 | 2018-07-01T02:08:58 | 129,883,422 | 4 | 2 | null | 2018-07-01T02:04:00 | 2018-04-17T09:53:38 | Python | UTF-8 | Python | false | false | 1,626 | py | # coding:utf-8
from base import *
from base.db import DB
class UserDB:
def __init__(self, db):
self.db = db
def add(self,user:User):
sql = "insert user(name,number,phone) values (%s,%s,%s)"
if self.db.modify(sql, (user.name,user.number,user.phone)):
print(user.name, "添加成功!"... | [
"610039018@qq.com"
] | 610039018@qq.com |
643a6056fa4fabea9e16bdcdc3694a771e8576c7 | 5f4dc868dea01acaf073e04e3f73ee4cabb475d5 | /kubernetes/client/models/v1alpha1_service_reference.py | 85efe18c9b0220d10379c9fa225cdee951ea2330 | [
"Apache-2.0"
] | permissive | oyesam7/python-3 | dd77d856246e15a6daf4f1ba09d10aba82d7ac21 | 8414f258ad7d55c6b5ab6cb98add170e2b4239f7 | refs/heads/master | 2020-08-15T11:07:41.379059 | 2019-10-15T15:25:32 | 2019-10-15T15:25:32 | 215,330,850 | 1 | 0 | Apache-2.0 | 2019-10-15T15:18:22 | 2019-10-15T15:18:21 | null | UTF-8 | Python | false | false | 4,877 | py | # coding: utf-8
"""
Kubernetes
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: v1.14.4
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from pprint import pformat
from six import iteritems
import re... | [
"haoweic@google.com"
] | haoweic@google.com |
d073b253f5527e81872f44c30d168afbb10eff0f | ac6e4102dfb49a4e49de0e2766feb6e80ab0b5c2 | /h1/models/database_credential.py | ade772836a1afd64f10c39e0aeadcd53f283be7f | [
"MIT"
] | permissive | hyperonecom/h1-client-python | df01f05ad295121e3dd391a3274c41e2f5b88e53 | 4ce355852ba3120ec1b8f509ab5894a5c08da730 | refs/heads/master | 2023-04-05T01:51:31.637002 | 2021-03-29T00:05:41 | 2021-03-29T00:05:41 | 319,309,525 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,614 | py | # coding: utf-8
"""
HyperOne
HyperOne API # noqa: E501
The version of the OpenAPI document: 0.1.0
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from h1.configuration import Configuration
class DatabaseCredential(object):
"""NOTE: This cla... | [
"action@github.com"
] | action@github.com |
9922d66c0decbaaf0b1e3e2f423a2f798ab286e1 | 3098d5907995649f9ca56bafdd3b691d08c9c719 | /TSIS3/2/3760.(Dict).py | a2fea2356346d0e3a9a5289f613a3af1a07da550 | [] | no_license | TamirlanSH/PP2 | 0d4478933fbbac8b2b53216dc8f62fb6807a9089 | fcfb82ea779cd85fcbc4cd2ba2b828927e729a5f | refs/heads/master | 2023-06-27T02:06:56.086638 | 2021-07-29T04:48:01 | 2021-07-29T04:48:01 | 379,898,798 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 141 | py | n = int(input())
dict_1 = {}
for i in range(n):
k, v = input().split()
dict_1[k] = v
dict_1[v] = k
print(dict_1[input()])
| [
"you@example.com"
] | you@example.com |
53c5d4735d49ea680fdd4a9b78b0dc5c5f5611d0 | 1825283527f5a479204708feeaf55f4ab6d1290b | /leetcode/python/649/original/649.dota2-senate.0.py | ceeb06fb2eb50bcfbe3cc09ad3118c020ab14ee1 | [] | no_license | frankieliu/problems | b82c61d3328ffcc1da2cbc95712563355f5d44b5 | 911c6622448a4be041834bcab25051dd0f9209b2 | refs/heads/master | 2023-01-06T14:41:58.044871 | 2019-11-24T03:47:22 | 2019-11-24T03:47:22 | 115,065,956 | 1 | 0 | null | 2023-01-04T07:25:52 | 2017-12-22T02:06:57 | HTML | UTF-8 | Python | false | false | 2,765 | py | #
# @lc app=leetcode id=649 lang=python3
#
# [649] Dota2 Senate
#
# https://leetcode.com/problems/dota2-senate/description/
#
# algorithms
# Medium (36.96%)
# Total Accepted: 7.4K
# Total Submissions: 20.2K
# Testcase Example: '"RD"'
#
# In the world of Dota2, there are two parties: the Radiant and the Dire.
#
# T... | [
"frankie.y.liu@gmail.com"
] | frankie.y.liu@gmail.com |
d371d61228191e5da134e7e0686bfaef8e6a8a0f | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/storage/azure-storage-file-share/azure/storage/fileshare/_version.py | 7777ec2fc86df75bb831460bbc4412178a2a1007 | [
"LicenseRef-scancode-generic-cla",
"MIT",
"LGPL-2.1-or-later"
] | permissive | Azure/azure-sdk-for-python | 02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c | c2ca191e736bb06bfbbbc9493e8325763ba990bb | refs/heads/main | 2023-09-06T09:30:13.135012 | 2023-09-06T01:08:06 | 2023-09-06T01:08:06 | 4,127,088 | 4,046 | 2,755 | MIT | 2023-09-14T21:48:49 | 2012-04-24T16:46:12 | Python | UTF-8 | Python | false | false | 331 | py | # -------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
# --------------------------------------------------------------------------
VERSION =... | [
"noreply@github.com"
] | Azure.noreply@github.com |
b7205ce9351495726810d12dcd4aa996d708109d | aee4c0839933a11d8ce3c485d06595202dd3cabd | /keras/export/export_lib.py | eb8dc63f83e8cd2ae2c01e3de60a527cccf47ad8 | [
"Apache-2.0"
] | permissive | xiaoheilong3112/keras | fc3025a2f14838bf8416b2faed766cb43da62f9b | 8d5e9b2163ec9b7d9f70920d1c7992b6df6820ec | refs/heads/master | 2023-08-07T18:23:36.804563 | 2023-07-25T19:16:12 | 2023-07-25T19:16:48 | 137,238,629 | 1 | 0 | Apache-2.0 | 2023-07-26T05:22:44 | 2018-06-13T15:59:45 | Python | UTF-8 | Python | false | false | 23,323 | py | # Copyright 2023 The TensorFlow Authors. 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 applica... | [
"gardener@tensorflow.org"
] | gardener@tensorflow.org |
2ce685becb3b5dd679f173de014a023ca4609ee1 | f384697fa34ac0285feeb2de77a35c041e69c1f9 | /real_estate_api/accounts/views.py | 7c49c453b758c7bccf0ba0512cae21057c91168d | [
"MIT"
] | permissive | rossi1/RES | a68bd086ebddcec816ece19d1322d576a71c31df | 729196bfa45cc2b47acc93c49c07c7e8f0f6ea93 | refs/heads/master | 2021-10-22T13:03:10.326175 | 2019-03-10T23:30:20 | 2019-03-10T23:30:20 | 174,383,927 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 26,727 | py | import json
import re
from django.contrib.auth import get_user_model
from django.contrib.auth import authenticate, login, logout
from django.core.exceptions import ObjectDoesNotExist
from django.core.mail import send_mail
from django.utils.crypto import get_random_string
from django.conf import settings
from django.c... | [
"emmaneulukwuegbu2016@gmail.com"
] | emmaneulukwuegbu2016@gmail.com |
5359d577bed4fcf03110977e237e4e9ccab77cd2 | 25b5276772548bdabf3d36e5f351155079337dc1 | /OS-Scripts/Os_GetFileAttributes.py | 7f1788f1fa2b325aeff72ad7400827855b64ac34 | [] | no_license | rduvalwa5/Examples | e9b04539a26d53a9b09160aff10e826fc703f801 | 8b74a831c9fc0beeccbc451f13725db4b53f3669 | refs/heads/master | 2021-08-07T05:03:20.605592 | 2021-07-21T04:15:12 | 2021-07-21T04:15:12 | 32,958,597 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,492 | py | '''
Created on Dec 18, 2018
@author: rduvalwa2
python ./Os_GetFileAttributes.py "/Users/rduvalwa2/git"
'''
import os, sys
from os.path import join
class Os_GetFileAttributes:
def __init__(self, path):
self.mypath = path
print("argument is ", self.mypath)
def list_files_in_directories(self)... | [
"rduvalwa5@hotmail.com"
] | rduvalwa5@hotmail.com |
10302cf69c4eef1a1645fcc0b966fcdd31210fe9 | 49cc3fe189da3b1cdb246de2f5454012a51486ea | /alembic/versions/275c8091ee37_kanbanboard.py | c69cdaa512d809e5e55e2b706bda6676eac1e48e | [] | no_license | getpenelope/getpenelope.buildout | 73bda0850beb0312f78e50dd1b8bf713cdbf47dc | eb068e5dc1acfd2184a5db2ee8b4b503b28fc7b4 | refs/heads/master | 2020-12-24T01:17:50.944628 | 2016-07-28T15:43:00 | 2016-07-28T15:43:00 | 7,147,220 | 1 | 0 | null | 2014-02-05T16:37:17 | 2012-12-13T11:28:49 | Python | UTF-8 | Python | false | false | 2,497 | py | """kanbanboard
Revision ID: 275c8091ee37
Revises: 483950e462cf
Create Date: 2013-06-27 15:57:26.207511
"""
# revision identifiers, used by Alembic.
revision = '275c8091ee37'
down_revision = '483950e462cf'
from alembic import op
import sqlalchemy as sa
def upgrade():
op.create_table(
'kanba... | [
"andrew@mleczko.net"
] | andrew@mleczko.net |
d095244069bdf526fd7a7f7ee379c59bb225ae89 | f576f0ea3725d54bd2551883901b25b863fe6688 | /sdk/keyvault/azure-keyvault-keys/azure/keyvault/keys/crypto/_internal/transform.py | 3a24f7ab1a7fde8797f1d583048564245467cddf | [
"MIT",
"LicenseRef-scancode-generic-cla",
"LGPL-2.1-or-later"
] | permissive | Azure/azure-sdk-for-python | 02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c | c2ca191e736bb06bfbbbc9493e8325763ba990bb | refs/heads/main | 2023-09-06T09:30:13.135012 | 2023-09-06T01:08:06 | 2023-09-06T01:08:06 | 4,127,088 | 4,046 | 2,755 | MIT | 2023-09-14T21:48:49 | 2012-04-24T16:46:12 | Python | UTF-8 | Python | false | false | 1,403 | py | # ------------------------------------
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# ------------------------------------
from abc import ABCMeta, abstractmethod
class CryptoTransform(object, metaclass=ABCMeta):
def __init__(self, key):
self._key = key
def __enter__(self... | [
"noreply@github.com"
] | Azure.noreply@github.com |
e446387a8ac8bdf64e7fb7a7b9fe59871db70de5 | 65e73c6c4a9e66715be2cbdd93339ebcab93976e | /windmill/calendario/migrations/0002_calendario_nome.py | ffd32bae01897debea7ba7ae06632b82f67bd15c | [] | no_license | AnimaTakeshi/windmill-django | 3577f304d5e7f74750c7d95369e87d37209f1ac6 | 78bde49ace1ed215f6238fe94c142eac16e164dc | refs/heads/master | 2022-12-13T11:13:21.859012 | 2019-02-07T20:50:01 | 2019-02-07T20:50:01 | 150,470,109 | 0 | 0 | null | 2022-12-08T01:29:36 | 2018-09-26T18:13:54 | Python | UTF-8 | Python | false | false | 441 | py | # Generated by Django 2.0 on 2019-02-07 12:11
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('calendario', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='calendario',
name='nome',
... | [
"33721822+AnimaTakeshi@users.noreply.github.com"
] | 33721822+AnimaTakeshi@users.noreply.github.com |
cf9f6293aeae37d7c4e7d1eda982ea30e2e9677a | 18b3ad3b0e1f7f10969738251e1201d01dfbc6bf | /Practise/threadpro.py/pi.py | 18ac693b018e297946eedb995d0d44a7c06302a4 | [] | no_license | sahthi/backup2 | 11d509b980e731c73733b1399a8143780779e75a | 16bed38f0867fd7c766c2a008c8d43b0660f0cb0 | refs/heads/master | 2020-03-21T12:39:56.890129 | 2018-07-09T08:12:46 | 2018-07-09T08:12:46 | 138,565,151 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 226 | py | from subprocess import Popen,PIPE
import sys
process = Popen(['cat','pri.py'],stdout=PIPE,stderr=PIPE)
stdout,stderr=process.communicate()
if stderr:
print "error in command execution"
sys.exit(100)
print stdout
| [
"siddamsetty.sahithi@votarytech.com"
] | siddamsetty.sahithi@votarytech.com |
003edbdfbce96e44ce5a63d6baa3b8188acbfc92 | 59080f5116b9e8f625b5cc849eb14b7ff9d19f3d | /115 drf/drf_test/app01/views.py | ed31db0455ebd6ef10ba042c4cfa0eb18fd4f558 | [] | no_license | yyq1609/Python_road | eda2bcd946b480a05ec31cdcb65e35b3f3e739d1 | e9ba2f47c8dd2d00a6e5ddff03c546152efd8f49 | refs/heads/master | 2020-09-11T11:51:35.903284 | 2019-11-11T13:02:21 | 2019-11-11T13:02:21 | 222,054,462 | 1 | 0 | null | 2019-11-16T05:58:13 | 2019-11-16T05:58:12 | null | UTF-8 | Python | false | false | 673 | py | # Create your views here.
import json
from django.http import JsonResponse, HttpResponse
from rest_framework.exceptions import AuthenticationFailed
from rest_framework.views import APIView
from rest_framework.authentication import BaseAuthentication, BasicAuthentication
class MyAuth():
def authenticate(self... | [
"958976577@qq.com"
] | 958976577@qq.com |
87055885a32518b562ce6ec962665c9598149b36 | 9b5059de130fc6230edd157d4bfcd6e2971111dc | /Upload-multiple-Images/Image/models.py | 3e9753a78a474107ec57b3f50409a9d9382314b8 | [] | no_license | mohammedshoaibdeveloper/All-Components-Hnh | c2df2ef52e068182e2d9c74f3c1a9b8397a20a9c | 6865a072ad2b6e407576aa2f449e09ee9d101fcc | refs/heads/master | 2022-11-28T07:50:02.539326 | 2020-08-08T07:32:55 | 2020-08-08T07:32:55 | 285,996,224 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 362 | py | from django.db import models
class Photo(models.Model):
title = models.CharField(max_length=255, blank=True,default="product")
uploaded_at = models.DateTimeField(auto_now_add=True)
class MultipleImages(models.Model):
photoDetails=models.ForeignKey(Photo, on_delete=models.CASCADE)
img=models.ImageField... | [
"shoaibbilal101@gmail.com"
] | shoaibbilal101@gmail.com |
d1a72f27358e764d2f14fe0387f5326e2b36f2c2 | e10a6d844a286db26ef56469e31dc8488a8c6f0e | /gift/experiment/fmow_classification/fmow_big_resnet_gift_config.py | d85aaa34d6f9607d7a6e7bb3b77bd6bdeb3d7a53 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | Jimmy-INL/google-research | 54ad5551f97977f01297abddbfc8a99a7900b791 | 5573d9c5822f4e866b6692769963ae819cb3f10d | refs/heads/master | 2023-04-07T19:43:54.483068 | 2023-03-24T16:27:28 | 2023-03-24T16:32:17 | 282,682,170 | 1 | 0 | Apache-2.0 | 2020-07-26T15:50:32 | 2020-07-26T15:50:31 | null | UTF-8 | Python | false | false | 5,225 | py | # coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
834c3bb531417069f9e878e181fc4fb6490ae4cf | 7357d367b0af4650ccc5b783b7a59090fdde47bb | /contrib/profiling/print_info.py | 6b07a785269e1525ab244560d098eee3bfd24c87 | [
"MIT"
] | permissive | BarracudaPff/code-golf-data-python | fb0cfc74d1777c4246d56a5db8525432bf37ab1a | 42e8858c2ebc6a061012bcadb167d29cebb85c5e | refs/heads/main | 2023-05-29T05:52:22.856551 | 2020-05-23T22:12:48 | 2020-05-23T22:12:48 | 378,832,634 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 292 | py | if __name__ == "__main__":
if len(sys.argv) != 2:
sys.stderr.write("Usage: %s [file.prof]" % sys.argv[0])
sys.exit(1)
s = pstats.Stats(sys.argv[1])
s.sort_stats("time")
print("==== Largest 10% ====")
s.print_stats(0.1)
print("==== Largest 1% of Callers ====")
s.print_callers(0.01) | [
"sokolov.yas@gmail.com"
] | sokolov.yas@gmail.com |
e3d827a2167795b5469ee43739e0fecc182cf185 | 347792b1a0870b88e6d975dea1cdb0cc0bb1c30b | /reads/admin.py | 6380c8333d262b7d61d1e8a53b68e7d785b635d9 | [] | no_license | MakeBugsEveryday/fruits_learning | e0df3d77cc97157d6809a33bcd519f7d62ef3f8a | fb3560b59328287b163965030a445f4aa82c7336 | refs/heads/master | 2020-04-14T08:44:18.553489 | 2018-09-02T08:30:24 | 2018-09-02T08:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,080 | py | # -*- coding: UTF-8 -*-
from django.contrib import admin
from django.utils.html import strip_tags
from reads.models import Read
from info_collector.models import Info
class ReadAdmin(admin.ModelAdmin):
search_fields = ['title', ]
def get_changeform_initial_data(self, request):
initial = super(ReadAd... | [
"fruitschen@gmail.com"
] | fruitschen@gmail.com |
fc8378b4c46506bc785d39a3dbeace0558b46720 | 20f951bd927e4e5cde8ef7781813fcf0d51cc3ea | /fossir/core/signals/core.py | cebc965839d785e2e2b58610b4a6e5330d86a163 | [] | no_license | HodardCodeclub/SoftwareDevelopment | 60a0fbab045cb1802925d4dd5012d5b030c272e0 | 6300f2fae830c0c2c73fe0afd9c684383bce63e5 | refs/heads/master | 2021-01-20T00:30:02.800383 | 2018-04-27T09:28:25 | 2018-04-27T09:28:25 | 101,277,325 | 0 | 2 | null | null | null | null | UTF-8 | Python | false | false | 2,970 | py |
from blinker import Namespace
_signals = Namespace()
app_created = _signals.signal('app-created', """
Called when the app has been created. The *sender* is the flask app.
""")
import_tasks = _signals.signal('import-tasks', """
Called when Celery needs to import all tasks. Use this signal if you
have modules cont... | [
"hodardhazwinayo@gmail.com"
] | hodardhazwinayo@gmail.com |
b8be3dd7554f2f748fddaacecbdaf4f4ad962921 | 6e8581602f34e5d8fd4c927193cbe0b52b8b8302 | /Liberty_General.py | a49d0dde2850b23b09c6c6095dc90d6422f0def4 | [] | no_license | akshaynaik797/index | 5a9563fae6d6f91cea53ad16196c6f4b51a70e86 | 829f03adf27f53c132551cc78b08413fa980471a | refs/heads/master | 2023-05-31T04:07:58.267651 | 2021-06-22T06:32:52 | 2021-06-22T06:32:52 | 309,669,567 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,314 | py | import datetime
import re
import sys
import pdftotext
from custom_datadict import make_datadict
from custom_parallel import write
from make_log import log_exceptions
from custom_app import set_flag_row
try:
set_flag_row(sys.argv[9], 'E', sys.argv[7])
start = now = datetime.datetime.now()
with open(sys.ar... | [
"akshaynaik797@gmail.com"
] | akshaynaik797@gmail.com |
8e36c91916a4140c7f10ccb20e36501958eba8b3 | 2bdfbf167efd70fd0256008f67e9e7b5aac44a94 | /0x0B-python-input_output/100-append_after.py | a700bc53b0f2a8c6166cd3641f0f0cb7b2c5dfc1 | [] | no_license | EMOS-BF/holbertonschool-higher_level_programming-1 | da20a481ac3d60bf287611a508aa2a7452158c67 | d273b6d1206770c9a88b42619d697451e997f32f | refs/heads/master | 2023-03-14T18:07:03.261096 | 2020-05-15T02:29:37 | 2020-05-15T02:29:37 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 637 | py | #!/usr/bin/python3
"""
This module finds an string in a file an adds a line.
"""
def append_after(filename="", search_string="", new_string=""):
"""Function append_after.
Adds an string after a given one is found
Args:
search_string(str): string to be searched in file.
new_string: new s... | [
"mlgomez230@hotmail.com"
] | mlgomez230@hotmail.com |
4952421fe391fbc1d07d1082a7d11b255284bcdb | a5fd83d41b04a0559ec7d8b9899446ccd0c1ccd9 | /chartcovid/views.py | 3ced9a9af65a8eab45be38730335b13e6f8082d9 | [] | no_license | JasoSalgado/apirest-with-django | f4cfc81c29c110a89219dd399b69798dc939a845 | c7ab5f13e5ab54fd4727ec6ed75d320cce6e39d2 | refs/heads/master | 2022-10-21T17:32:46.792255 | 2020-06-15T21:01:40 | 2020-06-15T21:01:40 | 272,542,304 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,657 | py | from django.shortcuts import render
from django.http import HttpResponse, JsonResponse
from rest_framework.parsers import JSONParser
from .models import Country
from .serializers import CountrySerializer
from django.views.decorators.csrf import csrf_exempt
from rest_framework.decorators import api_view
from rest_framew... | [
"jaso_98@hotmail.com"
] | jaso_98@hotmail.com |
bbf4cecd6f5d9de805fa6fef585173c88d5dec24 | 898e263e9264804df750fe24cc767e08856c9e09 | /appengine/standard/cloudsql/main.py | 1777cd526f95f80ef7ccc5745758e014f8fcce12 | [
"Apache-2.0"
] | permissive | HoleCat/echarlosperros | 98da28d0fc76c57459ce4c9a53c89e62c350f754 | b67460de0467e05b42a763c4430b26ecfd97c2aa | refs/heads/main | 2023-01-21T15:29:13.091406 | 2020-12-03T01:33:00 | 2020-12-03T01:33:00 | 318,039,531 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,643 | py | # Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | [
"201602035x@gmail.com"
] | 201602035x@gmail.com |
abc2344d68efc4837bb1df240541cd6a3bcc28cc | 002a14aeeb98da2f76cbc2284481b3373e9a6e84 | /opengever/bumblebee/tests/test_versions.py | 2903cb68f9122116eea61913dc59be266b84a408 | [] | no_license | lambertkansy/opengever.core | b15cbe1f482444c230ce280c98ed6673dbfc01dd | e8a532fe812fb066b15f03a5967d6cc27ab13909 | refs/heads/master | 2021-07-04T01:10:17.865724 | 2017-09-29T09:53:15 | 2017-09-29T09:53:15 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,747 | py | from ftw.builder import Builder
from ftw.builder import create
from ftw.bumblebee.interfaces import IBumblebeeDocument
from ftw.bumblebee.tests.helpers import asset as bumblebee_asset
from ftw.bumblebee.tests.helpers import DOCX_CHECKSUM
from ftw.testbrowser import browsing
from opengever.core.testing import OPENGEVER_... | [
"david.erni@4teamwork.ch"
] | david.erni@4teamwork.ch |
d3708cbcabe086ec90e01d359e6a948e9c3867ac | ea1ec59c934acc6dfbaa4c8e63349b2d391e9c25 | /pandas-quant-data-provider/pandas_quant_data_provider/old/test_prviders.py | 481ea189acd8f205289023bf71455a0a3b389f9a | [
"MIT"
] | permissive | Allensmile/pandas-ml-quant | 475c09573b47ea3d589c94644edbd85d9d1917b2 | 59b702307c1842b0b89b5cbf755c1296da97b00a | refs/heads/master | 2023-06-19T00:24:13.263411 | 2021-06-19T09:30:05 | 2021-06-19T09:30:05 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 421 | py | from unittest import TestCase
from pandas_quant_data_provider import quant_data as qd
class TestQuantData(TestCase):
def test_provider_selection(self):
with self.assertLogs(level='WARNING') as cm:
df = qd.load("AAPL").tail()
msg = [log for log in cm.output if "Ambiguous symbol h... | [
"kic@kic.kic"
] | kic@kic.kic |
81713b1ba0183b77a692015663837a1923d0aa3a | 422c9cc1c5ef7eba24610e66d6a74ec2e16bf39e | /build_isolated/rqt_robot_steering/catkin_generated/stamps/rqt_robot_steering/_setup_util.py.stamp | c05cf335b964ff92182a5fb5a1659127e61d5c68 | [] | no_license | twighk/ROS-Pi3 | 222c735d3252d6fce43b427cdea3132f93025002 | 9f2912c44ae996040f143c1e77e6c714162fc7d2 | refs/heads/master | 2021-01-01T05:16:20.278770 | 2016-05-08T19:24:15 | 2016-05-08T19:24:15 | 58,306,257 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 12,404 | stamp | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Software License Agreement (BSD License)
#
# Copyright (c) 2012, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistrib... | [
"twighk@outlook.com"
] | twighk@outlook.com |
047d078eb11899810e1e02b07a913add97cd4d5f | b7b59a7c6d945114e000d3b8e45dc03ec8f3eac0 | /sports/mod_admin/__init__.py | 701e5ccae03875671a00cf8a2dd9da14119bbd35 | [] | no_license | phouse512/sports_poll | c4c0efb05e4ef6c419594c8f8f1ef4a5609d7047 | 101bc262fc4b3342c4eb568c6f1ec30a84b1ba2e | refs/heads/master | 2021-01-02T08:52:40.250418 | 2015-01-02T04:58:22 | 2015-01-02T04:58:22 | 28,019,650 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 24 | py | __author__ = 'phouse512' | [
"philiphouse2015@u.northwestern.edu"
] | philiphouse2015@u.northwestern.edu |
b4cac215f4fc7ac9ed536567bffea8110e594d68 | 2d7c21a793c8080a090ce8c9f05df38f6477c7c7 | /tests/data_templates/test_commands.py | 43408334ac79a3e73a93363891a9e95b13244ea9 | [
"Apache-2.0"
] | permissive | kids-first/kf-api-study-creator | c40e0a8a514fd52a857e9a588635ef76d16d5bc7 | ba62b369e6464259ea92dbb9ba49876513f37fba | refs/heads/master | 2023-08-17T01:09:38.789364 | 2023-08-15T14:06:29 | 2023-08-15T14:06:29 | 149,347,812 | 3 | 0 | Apache-2.0 | 2023-09-08T15:33:40 | 2018-09-18T20:25:38 | Python | UTF-8 | Python | false | false | 2,616 | py | import os
import pytest
from django.core import management
from creator.organizations.factories import OrganizationFactory, Organization
from creator.studies.factories import StudyFactory
from creator.data_templates.management.commands.faketemplates import (
TEMPLATES_PATH,
create_templates_from_workbook
)
d... | [
"dukedesi22@gmail.com"
] | dukedesi22@gmail.com |
a7adb8aaf96e8fe5167f91c0fecc4fdc1332e46d | 09fbeed610a8d85f226ed93cc3acf7433e26a2fa | /python/이항계수.py | 01ea3a022d1eb15dc0d69fa425020c27a0ffbcb1 | [] | no_license | Daboni/PS | 819744ccb1dc1e832a034f5ecf65c0241c3ee4e5 | 6c81cdc0569981db0bce6c540fecf1fb0c5c2805 | refs/heads/master | 2023-08-23T13:42:40.084793 | 2021-10-08T08:29:53 | 2021-10-08T08:29:53 | 290,971,583 | 0 | 0 | null | 2020-12-16T02:37:18 | 2020-08-28T06:42:53 | null | UTF-8 | Python | false | false | 258 | py | cache = [[0 for _ in range(30)] for __ in range(30)]
def bino(n,r):
if r == 0 or n == r:
return 1
if cache[n][r] != 0:
return cache[n][r]
cache[n][r] = bino(n-1,r-1)+bino(n-1,r)
return cache[n][r]
a = bino(4,2)
| [
"noreply@github.com"
] | Daboni.noreply@github.com |
4e1470fa1c5448a5f8210e5bef445bb184ae8590 | 36957a9ce540846d08f151b6a2c2d582cff1df47 | /VR/Python/Python36/Lib/distutils/command/upload.py | 5f86bbfc8a94966b91288a7ebbfdd9d5c846b7d4 | [] | no_license | aqp1234/gitVR | 60fc952307ef413e396d31e0d136faffe087ed2b | e70bd82c451943c2966b8ad1bee620a0ee1080d2 | refs/heads/master | 2022-12-29T15:30:12.540947 | 2020-10-07T15:26:32 | 2020-10-07T15:26:32 | 290,163,043 | 0 | 1 | null | 2020-08-25T09:15:40 | 2020-08-25T08:47:36 | C# | UTF-8 | Python | false | false | 129 | py | version https://git-lfs.github.com/spec/v1
oid sha256:21ea86fbd45a63238c32e3fe6d3794325fd5daee88f2d6e5aab79a8c18071b04
size 7461
| [
"aqp1234@naver.com"
] | aqp1234@naver.com |
cbc58cecb02ff6e1565f74bad84adcf41f95067d | ec27c6d58ed20ab6aee1e1ee30059a4ac552bd8f | /testcompass.py | 926669d18d77cdd54c867cb7424181a78148eb48 | [] | no_license | silver-sat/gnc | 59f712f7b3861a83540d27175aa3fee05ac0d201 | 8557ead001976e4d81a4d4045f030ca16e205481 | refs/heads/master | 2020-04-15T20:20:55.965801 | 2019-08-15T23:37:55 | 2019-08-15T23:37:55 | 164,989,397 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,041 | py | #!/home/pi/empty/bin/python
# Simple demo of of the LSM303 accelerometer & magnetometer library.
# Will print the accelerometer & magnetometer X, Y, Z axis values every half
# second.
# Author: Tony DiCola
# License: Public Domain
import time
# Import the LSM303 module.
import Adafruit_LSM303
# Create a LSM303 instan... | [
"edwardsnj@gmail.com"
] | edwardsnj@gmail.com |
1ac73ca0152dd7007d3bfab32e1a86c1215ae116 | 62c8b0f2f6d8e9a7245e296c77b2d78049542b73 | /grave/__init__.py | 099faab230fe0054adecd41d47fdd087d707eaad | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | NelleV/grave | ddceb93657a138930d603a2941004f58f2649205 | 19aec1eacb2bd3577fd2660f6199dcab6f8d97c5 | refs/heads/master | 2021-07-16T05:46:30.488069 | 2021-03-02T19:15:28 | 2021-03-02T19:15:28 | 127,243,590 | 0 | 0 | BSD-3-Clause | 2018-03-29T05:57:33 | 2018-03-29T05:57:32 | null | UTF-8 | Python | false | false | 80 | py | from .grave import plot_network
from .style import use_attributes, style_merger
| [
"camille.scott.w@gmail.com"
] | camille.scott.w@gmail.com |
4dcad904f71b1ad0b088840040fba27ece9b25fb | 5897a1b176f9c404fe421c61342f20820f685c07 | /ArgsExplorer/ArgsExplorer.py | e790ad9a70f02411bee842225cf2182f6efbb916 | [] | no_license | NCCA/Renderman | d3269e0c7b5e58a69d8744051100013339516ad0 | ebf17298e0ee56899a3288a3ff8eb4c4a0f806e8 | refs/heads/master | 2023-06-09T07:51:29.251270 | 2023-05-25T11:13:37 | 2023-05-25T11:13:37 | 51,373,926 | 17 | 11 | null | null | null | null | UTF-8 | Python | false | false | 14,466 | py | #!/usr/bin/env python
try: # support either PyQt5 or 6
from PySide2.QtCore import *
from PySide2.QtGui import *
from PySide2.QtUiTools import QUiLoader
from PySide2.QtWidgets import *
PySideVersion = 2
except ImportError:
print("trying PySide6")
from PySide6.QtCore import *
from PySide... | [
"jmacey@bournemouth.ac.uk"
] | jmacey@bournemouth.ac.uk |
de39dcdf0ccdb14423e093bfbf7cb5dd726a584f | 1e263d605d4eaf0fd20f90dd2aa4174574e3ebce | /plugins/internationalization/internationalization/impl/json_locale.py | a6ee14b42ac6bfdb1433617be5bcde73926559d6 | [] | no_license | galiminus/my_liveblog | 698f67174753ff30f8c9590935d6562a79ad2cbf | 550aa1d0a58fc30aa9faccbfd24c79a0ceb83352 | refs/heads/master | 2021-05-26T20:03:13.506295 | 2013-04-23T09:57:53 | 2013-04-23T09:57:53 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,208 | py | '''
Created on Mar 9, 2012
@package: internationalization
@copyright: 2012 Sourcefabric o.p.s.
@license: http://www.gnu.org/licenses/gpl-3.0.txt
@author: Mugur Rus
Implementation for the PO file management.
'''
from admin.introspection.api.component import IComponentService
from admin.introspection.api.plugin import... | [
"etienne@spillemaeker.com"
] | etienne@spillemaeker.com |
8c18655326b97172b742fe1c73be84906e529581 | 2cbe01c30ab6cb77973bc2b19b2e573481205ef2 | /poetry/console/commands/new.py | 7ae80c033d26f2708397909714d45d330ab1a3b1 | [
"GPL-3.0-or-later",
"LGPL-3.0-or-later",
"LGPL-2.1-only",
"LGPL-3.0-only",
"BSD-4-Clause",
"LGPL-2.1-or-later",
"MIT",
"GPL-2.0-or-later",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"GPL-3.0-only",
"GPL-2.0-only",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | markovendelin/poetry | 9dc93d9db78b67eae71501761fdaf4db66d76a90 | de73fa07386be26d32bf15044fd81bf979787b9f | refs/heads/master | 2020-03-21T11:30:00.800918 | 2018-06-18T22:58:03 | 2018-06-18T22:58:03 | 138,509,629 | 0 | 0 | MIT | 2018-06-24T19:28:08 | 2018-06-24T19:28:08 | null | UTF-8 | Python | false | false | 1,565 | py | from .command import Command
class NewCommand(Command):
"""
Creates a new Python project at <path>
new
{ path : The path to create the project at. }
{ --name : Set the resulting package name. }
{ --src : Use the src layout for the project. }
"""
def handle(self):
... | [
"sebastien@eustace.io"
] | sebastien@eustace.io |
61856b849585b66788dbe47ec75d2f9f181eb1c6 | aecc52f3ea0762566789f03816b7325b4d704ae0 | /dev/bin/ibgp-open-only | 71a10eb2b3f23884d8717ea0bde9ecb7f87a7df4 | [] | no_license | yeled/exabgp | 4a83148ff605a709e81f65ea25a0b9419dd63efd | fc84a735d421fece2fa224d286d1433d72406d1c | refs/heads/master | 2020-12-29T03:07:10.452062 | 2015-01-19T14:57:24 | 2015-01-19T14:57:24 | 30,545,734 | 0 | 0 | null | 2015-02-09T16:33:51 | 2015-02-09T16:33:50 | null | UTF-8 | Python | false | false | 1,161 | #!/usr/bin/env python
import asyncore
import socket
from struct import unpack
class BGPHandler(asyncore.dispatcher_with_send):
def read_message (self):
header = self.recv(19)
print "read header", od(header)
length = unpack('!H',header[16:18])[0]
print "waiting for", length, "bytes"
body = self.recv(length... | [
"thomas.mangin@exa-networks.co.uk"
] | thomas.mangin@exa-networks.co.uk | |
a55224c94482be2f272ec96c45668443e0072481 | c392c7e91bc33ce421f5d395a742d311196d29b0 | /code_bases/python_coding_practice/cousins_in_binary_tree.py | decd9b5ed6247bb15fa9b3d512269ed4f1c701a4 | [] | no_license | sgarg87/sahilgarg.github.io | edf0d0a2235e9cdc7fdce8bfd271fe25ed8ddb55 | 5e48a72a20456d5c6ecbefe776a1c5e08d2c7e46 | refs/heads/master | 2020-06-25T07:16:40.111225 | 2020-02-05T06:37:41 | 2020-02-05T06:37:41 | 199,242,427 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,669 | py | import copy
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def dfs_search(self, root, x, ancestors):
# keep only last two ancestors
# if len(ancestor... | [
"sahilgarg@sahils-mbp.home"
] | sahilgarg@sahils-mbp.home |
842bd4096fb157b21f169f222c967c14203ffd66 | b2cfcacbd898f758a56d095f2140681934205d89 | /GeekShop_mentor/src_lesson_3/step_3(views_templates)/geekshop/mainapp/views.py | db312440cc44535710e3c4f21a72ee5c1703ba12 | [] | no_license | AndreySperansky/Django_1 | 7d3be3ea2ede8e46d932fdae146ce4a7c4e300b4 | 0fec0a9a02b887fd8b45a5b763b7da5dc6377208 | refs/heads/master | 2022-12-15T19:56:23.611288 | 2020-09-21T17:40:40 | 2020-09-21T17:40:40 | 284,131,625 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,503 | py | from django.shortcuts import render
import datetime
from .models import ProductCategory, Product
def main(request):
title = 'главная'
products = Product.objects.all()
content = {'title': title, 'products': products}
return render(request, 'mainapp/index.html', content)
def products(req... | [
"andrey.speransky@gmail.com"
] | andrey.speransky@gmail.com |
cca169dc3e0575496cf8b7911224154b5b14ea0b | c50ec97fbcb9fd8b0ae61efc4b52b850c693d748 | /Chapter_8_Functions/printing_models.py | 11f7a6b2d45a7651e9dc70b0ac72824357195ad7 | [] | no_license | pedroceciliocn/python_work | 14ff2b89feea8f3d9c469709924a96b26fb052df | 79855f822af397b4cfb3293b1f4ee82af0160f8c | refs/heads/master | 2023-03-10T07:53:18.717548 | 2021-02-20T01:34:19 | 2021-02-20T01:34:19 | 323,730,425 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,487 | py | # Modifying a list in a function
#first without a function:
##Start with some designs that need to be printed.
unprinted_designs = ['phone case', 'robot pendant', 'dodecahedron']
completed_models = []
##Simulate printing each design, until none are left.
##Move each design to completed_models after printing.
while un... | [
"pedroceciliocn@gmail.com"
] | pedroceciliocn@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.