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
022bbfcae8b4a0b9b2dd34aae28a3016dde1563c
c1cd6a7a446934c428bc4fbf988f8d6680460488
/dist/restclient.app/Contents/Resources/setuptools/ssl_support.py
5820812d1c20dc5e820a4aef68f093c6091b3182
[]
no_license
devvmh/restclient-py2app
ed016d1763ee99779388c8700dfb9c129cf8ce1a
6826f6cb81c08a36b30878683a58e4f7a18f5041
refs/heads/master
2021-01-10T12:01:31.411373
2016-01-18T03:34:02
2016-01-18T03:34:02
49,850,053
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
/Users/devin/git/restclient/venv/lib/python2.7/site-packages/setuptools/ssl_support.py
[ "devin@callysto.com" ]
devin@callysto.com
343405fb1a09d6270a46f3f31a045a175b213b87
d57b51ec207002e333b8655a8f5832ed143aa28c
/.history/1/test_20200606190302.py
6ac7d1e8d3f7dff5414a65aed718dfe59f0e1101
[]
no_license
yevheniir/python_course_2020
b42766c4278a08b8b79fec77e036a1b987accf51
a152d400ab4f45d9d98d8ad8b2560d6f0b408c0b
refs/heads/master
2022-11-15T07:13:24.193173
2020-07-11T15:43:26
2020-07-11T15:43:26
278,890,802
0
1
null
null
null
null
UTF-8
Python
false
false
795
py
import os import json people = ['rfdfdf'] with open(os.path.dirname(os.path.realpath(__file__)) + "/save.json", 'r') as file: people = json.load(file) while True: msg = input().encode('ascii') if msg == "stop": break elif msg == "show all": print(people) else: name = ...
[ "yevheniira@intelink-ua.com" ]
yevheniira@intelink-ua.com
fc1bb49e2a7c68d119589dcf2782a1b582fa4311
ea544b339809095d2c383b542248f530990c31d5
/env/lib/python3.6/site-packages/sphinx/domains/__init__.py
d84fe6bfc1ed3280ff67c8af161f31b3de379d74
[ "BSD-3-Clause" ]
permissive
724686158/NosqlEXP3
5fab1a9e131c6936b5b61e0f1c86eea2c889294a
e29f2807f075831377456b47cf8c9ce0c8d65c30
refs/heads/master
2020-04-09T01:40:54.370782
2019-01-25T13:04:04
2019-01-25T13:04:04
159,912,368
0
0
null
null
null
null
UTF-8
Python
false
false
14,727
py
# -*- coding: utf-8 -*- """ sphinx.domains ~~~~~~~~~~~~~~ Support for domains, which are groupings of description directives and roles describing e.g. constructs of one programming language. :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details...
[ "solitarius.holic@gmail.com" ]
solitarius.holic@gmail.com
1f97ec440ba6c6a279915b778e547ad93602ac7e
2b3bbfc742ad6a2529f2906193c3c5263ebd5fac
/tools/crc/crc_init.py
35cab0578bc55530478de02b4d2b2470886733f6
[ "CC-BY-4.0", "BSD-3-Clause" ]
permissive
foxBMS/foxbms-2
35502ef8441dfc7374fd6c0839e7f5328a5bda8f
9eb6d1c44e63e43e62bbf6983b2e618fb6ad02cc
refs/heads/master
2023-05-22T05:30:25.862475
2023-02-23T15:03:35
2023-02-24T15:04:15
353,751,476
151
80
NOASSERTION
2023-09-01T09:59:30
2021-04-01T15:52:24
C
UTF-8
Python
false
false
5,199
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright (c) 2010 - 2023, Fraunhofer-Gesellschaft zur Foerderung der angewandten Forschung e.V. # All rights reserved. # # SPDX-License-Identifier: BSD-3-Clause # # Redistribution and use in source and binary forms, with or without # modification, are permitted provid...
[ "info@foxbms.org" ]
info@foxbms.org
ff7aa44906bb0f492c773e8be7365b2fd77bfd3b
7136e5242793b620fa12e9bd15bf4d8aeb0bfe7a
/examples/adspygoogle/dfp/v201103/update_custom_targeting_values.py
d97cfc120d9432381cb5eec1c4073a5401b8ac01
[ "Apache-2.0" ]
permissive
hockeyprincess/google-api-dfp-python
534519695ffd26341204eedda7a8b50648f12ea9
efa82a8d85cbdc90f030db9d168790c55bd8b12a
refs/heads/master
2021-01-10T10:01:09.445419
2011-04-14T18:25:38
2011-04-14T18:25:38
52,676,942
0
0
null
null
null
null
UTF-8
Python
false
false
2,585
py
#!/usr/bin/python # # Copyright 2011 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 b...
[ "api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138" ]
api.sgrinberg@7990c6e4-1bfd-11df-85e6-9b4bd7dd5138
55684fdb0228754c5b0c83f161cec75a2780a7c8
d569476dd95496339c34b231621ff1f5dfd7fe49
/PyTest/SteamSender/tests/PageObject/SteamActions.py
ef758dc5bfc9407871b3bb268f525393268eeabf
[]
no_license
monteua/Tests
10f21f9bae027ce1763c73e2ea7edaf436140eae
553e5f644466683046ea180422727ccb37967b98
refs/heads/master
2021-01-23T10:28:49.654273
2018-05-09T09:11:30
2018-05-09T09:11:30
93,061,159
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import time class SteamHome(object): def __init__(self, driver): self.driver = driver def open_browser(self): self.driver.g...
[ "arximed.monte@gmail.com" ]
arximed.monte@gmail.com
8e31ff5084ea5f8bf5777a184c508e97ccd22cac
2da6133f3cd5c5fc19355292d60253b8c0dbcd49
/.history/antz/models_20200403232602.py
e82e48acaad35fce9f5ead09f86c2ffb0b256759
[]
no_license
mirfarzam/python-advance-jadi-maktabkhooneh
b24f5c03ab88e3b12c166a439b925af92f50de49
d9bcecae73fd992f1290c6fd76761683bb512825
refs/heads/master
2021-05-25T21:33:37.782734
2020-04-07T22:39:28
2020-04-07T22:39:28
253,927,960
0
0
null
null
null
null
UTF-8
Python
false
false
484
py
from django.db import models class CardBrand(models.Model): name = models.charField(max_length=128) class CarModel(models.Model): name = models.charField(max_length=128) brand = models.ForeignKey(CarBrand, on_delete = models.CASCADE) class Car(models.Model): name = models.charField(max_length=255...
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
4105ca931275e881465db1fab1190e4b1ed38288
3e5150447a2c90c26354500f1df9660ef35c990b
/filesystem/delete.py
9dc80d9ebca76b9e647f7e8d1bf7799d70ed8c7c
[]
no_license
kilirobbs/python-fiddle
8d6417ebff9d6530e713b6724f8416da86c24c65
9c2f320bd2391433288cd4971c2993f1dd5ff464
refs/heads/master
2016-09-11T03:56:39.808358
2013-03-19T19:26:19
2013-03-19T19:26:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
136
py
from os import remove from shutil import rmtree #remove(filename) folder="/Users/nordmenss/git/GISTS/4050474/.git/hooks" rmtree(folder)
[ "cancerhermit@gmail.com" ]
cancerhermit@gmail.com
6387f2014defc3d4ce1a0a3164d1c6c284117320
81084f5947cf300cbbb51149bd1950e0c7b76504
/Django_Logging/django_logging/manage.py
a673d976bddeb86dbf859cd278b072c1bb71c3d2
[]
no_license
Gaurav41/Django-Handson
8bb7acbb77a210cea107eea157761e22f4b5b222
80e72b4075c1583b3c9d14b2ba2d94508b5c760e
refs/heads/master
2023-08-13T19:57:20.692439
2021-09-27T18:37:44
2021-09-27T18:37:44
403,650,774
0
0
null
null
null
null
UTF-8
Python
false
false
670
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_logging.settings') try: from django.core.management import execute_from_command_line exce...
[ "gauravpingale4@gmail.com" ]
gauravpingale4@gmail.com
82e3ddab0c74beb14332a162cfc09b3f38772cca
d5c6af12520a0f125c3f12b5f4da8a47492b7dc0
/mathematics/find_the_point.py
e028c70e5952ce5807f60ee56c50267d9cd9b977
[]
no_license
LubosKolouch/hackerrank
4e0a2a5ff1309152c6515732f408ee1434712bff
21de03b0638277108c250c2971fbd3e5b69cf454
refs/heads/master
2022-12-24T06:42:13.411394
2020-10-04T14:52:04
2020-10-04T14:52:04
266,756,024
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
""" https://www.hackerrank.com/challenges/find-point/ """ def findPoint(px, py, qx, qy): # # Write your code here. # return 2*qx-px, 2*qy-py
[ "lubos@kolouch.net" ]
lubos@kolouch.net
24b1f3932e2f102dfb818030036b4b346ea0be8b
88ae8695987ada722184307301e221e1ba3cc2fa
/third_party/catapult/dashboard/dashboard/pinpoint/handlers/fifo_scheduler_test.py
330d8312a3f254bc096aa52db2c76f7d022d6fb6
[ "Apache-2.0", "LGPL-2.0-or-later", "MIT", "GPL-1.0-or-later", "BSD-3-Clause" ]
permissive
iridium-browser/iridium-browser
71d9c5ff76e014e6900b825f67389ab0ccd01329
5ee297f53dc7f8e70183031cff62f37b0f19d25f
refs/heads/master
2023-08-03T16:44:16.844552
2023-07-20T15:17:00
2023-07-23T16:09:30
220,016,632
341
40
BSD-3-Clause
2021-08-13T13:54:45
2019-11-06T14:32:31
null
UTF-8
Python
false
false
12,657
py
# Copyright 2019 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Tests the FIFO Scheduler Handler.""" from __future__ import print_function from __future__ import division from __future__ import absolute_import import ...
[ "jengelh@inai.de" ]
jengelh@inai.de
6fcd455d0ae546f2a8441ff6cdb63c295ed32199
399dae0b5ad9ca27cde175d25b5435958674eb50
/System/Run PowerShell Script/run-powershell-script.py
276874c0fa446e1832bd4e3f0f779886e8c565e6
[]
no_license
kannanch/pythonscripts
61e3ea9e8ebf6a6b0ec2a4a829664e4507b803ba
843a522236f9c2cc2aadc68d504c71bb72600bd9
refs/heads/master
2020-06-12T11:18:00.404673
2019-06-28T11:24:37
2019-06-28T11:24:37
194,282,297
1
0
null
2019-06-28T13:55:56
2019-06-28T13:55:56
null
UTF-8
Python
false
false
1,655
py
ps_content=r''' function Get-Uptime { Param( $ComputerName = $env:COMPUTERNAME) if ($lastBootUpTime = (Get-WmiObject win32_operatingsystem -ComputerName $ComputerName| select @{LABEL='LastBootUpTime';EXPRESSION={$_.ConverttoDateTime($_.lastbootuptime)}}).LastBootUpTime) { (Get-Date) - $lastBootUpTime } else { ...
[ "noreply@github.com" ]
kannanch.noreply@github.com
efd3556e9673ddbe9bd70a4daf90badd68eecb71
3beaae9591735f31e754e1d325bdbf20a0070e12
/solver.py
362114125dd30c68aa47e524ba7c894880f77bab
[]
no_license
benediktwerner/CrossCellsSolver
6a3b85ae4507804004ab10b7acf444b11811ec10
9946ccef221713c6a9af7d49c132c33b23f36cb3
refs/heads/master
2020-04-18T21:23:29.708100
2019-01-27T05:11:13
2019-01-27T05:11:13
167,764,059
0
0
null
null
null
null
UTF-8
Python
false
false
10,950
py
import time import math import cv2 import numpy as np import mss import pytesseract import win32con import win32api import win32gui from z3 import Bool, If, simplify, sat, Solver BORDER_TOP = 100 BORDER_LEFT = 100 BORDER_BOTTOM = 100 BORDER_RIGHT = 100 CELL_SIZE = 35 class Rect: def __init__(self, rect): ...
[ "1benediktwerner@gmail.com" ]
1benediktwerner@gmail.com
d789aa6de3ba1cab2a8b9572ee4e4766af9fc98d
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/synthetic/sieve-big-4311.py
a7166d25a431c34cd89dafbe2bec9519d9fd434c
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
31,755
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
0964e9a5dbb4533d4abfd265dd6d8ba7144e2691
48323c491536a1190f6287161f61230eb0232dfe
/Leetcode/NextPermutation.py
abb8d7755bb53bab4b5faa5ac26972801f8ed397
[]
no_license
cgxabc/Online-Judge-Programming-Exercise
d8249846eaf1a7f6f228aeae5adcee6d90dfcce6
724f514e7dc7774f2df5eecf90ef2a678b233a29
refs/heads/master
2021-04-28T13:27:42.239709
2018-02-19T18:51:05
2018-02-19T18:51:05
122,104,657
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Sun Dec 17 15:05:43 2017 @author: apple """ """ Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possible, it must rearrange it as the lowest possible order (ie...
[ "noreply@github.com" ]
cgxabc.noreply@github.com
f585be332ad48617e79e279f22f8d8d6ec1fe263
6f05f7d5a67b6bb87956a22b988067ec772ba966
/data/train/python/90ec77532048b6bf469559849d5ca80cd4e54f69action_controller.py
7d45544d8058f62ec577713a798563d315ed7df2
[ "MIT" ]
permissive
harshp8l/deep-learning-lang-detection
93b6d24a38081597c610ecf9b1f3b92c7d669be5
2a54293181c1c2b1a2b840ddee4d4d80177efb33
refs/heads/master
2020-04-07T18:07:00.697994
2018-11-29T23:21:23
2018-11-29T23:21:23
158,597,498
0
0
MIT
2018-11-21T19:36:42
2018-11-21T19:36:41
null
UTF-8
Python
false
false
2,067
py
from Menu.menu import Menu from Menu.text_menu_entry import TextMenuEntry from Screen.Console.Menu.ActionMenu.action_menu_screen import ActionMenuScreen from Screen.Console.Menu.ActionMenu.AttackMenu.attack_controller import AttackController from Screen.Console.Menu.ActionMenu.SwitchMenu.switch_controller import Switch...
[ "aliostad+github@gmail.com" ]
aliostad+github@gmail.com
02893c861cf938bbf3afe51a1e5d61e2b8f327bd
6ae8717002f8fce4457cceb3375a114ddcb837df
/1-100/18. Four Sum.py
ce1a72a2e443da34b890db6074991804027e0403
[]
no_license
SunnyMarkLiu/LeetCode
31aea2954d5a84d11a1c4435f760c1d03c6c1243
852fad258f5070c7b93c35252f7404e85e709ea6
refs/heads/master
2020-05-30T07:17:33.992197
2018-03-29T03:57:51
2018-03-29T03:57:51
104,643,862
1
1
null
null
null
null
UTF-8
Python
false
false
2,484
py
#!/home/sunnymarkliu/software/miniconda2/bin/python # _*_ coding: utf-8 _*_ """ 4 sum 问题转化为 3 sum 问题 同时注意时间复杂度而进行的边界检查 @author: MarkLiu @time : 17-10-31 下午8:05 """ class Solution(object): def fourSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[L...
[ "SunnyMarkLiu101@gmail.com" ]
SunnyMarkLiu101@gmail.com
5329ba8a2cc777d09994227fd8800e3ce9607b95
ba62f1d4c2d4209cbbe12bbf94ac2b44e56646eb
/callbacks/sdnet_image_callback.py
3c13bf2fba94ed5b3296807b9016f86938d7f48e
[]
no_license
falconjhc/APDNet-SourceCodes
358f4387254aa30b04277910b67a31ae050dd1ce
d612177dd462910019f31f32f2ec81aa046a602c
refs/heads/master
2022-12-05T01:28:49.500452
2020-08-27T10:11:11
2020-08-27T10:11:11
290,631,642
1
0
null
null
null
null
UTF-8
Python
false
false
50,070
py
import logging import os import matplotlib.pyplot as plt import numpy as np import scipy from keras import Input, Model #from scipy.misc import imsave from imageio import imwrite as imsave # harric modified from utils.image_utils import image_show, generate_mask_on_img # harric modified import utils.data_utils import...
[ "falconjhc@gmail.com" ]
falconjhc@gmail.com
c4b24cf35d4b377de870d3648ce56e6d70ebe71b
79ad16a56df93085651886375920306e63121690
/docs_src/tutorial/fastapi/limit_and_offset/tutorial001.py
9bdf60446a6f961ddc89296af3342889726b0341
[ "MIT" ]
permissive
macrosfirst/sqlmodel
4286f72144afbf1476368e3fd0ca895852799046
bda2e2818a3e7c2a18be4adf55bfea9bad83bfcc
refs/heads/main
2023-08-14T02:09:27.072625
2021-09-29T13:31:54
2021-09-29T13:31:54
403,592,064
0
0
MIT
2021-09-29T13:31:55
2021-09-06T11:11:59
Python
UTF-8
Python
false
false
1,599
py
from typing import List, Optional from fastapi import FastAPI, HTTPException, Query from sqlmodel import Field, Session, SQLModel, create_engine, select class HeroBase(SQLModel): name: str secret_name: str age: Optional[int] = None class Hero(HeroBase, table=True): id: Optional[int] = Field(default...
[ "tiangolo@gmail.com" ]
tiangolo@gmail.com
0396719e3079adfc788b7ebb764fa5b83d5d56c3
b2ab2caae8d6a24dfb6e43852ed5fd416d912dad
/flask/day02flask没有api/utils/ch_login.py
ec62393c203afbf7310991b009cf93b18b05e567
[]
no_license
cheyunping77/learingnote
781d55eb2e951049840e58ee41af3de8490fd37e
edba6c247eefe33829ba549068d67dcb288ea28b
refs/heads/master
2023-08-18T12:57:45.624973
2023-07-24T06:47:11
2023-07-24T06:47:11
256,951,310
0
0
null
2020-04-19T08:35:17
2020-04-19T08:35:16
null
UTF-8
Python
false
false
271
py
from flask import url_for,redirect,session def is_login(func): def check_login(): user_session = session.get('user_id') if user_session: return func else: return redirect(url_for('user.login')) return check_login
[ "380604322@qq.com" ]
380604322@qq.com
26fe6bcdf3b7a3144632734a6041c873371cfccb
c1db68ab2abc9c03a733e8de00eca134fe987a67
/req2.py
2fee3dd944dd30b7e0d8e08b7533c7b499cbfcb6
[]
no_license
pooja-pichad/request
f64560c33d6b3f131ab25274f4c7ebc0c88c866e
bf9613b5b23f3df0a15e3367d3f100840ccef23f
refs/heads/main
2023-08-21T09:35:50.905226
2021-10-14T09:06:28
2021-10-14T09:06:28
387,688,989
0
0
null
null
null
null
UTF-8
Python
false
false
5,339
py
import requests import json # calling a saral api def saral(): saral_api = " http://saral.navgurukul.org/api/courses" #This link is a API and url saral_url = requests.get(saral_api) #request is a server # convert into a json data = saral_url.json() with open ("meraki_...
[ "noreply@github.com" ]
pooja-pichad.noreply@github.com
ccbc96dcb76deb5429a028de11d8bc19bc885cb9
d9fb6c246965cbf290186268298859ddb913ee6e
/190930/test.py
520808d2c39e67f84e60d7b5df8b7b7ab4bd31bd
[]
no_license
91hongppie/algorithm
1ca6d54de6eab252c708bf83835ace8a109d73fc
4c2fa8178e0ef7afbf0b736387f05cbada72f95d
refs/heads/master
2020-07-20T22:17:40.700366
2020-06-29T00:06:11
2020-06-29T00:06:11
206,717,677
1
0
null
null
null
null
UTF-8
Python
false
false
639
py
import sys sys.stdin = open('test.txt', 'r') # def test(c, rc): # global result, nums # if rc not in result: # result.append(rc) # if c == nums: # return # test(c+1, rc+scores[c]) # test(c+1, rc) N = int(input()) for tc in range(1, N+1): nums = int(input()) scores = list(map...
[ "91hongppie@gmail.com" ]
91hongppie@gmail.com
20245bfb78d653c8237477beb7e295e82abc8728
cc1d44cf04e5b2b15bb296a434aad4ae4bcfc4be
/python3/sql/getloc.py
e7364928c50915bd728d4d97890c8e206995c6dd
[]
no_license
ericosur/ericosur-snippet
dda2200546b13fb9b84632d115a0f4ca5e3d5c47
0309eeb614612f9a35843e2f45f4080ae03eaa81
refs/heads/main
2023-08-08T04:54:05.907435
2023-07-25T06:04:01
2023-07-25T06:04:01
23,057,196
2
1
null
2022-08-31T09:55:19
2014-08-18T03:18:52
Perl
UTF-8
Python
false
false
1,216
py
#!/usr/bin/python3 # coding: utf-8 ''' query players.db to find location coordinates ''' import sqlite3 import sys try: from hexdump import hexdump except ImportError: print("need install module: hexdump") sys.exit(1) class Solution(): ''' sqlite and query ''' def __init__(self): self.db...
[ "ericosur@gmail.com" ]
ericosur@gmail.com
f67179075a44b0e73699d2357779d53d1c60decb
868ac4e558cf5fe945e8b557564f34f79b3ad01e
/purity_fb/purity_fb_1dot10/models/directory_service_response.py
2fc1bc7144e633dfc9badfed480f1a506388d3ff
[ "Apache-2.0" ]
permissive
mabdelhafez/purity_fb_python_client
f4253ce8497fb3cff648e0a0cd1e567f48129fa7
a9856875b3df43b4302a2e4addd1a6b71f51f5ce
refs/heads/master
2022-04-20T09:24:22.031408
2020-04-20T22:11:32
2020-04-20T22:15:44
257,372,596
0
0
NOASSERTION
2020-04-20T18:40:24
2020-04-20T18:40:23
null
UTF-8
Python
false
false
4,297
py
# coding: utf-8 """ Pure Storage FlashBlade REST 1.10 Python SDK Pure Storage FlashBlade REST 1.10 Python SDK, developed by [Pure Storage, Inc](http://www.purestorage.com/). Documentations can be found at [purity-fb.readthedocs.io](http://purity-fb.readthedocs.io/). OpenAPI spec version: 1.10 Contact...
[ "mabdelhafez@purestorage.com" ]
mabdelhafez@purestorage.com
0d2788ab9aafd86f7d209b60a0b3697107636ab2
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/102/usersdata/212/49943/submittedfiles/av1_2.py
a70d5686bf818087b807f4b0822fd2efe3e0d999
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
317
py
# -*- coding: utf-8 -*- import math n1=int(input('digite o primeiro valor da sequência:')) n2=int(input('digite o segundo valor da sequência:')) n3=int(input('digite o terceiro valor da sequência:')) n4=int(input('digite o quarto valor da sequência:')) if (n1==n3) or (n2==n4): print('V') else: print('N')
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
7f8d73f6f3bba6793aeb102ca4f67544ac169569
ec6cb8542c8ed962d24ca32fc1f060ef63fdfea7
/第一阶段/课上实例练习/13继承_重构_repr_/epidemic_information_system_v1.py
a8e759adedeb2f5fb91ff3d0795a5b9b4f5debde
[]
no_license
singerdo/songers
27859a4ff704318d149b2aa6613add407d88bb5d
9c5dcd80c6772272c933b06c156b33058cbd3ce4
refs/heads/master
2022-04-16T11:00:11.002138
2020-04-18T07:15:16
2020-04-18T07:15:16
256,686,903
0
0
null
null
null
null
UTF-8
Python
false
false
4,688
py
""" 疫情信息系统 需求: 输入1,循环获取疫情信息. 练习1: 需求: 输入2,显示所有疫情信息. 步骤: 在View中判断是否输入"2" 在Controller中定义__list_epidemics的只读属性 在View中显示信息 """ class EpidemicInformationModel: """ 疫情信息模型 """ def __init__(self, region="", confirmed=0, ...
[ "569593546@qq.com" ]
569593546@qq.com
962ecb9cd49d0303277c9be28f8389ecfc558290
9f0a4262c4402201df1cdd5674a679543f4a50b5
/studio_maya/resources/__init__.py
b007269247729602677317a32043f9797e916de2
[]
no_license
subing85/subins-toolkits
611b6b3b3012ccb023096f6e21d18d2bda5a534b
d02af1289ec3ee5bce6fa3d78c134a8847113aa6
refs/heads/master
2022-07-12T17:19:57.411454
2022-07-01T20:37:16
2022-07-01T20:37:16
168,826,548
11
2
null
2022-07-02T01:03:34
2019-02-02T11:51:25
Mathematica
UTF-8
Python
false
false
2,342
py
import os import tempfile import platform CURRENT_PATH = os.path.dirname(__file__) def getToolKit(): return "Studio Maya Interpreter", "smi", "0.0.1" def getModuleName(): return "studio_maya" def getIconPath(): return os.path.join(CURRENT_PATH, "icons") def getLogo(): return os.path.join(CURREN...
[ "subing85@gmail.com" ]
subing85@gmail.com
eeab448cdc59c08d59f662483396beaf151639e5
9268f5f8ccbc91322eb12c5cc0be53e7678aeff7
/docs/source/pgf2img.py
0501d4a6cda356d0178a518747924bd1e7c344d8
[ "BSD-3-Clause" ]
permissive
JupiterEthan/ted.python
7f5e462a064b351d0520d73a3972be151979be23
1698a7f792db23123003ae4e2d39b4c18f25f347
refs/heads/master
2020-05-29T09:14:55.478502
2015-12-06T15:30:01
2015-12-06T15:30:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,884
py
#!/usr/bin/env python """ Convert PGF files to an image file using pdflatex, pdfcrop, (from texlive) and convert (from ImageMagick). """ import os import sys import tempfile import time import subprocess def __find_exec(executable): '''Try to find an executable in the system path.''' if os.path.isfile(execu...
[ "lev@columbia.edu" ]
lev@columbia.edu
ea095df30995166a7aff01937d139194c7dc74d5
60a48189cf63995416fe3a013ea8a3b83e0ad1fa
/bmw/wheelstand/admin.py
3762869e62073ae59b86709c19e8331a65a303c1
[]
no_license
wheelstand/bmw
d87550e7b16419ac5cd9c3bb73b8b22d28500d41
ca60626033c1acb487cbafe31395ed5bc85dab0b
refs/heads/master
2021-01-23T21:10:50.173495
2017-05-09T15:43:37
2017-05-09T15:43:37
90,672,879
0
0
null
null
null
null
UTF-8
Python
false
false
9,804
py
from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from .models import Models, Trim, ModelsShown, FeaturesAccessory, Exterior, Upholstery, Wheel, Package, Option, \ Location, TrimEnImage, TrimFrImage, Gallery, Interior, Performance, Colour, TestDrive, KeepingInTouch, StaticModel, ...
[ "hypnopompicindex@gmail.com" ]
hypnopompicindex@gmail.com
d0a8cb4d9fa41a0759b2ffea4039c1e1f5186a15
19603633d723d3b824ca9bce2994ce7e63dd1fc9
/tests/integration/test_copy.py
8073bc43754023f14388f1e5890dd8f5cb9091fb
[ "Apache-2.0" ]
permissive
TingDaoK/s3transfer
710d761cc7406ff477291b45a21105f870f68813
95f34d02275d716addb6fe2f8aa5327ceff98e3d
refs/heads/develop
2023-04-20T14:18:25.590390
2020-12-18T22:12:01
2020-12-18T22:12:01
319,548,025
0
1
Apache-2.0
2021-05-31T23:10:42
2020-12-08T06:32:04
Python
UTF-8
Python
false
false
2,986
py
# Copyright 2016 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompa...
[ "kyleknap@amazon.com" ]
kyleknap@amazon.com
e7bc57d1a028c2d6796b49ebe2c1b947e021eb85
1ed536ef1527e6655217e731f622d643ece49c2b
/scripts/gpipe/pairs2gene_structure.py
1b0134cfab7ba4d9bd647eed809068b2b6b31891
[]
no_license
siping/cgat
de0f7af124eb38c72d7dece78fff83ff92ddbf96
aa4cc85ffdc53998ea1a5ac5516df2d16c254d2e
refs/heads/master
2021-01-22T13:03:18.060139
2013-10-07T15:53:55
2013-10-07T15:53:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,934
py
################################################################################ # # MRC FGU Computational Genomics Group # # $Id$ # # Copyright (C) 2009 Andreas Heger # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as publish...
[ "andreas.heger@gmail.com" ]
andreas.heger@gmail.com
bb1f91a8e88acabf8432b01b997fbc03d8e0aa9a
7b065a6b01905a2da6ad2d00b6398aad150dc6c3
/基础知识/4.文件操作/4.write()方法.py
03c9d3080ae416f6c9431364f8d419f445021f9e
[]
no_license
ylwctyt/python3-1
f4b0d8d6d0a7947170186b27bf51bc2f6e291ac7
ca92e2dc9abc61265e48b7809cb12c3e572b5b6f
refs/heads/master
2021-04-18T18:56:46.047193
2018-03-25T04:35:11
2018-03-25T04:35:11
126,699,773
2
0
null
null
null
null
UTF-8
Python
false
false
539
py
import json # f = open("test_write.txt","w",encoding="utf-8") # f.write("HelloWorld\n") # f.write("HelloWorld\n") # f.close() f = open("test_write.txt", "w", encoding="utf-8") lines = ["1", "2", "3", "4", "5"] # lines = [line+'\n' for line in lines] f.writelines(lines) # 写入一个列表 f.close() # json 写入到文件 dict = {"key1"...
[ "359405466@qq.com" ]
359405466@qq.com
fc541b4fe07329e28fb81c87bf310cfde8ff531f
8988a329c571cb04a5d97c691d0cd8bc4caf81d4
/benchmarks/variables.py
414b9a4cb3dafad00e29172ae8b4aee904f332d4
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
dwavesystems/dimod
85329cbee86bdf5a73de05fa25884c877ea53002
8433f221a1e79101e1db0d80968ab5a2f59b865d
refs/heads/main
2023-08-29T08:37:24.565927
2023-08-17T17:14:58
2023-08-17T17:14:58
100,658,303
118
93
Apache-2.0
2023-09-13T18:15:37
2017-08-18T01:02:17
Python
UTF-8
Python
false
false
1,568
py
# Copyright 2022 D-Wave Systems Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "arcondello@gmail.com" ]
arcondello@gmail.com
778faa010de5bb8612053f55b33329ac19019012
cce8469586694aeea759a577c77bbac0652bec6f
/detectron2/config/config.py
c8270fd7ee447cd10497dc6253627ab0660c67c5
[ "Apache-2.0" ]
permissive
veraposeidon/detectron2
9a4553289111bf6a83ecd3361eab836fb5ea076b
df2f2ab213e5c089ebc65b84786f766ba2b2b5d5
refs/heads/master
2020-09-26T09:05:06.044612
2019-12-30T09:38:29
2019-12-30T09:38:29
226,223,447
3
0
Apache-2.0
2019-12-22T13:16:50
2019-12-06T01:47:30
Jupyter Notebook
UTF-8
Python
false
false
3,560
py
# -*- coding: utf-8 -*- # Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import logging from fvcore.common.config import CfgNode as _CfgNode class CfgNode(_CfgNode): """ The same as `fvcore.common.config.CfgNode`, but different in: 1. Use unsafe yaml loading by default. ...
[ "veraposeidon@gmail.com" ]
veraposeidon@gmail.com
7da94cb8e28b840f977542ad552b721f062f4c0f
e5ea9950d5f64b1e5ab7dad5ef63f5b443ca52ed
/API_Engine/models/fields.py
a904ded47eb68374eb66d8535c6abad620feb90d
[]
no_license
MediKnot/MediKnot-AI
f2e5c55d09a036580706470e6c1d8f6d7dc9635b
97528506c25d3b31d404f2e181a39a887dbe2bb4
refs/heads/main
2023-06-03T13:33:46.483665
2021-06-24T14:15:21
2021-06-24T14:15:21
376,215,473
1
0
null
null
null
null
UTF-8
Python
false
false
2,449
py
"""MODELS - FIELDS Definition of Fields used on model classes attributes. We define them separately because the PersonUpdate and PersonCreate models need to re-define their attributes, as they change from Optional to required. Address could define its fields on the model itself, but we define them here for convenience ...
[ "ajinkyataranekar@gmail.com" ]
ajinkyataranekar@gmail.com
a706d366c2b89cc2de1fa44bab761e41a23254c9
5f4f3ab6ece4eda1066bda2f80b9cf89a898f409
/0x0B-python-input_output/10-class_to_json.py
7e9784dda2a105257bb1f5945467692817f849a3
[]
no_license
s0m35h1t/holbertonschool-higher_level_programming
8af7f3bc54159efa05859f81ca3b9fb1739190e8
f3b7ddeabf41b5cbc8460841c429b4b3bf254fea
refs/heads/master
2020-09-28T20:32:23.955579
2020-05-14T20:22:50
2020-05-14T20:22:50
226,859,068
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
#!/usr/bin/python3 """ get __dict__ class description """ def class_to_json(obj): """returns the dictionary description with simple data structure (list, dictionary, string, integer and boolean) for JSON serialization of an object Args: obj (Object): file name Returns: (Object) : ...
[ "adib.grouz@gmail.com" ]
adib.grouz@gmail.com
b669fc22e51ea7d2d9e31e0ef07ecec2abbde3ba
931c17844683a4fbbefcf2bb2d5468d08cce7dbd
/03.Data_Science/Test.py
2ff749cabbb0693acb9c49bb983bc82a8e8e96eb
[]
no_license
sungwooman91/python_code
d7c8046089bf492b70d21f4ee5a8676377e70592
fdf20690d761b533efef2f247719f598c14f50c8
refs/heads/master
2020-03-26T05:14:27.104725
2018-08-13T07:46:11
2018-08-13T07:46:13
144,545,758
1
0
null
null
null
null
UTF-8
Python
false
false
710
py
import csv # 외부모듈 사용!!! with open("Demographic_Statistics_By_Zip_Code.csv", newline="") as infile: data = list(csv.reader(infile)) # 파일을 'data'라는 리스트로 출력 # # ## get_csv_rowInstance(row_index) # ## COUNT FEMALE # def get_csv_rowInstance(row_name): # data를 # find_row = data[0].index(row_name) # row_instance ...
[ "tjddn636@naver.com" ]
tjddn636@naver.com
576c3dddbc0a2fb79bb514302124bcd8b6350115
7624e7fca387651e278e1e9911b37c675e3a599c
/面试题&剑指 Offer/面试题 08.08. 有重复字符串的排列组合.py
0ec11ab8a9ef9a2062647d0c9544c4c35ca5027c
[]
no_license
homezzm/leetcode
53269f1c94c040a41b03e4342d4c241e3f1102b5
63ac5a0921835b1e9d65f71e1346bbb7d66dad9b
refs/heads/master
2023-03-03T09:28:16.974397
2021-02-15T03:21:17
2021-02-15T03:21:17
330,537,897
1
0
null
null
null
null
UTF-8
Python
false
false
1,326
py
class Solution(object): def permutation(self, S): """ https://leetcode-cn.com/problems/permutation-ii-lcci/ :type S: str :rtype: List[str] 有重复字符串的排列组合。编写一种方法,计算某字符串的所有排列组合。 示例1:输入:S = "qqe" 输出:["eqq","qeq","qqe"] """ if not S or len(S) <= 1: return...
[ "homezzm@126.com" ]
homezzm@126.com
5b9c41ad7bd7f537b5ec26e1e565ce2aa685a1a2
487ce91881032c1de16e35ed8bc187d6034205f7
/codes/CodeJamCrawler/16_0_1/manjeetacrocs2/a.py
430d5f4ef1493a5eda7c5d37ab4445304677ec9b
[]
no_license
DaHuO/Supergraph
9cd26d8c5a081803015d93cf5f2674009e92ef7e
c88059dc66297af577ad2b8afa4e0ac0ad622915
refs/heads/master
2021-06-14T16:07:52.405091
2016-08-21T13:39:13
2016-08-21T13:39:13
49,829,508
2
0
null
2021-03-19T21:55:46
2016-01-17T18:23:00
Python
UTF-8
Python
false
false
352
py
t=int(input()); j=1; for _ in range(t): str1=input() if int(str1)==0: print("Case #{}: INSOMNIA".format(j)) j+=1 continue s=set(); s|=set(list(str1)) sum1=int(str1);count=0 while len(s)!=10: sum1+=int(str1); l3=list(str(sum1)); s|=set(l3) print("Case #{...
[ "[dhuo@tcd.ie]" ]
[dhuo@tcd.ie]
edb372fc77442ea6e458189ac944b38057875627
928a04008a4258e5a351c7c2d68887bb45cbfed2
/python/londiste/setup.py
fea3e154b92b74e62ae1d2061e3170ba81fb61c3
[ "ISC" ]
permissive
ssinger/skytools-cvs
dc5682159eb852dc7e77b9592c0f9ffe7e6c260e
7e4d24f2c0213d07bbf9e242badeeea2dc5ec1a6
refs/heads/master
2021-03-12T21:27:15.314521
2009-07-21T10:50:48
2009-07-21T10:50:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,301
py
#! /usr/bin/env python """Londiste setup and sanity checker. """ import sys, os, skytools import pgq.setadmin __all__ = ['LondisteSetup'] class LondisteSetup(pgq.setadmin.SetAdmin): initial_db_name = 'node_db' extra_objs = [ skytools.DBSchema("londiste", sql_file="londiste.sql") ] def __init__(self, ar...
[ "markokr@gmail.com" ]
markokr@gmail.com
7a0f902f4fd2b98ce87a8b8ed1548b76623a4291
23514a0e2baf6da053690dd511f1eef75a573e6b
/log-mining/com/haodou/log-mining/CollectionUtil.py
4ebb82ebf1ce316a6ec6163875d3288a73b45c03
[]
no_license
rainly/scripts-1
b5f31880a1a917df23e4c110bb7661685851eff5
3ef01a58162b94fb36cdd38581c899d8a118eda0
refs/heads/master
2020-07-12T01:41:31.491344
2019-08-27T08:50:10
2019-08-27T08:50:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
def cut(rs,N): return sorted(rs.items(), key=lambda d: d[1],reverse=True)[0:N] import random def test(): N=5 rs={} for i in range(N*2): rs[i]=int(3*random.random()) print rs cut(rs,N) print rs if __name__=="__main__": test() def halfCut(ts,min=0,max=100): n=len(ts)/2 if n < min: n=min if n > max: ...
[ "zhaoweiguo@vxiaoke360.com" ]
zhaoweiguo@vxiaoke360.com
ad582a3d28ae7f94a8654318676c5e54db2755de
17dca703eed28a859bba4984eba5b039b900e3d7
/operaciones/views.py
dc3dc8fde486273a340e37d206351d0718decdb2
[]
no_license
alexogch1/SistemaOperaciones
1a34872daf0e151672edd202a5089ee754805203
ac72f6e3284061e240aebec6a3300ff463a3544c
refs/heads/master
2021-01-03T15:32:45.470642
2020-03-03T07:47:27
2020-03-03T07:47:27
240,133,319
0
1
null
2020-02-28T05:21:57
2020-02-12T23:02:36
Python
UTF-8
Python
false
false
6,699
py
from django.shortcuts import render from django.contrib.auth.mixins import LoginRequiredMixin from django.views .generic.base import TemplateView from django.http.response import HttpResponse from openpyxl import Workbook from openpyxl.styles import Alignment, Border,Font,PatternFill,Side from django.views import gen...
[ "alexogch@hotmail.com" ]
alexogch@hotmail.com
bbff0812d21cbd950f8dcd096fa53a300491a14b
8a73f252c333d9be87ad3827f6880fb47b43625f
/tutorials/W1_ModelTypes/solutions/W1_Tutorial2_Solution_8a33b742.py
dc15afaa0b608af6694a1387b75654336eac098b
[]
no_license
tifainfaith/professional-workshop-3
640948d23c8207f891ff0257a38e4653af5b452b
851077030cbb5a2f53520dbccb80e4459ae8bfc7
refs/heads/master
2023-08-20T00:50:11.303677
2021-10-27T00:46:34
2021-10-27T00:46:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
643
py
def lif_neuron(n_steps=1000, alpha=0.01, rate=10): """ Simulate a linear integrate-and-fire neuron. Args: n_steps (int): The number of time steps to simulate the neuron's activity. alpha (float): The input scaling factor rate (int): The mean rate of incoming spikes """ # precompute Poisson samples ...
[ "action@github.com" ]
action@github.com
9b70171b34c9d395fbcb8b2bcd8eae663ee97237
ca17bd80ac1d02c711423ac4093330172002a513
/decorator/decorator.py
786734854a22973c775aedfcfa7e0b0d85d65adb
[]
no_license
Omega094/lc_practice
64046dea8bbdaee99d767b70002a2b5b56313112
e61776bcfd5d93c663b247d71e00f1b298683714
refs/heads/master
2020-03-12T13:45:13.988645
2018-04-23T06:28:32
2018-04-23T06:28:32
130,649,699
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
def f1(arg): print "f1" rl = arg() print rl, "This si rl" return rl + "f1" @f1 def f2(arg = ""): print "f2" return arg + "f2r" print "start" print f2
[ "zhao_j1@denison.edu" ]
zhao_j1@denison.edu
bb7f3095c4b812063e8c77e887d8afde9d682874
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02995/s824603391.py
91c9d13ffd6406e8745ba0c78a8d2e5ef263052b
[]
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
644
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Created: Jul, 13, 2020 04:11:55 by Nobody # $Author$ # $Date$ # $URL$ __giturl__ = "$URL$" import math from sys import stdin input = stdin.readline def main(): A, B, C, D = list(map(int, input().split())) # divisible by C dc = B//C - (A-1)//C # divisible ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
4252361cdb8d77952bfe9c73b5a3ef21eb5f86fc
a1b1e14dcaecbeee7a9ef7d0f3199f72e436dec9
/migrations/0046_auto_20200731_1926.py
3c15798c43e52f3aed7985402fd8d5f3be047b52
[]
no_license
erllan/my-first-blog
ee99c3faad2de4039340b683143ada4c29310b31
0a1f37d9c95d70daaef945fbd950412281eb2cc4
refs/heads/master
2022-12-20T02:32:33.683460
2020-10-21T14:55:23
2020-10-21T14:55:23
262,575,739
0
0
null
null
null
null
UTF-8
Python
false
false
746
py
# Generated by Django 3.0.2 on 2020-07-31 13:26 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('my_vk', '0045_auto_20200731_1855'), ] operations = [ migrations.AlterField( model_name='message...
[ "erlan.kubanychbekov.000@gmail.com" ]
erlan.kubanychbekov.000@gmail.com
fe6ca773d2c95c079f2abc0a0ea3f814374940ee
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2737/60734/246210.py
03d3b05e18516224525a5ee93bd214fb817c7686
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
547
py
import re lst = re.findall(r'\d+',input()) lst = list(map(int,lst)) #最多只能有两个众数 m,n = 0,0 cm,cn = 0,0 for a in lst: if a == m: cm+=1 elif a == n: cn+=1 elif cm == 0: m = a cm = 1 elif cn == 0: n = a cn = 1 else:#两个计数器都要减一 cm-=1 cn-=1 #...
[ "1069583789@qq.com" ]
1069583789@qq.com
ee74fdda5a7f831d5569606cce09176bed506a90
f3b233e5053e28fa95c549017bd75a30456eb50c
/mcl1_input/L60/60-36_wat_20Abox/set_1.py
69c919776a7bd53e0fd516002c14349b8656a86c
[]
no_license
AnguseZhang/Input_TI
ddf2ed40ff1c0aa24eea3275b83d4d405b50b820
50ada0833890be9e261c967d00948f998313cb60
refs/heads/master
2021-05-25T15:02:38.858785
2020-02-18T16:57:04
2020-02-18T16:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
738
py
import os dir = '/mnt/scratch/songlin3/run/mcl1/L60/wat_20Abox/ti_one-step/60_36/' filesdir = dir + 'files/' temp_prodin = filesdir + 'temp_prod_1.in' temp_pbs = filesdir + 'temp_1.pbs' lambd = [ 0.00922, 0.04794, 0.11505, 0.20634, 0.31608, 0.43738, 0.56262, 0.68392, 0.79366, 0.88495, 0.95206, 0.99078] for j in lambd...
[ "songlin3@msu.edu" ]
songlin3@msu.edu
359fb0d94df61ec37a617dd620a2c50191bc432f
f14bf0274762591940a9f0382b6c9b99a42aedca
/WINDOW_openMDAO/src/api.py
0684a81dd22f447d1d87f7e0deb1c424556f962e
[]
no_license
chunyuli/WINDOW_openMDAO
5b610bcdac42fe45a69e2afcae74b92b3f27f092
c9e39da2079d1a0b604fa9f4b9952dc663466871
refs/heads/master
2020-03-20T08:52:19.910162
2018-05-29T11:51:48
2018-05-29T11:51:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,146
py
from AbsWakeModel.wake_linear_solver import WakeModel from AbsWakeModel.AbstractWakeModel import DetermineIfInWake, WakeDeficit from AbsAEP.farmpower_workflow import AEPWorkflow from AbsTurbulence.abstract_wake_TI import AbstractWakeAddedTurbulence, DeficitMatrix, CtMatrix from AbsWakeModel.AbsWakeMerge.abstract_wa...
[ "s.sanchezperezmoreno@tudelft.nl" ]
s.sanchezperezmoreno@tudelft.nl
136cc322199fffd4ac050c4614a69dd646546c5a
1dae87abcaf49f1d995d03c0ce49fbb3b983d74a
/programs/test_uw_field_lock.prg.py
36106b8820eb6a53475dbabb1e58b66c89dc35fc
[]
no_license
BEC-Trento/BEC1-data
651cd8e5f15a7d9848f9921b352e0830c08f27dd
f849086891bc68ecf7447f62962f791496d01858
refs/heads/master
2023-03-10T19:19:54.833567
2023-03-03T22:59:01
2023-03-03T22:59:01
132,161,998
0
0
null
null
null
null
UTF-8
Python
false
false
3,397
py
prg_comment = "" prg_version = "0.7" def program(prg, cmd): prg.add(10000, "Initialize 0 TTL and Synchronize.sub") prg.add(50000, "DarkSpotMOT_19.sub") prg.add(209000000, "Synchronize.sub", enable=False) prg.add(209943111, "MOT lights Off TTL.sub") prg.add(209947301, "Config Field OFF.sub") prg....
[ "carmelo.mordini@unitn.it" ]
carmelo.mordini@unitn.it
e96ab65f305d6d6b08752c3d9cdae3cc7c58b41a
8b4246007428c5136d129d9fe4a754de0d11a12e
/chimp_mirna_CNV_TargetScan.py
c719d6de50e5c47bdfbfccab9bf600935b6a8c21
[]
no_license
rjovelin/CNV_miRNAs_InvertVert
4a1ba798f2fe7d44ecb7ca1d4acb67d0efda2a0e
87494e561cc3052d94f2491d9dac2feaaaf78513
refs/heads/master
2016-09-13T20:18:14.151671
2016-05-16T02:53:39
2016-05-16T02:53:39
58,898,591
0
0
null
null
null
null
UTF-8
Python
false
false
36,231
py
from CNV_miRNAs_TargetScan import * def chimp_UTR_sequence(UTR_file): ''' (file, str) -> dict Return a dictionnary with the UTR sequence of each transcript ''' # open file for reading utr = open(UTR_file, 'r') header = utr.readline() # create a dictionnary to store the urt sequence f...
[ "richard.jovelin@oicr.on.ca" ]
richard.jovelin@oicr.on.ca
64206f65fbc1b5c3f6709de7a7413042d681d67f
3b6713413e079f3f93cbb59ded63c458f52d3dc2
/bananas/__init__.py
6613d0e976d007e91b6d34ab3fb6b6898054cc6c
[ "Apache-2.0" ]
permissive
bccp/bananaplots
4ca2674e1b3be0edfcb2dcfab028b1b17791939c
dbfe107207e07351c7d7125430fde16fb2731cc2
refs/heads/master
2020-12-25T14:23:15.033909
2016-09-29T00:54:41
2016-09-29T00:54:41
66,505,317
1
1
null
2016-09-28T06:52:02
2016-08-24T22:50:22
Python
UTF-8
Python
false
false
101
py
from .bananas import * from numpy.testing import Tester test = Tester().test bench = Tester().bench
[ "rainwoodman@gmail.com" ]
rainwoodman@gmail.com
d82280a303a8a0d1b9724b5d51fd1c640ff72c40
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/notificationhubs/v20160301/namespace.py
143d1314f881caa698c9c14288cdc5064181e7ee
[ "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
10,738
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 from...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
51904ecbfe9cffd3ebd5c76f9e8576698bc9b7cd
fcecddb522cd6b775074ecd950aaddda9010ae57
/Serenity/core/view_generators.py
83e32ebfe5661f107d29a155e62250e9dfc250ea
[]
no_license
Firefly-Automation/Serenity
fa7fbe7800feed60a96a454e6fb520afa4c2030c
e343b31238af27255468a0773598130fd65d9793
refs/heads/master
2021-06-12T03:30:47.139101
2017-01-06T04:26:33
2017-01-06T04:26:33
66,432,533
2
0
null
null
null
null
UTF-8
Python
false
false
435
py
# -*- coding: utf-8 -*- # @Author: zpriddy # @Date: 2016-08-23 22:07:06 # @Last Modified by: zpriddy # @Last Modified time: 2016-08-23 22:20:07 ## build array of all templates minified ## devices can have 'custom_view:true' and then 'custom_html:' as part of the device view ## proccess the data that comes in and ...
[ "me@zpriddy.com" ]
me@zpriddy.com
4fd8f9a4b477f960834b1c2278051375e53aa7f4
23d8a521f1f2c15ec745d8a68f405be5c8ad58ba
/acme/tf/networks/legal_actions.py
93b53ee3888e1df13c347028b542892cd543de54
[ "Apache-2.0" ]
permissive
Idate96/acme
108766d67d1c123f4f90045b3ad459e9f25a9cf1
722c33a3b8c779647314444531cb2282fab9246a
refs/heads/master
2023-04-20T18:54:43.100914
2021-05-22T14:08:43
2021-05-22T14:08:43
368,240,977
0
0
Apache-2.0
2021-05-17T15:48:11
2021-05-17T15:48:10
null
UTF-8
Python
false
false
4,759
py
# python3 # Copyright 2018 DeepMind Technologies Limited. 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 re...
[ "copybara-worker@google.com" ]
copybara-worker@google.com
737970c9428aa9744556defe5a67e81041ca69f5
01c563cf0b063dfaba8b7daec7d247497acfb7ed
/vh-mail/api.py
8aa1e8e9b29f95d9fa3f5e8bd5e9538b0fbf6fe5
[]
no_license
sanyaade-iot/ajenti-v
18f230fba800404370fdcf40324a6d90d87f2a0a
6038a6d568d08953813a1753cda5bf3c7af19fb6
refs/heads/master
2021-01-15T19:59:09.424074
2014-07-10T16:42:47
2014-07-10T16:42:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
13,167
py
import grp import json import os import pwd import shutil import subprocess import ajenti from ajenti.api import * from ajenti.plugins.services.api import ServiceMultiplexor from ajenti.plugins.vh.api import Restartable from ajenti.plugins.vh.processes import SupervisorRestartable from ajenti.util import platform_sele...
[ "john.pankov@gmail.com" ]
john.pankov@gmail.com
6672bc6d3850e044ea1f8fb79c6ff9cba031cfe5
e68a40e90c782edae9d8f89b827038cdc69933c4
/res/scripts/client/gui/scaleform/daapi/view/lobby/boosters/boosterspanelcomponent.py
0caa7bfe82fda7414ba9a2de46bbce35ac7d8dd8
[]
no_license
webiumsk/WOT-0.9.16
2486f8b632206b992232b59d1a50c770c137ad7d
71813222818d33e73e414e66daa743bd7701492e
refs/heads/master
2021-01-10T23:12:33.539240
2016-10-11T21:00:57
2016-10-11T21:00:57
70,634,922
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
5,857
py
# 2016.10.11 22:11:02 Střední Evropa (letní čas) # Embedded file name: scripts/client/gui/Scaleform/daapi/view/lobby/boosters/BoostersPanelComponent.py from gui import game_control from gui.Scaleform.genConsts.TOOLTIPS_CONSTANTS import TOOLTIPS_CONSTANTS from gui.ClientUpdateManager import g_clientUpdateManager from gu...
[ "info@webium.sk" ]
info@webium.sk
0667c0b03b59413ed9e1ceebc3ff08683d9d142b
b72c37e3ccda507b231649cddd5c7845c6c34ba1
/PythonBasic/Day12/HomeWork_birth.py
e78f35a7fd539268e61aa6848d9f0f6fbea30bde
[]
no_license
ljrdemail/AID1810
51c61c255b5c5efc1dc642b46691a614daedd85e
b417bd831bc1550ab953ce7ca23f54e34b8b2692
refs/heads/master
2020-04-24T09:45:14.781612
2019-02-21T11:26:49
2019-02-21T11:26:49
171,866,267
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
import datetime def liveday(): dob = input("请输入你出生年月日,以-分隔:") year = int((dob.split("-")[0])) month = int(dob.split("-")[1]) day = int(dob.split("-")[2]) d1 = datetime.datetime(year, month, day) d2= datetime.datetime.now() w={0:"星期一",1:"星期二",2:"星期三",3:"星期四",4:"星期五",5:"星期六",6:"星期日"} ...
[ "root" ]
root
c98c4a5b216fe8c82e6824648216dbc541cb869f
165305e7d92075018b57f6288b84b4d5129be412
/knit-graph.py
9cae11d27be278f431448c7c8a588c5f698700a0
[]
no_license
kshedstrom/plug-ins
7c6e1358926f1d0cc062dc0d19e21f32d99b202c
65aeb7c8b2c7f7c0a27fbf813863f10e6e2c00c9
refs/heads/master
2022-02-10T12:10:03.156258
2022-02-02T17:54:14
2022-02-02T17:54:14
7,652,530
1
0
null
null
null
null
UTF-8
Python
false
false
2,811
py
#!/usr/bin/env python # # Take an image and turn it into a knitting pattern: expand it by # some (you pick) number and place black lines around each box. # Chunks stolen from Akkana Peck's arclayer script. import math from gimpfu import * from array import array def python_knit_graph(timg, tdrawable, x_scale=14, y...
[ "kshedstrom@alaska.edu" ]
kshedstrom@alaska.edu
5603b4614f0b5b7454891b5011ba3cb49b7f827e
c769dc9a7a4338f2eba6fe44d6de3eab968ff51f
/OA/OA/settings.py
313328eb96393c078887de6b506a7a873aef643b
[]
no_license
simonzhao88/practice
267f4836c3d4d19e8db973f13d561024613bb88c
d29db772793a8d01301bbcb457595d8bb9ea33bc
refs/heads/master
2020-03-17T17:41:26.650235
2018-07-07T09:50:12
2018-07-07T09:50:12
133,798,325
0
0
null
null
null
null
UTF-8
Python
false
false
3,734
py
""" Django settings for OA project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os # Buil...
[ "642252108@qq.com" ]
642252108@qq.com
a9210d6d25b25c52a6e6e17e87b2ec6fa22734db
986fc4298a3d728691951f77470beb5e92505425
/icepack/mesh/stitch.py
a939ec8137ff08d6c2058f78e15ca17faafaba51
[]
no_license
danshapero/icepack-py
4eeee730056248cb1a33112bd07fea02b0e82194
24a13cba05dd5597fbec64f8bd2eb9580cc69fe7
refs/heads/master
2021-07-23T11:50:27.779303
2017-10-31T22:44:35
2017-10-31T22:44:35
105,718,249
0
1
null
null
null
null
UTF-8
Python
false
false
3,654
py
import copy import itertools from numpy import ones, zeros, sqrt from matplotlib.path import * # -------------- def dist(x1, x2): return np.sqrt((x1[0] - x2[0])**2 + (x1[1] - x2[1])**2) # ----------------------------------- class IsolatedSegmentError(Exception): pass # -----------------------------------...
[ "shapero.daniel@gmail.com" ]
shapero.daniel@gmail.com
b49f6e0df50180b6d5413457a3482c2df62ffbe3
52a058db8d7c8ee5ef1b9523a2a32c6276def88f
/backend/the_muse_mentorship_31778/urls.py
d34e3d399f9eb9fec18d693fd595cc57cae86c0f
[]
no_license
crowdbotics-apps/the-muse-mentorship-31778
43f5484661a3ab8a699de758eea27193633d4301
c12ea3282db9509e7e88c7e9ac0f5cff124a0703
refs/heads/master
2023-08-30T13:36:43.363016
2021-10-31T23:08:49
2021-10-31T23:08:49
423,280,070
0
0
null
null
null
null
UTF-8
Python
false
false
2,277
py
"""the_muse_mentorship_31778 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
d577c4d03856c05f0a30f68c85439667e187a747
4c577d9ddf21d8aba5626343f91a4986266f01e2
/eric6/.eric6/eric6plugins/vcsGit/GitFetchDialog.py
6686d150f3e09781568a6197a7e8228c683b3132
[]
no_license
metamarcdw/.dotfiles
362199d415ebd7d09247ee0efbda03243aa22faa
3df0c805225a8d4f2709565d7eda4e07a050c986
refs/heads/master
2020-12-30T15:29:25.769345
2017-12-22T05:44:01
2017-12-22T05:44:01
91,143,917
0
0
null
null
null
null
UTF-8
Python
false
false
6,548
py
# -*- coding: utf-8 -*- # Copyright (c) 2015 - 2017 Detlev Offenbach <detlev@die-offenbachs.de> # """ Module implementing a dialog to enter data for a Fetch operation. """ from __future__ import unicode_literals from PyQt5.QtCore import pyqtSlot from PyQt5.QtWidgets import QDialog, QDialogButtonBox from .Ui_GitFet...
[ "metamarcdw@gmail.com" ]
metamarcdw@gmail.com
536ff8a0db556679da306bd709afddbc31ee7b11
03f9b8bdea312636afb4df3737b55cb0cc4b21ff
/EditDistance.py
20fb3e9c2e621e3789092624f15fa5338bbd61f3
[]
no_license
ellinx/LC-python
f29dd17bbe15407ba0d06ad68386efdc9a343b56
9190d3d178f1733aa226973757ee7e045b7bab00
refs/heads/master
2021-06-01T15:21:24.379811
2020-10-29T04:37:07
2020-10-29T04:37:07
132,704,788
1
1
null
2019-05-15T03:26:11
2018-05-09T05:13:26
Python
UTF-8
Python
false
false
1,405
py
""" Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations permitted on a word: 1. Insert a character 2. Delete a character 3. Replace a character Example 1: Input: word1 = "horse", word2 = "ros" Output: 3 Explanation: horse -> r...
[ "ellin.xll@gmail.com" ]
ellin.xll@gmail.com
c14390c5349a7bb564d59f5828cdc6bbf09d9e06
a29c7e363026111276e94b96d39b1b4ab48dbca8
/sdk/test/test_overdraft_overdraft_fee_charge_cap.py
2424dab7913426542a731b72bb7d31c75654266f
[ "MIT" ]
permissive
matteo-kalogirou/yapily-sdk-python
a56bf6f9b1b308efda38f081f6237ebd8c8f8ad5
f10d2d14383f551eeb59aa893d328ffa5080da22
refs/heads/master
2022-12-16T22:24:18.026765
2020-09-18T13:59:26
2020-09-18T13:59:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,212
py
# coding: utf-8 """ Yapily API To access endpoints that require authentication, use your application key and secret created in the Dashboard (https://dashboard.yapily.com) # noqa: E501 The version of the OpenAPI document: 0.0.242 Generated by: https://openapi-generator.tech """ from __future__ imp...
[ "systems@yapily.com" ]
systems@yapily.com
52a0b781f3cb870d2d36c28681e81c31624301c8
f907f8ce3b8c3b203e5bb9d3be012bea51efd85f
/two_anagrams.py
376bf7604cff49323f1bec9a7788a0c8040f53a7
[]
no_license
KohsukeKubota/Atcoder-practice
3b4b986395551443f957d1818d6f9a0bf6132e90
52554a2649445c2760fc3982e722854fed5b8ab1
refs/heads/master
2020-08-26T15:17:29.344402
2019-10-26T11:14:24
2019-10-26T11:14:24
217,052,829
0
0
null
null
null
null
UTF-8
Python
false
false
115
py
s = input() t = input() s = sorted(s) t = sorted(t, reverse=True) if s < t: print('Yes') else: print('No')
[ "kohsuke@KohsukeKubotas-MacBook-Air.local" ]
kohsuke@KohsukeKubotas-MacBook-Air.local
9aa2e4fd411b594a84a9bace690226a5b19c56aa
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/aws-cli/2015/4/hbase.py
f977cddfdb23f0cfd53315822d2ec3d2283b1b3a
[]
no_license
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
9,284
py
# Copyright 2014 Amazon.com, Inc. or its affiliates. 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. A copy of # the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file acc...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
9e892d45dda82d76e0bb7c174261cd156399a9d1
59934e837a4e425bba4ce9bcb46940a00b68691c
/user_auth/views.py
f240bb27c98f015c23120e1c06e384e664960076
[]
no_license
cjredmond/store_app
309e8956785a7720b0578cf512c33cab7d2d03a9
d285ddfcc2e2427baa1c30fc9504c4bbf0f387f6
refs/heads/master
2021-01-12T07:31:56.664103
2017-01-09T19:42:48
2017-01-09T19:42:48
76,973,135
0
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
from django.shortcuts import render from django.views.generic.edit import CreateView, DeleteView, UpdateView from django.views.generic import TemplateView, ListView, DetailView from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django.urls import reverse, reverse_laz...
[ "connor.redmond@gmail.com" ]
connor.redmond@gmail.com
9f8e6550d80fe0672b5a2dc3e1f8e9427e24ba58
5df8b0f5bda2603cf5437c2bcf1e30b326ea791e
/geektrust/MakeSpace/Tests/TestBufferTime.py
329061397f6a11f3f3cdff0af3e8272ae4a269ab
[]
no_license
RishabhKatiyar/CorePython
4e9133ab3949815290157818b9be8ab943f9b802
d4e80e26b4c439fa269351c674466a2918eaaf77
refs/heads/main
2023-07-19T14:03:38.662270
2021-09-05T09:09:51
2021-09-05T09:09:51
369,292,272
1
0
null
null
null
null
UTF-8
Python
false
false
348
py
import unittest from src.Models.BufferTime import BufferTime class TestQuery(unittest.TestCase): def test_buffer_time(self): bufferTime = BufferTime() bufferTime.StartTime = "12:00" bufferTime.EndTime = "13:00" self.assertEqual(str(bufferTime), "12:00-13:00") if __name__ == '__...
[ "rishabh.katiyar@outlook.com" ]
rishabh.katiyar@outlook.com
0243cb82e0007eaf0d6e9fbaf1c0b266247784ad
09f0a01272042b6de7cb7af6d40f10dd6e10a574
/compounds/script_new/prescription_13.py
bd9f51f91b260b8dbbc4ab23498987b051b8e19b
[]
no_license
jianping-grp/yatcm-1-02
4c010788989562365f78745a619fc66f5ef7554e
d03d599cc45fd757b19e11856bc203ee1c39fdf7
refs/heads/master
2021-09-06T11:39:22.829983
2018-02-06T05:28:54
2018-02-06T05:28:54
115,930,256
0
0
null
null
null
null
UTF-8
Python
false
false
4,148
py
import os import xlrd import logging os.environ.setdefault("DJANGO_SETTINGS_MODULE", 'yatcm.settings') import django django.setup() from compounds.models import * from django.core.exceptions import ObjectDoesNotExist, MultipleObjectsReturned primary_file = '/home/jianping/django_test/yatcm/compounds/data/prescripti...
[ "libaiqing11@163.com" ]
libaiqing11@163.com
d3367cde2f6849fd46b362f07fe9839e088bf261
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/bps_cs22955-0024/sdB_BPS_CS22955-0024_coadd.py
413af22bb38328ee2ff50f70e492e505c5504036
[]
no_license
tboudreaux/SummerSTScICode
73b2e5839b10c0bf733808f4316d34be91c5a3bd
4dd1ffbb09e0a599257d21872f9d62b5420028b0
refs/heads/master
2021-01-20T18:07:44.723496
2016-08-08T16:49:53
2016-08-08T16:49:53
65,221,159
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[305.959417,-25.141333], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_BPS_CS22955-0024/sdB_BPS_CS22955-0024_movie_count.fits", cntcoaddfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCUR...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
a7a762a61b13efb880d4bd6c329f5fe38e10421f
da8730b3977d0b1e59e0b80d88cc871d92cd2700
/nlp_txt/tfidf_test.py
567643af0c55ace0ff786e4a687a64e2730c14bd
[]
no_license
legend1412/PythonDemo
44b62f82a8826b5a50cf0a6506e6082d89d1ab7b
3e6e4624801b9b9c272d0891f5675ec9466b4205
refs/heads/master
2020-12-28T01:27:39.942087
2020-10-12T02:33:29
2020-10-12T02:33:29
238,136,969
0
0
null
null
null
null
UTF-8
Python
false
false
2,252
py
import os import math file_path = '../data/allfiles' # 加载停用词表 stop_set = set() with open('stop_word.txt', 'r', encoding='utf-8') as f: for word in f.readlines(): stop_set.add(word.strip()) doc_words = dict() doc_num = 0 for filename in os.listdir(file_path): # 当前目录下的所有文章的名字 # print(filename) wit...
[ "zhaojianhao_1984@163.com" ]
zhaojianhao_1984@163.com
e4244f1657cfe342166a84a3c031654b728f69f5
91a2ecfaf5dc6c917ec2fda31f56291103f68ceb
/tests/post_process/test_ctc_greedy_decoder.py
bc51da0de6d2dc6ebf4c6a36ba101ef8d5808b7c
[ "BSD-3-Clause" ]
permissive
MyrtleSoftware/myrtlespeech
635d1d16d1bd60fb07a4d30edbf9acb61786c13f
8522048fd37744ffa06827a0cbd202b839a15453
refs/heads/master
2021-07-16T14:55:00.479967
2020-03-20T14:33:15
2020-03-20T14:33:15
192,501,300
12
1
NOASSERTION
2020-03-20T14:33:17
2019-06-18T08:44:33
Python
UTF-8
Python
false
false
5,299
py
from typing import Tuple import hypothesis.strategies as st import pytest import torch from hypothesis import assume from hypothesis import given from myrtlespeech.post_process.ctc_greedy_decoder import CTCGreedyDecoder from tests.data.test_alphabet import random_alphabet # Fixtures and Strategies -----------------...
[ "sam@samgd.com" ]
sam@samgd.com
fe6dd390f3317b44c302772859d4bfffd9a5d58f
f0f4eef5a57807960070a1989799def6deaf30ef
/bclearer_boson_1_2_source/b_code/substages/operations/b_evolve/runners/boson_1_2_add_composite_names_operation_substage_runner.py
eb1b64dfdeff8908e40bf4673a209e0227ec359e
[ "MIT" ]
permissive
boro-alpha/bclearer_boson_1_2
4f8dd72b79e0ccdd759271d79e3cbfa61a949ac6
571b2e1ca6dee93ccc5cb4e30abe2660f40c2ac0
refs/heads/master
2023-08-23T05:02:30.384138
2021-11-04T11:24:35
2021-11-04T11:24:35
424,218,650
1
1
null
null
null
null
UTF-8
Python
false
false
1,547
py
from nf_common_source.code.services.reporting_service.reporters.log_with_datetime import log_message from nf_ea_common_tools_source.b_code.services.general.nf_ea.com.nf_ea_com_universes import NfEaComUniverses from nf_ea_common_tools_source.b_code.services.session.orchestrators.ea_tools_session_managers import \ Ea...
[ "xibertao@borogroup.co.uk" ]
xibertao@borogroup.co.uk
177c6e9343406223b3c079323bd635e5317a4752
bcc199a7e71b97af6fbfd916d5a0e537369c04d9
/leetcode/solved/659_Split_Array_into_Consecutive_Subsequences/solution.py
3a81e0212c1a8d1cd384c14ddac3a641b8af3e72
[]
no_license
sungminoh/algorithms
9c647e82472905a2c4e505c810b622b734d9d20d
1389a009a02e90e8700a7a00e0b7f797c129cdf4
refs/heads/master
2023-05-01T23:12:53.372060
2023-04-24T06:34:12
2023-04-24T06:34:12
87,406,513
0
0
null
null
null
null
UTF-8
Python
false
false
19,661
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2020 sungminoh <smoh2044@gmail.com> # # Distributed under terms of the MIT license. """ You are given an integer array nums that is sorted in non-decreasing order. Determine if it is possible to split nums into one or more subsequences su...
[ "smoh2044@gmail.com" ]
smoh2044@gmail.com
a043804e7b66e1f74b60df789131b4a8007b392f
ceead28beb1ea6cb56a2bb4472bc1d2396b39e6f
/gen_basis_helpers/workflows/unit_tests/utest_surface_energies.py
850a7385e490305b0b680a214039bfa158ae9a4b
[]
no_license
RFogarty1/plato_gen_basis_helpers
9df975d4198bff7bef80316527a8086b6819d8ab
8469a51c1580b923ca35a56811e92c065b424d68
refs/heads/master
2022-06-02T11:01:37.759276
2022-05-11T12:57:40
2022-05-11T12:57:40
192,934,403
3
0
null
null
null
null
UTF-8
Python
false
false
2,025
py
import types import unittest import unittest.mock as mock import gen_basis_helpers.workflows.surface_energies as tCode class TestSurfaceEnergyWorkflow(unittest.TestCase): def setUp(self): self.bulkEnergy = 4 self.bulkNumbAtoms = 1 self.surfEnergy = 6 self.surfNumbAtoms = 2 self.surfaceArea = 3 self.s...
[ "richard.m.fogarty@gmail.com" ]
richard.m.fogarty@gmail.com
4fa4c5f3db02a42dbc8eed96c34b70d36bbb1d69
e532600dd9a7f4ad5cdb62134c4a6c670270b026
/viewer/settings_nersc_dev.py
ebda2349228f803f210d7404cea09c3d963b2ff7
[]
no_license
ziyaointl/decals-web
5a94195528dd11bf9774f4ddf10076116ec80e14
8950ccb28d5ec51c6eda305b51ffbc484c1c8452
refs/heads/master
2020-04-26T17:27:07.555736
2019-07-13T04:17:24
2019-07-13T04:17:24
169,711,896
0
0
null
2019-02-08T09:34:06
2019-02-08T09:34:06
null
UTF-8
Python
false
false
1,068
py
from viewer.settings_common import * #ENABLE_SQL = True DEBUG_LOGGING = True #DEBUG_LOGGING = False USER_QUERY_DIR = '/tmp/viewer-dev-user' #USER_CATALOG_DIR = USER_QUERY_DIR READ_ONLY_BASEDIR = True ROOT_URL = '/viewer-dev' STATIC_URL_PATH = '/viewer-dev/static' STATIC_URL = 'http://%s%s/' % (HOSTNAME, STATIC_UR...
[ "dstndstn@gmail.com" ]
dstndstn@gmail.com
22afc6b9df87ef1eba284da20a807366278c24d4
f4653b4bd7528150a53c8f454658c00d7ea0b836
/cbm/ipycbm/ipy_get/get_settings.py
c56764960ff66d729f1e47f8092cf69abe15c7e0
[ "BSD-3-Clause" ]
permissive
mokasini/cbm
ccb09cb8ab96e6b06b0e13d86ff51124538706f6
33bd9c8a0d107f6cdc3343953ae9f7c9bd9272cd
refs/heads/main
2023-02-24T04:44:07.744715
2021-02-01T12:29:38
2021-02-01T12:29:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,226
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 from ipywidgets import (Text, VBox, HBox, Label, Password...
[ "Konstantinos.ANASTASAKIS@ext.ec.europa.eu" ]
Konstantinos.ANASTASAKIS@ext.ec.europa.eu
1945c8b7fc54ee79f504b75e8e089fb5ab7e8023
6faa21b2d8a7e55e64fe289a21e455d1b4718fbb
/app/alamat_app/urls.py
756fa3973ae1e73aa1a4c1bac10f5218910202b6
[ "MIT" ]
permissive
ganggas95/simdus_app
62eae2e7a1e0e9b2250fbccd795de1f658db814b
0c57e11c712912f61d29ca4b63dfa1fe38bb067c
refs/heads/master
2020-03-27T12:42:48.506769
2018-08-29T10:05:28
2018-08-29T10:05:28
146,563,860
0
1
MIT
2018-08-29T10:05:28
2018-08-29T07:43:05
CSS
UTF-8
Python
false
false
726
py
from .blueprint import ( alamat_bp, api_alamat_bp, api_alamat) from .views import ( AlamatView, AddAlamatView, EditAlamatView) from .api import alamat_ns alamat_bp.add_url_rule( '/admin/alamat', view_func=AlamatView.as_view( 'alamat_view', 'alamat.html' ) ) alamat_b...
[ "subhannizar25@gmail.com" ]
subhannizar25@gmail.com
32e94eed43019733021268596b411e4d13419be2
ebd2b04c9d55691e7208ff8d6816beb7dcae8f77
/fin_app/tests.py
594425d6e1c9efda02cee7397cb6138dd08e28a8
[]
no_license
playmepe/djing2
e35f11fdbef2b4f4bf2ef37d7f3e7b6dc9d5aba0
10379e974d969be94a40317e8121436f03f19ca2
refs/heads/master
2022-12-28T01:28:01.653972
2020-10-12T14:37:23
2020-10-12T14:37:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,121
py
from hashlib import md5 # from django.test.utils import override_settings from django.utils import timezone from django.utils.html import escape from rest_framework.test import APITestCase from customers.models import Customer from fin_app.models import PayAllTimeGateway from profiles.models import UserProfile def ...
[ "nerosketch@gmail.com" ]
nerosketch@gmail.com
d88bae7107099972a776dde4b99a8db99694d21d
4e4352a311dd3b4976e518af2eafdfb79253bced
/adanet/core/tpu_estimator.py
8b0a5e793ab5bf99a2390ffcc906216fef2c0985
[ "LicenseRef-scancode-generic-cla", "Apache-2.0" ]
permissive
caihengyu520/adanet
09a675dda0e966dfb98f219d01193579af7e3534
482fd0af4bfda221fc4449e5c40a796f21712df5
refs/heads/master
2020-07-31T11:14:08.253508
2019-09-23T20:39:00
2019-09-23T20:39:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,138
py
"""An AdaNet estimator implementation which can run on TPU. Copyright 2018 The AdaNet 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 https://www.apache.org/licen...
[ "weill@google.com" ]
weill@google.com
650ab3e0162c461a54a59ba252b1be8069adf69a
f4f2ef334b7ccf704a4fc9e034fb863370d3d63a
/demo/oop/mi/demo4.py
a809a72674572c87f659b4991896a18f4effd402
[]
no_license
srikanthpragada/PYTHON_21_SEP_2020
012f27868dcbbeba9964fbc2f963198e9d3f626f
9e28dfc1d35d710fb4f32b158e0e73861d5fc9ac
refs/heads/master
2023-01-02T18:39:28.554862
2020-10-28T02:24:20
2020-10-28T02:24:20
298,142,893
1
0
null
null
null
null
UTF-8
Python
false
false
218
py
class A: def process(self): print("Process in A") class B(A): pass class C(A): def process(self): print("Process in C") class D(B, C): pass obj = D() obj.process() print(D.mro())
[ "srikanthpragada@gmail.com" ]
srikanthpragada@gmail.com
c23660db52fea446d25017ac197279c37ff7df94
c4267e2e092ac0e3f53e82eef5a0bd5417222525
/base/base_T5.py
b7209bde1bec3d59f9f7cefb2f28f8fe4a4fe002
[]
no_license
chenyang1999/lanqiaocup_marcus
fde22466287e2bea02b7ea4292256b70fed1d33b
6ad13f1a28ca6b650d9545b5148a450d1c9cd154
refs/heads/master
2023-01-07T06:47:11.316530
2020-11-14T08:21:42
2020-11-14T08:21:42
286,075,513
2
0
null
null
null
null
UTF-8
Python
false
false
499
py
''' 问题描述 给定一个年份,判断这一年是不是闰年。 当以下情况之一满足时,这一年是闰年: 1. 年份是4的倍数而不是100的倍数; 2. 年份是400的倍数。 其他的年份都不是闰年。 输入格式 输入包含一个整数y,表示当前的年份。 输出格式 输出一行,如果给定的年份是闰年,则输出yes,否则输出no。 ''' n=int(input()) if (n%4==0)and(n%100!=0) or (n%400==0): print('yes') else: print('no')
[ "34475230+chenyang1999@users.noreply.github.com" ]
34475230+chenyang1999@users.noreply.github.com
3a4f7cd5e67246cbd53f57079413493158901450
a4deea660ea0616f3b5ee0b8bded03373c5bbfa2
/concrete_instances/register-variants/vpsrlw_ymm_ymm_xmm/instructions/vpsrlw_ymm_ymm_xmm/vpsrlw_ymm_ymm_xmm.gen.vex.py
ac220d900c443bc37197e364bd268625ee83393d
[]
no_license
Vsevolod-Livinskij/x86-64-instruction-summary
4a43472e26f0e4ec130be9a82f7e3f3c1361ccfd
c276edab1b19e3929efb3ebe7514489f66087764
refs/heads/master
2022-02-02T18:11:07.818345
2019-01-25T17:19:21
2019-01-25T17:19:21
null
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
import angr proj = angr.Project('./instructions/vpsrlw_ymm_ymm_xmm/vpsrlw_ymm_ymm_xmm.o') print proj.arch print proj.entry print proj.filename irsb = proj.factory.block(proj.entry).vex irsb.pp()
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
3666a7c9f29851dc656050c96150bae69ead44e4
82f998aec53e7bc49eb5aad4fdb18cbe72976b89
/transformers/modeling_gpt2.py
921e463a9e3ec440cd4035b66a5184959a65e501
[]
no_license
MatNLP/SMedBERT
6ab8d2749a8a26005eef36dc347f779c9e6a217b
8dd549f902ca59ad2b84bf3b951213565fde4dc0
refs/heads/main
2023-09-02T03:22:13.298661
2021-11-17T05:44:50
2021-11-17T05:44:50
372,204,217
75
13
null
null
null
null
UTF-8
Python
false
false
35,792
py
# coding=utf-8 # Copyright 2018 The OpenAI Team Authors and HuggingFace Inc. team. # Copyright (c) 2018, NVIDIA CORPORATION. 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...
[ "czr@daddy.com" ]
czr@daddy.com
5e67f69575c264e6b143cf012b66a30a33056bcd
88ea7bf2bbc8ffba551e881df553ae5ceac70dd6
/deblock/codes/data_scripts/encode_xiph_with_hm16.py
a01bd19f49c1de088810b964e2a7af18fac890c0
[ "Apache-2.0" ]
permissive
zhouhuanxiang/repo-zhx
2d1135bb2f925e051e1b0bcfc2ed53fb34ea51c5
76b577eea13130c60bf7bff8c486f51766128661
refs/heads/main
2023-06-10T02:56:17.978649
2021-06-29T02:35:57
2021-06-29T02:35:57
381,213,557
0
0
null
null
null
null
UTF-8
Python
false
false
8,676
py
# [1]How to read metainfo from y4m? # https://github.com/vigata/y4mtools # [2]How to convert y4m to yuv? # https://stackoverflow.com/a/16859790/8335078 # [3]How to use HM & HEVC? # https://blog.csdn.net/lin453701006/article/details/52775820 # [4]Xiph website # https://media.xiph.org/video/derf/ import os import re ...
[ "zhouhx.cn@gmail.com" ]
zhouhx.cn@gmail.com
574d9f240c46961ab64781b6206ab27569c919d4
5e84763c16bd6e6ef06cf7a129bb4bd29dd61ec5
/blimgui/dist/sdl2/test/version_test.py
4c4f54ca0aba4dd64e485bd5c91f9973da5dff93
[ "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
2,505
py
import sys import ctypes import pytest import sdl2 from sdl2 import dll, __version__, version_info def test__version_tuple(): # Note that this is not public API. assert dll._version_tuple_to_int((2, 0, 18)) == 2018 assert dll._version_tuple_to_int((2, 24, 1)) == 2241 # Micro version stops at 9 in this...
[ "justin.sostmann@googlemail.com" ]
justin.sostmann@googlemail.com
1064dd2a532c28681368959e15db5a6a1789ba6d
152f8c72bcb315bc0cf40ec389a97898cbc057c3
/_sadm/listen/errors.py
bb22caffc4806e8930841d85c15e5e243312fe81
[ "BSD-3-Clause" ]
permissive
jrmsdev/pysadm
0a205cf7b4bf647461d480403051b5f88f82090b
0d6b3f0c8d870d83ab499c8d9487ec8e3a89fc37
refs/heads/master
2022-06-11T07:33:53.847565
2019-11-13T04:25:00
2019-11-13T04:25:00
186,210,706
1
0
BSD-3-Clause
2022-06-03T22:45:36
2019-05-12T04:19:14
Python
UTF-8
Python
false
false
1,470
py
# Copyright (c) Jeremías Casteglione <jrmsdev@gmail.com> # See LICENSE file. from bottle import response, HTTPError, request, HTTP_CODES from _sadm import log __all__ = ['init', 'error'] def _handler(code, error): log.debug("handler %d" % code) log.debug("%d - %s" % (error.status_code, error.status_line)) argsLe...
[ "jrmsdev@gmail.com" ]
jrmsdev@gmail.com
d55baa8c7931039f27574f922f012fbfad8715c7
ee10559195ec6e8e8c514ace5e131598a9ae29ae
/algo/algo_02/특별한정렬.py
85e3aae8e8c813cbafcb69669c7665333bd59b5d
[]
no_license
jun0811/TIL
12e8f0ab0506ed6ba81e3c0b6f18c4d5743324d1
2bc6da0214ffad7989270b60d682d5060a37531f
refs/heads/master
2023-04-03T09:56:30.434378
2020-11-12T08:55:32
2020-11-12T08:55:32
282,910,456
0
0
null
null
null
null
UTF-8
Python
false
false
798
py
def select_max(arr, k): for i in range(k): max_n = i for j in range(i+1, len(arr)): if arr[max_n] < arr[j]: max_n = j arr[i], arr[max_n] = arr[max_n], arr[i] return str(arr[k-1]) def select_min(arr, k): for i in range(k): min_n = i for j i...
[ "nate199458@gmail.com" ]
nate199458@gmail.com
5e88ad802cd4191e107338ee1973dcab8852c683
5f22ddbd3eeb99709e43e7b9a7958c9987c7efa4
/training/04_sorting/closest_numbers.py
a8911c2fa9d77f3da3ce44d5dceeaa0729b6d78a
[]
no_license
salvador-dali/algorithms_general
04950bd823fc354adc58a4f23b7d2f3d39664798
aeee3356e2488c6fab08741b1ac26e8bd5e4ac0d
refs/heads/master
2020-12-14T06:24:10.466601
2016-07-17T06:00:17
2016-07-17T06:00:17
47,397,457
0
0
null
null
null
null
UTF-8
Python
false
false
688
py
# https://www.hackerrank.com/challenges/closest-numbers/ # Given a list of unsorted numbers, can you find the numbers that have the smallest absolute # difference between them? If there are multiple pairs, find them all. def closestNumbers(arr): arr.sort() smallestList, smallestDiff = [], 10**10 for i in r...
[ "dmytro@knowlabs.com" ]
dmytro@knowlabs.com
7dda270cb89324484f1f2395537ee120b96934c0
63efeff58299f3ca66c7be0aa80d636ade379ebf
/March/firstNotRepeatingCharacters.py
7d6c8eeff907be76a685eb78cdf248738008b223
[]
no_license
gosch/Katas-in-python
0eb6bafe2d6d42dac64c644c2fd48f90bdcef22b
f89ee2accdde75222fa1e4e0ca8b4f8e27b7b760
refs/heads/master
2021-07-24T23:50:26.268217
2020-04-14T23:53:15
2020-04-14T23:53:15
137,545,678
1
0
null
null
null
null
UTF-8
Python
false
false
240
py
def firstNotRepeatingCharacter(s): v = [0] * 26 for i in s: v[ord(i) - ord('a')] += 1 for i in s: if v[ord(i) - ord['a']] == 1: return i return '_' print(firstNotRepeatingCharacter("abacabad"))
[ "francisco.gosch@ge.com" ]
francisco.gosch@ge.com
544f39d0e4849b3724752b33837d4ade1f75bb68
b5ce6908490cfb8e6a1e1cbe4745d675122ddce0
/questions/compare-version-numbers/Solution.py
c09a63ebef803affca38aee90843be66dd2e765e
[ "MIT" ]
permissive
franklingu/leetcode-solutions
8895910f13208e1d8e604100d84c2dd35684cde4
7ad7e5c1c040510b7b7bd225ed4297054464dbc6
refs/heads/master
2023-01-09T01:34:08.097518
2023-01-02T02:05:35
2023-01-02T02:05:35
43,345,677
155
66
MIT
2020-10-02T03:41:36
2015-09-29T04:54:38
Python
UTF-8
Python
false
false
2,144
py
""" Compare two version numbers version1 and version2. If version1 > version2 return 1; if version1 < version2 return -1;otherwise return 0. You may assume that the version strings are non-empty and contain only digits and the . character. The . character does not represent a decimal point and is used to separate num...
[ "franklingujunchao@gmail.com" ]
franklingujunchao@gmail.com
b883ed842f7690fde699ff443ca676adc01a44b0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_vinegary.py
653de88336afb19a4ab2a15bab7561617533e496
[ "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
453
py
#calss header class _VINEGARY(): def __init__(self,): self.name = "VINEGARY" self.definitions = [u'tasting or smelling like vinegar: ', u'angry and unpleasant, or giving a lot of criticism: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'adjectives' ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
aeff02783c27d7d8d94f42c54b1ddcec5836af70
7619aed8a311e2832634379762c373886f4354fb
/trace_floodlight_firewall-MeshTopology4-steps200/replay_config.py
87195057cf5fe11f0768a6301d89358f649e3825
[]
no_license
jmiserez/sdnracer-traces
b60f8588277c4dc2dad9fe270c05418c47d229b3
8991eee19103c8ebffd6ffe15d88dd8c25e1aad5
refs/heads/master
2021-01-21T18:21:32.040221
2015-12-15T14:34:46
2015-12-15T14:34:46
39,391,225
2
1
null
null
null
null
UTF-8
Python
false
false
1,391
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow.replayer import Replayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cm...
[ "jeremie@miserez.org" ]
jeremie@miserez.org
549cc4a66e1b69d45d897dcd245f0cc77ec288e0
20b4be7df5efeb8019356659c5d054f29f450aa1
/GUI/overview_window.py
bb05a82a2d5d38e0492b66b6c1b48e14bfd07791
[ "Apache-2.0" ]
permissive
kumars99/TradzQAI
75c4138e30796573d67a5f08d9674c1488feb8e4
1551321642b6749d9cf26caf2e822051a105b1a5
refs/heads/master
2020-03-29T20:14:45.562143
2018-09-25T16:07:21
2018-09-25T16:07:21
150,302,554
1
0
null
2018-09-25T17:17:54
2018-09-25T17:17:54
null
UTF-8
Python
false
false
10,769
py
from tools import * import time from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * import pandas as pd import numpy as np class OverviewWindow(QWidget): def __init__(self, root, env): super(QWidget, self).__init__(root) self.ordr = pd.DataFrame(columns=['Orders'...
[ "awakeproduction@hotmail.fr" ]
awakeproduction@hotmail.fr
e8f2ee54b4593c5f2cba14c51572ac76ab1bd325
8d2e5b5ea408579faa699c09bdbea39e864cdee1
/ufora/networking/SocketStringChannel.py
7dd8db8de7d30be32e2bfbb205bf76b4a306ae67
[ "dtoa", "MIT", "BSD-3-Clause", "BSL-1.0", "Apache-2.0", "LicenseRef-scancode-public-domain", "CC0-1.0" ]
permissive
iantuioti/ufora
2218ef4c7e33c171268ce11458e9335be7421943
04db96ab049b8499d6d6526445f4f9857f1b6c7e
refs/heads/master
2021-01-17T17:08:39.228987
2017-01-30T16:00:45
2017-01-30T16:00:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,505
py
# Copyright 2015 Ufora Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
[ "braxton.mckee@gmail.com" ]
braxton.mckee@gmail.com
9e3346c416adf380dc6e422d8318352326c33b14
6deafbf6257a5c30f084c3678712235c2c31a686
/Toolz/sqlmap/plugins/dbms/sybase/fingerprint.py
c88b22d045d9152ffd54bb1a076a59d3a2daa804
[ "Unlicense", "LicenseRef-scancode-generic-cla", "GPL-1.0-or-later", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-proprietary-license", "GPL-2.0-only", "LicenseRef-scancode-commercial-license", "LicenseRef-scancode-other-permissive" ]
permissive
thezakman/CTF-Heaven
53fcb4a72afa821ad05d8cc3b309fb388f958163
4b52a2178922f1502ab00fa8fc156d35e1dc653f
refs/heads/master
2023-04-05T18:20:54.680378
2023-03-21T13:47:45
2023-03-21T13:47:45
167,290,879
182
24
Unlicense
2022-11-29T21:41:30
2019-01-24T02:44:24
Python
UTF-8
Python
false
false
3,355
py
#!/usr/bin/env python """ Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/) See the file 'LICENSE' for copying permission """ from lib.core.common import Backend from lib.core.common import Format from lib.core.common import unArrayizeValue from lib.core.data import conf from lib.core.data import kb from...
[ "thezakman@ctf-br.org" ]
thezakman@ctf-br.org
f8bd0380e72c08810391f7b6c48e94849efcf7a1
e06700779972be87d537d1fee69d1808317c4c65
/posts/views.py
506535f85514465bdc3a83139bd13b42184ff508
[]
no_license
ajy720/django_Study
5d73d14974ff8c538871dd0b5782d431baf6bdce
a7b7e7ad12239b9b296f8055c6d417e6835938f3
refs/heads/master
2022-06-05T13:21:01.479148
2020-05-04T05:37:17
2020-05-04T05:37:17
229,542,714
0
0
null
null
null
null
UTF-8
Python
false
false
2,961
py
from django.shortcuts import render, redirect, get_object_or_404 from django.views.decorators.http import require_POST from .models import Post from .forms import PostForm import pdb def main(request): context = { "posts": Post.objects.all(), # 정렬 방법 1. models.py에서 해주는 방법 # "posts": Post.objects...
[ "ajy720@gmail.com" ]
ajy720@gmail.com
f3c32a200cb11c07ce6f4e5211b35f50455899b3
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/AtCoder/abc046/B/4929082.py
2f568f1b17a4e6afd368442ed6e63e3f3029f9e5
[]
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
78
py
N, K =map(int, open(0).read().split()) a = K * ((K - 1) ** (N - 1)) print(a)
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
52a07db43066c4044ac51b50f69717553d481755
315788ed9c3727acca394ad107b0a55285a7ddc4
/listings/v4_tupel5.py
67b4df36803ea7d2ff2283643e5057677979b704
[]
no_license
n04hk/Python_Zusammenfassung
b118e967d5d5547ad3eb88f9570cb7c9de45d443
923fadb28ab4609450e532f08de41dc4bf4913d1
refs/heads/master
2020-04-24T20:28:43.656148
2019-04-28T13:52:31
2019-04-28T13:52:31
172,245,211
1
0
null
null
null
null
UTF-8
Python
false
false
90
py
vorname, nachname = t print(vorname) # Ausgabe: Peter print(nachname) # Ausgabe: Mueller
[ "37226768+n04hk@users.noreply.github.com" ]
37226768+n04hk@users.noreply.github.com