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
3dd4730257d2ce9162b298d0a83a83683ab1fdb6
4900fcc64f66590068ba2197714b8ac4d2bc00fc
/posts/migrations/0024_subcat.py
64427f1bc083f827dd955d7976162f7fda01079a
[]
no_license
Titania1/e-learning-platforme
ccea984afd1bc6407d9fd89369b17b47a3203f9a
798633e16c8aab4a6b4ea66b1231f90b92d99cff
refs/heads/main
2023-06-20T07:26:55.149463
2021-07-18T10:41:42
2021-07-18T10:41:42
387,149,909
0
0
null
null
null
null
UTF-8
Python
false
false
887
py
# Generated by Django 3.1.4 on 2021-01-04 11:56 import autoslug.fields from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('posts', '0023_auto_20210104_1057'), ] operations = [ migrations.CreateModel( ...
[ "shivamrohillaa@gmail.com" ]
shivamrohillaa@gmail.com
55f99b5bd75bdb54382219c2c32332676bbf0b37
4ad7b285be90bf5e1dad8d81f741fe177c56dbf4
/whelk/tests/test_basic.py
94414511153074c958485a3408f29dc618dae43b
[ "LicenseRef-scancode-warranty-disclaimer", "Zlib" ]
permissive
git-spindle-test-1/whelk
1be65e23ca79203bc714a9b22a236f52d89ed13b
03406c86a4435b698b9144ce674c8c8a994d8b5e
refs/heads/master
2021-01-21T12:43:26.481368
2015-12-14T15:08:44
2015-12-18T18:30:52
56,990,062
0
2
null
null
null
null
UTF-8
Python
false
false
1,365
py
from whelk.tests import * class BasicTest(unittest.TestCase): """Tests whether we can find commands""" def test_notfound(self): # Non-existing command self.assertRaises(AttributeError, lambda: shell.i_do_not_exist) self.assertRaises(KeyError, lambda: shell['/not/found']) def test_b...
[ "dennis@kaarsemaker.net" ]
dennis@kaarsemaker.net
d2c17457e9ba693684064ebe430d7e92251f9529
c97536dc1d63e5ab99a3c494cdbd7c329e654efd
/api/client/test/test_pipeline_service_api.py
01a580101c9ebd2fa52b9387194901e9d484f82c
[ "Apache-2.0" ]
permissive
sabary661990615/mlx
9958180c42e00b32498b572098789046c927aa0c
7684155c074f1bd1d16ab183598ce6d19414267b
refs/heads/main
2023-07-14T12:45:35.408653
2021-08-20T21:34:17
2021-08-20T21:34:17
394,724,026
0
0
Apache-2.0
2021-08-10T17:11:49
2021-08-10T17:11:48
null
UTF-8
Python
false
false
2,377
py
# Copyright 2021 IBM Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
[ "82406273+mlx-bot@users.noreply.github.com" ]
82406273+mlx-bot@users.noreply.github.com
0b07d00ae2dbeac0f4c27afa2a0627c8cecf4ce3
264ff719d21f2f57451f322e9296b2f55b473eb2
/tools/nntool/reports/activation_reporter.py
00b3388c2cf0163e0f28e97977614afe6899ef17
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
knmcguire/gap_sdk
06c9537c16fa45dea6b7f5c6b162b53953262915
7b0a09a353ab6f0550793d40bd46e98051f4a3d7
refs/heads/master
2020-12-20T06:51:19.580497
2020-01-21T14:52:28
2020-01-21T14:52:28
235,992,961
0
0
Apache-2.0
2020-01-24T11:45:59
2020-01-24T11:45:58
null
UTF-8
Python
false
false
3,693
py
# Copyright (C) 2019 GreenWaves Technologies # All rights reserved. # This software may be modified and distributed under the terms # of the BSD license. See the LICENSE file for details. import copy from collections import OrderedDict from graph.nngraph import NNGraph from utils.stats_funcs import STATS_BITS, asta...
[ "noreply@github.com" ]
knmcguire.noreply@github.com
6b57348d5f5ad826051c302ab6dd0b359e0c9756
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/gigasecond/442744b90ea54dde9d89774dcc794c00.py
cac1e2d437346165b5cedc399ecfb21e3134ec27
[]
no_license
itsolutionscorp/AutoStyle-Clustering
54bde86fe6dbad35b568b38cfcb14c5ffaab51b0
be0e2f635a7558f56c61bc0b36c6146b01d1e6e6
refs/heads/master
2020-12-11T07:27:19.291038
2016-03-16T03:18:00
2016-03-16T03:18:42
59,454,921
4
0
null
2016-05-23T05:40:56
2016-05-23T05:40:56
null
UTF-8
Python
false
false
167
py
from datetime import date, timedelta gigaseconds = timedelta(seconds=10**9) def add_gigasecond(birthdate): return birthdate + gigaseconds
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
5102a36c3d40740383d2bf17d4d414eaded9c386
870639af1487cf59b548f56c9cd1a45928c1e2c2
/tests/components/knx/test_services.py
c61dc54258630841851c356535c813aae14a0971
[ "Apache-2.0" ]
permissive
atmurray/home-assistant
9f050944d26c084f8f21e8612a7b90c0ae909763
133cb2c3b0e782f063c8a30de4ff55a5c14b9b03
refs/heads/dev
2023-03-19T04:26:40.743852
2021-11-27T05:58:25
2021-11-27T05:58:25
234,724,430
2
0
Apache-2.0
2023-02-22T06:18:36
2020-01-18T11:27:02
Python
UTF-8
Python
false
false
5,995
py
"""Test KNX services.""" from homeassistant.const import STATE_OFF, STATE_ON from homeassistant.core import HomeAssistant from .conftest import KNXTestKit from tests.common import async_capture_events async def test_send(hass: HomeAssistant, knx: KNXTestKit): """Test `knx.send` service.""" test_address = "1...
[ "noreply@github.com" ]
atmurray.noreply@github.com
0de155d0c6246dd70a43627dbd6d4515146bed41
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_167/ch56_2019_04_02_11_22_12_410576.py
b71102a26ce7e6987c76cd0a9081fe8dbd16784a
[]
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
150
py
def calcula_total_da_nota (n): l=[] b=[] i=0 n=0 while i and n < len(n) and len(i): total= n*i i+=1 n+=1
[ "you@example.com" ]
you@example.com
679461f083307a15e18fd892f8642f995542c663
3f5a1ef51620fd8c35ef38064ca5aa00776ab6f4
/ds_and_algo_educative/Circular_Linked_List/Delete_node.py
b03ffc0b97506c96ab87f6e8860db2a1d712a1da
[]
no_license
poojagmahajan/python_exercises
1b290a5c0689f703538caf89bca5bc6c1fdb392a
65539cf31c5b2ad5768d652ed5fe95054ce5f63f
refs/heads/master
2022-11-12T03:52:13.533781
2020-07-04T20:50:29
2020-07-04T20:54:46
263,151,942
0
0
null
null
null
null
UTF-8
Python
false
false
2,958
py
"""steps - 1. if List is not empty 2. if Deleting the head node set cur to head iterate till next of cur is head (means here cur is last node which points to head) 3. if head is only node in list means point to self then make head none ...
[ "mahajanpoojag@gmail.com" ]
mahajanpoojag@gmail.com
13e571b7ef732cb18760a4b8eac56aae11b7b6f6
af500242dc59de0855873e87a1f7f3ff69f7c9b0
/discord_bot.py
08bca3a0117cb0e2921510f9b396bd5bc3e1a628
[]
no_license
Sispheor/discord_troll_bot
0400aefe9ca6477139b498c6850cf2d710810a10
6621556cd63c20e21865de6f05760f6fb321674d
refs/heads/master
2022-02-22T09:05:09.423633
2021-10-24T19:00:08
2021-10-24T19:30:07
156,092,074
0
0
null
2021-04-18T10:05:53
2018-11-04T14:44:24
Python
UTF-8
Python
false
false
2,669
py
# authorize bot # https://discordapp.com/oauth2/authorize?&client_id=<my_id>&scope=bot&permissions=0 # apt install ffmpeg import os import signal import discord as discord from database_loader import get_database from models.discord_user import DiscordUser from models.game_session import GameSession from my_discord_c...
[ "nico.marcq@gmail.com" ]
nico.marcq@gmail.com
f1571ba276d35a04cb87417fbfbd357256c78554
4250618abef0d0dcf399f8a2a23e2049c3458ea8
/website/wiki/editors/__init__.py
926c100f57e637ce11700d4e06c62066e48e9193
[ "MIT" ]
permissive
skbly7/serc
121fd7e88df25213de4d53fce4bd03c2ea448d68
4442298ee05c24c3c6bacffdc56a9f6076397cce
refs/heads/master
2020-12-27T03:18:45.280464
2019-05-16T06:10:31
2019-05-16T19:13:12
53,425,352
0
2
MIT
2019-05-16T19:13:14
2016-03-08T16:00:03
Python
UTF-8
Python
false
false
420
py
from __future__ import absolute_import from wiki.conf import settings from django.core.urlresolvers import get_callable _EditorClass = None _editor = None def getEditorClass(): global _EditorClass if not _EditorClass: _EditorClass = get_callable(settings.EDITOR) return _EditorClass def getEdito...
[ "skbly7@gmail.com" ]
skbly7@gmail.com
bffda1a8a18b767fb92c11803909d33101a396ef
6c8b3ef3b6a3e77ee9a3cc56898217654b043154
/typings/rdkit/Chem/Suppliers/DbMolSupplier.pyi
61f763c7a446fccf2fb3da136c8676a0431cb1d8
[ "MIT" ]
permissive
Andy-Wilkinson/ChemMLToolkit
8a1eb24ab317c470bc89efa206e38734cb83a7d2
83efc7ea66d2def860a3e04ccd70d77fb689fddc
refs/heads/main
2021-12-26T04:44:05.566942
2021-12-13T21:59:57
2021-12-13T21:59:57
171,165,863
2
2
MIT
2021-12-13T17:18:30
2019-02-17T20:00:01
Python
UTF-8
Python
false
false
1,565
pyi
""" This type stub file was generated by pyright. """ from rdkit.Chem.Suppliers.MolSupplier import MolSupplier """ Supplies a class for working with molecules from databases """ def warning(msg, dest=...): # -> None: ... class DbMolSupplier(MolSupplier): """ new molecules come back with all additional fields...
[ "Andy-Wilkinson@users.noreply.github.com" ]
Andy-Wilkinson@users.noreply.github.com
1ec663443d423b72112a60041ac5443ef0a9f4b3
321b4ed83b6874eeb512027eaa0b17b0daf3c289
/94/94.binary-tree-inorder-traversal.234795664.Accepted.leetcode.py
26e7f20ae3496c22874206d6011746e3b09545bf
[]
no_license
huangyingw/submissions
7a610613bdb03f1223cdec5f6ccc4391149ca618
bfac1238ecef8b03e54842b852f6fec111abedfa
refs/heads/master
2023-07-25T09:56:46.814504
2023-07-16T07:38:36
2023-07-16T07:38:36
143,352,065
0
1
null
null
null
null
UTF-8
Python
false
false
368
py
class Solution(object): def inorderTraversal(self, root): result = [] stack = [] while stack or root: if root: stack.append(root) root = root.left else: root = stack.pop() result.append(root.val) ...
[ "huangyingw@gmail.com" ]
huangyingw@gmail.com
8fe8d8bbb0912b1b6723ae96719c9d83cd3a7cb7
60fa442ae76b960ab21b10fb527c0eac85cdc587
/python/GetBfacsfromPdb2Pdb.py
25a0cab9d1c0a5eb66ba89cf74ff05ede32f6a54
[]
no_license
pjanowski/Pawel_PhD_Scripts
8e6c2b92b492f9cacf425327a01faaceb27bb87d
5f9b1735ca6da8fdf0946d6748f3da7d3d723d5e
refs/heads/master
2021-01-10T06:15:30.287053
2015-11-16T04:04:07
2015-11-16T04:04:07
46,250,317
0
1
null
null
null
null
UTF-8
Python
false
false
1,178
py
#! /usr/bin/python import sys import os from numpy import * #####input the following variables crystalfile=sys.argv[1] targetfile=sys.argv[2] ############################# #This is to get the bfactors from the original cif or pdb file and put them #the bfactor column of another file. If atoms are in the same order ...
[ "pawelrc@gmail.com" ]
pawelrc@gmail.com
e466432360117169eeda09a88c691d3f1ac4ecda
2c74bb301f1ed83b79254944183ac5a18a639fdf
/tests/components/file/test_sensor.py
725ccb527f8127426461473a8f07eae6fda3b9de
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
3,066
py
"""The tests for local file sensor platform.""" from unittest.mock import Mock, patch import pytest from homeassistant.const import STATE_UNKNOWN from homeassistant.core import HomeAssistant from homeassistant.setup import async_setup_component from tests.common import get_fixture_path, mock_registry @pytest.fixtu...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
cff39237331fe9e1d9a2bd00d5eb9295e1a2f178
3c936cecac73c0de0ce8bca959ef9b49abf96b5e
/slowfast/utils/benchmark.py
94b94b4f8038517f82d504da2378cc5937ed7c48
[ "Apache-2.0" ]
permissive
AlexanderMelde/SlowFast
8cce07d399d3b0d2fe08bf471b5f69e147e9c9e3
b26b3ec3f3b4cd34c3d626b0fa06818bc69327f4
refs/heads/master
2022-11-19T00:50:49.484136
2020-04-29T23:28:08
2020-04-29T23:30:51
257,588,764
0
0
Apache-2.0
2020-04-30T20:51:40
2020-04-21T12:29:11
Python
UTF-8
Python
false
false
3,198
py
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved """ Functions for benchmarks. """ import numpy as np import pprint import torch import tqdm from fvcore.common.timer import Timer import slowfast.utils.logging as logging import slowfast.utils.misc as misc from slowfast.datasets import loader from...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
e6070a073f733d9b54b40d15cfacc66e992b4c2b
20acb8c4bd5f29e6ecc9006f6228b787b6f71c73
/app/travel_borders_api/asgi.py
eaa6393c06d5e5e1eeabb5d4ed12b51b0b4c0234
[]
no_license
datainvestor/TravelBordersApi
3e6dd8c331c08603f16790aa52a4eb131754423e
75cd5936f7c121ab8f90430f455095337eb5c141
refs/heads/master
2023-05-09T05:24:40.843955
2021-06-03T19:11:33
2021-06-03T19:11:33
371,000,774
0
0
null
null
null
null
UTF-8
Python
false
false
413
py
""" ASGI config for travel_borders_api 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.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('D...
[ "you@example.com" ]
you@example.com
14fa51b5951a609f30d6f5382c6dc0df6719efa5
2bc8f66fd34ba1b93de82c67954a10f8b300b07e
/general_backbone/models/layers/space_to_depth.py
48e73a718a9b86f6a483b8172b52ba33c6fde35b
[]
no_license
DoDucNhan/general_backbone
7dabffed5a74e622ba23bf275358ca2d09faddc1
686c92ab811221d594816207d86a0b97c9b4bc73
refs/heads/main
2023-08-31T14:59:23.873555
2021-10-23T06:34:14
2021-10-23T06:34:14
420,419,141
1
0
null
null
null
null
UTF-8
Python
false
false
1,805
py
# Copyright (c) general_backbone. All rights reserved. import torch import torch.nn as nn class SpaceToDepth(nn.Module): def __init__(self, block_size=4): super().__init__() assert block_size == 4 self.bs = block_size def forward(self, x): N, C, H, W = x.size() x = x.v...
[ "phamdinhkhanh.tkt53.neu@gmail.com" ]
phamdinhkhanh.tkt53.neu@gmail.com
690d1fb3811c94ca85e0333746c7a3bd66f82987
3b9b4049a8e7d38b49e07bb752780b2f1d792851
/src/chrome/browser/ui/views/DEPS
4637b49c44569e29c5e05fa5798cb3fe21e9680c
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
webosce/chromium53
f8e745e91363586aee9620c609aacf15b3261540
9171447efcf0bb393d41d1dc877c7c13c46d8e38
refs/heads/webosce
2020-03-26T23:08:14.416858
2018-08-23T08:35:17
2018-09-20T14:25:18
145,513,343
0
2
Apache-2.0
2019-08-21T22:44:55
2018-08-21T05:52:31
null
UTF-8
Python
false
false
196
include_rules = [ "+chrome/browser/ui/views", "+components/constrained_window", "+components/mus/public/cpp", "+components/user_manager", "+content/app/resources/grit/content_resources.h", ]
[ "changhyeok.bae@lge.com" ]
changhyeok.bae@lge.com
eb3bae2cd6c429b345069cfc2bfb1afabf8a250c
cfb1073b578e94315bb824e1ee659950fd99b91f
/web/budgets/urls.py
4463366aef415bd538988d6f33ba3e6bcf64f8fb
[]
no_license
madelinepet/budget_tool
1cf8e910a5def4a13d4b491214fefd4d02e2409f
8d682907f98959b88c191a06abba92e4f1c3fd46
refs/heads/master
2021-06-13T18:53:39.701832
2019-08-02T17:17:12
2019-08-02T17:17:12
151,135,979
0
0
null
null
null
null
UTF-8
Python
false
false
549
py
from django.urls import path from .views import ( BudgetListView, TransactionDetailView, BudgetCreateView, TransactionCreateView, ) urlpatterns = [ path('budget', BudgetListView.as_view(), name='budget_view'), path('budget/new', BudgetCreateView.as_view(), name='budget_create'), path( ...
[ "madelinepet@hotmail.com" ]
madelinepet@hotmail.com
a3227dc045f8e76677e6a561e74f403e6a16d8b4
05780fe9a74b116832611a35fce38fa24b4d4ffc
/madgraph/madgraph_binaries/models/OLD_loopModels_backup/smQCDNLOmass/lorentz.py
3ea7fb70b89a58b93d5c0d64a9d5496a9aee5e20
[]
no_license
cesarotti/Dark-Photons
d810658190297528470abe757c4a678075ef48f6
c6dce1df70c660555bf039a78765e4efbffb4877
refs/heads/master
2021-01-22T19:26:13.892225
2015-01-28T05:43:20
2015-01-28T05:49:54
20,692,647
2
2
null
null
null
null
UTF-8
Python
false
false
2,518
py
# This file was automatically created by FeynRules $Revision: 535 $ # Mathematica version: 7.0 for Mac OS X x86 (64-bit) (November 11, 2008) # Date: Fri 18 Mar 2011 18:40:51 from object_library import all_lorentz, Lorentz from function_library import complexconjugate, re, im, csc, sec, acsc, asec R2_GG_1 = Lorentz(...
[ "eyvind.niklasson@gmail.com" ]
eyvind.niklasson@gmail.com
8ef864cb9d779223b9c72360d7e995c16611736f
4a8bfa3407aa98a04ede3162f85467b1b5012fe7
/aiogram/api/types/animation.py
bf9a29a321fea81e8096895f80a8b30531f09602
[]
no_license
aiogram/tg-codegen
07ec80814eec46f464d2490fd27b7b6b27257f1b
ba3c2f893591d45dda418dd16e0646e260afdf14
refs/heads/master
2022-12-09T10:44:10.781570
2021-11-07T23:33:25
2021-11-07T23:33:25
218,523,371
24
5
null
2022-12-08T08:47:43
2019-10-30T12:33:21
Python
UTF-8
Python
false
false
1,276
py
from __future__ import annotations from typing import TYPE_CHECKING, Optional from .base import TelegramObject if TYPE_CHECKING: from .photo_size import PhotoSize # === Generated region: Animation === class Animation(TelegramObject): """ This object represents an animation file (GIF or H.264/MPEG-4 AVC...
[ "jroot.junior@gmail.com" ]
jroot.junior@gmail.com
338b83160b9e57f4812825f9e2c52a813242d952
bdbc9cd8c64cfa92efffb9e138cb282d36f69b0a
/addons/website_mail/__openerp__.py
a160ac0bab52188a3a20c2e1a6e1298140191e9f
[]
no_license
clebaresu/impra-adns
d330cece1b710643625627bfd7ed66bac7d233ef
8b9889d86c6ea194cfb7b0db8bdc3284635cc081
refs/heads/master
2020-05-02T16:51:41.798969
2019-03-27T22:03:32
2019-03-27T22:03:32
178,080,681
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2013-Today OpenERP SA (<http://www.openerp.com>). # # This program is free software: you can redistribute it and/or modify # it under the...
[ "clebaresu@gmail.com" ]
clebaresu@gmail.com
1aed9706512090afb363b8b4ed3d72448e09f2ae
f11ecb59dab63af605c6e5f256ee59e00447ecc1
/658-find-k-closest-elements.py
bdc8d9afda5c7990ddfaa5b37493cfc0919ea122
[]
no_license
floydchenchen/leetcode
626d55f72ec914764385ce82b0f3c57f5a7e9de8
9d9e0c08992ef7dbd9ac517821faa9de17f49b0e
refs/heads/master
2022-10-07T20:33:55.728141
2020-06-08T16:09:17
2020-06-08T16:09:17
269,525,880
0
0
null
null
null
null
UTF-8
Python
false
false
1,655
py
# 658. Find K Closest Elements # Given a sorted array, two integers k and x, find the k closest elements to x in the array. # The result should also be sorted in ascending order. If there is a tie, the smaller # elements are always preferred. # # Example 1: # Input: [1,2,3,4,5], k=4, x=3 # Output: [1,2,3,4] # Example ...
[ "chen2918@umn.edu" ]
chen2918@umn.edu
985a206f9c8a4ee9e27bbe5543558e87b38d7bbe
0feb9799532328d2eb5c9673751bf44a06652375
/logic/falsifiability.py
c1472cd4f55454103672fe465c572608f1fd38dc
[]
no_license
krishnakatyal/philosophy
ebc78947508f12a9d06356d2cc8d38f6afb0510a
f7735e9adc9ba609894d89384562dbda2f794548
refs/heads/master
2022-03-28T14:00:52.460599
2020-01-25T00:28:55
2020-01-25T00:28:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
""" We say that a theory is falsified only if we have accepted basic statements which contradict it (cf. section 11, rule 2). This condition is necessary, but not sufficient; for we have seen that non-reproducible single occurrences are of no significance to science. Thus a few stray basic statements contradicting a ...
[ "shussainather@gmail.com" ]
shussainather@gmail.com
549f5cdd2f1ceb5c3304e98da3e3fb0df1f12544
8f4f9a07fa25490289b76253971b2ae8c386e8cd
/huaweicloud-sdk-kafka/setup.py
3f33f92192faaa07344e21f9595dfb8db145ea7d
[ "Apache-2.0" ]
permissive
xingkongcwb/huaweicloud-sdk-python-v3
5c635af84a9fb4fb37c45a8de38f691724ca5e31
007d5c54ff71f0a2d7b52dcc53e3d38dec4fe775
refs/heads/master
2023-03-23T09:56:10.606710
2021-03-19T12:47:29
2021-03-19T12:47:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,421
py
# coding: utf-8 from os import path from setuptools import setup, find_packages NAME = "huaweicloudsdkkafka" VERSION = "3.0.37-rc" AUTHOR = "HuaweiCloud SDK" AUTHOR_EMAIL = "hwcloudsdk@huawei.com" URL = "https://github.com/huaweicloud/huaweicloud-sdk-python-v3" DESCRIPTION = "Kafka" this_directory = path.abspath(pat...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
4a5516634363232525aa64ac4cf02350279fd5aa
e20ff12b280bcae1ee6436a0a2285a10fce7baf0
/Proposal_Extraction_Code/py-faster-2/tools/demo.py
7d08a57f24a2fb7f4b7618a1e657f7c46e2e9a66
[]
no_license
SeokHeel/face_classification_ccbr2016
e5037c86d9ed33bf375101b0ce1eab97c45b4199
05f5664d41ebffb89389902423479db2a64e2501
refs/heads/master
2021-06-08T20:55:50.079297
2016-10-16T10:28:11
2016-10-16T10:28:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,651
py
#!/usr/bin/env python # -------------------------------------------------------- # Faster R-CNN # Copyright (c) 2015 Microsoft # Licensed under The MIT License [see LICENSE for details] # Written by Ross Girshick # -------------------------------------------------------- """ Demo script showing detections in sample i...
[ "davidsonic@163.com" ]
davidsonic@163.com
ec3ad99b79a2d058b98fd32d979c31f5dc59e36b
4af281a1b2992de4dceb37ef91f635c44e4f7dcd
/keymaster/server/model/entry_tag.py
f0dafd5d3a14eec05412335222adc013d1a49fe0
[ "Apache-2.0" ]
permissive
shiroyuki/keymaster
e9772b50c4966ef2ee00860c934a161af60007e3
1efee54427378394ab04d0e53247eb38c28bc97c
refs/heads/master
2020-12-23T11:29:19.262198
2020-02-09T06:20:50
2020-02-09T06:20:50
237,137,133
0
0
null
null
null
null
UTF-8
Python
false
false
507
py
from dataclasses import dataclass from uuid import uuid4 from xmode.db.analyzer import default, constraint, identified_by, stored_in from xmode.db.definitions import UUID, String @stored_in('entry_tags') @identified_by('id') # This is a PK. @constraint('index', ('owner_id',)) @constraint('unique', ('owner_id', 'ent...
[ "jnopporn@shiroyuki.com" ]
jnopporn@shiroyuki.com
d5c63e22901bf27c426b46d99840236846c3fc62
ccc86a5029ff00b478685fe8ae365db141096927
/shop/migrations/0001_initial.py
6b30a5fe0d0b92676ee132213ecea53afdab2dbe
[]
no_license
jaishivnani/MyAwesomeCart
d0359744d80aa5c29fb77b91eb93434dbf72fd20
7ea29cb190b281a3ec2a5385e783a6660f0f905e
refs/heads/main
2023-01-04T20:45:22.229027
2020-10-24T18:27:16
2020-10-24T18:27:16
305,470,988
1
1
null
null
null
null
UTF-8
Python
false
false
602
py
# Generated by Django 3.1 on 2020-08-27 16:12 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Product', fields=[ ('id', models.AutoField(au...
[ "jaishivnani30@gmail.com" ]
jaishivnani30@gmail.com
e15b690026e60540430f1e6f9ef59773e11ad73b
d67bd00f8fe819bd3011ce154c19cbc765d59f1d
/branches/3.2_buildout/il/sapl/skins/consultas/protocolo/protocolo_index_html.py
e345773faec152ee9eb9e8df142a93e8c00973f7
[]
no_license
openlegis-br/sagl
90f87bdbbaa8a6efe0ccb5691ea8424575288c46
eabf7529eefe13a53ed088250d179a92218af1ed
refs/heads/master
2023-08-31T12:29:39.382474
2023-08-29T16:12:01
2023-08-29T16:12:01
32,593,838
17
1
null
2023-08-29T06:16:55
2015-03-20T16:11:04
Python
UTF-8
Python
false
false
371
py
from Products.CMFCore.utils import getToolByName request=context.REQUEST mt = getToolByName(context, 'portal_membership') if mt.isAnonymousUser(): redirect_url=context.portal_url()+'/consultas/protocolo/pesquisa_publica_form' else: redirect_url=context.portal_url()+'/consultas/protocolo/protocolo_pesqui...
[ "contato@openlegis.com.br" ]
contato@openlegis.com.br
31e8ef8e14aef22b0ad325db319efbf0418237b6
f5b36f10e6c9c1dbe70208c291c7af5f3e0d39c9
/client_src/client.py
c15f8f6b879e881dc1deceddbc90b73c589a7112
[]
no_license
gandolfreddy/esp8266_project
3a1eabd70f41dcf76b4c8e62cde1a926794841ab
08625955fba09e14d6d3b18e391824fcf3f2456a
refs/heads/main
2023-05-29T18:10:32.509840
2021-06-17T19:18:00
2021-06-17T19:18:00
377,606,747
0
0
null
null
null
null
UTF-8
Python
false
false
934
py
import socket from machine import Pin from time import sleep_ms def start(): led = Pin(2, Pin.OUT, value=1) sw_led = Pin(0, Pin.IN, Pin.PULL_UP) sw_bye = Pin(12, Pin.IN, Pin.PULL_UP) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR...
[ "noreply@github.com" ]
gandolfreddy.noreply@github.com
57580b731fc5be2d1f3b6c50e77441d76337e23f
3cef23043a4bf3bc2a37d952e51b1a9faeb76d0b
/tests/widgets/test_mdselect.py
f103357802890708ffc5494965f13e07c3cde412
[ "MIT" ]
permissive
hiroaki-yamamoto/django-nghelp
794bc103ecf5bb652363e3a1df530afa971ac46a
e15dc408a4a9205d23f9d68b6d10d7b9648dbd2e
refs/heads/master
2020-07-29T21:41:23.972244
2018-01-15T04:30:49
2018-01-15T04:30:49
73,657,569
2
0
null
null
null
null
UTF-8
Python
false
false
4,463
py
#!/usr/bin/env python # coding=utf-8 """MDSelect Tests.""" from django import setup from django.test import TestCase from django_nghelp.widgets import MDSelect setup() class SimpleMDSelectTest(TestCase): """Simple MDSelect Usage test.""" def setUp(self): """Setup.""" self.field = MDSelect...
[ "hiroaki@hysoftware.net" ]
hiroaki@hysoftware.net
3439cd72da514cd08f996686a5271e11db6ec5df
2f989d067213e7a1e19904d482a8f9c15590804c
/lib/python3.4/site-packages/faker/utils/decorators.py
4dc5f2fa92aff4383077799a7f5457c4e9b98750
[ "MIT" ]
permissive
levabd/smart4-portal
beb1cf8847134fdf169ab01c38eed7e874c66473
2c18ba593ce7e9a1e17c3559e6343a14a13ab88c
refs/heads/master
2023-02-18T05:49:40.612697
2022-08-02T09:35:34
2022-08-02T09:35:34
116,001,098
0
1
MIT
2023-02-15T21:34:01
2018-01-02T10:00:07
Roff
UTF-8
Python
false
false
534
py
# coding=utf-8 from functools import wraps from faker.utils import text def slugify(fn): @wraps(fn) def wrapper(*args, **kwargs): return text.slugify(fn(*args, **kwargs)) return wrapper def slugify_domain(fn): @wraps(fn) def wrapper(*args, **kwargs): return text.slugify(fn(*arg...
[ "levabd@gmail.com" ]
levabd@gmail.com
1b739b8ddc0c3ea06a70f43ebd20060c45f6d936
91d1a6968b90d9d461e9a2ece12b465486e3ccc2
/dlm_write_f/resource_tag.py
ea3068d36bd5cd92a43e321bfe732414ac7ef3c8
[]
no_license
lxtxl/aws_cli
c31fc994c9a4296d6bac851e680d5adbf7e93481
aaf35df1b7509abf5601d3f09ff1fece482facda
refs/heads/master
2023-02-06T09:00:33.088379
2020-12-27T13:38:45
2020-12-27T13:38:45
318,686,394
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
#!/usr/bin/python # -*- codding: utf-8 -*- import os import sys sys.path.append(os.path.dirname(os.path.abspath(os.path.dirname(__file__)))) from common.execute_command import write_parameter # url : https://awscli.amazonaws.com/v2/documentation/api/latest/reference/ec2/describe-instances.html if __name__ == '__main__...
[ "hcseo77@gmail.com" ]
hcseo77@gmail.com
aebfaa7b26235eadfb4ca58a1c720541daabd68a
29da2ca6def1270be13a3096685a8e5d82828dff
/CIM14/IEC61970/LoadModel/ConformLoadGroup.py
8d8d955dd5c605b9e577b17866563deec9ca5a69
[ "MIT" ]
permissive
rimbendhaou/PyCIM
75eb3bcd3729b2410c03f3d5c66d6f1e05e21df3
d578bb0bf1af344342bd23344385ed9c06c2d0ee
refs/heads/master
2022-04-28T01:16:12.673867
2020-04-16T02:19:09
2020-04-16T02:19:09
256,085,381
0
0
MIT
2020-04-16T02:15:20
2020-04-16T02:08:14
null
UTF-8
Python
false
false
3,544
py
# Copyright (C) 2010-2011 Richard Lincoln # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish...
[ "rwl@thinker.cable.virginmedia.net" ]
rwl@thinker.cable.virginmedia.net
3b3b7fb2927e145132ea14c11ad0d36645415be1
f5377cebd671c743cb44dc76b1ab8ea502c47849
/scripts/getCommitLink.py
94ff04a509bd5ff0a3e1ec70bc715f5ac019e677
[]
no_license
Kechegomz/propMining
67a38f6b3d62d043c18591381bde15769fd8f72f
fc66861567473e4491f78290f5fcc034bdfc099b
refs/heads/master
2023-05-04T07:11:32.712962
2021-05-28T10:15:56
2021-05-28T10:15:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,018
py
import urllib.request import urllib.error from bs4 import BeautifulSoup import ast import time import sys path = sys.argv[1] def getHtml(url): try: fp = urllib.request.urlopen(link) return fp except urllib.error.HTTPError as e: if e.getcode() == 429: ...
[ "MY_NAME@example.com" ]
MY_NAME@example.com
7b9f9b5bfad5c0d7ee7eef3d0d08b5cde41e18c4
ae7d5d11351af9201ce6181c48b8c60363c7ed00
/lib/galaxy/model/migrate/versions/0157_rework_dataset_validation.py
f315961a724527975006d0548c3d77274c30a0dd
[ "CC-BY-2.5", "AFL-2.1", "AFL-3.0", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
natefoo/galaxy
818037d03f39ccfb3714c7e784fd64d7ad8f4d2e
64150c5bd803e75ed032e9f15acd003bae92b5ef
refs/heads/master
2023-08-17T02:57:02.580487
2020-03-26T13:33:01
2020-03-26T13:33:01
31,212,836
2
1
NOASSERTION
2019-04-25T12:30:28
2015-02-23T15:01:46
Python
UTF-8
Python
false
false
2,218
py
""" Rework dataset validation in database. """ from __future__ import print_function import logging from sqlalchemy import ( Column, ForeignKey, Integer, MetaData, Table, TEXT, ) from galaxy.model.custom_types import TrimmedString from galaxy.model.migrate.versions.util import add_column, cre...
[ "jmchilton@gmail.com" ]
jmchilton@gmail.com
4caba39636403bb61752fffbb21005e82c319669
78b44dff4ca19aba4815a383f0e715a7ce178703
/src/sort/leetcode242_ValidAnagram.py
868c94ea3964fe2a13d4813167b243696b106043
[]
no_license
apepkuss/Cracking-Leetcode-in-Python
80e5e9fd407441db77652fc480f523d3636281c1
cbe6a7e7f05eccb4f9c5fce8651c0d87e5168516
refs/heads/master
2021-09-03T00:11:05.434202
2018-01-04T07:38:02
2018-01-04T07:38:02
85,363,605
2
0
null
null
null
null
UTF-8
Python
false
false
1,384
py
class Solution(object): """ @ Amazon, Uber, Yelp Hash Table Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true. s = "rat", t = "car", return false. Note: You may assume the string contains only...
[ "xin.sam.liu@hotmail.com" ]
xin.sam.liu@hotmail.com
74d56f3d4e8a30326e6d5c28fe262e9b50446a41
64b2026bd0b6f3be8b6e881ec9ddd9ca432e20f6
/gendiff/formats/__init__.py
b101a79de81280debfef4fe44ae7d4992275692f
[]
no_license
akocur/python-project-lvl2
e8a973902fbbbbb29a5081f1f76c6d33a13e8996
706fe3b9b48679e1cf02763c2459883be4bf028f
refs/heads/main
2023-07-16T04:16:37.107677
2021-09-03T09:44:26
2021-09-03T09:44:26
396,692,997
0
0
null
null
null
null
UTF-8
Python
false
false
760
py
from gendiff.formats.plain import plain from gendiff.formats.stylish import stylish from gendiff.formats.json import formatted_to_json FORMAT_PLAIN = 'plain' FORMAT_JSON = 'json' FORMAT_STYLISH = 'stylish' def get_formatter(format_name): """ Return formatter by format_name. :param format_name: str ...
[ "akocur@yandex.ru" ]
akocur@yandex.ru
5ea90cb07677aae40edaea3b4f2b8ca14d93ff57
3834a683bc7f3eb66615fad8c95d2f9400ca825a
/Palinlink.py
c89bde0f7828267cfa4484e449cfee06748108c6
[]
no_license
balajimanikandanm/python3
5d0ae2a0fd2e20426ee9ac5dfc8a26eb0117aa29
ed151ee91c935dc7ecb2c0e54c4e7b107a32c5e7
refs/heads/master
2020-05-31T22:37:44.534017
2019-08-14T10:24:00
2019-08-14T10:24:00
190,523,807
0
1
null
null
null
null
UTF-8
Python
false
false
470
py
class Stack: def __init__(self): self.items = [] def is_empty(self): return self.items == [] def push(self, data): self.items.append(data) def pop(self): return self.items.pop() sb = Stack() text = input() for character in text: sb.push(character) revers...
[ "noreply@github.com" ]
balajimanikandanm.noreply@github.com
692205fd486af2933f22524eb23723379f93900b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/63/usersdata/160/30989/submittedfiles/swamee.py
26285a5016005edac6a49bc82c98cdb39ca1a975
[]
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
419
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI f=float(input('Digite f:')) L=float(input('Digite L:')) Q=float(input('Digite Q:')) DeltaH=float(input('Digite DeltaH:')) v=float(input('Digite v:')) g=9.81 E=0.000002 D=( (8*f*L*(Q*Q))/((math.pi*math.pi)*g*DeltaH) )**(1/5) Rey=(4*Q)/(math.pi*D*v) K=(0.25...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
8d6f84d3ad7afe3a91c3e23423f26b79f70a9767
e953ae5da775a934b86379cfa3d864bb7376fe36
/08 tkinter_python/17.py
a8791e8dce3ded8dac4247414aba0ab26a08bdac
[]
no_license
agyenes/greenfox-exercises
1481f17d1ddd78099d17022aa1800955ae39d92b
a2c7912c61708c6ebc53c9a22f8c09550432d4c3
refs/heads/master
2020-04-11T00:42:17.842170
2016-10-19T06:10:22
2016-10-19T06:10:22
68,081,105
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
from tkinter import * import math root = Tk() canvas = Canvas(root, width='500', height='500', bg='white') canvas.pack() size = 20 for i in range(23): canvas.create_line(20 + i * size, 420, 250 + i * size/2, 20 + i * math.sqrt(3) * 10, fill='green') canvas.create_line(250 - i * size/2, 20 + i * math.sqrt(3)...
[ "aron.gyenes@gmail.com" ]
aron.gyenes@gmail.com
da534bbca9d72e0ec477c30ac4656daf831758e7
f135ace9411167259588fc5f52dd2f300d4b1551
/C++/trans.py
5b3a7ae492a330370ece256ba40069c60ebe7d2e
[]
no_license
celestialized/FPGA_feedforward-neural-network_for_qubit_discrimination
c0cd74704bd6a63d3be2fb22db371c995ebe836f
1ad7fd0b37a45fe249b28b8b38f25be152b56d45
refs/heads/master
2021-09-20T15:56:24.582204
2018-08-11T11:26:32
2018-08-11T11:26:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
645
py
import numpy as np import random import cPickle as pickle import matplotlib.pyplot as plt import argparse import math import gzip f =gzip.open('./DetectionBinsData_pickle615_clean.gzip','rb') #49664*100 times measurement fb=open('bright.txt','w') fd=open('dark.txt','w') num_bins=100 for k in range(10000): print(...
[ "1402434478@qq.com" ]
1402434478@qq.com
a4d8a3b9ba56807058e9ba8b2d56bcaf4d272a41
ae5bb043439d2bad96a7017a57c6b83dd66c6ffb
/setup.py
a6cf117b5fddab5ce77c4a21b22fc5d0511e5d7f
[ "MIT" ]
permissive
kyleabeauchamp/xopen
e27be7a2de5ca665d5ea394aa9b8aff5bf4649a3
c12a94e9f9af49da37edb20d6e82fb0bd5f4a08a
refs/heads/master
2020-12-25T22:48:38.628011
2016-09-09T15:56:46
2016-09-09T15:56:46
68,322,235
0
0
null
2016-09-15T18:53:50
2016-09-15T18:53:49
null
UTF-8
Python
false
false
784
py
import sys from setuptools import setup if sys.version_info < (2, 6): sys.stdout.write("At least Python 2.6 is required.\n") sys.exit(1) setup( name = 'xopen', version = '0.1.0', author = 'Marcel Martin', author_email = 'mail@marcelm.net', url = 'https://github.com/marcelm/xopen/', description = 'Open compre...
[ "marcel.martin@scilifelab.se" ]
marcel.martin@scilifelab.se
29286514242944ff7946769d77ea552685d38ff7
b4cc610bbd069c2b3e1f50c82303d48de21843a4
/ce/c008_test.py
694bc09965957756b549d1d77cfaaf1fa9801360
[]
no_license
AakashKumarNain/pythonesque
d47b890ff42fa7baa3f25f9569d8a7310c7aa710
3225aaf878c52962becafd60a50243a91f92b264
refs/heads/master
2020-03-18T00:07:00.624695
2018-05-19T09:24:16
2018-05-19T09:24:16
134,078,646
1
0
null
null
null
null
UTF-8
Python
false
false
418
py
""" CodeEval Reverse Words author: Manny egalli64@gmail.com info: http://thisthread.blogspot.com/2017/02/codeeval-reverse-words.html https://www.codeeval.com/open_challenges/8/ """ import unittest from ce.c008 import solution class TestCodeEval(unittest.TestCase): def test_provided_1(self): self.as...
[ "egalli64@gmail.com" ]
egalli64@gmail.com
8a8b5e3641d7d2725ccfaf4069df1791c26f75fa
6f4d104a5d87fa6e7a113139224158dae791eb18
/models/vanilla_vae_bak.py
46e8a7e7488e87f3856357259913ecc62d38be42
[]
no_license
yellowbeango/VAE_NSF
b7c30996764d7d7f12499111e8e9db93c6d201c0
3bfc068b3363ffe53ceddc6f1adb0fa25afd4d31
refs/heads/master
2023-03-11T14:38:33.377391
2021-03-04T04:07:36
2021-03-04T04:07:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,668
py
import torch from .base import BaseVAE from torch import nn from torch.nn import functional as F from abc import abstractmethod from typing import List, Callable, Union, Any, TypeVar, Tuple # from torch import tensor as Tensor Tensor = TypeVar('torch.tensor') __all__ = ['VanillaVAE'] class VanillaVAE(BaseVAE): ...
[ "xuma@my.unt.edu" ]
xuma@my.unt.edu
79b286b760c71c260b3537fdac6de52e607aa4c1
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part004022.py
30655fd8714685bb1fb65a8edca5cb26a2b8e4e4
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,296
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
0de5dd2b9f24eb71dd2be78f458863fd9dcb879c
2293c76c3d18e2fcd44ded90bd40113d26285663
/pyeccodes/defs/grib2/tables/10/4_2_2_4_table.py
7eb24c3ccf8358f9e6b0619628378ca739ad3f6f
[ "Apache-2.0" ]
permissive
ecmwf/pyeccodes
b1f121dbddf68d176a03805ed5144ba0b37ac211
dce2c72d3adcc0cb801731366be53327ce13a00b
refs/heads/master
2022-04-23T10:37:40.524078
2020-04-18T06:30:29
2020-04-18T06:30:29
255,554,540
9
3
null
null
null
null
UTF-8
Python
false
false
477
py
def load(h): return ({'abbr': 0, 'code': 0, 'title': 'Fire outlook', 'units': 'Code table 4.224'}, {'abbr': 1, 'code': 1, 'title': 'Fire outlook due to dry thunderstorm', 'units': 'Code table 4.224'}, {'abbr': 2, 'code': 2, 'title': 'Haines Index', 'uni...
[ "baudouin.raoult@ecmwf.int" ]
baudouin.raoult@ecmwf.int
3ba33009a6ff59d33e9edeafa1a50d110a7cee0b
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_120/763.py
f7e5aa872796b1b2cae4a6e30617c689add81644
[]
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
497
py
f = open("A-small-attempt0.in", "r") o = open("Bullseye-A-small-attempt0-out.txt", "w") T = int(f.readline()) for t in range(T): count = 0 randt = f.readline().split() r = int(randt[0]) #white circle radius paint = int(randt[1]) #mL of paint rIn = r rOut = r + 1 nextArea = rOut**2 - rIn**2 while paint >= ...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
e8d80ddc0ce9ff77bb3c1ba7f309bd2c74e9afc6
a79ed9e33fe76af58b34082e4fe762716e38e80d
/Stage3/method2_feature_vector.py
48cfb9871fb375683d208d9912c8fc9122d123c0
[]
no_license
xwang322/Data-Science
c7a5a617cbb97787905c79cbed9cefd4362cd77f
6ae6fb912cf8b1b743ae4a4e3fffb99b2f496376
refs/heads/master
2021-01-12T09:53:15.596743
2016-12-19T22:39:28
2016-12-19T22:39:28
76,287,261
0
0
null
2016-12-18T00:12:52
2016-12-12T19:13:53
Python
UTF-8
Python
false
false
6,236
py
import re import random import json from random import choice, sample, randint from py_stringmatching import simfunctions, tokenizers import string_process2 from sklearn.preprocessing import Imputer import numpy as np feature_attr = ['id','product type','product name','product segment','brand','category'] #w...
[ "noreply@github.com" ]
xwang322.noreply@github.com
1cb23cdd8301f2345e6cfe91689a1091d605faf8
727cdc7c9af6fdf6b4eb8444197718e5c6760019
/review_qa_collect/translate.py
14afdd26ccfc51a61f3881d1b1c7c8b9b073d693
[]
no_license
newer027/amazon_crawler
0cc6feb30f9180ae48ac936eeb6af41ec06eadfd
39d6867a8dd56b90dae5e98aa44e6df274439f8e
refs/heads/master
2022-11-23T17:04:33.995126
2020-04-03T15:42:42
2020-04-03T15:42:42
252,774,253
1
0
null
2022-11-22T01:44:53
2020-04-03T15:42:31
CSS
UTF-8
Python
false
false
4,117
py
from django.shortcuts import render from django.http import HttpResponse from django.template import RequestContext, Template from django.views.decorators.csrf import csrf_exempt from django.utils.encoding import smart_str, smart_unicode import xml.etree.ElementTree as ET import urllib,urllib2,time,hashlib TOKEN = "y...
[ "newer027@gmail.com" ]
newer027@gmail.com
4f3dee7c5f1e1f739b536197af999ea9e784bf3a
01a33634195c48794ebb46bd19c785283ca7e885
/backend/run_fast_20841/wsgi.py
11f4f62c1c3dd85630639fc1ceb4cca1e89bca0e
[]
no_license
crowdbotics-apps/run-fast-20841
db388a66a2590ae085db76d37ec712edb7892d0a
7cc3a759d1399aa378903f8db7d85e2c4fcd07bc
refs/heads/master
2022-12-23T15:50:17.562389
2020-09-29T19:26:58
2020-09-29T19:26:58
299,716,389
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
""" WSGI config for run_fast_20841 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("DJANG...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
9a9f3d2d56c06b6670be827785e25eb6bc99eb98
6a95dc7ee1c583119c892f193cd683499b50a706
/tests/unit/fixtures/logging.py
c2cc4e6d048f32c78e16acd2ca9122ea32912417
[ "BSD-3-Clause" ]
permissive
Steffanic/alice-jet-hadron
735cba4d440f5f87364bf8d47147a0eccf1e1471
8526567935c0339cebb9ef224b09a551a0b96932
refs/heads/master
2022-12-28T23:02:20.560475
2020-10-09T08:03:55
2020-10-09T08:03:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
#!/usr/bin/env python """ Logging related fixtures to aid testing. .. codeauthor:: Raymond Ehlers <raymond.ehlers@yale.edu>, Yale University """ import logging import pytest # Set logging level as a global variable to simplify configuration. # This is not ideal, but fine for simple tests. logging_level = logging.DE...
[ "raymond.ehlers@gmail.com" ]
raymond.ehlers@gmail.com
c97290f97b929f33265f2e8efdbd481a678ab48b
5d97cf2d275a0636d8ac3b98c222b6864d1c992e
/server/walt/server/threads/main/snmp/ipsetup.py
ceacf3ff17a93ca4efd81348c6a486d5e1e035d1
[ "BSD-3-Clause" ]
permissive
ManonBillet/walt-python-packages
51d57bf710dc6f981040b4295b8bb7811d4462e6
b778992e241d54b684f54715d83c4aff98a01db7
refs/heads/master
2023-05-04T14:58:24.265660
2021-02-01T15:16:44
2021-02-01T15:16:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,432
py
#!/usr/bin/env python from walt.server.threads.main.snmp.mibs import load_mib class IPSetupProxy(object): def __init__(self, snmp_proxy): self.snmp = snmp_proxy load_mib(b"NETGEAR-SWITCHING-MIB") def perform_dhcp_setup(self): # the switch is already configured to boot using DHCP ...
[ "etienne.duble@imag.fr" ]
etienne.duble@imag.fr
e2da8ecd31dc1d1ec3354ba5182d031423db4939
753f729f33a1b00a0a7f5c78d217cc4c609aee6f
/n13_GenericViewApiAndMixin/api/serializers.py
325212ac2364203cfaf9ee76c32a3276784d9f4a
[]
no_license
nayan-gujju/DRF-Code
874114a861042d558112f1a8ec95daf1356d5493
6fb3fdd5dde352e7b6e3a7363da0e7a3057b1ede
refs/heads/master
2023-08-06T12:42:23.551603
2021-10-06T11:34:54
2021-10-06T11:34:54
404,650,413
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
from rest_framework import serializers from .models import Student class StudentSerializer(serializers.ModelSerializer): class Meta: model = Student fields = '__all__'
[ "nayangujarati007@gmail.com" ]
nayangujarati007@gmail.com
91e81dfa4a16fc532038b1b7a075518ec9676dee
c69c3167819efdded3cdde7783514b971a98f25a
/services/parse_file.py
100f8922a3dd36561f1abb318ace04790ec12cf3
[]
no_license
sehovizko/sel_parser_rashodnika
8a03ed6a3ccb4500a227848947fbb7774c7aae4c
3510df57256e5775a55cafaf70e790196c475e21
refs/heads/master
2023-07-26T02:53:31.324946
2021-09-07T15:58:25
2021-09-07T15:58:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,357
py
import ast import re import pandas from db_utils import * async def parse(file): # try: file_list = pandas.read_csv(file, sep=';', header=None).values.tolist()[0] # for elem in file_list: # print(elem) brand = re.sub(r'/.*', '', file_list[0]).strip() partcode = re.sub(r'(\s.+)', '', re....
[ "server.ares@gmail.com" ]
server.ares@gmail.com
d0626e62ea7ce7766ea90dde59f828c2367dc570
008ea0c503829f33840495373ad3d60794575af3
/PYDayByDay/Tkinter_ST/Canvas_TK/Canvas2.py
074b7463ba665c4567fe3564e8e421627ebab75a
[]
no_license
JyHu/PYStudy
6515bea47ca6f80e336f3b6a7a14b1159fde872f
ec0855c414237bdd7d0cb28f79a81c02ccd52d45
refs/heads/master
2016-08-12T19:44:06.723361
2016-04-11T10:38:59
2016-04-11T10:38:59
45,384,810
0
0
null
null
null
null
UTF-8
Python
false
false
950
py
#coding=utf-8 __author__ = 'JinyouHU' ''' 创建一个矩形,指定画布的颜色为白色 ''' from Tkinter import * root = Tk() #创建一个Canvas,设置其背景色为白色 cv = Canvas(root, bg='white') #创建一个矩形,坐标为(10, 10, 110, 110) # cv.create_rectangle(10, 10, 110, 110) cv.create_rectangle( 10, 10, 110, 110, fill='red', #内部填充色,可选 ...
[ "auu.aug@gmail.com" ]
auu.aug@gmail.com
141c446c73f075c9846edd09f6e366d5cac0b2fb
da5ef82554c6c0413193b7c99192edd70fed58dd
/mozdns/mozbind/serial_utils.py
1f1396c4089231f75470b24922d12641a2f23a6e
[]
no_license
rtucker-mozilla/mozilla_inventory
d643c7713c65aa870e732e18aaf19ce677e277b7
bf9154b0d77705d8c0fe1a9a35ce9c1bd60fcbea
refs/heads/master
2020-12-24T17:17:37.621418
2013-04-11T10:39:41
2013-04-11T10:39:41
2,709,399
1
2
null
null
null
null
UTF-8
Python
false
false
3,226
py
import re import os def get_serial(file_): """ Retrieve the serial number of a zone. :param file_: The file with the SOA in it. :type file_: file """ if not os.path.exists(file_): return '' with open(file_, 'r') as fd: return _str_get_serial(fd) def _str_get_serial(text)...
[ "uberj@onid.orst.edu" ]
uberj@onid.orst.edu
ec31feb5138d44c92d5c755e9f0d84a7bf08bd59
04c824bb23b3c0ee378a5e915ab9467d5a4d4de7
/metasub_utils/metadata/metasub_utils/metadata/metadata.py
6ae55ec9f9c539cf553f957044cf8576e4db09f8
[ "MIT" ]
permissive
MetaSUB/metasub_utils
a37a8eb79fabd4a922617744e91c9e3e6df2b2f8
c52c5dde816d710db5ac8dc6f8804bb795a992e4
refs/heads/master
2023-01-06T11:14:20.095512
2020-02-24T14:23:08
2020-02-24T14:23:08
143,024,096
9
2
MIT
2022-12-26T20:44:28
2018-07-31T14:16:42
Python
UTF-8
Python
false
false
1,540
py
"""Functions for handling metadata.""" import pandas as pd from .constants import UPLOADABLE_TABLE_URL, COMPLETE_TABLE_URL, CANONICAL_CITIES_URL, IDS def normalize_sample_name(name_in, default=None, tbl=None): tbl = get_complete_metadata() if tbl is None else tbl for id_type in IDS: mytbl = tbl.quer...
[ "dcdanko@gmail.com" ]
dcdanko@gmail.com
439a07cf5fa1351ea4f1de0562d17edc972dd626
31e8b777b8b6da1ef8d172d2c7b5271a892e7dc9
/frappe/website/doctype/blog_settings/test_blog_settings.py
b7659d58a4901a70c3bcc5a8d2260f7f8053950c
[ "MIT" ]
permissive
Anurag810/frappe
a4d2f6f3a14cc600cced7146a02303cd1cb347f0
620cad18d60f090f5f9c13a5eefb56e86615de06
refs/heads/develop
2021-09-28T03:57:02.456172
2021-09-07T06:05:46
2021-09-07T06:05:46
157,325,015
5
0
MIT
2019-09-11T09:20:20
2018-11-13T05:25:01
Python
UTF-8
Python
false
false
193
py
# -*- coding: utf-8 -*- # Copyright (c) 2020, Frappe Technologies and Contributors # License: MIT. See LICENSE # import frappe import unittest class TestBlogSettings(unittest.TestCase): pass
[ "scm.mymail@gmail.com" ]
scm.mymail@gmail.com
5e370b0535189e817d1e7ce86559aebc8a85e11f
cc0e5613f1532e9922269530057970eb4f320a1a
/tests/test_concurrency/test_mainloopscheduler/py3_asyncioscheduler.py
096256bf95b6a49bfd0616a63e23d81f3913478b
[ "Apache-2.0" ]
permissive
Huskyeder/RxPY
9e353e20f850ce8e031bacafa91187ff2d0d83e4
8060b9ef79d2fe6654c0265860af6e8829524131
refs/heads/master
2021-01-15T10:18:31.831559
2015-04-15T04:34:05
2015-04-15T04:34:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,028
py
try: import asyncio except ImportError: raise SkipTest("asyncio not available") import unittest from datetime import datetime, timedelta from time import sleep from rx.concurrency import AsyncIOScheduler class TestAsyncIOScheduler(unittest.TestCase): def test_asyncio_schedule_now(self): loop = a...
[ "dag@brattli.net" ]
dag@brattli.net
c537aa38ea4535afc9f71643e2aa07bf33963b72
c67831f476cb530fc0c26e0bf4258ce18e986749
/module_intent/control/serializers.py
8f7e50f0f76fbee43f2d8511cb68a59bfd354ccf
[ "MIT" ]
permissive
cz-qq/bk-chatbot
a3ce4b86452b3de0ff35430c1c85b91d6b23a3e6
da37fb2197142eae32158cdb5c2b658100133fff
refs/heads/master
2023-06-05T05:48:22.083008
2021-06-15T10:21:30
2021-06-15T10:21:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,846
py
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaSCommunity Edition) available. Copyright (C) 2017-2018 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file excep...
[ "123@qq.com" ]
123@qq.com
8c8f5f6ce7c4d6b47f77b25521a3c866fb059012
e74e89592d8a3b1a0b465a7b1595708b224362d2
/pset_classes/dogs/p4.py
8919df926c4f0fbbe8a11a8e4b7b3ff001f07552
[ "MIT" ]
permissive
mottaquikarim/pydev-psets
016f60f1e9d9a534bd9a66ecde8eb412beee37d1
9749e0d216ee0a5c586d0d3013ef481cc21dee27
refs/heads/master
2023-01-10T11:15:57.041287
2021-06-07T23:38:34
2021-06-07T23:38:34
178,547,933
5
2
MIT
2023-01-03T22:28:27
2019-03-30T11:09:08
Jupyter Notebook
UTF-8
Python
false
false
638
py
""" Dogs IV - Tricks (CHALLENGE!) """ # Many dogs know how to do common tricks or follow common commands. You could create methods for each trick/command in the Dog parent class, but the problem is that not all dogs know all tricks/commands. # However, it would be inefficient to define a custom set of instance metho...
[ "jgarreffa112@gmail.com" ]
jgarreffa112@gmail.com
ebfbac8ad5f1f89f5043471096bbff8170a8ac5e
13556b5ff9d000b707e089f0c1be5451f20fe3fb
/stocks/settings.py
1dec11126b357d8893492c6129e22229600f1195
[]
no_license
LeoKnox/Django_Stock
35a693bb1765e95a6c32b0d8ce622f226bd25ae8
ac0e93af2be3047d1212909a3587c59b4be81dca
refs/heads/master
2022-12-08T12:34:34.588551
2020-08-30T22:26:35
2020-08-30T22:26:35
290,670,535
1
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
""" Django settings for DjangoStock 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/ """ ...
[ "noreply@github.com" ]
LeoKnox.noreply@github.com
b89ba760610de6bfde2b410bd653af63fb1cb307
9edaf93c833ba90ae9a903aa3c44c407a7e55198
/netex/models/charging_moment_ref_structure.py
50e10eb3a30889d5ce8a8ee36e95e4a2106992f6
[]
no_license
tefra/xsdata-samples
c50aab4828b8c7c4448dbdab9c67d1ebc519e292
ef027fe02e6a075d8ed676c86a80e9647d944571
refs/heads/main
2023-08-14T10:31:12.152696
2023-07-25T18:01:22
2023-07-25T18:01:22
222,543,692
6
1
null
2023-06-25T07:21:04
2019-11-18T21:00:37
Python
UTF-8
Python
false
false
229
py
from dataclasses import dataclass from .type_of_value_ref_structure import TypeOfValueRefStructure __NAMESPACE__ = "http://www.netex.org.uk/netex" @dataclass class ChargingMomentRefStructure(TypeOfValueRefStructure): pass
[ "chris@komposta.net" ]
chris@komposta.net
d63b165689c63f2123a8b40265384ae8db8134c2
c43a113f55687ccb38591e42ce729b6de87cc244
/every_election/apps/elections/migrations/0046_update_status.py
365892e62950a09e62dd7ba56d668dc5994cafe3
[]
permissive
DemocracyClub/EveryElection
9428d00bf725e02c21acd60c7125f6704fcf998a
cbcedc2b236a9287c8272f2596aae3f7a03cf45c
refs/heads/master
2023-08-23T23:41:13.664059
2023-08-21T15:35:03
2023-08-21T15:35:03
70,236,537
11
12
BSD-3-Clause
2023-09-07T07:54:19
2016-10-07T10:22:20
Python
UTF-8
Python
false
false
546
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [("elections", "0045_auto_20181001_1437")] operations = [ # assume all elections that already exist are approved migrations.RunSQL( ...
[ "chris.shaw480@gmail.com" ]
chris.shaw480@gmail.com
7059aebf40a5fdc792be9c88d86ab6e4b8bd4650
55d560fe6678a3edc9232ef14de8fafd7b7ece12
/tools/build/test/resolution.py
3af66b46daf757644cc94491ecadab6b821e9fce
[ "BSL-1.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
stardog-union/boost
ec3abeeef1b45389228df031bf25b470d3d123c5
caa4a540db892caa92e5346e0094c63dea51cbfb
refs/heads/stardog/develop
2021-06-25T02:15:10.697006
2020-11-17T19:50:35
2020-11-17T19:50:35
148,681,713
0
0
BSL-1.0
2020-11-17T19:50:36
2018-09-13T18:38:54
C++
UTF-8
Python
false
false
924
py
#!/usr/bin/python # Copyright (C) Vladimir Prus 2006. # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) # Tests for the target id resolution process. import BoostBuild # Create a temporary working direc...
[ "james.pack@stardog.com" ]
james.pack@stardog.com
d6d3f58daf810bd24bdb5ca0a4ad0a20d4a1425f
00b405a49ac6108d24986243c4b52fa53fb58acc
/0591_tag_validator.py
fb66855422bdf55713952f38d524a0a35966598e
[]
no_license
Shin-jay7/LeetCode
0325983fff95bfbc43a528812582cbf9b7c0c2f2
953b0b19764744753f01c661da969bdab6521504
refs/heads/master
2023-07-19T07:17:21.513531
2023-07-15T06:05:06
2023-07-15T06:05:06
231,285,199
0
0
null
null
null
null
UTF-8
Python
false
false
2,969
py
from __future__ import annotations import re class Solution: def isValid(self, code: str) -> bool: code = re.sub(r'<!\[CDATA\[.*?\]\]>|t', '-', code) prev = None while code != prev: prev = code code = re.sub(r'<([A-Z]{1,9})>[^<]*</\1>', 't', code) return cod...
[ "shin@jay7.net" ]
shin@jay7.net
0928bcf7842c1df47ae48a1e23aa21d7bdac7f51
afb16c3188bf06af65ae0d998e114c72342bd8be
/note/demo/pydantic_demo/dict2model.py
5ab2e3aeae2f1224a3cf061a5f8cff325e4a6eb9
[]
no_license
onsunsl/onsunsl.github.io
aa75f399f1c647bc2e62314633bfe35187e59ad4
4ed2b1b9a2407afcbffdf304020d42b81c4c8cdc
refs/heads/master
2023-05-26T12:33:11.167270
2023-04-01T10:18:05
2023-04-01T10:18:05
237,595,319
1
0
null
2023-05-23T20:13:11
2020-02-01T10:02:58
Python
UTF-8
Python
false
false
503
py
from typing import List import pydantic from note.demo.pydantic_demo.my_list import GenericList class A(pydantic.BaseModel): a: str class ListA(GenericList[A]): pass class B(pydantic.BaseModel): a1: List[A] = pydantic.Field(default_factory=ListA) a2: ListA = pydantic.Field(default_factory=ListA)...
[ "onsunsl@foxmail.com" ]
onsunsl@foxmail.com
918f9042356ae2bdde7f3ab106d057dac1da5860
b47b530ced544ec4180b2e8ddc8d3bff4b8b97ba
/141/e.py
b50432cbaefa1e3817ff064c5f2575cc055a9294
[]
no_license
shionhonda/AtCoder
1069f272490c45d60945a86392642d434a44ee52
afd254d569505ee38ba3307d0e0e7437fca40814
refs/heads/master
2020-03-28T08:00:20.937794
2019-11-16T14:30:26
2019-11-16T14:30:26
147,939,937
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
N = int(input()) S = input() def z_algorithm(s): l = len(s) A = [0]*l A[0] = 0 j = 0 for i in range(1,l): while i+j<l and s[j]==s[i+j]: j += 1 if j<1: continue A[i] = j k = 1 while k < l-i and k < j-A[k]: A[i+k] = A[k] ...
[ "26x.orc.ed5.1hs@gmail.com" ]
26x.orc.ed5.1hs@gmail.com
b6c5e83d08aa1892f5291581dd3e2a97d2f4a9e1
fa4b2b4ce915b4e58737f65efe7d18d1f45cbe27
/accounts/admin.py
602d8c011ad760f251464f14af4f49a61ca8a121
[]
no_license
Wishez/cosmeticsyou-v2.0
0fde09158944415b2471cb07dcf1e2cd1df85923
a0f6a1b11622cb36a5084781ad35f4eed2778f66
refs/heads/master
2022-12-26T12:47:53.693887
2020-10-12T20:22:30
2020-10-12T20:27:54
293,092,688
0
0
null
null
null
null
UTF-8
Python
false
false
3,864
py
# -*- coding: utf-8 -*- from django.contrib import admin from myadmin.admin import admin_site from django.contrib.admin import DateFieldListFilter from .models import * from rangefilter.filter import DateRangeFilter class ConsultantAdmin(admin.ModelAdmin): list_per_page = 10 list_display = ('last_name...
[ "shiningfinger@list.ru" ]
shiningfinger@list.ru
b0672f06262344af3f8c8023edd3a85cf64b28f9
185f30795be9a8fec6539fe17753fb909e258e4c
/ljy_03函数/ljy_sum1.py
bf763d93261c09589c8b2f04f0bb367167e231b2
[]
no_license
OPBrother/LearningPython
bd375430ce013abd9a4279f60e5f9457e965bdf7
9d264acb269a6191f7ec49abba25c98002f4fcd1
refs/heads/main
2023-03-31T06:47:43.071370
2021-04-12T07:09:16
2021-04-12T07:09:16
350,307,686
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
def sum_num(num1=1, num2=2): # global num1 # global num2 """ 简简单单的函数加法 :param num1: :param num2: :return: """ return num1 + num2 reslut = sum_num() print('%d' % (reslut))
[ "2276720277@qq.com" ]
2276720277@qq.com
889924e6e4c0a39b0451cb1799c08c5073a212ac
48832d27da16256ee62c364add45f21b968ee669
/res_bw/scripts/common/lib/encodings/utf_32.py
e64e23103e1b600efc009acbda30ea9639b13392
[]
no_license
webiumsk/WOT-0.9.15.1
0752d5bbd7c6fafdd7f714af939ae7bcf654faf7
17ca3550fef25e430534d079876a14fbbcccb9b4
refs/heads/master
2021-01-20T18:24:10.349144
2016-08-04T18:08:34
2016-08-04T18:08:34
64,955,694
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
4,801
py
# 2016.08.04 19:59:25 Střední Evropa (letní čas) # Embedded file name: scripts/common/Lib/encodings/utf_32.py """ Python 'utf-32' Codec """ import codecs, sys encode = codecs.utf_32_encode def decode(input, errors = 'strict'): return codecs.utf_32_decode(input, errors, True) class IncrementalEncoder(codecs.Incre...
[ "info@webium.sk" ]
info@webium.sk
fd4490a8aea18addd987c1bc80c11bdd94fd8553
9c2ba4f1a2d75b1916e6f20fa95c5fb32d0497d9
/ScrapingWithPython2/code/myScrapy/todayMovie/todayMovie/spiders/wuHanMovieSpider.py
1ea663d1da0a6cb675492cc3b984b1b928fedbd1
[]
no_license
PowerDG/DgCoreInit
abe4b15e38b730c25424f71e6927db982af27a72
84e6b7833ddc083b90fcc172c3812dd6f8b51e3d
refs/heads/master
2023-07-19T11:58:09.220460
2019-06-07T14:43:24
2019-06-07T14:43:24
163,091,619
0
1
null
2023-07-06T21:20:15
2018-12-25T14:59:42
Jupyter Notebook
UTF-8
Python
false
false
1,203
py
# -*- coding: utf-8 -*- import scrapy import re import sys import os from todayMovie.items import TodaymovieItem class WuhanmoviespiderSpider(scrapy.Spider): name = 'wuHanMovieSpider' allowed_domains = ['mtime.com'] # start_urls = ['http://mtime.com/'] # def parse(self, response): # pass ...
[ "1049365046@qq.com" ]
1049365046@qq.com
292fd601726ed3c66db99db9c9ace19128c64869
c50fb310d8c52284be2c636f951de796eededae9
/63.py
190f91e0abdb366118d5410628ca971438ae7a7f
[]
no_license
Deepakdk7/Playerset3
6f46f638f22d894b9cc93d81b27c221f9dcdaad3
636e1feed0f97bbc9e9495a5dbb81a512ed980c5
refs/heads/master
2020-06-03T07:35:23.203780
2019-08-06T08:56:16
2019-08-06T08:56:16
191,497,095
0
0
null
null
null
null
UTF-8
Python
false
false
238
py
ax=int(input()) c=[] a=list(map(int,input().split())) b=list(map(int,input().split())) for i in range(0,ax): for j in range(0,ax): if a[i]==b[j] and a[i] not in c: c.append(a[i]) for i in c: print(i,"",end="")
[ "noreply@github.com" ]
Deepakdk7.noreply@github.com
48070dfb8e7b5182733e50c6e889c4a56c5e1a2f
ed269e9a4d9d6bfbb833381b7aef65a23f391fe2
/比赛/1438. 绝对差不超过限制的最长连续子数组.py
0793980db1ebafedb598454840907d61b8b7e099
[]
no_license
Comyn-Echo/leeCode
fcff0d4c4c10209a47bd7c3204e3f64565674c91
67e9daecb7ffd8f7bcb2f120ad892498b1219327
refs/heads/master
2023-04-28T17:35:52.963069
2021-05-19T01:52:16
2021-05-19T01:52:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
915
py
class Solution(object): def longestSubarray(self, nums, limit): if not nums: return 0 curr_max = nums[0] # 当子数组下最大值 这里初始化为第一个数 curr_min = nums[0] # 当子数组下最大值 这里初始化为第一个数 sub_nums = [] # 以数组作为窗口滑动 for num in nums: if abs(num - curr_max) <= limit and abs(...
[ "2892211452aa@gmail.com" ]
2892211452aa@gmail.com
070cddb15ffb012a7b728cd8e739baf89d2f0b4b
a99a44aee5cfc5e080f6d83d2bcc1c3d273a3426
/scripts/ingestors/rwis/process_traffic.py
1a9456b736a38d76f8f227d31d692573117d3685
[ "MIT" ]
permissive
ragesah/iem
1513929c8bc7f254048271d61b4c4cf27a5731d7
8ed970d426bddeaa3e7ded593665d22f0f9f6e87
refs/heads/main
2023-08-20T20:01:15.480833
2021-10-12T15:44:52
2021-10-12T15:44:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,657
py
"""Ingest Iowa DOT RWIS data provided by DTN. called from RUN_10_AFTER.sh """ import datetime from pyiem.network import Table as NetworkTable from pyiem.util import get_properties, get_dbconn, utc, logger import pandas as pd import requests LOG = logger() DBCONN = get_dbconn("iem") NT = NetworkTable("IA_RWIS") def...
[ "akrherz@iastate.edu" ]
akrherz@iastate.edu
206383854ad7ed2c4a4c906be142b4f1f5a53f0a
2b8c88dfee5c5a784357515eafe8cd5f997c8774
/learn_ppdai/learn_sqlite.py
5117e136ead3ef8863fa6945912a78c800468fea
[]
no_license
archenRen/learnpy
e060f3aa2f77c35fc1b12345720af6c8b528da57
934ef76b97297f746a722a48c76672c7bc744cd9
refs/heads/master
2022-04-28T20:25:59.114036
2020-05-03T02:16:03
2020-05-03T02:16:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
import pandas as pd from sqlalchemy import create_engine import json import sys if sys.platform == 'win32': path = r'C:\Users\wangdi03\Downloads\history.db' else: path = './history.db' engine = create_engine('sqlite:///' + path) df = pd.read_sql_query( """ select * from usermmvs """,...
[ "wangdi03@ppdai.com" ]
wangdi03@ppdai.com
fc294056e5978d3fb4a4b61abe28a0ba09e92183
2d82d4c6574bd6d32f2cf1c781615f7951f55f66
/muntjac/demo/sampler/features/windows/SubwindowModal.py
17e9f816cadf2ee1565cb1e6c0cf44512e3c4d13
[ "Apache-2.0" ]
permissive
metaperl/muntjac
f83f745ee03942a61af92ee7fba7285aa9c46f3c
8db97712edd81b4d25deaaa48587d2a08010f2c8
refs/heads/master
2021-01-15T22:04:25.057862
2012-11-09T03:52:59
2012-11-09T03:52:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,122
py
from muntjac.demo.sampler.NamedExternalResource import NamedExternalResource from muntjac.demo.sampler.APIResource import APIResource from muntjac.demo.sampler.Feature import Feature, Version from muntjac.ui.window import Window class SubwindowModal(Feature): def getSinceVersion(self): return Version.OL...
[ "r.w.lincoln@gmail.com" ]
r.w.lincoln@gmail.com
4197cdda503cccf0d608f684b3a945810598daaa
8e2b2aa7d7405ed351072874d75e947619379cdb
/src/billing/migrations/0006_charge.py
0f9995f46654d802c83ca1ba6337ad9b30e6248d
[]
no_license
hoanguyen-rozer/learn-django-ecommerce--2hand
f0bc11b4331fae6d060e24c29a5293170342ff2b
b7c67e6a5703edfe922d519f576d7d87f16a7dba
refs/heads/master
2022-06-14T10:13:17.800193
2020-05-05T09:49:17
2020-05-05T09:49:17
256,304,682
0
0
null
null
null
null
UTF-8
Python
false
false
1,150
py
# Generated by Django 3.0.5 on 2020-04-25 07:43 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('billing', '0005_card_default'), ] operations = [ migrations.CreateModel( name='Charge', ...
[ "phuchoa099@gmail.com" ]
phuchoa099@gmail.com
2794a116155b8d4c376b9759d4623ae07de36c4b
14a1312dfb7c4d5e2b76f49b0837cc024f5a1295
/python/gate/background/digester.py
dd893310ce429b07bb65d21afd9209bd468b288b
[]
no_license
bropony/gamit
b3a493c55407efa83ae20286b1e624b280b46494
47811e2cfe67c3c0de4c4be7394dd30e48732799
refs/heads/master
2020-05-17T01:51:38.887194
2015-11-05T12:57:13
2015-11-05T12:57:13
36,106,737
0
0
null
null
null
null
UTF-8
Python
false
false
1,620
py
""" @author: mahanzhou @date: 8/6/15 @file: @desc: """ from gamit.log.logger import Logger from gamit.utils.myuuid import MyUuid from gamit.mongodb.database import MongoDatabase from message.db.systemcommand import ESysCommandType from message.db.mongodb.posttables import TSysTopic import json from social.systopicm...
[ "ahda@qq.com" ]
ahda@qq.com
e8a2cf0901af06fe8256b304d58206bea59f42a6
1e8142725aa06844713d18fa38c6779aff8f8171
/tndata_backend/goals/migrations/0047_auto_20150531_1646.py
252f0df2ecd3c85d51b521c3169888dc1e1bf6e7
[ "MIT" ]
permissive
tndatacommons/tndata_backend
8f4db3e5cf5272901c9087a85e21d7560240bb3b
3d22179c581ab3da18900483930d5ecc0a5fca73
refs/heads/master
2020-12-03T07:53:17.339769
2017-03-27T06:18:58
2017-03-27T06:18:58
68,407,220
1
2
null
2017-03-27T06:18:59
2016-09-16T18:59:16
Python
UTF-8
Python
false
false
472
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('goals', '0046_behaviorprogress_goalprogress'), ] operations = [ migrations.AlterField( model_name='behaviorprogr...
[ "brad@bradmontgomery.net" ]
brad@bradmontgomery.net
40bd087b309f78f9719a323572d870a3bf279dc9
d860a2c1fa8fffc76a9101e4f91cecc80c27e802
/leetcode/859_Buddy_Strings.py
9d27eb3c71441e478d0179fbd66d1bd7781c8c35
[]
no_license
heroming/algorithm
80ea8f00ac049b0bc815140253568484e49c39e3
18e510f02bff92bc45cceb7090a79fbd40c209ec
refs/heads/master
2021-01-19T01:27:31.676356
2019-06-09T08:51:16
2019-06-09T08:51:16
62,952,889
3
1
null
null
null
null
UTF-8
Python
false
false
664
py
class Solution(object): def buddyStrings(self, s, t) : if len(s) != len(t) : return False dif = [] for i in xrange(len(s)) : if s[i] != t[i] : if len(dif) >= 2 : return False dif.append(i) if len(dif) == 2 :...
[ "heroming7788@gmail.com" ]
heroming7788@gmail.com
8bbde69a27066cd21cc393c9b6560021a483176e
99249dad36df26a712ae8d900041d53acf3901ea
/test/ps_delay_test-3.3.py
cb4c41fb0c53441f4683cf1318517a72829878b5
[ "MIT" ]
permissive
bopopescu/Lauecollect
f1f79c2cc5ff106df0dedbd6939ec92630d2b305
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
refs/heads/master
2022-11-29T00:40:28.384831
2019-06-05T01:21:36
2019-06-05T01:21:36
280,989,300
0
0
MIT
2020-07-20T02:03:22
2020-07-20T02:03:22
null
UTF-8
Python
false
false
2,748
py
"""Delay line linearity characterization Friedrich Schotte, Jul 22, 2015 - Apr 20, 2015 Setup: Ramsay-100B RF Generator, 351.93398 MHz +10 dBm -> FPGA RF IN FPGA 1: X-scope trig -> CH1, DC50, 500 mV/div FPGA 13: ps L oscill -> DC block -> 90-MHz low-pass -> CH2, DC50, 500 mV/div Timebase 5 ns/div Measurement P1 CH2, ti...
[ "friedrich.schotte@gmail.com" ]
friedrich.schotte@gmail.com
cb51a14333b36709a28fef261b38acdb99cd369c
da3b03b013c00450dff6686b02d71209b3c6a271
/pannier/pannier/tests.py
d9125299877aacf20c5513ae83a56aa624289f2f
[]
no_license
domestique/pannier
cf425e30bb4dd1999169a2375b9e2b2da599a376
b92d40cc3e9a2523962d39895e58b9e1f7f36ae2
refs/heads/master
2021-01-20T19:14:16.201440
2016-12-22T20:46:11
2016-12-22T20:46:11
63,989,018
0
0
null
null
null
null
UTF-8
Python
false
false
4,270
py
import os from mock import patch from django.core import mail from django.test import TestCase, override_settings from django.core.urlresolvers import reverse from pannier import forms, models CUR_DIR = os.path.dirname(os.path.realpath(__file__)) TEST_DIR = os.path.join(CUR_DIR, 'test_data') class BaseCase(TestCa...
[ "f4nt@f4ntasmic.com" ]
f4nt@f4ntasmic.com
44fed3a3ec344dc97f314b02c3c8e824d51ba32f
4be5c172c84e04c35677f5a327ab0ba592849676
/python/snippets/unpacking_args_kwargs.py
a7209cfedb745c049a9ad5658e6f9531d6481c2d
[]
no_license
niranjan-nagaraju/Development
3a16b547b030182867b7a44ac96a878c14058016
d193ae12863971ac48a5ec9c0b35bfdf53b473b5
refs/heads/master
2023-04-06T20:42:57.882882
2023-03-31T18:38:40
2023-03-31T18:38:40
889,620
9
2
null
2019-05-27T17:00:29
2010-09-05T15:58:46
Python
UTF-8
Python
false
false
660
py
#!/usr/local/bin/python3 ''' Test program to test *args and **kwargs unpacking in function calls ''' def f1(a, b, c): return a+b+c def f2(a): return a+10 def f3(): return 100 def handler(fn, *args, **kwargs): return fn(*args, **kwargs) if __name__ == '__main__': assert(handler(f1, 1, 2, 3) == 6) ass...
[ "vinithepooh@gmail.com" ]
vinithepooh@gmail.com
90f1114b75076faa067987410e79c0e2fca5b744
1fb87c2038ea178ab8b7d600da6a105ccd35b44a
/ucscsdk/mometa/gl/GlVlan.py
6fade91aaf3af0da4d65621f4af627cdba227649
[ "Apache-2.0" ]
permissive
hrupprecht/ucscsdk
72fe255dfb2d68b620b52793eae38e4d1b1ed7e7
1a62184548300ad1071780a2519c60552f0a21a2
refs/heads/master
2020-09-28T23:30:23.074800
2019-12-17T08:20:28
2019-12-17T08:20:28
226,891,866
0
0
NOASSERTION
2019-12-09T14:32:53
2019-12-09T14:32:52
null
UTF-8
Python
false
false
6,814
py
"""This module contains the general information for GlVlan ManagedObject.""" from ...ucscmo import ManagedObject from ...ucsccoremeta import UcscVersion, MoPropertyMeta, MoMeta from ...ucscmeta import VersionMeta class GlVlanConsts(): IF_ROLE_DIAG = "diag" IF_ROLE_FCOE_NAS_STORAGE = "fcoe-nas-storage" IF...
[ "paragsh@cisco.com" ]
paragsh@cisco.com
7bfd5dfee9ff148327031ee7d52e2318c6260188
ce6fc44470dcb5fca78cdd3349a7be70d75f2e3a
/AtCoder/Beginner 147/D.py
b54187e86e75040999da26a123dde94613b6de5d
[]
no_license
cormackikkert/competitive-programming
f3fa287fcb74248ba218ecd763f8f6df31d57424
3a1200b8ff9b6941c422371961a127d7be8f2e00
refs/heads/master
2022-12-17T02:02:40.892608
2020-09-20T11:47:15
2020-09-20T11:47:15
266,775,265
0
0
null
null
null
null
UTF-8
Python
false
false
388
py
N = int(input()) C1 = [0 for i in range(60)] C0 = [0 for i in range(60)] V = list(map(int, input().split())) for n in V: i = 0 for i in range(60): if (n % 2 == 1): C1[i] += 1 else: C0[i] += 1 n //= 2 MOD = int(pow(10, 9) + 7) total = 0; for i in range(60): to...
[ "u6427001@anu.edu.au" ]
u6427001@anu.edu.au
31184b42fe6be39f479fd65591764c7419f647dc
7b2a3ea853dc44aea204f02abedaad6a2029f4ff
/sw4_test001.py
7ca8ff6610e40c64e60948828f1a40e7e5490344
[]
no_license
NoisyLeon/SW4Py
7d45503282dc988b5f886c039706bd79fdd6b339
7029f18eb526bcb46b4aa244da1e088ca57a56aa
refs/heads/master
2020-12-22T14:57:11.265397
2016-12-20T18:27:18
2016-12-20T18:27:18
56,792,735
0
0
null
null
null
null
UTF-8
Python
false
false
1,394
py
import obspy import numpy as np import matplotlib.pyplot as plt from scipy import stats infname = '/lustre/janus_scratch/life9360/sw4_working_dir_Q/field_R_200km_zmax_4km_qs_ak135_vs_2000/Tgr_10.0.txt' inArr=np.loadtxt(infname) plt.figure(); T=inArr[:,2] DistArr=inArr[:,3] VgrArr=DistArr/T mindist=DistArr.min() inde...
[ "lili.feng@colorado.edu" ]
lili.feng@colorado.edu
c5895fe28be33a134db7f26565c1fbe352b452f3
a12c090eb57da4c8e1f543a1a9d497abad763ccd
/django-stubs/contrib/sessions/backends/signed_cookies.pyi
7e91615680389abac85e9324dc87e7511fd3f27d
[ "BSD-3-Clause" ]
permissive
debuggerpk/django-stubs
be12eb6b43354a18675de3f70c491e534d065b78
bbdaebb244bd82544553f4547157e4f694f7ae99
refs/heads/master
2020-04-04T08:33:52.358704
2018-09-26T19:32:19
2018-09-26T19:32:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
655
pyi
from datetime import datetime from typing import Any, Dict, Optional, Union from django.contrib.sessions.backends.base import SessionBase class SessionStore(SessionBase): accessed: bool serializer: Type[django.core.signing.JSONSerializer] def load(self) -> Dict[str, Union[datetime, str]]: ... modifie...
[ "maxim.kurnikov@gmail.com" ]
maxim.kurnikov@gmail.com
95941fdc60a6774a6323af41a5f6e8115a00c243
2345b3388ca9322e26974b6dd06d592a3b19c6b5
/python/sysdesign/designFileSystem.py
9312f30309dfe901a2ba8778d9147e9cae185ec5
[]
no_license
XifeiNi/LeetCode-Traversal
b94db963cce782dfa641ca04e70876053d53f00d
fdb6bcb4c721e03e853890dd89122f2c4196a1ea
refs/heads/master
2021-07-23T21:07:24.562063
2021-07-05T16:52:12
2021-07-05T16:52:12
190,349,692
2
0
null
null
null
null
UTF-8
Python
false
false
717
py
class FileSystem: def __init__(self): self.val = {} def createPath(self, path: str, value: int) -> bool: words = path.split('/')[1:-1] s = "" for word in words: s += "/" + word if s not in self.val: return False if path in self.va...
[ "cecilia990@outlook.com" ]
cecilia990@outlook.com
2d04eb5998aa6e20f7eab5b3ced0cb89f3d537a0
4c2c084a57ce514ed5f41877f372c6d1426c823b
/grr/server/grr_response_server/db_signed_binaries_test.py
42deafa44b8b3e496c3e5412cfe43d4aa9a00000
[ "Apache-2.0" ]
permissive
4ndygu/grr
db1a8c781f52345aa21b580b3754d41a140e27f9
cfc725b5ee3a2626ac4cdae7fb14471612da4522
refs/heads/master
2020-04-18T09:09:42.076738
2019-01-24T19:30:55
2019-01-24T19:30:55
164,693,051
0
0
Apache-2.0
2019-01-09T21:10:50
2019-01-08T16:48:11
Python
UTF-8
Python
false
false
2,783
py
#!/usr/bin/env python """Tests for signed-binary DB functionality.""" from __future__ import absolute_import from __future__ import division from __future__ import unicode_literals from grr_response_server import db from grr_response_server.rdfvalues import objects as rdf_objects _test_id1 = rdf_objects.SignedBinaryI...
[ "realbushman@gmail.com" ]
realbushman@gmail.com
8e5f20a19d1a66e2a925c5334c5b378f6d25ebeb
ad13583673551857615498b9605d9dcab63bb2c3
/output/instances/nistData/list/unsignedInt/Schema+Instance/NISTXML-SV-IV-list-unsignedInt-length-4-5.py
16305329233288f206fde998286f6d1c62dad41b
[ "MIT" ]
permissive
tefra/xsdata-w3c-tests
397180205a735b06170aa188f1f39451d2089815
081d0908382a0e0b29c8ee9caca6f1c0e36dd6db
refs/heads/main
2023-08-03T04:25:37.841917
2023-07-29T17:10:13
2023-07-30T12:11:13
239,622,251
2
0
MIT
2023-07-25T14:19:04
2020-02-10T21:59:47
Python
UTF-8
Python
false
false
429
py
from output.models.nist_data.list_pkg.unsigned_int.schema_instance.nistschema_sv_iv_list_unsigned_int_length_4_xsd.nistschema_sv_iv_list_unsigned_int_length_4 import NistschemaSvIvListUnsignedIntLength4 obj = NistschemaSvIvListUnsignedIntLength4( value=[ 4181655182, 4161446171, 4162425164,...
[ "tsoulloftas@gmail.com" ]
tsoulloftas@gmail.com
5821e591b24ac99aeb3838f49ef97c8f5476ad06
e8404eb4d9aa8b483083823c3d7720ce0958e6ce
/practice20h.py
f2b2241bc3f258801305a19ee9cf5612d912854d
[]
no_license
harmansehmbi/Project20
cdd0c98f23e1ad6f1adf22a2c18168b102e37fc4
22e43d4fb4ea33bcc18ed946cd031a171aba13df
refs/heads/master
2020-06-12T10:30:02.893088
2019-06-28T12:42:28
2019-06-28T12:42:28
194,271,592
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
import matplotlib.pyplot as plt X = list(range(1,11)) # List Comprehension Y1 = [n for n in X] Y2 = [n*n for n in X] Y3 = [n*n*n for n in X] print(X) print(Y1) print(Y2) print(Y3) plt.plot(X, Y1, label="Y1") plt.plot(X, Y2, label="Y2") plt.plot(X, Y3, label="Y3") plt.legend() # How we can place a legend on diffe...
[ "51370954+harmansehmbi@users.noreply.github.com" ]
51370954+harmansehmbi@users.noreply.github.com
18013e2b65ef9381809646e3867756c3f08eefef
b378950c5ec10db8c7921df1261d62b5b74581e8
/gae/lib/django/tests/modeltests/many_to_one_null/models.py
fb0f6ac3b7707feb5ea92d8d875ed9300209d290
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
towerjoo/CS-notes
11e78395423ec097840e354c6571400db149e807
a5704ceea72caab2a458b0f212d69041c4c2a3ce
refs/heads/master
2020-06-02T19:26:11.524649
2010-09-08T02:08:16
2010-09-08T02:08:16
895,186
6
4
null
null
null
null
UTF-8
Python
false
false
3,102
py
""" 16. Many-to-one relationships that can be null To define a many-to-one relationship that can have a null foreign key, use ``ForeignKey()`` with ``null=True`` . """ from django.db import models class Reporter(models.Model): name = models.CharField(maxlength=30) def __str__(self): return self.name...
[ "zhutao@halfquest.com" ]
zhutao@halfquest.com
77c436d784307c76055161cb9812c3027cfe4c00
f43c49e41e61714617fb7442ea408485a20d81a5
/dfirtrack_main/importer/file/markdown.py
0ada04d8bdf823f7958a9a508c335515d871ccf4
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
PiterPentester/dfirtrack
2408181e2058133da2cc64c43756552e9b04a532
e6baaa580dbc9fa26b582397834c0a0855da0940
refs/heads/master
2020-05-31T17:25:09.023170
2019-05-23T19:12:15
2019-05-23T19:12:15
190,407,697
1
0
NOASSERTION
2020-04-10T10:15:07
2019-06-05T14:13:29
HTML
UTF-8
Python
false
false
4,617
py
from dateutil.parser import parse from django.contrib.auth.decorators import login_required from django.shortcuts import redirect, render from dfirtrack_main.forms import EntryFileImport from dfirtrack_main.logger.default_logger import debug_logger, warning_logger from dfirtrack_main.models import Entry import hashlib ...
[ "mathias.stuhlmacher@gmx.de" ]
mathias.stuhlmacher@gmx.de
7dcdf7f5efd7878a74aff1e9ef7205eedeab6d3d
86f8bf3933208329eb73bfcba5e1318dbb2ddafa
/hello_world/django/benckmark/wsgi.py
39449f5a6e5611a43eef292c969e3ffe19f098ea
[]
no_license
TakesxiSximada/benchmarks
42ce5466c813e45db78f87ca391806fbb845a16c
9cd2fc732ed006fd3554e01b1fc71bfcb3ada312
refs/heads/master
2021-01-15T23:02:14.063157
2015-05-30T18:52:08
2015-05-30T18:52:08
36,551,678
0
0
null
null
null
null
UTF-8
Python
false
false
393
py
""" WSGI config for benckmark 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/dev/howto/deployment/wsgi/ """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "benckmark.settings") from django.co...
[ "takesxi.sximada@gmail.com" ]
takesxi.sximada@gmail.com
d09894a4407767279783f2300c505fdeee58d511
0cbc02dd7d1efbe61de04dcf1c6eccb6496bf074
/month02/AID1912/day07/baidu.py
d26b8dd65faba071eedd46919db85150e638f315
[]
no_license
fsym-fs/Python_AID
0b1755c15e20b214940041e81bedb2d5ec99e3f9
f806bb02cdb1670cfbea6e57846abddf3972b73b
refs/heads/master
2021-03-20T06:57:45.441245
2020-05-27T14:13:45
2020-05-27T14:13:45
247,187,064
0
0
null
null
null
null
UTF-8
Python
false
false
858
py
import requests import base64 import json ai_list = {'植物':'/v1/plant','动物':'/v1/animal','其他':'/v2/advanced_general'} def baidu(type,path): if type in ai_list: """ https://aip.baidubce.com/rest/2.0/image-classify/v1/animal """ url="https://aip.baidubce.com/rest/2.0/image-classify%s?...
[ "1085414029@qq.com" ]
1085414029@qq.com
c7d7a4883c4ab514cadf97faae9ff73459bd33ab
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/139/usersdata/165/59838/submittedfiles/diagonaldominante.py
075feccac89be566766f1e4839a07d0f21253793
[]
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
545
py
# -*- coding: utf-8 -*- import numpy as np def diagonaldominante(a): for i in range(0,a.shape[0],1): for j in range(0,a.shape[1],1): soma=soma+a[i,j] soma=soma-a[i,i] if soma<=a[i,i]: return False return True n=int(input('digite a ordem da matriz:')) a=n...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
28444482d26ea8121cb836029ad3e93d17809a1f
1b48b3980abbe11691310a7f35efef62bc0ae831
/Qt/QState/rogue.py
54a6897f40b4217183ae0b7b120dd1c64d4ca3cb
[]
no_license
FXTD-ODYSSEY/MayaScript
7619b1ebbd664988a553167262c082cd01ab80d5
095d6587d6620469e0f1803d59a506682714da17
refs/heads/master
2022-11-05T08:37:16.417181
2022-10-31T11:50:26
2022-10-31T11:50:26
224,664,871
45
11
null
null
null
null
UTF-8
Python
false
false
7,836
py
############################################################################# ## ## Copyright (C) 2010 velociraptor Genjix <aphidia@hotmail.com> ## Copyright (C) 2016 The Qt Company Ltd. ## Contact: http://www.qt.io/licensing/ ## ## This file is part of the Qt for Python examples of the Qt Toolkit. ## ## $QT_BEGIN_LIC...
[ "timmyliang@tencent.com" ]
timmyliang@tencent.com
38ae20856df89827f8a00aa25a5e08cb9eb6ceea
04975a41eb459f1528dcbdcb1143a3cb535aa620
/Array_easy/leetcode_1480.py
e74dd07db830ae28ab16b1a7251a89f541404fe5
[]
no_license
RickLee910/Leetcode_easy
2a50d632379826979a985e1b9950d4cf6bbd8b18
c2687daf334f96a908737067bb915b8b072d0d56
refs/heads/master
2023-01-29T11:09:26.701243
2020-12-02T04:36:14
2020-12-02T04:36:14
294,952,436
0
0
null
null
null
null
UTF-8
Python
false
false
165
py
class Solution: def runningSum(self, nums): temp = [] for i in range(len(nums)): temp.append(sum(nums[0:i + 1])) return temp
[ "13554543910@163.com" ]
13554543910@163.com