blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
e6459bee9d2e891da08c7850fcd9eb2629fbf12c
0905b794ccd3f3e4af9819a3c77505ba43067556
/reporter/uhl_reports/lenten/data_quality/redcap.py
c45938be0cdcadb138799cfb2a26b02e2f383995
[ "MIT" ]
permissive
LCBRU/reporter
57807fd358eee46d37c529e08baa1a76164588f8
8cb0ae403346e375a5e99d1d4df375cf2d5f3b81
refs/heads/master
2021-09-27T23:22:39.806232
2021-09-27T11:34:10
2021-09-27T11:34:10
88,853,864
0
0
null
null
null
null
UTF-8
Python
false
false
1,425
py
#!/usr/bin/env python3 from reporter.connections import RedcapInstance from reporter.application_abstract_reports.redcap.percentage_complete import ( RedcapPercentageCompleteReport, ) from reporter.application_abstract_reports.redcap.withdrawn_or_excluded_with_data import ( RedcapWithdrawnOrExcludedWith...
[ "rabramley@gmail.com" ]
rabramley@gmail.com
64429c608293d0377a94b8e6dbd8d5d331e7697f
08615c64a62fc364a802bb92314cf49080ddbcee
/AuthDemo/AuthDemo/wsgi.py
0242575bfbf148c81be31a540de5b6781323ff4a
[]
no_license
xiangys0134/python_study
afc4591fca1db6ebddf83f0604e35ed2ef614728
6ec627af7923b9fd94d244c561297ccbff90c1e9
refs/heads/master
2023-02-24T01:24:45.734510
2022-10-29T02:11:20
2022-10-29T02:11:20
143,358,792
2
0
null
2023-02-08T03:07:26
2018-08-03T00:43:46
Python
UTF-8
Python
false
false
393
py
""" WSGI config for AuthDemo project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETT...
[ "ops@xuncetech.com" ]
ops@xuncetech.com
bf247cf69a66b8ff4454138a34af99d0b08b99e6
f82e67dd5f496d9e6d42b4fad4fb92b6bfb7bf3e
/scripts/client/gui/scaleform/daapi/view/dialogs/systemmessagedialog.py
064246170a75ceabb84e841361acd59298472adb
[]
no_license
webiumsk/WOT0.10.0
4e4413ed4e7b00e22fb85d25fdae9400cbb4e76b
a84f536c73f86d9e8fab559e97f88f99f2ad7e95
refs/heads/master
2021-01-09T21:55:00.662437
2015-10-23T20:46:45
2015-10-23T20:46:45
44,835,654
1
0
null
null
null
null
UTF-8
Python
false
false
991
py
# Embedded file name: scripts/client/gui/Scaleform/daapi/view/dialogs/SystemMessageDialog.py from gui.Scaleform.daapi.view.meta.SystemMessageDialogMeta import SystemMessageDialogMeta class SystemMessageDialog(SystemMessageDialogMeta): def __init__(self, meta, handler): super(SystemMessageDialog, self).__i...
[ "info@webium.sk" ]
info@webium.sk
defcda15eaf1c00f1035720961bce208482c6d40
9372026aec32fa10896225813986346e472f7a7c
/pygame/class51/Dokdo.py
0c63cee12cccf37bd475e4b304622f68bc6adf5f
[]
no_license
mjsong0712/learn_python
5809df5b0366b37836633f5fa5e2d96a9cb99798
1cc31ca750e76b436596e3a4f6b8f39d7b873624
refs/heads/master
2022-05-17T00:54:17.975679
2022-05-01T08:07:33
2022-05-01T08:07:33
235,795,862
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
import pygame import sys SCREEN_WIDTH = 2560 SCREEN_HEIGHT = 1440 white = (255, 255, 255) black = (0, 0, 0) pygame.init() pygame.display.set_caption("Dokdo Defense") #screen = pygame.display.set_mode((2560, 1440), pygame.FULLSCREEN) screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT)) def startScre...
[ "mjsong070712@gmail.com" ]
mjsong070712@gmail.com
5c1e63c1b8a880d64aa1f8c6cbf60d0447fcd106
e0ede722874d222a789411070f76b50026bbe3d8
/practice/solution/0412_fizz_buzz.py
26105eb5a028bef229555eeec690aee2097470a2
[]
no_license
kesarb/leetcode-summary-python
cd67456cb57bdff7ee227dab3930aaf9c2a6ad00
dc45210cb2cc50bfefd8c21c865e6ee2163a022a
refs/heads/master
2023-05-26T06:07:25.943854
2021-06-06T20:02:13
2021-06-06T20:02:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
576
py
class Solution(object): def fizzBuzz(self, n): """ :type n: int :rtype: List[str] """ res = [] for i in range(1, n + 1): if not i % 3 and not i % 5: res.append('FizzBuzz') continue ...
[ "weikunhan@g.ucla.edu" ]
weikunhan@g.ucla.edu
a4716d3670a1df6c98afc4c1f78fd43d91364b30
80502d898ad01a6043add30def0e99b853b49bb8
/shop/admin.py
33c0ed22a2bc0afdb20b44f5b310fb90f90212c8
[]
no_license
sadirahman/e-comarce-online-shop
ea1a01473ea8ba54573e7d6d19129aa223270a21
e2146e61cce44535e05deb24e609116dd690dec0
refs/heads/master
2020-04-20T21:48:39.081071
2019-02-04T19:35:53
2019-02-04T19:35:53
169,119,941
0
0
null
null
null
null
UTF-8
Python
false
false
613
py
from django.contrib import admin from .models import Category,Product # Register your models here. class CategoryAdmin(admin.ModelAdmin): list_display = ['name', 'slug'] prepopulated_fields = {'slug': ('name',)} class ProductAdmin(admin.ModelAdmin): list_display = ['name', 'slug', 'category', 'price', 'st...
[ "42184120+sadirahman@users.noreply.github.com" ]
42184120+sadirahman@users.noreply.github.com
0cf65ac8cdb0ab41d431b699f505a24259348f33
2995ab9f4d8e4292763f215709bd3da266c812d4
/proyecto_ibis/ibis/portal/models.py
0e51ce44dc24ec8b17554d791b66ff494f21cf8d
[]
no_license
mrinxx/Ibis
a45c84184c03c5983cfb67ba303235162f22abfb
4435fad66bf8082eb9a3b41b0b2d415607cd207a
refs/heads/main
2023-06-01T19:40:16.092648
2021-06-14T20:48:10
2021-06-14T20:48:10
376,138,283
0
0
null
null
null
null
UTF-8
Python
false
false
2,624
py
from django.db import models from django.db.models.constraints import UniqueConstraint from django.core.exceptions import ValidationError from datetime import date from users.models import Cicle # Create your models here. #Modelos que se van a migrar a la base de datos y que sirven para formae los elementos de la web ...
[ "mrinxx5@gmail.com" ]
mrinxx5@gmail.com
ea53046f3fac847f0398e3a783f17bf0a3c454ac
49c4d5ddda86f05c15587c13cda11f9a40e4c4f1
/yggdrasil/examples/tests/test_formatted_io9.py
9ed59f8a2e93244a0cf30c9acf07705baa1c548c
[ "BSD-3-Clause" ]
permissive
ritviksahajpal/yggdrasil
816c314db9fa48d5e8effbe498c014c7efd063ec
777549413719918ba208d73018da4df678a1754e
refs/heads/master
2020-05-17T12:58:44.339879
2019-04-24T21:21:56
2019-04-24T21:21:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
import os from yggdrasil.examples.tests import TestExample class TestExampleFIO9(TestExample): r"""Test the Formatted I/O lesson 9 example.""" example_name = 'formatted_io9' @property def input_files(self): r"""Input file.""" return [os.path.join(self.yamldir, 'Input', 'input.txt')] ...
[ "langmm.astro@gmail.com" ]
langmm.astro@gmail.com
e862fa70f7cc1f43f2f29a5c978aa33e06a1d5d6
29eacf3b29753d65d8ec0ab4a60ea1f7ddecbd68
/setup.py
94d96ef1f119f85d0d5af99f2492c039438445db
[ "MIT" ]
permissive
lightly-ai/lightly
5b655fe283b7cc2ddf1d7f5bd098603fc1cce627
5650ee8d4057139acf8aa10c884d5d5cdc2ccb17
refs/heads/master
2023-08-17T11:08:00.135920
2023-08-16T12:43:02
2023-08-16T12:43:02
303,705,119
2,473
229
MIT
2023-09-14T14:47:16
2020-10-13T13:02:56
Python
UTF-8
Python
false
false
4,985
py
import os import sys import setuptools try: import builtins except ImportError: import __builtin__ as builtins PATH_ROOT = PATH_ROOT = os.path.dirname(__file__) builtins.__LIGHTLY_SETUP__ = True import lightly def load_description(path_dir=PATH_ROOT, filename="DOCS.md"): """Load long description from ...
[ "noreply@github.com" ]
lightly-ai.noreply@github.com
308747fceafd6a00ad1ac91e400c9ebee602e95c
13774b1a03473d9a7061ea01a5045f93f901b08d
/myproject/settings.py
62faf0b532ea14aad8715c08dd939d45e19b5258
[]
no_license
adiram17/django-simple-signup
eebdb81165289dac4cb824eba3cfd0ea46ed9e73
7f71c44dabb80ac35673ce32cc3ea06df594d21e
refs/heads/master
2022-11-20T09:30:27.577393
2020-07-25T15:52:28
2020-07-25T15:52:28
282,475,552
0
0
null
null
null
null
UTF-8
Python
false
false
3,215
py
""" Django settings for myproject project. Generated by 'django-admin startproject' using Django 3.0.8. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os ...
[ "adi.ramadhan@sigma.co.id" ]
adi.ramadhan@sigma.co.id
a2b83590bed0d255ae0533729ebdcba5e226bb37
f6b8532182ccad913f63cd8babc67bb8a57d5ac7
/test/test_dbref.py
f658dbd6dc4012e97fde4d57c20bae167c3a11cb
[ "Apache-2.0" ]
permissive
mikejs/mongo-python-driver
c08a44a3616ead4de47a8fa49e47e9549042aa2d
5c357865fbc25ec99265fdd49ee04545caabb986
refs/heads/master
2021-01-18T08:50:11.531684
2009-08-19T23:07:38
2009-08-19T23:07:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,445
py
# Copyright 2009 10gen, 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 in writing, soft...
[ "mike@10gen.com" ]
mike@10gen.com
e57e7d1e41f91d390fc6009b0151fb57eda330f5
4ef688b93866285bcc27e36add76dc8d4a968387
/moto/servicequotas/__init__.py
d8e8601eff43bb74613024d11aa51f0e1cc3367f
[ "Apache-2.0" ]
permissive
localstack/moto
cec77352df216cac99d5e0a82d7ada933950a0e6
b0b2947e98e05d913d7ee2a0379c1bec73f7d0ff
refs/heads/localstack
2023-09-01T05:18:16.680470
2023-07-10T09:00:26
2023-08-07T14:10:06
118,838,444
22
42
Apache-2.0
2023-09-07T02:07:17
2018-01-25T00:10:03
Python
UTF-8
Python
false
false
219
py
"""servicequotas module initialization; sets value for base decorator.""" from .models import servicequotas_backends from ..core.models import base_decorator mock_servicequotas = base_decorator(servicequotas_backends)
[ "info@bertblommers.nl" ]
info@bertblommers.nl
21ae708a7a4a0fcba96568d51deb0386e8b57608
58eac1826eb44833ffc5a4c61ae017883b202334
/my_cookbook/skill/main.py
a4513dc5f798434e87c43e29f84c7060515b1e12
[]
no_license
PeterMitrano/my_cookbook
dd8b91170cd101d453c942972a87b2d85dc163b4
46d47e863d10947b3052fc59351da5d83a8dba36
refs/heads/master
2021-01-19T06:36:26.718989
2016-10-17T03:35:17
2016-10-17T03:35:17
61,961,054
0
0
null
null
null
null
UTF-8
Python
false
false
4,092
py
import copy import json import logging import os from my_cookbook import stage from my_cookbook.skill import intent_handler from my_cookbook.util import responder from my_cookbook.util import core from my_cookbook.util import dbhelper import my_cookbook.skill.handlers as handlers import pkgutil class Skill: def...
[ "mitranopeter@gmail.com" ]
mitranopeter@gmail.com
b45f60440404180a0a7bd6b2360db7563ad17d57
6946c6ff6fa229e5b968928b34620fe85192729b
/val/evaluate_atr.py
98169caa00056c9cb0bdb0597d90690d67ec181f
[]
no_license
wovai/Hierarchical-Human-Parsing
8a98236930b239fb412033b67c2614376e42769a
58737dbb7763f5a7baafd4801c5a287facf536cd
refs/heads/master
2022-12-18T12:53:10.928088
2020-09-19T15:26:17
2020-09-19T15:26:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,024
py
import argparse import os import cv2 import matplotlib.pyplot as plt import numpy as np import torch import torch.nn as nn from torch.autograd import Variable from torch.utils import data from dataset.data_atr import ATRTestGenerator as TestGenerator from network.baseline import get_model def get_arguments(): "...
[ "908865817@qq.com" ]
908865817@qq.com
2e37583a1831659a3dc55f96a8b9ced27ebfee96
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PySide2/QtNetwork/QNetworkRequest.py
ccb10fdfe22346491df2ee7774c525d73ba453d0
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
6,151
py
# encoding: utf-8 # module PySide2.QtNetwork # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PySide2\QtNetwork.pyd # by generator 1.146 # no doc # imports import PySide2.QtCore as __PySide2_QtCore import Shiboken as __Shiboken class QNetworkRequest(__Shiboken.Object): # no doc ...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
e619cceed7ad73fb07942df520efdbcc1f04a953
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2570/60618/303481.py
0337b9b984df63071c855f8763aef609192d23b7
[]
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
531
py
from bisect import bisect_left n=int(input()) arr=[[0]*2]*n for i in range(0,n): arr[i]=[int(k) for k in input().split(",")] # sort increasing in first dimension and decreasing on second arr.sort(key=lambda x: (x[0], -x[1])) def lis(nums): dp = [] for i in range(len(nums)): idx = bisect_left(dp, ...
[ "1069583789@qq.com" ]
1069583789@qq.com
0a7b49b4e997fd25af6ea472f4e98a232abd3f33
597c3a6200867b45b45b7f33ee020bfa91aede5d
/Week-1024/879.py
02d46ee3996da11cbfb581d23007f55e65f568e6
[]
no_license
Bieneath/LeetCode_training
997251387f9faf7c1301cbc9900d3fbfcc7a7a37
822747436c3499c802b90fab2577577309e2f5b7
refs/heads/master
2023-05-09T21:30:36.409743
2021-06-15T15:22:34
2021-06-15T15:22:34
377,205,044
0
0
null
null
null
null
UTF-8
Python
false
false
920
py
# 二维DP算法 https://leetcode.com/problems/profitable-schemes/discuss/154617/C%2B%2BJavaPython-DP # 这题基本思路不难,类似搭桥问题,计划方案“2人3收益”相当于桥梁,dp[i+3][j+2]的方案数能继承自dp[i][j]通过此方案。但是这题细节方面比较难想。比如这里为什么要反向遍历?原因是当前dp[i][j]需要由dp[i-?][j-?]计算获得,同时这里有个时序性,新的方案要在之前方案实施结果之上计算得出。 class Solution: def profitableSchemes(self, n: int, target: in...
[ "wulijieru@gmail.com" ]
wulijieru@gmail.com
7908104ec0c51de2f7300174a01e4037848a0656
9430ebd88984bf5b5fdbca90988d03e45c5fb78f
/apps/app/admin.py
e4aa5b8eeb8b88ef17387bb43f237d144b59330b
[]
no_license
osw4l/liveset-api
6beb05e7f1ce52fe5ef1e6dc0615f6a0a9312e83
a72f0b86f1f452b577c10f195ecb6d28c2ee5c07
refs/heads/master
2022-12-11T20:48:54.295538
2019-09-16T14:01:00
2019-09-16T14:01:00
207,845,311
1
0
null
2022-07-15T20:31:03
2019-09-11T15:26:20
Python
UTF-8
Python
false
false
485
py
from django.contrib import admin from . import models # Register your models here. admin.site.site_header = 'LiveSet Admin' admin.site.site_title = 'LiveSet Admin' admin.site.index_title = 'LiveSet Admin' COMMON_LIST_DISPLAY = ['id', 'name', 'order', 'file', 'active'] @admin.register(models.Song) class SongAdmin(a...
[ "ioswxd@gmail.com" ]
ioswxd@gmail.com
d04c6ba42829c8b9e5a5013b0e250ab5033003eb
e32bb97b6b18dfd48760ed28553a564055878d48
/source_py3/python_toolbox/nifty_collections/frozen_counter.py
fd7ef390df0b1a0045e8ed9d52e4159678f1f422
[ "MIT" ]
permissive
rfdiazpr/python_toolbox
26cb37dd42342c478931699b00d9061aedcd924a
430dd842ed48bccdb3a3166e91f76bd2aae75a88
refs/heads/master
2020-12-31T04:15:53.977935
2014-04-30T23:54:58
2014-04-30T23:54:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,032
py
# Copyright 2009-2014 Ram Rachum., # This program is distributed under the MIT license. import operator import heapq import itertools import collections from .frozen_dict import FrozenDict try: # Load C helper function if available from _collections import _count_elements excep...
[ "ram@rachum.com" ]
ram@rachum.com
249f9e2f69877fe4448d722e21e8c98bdfa37b13
b9ad209a76cbe0d2abf8831b9ac645e6d71819a0
/pharos/model/laser/_skeleton.py
1c1d5ecf6833a55fde8a36f26d341b9b8ae36e68
[ "MIT" ]
permissive
uetke/UUPharosController
75327213b487eee675c6a597616825e29357fac7
1663dcb5acab78fe65eab9eee7948d1257dec1f0
refs/heads/master
2022-12-09T22:09:35.715086
2019-11-08T08:53:24
2019-11-08T08:53:24
125,031,611
0
0
NOASSERTION
2022-12-08T00:39:50
2018-03-13T10:11:02
Python
UTF-8
Python
false
false
1,199
py
""" Pharos.Model.laser._skeleton.py ================================== .. note:: **IMPORTANT** Whatever new function is implemented in a specific model, it should be first declared in the laserBase class. In this way the other models will have access to the method and the program will keep running...
[ "aquiles@aquicarattino.com" ]
aquiles@aquicarattino.com
51c9b07ba3496bc09cd69c35dafcc738492c8585
387587c753e76d98a6a0401327766c45561d5109
/ros_catkin_ws/build_isolated/catkin/catkin_generated/generate_cached_setup.py
50eaf805d6a24edc1d0be26eba3b7c3229fbea9a
[ "MIT" ]
permissive
letrend/neopixel_fpga
7a4819a566fab02bd602c3338b8aaa0ddf4bee85
d9247417a9d311eceebad5898571846c6e33a44a
refs/heads/master
2021-01-23T01:00:55.290431
2017-05-30T20:15:38
2017-05-30T20:15:38
92,855,363
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# -*- coding: utf-8 -*- from __future__ import print_function import argparse import os import stat import sys # find the import for catkin's python package - either from source space or from an installed underlay if os.path.exists(os.path.join('/root/ros_catkin_ws/src/catkin/cmake', 'catkinConfig.cmake.in')): sys...
[ "simon.trendel@tum.de" ]
simon.trendel@tum.de
15d31e1ef365d5c015dfb414451088dad3046aa5
93039551fbdef0a112a9c39181d30b0c170eb3a6
/day18/threadingDemo.py
fae63177bdaf8ea6bd2a0e600b6f0182253b4090
[]
no_license
wenzhe980406/PythonLearning
8714de8a472c71e6d02b6de64efba970a77f6f4a
af0e85f0b11bf9d2f8e690bac480b92b971c01bb
refs/heads/master
2020-07-14T20:46:45.146134
2020-05-28T12:16:21
2020-05-28T12:16:21
205,398,758
0
0
null
null
null
null
UTF-8
Python
false
false
2,128
py
# _*_ coding : UTF-8 _*_ # 开发人员 : ChangYw # 开发时间 : 2019/8/7 14:17 # 文件名称 : threadingDemo.PY # 开发工具 : PyCharm #创建线程 import threading import time import random # def foo(info): # # 每个线程都会有个ID # print("线程ID:",threading.get_ident()) # # 当前线程名字 # print(threading.current_thread()) # # 当前...
[ "noreply@github.com" ]
wenzhe980406.noreply@github.com
578a554b115b2e94e83688007ac6dae9ef220ae9
600df3590cce1fe49b9a96e9ca5b5242884a2a70
/tools/perf/benchmarks/chrome_signin_startup.py
dc5c26d8f0da3caecaadf66654f24c754fa71e16
[ "BSD-3-Clause", "LGPL-2.0-or-later", "LicenseRef-scancode-unknown-license-reference", "GPL-2.0-only", "Apache-2.0", "LicenseRef-scancode-unknown", "MIT" ]
permissive
metux/chromium-suckless
efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a
72a05af97787001756bae2511b7985e61498c965
refs/heads/orig
2022-12-04T23:53:58.681218
2017-04-30T10:59:06
2017-04-30T23:35:58
89,884,931
5
3
BSD-3-Clause
2022-11-23T20:52:53
2017-05-01T00:09:08
null
UTF-8
Python
false
false
930
py
# Copyright 2015 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. from core import perf_benchmark from measurements import startup import page_sets from telemetry import benchmark class _StartupWarm(perf_benchmark.PerfBen...
[ "enrico.weigelt@gr13.net" ]
enrico.weigelt@gr13.net
e3a1d26b74c3f2fce64a4ca7a8279e45eaa60168
3a958811aaecab99efd57c35613aa88251eae0ec
/openrec/tf2/recommenders/bpr.py
7f8a91595fb878698bfc8835a10c03f338260ce2
[ "Apache-2.0" ]
permissive
jstephenj14/openrec
99c74f7c600b000828fa355bc66653b3857391a4
82e7644d062be5fbe62eec80975023c8acd7ba69
refs/heads/master
2022-11-08T04:13:09.901161
2020-07-01T17:03:02
2020-07-01T17:03:02
275,661,063
0
0
Apache-2.0
2020-06-28T20:15:29
2020-06-28T20:15:29
null
UTF-8
Python
false
false
1,958
py
import tensorflow as tf from tensorflow.keras import Model from openrec.tf2.modules import LatentFactor, PairwiseLogLoss class BPR(Model): def __init__(self, dim_user_embed, dim_item_embed, total_users, total_items): super(BPR, self).__init__() self.user_latent_factor = LatentFactor(n...
[ "ylongqi@gmail.com" ]
ylongqi@gmail.com
e01e22f4e81782157601986893044790c22e2567
25d8bac5635ac1cc3577a3593a4512e042ea7ecd
/scripts/stringio-example-1.py
feb5a0c9f91412032c72f30c0a1526508d1ff671
[]
no_license
mtslong/demo
2333fa571d6d9def7bdffc90f7bcb623b15e6e4b
a78b74e0eea7f84df489f5c70969b9b4797a4873
refs/heads/master
2020-05-18T18:28:48.237100
2013-11-11T16:10:11
2013-11-11T16:10:11
4,136,487
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
import StringIO MESSAGE = "That man is depriving a village somewhere of a computer scientist." file = StringIO.StringIO(MESSAGE) print file.read() ## That man is depriving a village somewhere of a computer scientist.
[ "mofeng@netease.com" ]
mofeng@netease.com
f3c9309ccc53b3488f54d9bbe3080b0db359c756
acaed6ad4a2bb3f6df553debf547d0feafdd99e9
/Projects/Object-Oriented Python/s4v3/yatzy/dice.py
cfc2b1878f219bb3a9d4beb3fb205377aa310e4c
[]
no_license
SAM1363/TH-Python
764691b7b8281b3298ace985039ee9c05ef340a1
421c4d7f54ed56233a87c7d9907ac3d1ab993c94
refs/heads/master
2020-05-30T01:12:49.404476
2019-08-04T04:45:32
2019-08-04T04:45:32
189,472,375
0
0
null
null
null
null
UTF-8
Python
false
false
1,049
py
import random class Die: def __init__(self, sides=2, value=0): if not sides >= 2: raise ValueError("Must have at least 2 sides") if not isinstance(sides, int): raise ValueError("Sides must be a whole number") self.value = value or random.randint(1, sides) ...
[ "isamu3636136@gmail.com" ]
isamu3636136@gmail.com
844a6397218e0f54788ae9dc1533204565febe03
b6df7cda5c23cda304fcc0af1450ac3c27a224c1
/data/codes/rharkanson___main__.py
7f6c1bda290f0be888529fc6a288b0d71d4581a4
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
vieira-rafael/py-search
88ee167fa1949414cc4f3c98d33f8ecec1ce756d
b8c6dccc58d72af35e4d4631f21178296f610b8a
refs/heads/master
2021-01-21T04:59:36.220510
2016-06-20T01:45:34
2016-06-20T01:45:34
54,433,313
2
4
null
null
null
null
UTF-8
Python
false
false
463
py
"""Copyright (c) 2015 Russell HarkansonSee the file LICENSE.txt for copying permission.""" import sys if sys.version < '3': print("Error: Python 3+ required to run Pyriscope.") sys.exit(1) from pyriscope import processor def main(args=None): if args is None: args = sys.argv[1:] if len(args) == 1 and args[0]...
[ "thaisnviana@gmail.com" ]
thaisnviana@gmail.com
87a4d6379a57b223782ee0439925eb51823274c4
bd498cbbb28e33370298a84b693f93a3058d3138
/NVIDIA/benchmarks/transformer/implementations/pytorch/fairseq/modules/linearized_convolution.py
63a048b847b360f6553b6887b508f4883a8867dd
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
piyushghai/training_results_v0.7
afb303446e75e3e9789b0f6c40ce330b6b83a70c
e017c9359f66e2d814c6990d1ffa56654a73f5b0
refs/heads/master
2022-12-19T16:50:17.372320
2020-09-24T01:02:00
2020-09-24T18:01:01
298,127,245
0
1
Apache-2.0
2020-09-24T00:27:21
2020-09-24T00:27:21
null
UTF-8
Python
false
false
3,686
py
# Copyright (c) 2017-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the LICENSE file in # the root directory of this source tree. An additional grant of patent rights # can be found in the PATENTS file in the same directory. import torch import torch.nn.funct...
[ "vbittorf@google.com" ]
vbittorf@google.com
ce2898edf44b34d49b7ae631ffd775947a938bf7
6189f34eff2831e3e727cd7c5e43bc5b591adffc
/WebMirror/management/rss_parser_funcs/feed_parse_extractLogatseTranslations.py
c472045f62f8112b3f4a93c84e4c956a1e0a6b9b
[ "BSD-3-Clause" ]
permissive
fake-name/ReadableWebProxy
24603660b204a9e7965cfdd4a942ff62d7711e27
ca2e086818433abc08c014dd06bfd22d4985ea2a
refs/heads/master
2023-09-04T03:54:50.043051
2023-08-26T16:08:46
2023-08-26T16:08:46
39,611,770
207
20
BSD-3-Clause
2023-09-11T15:48:15
2015-07-24T04:30:43
Python
UTF-8
Python
false
false
243
py
def extractLogatseTranslations(item): """ 'Logatse Translations' """ vol, chp, frag, postfix = extractVolChapterFragmentPostfix(item['title']) if not (chp or vol or frag) or 'preview' in item['title'].lower(): return None return False
[ "something@fake-url.com" ]
something@fake-url.com
d949bab15336048347206f24e80edcb3b9586150
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_arboreta.py
8f30afffeead00e6448a171ca4b8fe383e7af1de
[ "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
255
py
from xai.brain.wordbase.nouns._arboretum import _ARBORETUM #calss header class _ARBORETA(_ARBORETUM, ): def __init__(self,): _ARBORETUM.__init__(self) self.name = "ARBORETA" self.specie = 'nouns' self.basic = "arboretum" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4d2a900624783e7d5da52ded2b406ddd862041b0
3cdb4faf34d8375d6aee08bcc523adadcb0c46e2
/web/env/lib/python3.6/site-packages/sqlparse/filters/aligned_indent.py
d3433c94e5a2c9090a3e7492d265483a8e72d2eb
[ "MIT", "GPL-3.0-only" ]
permissive
rizwansoaib/face-attendence
bc185d4de627ce5adab1cda7da466cb7a5fddcbe
59300441b52d32f3ecb5095085ef9d448aef63af
refs/heads/master
2020-04-25T23:47:47.303642
2019-09-12T14:26:17
2019-09-12T14:26:17
173,157,284
45
12
MIT
2020-02-11T23:47:55
2019-02-28T17:33:14
Python
UTF-8
Python
false
false
5,219
py
# -*- coding: utf-8 -*- # # Copyright (C) 2009-2018 the sqlparse authors and contributors # <see AUTHORS file> # # This module is part of python-sqlparse and is released under # the BSD License: https://opensource.org/licenses/BSD-3-Clause from sqlparse import sql, tokens as T from sqlparse.compat import text_type fro...
[ "rizwansoaib@gmail.com" ]
rizwansoaib@gmail.com
099d3cdad0d9ed1606e82426da889f71b9bb767a
482623fe41cccf4d9fe0136f658aeae76bdd92c3
/Linux_python/Update.py
09bce8e7a77f73fa9bb65354d03c8a7d6f2e1f33
[ "MIT" ]
permissive
DiptoChakrabarty/Python
9b671a673e169609215c00947b3a31636bf8435c
075dfb780b24d31137cfe54f9dc396ebfc034cda
refs/heads/master
2020-04-21T18:05:49.000026
2020-04-05T13:42:36
2020-04-05T13:42:36
169,757,136
0
2
MIT
2019-10-01T16:33:44
2019-02-08T15:38:07
Python
UTF-8
Python
false
false
569
py
import subprocess as sp import pyttsx3 as py print("\t\t\t Gods Menu ") speaker=py.init() while True: print("Enter Choice") print(""" 1) Date 2)Calendar 3)Yell """) speaker.say("Enter Your Choice") speaker.runAndWait() ch=int(input()) if(ch==1): speaker.say("The Date is") speaker.runAndWait() x...
[ "diptochuck123@gmail.com" ]
diptochuck123@gmail.com
aea1f201ace40ff4bc1992cff6240b6bfa2b754c
63cddfe42baa72895ae6f2261df6582f19f65bc0
/web/dispatch/object/release.py
1410af9dc04b31fe0d3da700d83d3d727154e80b
[ "MIT" ]
permissive
marrow/web.dispatch.object
d6d7ac226405080386d37d604c6f85ee8157dde5
70d471df7d4342e079f47572e94f55b83e7890e7
refs/heads/master
2023-01-24T13:24:44.643732
2019-09-08T14:32:52
2019-09-08T14:32:52
32,564,722
1
1
null
null
null
null
UTF-8
Python
false
false
704
py
"""Release information about Object Dispatch.""" from collections import namedtuple version_info = namedtuple('version_info', ('major', 'minor', 'micro', 'releaselevel', 'serial'))(3, 0, 0, 'final', 0) version = ".".join([str(i) for i in version_info[:3]]) + ((version_info.releaselevel[0] + str(version_info.serial))...
[ "alice@gothcandy.com" ]
alice@gothcandy.com
b89ee63a76bde5c022810e592b6b0dd62ef7b7c7
52b5773617a1b972a905de4d692540d26ff74926
/.history/mergeSort_20200731130122.py
f70e03125e745ffb9bf8d31041c665be3e738044
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
# MERGE SORT # --> Recursive # ---> divide and conquer # ---> If the problem is too big , break it down # --> if its a single def merge(arr):
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
e741e0068da1e39e086fca252a9003a7ce67ce9c
05324b134108e0e0fde392e0ae0fc22bfa1fb75f
/df_cart/migrations/0001_initial.py
da0857848018ab3964a63745f672aa7960bfd71a
[]
no_license
2339379789/zhang_ttshop
2c8d546b9ed3710fd1f48d6075ea01955247d34f
44f9eb998182f4aa027d5d313b4957410b54a39d
refs/heads/master
2020-03-06T15:40:54.261769
2018-03-27T09:23:52
2018-03-27T09:23:52
126,960,140
2
1
null
null
null
null
UTF-8
Python
false
false
899
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2018-03-21 12:48 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('df_goods', '0002_auto_20180321_1141'), ...
[ "2339379789@qq.com.com" ]
2339379789@qq.com.com
f813ff9f301518820dea08599e6cf4ed8f9e515e
56f5b2ea36a2258b8ca21e2a3af9a5c7a9df3c6e
/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_manzoni_Up_Jobs/Job_91/run_cfg.py
85ec7b9d549bb4d5428ab39aa50f69e857621350
[]
no_license
rmanzoni/HTT
18e6b583f04c0a6ca10142d9da3dd4c850cddabc
a03b227073b2d4d8a2abe95367c014694588bf98
refs/heads/master
2016-09-06T05:55:52.602604
2014-02-20T16:35:34
2014-02-20T16:35:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,542
py
import FWCore.ParameterSet.Config as cms import os,sys sys.path.append('/afs/cern.ch/user/m/manzoni/summer13/CMGTools/CMSSW_5_3_9/src/CMGTools/H2TauTau/prod/25aug_corrMC/up/mc/DYJetsToLL_M-50_TuneZ2Star_8TeV-madgraph-tarball/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PAT_CMG_V5_16_0_1377544840/HTT_24Jul_newTES_m...
[ "riccardo.manzoni@cern.ch" ]
riccardo.manzoni@cern.ch
b4388223417883b80f3fefbe754dc0269073dbed
e4066b34668bbf7fccd2ff20deb0d53392350982
/project_scrapy/spiders/sony.py
81dc174a3a4237abed1440e66d88c27564b3529a
[]
no_license
sushma535/WebSites
24a688b86e1c6571110f20421533f0e7fdf6e1a8
16a3bfa44e6c7e22ae230f5b336a059817871a97
refs/heads/master
2023-08-18T09:09:16.052555
2021-10-11T00:41:50
2021-10-11T00:41:50
415,621,279
0
0
null
null
null
null
UTF-8
Python
false
false
2,535
py
import scrapy from scrapy.crawler import CrawlerProcess import os import csv from csv import reader import re total_data = {} class SimilarWeb(scrapy.Spider): name = 'SW' user_agent = 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36' start_ur...
[ "sushmakusumareddy@gmail.com" ]
sushmakusumareddy@gmail.com
ccfde10e9450e03a564e8089cb6cd056121cdde5
0958cceb81de1c7ee74b0c436b800a1dc54dd48a
/wincewebkit/WebKitTools/Scripts/webkitpy/common/system/user.py
dd132cdf84611aaa44da242424360ff1e148ae33
[]
no_license
datadiode/WinCEWebKit
3586fac69ba7ce9efbde42250266ddbc5c920c5e
d331d103dbc58406ed610410736b59899d688632
refs/heads/master
2023-03-15T23:47:30.374484
2014-08-14T14:41:13
2014-08-14T14:41:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,772
py
# Copyright (c) 2009, Google 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: # # * Redistributions of source code must retain the above copyright # notice, this list of condition...
[ "achellies@163.com" ]
achellies@163.com
f59579831d4ee07630c69532055596b6baf39a8d
935bf47c8f1ee0b2e248f9e233000602e46f9b6e
/tests/test_tapioca_jarbas.py
eebafe31165d25595ab88c49b5888e4f8532be27
[ "MIT" ]
permissive
giovanisleite/tapioca-jarbas
f6356babdaba24eefbf6d1b043e7b7eea43e387c
8365f795d0cab530106f970a852ea8052aead60c
refs/heads/master
2021-05-07T19:11:55.541940
2017-02-18T21:29:48
2017-02-18T21:29:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import pytest from tapioca_jarbas import Jarbas @pytest.fixture def wrapper(): return Jarbas() def test_resource_access(wrapper): resource = wrapper.reimbursement_list() assert resource.data == 'http://jarbas.datasciencebr.com/api/reimbursement/'
[ "daniloshiga@gmail.com" ]
daniloshiga@gmail.com
e0a63e7723643efc634c042a932d9ce6f655b570
440b0eaec8067321a2519d2b4309b42acf661ba6
/DALLE-pytorch-sm-210513/source_code/dalle_pytorch/vae.py
673f0925884ba25c78cd57ffdf0fae5cb0944bc8
[ "MIT" ]
permissive
daekeun-ml/smdalle
0f99b8a24fbf8409ddcd8abc6a7cd98f5fcd6129
416e381dc33575f7659b41cc206b94c72865b0fb
refs/heads/master
2023-05-03T05:57:56.346613
2021-05-19T06:21:42
2021-05-19T06:21:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,135
py
import io import sys import os, sys import requests import PIL import warnings import os import hashlib import urllib import yaml from pathlib import Path from tqdm import tqdm from math import sqrt from omegaconf import OmegaConf from taming.models.vqgan import VQModel import torch from torch import nn import torch.n...
[ "dolpal2@gmail.com" ]
dolpal2@gmail.com
7e7fd33ed0c2c7145d9620b60897981559f98688
1e1016423b4b97c022ed7eebe9051389144e0b4b
/ir/assignment1/src/question1/question1.py
79e591f5776065d9cbe61d6674d137fc2bc61269
[]
no_license
jhabarsingh/LABS
eca4c8bf92bf340504a6306670ca4984f27cb184
cdc06c4479e696b53cd5afb0bad78ae18bdc5fbe
refs/heads/main
2023-04-17T05:13:25.343094
2021-05-07T12:36:13
2021-05-07T12:36:13
353,227,617
0
0
null
null
null
null
UTF-8
Python
false
false
3,041
py
import io import re import os import sys import string import unicodedata import nltk from nltk.corpus import stopwords import unicodedata from nltk.tokenize import word_tokenize from nltk.stem import PorterStemmer from nltk.stem import WordNetLemmatizer from nltk.tokenize import word_tokenize lemmatizer = WordNetLe...
[ "jhabarsinghbhati23@gmail.com" ]
jhabarsinghbhati23@gmail.com
f8e2c31b7e307513f8daeb6c82a1ea2573bceca7
fc3f419dae08f7b5c706d65c23238b70d679beb8
/deepiu/textsum/prepare/default/conf.py
a1724e7a01434644e8a1395583d7ffeaf8c91cbf
[]
no_license
tangqiqi123/hasky
772b83e482f9755f8f95bf0c6c02087b5aaf01aa
97a840fba614bb68074a6d91f88582a391c81525
refs/heads/master
2021-06-22T05:11:04.679660
2017-08-14T00:52:17
2017-08-14T00:52:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
130
py
IMAGE_FEATURE_LEN = 2048 MAX_EMB_WORDS = 200000 INPUT_TEXT_MAX_WORDS = 30 TEXT_MAX_WORDS = 20 NUM_RESERVED_IDS = 1 ENCODE_UNK = 0
[ "29109317@qq.com" ]
29109317@qq.com
214a278213ce6f374c77030134e559ebf3ef0cbe
7ed93ec573f4d17afe954ad1a269a00cd45c1d25
/app/__init__.py
ffb75a192f0ee04cf151ba9ce95692730d6299ac
[ "MIT" ]
permissive
nerevu/hdxscraper-hdro
06ddcf97a6820e43a024b4039578776315f6e7d4
ff027cd794d694932468f8c356c7b06fdd74f816
refs/heads/master
2021-06-01T01:11:44.894192
2016-02-08T09:22:08
2016-02-08T09:22:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
# -*- coding: utf-8 -*- """ app ~~~ Provides the flask application """ from __future__ import ( absolute_import, division, print_function, with_statement, unicode_literals) import config from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy __version__ = '0.9.0' __title__ = 'hdxsc...
[ "reubano@gmail.com" ]
reubano@gmail.com
6ecf0e32c426ff5d3aa97d40c9616f9198a1d9a8
50402cc4388dfee3a9dbe9e121ef217759ebdba8
/demo/GazeboMonitor/GazeboMonitor.py
d88abf2b20229ba2f2f6bfe35928c19bdba3c2c1
[]
no_license
dqyi11/SVNBackup
bd46a69ec55e3a4f981a9bca4c8340944d8d5886
9ad38e38453ef8539011cf4d9a9c0a363e668759
refs/heads/master
2020-03-26T12:15:01.155873
2015-12-10T01:11:36
2015-12-10T01:11:36
144,883,382
2
1
null
null
null
null
UTF-8
Python
false
false
266
py
''' Created on Apr 22, 2014 @author: walter ''' from MapViewer import * from MapViewForm import * from PyQt4 import QtGui, QtCore import sys if __name__ == '__main__': app = QtGui.QApplication(sys.argv) form = MapViewForm(5) sys.exit(app.exec_())
[ "walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39" ]
walter@e224401c-0ce2-47f2-81f6-2da1fe30fd39
8eebb159bd582927ff7999a9eb8293248153121e
2a2ce1246252ef6f59e84dfea3888c5a98503eb8
/examples/introduction.to.programming.with.turtle/windows_only/2-4.triangle2.py
0c22578c98e9af9023324fe1179378beef41406c
[ "BSD-3-Clause" ]
permissive
royqh1979/PyEasyGraphics
c7f57c1fb5a829287e9c462418998dcc0463a772
842121e461be3273f845866cf1aa40c312112af3
refs/heads/master
2021-06-11T10:34:03.001842
2021-04-04T10:47:52
2021-04-04T10:47:52
161,438,503
8
4
BSD-3-Clause
2021-04-04T10:47:53
2018-12-12T05:43:31
Python
UTF-8
Python
false
false
133
py
from easygraphics.turtle import * create_world() rt(30); for i in range(3): fd(100) rt(120) lt(30); pause() close_world()
[ "royqh1979@gmail.com" ]
royqh1979@gmail.com
5c67fd9f16289c5ae30f21e429cec1bea3ac5f35
dac8fbce2724abfb444bf3c2482758be088dd79e
/puzzle-3/test.py
db7e8f290cc7ac59d224bafb7be62062df30e328
[]
no_license
mattvenn/oshcamp-treasurehunt
f7312534872c1b98cd0b31c1e65c214bd2f0902c
d95b3fb7bc6a0d7925560e076bcd42a46c2218de
refs/heads/master
2021-01-10T07:23:45.410262
2015-09-29T14:00:06
2015-09-29T14:00:06
43,370,774
0
0
null
null
null
null
UTF-8
Python
false
false
2,197
py
import unittest import socket import time host = "10.10.0.29" port = 1337 password = 'MK_DCBY07I3YA8]PBVEU' # has good pass embedded bad_pass = 'B3d,P@U^=S<GPc*VNdN\MK_DCBY07I3YA8]PBVEUO``EM*)M2Ma,5CGAN<)' class TestClue3(unittest.TestCase): def test_bad_pass(self): soc = socket.socket(socket.AF_INET, so...
[ "matt@mattvenn.net" ]
matt@mattvenn.net
3b2b4904ef3a9d34a33b493e1db7d8c82900bd7b
372a0eb8d3be3d40b9dfb5cf45a7df2149d2dd0d
/charles/Week 10/lab11/lab11_extra.py
eda9fad861bf25b41aefaa377c70ad28baaa8b5f
[]
no_license
charlesfrye/cs61a-summer2015
5d14b679e5bea53cfa26c2a6a86720e8e77c322c
1f5c0fbf5dce5d1322285595ca964493d9adbdfe
refs/heads/master
2016-08-07T06:06:09.335913
2015-08-21T00:33:25
2015-08-21T00:33:25
38,509,126
0
0
null
null
null
null
UTF-8
Python
false
false
2,606
py
from lab11 import * ########### # Streams # ########### class Stream: class empty: def __repr__(self): return 'Stream.empty' empty = empty() def __init__(self, first, compute_rest=lambda: Stream.empty): assert callable(compute_rest), 'compute_rest must be callable.' ...
[ "charlesfrye@berkeley.edu" ]
charlesfrye@berkeley.edu
c896ee7e54f79068157566d9203dc2d377ab2874
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-5/98e7d4b49d1d6755da3d385d6496f22a6f85c1e8-<run>-bug.py
ac06e08164e75d877292881899411463204fb40d
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,380
py
def run(self, tmp=None, task_vars=None): ' handler for fetch operations ' if (task_vars is None): task_vars = dict() result = super(ActionModule, self).run(tmp, task_vars) if self._play_context.check_mode: result['skipped'] = True result['msg'] = 'check mode not (yet) supported f...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
a4e1450cfb99d5495a226f1f9091b65989006053
090538afc77e19066b312465ce8ca1423d5a5a0f
/scripts/validate_chicago_stkde.py
2a6ba38f6dcc398e294cb9231c9956514641a565
[]
no_license
gaberosser/crime-fighter
f632676bc19c67c81d0a2bc587845ebfb9a116e8
4b0249696126910cf8781fa9c1ec884bb7b4a8b3
refs/heads/master
2020-05-29T20:44:41.710045
2016-08-26T07:13:53
2016-08-26T07:13:53
17,255,773
0
0
null
null
null
null
UTF-8
Python
false
false
4,085
py
__author__ = 'gabriel' import datetime import time import os import dill as pickle import logging import sys from pytz import utc from validation import validation, hotspot from kde import models as k_models from . import OUT_DIR, IN_DIR OUT_SUBDIR = 'validate_chicago_stkde' # global parameters num_sample_points = 30...
[ "gabriel.rosser@gmail.com" ]
gabriel.rosser@gmail.com
ce2ba36a18a2a4acb2aca126e488184e19fa6a7d
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_scenario.py
158e94ece2140a0ae55a41fbc16537dc39bde965
[ "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
409
py
#calss header class _SCENARIO(): def __init__(self,): self.name = "SCENARIO" self.definitions = [u'a description of possible actions or events in the future: ', u'a written plan of the characters and events in a play or film'] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cd72d7606f7019baa03db391740675aa139dde2e
ac42f1d918bdbd229968cea0954ed75250acd55c
/admin/monitor/openstack_dashboard/enabled/_3040_identity_groups_panel.py
3299a47aacf92880e05b774f367c4f0212074d24
[ "Apache-2.0" ]
permissive
naanal/product
016e18fd2f35608a0d8b8e5d2f75b653bac7111a
bbaa4cd60d4f2cdda6ce4ba3d36312c1757deac7
refs/heads/master
2020-04-03T22:40:48.712243
2016-11-15T11:22:00
2016-11-15T11:22:00
57,004,514
1
1
null
null
null
null
UTF-8
Python
false
false
402
py
# The slug of the panel to be added to HORIZON_CONFIG. Required. PANEL = 'groups' # The slug of the dashboard the PANEL associated with. Required. PANEL_DASHBOARD = 'identity' # The slug of the panel group the PANEL is associated with. PANEL_GROUP = 'default' # Python panel class of the PANEL to be added. ADD_PANEL = ...
[ "rajagopalx@gmail.com" ]
rajagopalx@gmail.com
0e84475758c04231804f9e3b3af5ad23d2892a62
6afc41d5a658c5023a31fbc384a36ac9c0166e8b
/backend/test_3719/wsgi.py
a602ac78a119422d7ba99b6885f180aa4ce03f12
[]
no_license
crowdbotics-apps/test-3719
ed5545b57780f0d50fca61192ea73aa9418a92da
144082c4eaa720315e5a07df3f9f865ed5fb4511
refs/heads/master
2022-12-21T08:07:20.957261
2019-05-23T04:02:43
2019-05-23T04:02:43
188,159,177
0
0
null
2022-12-09T03:36:44
2019-05-23T04:02:28
Python
UTF-8
Python
false
false
396
py
""" WSGI config for test_3719 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/1.11/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO_SE...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
5b20a0765681fd54ab67717db8404968a2462b98
b72dbc51279d3e59cb6410367b671f8a956314c1
/프로그래머스/그외/17680_캐시.py
87b058fb7469357e9c360c933a261e08deb41fec
[]
no_license
ddobokki/coding-test-practice
7b16d20403bb1714d97adfd1f47aa7d3ccd7ea4b
c88d981a1d43b986169f7884ff3ef1498e768fc8
refs/heads/main
2023-07-08T15:09:32.269059
2021-08-08T12:19:44
2021-08-08T12:19:44
344,116,013
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
#https://programmers.co.kr/learn/courses/30/lessons/17680 def solution(cacheSize, cities): answer = 0 cache = [] #캐시 for city in cities: # 도시 리스트를 순회 city = city.lower() # 소문자 변환 if city in cache: # 처리하려는 도시가 이미 캐시에 있으면 answer += 1 # cache hit, 1초 cache[cache.index(...
[ "44228269+ddobokki@users.noreply.github.com" ]
44228269+ddobokki@users.noreply.github.com
98f7167189da23eafba697046764bd15df60eeae
45794e797df8695f3c4844363ea937ea52300ae0
/barbican/openstack/common/notifier/api.py
495f5abdd1a984af4f9fef55a832e746af7e5c5f
[ "Apache-2.0" ]
permissive
ss7pro/barbican
46ed5086d40dc2b14e36aa791d0d71c5b2b91f02
887fddedc5ef0e8383cd06487d1ad1b518de7fdc
refs/heads/master
2022-04-17T06:31:45.801422
2013-11-21T16:48:47
2013-11-21T16:48:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,527
py
# Copyright 2011 OpenStack Foundation. # 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 req...
[ "john.wood@rackspace.com" ]
john.wood@rackspace.com
0beb21467f8c50ffddcf0194336a4947b2e0ec79
bc3093b61564c9ae9a92c3b63a998b4b72dec934
/stacks_and_queues/implement_stack_using_queue.py
667acb09cbd3d621b6def14ddd5a1a2fd25d0445
[]
no_license
rayankikavitha/InterviewPrep
012f15e86fc5bb8b98ad82d83af1d0745e6fcd2d
cfc64f121413dc2466d968ebf3f18078f4969f18
refs/heads/master
2021-04-28T02:24:54.782253
2019-12-05T03:51:14
2019-12-05T03:51:14
122,113,708
1
3
null
null
null
null
UTF-8
Python
false
false
592
py
from queue import Queue class Stack(Queue): def __init__(self): self.eq = Queue() self.dq = Queue() def push(self,item): self.eq.enqueue(item) def pop(self): if self.dq.size() == 0: while self.eq.size() > 0: self.dq.enqueue(self.eq.dequeue()) ...
[ "rayanki.kavitha@gmail.com" ]
rayanki.kavitha@gmail.com
1639dc7e80712447aaa10c5fc680b3f84a5cc8f2
2dd26e031162e75f37ecb1f7dd7f675eeb634c63
/tests/collections/tts/losses/test_audio_codec_loss.py
0fe7991e92cb557bcfd95516aaef6f1b9a9d76a1
[ "Apache-2.0" ]
permissive
NVIDIA/NeMo
1b001fa2ae5d14defbfd02f3fe750c5a09e89dd1
c20a16ea8aa2a9d8e31a98eb22178ddb9d5935e7
refs/heads/main
2023-08-21T15:28:04.447838
2023-08-21T00:49:36
2023-08-21T00:49:36
200,722,670
7,957
1,986
Apache-2.0
2023-09-14T18:49:54
2019-08-05T20:16:42
Python
UTF-8
Python
false
false
1,715
py
# Copyright (c) 2023, NVIDIA CORPORATION & 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. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requ...
[ "noreply@github.com" ]
NVIDIA.noreply@github.com
572fff90f7b8b8d74601eb806280e978c5175a85
ab31caa57057a03872c858b65fecbcefb7f519db
/ttfquery/glyph.py
7fd8543d74749ab8de8362deb4e9ee1291400360
[]
no_license
mcfletch/ttfquery
737039e28ce453c4626c82da023361c25444ba56
6988e599a9461859843cb18d1585730a969a0604
refs/heads/master
2020-09-13T08:33:00.864669
2018-08-10T05:44:56
2018-08-10T05:44:56
222,712,423
1
0
null
null
null
null
UTF-8
Python
false
false
7,783
py
"""Representation of a single glyph including contour extraction""" from ttfquery import glyphquery import numpy class Glyph( object): """Object encapsulating metadata regarding a particular glyph""" def __init__(self, glyphName ): """Initialize the glyph object glyphName -- font's glyphName f...
[ "mcfletch@vrplumber.com" ]
mcfletch@vrplumber.com
0782284dc476f8da4e4d59915521a24c83c513d8
6af44c684d1164e849c47a381facce11af6b45a1
/jd/api/rest/KplOpenGetnewstockbyidQueryRequest.py
968c30821ac951f6ac6d871e528a60d61d02ee4a
[ "MIT" ]
permissive
dsjbc/linjuanbang
cdfa84f7c7e2a89dc840c476bea92c4ff4d4de84
8cdc4e81df73ccd737ac547da7f2c7dca545862a
refs/heads/master
2022-03-16T20:43:42.005432
2019-11-25T10:15:11
2019-11-25T10:15:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
300
py
from jd.api.base import RestApi class KplOpenGetnewstockbyidQueryRequest(RestApi): def __init__(self,domain='gw.api.360buy.com',port=80): RestApi.__init__(self,domain, port) self.skuNums = None self.area = None def getapiname(self): return 'jd.kpl.open.getnewstockbyid.query'
[ "tarena_feng@126.com" ]
tarena_feng@126.com
c600dfcd1ccb951bb47544233ce09acd8c8b0f9d
0109264211df54f53f0c52cf7a61af72b4d31717
/watchFaceParser/models/elements/activity/pulseLinearElement.py
e7744d2da14f0fc2de001025707dc4496e266bfb
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
abhishekhbhootwala/py_amazfit_tools
fb4fc10457a6696b7a2815e7ae01f70d01ed8d35
e9c144eb5a8a9bf2354ec182a02004dc9f1e6c80
refs/heads/master
2023-02-12T22:46:33.629564
2021-01-07T01:54:46
2021-01-07T01:54:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,461
py
import logging from watchFaceParser.models.elements.common.iconSetElement import IconSetElement class PulseLinearElement(IconSetElement): # private static readonly Dictionary<DayOfWeek, int> DaysOfWeek = new Dictionary<DayOfWeek, int> # { # {DayOfWeek.Monday, 0}, # {DayOfWeek.Tuesday, 1}, ...
[ "gtalpo@gmail.com" ]
gtalpo@gmail.com
accb283546d8db9c6c849aabc2073d96eb85f4b9
95e0c6e6f6f01ce9dd4121269985620ec651074f
/gmhelper/panel/migrations/0012_auto_20190902_1445.py
930445223989f48b59e0672c7e5486acd687ef0a
[]
no_license
admiralbolt/gmhelper
88e60333d52d62bca63158b0c04c512bd7a76765
1ada3cb3eb27edf307cf08e7a7025c03d04b299a
refs/heads/master
2020-06-23T17:47:40.473826
2019-10-18T02:02:36
2019-10-18T02:02:36
198,703,886
1
0
null
null
null
null
UTF-8
Python
false
false
501
py
# Generated by Django 2.2.4 on 2019-09-02 14:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('panel', '0011_cityitem_name'), ] operations = [ migrations.AlterModelOptions( name='cityitem', options={'ordering': ...
[ "aviknecht@gmail.com" ]
aviknecht@gmail.com
fc872aa394709078b797782309ec81784b4a2e96
5095200e9ca55cd3a37af34ed44448c02e2a1bb5
/modules/image/classification/darknet53_imagenet/darknet.py
58c5b090172b042d7df701c6691b3c1e867c1b23
[ "Apache-2.0" ]
permissive
PaddlePaddle/PaddleHub
8712603ef486c45e83eb0bc5725b0b3ed3ddbbde
b402610a6f0b382a978e82473b541ea1fc6cf09a
refs/heads/develop
2023-07-24T06:03:13.172978
2023-03-28T11:49:55
2023-03-28T11:49:55
162,672,577
12,914
2,239
Apache-2.0
2023-07-06T21:38:19
2018-12-21T06:00:48
Python
UTF-8
Python
false
false
5,029
py
# coding=utf-8 from __future__ import absolute_import from __future__ import division from __future__ import print_function import six import math from paddle import fluid from paddle.fluid.param_attr import ParamAttr from paddle.fluid.regularizer import L2Decay __all__ = ['DarkNet'] class DarkNet(object): """...
[ "wuzewu@baidu.com" ]
wuzewu@baidu.com
9cd0d2eb1ad55a66abea7fa857b94d0ed57ca72c
048d970d83519074993dbc948b058cccda48a893
/untitled6/testvideo/views.py
0f404eeb76f5d87239a80507d97511b294d8904f
[]
no_license
alingb/PycharmProjects
0669ec007779a3265a0026409a3b2aeb2dc5406f
9592454f4847da1618136e756fa641013e573889
refs/heads/master
2020-03-25T20:02:21.840945
2018-11-07T09:52:40
2018-11-07T09:52:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,473
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render # Create your views here. from django.templatetags.static import register from django.utils.safestring import mark_safe from testvideo import models @register.simple_tag def action_all(current_url, index): """...
[ "375272990@qq.com" ]
375272990@qq.com
1403668c6a8f650ba3160210a868b2cf3eb0c8b4
d4412fbe37540e2c4cbe59ed6503d3661ccb7d9c
/tests/test_auto_parallel/test_tensor_shard/test_find_repeat_block.py
a0b407b240e1fc4432002ed50a1e0132348e3ded
[ "BSD-3-Clause", "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0", "BSD-2-Clause", "MIT" ]
permissive
hpcaitech/ColossalAI
a082ed08a3807b53c49d1f86835b9808590d9042
c7b60f75470f067d1342705708810a660eabd684
refs/heads/main
2023-09-01T04:13:13.834565
2023-08-30T15:07:21
2023-08-30T15:07:21
422,274,596
32,044
4,084
Apache-2.0
2023-09-14T15:19:54
2021-10-28T16:19:44
Python
UTF-8
Python
false
false
3,747
py
from typing import Optional, Tuple import torch import torch.nn as nn from torch.fx import GraphModule from transformers.pytorch_utils import Conv1D from colossalai._analyzer.fx.graph_module import ColoGraphModule from colossalai._analyzer.fx.passes import shape_prop_pass # from colossalai.fx.tracer.tracer import Col...
[ "noreply@github.com" ]
hpcaitech.noreply@github.com
e6ec76c65798d40248d5a90ddffc9772d75c8291
46c521a85f567c609f8a073cb9569ea59e2a104f
/28_7_1.py
4c10dd39b5917d3c3039704439b344bc05c305fc
[]
no_license
Kunal352000/python_adv
c046b6b785b52eaaf8d089988d4dadf0a25fa8cb
d9736b6377ae2d486854f93906a6bf5bc4e45a98
refs/heads/main
2023-07-15T23:48:27.131948
2021-08-21T13:16:42
2021-08-21T13:16:42
398,557,910
0
0
null
null
null
null
UTF-8
Python
false
false
357
py
import threading print("Welcome") class test(threading.Thread): def run(self): for i in range(5): print("hey") t1=test() t1.run() for j in range(5): print("hello") """ Welcome hey hey hey hey hey hello hello hello hello hello in this above example we are creating a th...
[ "noreply@github.com" ]
Kunal352000.noreply@github.com
8754d0a57ec86b3d5a931c7fc157021615b21c84
b8ed71f3d1a36c119d846e97f1aa7d8ba6774f52
/289_Game_of_Life.py
74198f0167a8743c4175a626070e5f5a27f45fd3
[]
no_license
imjaya/Leetcode_solved
0831c4114dd919864452430c4e46d3f69b4bd0cd
374eb0f23ae14d9638d20bbfe622209f71397ae0
refs/heads/master
2023-05-24T17:57:56.633611
2023-05-16T06:31:42
2023-05-16T06:31:42
284,203,426
0
0
null
null
null
null
UTF-8
Python
false
false
1,461
py
#space complexity(O(1)) class Solution: def gameOfLife(self, board: List[List[int]]) -> None: m=len(board) n=len(board[0]) def isValidNeighbor(x, y): return x < len(board) and x >= 0 and y < len(board[0]) and y >= 0 # All directions of neighbors x_dir = ...
[ "smjayasurya1997@gmail.com" ]
smjayasurya1997@gmail.com
e83ca298c78ac124bae7c759a8b88993346c5704
06d32fa1f306c7c4f48e115cb8cd17576f4786d4
/kagi/upper/west/five.py
ebd7bbf742ad56902dc7e86facc43e21692724df
[ "MIT" ]
permissive
jedhsu/kagi
b2e146749f5a4840675a59bf3a2511b3aae82b6a
1301f7fc437bb445118b25ca92324dbd58d6ad2d
refs/heads/main
2023-06-29T18:09:57.723463
2021-08-04T23:40:50
2021-08-04T23:40:50
392,842,759
0
0
null
null
null
null
UTF-8
Python
false
false
384
py
""" *Upper-West 5* |⠟| The upper-west five gi. """ from dataclasses import dataclass from kagi import Kagi from ..._gi import StrismicGi from ...west import WesternGi from ..._number import FiveGi from .._gi import UpperGi __all__ = ["UpperWest5"] @dataclass class UpperWest5( Gi, StrismicGi, ...
[ "jed910@gmail.com" ]
jed910@gmail.com
b98f6b0a66040c69b6a1cb34ce379a01039469bb
52a32a93942b7923b7c0c6ca5a4d5930bbba384b
/dojo/tools/api_cobalt/importer.py
93ba6a06e0c98ea1cb6d94de2f84a8dd0f031cf3
[ "MIT-open-group", "GCC-exception-2.0", "BSD-3-Clause", "LicenseRef-scancode-free-unknown", "LGPL-3.0-only", "GPL-3.0-or-later", "LicenseRef-scancode-warranty-disclaimer", "LGPL-3.0-or-later", "IJG", "Zlib", "LicenseRef-scancode-proprietary-license", "PSF-2.0", "LicenseRef-scancode-python-cwi...
permissive
DefectDojo/django-DefectDojo
43bfb1c728451335661dadc741be732a50cd2a12
b98093dcb966ffe972f8719337de2209bf3989ec
refs/heads/master
2023-08-21T13:42:07.238370
2023-08-14T18:00:34
2023-08-14T18:00:34
31,028,375
2,719
1,666
BSD-3-Clause
2023-09-14T19:46:49
2015-02-19T17:53:47
HTML
UTF-8
Python
false
false
2,002
py
import logging from django.core.exceptions import ValidationError from dojo.models import Product_API_Scan_Configuration from .api_client import CobaltAPI logger = logging.getLogger(__name__) class CobaltApiImporter(object): """ Import from Cobalt.io API """ def get_findings(self, test): cli...
[ "noreply@github.com" ]
DefectDojo.noreply@github.com
2a73ccb328b4920d2f01f6669bdc5893366856cc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_mooting.py
bf6f2ecc1479abe52448d6823a2c0e6190595738
[ "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
218
py
#calss header class _MOOTING(): def __init__(self,): self.name = "MOOTING" self.definitions = moot self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['moot']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
54cc0636b26ccf62e0b9bcdd44704905d3cdfa6b
efbc8c73e9ac5cbcb9321518ab06b3965369a5f0
/Baekjoon/Silver/Silver5/2628_종이자르기.py
d451947b0161c3b6cdab39d493483d9302941333
[]
no_license
AshOil/APS
56b9395dcbb8eeec87a047407d4326b879481612
fe5a2cd63448fcc4b11b5e5bc060976234ed8eea
refs/heads/master
2023-07-15T17:32:20.684742
2021-08-23T13:04:05
2021-08-23T13:04:05
283,709,661
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
import sys sys.stdin = open('input_data/2628.txt','r') # 정보 주워담기 width, height = list(map(int,input().split())) cutting = int(input()) cuttings = [] verti = [width] hori = [height] for _ in range(cutting): cuttings.append(list(map(int,input().split()))) #가로 / 세로 분류하기 for cut in cuttings: if cut[0] == 0: ...
[ "ka0@kakao.com" ]
ka0@kakao.com
7f5855dedb64367070b0ef77a897b9586ad9e416
ad13583673551857615498b9605d9dcab63bb2c3
/output/models/sun_data/elem_decl/value_constraint/value_constraint01001m/value_constraint01001m4_xsd/__init__.py
dae74b497b244e9ac0e2a6dc6d9bf257666e0089
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
196
py
from output.models.sun_data.elem_decl.value_constraint.value_constraint01001m.value_constraint01001m4_xsd.value_constraint01001m4 import ( Id, Root, ) __all__ = [ "Id", "Root", ]
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
1888a818f62e4bd9f2d753f36a3b611afa16fa52
877ad498d10ad8d2ab2891e5d3709fcf3aa4f513
/setup.py
fc6be61f8184572dda654f760e2988b8e78734cf
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
rdcli/rdc.dic
a3f2601e258cd3afe17673045a8029794c72a65f
61aca591afdc53613a1cec3ebce23b8d69e3780d
refs/heads/master
2020-12-25T18:22:25.401882
2014-01-14T19:31:21
2014-01-14T19:33:27
15,901,266
1
0
null
null
null
null
UTF-8
Python
false
false
1,248
py
from setuptools import setup, find_packages tolines = lambda c: filter(None, map(lambda s: s.strip(), c.split('\n'))) def read(filename, flt=None): with open(filename) as f: content = f.read().strip() return flt(content) if callable(flt) else content def requirements_filter(c): install_requir...
[ "romain@dorgueil.net" ]
romain@dorgueil.net
5a66f8c5c341634eda246b688a5bef1215c1b5a0
20ec76fa5627b4989cc5b21cfb390adb1ea931ea
/env/bin/pip
b8a7d601f3c19eec4634ff0020f275838022b520
[]
no_license
nimadorostkar/simpleCRM
7b925586ca20ce143734ec8a5118cb9210c3258b
654ba33b1fcc236485780a4d3838f75a373ad7b8
refs/heads/master
2023-08-23T21:21:26.731016
2021-10-17T13:29:31
2021-10-17T13:29:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
250
#!/Users/nima/github/AtroCRM/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "nimadorostkar97@gmail.com" ]
nimadorostkar97@gmail.com
d2ff20eb2738923869af9a4e0deb817d5078bc67
cd9224afd9f377adf00b9dfd18669daf39f2663f
/src/datasets/cifar10.py
e659ae738fa2338b3e5bc22cafac4c6758c927f4
[]
no_license
luzai/few-shot
56fc03ff87652d18eda291980cf01486ce2f339e
792406d990b5a0aaea0f8589883643120ede1170
refs/heads/master
2021-03-27T13:34:05.766349
2017-11-11T10:56:21
2017-11-22T08:32:36
96,596,064
1
0
null
null
null
null
UTF-8
Python
false
false
4,122
py
# Copyright 2016 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 applicable ...
[ "907682447@qq.com" ]
907682447@qq.com
6083f0ba54a255447e8adac48b77b46dd2abf103
2bb90b620f86d0d49f19f01593e1a4cc3c2e7ba8
/pardus/tags/2007.1/server/database/mysql/actions.py
e0a2bd5db26466cb3d1c1d0aa46b0ac8ea0b63ad
[]
no_license
aligulle1/kuller
bda0d59ce8400aa3c7ba9c7e19589f27313492f7
7f98de19be27d7a517fe19a37c814748f7e18ba6
refs/heads/master
2021-01-20T02:22:09.451356
2013-07-23T17:57:58
2013-07-23T17:57:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,013
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2005 TUBITAK/UEKAE # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/copyleft/gpl.txt. from pisi.actionsapi import autotools from pisi.actionsapi import libtools from pisi.actionsapi import pisitools from pisi.actionsa...
[ "yusuf.aydemir@istanbul.com" ]
yusuf.aydemir@istanbul.com
0022297ee89784ff19c6b6f84fb8702deceee5c1
d52413173437ba73ecdf822ca895e659f00a8ce7
/kiwibackend/application/website/messages/http/smallGameFinish_request.py
7aafc4af6b19014945fe13957c24d557650e4a53
[]
no_license
whiteprism/mywork
2329b3459c967c079d6185c5acabd6df80cab8ea
a8e568e89744ca7acbc59e4744aff2a0756d7252
refs/heads/master
2021-01-21T11:15:49.090408
2017-03-31T03:28:13
2017-03-31T03:28:13
83,540,646
0
0
null
null
null
null
UTF-8
Python
false
false
194
py
# -*- encoding:utf8 -*- from messages.http import BaseHttp class SmallGameFinishRequest(BaseHttp): def __init__(self): super(self.__class__, self).__init__() self.score = -1
[ "snoster@163.com" ]
snoster@163.com
316c3d03ff530707876f94d6ee6d974d375a63d5
b8b6a5c77e8f55ec5757e06cb25c9f087a69565a
/b_NaiveBayes/Vectorized/Basic.py
f86efee8601811184c0c5c439748c05cc9b1ce24
[]
no_license
CourAgeZ/MachineLearning
57a1cf53cccc0c6479a82ee1f9a9cb83c15f307a
dacd7b239ae0e13709d04067bb3ff6c9848ca53a
refs/heads/master
2021-06-12T10:52:00.946162
2017-02-27T13:44:58
2017-02-27T13:44:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,545
py
import numpy as np from math import pi from Util.Timing import Timing from Util.Bases import ClassifierBase from Util.Metas import ClassifierMeta sqrt_pi = (2 * pi) ** 0.5 class NBFunctions: @staticmethod def gaussian(x, mu, sigma): return np.exp(-(x - mu) ** 2 / (2 * sigma ** 2)) / (sqrt_pi * sigm...
[ "syameimaru_kurumi@pku.edu.cn" ]
syameimaru_kurumi@pku.edu.cn
ed5cfa850b7454b812a97955c6826d3f6a7e0781
90419da201cd4948a27d3612f0b482c68026c96f
/sdk/python/pulumi_azure_nextgen/authorization/v20160401/get_policy_assignment.py
5bb2543c721ece32d8f504f7f2199e5c835d0238
[ "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,069
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from ... import _utilities, _tables __a...
[ "public@paulstack.co.uk" ]
public@paulstack.co.uk
0ed74b75cbe013a56cf016c6af9b4c55bdcbb98f
d751b167ac5b1ef414815f946f2cdf1c46c4c3bc
/third_party/onnx-tensorrt/third_party/onnx/onnx/backend/test/case/node/greater.py
bc04c37fb414bdaa562e063e9dd5192a8ed3a83c
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause", "MIT" ]
permissive
kurff/pytorch
3356d8f44f2f0f4784af90dfcc8a6ae0b0b7a435
2871c0db2cb516a3546103577d88149882ed406d
refs/heads/master
2022-10-22T17:20:18.696100
2019-03-24T02:51:28
2019-03-24T02:51:28
163,299,370
2
1
NOASSERTION
2022-10-13T08:26:24
2018-12-27T13:44:29
C++
UTF-8
Python
false
false
1,107
py
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import numpy as np # type: ignore import onnx from ..base import Base from . import expect class Greater(Base): @staticmethod def export(): node = on...
[ "kurffzhou@tencent.com" ]
kurffzhou@tencent.com
4ee9eab0c7e56c4690d64f2418700d0b8dd57179
f1ef7f1b0701add6532613abc72411196e41b631
/tests/test_bind.py
40589a21bc6fcc459b860c582da10b13b9c885e4
[ "MIT" ]
permissive
TrendingTechnology/typical
afdd482f9ac30c1a61502119b5f219d767d468a3
125b3bda8c1c1c18edf0eccd9160fffdef0749ee
refs/heads/main
2023-07-17T01:55:02.590174
2021-09-02T01:13:52
2021-09-02T01:16:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,293
py
from __future__ import annotations import inspect import pytest import typic def foo(arg, *args, kwd=None, **kwargs): # pragma: nocover pass def one(arg): # pragma: nocover pass def pos(arg, *args): # pragma: nocover pass def kwd(*, kwd=None): # pragma: nocover pass def kwarg(arg, **kwa...
[ "sean_stewart@me.com" ]
sean_stewart@me.com
f12efd5ed35fd74e1473fbc7a4e486b309acacb7
add74ecbd87c711f1e10898f87ffd31bb39cc5d6
/xcp2k/classes/_hydronium4.py
443fc603162a0a0656a7d260f804120f0b86d348
[]
no_license
superstar54/xcp2k
82071e29613ccf58fc14e684154bb9392d00458b
e8afae2ccb4b777ddd3731fe99f451b56d416a83
refs/heads/master
2021-11-11T21:17:30.292500
2021-11-06T06:31:20
2021-11-06T06:31:20
62,589,715
8
2
null
null
null
null
UTF-8
Python
false
false
3,357
py
from xcp2k.inputsection import InputSection from _point66 import _point66 class _hydronium4(InputSection): def __init__(self): InputSection.__init__(self) self.Oxygens = [] self.Hydrogens = [] self.Roo = None self.Pno = None self.Qno = None self.Roh = None ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
75d3b3834258ef72bfb6de302d88c71fb7d08026
dd9836546e93c6a080b2a3f01379648abe82d7f6
/sdk/test/test_filtered_client_payload_list_institution.py
1e887f5b5a291c053d55786b4ad7b9a8ef04f6d9
[ "MIT" ]
permissive
yapily/yapily-sdk-python
f5c21ff9dc59fecca97948f1e2b263e537d59a85
92ede62b0069fdffb7f22bfea92b91a93747c296
refs/heads/master
2022-12-10T09:24:54.029376
2022-11-25T12:42:30
2022-11-25T12:42:30
133,962,026
13
9
MIT
2022-02-11T16:57:11
2018-05-18T14:02:57
Python
UTF-8
Python
false
false
1,489
py
""" Yapily API The Yapily API enables connections between your application and users' banks. For more information check out our [documentation](https://docs.yapily.com/).<br><br>In particular, make sure to view our [Getting Started](https://docs.yapily.com/pages/home/getting-started/) steps if this is your fir...
[ "bitbucket@yapily.com" ]
bitbucket@yapily.com
43fb48803324825fa92d12d78fbc9e7e170ada28
f6371fe3c848a7dae6dc7a5325bc6f19be63046f
/2048.py
5a92587b6e99937d55c45028539cb48380f96576
[]
no_license
zhangdavids/2048youxi
9b8fe8dbc851b1a380197bd435b24e079dee7707
aee515288b922f7d353fbf3433b8fecd56d23125
refs/heads/master
2021-01-10T01:44:39.718816
2016-04-03T14:33:18
2016-04-03T14:33:18
55,350,492
2
0
null
null
null
null
UTF-8
Python
false
false
7,105
py
#!usr/bin/python #-*- coding:utf-8 -*- #导入需要的包 import curses from random import randrange, choice # generate and place new tile from collections import defaultdict #区分下大小写 letter_codes = [ord(ch) for ch in 'WASDRQwasdrq'] #用户行为 actions = ['Up', 'Left', 'Down', 'Right', 'Restart', 'Exit'] #行为关联 actions_dict = dict(zip...
[ "1269969739@qq.com" ]
1269969739@qq.com
70d96d19ee9e1ef10f8830c60a370e52578457b6
d0c34e4c346d59236da84b35ca0e5f032a997efd
/Python/Excel/xlrdwtDemo.py
7552d5d1b055c4012b435fc7fe6e38d79cfdcb04
[]
no_license
kinscloud/kinscloud.github.io
898b7309485493578a4ecbc1976b3e158f2a3d93
3ff8d74a85bcc62464796d529874fc9e226d120a
refs/heads/master
2022-12-14T22:01:34.245628
2020-05-31T02:49:05
2020-05-31T02:49:05
244,150,397
0
0
null
2022-12-08T04:02:36
2020-03-01T13:03:23
Python
UTF-8
Python
false
false
1,103
py
import xlrd,xlwt workbook = xlrd.open_workbook("testxls.xls") sheet = workbook.sheet_by_name("Sheet1") title_row = sheet.row(0) # print(title_row[0].value) # print(sheet.nrows) datas = [] for i in range(1,sheet.nrows): data_row = sheet.row(i) data ={} for j in range(sheet.ncols): ...
[ "yuan_haoting@163.com" ]
yuan_haoting@163.com
e304282d4c8f4ab18ba35702c0703ad72a67782a
b99619d109a5106155feb3f4c4e82cd97f0f4fa6
/ace/label.py
a8a6a53463714a6eeacb8267e2982af1e1460d45
[ "MIT" ]
permissive
chenruixiaoluoye/ACE
7b9ddbed7e0ce611d92b0d6e6b68758a3cf99d34
914d67d7ea879078ba8c9b5fe44dbdd3e3a886ff
refs/heads/master
2021-01-18T17:51:23.704640
2013-11-07T18:43:13
2013-11-07T18:43:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
# from nltk import * import re from collections import Counter class Labeler: ''' Labels articles with features. ''' def __init__(self): pass def extract_word_features(self, text, pattern=r'[^\sa-z\-]+', normalize=None): ''' Takes text from an article as input and returns a dict of features --> weights. ...
[ "tyarkoni@gmail.com" ]
tyarkoni@gmail.com
76f68c393e14fa5280deb2f7eb959af34d25c1b9
4dec0f934760ca69e40b62fa56b37a1aa3918b24
/test/test_secureTeaHeaders.py
80274e003a9517ebcf9c8c78454095994b267bc0
[ "MIT" ]
permissive
rejahrehim/SecureTea-Project
28ebc89f27ed59e3845b8c82f9316108cda40a24
43dec187e5848b9ced8a6b4957b6e9028d4d43cd
refs/heads/master
2020-03-27T12:36:21.779426
2019-09-02T16:01:55
2019-09-02T16:01:55
146,556,097
1
0
MIT
2018-08-29T06:35:54
2018-08-29T06:35:53
null
UTF-8
Python
false
false
1,645
py
# -*- coding: utf-8 -*- import unittest from securetea.lib.security_header import secureTeaHeaders try: # if python 3.x.x from unittest.mock import patch except ImportError: # python 2.x.x from mock import patch class TestSecureTeaHeaders(unittest.TestCase): """Test class for SecureTeaHeaders.""" ...
[ "abhishek_official@hotmail.com" ]
abhishek_official@hotmail.com
a01c9e08511b51bf50b3030a1e188422c644b72d
4d51545a8072fa8f67c16655ec4054239dbaa5c0
/migrations/versions/4d0367090b41_.py
3fdcd4b266f4e0ea0f7eee4bb1165c5a559795ed
[]
no_license
chaelysh6z/hanium
b3cf4360ab47d66c1bddbece542981577b173c68
78067717f1406e66033dfafb7f186159a6cb032e
refs/heads/master
2023-08-15T03:59:01.794004
2021-09-25T12:43:19
2021-09-25T12:43:19
410,238,513
0
0
null
null
null
null
UTF-8
Python
false
false
755
py
"""empty message Revision ID: 4d0367090b41 Revises: 220cbe1a485d Create Date: 2021-09-23 18:30:46.632858 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '4d0367090b41' down_revision = '220cbe1a485d' branch_labels = None depends_on = None def upgrade(): # ...
[ "renee8369@likelion.org" ]
renee8369@likelion.org
88f5ebcc36922a472a6c004c6d1820c5f74cf0bc
9efca95a55cb4df52d895d42f1ec10331516a734
/tools/c7n_azure/tests_azure/tests_resources/test_recovery_services.py
fcf0faa4c288f4e814cef3e704af19756b478d1b
[ "Apache-2.0" ]
permissive
cloud-custodian/cloud-custodian
519e602abe00c642786441b64cc40857ef5bc9de
27563cf4571040f923124e1acb2463f11e372225
refs/heads/main
2023-09-04T10:54:55.963703
2023-09-01T17:40:17
2023-09-01T17:40:17
52,837,350
3,327
1,096
Apache-2.0
2023-09-14T14:03:30
2016-03-01T01:11:20
Python
UTF-8
Python
false
false
972
py
# Copyright The Cloud Custodian Authors. # SPDX-License-Identifier: Apache-2.0 from ..azure_common import BaseTest, arm_template class RecoveryServicesTest(BaseTest): def test_recovery_services_schema_validate(self): with self.sign_out_patch(): p = self.load_policy({ 'name': '...
[ "noreply@github.com" ]
cloud-custodian.noreply@github.com
bc1f728763c7e47e6575a536dcee1578a9e44c46
8c5f61b9438f67d7439301c1f3995f2995873e0d
/trinity/protocol/eth/events.py
aa9aaf69900a7c927b7f82b25d9c5b8867bea93b
[ "MIT" ]
permissive
rampenke/trinity
9efb7de2f3911f393b3f2c23adea356f4acb4fb2
38fa6826b80bbda4f608e6dca366e468c362e3c2
refs/heads/master
2020-06-12T13:48:10.579223
2019-06-27T15:20:31
2019-06-27T15:20:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,948
py
from dataclasses import ( dataclass, ) from typing import ( List, Tuple, Type, ) from eth.rlp.blocks import BaseBlock from eth.rlp.headers import BlockHeader from eth.rlp.receipts import Receipt from eth.rlp.transactions import BaseTransactionFields from lahja import ( BaseEvent, ) from p2p.kademl...
[ "christoph.burgdorf@gmail.com" ]
christoph.burgdorf@gmail.com
a15d6f32d6627ee0cf9e94d8afbfa77f742f459d
148072ce210ca4754ea4a37d83057e2cf2fdc5a1
/src/core/w3af/w3af/plugins/attack/db/sqlmap/tamper/bluecoat.py
ff6756e0d26798db31aecb6f8529e3c75d34f196
[]
no_license
ycc1746582381/webfuzzer
8d42fceb55c8682d6c18416b8e7b23f5e430c45f
0d9aa35c3218dc58f81c429cae0196e4c8b7d51b
refs/heads/master
2021-06-14T18:46:59.470232
2017-03-14T08:49:27
2017-03-14T08:49:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,318
py
#!/usr/bin/env python """ Copyright (c) 2006-2015 sqlmap developers (http://sqlmap.org/) See the file 'doc/COPYING' for copying permission """ import re from lib.core.data import kb from lib.core.enums import PRIORITY __priority__ = PRIORITY.NORMAL def dependencies(): pass def tamper(payload, **kwargs): ...
[ "everping@outlook.com" ]
everping@outlook.com
0a2ec311dff71792436b0cdbcbde3e182282f8bb
da4bbc54b2310d2f00b89e8a7fb97f414bbc10d7
/tests/test_serializer.py
c52a07692a29f782a65e268c4b9cdf294eb9af35
[ "MIT" ]
permissive
auro-star/html-json-forms
13f0d00cccd8ba3e57254fd2e0e0ab1b85372c37
abffa4324a5f6d650283dd29deb347ba39d99e56
refs/heads/main
2023-02-21T12:57:34.213464
2020-01-10T02:16:45
2020-01-10T02:16:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
836
py
from rest_framework.test import APITestCase from tests.test_app.models import Parent class RestTestCase(APITestCase): def test_submit(self): response = self.client.post('/parents/', { 'name': 'Test', 'children[0][name]': 'Test 1', 'children[1][name]': 'Test 2', ...
[ "andrew@wq.io" ]
andrew@wq.io
39d71e94e2ca1adfb2160ba0450bec2dfbcefea0
a6cb9d2e4a2191a1177dd9eca8f464946654704c
/docs/examples/__init__.py
72588c5d9576d1340bb0e2a33d6866e9b6dd1811
[ "Apache-2.0" ]
permissive
peterlhn/dash-bootstrap-components
71a04479da96bef12d186404fd44cf0ded401b77
c222424f05fdbba6c05282c06b61b83b3c4a8ee5
refs/heads/master
2023-06-11T23:31:30.639330
2021-06-30T09:29:49
2021-06-30T09:29:49
294,058,430
0
0
Apache-2.0
2020-09-09T08:59:06
2020-09-09T08:59:05
null
UTF-8
Python
false
false
3,733
py
import os import re from pathlib import Path import dash import dash_bootstrap_components as dbc from jinja2 import Environment, FileSystemLoader from .vendor.graphs_in_tabs import app as git_app from .vendor.iris import app as iris_app HREF_PATTERN = re.compile(r'href="') HERE = Path(__file__).parent EXAMPLES = HE...
[ "tomcbegley@gmail.com" ]
tomcbegley@gmail.com
8eb52ea6863ebef6d0668ba54548d9644fd3731c
06685fa3aceb620ea13b593ddc52bba53300b93a
/monit/recipes/default.py
908930472420766a6bc81b416ce21f076548239c
[]
no_license
66laps/kokki-cookbooks
a900f958d346e35a35a05ed6cbb12bbe2f5bf4a4
6c059f8cda577c765083dfe92688094bc38dfd4b
refs/heads/master
2021-01-01T17:00:28.952170
2010-11-20T13:39:52
2010-11-20T13:39:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
from kokki import * Package("monit") File("%s/monitrc" % env['monit']['config_path'], owner = "root", group = "root", mode = 0700, content = Template("monit/monitrc.j2")) if env.system.platform == "ubuntu": File("/etc/default/monit", content = Template("monit/default.j2")) Directory("%s...
[ "samuel@descolada.com" ]
samuel@descolada.com
131730ae0dfc16ee2405747ef616b9f126049880
d2c4934325f5ddd567963e7bd2bdc0673f92bc40
/tests/artificial/transf_Integration/trend_MovingAverage/cycle_30/ar_/test_artificial_1024_Integration_MovingAverage_30__100.py
969df4a567f8ec74ee546288633ba4ba09693684
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
jmabry/pyaf
797acdd585842474ff4ae1d9db5606877252d9b8
afbc15a851a2445a7824bf255af612dc429265af
refs/heads/master
2020-03-20T02:14:12.597970
2018-12-17T22:08:11
2018-12-17T22:08:11
137,104,552
0
0
BSD-3-Clause
2018-12-17T22:08:12
2018-06-12T17:15:43
Python
UTF-8
Python
false
false
278
py
import pyaf.Bench.TS_datasets as tsds import pyaf.tests.artificial.process_artificial_dataset as art art.process_dataset(N = 1024 , FREQ = 'D', seed = 0, trendtype = "MovingAverage", cycle_length = 30, transform = "Integration", sigma = 0.0, exog_count = 100, ar_order = 0);
[ "antoine.carme@laposte.net" ]
antoine.carme@laposte.net
c6d124b769bc84c50f8a497e6c8e0f524c399100
6600834a4d2455e41a0b587c57f9fc606a39d1cb
/python/dnest4/sampler.py
b6c173256ab8e3c81fb725dab58cc4816c33d3d5
[ "MIT" ]
permissive
eggplantbren/DNest4
2504bc03f885ed98cc1e5a3302fd41b2a5c78291
15254a885f6720006070834e15e845b0df6c6860
refs/heads/master
2023-03-29T21:10:01.725767
2023-03-20T00:09:24
2023-03-20T00:09:24
47,721,004
59
23
MIT
2021-08-30T11:57:39
2015-12-09T21:46:21
C++
UTF-8
Python
false
false
1,255
py
# -*- coding: utf-8 -*- from .analysis import postprocess from .backends import MemoryBackend try: from ._dnest4 import sample as _sample except ImportError: _sample = None __all__ = ["DNest4Sampler"] class DNest4Sampler(object): def __init__(self, model, backend=None): if _sample is None: ...
[ "danfm@nyu.edu" ]
danfm@nyu.edu
60931f9c05009d545e4a09d9160315d49798defd
fa16525085e017babe82a779428aac062e8a72b6
/test/functional/feature_config_args.py
9c08f319248dd45769b842299ce376486592604a
[ "MIT" ]
permissive
minblock/baetcoin
381cb0fe9444404bc69d5b6c4e71beec6fc74429
8527c30b7c414b479ce7f60c1af31be0afbd63f1
refs/heads/master
2021-05-22T17:12:27.444781
2020-04-04T14:17:21
2020-04-04T14:17:21
253,015,556
0
0
null
null
null
null
UTF-8
Python
false
false
5,311
py
#!/usr/bin/env python3 # Copyright (c) 2017-2018 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test various command line arguments and configuration file parameters.""" import os from test_framewo...
[ "POSTMASTER@provgn.com" ]
POSTMASTER@provgn.com
d95b65bed944fae8e9c2fbf1340151d1f007f4e9
52b5773617a1b972a905de4d692540d26ff74926
/.history/length_20200528185715.py
3ea39907837c76154f9a178d2a6eea6680302f1a
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
def removeDuplicates(nums): length = len(nums) i = 0 for i in range(length): if nums[i] in nums: nums.remove(nums[i]) else: # for i in range(length): # print('i--------->',i) # for j in range(i+1,length): # print('j----->',j) ...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
25494d2bd6e4f43fef81a4f5b6eaf97f9b1bf970
6838d66f8dec23db63923f375438af2dd9fb22fe
/veci.py
ac79c7cb73d425d1b12de28ccdb49c58223331b3
[]
no_license
xCiaraG/Kattis
795ef7c463c60f362068f0d0e7c8ec8da4a69d19
ec08aa588f61d78937fb3c63bdb803e999fc9c36
refs/heads/master
2021-01-22T21:27:54.736451
2020-10-25T17:44:09
2020-10-25T17:44:09
85,432,383
9
9
null
2020-10-25T17:44:10
2017-03-18T21:13:13
Python
UTF-8
Python
false
false
520
py
def find_next_highest(num): prev = num[-1] i = len(num) - 2 while i > 0 and num[i] >= prev: prev = num[i] i -= 1 last = num[i] if i + 1 < len(num): tmp = num[i+1:] tmp = sorted(tmp) j = 0 while tmp[j] <= last: j += 1 prev = tmp[j] tmp[j] = last ...
[ "ciara.godwin3@mail.dcu.ie" ]
ciara.godwin3@mail.dcu.ie
eff332cddfac6e33b29f86fc23e80db171ef1789
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_rosters.py
f8631bb8682147eb7da6cb389f061eb4ec7083e6
[ "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
238
py
from xai.brain.wordbase.nouns._roster import _ROSTER #calss header class _ROSTERS(_ROSTER, ): def __init__(self,): _ROSTER.__init__(self) self.name = "ROSTERS" self.specie = 'nouns' self.basic = "roster" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
a60aa5073db426c3692adf396ef7d4fd84425185
94bd3bb35729a470cd2568f909184db4fbe916c0
/calculaPCT_grasspy_esc10000.py
53a708cff411da9907152a9b4e95f5049757a358
[]
no_license
JohnWRRC/Scripts_DelimitaBacias_TrabalhoFinalizado_Tadeu
a8b3b2f73b06f2d5eff0251cc45f283327cfefdc
544270aadbd7df379d0aeb4c231aa5bd79c4a827
refs/heads/master
2021-01-18T14:11:49.329090
2015-07-17T20:10:42
2015-07-17T20:10:42
39,273,273
0
0
null
null
null
null
UTF-8
Python
false
false
2,378
py
import grass.script as grass import os #mapa de vegetacao vegetacao="vegetacao_natural_cli_rast_30m_tif" mapa="mosaic_topodata_30m_extract_tif_10000_30m_vect" length=1 os.chdir(r'E:\data_2015\___john\Tadeu_finlandia\TXTs_PCT\esc_10000') def stats_area(mapa,id_map): id_map=id_map.replace('\n','') acumla_area=0...
[ "jw.ribeiro.rc@gmail.com" ]
jw.ribeiro.rc@gmail.com
59ac86859ebc3b4feecda7d118d1f89861e4695c
9a3262882123a0937d5b713919688ba7c580ae9f
/eslearn/utils/regression/multi_test2.py
5d1b0ec4b7a57ac57eedc26e5eb57905a0f1398d
[ "MIT" ]
permissive
sysunwenbo/easylearn
fa7f6dd6cf2e0e66780469dc7046b46e486574fd
145274cb374c0337b7ec5aed367841663c527a6f
refs/heads/master
2022-04-18T00:16:56.263547
2020-04-16T15:45:07
2020-04-16T15:45:07
256,792,139
0
1
MIT
2020-04-18T15:49:10
2020-04-18T15:49:09
null
UTF-8
Python
false
false
560
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 14 20:25:12 2018 @author: lenovo """ def func(msg): print (multiprocessing.current_process().name + '-' + msg) if __name__ == "__main__": pool = multiprocessing.Pool(processes=4) # 创建4个进程 for i in range(10): msg = "hello %d" %(i) pool.apply_a...
[ "you@example.com" ]
you@example.com