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
3d4b5f3283fdc684ada01e6fe923d14cf91de7a8
2ca07aecfa6ff25b0baae6dc9a707a284c2d1b6d
/common/sectools/sectools/common/crypto/functions/utils/__init__.py
77a586234824b6d3c65e3214d2a6f28fa93e4306
[ "BSD-3-Clause", "OpenSSL", "MIT", "LicenseRef-scancode-openssl", "LicenseRef-scancode-ssleay-windows", "BSL-1.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
zhilangtaosha/msm8996-wp-1-0_test_device
ef05af263ba7955263ff91eb81d45b2437bc492e
6af9b44abbc4a367a9aaae26707079974c535f08
refs/heads/master
2023-03-19T02:42:09.581740
2021-02-21T01:20:19
2021-02-21T01:20:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# =============================================================================== # # Copyright (c) 2013-2016 Qualcomm Technologies, Inc. # All Rights Reserved. # Confidential and Proprietary - Qualcomm Technologies, Inc. # # =============================================================================== ''' Created...
[ "lonelyjskj@gmail.com" ]
lonelyjskj@gmail.com
a6107df3c15761e8c74b5b2a07292c4f084d3f81
1c14f85aa4f9c98362568d5cd30cf56f814a54a0
/user_accounts/migrations/0006_auto_20180302_1721.py
451d5345628601842ea74db9e9ccfdd8a41c3992
[]
no_license
dimyG/zakanda_public
26da2e8c70e34b97097f71e57fd0e732bbeac5a0
0445ad0c4f23aa40a472afb7ae3f1dd96e9e009d
refs/heads/master
2022-11-30T14:01:28.132512
2020-08-07T14:54:10
2020-08-07T14:54:10
285,815,022
2
0
null
null
null
null
UTF-8
Python
false
false
2,007
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('user_accounts', '0005_auto_20180226_1732'), ] operations = [ migrations.AlterField( model_name='basicstats', ...
[ "dimgeows@gmail.com" ]
dimgeows@gmail.com
ca3bf979f3f95bb0227e30197227edeb4ad65fdb
94bd1e0d8caae89e8ae7b917d78fb241df650d46
/gfssi_e03_ssi_area.py
4aafab0014b207a178784ba5f664388ebe853e80
[ "MIT" ]
permissive
NingAnMe/GFSSI
79d36449764a96482b9e2bc3224675c7160ddcd3
066ac3dcffe04927aa497ee8b2257bee3ec3789a
refs/heads/master
2021-06-23T22:00:24.367544
2021-02-05T06:10:44
2021-02-05T06:10:44
196,914,413
1
1
null
null
null
null
UTF-8
Python
false
false
4,020
py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ @Time : 2019/8/12 @Author : AnNing """ import os import h5py import numpy as np from lib.lib_read_ssi import FY4ASSI, FY3DSSI from lib.lib_constant import FULL_VALUE from lib.lib_get_index_by_lonlat import get_data_by_index, get_area_index def _write_out_file(out...
[ "ninganme@qq.com" ]
ninganme@qq.com
89c6129f1154222ee78183c7ae79f9ac99733671
a46d135ba8fd7bd40f0b7d7a96c72be446025719
/packages/python/plotly/plotly/validators/heatmap/colorbar/_separatethousands.py
de1cd8c74ee61d486a9c57a33353a8d2f030d73c
[ "MIT" ]
permissive
hugovk/plotly.py
5e763fe96f225d964c4fcd1dea79dbefa50b4692
cfad7862594b35965c0e000813bd7805e8494a5b
refs/heads/master
2022-05-10T12:17:38.797994
2021-12-21T03:49:19
2021-12-21T03:49:19
234,146,634
0
0
MIT
2020-01-15T18:33:43
2020-01-15T18:33:41
null
UTF-8
Python
false
false
455
py
import _plotly_utils.basevalidators class SeparatethousandsValidator(_plotly_utils.basevalidators.BooleanValidator): def __init__( self, plotly_name="separatethousands", parent_name="heatmap.colorbar", **kwargs ): super(SeparatethousandsValidator, self).__init__( plotly_name=plotly...
[ "noreply@github.com" ]
hugovk.noreply@github.com
d810867bcfc8c9188e598edd86bf8ba9c1bd4c83
71aad099dc4fce3f4afebf0b38d57d11fddabeff
/fabfile.py
98bacd1656f30e139d9b31cf99c310abd87fc151
[]
no_license
spiritEcosse/neatapps
e683a0ca746f78f1f0e096ac10ce4f73ed3bcf58
623bcac577b7a4d3ea1bfea32c16cbfa39ad37a6
refs/heads/master
2020-04-22T09:59:05.586784
2015-10-07T12:40:22
2015-10-07T12:40:22
170,289,874
0
0
null
2019-05-21T08:44:56
2019-02-12T09:28:42
CSS
UTF-8
Python
true
false
2,155
py
__author__ = 'igor' from fabric.api import local, run, cd, settings import os from neatapps.settings import BASE_DIR from fabric.state import env from neatapps.settings_local import HOSTS env.user = 'root' env.skip_bad_hosts = True env.warn_only = False env.parallel = True env.shell = "/bin/bash -l -i -c" REQUIREMENTS...
[ "shevchenkcoigor@gmail.com" ]
shevchenkcoigor@gmail.com
c474e70bdbc4fb0f290fde3f5c81eb82caf24564
406e59a45b07c36717073ff2a446a7d5ce8057db
/data_visual/chapter15/dice_visual.py
bc071f90bf277b590d6b6342b524b89d3a5aa4df
[]
no_license
15032373556/mystudy
ea074802c03ac3efe2577871a39e54f0a81c7b92
08861c40633b5cd93122248b676adbc4748bed7d
refs/heads/master
2022-12-05T18:33:26.058627
2020-08-31T10:25:20
2020-08-31T10:25:20
291,670,077
0
0
null
null
null
null
UTF-8
Python
false
false
1,478
py
import pygal from die import Die from sum_num import sum_2,sum_3,multip #创建两个D6骰子 die_1 = Die() die_2 = Die() # #创建两个D8骰子 # die_1 = Die(8) # die_2 = Die(8) # #创建三个D6骰子 # die_1 = Die() # die_2 = Die() # die_3 = Die() #掷几次骰子,并将结果存储在一个列表中 results = [] for roll_num in range(1000): result = die_1.r...
[ "1798549164@qq.com" ]
1798549164@qq.com
faa303ad648a6c7ff8825e4cfa35fe13c27619fb
5dd47abf7061201d9378e73e51f08fbb314ba2fd
/envdsys/envproject/migrations/0002_auto_20200326_1744.py
2fa88af2d3c78743c8c0cdfa293983bf102cd8ba
[ "Unlicense" ]
permissive
NOAA-PMEL/envDataSystem
4d264ae5209015e4faee648f37608d68a4461d0a
4db4a3569d2329658799a3eef06ce36dd5c0597d
refs/heads/master
2023-02-23T22:33:14.334737
2021-07-22T01:09:16
2021-07-22T01:09:16
191,809,007
1
0
Unlicense
2023-02-08T00:45:54
2019-06-13T17:50:03
Python
UTF-8
Python
false
false
940
py
# Generated by Django 2.2.1 on 2020-03-26 17:44 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('envproject', '0001_initial'), ] operations = [ migrations.AddField( model_name='project', name='logo', f...
[ "derek.coffman@noaa.gov" ]
derek.coffman@noaa.gov
ddb5c9e743c62271e928590de05e16f13c7cf342
f8db8b11ad41d246cd4a0d71b75e3a324a481b14
/SecretPlots/assemblers/__init__.py
039b40cfcf37663da14edd45bbf7f7bca50520be
[ "MIT" ]
permissive
secretBiology/SecretPlots
b978703497d255eb099b471fdafcea7fdf793bd3
eca1d0e0932e605df49d1f958f98a1f41200d589
refs/heads/master
2022-07-07T07:00:57.625486
2022-01-14T05:44:54
2022-01-14T05:44:54
206,092,023
0
1
MIT
2022-06-21T22:45:18
2019-09-03T14:03:56
Python
UTF-8
Python
false
false
433
py
# SecretPlots # Copyright (c) 2019. SecretBiology # # Author: Rohit Suratekar # Organisation: SecretBiology # Website: https://github.com/secretBiology/SecretPlots # Licence: MIT License # Creation: 05/10/19, 7:44 PM # from SecretPlots.assemblers._base import Assembler from SecretPlots.assemblers._bars import ...
[ "rohitsuratekar@gmail.com" ]
rohitsuratekar@gmail.com
02fc867d8ca2fded13b2e27d71b97cb8471db1c6
55815c281f6746bb64fc2ba46d074ca5af966441
/medium/1261.py
c20fe47a1a06a1dbaa21b9bc1188fc7d9b490f82
[]
no_license
brandoneng000/LeetCode
def5107b03187ad7b7b1c207d39c442b70f80fc2
c7a42753b2b16c7b9c66b8d7c2e67b683a15e27d
refs/heads/master
2023-08-30T23:38:04.845267
2023-08-30T08:42:57
2023-08-30T08:42:57
199,584,584
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
from typing import Optional # Definition for a binary tree node. class TreeNode: def __init__(self, val=0, left=None, right=None): self.val = val self.left = left self.right = right class FindElements: def __init__(self, root: Optional[TreeNode]): def dfs(root: TreeNode, expect...
[ "brandoneng000@gmail.com" ]
brandoneng000@gmail.com
1dbfce8ff2e4ea921f1c9038ecf9b33e745429a5
0213dfa0195d88fd8bfa3027a5888c2b98c79562
/firebase_login.py
e20b5747826492447e98c86b398125b5e2bcf6ef
[]
no_license
DavidArmendariz/dash-python
9cd02a06eab46a49ec33e430d9c470263b8d06c6
f0574c73b635929d1842dd27834e339b048516b5
refs/heads/master
2023-01-02T18:43:50.976001
2020-11-02T16:36:13
2020-11-02T16:40:39
222,872,878
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
import requests _verify_password_url = 'https://www.googleapis.com/identitytoolkit/v3/relyingparty/verifyPassword' api_key = "your_api_key" def sign_in_with_password(email, password): body = {'email': email, 'password': password} params = {'key': api_key} try: resp = requests.request('p...
[ "darmendariz1998@outlook.com" ]
darmendariz1998@outlook.com
ff4498ec0589e7899a19c0ba51e30c0908698ad8
33b92f44ab665c6418742d3142104864312b6597
/ValveBatchExport/ValveBatchExportRules/QuantificationResults.py
eb6e90791a3eb16bd6f5b6a3f43b9b2d28c20b84
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
SlicerHeart/SlicerHeart
ebe46aec9fd00f9cee7907fa5ad2774ff3e25c93
09e440d1cc821e5b5f01146eddfcbd65edec7f32
refs/heads/master
2023-08-17T08:42:01.948700
2023-08-16T20:19:14
2023-08-16T20:19:14
38,175,829
78
33
BSD-3-Clause
2023-09-07T14:07:01
2015-06-27T21:23:46
Python
UTF-8
Python
false
false
6,557
py
import os import logging import slicer from pathlib import Path from collections import OrderedDict from .base import ValveBatchExportRule from HeartValveLib.helpers import getSpecificHeartValveMeasurementNodes, getAllFilesWithExtension class QuantificationResultsExportRule(ValveBatchExportRule): BRIEF_USE = "Val...
[ "lasso@queensu.ca" ]
lasso@queensu.ca
362055f348f5bdd9e9815a9fd4a90b337fb7e476
3ced55b04ec82df5257f0e3b500fba89ddf73a8a
/tests/molecular/writers/xyz/conftest.py
4762327c235ce62b0574093cd599d68259bead29
[ "MIT" ]
permissive
rdguerrerom/stk
317282d22f5c4c99a1a8452023c490fd2f711357
1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a
refs/heads/master
2023-08-23T21:04:46.854062
2021-10-16T14:01:38
2021-10-16T14:01:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
699
py
import pytest import stk from .case_data import CaseData @pytest.fixture( params=( lambda: CaseData( molecule=stk.BuildingBlock('BrCCBr', [stk.BromoFactory()]), writer=stk.XyzWriter(), string=( '8\n\nBr -1.423838 1.561473 0.322335\nC -0.740543 -0.2' ...
[ "noreply@github.com" ]
rdguerrerom.noreply@github.com
d85bd4322220b2482ece10b207a43c99487b7f9c
bdb3716c644b8d031af9a5285626d7ccf0ecb903
/code/UI/ClientExamples/Python/ExampleQuery_ARAXi__Workflow_Combo.py
2746ad3c61839a9ddfbb3d73c805ae15c72504ac
[ "MIT", "Apache-2.0" ]
permissive
RTXteam/RTX
97d2a8946d233d48cc1b165f5e575af21bda4b26
ed0693dd03149e56f7dfaf431fb8a82ace0c4ef3
refs/heads/master
2023-09-01T21:48:49.008407
2023-09-01T20:55:06
2023-09-01T20:55:06
111,240,202
43
31
MIT
2023-09-14T16:20:01
2017-11-18T21:19:13
Python
UTF-8
Python
false
false
2,385
py
""" This example sends a simple set of DSL commands to the ARAX API. """ # Import minimal requirements import requests import json import re # Set the base URL for the ARAX reasoner and its endpoint endpoint_url = 'https://arax.ncats.io/api/arax/v1.1/query' # Create a dict of the request, specifying the list of DSL ...
[ "edeutsch@systemsbiology.org" ]
edeutsch@systemsbiology.org
1ce57ab64e06a5bbeeefde752bdbc5f55551c62b
020eb7ca1826df843cc294590ce55ef8b2076263
/coursework/control-flow/using-conditional-statements/exercise3/func.py
c96fa26d8270a91a99b6487c75080eb6c2a3bddc
[]
no_license
murffious/pythonclass-cornell
d95e3a4a50653f3caee462fcd6bd6a5f476c7248
da4abfac3af0f4706c1c4afcf1ff978aa41e765c
refs/heads/master
2023-02-06T05:27:41.199544
2020-03-23T17:27:36
2020-03-23T17:27:36
227,713,413
0
0
null
2023-02-02T05:14:41
2019-12-12T23:11:32
Python
UTF-8
Python
false
false
1,636
py
""" A function to extract names from e-mail addresses. Author: Paul Murff Date: Jan 9 2020 """ import introcs def extract_name(s): """ Returns the first name of the person in e-mail address s. We assume (see the precondition below) that the e-mail address is in one of three forms: ...
[ "titan.murff@gmail.com" ]
titan.murff@gmail.com
4b001d53c03bc9f56445647b9cb02b088ddb632e
264ce32d9eebb594cc424ecb3b8caee6cb75c2f3
/content/hw/04_parameter_null/ok/tests/q2_07.py
84c54e5929d731f39069c4cd1da758bbe23ce0c3
[]
no_license
anhnguyendepocen/psych101d
a1060210eba2849f371d754e8f79e416754890f9
41057ed5ef1fd91e243ab41040f71b51c6443924
refs/heads/master
2022-03-24T02:20:32.268048
2019-12-21T02:51:02
2019-12-21T02:51:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,443
py
test = { "name": "2: Estimating p and the null distribution of t, easy task", "points": 1, "suites": [ { "cases": [ { "code": r""" >>> # Is the center of the distribution plausible? >>> np.abs(null_samples.me...
[ "charlesfrye@berkeley.edu" ]
charlesfrye@berkeley.edu
7c18941abf61e4145754fe7e1e3b4d587799f0d0
f70c83e63a1a6ae55083d879197ffeeecfb6036c
/catkin_ws/buildold/ros_arduino_bridge/ros_arduino_firmware/catkin_generated/pkg.installspace.context.pc.py
b73a6eac062336446d3f1ec5d298dac4998391e4
[]
no_license
jdumont0201/ros-cpp-robot
ed46b004bfac890a32b76d346a3ad506624c3cda
b48e0f0a84c8720e59aebdfc3a28f014a64675c6
refs/heads/master
2020-03-16T16:22:15.134808
2018-05-23T08:24:40
2018-05-23T08:24:40
132,784,248
0
0
null
null
null
null
UTF-8
Python
false
false
387
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "ros_arduino_firmware" PROJECT_SPACE_D...
[ "jbmdumont@localhost.localdomain" ]
jbmdumont@localhost.localdomain
a74f3d34d7c2cdc48582c70f7525ba1946d0cca9
dc089930c6dd627b1ca37188c9515b6b7bfc3ba3
/conscious_consumer/store/urls.py
b3978acfece9cb1ceabcc26029a7ad4ce0f8a4a8
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
UPstartDeveloper/conscious-consumer
923e57b6d1478b654786bfdaa905e7fde17305d7
98c5b8c9612b536aa8873353dd48d916287dff5d
refs/heads/master
2022-11-29T16:16:57.726101
2021-04-26T19:57:59
2021-04-26T19:57:59
247,784,145
0
0
MIT
2022-11-22T07:39:21
2020-03-16T18:03:00
JavaScript
UTF-8
Python
false
false
632
py
from django.urls import path from .views import ( ProductList, ProductCreate, ProductDetail, ProductUpdate, ProductDelete, ) app_name = "store" urlpatterns = [ # Product CRUD-related URLs path("products/", ProductList.as_view(), name="product_list"), path("products/new/", ProductCreate....
[ "zainr7989@gmail.com" ]
zainr7989@gmail.com
97823ad8e8fe53a9e20e34f9ce7ce89c75df003e
010c5fbc97731286be00028ff33fc981d943bca3
/primal/src/code/impute/tests/cgi/count_cgi_genotypes.old.py
f36441491c351e27f58bc314722118098484e0fa
[]
no_license
orenlivne/ober
6ce41e0f75d3a8baebc53e28d7f6ae4aeb645f30
810b16b2611f32c191182042240851152784edea
refs/heads/master
2021-01-23T13:48:49.172653
2014-04-03T13:57:44
2014-04-03T13:57:44
6,902,212
7
1
null
null
null
null
UTF-8
Python
false
false
6,419
py
#!/usr/bin/env python ''' ============================================================ Calculate call rates in imputed CGI files. Created on February 18, 2012 @author: Oren Livne <livne@uchicago.edu> ============================================================ ''' import sys, os, csv, itertools, numpy as np, traceback...
[ "oren.livne@gmail.com" ]
oren.livne@gmail.com
8522128d89b824867b58a7b3c2b8e336b6cb1814
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Keras_tensorflow/source/tensorflow/contrib/learn/python/learn/tests/__init__.py
f6a58889f9c89c6369708df68a903013932811c5
[ "MIT" ]
permissive
ryfeus/lambda-packs
6544adb4dec19b8e71d75c24d8ed789b785b0369
cabf6e4f1970dc14302f87414f170de19944bac2
refs/heads/master
2022-12-07T16:18:52.475504
2022-11-29T13:35:35
2022-11-29T13:35:35
71,386,735
1,283
263
MIT
2022-11-26T05:02:14
2016-10-19T18:22:39
Python
UTF-8
Python
false
false
891
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 applica...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
9acfaeaff0e83be2eca65c5a519804e3e11d64ff
6fdbd55d5232d66a740e2893cc9939cb6e89455d
/geupshik_translator/config/storages.py
181ae2bf99c7e69e523a9a27a78d7df2d6bd122c
[]
no_license
suhjohn/Slang-Translator-KR
f24ff76b034cc78926a30a7ee9b50b15855f5b5a
69f524ae4c1ce8bbac481ce73221f18747144001
refs/heads/master
2021-08-08T18:55:02.819204
2017-11-10T12:23:53
2017-11-10T12:41:40
110,214,064
0
2
null
null
null
null
UTF-8
Python
false
false
250
py
from storages.backends.s3boto3 import S3Boto3Storage from django.conf import settings class StaticStorage(S3Boto3Storage): location = settings.STATICFILES_LOCATION class MediaStorage(S3Boto3Storage): location = settings.MEDIAFILES_LOCATION
[ "johnsuh94@gmail.com" ]
johnsuh94@gmail.com
76b9d760319a2058057ef8578b535f1dca0e79af
49f61714a6f78d984fd2194d6064d84e891bc5b7
/2019-1/220/users/2023/codes/1647_2443.py
6cbe7ef05d32e52d810ed45d557bc58163e7e18e
[]
no_license
psbarros/Variaveis3
b5c4e1517e7d94a846ee03791d25d5821a1c651c
3dcf6f810709ce03c78335acf9533e008a2ae125
refs/heads/master
2023-06-13T07:05:00.878430
2021-07-06T17:51:37
2021-07-06T17:51:37
383,549,597
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
# Tanque de combustivel. from math import* raio = float(input("digite o raio:")) altura = float(input("digite a altura:")) opcao = float(input("digite 1 para volume do ar ou 2 para do combustivel:")) calota_esferica = ((pi*(altura**2)*(3*raio-altura)))/3 volume_esfera = 4*pi*(raio**3)/3 if (opcao==1): v = calota_es...
[ "psb@icomp.ufam.edu.br" ]
psb@icomp.ufam.edu.br
42b8ceb2a472566a9eb54fe3e020f1d07b99f9a9
7b4f9a5937c6d390289d7252266cfdd3c62be728
/how_to_think/chapter_3/second_set/exercise_3_4_4_7_b.py
6029766e3231f4baef19c32fac035a8f6bb033d6
[]
no_license
LCfP-basictrack/basictrack-2020-2021-2b
d7ea1dc651c202d9e433588c9df8cf3554fd80e8
268f066a9baade3c4300a72ef7a866e535a714e0
refs/heads/master
2023-05-05T22:32:41.738918
2021-05-27T15:12:40
2021-05-27T15:12:40
358,275,084
1
1
null
null
null
null
UTF-8
Python
false
false
286
py
import turtle screen = turtle.Screen() pirate = turtle.Turtle() steps = [160, -43, 270, -97, -43, 200, -940, 17, -86] heading = 0 for step in steps: pirate.left(step) pirate.forward(100) heading += step print("The final heading is", heading % 360) screen.exitonclick()
[ "mail@vincentvelthuizen.com" ]
mail@vincentvelthuizen.com
cbdbd4b45853d6a0849a51a1b17e1bae1b10a9ce
c97830c72b99f005a2024ce57f8af9a912b18c59
/acc/migrations/0006_profile_id_image.py
ca338e9102c9f4fe6b21eb4d004a7ff4e328efc8
[]
no_license
toluwanicareer/xenos
77b4d9c6516c45fffef6affbcaeccdc02ec5ff3a
ba1c25c68c87aaddcf1237e2c055b055e24fa4bc
refs/heads/master
2021-05-04T15:15:00.373122
2018-04-08T20:10:00
2018-04-08T20:10:00
120,223,340
0
1
null
null
null
null
UTF-8
Python
false
false
460
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2018-02-17 17:33 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('acc', '0005_auto_20180217_0620'), ] operations = [ migrations.AddField( ...
[ "abiodun.toluwanii@gmail.com" ]
abiodun.toluwanii@gmail.com
76e9b88a8acfc25d43ab10dc0fc98798ffa21f65
cb6461bfae8b0935b7885697dad0df60670da457
/pychron/dashboard/tasks/server/panes.py
1ec709a17a70d5aaec69977e3dd98bc2924d76de
[ "Apache-2.0" ]
permissive
USGSMenloPychron/pychron
00e11910511ca053e8b18a13314da334c362695a
172993793f25a82ad986e20e53e979324936876d
refs/heads/develop
2021-01-12T14:09:18.983658
2018-02-06T14:25:05
2018-02-06T14:25:05
69,751,244
0
0
null
2016-10-01T16:59:46
2016-10-01T16:59:46
null
UTF-8
Python
false
false
3,111
py
# =============================================================================== # Copyright 2013 Jake Ross # # 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...
[ "jirhiker@gmail.com" ]
jirhiker@gmail.com
5b86ad9f6206d82584c6a1da085a0e3e72e2b250
11aac6edab131293027add959b697127bf3042a4
/busiestServers.py
6fee9c8789a62b906f53a1556f08cd3f3b0a2b41
[]
no_license
jdanray/leetcode
a76b3436002b31865967b757b73c85992636383b
fd736af3e79899b86dac89d4d925d5bd985944ad
refs/heads/master
2023-08-15T01:20:05.110565
2023-08-14T00:25:58
2023-08-14T00:25:58
148,686,493
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
# https://leetcode.com/problems/find-servers-that-handled-most-number-of-requests/ from sortedcontainers import SortedList class Solution(object): def busiestServers(self, k, arrival, load): count = collections.Counter() avail = SortedList(list(range(k))) busy = [] for (i, a) in enumerate(arrival): while...
[ "jdanray@users.noreply.github.com" ]
jdanray@users.noreply.github.com
2f947ab99d89b2f0ef78907083e8ebf86d2ad25a
9452f681ea486fc53ad88d05392aed5fc450805c
/code25_all/python/2350110.txt
cb11aa556ef4974922179fb7719a30672dd9d2db
[]
no_license
CoryCollins/src-class
11a6df24f4bd150f6db96ad848d7bfcac152a695
f08a2dd917f740e05864f51ff4b994c368377f97
refs/heads/master
2023-08-17T11:53:28.754781
2021-09-27T21:13:23
2021-09-27T21:13:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,273
txt
#!/usr/bin/python import timeit import numpy import ctypes import random USE_RANDOM=True USE_STATIC_BUFFER=True STATIC_BUFFER = numpy.empty(4096*20, dtype=numpy.float32) def render(i): # pretend these are different each time if USE_RANDOM: tex_left, tex_right, tex_top, tex_bottom = random.random(), ...
[ "znsoft@163.com" ]
znsoft@163.com
2cbc0e35a8851a5ac3b4a3a4cae1d7c9d6e26397
4033fed719d91ccea96bb854f499a4ff253c54d3
/custom_features/DBTT.py
79b3b098c08eec105c67913a76224dce5ea0fd59
[]
no_license
H0lland/MAST-ML
612cc195c08f612b4846b0da40f113c3b40dfc47
40ef2c17bb8bb26b928f6cc4623a3a46e02c671a
refs/heads/master
2020-03-15T13:33:25.533453
2018-08-10T15:10:15
2018-08-10T15:10:15
132,169,522
0
0
null
2018-06-12T15:40:50
2018-05-04T17:25:49
Jupyter Notebook
UTF-8
Python
false
false
1,577
py
import numpy as np import copy from FeatureOperations import FeatureNormalization, FeatureIO __author__ = "Tam Mayeshiba" class DBTT(): """Class for creating custom feature columns specifically for the DBTT project. New methods may be added. Args: dataframe <data object> Returns:...
[ "mayeshiba@wisc.edu" ]
mayeshiba@wisc.edu
a8880daa6f3d42715335e1ab99fa44f4a9d4f40b
8b09c10f7ebabccf01dcf21775c7fe0550ee0d9e
/virtual/bin/confusable_homoglyphs
d477d110b1c479190e2e1f2ca41abed42a2bb72f
[ "MIT" ]
permissive
MaryMbugua/Safe
f25da88ccefcc5d54ea142b634be3493be1e24e1
2aaa4760cfa96aafc4d37233fe7b4df584e2ed79
refs/heads/master
2020-03-18T11:26:22.678249
2018-06-05T06:21:58
2018-06-05T06:21:58
134,671,377
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/home/nish/Desktop/projects/neighbourhoodwatch/virtual/bin/python3.6 # -*- coding: utf-8 -*- import re import sys from confusable_homoglyphs.cli import cli if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(cli())
[ "marymbugua.nm@gmail.com" ]
marymbugua.nm@gmail.com
6eb1f05ced6608ae3c37f76584a08945f16a2723
f9cc7246e323a9ce0d93a4e9722e1408e494fb4f
/paymentserver/app/urls.py
d9b4627f88e861d9f3fc7e2a54918547846fd3a8
[]
no_license
ketsalot1/apps-payment-server
a21e3043b71f85db103e6f094e1ebb243119f491
e571776af364ebf32dec9fbe4fb1a6554d279328
refs/heads/master
2021-01-13T07:09:34.186299
2012-03-23T04:06:53
2012-03-23T04:06:53
69,055,263
1
0
null
2016-09-23T19:37:14
2016-09-23T19:37:14
null
UTF-8
Python
false
false
225
py
from django.conf.urls.defaults import * from django.conf import settings urlpatterns = patterns('app.views', (r'^$', 'home'), url(r'^payment_succeeded$', 'payment_succeeded', name='app.payment_succeeded'), )
[ "kumar.mcmillan@gmail.com" ]
kumar.mcmillan@gmail.com
2e699869612e99e69257d64e9b23679d35d7c5b7
f0e10b8dfabfe931e7fa9d9adda6ca4fcde6940d
/tutu/utils.py
cbfe3a94cdf25490e2330e9b42b4dfd63d60f418
[ "MIT" ]
permissive
priestc/django-tutu
e0d4cbd977ca1d7ed97f1fb510aa655ada6d74d3
267a44a0dd75a1de42d05801149f36ef1ac84b57
refs/heads/master
2020-09-27T07:13:01.442268
2020-02-08T05:50:53
2020-02-08T05:50:53
226,460,887
6
0
null
null
null
null
UTF-8
Python
false
false
2,217
py
from tutu.metrics import Metric import datetime from django.conf import settings def validate_metric(metric): if isinstance(metric, Metric): return metric elif isinstance(metric, type) and issubclass(metric, Metric): return metric() else: raise ValueError("Must be a Metric class or ...
[ "cp368202@ohiou.edu" ]
cp368202@ohiou.edu
666fecfb2a75f1bc7777fe2d07e22f40e6d985eb
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D04B/CUSEXPD04BUN.py
e420b19fdad2bfde8e8a20be17750d9949db5fad
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
2,519
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD04BUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'DTM', MIN: 0, MAX: 5}, {ID: 'LOC', MIN: 0, MAX: 5}, {ID: 'CNT'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
50dd5ace63ee64ad2858aaefffaeb374c9271f86
49b1b98e9bbba2e377d8b5318fcc13776bbcb10b
/museum/spiders/exhibition17.py
e1d1505e4d08052e575979f21026047abbede4ea
[]
no_license
BUCT-CS1808-SoftwareEngineering/MusemData_Collection_System
fa4e02ec8e8aaa9a240ba92cf7be33dbc0e8e31f
023e829c77037ba6d2183d8d64dcb20696b66931
refs/heads/master
2023-04-29T05:43:01.627439
2021-05-23T03:02:09
2021-05-23T03:02:09
360,040,880
0
0
null
2021-05-23T03:02:09
2021-04-21T05:18:41
Python
UTF-8
Python
false
false
2,232
py
import scrapy from museum.items import exhibitionItem import re import json # scrapy crawl exhibition17 class Exhibition17Spider(scrapy.Spider): name = 'exhibition17' # allowed_domains = ['www.xxx.com'] start_urls = ['http://www.3gmuseum.cn/web/exhibitionHallOften/conventionalExhibitionPage.do?pageNumber=...
[ "szqszq00766@163.com" ]
szqszq00766@163.com
f67376bd7e13509194aea02f91ac23207e7fca15
4bd207d288c95b9f20785bb841224b914f05c280
/code-master/lib/bitbots/modules/behaviour/head/decisions/head_duty_decider.py
693c083124300ef7e2a84e8530d287cd73e15850
[]
no_license
hendrikvgl/RoboCup-Spielererkennung
435e17ee540c4b4c839e26d54db2528a60e6a110
c41269a960f4b5ea0814a49f5a20ae17eb0a9d71
refs/heads/master
2021-01-10T10:39:00.586760
2015-10-21T12:42:27
2015-10-21T12:42:27
44,675,342
1
0
null
null
null
null
UTF-8
Python
false
false
3,726
py
# -*- coding:utf-8 -*- """ HeadDutyDecider ^^^^^^^^^^^^^^^ Entscheidet was der Kopf tun soll History: * 19.08.14: Created (Nils Rokita) """ import time from bitbots.modules.abstract.abstract_decision_module import AbstractDecisionModule from bitbots.modules.abstract.abstract_module import debug_m from bitbots.modu...
[ "hendrik.vgl@gmail.com" ]
hendrik.vgl@gmail.com
498cfa85a40dbce059482bbd34786e6433736369
ff844756ad80c33c2cfcdd7f41a010e8e5674bbf
/test/app_test.py
ed87550c798181e8fababda910e263f710ed8f83
[]
no_license
riquellopes/congratulations
f133be337413b500052639f30d6ea6b7182681da
074df3cb2b8dfab007e7fd93f5f1786b0fd7ad95
refs/heads/master
2016-09-05T11:52:32.941162
2012-03-05T17:18:19
2012-03-05T17:18:19
3,546,414
0
0
null
null
null
null
UTF-8
Python
false
false
5,440
py
# coding: utf-8 import datetime import unittest from mock import Mock, patch from nose.tools import assert_equals, assert_true, assert_raises, assert_false from app import Congratulations, CongratulationsExEnd, app class MockUrllib(Mock): def __init__(self, file_test): self.file_test = file_test def read(sel...
[ "riquellopes@gmail.com" ]
riquellopes@gmail.com
6b83013931c9e1b0bc505ae8a5906aa6c3985271
afcb260d6f0c1d88232d2e300d26d8fb71b5ef43
/django-app/member/views.py
0a3ad5f76c034d58d7139ec6bc3f14240c145f63
[]
no_license
JeongEuiJin/deploy-eb-docker
e5d10f65166ca8a1a4a5fdd32c9647c0d8f5feed
1f5b57aa5e119f68c169f059e9bf88d5fbf76850
refs/heads/master
2020-12-02T17:46:19.905183
2017-07-13T07:32:36
2017-07-13T07:32:36
96,424,033
0
0
null
null
null
null
UTF-8
Python
false
false
892
py
from django.contrib.auth import authenticate, login from django.contrib.auth.decorators import login_required from django.shortcuts import render, redirect from .forms import CustomUserCreationForm # Create your views here. # @login_required def home(request): return render(request, 'member/home.html') def sig...
[ "hehar1020@gmail.com" ]
hehar1020@gmail.com
7f028271161ec849660d7f6454b99fd19c01e985
2475acb15e1dcd4a42ed8849a6ae7c6f383d5b59
/calendar_api/migrations/0008_auto_20190529_1753.py
78acb710d43a80372e2816d2f5f91e5967eda897
[]
no_license
amigo2/Goker
2e66cabb32253bfe43a188241b58df962a9a1583
0509446382eacabdb7c006a60362891f217bcc3a
refs/heads/master
2022-12-13T09:50:47.720250
2019-08-13T20:54:43
2019-08-13T20:54:43
169,242,538
0
0
null
2022-12-08T12:23:28
2019-02-05T13:06:35
Python
UTF-8
Python
false
false
2,230
py
# Generated by Django 2.1.4 on 2019-05-29 15:53 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('calendar_api', '0007_auto_20190529_1749'), ] operations = [ migrations.RenameField( model_name='adquisition', old_name='end_...
[ "amigo2@hotmail.com" ]
amigo2@hotmail.com
623bec47ef4142d1023c81692b0918123a72b98f
2b0f7d5e7b43bb9d32ee4044a79b0fc67294c986
/test_skewed.py
8dcd19468398179bf0edd731c04d67b71f0f73e4
[]
no_license
rajikalk/Scripts
766fcc16b97dfd4f918d8efbd2ec529a2dd71639
8caec46a6272ff1c7aeb5e359610d7e695dd7d34
refs/heads/master
2023-08-30T12:53:09.220312
2023-08-28T15:08:23
2023-08-28T15:08:23
87,136,480
0
0
null
null
null
null
UTF-8
Python
false
false
4,653
py
import numpy as np from scipy.optimize import curve_fit import matplotlib.pyplot as plt import math as math import scipy.special as sp import pickle import matplotlib.gridspec as gridspec def func(x, sigma, mu, alpha, c, amp): #normal distribution normpdf = (1/(sigma*np.sqrt(2*math.pi)))*np.exp(-(np.power((x-m...
[ "reggie@Reggies-MBP.unicph.domain" ]
reggie@Reggies-MBP.unicph.domain
53a6dc003f4989217077b1e3d96e789daac4ada0
cb620e43469856c5a9b578ada5e37a3e610adbbb
/tests/orm/relations/test_morph_to_many.py
82803862b0910b9c05d28a5de19c63b630db2bd5
[ "MIT" ]
permissive
sxslex/orator
5c889bab5a5f43be672275f1623135c7e1cbc98c
0835a7c0341a5ab7e051318a52ab27f58b695916
refs/heads/develop
2021-01-09T07:04:54.556519
2015-11-25T11:42:53
2015-11-25T11:42:53
46,634,951
1
0
null
2015-11-21T21:37:25
2015-11-21T21:37:24
null
UTF-8
Python
false
false
5,908
py
# -*- coding: utf-8 -*- import arrow from flexmock import flexmock, flexmock_teardown from ... import OratorTestCase from ...utils import MockConnection from orator.query.builder import QueryBuilder from orator.query.grammars import QueryGrammar from orator.query.processors import QueryProcessor from orator.query.ex...
[ "sebastien.eustace@gmail.com" ]
sebastien.eustace@gmail.com
db54103a8e02fc43379d24cc3ceb775e95ccf87f
42e5ed5df5d8c8141691426a8f1996d955584a5e
/sprzet/urls.py
a364724a3a9177f575b8e3bc7bdc514455718412
[]
no_license
pomidorki185ic/wypozyczalnia
8ac71d1b5f438b8569ce756279d8a43805c1797a
c57ce4f5e48421b7562183f0b76da6920b2c0bca
refs/heads/master
2023-05-01T16:15:19.980479
2021-05-19T11:00:54
2021-05-19T11:00:54
317,298,366
0
1
null
null
null
null
UTF-8
Python
false
false
380
py
from django.urls import path from django.views.generic.base import TemplateView from . import views urlpatterns = [ path('spis_sprzetu', views.spis_sprzetu, name = 'spis_sprzetu'), # path('profilKlienta/rejestracja', views.rejestracja, name = 'profilKlienta/rejestracja'), #path('profilKlienta/pro...
[ "dawidpawlowski98@wp.pl" ]
dawidpawlowski98@wp.pl
9781044e5880f01dc60c019e6cb074879a5f0e35
50948d4cb10dcb1cc9bc0355918478fb2841322a
/azure-mgmt-containerregistry/azure/mgmt/containerregistry/v2018_09_01/models/registry_usage_py3.py
4580c01f22c3d11f336e70cb9766cd0fb3f80ed2
[ "MIT" ]
permissive
xiafu-msft/azure-sdk-for-python
de9cd680b39962702b629a8e94726bb4ab261594
4d9560cfd519ee60667f3cc2f5295a58c18625db
refs/heads/master
2023-08-12T20:36:24.284497
2019-05-22T00:55:16
2019-05-22T00:55:16
187,986,993
1
0
MIT
2020-10-02T01:17:02
2019-05-22T07:33:46
Python
UTF-8
Python
false
false
1,529
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
879917b46e8c4961318c964911dd89f79325b030
a974de6285db76b669937e9619a805c226bb11a6
/04_The_Path_of_Python/T-resource_Python_201904/ex/ex4_3.py
3cdbf41669af8c237a20b793e2c8e0d841b68d20
[]
no_license
Vincent105/python
1b3f753e6b9db711e320b53c3e0a04c9fc818c37
65351234310a81a85331b0f11aef42507868774d
refs/heads/master
2021-08-03T21:06:57.977065
2021-07-30T09:02:56
2021-07-30T09:02:56
185,359,652
2
0
null
null
null
null
UTF-8
Python
false
false
455
py
# ex4_3.py f = open("out.txt",mode="w") print(" 姓名 國文 英文 總分 平均",file=f) print("%3s %4d %4d %4d %3.1f" % ("洪冰儒", 98, 90, 188, 188/2),file=f) print("%3s %4d %4d %4d %3.1f" % ("洪雨星", 96, 95, 191, 191/2),file=f) print("%3s %4d %4d %4d %3.1f" % ("洪冰雨", 92, 88, 180, 180/2),file=f)...
[ "vincent1050917@gmail.com" ]
vincent1050917@gmail.com
c2365e9ea85baa1801be84fa21fd6de815a01787
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_examples/_algorithms_challenges/pybites/intermediate/147_v2/hundred_days.py
93e78caccfce0c3ed9b677ebafe9b895680e3cc5
[]
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
452
py
from datetime import date from dateutil.rrule import * import dateutil TODAY = date(year=2018, month=11, day=29) def get_hundred_weekdays(start_date=TODAY): """Return a list of hundred date objects starting from start_date up till 100 weekdays later, so +100 days skipping Saturdays and Sundays""" ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
9059dc9806200db1b678dcd1aab3278e172c9e60
8e1be167066e30eff91c26c0757211cf3cf8b016
/django/full_stack/login_and_registration/apps/users/migrations/0001_initial.py
859f377ff7d427d869acba8cbbf4213ceebab8a9
[]
no_license
dojo-solutions/online-ft-python
074d0ba968f5a77eaec1bca0904232f2aa29051a
b4f6941d0bba376d121a40a6429b815d5b03c32f
refs/heads/master
2020-04-21T11:52:31.390772
2019-03-02T01:27:54
2019-03-02T01:27:54
169,542,448
0
1
null
null
null
null
UTF-8
Python
false
false
884
py
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2019-02-25 17:41 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', ...
[ "wes@tao.team" ]
wes@tao.team
846bfc48306db4e64463137f1678d3024cae52f4
d6952f048727add5b54a521d04f6c9b5889bcd35
/pollination_sdk/models/new_recipe_package.py
8be4cb90b14461dfbef3d33cd2532f98983cdceb
[]
no_license
TfedUD/python-sdk
bf719644041c2ab7b741af9c7fb8e5acfe085922
7ddc34611de44d2f9c5b217cf9b9e7cec27b2a27
refs/heads/master
2023-08-10T21:13:45.270193
2021-06-21T14:48:36
2021-06-21T14:51:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,401
py
# coding: utf-8 """ pollination-server Pollination Server OpenAPI Definition # noqa: E501 The version of the OpenAPI document: 0.13.0 Contact: info@pollination.cloud Generated by: https://openapi-generator.tech """ import pprint import re # noqa: F401 import six from pollination_sdk.configu...
[ "antoinedao1@gmail.com" ]
antoinedao1@gmail.com
28ed22db5c9fb33f2e867f2a54595fb76d76c037
4820b6d9665a487b7bd3f91a64354110dc61d31f
/palindrome permutations 2.py
c23d54d40333fba9768cfa1a99410ea2efd0d478
[]
no_license
iamshivamgoswami/backtracking
4f5c84342e7bf1865556ef87ee089c249fc73aef
7e86f7f2852c14335d1f2b4a2a6bc8e577f33c3d
refs/heads/main
2023-07-03T07:03:27.100901
2021-07-27T07:27:25
2021-07-27T07:27:25
389,594,072
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
import collections class Solution: def generatePalindromes(self, s: str) : c=collections.Counter(s) half="".join([k*(v//2) for k,v in c.items() ]) half=[c for c in half] mid=[k for k,v in c.items() if v%2] if len(mid)>1: return [] mid="" if len(mid)==0...
[ "shivamgoswami12@gmail.com" ]
shivamgoswami12@gmail.com
483fa6de553dfe149fd491fe21befb574ca1242e
06aa3ec3262f6dd6866ea194ed6385f8e53509bf
/manuscript_codes/AML211DiffTrack/generateNetwork.py
1fbc726986d5530780c38878ff1d0b29d5980caf
[]
no_license
KuehLabUW/UPSIDE
95ce078382792d1beb0574c3b19c04e467befa58
3c90de9677f24e258800cb95bce6cb528f4ad4ac
refs/heads/master
2023-07-13T15:58:07.963672
2021-08-30T21:14:48
2021-08-30T21:14:48
329,134,647
0
0
null
null
null
null
UTF-8
Python
false
false
4,187
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jan 2 13:04:17 2020 @author: phnguyen """ import networkx as nx import matplotlib.pyplot as plt import numpy as np from graphviz import Digraph import pandas as pd import os def plotNetwork(Matrix): # the matrix is set up as position i j is direct...
[ "kuehlab@uw.edu" ]
kuehlab@uw.edu
55a82d57386c5a5cf6b2d392e5d774c58f62e1d3
2008ff2a5e0a7790c4578d2c8ce402e0bb24bfda
/orm_demo/store/migrations/0002_product_description.py
d7f8266267093ff7c3ade5c4483586a0a25ca433
[]
no_license
ganqzz/django_demo
788a44a212cbf9e82b2ca84ba86147a90943756a
c880fc784e7bca4a78709ad76772c924b97dc393
refs/heads/master
2023-07-09T07:53:56.549362
2021-08-13T11:46:39
2021-08-13T11:46:39
356,131,050
0
0
null
null
null
null
UTF-8
Python
false
false
385
py
# Generated by Django 3.1.3 on 2020-12-20 22:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('store', '0001_initial'), ] operations = [ migrations.AddField( model_name='product', name='description', ...
[ "ganqzz@users.noreply.github.com" ]
ganqzz@users.noreply.github.com
83342e6852c6e51579957f5c07ce95932a2d5367
87b8fc1ba1d5a5a9014cf2e69dcabd7df19e1fc2
/src/pustakalaya_apps/document/migrations/0025_auto_20180510_1559.py
a4ca646f78a9ca9b2cfbb2a94e9d888169e4310b
[]
no_license
Becram/elibrary-olen
5a885871b05dc9076a04575748a5bbce6b40c69c
f73772569d1a67fda4e5d44af9d1ed2ddd41166e
refs/heads/master
2020-04-06T11:13:29.676136
2018-10-25T06:36:42
2018-10-25T06:36:42
157,408,652
0
0
null
null
null
null
UTF-8
Python
false
false
759
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-05-10 10:14 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('document', '0024_auto_20180509_1547'), ] operations = [ migrations.AlterFie...
[ "nishantkarki305@gmail.com" ]
nishantkarki305@gmail.com
517cf48de68a5d5a2b690755e4ee2036cd8f8b42
65b9a63e8c132f32aeb56961968f5e363bd9a087
/20191107_Keras乘用车销量预测神经网络训练对比实验/code/run.py
f46def6bde3e7c0d5fea16a16fd4dd136888bbbf
[]
no_license
346644054/examples2019
e70f13cfb56c3478fc6e335c730e0e70e70a6226
5f9777e7a887e635971156354f56ce065fa3f41e
refs/heads/master
2022-04-09T03:52:52.973414
2020-02-28T03:05:02
2020-02-28T03:05:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,656
py
# -*- coding: utf-8 -*- """ network fun: env: Linux ubuntu 4.4.0-31-generic x86_64 GNU;python 2.7;tensorflow1.10.1;Keras2.2.4 pip2,matplotlib2.2.3 """ from __future__ import print_function import os import numpy as np import pandas as pd import keras import time import datetime import proprocess i...
[ "elesun2018@gmail.com" ]
elesun2018@gmail.com
ec037038c62bc775b8da6c8634bf9e729c1f0797
b2319c5e14c94edfb5a39e4c490c1ae6183651ed
/deepgoweb/apps/accounts/models.py
bc9bce7da4d76623d803e2b74b30143d7724999e
[]
no_license
coolmaksat/deepgoweb
6d67f45059d7bdb4548d50c182a038c6f9c70a31
fd4904b6b18dd2af06e000679f406b7353a3534f
refs/heads/master
2021-06-12T14:42:14.513686
2021-04-17T10:23:39
2021-04-17T10:23:39
161,017,035
0
0
null
2018-12-09T07:49:26
2018-12-09T07:49:26
null
UTF-8
Python
false
false
1,119
py
from __future__ import unicode_literals from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save, pre_save from django.utils.translation import ugettext as _ from django.core.exceptions import ValidationError GENDER_CHOICES = ( (0, 'Male'), (1, 'F...
[ "coolmaksat@gmail.com" ]
coolmaksat@gmail.com
1e82bb07d3892933aa9f580b0e62ec13e781beb6
22d7d575737eb7d864926993163f73d0bfebd6bc
/programmers/level2/순위검색.py
dad1c07219f4a914dd6624fef568047f9320b7e9
[]
no_license
taehyungz/Algorithm
6c624460716424115d3c38587f176eeb0a4e00d9
87c02dd047152a5bb4fafcf51be53c329ad563dc
refs/heads/master
2022-06-26T13:23:50.969544
2022-06-23T12:29:04
2022-06-23T12:29:04
202,279,068
0
0
null
null
null
null
UTF-8
Python
false
false
994
py
from itertools import combinations import collections from bisect import * def solution(info, query): answer = [] people = collections.defaultdict(list) for person in info: person_info = person.split() person_strs = person_info[:-1] wage = int(person_info[-1]) people[''.join...
[ "thkthk97@naver.com" ]
thkthk97@naver.com
d6891e0277a475c88b44289a0aa0412e9a07c473
ce661026009d622db924080d85ab529f1cae6b60
/projecteuler.net/wip,74.py
224eff7255f3ca4eefe694ca10860e3677307103
[]
no_license
predavlad/projecteuler
d54f5d85ab0133b19b54b4168990b90f09a0184c
58e1637733bb7e01e44bfac707353ecfe84d9b19
refs/heads/master
2021-01-23T15:29:26.257019
2019-02-09T10:11:23
2019-02-09T10:11:23
12,952,194
0
0
null
null
null
null
UTF-8
Python
false
false
1,554
py
import time # 170 seconds, although it can be improved if we count all permutations of a number at the same time, instead of # going through everything start_time = time.time() fact_cache = {} dig_fact_cache = {} loop_cache = {} def fact(n): global fact_cache if n in [0, 1]: return 1 if n not in ...
[ "preda.vlad@yahoo.com" ]
preda.vlad@yahoo.com
812662b6d90892d254a75762deed638a32163b4f
ffadf9541d01cf9af20c419759d48b1eb01bfd35
/pachong/PCdemo1/day16/数据格式转存.py
346d8cb0bafaacbd1e96a7fe95ccb5ff16e63996
[]
no_license
1987617587/lsh_py
b1bb1016eaafcba03bbc4a5310c1db04ae227af4
80eb5175cd0e5b3c6c5e2ebb906bb78d9a8f9e0d
refs/heads/master
2021-01-02T05:14:31.330287
2020-06-20T05:18:23
2020-06-20T05:18:23
239,498,994
2
1
null
2020-06-07T23:09:56
2020-02-10T11:46:47
Python
UTF-8
Python
false
false
3,073
py
# author:lsh # datetime:2020/4/14 14:39 ''' .::::. _oo0oo_ .::::::::. o8888888o ::::::::::: 8...
[ "1987617587@qq.com" ]
1987617587@qq.com
d8e589c781a6a06fefb67ae1e521c503eb350e17
9de64f94ffe3b57de373bebdd5344d0d4e725a9c
/lib/models/__init__.py
2c735037871bae9eb7ff1fda8bc6d6c6e4333962
[ "MIT" ]
permissive
CoinCheung/BiSeNet
1196ed0463d067e8b145b716aae39cf1963f4ffb
f2b901599752ce50656d2e50908acecd06f7eb47
refs/heads/master
2023-02-17T08:45:51.374875
2023-02-05T03:08:32
2023-02-05T03:08:32
159,607,436
1,312
322
MIT
2023-02-05T03:08:33
2018-11-29T04:27:51
Python
UTF-8
Python
false
false
146
py
from .bisenetv1 import BiSeNetV1 from .bisenetv2 import BiSeNetV2 model_factory = { 'bisenetv1': BiSeNetV1, 'bisenetv2': BiSeNetV2, }
[ "867153576@qq.com" ]
867153576@qq.com
91d121b6b72945f63cdeb6e0e53dff0100fbec44
4cc285b0c585241ff4404087e6fbb901195639be
/NeuralNetworkNumbers/venv/Lib/site-packages/sklearn/datasets/tests/test_covtype.py
bd775d75563d31b490373811c09ca4abba681004
[]
no_license
strazhg/NeuralNetworksPython
815542f4ddbb86e918e657f783158f8c078de514
15038e44a5a6c342336c119cdd2abdeffd84b5b1
refs/heads/main
2023-04-16T18:51:29.602644
2021-04-27T14:46:55
2021-04-27T14:46:55
361,944,482
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
version https://git-lfs.github.com/spec/v1 oid sha256:f48c1479cc19ae778036630c6d97033d44099090499f8db51ddd327f13e7f9fd size 1677
[ "golubstrazh@gmail.com" ]
golubstrazh@gmail.com
ece5d3da37a3165a695a7b77b2fc0daaf58c442c
de9b8b7192a0a81e9249823bb2b86f0b7e452863
/.history/main_20171106230505.py
0f73c604abb8fcbe3b81c435a1da27dfbf8b824e
[ "MIT" ]
permissive
reecebenson/uwe-dadsa-tennis-a
f5eaeb1b96d4e61f29279514e68eeea8ad6533db
d0763f819b300fcd0ce27041f5bc4ef0519c00bf
refs/heads/master
2023-07-08T16:13:23.963348
2017-11-30T12:07:01
2017-11-30T12:07:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,096
py
# DADSA - Assignment 1 # Reece Benson import random from classes import Menu as Menu from classes import Handler as Handler class App(): # Define the variables we will be using debug = True handler = None # Define all of the properties we will need to use def __init__(self): # Load our ha...
[ "me@reecebenson.me" ]
me@reecebenson.me
1327bb0c4a5e509d0c7c62b0352b208928bf34fe
4ff0ff57e0fee60caf90cf1a2319b7615858b5ff
/cw_hr_holidays_extended/reports/__init__.py
f81bbb1467b1c4b3122cfce1a6ad1b2c93ff037b
[]
no_license
akradore/ACC_12
257a590acfb1afc92122e46b6db0ccbfdb3969be
5ed668bda8177586695f5dc2e68a48806eccf976
refs/heads/master
2023-03-17T08:53:58.822549
2020-02-24T12:32:05
2020-02-24T12:32:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
129
py
# -*- coding: utf-8 -*- from . import holidays_summary_report # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
[ "arun01@mmproject.net" ]
arun01@mmproject.net
b808d02359c77895488e059565589a1e8d9c1703
9734c93c86c982b1ce046340bac9e53645b261b8
/tests/cli/helpers/codepage.py
136905dc4ab533842e791e8dbbc543f7b954b2ed
[ "Apache-2.0" ]
permissive
log2timeline/plaso
cd72dd407d6c5627506c14f58cb8f6a6926aa808
d6022f8cfebfddf2d08ab2d300a41b61f3349933
refs/heads/main
2023-09-02T08:43:48.241198
2023-08-19T07:28:12
2023-08-19T07:28:12
23,812,315
1,506
421
Apache-2.0
2023-09-04T08:24:53
2014-09-08T23:29:28
Python
UTF-8
Python
false
false
1,704
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Tests for the codepage CLI arguments helper.""" import argparse import unittest from plaso.cli import tools from plaso.cli.helpers import codepage from plaso.lib import errors from tests.cli import test_lib as cli_test_lib class CodepagergumentsHelperTest(cli_test_...
[ "noreply@github.com" ]
log2timeline.noreply@github.com
eb98e85b9ab7e02cbf47d85a6b890c00abf277a8
e3eead40e93fdf5186269536edefab4f08e9a5a2
/LeetCode/161-one_edit_distance.py
d2fda9fcd5d0e610b12400ba057379ba56eaf180
[]
no_license
davll/practical-algorithms
bbc930b42363cae00ce39e8a686854c19131d334
0e35e4cc87bd41144b8e34302aafe776fec1b356
refs/heads/master
2021-08-22T13:12:34.555074
2020-03-28T08:56:13
2020-03-28T08:56:13
147,224,029
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
def one_edit_distance(s1, s2): n1, n2 = len(s1), len(s2) l, r = 0, 0 while l < n1 and l < n2: if s1[l] == s2[l]: l += 1 else: break n1, n2 = n1-l, n2-l while r < n1 and r < n2: if s1[-1-r] == s2[-1-r]: r += 1 else: break...
[ "davll.xc@gmail.com" ]
davll.xc@gmail.com
1ca107d39fcf682c12bd191ef447080ea774f49a
6b05bddf2e294c8e1b39846aecadfa06b4ff805d
/test/test_v1_generation_status.py
121f9db48f40ba73016ca068c091830bc77627e5
[ "Apache-2.0" ]
permissive
kubevirt/client-python
5ca82fe55d48c07f62796d2bed3605a7c189922c
235fe17f58d41165010be7e4122cb67bdc866fe7
refs/heads/master
2023-09-03T12:25:27.272479
2023-08-17T00:33:31
2023-08-17T00:33:31
105,017,761
29
25
Apache-2.0
2022-10-20T13:52:10
2017-09-27T12:51:32
Python
UTF-8
Python
false
false
925
py
# coding: utf-8 """ KubeVirt API This is KubeVirt API an add-on for Kubernetes. OpenAPI spec version: 1.0.0 Contact: kubevirt-dev@googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import absolute_import import os import sys import unittest i...
[ "kubevirt-bot" ]
kubevirt-bot
ca0d61bc85b983481ef9efb4c5f39e48b6622d3b
2709e527c217a8264b48e2f549b3284e5ccb9551
/0x09-python-everything_is_object/100-magic_string.py
f70d7350af05a64e469e472edab507ed4a90ae61
[]
no_license
kwhit2/holbertonschool-higher_level_programming
489d6b88ed14b9f2efd4637d8a71ae569b5027f6
2660516b12fee0f03c4025ba1d8d2762a8880a06
refs/heads/main
2023-05-22T17:57:02.035803
2021-06-12T18:43:54
2021-06-12T18:43:54
319,346,696
0
2
null
null
null
null
UTF-8
Python
false
false
142
py
#!/usr/bin/python3 def magic_string(str=[]): str.append("Holberton") # this also works: str += ["Holberton"] return (", ".join(str))
[ "kfw2@outlook.com" ]
kfw2@outlook.com
b0ed5be72b248dee34ba8ffdeb7e2c8fc09ba3c3
e14372adf86d3c4f9e73c9f7111db3215c696c3d
/1.入门/二级/LE8.py
c0e3f65646dff938600e801494d64b31300cde86
[]
no_license
hewei-bit/PYTHON_learning
71ddd7560a52575528547187f4fb40f39a3cbbdb
18de8e5bdca165df5a5a4b5e0887846593656f4e
refs/heads/master
2022-12-02T13:38:05.907135
2020-08-13T04:57:41
2020-08-13T04:57:41
261,647,401
0
0
null
null
null
null
UTF-8
Python
false
false
2,171
py
import jieba txt = open("threekingdoms.txt","r",encoding='utf-8').read() excludes = {"商议","如何","主公","军士","将军","却说","不可","不能","如此","二人","荆州"} words = jieba.lcut(txt) print(words) counts = {} for word in words: if len(word) == 1: continue elif word == "诸葛亮" or word == "孔明曰": rword = "孔明" eli...
[ "1003826976@qq.com" ]
1003826976@qq.com
1e8b36d3decd0e0499113472c2e39046014353fa
54f352a242a8ad6ff5516703e91da61e08d9a9e6
/Source Codes/CodeJamData/16/51/8.py
0a0a76035762a98ccb3b14bab09892bf3db8e467
[]
no_license
Kawser-nerd/CLCDSA
5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb
aee32551795763b54acb26856ab239370cac4e75
refs/heads/master
2022-02-09T11:08:56.588303
2022-01-26T18:53:40
2022-01-26T18:53:40
211,783,197
23
9
null
null
null
null
UTF-8
Python
false
false
775
py
#!/usr/bin/python2 # -*- coding: utf-8 -*- import sys import os class Stack(object): def __init__(self, N): self.a = ['X'] * N self.n = 0 def push(self, x): self.a[self.n] = x self.n += 1 def top(self): return self.a[self.n-1] def pop(self): self.n -=...
[ "kwnafi@yahoo.com" ]
kwnafi@yahoo.com
380a93700651bc938a605253ad4f55098290336a
2d358ffb51f03cc64cc2da0f684b0928aebe139c
/test2/booktest/migrations/0002_areainfo.py
5907812c65cd3ab0178138341bec716118c0025e
[]
no_license
853695319/learningdjango
195ffabdbd3a5b6bc4386cbb678504c0d2cd0095
d2aac1117bb2ca31e4f247a9d206adcf3a9f39a2
refs/heads/master
2020-05-03T04:59:16.094900
2019-04-23T06:25:02
2019-04-23T06:25:02
178,437,059
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('booktest', '0001_initial'), ] operations = [ migrations.CreateModel( name='AreaInfo', fields=[ ...
[ "853695319@qq.com" ]
853695319@qq.com
5beb6ad74c365944a9dacad8a0775794bd47beee
8dc7bafb4b20f7b556ca733c8a1e46ae8dd8d4cb
/accounting/accounting/doctype/payment_entry/payment_entry.py
19e889378bebce608bf0293a5597c21df65c02c0
[ "MIT" ]
permissive
MohamedAbdulsalam96/accounting
06d50f236ae94cf7741bf2750a098ae18fa02fe0
e4665df4dce863e0703b8b733255d200aa953c1c
refs/heads/master
2023-05-30T19:19:14.365102
2021-06-08T10:08:36
2021-06-08T10:08:36
630,869,866
1
0
null
2023-04-21T10:42:57
2023-04-21T10:42:57
null
UTF-8
Python
false
false
389
py
# Copyright (c) 2021, ac and contributors # For license information, please see license.txt from accounting.accounting.doctype.gl_entry.utils import create_gl_entry from frappe.model.document import Document class PaymentEntry(Document): def on_submit(self): create_gl_entry(self, self.account_paid_to, self.amount...
[ "anand21nanda@gmail.com" ]
anand21nanda@gmail.com
567fc4698f2d54fee0f1380d1be5135399468276
eef614ad302e1662f51fe6d8a880cfeef10bd3b1
/tests/functional_tests/accounts/test_signup.py
75dec47aad56a16052232ca9d3e7a76b518e1b3a
[ "MIT" ]
permissive
gitter-badger/apostello
a334a5a63a833a9e4a84f5872d44da7bdccc5477
d6eeacf7a726aa33a79676fdd3d05b25a05b0f70
refs/heads/master
2021-01-18T18:59:36.111493
2016-03-17T20:01:08
2016-03-17T20:01:08
54,472,652
0
0
null
2016-03-22T12:16:51
2016-03-22T12:16:50
null
UTF-8
Python
false
false
3,403
py
import pytest from django.contrib.auth.models import User from django.core import mail from site_config.models import SiteConfiguration @pytest.mark.django_db @pytest.mark.slow class TestSignup: def test_sign_up(self, live_server, browser, users): """ Tests the sign up form and checks that the ap...
[ "montgomery.dean97@gmail.com" ]
montgomery.dean97@gmail.com
52bdf9b51ef3cb5ff7e208165146ae83d5eef6a2
71bc873c20fbc45bb5e13095d2474496818a23f9
/code word2vec_experiment_/district_stop_words.py
397ba3344690383eea7c5304e4c07ce74bdefc1f
[]
no_license
2877992943/lianyun
f31c44ea2e266bae51cae4fa464d1bae368c8d3f
a872d6cd1b2eff402bcccb326d33d086816d87af
refs/heads/master
2021-01-20T16:17:20.226401
2017-05-10T06:49:31
2017-05-10T06:49:31
90,830,548
0
0
null
null
null
null
UTF-8
Python
false
false
808
py
#! -*- coding:utf-8 -*- import pandas as pd import sys,os,re reload(sys) sys.setdefaultencoding('utf8') import numpy as np if __name__=='__main__': path='../backup/2014_district.csv' df=pd.read_csv(path,encoding='utf-8') ll=df['dis'].values.tolist() ll_clean=[] ll_clean1=[]# more than 3 words...
[ "2877992943@qq.com" ]
2877992943@qq.com
58ac3cb19d3a3277dc1dda822c0f890412c72177
2218e1da5cb944e4509f8641ca051de137645c5e
/剑指 Offer/First/14-1.cuttingRope.py
f9cc32be30464432e53c133a87cfd362aabb6fd1
[]
no_license
Hegemony/Python-Practice
9e76ebb414433e51c2074602fb0a871891647839
b68ea41688e9e305635c63fdc43402e2b6fe6524
refs/heads/main
2023-05-05T14:00:59.921803
2021-06-01T15:38:30
2021-06-01T15:38:30
301,602,659
0
0
null
null
null
null
UTF-8
Python
false
false
243
py
class Solution: def cuttingRope(self, n: int) -> int: res = 0 for i in range(2, n + 1): cnt = n // i yu = n % i res = max(res, (cnt + 1) ** yu * cnt ** (i - yu)) return res
[ "noreply@github.com" ]
Hegemony.noreply@github.com
13a71adb0e45fcc83aa599afb5f5d43c08fd678f
ed11f664cbc459c7a4456dd58f2b231edcb22f33
/ctm_api_client/models/agent_in_hostgroup.py
25a98d8dbf0878138a0c8238cf908665308d20ce
[ "BSD-3-Clause" ]
permissive
jpmc216/ctm_python_client
c8b8ba60580bf869b3d1e6af9b99737e0a7ea527
de44e5012214ec42bb99b7f9b4ebc5394cd14328
refs/heads/main
2023-08-26T22:06:34.022576
2021-10-25T13:41:31
2021-10-25T13:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,627
py
# coding: utf-8 """ Control-M Services Provides access to BMC Control-M Services # noqa: E501 OpenAPI spec version: 9.20.215 Contact: customer_support@bmc.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from ctm_api_cl...
[ "vtadinad@bmc.com" ]
vtadinad@bmc.com
e6f27f97491f2a6ecc94d9372b6fdcd1658f6b7e
4e22e93ecdb105df4e15c63f4503522b3525f70b
/ansible/ovirt-engine-ansible4/ov4_assigned_permissions
f936ffaff44356c2f6620a8a9c2915b06b06ba14
[ "Apache-2.0" ]
permissive
machacekondra/ovirt-engine-ansible
df7e1d1bb14f154bc411bc628ee483898ecbc712
ffc5fcb5d36f039e347208ab5f9fc672cfb1f596
refs/heads/master
2021-01-19T05:30:28.561742
2016-07-20T15:21:03
2016-07-20T15:21:03
61,116,415
0
0
null
null
null
null
UTF-8
Python
false
false
5,138
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (c) 2016 Red Hat, 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 req...
[ "omachace@redhat.com" ]
omachace@redhat.com
55fa3f7713e3159c89ae3d4fb4dd6300c16bd5fb
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/59/usersdata/222/61395/submittedfiles/testes.py
4e2bd5734fb77391b86989a58aa509a2b9e0c261
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
def angulosexasimal(L): soma=0 for i in range(0,len(L),1): soma=lista[i]+(lista[i+1]/60)+(lista[i+2]/3600) return soma L=[23,37,28] print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
a6b7bb8cd0e86c6c35ca9e4e9bfd04ab18e13630
aad164e4efe1d55cc189c35956bfd435b14a0f52
/eve-8.21.494548/lib/carbonlib/trinity/windowsEvents.py
f2776157a9f13ed4b623582a3622bc8e728b2ef0
[]
no_license
Pluckyduck/eve
61cc41fe8fd4dca4fbdcc4761a37bcfeb27ed84f
9a277707ab1f162c6bd9618faf722c0be3ea93ad
refs/heads/master
2020-12-28T23:35:29.992875
2013-05-06T14:24:33
2013-05-06T14:24:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,434
py
#Embedded file name: c:\depot\games\branches\release\EVE-TRANQUILITY\carbon\common\lib\trinity\windowsEvents.py WM_NULL = 0 WM_CREATE = 1 WM_DESTROY = 2 WM_MOVE = 3 WM_SIZE = 5 WM_ACTIVATE = 6 WM_SETFOCUS = 7 WM_KILLFOCUS = 8 WM_ENABLE = 10 WM_SETREDRAW = 11 WM_SETTEXT = 12 WM_GETTEXT = 13 WM_GETTEXTLENGTH = 14 WM_PAIN...
[ "ferox2552@gmail.com" ]
ferox2552@gmail.com
2da592d046f1fde36fb19d493634f5a7e2f922cd
d58542787230deb9efa0499451a7f228570562c1
/djangoapps/schools/migrations/0006_auto_20170330_0720.py
322872df2939273964e354697590eec098517d2a
[ "MIT" ]
permissive
serudda/waysily-server
5d9edfeb14fef208ea7dd10dc06deb44b784bb4c
b2da3f3a97dbd1ef46d65f13ee9b2098124d4fc4
refs/heads/master
2023-03-03T05:36:50.689008
2017-12-27T15:25:32
2017-12-27T15:25:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
849
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.3 on 2017-03-30 07:20 from __future__ import unicode_literals from django.db import migrations import multiselectfield.db.fields class Migration(migrations.Migration): dependencies = [ ('schools', '0005_auto_20170330_0249'), ] operations = [ ...
[ "sergioruizdavila@gmail.com" ]
sergioruizdavila@gmail.com
cbc8f4f44e59bc6c67f6e78b2974635907244521
005f02cb534bbf91fe634fcf401441e1179365c8
/8-Python Level 2/8.1-Scope(hierarkia e variablave)/scope.py
ad63f08884169ea6ecf4d5dead0fa576e946220a
[]
no_license
Ruxhino-B/django-deployment-example
220a39a456871a1bf42a64fd5b945731056fc7b9
e19713ac1e11af202152ad20d7c3c94891a77e83
refs/heads/master
2020-04-18T02:21:10.505691
2020-01-06T14:18:18
2020-01-06T14:25:25
167,159,223
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
# x = 25 # def my_func(): # x = 50 # return x # print(x) #Ketu printohet 25 sepse eshte variabel global # print(my_func()) #Ketu printohet 50 sepse merret x i funksionit # my_func() # print(x) #Ketu serisht printohet 25 edhe pse eshte thirrur my_func mesiper #locals #lambda x: x**2 #ky eshte nje vari...
[ "ruxhino@gmail.com" ]
ruxhino@gmail.com
73e53aef9409cf8adde4832c379ef7acbb4ac3d4
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/exercises/_algorithms_challenges/pybites/beginner/91/test_anyall.py
d7c14f07ad586e2dafa7a87f3d42bb10477a5bb5
[]
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
994
py
# _______ p__ # # ____ ? _______ ? ? ? # # # ?p__.m__.p.("arg, expected", [ # ('aioue', T..), # ('EoUia', T..), # ('aaAiIee', T..), # ('AEIOU', T..), # ('aaeeouu', T..), # ('abcde', F..), # ('AE123', F..), # ('AiOuef', F..), # ]) # ___ test_contains_only_vowels arg, expected # ... b....
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
04a74b3c4532d7de6e7e1b194009e0a4ffb452ef
a1798c553d5b0ddbbb323f3789db991e07105867
/exec/bin/bash/google-cloud-sdk/.install/.backup/lib/surface/compute/networks/subnets/expand_ip_range.py
5afff149ebc5aa364a22ec7be2b9cbc336c43bda
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
bopopescu/Wingman
d5d44752f4cd361d51b1e4a62076fe95106ec503
957143324fc795f034a57f529cd7b61b970f4a53
refs/heads/master
2022-11-20T05:43:31.780030
2016-09-30T02:07:00
2016-09-30T02:07:00
282,287,992
0
0
null
2020-07-24T18:15:54
2020-07-24T18:15:54
null
UTF-8
Python
false
false
5,646
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "tobiah.rex@gmail.com" ]
tobiah.rex@gmail.com
90df0b83ccc840e73645521d83b6cac57016345f
e6945ece453368c03a77626833e38416ac736a66
/algorithms/basic_algorithms/sort012.py
4c05fc48dfafe6a468e49c2c9367b4c5e1b6beb7
[]
no_license
aa-ag/nano
f8949efa0e6c5df9365629ef7e4a7447ea0d8bb7
3133662b7095069485a9860bef58f9bc5760ada3
refs/heads/main
2023-04-17T05:28:12.621387
2021-04-14T00:52:54
2021-04-14T00:52:54
338,670,284
0
0
null
null
null
null
UTF-8
Python
false
false
1,253
py
def sort_012(input_list): """ The idea is to put 0 and 2 in their correct positions, which will make sure all the 1s are automatically placed in their right positions """ # initialize pointers for next positions of 0 and 2 next_pos_0 = 0 next_pos_2 = len(input_list) - 1 front_index = 0 ...
[ "aaron.aguerrevere@gmail.com" ]
aaron.aguerrevere@gmail.com
af5a5803b937541ad6881d91e5345a919f0db0ba
8c2b682e8bb27a32553cd6012d249df68617d262
/src/rot13.py
6b5445bca95bd2be62b28e8b32a33e78f9bfe258
[]
no_license
Vlad-Shcherbina/Morph-Endo-Legacy
7ca6de7632bb1fee69e1b6ec614a9ac9181fd297
e620eeb2e144d0f8cf252770d4b5c38ac99449c7
refs/heads/master
2021-01-22T04:36:49.008953
2011-02-18T16:22:34
2011-02-18T16:22:34
1,352,342
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
import sys A = ord('A') a = ord('a') table = ''.join(map(chr, range(A)+ range(A+13, A+26)+range(A, A+13)+ range(A+26, a)+ range(a+13, a+26)+range(a, a+13)+ range(a+26, 256))) for line in sys.stdin: sys.stdout.write(line.translate(table))
[ "vlad.shcherbina@gmail.com" ]
vlad.shcherbina@gmail.com
72189e28891678dea78ecc6262d662e8917521d2
bc9f66258575dd5c8f36f5ad3d9dfdcb3670897d
/lib/surface/firestore/backups/delete.py
db44a094048b32399ee0cdc1780a08bdc70508c3
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
google-cloud-sdk-unofficial/google-cloud-sdk
05fbb473d629195f25887fc5bfaa712f2cbc0a24
392abf004b16203030e6efd2f0af24db7c8d669e
refs/heads/master
2023-08-31T05:40:41.317697
2023-08-23T18:23:16
2023-08-23T18:23:16
335,182,594
9
2
NOASSERTION
2022-10-29T20:49:13
2021-02-02T05:47:30
Python
UTF-8
Python
false
false
1,583
py
# -*- coding: utf-8 -*- # # Copyright 2023 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
[ "cloudsdk.mirror@gmail.com" ]
cloudsdk.mirror@gmail.com
3b9de62a4fe10f0e2e6b3a426c400aff2b705434
45e66980d15a06b264f31f9a7d6dcd6dc271b815
/test/functional/rpc_getchaintips.py
f64055f5d7e031f912ab20627262990cd936fe7d
[ "MIT" ]
permissive
Lucky1689/ukcoin
e3ff17c66c85f5531d81580e4bc84ff3994924af
11bcd6ded7b11a7179e32f1bf0d6f75615c0dde1
refs/heads/master
2022-09-20T17:25:14.553647
2020-06-03T18:08:17
2020-06-03T18:08:17
262,382,958
0
0
null
null
null
null
UTF-8
Python
false
false
2,422
py
#!/usr/bin/env python3 # Copyright (c) 2018 The Bitcoin Core developers # Copyright (c) 2017 The Raven Core developers # Copyright (c) 2018 The Rito Core developers # Copyright (c) 2020 The Ukcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource....
[ "Ukcoin168@gmail.com" ]
Ukcoin168@gmail.com
fb55a6fe4035493d57f4e6701df30f4667531636
24cf6d01fc9485c2e5578523bce6313aab47a30e
/DataLoaders/RN_DataLoader.py
722af7b3989143c336ff0c507fcc1971dabe7058
[]
no_license
sahahn/GenDiagFramework
352212b2c540a6db73e810e416a9d3d4fa84f95a
29498d3667d644d5b3a8fd0f0e277cbdd14027ba
refs/heads/master
2020-04-14T06:10:10.609366
2019-06-18T20:22:31
2019-06-18T20:22:31
163,678,894
2
0
null
null
null
null
UTF-8
Python
false
false
2,762
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Dec 13 11:09:31 2018 @author: sage """ from DataLoaders.TwoD_DataLoader import TwoD_DataLoader from config import config import nibabel as nib import numpy as np import csv def get_name_slc(chunk): '''Specific function for loading retina-net style ...
[ "sahahn@uvm.edu" ]
sahahn@uvm.edu
4e825dc3c1d3e37064aefc4516a83fc19b3800e0
cbfb679bd068a1153ed855f0db1a8b9e0d4bfd98
/leet/greedy/Min_Steps_to_Make_Piles_Equal_Height.py
5a29476f4a588b2983fa92ec5fc6e3ae81d6e5c0
[]
no_license
arsamigullin/problem_solving_python
47715858a394ba9298e04c11f2fe7f5ec0ee443a
59f70dc4466e15df591ba285317e4a1fe808ed60
refs/heads/master
2023-03-04T01:13:51.280001
2023-02-27T18:20:56
2023-02-27T18:20:56
212,953,851
0
0
null
null
null
null
UTF-8
Python
false
false
748
py
# microsoft # Alexa is given n piles of equal or unequal heights. In one step, Alexa can remove any number of # boxes from the pile which has the maximum height and try to make it equal to the one which is just # lower than the maximum height of the stack. # Determine the minimum number of steps required to make all of...
[ "ar.smglln@gmail.com" ]
ar.smglln@gmail.com
f92a2d65cadcf3edcc995607470cff87ffcb5b0f
b525ad01dac1595f1f8e124067e7cf86fe79f5f1
/car_yaohao/tui/yaohao_prediction.py
ce300b7db846ddd4010841f554da6c085cc1db86
[]
no_license
oaifaye/tensorflow_demo
cad381700d16b10052525a4c2210cf2243df746b
660636d7bef8c7f4853c0b3a99ffdb4b6f569180
refs/heads/master
2021-09-05T09:44:22.357399
2018-01-26T07:02:24
2018-01-26T07:02:24
119,017,504
0
0
null
null
null
null
UTF-8
Python
false
false
6,400
py
''' Created on 2018年1月13日 @author: Administrator tf多特征非线性回归 https://www.2cto.com/kf/201704/626628.html ''' import tensorflow as tf import numpy as np import matplotlib.pyplot as plt # 特征数 featurenum = 3 x = tf.placeholder(tf.float32, [None, featurenum]) y = tf.placeholder(tf.float32, [None, ...
[ "slf_work@hotmail.com" ]
slf_work@hotmail.com
7558eb13c62e6e8701d8c5244984f91e09431bde
750c78b144a9ff5f03732e0db56af61e4b99de04
/allProjects/allProjects/asgi.py
9e2dcc5548b16ec4f516282108a60bba2206402c
[]
no_license
Pradeepsuthar/Covid19_symptomChecker
30af12bc26dfbcfea1c5f8231016fc5b17bac066
5c42464819dbc188d2957b4d5e98f85f90c9e3f0
refs/heads/master
2021-05-21T16:58:44.421559
2020-09-17T19:18:09
2020-09-17T19:18:09
252,727,833
0
1
null
null
null
null
UTF-8
Python
false
false
415
py
""" ASGI config for allProjects project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefa...
[ "sutharpradeep081@gmail.com" ]
sutharpradeep081@gmail.com
1c8a5f2b8ea1d21124aa4c853b16f90ccf7db25c
636ba2700eaf3a151b73144b510f38c75ab1919d
/keras/keras46_MC_5_diabetes.py
5b1e1f877d96d175939c96bf9885a18040677c9f
[]
no_license
Taerimmm/ML
17997f388e18c28dfd9de83af98a6d4bebe7e1f0
6147cede81ebcc95f21adebf75731fbbb11edfab
refs/heads/master
2023-06-10T14:26:45.335219
2021-07-05T15:30:47
2021-07-05T15:30:47
324,874,959
3
0
null
null
null
null
UTF-8
Python
false
false
1,790
py
import numpy as np from sklearn.datasets import load_diabetes dataset = load_diabetes() x = dataset.data y = dataset.target print(x.shape, y.shape) from sklearn.model_selection import train_test_split x_train, x_test, y_train, y_test = train_test_split(x, y, test_size=.2, random_state=45) x_train, x_val, y_train, y_...
[ "xofla7560@naver.com" ]
xofla7560@naver.com
d4b3004e359038387a94c6cd18da5927de369bf1
b09de58f95a76a5b1304205e44ba6be3965da33a
/chapter_06/06_use_generator_model.py
6293a47fcd3a3256bffaa319886fa4c8d652695d
[]
no_license
fenago/generative-adversarial-networks
416c6c84370c87148e00fa714b5d7ac043667cc9
9c9c08e25d01d7b69c863d7a9927b15140dca4d3
refs/heads/master
2021-01-02T12:02:08.749359
2020-02-29T12:35:21
2020-02-29T12:35:21
239,614,901
0
0
null
null
null
null
UTF-8
Python
false
false
1,269
py
# %% # define and use the generator model from numpy.random import randn from keras.models import Sequential from keras.layers import Dense %matplotlib notebook from matplotlib import pyplot # define the standalone generator model def define_generator(latent_dim, n_outputs=2): model = Sequential() model.add(Dense(15...
[ "31277617+athertahir@users.noreply.github.com" ]
31277617+athertahir@users.noreply.github.com
b99a243aa03a9fd7d85f1b818df6bfd48f4d9dab
4bb30a508977ad6b950b98c8ef4d7dec9d988a6a
/bacs350/demo/week05/Demo14/Demo14/wsgi.py
6cc8bbaec0e26b099073f17bc6059709b4275f6a
[]
no_license
Mark-Seaman/UNC-BACS350-2020-Fall
cfad05b6b58f15401e120beba9a79a9bbd8a1525
8a14ad72f43fdffa9491b9a9b38d65d71a074986
refs/heads/master
2023-07-19T03:01:27.298647
2020-12-14T19:24:39
2020-12-14T19:24:39
279,434,877
0
0
null
2021-09-22T19:44:33
2020-07-13T23:41:47
HTML
UTF-8
Python
false
false
389
py
""" WSGI config for Demo14 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/3.0/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTIN...
[ "Mark.Seaman@imac.net" ]
Mark.Seaman@imac.net
ec26144644568fdd3f604ce3d8d4aa765ca16d56
3d569375e38cbc2e73f54a9e5dd140b4021edb46
/爬虫/requests项目/爬取去哪儿景点.py
da06f893e653a0a7f404c190512dd1a2bdc4fadd
[]
no_license
Gscsd8527/python
2dffb13944346ca1772a4de52a80c644f19bcf72
c7cb0653355365fc18a235f427315fae8f2b8734
refs/heads/master
2020-04-28T21:15:23.514693
2019-04-20T12:50:04
2019-04-20T12:50:04
175,575,773
0
1
null
null
null
null
UTF-8
Python
false
false
1,007
py
import requests from bs4 import BeautifulSoup import re def parse(url): html = requests.get(url,headers=headers) html = html.text soup = BeautifulSoup(html,'lxml') city = soup.select('div.e_destin_ct dl.m_nav dd a') lst =[] for i in city: # 有的城市被推荐到热门城市中去了,而在地区中也有该城市,所以要去重 if i....
[ "tan_gscsd@163.com" ]
tan_gscsd@163.com
93410943fa474b3e5f7f1f559b3bddf843a3abd9
0e1e643e864bcb96cf06f14f4cb559b034e114d0
/Exps_7_v3/doc3d/Ablation4/Gather2_W_fixGood_C_change/ep0_test/pyr_0s/L6/step09_0side_L6.py
21fc6f084b824966d3500838e49e391b5b9d89c5
[]
no_license
KongBOy/kong_model2
33a94a9d2be5b0f28f9d479b3744e1d0e0ebd307
1af20b168ffccf0d5293a393a40a9fa9519410b2
refs/heads/master
2022-10-14T03:09:22.543998
2022-10-06T11:33:42
2022-10-06T11:33:42
242,080,692
3
0
null
null
null
null
UTF-8
Python
false
false
2,983
py
############################################################################################################################################################################################################# from step08_c_use_G_generate_I_w_M_to_Wx_Wy_Wz_focus_to_Cx_Cy_focus_combine import I_w_M_to_W_to_C from step08_b_u...
[ "s89334roy@yahoo.com.tw" ]
s89334roy@yahoo.com.tw
f6c058527d475a757333395590501ec8765c4950
c3a6b6f74623b2b26e6d4a259b06367ff6ac7a60
/tests/test_backbones/test_shufflenet_v2.py
d69ec6c117832e05159a8a12e9d20694a34127ea
[ "Apache-2.0" ]
permissive
jcwon0/BlurHPE_prev
f3785eeac7063799874f5272eacbda0234d0369a
8cac1de10a60898eaa702e536c4e24a27d469f6d
refs/heads/master
2023-04-01T03:26:59.371057
2021-04-02T07:51:46
2021-04-02T07:51:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,495
py
import pytest import torch from torch.nn.modules import GroupNorm from torch.nn.modules.batchnorm import _BatchNorm from mmpose.models.backbones import ShuffleNetV2 from mmpose.models.backbones.shufflenet_v2 import InvertedResidual def is_block(modules): """Check if is ResNet building block.""" if...
[ "jcwon@postech.ac.kr" ]
jcwon@postech.ac.kr
f6ddf8e6bf8dc89101fd648bc2a72a106cebf946
85f94cfd370ca7d384977cb091e886d8f80161e8
/setup.py
ff1a0fe29c8ffa0d284df0108fcff728caaedef3
[ "MIT" ]
permissive
litwisha/asyncio_monkey
f4df643a953f6282b6a2f1202cef5d2cfc113f98
7f845b676bdb4db1f4ccb8377327a09db4391322
refs/heads/master
2020-12-30T14:44:29.324840
2017-05-12T08:54:53
2017-05-12T08:54:53
91,078,807
0
0
null
2017-05-12T10:10:30
2017-05-12T10:10:30
null
UTF-8
Python
false
false
1,349
py
import io import os import re from setuptools import setup def get_version(): regex = r"__version__\s=\s\'(?P<version>[\d\.]+?)\'" path = ('asyncio_monkey.py',) return re.search(regex, read(*path)).group('version') def read(*parts): filename = os.path.join(os.path.abspath(os.path.dirname(__file__...
[ "hellysmile@gmail.com" ]
hellysmile@gmail.com
5bdcf9044e8d6f72c9c4ff65ce03136b1cf7aefe
d8498ca05daa83f108a231c024b4efa2f4b71747
/ex13_8.py
91f418127e41f7460d0dfa1e63b5135d5cbddbf7
[ "CC-BY-4.0", "CC-BY-3.0" ]
permissive
antoalv19/TP_solutions
ca9baf22ca1d16bac1f1bbabdefe473bb1b0ac0a
7c1d3b35c11cfbd9c66be9878aafa1dbe8802581
refs/heads/master
2020-07-03T14:31:44.626360
2020-01-04T20:01:27
2020-01-04T20:01:27
201,936,524
0
0
null
2019-08-12T13:32:04
2019-08-12T13:32:03
null
UTF-8
Python
false
false
1,735
py
import random import string from collections import defaultdict def read_and_analyze(filename, skip_header=True): '''Read a text file and perform Markov analysis. structure: dict[prefix] = suffix Returns a markov dict ''' d = defaultdict(list) with open(filename, encoding="utf8") as fin: if skip_header: ...
[ "dixingxu@gmail.com" ]
dixingxu@gmail.com
7888f9d838d0b3092c11ba496518c7f5bda7104d
453e53e9074c1657b3d04c3d3c07b8b21601852a
/.history/scraping_vivino_20210205211247.py
94882c0a467b5cae6a96af69c9894569de42a2ed
[]
no_license
kristiewirth/vivino-data-analysis
58fd66fb3b8d8a098dab5bc030b0110b287f6e22
8c02c14926fdd6dbb493b68b64daa27a7242780f
refs/heads/main
2023-02-28T02:44:15.130286
2021-02-06T05:25:59
2021-02-06T05:25:59
336,463,060
0
0
null
null
null
null
UTF-8
Python
false
false
2,102
py
import pprint as pprint import pandas as pd import requests import seaborn as sns import numpy as np df = pd.DataFrame(columns=["wine", "rating", "price"]) for page_num in np.arange(1, 10, 1): r = requests.get( "https://www.vivino.com/api/explore/explore", params={ "currency_code": "U...
[ "kristie.ann.wirth@gmail.com" ]
kristie.ann.wirth@gmail.com
71d52862afb3a6831974332d3e21dc231baa6c9b
9d30115d59ed821a5c7aecf2318b5e0ed22c9676
/src/codewars/python/5kyu/to_camel_case.py
4b2b5f97106701d81ffce74746cf93b6f058d660
[]
no_license
garigari-kun/til
02c7bf05274d1077b454e1f7d4a7355849441524
b71f36a66045ab7da7f4a97f7e18de2aaa05f493
refs/heads/master
2020-04-16T02:13:45.727909
2018-12-16T01:26:40
2018-12-16T01:26:40
56,369,670
0
0
null
null
null
null
UTF-8
Python
false
false
1,062
py
""" Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capitalized only if the original word was capitalized. Examples: # returns "theStealthWarrior" to_camel_case("the-stealth-warrior") # returns "TheStealthWarrio...
[ "keisuke.cs@gmail.com" ]
keisuke.cs@gmail.com
8c1bc0ee50750025de12f5b5afc1698f858033f0
b9865b85f99ece1cb92038a53a6f9f205fe69bc2
/sddsToolkit/printpage.py
7e7d5337c0cdbe2352afce9ff19b5f781e932f8a
[]
no_license
Tubbz-alt/SDDSTOOLS
43aa32dc556c8e1886eb408b09fb600bc6da91a3
d2a896277d6a516d7138c493a51119ac50c586c6
refs/heads/master
2021-05-29T08:49:46.271548
2014-10-22T17:58:14
2014-10-22T17:58:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
379
py
from sdds import sddsdata def printpage(sddsobj): numberOfColumns = len(sddsobj.columnName) a=[[] for i in range(numberOfColumns) ] print a # for i in range(numberOfParameters): # sddsobj.parameterData[i].append(sddsdata.GetParameter(sddsobj.index,i)) for i in range(numberOfColumns): a[i].append(sddsda...
[ "joelfred@slac.stanford.edu" ]
joelfred@slac.stanford.edu
4196e6ba86de68c23b2e601d85a6e2f9d3a8ec74
24c5b944717b35db74fe33c494ded4194b53aeca
/sephiroth/__init__.py
6cf205d176b48d14b97c2b3b6f83b8b5d367ecc1
[ "WTFPL" ]
permissive
zevlag/sephiroth
bd1f42f697fb8dffbc38f5388636ff848de72b0f
4c77aee5880751962e29b9a439a17c9c5e725a40
refs/heads/main
2023-03-12T07:24:53.636547
2021-02-26T18:45:10
2021-02-26T18:45:10
342,656,892
0
0
WTFPL
2021-02-26T17:56:09
2021-02-26T17:56:09
null
UTF-8
Python
false
false
128
py
__author__ = "0xdade" __maintainer__ = "0xdade" __email__ = "dade@actualcrimes.org" __license__ = "WTFPL" __version__ = "1.0.2"
[ "0xdade@users.noreply.github.com" ]
0xdade@users.noreply.github.com
466e264e0eb65c0ff42c8b1860796f28bd68de10
3c24f5e9a513f447d2d9f4c912e020775e15bebe
/dbm.py
d8a5a65cd6fc91862b53ab2526b266a7120d54ad
[ "MIT" ]
permissive
GiggleLiu/QuRBM
2ef5659640f272dd0bd7500862f78e1770e5376d
2cb16e534ccbf875b88c164837bb8ffada5a2b03
refs/heads/master
2021-01-23T01:45:44.578449
2017-05-01T16:40:05
2017-05-01T16:40:05
85,930,945
2
0
null
null
null
null
UTF-8
Python
false
false
5,550
py
''' Restricted Boltzmann Machine. ''' from numpy import * import numbers,pdb from scipy.special import expit from sstate import SparseState from group import NoGroup from utils import fh __all__=['DBM','random_dbm'] class DBM(object): ''' Restricted Boltzmann Machine class. Attributes: :a: 1dar...
[ "cacate0129@gmail.com" ]
cacate0129@gmail.com
d93af5bb78793b79096c1c32ccf6655fe77bfd53
74d0235c4eed1e4bc57dd906d2b3958cb48b9dba
/torch/fx/experimental/fx2trt/example/unittests.py
a8d8d4cb93d08263d3c834e4a91fbda507846076
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "BSL-1.0", "Apache-2.0", "BSD-2-Clause" ]
permissive
anjali411/pytorch
a31ecf84fe892f19452b1063f2b1de1f88d84bb0
51b67f2bca3014aa5e7f675237543b8f82743032
refs/heads/master
2022-07-22T16:58:56.800837
2021-10-14T17:22:15
2021-10-14T17:23:55
208,863,312
1
0
NOASSERTION
2020-05-14T06:54:25
2019-09-16T17:56:13
C++
UTF-8
Python
false
false
4,052
py
import torch from torch.ao.quantization.quantize_fx import ( prepare_fx, convert_fx, get_tensorrt_backend_config_dict ) import torch.fx.experimental.fx_acc.acc_tracer as acc_tracer from torch.fx.experimental.fx2trt.fx2trt import TRTInterpreter, InputTensorSpec, TRTModule from torch.testing._internal.common_...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
f700721c9081d5fcaafc1f6a00bf77aae404a0d3
8ad573e455450ce45b8dfd1cb995a8ce43f9a114
/core/result/failure/bad_request.py
a7b271b3de9e8ba75db86d3542a964b797fee057
[]
no_license
afsaneh92/dr_autol
4da458b8a6682603c227e34a1a827a5918d40831
a1bd6d55ce9b67543ad7387631c48440dd38f68d
refs/heads/master
2022-12-23T08:32:47.851059
2019-12-10T13:51:24
2019-12-10T13:51:24
227,130,083
0
0
null
2022-12-08T01:05:23
2019-12-10T13:38:52
Python
UTF-8
Python
false
false
132
py
from core.result import Result class BadRequest(Result): def dictionary_creator(self): return {"status": self.status}
[ "forafsaneh.91@gmail.com" ]
forafsaneh.91@gmail.com
b67237062e950386e920e3e37c3bf871a80d73e4
f9f0ddbb211bde92316ca746938688e7c82e2fe0
/flask-test/flask/app/recipes/routes.py
aa2d6e07e23264d7363001d65eaa43fce1987817
[]
no_license
Todai88/Python-Refresher
c93475cc08b2ed6905901f0f615bc446820382d8
a74a7e878906201ed7f09a17d44fc94d1137eb3a
refs/heads/master
2020-04-06T07:38:13.539997
2018-11-19T21:01:46
2018-11-19T21:01:46
157,279,701
0
0
null
null
null
null
UTF-8
Python
false
false
160
py
from flask import render_template from . import recipes_blueprint @recipes_blueprint.route('/') def index(): return render_template('recipes/index.html')
[ "joabaj88@gmail.com" ]
joabaj88@gmail.com