blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
2d51f24f75bb3b6b21fb1210c3409e1c3063acde
f7778bf3b8173915c97193f51ff8a1ac2260a68a
/Section 3 code files/Code/webdirbuster.py
8645d7b32c1044ce087596ec1ac46444c4785168
[ "MIT" ]
permissive
PacktPublishing/Python-for-Automating-Information-Security
35f5ab480c430788e881017ec8c919be1524cc30
d6d1eaa053c3a5f5b103e17fefe8b4d9b33c0858
refs/heads/master
2023-05-25T12:34:43.912975
2023-01-30T09:16:51
2023-01-30T09:16:51
245,961,846
26
24
MIT
2023-05-22T22:44:20
2020-03-09T06:39:43
Python
UTF-8
Python
false
false
3,798
py
import argparse import json import re import requests from typing import List from urllib3.exceptions import InsecureRequestWarning quiet = False def print_message(message: str): """ Print message to STDOUT if the quiet option is set to False (this is the default). :param message: message to print :r...
[ "noreply@github.com" ]
PacktPublishing.noreply@github.com
34fc5d7be9fdfc130eb473c15b4b7bdb80a10ee2
463c053bcf3f4a7337b634890720ea9467f14c87
/python/ray/workflow/tests/test_lifetime.py
ece91c8445d32ee09fe290f16ece2e35641d73c0
[ "BSD-3-Clause", "MIT", "Apache-2.0" ]
permissive
pdames/ray
e8faddc4440976211a6bcead8f8b6e62c1dcda01
918d3601c6519d333f10910dc75eb549cbb82afa
refs/heads/master
2023-01-23T06:11:11.723212
2022-05-06T22:55:59
2022-05-06T22:55:59
245,515,407
1
1
Apache-2.0
2023-01-14T08:02:21
2020-03-06T20:59:04
Python
UTF-8
Python
false
false
1,596
py
import os import ray import time import pytest from ray._private.test_utils import ( run_string_as_driver_nonblocking, run_string_as_driver, ) from ray.tests.conftest import * # noqa from ray import workflow from unittest.mock import patch driver_script = """ import time import ray from ray import workflow ...
[ "noreply@github.com" ]
pdames.noreply@github.com
56da124f05b01e70233a87435baf0156aca9e476
ce76b3ef70b885d7c354b6ddb8447d111548e0f1
/own_year/new_thing.py
49f9081472a90473e35618be695869cba50090c3
[]
no_license
JingkaiTang/github-play
9bdca4115eee94a7b5e4ae9d3d6052514729ff21
51b550425a91a97480714fe9bc63cb5112f6f729
refs/heads/master
2021-01-20T20:18:21.249162
2016-08-19T07:20:12
2016-08-19T07:20:12
60,834,519
0
0
null
null
null
null
UTF-8
Python
false
false
240
py
#! /usr/bin/env python def way_or_great_work(str_arg): same_way_or_group(str_arg) print('year') def same_way_or_group(str_arg): print(str_arg) if __name__ == '__main__': way_or_great_work('few_point_or_different_thing')
[ "jingkaitang@gmail.com" ]
jingkaitang@gmail.com
504420d710edfc66b1f1a47c0510b3db3d98bd57
8f3336bbf7cd12485a4c52daa831b5d39749cf9b
/Python/remove-invalid-parentheses.py
dcc6a2c8e851f973a63f3c1085274a85e39313e6
[]
no_license
black-shadows/LeetCode-Topicwise-Solutions
9487de1f9a1da79558287b2bc2c6b28d3d27db07
b1692583f7b710943ffb19b392b8bf64845b5d7a
refs/heads/master
2022-05-30T22:16:38.536678
2022-05-18T09:18:32
2022-05-18T09:18:32
188,701,704
240
110
null
2020-05-08T13:04:36
2019-05-26T15:41:03
C++
UTF-8
Python
false
false
2,367
py
# Time: O(C(n, c)), try out all possible substrings with the minimum c deletion. # Space: O(c), the depth is at most c, and it costs n at each depth class Solution(object): def removeInvalidParentheses(self, s): """ :type s: str :rtype: List[str] """ # Calculate th...
[ "noreply@github.com" ]
black-shadows.noreply@github.com
2a0c7b9841901436c823d4d5e7c6ff16f4b4e7cc
38f765bc213d2c90e46f22922a7425cba28e6f00
/fetchr/packages/amplify.py
6632a0726d9f8c686a9b5f19a4ddb18a79ad98d3
[]
no_license
yejianye/fetchr
0d0572dc87beba93c7de3ece625682a4d753626e
90f8922617d35fcf24d902f21af398009d80ded4
refs/heads/master
2021-01-10T02:48:41.737322
2013-01-19T09:10:12
2013-01-19T09:10:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
310
py
from fetchr.packages.base import package, SimplePackage @package class Amplify(SimplePackage): """A set of tools solve problems of request, store, pub/sub""" version = '1.1.0' @property def cdn_urls(self): return ['//cdnjs.cloudflare.com/ajax/libs/amplifyjs/$version/amplify.min.js']
[ "yejianye@gmail.com" ]
yejianye@gmail.com
139b52a654e7e288a4b0a4ebaec109926cb274a6
2a67dc681af4c4b9ef7a8e18c2ff75377dc5b44f
/aws.cloudwatch.EventPermission.organization-access-python/__main__.py
96a5858ff755253665d97a47249d9fe835f082f2
[]
no_license
ehubbard/templates-aws
e323b693a18234defe6bd56ffcc64095dc58e3a1
2ae2e7a5d05490078017fed6d132dcdde1f21c63
refs/heads/master
2022-11-17T13:53:14.531872
2020-07-10T21:56:27
2020-07-10T21:56:27
null
0
0
null
null
null
null
UTF-8
Python
false
false
332
py
import pulumi import pulumi_aws as aws organization_access = aws.cloudwatch.EventPermission("organizationAccess", condition={ "key": "aws:PrincipalOrgID", "type": "StringEquals", "value": aws_organizations_organization["example"]["id"], }, principal="*", statement_id="Organizati...
[ "jvp@justinvp.com" ]
jvp@justinvp.com
9c2d9a898db1b9765259f287859f7910b04c5de5
c2092dbf89e74e1484f0468d21badfda2eafe19d
/backend/users/migrations/0002_auto_20201113_0020.py
2383bc55cf5cafb959552769c381e49d82d28c70
[]
no_license
crowdbotics-apps/jd-searcher-22572
1a47422d2c4f393562fc4389422b0906fed594b8
a194536595837400bf0e1fe0c1be5bbd262ff6b2
refs/heads/master
2023-01-06T21:14:55.102493
2020-11-13T00:20:57
2020-11-13T00:20:57
312,428,665
0
0
null
null
null
null
UTF-8
Python
false
false
1,275
py
# Generated by Django 2.2.17 on 2020-11-13 00:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', name='last_updated', ...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1a95d366947058c89f9419baffce0086c13280a6
36978086cf5f34e16ceac7c2649b49ccb4c5ac90
/config/munin/mongodb_replset_lag
0c2f3ed4bdbabde170d68abc6b6e9b74d14b19de
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
aragilar/NewsBlur
04e754093cd52bc2d9957ea767747d6d604dfbba
64ecd83bf4cea175f1bdeeb6e475fd5cadb679c9
refs/heads/master
2021-08-28T17:39:50.734396
2013-06-06T01:52:20
2013-06-06T01:52:37
10,520,281
0
0
MIT
2021-08-13T05:35:33
2013-06-06T06:26:24
Objective-C
UTF-8
Python
false
false
1,790
#!/usr/bin/env python # -*- coding: utf-8 -*- from munin.mongodb import MuninMongoDBPlugin PRIMARY_STATE = 1 SECONDARY_STATE = 2 class MongoReplicaSetLag(MuninMongoDBPlugin): vlabel = "seconds" title = "MongoDB Replica Set Lag" fields = [("optimeLag", {'label': "Oldest secondary lag"}), ("oplogLength", ...
[ "samuel@ofbrooklyn.com" ]
samuel@ofbrooklyn.com
4680394e14442b9e016dc3834172a4f40eede73b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/63/usersdata/239/32114/submittedfiles/swamee.py
aac7bfcabaa9fa811d2304d01539530e593c0d46
[]
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
506
py
# -*- coding: utf-8 -*- import math #COMECE SEU CÓDIGO AQUI f = float(input("Digite aqui o valor de f: ")) l = float(input("Digite aqui o valor de l: ")) q = float(input("Digite aqui o valor de q: ")) DH = float(input("Digite aqui o valor de Delta H: ")) v = float(input("Digite aqui o valor de v: ")) g = 9.81 e = 0.000...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
dbf52a834f34fa4f3c3318bcab831ea4e23f15a0
2748d523c4ced916b61e8f2a0ebd6c7237705f69
/core/forms.py
8d56e99d1aec9c278839b44ba66ef4cdee9daa37
[]
no_license
Titowisk/meubaz
52d5101bc107081c7175f27bb538efc6fecf5b24
1af586195123ffd13818695cff8cc286018a1c7b
refs/heads/master
2021-08-23T16:47:54.960522
2017-12-05T19:02:09
2017-12-05T19:02:09
106,558,018
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from django import forms from django.conf import settings from django.core.mail import send_mail class ContactForm(forms.Form): name = forms.CharField(label="Nome", max_length=100) email = forms.EmailField(label="E-mail") message = forms.CharField(label="Mensagem", widget=forms.Textarea) def sen...
[ "rabelo51@gmail.com" ]
rabelo51@gmail.com
ed3962679f3569de0efc57197373f7139220afbe
be0edc20433a6ad3bf4b8f448f1c457437de4c52
/huxley/core/admin/delegate.py
6f7e07e1c80d5f269090bfe38f1d8dd13775523a
[ "BSD-3-Clause" ]
permissive
ethanlee16/huxley
eca8c3c1d4ea543a5875c28d4cb5c81dc4e4eddb
5d601e952c711e9b6703170c78fb23fcc2734ead
refs/heads/master
2021-01-15T09:20:25.310737
2014-12-03T14:51:33
2014-12-03T14:51:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,306
py
# Copyright (c) 2011-2014 Berkeley Model United Nations. All rights reserved. # Use of this source code is governed by a BSD License (see LICENSE). import csv from django.conf.urls import patterns, url from django.contrib import admin from django.http import HttpResponse from huxley.core.models import Delegate cla...
[ "k.mehta@berkeley.edu" ]
k.mehta@berkeley.edu
769c233947bb21e73d616adc9283780a1161b902
43277f3962edfd5f16d116a3ed35cc08000a0707
/modular/badger_utils/sacred/experiment_config_diff.py
5d352aa5b1beb2c014775fb68bf4df78bac4dffd
[]
no_license
GoodAI/badger-2020
0cbeb60bf5b5fa2959504b1ba4489d5725646474
bb3822dbcbb04ed9c153c4deffa25a81011c8ce5
refs/heads/master
2021-07-15T12:49:44.227988
2021-03-02T19:06:06
2021-03-02T19:06:06
243,016,754
7
1
null
2020-08-10T13:13:51
2020-02-25T14:15:24
Jupyter Notebook
UTF-8
Python
false
false
3,324
py
from typing import Dict, Any, List, Tuple import pandas as pd from badger_utils.view.config_utils import tuple_to_dict class ExperimentConfigDiff: _diff: Dict[List[Tuple[str, Any]], List[int]] _common: Dict[str, Any] def __init__(self, common: Dict[str, Any], diff: Dict[List[Tuple[str, Any]], List[int]...
[ "jaroslav.vitku@goodai.com" ]
jaroslav.vitku@goodai.com
66335d806ccf0a4f3148e4dabc2ca3baa18b55b8
e1fada3a9846a5593e3d3d2fdc32b23b832e38b4
/tests/unit/cli/tools/test_eval.py
76eee501f89daf8095a5032255767270ab304ab5
[ "Apache-2.0" ]
permissive
GalyaZalesskaya/openvino_training_extensions
fd1ebb189900008b16b85568449e5c62d8edbad5
6116639caeff100b06a6c10a96c7e7f5951f20c7
refs/heads/develop
2023-09-03T19:32:44.702497
2023-03-15T06:48:24
2023-03-15T06:48:24
202,568,309
0
0
Apache-2.0
2019-10-28T16:16:27
2019-08-15T15:41:59
Python
UTF-8
Python
false
false
4,079
py
import argparse import pytest from otx.cli.tools import eval as target_package from otx.cli.tools.eval import get_args, main from tests.test_suite.e2e_test_system import e2e_pytest_unit @e2e_pytest_unit def test_get_args(mocker): mock_options = { "--test-data-roots": "test/data/root", "--load-we...
[ "noreply@github.com" ]
GalyaZalesskaya.noreply@github.com
cfe29c23297e0b8167a1f1a3e388e74ad9a83c5c
c8cd3dbcb783b6daad866be07be950bbc4cd9fe9
/boards/models.py
95ad56c05b421ac32e2b4d6d8490dcb0569a8431
[]
no_license
pauloendoh/django-boards
d6b42b829dee0c96c4bda676da5e2ac1977f0922
640c0672b049d190213f5bf318f390b40e697262
refs/heads/master
2020-03-13T03:43:19.604777
2018-04-26T02:22:58
2018-04-26T02:22:58
130,949,060
0
0
null
null
null
null
UTF-8
Python
false
false
2,223
py
from markdown import markdown from django.db import models from django.contrib.auth.models import User from django.utils.safestring import mark_safe from django.utils.text import Truncator import math class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField...
[ "paulo.endoh@gmail.com" ]
paulo.endoh@gmail.com
a56284f885fa48ed63884b6ce71bc6af019845e8
f13acd0d707ea9ab0d2f2f010717b35adcee142f
/Others/past/past201912-open/g/main.py
54e6af8dac7ce0af88307994ac3cc8aa07ba57a3
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
KATO-Hiro/AtCoder
126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7
bf43320bc1af606bfbd23c610b3432cddd1806b9
refs/heads/master
2023-08-18T20:06:42.876863
2023-08-17T23:45:21
2023-08-17T23:45:21
121,067,516
4
0
CC0-1.0
2023-09-14T21:59:38
2018-02-11T00:32:45
Python
UTF-8
Python
false
false
1,159
py
# -*- coding: utf-8 -*- def get_pairs(group): from itertools import combinations pairs = list() for p1, p2 in combinations(group, 2): if p1 > p2: continue pairs.append((p1, p2)) return pairs def main(): import sys from itertools import product input = sys...
[ "k.hiro1818@gmail.com" ]
k.hiro1818@gmail.com
c3e09bab0bfed296d9c0504d22539054f33298af
3b60e6f4bbc011003ac4929f01eb7409918deb79
/Analysis_v1/Simulation/Pythia/RSG/CP2RSGPythia8/RSGfragments/RSGravitonToGammaGamma_kMpl01_M_4750_TuneCP2_13TeV_pythia8_cfi.py
fb6cecf4012af20bf07d74d1f2cf406820e124f7
[]
no_license
uzzielperez/Analyses
d1a64a4e8730325c94e2bc8461544837be8a179d
1d66fa94763d7847011ea551ee872936c4c401be
refs/heads/master
2023-02-09T04:54:01.854209
2020-09-07T14:57:54
2020-09-07T14:57:54
120,850,137
0
0
null
2020-06-17T16:48:16
2018-02-09T03:14:04
C++
UTF-8
Python
false
false
1,157
py
import FWCore.ParameterSet.Config as cms from Configuration.Generator.Pythia8CommonSettings_cfi import * from Configuration.Generator.MCTunes2017.PythiaCP2Settings_cfi import * generator = cms.EDFilter("Pythia8GeneratorFilter", comEnergy = cms.double(13000.0), crossSection = cms.untracked.double(1.09...
[ "uzzie.perez@cern.ch" ]
uzzie.perez@cern.ch
5f3de75aad1afc4cfe886a3e0fe4d562ec53a65a
1a03664e4dd5f5fb12434d32129e612a76bf6d61
/core/loaders.py
ec96d2b6531d033017d8a3b7ea1fae80ede688e7
[]
no_license
SergioAnd95/refactored-adventure
6601dabaa0b7125a94f0010157e17862c84c1d32
553d1425b6d59f69b9c526eecff07df0f18835b4
refs/heads/master
2020-03-30T09:05:05.893448
2018-10-17T15:10:40
2018-10-17T15:10:40
151,059,439
0
0
null
null
null
null
UTF-8
Python
false
false
575
py
import importlib from settings import settings def autodiscover_app_module(module_name): for app in settings.INSTALLED_APPS: importlib.import_module(f'{app}.{module_name}') def discover_urls(): """ Find and return all routes from apps :return: list """ urlpatterns = [] for ...
[ "developinc@yandex.ru" ]
developinc@yandex.ru
f975e0a4d12496012b500813cfc94786bb7d9803
644b13f90d43e9eb2fae0d2dc580c7484b4c931b
/2019 baekjoon/Math/1676_factorial2.py
2481524d4c177197c939031d86cfa79bd6a652e5
[]
no_license
yeonnseok/ps-algorithm
c79a41f132c8016655719f74e9e224c0870a8f75
fc9d52b42385916344bdd923a7eb3839a3233f18
refs/heads/master
2020-07-09T11:53:55.786001
2020-01-26T02:27:09
2020-01-26T02:27:09
203,962,358
0
0
null
null
null
null
UTF-8
Python
false
false
564
py
# def factorial(num): # if num == 1: # return 1 # return num * factorial(num - 1) # # # def factorial_count(num): # target = list(str(factorial(num))) # count = 0 # for i in reversed(range(len(target))): # if target[i] == '0': # count += 1 # else: # re...
[ "smr603@snu.ac.kr" ]
smr603@snu.ac.kr
61a56e8f561435c4a10d86df63ea689a20d4c8df
49f61714a6f78d984fd2194d6064d84e891bc5b7
/2019-1/220/users/4266/codes/1693_1879.py
55a2e7d2215d87de2d3bec79e75dfecd21f22dde
[]
no_license
psbarros/Variaveis3
b5c4e1517e7d94a846ee03791d25d5821a1c651c
3dcf6f810709ce03c78335acf9533e008a2ae125
refs/heads/master
2023-06-13T07:05:00.878430
2021-07-06T17:51:37
2021-07-06T17:51:37
383,549,597
0
0
null
null
null
null
UTF-8
Python
false
false
319
py
# Ao testar sua solução, não se limite ao caso de exemplo. extras = float(input("Digite o numero de horas extras: ")) faltou = float(input("Digite o numero de horas que faltou: ")) h = extras - ((1/4)*faltou) if (h>400): g = 500.0 else: g = 100.0 print(extras, " extras e ", faltou, " de falta") print("R$ ",g)
[ "psb@icomp.ufam.edu.br" ]
psb@icomp.ufam.edu.br
056be20ed1e3365c7fdde9a90eaa63c5dcb36b19
cce1e235c2c8e58d83af6dbadeb471ca62b710a1
/hackerrank/data_structures/linked_lists/print_in_reverse.py
2ce2ada1121b872bcca83b376be97f1e9c07e040
[]
no_license
SebastianThomas1/coding_challenges
6b51ce046b458c44db809687b6809d16d066566f
bd3bc6be7a975b6255e4b2198c953d56bd74e75a
refs/heads/master
2023-03-03T00:18:00.147369
2021-02-08T21:52:02
2021-02-08T21:52:02
336,688,955
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
# Sebastian Thomas (coding at sebastianthomas dot de) # https://www.hackerrank.com/challenges/print-the-elements-of-a-linked-list-in-reverse # # Print in Reverse class SinglyLinkedListNode: def __init__(self, node_data): self.data = node_data self.next = None def reverse(head): current_node ...
[ "sigma.online@gmx.de" ]
sigma.online@gmx.de
828390637851af3ac878569b4c3b034030f07415
f9d564f1aa83eca45872dab7fbaa26dd48210d08
/huaweicloud-sdk-css/huaweicloudsdkcss/v1/model/setting.py
0c3511543b950ff7b9b7c9005a2fe6122a67016d
[ "Apache-2.0" ]
permissive
huaweicloud/huaweicloud-sdk-python-v3
cde6d849ce5b1de05ac5ebfd6153f27803837d84
f69344c1dadb79067746ddf9bfde4bddc18d5ecf
refs/heads/master
2023-09-01T19:29:43.013318
2023-08-31T08:28:59
2023-08-31T08:28:59
262,207,814
103
44
NOASSERTION
2023-06-22T14:50:48
2020-05-08T02:28:43
Python
UTF-8
Python
false
false
9,314
py
# coding: utf-8 import six from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization class Setting: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name ...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
8585c66c448b22e2add5a38e02bc37cc636d7286
395b2e9718eeb5035995130b2377c47b8df05614
/tests/attack/test_pgd.py
87973fe5b11c7e424ec3918db6a543beef229bab
[]
no_license
gatheluck/fourier-attack
0a6d773e268bf1e480f04a43dcc72905af804b43
1668f0d2eed6182cb69904c49fe223e78cb5d0cc
refs/heads/master
2023-03-10T05:15:10.897205
2021-03-01T08:19:10
2021-03-01T08:19:10
320,191,916
1
0
null
2021-03-01T08:19:11
2020-12-10T07:21:19
Python
UTF-8
Python
false
false
2,035
py
import pathlib from typing import Final import torch import torchvision import fourier_attack.attack.pgd from fourier_attack.util import Denormalizer class TestPgdAttack: def test__forward( self, pretrained_cifar10_resnet50, cifar10_stats, normalize_cifar10_loader ): input_size: Final = 32 ...
[ "gatheluck+tech@gmail.com" ]
gatheluck+tech@gmail.com
ee47a4b6d23e2e42d141640137a6287efceccf21
951f4f4611e5bf2dc3970cc38aa545a54b78690b
/google/cloud/billing/budgets_v1/services/budget_service/pagers.py
7dd43d59a473e66b6fa0df2247a29735ee27397a
[ "Apache-2.0" ]
permissive
renovate-bot/python-billingbudgets
e54771361e1e9239697e23255b00f6551a1d18b7
2b1e66fa19415f56e33713d57fcc516efca6d03a
refs/heads/master
2023-06-08T01:23:04.490451
2021-08-18T15:42:00
2021-08-18T15:42:00
227,000,311
0
0
Apache-2.0
2019-12-10T01:13:52
2019-12-10T01:13:51
null
UTF-8
Python
false
false
5,860
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...
[ "noreply@github.com" ]
renovate-bot.noreply@github.com
c764dffcf73e377fbeab0b1e3fe032ab8004b975
5b19ced6bd173baf11c4b5e9d1c08f17ca635773
/Python/数字在排序数组中出现的次数.py
3f6a48c6ebcbfd2edb992331e21d261b5f5d29a5
[]
no_license
zhaoqun05/Coding-Interviews
8efe579b6a1a6186107f599a31a9e96389df52f3
e05c1e6390b3df49dd02571e13fb8a3822eae649
refs/heads/master
2022-01-08T13:30:06.542796
2019-06-18T14:00:55
2019-06-18T14:00:55
282,934,693
2
0
null
2020-07-27T15:13:54
2020-07-27T15:13:53
null
UTF-8
Python
false
false
1,253
py
''' 统计一个数字在排序数组中出现的次数。 ''' # -*- coding:utf-8 -*- class Solution: def GetNumberOfK(self, data, k): # 直观的想法从前到后的顺序遍历,但是算法题几乎不会将顺序查找作为考察要点…… def getFirst(nums): start, end = 0, len(nums) - 1 while start <= end: mid = (start + end) // 2 if da...
[ "1215470124@qq.com" ]
1215470124@qq.com
104aa7236b2381b4af5aa9d9053a24f682ac2631
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/39/usersdata/86/15445/submittedfiles/dec2bin.py
0fccfb359d06440edc18ae24c0887321b3568f73
[]
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
168
py
# -*- coding: utf-8 -*- from __future__ import division d = int(input('d:')) soma=0 cont=0 while d>0: soma=soma+d%2*10**cont d=d//2 cont=cont+1 print(soma)
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
847428dbe3d202faf10a5e562519c1f606de2698
8dc84558f0058d90dfc4955e905dab1b22d12c08
/third_party/catapult/telemetry/bin/run_snap_it_unittest
288474f3a3d87e0d7a4684e5fbb8c7beafe91870
[ "LGPL-2.0-or-later", "GPL-1.0-or-later", "MIT", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
meniossin/src
42a95cc6c4a9c71d43d62bc4311224ca1fd61e03
44f73f7e76119e5ab415d4593ac66485e65d700a
refs/heads/master
2022-12-16T20:17:03.747113
2020-09-03T10:43:12
2020-09-03T10:43:12
263,710,168
1
0
BSD-3-Clause
2020-05-13T18:20:09
2020-05-13T18:20:08
null
UTF-8
Python
false
false
1,727
#!/usr/bin/env python # Copyright (c) 2017 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 os import sys TELEMETRY_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), '..') sys.path.append(TELEMETRY_DIR)...
[ "arnaud@geometry.ee" ]
arnaud@geometry.ee
4e2d44d096408a816838502d7c6b3b8ddca6a483
737a67744a98a536eccf5e2012628271f9120f79
/django/integration/apps/coursesApp/urls.py
6d242cf48c1525964f3352f9758845e37abff9d8
[]
no_license
iota-cohort-dc/Daniel-Perez
31d581cf6494d69404925685ca55ec9a9b97611c
57b6a69e4f6e02f8b0694787ab195e08ad5dc52b
refs/heads/master
2021-01-20T16:59:30.730460
2017-07-03T04:12:16
2017-07-03T04:12:16
82,850,732
0
1
null
null
null
null
UTF-8
Python
false
false
443
py
from django.conf.urls import url, include from . import views urlpatterns = [ url(r'^$', views.index, name= "my_index"), url(r'^addcourse$', views.addcourse), url(r'^remove/(?P<id>\d+)$', views.remove, name= "remove"), url(r'^remove/nah$', views.nah), url(r'^delete/(?P<id>\d+)$', views.delete, name...
[ "perez0231@yahoo.com" ]
perez0231@yahoo.com
e6f473220e6ba826010f02a19ed5052645008b2f
179c9b2983ba3d4a3757f84fd55ac1356850c363
/jinete/algorithms/heuristics/local_search/strategies/routes/one_shift.py
67ed11e8558cde8355886ac88d94ef2aa23b27ae
[ "MIT" ]
permissive
garciparedes/jinete
0d2fbf68a88b0ec565b8c1ed5c417f8f7cacceb0
6ed5687b2016aa7eb1f6499470c6ea21a9a57b8a
refs/heads/master
2023-03-29T00:35:34.575828
2020-09-19T11:02:05
2020-09-19T11:02:05
150,865,909
9
2
MIT
2023-03-16T21:41:17
2018-09-29T13:17:05
Python
UTF-8
Python
false
false
1,834
py
import logging from ......models import ( Route, Stop, ) from ..abc import ( LocalSearchStrategy, ) logger = logging.getLogger(__name__) class OneShiftLocalSearchStrategy(LocalSearchStrategy): def _improve(self) -> None: logger.info(f'Starting to improve "Result" with "{self.__class__.__name...
[ "sergio@garciparedes.me" ]
sergio@garciparedes.me
8cef7439cfc2680d9b2889fa9559a4c1184b7d58
f508da1fd2e65491e1e6b5dd3a64d8bf6039bc6c
/eho/openstack/common/jsonutils.py
f800779f11987bc90c847efa74d36a2629bee971
[ "Apache-2.0" ]
permissive
senhuang/eho
b9595739b109829b44e6d538b36348ac84529af8
ca4dba1d0e7ab24d748b746e115ca6dc2191997a
refs/heads/master
2021-01-21T00:36:50.271363
2013-03-19T07:55:50
2013-03-19T07:55:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,110
py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011 Justin Santa Barbara # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may #...
[ "slukjanov@mirantis.com" ]
slukjanov@mirantis.com
79ce11ae807730b501809588bdbc2b9dec1e9067
effce116340b7d937bd285e43b49e1ef83d56156
/data_files/662 Maximum Width of Binary Tree.py
ee04fcc76e296c46188c5e41ed7b3c9c54194e8b
[]
no_license
DL2021Spring/CourseProject
a7c7ef57d69bc1b21e3303e737abb27bee3bd585
108cdd906e705e9d4d05640af32d34bfc8b124da
refs/heads/master
2023-04-11T18:52:30.562103
2021-05-18T09:59:59
2021-05-18T09:59:59
365,733,976
0
1
null
null
null
null
UTF-8
Python
false
false
668
py
class TreeNode: def __init__(self, x): self.val = x self.left = None self.right = None class Solution: def widthOfBinaryTree(self, root: TreeNode) -> int: if not root: return 0 ret = 0 q = [(0, root)] while q: cur...
[ "1042448815@qq.com" ]
1042448815@qq.com
881083827d5bbb4da11a5b9d7edec6b217bc34d4
033da72a51c76e5510a06be93229a547a538cf28
/Data Engineer with Python Track/21. Cleaning Data in SQL Server Databases/Chapter/04. Combining, splitting, and transforming data/01-Combining cities and states using +.py
c42e7743cf2ea24d935eb8842b2408c0e660b1ad
[]
no_license
ikhwan1366/Datacamp
d5dcd40c1bfeb04248977014260936b1fb1d3065
7738614eaebec446842d89177ae2bc30ab0f2551
refs/heads/master
2023-03-06T13:41:06.522721
2021-02-17T22:41:54
2021-02-17T22:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,403
py
''' Combining cities and states using + In this lesson, you learned how to combine columns into one. The clients table has one column, city, to store the cities where the clients live, and another column, state, to store the state of the city. | client_id | client_name | client_surname | city | state | |-...
[ "surel.chandrapratama@gmail.com" ]
surel.chandrapratama@gmail.com
65f649c9c12a0a4648e29cef731ddb6c40fbe6ef
100193a599cd9961356b2c2ee13c734e467b9713
/cc/apps/coder/migrations/0003_auto__add_participant.py
e0a754b87b3635d299c77eea42dd6f992853ed21
[ "MIT" ]
permissive
mavroskardia/codechallenge
bd3678003d933b834eddc1d36dda74e53b5afa52
a5fee4ba73be186d90daafca50819a6817ad3d27
refs/heads/master
2016-09-09T17:16:57.818465
2015-01-13T14:45:00
2015-01-13T14:45:00
15,058,542
0
0
null
2014-03-21T21:25:37
2013-12-09T20:42:54
Python
UTF-8
Python
false
false
6,721
py
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Participant' db.create_table('coder_participant', ( ...
[ "chryso@gmail.com" ]
chryso@gmail.com
f6de5f780c60294f59c4fd49a6ee574b9a0d8d34
1316cd6763e784811c769c1de577235c921af0de
/Apps/AlignOnBPMs/SAMPL/sourceCode/SAMPLcore/Components/ComponentBase.py
f2ed9848ab5bc4adadc7b8a0aa16629bf0f7f015
[]
no_license
VELA-CLARA-software/Software
a6fb6b848584e5893fd6939a447d23134ce636cc
2e2a88ac0b2b03a495c868d2e11e6481e05097c3
refs/heads/master
2023-02-05T07:40:58.260798
2023-01-27T09:39:09
2023-01-27T09:39:09
69,860,536
7
3
null
2021-04-07T14:17:07
2016-10-03T10:20:46
Mathematica
UTF-8
Python
false
false
565
py
# SAM to Python Conversion # DJS August 2017 # Version 0.1 # from ..SAMPLlab import Beam class ComponentBase(object): def __init__(self, length=0, name="", aperture=[]): #super(ComponentBase, self).__init__(**kwargs) # device length, in meters self.length = length # device name, str...
[ "david.dunning@stfc.ac.uk" ]
david.dunning@stfc.ac.uk
9b2e55341c9f7148c5dfe553e2bec953871d0db2
377fc6e13101a2a45826cd118110c790f396a805
/utpc2014-a.py
9ac43857b565674f15f63bbc23a3181047f353ff
[]
no_license
number09/atcoder
4076e7223f424b9923754e73992d6442e0bb0de7
f521ca1205b254d99744abaf6a7a5bfe69845fe0
refs/heads/master
2021-06-04T23:16:39.021645
2021-01-19T08:30:39
2021-01-19T08:30:39
132,128,927
0
0
null
null
null
null
UTF-8
Python
false
false
405
py
li_w = input().split() li_answer = list() flag = False for w in reversed(li_w): if w != 'not': flag = True li_answer.append(w) else: if flag == False: li_answer.append(w) else: if li_answer[-1] == 'not': li_answer = li_answer[:-1] ...
[ "cielo.abierto09@gmail.com" ]
cielo.abierto09@gmail.com
f98658569da2852dc39597141a14f473e098e230
d51b4c766661af65b4ee6e7c30f8cb4bdd8603e3
/python/algorithm/leetcode/91.py
514aea9145662dfce4819b437de33ec85483955a
[]
no_license
yanxurui/keepcoding
3e988c76b123d55b32cf7cc35fbffb12c4ccb095
d6b9f07e2d1437681fa77fee0687ea9b83cab135
refs/heads/master
2021-01-24T09:01:41.306597
2020-05-21T05:36:04
2020-05-21T05:36:04
93,400,267
1
1
null
null
null
null
UTF-8
Python
false
false
1,072
py
# https://leetcode.com/problems/decode-ways/discuss/30358/Java-clean-DP-solution-with-explanation class Solution(object): def numDecodings(self, s): """ :type s: str :rtype: int """ if len(s) == 0: return 0 table = [0] * (len(s)+1) table[0] = 1 ...
[ "617080352@qq.com" ]
617080352@qq.com
0812527774fef2d427c2e1e56a7966441f10632c
847273de4b1d814fab8b19dc651c651c2d342ede
/.history/Sudoku_II_005_20180620140617.py
2ded808b8af91e0513d070dc92160645c14e005e
[]
no_license
Los4U/sudoku_in_python
0ba55850afcffeac4170321651620f3c89448b45
7d470604962a43da3fc3e5edce6f718076197d32
refs/heads/master
2020-03-22T08:10:13.939424
2018-07-04T17:21:13
2018-07-04T17:21:13
139,749,483
0
1
null
null
null
null
UTF-8
Python
false
false
4,433
py
from random import randint sudoku1 = [ [5, 9, 8, 6, 1, 2, 3, 4, 7], [2, 1, 7, 9, 3, 4, 8, 6, 5], [6, 4, 3, 5, 8, 7, 1, 2, 9], [1, 6, 5, 4, 9, 8, 2, 7, 3], [3, 2, 9, 7, 6, 5, 4, 1, 8], [7, 8, 4, 3, 2, 1, 5, 9, 6], [8, 3, 1, 2, 7, 6, 9, 5, 4], [4, 7, 2, 8, 5, 9, 6, 3, 1], [9, 5, 6, 1,...
[ "inz.kamil.wos@gmail.com" ]
inz.kamil.wos@gmail.com
8e4afcc449f15b7d6b73cbcd4fc8e9b213912c94
bc441bb06b8948288f110af63feda4e798f30225
/container_sdk/api/workload/get_summary_pb2.pyi
14f7cdbe1ae990f7ac049e645c1ccfa3bde880a7
[ "Apache-2.0" ]
permissive
easyopsapis/easyops-api-python
23204f8846a332c30f5f3ff627bf220940137b6b
adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0
refs/heads/master
2020-06-26T23:38:27.308803
2020-06-16T07:25:41
2020-06-16T07:25:41
199,773,131
5
0
null
null
null
null
UTF-8
Python
false
false
4,748
pyi
# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from container_sdk.model.container.pod_detail_pb2 import ( PodDetail as container_sdk___model___container___pod_detail_pb2___PodDetail, ) from container_sdk.model.container.workload_pb2 import ( Workload as container_sdk___model___container...
[ "service@easyops.cn" ]
service@easyops.cn
fce03c8e1456ccbcd305145c27e222f513c4d844
c2f92d75d235ff5ed7b213c02c4a0657545ba02f
/oliveapp/home/urls.py
ab2bdd20079d2d83da9374cda7ebebccbcb65b68
[]
no_license
cash2one/tstpthon
fab6112691eb15a8a26bd168af3f179913e0c4e0
fc5c42c024065c7b42bea2b9de1e3874a794a30d
refs/heads/master
2021-01-20T01:52:06.519021
2017-04-14T09:50:55
2017-04-14T09:50:55
89,338,193
0
1
null
2017-04-25T08:46:06
2017-04-25T08:46:06
null
UTF-8
Python
false
false
715
py
from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() from home import views import os css_media = os.path.join( os.path.dirname(__file__),'templates/css/' ) images_media = os.path.join( os.path.dirname(__file__),'templates/images/' ) js_media = os.path.join(...
[ "yxlz_0910@163.com" ]
yxlz_0910@163.com
f9a7d373fd0a22027404c7c536075e139ac3a6b3
36957a9ce540846d08f151b6a2c2d582cff1df47
/VR/Python/Python36/Lib/site-packages/django/contrib/gis/db/models/__init__.py
9c0171e697081762f1b1e195bdfdad25bd682f41
[]
no_license
aqp1234/gitVR
60fc952307ef413e396d31e0d136faffe087ed2b
e70bd82c451943c2966b8ad1bee620a0ee1080d2
refs/heads/master
2022-12-29T15:30:12.540947
2020-10-07T15:26:32
2020-10-07T15:26:32
290,163,043
0
1
null
2020-08-25T09:15:40
2020-08-25T08:47:36
C#
UTF-8
Python
false
false
128
py
version https://git-lfs.github.com/spec/v1 oid sha256:051de440079f22fe0ed4d92c8950944a1c2548ee0e08da1419a9fa7424462325 size 817
[ "aqp1234@naver.com" ]
aqp1234@naver.com
9bed6ed6c401fac8dd4b07157b505d6d45bf5404
0a65d42f4f0e491cb2aada408401b94909f821c2
/Attendance_Monitoring/hrg/hrg_hr/migrations/0007_auto_20200625_1027.py
f121581d75c52217f396b1f22613076fa26f7155
[]
no_license
jmadlansacay/_Office
3acde7655784e91c7dcecfc853d4f36cdfeef028
7f46449b9f7e8e892e2e0025ba493259197fa592
refs/heads/main
2023-07-28T10:23:54.680822
2021-09-11T02:28:07
2021-09-11T02:28:07
379,155,026
0
0
null
null
null
null
UTF-8
Python
false
false
519
py
# Generated by Django 2.2.5 on 2020-06-25 02:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('hrg_hr', '0006_auto_20200625_1006'), ] operations = [ migrations.AlterField( model_name='tblmas...
[ "Q034800@mhi.co.jp" ]
Q034800@mhi.co.jp
a5016bfefccde0f94ae1caf65fdcdc907a1c441f
fa7f66e12223a11a17d42c9a672d03c845b604bd
/pyvisa/resources/helpers.py
4fa00202bba32d4cd5c69c74c7aa0cf9c8952d9e
[ "MIT" ]
permissive
caryan/pyvisa
5756e65c42810553f6f4b9f14800b5007b9dee0a
1529fce2ac42ac8b47cf6f2c8ad1de22c9e88488
refs/heads/master
2020-12-03T03:31:59.688014
2014-08-29T22:44:24
2014-08-29T22:44:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,584
py
# -*- coding: utf-8 -*- """ pyvisa.resources.helpers ~~~~~~~~~~~~~~~~~~~~~~~~ Helper functions. This file is part of PyVISA. :copyright: 2014 by PyVISA Authors, see AUTHORS for more details. :license: MIT, see LICENSE for more details. """ from __future__ import division, unicode_literals, p...
[ "hernan.grecco@gmail.com" ]
hernan.grecco@gmail.com
26e8321387d7acb7136a76bcf11db56c990ad589
2ff7e53d5e512cd762217ca54317982e07a2bb0c
/notifications/client/controls/notificationScrollContainer.py
430068214b444982858c2a3b313c78d2ca6a9572
[]
no_license
nanxijw/Clara-Pretty-One-Dick
66d3d69426642b79e8fd4cc8e0bec23adeeca6d6
50de3488a2140343c364efc2615cf6e67f152be0
refs/heads/master
2021-01-19T09:25:07.555284
2015-02-17T21:49:33
2015-02-17T21:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,742
py
#Embedded file name: notifications/client/controls\notificationScrollContainer.py from carbonui.control.scrollContainer import ScrollContainer from carbonui.primitives.base import ReverseScaleDpi, ScaleDpiF from carbonui.primitives.container import Container import carbonui.const as uiconst from carbonui.primitives.fra...
[ "billchang.e@gmail.com" ]
billchang.e@gmail.com
794aec261c5a2a0b22f17b996021749049c4c913
396f93d8e73c419ef82a94174815a2cecbb8334b
/.history/tester2_20200321145335.py
eca006aa8c88a49574cbf23f7e9263b1bfe377c0
[]
no_license
mirfarzam/ArtificialIntelligence-HeuristicAlgorithm-TabuSearch
8c73d9448b916009c9431526864a4441fdeb682a
90b2dca920c85cddd7c1b3335344ac7b10a9b061
refs/heads/master
2021-03-26T21:16:42.561068
2020-04-17T21:44:26
2020-04-17T21:44:26
247,750,502
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
import os import subprocess import re from datetime import datetime import time process = subprocess.Popen(['./algo_tabou.exe', '1000', '1000', '50', 'distances_entre_villes_50.txt'],stdout=subprocess.PIPE,stderr=subprocess.PIPE) stdout, stderr = process.communicate() result = st print(result)
[ "farzam.mirmoeini@gmail.com" ]
farzam.mirmoeini@gmail.com
17049ed6b3705fb01190a0f5025f74cd714f8f3e
1b26d0023ad7eb302a9dd7d0d6696ef836c17c05
/HyeonJinGithub/2020-10-07/12100 2048 (Easy).py
20832b880e18018074fca0d6cc9aa019aaeb8ae8
[ "MIT" ]
permissive
Team-NTO/NTO
93e643ddd3c6cad308f1f984aaa9abc43d9e3bb8
133f19e1e15e423589bd7b94b698d2afc76c3ef6
refs/heads/master
2023-06-23T06:26:16.374869
2021-07-11T06:43:08
2021-07-11T06:43:08
298,460,899
1
3
MIT
2021-07-11T06:43:09
2020-09-25T03:47:51
Java
UTF-8
Python
false
false
2,831
py
import sys from copy import deepcopy def print_max(arr): global res for i in range(len(arr)): for j in range(len(arr[i])): res = max(res, arr[i][j]) def dfs(tmp_board, n): if n == 5: print_max(tmp_board) return dfs(move_left(deepcopy(tmp_board)), n + 1) dfs(move...
[ "skymilk95@naver.com" ]
skymilk95@naver.com
b2e11180449c5cbd4123a1f6c4e49af8b9b06064
ba3c06f9ae89479fa4987fe841ac09b5b5d71383
/python_for_kids/book/Examples/mean.py
1d733629a2eb40a1124f5270aca68952c682f52e
[]
no_license
mary-tano/python-programming
6d806e25011e770a04a0922d0b71bf38c222d026
829654a3274be939fa529ed94ea568c12f7f1a27
refs/heads/master
2021-05-17T15:30:32.710838
2020-04-01T13:37:18
2020-04-01T13:37:18
250,846,188
0
0
null
null
null
null
UTF-8
Python
false
false
214
py
# Среднее значение print("Введи число: ", end="") Sum = 0 Value = int(input()) for Number in range(1,Value+1) : Sum += Number Mean = Sum / Value print("Результат: " + str(Mean))
[ "masha.mary.tano@gmail.com" ]
masha.mary.tano@gmail.com
358893e35bbd56734f3c0df20f6129c87583d727
abf4757a51e38b3cde6fc55b0251e77652521a2d
/models.py
2e4f0d45edd16ef57cc997df440fe3bae2aa42ca
[]
no_license
stephenroller/relationstest
fd5284e6035682e0bfe1b13ff3c51dfec8e6f5ab
92b66e3dd800107b5489f662264f87d5d178af61
refs/heads/master
2021-01-21T11:45:20.095298
2016-01-26T23:24:21
2016-01-26T23:24:21
37,383,124
0
0
null
null
null
null
UTF-8
Python
false
false
3,369
py
#!/usr/bin/env python import numpy as np from sklearn import svm, linear_model from custom_classifiers import ThresholdClassifier SETUPS = { # baseline "unsupervised" 'cosine': ('threshold', 'cosine'), # baseline memorizations 'lhs': ('linear', 'lhs'), 'rhs': ('linear', 'rhs'), 'concat': ('l...
[ "roller@cs.utexas.edu" ]
roller@cs.utexas.edu
599c16f31a7bdd1841ee6346e94922f0cb6d2c86
3ec50b750e788d018ff0f6afd3528350a8956f6a
/ch_04/tests/test_classifier.py
680a46568379375ea3e6dcaf7eb588014dcb498b
[ "MIT" ]
permissive
jegarciaor/Python-Object-Oriented-Programming---4th-edition
45fb68f04c905a27865c40a48705da803fbdc27a
2f3d6b09326dab6a0488c72c96d7368bee28fef4
refs/heads/main
2023-06-05T05:02:54.428716
2021-06-26T15:23:11
2021-06-26T15:23:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,536
py
""" Python 3 Object-Oriented Programming Case Study Chapter 4, Expecting the Unexpected """ import base64 import csv from pathlib import Path from pytest import * import classifier @fixture(scope="module") def app_client(): test_users = [ classifier.User( username='noriko', ...
[ "slott56@gmail.com" ]
slott56@gmail.com
0551c05c3a0fcbffde3afd42eec059f9cc7d51a4
4d675034878c4b6510e1b45b856cc0a71af7f886
/configs/gcnet/mask_rcnn_x101_32x4d_fpn_syncbn-backbone_r16_gcb_c3-c5_1x_coco.py
7fb8e82ece225ab6f88f1f4f83bea56a42cf1a57
[ "Apache-2.0", "BSD-2-Clause-Views", "MIT", "BSD-2-Clause" ]
permissive
shinya7y/UniverseNet
101ebc2ad8f15482ee45ea8d6561aa338a0fa49e
3652b18c7ce68122dae7a32670624727d50e0914
refs/heads/master
2023-07-22T08:25:42.646911
2023-07-08T18:09:34
2023-07-08T18:09:34
263,555,721
407
58
Apache-2.0
2023-01-27T01:13:31
2020-05-13T07:23:43
Python
UTF-8
Python
false
false
376
py
_base_ = '../mask_rcnn/mask_rcnn_x101_32x4d_fpn_1x_coco.py' model = dict( backbone=dict( norm_cfg=dict(type='SyncBN', requires_grad=True), norm_eval=False, plugins=[ dict( cfg=dict(type='ContextBlock', ratio=1. / 16), stages=(False, True, True, Tru...
[ "noreply@github.com" ]
shinya7y.noreply@github.com
1799efdff1eb4bb6b7e8ba832d454375c9017ab7
e40091711a9900350939556374cee5f3e41c2c3c
/tourism/ratting/models.py
129148c4edcd9dd3177d7a74515f01a81254f5d7
[]
no_license
rg3915/drf-tourism
951249f64450b6b710bb971aa52ed4d2efe2a85d
c6648a42eed77ab82cf10af242ffb20690404fc0
refs/heads/main
2023-03-25T21:15:08.185176
2021-03-24T08:49:28
2021-03-24T08:49:28
347,816,562
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
from django.contrib.auth.models import User from django.db import models class Ratting(models.Model): comment = models.CharField('comentário', max_length=100, unique=True) user = models.ForeignKey( User, on_delete=models.CASCADE, verbose_name='usuário', related_name='ratting_us...
[ "regis42santos@gmail.com" ]
regis42santos@gmail.com
30841bd3f6a6a979eeeab80457b83222c00be2d3
3330ed9c8f0aed91638b3a07ad697668346db930
/meiduo_mall/meiduo_mall/apps/payment/views.py
efbe83168b0fcbd31e9b45953a65fa112fb21d9b
[]
no_license
chengong825/meiduo_mall_django
fcee163bb6256672cbc5dcbd649aad2605bfb5e6
e3ca5e48f0c043d3f3f6d24a198ac2812df6d719
refs/heads/master
2020-03-29T09:48:09.189141
2018-09-21T14:33:43
2018-09-21T14:33:43
149,774,584
0
0
null
null
null
null
UTF-8
Python
false
false
3,574
py
import os from alipay import AliPay from django.conf import settings from django.shortcuts import render # Create your views here. from rest_framework import status from rest_framework.permissions import IsAuthenticated from rest_framework.response import Response from rest_framework.views import APIView from orders...
[ "252918372@qq.com" ]
252918372@qq.com
503cbc78d9f6e0910d577259e1c733d92a4a3a30
2eff2b24d5b6f5dffc42c9cbde6102ec9317502f
/src/Calculator.py
8893fae57e0cb5134c33ea8b75b81954ec9c8cbf
[]
no_license
JakobKallestad/Python-Kattis
599a14e71a8d5c52aae779b8db3d35f0e4d01e88
51656964e79cc861e53f574785aacb213ef10b46
refs/heads/master
2022-10-24T23:12:45.599813
2021-12-08T12:31:54
2021-12-08T12:31:54
156,881,692
2
1
null
2022-10-02T12:36:57
2018-11-09T15:34:09
Python
UTF-8
Python
false
false
147
py
while True: try: line = input() result = eval(line) print("{:.2f}".format(result)) except EOFError: break
[ "Jakob.Kallestad@student.uib.no" ]
Jakob.Kallestad@student.uib.no
5e502e6a8f31e345307af4c6bcc63e0a2132c326
4dbaea97b6b6ba4f94f8996b60734888b163f69a
/LeetCode/48.py
c4d4841c02151f4c9dd1b1d227a3fef532cd49d0
[]
no_license
Ph0en1xGSeek/ACM
099954dedfccd6e87767acb5d39780d04932fc63
b6730843ab0455ac72b857c0dff1094df0ae40f5
refs/heads/master
2022-10-25T09:15:41.614817
2022-10-04T12:17:11
2022-10-04T12:17:11
63,936,497
2
0
null
null
null
null
UTF-8
Python
false
false
667
py
class Solution: def rotate(self, matrix): """ :type matrix: List[List[int]] :rtype: void Do not return anything, modify matrix in-place instead. """ matrix_len = len(matrix) for i in range(matrix_len // 2): for j in range(matrix_len - matrix_len //...
[ "54panguosheng@gmail.com" ]
54panguosheng@gmail.com
2751437f81253f6762b521912bf1187f9551bfb7
bfdab27f224d9cac02e319fe55b53172fbf8d1a2
/motion_editor_core/data/atlas_old/motions/drive_pull_right.py
a5356f2535ecc1d9343c53befe481a534536d151
[]
no_license
tu-darmstadt-ros-pkg/motion_editor
c18294b4f035f737ff33d1dcbdfa87d4bb4e6f71
178a7564b18420748e1ca4413849a44965823655
refs/heads/master
2020-04-06T12:37:30.763325
2016-09-15T14:11:48
2016-09-15T14:11:48
35,028,245
2
3
null
2015-05-05T13:20:27
2015-05-04T10:18:22
Python
UTF-8
Python
false
false
2,338
py
{ 'drive_pull_right': { 'l_arm': [], 'l_leg': [], 'r_arm': [ { 'duration': 1.0, 'name': u'vm_arm_r_retract_up', 'positions': [ -0.2258, -0.5361, ...
[ "martin.sven.oehler@gmail.com" ]
martin.sven.oehler@gmail.com
7e7db89059aa6482d6801ca06d86ca389c337e25
4ca821475c57437bb0adb39291d3121d305905d8
/models/research/swivel/vecs.py
61a2b7a852dd4c1a577d240c1c990423ddcbb77c
[ "Apache-2.0" ]
permissive
yefcion/ShipRec
4a1a893b2fd50d34a66547caa230238b0bf386de
c74a676b545d42be453729505d52e172d76bea88
refs/heads/master
2021-09-17T04:49:47.330770
2018-06-28T02:25:50
2018-06-28T02:25:50
112,176,613
0
1
null
null
null
null
UTF-8
Python
false
false
3,226
py
# Copyright 2016 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "yefcion@163.com" ]
yefcion@163.com
f9bcb3dcc1970423f97e39ba9072f214fd2b4bf9
a2a14995c95e024644623ea26add2f27d186ea16
/go.py
dff7c109c90a18c87abe03834f8ab27f33530049
[ "MIT" ]
permissive
swdevbali/lit
89db51ae912770ac4030a3c491ad775a68b95a4b
dbc01ee8e4e600a0a43e49ffd18873653cc3f7cc
refs/heads/master
2021-01-21T00:25:50.001045
2013-02-16T13:52:50
2013-02-16T13:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,447
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import windows as winutils from datetime import datetime from utils import Query from PyQt4.QtCore import ( Qt, QAbstractListModel, QMutex, QMutexLocker ) import itertools import logging from lcs import lcs NAME_LIMIT = 42 class Task(object): def _...
[ "answeror@gmail.com" ]
answeror@gmail.com
0659d7826f012a4a77173ff1cd94f53a96dcf0ad
1db2e2238b4ef9c1b6ca3b99508693ee254d6904
/develop/align_atoms/make_alignment.py
e2c2c5a27921bc05091c8e561cda56f058e951c7
[]
no_license
pgreisen/pythonscripts
8674e08095f76edf08ef2059300349218079724c
0aadf8f96d19b306c1bc44a772e766a06fe3408b
refs/heads/master
2021-07-06T23:54:57.774342
2021-06-08T19:36:36
2021-06-08T19:36:36
22,017,192
3
0
null
null
null
null
UTF-8
Python
false
false
3,251
py
import os,shutil,sys from translate_rotate import * class pdbfile: # Requires floating point number # Returns floating point with correct # number of digits for pdb def set_number_digits(self,number): return '%.3f' %number def set_length_digit(self,number): lngth = len(number) if lngth == 7: return ' ...
[ "pgreisen@gmail.com" ]
pgreisen@gmail.com
226c4d09fa5cdc1ca4d9713500b37dcc362f0d99
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_142/671.py
10347da035e5343026f9408225894450ce90b99c
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,367
py
def parseString(word): dico = [] c = word[0] cpt = 0 for i in xrange(len(word)): if c != word[i]: dico.append((word[i-1],cpt)) cpt = 1 c = word[i] else: cpt += 1 c = word[i] dico.append((word[len(word)-1],cpt)) return dico def checkSize(tab): occ = len(tab[0]) for...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
d01277bf95b44d3ea01150d8c57d628e1b8f6eb4
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2180/60671/249029.py
9b092ed28dbaf417cbff0c51b1ee7e7e1ab2000a
[]
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
339
py
s1=input() s2=input() list1=[] list2=[] for x in range(len(s1)): for i in range(len(s1) - x): list1.append(s1[i:i + x + 1]) for x in range(len(s2)): for i in range(len(s2) - x): list2.append(s2[i:i + x + 1]) list1.sort() list2.sort() count=0 for mem in list1: if(mem in list2): count+...
[ "1069583789@qq.com" ]
1069583789@qq.com
e0beeb0e7fa4d5516f5433f69c91e40e77eabe06
659f10ae3ad036bbb6293b0cd585a4be2bc2dcc9
/containers/migrations/0005_auto__add_field_container_meta.py
7d9c7a532d2fabdceeeb662c0217c38e40611106
[ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ]
permissive
newrelic/shipyard
e58649adf46b65e30ea93307c53b064abc4495dc
e4e990583a646b77e7e1767682e1ecf94c278fb8
refs/heads/master
2023-07-22T11:47:31.472994
2013-09-27T19:13:37
2013-09-27T19:13:37
12,735,507
3
2
null
2023-07-06T03:58:58
2013-09-10T17:08:31
Python
UTF-8
Python
false
false
5,101
py
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding field 'Container.meta' db.add_column(u'containers_container', 'meta', self.gf...
[ "ejhazlett@gmail.com" ]
ejhazlett@gmail.com
03da3037aa5075dd5cc26a9b6f22f10ac33ea3dc
3cc8af76b1fd487eea86610d7a07f477afeab048
/setup.py
da827dc7ffda6b32ae816d398f0fb9cec5e512e5
[ "Apache-2.0", "CC-BY-NC-SA-4.0" ]
permissive
expresschen/HanLP
20ff6d03b01b508e4395ea3532e8af712e065ebf
24b48966e90dfafa1faa65765eb6f35e19cac801
refs/heads/doc-zh
2023-07-13T10:16:30.231114
2020-02-15T17:19:28
2021-08-24T02:15:49
401,305,599
1
0
Apache-2.0
2021-08-30T10:37:28
2021-08-30T10:37:27
null
UTF-8
Python
false
false
1,990
py
# -*- coding:utf-8 -*- # Author: hankcs # Date: 2019-12-28 19:26 from os.path import abspath, join, dirname from setuptools import find_packages, setup this_dir = abspath(dirname(__file__)) with open(join(this_dir, 'README.md'), encoding='utf-8') as file: long_description = file.read() version = {} with open(join(...
[ "jfservice@126.com" ]
jfservice@126.com
4c5824d086f61db8d6a64e10bf494165a522f574
187a6558f3c7cb6234164677a2bda2e73c26eaaf
/jdcloud_sdk/services/ag/models/UpdateStepAsRuleSpec.py
defba859f89b925fee619a7ec0fa42170e4f650c
[ "Apache-2.0" ]
permissive
jdcloud-api/jdcloud-sdk-python
4d2db584acc2620b7a866af82d21658cdd7cc227
3d1c50ed9117304d3b77a21babe899f939ae91cd
refs/heads/master
2023-09-04T02:51:08.335168
2023-08-30T12:00:25
2023-08-30T12:00:25
126,276,169
18
36
Apache-2.0
2023-09-07T06:54:49
2018-03-22T03:47:02
Python
UTF-8
Python
false
false
1,341
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 ...
[ "jdcloud-api@jd.com" ]
jdcloud-api@jd.com
84191deb0a80f8875e115aa3f5eae0046025e1d7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p04031/s251975826.py
5d8d02c8d8407057ca16c1bec6857fff705531e1
[]
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
400
py
import math import collections import fractions import itertools import functools import operator def solve(): n = int(input()) a = list(map(int, input().split())) cost = [] for i in range(-100, 101): ramen = 0 for j in range(n): ramen += abs(a[j]-i)**2 cost.append(r...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
f95f8a329e6279fc0ee59df351c887432ee6fec1
93736e8d0d5517eb73af91eeda6e9b0f4b07439e
/Python/Intro_Python/exercise3.py
e85c0cc0eae27917d1839cebdafb0e37e1cd146e
[]
no_license
aayushgupta97/TTN
0de1a5d3a25d7399d68a81ea51f17233f81029e0
324466cbdf0a9b0953dd4ae574bd0b3f753c4fd7
refs/heads/master
2020-04-21T12:18:25.721602
2019-04-15T11:09:13
2019-04-15T11:09:13
169,557,867
0
0
null
null
null
null
UTF-8
Python
false
false
1,564
py
from abc import ABC, abstractmethod class Box(ABC): def add(self, *items): raise NotImplementedError() def empty(self): raise NotImplementedError() def count(self): raise NotImplementedError() class Item(): def __init__(self, name, value): self.name = name se...
[ "aayushgupta2097@gmail.com" ]
aayushgupta2097@gmail.com
f2e9d1fa4f806aa5430bcc405d3ed2f4ea3e94d2
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03165/s926838179.py
74a1ba1007c89e718147b0b4242828dcbc0a88f7
[]
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
594
py
s = input() t = input() dp = [[0]*(len(t)+1) for _ in range(len(s)+1)] for i in range(len(s)): for j in range(len(t)): if s[i]==t[j]: dp[i+1][j+1] = dp[i][j]+1 else: if dp[i+1][j] < dp[i][j+1]: dp[i+1][j+1] = dp[i][j+1] else: dp[i+1...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
e91848d3129b01eeac17497f4be7ff57f9e5a2d5
215cafb0a79338a2a268c19629f07df20cf68f76
/venv/bin/pip-3.8
6de21cb3dcc8b330bf64648feb3896c8b6bb5f2d
[]
no_license
safwanvk/erp
c95741c5873ebaa53a8a96093928745e02000be9
d4e427dbb6b71eb9aa6e2d15a039e2e669c53cbe
refs/heads/master
2022-12-08T12:38:36.817514
2020-08-16T15:10:55
2020-08-16T15:10:55
287,913,687
0
0
null
null
null
null
UTF-8
Python
false
false
262
8
#!/home/safwan/Desktop/projects/erp-pro/erp/venv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "safwanvalakundil@gmail.com" ]
safwanvalakundil@gmail.com
9f2833105773edd29e1268cc3705ad9ff9dc2a1c
98be00ee32971cade82d10c067aff532c3394a62
/Competitions/Xtreme/xplore.py
f6e47c98fc808d7cc0c5fe1f897956f31365aa4a
[]
no_license
vigneshhari/Competitive_solutions
5ab34933ea8d84eab67bdef9bb9e4562f6b90782
7a35e1386e5cff71cb5746b6797ccc0f03ceb3f4
refs/heads/master
2023-01-11T02:53:01.456863
2022-12-29T13:50:03
2022-12-29T13:50:03
115,146,700
4
2
null
2019-10-26T09:15:03
2017-12-22T20:03:51
Python
UTF-8
Python
false
false
4,010
py
import json from collections import defaultdict authors_citations = defaultdict(list) for i in range(input()): data = raw_input() temp = json.loads(data) citation_count = temp["citing_paper_count"] for i in temp["authors"]["authors"]: authors_citations[i["full_name"]].append(citation_count) a...
[ "vichuhari100@gmail.com" ]
vichuhari100@gmail.com
6d57c6855dd53ede783641ec65bed681aa69e10a
1196fe960947b4a7d6bba5df6cdfc7010bb118fb
/examples/apikeys/apikeys.py
8b921f815ddb9dc3eea6e33e1ad7b042f43026be
[ "MIT" ]
permissive
Nextdoor/sendgrid-python
a4afe5cda9015c7cf6a3a1303785fda05e844277
a7c834b6391775b796969ef65a3ef259ccabf0f0
refs/heads/master
2021-01-22T11:12:08.221546
2016-04-22T21:20:07
2016-04-22T21:20:07
56,885,507
0
0
null
2016-04-22T21:11:50
2016-04-22T21:11:49
null
UTF-8
Python
false
false
1,657
py
import sendgrid import json import os sg = sendgrid.SendGridAPIClient(apikey='YOUR_SENDGRID_API_KEY') # You can also store your API key an .env variable 'SENDGRID_API_KEY' ################################################## # List all API Keys belonging to the authenticated user # # GET /api_keys # response = sg.clie...
[ "elmer@thinkingserious.com" ]
elmer@thinkingserious.com
df55ffe5751d160215654f44ca59df406536a410
c03edd979ad6fd4a8abd155e3e63bcefbd93d5c2
/Image/band_stats.py
7b83630a66a15155d6b74a944ca88a2b17ef34e5
[ "MIT" ]
permissive
xiangtaoxu/earthengine-py-examples
538dafc88a22a351b762ba02df09db583df955bb
76ae8e071a71b343f5e464077afa5b0ed2f9314c
refs/heads/master
2022-11-03T03:16:11.933616
2020-06-12T15:47:52
2020-06-12T15:47:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,987
py
import ee import geemap # Create a map centered at (lat, lon). Map = geemap.Map(center=[40, -100], zoom=4) # get highest value def maxValue(img, scale=30): max_value = img.reduceRegion(**{ 'reducer': ee.Reducer.max(), 'geometry': img.geometry(), 'scale': scale, 'maxPixels': 1e9 ...
[ "giswqs@gmail.com" ]
giswqs@gmail.com
9242782550ab6ddf1a26238b272e633e1ed1d3c8
c342c8b9b2437d6474b9ae7da154ba47c6fc447c
/src/data/memory_store.py
81d6cb406f3ba13f5011c2669584a64d0cdc0b4a
[]
no_license
nezaj/menu-api
0d5118f3a1392f85e51700b5e8ac234bac605518
bcf759b91893bf72821323c41f963923d9184e68
refs/heads/master
2021-01-10T07:09:15.664561
2015-11-16T21:28:45
2015-11-16T21:28:45
44,832,757
0
0
null
null
null
null
UTF-8
Python
false
false
2,572
py
""" Store implementation using in-memory data """ import json import os from .store_interface import StoreInterface class MemoryStore(object): __implements__ = (StoreInterface, ) def __init__(self, data_dir): self.data_dir = data_dir self.data = self._load_data(data_dir) def _load_data(s...
[ "joeaverbukh@gmail.com" ]
joeaverbukh@gmail.com
7ebec6c0a7924a9438dc5a473cc822f219125df8
402ed5374ab189c8599b56864c5ce066f34b26c6
/tests/test_pdf_normal.py
e1fa17bd053bb3771266064aae86ee311b5c241c
[ "BSD-3-Clause" ]
permissive
kailiu77/zfit
db354e9c3eb4a41274af5363834fe231823c6d66
8bddb0ed3a0d76fde0aa2cdbf74434b0ee0ae8bb
refs/heads/master
2020-10-01T23:49:55.751825
2019-12-06T15:48:47
2019-12-06T15:48:47
227,650,723
1
0
BSD-3-Clause
2019-12-12T16:33:54
2019-12-12T16:33:53
null
UTF-8
Python
false
false
2,899
py
# Copyright (c) 2019 zfit import numpy as np import pytest import tensorflow as tf import zfit from zfit import Parameter from zfit.models.dist_tfp import Gauss from zfit.core.testing import setup_function, teardown_function, tester mu1_true = 1. mu2_true = 2. mu3_true = 0.6 sigma1_true = 1.4 sigma2_true = 2.3 si...
[ "mayou36@jonas.eschle.com" ]
mayou36@jonas.eschle.com
3e70f5bce473ccd4c866c43a7f594f03af071dca
f569978afb27e72bf6a88438aa622b8c50cbc61b
/douyin_open/EnterprisePersonaPersonaCreate/api/__init__.py
d436a85b96fd99e2b5e5d7a6b654b4348bb48850
[]
no_license
strangebank/swagger-petstore-perl
4834409d6225b8a09b8195128d74a9b10ef1484a
49dfc229e2e897cdb15cbf969121713162154f28
refs/heads/master
2023-01-05T10:21:33.518937
2020-11-05T04:33:16
2020-11-05T04:33:16
310,189,316
1
0
null
null
null
null
UTF-8
Python
false
false
208
py
from __future__ import absolute_import # flake8: noqa # import apis into api package from douyin_open.EnterprisePersonaPersonaCreate.api.enterprise_im_persona_create_api import EnterpriseImPersonaCreateApi
[ "strangebank@gmail.com" ]
strangebank@gmail.com
d44f23bdc3a2ebd7b826cebb9d784a04528b90e6
5af277b5819d74e61374d1d78c303ac93c831cf5
/tabnet/experiment_covertype.py
c00ea76b7c9058be7df642fae0d69184a435f921
[ "Apache-2.0" ]
permissive
Ayoob7/google-research
a2d215afb31513bd59bc989e09f54667fe45704e
727ec399ad17b4dd1f71ce69a26fc3b0371d9fa7
refs/heads/master
2022-11-11T03:10:53.216693
2020-06-26T17:13:45
2020-06-26T17:13:45
275,205,856
2
0
Apache-2.0
2020-06-26T16:58:19
2020-06-26T16:58:18
null
UTF-8
Python
false
false
6,699
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
7d8af894f2c76cc47cf868d00ed53d834dc11006
138f2550bb088a0597e1e71124d9ae32b1fe59c9
/xbrr/edinet/reader/element_schema.py
b78030ff98b2a4b89b4ca5131bc6e0a11deb5645
[ "MIT" ]
permissive
chakki-works/xbrr
9009539e1821c3d9c815f694eb52158ccbbeeb78
a9783acbb6c23eb0be0e1fbfb47e5b0b0e2cbfb8
refs/heads/master
2022-07-22T22:30:17.054418
2021-06-16T13:27:40
2021-06-16T13:27:40
182,622,738
23
5
MIT
2022-07-15T18:42:36
2019-04-22T04:26:21
Python
UTF-8
Python
false
false
1,947
py
from xbrr.base.reader.base_element_schema import BaseElementSchema class ElementSchema(BaseElementSchema): def __init__(self, name="", reference="", label="", alias="", abstract="", data_type="", period_type="", balance=""): super().__init__() se...
[ "icoxfog417@yahoo.co.jp" ]
icoxfog417@yahoo.co.jp
bb394288997b3ae09c3bf5e93b767c0a5aa8fcdb
7ad616ab89e9b67bd27df2df3c8ca7487c5e4564
/ood/4_stack_overflow.py
102433a9d98dbc8f0d47c4101d2b370291a90a1b
[]
no_license
zihuaweng/algorithm-snacks
cd7643c7d80d0bcb680336231214c1700fe74cc9
aa3d88f861bb8b0aceb7ef6c6d05523f54202d77
refs/heads/master
2023-01-13T11:03:04.395542
2020-11-10T04:42:41
2020-11-10T04:42:41
149,380,311
1
1
null
null
null
null
UTF-8
Python
false
false
3,997
py
#!/usr/bin/env python3 # coding: utf-8 class QuestionStatus(Enum): OPEN, CLOSED, ON_HOLD, DELETED = 1, 2, 3, 4 class QuestionClosingRemark(Enum): DUPLICATE, OFF_TOPIC, TOO_BROAD, NOT_CONSTRUCTIVE, NOT_A_REAL_QUESTION, PRIMARILY_OPINION_BASED = 1, 2, 3, 4, 5, 6 class AccountStatus(Enum): ACTIVE, CLOSED, CANC...
[ "zihuaw2@uci.edu" ]
zihuaw2@uci.edu
b208e49da531e72d4264b91f912ebd1523d749d6
731c3f2f85f6002725322eedc0b2c8b5e74f610e
/0-jakc/jakc_hr/__openerp__.py
2df1fff1bd5ba0cb87ac4230b96c9fe3ed3e6001
[]
no_license
babarlhr/project-0021
1ac824657f893c8f25d6eb3b839051f350d7cc9d
e30b8a9f5d2147d3ca5b56b69ec5dbd22f712a91
refs/heads/master
2021-09-22T15:45:47.431000
2018-09-11T14:59:49
2018-09-11T14:59:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
398
py
# -*- coding: utf-8 -*- { 'name': 'Jakc Labs - HR Enhancement', 'version': '9.0.0.1.0', 'category': 'General', 'license': 'AGPL-3', 'summary': 'HR Enchancement', 'author': "Jakc Labs", 'website': 'http://www.jakc-labs.com/', 'depends': [ 'hr' ], 'data': [ 'views/...
[ "wahhid@gmail.com" ]
wahhid@gmail.com
91b6b76a311bc1f86fdb741e4608f8220dbde146
30d61ce0b728f31a830db6b6b1954a32551990b2
/src/gui_config/custom/sr_source_mode_tab.py
b2a24e0a0387ec82695aca2a32af5633db14603c
[ "MIT" ]
permissive
hgiesel/anki_set_randomizer
6755dc8489b703887c55a5427bbbdab858f58a65
1a9a22480eb6c0e7f421dc08d36d14920e43dd3e
refs/heads/master
2022-08-24T05:45:13.339132
2020-01-15T17:04:26
2020-01-30T13:56:50
197,258,760
5
0
MIT
2022-07-20T17:28:42
2019-07-16T19:56:27
JavaScript
UTF-8
Python
false
false
1,391
py
from aqt.qt import QWidget from ...lib.config import deserialize_source_mode, deserialize_cloze_options, deserialize_occlusion_options from ..sr_source_mode_tab_ui import Ui_SRSourceModeTab class SRSourceModeTab(QWidget): def __init__(self): super().__init__() self.ui = Ui_SRSourceModeTab() ...
[ "hengiesel@gmail.com" ]
hengiesel@gmail.com
223bd273f49b7e533b590ec4dc1f9394ef62d3c7
bfbe642d689b5595fc7a8e8ae97462c863ba267a
/bin/Python27/Lib/site-packages/OMPython/OMTypedParser.py
a0e4c90b6d536f97341c456f18de90f519d82e80
[ "MIT", "LicenseRef-scancode-other-permissive" ]
permissive
mcanthony/meta-core
0c0a8cde1669f749a4880aca6f816d28742a9c68
3844cce391c1e6be053572810bad2b8405a9839b
refs/heads/master
2020-12-26T03:11:11.338182
2015-11-04T22:58:13
2015-11-04T22:58:13
45,806,011
1
0
null
2015-11-09T00:34:22
2015-11-09T00:34:22
null
UTF-8
Python
false
false
4,041
py
#!/usr/bin/env python # -*- coding: utf-8 -*- __author__ = "Martin Sjölund" __license__ = """ This file is part of OpenModelica. Copyright (c) 1998-CurrentYear, Open Source Modelica Consortium (OSMC), c/o Linköpings universitet, Department of Computer and Information Science, SE-58183 Linköping, Sweden. ...
[ "kevin.m.smyth@gmail.com" ]
kevin.m.smyth@gmail.com
6ddbc8154053d1a105be3ce47e7b58a27e253eb8
de479d4a8af0e070b2bcae4186b15a8eb74971fb
/cn/iceknc/study/k_python_mini_web/__init__.py
2c29f9732decc87fd29a825cf08dd49ab11e8eb8
[]
no_license
iceknc/python_study_note
1d8f6e38be57e4dc41a661c0a84d6ee223c5a878
730a35890b77ecca3d267fc875a68e96febdaa85
refs/heads/master
2020-05-19T18:44:55.957392
2019-09-27T01:15:54
2019-09-27T01:15:54
185,160,232
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
# -*- coding: utf-8 -*- # @Author: 徐志鹏 # @Date : 2019/5/29 # @Desc : def main(): pass if __name__ == "__main__": main()
[ "xzhipeng@lifecare.cn" ]
xzhipeng@lifecare.cn
f66be245d49c0500c212fbf3f7565976f9419b1f
80755ce68bf894bfa7c7cec50051b18a6069c552
/nkamg_malware/collector/samples/file_monitor.py
0d59cd857a599c427bd46b6fa686fa151a915729
[ "Apache-2.0" ]
permissive
NKQiuKF/malware_update
6538c9308dd7b476b687fca4ea120209207257bc
a875b5011fee2486da5618e01da61d730d6ac0dd
refs/heads/master
2022-10-17T09:08:34.605641
2019-09-02T09:00:45
2019-09-02T09:00:45
205,817,190
0
0
null
2022-10-06T18:33:50
2019-09-02T08:59:47
JavaScript
UTF-8
Python
false
false
2,497
py
#!/usr/bin/env python # -*- coding: utf-8 -*- #Nankai University Information Security #QiuKF 1055419050@qq.com #get file results at fixed time #create processed.csv at sub dirctories #create Total_File_Data.csv at /collection from multiprocessing import Process,Pool import os import pandas as pd import time import sy...
[ "453341288@qq.com" ]
453341288@qq.com
8d77c1ca5725c5efe3918715e630d4c0b280af6f
cf803d382d6e0bc7492d787e91a695a2fda944b8
/model.py
a1971dd66b502e9a7ab9cad39d075165745a907a
[ "BSD-2-Clause" ]
permissive
parenthetical-e/fmri
d676d524cf1606f098864c5bf9e98607674db1ab
32c5571d8767684ec6586320e85485cd89ed9327
refs/heads/master
2021-01-02T22:17:28.243141
2020-04-07T06:07:26
2020-04-07T06:07:26
3,848,746
4
1
null
null
null
null
UTF-8
Python
false
false
1,361
py
""" A set of functions for creating or maipulating files needed for design matrices, both in spm and python. """ def spm_onsets(trialfile='', durations=3, recode=None): """ Map <trialfile> (a 1d csv) into onset/TR time which is determind by <durations> (which can be an int if every trial had the same leng...
[ "Erik.Exists@gmail.com" ]
Erik.Exists@gmail.com
4906a33c2bde49d3d89e48c0aa86f333a1aef478
1602b8f6f40e27269a6d9fe42dbc720a5127b175
/fleet/category.py
9b756897fb0f2b29b020ab0444a68c1526aa3707
[]
no_license
mit-jp/fleet-model
a9f581c2cb56196a13e2db8ef883c1f8b61b2682
2c1b293299741a076384114572dc74a988bb8581
refs/heads/master
2020-04-11T01:30:26.634473
2017-01-29T04:08:31
2017-01-29T04:08:31
32,412,401
1
1
null
null
null
null
UTF-8
Python
false
false
1,201
py
class Category: """Rudimentary ordered tree data structure for vehicle classes.""" _parent = None _children = [] _label = '' def __init__(self, label, children=dict(), parent=None): self._parent = parent self._label = label try: self._children = list([Category(k...
[ "mail@paul.kishimoto.name" ]
mail@paul.kishimoto.name
87e8b16a2d83845e4d137ca080069e56f6a1690d
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/awentzonline_keras-rtst/keras-rtst-master/keras_rtst/models/style_xfer.py
d88c20d29b26ef489cc52a716031330e201234f5
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
5,226
py
'''Texture Network for style transfer.''' import time import keras_vgg_buddy import numpy as np from keras import activations from keras import backend as K from keras.layers import advanced_activations from keras.layers.core import Layer from keras.layers.convolutional import AveragePooling2D from keras.models import...
[ "659338505@qq.com" ]
659338505@qq.com
366ad807aedcc7af54f5060dcaa12dc46f0f7613
4beb10c8a8023f4945c996a1487ec1b3968cb5da
/f5_lbaas_dashboard/enabled/_1480_project_loadbalancersv2_panel.py
d89ef94a631dd6c077b8bc716031d61c12c3ef69
[ "Apache-2.0" ]
permissive
F5Networks/f5-lbaas-dashboard
7aebb669a27d8ebdc9feaa7f088f9158fb157046
62cb1dfbb87c94bdcb3f53f6ec2ab0004ac43d54
refs/heads/master
2023-03-28T01:59:58.666570
2022-09-27T01:16:34
2022-09-27T01:16:34
147,327,541
0
0
Apache-2.0
2022-09-27T01:16:37
2018-09-04T10:15:51
JavaScript
UTF-8
Python
false
false
993
py
# 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 writing, software # d...
[ "a.zong@f5.com" ]
a.zong@f5.com
5bb9776224c4813a523963dc2805bc70a092fa60
40d5394eea0c1288fcdd57180a0141672cb198fa
/users/views.py
d8f37654f883f0bde0e2232915ec025e0a7e6ec4
[ "MIT" ]
permissive
mornicamwende/ranker
6c12b0297703ac559de84bb0b36396ec2738f970
107bcaad61bb5e726570a8250b55eb2e6245dc7a
refs/heads/master
2023-01-07T00:18:54.192155
2020-10-27T17:07:21
2020-10-27T17:07:21
306,592,259
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
from django.shortcuts import render, redirect from django.contrib import messages from .models import Profile from django.contrib.auth.decorators import login_required from .forms import UserRegisterForm, UserUpdateForm, ProfileUpdateForm # Create your views here.. def register(request): if request.method =='POST...
[ "mornicamwende@gmail.com" ]
mornicamwende@gmail.com
449e5f4d3e112507dc7540c319584658b70805eb
560df0c3f859ae2d4c279f4669f9ab8758c486fb
/old/Euler063.py
defeccb9479085d6e4df2722c16167b7442a9de6
[]
no_license
gronkyzog/Puzzles
0e7cdd7fa5ab8139d63a721cac5ee30e80728c7a
cdc145857f123a98f1323c95b5744d36ce50355f
refs/heads/master
2021-03-13T00:01:17.715403
2015-02-22T11:59:03
2015-02-22T11:59:03
17,100,928
0
0
null
null
null
null
UTF-8
Python
false
false
176
py
import math counter = 0 for p in range(1,1000): for n in range(1,1000): x = p**n z = len(str(x)) if z == n: counter +=1 print counter,p,n,x if z > n: break
[ "smcnicol@gmail.com" ]
smcnicol@gmail.com
b44c18c0337ef4ede7f2ee27dff0c56a32873a98
6b2a8dd202fdce77c971c412717e305e1caaac51
/solutions_5639104758808576_0/Python/hongkai/standing_ovation.py
85c7aaf75714250e3ffa80b7c69e7aa3067301b0
[]
no_license
alexandraback/datacollection
0bc67a9ace00abbc843f4912562f3a064992e0e9
076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf
refs/heads/master
2021-01-24T18:27:24.417992
2017-05-23T09:23:38
2017-05-23T09:23:38
84,313,442
2
4
null
null
null
null
UTF-8
Python
false
false
378
py
fin = open("../../Downloads/A-small-attempt0 (1).in", "r") out = open("standing_ovation.out", "w") cases = int(fin.readline()) for i in range(cases): d, shy = fin.readline().split() min = 0 curr = 0 for x in shy: curr += int(x) curr -= 1 if curr < min: min = curr ...
[ "eewestman@gmail.com" ]
eewestman@gmail.com
97f78d057353db5df358e1e31bac1b98392279f5
646b0a41238b96748c7d879dd1bf81858651eb66
/archive/memd.archive/gulp/Potential.py
ac129df6be3cb0a4594a14181a7914d174181b84
[]
no_license
danse-inelastic/molDynamics
ded0298f8219064e086472299e1383d3dff2dac3
c8e0bfd9cb65bcfc238e7993b6e7550289d2b219
refs/heads/master
2021-01-01T19:42:29.904390
2015-05-03T17:27:38
2015-05-03T17:27:38
34,993,746
0
0
null
null
null
null
UTF-8
Python
false
false
2,489
py
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Brandon Keith # California Institute of Technology # (C) 2005 All Rights Reserved All Rights Reserved # # {LicenseText} # # ~~~~~~~~~~~~~~~~~~...
[ "jbrkeith@gmail.com" ]
jbrkeith@gmail.com
9450412ca95624708fe0ba54ba1780d0d0691d95
4c639c521834f4349ba2165e72c5857ddecee625
/acoustic_X_text_X_visual/AttComb_aXtXv/gender/attention_fusion_network/archived_models/archived_model_1_(MSE_best)/metrics.py
9b7d3a09c1cd9ee948834703374dc115f06d923e
[]
no_license
arbaazQureshi/attention_based_multimodal_fusion_for_estimating_depression
f4ea86746d9961fe4b9cf4f88f6cec604a201656
e4c57ac51c271c36c244c260b01a22fa1897ffcb
refs/heads/master
2020-05-19T22:48:03.665953
2019-05-06T19:34:31
2019-05-06T19:34:31
185,252,875
7
4
null
null
null
null
UTF-8
Python
false
false
1,110
py
import numpy as np import sklearn.metrics from load_data import load_development_data from load_model import load_model import os os.environ["CUDA_VISIBLE_DEVICES"]="1" if __name__ == "__main__": model = load_model() model.load_weights('optimal_weights.h5') dev_COVAREP_X_FORMANT, dev_facial_X_pose, dev_gaze_X_...
[ "arbaaz.qureshi29@gmail.com" ]
arbaaz.qureshi29@gmail.com
a2453d90db22aca756d619b74b525d6186f4875d
699c7f26a91106a2fc79bb15299ce0cee532a2dd
/xrayspecprocessing/multi.combine.group.py
ff57d3b4c05ec312c219fc8fc8133076e2dafd82
[]
no_license
samconnolly/astro
70581a4d3f2086716aace3b5db65b74aaaa5df95
3731be313592c13dbb8af898e9734b98d83c0cc2
refs/heads/master
2020-04-06T03:40:27.454279
2014-03-12T14:36:34
2014-03-12T14:36:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,509
py
# multi.combine.group.py # Uses the HEADAS tool addspec and grppha to sum sets of spectra, assign their # summed background and response files and produce a grouped spectrum # Uses a text file of input spectra. Does so from output file from listbinmin.py # Sam Connolly 4/3/13 import os # ====================== PARAM...
[ "sdc1g08@soton.ac.uk" ]
sdc1g08@soton.ac.uk
d3249edfbd3bfe038c605e6a6c80a59a783bba05
4bd5e9b67d98bfcc9611bd8b774c9ab9f4f4d446
/Python基础笔记/19/代码/2.协程.py
b87a5c7b38c3ac5ebbe4f72a39d93ec54e0ed60b
[]
no_license
zhenguo96/test1
fe21510aea7feb674e52fd7a86d4177666f841c5
0d8de7e73e7e635d26462a0bc53c773d999498be
refs/heads/master
2020-05-03T13:09:53.592103
2019-04-06T07:08:47
2019-04-06T07:08:47
178,646,627
0
0
null
null
null
null
UTF-8
Python
false
false
231
py
# 协程 def sub(): print("开始") x = yield print("x = ",x) y = yield x + 1 print("x = ", x, "y = ", y) yield x1 = sub() next(x1) print(x1.send(3)) x1.send(4)
[ "1148421588@qq.com" ]
1148421588@qq.com
3260dc302f4391afe755256b44ea9ca140f33a0e
8ad8ee4e3a4e0e8ae0ed8e92c68cf122f5ba3723
/jk_en/jk_en/sendEmail.py
e87f6f678832966b752cbb243ab64a762fe3c534
[]
no_license
yangyangyanga/automatic_update
5b5065713853c4a1225142ece4ea39be1a05d011
53c1777cbb84e489b887f38e2745477d6b6f4604
refs/heads/master
2020-05-25T21:18:24.979779
2019-05-22T08:34:02
2019-05-22T08:34:02
187,996,951
0
0
null
null
null
null
UTF-8
Python
false
false
2,194
py
import smtplib from email.mime.text import MIMEText from email.header import Header from email.mime.multipart import MIMEMultipart import pymysql def sendEmail(subject='无标题',messageText='无内容'): # accepter = 'zjlhyd0422@163.com' accepter = "625786425@qq.com" sender = "cyh6257@163.com" # 三个参数:第一个为文本内容,第二个...
[ "1102213456@qq.com" ]
1102213456@qq.com
9a93a2420acc3eb462984f16192bf378b923dbf2
0f880fab72fe18a2e5c4718ba4bf78fbe800f988
/code/CityList.py
6dd00a6060c4d7c719719ac0c9f538ffcdc1ab89
[]
no_license
clwater/GetCityGeo
ce208abb69130b091acaf9ac77b194035d7d96d4
c82b922c25c07ace0245eaa20055bfe8290d7072
refs/heads/master
2021-01-19T17:33:09.171032
2017-08-24T16:23:00
2017-08-24T16:23:00
101,068,888
1
1
null
null
null
null
UTF-8
Python
false
false
3,244
py
#!/usr/bin/python # -*- coding: UTF-8 -*- import sys reload(sys) sys.setdefaultencoding( "utf-8" ) import requests import json , re import mysql.connector conn = mysql.connector.connect(user='root', password='root', database='Utils') def getCityGeo(cityname): url = 'http://ditu.amap.com/service/poiInfo?query_...
[ "gengzhibo@gengzhibo.net" ]
gengzhibo@gengzhibo.net
b4b07278d2bdd76b4fcc168e8ca4a5e2f2b61686
4a027b32b1e2dfebd6d65c9e7afce1f2e93f16bc
/webblog/blog/admin.py
c103bbbe9137099f88f5d13d6b08262854240b18
[]
no_license
Jethet/DjangoProject-WebBlog
92aa2959349129b2ef192163ab5637dbd4099224
f64a79d889abe6a2d3caa9aa5350178d97b5c5eb
refs/heads/master
2020-05-29T23:32:53.154542
2020-02-11T21:59:24
2020-02-11T21:59:24
189,438,086
1
0
null
2020-02-11T21:59:25
2019-05-30T15:28:38
Python
UTF-8
Python
false
false
197
py
from django.contrib import admin # First import the model that you want to show up on the admin page: from .models import Post # Register your models on the admin page: admin.site.register(Post)
[ "henriette.hettinga@gmail.com" ]
henriette.hettinga@gmail.com
ce555ee518fcfbdb43e59334bdddd885f194b341
1a24def8879972f21d846ffb3813632070e1cf12
/Chapter08/0813exception-while-true.py
fa0b51fa722222322031c355be5fd5b499f32cbf
[]
no_license
mushahiroyuki/beginning-python
03bb78c8d3f678ce39662a44046a308c99f29916
4d761d165203dbbe3604173c404f70a3eb791fd8
refs/heads/master
2023-08-16T12:44:01.336731
2023-07-26T03:41:22
2023-07-26T03:41:22
238,684,870
5
4
null
2023-09-06T18:34:01
2020-02-06T12:33:26
Python
UTF-8
Python
false
false
397
py
#ファイル名 Chapter08/0813exception-while-true.py while True: try: x = int(input('最初の数を入れてください: ')) y = int(input('2番目の数を入れてください: ')) value = x / y print(f'{x}/{y}は{value}です。') except: print('入力が正しくありません。再度入力してください。') else: break
[ "hmusha@gmail.com" ]
hmusha@gmail.com
5b3cbdb9ee3124e0fee05d82c702f0c9e56923ec
fc77fc08e983385521f7073e160cf05b8484dc9d
/Music App/mapp/db_setup.py
7d68ace0c79aa6840b2127f24640c4be99f1da1e
[]
no_license
Icode4passion/Apps
e561a179147ab0f9bd074998f2b3e3a9bfedc539
51e5f2c9026a7f6a6efef33f4f54c9d7573a3070
refs/heads/master
2020-05-04T15:22:59.139023
2019-04-03T07:57:58
2019-04-03T07:57:58
179,238,161
0
0
null
null
null
null
UTF-8
Python
false
false
551
py
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.ext.declarative import declarative_base engine = create_engine('sqlite:///mymusic.db', convert_unicode=True) db_session = scoped_session(sessionmaker(autocommit=False, ...
[ "yogeerama@gmail.com" ]
yogeerama@gmail.com
192f1edf5a7c689278a89613efd7f7460b9516b8
1f6a85330596eb86a55e631ce5a0a643e200e977
/muddery/server/typeclasses/script_room_interval.py
2048e8b16d3f7555894ca832a36db1eb0acbe74d
[ "BSD-3-Clause" ]
permissive
kwer8080/muddery
ba41765c6245d33978b431ef490f10873ca8615c
8b712eeb90cfee2d602aad4505a4929528d44afd
refs/heads/master
2022-12-02T14:27:22.363386
2020-08-16T03:51:12
2020-08-16T03:51:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,549
py
""" Scripts Scripts are powerful jacks-of-all-trades. They have no in-game existence and can be used to represent persistent game systems in some circumstances. Scripts can also have a time component that allows them to "fire" regularly or a limited number of times. There is generally no "tree" of Scripts inheriting ...
[ "luyijun999@gmail.com" ]
luyijun999@gmail.com
cb72bed745489fd0e982e080dff5966200d993e3
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/helpers/pydev/third_party/pep8/lib2to3/lib2to3/fixes/fix_intern.py
e7bb5052b4b5d9571da6b4b40941ddd27288a488
[ "Apache-2.0", "EPL-1.0" ]
permissive
JetBrains/intellij-community
2ed226e200ecc17c037dcddd4a006de56cd43941
05dbd4575d01a213f3f4d69aa4968473f2536142
refs/heads/master
2023-09-03T17:06:37.560889
2023-09-03T11:51:00
2023-09-03T12:12:27
2,489,216
16,288
6,635
Apache-2.0
2023-09-12T07:41:58
2011-09-30T13:33:05
null
UTF-8
Python
false
false
1,405
py
# Copyright 2006 Georg Brandl. # Licensed to PSF under a Contributor Agreement. """Fixer for intern(). intern(s) -> sys.intern(s)""" # Local imports from .. import pytree from .. import fixer_base from ..fixer_util import Name, Attr, touch_import class FixIntern(fixer_base.BaseFix): BM_compatible = True or...
[ "dmitry.trofimov@jetbrains.com" ]
dmitry.trofimov@jetbrains.com
6f64803b680f530118f50d12f840345200374827
001ca88155c90447ae3564bb51c503500d4fdcdd
/apps/christmas/migrations/0001_initial.py
2f33cc812b526ca9d65d097c3b32136603943187
[]
no_license
andre23arruda/cartas-de-natal
b7d5766b2806814dc7aaed1315b0d51d4aa53582
b704b28137256e9c52a7d716e462334928c9d2bd
refs/heads/main
2023-04-28T04:33:28.139797
2021-05-14T04:56:05
2021-05-14T04:56:05
367,122,010
0
0
null
null
null
null
UTF-8
Python
false
false
729
py
# Generated by Django 3.1.4 on 2021-05-13 03:00 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Letter', fields=[ ('id', models.AutoField(a...
[ "andre23arruda@gmail.com" ]
andre23arruda@gmail.com
bd52bb1039bba3f6e62021f5e1b5035e90a422c1
7bc0075367290ff06565991e19033b13f0604f96
/Mundo 2/aula13/desafio047.py
531922ef5ea3d9c949fd2497d363dc2cbe2bf5db
[]
no_license
iamtheluiz/curso_em_video_python
298acd90e36473fbf797ba7bf85d729d0ca28407
aa4247b7d206771f9c9b08ad5d8585c3813ddaff
refs/heads/master
2020-04-12T16:17:51.672662
2019-01-22T00:10:41
2019-01-22T00:10:41
162,608,169
1
0
null
null
null
null
UTF-8
Python
false
false
268
py
# imports print(""" |******************| | Desafio047 | |******************| """) print("Números Pares de 1 até 50") result = "" for i in range(1, 51, 2): if i == 1: result += str(i + 1) else: result += ", "+str(i + 1) print(result)
[ "iamtheluiz.dev@gmail.com" ]
iamtheluiz.dev@gmail.com
5291f471b2d5e46a05cd5e2ec8fd990b3acf7711
33114a0f96406008da69adac757b271229fb81bf
/__init__.py
5488e89bfa7b2ba3c29c0da45814f981069162df
[]
no_license
ROB-Seismology/simpledb
9f1eaf3ad4cd2367a03b5e79931a18959e9a370d
4993dd472d1cb37023751ffca80e4dde7a6ad7fc
refs/heads/master
2021-06-24T12:13:34.309067
2020-10-20T10:30:34
2020-10-20T10:30:34
90,835,016
0
0
null
null
null
null
UTF-8
Python
false
false
1,309
py
""" Module providing basic read-write access to SQL databases. Currently supports MySQL, PostgreSQL and SQLite/SpatiaLite databases. Author: Kris Vanneste, Royal Observatory of Belgium """ from __future__ import absolute_import, division, print_function, unicode_literals ## Reloading mechanism try: reloading exce...
[ "kris.vanneste@oma.be" ]
kris.vanneste@oma.be