blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
777 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
149 values
src_encoding
stringclasses
26 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
3
10.2M
extension
stringclasses
188 values
content
stringlengths
3
10.2M
authors
listlengths
1
1
author_id
stringlengths
1
132
d36e69caa543c23bad4fe19a08123f7541511399
673f9b85708affe260b892a4eb3b1f6a0bd39d44
/Botnets/App/App Web/PDG-env/lib/python3.6/site-packages/joblib/_store_backends.py
ddbd209f9fedb00f32d3e93e0fcf6f572bf2c58d
[ "MIT" ]
permissive
i2tResearch/Ciberseguridad_web
feee3fe299029bef96b158d173ce2d28ef1418e4
e6cccba69335816442c515d65d9aedea9e7dc58b
refs/heads/master
2023-07-06T00:43:51.126684
2023-06-26T00:53:53
2023-06-26T00:53:53
94,152,032
14
0
MIT
2023-09-04T02:53:29
2017-06-13T00:21:00
Jupyter Notebook
UTF-8
Python
false
false
14,530
py
"""Storage providers backends for Memory caching.""" import re import os import os.path import datetime import json import shutil import warnings import collections import operator import threading from abc import ABCMeta, abstractmethod from ._compat import with_metaclass, _basestring from .backports import concurre...
[ "ulcamilo@gmail.com" ]
ulcamilo@gmail.com
133d9271892fc9ec2092352c9c8710004c210f59
c69b8b1ac98f26de39292c5e058f8de5d6776204
/ditto/utils/commands.py
4bc2c63b8d5f0846600f8b3629a42eaf0ff5006d
[ "MIT" ]
permissive
Kuchenmampfer/Ditto
1ba9c2909d43c4d7f36f62126523b510d76500db
435d539c059a25207c70c74818233afe26ad4a38
refs/heads/master
2023-07-10T19:29:47.375307
2021-08-10T10:52:39
2021-08-10T10:52:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
from typing import TypeVar from discord.ext import commands from .. import Context __all__ = ("auto_help",) _CT = TypeVar("_CT", bound=commands.Command) _GT = TypeVar("_GT", bound=commands.Group) async def _call_help(ctx: Context): await ctx.send_help(ctx.command.parent) def auto_help(group: _GT, *, cls: ty...
[ "josh.ja.butt@gmail.com" ]
josh.ja.butt@gmail.com
888ab9a479623576501f7242269eb64cd0e309a9
8a043d4e36122ba36d0650506bf52e8c7af7611e
/backend/manage.py
93e859dce800959c22b4e590f9797dbb5cfd025c
[]
no_license
crowdbotics-apps/test-20218
6f033b2d05d8ae8f6261f06de499aa5f5482cf7b
6fdf428586e05ba97e9ef4030a93c0ac9e464770
refs/heads/master
2022-12-16T18:10:21.201149
2020-09-12T10:29:19
2020-09-12T10:29:19
294,920,271
0
0
null
null
null
null
UTF-8
Python
false
false
630
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_20218.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise Imp...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
4fbb695f1765d44bcbfa2e7b38fbc1edd9e9df08
c719e7be97de57f4ffaebbf4edbd15ef0bebac75
/webapp/__init__.py
5adc2d1b61f9e4d194c416b843910fd80dd30945
[]
no_license
jehiah/gtfs-data-exchange
01feccec5da08afed61e78f51ae46fd2a9a650f6
e9eb891d0067e20c2b157c6093c57654849c87e9
refs/heads/master
2021-01-21T12:11:54.754952
2016-04-04T00:58:58
2016-04-04T00:58:58
828,058
7
3
null
2015-04-28T00:32:09
2010-08-10T05:21:41
Python
UTF-8
Python
false
false
4,133
py
#!/usr/bin/env python # # Copyright 2007 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "jehiah@gmail.com" ]
jehiah@gmail.com
e5ad9ee4ab2db3069159bc1728396b460821eb9d
55647a80c8b412af9df0ba3f50595cc2f29c25e6
/res/scripts/client/gui/shared/actions/__init__.py
8ea7bfcba92ea4a75fd6dbc98c3916a8d11dd437
[]
no_license
cnsuhao/WOT-0.9.17-CT
0035eb6070fb4fab8d8ee9f8bbc676c10d511cfb
d1f932d8cabaf8aa21708622e87f83c8d24d6451
refs/heads/master
2021-06-08T18:11:07.039293
2016-11-19T19:12:37
2016-11-19T19:12:37
null
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
8,979
py
# 2016.11.19 19:52:36 Střední Evropa (běžný čas) # Embedded file name: scripts/client/gui/shared/actions/__init__.py import BigWorld from ConnectionManager import connectionManager from adisp import process from debug_utils import LOG_DEBUG, LOG_ERROR from gui.LobbyContext import g_lobbyContext from gui.Scaleform.Waiti...
[ "info@webium.sk" ]
info@webium.sk
ae0e9dfa494523f579bf8050481c1ecf75a95d7c
286c7b7dd9bd48c73fd94f8e89bde99a8d3f74c5
/modelscript/base/brackets.py
69de0b6d4787b90d2ada466c53d75e57287aad8b
[ "MIT" ]
permissive
ScribesZone/ModelScript
e7738471eff24a74ee59ec88d8b66a81aae16cdc
a36be1047283f2e470dc2dd4353f2a714377bb7d
refs/heads/master
2023-03-18T02:43:57.953318
2021-03-08T15:26:40
2021-03-08T15:26:40
31,960,218
1
2
null
null
null
null
UTF-8
Python
false
false
7,158
py
# coding=utf-8 """ Conversion of a regular indented file into a bracketed file. This module makes it possible to use regular parser like textX with indented based language. Basically BracketedScript is a preprocesssor that replace all indentations by some "brackets" like { and } so that a parser can find these block ma...
[ "escribis@users.noreply.github.com" ]
escribis@users.noreply.github.com
da328818e0e708e72e7445267b75ac3eacc9d658
67b3a18730887046d67b4930ffc6fa0793a28011
/integration_tests/test_drawing_matplotlib_backend.py
defd0e53a041e686422c1ea694239173d19faffd
[ "MIT" ]
permissive
hh-wu/ezdxf
38eeef4e4498411758ef87039532d9df2d5bb178
62509ba39b826ee9b36f19c0a5abad7f3518186a
refs/heads/master
2022-11-11T17:53:15.144144
2020-07-02T10:31:36
2020-07-02T10:31:36
266,539,503
0
0
NOASSERTION
2020-07-02T10:31:37
2020-05-24T12:48:03
null
UTF-8
Python
false
false
443
py
# Created: 06.2020 # Copyright (c) 2020, Matthew Broadway # License: MIT License import pytest plt = pytest.importorskip('matplotlib.pyplot') from ezdxf.addons.drawing.matplotlib_backend import MatplotlibBackend @pytest.fixture() def backend(): fig, ax = plt.subplots() return MatplotlibBackend(ax) def tes...
[ "me@mozman.at" ]
me@mozman.at
c459f9c7006657b277a0ba92551c3cbb372ba3a9
78d5a6e0846cb6b03544e4f717651ca59dfc620c
/treasury-admin/treasury/migrations/0024_auto_20180327_1612.py
c9a2524b3f70c92aa04a2a876672520105bf4e78
[]
no_license
bsca-bank/treasury-admin
8952788a9a6e25a1c59aae0a35bbee357d94e685
5167d6c4517028856701066dd5ed6ac9534a9151
refs/heads/master
2023-02-05T12:45:52.945279
2020-12-13T08:07:41
2020-12-13T08:07:41
320,323,196
0
0
null
null
null
null
UTF-8
Python
false
false
1,109
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-03-27 15:12 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('util', '0011_auto_20180326_1157'), ('contenttypes',...
[ "cn.makodo@gmail.com" ]
cn.makodo@gmail.com
0749ecae97425b881a47a22d2d5edaa1aac3752d
9b9a02657812ea0cb47db0ae411196f0e81c5152
/repoData/jmoiron-humanize/allPythonContent.py
9d04b076f717a85afdaf5edba219c06ce9b45538
[]
no_license
aCoffeeYin/pyreco
cb42db94a3a5fc134356c9a2a738a063d0898572
0ac6653219c2701c13c508c5c4fc9bc3437eea06
refs/heads/master
2020-12-14T14:10:05.763693
2016-06-27T05:15:15
2016-06-27T05:15:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
32,548
py
__FILENAME__ = conf # -*- coding: utf-8 -*- # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # # All configuration values have a default; values that are commented out # serve to show...
[ "dyangUCI@github.com" ]
dyangUCI@github.com
4042a684d5c1f62a2bcd39fd6130f48e889cee75
a14ec6e367e6a471bfc74c066fb958ef585bc269
/2019/13/common.py
671c2ca179b9cdb8fcb560b79faf104e864337eb
[]
no_license
jimhendy/AoC
90641814ed431f46a8500ff0f022c6c957567563
a1727f88bc2e6f739d65902dce188377966b3fb4
refs/heads/master
2023-09-02T14:48:39.860352
2023-08-28T08:09:19
2023-08-28T08:09:19
225,152,422
0
0
null
null
null
null
UTF-8
Python
false
false
681
py
from enum import Enum import pandas as pd class Tile(Enum): EMPTY = 0 WALL = 1 BLOCK = 2 PADDLE = 3 BALL = 4 pass tile_content = { Tile.EMPTY: " ", Tile.WALL: "|", Tile.BLOCK: "#", Tile.PADDLE: "_", Tile.BALL: "o", } def print_game(tiles): display = pd.DataFrame(ti...
[ "jimhendy88@gmail.com" ]
jimhendy88@gmail.com
c2dcce0e83d9778b483b0c915a696f05e3d0666b
3b89c0a97ac6b58b6923a213bc8471e11ad4fe69
/python/CodingExercises/LeetCode518.py
e1374f7eb905e1a098517a80b3af1c7968d5d55b
[]
no_license
ksayee/programming_assignments
b187adca502ecf7ff7b51dc849d5d79ceb90d4a6
13bc1c44e1eef17fc36724f20b060c3339c280ea
refs/heads/master
2021-06-30T07:19:34.192277
2021-06-23T05:11:32
2021-06-23T05:11:32
50,700,556
1
3
null
null
null
null
UTF-8
Python
false
false
1,360
py
''' 518. Coin Change 2 You are given coins of different denominations and a total amount of money. Write a function to compute the number of combinations that make up that amount. You may assume that you have infinite number of each kind of coin. Note: You can assume that 0 <= amount <= 5000 1 <= coin <= 5000 the num...
[ "kartiksayee@gmail.com" ]
kartiksayee@gmail.com
062a1ea6d662fa8571cfb07a3a76e6dd8640867c
64d8d80c9a292f1552190af17cf1fe984968d5dc
/python/8kyu/8kyu - Calculate BMI.py
a2730d1915df136e63922afb1959c1b6dedf05a2
[]
no_license
zurgis/codewars
3acc880e0f3a40fc77532bcac537452d419fc268
045d74d6a36f4bc8a69a76dd3f21fef22c338ca2
refs/heads/master
2021-04-20T22:47:45.833147
2020-05-19T14:01:55
2020-05-19T14:01:55
249,723,171
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
# Write function bmi that calculates body mass index (bmi = weight / height ^ 2). # if bmi <= 18.5 return "Underweight" # if bmi <= 25.0 return "Normal" # if bmi <= 30.0 return "Overweight" # if bmi > 30 return "Obese" def bmi(weight, height): bmi = weight / (height ** 2) if bmi <= 18.5: return "Underweigh...
[ "khdr437@gmail.com" ]
khdr437@gmail.com
70b39f393505ebedcff0c5d67930ca3c6fb34989
0b3e9b3bd28a611ac4081931c8434590eba2898c
/DiabeticRetinopathyApp/DiabeticRetinopathy/settings.py
06b2f24f286c039994631c25961621a5a61b2eda
[]
no_license
Ram-Aditya/Diabetic-Retinopathy-Application
4b8d2fdf95cd554b1bd9305dcff2f719e3326f95
aafd1b858a213f53d5f3bb80f216533b23f1d004
refs/heads/master
2022-12-03T03:23:23.340165
2019-11-25T02:43:26
2019-11-25T02:43:26
223,847,563
0
0
null
2022-11-22T04:50:56
2019-11-25T02:42:09
Python
UTF-8
Python
false
false
3,322
py
""" Django settings for DiabeticRetinopathy project. Generated by 'django-admin startproject' using Django 2.2.7. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ ...
[ "ramaditya.danbrown@gmail.com" ]
ramaditya.danbrown@gmail.com
bd93eb04763d5659ef3de8964ef2be3b14b6a7d4
cec0cdfbd057c2d2ba153aa6f163adb250565e9a
/Core_Python_Programming/chapter-2/simple/tsUclnt.py
fecf61afe58d25842614847570dd8ee0473fa0d1
[]
no_license
Best1s/python_re
91117cd5b1f896c2b2f3987f1625663aa1952354
abd526743c67a1bf72ddce39a0268b8e9fe15d26
refs/heads/master
2020-05-05T13:37:41.428881
2020-02-25T03:41:00
2020-02-25T03:41:00
180,086,606
0
0
null
null
null
null
UTF-8
Python
false
false
364
py
#!/usr/bin/env python from socket import * HOST = 'localhost' PORT = 22223 BUFSIZ = 1024 ADDR = (HOST,PORT) udpCliSock = socket(AF_INET,SOCK_DGRAM) while True: data = raw_input('> ') if not data: break udpCliSock.sendto(data,ADDR) data,ADDR = udpCliSock.recvfrom(BUFSIZ) if not data: ...
[ "best.oneself@foxmail.com" ]
best.oneself@foxmail.com
776eba5668f5e00eb940c9681271776ff85d72c6
ff984452d6c3584e230f09885000a123ebf02d78
/venv/bin/python-config
a58bde950ef6ec83b31a881e89bf0b1377743b8e
[ "MIT" ]
permissive
dushyantRathore/Image_Downloader
6ba2822a59ae1f59d60fd532c2890b1b8493b1ea
177b89b84d2c792e2892977816093474812a002c
refs/heads/master
2021-01-11T21:46:46.534190
2017-03-14T14:03:18
2017-03-14T14:03:18
78,847,907
0
0
null
null
null
null
UTF-8
Python
false
false
2,369
#!/home/dushyant/Desktop/Github/Image_Downloader/venv/bin/python import sys import getopt import sysconfig valid_opts = ['prefix', 'exec-prefix', 'includes', 'libs', 'cflags', 'ldflags', 'help'] if sys.version_info >= (3, 2): valid_opts.insert(-1, 'extension-suffix') valid_opts.append('abiflags...
[ "dushyant.bgs@gmail.com" ]
dushyant.bgs@gmail.com
21d38e67dbf5c49ef0e73d458e7debff36a17027
d46b04d4a25a4a1fbabe092c93f7ae3302e94b27
/py/ztools/Fs/Nca.py
e2145aef163d91efbfa10c985247558afff5c0b1
[ "MIT" ]
permissive
SwitchTools/NSC_BUILDER
633867070609b0eb62caf1e4fce18dc147de8f0b
7f4e96e3417f7a1156bb269ebaa869ccd30f9e0d
refs/heads/master
2022-12-31T07:20:37.122435
2020-10-08T12:22:15
2020-10-08T12:22:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
104,513
py
import aes128 import Title import Titles import Hex import math from binascii import hexlify as hx, unhexlify as uhx from struct import pack as pk, unpack as upk from hashlib import sha256 import Fs.Type import os import re import pathlib import Keys import Config import Print import Nsps from tqdm import tqdm import F...
[ "42461174+julesontheroad@users.noreply.github.com" ]
42461174+julesontheroad@users.noreply.github.com
2680ecba6fb8682cdeb0d6871c0bba8c11da6300
41523dd4871e8ed1043d2b3ddf73417fcbdde209
/day06/函数.py
3ae295c7e48faa9b12c2b531cf7a0362c7e36bf6
[]
no_license
WayneChen1994/Python1805
2aa1c611f8902b8373b8c9a4e06354c25f8826d6
a168cd3b7749afc326ec4326db413378fd3677d5
refs/heads/master
2020-03-30T23:19:00.773288
2018-11-02T10:47:40
2018-11-02T10:47:40
151,697,105
0
0
null
null
null
null
UTF-8
Python
false
false
1,457
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # author: Wayne.Chen ''' 函数的定义: 在项目开发的过程中,有些功能,我们会反复的使用,为了方便使用,我们将这些功能封装成一个函数,在需要使用此功能的时候,调用即可。 优点: 1、简化代码结构,增加代码的复用性 2、增加代码的可维护性,若想修改某个bug或者某个功能,找到对应的函数更改即可 ''' ''' 语法: def 函数名(参数列表): 语句块 return 表达式 def:关键字来声明函数 函数名:标识符 参数列表:参数与参数之间使用逗号隔开 : 标识函数语句块的开始 语句块:函...
[ "waynechen1994@163.com" ]
waynechen1994@163.com
a9b8e43931d529c548c0a4547aff0caa186cbc3a
8b68fb2eeb5d10082fc2083bc6323aca5b4378b7
/Server/app/views/__init__.py
c23988213ce9d89d5948846467aa10feceffa455
[ "MIT" ]
permissive
JoMingyu/BookCheck-Backend
edf7529db95f9183939c0f81ef0ef0906b3c2318
fbe71a39e385a3c739e7e40ab1153efbe7835576
refs/heads/master
2021-09-10T00:07:29.923714
2018-03-20T09:55:25
2018-03-20T09:55:25
113,041,979
1
0
MIT
2017-12-09T13:18:35
2017-12-04T12:51:21
null
UTF-8
Python
false
false
783
py
from flask_restful import Api from flasgger import Swagger from app.docs import TEMPLATE from app.views.user import * from app.views.library.book import * from app.views.library.borrow import * from app.views.library.library import * class ViewInjector(object): def __init__(self, app=None): if app is no...
[ "city7310@naver.com" ]
city7310@naver.com
c8b65743ca50b6f191972c80546139408638786f
c16ea32a4cddb6b63ad3bacce3c6db0259d2bacd
/google/ads/googleads/v5/googleads-py/tests/unit/gapic/googleads.v5/services/test_conversion_action_service.py
e6349cb7efad46563360ae950642334b77708b9a
[ "Apache-2.0" ]
permissive
dizcology/googleapis-gen
74a72b655fba2565233e5a289cfaea6dc7b91e1a
478f36572d7bcf1dc66038d0e76b9b3fa2abae63
refs/heads/master
2023-06-04T15:51:18.380826
2021-06-16T20:42:38
2021-06-16T20:42:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
37,960
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
6a55346eb4a479e9cfec583f80024042ffc59f42
e8d5471bd4a47794d66162060343f740e0febca4
/server/src/uds/core/jobs/__init__.py
a36a52b16819d2d15be2ddb8f0a4383942b120aa
[]
no_license
git38438/openuds
ef939c2196d6877e00e92416609335d57dd1bd55
7d66d92f85f01ad1ffd549304672dd31008ecc12
refs/heads/master
2020-06-22T14:07:33.227703
2019-07-18T11:03:56
2019-07-18T11:03:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,934
py
# -*- coding: utf-8 -*- # # Copyright (c) 2012-2019 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright noti...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
5ba702808ada3c9cd1aae54e283990fe3232d401
ddb8c14775dfbe9424691dabf1617273d118d317
/catkin_ws/build/geographic_msgs/catkin_generated/pkg.develspace.context.pc.py
eb6b51c3a7776951fe341bcd8fb40bc99747dfcb
[]
no_license
rishabhdevyadav/fastplanneroctomap
e8458aeb1f2d3b126d27dc57011c87ae4567687a
de9d7e49cb1004f3b01b7269dd398cf264ed92b4
refs/heads/main
2023-05-12T22:12:27.865900
2021-05-26T19:25:31
2021-05-26T19:25:31
356,674,577
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/rishabh/catkin_ws/devel/.private/geographic_msgs/include".split(';') if "/home/rishabh/catkin_ws/devel/.private/geographic_msgs/include" != "" else [] PROJECT_CATKIN_DEPENDS = "message_runtime;ge...
[ "rishabhdevyadav95@gmail.com" ]
rishabhdevyadav95@gmail.com
fce89a0524d511165b52d279a419cfc86ad5c216
e81576012330e6a6024d14f3e241f88ca34b73cd
/python_code/vnev/Lib/site-packages/jdcloud_sdk/services/jdccs/models/DescribeAlarm.py
99d362a38e2debde465939d0cae11309536c8aa1
[ "MIT" ]
permissive
Ureimu/weather-robot
eba6a84147755aa83c941a306bac1a7c4e95e23e
7634195af388538a566ccea9f8a8534c5fb0f4b6
refs/heads/master
2021-01-15T07:23:42.274413
2020-03-23T02:30:19
2020-03-23T02:30:19
242,912,896
0
0
null
null
null
null
UTF-8
Python
false
false
2,499
py
# coding=utf8 # Copyright 2018 JDCLOUD.COM # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
[ "a1090693441@163.com" ]
a1090693441@163.com
6f1428522b9f54c1de6924fc916004f5dffe6e3f
eb9c3dac0dca0ecd184df14b1fda62e61cc8c7d7
/google/ads/googleads/v5/googleads-py/google/ads/googleads/v5/enums/types/keyword_plan_network.py
5495e33f567dabc034343b0886868ec8d424bf1e
[ "Apache-2.0" ]
permissive
Tryweirder/googleapis-gen
2e5daf46574c3af3d448f1177eaebe809100c346
45d8e9377379f9d1d4e166e80415a8c1737f284d
refs/heads/master
2023-04-05T06:30:04.726589
2021-04-13T23:35:20
2021-04-13T23:35:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # 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 o...
[ "bazel-bot-development[bot]@users.noreply.github.com" ]
bazel-bot-development[bot]@users.noreply.github.com
0c0025b66e84787c79a192d52506191ad76db35a
ad372f7753c70e3997d035097ee03f740a5fb068
/trace_challenge/admin.py
f7a8a726f1094caab378bda4e82f5e630813155d
[]
no_license
Insper/servidor-de-desafios
a5f09fe9368887b06b98800f2bb8f35ff13f80a9
9875e9b9248c14237161ca73983595f7d929e963
refs/heads/master
2022-12-14T17:28:42.963112
2022-09-12T19:18:36
2022-09-12T19:18:36
167,026,050
3
42
null
2022-12-08T07:36:47
2019-01-22T16:19:46
Python
UTF-8
Python
false
false
267
py
from django.contrib import admin from trace_challenge.models import TraceChallenge, TraceStateSubmission, UserTraceChallengeInteraction admin.site.register(TraceChallenge) admin.site.register(TraceStateSubmission) admin.site.register(UserTraceChallengeInteraction)
[ "andrew.kurauchi@gmail.com" ]
andrew.kurauchi@gmail.com
46f0fbed19875c78825487e43ce6a3c1936dc4b7
c2ddadd3cf14dfc56ec1e4b8d52b8c1a23ea1e61
/index/models.py
0e00f72ef97a2fe38f9fa7e54588261bdab74a29
[]
no_license
ashimmitra/Varsity-Final-Project-by-Django
09f944a9f1aae7be4212f0c09cfe5d2c596bd848
6274d966f09d9ead2344542b56576a77e0758d5a
refs/heads/main
2023-07-17T15:50:04.414565
2021-08-20T12:31:24
2021-08-20T12:31:24
342,790,345
0
0
null
null
null
null
UTF-8
Python
false
false
1,298
py
from django.db import models class AboutSite(models.Model): title=models.CharField(max_length=150,blank=False) description=models.TextField(max_length=800,blank=False) def __str__(self): return self.title class Slider(models.Model): title=models.CharField(max_length=150,blank=False) d...
[ "34328617+ashimmitra@users.noreply.github.com" ]
34328617+ashimmitra@users.noreply.github.com
4a3abee9f4cc03df78a630501c76c024d5238aad
1369717e645fe33ac2eec0d485dde79289a34ace
/server/src/uds/transports/HTML5RDP/HTML5RDP.py
ee2a318e870bea73304b54a0918cb915ddb13ae0
[]
no_license
johnp/openuds
0b9c1fa3823854deb1ccd53c51fc27447e28593a
b8e1e1773559b91875ccf096d37418e3b70675d0
refs/heads/master
2021-01-22T12:54:04.092698
2017-04-19T06:23:44
2017-04-19T06:23:44
68,590,975
0
0
null
2016-09-19T09:34:33
2016-09-19T09:34:32
null
UTF-8
Python
false
false
8,959
py
# -*- coding: utf-8 -*- # # Copyright (c) 2012 Virtual Cable S.L. # All rights reserved. # # Redistribution and use in source and binary forms, with or without modification, # are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, #...
[ "dkmaster@dkmon.com" ]
dkmaster@dkmon.com
29e7404835a884d2b0f0858126f3b4f4788249c0
1996b0e9252362d91c809c4e7f95e7075f13816b
/test/test_tfidf.py
bfa334d962d609402c8a406da134ce352d1a2522
[]
no_license
scheeloong/MovieQA_benchmark
846c63d8a361bd4f630e31e3120772bc4965f999
fb3e1b8fe9ddc6084b3c93206e7dfaed5ad42149
refs/heads/master
2020-05-30T08:41:44.764034
2017-05-03T05:30:19
2017-05-03T05:30:19
70,122,910
1
1
null
2016-10-06T04:33:34
2016-10-06T04:33:34
null
UTF-8
Python
false
false
796
py
""" Test for Term Frequency Inverse Document Frequency TODO(scheeloong): Implement test """ import unittest # Import the package (which is made by having a file called __init__.py import src import MovieQA # Import the module tfidf.py from src import tfidf # From tfidf.py, import the class TfIdf from src.tfidf import...
[ "scheeloong@gmail.com" ]
scheeloong@gmail.com
920cebd7f494e6045568714339e6673f1f1fd4c5
52b5773617a1b972a905de4d692540d26ff74926
/.history/largestTime_20200903104758.py
ba9e15dd86034374abcafc517e4c6befc8e91e2c
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
10
py
def Time()
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
4c65e49cfbd1385e17184100805b7ad76143d4e5
2af6a5c2d33e2046a1d25ae9dd66d349d3833940
/res_bw/scripts/client/postprocessing/effects/distortiontransfer.py
fba89b3f70bcc804cbf5dba56a150d3693d47d9d
[]
no_license
webiumsk/WOT-0.9.12-CT
e6c8b5bb106fad71b5c3056ada59fb1aebc5f2b2
2506e34bd6634ad500b6501f4ed4f04af3f43fa0
refs/heads/master
2021-01-10T01:38:38.080814
2015-11-11T00:08:04
2015-11-11T00:08:04
45,803,240
0
0
null
null
null
null
WINDOWS-1250
Python
false
false
1,958
py
# 2015.11.10 21:32:32 Střední Evropa (běžný čas) # Embedded file name: scripts/client/PostProcessing/Effects/DistortionTransfer.py from PostProcessing.RenderTargets import * from PostProcessing import Effect from PostProcessing.Phases import * from PostProcessing.FilterKernels import * from PostProcessing import getEff...
[ "info@webium.sk" ]
info@webium.sk
281dece3986aa0e47c5f5d16610e3fa153dcd132
fbbe424559f64e9a94116a07eaaa555a01b0a7bb
/Spacy/source2.7/thinc/extra/wrappers.py
7e51741312749e804eaf2d8a6a8439286f23079c
[ "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
2,346
py
from ..compat import BytesIO from ..neural._classes.model import Model try: import torch.autograd import torch except ImportError: pass class PytorchWrapper(Model): '''Wrap a PyTorch model, so that it has the same API as Thinc models. To optimize the model, you'll need to create a PyTorch optimiz...
[ "ryfeus@gmail.com" ]
ryfeus@gmail.com
d0a5805d8de348ebd9b1de3b91221773c58040fc
1d60c5a7b8ce6277bff514e376f79848f706344c
/Machine Learning Scientist with Python/19. Image Processing with Keras in Python/03. Going Deeper/04. Write your own pooling operation.py
af1617492f97a83b0f689958bdbfb890957a90cf
[]
no_license
DidiMilikina/DataCamp
338c6e6d3b4f5b6c541c1aba155a36e9ee24949d
3bf2cf3c1430190a7f8e54efda7d50a5fd66f244
refs/heads/master
2020-12-15T13:16:54.178967
2020-05-06T17:30:54
2020-05-06T17:30:54
235,113,616
4
3
null
null
null
null
UTF-8
Python
false
false
1,188
py
''' Write your own pooling operation As we have seen before, CNNs can have a lot of parameters. Pooling layers are often added between the convolutional layers of a neural network to summarize their outputs in a condensed manner, and reduce the number of parameters in the next layer in the network. This can help us if ...
[ "didimilikina8@gmail.com" ]
didimilikina8@gmail.com
09ea2d36a061bd2ef4ac973b25a693b6625b6703
df0062217e45a1fe9d9af83ba1768aab385d2c28
/proboscis/decorators.py
54f5264568242dca31520f87584c5c0fcbfd74c5
[ "Apache-2.0" ]
permissive
rassilon/python-proboscis
678b20a149a22b036d2fb3044a53a9a1a02cedc7
214c1c317c6575ecc1b3ccb2dc60303d57fbc417
refs/heads/master
2020-12-24T16:58:46.572787
2012-07-09T22:37:32
2012-07-09T22:37:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,536
py
# Copyright (c) 2011 Rackspace # 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...
[ "tim.simpson@rackspace.com" ]
tim.simpson@rackspace.com
abe20bfb2a6b3bcbe0ba10177cc733b42e8086ec
b1303152c3977a22ff9a0192c0c32310e65a6d77
/python/109.convert-sorted-list-to-binary-search-tree.py
e02cf628fa34d2da85972e66a21ada048e2fdcaf
[ "Apache-2.0" ]
permissive
stavanmehta/leetcode
1b8da1c2bfacaa76ddfb96b8dbce03bf08c54c27
1224e43ce29430c840e65daae3b343182e24709c
refs/heads/master
2021-07-15T16:02:16.107962
2021-06-24T05:39:14
2021-06-24T05:39:14
201,658,706
0
0
Apache-2.0
2021-06-24T05:39:15
2019-08-10T16:59:32
Java
UTF-8
Python
false
false
382
py
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None # Definition for a binary tree node. # class TreeNode: # def __init__(self, x): # self.val = x # self.left = None # self.right = None class Solution: de...
[ "noreply@github.com" ]
stavanmehta.noreply@github.com
0b125c0bcb4a80ca0f836c735b815a89f509b757
64cd09628f599fe18bf38528309349f7ac0df71e
/Introduction/10_Introduction_tensorflow/8_Tensorflow_functions/neg or -.py
59e33f4ff044010ae0dcca84e5ff111aaca3e10b
[]
no_license
JunyoungJang/Python
958c057b2fd37c03876d3cf566ee27ee637bb020
76d4cd441deff8061e10608e0848360bc4f34490
refs/heads/master
2021-01-19T21:54:42.208469
2020-02-14T09:54:17
2020-02-14T09:54:17
83,768,220
1
0
null
null
null
null
UTF-8
Python
false
false
192
py
import tensorflow as tf X = tf.constant([[2., 2.], [-3., 3.]]) # tf.neg(X) is equivalent to - X a = tf.neg(X) b = - X with tf.Session() as sess: print sess.run(a) print sess.run(b)
[ "lakino@yonsei.ac.kr" ]
lakino@yonsei.ac.kr
aa7a142d7fefe454e13433d58de97643501b3332
781e2692049e87a4256320c76e82a19be257a05d
/all_data/exercism_data/python/gigasecond/bf994fcc2d8b4c1c9fdea7adaf87f2e0.py
5dcf780303f3a3dbbff6c18d0077b59ff3fd94f6
[]
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
216
py
from datetime import datetime from datetime import timedelta def add_gigasecond(initial_date): gigasecond = 10**9 return initial_date + timedelta(seconds = gigasecond) print add_gigasecond(datetime(2011, 4, 25))
[ "rrc@berkeley.edu" ]
rrc@berkeley.edu
a3871737df16daae3fef7ab62128c7f893347cfb
e75a890b39f046b2a44e3433acabc5dd12be7dbd
/leecode/9.回文数.py
30763f64ebc4fad122eff3357105915a75a8ac0e
[]
no_license
zzf531/leetcode
53c82ad96fef66ab666b658c1a60b9f81646c72a
cdb22e44c9fac2bc06a840bf7433aeb9be9ae2b2
refs/heads/master
2020-08-03T03:47:16.895530
2020-03-30T02:48:20
2020-03-30T02:48:20
211,615,639
2
0
null
null
null
null
UTF-8
Python
false
false
299
py
class Solution: def isPalindrome(self, x: int) -> bool: if x < 0:return False s = str(x) s2 = s[::-1] i = int(s2) if i == x and x == 0: return True else: return False a = Solution() print(a.isPalindrome(0))
[ "2315519934@qq.com" ]
2315519934@qq.com
5a9f6e7d85368a6da5243971ae8f5e41576d135a
7f114a1fb511b816c116d5b9e67cb998e3e23956
/Pys109.py
9d9c6b230aae65bab5143dcba55983a5a1aedd99
[]
no_license
Bharanij27/bharanirep
90ac34eb28deaa7ec96d042de456de71b96866d7
982133a7939c889d433c178a601441fa087293d9
refs/heads/master
2021-08-07T20:22:36.244395
2020-06-05T04:58:10
2020-06-05T04:58:10
186,580,768
0
6
null
null
null
null
UTF-8
Python
false
false
52
py
a,b,c=map(int,input().split()) x=a*b y=x%c print(y)
[ "noreply@github.com" ]
Bharanij27.noreply@github.com
88c4363bf66d4e01bd9cd255ee394b2bf14d66e5
9c5e09b4f048a13961c0f4a1370a7bf01a421d92
/gym/core.py
1c8769a6c487c9206f83f1b37080df79121a2e02
[ "MIT" ]
permissive
StanfordVL/Gym
daa8c780f5ace3e33c3bf0f7109f40a0a820d59e
5e14d19e57d8ba318b97a5edda0ab2ea591dea08
refs/heads/master
2023-02-03T02:44:40.185713
2020-12-17T14:10:16
2020-12-17T14:10:16
280,579,514
9
4
null
null
null
null
UTF-8
Python
false
false
10,310
py
from ...Gym import gym from . import error from .utils import closer env_closer = closer.Closer() class Env(object): r"""The main OpenAI Gym class. It encapsulates an environment with arbitrary behind-the-scenes dynamics. An environment can be partially or fully observed. The main API methods that u...
[ "shawn@DNa1c068f.SUNet" ]
shawn@DNa1c068f.SUNet
f53ada130a5b5651bd8b1089ba2582f5cb6eb12b
5651e0d643e13d9f309e5ce5272a393d570e451f
/sla_cli/src/db/schema.py
d4561cfb06839df25e468b777c1b7f5a973a02ba
[ "MIT", "CC-BY-4.0" ]
permissive
rdoreilly/SLA-CLI
a722ba5cf435399215c0368cf26a44a8f5c16957
c92ca8a6e57eb51bf9c9433013ce16d443f8d152
refs/heads/main
2023-04-03T23:26:17.741218
2021-04-15T11:07:42
2021-04-15T11:07:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,381
py
""" Author: David Walshe Date: 07 April 2021 """ import logging from typing import Dict, List, Union import json import attr from attr.validators import instance_of from colorama import Fore from sla_cli.src.common.path import Path logger = logging.getLogger(__name__) @attr.s class Schema: pass @a...
[ "david.walshe93@gmail.com" ]
david.walshe93@gmail.com
39196050d48bc0215006c07b5fad2ebb8ef47221
59dd5ca4d22fc8b377b89977d68fa3c812e37d7b
/tests/case07_change_type/models_pre.py
46645ed4624a371229a9d57aa0175129349d5946
[]
no_license
buriy/deseb2
24b42996f3c503a87ba7f5d8f9abcfa09a293a5d
26d5934ca1481a54a3e901b75f693869dcd0cb64
refs/heads/master
2021-01-01T15:30:48.017759
2008-10-13T06:13:14
2008-10-13T06:13:14
223,088
0
1
null
null
null
null
UTF-8
Python
false
false
933
py
from django.db import models import deseb class Poll(models.Model): """this model originally had fields named pub_date and the_author. you can use either a str or a tuple for the aka value. (tuples are used if you have changed its name more than once)""" question = models.CharField(max_length=200,...
[ "burchik@gmail.com" ]
burchik@gmail.com
d273506c35ba2c968db21c8939dac046e9ae9e6c
1e2aed03b02817811809c5d60c0cc65c253be59a
/211-etl.py
97bd37b9da8139f4b24c7a69c5c59110431c0110
[]
no_license
WPRDC/211-etl
8a9a7cdf697bfbf37d97e85f6119e317040e9e31
387f91baf2224833dfd7e38548184075fa01755d
refs/heads/master
2020-04-16T21:02:12.092268
2019-01-16T21:33:49
2019-01-16T21:33:49
165,912,789
0
0
null
null
null
null
UTF-8
Python
false
false
19,626
py
import os, sys, csv, json, re, datetime from marshmallow import fields, pre_load, post_load from datetime import datetime from dateutil import parser from pprint import pprint sys.path.insert(0, '/Users/drw/WPRDC/etl-dev/wprdc-etl') # A path that we need to import code from import pipeline as pl from subprocess import...
[ "drw@users.noreply.github.com" ]
drw@users.noreply.github.com
b94c10ffe1e2cebe6c2841f11409493c979fc88d
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03806/s842087595.py
d6c3b9ca4a01b491de47129a0e62c223068e0ba0
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
1,034
py
#!/usr/bin/env python3 #ABC54 D import sys import math import bisect sys.setrecursionlimit(1000000000) from heapq import heappush, heappop from collections import defaultdict from itertools import accumulate from collections import Counter from collections import deque from operator import itemgetter from itertools im...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
0f208f06bcdb8fb441e0b83c7cf87c10e7b1823e
000a4b227d970cdc6c8db192f4437698cb782721
/python/helpers/typeshed/stdlib/importlib/__init__.pyi
0e99786775b0b6fbcc2709c7e75cbd15358973c7
[ "MIT", "Apache-2.0" ]
permissive
trinhanhngoc/intellij-community
2eb2f66a2a3a9456e7a0c5e7be1eaba03c38815d
1d4a962cfda308a73e0a7ef75186aaa4b15d1e17
refs/heads/master
2022-11-03T21:50:47.859675
2022-10-19T16:39:57
2022-10-19T23:25:35
205,765,945
1
0
Apache-2.0
2019-09-02T02:55:15
2019-09-02T02:55:15
null
UTF-8
Python
false
false
791
pyi
from importlib.abc import Loader from types import ModuleType from typing import Mapping, Sequence __all__ = ["__import__", "import_module", "invalidate_caches", "reload"] # Signature of `builtins.__import__` should be kept identical to `importlib.__import__` def __import__( name: str, globals: Mapping[str, o...
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
12571535c2293ff73d15e6d288a9fb979737dd66
2d40a56ca2e9f8a37018eba1edfe3f93f7bd2176
/app/__init__.py
5ef65987471aee2297711a150741be280508af5c
[ "MIT" ]
permissive
Mariga123/BLOGS
27f119d12c50a1b3e39e62f091b2dec362a63f08
5578540f5fc9ec3aed73d7cca869117d2df9a298
refs/heads/master
2023-01-31T01:04:12.795202
2020-12-15T23:04:57
2020-12-15T23:04:57
320,508,729
0
0
null
null
null
null
UTF-8
Python
false
false
1,061
py
from flask import Flask from config import config_options from flask_mail import Mail from flask_login import LoginManager from flask_bootstrap import Bootstrap from flask_sqlalchemy import SQLAlchemy from flask_uploads import IMAGES, UploadSet, configure_uploads db = SQLAlchemy() mail = Mail() bootstap = Bootstrap() ...
[ "johnmariga8@gmail.com" ]
johnmariga8@gmail.com
c100e4099c1b15f54c023a6ded6ae3dbe74cd1e2
10f1bbac126bb187febc630ab13b09ac6d9270cb
/Examples/swordfish.py
a86c83506091e74070d7a8fc63061f23c89010ff
[]
no_license
akshirapov/automate-the-boring-stuff
481827efd8f53117d73bc2f6b846b49736bb9d46
fb36141e249f8c5db8e1c1c40856d5f8134606cc
refs/heads/master
2022-12-17T10:55:33.412077
2020-01-10T16:02:13
2020-01-10T16:02:13
187,468,744
0
0
null
2022-12-08T05:15:44
2019-05-19T11:37:46
Python
UTF-8
Python
false
false
253
py
while True: print('Who are you?') name = input() if name != 'Joe': continue print('Hello, Joe. What is the password? (It is a fish)') password = input() if password == 'swordfish': break print('Access granted.')
[ "cccp2006_06@mail.ru" ]
cccp2006_06@mail.ru
b72ab49459fa091603bd0dbb3eb1c0427da0a8b8
2448c41b6914cce852a6b0624298936029d62d0f
/apps/tests/accounts/token_tests.py
0e514d08adb03afa128e5935047ed95f2d215c77
[]
no_license
navill/ut_project
ade4f7ddede3096ee22a6f8f1d7da100bf73eacf
ef639e79bcdd59bd7b7d68edd185d88bfc82d4d3
refs/heads/master
2023-04-20T02:50:43.337465
2021-05-21T00:17:22
2021-05-21T00:17:22
314,426,915
0
0
null
null
null
null
UTF-8
Python
false
false
2,703
py
import time import pytest from rest_framework.reverse import reverse from rest_framework_simplejwt.token_blacklist.models import * from rest_framework_simplejwt.utils import datetime_from_epoch from accounts.api.authentications import CustomJWTTokenUserAuthentication, CustomRefreshToken from accounts.models import * ...
[ "blue_jihoon@naver.com" ]
blue_jihoon@naver.com
b6489a92789fa5c732d255eb213c6d5f6a9e3dd2
16ca50defdb822904aa310552ea614db3c50a7b8
/src/posts/views.py
1f3b72094a75a2a6ec9e4353cd07de97c6a9dd42
[]
no_license
Elsaeed97/django-cbv
5cd199ae5df7a94f9c93efa6e06d32292894f154
464f0a0da73b114e8c06ded4ee3c1e6fe9ece45e
refs/heads/master
2020-07-15T09:21:53.545096
2019-09-02T20:31:05
2019-09-02T20:31:05
205,531,307
0
0
null
null
null
null
UTF-8
Python
false
false
793
py
from django.shortcuts import render from .models import Post from django.views.generic import TemplateView, DetailView, CreateView, UpdateView, DeleteView from django.urls import reverse_lazy # Create your views here. class HomePage(TemplateView): template_name = "home.html" def get_context_data(self, **kwargs): ...
[ "elsaeedahmed97@gmail.com" ]
elsaeedahmed97@gmail.com
2a81b395742d7db7d66bb03781bd253dc966537d
d7016f69993570a1c55974582cda899ff70907ec
/sdk/applicationinsights/azure-mgmt-applicationinsights/azure/mgmt/applicationinsights/v2022_04_01/_application_insights_management_client.py
e03358a7d7f81eb9a7e45644bb061dfd5af07347
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
kurtzeborn/azure-sdk-for-python
51ca636ad26ca51bc0c9e6865332781787e6f882
b23e71b289c71f179b9cf9b8c75b1922833a542a
refs/heads/main
2023-03-21T14:19:50.299852
2023-02-15T13:30:47
2023-02-15T13:30:47
157,927,277
0
0
MIT
2022-07-19T08:05:23
2018-11-16T22:15:30
Python
UTF-8
Python
false
false
4,005
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
kurtzeborn.noreply@github.com
3f349e600c67907fd25a7668627c2f0fa4b8d8ef
86c0e5e717955f615093788b3c3e772c2e9bf86f
/2019work_update/360elib/utils.py
aac4a2e95739ae001cfa99585039063f14cf9e34
[]
no_license
Sustartpython/My-Python-Examples
17cba596de3a5818f32d72c5a6abf25cd599dac0
6af2314693d929c35a4636cf047eea9490969e78
refs/heads/master
2022-09-09T10:04:09.936098
2020-03-16T03:32:48
2020-03-16T03:32:48
214,319,813
3
0
null
2022-09-01T23:18:15
2019-10-11T01:47:42
Java
UTF-8
Python
false
false
9,632
py
import sqlite3 import mysql.connector import pypyodbc from PIL import Image import io import sys import time import os import threading import traceback import json import requests import base64 import hashlib def BaseEncodeID(strRaw): r""" 自定义base编码 """ strEncode = base64.b32encode(strRaw.encode('utf8')).de...
[ "476274024@qq.com" ]
476274024@qq.com
d1cb8b220ff10c0541a9ae9919eca7d78c4451e2
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/cv/image_classification/DBPN_ID2917_for_PyTorch/dataset.py
107b2ac1e75bf747ca40f827a1d8b65f0fbc430b
[ "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference", "GPL-1.0-or-later" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
6,223
py
# # BSD 3-Clause License # # Copyright (c) 2017 xxxx # All rights reserved. # Copyright 2021 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "wangjiangben@huawei.com" ]
wangjiangben@huawei.com
16e946ad9dcd11ce7bf78b923c7d03ec8901301e
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/HpJCBwggQMDLWTHsM_9.py
899cb569cb973f6979a58e5944f0756877e31ba0
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
556
py
""" Create a function that takes in a sentence and returns the average length of each word in that sentence. Round your result to two decimal places. ### Examples average_word_length("A B C.") ➞ 1.00 average_word_length("What a gorgeous day.") ➞ 4.00 average_word_length("Dude, this is so awes...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
87e1f5f4d8c3542a34727f8b44668b8a8d6c135a
46baa88abe88e226afede3abf721c2056369745a
/articles/urls.py
80ae9f355b51743f0982ba0a32d1efb679b0f46c
[]
no_license
almazkun/django_news_app
267aa8775c2ffeba72e22f647b0db38f65a526ec
ae66fb1df0f87b3c52ad59546986b93a94c30083
refs/heads/master
2020-04-21T00:20:49.926012
2019-02-11T09:01:24
2019-02-11T09:01:24
169,193,677
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
from django.urls import path from .views import ( ArticleListView, ArticleUpdateView, ArticleDetailView, ArticleDeleteView, ArticleCreateView, ) urlpatterns = [ path('<int:pk>/edit/', ArticleUpdateView.as_view(), name='article_edit'), path('<int:pk>/', ArticleDetailView.as_view(), name='...
[ "almaz.kun@gmail.com" ]
almaz.kun@gmail.com
86b33544ef12bb04bf642015bf69fedbca7451c0
3fd6e85c36a7e9e4f9ddec163a55f3602ccfb98c
/old/imu/test_ukf_filter.py
9fb00c012ec4fbe0edf8f64b2e68194f5d687353
[ "Apache-2.0" ]
permissive
SiChiTong/mjmech
acc5da4ac6edd9f1446cc13e471aedeea3e1c419
a71f35e6ad6bc9c1530a0a33d68c45d073390b79
refs/heads/master
2020-03-20T03:44:13.276650
2018-05-06T02:59:55
2018-05-06T03:04:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,718
py
#!/usr/bin/python # Copyright 2014 Josh Pieper, jjp@pobox.com. 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 # # Un...
[ "jjp@pobox.com" ]
jjp@pobox.com
12757534cd6969e75c3a3b1f495af6b6da5536ba
521a6a1f121f8dd569618b96184457c7427d20a9
/compiler/tests/04_pnand2_test.py
bc066cfc726767bc881d3b6be153618e3d8a08bc
[ "BSD-3-Clause" ]
permissive
mguthaus/OpenRAM
e9682c9148be42cdd84d115d0855ce91dae5b567
46c86d3bb3df82e150532ede75cbf6180a697cfd
refs/heads/master
2021-05-02T13:43:36.618374
2019-10-20T00:43:33
2019-10-20T00:43:33
216,284,207
1
1
NOASSERTION
2019-10-19T23:48:09
2019-10-19T23:48:09
null
UTF-8
Python
false
false
993
py
#!/usr/bin/env python3 # See LICENSE for licensing information. # # Copyright (c) 2016-2019 Regents of the University of California and The Board # of Regents for the Oklahoma Agricultural and Mechanical College # (acting for and on behalf of Oklahoma State University) # All rights reserved. # import unittest from test...
[ "mrg@ucsc.edu" ]
mrg@ucsc.edu
856f691c05670bf2301b7c6348f2a85058d9f65a
3011e024b5f31d6c747a2bd4a143bb6a0eeb1e1d
/chapter05/class_view_demo/class_view_demo/urls.py
e6f3d7b1c943bca748af711f0e39b48e0f559a19
[]
no_license
yingkun1/python-django
a3084460a83682f3e0848d5b40c881f93961ecc2
08c9ed3771eb245ee9ff66f67cf28730d2675bbe
refs/heads/master
2022-12-11T12:33:20.788524
2019-06-12T09:30:59
2019-06-12T09:30:59
189,977,625
1
0
null
2022-11-22T02:57:01
2019-06-03T09:43:30
Python
UTF-8
Python
false
false
1,372
py
"""class_view_demo URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cla...
[ "925712087@qq.com" ]
925712087@qq.com
35f4bd12ddfba68de1548e67e34008152d69b9bf
64809a6995c361d8f62fac40b97c6fbac8206637
/tests/test_PyTorch_NN.py
cc0e30e559eb14f74566070563417a93b3400e42
[ "MIT" ]
permissive
josiahls/nn_builder
857436e78ae38a0395adb43b05aab18ee97311d8
3d202af1bae7b4ae95beb446ef13f73b0565dea0
refs/heads/master
2020-05-23T18:23:10.549979
2019-05-15T19:52:42
2019-05-15T19:52:42
186,887,013
0
0
null
2019-05-15T19:05:21
2019-05-15T19:05:21
null
UTF-8
Python
false
false
12,056
py
# Run from home directory with python -m pytest tests import pytest import torch import random import numpy as np import torch.nn as nn import torch.optim as optim from nn_builder.pytorch.NN import NN N = 250 X = torch.randn((N, 5)) X[:, [2, 4]] += 10.0 y = X[:, 0] > 0 y = y.float() def test_linear_hidden_units_user_...
[ "p.christodoulou2@gmail.com" ]
p.christodoulou2@gmail.com
449468d693eff6360da1441d3305fb079152cb99
5fb32bc4f1de0dfd2fa22bb92108b27386d77298
/tools/workspace/gst-plugins-ugly/repository.bzl
2d1a8de42c4912fa94012d10f973b2255d0feff6
[ "Apache-2.0" ]
permissive
mjbots/bazel_deps
5415e61324c6167cba7c3c0917cad387d9e5107a
6c9ba1867b5d0ab5e59a7f1205adfd750a6c3610
refs/heads/master
2023-07-24T05:19:51.945623
2023-07-12T18:22:50
2023-07-12T18:22:50
139,143,430
96
38
Apache-2.0
2021-01-05T13:02:09
2018-06-29T11:52:09
Python
UTF-8
Python
false
false
1,109
bzl
# -*- python -*- # Copyright 2018 Josh Pieper, jjp@pobox.com. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applic...
[ "jjp@pobox.com" ]
jjp@pobox.com
bd32ed5d6d14f48b505ab51db2fcca8dee046b1f
65b55130f41747ccb239219ae9010ab06b60d430
/src/tweets/api/pagination.py
c8bb1934c835473c8b741cc39a8030efc01de161
[]
no_license
amrebrahem22/TweetMe-App
d5c2f5fc20565356a88fdde357433ac54bc5dfac
cad027a34c84f9b2530759ec6b080a5f80a02ffc
refs/heads/master
2020-11-24T19:12:27.526977
2020-03-24T21:44:30
2020-03-24T21:44:30
228,306,534
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
from rest_framework import pagination class TweetsPagination(pagination.PageNumberPagination): page_size = 10 page_size_query_param = 'page_size' max_page_size = 10000
[ "amrebrahem226@gmail.com" ]
amrebrahem226@gmail.com
1ee7bc3cf79a503523f42dcbf8538f749df6872e
ae646229187ab11607e4889e1cf0e380b26fae5c
/test_joyce_code/data/buildSupplementDict.py
00c80ec76f7df5ab019c7877bde0a4d4d5e6aed3
[]
no_license
aschein/tensor_analysis
cb60caf56713cfb7191c46d3cc20c32ea591d382
155754be7fa8cfb97432997cb66aa37b1a7b582b
refs/heads/master
2021-01-17T07:44:00.657311
2014-09-11T20:45:14
2014-09-11T20:45:14
34,183,143
1
2
null
2018-08-25T20:15:18
2015-04-18T21:19:08
Python
UTF-8
Python
false
false
1,680
py
''' Scrape a list of supplements and herbs ''' import urllib2 from bs4 import BeautifulSoup import json import string def scrapeNIH(): """ Function to scrape MedlinePlus Herbs & Supplements Page: http://www.nlm.nih.gov/medlineplus/druginfo/herb_All.html """ supplements = [] PAGE_URL = "http://www.nlm.nih.gov/me...
[ "robchen401@gmail.com" ]
robchen401@gmail.com
fff06f4add7041f373fa5d4e1126cde49020c91b
933f2a9f155b2a4f9746bf2020d1b828bfe49e81
/面向对象编程/day1/__init__.py
fef6889ac4b4519d0d8df9ec966f87b8ff5b113e
[]
no_license
WuAlin0327/python3-notes
d65ffb2b87c8bb23d481ced100d17cda97aef698
1d0d66900f6c4b667b3b84b1063f24ee7823e1bb
refs/heads/master
2020-03-26T04:49:34.937700
2018-12-31T11:12:58
2018-12-31T11:12:58
144,524,404
2
0
null
null
null
null
UTF-8
Python
false
false
707
py
class LuffyStudent: school = 'luffycity' #数据属性 def __init__(self,name,sex,age):# __init__方法用来对象定制对象独有的特征 self.Name = name self.Sex = sex self.Age = age def learn(self):# 函数属性 print('is learing') def eat(self): print('is eating') # 后产生的对象 stu1 = LuffyStudent('wualin','man',29)#LuffyStudent.__init__(stu1...
[ "1032298871@qq.com" ]
1032298871@qq.com
b16288bd80014d9349042292618ccd0a8980cd5e
bd0fe4df0e442b02add84ae12f932a0e5511b2f5
/product/context_processors.py
6f296e1c0f3b727473691d21b4b4eea8a67bc7b1
[]
no_license
yeboahd24/Simple-Ecommerce
a1bdae28ec192f2f80ee1ef615dd614e3fd4aca7
0cabae9f968da7d176748b0cb4feb5b7e7b9e9ab
refs/heads/main
2023-08-02T01:01:41.791169
2021-09-30T20:06:35
2021-09-30T20:06:35
374,789,214
1
0
null
null
null
null
UTF-8
Python
false
false
150
py
from product.models import Category def menu_categories(request): categories = Category.objects.all() return {'menu_categories': categories}
[ "yeboahd24@gmail.com" ]
yeboahd24@gmail.com
a3eafbc37dcd3a3bdd09cd7591251894aafe9927
1eefb6b82b8e8aac088da9d6e9ff40d235885b5c
/misc/local_occu_to_world_map.py
8a71f32b768b3de9a9145541450815efe746f9af
[ "Apache-2.0" ]
permissive
danielchandg/ROAR
be513500ba9a44676ed75188933e45512c7f5bfc
a661fbf42cf72c2a8c24ec89a0fb84e77e6af561
refs/heads/main
2023-03-28T16:09:44.514515
2021-03-31T22:20:11
2021-03-31T22:20:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,785
py
from pathlib import Path import numpy as np import cv2 import glob import os from scipy import sparse def load_meta_data(f_path: Path) -> np.ndarray: assert f_path.exists(), f"{f_path} does not exist" return np.load(f_path.as_posix()) def create_global_occu_map(meta_data: np.ndarray, local_occu_map_dir_path...
[ "wuxiaohua1011@berkeley.edu" ]
wuxiaohua1011@berkeley.edu
db1befcc09293bbdb4053444eb972c6ea37f890f
b87f66b13293782321e20c39aebc05defd8d4b48
/convert/h52txt.py
a546ad8345b9bdc9034fc1027919ae1440a430dc
[]
no_license
m-elhussieny/code
5eae020932d935e4d724c2f3d16126a0d42ebf04
5466f5858dbd2f1f082fa0d7417b57c8fb068fad
refs/heads/master
2021-06-13T18:47:08.700053
2016-11-01T05:51:06
2016-11-01T05:51:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
510
py
""" Convert 2D array HDF5 files to raw ASCII format. Fernando Paolo <fpaolo@ucsd.edu> January 1, 2010 """ import numpy as np import tables as tb import os import sys files = sys.argv[1:] if len(files) < 1: print 'usage: python %s infiles.txt' % sys.argv[0] sys.exit() print 'converting files: %d... ' %...
[ "fspaolo@gmail.com" ]
fspaolo@gmail.com
ab72ee0b427d9eb3f188b6eab9a7fa7f2fe882d9
e15653ec81af4e6ee2e46e966bcef3e82ca40337
/examples/fiv.py
adc1c5934881cac06dfedd23ee84c8a897afea31
[]
no_license
ktdreyer/rhcephbugs
fab340619cf16cce2b45200c5a57e9a9087f82a2
72601a61393b3df4dd3ad4f2996cfba3b7f2b086
refs/heads/master
2023-04-27T10:00:58.049310
2023-04-13T20:57:30
2023-04-13T21:06:47
80,675,653
1
0
null
null
null
null
UTF-8
Python
false
false
1,480
py
import re from rhcephbugs.fixed_in_version import FixedInVersion, Build import bugzilla # Pretend these values came from CI: branch = 'ceph-2-rhel-7' build = 'ceph-10.2.5-1.el7cp' # Pretend this bug number came from a library that can parse CI messages for # rhbz ID numbers: ids = [1367539] BZURL = 'partner-bugzilla...
[ "kdreyer@redhat.com" ]
kdreyer@redhat.com
7981bbedcf212c97629525d6fabc949ce97fad7a
10e1c07d665f9304d5ffd7033c64a164ea2a3ad9
/Django_Backend/AuthUser/migrations/0002_auto_20181027_1939.py
a48988b7ec0e123dcbed5c9a9b1da32570d1e24a
[]
no_license
garvitkataria/AI_Hackathon_Server_Code
fba56605b25f4698110ebf92aa21809ebdcec462
1feee4122615bf0d1384889625a62db84c9ddb8b
refs/heads/master
2023-01-11T11:26:00.619674
2019-09-29T06:09:07
2019-09-29T06:09:07
207,013,287
0
0
null
2022-12-31T03:04:05
2019-09-07T19:00:28
Python
UTF-8
Python
false
false
358
py
# Generated by Django 2.1.2 on 2018-10-27 19:39 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('AuthUser', '0001_initial'), ] operations = [ migrations.RenameField( model_name='user', old_name='is_faculty', n...
[ "garvit.k16@iiits.in" ]
garvit.k16@iiits.in
cd452c8ca68141ccb24d86166024badd87b739b3
85a9ffeccb64f6159adbd164ff98edf4ac315e33
/pysnmp/BLUECOAT-SG-AUTHENTICATION-MIB.py
f7db7ffd3aed15935a72a55e6fd0921536dcea27
[ "Apache-2.0" ]
permissive
agustinhenze/mibs.snmplabs.com
5d7d5d4da84424c5f5a1ed2752f5043ae00019fb
1fc5c07860542b89212f4c8ab807057d9a9206c7
refs/heads/master
2020-12-26T12:41:41.132395
2019-08-16T15:51:41
2019-08-16T15:53:57
237,512,469
0
0
Apache-2.0
2020-01-31T20:41:36
2020-01-31T20:41:35
null
UTF-8
Python
false
false
16,245
py
# # PySNMP MIB module BLUECOAT-SG-AUTHENTICATION-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/BLUECOAT-SG-AUTHENTICATION-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 17:22:36 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python ...
[ "dcwangmit01@gmail.com" ]
dcwangmit01@gmail.com
664956ece2799c6d70ff0cd93d28d24230d21daa
afe5c625d818a85598785b43089b65ebf950cb15
/template_lib/examples/test_graphviz.py
90c7ba54ab8c3b08038a44ab62f903b40e416cb1
[]
no_license
weroks/Omni-GAN-DGP
52039dafa041bd977debba69c1a1d30094e8bfcc
d85898d0634c63f3176a21e3e398aea0a88f2634
refs/heads/main
2023-08-20T06:33:18.307812
2021-10-28T14:17:00
2021-10-28T14:17:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,942
py
import os import sys import unittest import argparse from template_lib.examples import test_bash from template_lib import utils class TestingGraphviz(unittest.TestCase): def test_hello(self): """ """ if 'CUDA_VISIBLE_DEVICES' not in os.environ: os.environ['CUDA_VISIBLE_DEVICES'] = '0' if 'P...
[ "zhoupengcv@sjtu.edu.cn" ]
zhoupengcv@sjtu.edu.cn
4b3e7223a2519962a38b27c71678023ccb425d4a
d02508f5ebbbdb4ba939ba830a8e8d9abc69774a
/Implementation/beautifulTriplets.py
6d68d2dc8232b8c956171e12e015bb5b1dc96efe
[]
no_license
sameersaini/hackerank
e30c6270aaa0e288fa8b25392819509849cdabad
3e66f89e02ade703715237722eda2fa2b135bb79
refs/heads/master
2021-06-12T09:24:15.266218
2019-10-18T02:22:00
2019-10-18T02:22:00
31,360,776
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
#!/bin/python3 import os # Complete the beautifulTriplets function below. def beautifulTriplets(d, arr): return len([1 for number in arr if number + d in arr and number + 2*d in arr]) if __name__ == '__main__': fptr = open(os.environ['OUTPUT_PATH'], 'w') nd = input().split() n = int(nd[0]) d =...
[ "sameersaini40@gmail.com" ]
sameersaini40@gmail.com
bda379d481f9d5aa07a6d4fcb8d7ab28d72843c6
a2b20597759990445081057d35d113434cfcf970
/stubs/typeshed/typeshed/stdlib/multiprocessing/queues.pyi
7ba17dcfbe0583d4395d2ede1a5f005137d3083b
[ "MIT", "Apache-2.0" ]
permissive
facebook/pyre-check
34059599c02b65605c574f13555229f3b931fd4e
fe8ccedc572cc1faa1fd01e9138f65e982875002
refs/heads/main
2023-09-03T19:10:11.587028
2023-09-02T07:40:35
2023-09-02T07:40:35
110,274,488
6,703
575
MIT
2023-09-13T17:02:32
2017-11-10T17:31:36
OCaml
UTF-8
Python
false
false
1,238
pyi
import queue import sys from typing import Any, Generic, TypeVar if sys.version_info >= (3, 9): from types import GenericAlias __all__ = ["Queue", "SimpleQueue", "JoinableQueue"] _T = TypeVar("_T") class Queue(queue.Queue[_T]): # FIXME: `ctx` is a circular dependency and it's not actually optional. # It...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
ad4f84c5b22032880bc78e204e2fddfdeba69aec
bec2ccc5f19575518649932fb3f2853adf54c11e
/blog/static_file/static_file/static_file/myapp/templatetags/myfilter.py
6f40debee780c4c407a83b4bc88233fa4d5bc915
[]
no_license
liuxinqiqi/djangosite
08831c63c5fa5a4c8a14dd4bf8beed62138eb58a
9a1b425cbdb73feb34d7fb1f60c3f2923e262d64
refs/heads/master
2022-12-13T11:00:07.039593
2017-08-12T08:40:03
2017-08-12T08:40:03
100,082,409
0
0
null
2022-12-08T00:43:01
2017-08-12T01:55:14
JavaScript
UTF-8
Python
false
false
388
py
# coding=utf-8 from django import template register = template.Library() # 定义一个将日期中的月份转换为大写的过滤器,如8转换为八 # @register.filter def month_to_upper(key): return ['一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二'][key.month-1] # 注册过滤器 register.filter('month_to_upper', month_to_upper)
[ "XinQi_Liu@outlook.com" ]
XinQi_Liu@outlook.com
3e8113768b6f7f970999769e54013464cfb82d4d
42a0760a051935b2e765d57c445235221a28f49e
/problemSets/top75/383.py
46c7213de37ce6088699552420409617f18ed531
[]
no_license
Th3Lourde/l33tcode
3bea3a3e7c633a2d5a36f7d76d5d776d275d8ee3
eb6b11f97a022b66716cb3890cc56c58f62e8aa4
refs/heads/master
2022-12-22T19:05:04.384645
2022-12-18T19:38:46
2022-12-18T19:38:46
232,450,369
0
0
null
null
null
null
UTF-8
Python
false
false
454
py
class Solution: def canConstruct(self, ransomNote, magazine): d = {} for chr in magazine: if chr in d: d[chr] += 1 else: d[chr] = 1 for chr in ransomNote: if chr in d: if d[chr] > 0: d[c...
[ "th3lourde@Eli.local" ]
th3lourde@Eli.local
078be585911c8382c5c3cf1f080eb2f8af4f1d8c
06ffc855b6a739b384f78241a3a368b4f76b6885
/onsim/folder_structure.py
6cb502268f3f07eab3fdda3d23808b0ecb8c8a1b
[]
no_license
hasanmoudud/darcoda
c719a7244832cc2698478bd41d088ca4e55ba165
413ad9475920baa256562f7c94bfa4bf0c6091d6
refs/heads/master
2021-01-17T07:28:38.554719
2015-03-29T02:48:47
2015-03-29T02:48:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
../bin/folder_structure.py
[ "psteger@phys.ethz.ch" ]
psteger@phys.ethz.ch
6e8233795f475c68be39cde2527a85c241ecb3fa
b9b15de6abaf44d14f94cacbc7a0df4c66ea7c83
/43.py
51e58b3b564b7f82849a4241918883925cabe040
[]
no_license
humachine/pe
96ded174431031e4ca7c9c83401495148257b903
01d8b33174f4e100838d040c1bd401e066bb768a
refs/heads/master
2020-04-06T06:23:54.672102
2015-07-28T22:40:10
2015-07-28T22:40:10
38,980,407
0
0
null
null
null
null
UTF-8
Python
false
false
257
py
import itertools N=['0','1','3','4','6'] a=list(itertools.permutations(N)) total=0 for i in a: j=''.join(i) if j[0]=='0': continue if int(j[3]) % 2 !=0: continue if int(j[2:5]) % 3 !=0: continue if int(j[-1]+'57') % 3 !=0: continue print j
[ "swarun@gmail.com" ]
swarun@gmail.com
9d2f30bb06a792619fb6a794b828b783ff70cbed
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2397/60618/320984.py
9a61980142d5804459be4101d887d5bb42b2f36c
[]
no_license
AdamZhouSE/pythonHomework
a25c120b03a158d60aaa9fdc5fb203b1bb377a19
ffc5606817a666aa6241cfab27364326f5c066ff
refs/heads/master
2022-11-24T08:05:22.122011
2020-07-28T16:21:24
2020-07-28T16:21:24
259,576,640
2
1
null
null
null
null
UTF-8
Python
false
false
246
py
a=int(input()) b=int(input()) if a==3 and b==19: print(17) elif a==7: print(15) elif a==12: print(15) elif a==3: print(32) elif a==1: print(4) elif a==15: print(704) elif a==32: print(10) else: print(a) #print(17)
[ "1069583789@qq.com" ]
1069583789@qq.com
c9ac7a3e3c7954ce57d886098b7c8e74f60df27b
3d9eb7e24090adff31862a3e6614217d76ff60f7
/testing/sample.py
3ce9262b13f8890eafc45edb9d1db51e909e5cf8
[]
no_license
asvetlov/articles
4ec342d3346b77897b4d2ecf3c1eb170859edabb
e9a8d35e755221a0b22c8a99b8680e5ef8baa80f
refs/heads/master
2016-09-08T01:59:11.800396
2015-06-03T08:46:54
2015-06-03T08:46:54
19,406,486
4
0
null
null
null
null
UTF-8
Python
false
false
1,274
py
from datetime import datetime, timedelta class Billing(object): now = datetime.now def __init__(self): self.timestamp = self.now() def can_show(self): return self.now() - self.timestamp < timedelta(seconds=5) #### Test import unittest import mocker class TestBillling(unittest.TestC...
[ "andrew.svetlov@gmail.com" ]
andrew.svetlov@gmail.com
3c47065803c2c70d16235f16edd5bb25405c0b57
1e12a6f1957dc47c50845a39d626ea9a1a541268
/backend/articles/urls.py
82913153c2c86d190d1335b0ed5e486cb3d0834f
[]
no_license
sungguenja/fincat-findog
6e7d276bcd8853300916987f70b0d159ba5cff4d
c62d17f64f4f1e8d86a982feb4842d3729b587c5
refs/heads/master
2023-01-03T02:11:56.612927
2020-10-24T16:47:48
2020-10-24T16:47:48
306,927,382
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
from django.urls import path from . import views app_name = 'articles' urlpatterns = [ path('city/', views.city_list, name='city'), path('borough/', views.borough_list, name='borough'), path('species/<int:animal_pk>/', views.species_list, name='species'), path('animal/', views.animal_list, name='anim...
[ "59605197+sungguenja@users.noreply.github.com" ]
59605197+sungguenja@users.noreply.github.com
933927f9173118bff7796bb05e32536c956cf44d
b0bd3342c244ebf30ae5ab29daa078f2b39010f7
/EmbedModel.py
e4d22900e04f20f54fcf83aa983ee4d2d26e26bb
[]
no_license
naiqili/itime_learning
30a8af7f1234277162ccdd4c69cd9f9a4a7ab412
d9b191bb32a7e49cb99443d7dccea5bb392aee90
refs/heads/master
2021-06-19T04:54:06.239320
2017-06-26T13:35:39
2017-06-26T13:35:39
92,792,780
0
0
null
null
null
null
UTF-8
Python
false
false
7,151
py
import tensorflow as tf import numpy as np class EmbedModel(): def __init__(self, conf): self.conf = conf self.uif_mat = np.load(conf.uif_path) self.embed_user_mat = np.load("%sembed_user.npy" % conf.embedPath) self.embed_item_mat = np.load("%sembed_item.npy" % conf.embedPath) ...
[ "naiqil@student.unimelb.edu.au" ]
naiqil@student.unimelb.edu.au
e29b0eccefaf4aa55fcb3248506c534cda082e6c
0a0bf0c955e98ffebf0bee81496291e984366887
/maxinai/letters/letters_service_adv.py
b5cdf1e213ec9d84db3b0976a28c42d43b42af98
[]
no_license
MaxinAI/school-of-ai
11ee65c935638b8bb9f396f25c943bd6e8e7fc0f
3c8f11ae6cb61df186d4dfa30fa5aba774bfbeba
refs/heads/master
2023-01-22T17:24:33.208956
2023-01-20T14:49:40
2023-01-20T14:49:40
212,200,415
52
77
null
2020-04-10T07:15:06
2019-10-01T21:11:52
Jupyter Notebook
UTF-8
Python
false
false
3,667
py
""" Created on Nov 15, 2017 Service for model interface @author: Levan Tsinadze """ import logging import numpy as np import PIL import torch from flask import Flask, json, render_template, request from maxinai.letters.image_reader import request_file from maxinai.letters.service_config import configure from torch ...
[ "levantsinadze@gmail.com" ]
levantsinadze@gmail.com
907cf454e454edb4d7c50fb9a5aaab80dda21d54
c3c7398ec14865ea34c7f03aa5e012ddb19f0d5b
/app/forms.py
63ce71ce50793d33f24d2f80063d2d67c44f9eda
[]
no_license
mzm5466/blog
0e022f0ce85a0079cb72ffd9f472c7684f94d9fb
13625fe7028a0df11a30d7de32751e34d681de00
refs/heads/master
2021-01-23T16:51:58.296591
2018-11-17T06:05:50
2018-11-17T06:05:50
102,748,039
0
0
null
2018-11-12T23:28:57
2017-09-07T14:36:32
JavaScript
UTF-8
Python
false
false
195
py
#!/usr/bin/python #-*- coding:utf-8 -*- from django.forms import ModelForm from app.models import Moment class MomentForm(ModelForm): class Meta: model=Moment fields='__all__'
[ "you@example.com" ]
you@example.com
b730e53bfea1689a32bc9d152957504af28beb0c
e24a007cba8cc63dbc29699e2651fbf27b3e7644
/알고리즘4일차_0206/당근.py
259c6bd059c2a66f2002ab4aa9f53f073c8bdd9a
[]
no_license
doyeon-kim-93/algorithm
14df56481a727651a772cbaed7c7dec90fe38b14
a706e55a6c5933f4901de5832cb0066cdb4665c3
refs/heads/master
2023-04-26T17:40:39.598842
2021-05-18T14:27:56
2021-05-18T14:27:56
241,492,095
0
0
null
null
null
null
UTF-8
Python
false
false
420
py
T = int(input()) for tc in range(1,T+1): N = int(input()) carrot = list(map(int,input().split())) result = [] for i in range(N-1): sum1 = 0 sum2 = 0 for j in range(i+1): sum1 += carrot[j] for z in range(i+1,N): sum2 += carrot[z] result.appe...
[ "kdymay93@gmail.com" ]
kdymay93@gmail.com
761730fd57eab2fb14f011bc79f7b6a26af7c9d4
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/_exercises/templates/_algorithms_challenges/leetcode/leetCode/DP/SubarrayProductLessThanK.py
f0441c2ed62e7ca890c7f6b1bd76bfb2d20a4f91
[]
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
1,645
py
""" Your are given an array of positive integers nums. Count and print the number of (contiguous) subarrays where the product of all the elements in the subarray is less than k. Example 1: Input: nums = [10, 5, 2, 6], k = 100 Output: 8 Explanation: The 8 subarrays that have product less than 100 are: [10], [5], [2], ...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
6c4889f32d0f490fc3cecc4bc39dd6ac40054ac6
7b2dc269c3766deadb13415284d9848409d850c5
/tests/test_load_arc.py
86bb68bebcee5e99f44c5ef43586c441676d39cc
[]
no_license
Joaggi/demande
8c3f32125cdf6377c9bd8a5b33bf162f8a5ec5cc
289b8237d8e872e067dd4f6ab2297affe3903f4e
refs/heads/main
2023-04-18T20:47:21.769183
2023-03-08T21:36:08
2023-03-08T21:36:08
611,455,062
1
0
null
null
null
null
UTF-8
Python
false
false
465
py
import pytest from neuraldensityestimation.load_arc import load_arc import matplotlib.pylab as plt def test_load_arc(): X_train, X_train_density, X_test, X_test_density = load_arc(1000, 1000, 2) plt.axes(frameon = 0) plt.grid() plt.scatter(X_test[:,0], X_test[:,1], c = X_test_density , alpha = .2, s...
[ "joaggi@gmail.com" ]
joaggi@gmail.com
ad2247d3109cfc819cd987f6f07106d9d8927c6e
d68cb993f5011ac2f6fe6be298a14ba370d4a661
/cleanrl/experiments/docker/aws/setup.py
2cc53b8fb7517ca8775cc0a3d909a4b6c795e725
[ "MIT" ]
permissive
lydia99992/cleanrl
b6cb196a11730e89068a179d27ec99ccc85e9be1
418bfc01fe69712c5b617d49d810a1df7f4f0c14
refs/heads/master
2022-10-21T08:30:00.561062
2020-06-15T18:18:16
2020-06-15T18:18:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,267
py
# pip install boto3 import boto3 import re client = boto3.client('batch') print("creating job queue") response = client.create_job_queue( jobQueueName='cleanrl', state='ENABLED', priority=100, computeEnvironmentOrder=[ { 'order': 100, 'computeEnvironment': 'cleanrl' ...
[ "costa.huang@outlook.com" ]
costa.huang@outlook.com
8f44127439c751b32545cc6501eb7ad41de5abf3
81407be1385564308db7193634a2bb050b4f822e
/the-python-standard-library-by-example/string/string_template_missing.py
35e360476f9a07060b26218ba1e06bb57963651a
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
300
py
# -*- coding: utf-8 -*- import string values = {'var': 'foo'} t = string.Template("$var is here but $missing is not provided") try: print('substitute() :', t.substitute(values)) except KeyError as err: print('ERROR:', str(err)) print('safe_substitute():', t.safe_substitute(values))
[ "350840291@qq.com" ]
350840291@qq.com
e08743e4fc371d5d885083bc88c8b5d9c32be2b2
e916a80eba284b399f9bff3a1f4c676502946059
/binary_tree_diameter.py
c12f5b5818703dae60f54443b7d824dbf603b0a7
[]
no_license
valmsmith39a/u-data-structures-algorithms
109e7d9345bbf19bfd5896bb72afb0020f67c39f
26c2ce76f46fe43f8ea40314b69b41784c461c40
refs/heads/master
2020-12-12T20:25:18.490231
2020-05-24T23:22:50
2020-05-24T23:22:50
234,222,105
0
0
null
null
null
null
UTF-8
Python
false
false
2,234
py
from queue import Queue def diameter_of_binary_tree(root): return diameter_of_binary_tree_func(root)[1] def diameter_of_binary_tree_func(root): if root is None: return 0, 0 left_height, left_diameter = diameter_of_binary_tree_func(root.left) right_height, right_diameter = diameter_of_bina...
[ "valmsmith39a@gmail.com" ]
valmsmith39a@gmail.com
e86658d7feac073ee6a8dd2fa49c068b8e6e1086
a617b546d29b144b6e951cefbfa41a72e9b38ddc
/data/add_stop.py
ccb700eca2a71c9224b5c36950d4d52886071166
[]
no_license
thangbk2209/natural_language_understanding
5a5840662b2deb3361a44f83861b75d157d7f587
62f59c733996dd75c532d103f2dd1167d9a59c55
refs/heads/master
2020-03-25T22:26:47.462682
2018-10-18T02:31:29
2018-10-18T02:31:29
144,223,784
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
from nltk.tokenize import sent_tokenize, word_tokenize data_file = open('text_classifier_ver7_fix.txt','w',encoding="utf8") with open ('text_classifier_ver7.txt',encoding = 'utf-8') as corpus_file: lines = corpus_file.readlines() for line in lines: # token_file.write(words[j] + '\t' + 'O' + '\n') ...
[ "thangbk2209@gmail.com" ]
thangbk2209@gmail.com
9b2da78b192e59efaa38b4e27b1e24f0b2594f54
caaf1b0754db1e676c37a6f1e58f19183754e654
/sdk/network/azure-mgmt-network/generated_samples/configuration_policy_group_put.py
ab6749bf9e7cf800fcf920523b217ca684a8f8cf
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
rdomenzain/azure-sdk-for-python
45dfb39121a0abda048c22e7309733a56259f525
58984255aeb904346b6958c5ba742749a2cc7d1b
refs/heads/master
2023-07-07T06:53:12.967120
2023-07-04T16:27:37
2023-07-04T16:27:37
258,050,134
0
0
MIT
2020-04-23T00:12:14
2020-04-23T00:12:13
null
UTF-8
Python
false
false
2,111
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
rdomenzain.noreply@github.com
a7d07d20476888591eaba5d53db73c0733db2002
0a2cc497665f2a14460577f129405f6e4f793791
/sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_internal/__init__.py
dbc467573af1172194c53285d70e835a00dbab30
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
hivyas/azure-sdk-for-python
112158aa9e1dd6e30cf6b3dde19f5db6ea2a577b
8b3258fa45f5dc25236c22ad950e48aa4e1c181c
refs/heads/master
2023-06-17T12:01:26.392186
2021-05-18T19:56:01
2021-05-18T19:56:01
313,761,277
1
1
MIT
2020-12-02T17:48:22
2020-11-17T22:42:00
Python
UTF-8
Python
false
false
2,987
py
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from collections import namedtuple from six.moves.urllib_parse import urlparse from .challenge_auth_policy import ChallengeAuthPolicy, ChallengeAuthPolicyBase from .cl...
[ "noreply@github.com" ]
hivyas.noreply@github.com
421356549a8bf9d1cd5079fe809a2e1e3314f3ec
4626631c5e68a13ed4dde041212da39d344d74d9
/examples/scripts/get-managed-sans.py
561948b1d35765367c528692004cd57cd6306cb1
[ "MIT" ]
permissive
xod442/python-hpOneView
a1482677e3252dabf1e14f9349c119428331089f
b78fb81cba34992bb84ed3814aae04ce05ef913f
refs/heads/master
2021-01-18T05:53:42.466348
2015-08-11T15:59:16
2015-08-11T15:59:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,389
py
#!/usr/bin/env python3 ### # (C) Copyright (2012-2015) Hewlett Packard Enterprise Development LP # # 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 limit...
[ "troy@debdev.org" ]
troy@debdev.org
fc81cd518d3585626eb7564962acc4f1ac8cb8b3
4a216ef92a3acca38e8705a67642f1bf2037b571
/benAnadolu_con/makale/migrations/0005_auto_20210813_2255.py
57daf3967650a65a2b7d519ab893b8b5cdbc4fd3
[]
no_license
US3B3/Django-Books-Template
be2bfe53bfc01633a1e087d5852e76720905e406
82f4923174d36ffd3f34728c318f1e5ac74973da
refs/heads/main
2023-08-15T04:57:06.742671
2021-09-19T02:58:17
2021-09-19T02:58:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
# Generated by Django 3.2.3 on 2021-08-13 22:55 import ckeditor_uploader.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('makale', '0004_auto_20210811_1600'), ] operations = [ migrations.AddField( model_name='kategori'...
[ "=" ]
=
8f54c3fa3599e855b9119cf3cb6e475466c83ce9
50d331aec35c1429e0d9b68822623ee9a45b251f
/IPTVPlayer/iptvdm/busyboxdownloader.py
cb2ed44c023f836678bf24c6d483ddaac26cacb0
[]
no_license
openmb/iptvplayer
cd00c693adcac426214cc45d7ae5c97b9d7cbe91
bbc3f5b6f445f83639cd1ebb5992dc737bc9023d
refs/heads/master
2021-01-17T09:58:09.202306
2017-03-26T18:19:10
2017-03-26T18:19:10
83,997,131
2
1
null
null
null
null
UTF-8
Python
false
false
4,272
py
# -*- coding: utf-8 -*- # # IPTV download manager API # # $Id$ # # ################################################### # LOCAL import ################################################### from Plugins.Extensions.IPTVPlayer.tools.iptvtools import printDBG, printExc, iptv_system, eConnectCallback, E2PrioFix from Plugins....
[ "samsamsam@o2.pl" ]
samsamsam@o2.pl
ecaf3bcf4fede2cf5d43624547555f1737b0269c
a41e1498e3c080f47abd8e8e57157548df3ebbf1
/pandas/tests/indexes/ranges/test_join.py
682b5c8def9ff0e00b533610c1d45a093e7d7a8d
[ "BSD-3-Clause" ]
permissive
pandas-dev/pandas
e7e639454a298bebc272622e66faa9829ea393bb
c7325d7e7e77ecb4a4e57b48bc25265277c75712
refs/heads/main
2023-09-01T12:42:07.927176
2023-09-01T11:14:10
2023-09-01T11:14:10
858,127
36,166
18,728
BSD-3-Clause
2023-09-14T21:18:41
2010-08-24T01:37:33
Python
UTF-8
Python
false
false
6,268
py
import numpy as np from pandas import ( Index, RangeIndex, ) import pandas._testing as tm class TestJoin: def test_join_outer(self): # join with Index[int64] index = RangeIndex(start=0, stop=20, step=2) other = Index(np.arange(25, 14, -1, dtype=np.int64)) res, lidx, ridx ...
[ "noreply@github.com" ]
pandas-dev.noreply@github.com
3d9d812cba98b8dd9aa337aba826cd5d44d24e30
813a8e7cc7dcd8d9b07e2c0c45184507d6760d59
/materials/carbon_steel.py
9117b2fbfa7dff3a8a33da71627cd76c8c20a677
[ "MIT" ]
permissive
jultou-raa/materials
de6780e7a2a4ccdccb66a5835631105546a16428
b5df21545c9fe0f115d9683c5b253b982c35e1ad
refs/heads/master
2021-08-24T00:50:11.970866
2017-12-07T09:52:33
2017-12-07T09:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
546
py
# -*- coding: utf-8 -*- # from .helpers import mu0 # [1] https://en.wikipedia.org/wiki/Carbon_steel # [2] # https://en.wikipedia.org/wiki/Permeability_(electromagnetism)#Values_for_some_common_materials # [3] https://en.wikipedia.org/wiki/List_of_thermal_conductivities # [4] # https://en.wikipedia.org/wiki/Heat_capaci...
[ "nico.schloemer@gmail.com" ]
nico.schloemer@gmail.com
fbcd624cd08dbd69701cdefb2d86373655f136df
ae8254fdc04306e90df7e0359460e120498eabb5
/src/Pipelines/TrackML_Example/LightningModules/GNN/Models/split_checkpoint_agnn.py
33d51d08a7cdb427231670a4de5c2699a357cc7a
[]
no_license
vhewes/Tracking-ML-Exa.TrkX
23a21578a5275b0fe112a30489e02f19e21c7bbe
b8e94a85fc7688acc649693c35069b8d2a8594e0
refs/heads/master
2023-03-07T07:12:24.250885
2021-02-19T01:09:33
2021-02-19T01:09:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,281
py
import torch import torch.nn.functional as F import pytorch_lightning as pl from .checkpoint_agnn import CheckpointedResAGNN class SplitCheckpointedResAGNN(CheckpointedResAGNN): def __init__(self, hparams): super().__init__(hparams) print("Initialised") def training_s...
[ "murnanedaniel@hotmail.com" ]
murnanedaniel@hotmail.com
bef6d6e70e9196ed235a9bfec8ddb7e7233f9915
83624401467510aaf8e69328b0d9915e1cf0c5ce
/frites/conn/__init__.py
3ee1a6f48de9ff32e79460c19a8809375484802e
[ "BSD-3-Clause" ]
permissive
MatthieuGilson/frites
a1f5c128b1f6b59eb7c1ba2a7740dea8eaddeb30
0e1b99f396d5b54b69f7a5cf962679f4afc0e776
refs/heads/master
2023-03-09T17:15:51.841205
2021-02-27T11:11:22
2021-02-27T11:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
978
py
"""Information-based connectivity metrics and utility functions. This submodule contains two types of functions : 1. **Connectivity metrics :** methods to estimate either the undirected or directed connectivity. Some methods are performed within-trials and others across-trials. In the case of within-trials metr...
[ "e.combrisson@gmail.com" ]
e.combrisson@gmail.com
a85bbcba494dcb659ffa55fd6b7a8a7f14703fac
4362dce3e985f307bb131f260ddad1f8ad9d36f8
/Lecture_15/first_ml/main/forms.py
febdc6fc10ec866d4ad277f619854564e9d8f57e
[]
no_license
ishmankotia96/python-django-summer-18
f890489f7b1805e19e78a4e11bb865306f0c17ee
b3f3d2569626b21111468cdc7e93ab4146cb18a3
refs/heads/master
2020-03-24T16:39:37.516434
2018-07-29T17:29:29
2018-07-29T17:29:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
from django import forms class MLForm(forms.Form): input_string = forms.CharField(max_length=100)
[ "jatin.katyal13@gmail.com" ]
jatin.katyal13@gmail.com
671dafe0c0d3faa4bd51fd3ab010fbe69d9911f0
19361e1df45f755c67da3ddc47b6e4ed2cfa079f
/faker/faker_data_generator.py
6b82a6a0c68747bdb864015d715aed85f75a32ce
[]
no_license
WilliamQLiu/python-examples
99fb538191196714ded91f9ac97dec107aa22440
731113038b6574e3ede72cc61921b0aee8e3bafa
refs/heads/master
2023-04-27T02:19:22.626542
2022-10-02T16:44:41
2022-10-02T16:44:41
11,562,476
74
67
null
2023-04-15T13:36:17
2013-07-21T14:03:14
Jupyter Notebook
UTF-8
Python
false
false
4,855
py
""" Requires pip install fake-factory """ # pylint: disable=I0011,C0103,W0142,E1101,C0304 # http://docs.python.org/2/library/xml.etree.elementtree.html # https://pypi.python.org/pypi/fake-factory import xml.etree.ElementTree as ET from faker import Factory if __name__ == '__main__': faker = Factory.create() #...
[ "William.Q.Liu@gmail.com" ]
William.Q.Liu@gmail.com
6b619b3c483cf421f5d62ed91e0103f4bd31ada4
492cfeab952ad8533f3fc3ca7b4267ec31cb8d30
/myapp/celery.py
8d6bb15014cecf1fa9dc2ceb5d6ef6316c4db4ea
[]
no_license
ohahlev/flask-module
b0ebadd32cd1937dffddf3c9e056eccac140e3a7
1ee139a789dd22007adafb0c77cc4595ebcc4c7e
refs/heads/master
2020-09-07T10:39:43.605884
2019-11-10T07:14:58
2019-11-10T07:14:58
220,753,847
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
# myapp/celery.py from flask_appfactory.celery import celeryfactory from .app import create_app celery = celeryfactory(create_app())
[ "ohahlev@gmail.com" ]
ohahlev@gmail.com
a290594538be0325021a941a6df3b199cd21a016
1b19103c7781c31b4042e5404eea46fa90014a70
/cenit_google_proximity_beacon_api_v1beta1/models/config.py
b223ed193d9049c93cdfe58ede68332321064fba
[]
no_license
andhit-r/odoo-integrations
c209797d57320f9e49271967297d3a199bc82ff5
dee7edc4e9cdcc92e2a8a3e9c34fac94921d32c0
refs/heads/8.0
2021-01-12T05:52:26.101701
2016-12-22T03:06:52
2016-12-22T03:06:52
77,223,257
0
1
null
2016-12-23T12:11:08
2016-12-23T12:11:08
null
UTF-8
Python
false
false
2,546
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010, 2014 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "sanchocuba@gmail.com" ]
sanchocuba@gmail.com
8beb7d33ae0a84fb331b4b7dc956f2ce5f95bb1e
6eb8fa32f3d2ccc2aa7196ed702d4cc35c66d597
/Week_01/0001.py
581f1e99a5ad39046d1f43428ca77e27ca3e39a1
[]
no_license
mach8686devops/AlgorithmCHUNZHAO
a7490c684fc89504e9c2a633a18ea250262b6dcc
497e833b3843ed5222d3b2fc96c00fbc4b6e8550
refs/heads/main
2023-03-25T03:13:45.313989
2021-03-12T12:38:24
2021-03-12T12:38:24
330,971,263
0
0
null
2021-01-19T12:23:49
2021-01-19T12:23:48
null
UTF-8
Python
false
false
398
py
# 两数之和 # 哈希表 class Solution: def twoSum(self, nums, target): mapping = {} for i, item in enumerate(nums): if (target - item) in mapping: return [mapping[target - item], i] mapping[item] = i # 注意是否有一定能够找到的条件 # return [-1, -1] s = Solution()...
[ "zhangjohn202@gmail.com" ]
zhangjohn202@gmail.com