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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
287919d9d917521c060f36cad6e6a8d764a13d3b | b5a9d42f7ea5e26cd82b3be2b26c324d5da79ba1 | /tensorflow/python/util/dispatch_test.py | d57a980d9a3c0a102a073a315e770b888eb16b5b | [
"Apache-2.0"
] | permissive | uve/tensorflow | e48cb29f39ed24ee27e81afd1687960682e1fbef | e08079463bf43e5963acc41da1f57e95603f8080 | refs/heads/master | 2020-11-29T11:30:40.391232 | 2020-01-11T13:43:10 | 2020-01-11T13:43:10 | 230,088,347 | 0 | 0 | Apache-2.0 | 2019-12-25T10:49:15 | 2019-12-25T10:49:14 | null | UTF-8 | Python | false | false | 5,285 | py | # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by... | [
"v-grniki@microsoft.com"
] | v-grniki@microsoft.com |
b4cfd589f9a33ea94d548b290b5ad92cab41c430 | 9dc1c85e7d86d29400af79125e9cd89a82a9b8ab | /su_django/su_django/settings.py | 70e3f66d9e3bf1dadbe6287aa4005594eb96c938 | [
"MIT"
] | permissive | borko81/simple_django | e284ff8f79b3e708b4903ba0b774e3a480de9190 | 9dbd2d848cbf0ff0c58e93471853c5b21c769758 | refs/heads/master | 2023-07-14T01:25:13.294095 | 2021-08-16T15:48:00 | 2021-08-16T15:48:00 | 349,369,208 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,242 | py | import os
from pathlib import Path
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
# SECURITY WARNING: keep the se... | [
"bstoilov81@gmail.com"
] | bstoilov81@gmail.com |
361eb0dd8dd67f869ecb5078de8a4210e4959996 | 115f786a22f928e290753122dd4fdc95280263ca | /env/bin/flask | 6c02818ddf8aa347bf83df4091cdaec6968a4f1c | [] | no_license | land-pack/flask-wordcounter | c6ddd977d247e8c6781c6916ec96fc6ded1f2032 | d81f8045b01439297b46d3f564457194d332f336 | refs/heads/master | 2021-01-17T18:21:26.314704 | 2016-06-25T03:27:44 | 2016-06-25T03:27:44 | 61,924,214 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 256 | #!/Users/landpack/ak/realpython/flask-by-example/env/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from flask.cli import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"landpack@sina.com"
] | landpack@sina.com | |
fe3c7db78c54e5352b73bf103a3df636a50cdaaa | 483f45b1d241d318c06842f250719e73b8c4dfe7 | /Ex084.py | 71a391cde9885a5f79bb5b240a9d890998173737 | [] | no_license | andersondev96/Curso-em-Video-Python | 510a82bfa65830449374eb5e2b81af404120689e | 76449e6a0ba3624d2c5643268499dea3fccfa5d1 | refs/heads/master | 2022-10-19T02:07:10.967713 | 2020-06-14T23:57:02 | 2020-06-14T23:57:02 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 989 | py | """
Faça um programa que leia nome e peso de várias pessoas,
guardando tudo em uma lista. No final, mostre:
A) Quantas pessoas foram cadastradas.
B) Uma listagem com as pessoas mais pesadas.
C) Uma listagem com as pessoas mais leves.
"""
lista = list()
dados = list()
tot = 0
mai = men = 0
while True:
dados.append(... | [
"andersonfferreira13@hotmail.com"
] | andersonfferreira13@hotmail.com |
8e62cae88c31bff477b2aa066abce0303c029d80 | 3eb99709809a493c46a79171ef9774aa4261b59d | /脚本/llianli/cf_app_flottery_client_data.py | 62454ee49a8036d8b5a611fcd32f37f9b13c3625 | [] | no_license | bingwin/tencent | c831a5b344f597a06c7a7b179d4f67d668198c90 | ea5dc5ff398d85cfdf4df056dc8b4064e66fb5fb | refs/heads/master | 2020-07-28T21:44:00.281933 | 2016-05-28T03:21:31 | 2016-05-28T03:21:31 | 209,548,176 | 1 | 0 | null | 2019-09-19T12:29:21 | 2019-09-19T12:29:21 | null | UTF-8 | Python | false | false | 3,904 | py | #!/usr/bin/env python
#-*- coding: utf-8 -*-
# ******************************************************************************
# 程序名称: cf_app_flottery_client_data.py
# 功能描述: 掌上穿越火线抽奖功能客户端相关事件统计
# 输入参数: yyyymmdd 例如:20140113
# 目标表名: ieg_qt_community_app.tb_cf_app_flottery_client_click
# 数据源表: teg_mt... | [
"996346098@qq.com"
] | 996346098@qq.com |
5cc2f23e86060b74e96ad7acccf967a3ea162715 | c839961aeab22795200d9edef9ba043fe42eeb9c | /data/script651.py | d647310d5d7941d48e5edf0ebbbda6ae13549b6b | [] | no_license | StevenLOL/kaggleScape | ad2bb1e2ed31794f1ae3c4310713ead1482ffd52 | 18bede8420ab8d2e4e7c1eaf6f63280e20cccb97 | refs/heads/master | 2020-03-17T05:12:13.459603 | 2018-05-02T19:35:55 | 2018-05-02T19:35:55 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 34,951 | py |
# coding: utf-8
# In this edited version of my kernel, I have included some new features and some others are under progress. Some have been influenced from [THIS KERNEL](https://www.kaggle.com/sudosudoohio/stratified-kfold-xgboost-eda-tutorial-0-281).
#
# # What lies ahead of you?
#
# * **Data Exploration**
# ... | [
"adithyagirish@berkeley.edu"
] | adithyagirish@berkeley.edu |
9f25304223889a65bb1ac1016b8110a748efbb9d | 4438b60b7095d56c7fc2ee8396ea98ec620f7f51 | /etro.py | 9f2571163bab0f826fcb1b045c10e654888bf408 | [] | no_license | haizi-zh/firenze | 8a53e49a55f0827f8b0179164ed6c1ea9a3b005d | 1129bfd0df6f9d661b4f01ce514595f1eba784c3 | refs/heads/master | 2021-01-18T15:24:33.495830 | 2013-07-13T15:57:10 | 2013-07-13T15:57:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,946 | py | # coding=utf-8
import json
import string
import re
import common as cm
import geosense as gs
__author__ = 'Zephyre'
db = None
def fetch_continents(data):
result = []
for i in xrange(1, 5):
d = data.copy()
d['url'] = '%s%d/' % (data['url'], i)
result.append(d)
return result
def... | [
"haizi.zh@gmail.com"
] | haizi.zh@gmail.com |
b2851bd4f588b8c3675082d85433d7b02b70f58a | 82dca8287b9cc32599404c402240a177f7dfb9f7 | /venv/bin/sqlformat | b9ae5435c634511caba14ee0aff440ee9ac61801 | [] | no_license | kairat3/homework-tutorial | 8abaf2710a76c042701882cb904ea5cbac75f600 | 2babb6ddbd04fd596b0a5fe83e9b7eb1969c24d9 | refs/heads/master | 2023-05-05T14:34:25.121718 | 2021-06-01T09:40:51 | 2021-06-01T09:40:51 | 372,775,199 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 242 | #!/home/ka/projects/tutorial/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from sqlparse.__main__ import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"jvckmiller@gmail.com"
] | jvckmiller@gmail.com | |
1faf061beb78dad3524eae193c52e3e541f3652e | 28dbe47aba287ed94ef7bba734203736bcc06249 | /.history/dmac_20200624221838.py | 1dd8a319dcdd7456874878e6ce201b25c7df7cbf | [] | no_license | ntung88/Trading_Algorithms | 242fd816b19df95e02e9fcd8c5c91c862d2ede40 | d96488b1754e3751f739d9c3f094a8f8dc54a0a9 | refs/heads/master | 2022-11-19T16:04:07.800344 | 2020-07-17T21:14:10 | 2020-07-17T21:14:10 | 276,239,640 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,599 | py | import yfinance as yf
import numpy as np
from scipy.stats import norm
import pandas as pd
from pandasgui import show
from scipy.optimize import minimize, LinearConstraint
import matplotlib.pyplot as plt
def clean_data(data):
incomplete_idxs = False
for col in data.columns:
incomplete_idxs |= np.isnan(d... | [
"nathantung@Nathans-MacBook-Pro.local"
] | nathantung@Nathans-MacBook-Pro.local |
e7b577c747abdc08c9955fd13104ca6a9f5c9d3c | 15f321878face2af9317363c5f6de1e5ddd9b749 | /solutions_python/Problem_199/1725.py | c78439354107fb7183c695dfd3799280485c6f7d | [] | 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 | 845 | py | INPUT_FILE = 'A-large.in'
OUTPUT_FILE = 'A-large_out.txt'
def solve(f_in):
l = f_in.readline().strip()
lst = l.split(' ')
k = int(lst[1])
pancakesStr = lst[0]
pancakes = 0
nPancakes = len(pancakesStr)
for i in range(nPancakes):
if pancakesStr[i] == '-':
pancakes = pancakes | (1 << (nPancakes - ... | [
"miliar1732@gmail.com"
] | miliar1732@gmail.com |
9c9a840d4942d09bbb6213039764fca57b919091 | ca507259c36a4299666f4c064f25832f5c3f45c1 | /test/test_mosaic_dto.py | f7959f7a562463df95275868b61ee3b8768dc54e | [] | no_license | fullcircle23/symbol-openapi-python-client | ae38a2537d1f2eebca115733119c444b79ec4962 | 3728d30eb1b5085a5a5e991402d180fac8ead68b | refs/heads/master | 2022-04-15T06:20:47.821281 | 2020-04-16T02:39:14 | 2020-04-16T02:39:14 | 254,701,919 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,273 | py | # coding: utf-8
"""
****************************************************************************
Copyright (c) 2016-present,
Jaguar0625, gimre, BloodyRookie, Tech Bureau, Corp. All rights reserved.
This file is part of Catapult.
Catapult is free software: you can redistribute it and/or modify
... | [
"fullcircle2324@gmail.com"
] | fullcircle2324@gmail.com |
e2d5dea60a9718ed889e701aa2ca4e555be2b88d | 6fa7f99d3d3d9b177ef01ebf9a9da4982813b7d4 | /pKyeEDkNqZraqS3rW_18.py | 58da6c5ea31db532d3eaecfa2747e4c6be4dcc37 | [] | no_license | daniel-reich/ubiquitous-fiesta | 26e80f0082f8589e51d359ce7953117a3da7d38c | 9af2700dbe59284f5697e612491499841a6c126f | refs/heads/master | 2023-04-05T06:40:37.328213 | 2021-04-06T20:17:44 | 2021-04-06T20:17:44 | 355,318,759 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 41 | py |
def k_to_k(n, k):
return (k**k == n)
| [
"daniel.reich@danielreichs-MacBook-Pro.local"
] | daniel.reich@danielreichs-MacBook-Pro.local |
c5f19c607da75bed9b9a36a1a5f11b71b04c0f5e | 637bb3f080ff18001a732d9bf607ef962b09c5dd | /AtividadeURI_01/uri_1012_area.py | 8d96cd42ca3bd54dc511638969355f63eba86ad3 | [] | no_license | magnoazneto/IFPI_Algoritmos | 995296fa22445c57981a1fad43e1ef7a8da83e5e | 3b5e79c79b7a1fb7a08206719fd418fba1b39691 | refs/heads/master | 2022-02-27T10:59:17.123895 | 2019-11-17T13:51:35 | 2019-11-17T13:51:35 | 186,868,451 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 469 | py | def main():
entradas = input().split()
A = float(entradas[0])
B = float(entradas[1])
C = float(entradas[2])
tria_retangulo = (A*C) / 2
circulo = 3.14159 * (C**2)
trapezio = ((A+B) * C) / 2
quadrado = B ** 2
retangulo = A * B
print('TRIANGULO: {:.3f}'.format(tria_retangulo))
print('CIRCULO: {:.3f}'.format(cir... | [
"magnoazneto@gmail.com"
] | magnoazneto@gmail.com |
6b25e915fc6c577b588a7392594f156bb81877e5 | 4592d7a83df7c7baeff91e5ef046cde59cf11dd3 | /Python/Python_OOP/debug/debug/urls.py | fdb5d20f9865a49b203e987fda17c210c63f9238 | [] | no_license | gxnews8/CodingDojo | 8136870b2653c6337d418dc03a4754fc66fd8a9e | b81faab167aabd0abad1aecdbf3594d6b43d740d | refs/heads/master | 2021-01-11T08:17:27.539115 | 2017-06-24T20:04:05 | 2017-06-24T20:04:05 | 76,394,057 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 747 | py | """debug URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-base... | [
"gxnews8@gmail.com"
] | gxnews8@gmail.com |
cd01a0671a16b17c6f88a80526d827fcc05fd55a | 52a15d4fabf68bf23a23799312ae40465764908c | /src/changeset/load.py | 56b0f7312eaf95e688e194baaccf8d0d1988df1e | [
"MIT",
"Apache-2.0"
] | permissive | jensl/critic | 2071a1b0600051967323df48f4d3a5656a5d2bb8 | c2d962b909ff7ef2f09bccbeb636333920b3659e | refs/heads/stable/1 | 2022-05-28T03:51:15.108944 | 2018-03-27T18:47:46 | 2018-03-29T15:08:30 | 6,430,552 | 224 | 36 | NOASSERTION | 2023-05-29T15:38:00 | 2012-10-28T18:26:04 | Python | UTF-8 | Python | false | false | 4,926 | py | # -*- mode: python; encoding: utf-8 -*-
#
# Copyright 2012 Jens Lindström, Opera Software ASA
#
# 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... | [
"jl@opera.com"
] | jl@opera.com |
b9a24f96a2369aaff0a8e0ac012240974a522eba | 9a4bf3864d9e66ba285e2d28d570b920b47d1ae9 | /0886_Possible_Bipartition.py | 855be9f8c40a2796f8b15cc637eb0b4fa00bf602 | [] | no_license | actcheng/leetcode-solutions | bf32044bcd916912c86294d83638be08a27b9d8f | 4bf1a7814b5c76e11242e7933e09c59ede3284a3 | refs/heads/master | 2021-06-28T19:15:30.089116 | 2020-08-25T08:17:48 | 2020-08-25T08:17:48 | 139,708,553 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,317 | py | # Problem 886
# Date completed: 2020/05/27
# 1084 ms (18%)
class Solution:
def possibleBipartition(self, N: int, dislikes: List[List[int]]) -> bool:
rec = collections.defaultdict(set)
for a,b in dislikes:
rec[a].add(b)
rec[b].add(a)
wait = set(r... | [
"noreply@github.com"
] | actcheng.noreply@github.com |
cc06a1afd3cf990aab9e8017188708c6770ddf82 | 16b389c8dcace7f7d010c1fcf57ae0b3f10f88d3 | /docs/jnpr_healthbot_swagger/test/test_devicegroup_schema_publish.py | bd0b683c3c81f49498cdd4654c35eff56b402752 | [
"Apache-2.0"
] | permissive | Juniper/healthbot-py-client | e4e376b074920d745f68f19e9309ede0a4173064 | 0390dc5d194df19c5845b73cb1d6a54441a263bc | refs/heads/master | 2023-08-22T03:48:10.506847 | 2022-02-16T12:21:04 | 2022-02-16T12:21:04 | 210,760,509 | 10 | 5 | Apache-2.0 | 2022-05-25T05:48:55 | 2019-09-25T05:12:35 | Python | UTF-8 | Python | false | false | 994 | py | # coding: utf-8
"""
Healthbot APIs
API interface for Healthbot application # noqa: E501
OpenAPI spec version: 1.0.0
Contact: healthbot-hackers@juniper.net
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import unittest
import swagge... | [
"nitinkr@juniper.net"
] | nitinkr@juniper.net |
b1b12a777f9b970ed264a9754df0d10d7c4e5e48 | 53fab060fa262e5d5026e0807d93c75fb81e67b9 | /backup/user_014/ch17_2020_04_04_00_30_01_519493.py | 477f8c89a6db4461d60cad420534ed30cf4363cc | [] | 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 | 109 | py | def eh_bissexto (ano):
if ano % 4 == 0:
return True
elif ano % 100 == 0:
return False | [
"you@example.com"
] | you@example.com |
04598fc33634c577860347eab85306f2b9f11336 | 10e19b5cfd59208c1b754fea38c34cc1fb14fdbe | /desktop/core/ext-py/django-openid-auth-0.5/django_openid_auth/tests/__init__.py | f76af6f1bdfa86e22acaa51e11710b716b03d492 | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | sarvex/hue | 780d28d032edd810d04e83f588617d1630ec2bef | 6e75f0c4da2f3231e19c57bdedd57fb5a935670d | refs/heads/master | 2023-08-15T21:39:16.171556 | 2023-05-01T08:37:43 | 2023-05-01T08:37:43 | 32,574,366 | 0 | 0 | Apache-2.0 | 2023-09-14T16:55:28 | 2015-03-20T09:18:18 | Python | UTF-8 | Python | false | false | 1,749 | py | # django-openid-auth - OpenID integration for django.contrib.auth
#
# Copyright (C) 2009-2013 Canonical 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 the above ... | [
"romain@cloudera.com"
] | romain@cloudera.com |
552019b6e9b5e757bfae8e0ece6e89266860f4b9 | d1e540562faabf463788e6ad31c337e2fe329944 | /holland/core/exceptions.py | 4b6356f5b6aa08cfd50a1938c60530cafa77c5e0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nwbreneman/holland | 5a675883d8ca037505bf6a9e271a3cc33b0c6902 | 8defe48aafb32388ec2bf1cc76070da98c766d8e | refs/heads/master | 2020-04-09T20:24:13.453638 | 2018-11-27T20:21:14 | 2018-11-27T20:21:14 | 160,572,324 | 0 | 0 | NOASSERTION | 2018-12-10T23:31:07 | 2018-12-05T20:08:38 | Python | UTF-8 | Python | false | false | 325 | py | """
Standard public exceptions that are raised by
the various APIs in holland-core
"""
class ConfigError(Exception):
"""Configuration error"""
pass
class InsufficientSpaceError(Exception):
"""Operation could not complete due to disk space"""
pass
class ArgumentError(Exception):
"""Invalid argumen... | [
"wdierkes@rackspace.com"
] | wdierkes@rackspace.com |
b3cdc2e5d186896ef3832edbf72fbb38490d134d | 4acfe1899465199ed5f6b40e6261f362a731cc28 | /stock_system/migrations/0037_auto_20210224_0626.py | 7168db6ee4400734b703dd338efd3587c50bbb15 | [] | no_license | Tiilon/cjs_inventory | 13d1304a4aa21b8ffb748fb29fd964795dfc3601 | a9e0b844d885c47355e8d40985f33265517595a8 | refs/heads/master | 2023-03-14T08:58:35.660834 | 2021-03-04T17:29:38 | 2021-03-04T17:29:38 | 340,845,191 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 677 | py | # Generated by Django 3.1.7 on 2021-02-23 22:26
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('stock_system', '0036_auto_20210223_1852'),
]
operations = [
migrations.AddField(
model_name='brand',
name='reorder_l... | [
"tiilon42@gmail.com"
] | tiilon42@gmail.com |
6f6ca39857cec502b96273f03e3e4ee7a792ec78 | 7ea54debed6a3acda594adc9c9cb36027ba4842c | /article/migrations/0055_auto_20181011_2133.py | 8f5c3d1135ae3d38276a46d6339e4316356a3d01 | [
"MIT"
] | permissive | higab85/drugsandme | e32df050b0a1fb24c06c53eece50f2e4b9b4f01e | 7db66d9687ac9a04132de94edda364f191d497d7 | refs/heads/master | 2022-12-19T12:12:36.885236 | 2019-08-21T14:50:21 | 2019-08-21T14:50:21 | 153,900,258 | 2 | 1 | MIT | 2022-12-08T02:26:17 | 2018-10-20T11:48:46 | JavaScript | UTF-8 | Python | false | false | 1,195 | py | # Generated by Django 2.0.9 on 2018-10-11 21:33
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('article', '0054_auto_20181009_1452'),
]
operations = [
migrations.AddField(
model_name='articlepage',
name='search_d... | [
"gabh@protonmail.com"
] | gabh@protonmail.com |
1656afc3c3cdaa014e280d54a10859a50df088e0 | c040c1f6c770122d8a71af2339acce77062baab7 | /__main__.py | 2af6206559b64db8476219871dea38d48b76eaa0 | [] | no_license | dipu-bd/ebl-fer-notify | feec71de296279121d63a2532f8706ed6361a83c | 0623db28b98e4a48782ee48fdafc9c83387743e6 | refs/heads/master | 2020-04-19T16:34:13.230353 | 2019-02-03T06:32:13 | 2019-02-03T06:32:13 | 168,308,601 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 28 | py | from src import main
main()
| [
"dipu.sudipta@gmail.com"
] | dipu.sudipta@gmail.com |
25145269e9924692592b4be1912a1a7332cffae3 | 305a9cade2fd8a69ab363a40389420296eccddd0 | /LogExpConversion.py | 098470645632eee5e7d19ba3cf40459b5d5e055f | [] | no_license | PMiskew/Python3_Small_Projects | 823ee6fe20715e8aa9dbadf87f0091929ac87e58 | 1fd80b81d0fa80d90d894bd88a2039d15d2330ca | refs/heads/master | 2021-01-01T04:27:33.711886 | 2017-07-14T01:54:01 | 2017-07-14T01:54:01 | 97,176,400 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 793 | py | import tkinter as tk
class LogExpConversionCalc:
def __init__(self):
self.root = tk.Tk()
self.labLog = tk.Label(self.root, text = "Log")
self.labLog.grid(row = 0, column = 0)
self.entN = tk.Entry(self.root, width = 1)
self.entN.grid(row = 1,column = 1)
self.en... | [
"paul.miskew@gmail.com"
] | paul.miskew@gmail.com |
c6617026f963131f4207f1edb60676caddf682d3 | 33110fa5ad8c47e31401769086a985eea1a991c7 | /mmsegmentation/mmseg/core/evaluation/class_names.py | bc7baa7506a561ef4d4b8b3dca20796b177b45bc | [
"Apache-2.0"
] | permissive | UESTC-Liuxin/SKMT | 32bc2781063de1da2a778659e6501762531b15a8 | 377bbe3e5d2777d6c3ccaae7a6c364bd9c85d651 | refs/heads/master | 2023-01-12T19:28:49.340298 | 2020-11-16T03:35:09 | 2020-11-16T03:35:09 | 283,365,017 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,194 | py | import mmcv
######################custom#########################
def skmt_classes():
"""Cityscapes class names for external use."""
return [
'background', 'C', 'GL', 'SAS',
'SAC', 'SUP', 'INF', 'LHF', 'HH',
'SCB', 'SHB', 'TM', 'SUB', 'D',
'GC', 'LHB'
]
def us_classes():
... | [
"625092890@qq.com"
] | 625092890@qq.com |
37a002a7f34e0a6477257e835216ae07c4fd12be | bbec348efb79c6588a4cb6bb565c813fe3fe86ad | /pyVpx/integtests.d/nfc/case_2.py | 464ec556a90548885be34a58e7c49cfa7bb79523 | [] | no_license | free-Zen/pvc | 2be60fdc0fd0345039219c802223f987fce3b113 | 8428a84481be319ae739dfbb87715f31810138d9 | refs/heads/master | 2022-02-24T12:13:31.599398 | 2019-10-14T07:49:13 | 2019-10-14T07:49:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 8,380 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2007 VMware, Inc. All rights reserved. -- VMware Confidential
#
## @file nfc/case_2.py --
#
# TestCase 1 verify nfcsvc protocol operations
# Assumes: TTTVM2 is registered and is not powered on, vmx file is 854 bytes
#
# NfcLib protocol API functions tested using... | [
"liuzhen@vmware.com"
] | liuzhen@vmware.com |
78ba1ce80f8ed7fefab1b41579e66895862d173a | ee803c29e9c5216a16a2699854b98c8a6d9760b8 | /dataServer/FlaskDataServer/app/LocalDataServer/DBApi/Conf.py | cd4560affc42bb9db4f034e95e3bf0b2cb952893 | [] | no_license | algo2019/algorithm | c160e19b453bc979853caf903ad96c2fa8078b69 | 3b5f016d13f26acab89b4a177c95a4f5d2dc1ba1 | refs/heads/master | 2022-12-12T17:59:57.342665 | 2019-02-23T07:45:39 | 2019-02-23T07:45:39 | 162,404,028 | 0 | 0 | null | 2022-12-08T01:29:20 | 2018-12-19T08:08:13 | Python | UTF-8 | Python | false | false | 444 | py | DB_PATH = '/Users/renren1/test/LocalData.db'
EXCHANGE_ID = {
'SHFX': {'IM', 'AL', 'AU', 'NI', 'PB', 'CU', 'SN', 'ZN', 'AG', 'BU', 'RB', 'FU', 'HC', 'WR', 'RU'},
'DLFX': {'V', 'B', 'M', 'A', 'Y', 'JD', 'JM', 'J', 'BB', 'PP', 'L', 'I', 'FB', 'C', 'CS', 'P'},
'ZZFX': {'SR', 'CF', 'ZC', 'FG', 'TA', 'MA', 'WH'... | [
"xingwang.zhang@renren-inc.com"
] | xingwang.zhang@renren-inc.com |
544f529cb861e34908c3c8dc63ee19177cfa3629 | 6d05f0521eabec73a53f34c3080e9eaee14253fb | /eden/integration/hg/absorb_test.py | 9393ec1dbd3f226d39680fb89cae9510acf518d0 | [
"BSD-3-Clause"
] | permissive | eamonnkent/eden | 8d44ce7bd75329754fb38c1a815dbcdb65b1a481 | c0a837ec7d1f05903bbc17e707bc9fd427046fd8 | refs/heads/master | 2020-03-27T09:43:46.545906 | 2018-08-27T05:42:20 | 2018-08-27T05:52:34 | 146,367,298 | 0 | 0 | null | 2018-08-27T23:54:15 | 2018-08-27T23:54:15 | null | UTF-8 | Python | false | false | 3,344 | py | #!/usr/bin/env python3
#
# Copyright (c) 2004-present, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
f9fae8b6ca5b4e04fe4f6c0bd5bc1d152c5639c2 | f12770add2dd48d2262612fcb1aaecc4a714b4fb | /django/remoteomd/remoteomd/urls.py | 2e25dece1960a6dc2c60a4198f90325e94284859 | [] | no_license | github188/vending | 3558666b57b37e843e72d194d80f6a8ef5dbc7a4 | ce3e2f1fcbb4d132f7b01a99400d917d7ca174a6 | refs/heads/master | 2021-06-16T09:54:09.214694 | 2017-01-28T01:31:30 | 2017-01-28T01:31:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 969 | py | """localomd URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
2. Add a URL to urlpatterns: url(r'^$', views.home, name='home')
Class-b... | [
"jeson.peng@gmail.com"
] | jeson.peng@gmail.com |
3ff67aa461c8cb9aa6e79fbcf64e60551b102975 | e10a6d844a286db26ef56469e31dc8488a8c6f0e | /snerg/nerf/models.py | a5093ed9d6c9feedfdbc5c59c1bfa8b8424cd489 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | Jimmy-INL/google-research | 54ad5551f97977f01297abddbfc8a99a7900b791 | 5573d9c5822f4e866b6692769963ae819cb3f10d | refs/heads/master | 2023-04-07T19:43:54.483068 | 2023-03-24T16:27:28 | 2023-03-24T16:32:17 | 282,682,170 | 1 | 0 | Apache-2.0 | 2020-07-26T15:50:32 | 2020-07-26T15:50:31 | null | UTF-8 | Python | false | false | 12,651 | py | # coding=utf-8
# Copyright 2022 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
83705db78bfb60ae472f3a82f0c3f249d1980e10 | 340ace07b347ffd35852641591ea702e3bf0c947 | /Objects And Classes/06_inventory.py | a91bf8b7642e04bd617ff0643f0b43c17af565ba | [] | no_license | IvayloValkov/Python_Fundamentals | 8de28bf68d32822e0d442469477d2b2c87ba0f9f | e86cb3e516b4baf7027808128fc105f5b86807c9 | refs/heads/main | 2023-02-24T23:39:54.067798 | 2021-01-17T08:54:27 | 2021-01-17T08:54:27 | 330,347,105 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 664 | py | class Inventory:
def __init__(self, capacity):
self.__capacity = capacity
self.items = []
def add_item(self, item):
if len(self.items) < self.__capacity:
self.items.append(item)
else:
return "not enough room in the inventory"
def get_cap... | [
"noreply@github.com"
] | IvayloValkov.noreply@github.com |
1607b39a03fe85418f0255842a8d9ea674b4af8d | 81b57282ccbc000a416382e3a91645a0938febb5 | /dbupgrade/files.py | 3169b028579926c781120b7ffef85e6454c79c19 | [
"MIT"
] | permissive | srittau/dbupgrade | 03ae61f5bd307c289db9d3069b87c5e5fbba934d | 35c704321a39a5319231dd78b1446e836ef3cadc | refs/heads/main | 2023-08-10T07:07:29.811756 | 2023-08-01T11:10:44 | 2023-08-01T11:10:44 | 120,672,859 | 2 | 0 | MIT | 2023-09-01T08:56:39 | 2018-02-07T21:17:50 | Python | UTF-8 | Python | false | false | 1,099 | py | import os.path
from os import listdir
from typing import List
class FileInfo:
def __init__(
self,
filename: str,
schema: str,
dialect: str,
version: int,
api_level: int,
) -> None:
self.filename = filename
self.schema = schema
self.dialec... | [
"srittau@rittau.biz"
] | srittau@rittau.biz |
4ec81f004f08fe89ab15068b87fe26ee3763ede5 | 0a973640f0b02d7f3cf9211fcce33221c3a50c88 | /.history/main_20210125143443.py | 0c2d7623c2cd1d1355b799bdf20d3c1708ec119c | [] | no_license | JiajunChen123/IPO_under_review_crawler | 5468b9079950fdd11c5e3ce45af2c75ccb30323c | 031aac915ebe350ec816c05a29b5827fde588567 | refs/heads/main | 2023-02-26T08:23:09.622725 | 2021-02-04T10:11:16 | 2021-02-04T10:11:16 | 332,619,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 42 | py |
if __name__ == '__main__':
check
| [
"chenjiajun.jason@outlook.com"
] | chenjiajun.jason@outlook.com |
97409bedd791d4aeea1ef231189b2d17114187b0 | 3a8b0cf0484e06f317923f0b6de08cb8e381b38b | /tests/test_routes.py | b746c6ae758c3e4c8c63eea60047645cc5059385 | [
"MIT"
] | permissive | luiscape/hdx-monitor-sql-collect | 844260b1bfb8152f5a741a76307775e09fd81515 | 3fb7d31363227de160f95d259dee2b0b38da1982 | refs/heads/master | 2021-01-10T07:36:55.642759 | 2015-11-19T15:18:53 | 2015-11-19T15:18:53 | 45,499,253 | 0 | 0 | null | 2015-11-19T15:18:53 | 2015-11-03T22:15:02 | Python | UTF-8 | Python | false | false | 6,468 | py | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''
Integration tests for testing the application
HTTP routes and methods.
'''
import json
import flask
import unittest
import app.server as Server
class Generic(unittest.TestCase):
'''
Set of generic tests.
'''
def setUp(self, object):
self.object = object
de... | [
"luiscape@gmail.com"
] | luiscape@gmail.com |
a90c2576811f155502fe3355226705ffbabe853a | d48c82c0d69b94227516d8c43a8233e8b7f98732 | /shipping_api_ups/sale.py | c2dbda3cb62aeb878074229b6a384ecb4427adad | [] | no_license | NovaPointGroup/OdooUSA-Stock | f983bdf68ea002585e650c106fead7790de18256 | c4a45f20860efbee5257c11d34f5ef191f4a4fc6 | refs/heads/master | 2020-04-24T23:45:51.751577 | 2015-03-16T14:59:17 | 2015-03-16T14:59:17 | 30,602,066 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 19,338 | py | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2011 NovaPoint Group LLC (<http://www.novapointgroup.com>)
# Copyright (C) 2004-2010 OpenERP SA (<http://www.openerp.com>)
#
# This program is f... | [
"slevenhagen@novapointgroup.com"
] | slevenhagen@novapointgroup.com |
f784c7b34a8ee2d40ec04537960612598627a438 | de24f83a5e3768a2638ebcf13cbe717e75740168 | /moodledata/vpl_data/32/usersdata/75/10599/submittedfiles/questao2_av1.py | 5570de3c54d4ac0fa8e7dbd035738c5856d048e5 | [] | 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 | 997 | py | # -*- coding: utf-8 -*-
from __future__ import division
a=int(input('Digite o primeiro número:'))
b=int(input('Digite o segundo número:'))
c=int(input('Digite o terceiro número:'))
d=int(input('Digite o quarto número:'))
e=int(input('Digite o quinto número:'))
f=int(input('Digite o sexto número:'))
na=int(input('Digit... | [
"rafael.mota@ufca.edu.br"
] | rafael.mota@ufca.edu.br |
6de0665ab973cf33ab27a8950f3dabcf7953f852 | 3dbbde1aa96fc09e9aab885cf3713e86f3572dec | /gs-vtoi/bin/hachoir-metadata-gtk | 9ef9a81ee82a3aca600d74de4023a47b328d39de | [] | no_license | bopopescu/gs-vtoi | 6223d6dbf47e89292bd0e79e24e5664450e28cf6 | f12b802976d0020179d1b40b0b5e3af5b72d55cc | refs/heads/master | 2022-11-24T16:31:36.804869 | 2018-07-31T08:30:56 | 2018-07-31T08:30:56 | 282,551,982 | 0 | 0 | null | 2020-07-26T01:09:10 | 2020-07-26T01:09:09 | null | UTF-8 | Python | false | false | 3,649 | #!/Users/Sang/OneDrive/Developments/gs-vtoi/gs-vtoi/bin/python
import sys, pygtk, os
pygtk.require('2.0')
import gtk
from hachoir_core.cmd_line import unicodeFilename
from hachoir_parser import createParser
from hachoir_metadata import extractMetadata
from hachoir_metadata.metadata import MultipleMetadata
class Gui:
... | [
"sy0414@gmail.com"
] | sy0414@gmail.com | |
699d3bfef04aed9ea2fbddc55b9a01bb4b3afd83 | ad4c2aa0398406ccb7e70562560e75fa283ffa1a | /merge-two-binary-trees/merge-two-binary-trees.py | 081371ccd42e4224ccd32f00bbf5ef910c431f4d | [
"Apache-2.0"
] | permissive | kmgowda/kmg-leetcode-python | 427d58f1750735618dfd51936d33240df5ba9ace | 4d32e110ac33563a8bde3fd3200d5804db354d95 | refs/heads/main | 2023-08-22T06:59:43.141131 | 2021-10-16T14:04:32 | 2021-10-16T14:04:32 | 417,841,590 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 880 | py | // https://leetcode.com/problems/merge-two-binary-trees
# Definition for a binary tree node.
# class TreeNode(object):
# def __init__(self, x):
# self.val = x
# self.left = None
# self.right = None
class Solution(object):
def mergeTrees(self, t1, t2):
"""
:type t1: Tree... | [
"keshava.gowda@gmail.com"
] | keshava.gowda@gmail.com |
623081c6b4a86024a7ab4cf1d69a7e46d21600d1 | f131d940b96452441602e8bd687a55d62ea22912 | /models/unet.py | b4e6f1c0d05195078e8fc8f2d43815bfada6cbb9 | [] | no_license | aguilarmg/cs221-final-project | a66e3b9e037de59f83ef5a950106a46430a808c3 | 9506a50614ca1619dc4338e7e2afa02e99becec1 | refs/heads/master | 2020-06-01T07:40:34.281510 | 2020-03-28T12:39:56 | 2020-03-28T12:39:56 | 190,702,941 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,967 | py | import torch
import torch.nn as nn
from torch.nn import Conv2d as Conv2D
import torch.nn.init as init
import torch.nn.functional as F
import numpy
from torch.nn import Upsample
class Up(nn.Module):
def __init__(self, channel_in, channel_out):
super(Up, self).__init__()
self.upsample = nn.Upsample(s... | [
"google-dl-platform@googlegroups.com"
] | google-dl-platform@googlegroups.com |
fdc1f3bb98810086e2d180f43f57c1b891d6fd4a | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_cuffs.py | e56d0f9e3b98522f7ec4b6b644bb19718b341852 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 224 | py |
from xai.brain.wordbase.nouns._cuff import _CUFF
#calss header
class _CUFFS(_CUFF, ):
def __init__(self,):
_CUFF.__init__(self)
self.name = "CUFFS"
self.specie = 'nouns'
self.basic = "cuff"
self.jsondata = {}
| [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
9ad4f8a6c19169efc08b92e84ad63ec201cb44c0 | abfa631a97c1741c693bcf3e3780fcb30dc46003 | /extendtest/manage.py | c6ff57e83088bd906d3a3b6a215c0d4177b009e8 | [] | no_license | python-1901-class-five/Team-Five | b08f1860f3da0165838a5dc375bc7cb12b81125e | 66d23dd9b0d57f2a77271d7cc4ab1d122b16e7ee | refs/heads/master | 2020-05-09T20:19:55.591049 | 2019-06-13T09:04:09 | 2019-06-13T09:04:09 | 181,403,319 | 1 | 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', 'extendtest.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise Imp... | [
"hcy@qq.com"
] | hcy@qq.com |
5b81ab2428a480bcbaceb2e72a457fdc4d31ac41 | 63b0fed007d152fe5e96640b844081c07ca20a11 | /ABC/ABC001~ABC099/ABC033/C.py | 0a5b493b4fb1a0d3b7c6093c373952bae7e20536 | [] | no_license | Nikkuniku/AtcoderProgramming | 8ff54541c8e65d0c93ce42f3a98aec061adf2f05 | fbaf7b40084c52e35c803b6b03346f2a06fb5367 | refs/heads/master | 2023-08-21T10:20:43.520468 | 2023-08-12T09:53:07 | 2023-08-12T09:53:07 | 254,373,698 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 307 | py | s=input().split('+')
if len(s)==1:
ans=1
for j in range(len(s[0])):
if s[0][j]!='*':
ans*=int(s[0][j])
if ans!=0:
ans=1
else:
ans=0
print(ans)
exit(0)
ans=0
for i in range(len(s)):
if eval(s[i])==0:
continue
ans+=1
print(ans) | [
"ymdysk911@gmail.com"
] | ymdysk911@gmail.com |
76a0a0029a7548dcbbc65c90816c31168f43dbd5 | 4b4c6b19805d52dab9cc232e343a45785fb33c5a | /mininews/managers.py | 12bd3bfe8ddd7a916fcc8dfdcee9823b4eb076f4 | [
"MIT"
] | permissive | marcinn/django-mininews | d5866c11a7947ec5bc724dc1d61ce2b49b2e0177 | 5868fd5978ab0e64a68df576b8f14b4d4caf1bb5 | refs/heads/master | 2023-03-31T11:13:56.729693 | 2021-03-24T00:54:20 | 2021-03-24T00:54:20 | 350,901,546 | 0 | 0 | MIT | 2021-03-24T00:50:16 | 2021-03-24T00:50:16 | null | UTF-8 | Python | false | false | 387 | py | from django.db.models.query import QuerySet
from django.db.models import Q
import datetime
class MininewsQuerySet(QuerySet):
def live(self, statuses=['published']):
today = datetime.date.today()
return self.filter(status__in=statuses).\
filter(Q(start__lte=today) | Q(start__isnull=Tr... | [
"richard@arbee-design.co.uk"
] | richard@arbee-design.co.uk |
336506c6a65cfee6893992a7afd6b8650db9d2c4 | 3aef4825c5f2366f2e551cdfa54b88c034b0b4f4 | /tutorials/2_tensorflow_old/sklearnTUT/sk10_cross_validation3.py | 5818f6b03c21bbb84be7ede221d50d2aee9605d5 | [
"MIT"
] | permissive | wull566/tensorflow_demo | 4a65cbe1bdda7430ab1c3883889501a62258d8a6 | c2c45050867cb056b8193eb53466d26b80b0ec13 | refs/heads/master | 2020-04-06T17:34:05.912164 | 2018-11-15T07:41:47 | 2018-11-15T07:41:48 | 157,665,187 | 3 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,155 | py | # View more 3_python 1_tensorflow_new tutorial on my Youtube and Youku channel!!!
# Youtube video tutorial: https://www.youtube.com/channel/UCdyjiB5H8Pu7aDTNVXTTpcg
# Youku video tutorial: http://i.youku.com/pythontutorial
"""
Please note, this code is only for 3_python 3+. If you are using 3_python 2+, please modify... | [
"vicleo566@163.com"
] | vicleo566@163.com |
f0fccbe1f1d129a6d95be4858240a525c0c23db7 | 24fe1f54fee3a3df952ca26cce839cc18124357a | /servicegraph/lib/python2.7/site-packages/acimodel-4.0_3d-py2.7.egg/cobra/modelimpl/aaa/aretp.py | 2ca1f5865928d1d54330991f06f2bb16cd4862ad | [] | no_license | aperiyed/servicegraph-cloudcenter | 4b8dc9e776f6814cf07fe966fbd4a3481d0f45ff | 9eb7975f2f6835e1c0528563a771526896306392 | refs/heads/master | 2023-05-10T17:27:18.022381 | 2020-01-20T09:18:28 | 2020-01-20T09:18:28 | 235,065,676 | 0 | 0 | null | 2023-05-01T21:19:14 | 2020-01-20T09:36:37 | Python | UTF-8 | Python | false | false | 5,007 | py | # coding=UTF-8
# **********************************************************************
# Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved
# written by zen warriors, do not modify!
# **********************************************************************
from cobra.mit.meta import ClassMeta
from cobra.m... | [
"rrishike@cisco.com"
] | rrishike@cisco.com |
1d83ba7c7e40243158ac207a36dd6c74cb8eb0f3 | d85a26d336fd127fd002e661ac6442bd915bf3ea | /tests/test_settings.py | c8313c5a17705b52a1c26f22481ce03cd2363cd5 | [
"Apache-2.0"
] | permissive | uduse/bonobo | e2f1addee253fc4798ef854dc89a39c7a4deaa36 | 4247f17d381161dfe26a9d294dfa33594338cf38 | refs/heads/master | 2021-08-28T06:42:10.700541 | 2017-12-11T12:50:36 | 2017-12-11T12:50:36 | 113,858,232 | 1 | 0 | null | 2017-12-11T12:50:37 | 2017-12-11T12:47:37 | Python | UTF-8 | Python | false | false | 1,585 | py | import logging
from os import environ
from unittest.mock import patch
import pytest
from bonobo import settings
TEST_SETTING = 'TEST_SETTING'
def test_to_bool():
assert not settings.to_bool('')
assert not settings.to_bool('FALSE')
assert not settings.to_bool('NO')
assert not settings.to_bool('0')
... | [
"romain@dorgueil.net"
] | romain@dorgueil.net |
9fec051f4266d18f40cc3b954c62022c834e4c02 | 82f67ea9fbf21d21f26b611cea5ad6047617e1ab | /cvs-projects/build_scripts/utils/zenlib.py | ec69bfbcea2816b1674a0efbd0ddf0cde88ffa6d | [] | no_license | metalsky/mvst | 741a0e8ddc1c43ca28c7b26dc5720e965a70b764 | e1deb593f47c28e0142e66d11ca47fa4af247ed8 | refs/heads/master | 2020-03-19T09:42:59.923445 | 2018-03-02T00:38:58 | 2018-03-02T00:38:58 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,048 | py | #!/usr/bin/python
#Normal
import sys, traceback, syslog
from types import *
#Pyro
try:
import Pyro.core
except:
logError(traceback.format_exc())
PYROSERVER = 'PYROLOC://overlord:7769/zenbuild'
Pyro.core.initClient(0)
Pyro.config.PYRO_PRINT_REMOTE_TRACEBACK = 1
LOG_FACILITY = syslog.LOG_LOCAL0
def logError(msg)... | [
"njka.github@gmail.com"
] | njka.github@gmail.com |
89412e55408ee7a9d9b91b23e4891741e3ca1a77 | 9d1238fb0e4a395d49a7b8ff745f21476c9d9c00 | /framework/Tests/PAS/PAS/SecuritySettings/MultiplePasswordCheckouts/test_system_level_password_checkout_blank.py | a7f3b714415f8fbea980a615498a546f84534f42 | [] | no_license | jaspalsingh92/TestAutomation-1 | a48ee1d3b73386f1bf8f53328a5b55444238e054 | e631c67255b10f150e0012991fb1474ede904417 | refs/heads/master | 2023-04-18T14:52:08.836221 | 2021-04-07T12:01:07 | 2021-04-07T12:01:07 | 357,175,690 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,419 | py | import pytest
import logging
from Shared.API.infrastructure import ResourceManager
from Shared.API.redrock import RedrockController
logger = logging.getLogger("test")
lock_tenant = True
@pytest.mark.api
@pytest.mark.pas
def test_system_level_password_checkout_blank(core_session, pas_windows_setup, users_and_roles,
... | [
"singh.jaspal92@gmail.com"
] | singh.jaspal92@gmail.com |
49ae7530ff0772b04bb33a96550692f5f9106cbf | c9fde4576216a22e8d5711bbe97adda1aafa2f08 | /model-optimizer/mo/front/common/partial_infer/reduce.py | 74fdd40e9a935d5f5158baaf54e31969ede37593 | [
"Apache-2.0"
] | permissive | dliang0406/dldt | c703d6a837de3f996528fc8a9543f9530b23342c | d9b10abcebafe8b10ba81e09e433de7a366c072c | refs/heads/2018 | 2020-04-03T08:24:47.723353 | 2018-10-29T07:58:05 | 2018-10-29T07:58:05 | 155,132,108 | 3 | 1 | Apache-2.0 | 2019-10-10T08:39:46 | 2018-10-29T01:03:54 | C++ | UTF-8 | Python | false | false | 1,410 | py | """
Copyright (c) 2018 Intel 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 in wri... | [
"openvino_pushbot@intel.com"
] | openvino_pushbot@intel.com |
7b1c11206207badd5f7d7c507c0be0f6262fa6eb | aad917f794226f917257ce103c295fd85a51ee62 | /categories/models.py | 6ee2075d4d3e0087cdb60858341277d6ddcecc4f | [] | no_license | jgsogo/bb-django-taxonomy-categories | 3fc05d5b3074cd6a469e97b81ad545834438adab | f00b86bcd08857a668cb62ef40caac0c3cba4bb5 | refs/heads/master | 2020-12-20T11:28:03.426634 | 2013-02-02T21:14:01 | 2013-02-02T21:14:01 | 236,059,332 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,645 | py | #!/usr/bin/env python
# encoding: utf-8
from django.db import models
from django.template.defaultfilters import slugify
from django.utils.translation import ugettext_lazy as _
from taxonomy.models.taxon import BaseTaxon
from taxonomy.managers import TaxonManager
class CategoryManager(TaxonManager):
def choices(s... | [
"jgsogo@gmail.com"
] | jgsogo@gmail.com |
c59afdb801c2ae60596ec009aeb16a6c7eb6379e | c3cd2d040ceb3eabd387281835cacd0967fdbb6a | /web2py/extras/build_web2py/web2py.win_no_console.spec | d6c55d2f3ecd4375adca10507765bc7b3bc23279 | [
"LGPL-3.0-only",
"LicenseRef-scancode-warranty-disclaimer",
"MIT",
"BSD-3-Clause",
"LGPL-2.0-or-later",
"GPL-2.0-only",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-free-unknown"
] | permissive | operepo/smc | cc55338b8b9fbeac78e67397079759965d859b68 | d10e7b7567266e31de73e5b29663577cab119a90 | refs/heads/master | 2022-09-22T07:17:59.970650 | 2022-07-11T00:20:45 | 2022-07-11T00:20:45 | 116,905,452 | 1 | 3 | MIT | 2021-03-09T03:01:37 | 2018-01-10T03:53:08 | Python | UTF-8 | Python | false | false | 2,230 | spec | # -*- mode: python -*-
block_cipher = None
a = Analysis(['web2py.py'],
pathex=['.'],
binaries=[],
datas=[],
hiddenimports=['site-packages', 'argparse', 'cgi', 'cgitb', 'code', 'concurrent', 'concurrent.futures',
'concurrent.futures._base', 'concurren... | [
"ray@cmagic.biz"
] | ray@cmagic.biz |
05e0de1b6de56c36b6858a92f1e58b04ba53ba4e | 1f7d287ef90041e20468513a26a39e1f3d221289 | /Level-2/s15/guvi-L2-s15-py03.py | bd07bcfd56aa7a6e68f256aa01b44c59c5d2dc54 | [] | no_license | ksthacker/python | d787d69f954c0e9b59b0cc96a8b8fc5c0594d8a0 | 3a3775e1b9349e313f8c96ea11eade54a7e9bf54 | refs/heads/master | 2021-04-27T16:32:40.923316 | 2019-08-21T04:50:22 | 2019-08-21T04:50:22 | 122,303,461 | 0 | 17 | null | 2019-10-03T14:59:51 | 2018-02-21T07:09:32 | Python | UTF-8 | Python | false | false | 240 | py | import sys,string, math,itertools
n = int(input())
L1 = [ int(x) for x in input().split()]
L2 = [ int(x) for x in input().split()]
L22 = sorted(L2)
L12 = []
for x in L22 :
k = L2.index(x)
L12.append(L1[k])
print(*L12)
| [
"noreply@github.com"
] | ksthacker.noreply@github.com |
9d64563f089d3521304bb6648f440eb8c1b1e375 | c18a63e2e37712025794bc7d0bb824ca3a8cde51 | /IDserver/ssh_remote/data.py | 3f38241e919d3df484d294e500f8023dcdca543e | [] | no_license | wuqiangchuan/Xproxxx | 9202767573a3f0bfc1b00b6069eaf6ef9bc25907 | 6403bde2bc091faab55cca5ac9fff62b13d6a0cb | refs/heads/master | 2021-01-01T17:48:55.335991 | 2017-07-20T10:00:52 | 2017-07-20T10:00:52 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 508 | py | import json
class BaseData(object):
def __init__(self, data=""):
self.from_json(data)
def from_json(self, data=""):
self.__dict__ = json.loads(data)
def to_json(self):
return json.dumps(self)
def get_type(self):
return self.tp
class ClientData(BaseData):
def ... | [
"root@localhost.localdomain"
] | root@localhost.localdomain |
30dc421b2c9a6259ad94cd434a40969e96d7e9d4 | d0f65918f28acea06c6632d59a74554239a13195 | /pynet/plotting/network.py | ba62ec6357d63d480dc5bee690158b862e8dfc57 | [
"LicenseRef-scancode-cecill-b-en"
] | permissive | Duplums/pynet | 0811f2ebd151c4a913af3fa16568f6b0b81bd43a | 7a807ed690929563ce36086eaf0998d0e8856aea | refs/heads/master | 2023-08-09T14:51:08.437781 | 2023-08-04T13:11:02 | 2023-08-04T13:11:02 | 221,240,432 | 0 | 2 | NOASSERTION | 2019-11-12T14:43:25 | 2019-11-12T14:43:24 | null | UTF-8 | Python | false | false | 30,653 | py | # -*- coding: utf-8 -*-
##########################################################################
# NSAp - Copyright (C) CEA, 2019
# Distributed under the terms of the CeCILL-B license, as published by
# the CEA-CNRS-INRIA. Refer to the LICENSE file or to
# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
#... | [
"antoine.grigis@cea.fr"
] | antoine.grigis@cea.fr |
fb1fff9a82da62a462954d422bee1491b4574f0d | c1f0e38201ef91e772a1ffd3819b58382f7b4dc2 | /partner_bank_iban_convert/models/res_partner_bank.py | 138bfced7485a67c25080adfea1668015a9be059 | [] | no_license | victoralmau/account | f1007f3a645c0d529ad3cf519c0ffed0801c3eea | 522f59d8fb6bd7ae2cc910ac24152eb967a8c142 | refs/heads/master | 2022-12-24T08:33:00.150369 | 2020-04-03T08:34:21 | 2020-04-03T08:34:21 | 284,680,712 | 0 | 0 | null | 2020-08-03T11:21:46 | 2020-08-03T11:21:45 | null | UTF-8 | Python | false | false | 2,485 | py | # -*- coding: utf-8 -*-
import logging
_logger = logging.getLogger(__name__)
from openerp import api, models, fields
from openerp.exceptions import Warning
from datetime import datetime
import requests, json
class ResPartnerBank(models.Model):
_inherit = 'res.partner.bank'
@api.one
def check_iban_conver... | [
"informatica@arelux.com"
] | informatica@arelux.com |
bcf29855ebe59aa2492ec108f429f524118b32d3 | c5d553e68de3d5c730f5fe2550209de759eabc8c | /프로그래머스/unrated/176963. 추억 점수/추억 점수.py | fd8452d93516976756e970ca7c06bdcfd1d358f5 | [] | no_license | KimMooHyeon/Algorithm-Studying | 6bb23b971b0c46c35f4cdde133148f2c5cfaa0f4 | e4417aadf209fd22f960239623bed542744fd374 | refs/heads/master | 2023-08-08T02:28:02.460332 | 2023-07-15T14:22:53 | 2023-07-15T14:22:53 | 198,966,251 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 369 | py | def solution(name, yearning, photo):
answer = []
hashScore = {}
for i in range(0,len(name)) :
hashScore[name[i]]=yearning[i]
print(hashScore)
for photoList in photo:
num = 0
for onePhoto in photoList:
if onePhoto in hashScore:
num+=hashScore[onePh... | [
"dlfb77@gmail.com"
] | dlfb77@gmail.com |
04bdb90a656863ac33204b200f157b78e9b4a660 | 7ab15522084e2f81d39cda505da844fb4d519f9d | /Logic and basic mathematics/Hard/Weird list/weird_list.py | e47346d384a1b426a8e538aab2170fa21eb8a2b7 | [] | no_license | Infinite-Loop-KJSIEIT/Algo-Talks | 1662cfd802bfbe4a9bfcf80a9c3157334e5cb4fd | 27d85ae3827f8765a4ebe98c80cc55b53c0562b0 | refs/heads/master | 2022-12-25T21:53:57.745115 | 2020-10-03T07:07:02 | 2020-10-03T07:07:02 | 286,681,402 | 13 | 3 | null | 2020-10-03T07:07:04 | 2020-08-11T07:53:23 | Python | UTF-8 | Python | false | false | 1,374 | py | def query(i,arr,repeat):
if i < len(arr):
return arr[i]
else:
return (repeat[(i - len(arr))% len(repeat)])
def solve():
n = int(input())
a,b,c = map(int,input().split())
arr = []
mem = {}
while True:
if n in mem:
break
else:
arr.a... | [
"keshav.sm@somaiya.edu"
] | keshav.sm@somaiya.edu |
3e40c4baffc41e0e6c66dcf3225c7b95f25bf744 | 37fef592f365194c28579f95abd222cc4e1243ae | /streamlit/Unbottled/Pages/2_Wine_Explorer.py | 799e5b08ba10636602ad117bd4c472fd5310c68c | [] | no_license | edimaudo/Python-projects | be61e0d3fff63fb7bd00513dbf1401e2c1822cfb | 85d54badf82a0b653587a02e99daf389df62e012 | refs/heads/master | 2023-04-07T03:26:23.259959 | 2023-03-24T12:03:03 | 2023-03-24T12:03:03 | 72,611,253 | 4 | 3 | null | 2022-10-31T18:10:41 | 2016-11-02T06:37:17 | null | UTF-8 | Python | false | false | 1,021 | py | w# Libraries
import streamlit as st
import pandas as pd
import plotly.express as px
@st.cache
def load_data():
data = pd.read_csv(DATA_URL)
return data
# Load data
DATA_URL = "winemag-data_first150k.csv"
df = load_data()
st.title('Unbottled')
st.header("Wine Explorer")
country_list = df['country'].unique()
... | [
"edimaudo@gmail.com"
] | edimaudo@gmail.com |
8ee62c7ae4ce8147c226b824dc7d65eca8972907 | 03a2c1eb549a66cc0cff72857963eccb0a56031d | /leetcode/magic-squares-in-grid.py | 8fe33c0521dd7a3b930269182a7b70defb66cada | [] | no_license | nobe0716/problem_solving | c56e24564dbe3a8b7093fb37cd60c9e0b25f8e59 | cd43dc1eddb49d6b5965419e36db708c300dadf5 | refs/heads/master | 2023-01-21T14:05:54.170065 | 2023-01-15T16:36:30 | 2023-01-15T16:36:30 | 80,906,041 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,081 | py | from typing import List
class Solution:
def numMagicSquaresInside(self, grid: List[List[int]]) -> int:
def is_magic(x: int, y: int) -> bool:
col_sum, row_sum, dia_sum = [0, 0, 0], [0, 0, 0], [0, 0]
ws = set()
for i in range(x, x + 3):
for j in range(y, y... | [
"sunghyo.jung@navercorp.com"
] | sunghyo.jung@navercorp.com |
4ab2751ff496c14437c5da2dcae0880daf0f0322 | 9ba71c165fe70e1bba26bd3d6230c321e0aa60ec | /src/python/up_sqllite_cdi.py | 68a056f9cd7cc95957529375e5b6213b626cdf07 | [] | no_license | gabrielreiss/DB_econ | 0977899be20986a0b33937a534e6cbbc9fb767a2 | bcf6de08402b09c0e84f8696b92ef3c0846b3cc1 | refs/heads/master | 2022-08-02T03:55:08.096697 | 2020-05-26T18:57:27 | 2020-05-26T18:57:27 | 266,602,990 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,171 | py | import os
import sqlalchemy
import argparse
import pandas as pd
BASE_DIR = os.path.dirname(os.path.dirname( os.path.dirname(__file__) ) )
DATA_DIR = os.path.join( BASE_DIR, 'data' )
SQL_DIR = os.path.join( BASE_DIR, 'src', 'sql' )
RESULT_DIR = os.path.join( BASE_DIR, 'resultado' )
print(DATA_DIR)
# Abrindo conexão c... | [
"gabrielreissdecastro@gmail.com"
] | gabrielreissdecastro@gmail.com |
d014b68c6bae72b2251594c82da84f8e6b87fa2e | e70e8f9f5c1b20fe36feab42ad4c2c34fc094069 | /Python/Programming Basics/Simple Calculations/10. Radians to Degrees.py | 65dc1032cef4d0e48e61c7334efb451d6ed7baa1 | [
"MIT"
] | permissive | teodoramilcheva/softuni-software-engineering | 9247ca2032915d8614017a3762d3752b3e300f37 | 98dc9faa66f42570f6538fd7ef186d2bd1d39bff | refs/heads/main | 2023-03-29T15:55:54.451641 | 2021-04-09T18:46:32 | 2021-04-09T18:46:32 | 333,551,625 | 0 | 0 | null | 2021-04-09T18:46:32 | 2021-01-27T20:30:18 | Python | UTF-8 | Python | false | false | 82 | py | import math
rad = float(input())
deg = rad * 180 / math.pi
print(round(deg, 0))
| [
"noreply@github.com"
] | teodoramilcheva.noreply@github.com |
7c3dfcfc469f34534a03b2380bb90d7fa72abae0 | f4c0df92671a9cd021415830e8b7183cc7c6422f | /Play/migrations/0001_initial.py | 4f26e1c683f4634e78ef5bd89154cb9960eafeef | [] | no_license | JorgitoR/DrawSomthing-Django-Python | 322e301e67ff58224fe6d628dde815ca8ed501ca | d6e0997e2ffbf38ca5b1a44c2c9840ac8bf8286d | refs/heads/main | 2023-04-09T16:14:31.152384 | 2021-04-13T22:26:08 | 2021-04-13T22:26:08 | 357,693,300 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 541 | py | # Generated by Django 3.2 on 2021-04-13 20:27
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='solucion',
fields=[
('id', models.BigAutoFiel... | [
"jorgitouribe133@gmail.com"
] | jorgitouribe133@gmail.com |
0596bfd7f19ac3df4ef8e329fb73a591a444828c | 9743d5fd24822f79c156ad112229e25adb9ed6f6 | /xai/brain/wordbase/nouns/_study.py | c48d7435c9a758b6b9ac596e39c436b127f51674 | [
"MIT"
] | permissive | cash2one/xai | de7adad1758f50dd6786bf0111e71a903f039b64 | e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6 | refs/heads/master | 2021-01-19T12:33:54.964379 | 2017-01-28T02:00:50 | 2017-01-28T02:00:50 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 731 | py |
#calss header
class _STUDY():
def __init__(self,):
self.name = "STUDY"
self.definitions = [u'the activity of examining a subject in detail in order to discover new information: ', u'a drawing that an artist makes in order to test ideas before starting a painting of the same subject', u'the act of learning about... | [
"xingwang1991@gmail.com"
] | xingwang1991@gmail.com |
6e1b2983208299a57bab42a21a2cd696e401903c | fd717fe6ca74f6d77210cdd57a8c365d27c5bfc6 | /pychron/monitors/monitor.py | 31a1c54dd066afc976076913098eb1410bb2fb66 | [
"Apache-2.0"
] | permissive | stephen-e-cox/pychron | 1dea0467d904d24c8a3dd22e5b720fbccec5c0ed | 681d5bfe2c13e514859479369c2bb20bdf5c19cb | refs/heads/master | 2021-01-19T15:40:03.663863 | 2016-07-14T14:37:16 | 2016-07-14T14:37:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,193 | py | # ===============================================================================
# Copyright 2011 Jake Ross
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licens... | [
"jirhiker@gmail.com"
] | jirhiker@gmail.com |
98a7e3d51502fa16b8c3e7b6e3a26663044d0646 | 3b894d58234a3ee03b40edecb82c46ca096c6953 | /print_only_values.py | 688ea99872913a1982b159f4caf94737af9c0189 | [] | no_license | Bharti20/dictionaryQuestions | b1b5ad8d824240d02013b2c2dc4755cc2b8ae5a0 | 1351c534b5bc68610bce1bc0a64b8c8d25241c60 | refs/heads/main | 2023-02-03T07:37:39.941728 | 2020-12-16T16:52:58 | 2020-12-16T16:52:58 | 320,323,330 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 87 | py | my_dict = {"one": 1,"two":2,"three":3,"four":4}
for i in my_dict:
print(my_dict[i]) | [
"bhartikumari20@navgurukul.org"
] | bhartikumari20@navgurukul.org |
7fed4d541de3bcf5193df154b82115797d4c2dd1 | 1521332438d4e711b6fa4af825047a3466925511 | /GuessingGame/guessingGame.py | 9bede277f18ac0b9985398ce5dc0e9f097dfbcd3 | [] | no_license | JakeAttard/Python-2807ICT-NoteBook | df0907bdca9ff10f347498233260c97f41ea783b | 9a38035d467e569b3fb97f5ab114753efc32cecc | refs/heads/master | 2020-04-26T17:33:18.184447 | 2019-11-05T13:04:56 | 2019-11-05T13:04:56 | 173,717,675 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 619 | py | import random
randomNumber = random.randint(1, 10)
player = None
while True:
player = input("Pick a number from 1 to 10:")
player = int(player)
if player < randomNumber:
print("The number you entered is to low!")
elif player > randomNumber:
print("The number you entered is to high!")
... | [
"jakeattard18@gmail.com"
] | jakeattard18@gmail.com |
d06c93dc79f19ab2a2e5a94c345f87b70f022eb9 | 83de24182a7af33c43ee340b57755e73275149ae | /aliyun-python-sdk-sgw/aliyunsdksgw/request/v20180511/DeleteGatewayBlockVolumesRequest.py | a2c400048585f93262c6d389ea4f5bc52f6e85d2 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-python-sdk | 4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f | 83fd547946fd6772cf26f338d9653f4316c81d3c | refs/heads/master | 2023-08-04T12:32:57.028821 | 2023-08-04T06:00:29 | 2023-08-04T06:00:29 | 39,558,861 | 1,080 | 721 | NOASSERTION | 2023-09-14T08:51:06 | 2015-07-23T09:39:45 | Python | UTF-8 | Python | false | false | 2,010 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
b0ceda92856ed55a8490f94731a8f267fc40675d | 0d1ad7e5fca72ae767c7ddbe0406eb72e733596c | /smartedukart/urls.py | a435775c5b34ea5513f8ae112901fb76a26b0265 | [
"MIT"
] | permissive | Vishesh-Conbi/Chatbot | d223faa4e2935da3f9abec8821e97c69e18a03d9 | c6a966eb1947064eeffe1a1722d672ca560377bd | refs/heads/main | 2023-03-01T02:25:49.853907 | 2021-02-09T10:22:58 | 2021-02-09T10:22:58 | 337,365,376 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 973 | py | """quantum URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/3.1/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')
Class-based... | [
"="
] | = |
21d2e345e0a2621e72779c42482c834df4d1fbd2 | 83de24182a7af33c43ee340b57755e73275149ae | /aliyun-python-sdk-mse/aliyunsdkmse/request/v20190531/GetPluginsRequest.py | 2e7bb852993547f26504fbcc5ba4ee96f124d88f | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-python-sdk | 4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f | 83fd547946fd6772cf26f338d9653f4316c81d3c | refs/heads/master | 2023-08-04T12:32:57.028821 | 2023-08-04T06:00:29 | 2023-08-04T06:00:29 | 39,558,861 | 1,080 | 721 | NOASSERTION | 2023-09-14T08:51:06 | 2015-07-23T09:39:45 | Python | UTF-8 | Python | false | false | 2,227 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not u... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
777b484e21a94d9a58c37e2f1454817c52064f88 | 1577e1cf4e89584a125cffb855ca50a9654c6d55 | /pyobjc/pyobjc/pyobjc-framework-InputMethodKit-2.5.1/setup.py | ba422bf4177764d84954db4d4b0ead83c748c644 | [
"MIT"
] | permissive | apple-open-source/macos | a4188b5c2ef113d90281d03cd1b14e5ee52ebffb | 2d2b15f13487673de33297e49f00ef94af743a9a | refs/heads/master | 2023-08-01T11:03:26.870408 | 2023-03-27T00:00:00 | 2023-03-27T00:00:00 | 180,595,052 | 124 | 24 | null | 2022-12-27T14:54:09 | 2019-04-10T14:06:23 | null | UTF-8 | Python | false | false | 1,203 | py | '''
Wrappers for the "InputMethodKit" framework on MacOSX 10.5 or later. The
interfaces in this framework allow you to develop input methods.
These wrappers don't include documentation, please check Apple's documention
for information on how to use this framework and PyObjC's documentation
for general tips and tricks ... | [
"opensource@apple.com"
] | opensource@apple.com |
e30b8c178cbce1fead1bc6ca1ff2dd9f37b91ab0 | 2f1c6cbade026d6d48e1be38e7faeabb93a31e22 | /stock_prepicking/__openerp__.py | b66d4a5380ff125d4f862cf33afae9fe33457acb | [] | no_license | OdooBulgaria/odoo-stock-1 | 53f21f6b4d8eb5ed2902b5f74de38fc5fdee23b0 | 3ce7794519a1ad3a4eca32a6c709713039c793b4 | refs/heads/master | 2021-01-11T16:57:40.312964 | 2017-01-18T09:22:18 | 2017-01-18T09:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,346 | py | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution, third party addon
# Copyright (C) 2017- Vertel AB (<http://vertel.se>).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of th... | [
"apollo_zhj@msn.com"
] | apollo_zhj@msn.com |
f1f3b500c8af88016fadb2c242416fe86c0bce21 | 1065ec75d9ee668ffd7aafc6a8de912d7c2cee6f | /addons/script.icechannel.extn.extra.uk/plugins/livetv_uk/bbc_parliament_ltvi.py | d5fcbc1f8759f07f2c949ab8e4afcac6c5a7f8e4 | [] | no_license | bopopescu/kodiprofile | 64c067ee766e8a40e5c148b8e8ea367b4879ffc7 | 7e78640a569a7f212a771aab6a4a4d9cb0eecfbe | refs/heads/master | 2021-06-11T17:16:15.498281 | 2016-04-03T06:37:30 | 2016-04-03T06:37:30 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,034 | py | '''
Ice Channel
'''
from entertainment.plugnplay.interfaces import LiveTVIndexer
from entertainment.plugnplay import Plugin
from entertainment import common
class bbc_parliament(LiveTVIndexer):
implements = [LiveTVIndexer]
display_name = "BBC Parliament"
name = "bbc_parliament"
... | [
"sokasoka@hotmail.com"
] | sokasoka@hotmail.com |
60da94b3d5a56964d1f99e9185da3b986a435a2c | 7c99ea5b1ffe089c97615336daf4b6ceed9a5b00 | /Configurations/HighMass/v7_Full2017/ANlogplot_configuration_em.py | fd4651d3d926308afef03f77ab35c8b698d176ef | [] | no_license | flaviacetorelli/PlotsConfigurations | 948faadba356e1d5e6f546dc11dd8dacfe1c1910 | aa5cf802c86902378617f566186bc638e69f9936 | refs/heads/master | 2022-05-02T00:37:56.070453 | 2022-03-18T10:14:23 | 2022-03-18T10:14:23 | 235,580,894 | 0 | 1 | null | 2020-01-22T13:37:30 | 2020-01-22T13:37:29 | null | UTF-8 | Python | false | false | 920 | py | # example of configuration file
treeName= 'Events'
tag = 'Full2017_em'
# used by mkShape to define output directory for root files
outputDir = 'rootFile_'+tag
# file with TTree aliases
aliasesFile = 'aliases.py'
# file with list of variables
variablesFile = 'variables_forANplot.py'
# file with list of cuts
cutsF... | [
"dennis.roy@cern.ch"
] | dennis.roy@cern.ch |
8dc78b28e68a52e460a2066b41bc262bb6a51ea6 | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /140_gui/pyqt_pyside/examples/PyQt_PySide_book/003_Placing several components in the box/005_Class_QSizePolicy/087_Maximum - toClass.py | a62d182be878b1c769b07b9724d61facdfe71f69 | [] | 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 | 676 | py | from PySide import QtCore, QtGui
import sys
class SampleWindow(QtGui.QWidget):
def __init__(self):
super(SampleWindow, self).__init__()
self.setWindowTitle("QSizePolicy")
self.resize(300, 150)
label = QtGui.QLabel("Текст надписи")
button = QtGui.QPushButton("1")
p... | [
"sergejyurskyj@yahoo.com"
] | sergejyurskyj@yahoo.com |
bd8b5d7a9f75f9e6bb277b66405299801c4562c9 | a35b24c8c3c5bdf861f3cda9396f2fa6795ec929 | /abc/151/A.py | 23cd56bd48f947d327ee7e8669e4cf83569e9086 | [] | no_license | Msksgm/atcoder_msksgm_practice | 92a19e2d6c034d95e1cfaf963aff5739edb4ab6e | 3ae2dcb7d235a480cdfdfcd6a079e183936979b4 | refs/heads/master | 2021-08-18T16:08:08.551718 | 2020-09-24T07:01:11 | 2020-09-24T07:01:11 | 224,743,360 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 107 | py | def main():
C = input()
ans = chr(ord(C)+1)
print(ans)
if __name__ == "__main__":
main()
| [
"4419517@ed.tus.ac.jp"
] | 4419517@ed.tus.ac.jp |
6794fead579bf4d1b7bfe5452a1893e0a5b910d7 | cc1b87f9368e96e9b3ecfd5e0822d0037e60ac69 | /telemetry/telemetry/internal/platform/desktop_platform_backend_unittest.py | fe8ed448e677934ec0a9d9f2589cb9bca8531572 | [
"BSD-3-Clause"
] | permissive | CTJyeh/catapult | bd710fb413b9058a7eae6073fe97a502546bbefe | c98b1ee7e410b2fb2f7dc9e2eb01804cf7c94fcb | refs/heads/master | 2020-08-19T21:57:40.981513 | 2019-10-17T09:51:09 | 2019-10-17T18:30:16 | 215,957,813 | 1 | 0 | BSD-3-Clause | 2019-10-18T06:41:19 | 2019-10-18T06:41:17 | null | UTF-8 | Python | false | false | 1,019 | py | # Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import unittest
import mock
from telemetry.internal.platform import linux_platform_backend
from telemetry.internal.platform import win_platform_backend
from... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
7ceea105afcc67fa44c8cad1a7685eb46fca8ee6 | 214230d0796377be0bfdda286c2c389b92a19555 | /SCTF/2018 Quals/ding_j_max/solver.py | deea8232606f93e63bd58390cfbbbbe41597a98c | [
"Unlicense"
] | permissive | Qwaz/solved-hacking-problem | fa5ebfeb98ec979cf57dac1470a651199f2dc50d | cda0db4888322cce759a7362de88fff5cc79f599 | refs/heads/master | 2023-08-24T03:45:12.481496 | 2023-07-16T12:38:08 | 2023-07-16T12:38:08 | 49,208,719 | 100 | 28 | null | 2022-03-24T00:51:04 | 2016-01-07T14:18:18 | HTML | UTF-8 | Python | false | false | 1,379 | py | import sys
from pwn import *
# SCTF{I_w0u1d_l1k3_70_d3v3l0p_GUI_v3rs10n_n3x7_t1m3}
GDB_HEADER = '(gdb) '
BREAK_ADDR = 0x401412
PATCH_ADDR = 0x401415
def gdb_command(cmd):
gdb.recvuntil(GDB_HEADER)
gdb.sendline(cmd)
gdb = process(['gdb', './dingJMax', sys.argv[1]])
gdb_command('b *0x%x' % BREAK_ADDR)
conte... | [
"qwazpia@gmail.com"
] | qwazpia@gmail.com |
08b3ed5e21ee24030807a466581e83ed6918823d | 3bc089a77598694aace6b060c3aca5e9bb1e156b | /exercises/1901100254/1001S02E05_string.py | ce51182891da02309452743bc68fdcb04a6192ba | [] | no_license | Lily0905/selfteaching-python-camp | 8a91dc47b707a0e605c0722e7a50c402e3c61968 | bf1b8ea3b064937f650d50e83d98847bfc567bae | refs/heads/master | 2020-07-29T19:56:24.761264 | 2019-09-20T08:46:48 | 2019-09-20T08:46:48 | 209,940,920 | 1 | 0 | null | 2019-09-21T07:06:42 | 2019-09-21T07:06:42 | null | UTF-8 | Python | false | false | 1,720 | py |
text = '''
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although... | [
"43633521+liujiayi0042@users.noreply.github.com"
] | 43633521+liujiayi0042@users.noreply.github.com |
aff0f112469e96ffe9c9ca4c1b77779cb217de75 | 90419da201cd4948a27d3612f0b482c68026c96f | /sdk/python/pulumi_azure_nextgen/portal/v20181001/get_console.py | e0491ed0df58d54c014286ff88faba9f6cd5b828 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | test-wiz-sec/pulumi-azure-nextgen | cd4bee5d70cb0d332c04f16bb54e17d016d2adaf | 20a695af0d020b34b0f1c336e1b69702755174cc | refs/heads/master | 2023-06-08T02:35:52.639773 | 2020-11-06T22:39:06 | 2020-11-06T22:39:06 | 312,993,761 | 0 | 0 | Apache-2.0 | 2023-06-02T06:47:28 | 2020-11-15T09:04:00 | null | UTF-8 | Python | false | false | 1,891 | py | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union
from ... import _utilities, _tables
from... | [
"public@paulstack.co.uk"
] | public@paulstack.co.uk |
ecf43cb2b8cf8ecea51db2d3ff7ead25d563ea67 | 70026e9e5a6d9f70057574c749d0ef8b603763f5 | /audits/admin.py | b0e64b5c5137ec5c2e55b741815363af7c6ef548 | [
"MIT"
] | permissive | GreenBankObservatory/nrqz_admin | 96b113e640bfdec221631626114665ef1f684cc5 | c8e0876c3ab7a3feae578fa725dbfd1bdbe52a61 | refs/heads/master | 2023-05-11T16:28:21.731339 | 2023-05-01T14:25:25 | 2023-05-01T14:25:25 | 159,407,852 | 2 | 0 | MIT | 2022-12-14T04:13:35 | 2018-11-27T22:22:48 | Python | UTF-8 | Python | false | false | 307 | py | from django.contrib import admin
from django_import_data.models import (
ModelImportAttempt,
FileImporter,
FileImportAttempt,
)
@admin.register(FileImporter)
class FileImporterAdmin(admin.ModelAdmin):
fields = ("file_path",)
admin.site.register([ModelImportAttempt, FileImportAttempt])
| [
"tchamber@nrao.edu"
] | tchamber@nrao.edu |
4e75fe3dfeffd6dd6d9727a0a14677fe8e3f681b | bd10d096a40f6ac88ea4ade678297cb4552626b3 | /core/nginx/config.py | 360ce683f0779e1c31e947f3ddf4d8ce13b88a42 | [
"MIT"
] | permissive | rageOS/Mailu | 26db34b082251673de5e6ff91f4668578bb996ac | 319965a4afa461a3cb63e6cf20100d9d7fe80c48 | refs/heads/master | 2021-08-23T11:38:20.771680 | 2017-12-03T18:37:36 | 2017-12-03T18:37:36 | 113,082,186 | 0 | 0 | null | 2017-12-04T18:57:07 | 2017-12-04T18:57:06 | null | UTF-8 | Python | false | false | 1,036 | py | #!/usr/bin/python
import jinja2
import os
convert = lambda src, dst, args: open(dst, "w").write(jinja2.Template(open(src).read()).render(**args))
args = os.environ.copy()
# Get the first DNS server
with open("/etc/resolv.conf") as handle:
content = handle.read().split()
args["RESOLVER"] = content[content.in... | [
"pierre@jaury.eu"
] | pierre@jaury.eu |
22dc7e14aaa24e3ff8644caf46c78a53ff96d37b | 8afb5afd38548c631f6f9536846039ef6cb297b9 | /GIT-USERS/TOM-Lambda/CSEUFLEX_Intro_Python_GP/equipment.py | 8b4dff5975c361bf9cd8643cdde3ddad059ce7ea | [
"MIT"
] | permissive | bgoonz/UsefulResourceRepo2.0 | d87588ffd668bb498f7787b896cc7b20d83ce0ad | 2cb4b45dd14a230aa0e800042e893f8dfb23beda | refs/heads/master | 2023-03-17T01:22:05.254751 | 2022-08-11T03:18:22 | 2022-08-11T03:18:22 | 382,628,698 | 10 | 12 | MIT | 2022-10-10T14:13:54 | 2021-07-03T13:58:52 | null | UTF-8 | Python | false | false | 676 | py | <<<<<<< HEAD
# make an equipment class with the fields of
=======
# make an equipment class with the fields of
>>>>>>> 23fb4d348bb9c7b7b370cb2afcd785793e3816ea
# name, price, style and weight
# that inherits from the product class
from product import Product
<<<<<<< HEAD
=======
>>>>>>> 23fb4d348bb9c7b7b370cb2afcd7... | [
"bryan.guner@gmail.com"
] | bryan.guner@gmail.com |
312b2e57144f885c8394f8deee7110fb7f0dddc8 | a6ff5be50b499ffb36294e1e93ce59b138bfe622 | /test/test_integration_event.py | 636dbfb935bca44a3e065c688ab7c799920b2635 | [
"MIT"
] | permissive | MostafaSalah222/talon_one.py | 7221ebc54831dce33f1724fe0856093145d7add8 | f863bb3c2cc5ddc94d9227adcf14947b2ea7db41 | refs/heads/master | 2023-07-27T06:03:43.849686 | 2021-09-07T08:56:41 | 2021-09-07T09:01:25 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,069 | py | # coding: utf-8
"""
Talon.One API
The Talon.One API is used to manage applications and campaigns, as well as to integrate with your application. The operations in the _Integration API_ section are used to integrate with our platform, while the other operations are used to manage applications and campaigns. #... | [
"noreply@github.com"
] | MostafaSalah222.noreply@github.com |
123ace045db3cd03e44cc51df57ed19c1a98d7f3 | 15b12d69ac3123d1562986970ce01d7a47d171de | /SetOperation.py | 34a7d487b53786c9b2b62ea9c17e5f2fef42dc6c | [
"Apache-2.0"
] | permissive | simplymanas/python-learning | 9b67b5a7acfb3a7c2455a7d1fc66203a2b419c37 | 75bc99c0dce211fd1bce5f6ce1155e0f4c71d7d0 | refs/heads/master | 2021-07-11T06:40:24.803589 | 2021-06-20T12:06:02 | 2021-06-20T12:06:02 | 241,769,614 | 5 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,103 | py |
# Date: 27th Jun 2020
# Lets learn Set Theory in Python
# Few Operations on Sets
# Let's take two sets
first_set = {11, 21, 31, 41, 51}
second_set = {11, 61, 71, 81, 31}
print('First Set : ' + str(first_set))
print('Second Set : ' + str(second_set))
# The basic operations are:
# 1. Union of Sets
print('\nUNION o... | [
"manas.dash@tesco.com"
] | manas.dash@tesco.com |
d0445a3dd070f62e6c3fd5d3d07c7b2cf5099e81 | 4505ae4b6fee0e32d799f22c32b18f79884daef4 | /src/keras/tests/keras/layers/merge_test.py | 563db757910965b28cf74eb1bc186549f8bb6a59 | [
"MIT",
"Apache-2.0"
] | permissive | lu791019/iii_HA_Image_Recognition_DL | 5cde9c2d0c06f8fe3fb69991b27fda87d42450e1 | d5f56d62af6d3aac1c216ca4ff309db08a8c9072 | refs/heads/master | 2020-08-03T06:56:05.345175 | 2019-09-29T13:20:24 | 2019-09-29T13:20:24 | 211,660,905 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,542 | py | import pytest
import numpy as np
from numpy.testing import assert_allclose
from keras import layers
from keras import models
from keras import backend as K
from keras.utils.test_utils import layer_test
from keras.layers import merge
def test_merge_add():
i1 = layers.Input(shape=(4, 5))
i2 = layers... | [
"noreply@github.com"
] | lu791019.noreply@github.com |
08a0c9f6e3366da46ae6a7717e53a2a4c44730be | 91352985ae08a37e916c43c554ecb3efa58ed78a | /ravens/ravens/tasks/defs_cables.py | 31bbef75ac5ee850e7893ae6e54ec13a3fabe589 | [
"Apache-2.0",
"CC-BY-4.0"
] | permissive | danhernest-rist/google-research | 67614077b00d2d3145ccd5b132301f6a090f8206 | 6a1d89380b819b1ddbc8b2f400228828a80aba9b | refs/heads/master | 2023-09-03T07:26:06.255324 | 2021-10-19T06:28:08 | 2021-10-19T06:28:08 | 311,953,493 | 0 | 0 | Apache-2.0 | 2021-07-28T13:53:39 | 2020-11-11T11:42:00 | Jupyter Notebook | UTF-8 | Python | false | false | 23,620 | py | # coding=utf-8
# Copyright 2020 The Google Research Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicab... | [
"copybara-worker@google.com"
] | copybara-worker@google.com |
3d858e5db1b1ab965f3a747beeefb92469f199af | 216cbe15186bca5f48d422cb55e059ed72b1f9c8 | /models.py | f0295f6cb8b2c93d12f6851da0eaa22b9d12672a | [] | no_license | mehdidc/modnet | 9bf4d3a713b20279e3c533932d9875f19cfeff00 | 5d17d895ea5f69a2bf8cdb60bb3adc6826a4df10 | refs/heads/master | 2020-04-13T08:42:58.139445 | 2018-12-27T22:46:10 | 2018-12-27T22:46:10 | 163,089,719 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,540 | py | import torch.nn as nn
import torch
import math
def weight_init(m):
if isinstance(m, nn.Conv2d):
n = m.kernel_size[0] * m.kernel_size[1] * m.out_channels
m.weight.data.normal_(0, math.sqrt(2. / n))
elif isinstance(m, nn.BatchNorm2d):
m.weight.data.fill_(1)
m.bias.data.zero_()
... | [
"mehdicherti@gmail.com"
] | mehdicherti@gmail.com |
9bb15e41ae62f4d5977caeaa5b592386b4a87562 | 6219e6536774e8eeb4cadc4a84f6f2bea376c1b0 | /scraper/storage_spiders/kemlrocrecom.py | 4b4717cfcc86c97a8622f2359d87ec9eb1eaf697 | [
"MIT"
] | permissive | nguyenminhthai/choinho | 109d354b410b92784a9737f020894d073bea1534 | d2a216fe7a5064d73cdee3e928a7beef7f511fd1 | refs/heads/master | 2023-05-07T16:51:46.667755 | 2019-10-22T07:53:41 | 2019-10-22T07:53:41 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,000 | py | # Auto generated by generator.py. Delete this line if you make modification.
from scrapy.spiders import Rule
from scrapy.linkextractors import LinkExtractor
XPATH = {
'name' : "//div[@class='detai_product_right']/h1",
'price' : "//div[@class='detai_product_gia']/span",
'category' : "//h2[@class='dita_name_... | [
"nguyenchungthuy.hust@gmail.com"
] | nguyenchungthuy.hust@gmail.com |
aa1f36de03e34eaff8ca75902441da8ade24fd46 | 2106e17ab0e564e8ad0b2c907e47795ec6d4835b | /examples/neural_networks/plot_mlp_alpha.py | f04f3462ba3d1a818977763991e332ac8f655e0d | [
"BSD-3-Clause"
] | permissive | smartscheduling/scikit-learn | 31eca6d5894399f003fcc607224c28831bdf86e8 | f773bb5413bf367167ce265df019c3237096ef49 | refs/heads/master | 2021-01-24T15:44:04.473676 | 2014-10-13T20:42:16 | 2014-10-13T20:42:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,120 | py | """
================================================
Varying regularization in Multi-layer Perceptron
================================================
A comparison of different regularization term 'alpha' values on synthetic
datasets. The plot shows that different alphas yield different decision
functions.
Alpha is a... | [
"issam.laradji@gmail.com"
] | issam.laradji@gmail.com |
f1cde5699db50e9afd62a6633e1d18b2c8f11428 | 9a6ae760c478f136e09c78eeff06770929f93afb | /demo2/polls/migrations/0003_auto_20190705_1417.py | 31d6dc20dd57a17db99af07be3c9ff60fe917e9e | [] | no_license | zzy0371/Py1904 | adb0faa2e29abefe08ed81835573626ce2bcd899 | 47e24a34d49356f64ffdf87bb7e1b7009b215511 | refs/heads/master | 2022-12-11T08:10:06.160540 | 2019-07-18T08:11:33 | 2019-07-18T08:11:33 | 194,625,297 | 0 | 0 | null | 2022-04-22T21:54:48 | 2019-07-01T07:50:54 | JavaScript | UTF-8 | Python | false | false | 377 | py | # Generated by Django 2.2.1 on 2019-07-05 06:17
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('polls', '0002_temp'),
]
operations = [
migrations.AlterField(
model_name='temp',
name='desc',
field=mode... | [
"496575233@qq.com"
] | 496575233@qq.com |
fb1c05fe450cfdeacced4b7a11ff507c7d783914 | 1f79d9d02810a944c45fc962c62159035c5a2247 | /migrations/versions/37878b76721_.py | b8ea073ef84a3fa65312468c4ebe2d712c125626 | [] | no_license | qsq-dm/mff | 5f17d6ffd1d4742dc46d1367cff35233af08a450 | d7f1e6f3fba95fe0d8ebb8937dda64a17e71f048 | refs/heads/master | 2020-12-29T02:19:29.037394 | 2016-08-01T15:40:42 | 2016-08-01T15:40:42 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 770 | py | """empty message
Revision ID: 37878b76721
Revises: 3107ca470fdf
Create Date: 2016-02-27 10:16:36.087236
"""
# revision identifiers, used by Alembic.
revision = '37878b76721'
down_revision = '3107ca470fdf'
from alembic import op
import sqlalchemy as sa
def upgrade():
### commands auto generated by Alembic - pl... | [
"root@localhost"
] | root@localhost |
c3f357915308c406450f3af0a4a588a2ddcb9b30 | 7d667b70c8ae1c8f214b85d613d3a98462af9d0c | /froide/foirequestfollower/tests.py | 68fc03b7be15659bbbca939ec138dc0a38e27a53 | [
"MIT"
] | permissive | handlingar/froide | c57653a87a05fb402c1fe61f0df1ff480391f911 | 5ed80cf6550fb4cbc757029b2c860b53e784eb93 | refs/heads/master | 2021-05-28T18:13:17.573095 | 2015-06-18T13:00:16 | 2015-06-18T13:00:16 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,564 | py | from __future__ import with_statement
import re
import factory
from django.test import TestCase
from django.core.urlresolvers import reverse
from django.core import mail
from django.contrib.auth import get_user_model
from django.contrib.comments.forms import CommentForm
from django.contrib.comments.models import Comm... | [
"mail@stefanwehrmeyer.com"
] | mail@stefanwehrmeyer.com |
99206d1556504fc1696b6afc8d4d1e3e31d90434 | 5ef87d7308fd7a6a56c1fa4795e733820144fdac | /dataloader.py | 17f7c33ace3b82ace471b974c9a8a181e6639d91 | [
"Apache-2.0"
] | permissive | pprp/SimpleClassifier | 19bdcdbad5a9f3d3cd6b22f545fa0037fd94f659 | ad6d664364ebdba0efcab7366a75a179995e43cb | refs/heads/master | 2020-09-27T10:41:20.682317 | 2019-12-16T13:43:12 | 2019-12-16T13:43:12 | 226,497,408 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,608 | py | import torch
from config import cfg
from torchvision import transforms, datasets
# part 0: parameter
input_size = cfg.INPUT_SIZE
batch_size = cfg.BATCH_SIZE
# part 1: transforms
train_transforms = transforms.Compose([
transforms.RandomRotation(5),
transforms.RandomResizedCrop(input_size[0]),
transforms.Ra... | [
"1115957667@qq.com"
] | 1115957667@qq.com |
1b9b1d16718a056c304343417313209c8d7cde59 | 6fa701cdaa0d83caa0d3cbffe39b40e54bf3d386 | /google/cloud/dialogflow/v2/dialogflow-v2-py/google/cloud/dialogflow_v2/services/intents/transports/base.py | 00ca9ac3dc52d11bc4eccb9cbcc32ac4d52a1dbc | [
"Apache-2.0"
] | permissive | oltoco/googleapis-gen | bf40cfad61b4217aca07068bd4922a86e3bbd2d5 | 00ca50bdde80906d6f62314ef4f7630b8cdb6e15 | refs/heads/master | 2023-07-17T22:11:47.848185 | 2021-08-29T20:39:47 | 2021-08-29T20:39:47 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 10,038 | 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 |
c79bbac857dfd71d4ab4da5645e78f296e69721d | 49a15ea9bdbf68575c034f2428ddc5bdc9b897d2 | /mysite/polls/urls.py | 5d787f4eae86d603e7098327aedff2e742373a0f | [] | no_license | chenhanfang/djangotest | 277a23c62cbf6b4d5e336642352e06d16c0238f3 | 96eeb865a4bc51fea345e54108081ae08a150e4f | refs/heads/master | 2020-12-30T18:03:24.955470 | 2017-05-17T09:41:52 | 2017-05-17T09:41:52 | 90,949,269 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 393 | py | from django.conf.urls import url
from . import views
app_name = 'polls'
urlpatterns=[
url(r'^$',views.index,name='index'),
url(r'^(?P<question_id>[0-9]+)/$',views.detail,name='detail'),
url(r'^(?P<question_id>[0-9]+)/results/$',views.results,name='results'),
url(r'^(?P<question_id>[0-9]+)/vote/$',views... | [
"chenhanfang@zhixunkeji.cn"
] | chenhanfang@zhixunkeji.cn |
cff098258b5b5b7e9de922770351d0c19a9f6d4d | 7d4e8492de331f8bed4ef625132a3c8bb1e44b3e | /src/exceptions/aws_exceptions.py | 90b29576c3400d52412ae100877495c039908dec | [
"ISC"
] | permissive | uk-gov-mirror/dwp.dataworks-behavioural-framework | f6d1d7a94a2b18be659acd444ae8d88615e4a162 | d7c143c0fc0c4ae9e86ece34ccc1a480df1f65ad | refs/heads/master | 2023-04-09T01:09:37.313078 | 2021-04-14T15:43:44 | 2021-04-14T15:43:44 | 356,707,701 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 224 | py | class AthenaQueryException(Exception):
"""Used when an exception occurs during an Athena query"""
pass
class HBaseQueryException(Exception):
"""Used when an exception occurs during an HBase query"""
pass
| [
"noreply@github.com"
] | uk-gov-mirror.noreply@github.com |
7323ef87e2046adea00e9391a8c96ad2e572d5a9 | fc5734ad9b0dc154b3a36ec2f5d848b3d693473f | /solutions/Trees and Graphs/Graphs/max_area_of_island.py | d75e31146c0bbabbdf6159e062b5edde686ccf2e | [
"MIT"
] | permissive | aimdarx/data-structures-and-algorithms | 8e51ec2144b6e0c413bc7ef0c46aba749fd70a99 | 1659887b843c5d20ee84a24df152fb4f763db757 | refs/heads/master | 2023-08-28T12:00:33.073788 | 2021-11-07T08:31:28 | 2021-11-07T08:31:28 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,754 | py | """
Max Area of Island:
You are given an m x n binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.)
You may assume all four edges of the grid are surrounded by water.
The area of an island is the number of cells with a value 1 in the island.
Return t... | [
"noreply@github.com"
] | aimdarx.noreply@github.com |
314d7d7f762ea47030a3ad526c45bdbd5b548225 | 9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97 | /sdBs/AllRun/pg_0825+428/sdB_pg_0825+428_lc.py | 6a60c6b876ec9ccf2d2ed0b809b4bb5139d1047f | [] | no_license | tboudreaux/SummerSTScICode | 73b2e5839b10c0bf733808f4316d34be91c5a3bd | 4dd1ffbb09e0a599257d21872f9d62b5420028b0 | refs/heads/master | 2021-01-20T18:07:44.723496 | 2016-08-08T16:49:53 | 2016-08-08T16:49:53 | 65,221,159 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 345 | py | from gPhoton.gAperture import gAperture
def main():
gAperture(band="NUV", skypos=[127.239792,42.678167], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_pg_0825+428/sdB_pg_0825+428_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3)
if __name_... | [
"thomas@boudreauxmail.com"
] | thomas@boudreauxmail.com |
c45a634d4051faca587362c4c6d02f814a05afe5 | 260133e46c0c88fd20f2ed18309c5f46508b7fb9 | /opengever/base/monkey/patches/action_info.py | e473fd4111bb55218ed7b680d6aba6c87f420f45 | [] | no_license | robertmuehsig/opengever.core | 4180fbea1436fade9b33232a293b0d43ebfc6c51 | 63b3747793d5b824c56eb3659987bb361d25d8d8 | refs/heads/master | 2020-09-08T14:55:00.340222 | 2019-11-08T10:16:02 | 2019-11-08T10:16:02 | 221,163,734 | 0 | 0 | null | 2019-11-12T08:08:59 | 2019-11-12T08:08:54 | null | UTF-8 | Python | false | false | 1,603 | py | from opengever.base.monkey.patching import MonkeyPatch
from Products.CMFCore.utils import _checkPermission
class PatchActionInfo(MonkeyPatch):
"""We patch the _checkPermissions() method of the ActionInfo object
in order to also consider our 'file_actions' category one that should
have its actions' permiss... | [
"lukas.graf@4teamwork.ch"
] | lukas.graf@4teamwork.ch |
9f1ce72275c26f6742415bae951f4b266f69a90a | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03711/s673158923.py | 24d0cec24c92d3886a0f6f29f107232db5bf4165 | [] | 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 | 199 | py | l = [4, 6, 9, 11]
x, y = map(int, input().split())
if x == 2 or y == 2:
print('No')
elif x in l and y in l:
print('Yes')
elif x not in l and y not in l:
print('Yes')
else:
print('No') | [
"66529651+Aastha2104@users.noreply.github.com"
] | 66529651+Aastha2104@users.noreply.github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.