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
204b28dbe6e3e380bd5198a01b9c562dae452234
d512a6953008941caa36d47dcddb0dd8e3758d84
/train.py
106dcf890e8e14cd700ac5f803821ccdf661d56a
[]
no_license
alibuda/CCKS_QA
8dd541a51118cf5f9c168b909c14e3360aab351f
27394f91a499731b85b31c785b50f7418354580d
refs/heads/master
2020-04-20T05:14:19.780628
2018-08-12T09:13:34
2018-08-12T09:13:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,200
py
import tensorflow as tf from read_utils import TextConverter, batch_generator,load_origin_data,val_samples_generator import os import argparse # 用于分析输入的超参数 def parseArgs(args): """ Parse 超参数 Args: args (list<stir>): List of arguments. """ parser = argparse.ArgumentParser() test_args ...
[ "zoulingwei@cyou-inc.com" ]
zoulingwei@cyou-inc.com
2f08353be95a5c836ae59a52d53cd5a296acde31
78980891d3137810bf3a3c1bb229966b7f49f0dd
/data_structure/3/ll.py
f43ad13c667a531c3fbabe2aea2be2b7fd278900
[]
no_license
miniyk2012/leetcode
204927d3aefc9746070c1bf13abde517c6c16dc0
91ca9cd0df3c88fc7ef3c829dacd4d13f6b71ab1
refs/heads/master
2021-06-17T21:50:31.001111
2021-03-10T11:36:23
2021-03-10T11:36:23
185,042,818
1
0
null
null
null
null
UTF-8
Python
false
false
1,961
py
class LinkedList: def __init__(self): self.head = None def add(self, v): if self.head is not None: self.head.add(v) return self.head = Node(v) def print(self): if self.head: self.head.print() def pophead(self): ...
[ "yk_ecust_2007@163.com" ]
yk_ecust_2007@163.com
f5b0c0334a7c08a30029ae177be681688724e975
f2a12bc1435111dd4e2afda02834bb3cd53ed8d8
/vgc/__main__.py
5f412a68a21c70a6b59104fb498a550e4c5fe13e
[ "MIT" ]
permissive
reedessick/video-game-camp
c83504d63637bc8c2c8f8b4067ec277233b74d4d
09a324279c5ea9de87080f122fe27e1ef83d5373
refs/heads/master
2022-11-06T11:00:32.526460
2020-06-19T16:28:12
2020-06-19T16:28:12
272,338,754
0
0
null
null
null
null
UTF-8
Python
false
false
1,952
py
"""a basic menu from which users can navigate to different games they have designed. """ __author__ = 'Reed Essick (reed.essick@gmail.com)' #------------------------------------------------- import sys import inspect ### non-standard libraries import vgc #------------------------------------------------- def prin...
[ "reed.essick@ligo.org" ]
reed.essick@ligo.org
d89661ef6fd64a848d58e944a0359d58cf2e99c5
da172d7a739ee31c760bb06a2b979037dda01613
/ws/executors/wsgi_python.py
f9b7b669c752728cb333ef6fd1e85300accff134
[]
no_license
jonhillmtl/web-server
b5f87e315364b699275140bf5ad1b8475529f96a
4b6c123954dfdc07007a46dbf4799c2ba912c768
refs/heads/master
2020-03-27T20:31:31.247819
2018-09-04T20:12:15
2018-09-04T20:12:15
147,075,272
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
import os import importlib.util from .base import BaseRequestExecutor, InternalServerError class WsgiPythonRequestExecutor(BaseRequestExecutor): def serve(self): try: wsgi_path = os.path.expanduser(self.vhost['wsgi_path']) spec = importlib.util.spec_from_file_location("wsgi", wsgi...
[ "jon@jonhill.ca" ]
jon@jonhill.ca
0d275f55f7cdff67f7a818f11670631d05e5e8d4
dd4d1a61ec680a86d4b569490bf2a898ea0d7557
/appengine/monorail/features/test/notify_test.py
f5afea90ade1943de15a4c53668d3f91e3be59ee
[ "BSD-3-Clause" ]
permissive
mcgreevy/chromium-infra
f1a68914b47bcbe3cd8a424f43741dd74fedddf4
09064105713603f7bf75c772e8354800a1bfa256
refs/heads/master
2022-10-29T23:21:46.894543
2017-05-16T06:22:50
2017-05-16T06:22:50
91,423,078
1
1
BSD-3-Clause
2022-10-01T18:48:03
2017-05-16T06:23:34
Python
UTF-8
Python
false
false
12,412
py
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is govered by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd """Tests for notify.py.""" import json import os import unittest import urllib import webapp2 i...
[ "commit-bot@chromium.org" ]
commit-bot@chromium.org
bbb7f19a4b8a1e5ac6d8ac9f63eccd448a578c6a
6437a3a4a31ab9ad233d6b2d985beb50ed50de23
/PythonistaAppTemplate/PythonistaKit.framework/pylib_ext/sympy/printing/precedence.py
80f40e0636cbeabdc7f063514567ed517e9dc830
[]
no_license
sreyemnayr/jss-lost-mode-app
03ddc472decde3c17a11294d8ee48b02f83b71e7
3ff4ba6fb13f4f3a4a98bfc824eace137f6aabaa
refs/heads/master
2021-05-02T08:50:10.580091
2018-02-08T20:32:29
2018-02-08T20:32:29
120,813,623
1
0
null
null
null
null
UTF-8
Python
false
false
11,069
py
#\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo #\input texinfo ...
[ "ryanmeyersweb@gmail.com" ]
ryanmeyersweb@gmail.com
34106f33d7f4aec21edf9b7e288d4621593a29cb
2f0aa66e14c6595289f6a0de2bdf71e9922052a7
/nextApi/invitation/urls.py
b71dc47d9815d9986fa4dd3305973670cfc11d12
[]
no_license
aimethierry/NextApi
8f83a2b0f499fdf5118eb930baa051584cfd9aa5
90884ee6d900ce71116b40276dda0e97bec0b521
refs/heads/master
2022-12-11T09:03:54.981284
2020-09-19T12:40:36
2020-09-19T12:40:36
296,866,571
0
0
null
null
null
null
UTF-8
Python
false
false
221
py
from django.urls import path from rest_framework.urlpatterns import format_suffix_patterns from . import views from .views import InvitationView urlpatterns = [ path(r'createInvitation/', InvitationView.as_view()), ]
[ "aime.thierry97@gmail.com" ]
aime.thierry97@gmail.com
54e88f8afdc0c2207e7b3a33889e5d54e6ef2ea2
fcc88521f63a3c22c81a9242ae3b203f2ea888fd
/Python3/0816-Ambiguous-Coordinates/soln.py
6af316ab69487b3c7557024a2af3c249b1bc088c
[ "MIT" ]
permissive
wyaadarsh/LeetCode-Solutions
b5963e3427aa547d485d3a2cb24e6cedc72804fd
3719f5cb059eefd66b83eb8ae990652f4b7fd124
refs/heads/master
2022-12-06T15:50:37.930987
2020-08-30T15:49:27
2020-08-30T15:49:27
291,811,790
0
1
MIT
2020-08-31T19:57:35
2020-08-31T19:57:34
null
UTF-8
Python
false
false
1,079
py
class Solution: def ambiguousCoordinates(self, S): """ :type S: str :rtype: List[str] """ def valid(x): if '.' not in x: return str(int(x)) == x else: idx = x.find('.') int_part, frac_part = x[:idx], x[id...
[ "zhang623@wisc.edu" ]
zhang623@wisc.edu
039a0870e48a245cf17235ef7fc5554fe7700500
6671be3a542925342379d5f6fc691acfebbe281f
/discounts/src/consumer/sqs.py
4585bcd66519608533b7fb52fb144fef9dd70dc4
[ "Apache-2.0" ]
permissive
dalmarcogd/mobstore
e79b479b39474873043345b70f7e972f304c1586
0b542b9267771a1f4522990d592028dc30ee246f
refs/heads/main
2023-04-29T22:27:20.344929
2021-05-18T12:00:00
2021-05-18T12:00:00
365,539,054
0
0
Apache-2.0
2021-05-17T23:22:58
2021-05-08T14:46:34
Go
UTF-8
Python
false
false
1,391
py
import json import logging from typing import Callable, Dict, List import boto3 from src import settings _sqs = boto3.client('sqs', region_name=settings.AWS_REGION, aws_access_key_id=settings.AWS_ACCESS_KEY, aws_secret_access_key=settings.AWS_SECRET_KEY, en...
[ "dalmarco.gd@gmail.com" ]
dalmarco.gd@gmail.com
c905595be4974b75bdd595264c0e4286ffc165a2
2a3743ced45bd79826dcdc55f304da049f627f1b
/venv/lib/python3.7/site-packages/jedi/third_party/typeshed/third_party/3.5/contextvars.pyi
ab2ae9e5fabf3a9ae486f509156f09fc5fa1e70a
[ "MIT", "Apache-2.0" ]
permissive
Dimasik007/Deribit_funding_rate_indicator
12cc8cd7c0be564d6e34d9eae91940c62492ae2a
3251602ae5249069489834f9afb57b11ff37750e
refs/heads/master
2023-05-26T10:14:20.395939
2019-08-03T11:35:51
2019-08-03T11:35:51
198,705,946
5
3
MIT
2023-05-22T22:29:24
2019-07-24T20:32:19
Python
UTF-8
Python
false
false
1,130
pyi
from typing import Any, Callable, ClassVar, Generic, Iterator, Mapping, TypeVar, Union _T = TypeVar('_T') class ContextVar(Generic[_T]): def __init__(self, name: str, *, default: _T = ...) -> None: ... @property def name(self) -> str: ... def get(self, default: _T = ...) -> _T: ... def set(self, v...
[ "dmitriy00vn@gmail.com" ]
dmitriy00vn@gmail.com
c40e2fcb4e20ddf289e9e4beb5613e83b69cced8
c6b9b9f2fbc6c62e7a86b02718954661af3c564f
/configs/flownet2/flownet2cs_8x1_sfine_flyingthings3d_subset_384x768.py
ca4db07d952781b13f83d38c9d6347781425c2bc
[ "Apache-2.0" ]
permissive
open-mmlab/mmflow
a90ff072805ac79cbc0b277baded1e74d25cccf0
9fb1d2f1bb3de641ddcba0dd355064b6ed9419f4
refs/heads/master
2023-05-22T05:19:48.986601
2023-01-10T16:05:18
2023-01-10T16:05:18
428,493,460
808
110
Apache-2.0
2023-09-05T13:19:38
2021-11-16T02:42:41
Python
UTF-8
Python
false
false
374
py
_base_ = [ '../_base_/models/flownet2/flownet2cs.py', '../_base_/datasets/flyingthings3d_subset_384x768.py', '../_base_/schedules/schedule_s_fine.py', '../_base_/default_runtime.py' ] # Train on FlyingChairs and finetune on FlyingThings3D subset load_from = 'https://download.openmmlab.com/mmflow/flownet2/f...
[ "meowzheng@outlook.com" ]
meowzheng@outlook.com
4ab5b11e8bc7b4e9791245ba6efa0070a7fe2960
a28709c421e7f5db9af18476216abe7f41ed64cf
/frameworks/pytorch/examples/3_multi_outputs.py
9906ee9f5a410c22127a65cb4c7695e681695832
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
microsoft/antares
8269f93418306fdea14f89032bc861fd7cdf6b24
86317b035043daaae4f8bd8bb1bb3b8d1b9f648d
refs/heads/v0.3.x
2023-08-19T11:18:47.174186
2023-08-09T09:02:29
2023-08-09T09:02:29
274,578,755
262
37
NOASSERTION
2023-09-06T22:19:51
2020-06-24T04:58:46
C++
UTF-8
Python
false
false
906
py
#!/usr/bin/env python3 # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. import torch from antares_core.frameworks.pytorch.custom_op import CustomOp device = torch.device("cuda") if torch.cuda.is_available() else torch.device("cpu") dtype = torch.float32 kwargs = {'dtype': dtype, 'd...
[ "noreply@github.com" ]
microsoft.noreply@github.com
1e86280800dcaf3dbbd555ebced79e54636ff5b1
0139bdde50d922893e718221a69e1ca4cb89757d
/wssh/examples/cryptography-1.5/tests/hazmat/backends/test_openssl.py
4ec8d84e448b6d1c1dc5b07e82e87821d8a16584
[ "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause", "MIT" ]
permissive
nuaays/Miscellaneous_Scripts
79adc5d4a639f1c95d5206447593f89a813d2e06
803a3b30e8848bbcbce58eb12f9b25a12060a437
refs/heads/master
2021-01-10T05:46:24.227613
2017-08-04T02:30:18
2017-08-04T02:30:18
48,648,489
1
0
null
null
null
null
UTF-8
Python
false
false
27,735
py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import datetime import itertools import os import subprocess import sys i...
[ "nuaays@gmail.com" ]
nuaays@gmail.com
67927289ffd53208d56009d2b3654fc46cf8c258
ac0a4336abfa8f36079203b2ba2e104a59f3ed8b
/Multithreading/thread1.py
584a040d5525dfe8380e865d962c501eab646baa
[]
no_license
Michal-lis/python_playground
ea422df3c992c01bfe6df5621768df386583eed9
ec24b7456a0ee872acbcbfa54daa6634dfcfb7be
refs/heads/master
2022-11-05T20:50:14.809449
2019-01-11T13:25:09
2019-01-11T13:25:09
87,660,323
0
1
null
2022-10-17T11:27:43
2017-04-08T19:53:26
Tcl
UTF-8
Python
false
false
827
py
import threading import time ki = range(300) def calculate_5(li): pow5 = [] for e in li: for e in li: for e in li: pow5.append(pow(e, 5)) return pow5 def calculate_4(li): pow4 = [] for e in li: for e in li: for e in li: pow...
[ "michallis95@vp.pl" ]
michallis95@vp.pl
d4a90e6d064d0f890b8d6bd5f03b1b914263bf27
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/edabit/_Edabit-Solutions-master/Limit a Number's Value/solution.py
ce3b9f895d444972b8796e83f0b74883d8c75a31
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
385
py
___ limit_number(num, range_low, range_high __ num < range_low: r.. range_low ____ num > range_high: r.. range_high ____ r.. num ___ test print("test has started") __ limit_number(5, 1, 10) ! 5: print("error1") __ limit_number(-3, 1, 10) ! 1: print("error...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
57106cf1d9c1905a6e255803e406bf9aa13528ea
64076dd830b5740cf25f54fbf64c6784427801a2
/security.py
07a1b66e228677dbf3567bca4c517b48ceb23062
[]
no_license
Shiv2157k/flask_store
ee9113fa813365429dccb486cb14af6d307f9c0e
9fe0d74f9c83b00fa769a6bcb6557dca1dfd8d13
refs/heads/master
2022-11-26T01:56:28.865821
2020-08-02T22:28:05
2020-08-02T22:28:05
284,491,361
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
from werkzeug.security import safe_str_cmp from models.user import UserModel def authenticate(username, password): user = UserModel.find_by_username(username) if user and safe_str_cmp(user.password, password): return user def identity(payload): user_id = payload["identity"] return UserModel.fi...
[ "shiv2157.k@gmail.com" ]
shiv2157.k@gmail.com
2446169dfd9c23bd9ff066bc9404816a83fec2c0
f82349a5d9cb285ced7c52db1ce95c65f5fd0cf0
/mars/tensor/expressions/arithmetic/cos.py
ce9407c3b368b6138702495e84f7a15278b473a1
[ "MIT", "BSD-3-Clause", "OFL-1.1", "LicenseRef-scancode-unknown-license-reference", "Python-2.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
pingrunhuang/mars
8d2602356b6f4d9eb7c6dfe4b2c4536b4bdfc229
ae920c374e9844d7426d0cc09c0d97059dc5341c
refs/heads/master
2020-04-17T03:42:11.147774
2019-01-18T06:49:29
2019-01-18T06:49:29
166,196,676
0
0
Apache-2.0
2019-01-17T09:17:25
2019-01-17T09:17:25
null
UTF-8
Python
false
false
2,961
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright 1999-2018 Alibaba Group Holding Ltd. # # 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-...
[ "xuye.qin@alibaba-inc.com" ]
xuye.qin@alibaba-inc.com
a05127b405e68038f07aab774aed90fe51dd6642
9b2eb0d6b673ac4945f9698c31840b847f790a58
/pkg/test/test_fast_stats_builds_api.py
77236c6f0afa96f5aa495b7784829af15e744dd3
[ "Apache-2.0" ]
permissive
Apteco/apteco-api
6d21c9f16e58357da9ce64bac52f1d2403b36b7c
e8cf50a9cb01b044897025c74d88c37ad1612d31
refs/heads/master
2023-07-10T23:25:59.000038
2023-07-07T14:52:29
2023-07-07T14:52:29
225,371,142
2
0
null
null
null
null
UTF-8
Python
false
false
1,815
py
# coding: utf-8 """ Apteco API An API to allow access to Apteco Marketing Suite resources # noqa: E501 The version of the OpenAPI document: v2 Contact: support@apteco.com Generated by: https://openapi-generator.tech """ from __future__ import absolute_import import unittest import apteco_api...
[ "tim.morris@apteco.com" ]
tim.morris@apteco.com
c570a16420f515bd89d420f8231058e8acb26b1d
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_298/ch22_2020_09_09_12_15_01_157465.py
8803cbcb0895a39a98c1635aaa7138b86ea1db8d
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
195
py
a= input("Quantos cigarros voce fuma por dia? ") b= input("Ha quantos anos? ") a= int(a) b= int(b) def vida(a,b): fumado= a*b*365 perdido= (fumado)/144 return perdido print(vida(a,b))
[ "you@example.com" ]
you@example.com
104b1a43657e6f3c40b770581127e9bbd0589f0c
c14e31bdfed47fc9aaafd3b1100451551acff3c6
/source/accounts/forms.py
f038f43ec5d8eb1f212fdaa4b74836b1d7619c7c
[]
no_license
UuljanAitnazarova/reviews_project
79f6e423f111afa7a057fdf15e086559530a281c
74b64559bfaf1f9fcd3c78009fa4264c64bb9571
refs/heads/master
2023-04-23T04:38:59.266181
2021-05-01T12:56:15
2021-05-01T12:56:15
363,329,907
0
0
null
null
null
null
UTF-8
Python
false
false
1,908
py
from django.contrib.auth import get_user_model from django.contrib.auth.forms import UserCreationForm from django import forms from django.core.exceptions import ValidationError class MyUserCreationForm(UserCreationForm): class Meta(UserCreationForm.Meta): fields = ['username', 'email', 'first_name', 'la...
[ "u.aitnazarova@gmail.com" ]
u.aitnazarova@gmail.com
6ea43da81e9e349639a232afa4e830990a130077
8a4f6d02ea5f83c78543849d9e997458c7d615c9
/cleanup/transfer.py
430bbb97b0b4d07686165e55ba110e4f44538591
[]
no_license
jsl12/Picture-Cleanup
f5f2e3889b2894051e25f6347049fa4ea752235e
82c62dab9fe9a59ff6ec2905049d4667ad9d91d9
refs/heads/master
2020-12-09T02:03:42.979162
2020-04-08T15:04:05
2020-04-08T15:04:05
233,159,912
0
0
null
null
null
null
UTF-8
Python
false
false
1,706
py
import ftplib import logging from pathlib import Path from . import log LOGGER = logging.getLogger(__name__) def pull_from_phone( host, port, local_path, phone_path=None, ext='jpg', user='android', passwd='android'): ftp = ftplib.FTP() ftp.connect(host,...
[ "32917998+jsl12@users.noreply.github.com" ]
32917998+jsl12@users.noreply.github.com
f1a412eef19c821e3e3888ee78749efea6439ccd
f9294e64495dbe6d959380c1f1c313a9fc2ee8c4
/from_u_20207/wsgi.py
5cc0a495f5d9677c53f9ed5e37c419015474609e
[]
no_license
crowdbotics-apps/from-u-20207
38304624e5d2106502c8d459ad4e05af8ccc0ec8
951986384c17568b27505fb5aa4943b4c312749e
refs/heads/master
2022-12-14T22:55:34.251845
2020-09-11T15:32:28
2020-09-11T15:32:28
294,733,294
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
""" WSGI config for from_u_20207 project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
c29268709c89ea3b972d76ba5d5b1827978ad7dc
45dd427ec7450d2fac6fe2454f54a130b509b634
/homework_3/preparation1.py
2cd921e0e4dbfc35edb2a6c54fe16ec5985257e4
[]
no_license
weka511/smac
702fe183e3e73889ec663bc1d75bcac07ebb94b5
0b257092ff68058fda1d152d5ea8050feeab6fe2
refs/heads/master
2022-07-02T14:24:26.370766
2022-06-13T00:07:36
2022-06-13T00:07:36
33,011,960
22
8
null
null
null
null
UTF-8
Python
false
false
518
py
import pylab def show_conf(L, sigma, title, fname): pylab.axes() for [x, y] in L: for ix in range(-1, 2): for iy in range(-1, 2): cir = pylab.Circle((x + ix, y + iy), radius=sigma, fc='r') pylab.gca().add_patch(cir) pylab.axis('scaled') pylab...
[ "simon@greenweaves.nz" ]
simon@greenweaves.nz
a34c9c352f846d610a576e96d440f5c41e31f197
341bd2d71b6b6e3af734f16989aeb450e3e73624
/PCA9536_WDBZ/PCA9536_WDBZ.py
adb05997edaa4ecbe077a630777db9ae1e205939
[]
no_license
ControlEverythingCommunity/CE_PYTHON_LIB
5c170f7e3763ab3b160a5fc33f2bb96d4798c7e2
736b29434a451a384c2f52490c849239c3190951
refs/heads/master
2021-01-12T00:39:25.374689
2017-08-30T21:54:47
2017-08-30T21:54:47
78,751,564
7
7
null
2017-12-15T11:08:48
2017-01-12T14:05:11
Python
UTF-8
Python
false
false
6,014
py
# Distributed with a free-will license. # Use it any way you want, profit or free, provided it fits in the licenses of its associated works. # PCA9536_WDBZ # This code is designed to work with the PCA9536_WDBZ_I2CS I2C Mini Module available from ControlEverything.com. # https://shop.controleverything.com/products/w...
[ "apple@Yaddis-iMac.local" ]
apple@Yaddis-iMac.local
695020da160da49d3ff96237eb4b04bf19b2c942
fb78fd824e904705fb1ee09db8b3c20cc3902805
/django-blog-api/posts/views.py
ce41539ee2fd83cb2392599bd4c682a68868049b
[]
no_license
Roderich25/mac
8469833821ac49c539a744db29db5a41d755ad55
4f7fe281c88f0199b85d0ac99ce41ffb643d6e82
refs/heads/master
2023-01-12T05:55:12.753209
2021-11-26T01:16:24
2021-11-26T01:16:24
207,029,750
0
0
null
2023-01-07T11:49:23
2019-09-07T21:51:53
Jupyter Notebook
UTF-8
Python
false
false
1,231
py
from django.contrib.auth import get_user_model from rest_framework import viewsets # generics from .permissions import IsAuthorOrReadOnly from .models import Post from .serializers import PostSerializer, UserSerializer class PostViewSet(viewsets.ModelViewSet): permission_classes = (IsAuthorOrReadOnly,) querys...
[ "rodrigoavilasolis@gmail.com" ]
rodrigoavilasolis@gmail.com
ab0875ad6d3c9469a5818f5710f7de6bd10097db
5117fdfc5ce8399f72d12d519d1c1b5ea4a64c63
/examples/hh/ilql_hh.py
57500a06f128d6bc82a7bee9df5a855b5e5ca234
[ "MIT" ]
permissive
neevaco/trlx
cd1ccd0ad308742eaa1dcaedc64a3103637ff839
46231059f5a3fa256a25ec2a16f36b24b2b34055
refs/heads/main
2023-05-25T01:33:48.486866
2023-03-13T22:04:24
2023-03-13T22:04:24
615,039,599
0
0
null
2023-03-16T20:36:57
2023-03-16T20:36:56
null
UTF-8
Python
false
false
3,530
py
import json import os import sys from datasets import load_dataset from ppo_hh import create_reward_fn import trlx from trlx.data.default_configs import ( ILQLConfig, ModelConfig, OptimizerConfig, SchedulerConfig, TokenizerConfig, TrainConfig, TRLConfig, ) default_config = TRLConfig( ...
[ "noreply@github.com" ]
neevaco.noreply@github.com
b7742363da58a3b4a69edc0d133ad46617c3deaf
e31bbc636eb495eed5843d1a4b7f66d3525eecc6
/Examp/Python Advanced Exam - 27 June 2020/2.Snake.py
9d6a0ffe5c0adb9f9aea2b696c8ca43593217b01
[]
no_license
PullBack993/Python-Advanced
c6a24b68d2517589027d4af8dee80fe9f28490a2
3a9362b09555649eef797220dac1bba7a39df06e
refs/heads/main
2023-06-12T08:34:16.379021
2021-07-08T14:08:03
2021-07-08T14:08:03
358,933,332
1
0
null
null
null
null
UTF-8
Python
false
false
2,196
py
FOOD = '*' SNAKE = 'S' BURROWS = 'B' MOVE_SYMBOL = '.' MAX_FOOD = 9 def get_input(size): board = [] for _ in range(size): board.append([el for el in input()]) return board def find_snake(board, size): for row_i in range(size): for col_i in range(size): if board[row_i][col...
[ "turgay.durhanov.ismailov@gmail.com" ]
turgay.durhanov.ismailov@gmail.com
af89e467e5d5db861f9dfd5c9e22a755b28896d6
45c170fb0673deece06f3055979ece25c3210380
/toontown/coghq/DistributedCrate.py
f4b3afdd53272a72b3d62a17efb5645db1b1ad11
[]
no_license
MTTPAM/PublicRelease
5a479f5f696cfe9f2d9dcd96f378b5ce160ec93f
825f562d5021c65d40115d64523bb850feff6a98
refs/heads/master
2021-07-24T09:48:32.607518
2018-11-13T03:17:53
2018-11-13T03:17:53
119,129,731
2
6
null
2018-11-07T22:10:10
2018-01-27T03:43:39
Python
UTF-8
Python
false
false
11,934
py
#Embedded file name: toontown.coghq.DistributedCrate from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from toontown.toonbase.ToontownGlobals import * from CrateGlobals import * from toontown.toonbase.ToonPythonUtil import fitSrcAngle2Dest from direct.distributed import DistributedObject fr...
[ "linktlh@gmail.com" ]
linktlh@gmail.com
207afe79b2117970d554133c01f85e074c46ba24
944401a6292baa2d23b9738898e0b0cb199d0795
/lib/python2.7/idlelib/idle_test/htest.py
4f622b2f7a14d0e86e5c661ff62c2199ee03f22f
[ "Python-2.0" ]
permissive
sunnyweilai/Finding-Theme-Color-Palettes
cc84c93ce58abdd1802431c41bd59181d7a4f75b
4c38b112f5c40b43d6ec126e415b609c7fdc1f39
refs/heads/master
2022-12-21T09:41:31.187411
2019-04-30T14:50:17
2019-04-30T14:50:17
184,273,925
1
0
null
2022-12-07T03:46:55
2019-04-30T14:09:52
Python
UTF-8
Python
false
false
13,788
py
'''Run human tests of Idle's window, dialog, and popup widgets. run(*tests) Create a master Tk window. Within that, run each callable in tests after finding the matching test spec in this file. If tests is empty, run an htest for each spec dict in this file after finding the matching callable in the module named in ...
[ "wnn2260@gmail.com" ]
wnn2260@gmail.com
1712f8a239c3cea9372aa7f0697719b9add81465
97cbcd454be80f0b6f986b0a81e84570596a9368
/tests/basics/Functions32.py
a30fc83b58bdb7db17b6699db653ac8fd8964539
[ "Apache-2.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
keitheis/Nuitka
aff7bf348e12d772543018e6b464cbfa7eaf2d30
1e4f31e12cbd36ce2f6a785c61e0111639c258a9
refs/heads/master
2021-01-17T21:59:05.601349
2014-04-21T10:28:13
2014-04-21T10:28:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,183
py
# Copyright 2014, Kay Hayen, mailto:kay.hayen@gmail.com # # Python tests originally created or extracted from other peoples work. The # parts were too small to be protected. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the ...
[ "kay.hayen@gmail.com" ]
kay.hayen@gmail.com
f6eb37893e2c8398620ed9ef42a8aeb7319b6a93
108fc2873b5c07e4ad9515adc16bc8e9fdf7d021
/smorest_sfs/utils/imports.py
5e66ce484a3a2a64d10150b3e01da6c0b90d5117
[ "Apache-2.0" ]
permissive
ssfdust/yt-media
4ac5eba6a25830268f42b951e8307bb57e7baeeb
36c3d1977df5851d8df54846f0bc84be2b86e962
refs/heads/master
2021-08-08T09:40:31.241228
2020-05-11T03:11:20
2020-05-11T03:11:20
175,938,603
2
1
null
null
null
null
UTF-8
Python
false
false
1,631
py
# Copyright 2019 RedLotus <ssfdust@gmail.com> # Author: RedLotus <ssfdust@gmail.com> # # 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 # # Unles...
[ "ssfdust@gmail.com" ]
ssfdust@gmail.com
169a505b73cec2a76c9acc2e96ffc6cdcd3aaeaa
bc0fc1d06ee2822b696494d3a73eeb6c1af0360a
/androidfs/acestream.engine/data/plugins/viasat_embed.py
5f69a54cd37d0dae965f2594274dc2cc77b7545d
[]
no_license
elipatov/acestream.engine
cf41472b6435400022f19eb4b48c2a17a3afacbd
65849f78a0dc7749d0478c387e69bb14865bdaf3
refs/heads/main
2023-02-24T22:28:00.045198
2021-01-22T18:04:12
2021-01-22T18:04:12
329,993,224
4
1
null
null
null
null
UTF-8
Python
false
false
980
py
#-plugin-sig:Tgg2N/mlOCMuMUWR77aIuGUWncB0O1Mc6rLUOmnvO3hbpruyNpgRfDiH5IScd0JNZvzRHw3chwFWMgPzQskdvfDq8u01ZyGbSY5+Z5jK/bO6xZGV4kQumyH4jv59aQiqEjtHk8u7n7878oi1qpqMY1OEDTn6gK7fNE//2XroR9PfGcNTwhpvfoh6pEB2Yzww5I+8wh35cqtcS/oeIB98bXt3X2XOUb88OF8Oepd63G1OM3Lixc/MdVI37N+Kg8BoyBenl3PSpZwB9w7QJV7rRYWsBpnPmeXjLdrHWjzSDfyCK9U5KW3...
[ "evgeni.lipatov@idt.net" ]
evgeni.lipatov@idt.net
3cc3d36f75e036fa7a5e0def03e659cc73015e62
51363872687318ac54e815b51d16d44d214974a2
/build/turtlebot_msgs/catkin_generated/pkg.develspace.context.pc.py
278898f50424d4529ca17bcfc9c3b65ea13b5ba3
[]
no_license
pirmou/catkin_ws
2acee80a43f17841326d1b917931866d561648c3
abaac27209016a944bd3520d84e4dc3aab1abf2e
refs/heads/main
2023-02-17T04:44:03.927127
2021-01-10T17:40:02
2021-01-10T17:40:02
328,440,401
0
0
null
null
null
null
UTF-8
Python
false
false
511
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/pierremoussa/catkin_ws/devel/include".split(';') if "/home/pierremoussa/catkin_ws/devel/include" != "" else [] PROJECT_CATKIN_DEPENDS = "std_msgs;sensor_msgs;std_srvs;message_runtime".replace(';'...
[ "pierre.moussa18@me.com" ]
pierre.moussa18@me.com
96c92caa5ed1befcc1f92e68dcd7f0678b33848b
28e997a25e62b9c76fd4d3fd1e87436dc54b3178
/2_bioinformatics_stronghold/rosalind_RNAS.py
b9ef53081808f87d60e58a271a0f329028991977
[]
no_license
kangli-bionic/Rosalind
0bba97d86db51b91af480766155816ec9e1f05e6
6cae380f31498a991381c7c6f1d479d302615571
refs/heads/master
2021-01-02T09:13:49.665498
2016-08-16T20:54:48
2016-08-16T20:54:48
99,171,765
1
0
null
2017-08-03T00:07:24
2017-08-03T00:07:24
null
UTF-8
Python
false
false
1,289
py
#!/usr/bin/python ''' Rosalind: Bioinformatics Stronghold Problem: Wobble Bonding and RNA Secondary Structures URL: http://rosalind.info/problems/rnas/ Given: An RNA string s (of length at most 200 bp). Return: The total number of distinct valid matchings of basepair edges in the bonding graph of s. Assume that wob...
[ "kapoozy@gmail.com" ]
kapoozy@gmail.com
0f3e81225d78acd167476a5d00413cdf17c6da29
3655215852ee2fb1864dbfa1ce924290a2c4f4b9
/Assignment 8/str.py
86812ddfbfc152dc6de737a38e116eb6ebc80f38
[]
no_license
shubhamkanade/Niyander-Python
8b318df2b8ae33b943dcf83eb01c00577914ca59
2b6a4780707e26852aa950d7c3e54be1f3b2080b
refs/heads/main
2023-06-16T03:44:07.833619
2021-07-06T03:09:16
2021-07-06T03:09:16
383,021,140
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
list1 = "saurabh" for i in range(len(list1)): print(list1[i])
[ "shubhamkanade98@gmail.com" ]
shubhamkanade98@gmail.com
49630b6c37551aa5f2437053e72260c7fd273926
3816cc7dd655e7ede0c4ad9e9ccd7e541bdc88c2
/chapter_exercise.py
b62fa23aee0e3d380811259de0ccc1d2daa27cc7
[]
no_license
GBelzoni/ThinkBayes
5b32c8fac528f48ceebcd1d7394591b25582633b
a06ee2efd3687d6d129792bf5f1f7e5ac99e22f4
refs/heads/master
2021-01-23T21:39:12.740134
2014-06-08T11:38:22
2014-06-08T11:38:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,808
py
# -*- coding: utf-8 -*- import numpy import matplotlib from matplotlib import pylab, mlab, pyplot np = numpy plt = pyplot from IPython.display import display from IPython.core.pylabtools import figsize, getfigs from pylab import * from numpy import * from os import chdir chdir('C:\Users\PHCostello\Documents\UbuntuHome...
[ "patrickhcostello@gmail.com" ]
patrickhcostello@gmail.com
8329046888d401d5fffd22ffe9b07d4646213ac0
0567517ff7c0366b58e52d7fa96b651e97af5d82
/apps/smartpipe/migrations/0014_project_geometry.py
7afb86374c9d472435fcd7586edc5c61f5c73554
[]
no_license
m6ttl/smartpipes
fdb9976b11d6c520953c240872d2574b1a69ec55
2d5846143dbf7b44c36491dd1787c36ebbe4fe0d
refs/heads/master
2022-12-09T10:46:38.594820
2020-03-09T13:01:07
2020-03-09T13:01:07
246,028,233
0
0
null
2022-12-08T03:46:02
2020-03-09T12:20:32
HTML
UTF-8
Python
false
false
490
py
# Generated by Django 2.0.1 on 2020-02-16 15:47 import DjangoUeditor.models from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('smartpipe', '0013_pipedetail_tem'), ] operations = [ migrations.AddField( model_name='project'...
[ "steve_wei@163.net" ]
steve_wei@163.net
69e0a610209790bf516dcdab0f40d9cfdbf81ce1
de915073d42855cafad97adca348a46b2de92626
/test_settings.py
78b2b91a07ed1d32b6f0899527bb6cb81f060ef5
[ "MIT" ]
permissive
koonalb/django-knockout-modeler
f4b1418594701d270e1a5e1a45a5dcdec9a88f73
29e5e939acba8fb3bd7fcad7726eb1115bd1e420
refs/heads/master
2021-01-17T21:43:28.496690
2015-11-10T23:45:15
2015-11-10T23:45:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
191
py
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } SECRET_KEY = "secret_key_for_testing" INSTALLED_APPS = ['knockout_modeler']
[ "rich@anomos.info" ]
rich@anomos.info
80a3e5a20b477376b8ff06266e6480a8e92aef97
2f98aa7e5bfc2fc5ef25e4d5cfa1d7802e3a7fae
/python/python_14807.py
1c4944b19c8681435a7d2fcc608a1ce5faee96ac
[]
no_license
AK-1121/code_extraction
cc812b6832b112e3ffcc2bb7eb4237fd85c88c01
5297a4a3aab3bb37efa24a89636935da04a1f8b6
refs/heads/master
2020-05-23T08:04:11.789141
2015-10-22T19:19:40
2015-10-22T19:19:40
null
0
0
null
null
null
null
UTF-8
Python
false
false
92
py
# How can I make Python with Colorama print coloured text after compiling it to an .exe? -w
[ "ubuntu@ip-172-31-7-228.us-west-2.compute.internal" ]
ubuntu@ip-172-31-7-228.us-west-2.compute.internal
4b3776fb2af490e0f28b4baca4d019143be9046c
e3b5e20bcb560a3c37c09f728b9340b1715c1818
/venv/lib/python3.7/site-packages/plotly/validators/splom/dimension/axis/__init__.py
a6db85fff6ce1e67482945d3cdb1d6860e3f789b
[ "MIT" ]
permissive
180Studios/LoginApp
63bc50b1f91e7221c7581627ab166eeb01758f5c
66ff684a81b23d8f45eef2c56be19a2afd95ab29
refs/heads/master
2022-12-24T00:33:08.481826
2020-02-03T05:14:41
2020-02-03T05:14:41
144,414,562
0
1
MIT
2022-12-08T01:38:26
2018-08-11T19:57:44
Python
UTF-8
Python
false
false
72
py
from ._type import TypeValidator from ._matches import MatchesValidator
[ "kylenahas@gmail.com" ]
kylenahas@gmail.com
55ccd49a7f8ec347c90757fd4cb841d531674772
05fda9758bb71133b85ce6a58ce9dbc8fdc18fc7
/resources/eth/history.py
9d047cedb23e4c491af577a0ccc572b8f5791404
[ "MIT" ]
permissive
yanrising/bitez
82e3572d689989e37f5d8d3ab06bd764b036e64f
c0d9b052cbc8eb1c9884c287e34705b0a2f73bb1
refs/heads/master
2023-01-04T14:12:18.651916
2019-10-17T14:31:25
2019-10-17T14:31:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# tx count import requests from config import INFURA_API_KEY, CRYPTO_NETWORK # block param: loop 'latest', 'pending' def eth_tx_count(address, block): if CRYPTO_NETWORK == 'mainnet': net = 'https://mainnet.infura.io/v3/'+INFURA_API_KEY elif CRYPTO_NETWORK == 'testnet': net = 'https://ropsten.in...
[ "merwanedr@gmail.com" ]
merwanedr@gmail.com
dbfbc4a50c99a3dd737fc5753fcef35b7ebc2477
723ea3f47a45fe756c4a77809eb2a4d6b98bc733
/crackfun/1. Two Sum.py
cadb1db2bf7fd90a71675399516afeef26c591c5
[]
no_license
JoyiS/Leetcode
a625e7191bcb80d246328121669a37ac81e30343
5510ef424135783f6dc40d3f5e85c4c42677c211
refs/heads/master
2021-10-21T05:41:00.706086
2019-03-03T06:29:14
2019-03-03T06:29:14
110,296,869
0
0
null
null
null
null
UTF-8
Python
false
false
442
py
''' 1/22/2018 Understand the hash function usage here ''' class Solution: # @return a tuple, (index1, index2) # 8:42 def twoSum(self, nums, target): """ :type nums: List[int] :type target: int :rtype: List[int] """ d={} for i, n in enumerate(nums): ...
[ "california.sjy@gmail.com" ]
california.sjy@gmail.com
3c735398dd09e42e3d9e33e053474404254a5988
6f06a519bc5a89464d95702fa27fa663ad4eb8f8
/stateChangeTest_Full.py
bf9ac9366ed460aba7182baba230030da5b92572
[]
no_license
chrismaurer/chrism
64e71397bfffcd76aa5a12cc1394fad2c8939d76
b0a30d5cbe4602a32ad494e2550219d633edf2db
refs/heads/master
2021-06-04T07:53:15.212812
2021-01-19T13:23:22
2021-01-19T13:23:22
112,128,681
0
0
null
null
null
null
UTF-8
Python
false
false
3,032
py
import time import pyscreenshot from pyrate.builder import Builder from pyrate.ttapi.predicates import CallbackType from pyrate.ttapi.manager import Manager from pyrate.ttapi.order import TTAPIOrder from ttapi import aenums, cppclient from pyrate.exceptions import TimeoutError from captain.controlled import con...
[ "chris.maurer@tradingtechnologies.com" ]
chris.maurer@tradingtechnologies.com
7902f1f901a4002347a8a5287c8699239944a7d0
0b6966a75a4c62393a38a73df5a779228639c42c
/active_selection/softmax_entropy.py
024feddbae9822212fb02b22c24cb73a610c2eaf
[]
no_license
Shuai-Xie/DEAL
7cbec778bcc83b633a1c3319d9b00c8b0f98aa00
06ff3ba29196e276376a9cf8d868d54fd2db2680
refs/heads/master
2023-08-29T20:03:44.867280
2021-11-12T07:50:28
2021-11-12T07:50:28
300,126,893
25
2
null
null
null
null
UTF-8
Python
false
false
2,612
py
import torch from datasets.base_dataset import BaseDataset from datasets.transforms import get_transform from tqdm import tqdm import numpy as np from torch.utils.data import DataLoader from utils.misc import * class SoftmaxEntropySelector: def __init__(self, dataset, img_size): self.dataset = dataset ...
[ "shuaixie@zju.edu.cn" ]
shuaixie@zju.edu.cn
64f6d5d175541c818f8df3fab0c13c4a310d2b8c
b521802cca8e4ee4ff5a5ffe59175a34f2f6d763
/maya/maya-utils/Scripts/Animation/2019-2-15 Tim Cam_Route_Manager/.history/Cam_Con/Cam_Con/Cam_Con_20190119103655.py
82dc55f54efa3014614d149f07da48a4e3fa3c34
[]
no_license
all-in-one-of/I-Do-library
2edf68b29558728ce53fe17168694ad0353a076e
8972ebdcf1430ccc207028d8482210092acf02ce
refs/heads/master
2021-01-04T06:58:57.871216
2019-12-16T04:52:20
2019-12-16T04:52:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,917
py
# -*- coding:utf-8 -*- # Require Header import os import json from functools import partial # Sys Header import sys import traceback import subprocess # Maya Header import maya.cmds as cmds import maya.mel as mel import maya.OpenMayaUI as omui import plugin.Qt as Qt from Qt.QtCore import * from Qt.QtGui import * f...
[ "2595715768@qq.com" ]
2595715768@qq.com
bf8e2477790da52a16f688d27eb6a02702cb161f
f8e8e365c9cf58b61d72655bc2340baeaed5baff
/Leetcode/Python Solutions/Graphs/Topological Sort/CourseSchedule.py
f05e3d1eba4cfe067b0698fe737dc72053b0f877
[ "MIT" ]
permissive
Mostofa-Najmus-Sakib/Applied-Algorithm
39a69f6b9ed113efe4a420d19cad79e0aa317637
bc656fd655617407856e0ce45b68585fa81c5035
refs/heads/master
2023-08-31T19:54:34.242559
2021-11-05T03:43:35
2021-11-05T03:43:35
412,263,430
0
0
MIT
2021-09-30T23:45:29
2021-09-30T23:45:25
null
UTF-8
Python
false
false
1,985
py
""" LeetCode Problem: 207. Course Schedule Link: https://leetcode.com/problems/course-schedule/ Language: Python Written by: Mostofa Adib Shakib Time Complexity: O(V+E) Space Complexity: O(V) """ # Kahn's Topological Sort Algorithm from collections import defaultdict class Solution(object): def __init__(self): ...
[ "adibshakib@gmail.com" ]
adibshakib@gmail.com
ee0d4a993477b4bc71f38b3426fb8bd6b5200825
edc1134436a79ca883a0d25f3c8dfffc4235c514
/pyro/infer/reparam/projected_normal.py
4a4f1a27789a4f797c3902a0494b284ab57b3005
[ "Apache-2.0" ]
permissive
pyro-ppl/pyro
2283d8ca528fc090c724a3a6e0f344e505ebbf77
0e82cad30f75b892a07e6c9a5f9e24f2cb5d0d81
refs/heads/dev
2023-08-18T00:35:28.014919
2023-08-06T21:01:36
2023-08-06T21:01:36
94,506,832
3,647
606
Apache-2.0
2023-09-14T13:52:14
2017-06-16T05:03:47
Python
UTF-8
Python
false
false
1,697
py
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 import torch import pyro import pyro.distributions as dist from pyro.ops.tensor_utils import safe_normalize from .reparam import Reparam class ProjectedNormalReparam(Reparam): """ Reparametrizer for :class:`~pyro.distributi...
[ "noreply@github.com" ]
pyro-ppl.noreply@github.com
321daaf3a06bfa4f6dc23b6ebd71a79346bc88c6
531c47c15b97cbcb263ec86821d7f258c81c0aaf
/sdk/datalake/azure-mgmt-datalake-store/azure/mgmt/datalake/store/models/create_trusted_id_provider_with_account_parameters_py3.py
66fc5888e5af2ea2e35259a9e9c04b265632b181
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
YijunXieMS/azure-sdk-for-python
be364d3b88204fd3c7d223df23756386ff7a3361
f779de8e53dbec033f98f976284e6d9491fd60b3
refs/heads/master
2021-07-15T18:06:28.748507
2020-09-04T15:48:52
2020-09-04T15:48:52
205,457,088
1
2
MIT
2020-06-16T16:38:15
2019-08-30T21:08:55
Python
UTF-8
Python
false
false
1,472
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes ...
[ "lmazuel@microsoft.com" ]
lmazuel@microsoft.com
2e8ab7828b6fafbd986642be92a72261fc8d5428
34578a08451dc124f02fbba92a219da3347059cd
/.history/tools/views_20190430183042.py
79c4d1509e1b4cb84291f467d8bc49e00bd374b8
[]
no_license
gwjczwy/CTF-Exercises
b35d938b30adbc56c1b6f45dc36cea1421c702fb
c2d5c47f5047b1601564453e270ce50aad7f56fc
refs/heads/master
2020-05-25T23:51:26.190350
2019-05-22T13:18:59
2019-05-22T13:18:59
188,042,255
0
0
null
null
null
null
UTF-8
Python
false
false
5,688
py
from django.shortcuts import render from django.views.decorators.csrf import csrf_exempt from django.http import HttpResponse from django.contrib.auth.decorators import login_required from json import dumps from .models import Url,Money import time ######################### #主页 @login_required def index(requests): ...
[ "zwy053@163.com" ]
zwy053@163.com
b80454a40c9ebcd6c05af124a3088166decdd9de
9064fc0b780d3632163e3a73e9f73fdf8aa7f80e
/battle.py
437281049435ea30d822f1403221dcdffae51323
[]
no_license
poteto1212/myapp-flask-
c752751cb26898eaa419b410d7b02ae4a608712a
3c6714dfad0ca59b92c5a2ab261f4dcc11e255b1
refs/heads/master
2023-03-15T02:14:11.041245
2021-03-28T07:51:34
2021-03-28T07:51:34
351,810,193
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
from flask import Flask, request, render_template app = Flask(__name__) players = ["勇者", "戦士", "魔法使い", "忍者"] @app.route("/")#テンプレートのgetメソッドに直接表示 def show(): message = "あらたなモンスターがあらわれた!" return render_template("battle.html", message = message, players = players) @app.route("/result", methods=["POST"...
[ "you@example.com" ]
you@example.com
8b218abc4a3878b1c37aa9b451d5db94469a9754
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_vials.py
e2e2135144acb3eec3b153e8a65f424466bd7147
[ "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
224
py
from xai.brain.wordbase.nouns._vial import _VIAL #calss header class _VIALS(_VIAL, ): def __init__(self,): _VIAL.__init__(self) self.name = "VIALS" self.specie = 'nouns' self.basic = "vial" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
668598c1677135991798fc681fc9b79dbb890462
f4b7207e407d4b8d693cb1f549228f0e9dfe15f2
/wizard/__init__.py
f5dd943f161b34c98e06101b0fee4d8e53968bd8
[]
no_license
cgsoftware/BomForTemplate-
c74943790da9c49e44ac58ba3f15f9785f363483
acbfcf0269c1c239c34a5505e01dca0653a046b9
refs/heads/master
2016-09-08T01:22:12.331360
2011-07-26T14:25:25
2011-07-26T14:25:25
2,107,254
0
0
null
null
null
null
UTF-8
Python
false
false
987
py
# -*- encoding: utf-8 -*- ############################################################################## # # Copyright (C) 2009 Domsense SRL (<http://www.domsense.com>). # All Rights Reserved # $Id$ # # This program is free software: you can redistribute it and/or modify # it under the terms of the ...
[ "g.dalo@cgsoftware.it" ]
g.dalo@cgsoftware.it
6063f7361ab755af9ef9d192f4341075d6c01b0e
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/Games/Cheese Boys/cheeseboys/character/navpoint.py
2303769f6de56879ddc36d3ff5acaca3a6e1bd2d
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:e6854cdd531b75169a9912aa95b5fb937517d9124a0c484cac9b640d801e35fa size 4235
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
112d51dc7aeee6b51999754cea1d6531ecd117dc
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_personifies.py
cec8300a13cfbafaf3a5631fe6f9b682c22c0460
[ "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
261
py
from xai.brain.wordbase.verbs._personify import _PERSONIFY #calss header class _PERSONIFIES(_PERSONIFY, ): def __init__(self,): _PERSONIFY.__init__(self) self.name = "PERSONIFIES" self.specie = 'verbs' self.basic = "personify" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
4f2aa479c10a74a807ed92d08466b41ffdcac02d
cb20ef5b4048457a2e6dca4a4cb45c53c9843744
/scripts/migration/2017022_migraterouterosvlan.py
6191cdfe265c19448e444e923ea100168d288c7c
[]
no_license
rudecs/openvcloud
5001b77e8d943427c1bed563f3dcc6b9467936e2
12ccce2a54034f5bf5842e000c2cc3d7e22836d8
refs/heads/master
2020-03-24T00:00:10.422677
2018-11-22T13:41:17
2018-11-22T13:41:17
142,267,808
2
1
null
2018-07-25T08:02:37
2018-07-25T08:02:36
null
UTF-8
Python
false
false
435
py
from JumpScale import j vcl = j.clients.osis.getNamespace('vfw') ccl = j.clients.osis.getNamespace('cloudbroker') for vfw in vcl.virtualfirewall.search({})[1:]: space = next(iter(ccl.cloudspace.search({'gid': vfw['gid'], 'networkId': vfw['id']})[1:]), None) if space: externalnetwork = ccl.externalnetwo...
[ "deboeck.jo@gmail.com" ]
deboeck.jo@gmail.com
4d44108df374a32aec622b77ee7de26ed9b32be8
0809ea2739d901b095d896e01baa9672f3138825
/jobproject_4/jobApp/forms.py
c5d11f10832fc3d8d286690d106532d7052c0a19
[]
no_license
Gagangithub1988/djangoprojects
dd001f2184e78be2fb269dbfdc8e3be1dd71ce43
ea236f0e4172fbf0f71a99aed05ed7c7b38018e2
refs/heads/master
2022-11-15T23:46:46.134247
2020-07-15T06:37:51
2020-07-15T06:37:51
273,479,403
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from django import forms from jobApp.models import Hyderabad_jobs,Mumbai_jobs,Pune_jobs,Bangalore_jobs class hydjobsForm(forms.ModelForm): class Meta: model=Hyderabad_jobs fields='__all__' class punejobsForm(forms.ModelForm): class Meta: model=Pune_jobs fields='__all__' class mu...
[ "djangopython1988@gmail.com" ]
djangopython1988@gmail.com
375e89d3f8a2b3ccbf4dd393faeedd95a83ff1de
2bc0ecba05876be2a674bdc215ed7bf7332956aa
/Challenges_2020_public/misc/Disconfigured/challenge/src/cogs/notes_cog.py
ae73712d66d0430e36af60d67846c105e562b1f3
[ "MIT" ]
permissive
Silentsoul04/ctfs
04c29c28347f3336d8feb945da20eba83326699e
fa3b187be2c8a1d20f414c2b37277d3961a366b0
refs/heads/master
2023-02-18T10:20:46.508273
2021-01-23T18:30:57
2021-01-23T18:30:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,749
py
from __future__ import annotations from datetime import datetime from os import environ from discord import ChannelType, Embed, Message from discord.ext import commands, menus from models.note import Note from util import db from util.logger import get_logger logger = get_logger(__name__) MAX_ALLOWED_NOTES = int(...
[ "you@example.com" ]
you@example.com
8df9f667b2eeb9681ccbf493100549ddcaf96614
34691663465d37f3c24c004c27646ba070ef5198
/tomopy_ui/config.py
4837ee85aaeaa05d5d57573985fb07f5df696d6c
[]
no_license
cpchuang/tomopy_ui
ff8df8809286ff1a8dbf968e3b46b12c66da7d40
a2e64d87b9b8269b90ba56be94f422474b905474
refs/heads/main
2023-07-15T19:48:18.801354
2021-08-19T02:14:01
2021-08-19T02:14:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,587
py
import os import sys from ij import IJ from os.path import expanduser home = expanduser("~") CONFIG_FILE_NAME = os.path.join(home, "tomopy_ui.txt") class DatasetParameters: def __init__(self, fields): self.fields = fields self.set() def set(self): self.fname = "" self.ene...
[ "decarlof@gmail.com" ]
decarlof@gmail.com
f01a4e45032fd480b41bd4849f40822f0f9a7cb5
4a804eff13e52adf4d8c8e0ccf54ddf60470f87f
/tdigest/__init__.py
20396a15703af7a40d5c3957263c39639a1253aa
[ "MIT" ]
permissive
IntegersOfK/tdigest
997fb7fad4f0e7adb8d0e25c1b02ea8e449b9a50
879a2fc6f0ce36925b0a29f2ce83244d79cba364
refs/heads/master
2021-09-08T06:41:20.623122
2018-03-08T01:27:05
2018-03-08T01:27:05
120,136,449
0
0
null
2018-02-03T22:44:54
2018-02-03T22:44:54
null
UTF-8
Python
false
false
51
py
from .tdigest import TDigest __version__ = "0.5.0"
[ "cam.davidson.pilon@gmail.com" ]
cam.davidson.pilon@gmail.com
cf0b9cdd5d82ab982ce3bd9f1ff077f2de5eb38d
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/keyvault-preview/azext_keyvault_preview/vendored_sdks/azure_mgmt_keyvault/_version.py
93ed747b94265f5417e23205ffd9859524ab0665
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
345
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # ---------------------------------------------------------------------...
[ "noreply@github.com" ]
Azure.noreply@github.com
365bda0ab035c045fe5cb3cca87d84322833509a
6f21068b31084e81f38db304a51a2609d8af37cd
/2_Scientific_Libraries/plottypes.py
35d0f603d222150bf508e57c4626974bd928f729
[]
no_license
vickyf/eurocontrol_datascience
374b889cac7b8d377caa78079fb57098e73bba0a
0a7c09002e3b5f22ad563b05a6b4afe4cb6791d7
refs/heads/master
2020-03-19T06:03:14.864839
2018-06-04T07:24:25
2018-06-04T07:24:25
135,986,678
1
0
null
null
null
null
UTF-8
Python
false
false
922
py
%matplotlib inline import matplotlib.pyplot as plt import numpy as np #simple plot x = np.arange(0,2*np.pi,0.1) y_cos,y_sin = np.cos(x),np.sin(x) plt.subplot(2,2,1) plt.plot(x,y_sin,color = "blue") plt.plot(x,y_cos,color = "red", linewidth = 3, linestyle = '--') plt.title('Simple plot') plt.xticks(()) plt.yticks(()) ...
[ "vicky.froyen@infofarm.be" ]
vicky.froyen@infofarm.be
41d0a17ac3c3cc7c90992fc154448f084c0fd0cf
06ee12fb2efa2c67ef1b711450df75af73ef45cd
/day15/08-飞机大战-抽取基类.py
5c09a0f870bf57a7091073eb1b030bd7ec486959
[]
no_license
itkasumy/PythonGrammer
c5ed00db3097b8a7dedd49cff79b817e3488d6d9
33f17c20ee6533beae1cf422ba5c1376b3765e20
refs/heads/master
2020-04-05T15:11:17.337134
2018-11-13T05:37:13
2018-11-13T05:37:13
156,957,530
0
0
null
null
null
null
UTF-8
Python
false
false
4,575
py
import pygame from pygame.locals import * import time import random class Base(object): def __init__(self, screen, x, y, imgPath): # 子弹的坐标 self.x = x self.y = y # 子弹的图片 self.imagePath = imgPath self.image = pygame.image.load(self.imagePath) # 显示窗口 s...
[ "18500682038@163.com" ]
18500682038@163.com
355024ce6827f5d9554258b98a1491c97c09aa07
33c5ba033aaed849328a4d12a07d69603e3bf499
/rer/groupware/multilanguage/extender.py
ebd4b7027e5f26470dab5904970fd637baa44348
[]
no_license
PloneGov-IT/rer.groupware.multilanguage
aa543585b7838246c1f5febd19d4e6dc99133074
6ad3df7ee20be7d0e67845ffef00a6196f39e35f
refs/heads/master
2021-01-21T17:46:05.658255
2014-11-24T09:49:38
2014-11-24T09:49:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,477
py
# -*- coding: utf-8 -*- from archetypes.schemaextender.field import ExtensionField from archetypes.schemaextender.interfaces import IBrowserLayerAwareExtender, ISchemaExtender from Products.Archetypes.atapi import StringField from Products.Archetypes.Widget import LanguageWidget from Products.ATContentTypes.interface.i...
[ "andrea.cecchi85@gmail.com" ]
andrea.cecchi85@gmail.com
d17faf34688e61a8f5ae8d398a70f3dd580da293
83a7b4d45d3ef9429d2cea41ae55d75ac8686adb
/docs/conf.py
8f39ce36149b8d7ffa0e22e51a90537466655d59
[ "Apache-2.0" ]
permissive
spectosi/django-fluent-contents
67f4b8bd00563f9fb302534090ca8246633dbdf8
65045b59aa990887dda2b8f782fe22a9479f21d0
refs/heads/master
2021-01-17T22:19:37.085938
2015-03-04T13:15:58
2015-03-04T13:15:58
31,657,759
0
0
null
2015-03-04T13:14:14
2015-03-04T13:14:13
null
UTF-8
Python
false
false
8,398
py
# -*- coding: utf-8 -*- # # django-fluent-contents documentation build configuration file, created by # sphinx-quickstart on Wed Dec 21 15:06:42 2011. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerate...
[ "vdboor@edoburu.nl" ]
vdboor@edoburu.nl
d93cf0794aaf261eee7c9533501b596587fb860a
ccbfc7818c0b75929a1dfae41dc061d5e0b78519
/aliyun-openapi-python-sdk-master/aliyun-python-sdk-green/aliyunsdkgreen/request/v20180509/DeleteSimilarityImageRequest.py
af9a11a5bf184b26700c4e8d21344d8584e5751d
[ "Apache-2.0" ]
permissive
P79N6A/dysms_python
44b634ffb2856b81d5f79f65889bfd5232a9b546
f44877b35817e103eed469a637813efffa1be3e4
refs/heads/master
2020-04-28T15:25:00.368913
2019-03-13T07:52:34
2019-03-13T07:52:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,239
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "1478458905@qq.com" ]
1478458905@qq.com
34a22dd742197816b0ddfde3ab0c04498b9b2002
cad762658ab8326d7f43bba6f69df35a8b770e34
/test/test_markdown_paragraph_series_n.py
d1bd2e12a1b0e76f790508005135624dde7ad346
[ "MIT" ]
permissive
ExternalRepositories/pymarkdown
9c248b519791a4c869d1e71fa405c06d15ce553b
479ace2d2d9dd5def81c72ef3b58bce6fb76f594
refs/heads/main
2023-08-28T03:45:25.536530
2021-10-31T19:39:22
2021-10-31T19:39:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
28,216
py
""" https://github.github.com/gfm/#paragraph """ import pytest from .utils import act_and_assert # pylint: disable=too-many-lines @pytest.mark.gfm def test_paragraph_series_n_bq_t_nl_bq_t(): """ Test case: Block Quote with text, newline, block quote, text """ # Arrange source_markdown = """> uv...
[ "jack.de.winter@outlook.com" ]
jack.de.winter@outlook.com
c309b24c5233096607053ef27b246b64c8bf58cc
1ceb35da7b1106a4da4e8a3a5620d23a326a68e4
/corticalmapping/scripts/post_recording/analysis_pipeline_zstack/old/caiman/010_motion_correction_zstack_caiman_multichannel.py
fae38c75308d66e6f6d96c8dd03f31f6a74cf3e7
[]
no_license
zhuangjun1981/corticalmapping
c3870a3f31ed064d77f209a08e71f44c375676a3
0ddd261b3993f5ce5608adfbd98a588afc56d20c
refs/heads/master
2022-11-14T03:24:53.443659
2020-07-13T23:48:50
2020-07-13T23:48:50
84,975,797
2
1
null
null
null
null
UTF-8
Python
false
false
4,145
py
import sys sys.path.extend([r"E:\data\github_packages\CaImAn"]) import caiman as cm import numpy as np import os from caiman.motion_correction import MotionCorrect, tile_and_correct, motion_correction_piecewise import tifffile as tf import h5py import warnings from multiprocessing import Pool base_folder = r"\\allen\...
[ "junz@alleninstitute.org" ]
junz@alleninstitute.org
790e2066d1faca87986538cc4d7037df448d580e
8afb5afd38548c631f6f9536846039ef6cb297b9
/_VSCODE-extensions/vscode-jupyter/pythonFiles/vscode_datascience_helpers/daemon/__main__.py
666f245b2a23462a33bfce132b6e6d3bdedd2a9d
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
3,982
py
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import argparse import importlib import json import os import logging import logging.config import sys log = logging.getLogger(__name__) LOG_FORMAT = ( "%(asctime)s UTC - %(levelname)s - (PID: %(process)d) - %(name)s -...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
497196af0825121b296b2753bc579672864906c4
0258ce084f66f5c4080b686f7fd388ef8094ac75
/Flask Programs/SQLite/crud.py
83aaabb26dbec997c4d7e6a2081a619863c3a509
[]
no_license
Jaydeep-07/Flask
524be9056c9e5cc6e7733d5780f8ce1e110cc9b4
172b5fd30785d3876aeb5509eb685887f1692d52
refs/heads/master
2020-12-26T11:15:05.092803
2020-05-09T10:19:13
2020-05-09T10:19:13
237,491,335
0
0
null
null
null
null
UTF-8
Python
false
false
1,918
py
from flask import * import sqlite3 app = Flask(__name__,template_folder='Template') @app.route("/") def index(): return render_template("index.html"); @app.route("/add") def add(): return render_template("add.html") @app.route("/savedetails",methods = ["POST","GET"]) def saveDetails...
[ "jaydeepvpatil225@gmail.com" ]
jaydeepvpatil225@gmail.com
4a20713389c308d697f51ef7fcbc1917e11778a8
dae2da1b80124ba6923cb1674033208af01e031f
/problems/202101/R-boj-7453-합이 0인 네 정수.py
eedffde840ca2557e26440da7144a901cb79aa2b
[]
no_license
MaxKim-J/Algo
ad09fa19da3e764ba7af18d015bbaa186643f7fb
34771c45361db4aade4c364179e13708c5004b3a
refs/heads/master
2023-01-08T00:49:11.479545
2022-12-26T15:45:35
2022-12-26T15:48:52
237,583,281
4
3
null
null
null
null
UTF-8
Python
false
false
966
py
# 부분수열 합이랑 똑같은 아이디어 #! 자료형을 임의로 나눠 시간을 줄이는 간단하고도 명쾌한 방법!!!!!!!! #! n^4에는 당연히 못풀고 O(2n^2) 쯤으로 시간을 줄이는 방법이다. 이렇게 백트랙킹도 가능한듯 # 입력이 최대 4 * 4000이니 sys를 사용하자 import sys N = int(sys.stdin.readline()) answer = 0 A = B = C = D = [] for _ in range(N): a1, b1, c1, d1 = map(int, input().split(" ")) A.append(a1) B.a...
[ "hwaseen@gmail.com" ]
hwaseen@gmail.com
6dd1608accf61ff244bcb11ab0befc4eceb2c646
9d7d69178c6f1f1db6ed6767e0af32bfe836549c
/new_workspace/Gumtree_Workspace/Magnet/Yick/P9363/100 Alignment/20210130/Overnight/2021_time_55_5K_0Oe_bottom_40min.py
2f815255bbf7912196d0d54ccc32594d35ba372e
[]
no_license
Gumtree/Quokka_scripts
217958288b59adbdaf00a9a13ece42f169003889
c9687d963552023d7408a8530005a99aabea1697
refs/heads/master
2023-08-30T20:47:32.142903
2023-08-18T03:38:09
2023-08-18T03:38:09
8,191,387
0
0
null
null
null
null
UTF-8
Python
false
false
4,432
py
histmem preset 60 histmem mode time #Time scan #----------------------------------------------------------------- #System reset (15 minutes) hset /sample/tc1/control/tolerance1 1 drive ma1_setpoint 0 drive tc1_driveable 90 wait 10 drive ma1_setpoint 0 wait 10 hset /sample/tc1/control/tolerance1 0.1 ...
[ "quokka@DAV5-QUOKKA.nbi.ansto.gov.au" ]
quokka@DAV5-QUOKKA.nbi.ansto.gov.au
728444c91e5b1c215f157d91c477de72e296153f
7cf119239091001cbe687f73018dc6a58b5b1333
/datashufflepy-zeus/src/branch_scripts2/NEWS/ZX_CJXW_ZYCJ/ZX_CJXW_ZYCJ_CJW_HGSY.py
fa6658d4b23ae9065f2f10549ae13c7b765d6153
[ "Apache-2.0" ]
permissive
ILKKAI/dataETL
0f5b80c3482994f735f092a1e01fa1009bac4109
32f7ec3aaaf32b5074536a615cb9cd5c28bd499c
refs/heads/master
2022-04-04T19:27:05.747852
2020-02-28T11:17:48
2020-02-28T11:17:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
358
py
# -*- coding: utf-8 -*- from database._mongodb import MongoClient def data_shuffle(data): return data if __name__ == '__main__': main_mongo = MongoClient(entity_code="ZX_CJXW_ZYCJ_CJW_HGSY", mongo_collection="ZX_CJXW_ZYCJ") data_list = main_mongo.main() for data in data_list: re_data = data...
[ "499413642@qq.com" ]
499413642@qq.com
f2c6e6187a2ca1c6010314be23e1c55da99dce8a
d8f1c299d1b1c3619272bb2f81197e170c88887a
/postgresqleu/confreg/migrations/0008_volunteers.py
8861f16b53e93b766bb5df47fc697c623fa35b10
[]
no_license
mhagander/pgeu-website
1d324898a8ba47af80488d1f803fd8684157bc80
c88cd42b39a84d16a056f2b668fd1949c893c4e0
refs/heads/master
2021-01-24T06:06:19.545244
2018-12-04T19:53:33
2018-12-04T19:55:40
619,420
0
2
null
2019-11-02T08:00:17
2010-04-20T11:51:40
Python
UTF-8
Python
false
false
2,592
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.core.validators import django.contrib.postgres.fields.ranges class Migration(migrations.Migration): dependencies = [ ('confreg', '0007_new_specialtype'), ] operations = [ ...
[ "magnus@hagander.net" ]
magnus@hagander.net
edae2068ba8fc33d1442dfb5bfa8df67c369737f
18a2e479f4edef528fa7803723822f9f5974e5f8
/17_adding_fips_to_counties.py
706e66e8deef1a90e70c521945b4d6217b762bcd
[]
no_license
wpower12/RedditCountyBias
ee25cb870b807466ed53225471e9ac6f5eec1cd0
59f0b6642f20547ac129b47496ef3ca0ac135a39
refs/heads/master
2023-04-04T22:24:24.258295
2021-04-15T17:50:18
2021-04-15T17:50:18
329,438,176
1
0
null
null
null
null
UTF-8
Python
false
false
853
py
import pandas as pd import praw from psaw import PushshiftAPI import time import datetime as dt import pymysql as sql import progressbar import requests import math COUNTY_FN = "./data/counties_fips.csv" conn = sql.connect(host='localhost', user='bill', password='password', database='reddit_data'...
[ "willpowe@gmail.com" ]
willpowe@gmail.com
34569ddf4dde722008a3ee453027d40c2911e838
c50e7eb190802d7849c0d0cea02fb4d2f0021777
/src/portal/azext_portal/vendored_sdks/portal/aio/operations_async/_operation_operations_async.py
aebe6bdf31d0b930019b5627d296786e99d0c031
[ "LicenseRef-scancode-generic-cla", "MIT" ]
permissive
Azure/azure-cli-extensions
c1615b19930bba7166c282918f166cd40ff6609c
b8c2cf97e991adf0c0a207d810316b8f4686dc29
refs/heads/main
2023-08-24T12:40:15.528432
2023-08-24T09:17:25
2023-08-24T09:17:25
106,580,024
336
1,226
MIT
2023-09-14T10:48:57
2017-10-11T16:27:31
Python
UTF-8
Python
false
false
4,017
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
e7e1a396fe3a3d6b353cf863995d1b47d0be9c89
cc86a7c9f27b45002c9d0d5388b6457b6470dc2c
/modern_business/settings.py
0404b4aa16bb9461d3c290680556037305bad97c
[]
no_license
innotexak/DjangoCMS
5bf18df6aa1212cf0c048c83e1faa203b93a7a36
6545f928fb9afb09a004b9c5935158e244d1086b
refs/heads/main
2023-02-26T09:59:50.974034
2021-02-04T14:53:11
2021-02-04T14:53:11
331,692,811
0
0
null
null
null
null
UTF-8
Python
false
false
6,452
py
import os # isort:skip gettext = lambda s: s DATA_DIR = os.path.dirname(os.path.dirname(__file__)) """ Django settings for modern_business project. Generated by 'django-admin startproject' using Django 3.1.5. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full ...
[ "akuhinnocent2016@gmail.com" ]
akuhinnocent2016@gmail.com
56288e8ec12376f3caaa2bf6670c4052cd21c2ce
b483c598fa375e9af02348960f210b9f482bd655
/pythonbrasil/exercicios/repeticao/ER resp 39.py
3530297090dcd38af2039607fba79850fa812d48
[ "MIT" ]
permissive
brunofonsousa/python
6f766d08bf193180ea9a4903cb93ffd167db588d
8f2f26c77015c0baaa76174e004406b4115272c7
refs/heads/master
2022-09-30T14:58:01.080749
2020-06-08T09:55:35
2020-06-08T09:55:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
938
py
''' Faça um programa que leia dez conjuntos de dois valores, o primeiro representando o número do aluno e o segundo representando a sua altura em centímetros. Encontre o aluno mais alto e o mais baixo. Mostre o número do aluno mais alto e o número do aluno mais baixo, junto com suas alturas. ''' quant_alunos = 10 cod...
[ "brunofonsousa@gmail.com" ]
brunofonsousa@gmail.com
17d4fe129c3e9b0803fddf4b72bac10810ddf323
02fb101eac8e5f9cc5d5c5d807601787c339b7ec
/laser_geom_tool/laser_borders.py
b12a549be5e346429c491f424028c458a8104f60
[ "BSD-2-Clause" ]
permissive
awesomebytes/etherdream_tools
ad8c7f0e09318ab47ea9d1aaa8fec40f9e49f119
7ba3ba4828f43f323d76064ec0432b25b85f6e58
refs/heads/master
2021-01-01T20:12:17.858584
2015-10-12T21:25:05
2015-10-12T21:25:05
24,540,681
12
0
null
null
null
null
UTF-8
Python
false
false
10,416
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'laser_borders.ui' # # Created: Wed Dec 24 03:09:48 2014 # by: PyQt4 UI code generator 4.9.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except A...
[ "sammypfeiffer@gmail.com" ]
sammypfeiffer@gmail.com
fef1cd77d6d0cf5499dee830c7afdd90b66cf0ef
55c250525bd7198ac905b1f2f86d16a44f73e03a
/Python/PyBox/pybox2d-android/examples/test_OneSidedPlatform.py
9ba5bf332a3936891263a8e35d4532d9f54a5d87
[]
no_license
NateWeiler/Resources
213d18ba86f7cc9d845741b8571b9e2c2c6be916
bd4a8a82a3e83a381c97d19e5df42cbababfc66c
refs/heads/master
2023-09-03T17:50:31.937137
2023-08-28T23:50:57
2023-08-28T23:50:57
267,368,545
2
1
null
2022-09-08T15:20:18
2020-05-27T16:18:17
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:64a4150f4e7993b64261e93365583e48ee17c68fcd142d236d7ba99977f09b72 size 2957
[ "nateweiler84@gmail.com" ]
nateweiler84@gmail.com
4f7492ea4905b4c55ade3b3b0e09f7e5896f785b
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/0/is.py
601bed438f1b9697adf57cb74ad6b18e1aad1ab1
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
485
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
9e0ef62bd92f99ba6f48e52c9835f10b659ace75
d2c4151eff768af64946ababc2e41c13d8973cd3
/ABC171/a.py
8da69726a2404106ebe552dc9841fe44d4fce822
[]
no_license
Intel-out-side/AtCoder
2de19b71981247135432aed2d6d9c2a16c3ab7f0
0c419d2df15fff02032432cb1b1323612484e16e
refs/heads/master
2022-06-23T04:21:12.886072
2022-06-13T14:39:07
2022-06-13T14:39:07
235,240,853
0
0
null
null
null
null
UTF-8
Python
false
false
100
py
letter = input() if "a" <= letter <= "z": print("a") elif "A" <= letter <= "Z": print("A")
[ "so.eng.eng.1rou@gmail.com" ]
so.eng.eng.1rou@gmail.com
c8fc07a03a64e1410fc4b6bf2d4fec67f8a9c97d
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/3919.py
1c304f9ed5704b5147c1697d18850afa52e338ef
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
Input = open( "C:\Users\josip kotarac\Desktop\A-small-attempt1.in", "r" ) Output = open( "C:\Users\josip kotarac\Desktop\output.txt", "w" ) array = [] chosenRow=0 maxRows = 4 possibleCards=[] foundCard=0 cardFoundNumber=0 caseNum =0 setDone = False for line in Input.readlines(): line = line.split() ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
2e2e18df159c6ad3d657c307d0904d91462f0f63
deaf14c242dc5e534e5ce7691e206f9b5305fdb1
/blog/models.py
02a89abaf5581be70f4424179254aa806ba755d8
[]
no_license
Ulorewien/synergee
ac51462cb270efc4d0ef9bf22b1a946c46b6cc1d
22b285393ff28e8cab8b228c12087bde22280fe7
refs/heads/main
2023-08-12T19:15:25.171103
2021-10-04T15:47:32
2021-10-04T15:47:32
332,399,492
0
1
null
2021-01-24T08:21:59
2021-01-24T08:21:58
null
UTF-8
Python
false
false
559
py
from django.db import models from group.models import Member,Interest class Post(models.Model): """ Attributes of Post Relational Model """ author = models.ForeignKey(Member,on_delete=models.CASCADE) category = models.ForeignKey(Interest,on_delete=models.CASCADE) title = models.CharField(max_l...
[ "shubhpathak07@gmail.com" ]
shubhpathak07@gmail.com
95b84bdb31fb8d15a6125e393c6a3c410d477038
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_stationers.py
8ecfa5c4d17eaa1e85497e432cc4e12608092d92
[ "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
234
py
#calss header class _STATIONERS(): def __init__(self,): self.name = "STATIONERS" self.definitions = stationer self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['stationer']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
dd03466d913bf653258193e0979efba7236aa71e
b28b8dc227d9e6b015eeb19db9cb97ae067a3301
/DivideTwoIntegers.py
f01458a232870b5efe7608a4457339f49dccd822
[]
no_license
nbrahman/LeetCode
d5dd267e1b64d6d5ac6c7a312f286faa043a3444
3f94952eba038ca07ecd57f5dc51889daf7b663a
refs/heads/master
2021-01-22T10:13:13.769444
2017-02-14T22:00:29
2017-02-14T22:00:29
81,993,285
0
0
null
null
null
null
UTF-8
Python
false
false
1,250
py
''' Divide two integers without using multiplication, division and mod operator. If it is overflow, return MAX_INT. ''' class Solution(object): intRemainder = 0 intDivisor = 0 def divide(self, dividend, divisor): """ :type dividend: int :type divisor: int :rtype: int ...
[ "nikhil.brahmankar@gmail.com" ]
nikhil.brahmankar@gmail.com
36be193c3b32fb7370569d601d089401790b81ab
8a936bd3e28c9ec116244df37d3ba5aedd48c9cc
/dashboard/internal/pages/register.py
93615c354eb570ed066b045a84732334169e0466
[ "Apache-2.0" ]
permissive
AssassinDev422/PHP_Minera
a66bd23610cbcfd43545e5b6a689c2c1b1248814
f507dbcc4b4609990f14995754d54f42dcaaa618
refs/heads/master
2020-03-15T13:16:30.708491
2018-05-04T16:20:05
2018-05-04T16:20:05
132,162,749
0
1
null
null
null
null
UTF-8
Python
false
false
653
py
import os import sys import json import requests import smtplib def main(): sid = sys.argv[1] email = sys.argv[2] username = sys.argv[3] password = sys.argv[4] phone_number = sys.argv[5] hashpower = sys.argv[6] reg_user = {'referrals':0,'btcavailible':0,'username':username,'emai...
[ "saas.exp7@gmail.com" ]
saas.exp7@gmail.com
8383a2063f9f853bc4844b765c99f5e3d10d5d33
6e5b8ef12d56a11aa0b68fd5a3700a4be0541acd
/.history/nets/yolov5_20210819163229.py
028344d8484e367faf34fcceef742e37f85afac1
[]
no_license
Arcofcosmos/MyYolov5_Pytorch
d8fc7f8398249aeb996fa4b07c3ecdc6fedd2308
07bcb7e3b1dd32ec25171d4aa860d462f5a01078
refs/heads/main
2023-07-15T16:07:52.624808
2021-08-21T07:13:42
2021-08-21T07:13:42
398,490,633
0
0
null
null
null
null
UTF-8
Python
false
false
5,494
py
''' Author: TuZhou Version: 1.0 Date: 2021-08-18 15:24:52 LastEditTime: 2021-08-19 16:32:29 LastEditors: TuZhou Description: FilePath: \my_yolov5\nets\yolov5.py ''' import torch import torch.nn as nn from pathlib import Path import yaml import math from CSPDarknet53 import preprocess_backbone, CSP2, CBL #--------...
[ "tz2062750487@163.com" ]
tz2062750487@163.com
dc74e72fedacff9e9cbca0a0d2f5af2dcede9eb3
d1205c39ad5febd5f73526cb6eda5fd413e998a3
/ambra_sdk/storage/request.py
e1ac6c7927dbe26c84ab730fc3b9daedbefa09a7
[ "Apache-2.0" ]
permissive
ppolk-nocimed/sdk-python
77364972c5559a43787f81373327b86204f9ec39
165a8049bbc38a201ef27f60a8ba1b980c1c9a64
refs/heads/master
2022-11-22T23:48:22.444967
2020-07-17T16:27:05
2020-07-17T16:27:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,799
py
from enum import Enum from io import BufferedReader from typing import TYPE_CHECKING, Any, Dict, Mapping, NamedTuple, Optional from requests import Response from ambra_sdk.exceptions.storage import AmbraResponseException from ambra_sdk.storage.response import check_response if TYPE_CHECKING: from ambra_sdk.stora...
[ "akapustin@ambrahealth.com" ]
akapustin@ambrahealth.com
580ecfc67a9c4367efef20f46c52084ed5d78cec
b4afe69978e813aa0457c1e8156f11efd0e686df
/docker/Dockerfile.fluentd
0ca694fe509592428fb946223459336d90d25986
[ "Apache-2.0" ]
permissive
rachit491/voltha
e467d828620a8c03533bddf8f82dc225575b271e
01ca080bff5f58f7d4d154704dd411711cf6455b
refs/heads/master
2021-07-25T11:04:06.911364
2017-11-03T13:02:11
2017-11-06T20:07:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
797
fluentd
#!/usr/bin/env python # # Copyright 2016 the original author or authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
[ "knursimu@ciena.com" ]
knursimu@ciena.com
27fc91b8f668e22d5b6a7abe81676a9310fb4c0c
0fa96aa3b1ee5cf752e20bad98ef02785c369225
/matresdev/matresdev/simiter/sim_pstudy/sim_pstudy.py
b60bc161a1fcbf40db75abeb464385e1dd9b61fc
[]
no_license
simvisage/simvisage
7a56ce0d13211513a86e3631db1b55dc62e85986
acb2a8eb8b6caa57c1e9e15f724a2b43843c7b10
refs/heads/master
2020-04-04T07:32:47.598636
2018-12-10T15:10:43
2018-12-10T15:10:43
3,583,342
0
3
null
null
null
null
UTF-8
Python
false
false
10,420
py
#------------------------------------------------------------------------- # # Copyright (c) 2009, IMB, RWTH Aachen. # All rights reserved. # # This software is provided without warranty under the terms of the BSD # license included in simvisage/LICENSE.txt and may be redistributed only # under the conditions described...
[ "rostislav.chudoba@rwth-aachen.de" ]
rostislav.chudoba@rwth-aachen.de
47768f668c9203a6d7ed852b25fa14292f1fc879
64b6015e35bd45df2f25ba04bf68a3dc6905e841
/User_App/migrations/0001_initial.py
67d0ba5a7c289a319c796789b71d03a7b6e840c0
[]
no_license
masudurHimel/Django_Reboot
10904c14f001c90ef971340fcccfb5007846fc59
2de54484397eecd14f2a7425636beb17fd5cc12d
refs/heads/master
2022-07-02T22:47:04.133111
2020-05-06T20:46:29
2020-05-06T20:46:29
257,648,946
0
0
null
null
null
null
UTF-8
Python
false
false
840
py
# Generated by Django 3.0.3 on 2020-05-05 19:57 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
[ "masudurhimel@gmail.com" ]
masudurhimel@gmail.com
3c2c3c043bbe9bcb82f9b7622ae402f18bd8c648
cc5a3fa80d2ae90afc2626e4a82b9a927726dfa0
/huaweicloud-sdk-bss/huaweicloudsdkbss/v2/model/list_sku_inventories_response.py
124ef51c81c9c4847ae336042351acec75c390e9
[ "Apache-2.0" ]
permissive
Logan118/huaweicloud-sdk-python-v3
eca15e9b08bdccef7122e40735d444ddc958efa8
bb230c03bd00225b9f5780a56adce596e9456420
refs/heads/master
2023-07-17T14:57:50.799564
2021-08-25T10:40:43
2021-08-25T10:40:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,420
py
# coding: utf-8 import re import six from huaweicloudsdkcore.sdk_response import SdkResponse from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class ListSkuInventoriesResponse(SdkResponse): """ Attributes: openapi_types (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
b73808b7ece173bea9a10ffa904af73e32d72221
bf15a97a377bc49495a8c278cd247387a08361fd
/intersight/models/vnic_fc_adapter_policy_ref.py
e5f956c79f737fa320ee12693e463e1fa5431998
[ "Apache-2.0" ]
permissive
movinalot/intersight-python
ffcb434e5fdf3f6e857dd967c794a64b2d2e05de
cdc3b082d75eac93b74029ab610e16d3008fdd8c
refs/heads/master
2020-12-18T15:46:06.780834
2019-10-29T00:39:49
2019-10-29T00:39:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,699
py
# coding: utf-8 """ Intersight REST API This is Intersight REST API OpenAPI spec version: 1.0.9-961 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class VnicFcAdapterPolicyRef(object): """ NOTE: Thi...
[ "ategaw@cisco.com" ]
ategaw@cisco.com
34867fe2ca39a80cbe21f6a9aad4334333975065
7e01c039f2427d434a4ef44a1b9dc0ea21db65ba
/venv/lib/python3.8/site-packages/django/db/utils.py
f6d9622ec96308029141d2b3657c2b40829f6be5
[]
no_license
dmfranz/Spike-exercise
09f8051163d2a63dfbc3f75da2de0a1bbbbb122d
83971e95a72d504f629778fece2cdfb953e5d08b
refs/heads/main
2023-08-23T04:18:43.934471
2021-10-11T04:54:28
2021-10-11T04:54:28
413,568,735
0
1
null
2021-10-11T04:36:22
2021-10-04T20:10:01
Python
UTF-8
Python
false
false
10,150
py
import pkgutil from importlib import import_module from django.conf import settings from django.core.exceptions import ImproperlyConfigured # For backwards compatibility with Django < 3.2 from django.utils.connection import ConnectionDoesNotExist # NOQA: F401 from django.utils.connection import BaseConnectionH...
[ "marmara@wisc.edu" ]
marmara@wisc.edu
163b3454ba091eda53c8e7b350d2baac391e73ea
e8dd7dfabac2031d42608920de0aeadc1be8e998
/thesis/Chapter4/Python/time_distance_plots.py
0326f20bcb84ee5b7568f7808f713602ed90a9e4
[ "MIT", "CC-BY-4.0", "BSD-2-Clause" ]
permissive
Cadair/Thesis
e7189dfdf74edf3ea2565ee0ec3bdc0777ad99b2
792ab1e8cf37af7b9ee52de3566faa928e580500
refs/heads/master
2022-05-03T18:29:43.366175
2017-01-06T13:37:54
2017-01-06T13:37:54
21,343,957
8
1
null
null
null
null
UTF-8
Python
false
false
4,588
py
# coding: utf-8 from __future__ import print_function import os from functools import partial import numpy as np from scipy.interpolate import interp1d def get_filepath(base_path, driver, period, post_amp, tube_r, exp_fac): if exp_fac is not None: data_dir = os.path.join(base_path, '%s/%s_%s_%s_%s/'%(dr...
[ "stuart@cadair.com" ]
stuart@cadair.com
4f8ac3edfd7e3d403c3648bd85382171104548c4
1325ecde27307dce9fe6edce88c0249d5c49ae60
/day11/part2.py
6fcbdfc51aa26a08e16ea53ce361bbca0406ec05
[ "Apache-2.0" ]
permissive
jonasmue/adventofcode20
24208e7b9f2fb161d3fabb2bfd9b00f11b67840d
437eb9ff82045ce825b68f1dcb3b79265723bba4
refs/heads/main
2023-02-04T17:43:40.082534
2020-12-26T08:51:54
2020-12-26T08:51:54
317,487,937
0
1
null
null
null
null
UTF-8
Python
false
false
367
py
from common import SeatingSystem if __name__ == "__main__": # O(s*n^2) time and O(n) space # with s: number of steps until convergence, n: number of points in grid # Time complexity could be optimized by saving and reusing neighbors of each point seating_system = SeatingSystem(5, False) seating_s...
[ "jonas.mueller@compitencies.com" ]
jonas.mueller@compitencies.com
d70f750865ab7e20438deebfe95e9082fb4bc964
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/pg_1106+083/sdB_pg_1106+083_lc.py
ecb0d839b701604589194e291b9d3c266426ea9b
[]
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
342
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[167.1825,8.030292], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_pg_1106+083/sdB_pg_1106+083_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __name__ =...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
129d670a19e33414131c1441c3be5449062746fd
73758dde83d1a1823c103e1a4ba71e7c95168f71
/nsd2009/py01/day05/stack2.py
d95af629d461f0dd46de18c3352ef00fc877d385
[]
no_license
tonggh220/md_5_nsd_notes
07ffdee7c23963a7a461f2a2340143b0e97bd9e1
a58a021ad4c7fbdf7df327424dc518f4044c5116
refs/heads/master
2023-07-02T01:34:38.798929
2021-05-12T08:48:40
2021-05-12T08:48:40
393,885,415
0
0
null
null
null
null
UTF-8
Python
false
false
1,116
py
stack = [] # 使用列表模拟栈 def push_it(): "用于压栈" data = input("数据: ").strip() if data: # 如果data非空 stack.append(data) else: print("未获取到数据。") def pop_it(): "用于出栈" if stack: # 如果stack非空 print("从栈中弹出: \033[31;1m%s\033[0m" % stack.pop()) else: print("\033[31;1m栈已经是空...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
b5989f1e513e71181fa457b7defad96e57e6e4a9
bf2d010229aece071359662f4fef44e48ba57951
/fitness-combined
60c7f5034e05a8c045965320b191f404c78aa9d4
[]
no_license
Osrip/CriticalEvolution
b97398f74e2fc5b54c9ab92765b08ce3bf97257e
f77cae8acc626cb4c6d64d5a44fdf00310309c2e
refs/heads/master
2021-06-24T03:44:03.283017
2021-04-03T13:09:42
2021-04-03T13:09:42
215,332,038
1
0
null
null
null
null
UTF-8
Python
false
false
6,350
#!/usr/bin/env python import numpy as np import matplotlib.pyplot as plt from matplotlib import colors from matplotlib.lines import Line2D from matplotlib.patches import Circle import pickle from os import makedirs, path import os ''' loadfiles = ['beta_experiment/beta-0-1/sim-20180512-105719', 'beta_expe...
[ "jan.prosi@hotmail.com" ]
jan.prosi@hotmail.com
93323b86ef220a5a72384a8c2174cc533f7e5ac5
45b64f620e474ac6d6b2c04fbad2730f67a62b8e
/Varsity-Final-Project-by-Django-master/.history/project/project/settings_20210405152615.py
26c367c5f973efc1f18418c5f5bb4e41da83fb2b
[]
no_license
ashimmitra/Final-Project
99de00b691960e25b1ad05c2c680015a439277e0
a3e1d3c9d377e7b95b3eaf4dbf757a84a3858003
refs/heads/master
2023-04-11T06:12:35.123255
2021-04-26T15:41:52
2021-04-26T15:41:52
361,796,607
0
0
null
null
null
null
UTF-8
Python
false
false
3,682
py
""" Django settings for project project. Generated by 'django-admin startproject' using Django 3.1. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib i...
[ "34328617+ashimmitra@users.noreply.github.com" ]
34328617+ashimmitra@users.noreply.github.com