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
3dd51cde5fdbdc6321338ce9a565bb6b23112c26
30109f5f173f4e51a20cfcaf6ec41628b177f553
/fhir/resources/structuredefinition.py
56118989c2386d775da26b02b7cf0d5bf1a7f79c
[ "BSD-3-Clause" ]
permissive
arkhn/fhir.resources
82c8f705c8f19e15621f2bb59fd17600c0ef3697
122e89c8599c4034bb3075b31d1a1188e377db91
refs/heads/master
2022-12-16T07:58:19.448071
2020-08-13T03:59:37
2020-08-13T03:59:37
288,683,730
1
0
NOASSERTION
2020-08-19T09:01:02
2020-08-19T09:01:01
null
UTF-8
Python
false
false
23,609
py
# -*- coding: utf-8 -*- """ Profile: http://hl7.org/fhir/StructureDefinition/StructureDefinition Release: R4 Version: 4.0.1 Build ID: 9346c8cc45 Last updated: 2019-11-01T09:29:23.356+11:00 """ from typing import List as ListType from typing import Union from pydantic import Field from . import backboneelement, domain...
[ "connect2nazrul@gmail.com" ]
connect2nazrul@gmail.com
5a70b3dd55fd3d9c45bbbf134b407923549c6c38
50edd95cf9ea295b4216e10361a3dfc7e029a660
/anipose/train_autoencoder.py
e5534bcc6a314c1726f5d863fc601e59da0b5da8
[ "BSD-2-Clause" ]
permissive
goyallon/anipose
5fc03b66b5a362d8ea151c6df4cc6049bccabb15
2239cd04f1e6d1f21ff62aab005ebfe6fed351c8
refs/heads/master
2022-11-05T06:59:14.077907
2020-06-15T23:39:10
2020-06-15T23:39:10
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,255
py
#!/usr/bin/env python3 from sklearn.neural_network import MLPRegressor, MLPClassifier import pandas as pd import os.path import numpy as np from glob import glob from ruamel.yaml import YAML import pickle def get_dataset_location(model_folder): config_fname = os.path.join(model_folder, 'config.yaml') yaml =...
[ "krchtchk@gmail.com" ]
krchtchk@gmail.com
30e78d2b6cb33880f8469deab8d18521ad8705d3
ef76f8bcea6cc5331b4c8873704426f1aacfd60d
/tests/test_likenumpy.py
33b1e97bd9a7e2c4fce6a68e09a09b1832715d35
[ "BSD-3-Clause" ]
permissive
DumbMachine/awkward-array
10a51c8ac471839e435bb471f45b6624c4f982cb
8f54cc5d4de3bc56628676243bfe63c683667f16
refs/heads/master
2020-04-15T17:43:42.684480
2019-01-18T18:39:46
2019-01-18T18:39:46
164,884,686
1
0
BSD-3-Clause
2019-01-18T18:33:23
2019-01-09T15:06:24
Python
UTF-8
Python
false
false
6,027
py
#!/usr/bin/env python # Copyright (c) 2018, DIANA-HEP # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list ...
[ "jpivarski@gmail.com" ]
jpivarski@gmail.com
d63c6983f2dcdf576ef3ebfafdf14196ef632044
c64269774427d81b474b923839c0ed24a8ac38f1
/zoomident.py
d46f2d4485be6163432d1a911b8fb0b80d66ca34
[ "LicenseRef-scancode-public-domain" ]
permissive
euske/python3-toys
ba6be94c61e75473426909d0a23d65b9eb54bf2a
9945f22167e580f6e3ba1dc4a1513d25f2e6bafa
refs/heads/master
2023-04-01T04:55:20.477855
2023-03-27T02:54:28
2023-03-27T02:54:28
45,541,191
8
7
null
null
null
null
UTF-8
Python
false
false
20,046
py
#!/usr/bin/env python ## ## Usage: ## $ ./zoomident.py -i meibo.csv -i extra.txt -p10:10 report.csv ## ## report.csv: ## 祐介 新山,,2022/01/01 12:34:56,2022/01/01 12:35:00,1,Yes ## 新山 (祐),,2022/01/01 12:34:56,2022/01/01 12:35:00,1,Yes ## 99B99999 新山祐介,,2022/01/01 12:34:56,2022/01/01 12:35:00,1,Yes ## シンヤマユ...
[ "yusuke@shinyama.jp" ]
yusuke@shinyama.jp
d6e06778da1716fbaaf68b4e91319ac1c219ef43
daaf133cc4146ecd3b0df5ceafea84daa6bac2ce
/project/notes/serializers.py
085cf9d4da8d8d79ed810d541f550edae69f4dcb
[]
no_license
core-api/heroku-app
8c29452c609e4ff2344542e1e952a343f29953f6
7f03a36dc34baddcdf4cda8534ab800a98e079c9
refs/heads/master
2023-07-20T05:34:25.707890
2016-01-20T12:32:12
2016-01-20T12:32:12
32,865,301
1
0
null
2016-01-20T12:23:01
2015-03-25T13:11:06
Python
UTF-8
Python
false
false
326
py
from rest_framework import serializers class AddNoteSerializer(serializers.Serializer): description = serializers.CharField(max_length=100) class EditNoteSerializer(serializers.Serializer): description = serializers.CharField(max_length=100, required=False) complete = serializers.BooleanField(required=F...
[ "tom@tomchristie.com" ]
tom@tomchristie.com
4b95149358f6dfefe0687c5d6e8ae4f54758fb4a
b74320ad439e37dfa48cd8db38dab3b7a20a36ff
/src/diffusers/pipelines/dance_diffusion/pipeline_dance_diffusion.py
b2d46c6f90f142635dec50da02b00fe63b3e40c2
[ "Apache-2.0" ]
permissive
huggingface/diffusers
c82beba1ec5f0aba01b6744040a5accc41ec2493
5eeedd9e3336882d598091e191559f67433b6427
refs/heads/main
2023-08-29T01:22:52.237910
2023-08-28T18:16:27
2023-08-28T18:16:27
498,011,141
17,308
3,158
Apache-2.0
2023-09-14T20:57:44
2022-05-30T16:04:02
Python
UTF-8
Python
false
false
6,254
py
# Copyright 2023 The HuggingFace Team. 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 applicabl...
[ "noreply@github.com" ]
huggingface.noreply@github.com
4fe98793df58d5e1bf85fc96af28a813a0e52817
906e8d5711f64b45db1541ea15ab5de50c73fafa
/src/api/listeners/console.py
9ab2fd7769322fa1b97d3a3048b9ab91dc515ed7
[ "MIT" ]
permissive
yagrxu/infrabox
079cb2f04f13dc31811698fe94354e32e8ea91e1
1d8789db1968897fd471d4dbc1480395d365ff85
refs/heads/master
2021-04-15T10:31:54.697521
2018-03-21T21:48:12
2018-03-21T21:48:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,695
py
import json from psycopg2.extensions import ISOLATION_LEVEL_AUTOCOMMIT from eventlet.hubs import trampoline from pyinfraboxutils.db import connect_db from pyinfraboxutils import dbpool from pyinfraboxutils import get_logger logger = get_logger('console_listener') def __handle_event(event, socketio, client_manager):...
[ "steffen@infrabox.net" ]
steffen@infrabox.net
630e3b59bc97ae65efd9cdf123fa18dc17a216c8
69c81130633ba4d41b1ec938f0fc586f777e95ba
/setup.py
7e3762cd896e38a132a848717fe69bc6b7b3c13b
[ "ISC" ]
permissive
pregiotek/drf-tracking
d8ff934e884e7908f997f524d4e363914c2f11b2
f40c87a7e392009cdffa7b893e964b51f2faeb5b
refs/heads/master
2021-01-18T07:51:57.961574
2016-09-09T14:34:44
2016-09-09T14:34:44
67,803,102
1
0
null
2016-09-09T13:54:10
2016-09-09T13:54:08
Python
UTF-8
Python
false
false
2,771
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import re import os import sys from setuptools import setup name = 'drf-tracking' package = 'rest_framework_tracking' description = 'Utils to log Django Rest Framework requests to the database' url = 'https://github.com/aschn/drf-tracking' author = 'Anna Schneider' author...
[ "annarschneider@gmail.com" ]
annarschneider@gmail.com
970297db1b672f47016ec7d408bacef3cc4da9e3
eec9299fd80ed057585e84e0f0e5b4d82b1ed9a7
/user/admin.py
0b8e5495afbf1e7b37d5a28a0f436f6a35c69dc8
[]
no_license
aimiliya/mysite
f51967f35c0297be7051d9f485dd0e59b8bb60c2
b8e3b639de6c89fb8e6af7ee0092ee744a75be41
refs/heads/master
2020-04-08T19:06:36.539404
2018-12-01T08:05:18
2018-12-01T08:05:18
159,640,181
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
from django.contrib import admin from django.contrib.auth.admin import UserAdmin as BaseUserAdmin from django.contrib.auth.admin import User from .models import Profile class ProfileInline(admin.StackedInline): model = Profile can_delete = False class UserAdmin(BaseUserAdmin): inlines = (ProfileInline,)...
[ "951416267@qq.com" ]
951416267@qq.com
99ed850db9f54ab4480a94c40c385368950b6d31
58f8ba80b7288aa762e114b9d6476ef911a64044
/tests/level4-1/test_app2_responses.py
d6a6c8f99ee51d3aff9052118e8cb493c59dc8bf
[ "MIT" ]
permissive
hansroh/skitai
a3cc80b1b0ef152ee22926b40a5c22a872c4235d
c54990839a634544ae26ec2d2c2d755e2b34f99c
refs/heads/master
2023-01-22T23:49:42.868422
2023-01-04T10:14:38
2023-01-04T10:14:38
77,034,278
5
2
null
null
null
null
UTF-8
Python
false
false
1,067
py
import requests import platform def test_app (launch): with launch ("./examples/app2.py") as engine: resp = engine.get ('/threaproducer') assert resp.status_code == 200 assert len (resp.data) == 100000 resp = engine.get ('/map_in_thread') assert resp.status_code == 200 ...
[ "hansroh@gmail.com" ]
hansroh@gmail.com
acf0b8131f06d50afc7b3cb0f11b74a4e2b1a554
5d61565651b7ba5fa8fade3313a5e82fca8b6686
/interface/migrations/0002_prjcheck_fpic.py
546e9fd2488175f24de03e710e76989c914de9ef
[]
no_license
lonelyxmas/ISMS
d597b00072bfa77907875f575b866fbb1fb53295
08c5e2f3518fc639cf1a1f2869f4b2f3ae58e306
refs/heads/master
2023-08-14T12:02:59.001215
2021-03-22T03:34:58
2021-03-22T03:34:58
null
0
0
null
null
null
null
UTF-8
Python
false
false
452
py
# Generated by Django 2.1.4 on 2019-12-27 21:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('interface', '0001_initial'), ] operations = [ migrations.AddField( model_name='prjcheck', name='FPic', f...
[ "11325818@qq.com" ]
11325818@qq.com
91ff036f6c97b605a72a9b5abf1bbfc31a53e774
c18ba3fe85ae03f084bd2fef2eb4abf83ca41fd1
/ptp/wikidata.py
5c413f80db2e9600537f1a8c0a17f598a1d6d0f5
[ "Apache-2.0" ]
permissive
MusaabKh/ProceedingsTitleParser
9f68d11d02193f817a0db830f124de2a68a721e1
b48832e9032e41785f61338f6ff2f5cac91aba0e
refs/heads/master
2023-02-24T20:08:23.096893
2021-01-31T09:36:26
2021-01-31T09:36:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,035
py
''' Created on 2020-07-11 @author: wf ''' import os from ptp.titleparser import TitleParser from ptp.event import EventManager, Event class WikiData(object): ''' WikiData proceedings titles event source ''' defaultEndpoint="https://query.wikidata.org/sparql" def __init__(self, config=None): ...
[ "wf@bitplan.com" ]
wf@bitplan.com
3d9b3e3a8e24455f1d17ac7a5e2af516ed052473
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayOpenMiniWidgetDataSyncModel.py
7686d4a08b1e579200406d13612fb354366b681e
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
4,131
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * from alipay.aop.api.domain.WidgetActivityInfo import WidgetActivityInfo from alipay.aop.api.domain.WidgetGoodsInfo import WidgetGoodsInfo class AlipayOpenMiniWidgetDataSyncModel(object): def __init__(s...
[ "jishupei.jsp@alibaba-inc.com" ]
jishupei.jsp@alibaba-inc.com
757fa10fa71cf83c4ddce1e7fe97f57729e28263
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02258/s174082799.py
ec4c268e53e6fd615b4b7d4c2cbd623cf2fc2291
[]
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
192
py
n = int(input()) a = [] for i in range(n): a.append(int(input())) maxv = -(10**9) mina = a[0] for i in range(1,n): maxv = max(maxv, a[i]-mina) mina = min(mina, a[i]) print(maxv)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
fce5b5f2ed42e0117e781fb4e217c76333570e72
8bda8911512f1c454f5e75ef36f3d828661b1479
/math_03/test04.py
825c4353a53aea3c85d7334e46178e3e6b4ea99a
[]
no_license
choijaehoon1/backjoon
0f5909a1e1d416f8f431d6b986754af7eb6a3396
a0411dba08c057a312733e38683246162256e61d
refs/heads/master
2023-02-26T12:28:33.733297
2021-02-05T13:28:33
2021-02-05T13:28:33
280,430,716
0
0
null
null
null
null
UTF-8
Python
false
false
153
py
import math a,b = map(int,input().split()) gcd = math.gcd(a,b) tmp_a = a // gcd tmp_b = b // gcd result = tmp_a * tmp_b * gcd print(gcd) print(result)
[ "wogns_20@naver.com" ]
wogns_20@naver.com
a4965ebdbf2345026b3cf7f906d6d34263e5a778
2c74bb301f1ed83b79254944183ac5a18a639fdf
/homeassistant/components/modem_callerid/config_flow.py
2bc857a16f43a79d68aca1bd9f922d9893d43e62
[ "Apache-2.0" ]
permissive
Adminiuga/home-assistant
5bec93007ddac1a268cc359bf7e48530c5f73b38
dcf68d768e4f628d038f1fdd6e40bad713fbc222
refs/heads/dev
2023-02-22T22:03:31.013931
2022-11-09T00:27:20
2022-11-09T00:27:20
123,929,062
5
4
Apache-2.0
2023-02-22T06:14:31
2018-03-05T14:11:09
Python
UTF-8
Python
false
false
4,450
py
"""Config flow for Modem Caller ID integration.""" from __future__ import annotations from typing import Any from phone_modem import PhoneModem import serial.tools.list_ports from serial.tools.list_ports_common import ListPortInfo import voluptuous as vol from homeassistant import config_entries from homeassistant.c...
[ "noreply@github.com" ]
Adminiuga.noreply@github.com
9701179c2d1d86e8d46e81423ada9305f0e75887
657bad752fd4603b5c5e44a59aa6a2210d343bf0
/huxiu/huxiu/test.py
bf7fcfcd9022935eef9a3881692284db3b55938d
[]
no_license
PurpleBreeze0322/web-scraping-cases
0ed1a6f611289898004d07ef409d783c5ca25898
8b8c8c15671f2c0e7283d2e6428d44786478fede
refs/heads/master
2021-05-22T13:57:40.849489
2018-09-30T14:25:15
2018-09-30T14:25:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
924
py
from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium import webdriver headers = { "Accept-Encoding":"gzip, deflate", "Accept-Language":"zh-CN, zh;q=0.8", "Connection":"keep-alive", ...
[ "wuqili1025@gmail.com" ]
wuqili1025@gmail.com
591f1ad12a3d97363911cc7e996a2fa9768a008f
61a5e9adfcd292dcf06fceda993c0fbeb0b469cc
/alg/leetcode/b40combinenum2.py
5361ab60cff911ae885e89c6bedebf9e12615f9b
[]
no_license
godspysonyou/everything
f76e0ade065601990ff5b449f8c5955ba3c07374
03c7ec9d9e5a802ffbc854a9f929ca770ae7add8
refs/heads/master
2020-03-20T23:34:50.812645
2019-04-21T13:16:58
2019-04-21T13:16:58
137,853,372
0
0
null
null
null
null
UTF-8
Python
false
false
1,081
py
class Solution: def __init__(self): self.ret=[] def DFS(self, candidates, target, start, valueslist): length = len(candidates) if target==0: return self.ret.append(valueslist) before = -1 # 设置before是为了避免这一层中有相同的初始, 如 1 1,将会产生,用 if i in list会更好 for i in range(...
[ "1344094556@qq.com" ]
1344094556@qq.com
809de22e39392cd22203c2ab663bdb9e6901856d
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/jupyterhub_jupyterhub/jupyterhub-master/docs/source/conf.py
83b19bab19ab399e13108106e184f1424fe934bd
[]
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,011
py
# -*- coding: utf-8 -*- # import sys import os import shlex # For conversion from markdown to html import recommonmark.parser # Set paths #sys.path.insert(0, os.path.abspath('.')) # -- General configuration ------------------------------------------------ # Minimal Sphinx version needs_sphinx = '1.4' # Sphinx exte...
[ "659338505@qq.com" ]
659338505@qq.com
0166f5b538f4e262750f9bf67ddf7ea54da2b5de
82b26633d243d27ad3f9920681095de3d88d0419
/votes/tests.py
dd514d3dc0922c4080642323c39e4930ebf4862f
[]
no_license
ashishkharcheiuforks/reReddit_backend
f3cc0ffae234fecd4d04a8156bb2fea6e32aa23f
fbbc9d8977d7a996c41d92636034a50490b05c26
refs/heads/master
2021-04-23T20:20:32.029877
2019-03-25T22:17:46
2019-03-25T22:17:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,947
py
from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase from rest_framework.test import APIClient from redditors.models import User, UserSubMembership from subs.models import Sub from posts.models import Post from comments.models import Comment from votes.models im...
[ "cdunn6754@gmail.com" ]
cdunn6754@gmail.com
85550704eeeeb7250fd6c0029ac51c44c29bfa89
3d0f61f8bf2ad1ce503022c1c4c9ebe566d6040b
/detectron/utils/io.py
0cb5e22c3c889728b88623f82840936dc5562504
[ "MIT", "Apache-2.0" ]
permissive
programmerjide/Detectron
3410a812de62fc905860b3afde00f62c68a11c94
da2441cd3a3d08f9aa1e51b0d05370bdc94bf98e
refs/heads/master
2020-03-30T18:54:25.149074
2019-01-29T08:47:37
2019-01-29T08:47:37
151,519,747
0
0
Apache-2.0
2018-10-04T04:45:54
2018-10-04T04:45:54
null
UTF-8
Python
false
false
5,864
py
# Copyright (c) 2017-present, Facebook, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
65e9bfc51a6d4ab7499c2b0d6f71f5725e351419
8fe440deb4eb66d2fcb222a7c43680dc516394c1
/src/api/bkuser_core/tests/categories/plugins/custom/test_client.py
4c5bf6bce48cd7f37c39efcb6734fed68794bd8c
[ "MIT" ]
permissive
robert871126/bk-user
780e163db76a8a997ed94a1a83389fa4f81ad6a4
8c633e0a3821beb839ed120c4514c5733e675862
refs/heads/master
2023-08-20T11:05:46.317044
2021-10-22T08:44:06
2021-10-22T08:44:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,217
py
# -*- coding: utf-8 -*- """ TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-用户管理(Bk-User) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in compliance with the Lic...
[ "bluesedenyu@gmail.com" ]
bluesedenyu@gmail.com
50a1c197aa182e2136aec1c04b8b9ee483b8ca09
f9a8ee37334771f37edda863db08a7dcccc9522f
/AtCoder/Practice/茶緑埋め/ARC016B.py
751d89f85482bc23091e3ca78e6dbd24952fce1a
[]
no_license
shimmee/competitive-programming
25b008ee225858b7b208c3f3ca7681e33f6c0190
894f0b7d557d6997789af3fcf91fe65a33619080
refs/heads/master
2023-06-07T13:07:17.850769
2021-07-05T17:20:47
2021-07-05T17:20:47
331,076,780
0
0
null
null
null
null
UTF-8
Python
false
false
2,205
py
# ARC016B - 音楽ゲーム # URL: https://atcoder.jp/contests/arc016/tasks/arc016_2 # Date: 2021/02/18 # ---------- Ideas ---------- # 90度回転させてgroupbyする # key=='x'であれば連続する長さをインクリメント # key == 'o'であれば+1インクリメント # ------------------- Answer -------------------- #code:python from itertools import groupby def rotated(array_2d): ...
[ "shinmeikeita@gmail.com" ]
shinmeikeita@gmail.com
87cbbb361b99a7e07ef4e3ae17d6ca347ce8425f
5e277a32c166ae45bea28310074dc459a0d99cf6
/.metadata/.plugins/org.eclipse.core.resources/.history/ba/50143292859b00161299af2c090fd9cc
9158d155646d3e761ac70b1bf19b0f6db5aa03ea
[]
no_license
vgvcode/pos
4d7172d7905f60157fcae445c650475d17a9a390
a9dba2c5c3fc8c4529c6619a3dc92c9608a4c70d
refs/heads/master
2021-01-13T13:12:37.833510
2016-11-02T22:28:42
2016-11-02T22:28:42
72,686,364
0
0
null
null
null
null
UTF-8
Python
false
false
7,974
#!/usr/bin/python from __future__ import print_function # Python 2/3 compatibility import json from decimal import * import time import uuid import boto3 from copy import deepcopy from boto3.dynamodb.conditions import Key import commonmodule # Helper class to convert a DynamoDB item to JSON. class DecimalEncoder(json....
[ "vgvcode@gmail.com" ]
vgvcode@gmail.com
7481ab62600b37b564fb2f0ca4915e76760a84d7
4234dc363d0599e93abc1d9a401540ad67702b3b
/clients/kratos/python/ory_kratos_client/model/ui_node_text_attributes.py
5f6f84ba22c9664700ca785fb6b7853756a8cdfd
[ "Apache-2.0" ]
permissive
ninjayoto/sdk
8065d3f9e68d287fc57cc2ae6571434eaf013157
73823009a416905a4ca1f9543f1a94dd21e4e8da
refs/heads/master
2023-08-28T03:58:26.962617
2021-11-01T17:57:24
2021-11-01T17:57:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,102
py
""" Ory Kratos API Documentation for all public and administrative Ory Kratos APIs. Public and administrative APIs are exposed on different ports. Public APIs can face the public internet without any protection while administrative APIs should never be exposed without prior authorization. To protect the admini...
[ "3372410+aeneasr@users.noreply.github.com" ]
3372410+aeneasr@users.noreply.github.com
ead246f8b3bc4b82a6e3c6fcbc15adda7e8c9394
2148b047f6b0e8c3182aae438d745cf35234220c
/config/eval.py
6b77931a633704949ff5f9f810166b62f52199b4
[]
no_license
xzk-seu/xzk_thesis_code
d12845fdbed38893ac66aec876ed8933c5a7a2a1
abfebca5315725d28346ddc362abe1fef73097b9
refs/heads/master
2023-04-11T19:36:16.556585
2021-05-07T12:18:18
2021-05-07T12:18:18
363,370,982
0
0
null
null
null
null
UTF-8
Python
false
false
4,078
py
from typing import List from common import Instance import torch import numpy as np class Span: """ A class of `Span` where we use it during evaluation. We construct spans for the convenience of evaluation. """ def __init__(self, left: int, right: int, type: str): """ A span compos...
[ "1399350807@qq.com" ]
1399350807@qq.com
02d5599e8cefba6aba67e00d744ef474a2d137de
b15a9d9c7374c4a1fa5ec3ef63603a8c57e8681f
/Design-Patterns-Python/facade/game_api.py
c049520bdfdac8376257014495a620024530efab
[]
no_license
gohils/zemr_notebook
3f7490ef7a2559655746c3e2e0dbfb835a83891e
00d53cea9970df44160c51e6ad2bdeadfae2c91f
refs/heads/master
2023-08-04T14:32:35.428016
2023-07-20T11:51:08
2023-07-20T11:51:08
222,027,451
0
0
null
null
null
null
UTF-8
Python
false
false
1,207
py
"The Game API facade" from decimal import Decimal from users import Users from wallets import Wallets from game_engine import GameEngine from reports import Reports class GameAPI(): "The Game API facade" @staticmethod def get_balance(user_id: str) -> Decimal: "Get a players balance" ...
[ "noreply@github.com" ]
gohils.noreply@github.com
996b44812bd5d0977998f519cc46389a487cbfff
f54fdbb8301f54dda8551bb811e864d3a81da6de
/Python/심화_클래스활용_실습코드/Advanced_OOP_6.py
92141b2e98259d343ecd114a4d1b92c725d51320
[]
no_license
Jerrykim91/Daily
0533afe1956ca5cc88f7d69f7810b489240e70e6
30f738fc9728b7501bf5601e17189f47c13aaec9
refs/heads/master
2021-07-24T23:18:09.686269
2020-10-17T12:07:57
2020-10-17T12:07:57
226,638,343
0
0
null
null
null
null
UTF-8
Python
false
false
1,781
py
# 출처 : README.md 참조 """ 클래스 메소드의 사용법 + # 리턴하는 기능을 가진 스태틱 메소드 """ class Person(object): # my_class_var = 'sanghee' def __init__(self, year, month, day, sex): self.year = year self.month = month self.day = day self.sex = sex def __str__(self): return '{}년 {}...
[ "sun4131@gmail.com" ]
sun4131@gmail.com
ddc15468630f01ae1dab3138722888d249e76ae0
7548c8efccb43b1d8daec719bd7d8ad4a4d03630
/Wildcard Matching/Leetcode_44.py
7999629e5a083344bd36c21f952567b1a3033e3d
[]
no_license
arw2019/AlgorithmsDataStructures
fdb2d462ded327857d72245721d3c9677ba1617b
9164c21ab011c90944f844e3c359093ce6180223
refs/heads/master
2023-02-17T11:50:07.418705
2021-01-19T19:37:17
2021-01-19T19:37:17
204,222,584
0
0
null
null
null
null
UTF-8
Python
false
false
1,764
py
# dynamic program # O(m*n) runtime, O(n) space class Solution: def isMatch(self, s: str, p: str) -> bool: m, n = len(s), len(p) cur = [True] + [False]*(m) print(cur) for j in range(1, n+1): pre = cur[0] cur[0] = cur[0] and (p[j-1] == '*') for i in...
[ "noreply@github.com" ]
arw2019.noreply@github.com
820a5e2454cddcd8cb18cb9f6630a71d464f709e
f55e27646398ccf20b99d4bf1afdb4cdf1b2f30d
/app/role/models.py
3501c6f3594509c1dd44d4e2227a3b3da7cd12a1
[]
no_license
sartim/flask_shop_api
1f8b96ccdf6bae5b080fa0ff29116f2cbec14c4b
07b6b4460593ce736866ead6e5f3682b16fc5316
refs/heads/master
2023-08-02T23:40:25.897464
2023-05-20T06:12:38
2023-05-20T06:12:38
176,507,271
2
4
null
2023-07-25T22:18:45
2019-03-19T12:28:44
Python
UTF-8
Python
false
false
1,473
py
from app import db from sqlalchemy import text from sqlalchemy.dialects.postgresql import UUID from app.core.base_model import BaseModel, AbstractBaseModel class Role(BaseModel): __tablename__ = 'role' id = db.Column( UUID(as_uuid=True), primary_key=True, server_default=text("uuid_generate_v4...
[ "sarrtim@gmail.com" ]
sarrtim@gmail.com
932330f52d59db3f156a0cd226118ccfa8de456a
f3f42cd16c7c39f54dcb6891d37369542cf7bc00
/server.py
e2803cd828506afe19777eb49fcf7cdcd4d4f16b
[]
no_license
imhardikj/inception
3cfb1d492669c30fdedc65d26c91bc6ee9846bc0
7585afa0586a73f4a5553b384b791e68383f0c29
refs/heads/master
2020-11-25T02:11:32.171346
2019-12-16T18:10:14
2019-12-16T18:10:14
228,446,130
0
0
null
null
null
null
UTF-8
Python
false
false
3,113
py
import os from flask import Flask, request, redirect,jsonify from werkzeug.utils import secure_filename from try_retrain import predict_image_class from bs4 import BeautifulSoup import requests UPLOAD_FOLDER = 'D:/' ALLOWED_EXTENSIONS = set([ 'png', 'jpg', 'jpeg']) app = Flask(__name__) app.config['UPLOAD_...
[ "noreply@github.com" ]
imhardikj.noreply@github.com
60dce4a3326a9bdffb8321222519728bd4e53b3e
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/adjectives/_exempts.py
ba3ae516ff8f24200a01a7f19517c7cf4bb06803
[ "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
248
py
from xai.brain.wordbase.adjectives._exempt import _EXEMPT #calss header class _EXEMPTS(_EXEMPT, ): def __init__(self,): _EXEMPT.__init__(self) self.name = "EXEMPTS" self.specie = 'adjectives' self.basic = "exempt" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
9f8a8dd6b836f1686c9e46fb4cba274438d27581
7b67ea903cc08e31c6156fa4bb7b40b64950b474
/note32/test_context.py
7692a0cb759e99eaecbd3a04658721c84423417d
[ "MIT" ]
permissive
icexmoon/python-learning-notes
62596c2d6a439f30c8c0637eca1af36d88a3bea6
838c91d896404290b89992b6517be1b6a79df41f
refs/heads/main
2023-05-27T11:21:25.575286
2021-06-08T07:33:22
2021-06-08T07:33:22
365,742,219
0
0
null
null
null
null
UTF-8
Python
false
false
277
py
def test_yield(): print('start') yield 1 print('after') ty = test_yield() next(ty) next(ty) # start # after # Traceback (most recent call last): # File "D:\workspace\python\python-learning-notes\note32\test.py", line 8, in <module> # next(ty) # StopIteration
[ "icexmoon@qq.com" ]
icexmoon@qq.com
f56cd91fa9140e05b12a527a040d556bb0d9b957
4f8ddd9808535ee8aa900393c3a429f480324574
/Manipulação_Arquivo/io_1.py
3b10d40c98aceb024f65e4886c0c612f6187de6c
[]
no_license
kamibarreto/Cod3r
1de8bb5288c16f90e1060089e7fda8216b6cb7cf
cea86f3984e3d43c0726b9ea809505d00679a314
refs/heads/master
2022-12-22T23:13:59.176534
2020-09-05T11:01:10
2020-09-05T11:01:10
284,170,973
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
#!/usr/bin/env python3 arquivo = open('/home/kami/Projetos/Cod3r/Manipulação_Arquivo/pessoas.csv') #ele vai abrir o arquivo pessoas.csv com o "open" dados = arquivo.read() #read vai colocar o conteudo de arquivo em dados, e ai ele vai poder fechar arquivo, pq tudo vai estar na variavel arquivo.close() for registro in ...
[ "fabinhobarreto9928@gmail.com" ]
fabinhobarreto9928@gmail.com
9d848e5fe1603a3252c87bcf55000026afc62ae7
6ca3acb227e340edbee80668591e7008cc256b5b
/flask_appbuilder/security/registerviews.py
b341bd27b4e7c10149f5e510a65bd6c77abb877c
[ "BSD-3-Clause" ]
permissive
tuxskar/Flask-AppBuilder
4c69dce5c13f85b930d5b4761945b33ffb231ef7
4f65bbbd7edc6e7ca7c5f62a499677565e0662e1
refs/heads/master
2021-01-12T21:04:22.702263
2014-12-17T00:20:58
2014-12-17T00:20:58
28,113,074
1
0
null
null
null
null
UTF-8
Python
false
false
11,361
py
__author__ = 'dpgaspar' import uuid import sys import logging from werkzeug.security import generate_password_hash from flask import render_template, flash, redirect, session, url_for, request from ..views import expose, PublicFormView from openid.consumer.consumer import Consumer, SUCCESS, CANCEL from flask.ext.openi...
[ "danielvazgaspar@gmail.com" ]
danielvazgaspar@gmail.com
083ba568862e297eb94e0c17898fa3699f67ce16
6066b2af4b4f6ab967cfb8af8ec3b8ee68545ab9
/Key Terms Extraction/Topics/Regexps in Python/Match or not match/main.py
7a794774d3b29e1f7480885d26d99a3befeb3b5c
[]
no_license
zsbati/PycharmProjects
7b29b210b4878af42baf288c585675d0203b9805
c13b05901c5ff8ea6fc7bcb61c70aa40940daa56
refs/heads/main
2023-09-04T09:01:19.315655
2021-10-24T16:24:43
2021-10-24T16:24:43
401,172,721
0
0
null
null
null
null
UTF-8
Python
false
false
93
py
import re def matched(template, string): return re.match(template, string) is not None
[ "zbati123@gmail.com" ]
zbati123@gmail.com
5e5c71a02a8be32bfa37c518c777781b96b690f6
2dbaf18e92d31a2b8a5ffbd213c62a94a3256076
/taobei/tbbuy/models/cart_product.py
f264206ebfa05d7f7c20112b4d64781658dac435
[]
no_license
ruoshengyuan/guanfang
17c289677f44a50fdd4ae7a1d9858608228496e0
251f514636c4828f28aa65b2bd6fc1fe46f4437a
refs/heads/master
2022-12-13T18:05:50.268182
2019-09-24T13:42:09
2019-09-24T13:42:09
201,073,359
3
0
null
2022-12-07T23:53:57
2019-08-07T15:04:07
Python
UTF-8
Python
false
false
839
py
from sqlalchemy import Column, Integer, String, ForeignKey, UniqueConstraint, Index from sqlalchemy.orm import relationship from marshmallow import Schema, fields, post_load from .base import Base class CartProduct(Base): __tablename__ = 'cart_product' __table_args__ = ( UniqueConstraint('user_id', '...
[ "jaggerwang@gmail.com" ]
jaggerwang@gmail.com
3819d5a9b598f699ab0e2807b410b5841ee47825
b22588340d7925b614a735bbbde1b351ad657ffc
/athena/PhysicsAnalysis/DerivationFramework/DerivationFrameworkExotics/share/EXOT9.py
716d4dc175f4037ddd5a4a78237cff509e18f99b
[]
no_license
rushioda/PIXELVALID_athena
90befe12042c1249cbb3655dde1428bb9b9a42ce
22df23187ef85e9c3120122c8375ea0e7d8ea440
refs/heads/master
2020-12-14T22:01:15.365949
2020-01-19T03:59:35
2020-01-19T03:59:35
234,836,993
1
0
null
null
null
null
UTF-8
Python
false
false
8,760
py
#******************************************************************** # EXOT9.py # reductionConf flag EXOT9 in Reco_tf.py #******************************************************************** from DerivationFrameworkCore.DerivationFrameworkMaster import * from DerivationFrameworkJetEtMiss.JetCommon import * from De...
[ "rushioda@lxplus754.cern.ch" ]
rushioda@lxplus754.cern.ch
49ac9d28cdc33d372bad35111a0dada73d3cf5c4
c4e3a57511eb7a39425847bdcd38a2207e560a13
/Algorithm/909_Snakes_Or_Ladders.py
4a704f1a03ea4df560bf51751413b205e395c053
[]
no_license
Gi1ia/TechNoteBook
57af562b78278b7f937b906d1154b19f2c077ebd
1a3c1f4d6e9d3444039f087763b93241f4ba7892
refs/heads/master
2021-06-03T02:31:24.986063
2020-07-16T22:25:56
2020-07-16T22:25:56
141,761,958
7
1
null
2018-11-05T01:09:46
2018-07-20T22:06:12
HTML
UTF-8
Python
false
false
1,299
py
import collections class Solution: def snakesAndLadders(self, board): """ :type board: List[List[int]] :rtype: int """ if not board or not board[0] or len(board[0]) == 1: return 0 # Reorder board to straight n = len(board) straigh...
[ "41492334+Gi1ia@users.noreply.github.com" ]
41492334+Gi1ia@users.noreply.github.com
ffb6607401c22caf600ff9a032495a22b1808ea7
665455c521cc7cf76c5436337ed545de90976af4
/cohesity_management_sdk/models/mongoDB_additional_params.py
7224cbcb0a345aae191387f6feddcbb4add9c4ad
[ "Apache-2.0" ]
permissive
hsantoyo2/management-sdk-python
d226273bc8eedcf9220ea4999a6f0b9a1a30d99c
0093194d125fc6746f55b8499da1270c64f473fc
refs/heads/master
2023-03-01T06:09:39.644085
2021-01-15T08:23:16
2021-01-15T08:23:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,906
py
# -*- coding: utf-8 -*- # Copyright 2020 Cohesity Inc. class MongoDBAdditionalParams(object): """Implementation of the 'MongoDBAdditionalParams' model. Contains additional parameters required for taking backup from this Mongo cluster. Attributes: secondary_node_tag (list of string): The tag as...
[ "naveena.maplelabs@cohesity.com" ]
naveena.maplelabs@cohesity.com
d8135d350a5efd8400b5d8049c2655c6b35e83eb
522d50be4c7c4f289706eaf9b07e6a17b0d46199
/src/djangopycsw/migrations/0011_auto_20150710_1157.py
d2bdf148b01958799a29b410b0777b4899bf8c14
[]
no_license
ricardogsilva/django-pycsw
f7f4655ccc1d686074c4a0cded198290767fd788
0b51dcf0456e7d9f366874ac3f066e295f533876
refs/heads/master
2021-01-18T14:19:16.313364
2017-11-08T22:50:41
2017-11-08T22:50:41
38,635,333
2
2
null
null
null
null
UTF-8
Python
false
false
3,568
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('djangopycsw', '0010_auto_20150710_1155'), ] operations = [ migrations.AlterField( model_name='collaborator', ...
[ "ricardo.garcia.silva@gmail.com" ]
ricardo.garcia.silva@gmail.com
cd1f3ab6eb02464ada9c3e0bdbb15065d1bff148
b2755ce7a643ae5c55c4b0c8689d09ad51819e6b
/anuvaad-etl/anuvaad-extractor/document-processor/ocr/google/src/utilities/utils.py
e05f8b91eff7a7fc61d6bf08994e9e6865583968
[ "MIT" ]
permissive
project-anuvaad/anuvaad
96df31170b27467d296cee43440b6dade7b1247c
2bfcf6b9779bf1abd41e1bc42c27007127ddbefb
refs/heads/master
2023-08-17T01:18:25.587918
2023-08-14T09:53:16
2023-08-14T09:53:16
265,545,286
41
39
MIT
2023-09-14T05:58:27
2020-05-20T11:34:37
Jupyter Notebook
UTF-8
Python
false
false
3,688
py
import os from pathlib import Path import time import json from anuvaad_auditor.errorhandler import post_error from anuvaad_auditor.errorhandler import post_error_wf class FileOperation(object): def __init__(self): self.download_folder = None # creating directory if it is not existed before. def ...
[ "srihari.nagaraj@tarento.com" ]
srihari.nagaraj@tarento.com
3c258612b6a06b131dd33dde99f1d222ad80f67e
685f4474699d769dae88537c69f5517ac13a8431
/EL37.py
5132902ccc1db99462685de28e9318eee8d0eb4f
[]
no_license
Pumafied/Project-Euler
7466f48e449b7314598c106398c0be0424ae72d5
0c3e80a956893ce1881a9694131d52b156b9d3d8
refs/heads/master
2016-09-05T22:45:09.733696
2013-04-20T04:46:48
2013-04-20T04:46:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
432
py
# The number 3797 has an interesting property. Being prime itself, it is possible to continuously remove digits from left to right, and remain prime at each stage: 3797, 797, 97, and 7. Similarly we can work from right to left: 3797, 379, 37, and 3. # Find the sum of the only eleven primes that are both truncatable ...
[ "pumafied@gmail.com" ]
pumafied@gmail.com
668e6428fdcf2c5b6ad771bafa1d1cda5a55e4db
f1a3bd9ad5ef76204c24dc96f113c405ece21b6d
/main/migrations/0043_auto.py
0eb16b471a3427ab67c0d985d939e3271b099e46
[]
no_license
JamesLinus/solidcomposer
02f83c3731774e8008d46b418f3bf4fb5d9dab36
ed75e576ce1c50487403437b5b537f9bfbb6397e
refs/heads/master
2020-12-28T23:50:06.745329
2014-01-24T02:34:41
2014-01-24T02:34:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,399
py
# encoding: 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): # Removing M2M table for field new_competitions_bookmarked on 'Profile' db.delete_table('main_profile_new_...
[ "superjoe30@gmail.com" ]
superjoe30@gmail.com
bd9fcd49f98ccc6899ff0965b7a991dca19906f9
1d928c3f90d4a0a9a3919a804597aa0a4aab19a3
/python/spaCy/2017/8/morph_rules.py
2875eb3c8d6f3e52d7c95b8b56099ed57ab2a886
[ "MIT" ]
permissive
rosoareslv/SED99
d8b2ff5811e7f0ffc59be066a5a0349a92cbb845
a062c118f12b93172e31e8ca115ce3f871b64461
refs/heads/main
2023-02-22T21:59:02.703005
2021-01-28T19:40:51
2021-01-28T19:40:51
306,497,459
1
1
null
2020-11-24T20:56:18
2020-10-23T01:18:07
null
UTF-8
Python
false
false
5,937
py
# coding: utf8 from __future__ import unicode_literals from ...symbols import LEMMA from ...deprecated import PRON_LEMMA # Used the table of pronouns at https://sv.wiktionary.org/wiki/deras MORPH_RULES = { "PRP": { "jag": {LEMMA: PRON_LEMMA, "PronType": "Prs", "Person": "One", "Number": "Sing",...
[ "rodrigosoaresilva@gmail.com" ]
rodrigosoaresilva@gmail.com
141a5a6aba2ac440c8db01781017828365654ba7
eb9f655206c43c12b497c667ba56a0d358b6bc3a
/python/testData/addImport/relativeImportWithDotsOnly/foo/bar/test.after.py
4320a3295cc73ab93a77673cd011ffa5caab9a31
[ "Apache-2.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
44
py
from .. import lib from .baz import baz_func
[ "intellij-monorepo-bot-no-reply@jetbrains.com" ]
intellij-monorepo-bot-no-reply@jetbrains.com
585504f0c092f229fe513fe44804077ba55e94bf
ed54290846b5c7f9556aacca09675550f0af4c48
/python/scrapy/shiyanlougithub/shiyanlougithub/spiders/repositories.py
1ba29b6d6b0ed95cf7b9e5c39a7ee14505332f44
[ "Apache-2.0" ]
permissive
smallyear/linuxLearn
87226ccd8745cd36955c7e40cafd741d47a04a6f
342e5020bf24b5fac732c4275a512087b47e578d
refs/heads/master
2022-03-20T06:02:25.329126
2019-08-01T08:39:59
2019-08-01T08:39:59
103,765,131
1
0
null
null
null
null
UTF-8
Python
false
false
682
py
# -*- coding: utf-8 -*- import scrapy from shiyanlougithub.items import ShiyanlougithubItem class RepositoriesSpider(scrapy.Spider): name = 'repositories' @property def start_urls(self): url = 'https://github.com/shiyanlou?page={}&tab=repositories' return (url.format(i) for i in rang...
[ "5931263123@163.com" ]
5931263123@163.com
b1a2440fab36e02a54c64e490fe489194f24fecc
7101871e7a82d202483ada3053fec155ce7824a6
/contrib/bitrpc/bitrpc.py
578002f747ed223ae8c640ef4ebef27574474037
[ "MIT" ]
permissive
trumpcoinsupport/TrumpCoin
633a9992e46cab00774d01e569f4611b7f6b4b54
098c62ea249a63ca1cc31d5f37c6209ccdf50e2a
refs/heads/master
2023-01-11T20:22:03.469608
2021-12-31T10:04:39
2021-12-31T10:04:39
194,952,065
15
14
MIT
2023-01-08T02:49:09
2019-07-03T00:24:45
C++
UTF-8
Python
false
false
9,665
py
from jsonrpc import ServiceProxy import sys import string import getpass # ===== BEGIN USER SETTINGS ===== # if you do not set these you will be prompted for a password for every command rpcuser = "" rpcpass = "" # ====== END USER SETTINGS ====== if rpcpass == "": access = ServiceProxy("http://127.0.0.1:15320") ...
[ "sebgruby@gmail.com" ]
sebgruby@gmail.com
61076af3e80c5fb17be8652e0ee606478ab8a072
8d29d0e5e51422ecddeec20a36c96e5359dfec47
/ax/models/discrete/thompson.py
a7cf1aabc4239cca842adf7b076b943745f0996d
[ "MIT" ]
permissive
AdrianaMusic/Ax
e5bd0bd72743a000203dee4a47ac2cdec6e16115
6e7470423cf9b9c8e83239d689455f5b15b62b7d
refs/heads/master
2023-03-27T16:32:58.644860
2021-03-29T15:38:53
2021-03-29T15:40:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,674
py
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. import hashlib import json from typing import Dict, List, Optional, Tuple import numpy as np from ax.core.types import...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
fcb28620711e0de02486fea670581b9b5545cc98
3d19e1a316de4d6d96471c64332fff7acfaf1308
/Users/L/LisaTalia/jensonbutton_twitter_followers_2.py
bf8959f7d0ada25a0ceeb119eca07c6ab3c8838c
[]
no_license
BerilBBJ/scraperwiki-scraper-vault
4e98837ac3b1cc3a3edb01b8954ed00f341c8fcc
65ea6a943cc348a9caf3782b900b36446f7e137d
refs/heads/master
2021-12-02T23:55:58.481210
2013-09-30T17:02:59
2013-09-30T17:02:59
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,246
py
import scraperwiki import simplejson import urllib2 import sys # Needs to be in lower case SCREENNAME = 'iCod' # API help: https://dev.twitter.com/docs/api/1/get/followers/ids url = 'http://api.twitter.com/1/followers/ids.json?screen_name=%s' % (urllib2.quote(SCREENNAME)) print url followers_json = simplejson.loads(...
[ "pallih@kaninka.net" ]
pallih@kaninka.net
b019fb5ae46827e1a3740f5c118317c74fa8262c
9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56
/google/ads/googleads/v9/services/services/account_budget_proposal_service/transports/base.py
f1aa4845ec900732bfa03bdd6987bbf629ad7d73
[ "Apache-2.0" ]
permissive
GerhardusM/google-ads-python
73b275a06e5401e6b951a6cd99af98c247e34aa3
676ac5fcb5bec0d9b5897f4c950049dac5647555
refs/heads/master
2022-07-06T19:05:50.932553
2022-06-17T20:41:17
2022-06-17T20:41:17
207,535,443
0
0
Apache-2.0
2019-09-10T10:58:55
2019-09-10T10:58:55
null
UTF-8
Python
false
false
4,520
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" ]
GerhardusM.noreply@github.com
f1caa1d51454453d66b6f77be2fd0f473f85a711
9d1ef7993bf0df9967b1e7a79d5913fbc3e3a7e1
/util.py
685621eda555f1de7649a2fbe36382c343b6b420
[ "BSD-2-Clause" ]
permissive
mitmedialab/WhatWeWatch-Analysis
f6f4fbd8fba4ef6a58f4961c7f3d9b9519dae3a4
cc01dee4e77155c8aec7638e4275172053db3247
refs/heads/master
2021-05-28T05:40:36.678808
2014-11-03T01:22:26
2014-11-03T01:22:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,798
py
import csv import datetime import json import math import os import random import numpy as np dirname = os.path.dirname(os.path.realpath(__file__)) with open(os.path.join(dirname, 'country_info.json'), 'rb') as f: country_list = json.loads(f.read()) country_info = dict() for country in country_list: alpha3 =...
[ "ed@elplatt.com" ]
ed@elplatt.com
1652ad9daf15db0ca2e2d44b9f59139dd7a652db
4142b8c513d87361da196631f7edd82f11465abb
/python/630/630I.py
6cde5d177d6668156063078b87be1d83a647c71e
[]
no_license
npkhanhh/codeforces
b52b66780426682ea1a3d72c66aedbe6dc71d7fe
107acd623b0e99ef0a635dfce3e87041347e36df
refs/heads/master
2022-02-08T17:01:01.731524
2022-02-07T10:29:52
2022-02-07T10:29:52
228,027,631
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
import math n = int(input()) space = 2 * n - 2 rs = space - n res = 2 * 4 * 3 * pow(4, rs - 1) if n > 3: res += 3 * 4 * 3 * pow(4, rs - 2) * (rs - 1) print(res)
[ "npkhanh93@gmail.com" ]
npkhanh93@gmail.com
fff590cd8a782b6dfd6b9e833ebce514704de1a4
a0dbc48f31cf3fbddd3cc7672cf3db415cb391c4
/compiler/drc/__init__.py
40e3a45cdbd01353b65a987887e550f8c1438711
[ "BSD-3-Clause" ]
permissive
wangyaobsz/OpenRAM
4178ef93816b233bac0aaecc580e2cbd235ac39d
0d616ae072e6c42a0d8a006eebc681408502e956
refs/heads/master
2022-08-23T07:51:39.745708
2022-07-21T16:37:24
2022-07-21T16:37:24
113,813,373
1
0
null
2017-12-11T04:47:53
2017-12-11T04:47:52
null
UTF-8
Python
false
false
180
py
from .custom_cell_properties import * from .custom_layer_properties import * from .design_rules import * from .module_type import * from .drc_lut import * from .drc_value import *
[ "mrg@ucsc.edu" ]
mrg@ucsc.edu
05367742808db1ee40d5e26a98bd238f59c9e1c5
9ac405635f3ac9332e02d0c7803df757417b7fee
/geografia/apps.py
cf5d22eb8e0f1db20c056602cfb45571fd5e655b
[]
no_license
odecsarrollo/07_intranet_proyectos
80af5de8da5faeb40807dd7df3a4f55f432ff4c0
524aeebb140bda9b1bf7a09b60e54a02f56fec9f
refs/heads/master
2023-01-08T04:59:57.617626
2020-09-25T18:01:09
2020-09-25T18:01:09
187,250,667
0
0
null
2022-12-30T09:36:37
2019-05-17T16:41:35
JavaScript
UTF-8
Python
false
false
93
py
from django.apps import AppConfig class GeografiaConfig(AppConfig): name = 'geografia'
[ "fabio.garcia.sanchez@gmail.com" ]
fabio.garcia.sanchez@gmail.com
e638a1bce25a680fb36e833c918588d159a522d5
32809f6f425bf5665fc19de2bc929bacc3eeb469
/src/1039-Minimum-Score-Triangulation-of-Polygon/1039.py
f87bf6ee51d479a31c606ff6a795632caf3e38a6
[]
no_license
luliyucoordinate/Leetcode
9f6bf01f79aa680e2dff11e73e4d10993467f113
bcc04d49969654cb44f79218a7ef2fd5c1e5449a
refs/heads/master
2023-05-25T04:58:45.046772
2023-05-24T11:57:20
2023-05-24T11:57:20
132,753,892
1,575
569
null
2023-05-24T11:57:22
2018-05-09T12:30:59
C++
UTF-8
Python
false
false
350
py
class Solution: def minScoreTriangulation(self, A: List[int]) -> int: n = len(A) dp = [[0] * n for i in range(n)] for d in range(2, n): for i in range(n - d): j = i + d dp[i][j] = min(dp[i][k] + dp[k][j] + A[i] * A[j] * A[k] for k in range(i + 1, j...
[ "luliyucoordinate@outlook.com" ]
luliyucoordinate@outlook.com
443f9c31e65875c862b8d0538956fdb4badc4e8f
313e29c735deecfe75ae603ff774f32a6574d159
/home/migrations/0002_load_initial_data.py
eb9af5fcf0569de1f1b3fad3aab461a66bef3afb
[]
no_license
crowdbotics-apps/web-24-dev-3400
15513166c4316512671bb25ce7c048a2b8322b86
702f7cd25e31447f87d12625dcc86eb8a5bfd865
refs/heads/master
2023-05-30T19:28:40.871181
2020-04-24T13:46:18
2020-04-24T13:46:18
258,422,254
0
0
null
2021-06-12T18:05:52
2020-04-24T06:09:54
Python
UTF-8
Python
false
false
1,281
py
from django.db import migrations def create_customtext(apps, schema_editor): CustomText = apps.get_model("home", "CustomText") customtext_title = "web 24" CustomText.objects.create(title=customtext_title) def create_homepage(apps, schema_editor): HomePage = apps.get_model("home", "HomePage") ho...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
1c8040e3a1f1d9305eaa363c6c7d055c98c090ac
42ffb5262adaaaba6477444cbc922c7e119ddb32
/pycatia/tps_interfaces/particular_tol_elem.py
14cc5542c7ebbd868c3ac0325b3425b85b072c07
[ "MIT" ]
permissive
joaoantfig/pycatia
0bdd03c489c87b982d45617f783b04ce167fd56a
2d087d9861c76dbcdc4b19d99528d14649d1c45f
refs/heads/master
2023-09-01T00:00:09.727160
2021-09-29T16:17:54
2021-09-29T16:17:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,879
py
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-09-25 14:34:21.593357 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
[ "evereux@gmail.com" ]
evereux@gmail.com
26e4da7286661b314fb390dae31d023f75fe2622
ad6f20ca36dc65e34b43c69db66f383554718fed
/OOPs/templates.py
70b0ac5f07ef7984309df506657eb224cfe06582
[]
no_license
atulanandnitt/questionsBank
3df734c7389959801ab6447c0959c85f1013dfb8
477accc02366b5c4507e14d2d54850a56947c91b
refs/heads/master
2021-06-11T21:39:24.682159
2021-05-06T17:54:18
2021-05-06T17:54:18
175,861,522
0
1
null
2020-05-02T09:26:25
2019-03-15T17:10:06
Python
UTF-8
Python
false
false
873
py
from string import Template class MyTemplate(Template): delimiter = '#' def Main(): cart = [] cart.append(dict(item='Coke', price=8, qty=1)) cart.append(dict(item='Cake', price=12, qty=2)) cart.append(dict(item='Fish', price=22, qty=4)) t = MyTemplate("#price * #qty = #price") ...
[ "atul.anand.nitt@gmail.com" ]
atul.anand.nitt@gmail.com
69bb140daaed69ba98843a48a802fa8cf3e5a5e5
a34f722efe6b7b4c102464daebf61450d1fcb774
/devel/test_series/gridded_noiseless_nofg.py
41d51d04fafaf91d914ecf980e2b6f806ee8af0c
[ "MIT" ]
permissive
BellaNasirudin/py21cmmc_fg
4eae59fc5c3647f48a0de5f2963473e92409241a
928822d07760c481c7673c83c1b7bf4421310b31
refs/heads/master
2021-10-10T11:57:57.278899
2019-07-26T05:05:45
2019-07-26T05:05:45
131,949,549
1
3
MIT
2019-02-20T05:14:16
2018-05-03T06:10:13
Jupyter Notebook
UTF-8
Python
false
false
876
py
""" The first test in a series of tests to prove that this code works. Here are the tests: 1. ** Gridded baselines, no thermal noise, no foregrounds 2. Gridded baselines, thermal noise, no foregrounds 3. MWA baselines, thermal noise, no foregrounds 4. Gridded baselines, thermal noise, point-source foregrounds 5. MWA ...
[ "steven.murray@curtin.edu.au" ]
steven.murray@curtin.edu.au
571e9c49ac89ab60c4939efda633234705c25958
c1960138a37d9b87bbc6ebd225ec54e09ede4a33
/adafruit-circuitpython-bundle-py-20210402/lib/adafruit_mcp230xx/mcp230xx.py
23b64f8c9d08030a7bc42a7c1083c134cdb63a14
[]
no_license
apalileo/ACCD_PHCR_SP21
76d0e27c4203a2e90270cb2d84a75169f5db5240
37923f70f4c5536b18f0353470bedab200c67bad
refs/heads/main
2023-04-07T00:01:35.922061
2021-04-15T18:02:22
2021-04-15T18:02:22
332,101,844
0
0
null
null
null
null
UTF-8
Python
false
false
2,153
py
# SPDX-FileCopyrightText: 2017 Tony DiCola for Adafruit Industries # SPDX-FileCopyrightText: 2019 Carter Nelson # # SPDX-License-Identifier: MIT """ `mcp230xx` ==================================================== CircuitPython module for the MCP23017 and MCP23008 I2C I/O extenders. * Author(s): Tony DiCola """ from...
[ "55570902+apalileo@users.noreply.github.com" ]
55570902+apalileo@users.noreply.github.com
a4e594df686f039ef10ff36ac5c9d74f148dde7e
7cd760f1a570155ad001e53dd34cf7b5451bc099
/mkt/installs/api.py
7c584778313ea7bd8232dd6f95312c706f5fa19c
[]
no_license
l-hedgehog/zamboni
6bab963b334a32bfc9b2e986dc657510f3d10602
ef1f1849f42023bc684866879c854cdb84eef2f6
refs/heads/master
2020-12-25T00:28:19.982297
2013-08-21T23:34:35
2013-08-21T23:34:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
from django.core.exceptions import PermissionDenied import commonware.log from rest_framework.decorators import (api_view, authentication_classes, parser_classes, permission_classes) from rest_framework.parsers import FormParser, JSONParser from rest_framework.permissions import ...
[ "amckay@mozilla.com" ]
amckay@mozilla.com
9e599c20eb958a60b433edc477eca5ad091b8145
a3cc7286d4a319cb76f3a44a593c4a18e5ddc104
/lib/surface/compute/forwarding_rules/update.py
1acf8e2ad2ecc220e60a5d576a2601ac864ccd9f
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
jordanistan/Google-Cloud-SDK
f2c6bb7abc2f33b9dfaec5de792aa1be91154099
42b9d7914c36a30d1e4b84ae2925df7edeca9962
refs/heads/master
2023-09-01T01:24:53.495537
2023-08-22T01:12:23
2023-08-22T01:12:23
127,072,491
0
1
NOASSERTION
2023-08-22T01:12:24
2018-03-28T02:31:19
Python
UTF-8
Python
false
false
10,113
py
# Copyright 2017 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ag...
[ "jordan.robison@gmail.com" ]
jordan.robison@gmail.com
ab618756d18481095af581ec2784df2054af7044
5abdbe26ad89d50761e505d02c35ea184d79f712
/learning_logs/admin.py
a1d4a285a35b36f507aeeeb683fe621de3031bd8
[]
no_license
liyongjun-brayan/xuexi
5c00abaeadb46caa4a63fdcd316fabd2d1ebdb15
b5356a5115b34dc1d5f627215aef780d7d5a0693
refs/heads/master
2021-06-25T10:25:12.602434
2019-08-27T02:27:23
2019-08-27T02:27:23
204,632,981
1
0
null
2021-06-10T21:54:15
2019-08-27T06:16:39
Python
UTF-8
Python
false
false
167
py
from django.contrib import admin # Register your models here. from learning_logs.models import Topic, Entry admin.site.register(Topic) admin.site.register(Entry)
[ "johndoe@example.com" ]
johndoe@example.com
409be856f4a7e354eaeef1155234db833b8c60d9
efe036849aa46755d5dcc86dbdb682b750a318eb
/rl_coach/architectures/tensorflow_components/heads/ppo_head.py
755ffa656b0bb7ced7c2efda502d88e03389f0c4
[ "Apache-2.0" ]
permissive
danialkamran/coach
a1284b54f8cd59b9e7e1f49e55a31484fffd89cd
a4471389a429793fd871b225d3aaccbcf4c676ec
refs/heads/master
2020-03-26T22:01:54.656300
2018-08-20T10:50:09
2018-08-20T10:50:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,153
py
# # Copyright (c) 2017 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...
[ "gal.novik@intel.com" ]
gal.novik@intel.com
60880b307495d767154fe596f68b0a05c24e4934
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/he_0532-4503/sdB_HE_0532-4503_lc.py
5fe4f20f7122fe6399d904e826635f483dd2d08c
[]
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
347
py
from gPhoton.gAperture import gAperture def main(): gAperture(band="NUV", skypos=[83.41875,-45.026469], stepsz=30., csvfile="/data2/fleming/GPHOTON_OUTPU/LIGHTCURVES/sdBs/sdB_HE_0532-4503 /sdB_HE_0532-4503_lc.csv", maxgap=1000., overwrite=True, radius=0.00555556, annulus=[0.005972227,0.0103888972], verbose=3) if __nam...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
4ce1e2145bd1edf9bd044808195879cc321dd342
f576f0ea3725d54bd2551883901b25b863fe6688
/sdk/datashare/azure-mgmt-datashare/generated_samples/email_registrations_register_email.py
bdce504aee2c308cacde889689874a6961ecd619
[ "LicenseRef-scancode-generic-cla", "MIT", "LGPL-2.1-or-later" ]
permissive
Azure/azure-sdk-for-python
02e3838e53a33d8ba27e9bcc22bd84e790e4ca7c
c2ca191e736bb06bfbbbc9493e8325763ba990bb
refs/heads/main
2023-09-06T09:30:13.135012
2023-09-06T01:08:06
2023-09-06T01:08:06
4,127,088
4,046
2,755
MIT
2023-09-14T21:48:49
2012-04-24T16:46:12
Python
UTF-8
Python
false
false
1,540
py
# coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
Azure.noreply@github.com
a76680334402715f6493dcd8c93f9120713d231b
25fa5fdc9f67738332bd6f95a1e4f038cd286890
/이것이 코딩테스트다/ch05_DFS:BFS/음료수 얼려 먹기.py
d8e484185f873f9fe701d264e79b7d3577dd241e
[]
no_license
mandos1995/online_judge
b0cfd56e3391495f22b9832895cddcea70334349
9b90bffdcbfb5369e8dd5dafbb07f8e9e7050617
refs/heads/main
2023-08-02T19:29:03.716295
2021-10-04T15:10:34
2021-10-04T15:10:34
329,517,747
0
1
null
null
null
null
UTF-8
Python
false
false
1,010
py
# n, m을 공백으로 구분하여 입력받기 n, m = map(int, input().split()) # 2차원 리스트의 맵 정보 입력받기 graph = [] for i in range(n): graph.append(list(map(int, input()))) # DFS로 특정한 노드를 방문한 뒤에 연결된 모든 노드들도 방문 def dfs(x, y): # 주어진 범위를 벗어나는 경우에는 즉시 종료 if x <= -1 or x >= n or y <= -1 or y>= m: return False # 현재 노드를 아직 방문하...
[ "mandos19950620@gmail.com" ]
mandos19950620@gmail.com
5ad81796a5241330f88f92f45f79a5872d510001
e944d288093c9234c3a6a2a76ffe4e3c9b236cf1
/build/lib/annotation_utils/labelme/structs/__init__.py
aaa1bbe76f1ee7e19833c84476e97f5d662ef39a
[ "MIT" ]
permissive
darwinharianto/annotation_utils
598b043345790580e99f34f159b9612b9b1bcd52
1cbdadaa28ff945e705dd7b806dda395e32ab23c
refs/heads/master
2022-04-27T01:20:10.738778
2020-04-27T09:23:57
2020-04-27T09:23:57
255,525,300
0
0
MIT
2020-04-27T09:23:59
2020-04-14T06:10:57
Python
UTF-8
Python
false
false
101
py
from .ann import LabelmeShape, LabelmeShapeHandler, LabelmeAnnotation, \ LabelmeAnnotationHandler
[ "mork.clayton3@gmail.com" ]
mork.clayton3@gmail.com
1c146007bdbbf771119232ee15090e4223ebdda3
de40d3fa8d8af0030556d27d6833f6a1a0e7700c
/baekjoon/10409py/a.py
496a9142bc65445a4c3f00ba64a3aab3aec0e196
[]
no_license
NeoMindStd/CodingLife
cd6a627209c0353f4855f09fd5dfef8da4bbfef6
bcb6c3752f472e6a4f3b8f158d02bc3599dfcda3
refs/heads/master
2022-12-24T10:42:45.390085
2022-12-11T16:27:16
2022-12-11T16:27:16
191,797,634
2
0
null
null
null
null
UTF-8
Python
false
false
126
py
n,T=map(int,input().split()) l=list(map(int,input().split())) s=i=0 while i<n: s+=l[i] if s>T:break i+=1 print(i)
[ "dwj1996@naver.com" ]
dwj1996@naver.com
f1e3f05aa54d6e7d9bf3c2192cdfe8839adb3607
e2f0587c7949d71bf432d31b2460d4bd2a200961
/MixedDjango/clonecodding/instagram/views.py
43a3e63a00cb8c10e6365cd8a5a203fc7b9e3825
[]
no_license
NGG-kang/DjangoReview
91c92dbf0d8da6a4179844cf788ca8c731434860
c6338dfa643d73dbfb4fcdafe53a7997ca253f3a
refs/heads/main
2023-04-21T06:32:28.109349
2021-05-23T09:41:44
2021-05-23T09:41:44
342,759,741
3
0
null
null
null
null
UTF-8
Python
false
false
11,155
py
import json from django.contrib.auth.decorators import login_required from django.contrib.auth.mixins import LoginRequiredMixin from django.db.models import Q from django.http import HttpResponse from django.shortcuts import render, get_object_or_404, redirect, resolve_url from django.views.generic import ListView, Up...
[ "skarndrkd1222@gmail.com" ]
skarndrkd1222@gmail.com
63c7e6fe54ba6dae4f1797752b42b55890887057
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p02409/s766823066.py
34c864d987f1742566592d17da40546e50f9c4f4
[]
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
337
py
n = int(input()) list = [[[0 for i in range(10)] for j in range(3)] for k in range(4)] for i in range(n): a,b,c,d = [int(j) for j in input().split()] list[a-1][b-1][c-1] += d for i in range(4): for j in range(3): for k in range(10): print(" {0}".format(list[i][j][k]),end='') print() if i != 3: print("#####...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
6e33e1d8b5d3c083c46e467a888d86fe4a21f45d
cc2fcc1a0c5ea9789f98ec97614d7b25b03ba101
/st2common/st2common/models/db/execution.py
dcc363b0feb7a0410be85b1d1b8636dc23afc808
[ "Apache-2.0" ]
permissive
Junsheng-Wu/st2
6451808da7de84798641882ca202c3d1688f8ba8
c3cdf657f7008095f3c68b4132b9fe76d2f52d81
refs/heads/master
2022-04-30T21:32:44.039258
2020-03-03T07:03:57
2020-03-03T07:03:57
244,301,363
0
0
Apache-2.0
2022-03-29T22:04:26
2020-03-02T06:53:58
Python
UTF-8
Python
false
false
7,432
py
# Licensed to the StackStorm, Inc ('StackStorm') 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 use th...
[ "wei.ying@easystack.cn" ]
wei.ying@easystack.cn
423385b7603bb326c76dd43a32df2f7a1505d221
589b5eedb71d83c15d44fedf60c8075542324370
/project/stock_project/barra_risk_model/barra_factor/cal_factor_barra_leverage.py
17358e48ac842ad352fcf71dc23fe7800a3a6799
[]
no_license
rlcjj/quant
4c2be8a8686679ceb675660cb37fad554230e0d4
c07e8f0f6e1580ae29c78c1998a53774a15a67e1
refs/heads/master
2020-03-31T07:15:48.111511
2018-08-27T05:29:00
2018-08-27T05:29:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,472
py
def cal_factor_barra_leverage_market_leverage(): name = 'TotalLiabilityDaily' total_debt = get_h5_data(name) name = 'TotalAssetDaily' total_asset = get_h5_data(name) debt_to_asset = total_debt.div(total_asset) debt_to_asset = debt_to_asset.dropna(how='all') out_path = 'E:\\4_代码\\pycharmp...
[ "1119332482@qq.com" ]
1119332482@qq.com
dfffd665730509eb19be752fae578c6918d50252
002b18b4e66d7536ce8538f65edcb0cf17472bf7
/liaoxuefeng/webframework/app2.py
146d43b72ca6e0bd9c5785af52b29a650d58b0a1
[]
no_license
yslatgit/test-ysl
987b6026ddd74c88bb81b41ce12e43733c458cb1
c1a8858a8ad346913131c3bd9fb8ae8ea84c36a7
refs/heads/master
2020-04-10T15:16:55.898370
2018-12-21T06:51:09
2018-12-21T06:51:09
161,104,005
0
0
null
null
null
null
UTF-8
Python
false
false
2,669
py
from flask import Flask, request, render_template import os, sqlite3 app = Flask(__name__) @app.route('/', methods=['GET', 'POST']) def homeMeth(): return render_template('home.html') @app.route('/login', methods=['POST']) def loginMeth(): username = request.form['username'] password = request.form['pass...
[ "986725816@qq.com" ]
986725816@qq.com
fe70e24316ee8a47560b7e331c0a5d8d453646d4
88849505c8d71c5fcc8d18fe2da3aa93a97f1e0e
/cupt/screen.py
7e2100412973869b68b09de2b05d22f16142cf6c
[ "MIT" ]
permissive
mscroggs/KLBFAX
5322e025c41b30c6f160699e742c988c9e47ea88
3aaaa0cfe3b9772caa0a87e639efd9bce5b6adf4
refs/heads/master
2021-04-09T16:38:08.581934
2018-06-25T12:18:23
2018-06-25T12:18:26
31,314,664
5
1
null
2017-07-26T19:21:13
2015-02-25T13:26:38
Python
UTF-8
Python
false
false
830
py
import curses import config from .cupt import CuPT class Screen: def __enter__(self): import locale locale.setlocale(locale.LC_ALL,"") self.scr = curses.initscr() self.cupt = CuPT(self.scr) curses.start_color() curses.use_default_colors() curses.noecho() ...
[ "matthew.w.scroggs@gmail.com" ]
matthew.w.scroggs@gmail.com
959ec00f00a0cf6fe78fac46268a67bebfb445ef
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03565/s875696871.py
6fdbfc635ad33e71b8d47334616f309ffe409d41
[]
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
423
py
s = input() T = input() n_s = len(s) n_t = len(T) S = "" for i in range(n_s-n_t+1): s_i = s[i:n_t+i] flag = True for j in range(n_t): if s_i[j] != "?": if s_i[j] != T[j]: break else: S = s[:i] + T + s[n_t+i:] #print(S) if S == "": print("UNRESTORABLE") ...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
c05430eb373a57834315638dedc9649acbcc0526
df5b1caed735947b3cf6f4cdf46f3141ba9e2c5c
/boot3.spec
f7516251ea56958c76f03542e6131ca2e7dbd8d7
[]
no_license
hcferreira-git/RDM
33b303469ca0230ac1a0a82e74ba5c4fbe894837
e53972cab2d416bbf44bb9c874d8d91d82b7d074
refs/heads/master
2021-03-31T16:36:29.549303
2020-04-18T16:14:59
2020-04-18T16:14:59
248,119,992
0
0
null
null
null
null
UTF-8
Python
false
false
862
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['boot3.py'], pathex=['C:\\Users\\Henrique\\Desktop\\bootzap'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hooks=[], excludes=[], ...
[ "=" ]
=
ff55eaec085d49b9f5eb03937b64b571bd46a4f2
5b593bc4d1c90ea85eb9912eeb3977269977b46b
/bin/django-admin
7eff524b82cc60403d52b91169c8ddf082a7199c
[]
no_license
monetree/djangular
b17ef12bc08d33676fe0e7fc865e2ba5bc4cc36e
abd5b714ab1276061f3ee7f3685eb0f198b8326b
refs/heads/master
2020-03-16T07:39:17.557622
2018-05-10T09:09:58
2018-05-10T09:09:58
132,580,569
0
0
null
null
null
null
UTF-8
Python
false
false
301
#!/home/soubhagya/Desktop/django/angular/bin/python3 # -*- coding: utf-8 -*- import re import sys from django.core.management import execute_from_command_line if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(execute_from_command_line())
[ "soubhagyakumar666@gmail.com" ]
soubhagyakumar666@gmail.com
f606a00512bc29ccfe2df949a965f936047364f3
49d8827695d1fa9076467fd1ec2e26afcf56e2dc
/mloc.py
850abda4ff754f6d4bf76e3b5f6fb2b518135018
[]
no_license
mhearne-usgs/comcatloader
8eb8c2214915b13403b35f5b6a991ce9fb67090c
35f00d33356f72484ffc5be1bdd7a9c2e7a3c090
refs/heads/master
2020-04-01T16:46:47.101082
2016-02-05T15:54:06
2016-02-05T15:54:06
9,404,067
0
0
null
null
null
null
UTF-8
Python
false
false
27,860
py
#!/usr/bin/env python #stdlib imports import sys import os.path from datetime import datetime,timedelta import re import socket import string import argparse import textwrap import math from collections import OrderedDict import urllib2 import json #local imports from neicio.tag import Tag CWBHOST = 'cwbpub.cr.usgs...
[ "mhearne@usgs.gov" ]
mhearne@usgs.gov
eae8abe134495da20b517f2e9472c36992a1ea5d
91ff566b975b7c0a21d280aa192953622600afae
/deploy_flask/lib/python3.6/ntpath.py
1e45631713ffa8a4537cc00e40f64056c55af8f6
[]
no_license
mattg317/Deploying_with_Flask
93e1f19f093e02b886f02e01c30075fbbbafb6e1
881e694f74bd2f170ed8f638ffb97811d19e3969
refs/heads/master
2021-09-04T12:50:36.147008
2018-01-18T21:41:18
2018-01-18T21:41:18
107,602,674
1
0
null
null
null
null
UTF-8
Python
false
false
58
py
/Users/matthewgiordanella/anaconda/lib/python3.6/ntpath.py
[ "mattg317@gmail.com" ]
mattg317@gmail.com
5cb5b444d884d749465d4e777e33c10b94b3b810
10857edc2c10a89077555595b253376dbdcd17cb
/main.py
a6684596c2dc869d436e1a05c48af4f0243a50d3
[ "MIT" ]
permissive
pannal/libfilebot
dfe0a55e804b9118fc643057ac010432c903ac10
996736ec0139aeae95f44e7fdb0a748fe08214c5
refs/heads/master
2021-09-02T01:27:48.203475
2017-12-29T16:58:30
2017-12-29T16:58:30
115,065,680
1
0
null
null
null
null
UTF-8
Python
false
false
2,648
py
# coding=utf-8 import subprocess import sys import traceback import logging import re import binascii import types from pipes import quote from lib import find_executable if sys.platform == "win32": from pyads import ADS logger = logging.getLogger(__name__) def quote_args(seq): return ' '.join(quote(arg) ...
[ "panni@fragstore.net" ]
panni@fragstore.net
025002537b75adc263d8ca8ed6e3eb0b03adc44b
077a17b286bdd6c427c325f196eb6e16b30c257e
/08_FmtString-unit-tests/13_32/remenissions-work/exploit-FsRetShellcode.py
e5a56cd137bb5b1dc25714972fc3c717b69d43f1
[]
no_license
KurSh/remenissions_test
626daf6e923459b44b82521aa4cb944aad0dbced
9dec8085b62a446f7562adfeccf70f8bfcdbb738
refs/heads/master
2023-07-08T20:25:04.823318
2020-10-05T06:45:16
2020-10-05T06:45:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,084
py
from pwn import * import os import sf import sys import signal target = process("./chall-test_FmtString-13-x86") gdb.attach(target, execute="verify_exploit") bof_payload = sf.BufferOverflow(arch=32) target.recvuntil("Tell me I was never good enough: ") leak = int(target.recvline().strip(b"\n"), 16) ret_address = le...
[ "ryancmeinke@gmail.com" ]
ryancmeinke@gmail.com
072c86d1641e5db25afaccbb5f221e35910e72be
ea1703dbfedb3abced6dad5acf6f43b341e881ab
/Chapter 1/stringTripleQuotes.py
51aa135c8109918af8dc6397df8ef1d6f2778a54
[]
no_license
NathanZuidema/Learn-Python-for-Stats-and-Econ
2019927cf536411a73049404a8cc15bc12ee7633
cb589999f1275754e58994ef84c85ccc702707b5
refs/heads/master
2020-04-18T08:43:07.756614
2019-01-24T16:50:22
2019-01-24T16:50:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
#stringTripleQuotes.py x = """ Everything in this object will be recorded exactly as entered, if we enter a new line or a new line with a tab.""" print(x)
[ "jlcatonjr@gmail.com" ]
jlcatonjr@gmail.com
9e36b3b15685c1ec32b9a2db9b529d46cf6d65ca
b333dc607a2f1556f6a8adb6d16dc88fa8a30c8b
/portal/libs/scripts/one_time/20200814_migrate_visitorsmdb.py
028a68923f56bb5d6dba9357067bc1e62e676452
[ "BSD-3-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
hernan0216/utopia-cms
6558f8f600620c042dd79c7d2edf18fb77caebb8
48b48ef9acf8e3d0eb7d52601a122a01da82075c
refs/heads/main
2023-02-06T10:31:35.525180
2020-12-15T17:43:28
2020-12-15T17:43:28
321,775,279
1
0
BSD-3-Clause
2020-12-15T19:59:17
2020-12-15T19:59:16
null
UTF-8
Python
false
false
2,070
py
# -*- coding: utf-8 -*- # la diaria 2020. Aníbal Pacheco. """ 1. set SIGNUPWALL_MONGODB_VISITOR to None in local_settings before running this script in a "live" environment. 2. touch uwsgi.ini. 3. run this script. 4. drop old table: mongo > use ldsocial_signupwall_visitor > db.dropDatabase() 5. rename new table with...
[ "apacheco@ladiaria.com.uy" ]
apacheco@ladiaria.com.uy
003d78fb2133693c22ca4a3d4ce5f95238c5d1a2
42b9bafc3c757543328d93fb60269ad4255aae17
/env/lib/python3.7/site-packages/openpyxl/workbook/workbook.py
7e5fc075a6deb1c6daf4828bc21ad37c35c01160
[ "MIT" ]
permissive
mejeng/kasir
4fe66d1828e72b64d770426d71185cdd3c54127e
cc6f9158b61c0cb45078ddf798af9588c8771311
refs/heads/master
2020-09-25T03:36:10.144439
2019-11-30T07:59:23
2019-11-30T07:59:23
225,908,795
2
0
MIT
2019-12-04T16:21:15
2019-12-04T16:21:15
null
UTF-8
Python
false
false
13,206
py
from __future__ import absolute_import # Copyright (c) 2010-2019 openpyxl """Workbook is the top-level container for all document information.""" from copy import copy from openpyxl.compat import deprecated, long from openpyxl.worksheet.worksheet import Worksheet from openpyxl.worksheet._read_only import ReadOnlyWork...
[ "slashsdull@gmail.com" ]
slashsdull@gmail.com
6f9b54e564353b153d9722ad704799455a77f0b0
578e8f18c12e425f7a17210fb3c324ef1fac61c1
/video_ex/streaming/video-client.py
e26013024013d5141e772ca25fa6e1696521f2eb
[]
no_license
jeonghaejun/09.RaspberryPi
06c513add59d34e34a340f10cffa7a5aca075bd2
7a9145d985b5bfd227cc5bb90e5a2ac280292550
refs/heads/master
2023-03-24T23:15:57.693146
2021-03-19T08:56:08
2021-03-19T08:56:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
608
py
from video import Video from time import sleep import socket import json import net HOST = '127.0.0.1' PORT = 5000 if __name__ == '__main__': with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((HOST, PORT)) writer = s.makefile('wb') reader = s.makefile('rb') with...
[ "wjdgownsll@gmail.com" ]
wjdgownsll@gmail.com
317e5b0993195cab701b749f5687da23f96ed43f
d79493f0f9b2664a597e6a2909516d2a582b3389
/smote.py
a25ec68c13b417285fe0f30fba16fbb75143194d
[]
no_license
vivekaxl/Enigma
8594c6efdd6ca7b5081bdd43772a17a426bb61bf
d4e9ae627c027181881b2b3369dd502c40254921
refs/heads/master
2020-05-18T06:16:31.093635
2015-02-05T16:24:20
2015-02-05T16:24:20
30,219,679
0
0
null
null
null
null
UTF-8
Python
false
false
2,371
py
# from os import environ, getcwd # import sys # from scipy.spatial.distance import euclidean # # Update PYTHONPATH # HOME = environ['HOME'] # axe = HOME + '/git/axe/axe/' # AXE # pystat = HOME + '/git/pystats/' # PySTAT # cwd = getcwd() # Current Directory # sys.path.extend([axe, pystat, cwd]) # from random import c...
[ "vivekaxl@gmail.com" ]
vivekaxl@gmail.com
44db71a127fe964df4f92057b9d7472fb80b7ad3
48a555658d4a3b26f4b69211d047103ad82bb93c
/manage.py
30208a5f2a8b773b2b799de2a074952435fc6267
[]
no_license
blocknodes/roomreserver
56d2d91dfaed3841218fa27e050440dd55f2afbb
bf926c3a8bc5c3283599ba088ad0cfd667855973
refs/heads/main
2023-06-14T13:04:18.663605
2021-07-05T09:02:32
2021-07-05T09:02:32
383,076,421
0
0
null
null
null
null
UTF-8
Python
false
false
668
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): """Run administrative tasks.""" os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'roomreserver.settings') try: from django.core.management import execute_from_command_line except...
[ "you@example.com" ]
you@example.com
f824fb4fc38a34d6258a36c61bb44234d657c45d
9a05e1e8c950b091124d805ea70f24d2837b827c
/daydayup/cema_python/eight/requestdemo4.py
618e089e2210c839c52184cb85beb8e835dad219
[]
no_license
fanzongpeng/mywork
20676a9fe0e0599461a756ad194e4bd35aad4668
aa6d044bbab3c0288de48888b2cc7dbd7785c91b
refs/heads/master
2022-05-31T06:03:26.826914
2020-04-30T09:50:22
2020-04-30T09:50:22
257,189,615
0
0
null
null
null
null
UTF-8
Python
false
false
3,011
py
import json dict = { 'message': 'success', 'url': '', 'data': { 'address': '北京', 'eid': 1, 'name': '这是一个测试', 'limit': 2000, 'start_time': '2019-05-31T15:25:19', 'status': True }, 'status': 200 } # json = json.dumps(dict) # print(json) schema = { "definitions": {}, "$schema": "http...
[ "18210023228.com" ]
18210023228.com
87421e86c5d1275f774023eab4e876ea28c4e92e
33c2c804fd38483755093628c6b08f31c296bd9f
/nlp/sentiment_analysis/MNB_classifier.py
ffa14200cd31e7f289886d0a47a469b9c55b25d7
[]
no_license
thefr33radical/projects
1ec51e5ec2d8b4ff671d7aa9a6bb72f6292f9b52
ec26e509b64c58c79facadaf6345ab77f8ae7bd7
refs/heads/master
2021-06-02T19:21:12.369653
2021-04-23T12:46:52
2021-04-23T12:46:52
135,284,488
1
0
null
null
null
null
UTF-8
Python
false
false
2,675
py
from sklearn.externals.joblib import Memory from sklearn.datasets import load_svmlight_file from sklearn.feature_extraction.text import CountVectorizer from sklearn import metrics import numpy as np from sklearn.naive_bayes import MultinomialNB import pandas as pd import os from sklearn.datasets import load_files impor...
[ "imperial.gauntlet@gmail.com" ]
imperial.gauntlet@gmail.com
d048808d665f0b2335b0686f1f4c78264ffa56f2
81407be1385564308db7193634a2bb050b4f822e
/the-python-standard-library-by-example/ConfigParser/ConfigParser_allow_no_value.py
df8d6ea50bcdf1b9e1f5e8c326f47e315b219efe
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
771
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2010 Doug Hellmann. All rights reserved. # """Reading a configuration file. """ #end_pymotw_header import ConfigParser # Require values try: parser = ConfigParser.SafeConfigParser() parser.read('allow_no_value.ini') except ConfigParser.ParsingError, e...
[ "350840291@qq.com" ]
350840291@qq.com
e67cd7a58f5a860c679aa449643fff683cf93bf0
9b8ca63a377e6f94cc6a970cc97a6f7f50932811
/sale_analysis_report/__openerp__.py
1aff230cf327cf05e60e952bcf9687f43b84d1a5
[ "Apache-2.0" ]
permissive
lester-lees/extra_addons_sz
9b6d2400abe4707b7b18d9e2e9caf2fb366cf3a6
cddaf972cf4ea64c553bcff0006eb006a115d5ee
refs/heads/master
2021-01-06T20:43:28.782147
2017-08-07T06:51:45
2017-08-07T06:51:45
99,545,991
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
# -*- coding: utf-8 -*- { "name": "Sale Analysis Report", "description": """ """, "version": "0.1", "depends": ["base", "sale", "report_webkit"], "category": "Reporting", "author": "Jimmy Lee", "url": "http://www.loewie.com/", "update_xml": ["sale_report_view.xml","lo...
[ "346994202@qq.com" ]
346994202@qq.com
c04b4864c9cd61b5cc428fd8e54f48ad6750ccef
e8d4fe2361d71aef6519f666152f14137156159c
/impacket-0.9.11/examples/nmapAnswerMachine.py
eaf2067e4a5a288294264361fc4f09eca167fb4c
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0", "Apache-1.1", "BSD-2-Clause" ]
permissive
kenzshi/DDoSProject
11d7e676a150964a9f78f1b7e1df4468dd9d973f
9587a2be7f4773d19a96a35d1128f5041f0472da
refs/heads/master
2021-01-10T19:48:21.355849
2015-03-16T09:52:22
2015-03-16T09:52:22
30,205,639
42
32
null
null
null
null
UTF-8
Python
false
false
36,339
py
import random import os_ident import uncrc32 try: import pcap as pcapy except: import pcapy from impacket import ImpactPacket from impacket import ImpactDecoder from impacket.ImpactPacket import TCPOption #defaults MAC = "01:02:03:04:05:06" IP = "192.168.67.254" IFACE = "eth0" OPEN_TCP_PORTS = [80, 443] OPEN_UDP_...
[ "la236am@users.isi.deterlab.net" ]
la236am@users.isi.deterlab.net
7e05461799b0f76803a45bd5d539ec259176b050
2a28bb9594fe98a6e8934b6e5eb952baa3a0b803
/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py
9f3ebe6570c7c695504043d655d51c588165c7f4
[]
no_license
yolin1020/WebKit
154b0f177b0d48be66e78717e85d98e546dcf9c5
b7e84a4224b3934868bc08f5c89b583355a6c87a
refs/heads/main
2023-02-02T22:48:08.044648
2020-12-18T19:34:39
2020-12-18T19:34:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,698
py
# Copyright (C) 2020 Apple Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
[ "jbedard@apple.com" ]
jbedard@apple.com
4d32b5dceb9de6e224b0bfe285ac1b75465b2816
45954869eb53b1f6fe4b675494b72a76fcac534c
/instagram/admin.py
d5b6d964da407dab1a778d7eba0041e2bb736d71
[ "MIT" ]
permissive
Jmos-Mbugua/Insta-clone
b69f39a9d3e7ad8b21bcf77a4695a17a4dc75b74
85ab0f3ee93c2ed5b9778058e3df31e25563e5e8
refs/heads/master
2022-12-14T22:16:14.829459
2020-02-14T12:59:16
2020-02-14T12:59:16
239,035,462
0
0
null
2022-12-08T03:36:40
2020-02-07T22:42:39
Python
UTF-8
Python
false
false
228
py
from django.contrib import admin from .models import Location, Post,Comment, Profile # Register your models here. admin.site.register(Location) admin.site.register(Post) admin.site.register(Comment) admin.site.register(Profile)
[ "johnmbugua849@gmail.com" ]
johnmbugua849@gmail.com
b5f75d478ae8417a7b455f03ba8803cfefa44c07
9ecefebb7f8e1445a5e93479f3e00b9181b6536c
/glue/viewers/histogram/qt/tests/test_data_viewer.py
3511565a2f986e73b432a33cd48befa97df70bcb
[ "BSD-3-Clause" ]
permissive
akshayakhare/glue
938f4c4a7c16cfceed9b60bcca0af94b705c97aa
1471126c876e787270ec6fd33d997ad68ff32fea
refs/heads/master
2021-08-14T20:20:31.929041
2017-11-16T16:22:10
2017-11-16T18:05:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
19,573
py
# pylint: disable=I0011,W0613,W0201,W0212,E1101,E1103 from __future__ import absolute_import, division, print_function import os from collections import Counter import pytest from numpy.testing import assert_equal, assert_allclose from glue.core.message import SubsetUpdateMessage from glue.core import HubListener,...
[ "thomas.robitaille@gmail.com" ]
thomas.robitaille@gmail.com
a764645348053f284abb738a5febafeabb9cc262
14373275670c1f3065ce9ae195df142146e2c1a4
/stubs/redis/redis/commands/search/query.pyi
eb1846bab957d9c44c9913f2791264cc54783e40
[ "Apache-2.0", "MIT" ]
permissive
sobolevn/typeshed
eb7af17c06a9722f23c337e6b9a4726223155d58
d63a82640390a9c130e0fe7d409e8b0b836b7c31
refs/heads/master
2023-08-04T05:59:29.447015
2023-06-14T21:27:53
2023-06-14T21:27:53
216,265,622
2
0
Apache-2.0
2022-02-08T10:40:53
2019-10-19T20:21:25
Python
UTF-8
Python
false
false
1,654
pyi
from _typeshed import Incomplete from typing import Any class Query: def __init__(self, query_string) -> None: ... def query_string(self): ... def limit_ids(self, *ids): ... def return_fields(self, *fields): ... def return_field(self, field, as_field: Incomplete | None = None): ... def summariz...
[ "noreply@github.com" ]
sobolevn.noreply@github.com
db14263818ca2ec53409ec3e900b8bb1024d43c3
86a26119af259e3858cb5e57ea2e41e3b25c5fa7
/Python Project/StockerLogin_support.py
e025cae333394920cf0640976bbfb93881497cb4
[]
no_license
deshmukhshweta/project2
747ca7972a7bfdc4aed20dbb4ee3f6d2f009ca83
8bf07454d259456dc616e7283c266b35fe7b870d
refs/heads/master
2020-04-19T09:57:05.541157
2019-01-29T09:27:01
2019-01-29T09:27:01
168,125,342
0
0
null
null
null
null
UTF-8
Python
false
false
1,612
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Support module generated by PAGE version 4.13 # In conjunction with Tcl version 8.6 # May 27, 2018 02:27:42 PM import sys from tkinter import messagebox from firebase import firebase as fb try: from Tkinter import * except ImportError: from tkinter impor...
[ "123deshmukhshweta@gmail.com" ]
123deshmukhshweta@gmail.com
95b1b870a5d43d004cda91f86fbfa2c7bf12bd8c
9dee94907e6456a4af9855d358693923c17b4e0d
/0451_Sort_Characters_By_Frequency.py
92254fbc5d08ee4386acef0c4237627f0dffc781
[]
no_license
chien-wei/LeetCode
e215915a8103e56f182040dacc9fb0d6996c86ec
0d6f414e7610fedb2ec4818ecf88d51aa69e1355
refs/heads/master
2021-05-13T14:48:22.891100
2019-08-20T05:52:59
2019-08-20T05:52:59
116,749,327
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
class Solution: def frequencySort(self, s): """ :type s: str :rtype: str """ res = "" print(collections.Counter(s)) for c, i in collections.Counter(s).most_common(): res += c*i return res
[ "chien-wei@outlook.com" ]
chien-wei@outlook.com