blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
7423d6bc889b8c2fd43e667212ff43a19ae44035
f316d588441bdb6779bdac4ea611c18053f148c2
/src/vegindex/generate_ndvi_timeseries.py
9ab68751f846be29ed435d2ddffa46ac77de7a11
[ "MIT" ]
permissive
tmilliman/python-vegindex
4b366296131f2f5455a96c5f224423dc5c5ee9aa
7fa3052f3590a5a4756b011e21dc335ae9fcc732
refs/heads/master
2022-09-19T03:10:32.415988
2022-08-16T15:20:18
2022-08-16T15:20:18
93,645,501
14
11
MIT
2020-04-09T20:06:50
2017-06-07T14:36:58
Python
UTF-8
Python
false
false
9,582
py
#!/usr/bin/env python """ Simple script to read in the RGB and IR ROI timeseries and generate a camera NDVI timeseries csv file. Output format will be: """ import argparse import os import sys from datetime import datetime from datetime import timedelta import pandas as pd # use this because numpy/openblas is aut...
[ "thomas.milliman@unh.edu" ]
thomas.milliman@unh.edu
c0472642787e04491164dc3c9b22141d3f549a5d
1bc02e52de571718d884deefa88bee73eb9ac1a5
/fuzz_all.py
4bddc769eff0a59a114cd770103dd67f84a0a417
[]
no_license
benquike/cgc-challenge-corpus
f4d8460384a6f50046e651c0dd83eaa7136dca25
7695d43518dbb6b0cf347d736c1f1a5206d5a77b
refs/heads/master
2020-09-14T06:01:01.021039
2018-04-21T03:16:35
2018-04-21T03:16:35
94,469,063
0
0
null
2017-06-15T18:46:54
2017-06-15T18:46:54
null
UTF-8
Python
false
false
1,632
py
#!/usr/bin/env python import sys import os import re import driller import fuzzer import time def get_cbs_with_vul(root_dir): ''' Find the cyber challenge with vulnerability in root_dir, typically in bin dir. The return value is a list ''' bin_dir = os.path.join(root_dir, "bin") return [...
[ "peng124@purdue.edu" ]
peng124@purdue.edu
7ab34c90f6402e871718fc7299fa5701b912a3e5
82236c1cf2fe6ca26f52ce4eeae1745cf3cbc5ca
/docs/source/conf.py
970611753ff44195353547e41808aed5480865fe
[ "Apache-2.0" ]
permissive
CKrawczyk/python-reducers-for-caesar
8b607fddd7ce36cd81e1b4e2e7079e1a66526d22
9c5d9e072906d3fde2497fa61a66e4c8c0113ec2
refs/heads/master
2021-06-04T07:35:25.738616
2017-08-10T15:56:42
2017-08-10T15:56:42
91,355,049
1
2
Apache-2.0
2019-04-03T20:28:31
2017-05-15T15:40:00
Python
UTF-8
Python
false
false
5,261
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # panoptes_aggregation documentation build configuration file, created by # sphinx-quickstart on Mon Aug 7 13:22:24 2017. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present...
[ "coleman.krawczyk@gmail.com" ]
coleman.krawczyk@gmail.com
8082ee03c63189982d35ade7cefb62e74d0c64e3
dc0f6bff378bf3943c005a262202ddda7d3ef95f
/webapp/donor/migrations/0001_initial.py
0f8f5cd92768a19de7a20e1b422409df925b7f0f
[]
no_license
johnsonc/share-food
78cdf3882a5442de7de308c1c036f776d3811fae
0fc484dcd117a1d9a69204c805e0c485e0f5d556
refs/heads/master
2020-01-23T21:14:10.040708
2015-05-20T04:42:14
2015-05-20T04:42:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,721
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime from django.utils.timezone import utc from django.conf import settings class Migration(migrations.Migration): dependencies = [ ('dictionaries', '__first__'), migrations.swappa...
[ "darek@recoded.co" ]
darek@recoded.co
07f64f78d296821856c1ef3a04cfa9596a3859d1
1c76418fee90f80368f2f843007ebd6a37bfc01f
/GLOBALS.py
6efbf9f79ee858f37aa06dd7eaf8915877d118f8
[]
no_license
SyntaxVoid/HighRedshiftGalaxyFinder
e5dfb244bbba53c310de9b7fe414990b04bcb3a0
83fad048e37d65a1a7c98727c0d4164c8e84922a
refs/heads/master
2021-01-20T21:59:06.211431
2015-11-19T04:24:58
2015-11-19T04:24:58
42,703,816
2
0
null
null
null
null
UTF-8
Python
false
false
9,705
py
## The filters [str] which we are looking at in this project FILTERS = ['f125w','f160w','f435w','f606w','f775w','f850l'] SELECTIONS = ["b435","i775","v606","z4","z5","z6","z7","z8"] # Column number corresponding to each column name of my header MASTER_COL_DICT = {"Number": 0, "RA": 1, "ALPHA_J2000": 1, "DEC": 2,"DEL...
[ "j.gresl12@gmail.com" ]
j.gresl12@gmail.com
0d4d5ee0c8dde1162b0de223774319cbefc8f0cf
a139e84cdfeba8da693d5e5996f38e4737ea2a26
/python/CRedis.py
34b5d176283725976a33161d548ee8778e89db1c
[]
no_license
TimHuangcheng/Python-Redis-Php-Email
48f144482bdac96a69680a4dc34ee98d44926f34
c0f1502779f2646b26ada2b9e7ce742bc958b7b2
refs/heads/master
2021-01-10T15:18:51.121404
2015-11-18T09:23:25
2015-11-18T09:23:25
46,407,871
1
0
null
null
null
null
UTF-8
Python
false
false
2,947
py
#!/usr/bin/python #coding=utf-8 import redis class CRedis: def __init__(self,AuthInfo): self.host = AuthInfo.get('host') self.port = AuthInfo.get('port') self.db = AuthInfo.get('db') self.r = redis.Redis(host = self.host, port = int(self.port), db = int(self.db)) ...
[ "2902060134@qq.com" ]
2902060134@qq.com
95a32a1115e5447005cbe060b401c85f07573f8e
c237e91ba68cfe890026a2466e9aa277cbf29948
/cookbook/datastruct/max_min_n.py
3583db4636a1a507b65251c4d9c4ae1bf08036c5
[]
no_license
Chiva-Zhao/pproject
47350815ae334137dc775df776dc148ecc25237b
4e39425dea0bec5b990e80954fafb97c3da34bf5
refs/heads/master
2021-01-13T01:28:28.247174
2019-12-17T12:29:36
2019-12-17T12:29:36
22,599,348
1
2
null
null
null
null
UTF-8
Python
false
false
737
py
import heapq nums = [1, 8, 2, 23, 7, -4, 18, 23, 42, 37, 2] print(heapq.nlargest(3, nums)) # Prints [42, 37, 23] print(heapq.nsmallest(3, nums)) portfolio = [ {'name': 'IBM', 'shares': 100, 'price': 91.1}, {'name': 'AAPL', 'shares': 50, 'price': 543.22}, {'name': 'FB', 'shares': 200, 'price': 21.09}, ...
[ "zhaozhenhua88@gmail.com" ]
zhaozhenhua88@gmail.com
1e2546393b7153ae301f10162f4eb5e5cfaec0e2
1e49f23da9b9b110755162577a4062afa730d3de
/prepinstaadvcdng1.py
40fda6d1feeab6f74030c65255ed34a569957521
[]
no_license
lakshman533/Python_programs
d2c7c49c762998dc718efc477af84acb8f42c48b
758589efd00e8dbd4aeddc8e866d062459cb4545
refs/heads/main
2023-08-10T23:31:47.453952
2021-09-13T07:07:14
2021-09-13T07:07:14
405,868,105
0
0
null
null
null
null
UTF-8
Python
false
false
52
py
import re print(re.split(r'[aeiou]', 'abcdefghij'))
[ "noreply@github.com" ]
noreply@github.com
bef0fc73db9a1f6dcb706985062db8f7bd09894c
316333d0aaae398d51f09cee43640f0f7f5f71f6
/influence.py
654069b7d22710110981cb1bea0f1f3118aa0cc6
[]
no_license
nobkins/gurgle
fc127f2c019a41b50c02420cbccbaf38cf1ec2fa
03deceb5dc00def469584d2efdb691f2fc1a41bb
refs/heads/master
2021-06-22T09:27:20.916638
2017-08-09T18:41:54
2017-08-09T18:41:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,409
py
from math import pow, sqrt from urllib2 import urlopen from urllib import urlencode from datetime import datetime as dt from config import Config import json import re import time # Logger instance used by the functions in this module _LOGGER = Config.getLogger("influence") # Configuration for the Google Sheet intera...
[ "marcosparks@users.noreply.github.com" ]
marcosparks@users.noreply.github.com
de8a9c196a80dde711075fc0f91d2dc1ce5625e9
10b22cef27b7cb7f06221954eef6ea678c5289c1
/database/database_schemas_ms.py
0ad92f442cd946089275a60618ee4b0020b399d7
[ "MIT" ]
permissive
mshobair/invitro_cheminformatics
0c1d7c4c2cfd5e20ee24fffac6a0332d503957df
17201496c73453accd440646a1ee81726119a59c
refs/heads/main
2023-04-04T19:06:27.098377
2021-03-26T17:07:25
2021-03-26T17:07:25
348,917,957
1
0
null
null
null
null
UTF-8
Python
false
false
310
py
class Schemas: """ Class that contains DATABASE schema names. """ chemprop_schema = "sbox_rlougee_chemprop" dsstox_schema = "ro_20191118_dsstox" qsar_schema = "sbox_mshobair_qsar_snap" invitrodb_schema = "prod_internal_invitrodb_v3_3" information_schema = "information_schema"
[ "mshobair@v2626umcth038.rtord.epa.gov" ]
mshobair@v2626umcth038.rtord.epa.gov
8c233f047715954abc685b0149bdc1c86d63168e
36c00fe2afff4818c937e312ce0c6a79f35e2a77
/7-kyu/naughty-or-nice-/python/solution.py
7d97dd81f35376746e01998e5608dffd391051cd
[]
no_license
p-lots/codewars
0a67b6ee4c91180ff78c648421b9d2d64463ddc3
535faeee475c6b398124d6f5002b0e111406e8bb
refs/heads/master
2023-08-23T22:14:33.635011
2023-08-23T13:30:37
2023-08-23T13:30:37
195,320,309
0
0
null
2023-05-09T19:25:50
2019-07-05T01:40:15
Python
UTF-8
Python
false
false
191
py
def get_nice_names(people): return [dct['name'] for dct in people if dct['was_nice']] def get_naughty_names(people): return [dct['name'] for dct in people if not dct['was_nice']]
[ "paul.calotta@gmail.com" ]
paul.calotta@gmail.com
81a213de91ddbd14c690ad56d6167b8d2729bf9e
2c3340c0c9c3effc22ce181506a7c76718485510
/src/comms/www/index.py
5f091deb0c740e6670e1ce3017c1a43bb90475de
[]
no_license
samtaufa/nomoa.bsd
3db5b336c34c8e24f94601129ab4f9682adbbac3
592e158be1d8a078625c56bce973449c61fd6451
refs/heads/master
2021-01-25T07:34:35.637146
2011-10-16T10:28:03
2011-10-16T10:28:03
688,565
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
from countershape.doc import * this.titlePrefix = ns.titlePrefix + "[Communications | WWW] " pages = [ Page("portal.md", title="Portal", pageTitle="Portal"), Page("ssl.md", title="SSL Certificates", pageTitle="SSL Certificates"), Page("te...
[ "samtaufa@gmail.com" ]
samtaufa@gmail.com
fd7329f081a88aa7cd2c61e483d6efb4a6c5fcde
08e10b36303e5b898eadf358cf53b87109552415
/drive.py
1f8c5c81fe3d8bfeafa020dd1ba43d7ae48fa583
[]
no_license
AlphaLFC/CarND-Behavioral-Cloning-P3
480de5b1b4b07e8059bcc786fe5ebebcd013f012
b52dd1917f48b93b51c4330217436ed67eb3e181
refs/heads/master
2021-01-11T19:55:07.369776
2017-01-21T02:16:56
2017-01-21T02:16:56
79,428,066
1
0
null
null
null
null
UTF-8
Python
false
false
2,681
py
import argparse import base64 import json import numpy as np import socketio import eventlet import eventlet.wsgi import time from PIL import Image from PIL import ImageOps from flask import Flask, render_template from io import BytesIO from keras.models import model_from_json from keras.preprocessing....
[ "noreply@github.com" ]
noreply@github.com
9bdfa679de6d431d2bd4da3245f7bae4dcc5d385
1e91d38e7bfa427884206f02512a436d74a05d93
/kudos_oss/__main__.py
66438beaecc51e465e765112a6a76edd872aebb0
[]
no_license
lel99999/dev_pyCRUD
c7f40d7a89c158045007a8f8f27be9368832cb4c
069998b67c27a8cb074c79ed3cd0c3aa619a510a
refs/heads/master
2020-05-04T19:50:40.359268
2019-04-18T03:24:45
2019-04-18T03:24:45
179,410,022
0
0
null
null
null
null
UTF-8
Python
false
false
99
py
from __future__ import absolute_import, print_function GET /kudos POST /kudos DELETE /kudos/:id
[ "luan.le@cfpb.gov" ]
luan.le@cfpb.gov
70c5eed717e2fbeab808207591ca6080896331f0
e6f36db5e63315f0c214f921ddc904ad0e0e3831
/pysendy/pysendy.py
856c19c690f61adfd2461f600d574081521bff94
[ "MIT" ]
permissive
pomarec/pysendy
0a6daa12dd3d75168a4ff246103e2daf9fc2cc1d
e378ce6f267cce31f0c81fd90057486ceaf263a1
refs/heads/master
2021-01-15T11:14:20.549366
2013-12-07T18:02:41
2013-12-07T18:02:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
# -*- coding: utf-8 -*- from .exceptions import * import requests class Sendy(object): def __init__(self, base_url, api_key=''): self.api_key = api_key self.base_url = base_url def subscribe(self, name='', email='', list_id=''): params = {'name': name, 'email': email, 'list': list_id}...
[ "thiagofa@gmail.com" ]
thiagofa@gmail.com
6e39762a6673f11ca94947c8499aa363af2b4dd2
c168fe819b446640957e5e310ef89fcfe28662b3
/userbenchmark/__init__.py
c9ff1fac46844cf4cb62479ffa15096e9436dbf2
[ "BSD-3-Clause" ]
permissive
pytorch/benchmark
7b55e8d714de2ea873e03df43811aab3848485dd
df4da9bdff11a2f948d5bd4ac83da7922e6f44f4
refs/heads/main
2023-08-29T13:06:09.671728
2023-08-28T16:51:55
2023-08-28T16:51:55
92,541,759
685
220
BSD-3-Clause
2023-09-14T18:10:18
2017-05-26T19:21:12
Python
UTF-8
Python
false
false
851
py
from pathlib import Path from typing import List CURRENT_DIR = Path(__file__).parent def list_userbenchmarks() -> List[str]: ub_dirs = [x for x in CURRENT_DIR.iterdir() if x.is_dir() and x.joinpath('__init__.py').exists() ] ub_names = list(map(lambda x: x.name, ub_dirs)) return ub_names def get_ci_from_u...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
59ec5fc5fd80068eb9447b6b36f95bffd2ccc6b5
162f56089fbfed17fe02590a69bc16c89698c2e9
/module1.py
746904cb8108fc535abbae7ec4edb5875d279eaa
[]
no_license
emmanuelmacharia/andelaworkshop
fbd3e759ecb140f9abf58c10773b771f301ca860
43470fe7b441c90bfb82ede7bdb64dbe6c73ba10
refs/heads/master
2020-03-30T16:22:00.671936
2018-10-17T13:56:24
2018-10-17T13:56:24
151,405,461
0
0
null
2018-10-17T13:56:25
2018-10-03T11:58:28
HTML
UTF-8
Python
false
false
2,344
py
from flask import Flask, request from flask_restful import Api, Resource app = Flask(__name__) api = Api(app) products = {} class AdminProducts(Resource): '''Endpoints for creating and viewing products in the application''' def get(self): '''Views all the products in the application''' ret...
[ "samuelmarsha@outlook.com" ]
samuelmarsha@outlook.com
08bee4ae1052cf518c23e03568ba16ba18ff39d4
5ef82ade9309b70204e1d392f10835a9e7d553a7
/tweet.py
5a5bbb264cca8536a98b06827c9ec09813165739
[ "MIT" ]
permissive
etalab/data-covid19-dashboard-widgets
258a52b85edfe91d92cc7d176bec3f75a5c4413f
fb429e3552f67e267801251ee6ee7e2d78c46829
refs/heads/master
2022-05-30T01:10:17.562117
2022-05-17T23:26:22
2022-05-17T23:26:22
361,129,834
2
4
MIT
2022-03-22T10:37:13
2021-04-24T10:13:31
Python
UTF-8
Python
false
false
728
py
import tweepy import secrets import toml import os TWITTER_API_KEY = os.getenv('TWITTER_API_KEY') TWITTER_API_SECRET_KEY = os.getenv('TWITTER_API_SECRET_KEY') TWITTER_TOKEN = os.getenv('TWITTER_TOKEN') TWITTER_SECRET_TOKEN = os.getenv('TWITTER_SECRET_TOKEN') # Deprecated. Function to tweet if we want. auth = tweepy...
[ "geoffrey.aldebert@data.gouv.fr" ]
geoffrey.aldebert@data.gouv.fr
79e5d650d9505b34a5feeb25bec942c15949abdf
c86a071d99d06395ab8ef22a3eab8675bffbc72c
/PySpark-ETL-Eder-Stupka/PySpark_ETL_Eder_Stupka.py
bfa52d3e6842bad89dd5448e1a358608767c26c2
[]
no_license
EderStupka/PySpark-ETL-Google-Cloud-Postgres
ca9243fb953e89a8a2b38d5998d3aa9e26359b98
c132816419d8aefbf0692cc531da3288c681b78b
refs/heads/main
2023-04-20T06:33:54.459043
2021-05-10T16:28:02
2021-05-10T16:28:02
365,175,577
0
0
null
null
null
null
UTF-8
Python
false
false
7,769
py
import psycopg2 import sys import os import pyspark from pyspark.sql import SparkSession from pyspark.sql.types import StructField, StructType, IntegerType, StringType, LongType, TimestampType, ShortType, DateType from pyspark.sql.functions import date_add, col, date_format, to_timestamp, to_date, year, month, sum de...
[ "45463511+EderStupka@users.noreply.github.com" ]
45463511+EderStupka@users.noreply.github.com
3420d4b60ef89979085bd48d4c97c9a8b77209d1
cd83f6f33311b76a7fd669e1d4a5131c099beabb
/mail/migrations/0001_initial.py
1aba1bcd71f620af3d1940eb3279097f148bf092
[]
no_license
nathanieltse/Mail-app
39d68cf7bc2e99b0d21a2342e4aff3c93a9536d9
b07b7f8dad2580a615649364ad0cd39030b671f2
refs/heads/main
2023-06-10T00:11:05.615916
2021-06-26T01:52:52
2021-06-26T01:52:52
380,390,862
1
0
null
null
null
null
UTF-8
Python
false
false
3,883
py
# Generated by Django 3.1.7 on 2021-04-06 20:15 from django.conf import settings import django.contrib.auth.models import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True ...
[ "nathanieltse@hotmail.com" ]
nathanieltse@hotmail.com
39385e0a7b92b66933385b77e3533b3a516318ea
13213e3e7d6a0866cdf28483adc46d458f8977ac
/qsort/qs.py
f464a28fe040fbe56cf5762e4a0066e408678f00
[]
no_license
j0k/algopractice
42654b1158497050911822c46de6791cf8bf251f
1be3df5553156a523bfce5328df205e6c67c19f3
refs/heads/master
2022-06-27T00:10:57.028619
2022-06-15T12:34:11
2022-06-15T12:34:11
100,791,845
1
0
null
null
null
null
UTF-8
Python
false
false
440
py
# 18.06.2017 import random A = [1,2,4,7,8,9,0,5,3,5,6,8,4,3] def qsort(a): l = len(a) if l <= 1: return a pi = int(random.random() * l) left = [] right = [] p = a[pi] for (i,item) in enumerate(a): if i == pi: continue; if item <= p: left...
[ "darling.kicks@gmail.com" ]
darling.kicks@gmail.com
cdf73285697080951a456e2a5c01d533c393b240
1cb4b326b8148779221f38da5ba1b4fa9a017f12
/Game22/modules/online/server.py
e486128b2439a353fb0c15ea4f0e7de70fef91c8
[ "MIT" ]
permissive
Chirag2007/Games
c7b27d5bb735912a7dec1fade76f92abfbc078e8
bc05c6826e63e5e3e279073443f4587f70fae741
refs/heads/master
2023-08-21T09:02:06.799276
2021-10-01T04:07:03
2021-10-01T04:07:03
412,320,297
0
0
MIT
2021-10-01T04:07:04
2021-10-01T04:05:26
null
UTF-8
Python
false
false
14,729
py
''' Function: 联机对战服务器端 Author: Charles 微信公众号: Charles的皮卡丘 ''' import socket import pygame import random import threading from ..misc import * from PyQt5 import QtCore from PyQt5.QtGui import * from PyQt5.QtCore import * from PyQt5.QtWidgets import * from itertools import product '''服务器端''' class gobangSev...
[ "1159254961@qq.com" ]
1159254961@qq.com
aa57bec9411af12d680e8aaf548c29c04b4a21f5
dd15b273e1bedad5d80b253855bbed0a207640e0
/validation.py
40a141092859e7674bc574025851cc429df48f0e
[]
no_license
rebeccamcohen/heart_rate_sentinel_server
8f45e3f69bed40ebdb7fd950ee03dcbee994ae97
c046fc18d4913fd8ff86a7e0ffee4602fe27f3ea
refs/heads/master
2020-04-06T08:25:42.634181
2018-11-17T01:16:56
2018-11-17T01:16:56
157,304,271
0
0
null
2018-11-16T22:39:57
2018-11-13T01:53:46
Python
UTF-8
Python
false
false
4,423
py
from database import User from pymodm import connect class ValidationError(Exception): def __init__(self, message): self.message = message class InputError(Exception): def __init__(self, message): self.message = message class EmptyHrListError(Exception): def __init__(self, message): ...
[ "rebecca.cohen@duke.edu" ]
rebecca.cohen@duke.edu
87b6cd872faff0465ea42ba50c6be9d681f0137a
b24e45267a8d01b7d3584d062ac9441b01fd7b35
/Usuario/migrations/0001_initial.py
f1a088a9eef7d4b51c898384d51b3a312255a586
[]
no_license
slalbertojesus/merixo-rest
1707b198f31293ced38930a31ab524c0f9a6696c
5c12790fd5bc7ec457baad07260ca26a8641785d
refs/heads/master
2022-12-10T18:56:36.346159
2020-05-02T00:42:39
2020-05-02T00:42:39
212,175,889
0
0
null
2022-12-08T07:00:07
2019-10-01T18:56:45
Python
UTF-8
Python
false
false
1,629
py
# Generated by Django 2.2.6 on 2019-11-29 05:50 import Usuario.models import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Account', ...
[ "slalbertojesus@gmail.com" ]
slalbertojesus@gmail.com
919ac69337e9c727ed9e2d07b25750de1a8160b2
72edeba5f5a912dfdca7df04b42f01c163392dd7
/RFC_Project/urls.py
886be2ad6a931a5c16722adbf70911c96ba0326e
[]
no_license
nate-birth/robovac-fight-club
bc56137786cd3b06ff0926f6f4802249e7bf99f6
c8c7929d190e05147a32c5d5ae4376e3a2a66a36
refs/heads/main
2023-03-01T21:26:13.722907
2021-02-08T20:23:51
2021-02-08T20:23:51
337,190,076
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.contrib import admin from django.urls import path,include urlpatterns = [ path('admin/', admin.site.urls), path('',include('RFC_App.urls')), ]
[ "wvonberg@gmail.com" ]
wvonberg@gmail.com
266f7c43ec194665af03f4823f13ff1664004761
f305f84ea6f721c2391300f0a60e21d2ce14f2a5
/0_字符串/87. 扰乱字符串.py
29e56a9f818fe0967e242d7e3d9221f6a53b65b7
[]
no_license
981377660LMT/algorithm-study
f2ada3e6959338ae1bc21934a84f7314a8ecff82
7e79e26bb8f641868561b186e34c1127ed63c9e0
refs/heads/master
2023-09-01T18:26:16.525579
2023-09-01T12:21:58
2023-09-01T12:21:58
385,861,235
225
24
null
null
null
null
UTF-8
Python
false
false
675
py
from collections import Counter from functools import lru_cache # 1 <= s1.length <= 30 # 87. 扰乱字符串 # !bit packing 可以将复杂度降低为 O(n^4/w) class Solution: @lru_cache(None) def isScramble(self, s1: str, s2: str) -> bool: if s1 == s2: return True if sorted(s1) != sorted(s2): ...
[ "lmt2818088@gmail.com" ]
lmt2818088@gmail.com
4c97b82819556eb6e0ca2cac2baa5c7e8074ebbb
258bfef4f6907041de5710bbb002a3372deb1fb5
/build/lib/assess_composition/__init__.py
b4e712299c7d8221125f6b0d3c532c0378572f9d
[]
no_license
RosieCampbell/assess_composition
c1a68160386c7cc100c990ee98299d4323a94fcf
a463209de3c41a4fbf1df46d432a9475ee9ca55e
refs/heads/master
2021-03-30T17:27:37.981495
2016-11-08T16:34:58
2016-11-08T16:34:58
72,562,368
0
0
null
null
null
null
UTF-8
Python
false
false
62
py
import cv2 import numpy as np import os import rule_of_thirds
[ "rosiekcampbell@gmail.com" ]
rosiekcampbell@gmail.com
f19f9ff467cd554996e2019a980c30658be6c4aa
33a961276497abc1096aca8d0fb7519ddfcb3bdb
/esl/economics/markets/walras/__init__.py
1944405c411d1d4cdebb3b859305415de84c46a6
[ "Apache-2.0" ]
permissive
ShrutiAppiah/ESL
3a7d8bb7756d28990730a377c6e5e0c3423a7e99
069a9afa0150355a1903ddc76fce04f376a6940d
refs/heads/master
2023-02-25T07:56:54.536007
2021-01-27T04:55:15
2021-01-27T04:55:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
from esl.economics.markets.walras._walras import *
[ "scholl.maarten@gmail.com" ]
scholl.maarten@gmail.com
bbaf640d918ac50921a99b40825d91656630c755
249b8f7312b57388ffb8fb367c7d1a8d81bbac0f
/a3/smoothing.py
4bf703ce206f7d5cf623c35528c45e1056dad3c4
[ "Apache-2.0" ]
permissive
arizona-phonological-imaging-lab/autotres
cf1d8353505d094b8389fbe5b1b5ebc1b6deb5c1
4a2d58e1df5a627eb2e9c2d3ccb64750ce13937f
refs/heads/master
2021-01-10T13:55:04.666165
2018-12-06T05:04:47
2018-12-06T05:04:47
45,319,121
0
1
null
2015-11-15T00:30:03
2015-10-31T21:34:53
Python
UTF-8
Python
false
false
4,091
py
from scipy.signal import savgol_filter #from scipy.signal import argrelextrema from .translate import * import numpy as np class TraceCorrection(object): """ Methods for smoothing traces """ @classmethod def trim_by_min(cls, trace): """ returns a new Trace with values preceding eith...
[ "gushahnpowell@gmail.com" ]
gushahnpowell@gmail.com
b8a79bc4b6d34e10295fe6b987039e7bd513dccf
fa8685c0d18c06fa2d796570b82c5021150b2371
/boostpython/class/test/class.py
aa2fe955343adcebfb43a32eddb4057972029959
[]
no_license
qwv/test-boost
52407774783c913d7a3dad0498da78319be18e5e
4300bb830ed6703108c7585d76fc5027a269770e
refs/heads/master
2021-01-19T14:24:41.195565
2017-08-30T11:26:57
2017-08-30T11:26:57
100,900,246
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
#!/usr/bin/env python import test t = test.World() t.set("bom dia!") print (t.greet())
[ "chowyuhuan@gmail.com" ]
chowyuhuan@gmail.com
43ebb4bd5c0c0fa866bb592f633956324fff45dc
4507c041158e427f1fb09ad62e329364a0a03cbf
/matrixcal.py
b72bf7644fa893f82dcd6747c40668038665f53b
[]
no_license
Holmsoe/PandasHints
0e079ece32ee1cf16995a373f9bed6a995bece58
80e1f77832ea5c51f8767066c13dda48bddf9f4d
refs/heads/master
2021-01-09T04:04:38.681763
2020-02-21T22:15:47
2020-02-21T22:15:47
242,239,928
0
0
null
null
null
null
UTF-8
Python
false
false
9,320
py
import time import numpy as np class lavenhedsmatrix(): def __init__(self,m): self.tolerance=1e-10 self.mgem=m self.n=len(self.mgem) #Styring af beregningsmatrix #=========================== def beregn(self,rs): self.rs=[[i for i in line] for line in rs] self.rsgem=rs #nulstil beregningsm...
[ "finn.holmsoe@gmail.com" ]
finn.holmsoe@gmail.com
da2666b33694c9a517fd8f35af321fce19c14414
e6d95a590f6e661991b75b0ffacaf3a312479bfb
/chapter_6/list_comprehentions.py
24384a43e3d713925154f66f8afa7a05c4f7a20e
[]
no_license
wanga0104/learn
05ebe57025d4a6f4bd66a8157916c3a1d54313d4
eb0dc5a48451c2af4dd630620e194a8d57d3cbfa
refs/heads/master
2022-10-11T08:50:00.653837
2020-06-14T02:28:02
2020-06-14T02:28:02
271,970,201
0
0
null
null
null
null
UTF-8
Python
false
false
303
py
# list = [i ** 2 for i in range(21) if not i % 2 == 0 ] # print(list) # new_list = [i if i > 100 else i ** 2 for i in list] # print(new_list) list_val = [] for i in '高富帅': for j in '白富美': list_val.append(i+j) print(list_val) print([i+j for i in '高富帅' for j in '白富美'])
[ "wanga0104@gmail.com" ]
wanga0104@gmail.com
3a762c9e0cf07f1d9832c6a76c2334c0528244f5
e3017c4c18b0226ea2131161159a7e51ff02cc0e
/test_ddl.py
29848bcab2602888f9243625f8af0fb8bc4ad607
[]
no_license
samhaug/tomography_tools
834c0f9781928411d32f9b190f2689194972c339
ce57bc2517fd5acbf645d6af633321d12122e518
refs/heads/master
2018-10-19T15:05:51.458378
2018-07-20T14:15:56
2018-07-20T14:15:56
104,912,898
2
0
null
null
null
null
UTF-8
Python
false
false
45
py
#from data_downloader import data_downloader
[ "samhaug@umich.edu" ]
samhaug@umich.edu
915bfdf93bc5399c071bb32a978cc52625edaf9c
eeed0744d5165f901071ece01a757077d196addb
/compare.py
374db00b8b36d7bd7ffb68e57df38c7eb8134380
[]
no_license
joshua217/josh-fyp
9aee6d425b52ced32dae3cf173a6add0475cdfe2
816002c0939e41cc3fdee546e868b7471567f61a
refs/heads/master
2021-01-01T21:00:57.498109
2020-03-02T11:35:06
2020-03-02T11:35:06
239,337,876
2
0
null
2020-06-05T19:57:47
2020-02-09T16:43:59
Python
UTF-8
Python
false
false
418
py
from scipy import stats from matplotlib import pyplot as plt def compare(x, y, x_name, y_name): plt.figure() tau, p = stats.kendalltau(x, y, nan_policy='omit') plt.scatter(x, y) plt.xlabel(x_name) plt.ylabel(y_name) plt.title("x:{}, y:{}\ntau: {}, p: {}".format(x_name, y_name, tau, p)) pl...
[ "joshlim217@gmail.com" ]
joshlim217@gmail.com
79835cbf228f09bc7b84d0f8c97de3d9a29f1086
29025afc2ef7a01231aba4c66a35df6bc5997212
/utils/plots.py
c3bef03efaebc77e1bd9cb21d22e444ca5ed6939
[]
no_license
junjie2008v/Torch_Classify
bb5e790db4925caf1cb0d48e62ea40d57bea36e2
9d94da7d19df4c4cf8f88b44c53b6e61a509c30a
refs/heads/master
2023-07-03T09:06:55.555372
2021-08-08T05:04:11
2021-08-08T05:04:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,230
py
import os from copy import copy import numpy as np import matplotlib.pyplot as plt def plot_base(ax, epochs, y, color, title=None): ax.plot(epochs, y, color=color) ax.grid(axis='y') ax.grid(axis='x') if title: ax.set_title(title) return ax def double_bar(num_train_class, num_val_class, cl...
[ "2267335097@qq.com" ]
2267335097@qq.com
1fb86b58724cb9c2760776d223919b590e47950f
47374ff190c4957ed464e345f94fbfee64983825
/feed2rss/views.py
b7b0710fa98cf32a365485d2e7e00f1378a163db
[]
no_license
alaski/Feed2RSS
0af78c5af74cbecddf945837257f893d4bc7b799
25c26e5ab9989b4bc067a382ca7ace9538dc62c8
refs/heads/master
2022-10-14T14:38:05.564515
2012-08-07T17:49:51
2012-08-07T17:49:51
3,626,778
0
0
null
2022-09-16T17:43:10
2012-03-05T12:23:27
Python
UTF-8
Python
false
false
7,697
py
import datetime import random import string from pyramid.httpexceptions import ( HTTPFound, HTTPForbidden, HTTPNotFound, ) from pyramid.response import Response from pyramid.security import ( remember, forget, authenticated_userid, ) from pyramid.view import ( view_config, #f...
[ "alaski@gmail.com" ]
alaski@gmail.com
1747c3d6ebe232b90f1163f18a849a3f71ccebc4
e614c145ab902ebed09af2bcef5b36dca78a5787
/authors/migrations/0117_auto_20160214_0747.py
26a7a40388a4b500cb05fd171b2905ed7e43788d
[]
no_license
rtreharne/pvsat-dev
1646ca8f51bd466d659b25eb721750de8361ef02
faa2b28250e2110f4603ffeff80ad0fedda1abbb
refs/heads/master
2021-01-17T13:24:12.578341
2017-09-19T06:42:51
2017-09-19T06:42:51
44,095,813
0
2
null
null
null
null
UTF-8
Python
false
false
466
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations import datetime class Migration(migrations.Migration): dependencies = [ ('authors', '0116_auto_20160214_0743'), ] operations = [ migrations.AlterField( model_name='abstra...
[ "R.Treharne@liverpool.ac.uk" ]
R.Treharne@liverpool.ac.uk
ac140ccd1f835b9970eb434daa082c8ce09e86fc
06bb125304edb1a587059d372f3e587a6f73ced2
/cdpcli/completer.py
01274b08fb6f55eb0dff24c3890d651a44acdf33
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
arcOsiNer/cdpcli
2743bf01a55f23466e445a74468ce14c4ac6c1f0
484b9814d845046773e4fe5408f41f7cfc6dbb7a
refs/heads/master
2023-06-04T14:22:49.167787
2021-06-24T00:17:22
2021-06-24T00:17:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,386
py
# Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. # # Modifications made by Cloudera are: # Copyright (c) 2018 Cloudera, 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. A cop...
[ "dev-kitchen@cloudera.com" ]
dev-kitchen@cloudera.com
28d43402215205f7fc2d64cf801303a61b84c5f9
afe916cfbb383f08ebcfd4ef290eefe556585acb
/readbin/apps/bin/serializers.py
91fe989fb09645ec4a7404b03b8daa6d932f143b
[ "MIT" ]
permissive
asnelzin/readbin
cb47664d1fc1eb741f94d73e672815829c9209f6
1b546f71955cf5753d63aaf7d7fda0d466fc1332
refs/heads/master
2021-01-10T13:57:14.347921
2015-12-09T17:55:19
2015-12-09T17:55:19
47,063,690
0
0
null
null
null
null
UTF-8
Python
false
false
219
py
from rest_framework import serializers from readbin.apps.bin.models import Article class ArticleSerializer(serializers.ModelSerializer): class Meta: model = Article fields = ('id', 'title', 'url')
[ "asnelzin@gmail.com" ]
asnelzin@gmail.com
92b727dd208e19757a6dcb3fa0bd8c47e62e05e6
05d692469305dd1adb9ebc46080525bb4515b424
/Exception handling/indentatitonerror2.py
fcf2aa2d7734d4ba77e193e053b1e5add48c0f73
[]
no_license
rajdharmkar/pythoncode
979805bc0e672f123ca1460644a4bd71d7854fd5
15b758d373f27da5680a711bf12c07e86758c447
refs/heads/master
2020-08-07T18:30:55.575632
2019-10-14T12:46:09
2019-10-14T12:46:09
213,551,766
0
0
null
null
null
null
UTF-8
Python
false
false
71
py
try: import test.py except IndentationError as ex: print ex
[ "rajdharmkar@gmail.com" ]
rajdharmkar@gmail.com
a1a0d498a55a027931df2f2909a70172a69c3276
d9406464161b49a535a68356306d196efd5cb073
/p5.py
23f8140e641c66bc90d4ce73f4754205ea0e7bf9
[]
no_license
jjimenez98/Blockchain-Communication-Model
2b2b3361c7821567cfdea08a2b3dfa9ba9073701
048cee402d67182dbf06e69971c60988ddfb8be8
refs/heads/master
2022-12-17T08:00:01.397994
2020-09-26T20:44:26
2020-09-26T20:44:26
298,896,563
1
0
null
null
null
null
UTF-8
Python
false
false
10,621
py
import socket import time import random import threading from threading import Lock import collections # provides a double-ended queue and is implemented as a doubly-linked list internally import queue import pickle import hashlib import numpy as np import shelve import sys blockchain = collections.deque() depth = 0...
[ "noreply@github.com" ]
noreply@github.com
d7decc5793abb668a64476cf829ed006844441e9
636cb88a2cd6386e5e2731c227547496059370be
/src/DjangoPractice/urls.py
2e388e3b83aaf415a4630a5c6dba97e242546373
[]
no_license
Kazungu/DjangoPractice
4cfed564686ef1edce7d83231dc7e9705e9e9e9e
03543096154b8f7b54600157036235aea841fd13
refs/heads/master
2022-05-30T15:12:44.388067
2020-05-02T08:37:19
2020-05-02T08:37:19
257,080,400
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
"""DjangoPractice URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Clas...
[ "kazungu61@gmail.com" ]
kazungu61@gmail.com
8d56e332c42605f75e9b3d63c13f532e5ba7d925
3d75c928899c582159ea022580116c50359fc638
/PrimerBlog/urls.py
840d9910691ef5483632951577ec0f01a6a85372
[]
no_license
codeheroco/django_desde_cero
a9133790e0d29d2ab4273f895eef616265b4fcf4
bfdba157e55afbaa814898845f785f6e91001c05
refs/heads/master
2021-01-23T06:50:00.326584
2013-11-06T03:53:19
2013-11-06T03:53:19
14,162,257
3
0
null
null
null
null
UTF-8
Python
false
false
706
py
from django.conf.urls import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', (r'^articulos/', include('blog.urls')), # Examples: # url(r'^$', 'PrimerBlog.views.home', name='home'), # url(r'^Primer...
[ "carlospicca@gmail.com" ]
carlospicca@gmail.com
14b78f12d7845d6f3e43fc11adfae20a360f0cf1
d7d1558607a8ace96a840cbef47e24a2d6a26102
/setup3/preprocess/.ipynb_checkpoints/PreprocessingSetup3-checkpoint.py
83187d8b58a979c02336ee48b75f943f5862135f
[ "MIT" ]
permissive
aliyesilkanat/MSC
4a02e9f49c617dd724632c083325d887dbf87443
1fd424c82a86109a3ecfb7c657fb564a6839f7aa
refs/heads/master
2022-03-26T00:06:18.846304
2019-11-12T17:31:49
2019-11-12T17:31:49
221,272,780
0
0
null
null
null
null
UTF-8
Python
false
false
7,292
py
#!/usr/bin/env python # coding: utf-8 # In[2]: import pickle import librosa import sys import glob import random import os from collections import defaultdict import re import numpy as np import json from tacotron.utils import get_spectrograms import pandas as pd import gc def read_speaker_info(speaker_info_pat...
[ "aliyesilkanat@gmail.com" ]
aliyesilkanat@gmail.com
8d551edf06666357e86023d00f97b72089c75f70
d58037fda6a6d05e226261b47cb34ba8dd6ab724
/airflow/providers/microsoft/azure/operators/data_factory.py
1ad372395057edf46e7cd1ea4e84aeb4e27543b0
[ "Apache-2.0", "BSD-3-Clause", "MIT" ]
permissive
shiv-io/airflow
432f684af111d75356ff0b960aa214767a379b0d
36fe6d0377d37b5f6be8ea5659dcabb44b4fc233
refs/heads/main
2023-05-28T08:35:17.500007
2023-04-29T15:36:31
2023-04-29T15:36:31
309,048,170
0
0
Apache-2.0
2020-11-01T07:52:50
2020-11-01T07:52:49
null
UTF-8
Python
false
false
11,484
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "noreply@github.com" ]
noreply@github.com
be1621abbe83595d69e640b35f1f12fae4156faf
d3af7445da81972bb3102fabb68c0baa608fca21
/liver.py
6b64b4d0e83be8ffff061c6bb7d2d8da590fe53a
[]
no_license
xyj77/siamese-triplet
258c4f4945af0f0e80ba8bac7a43dbd1ea9a4379
6ff34f6fa08eba9e203ef22a233e1d3afe40a869
refs/heads/master
2020-03-20T07:50:41.518151
2018-12-27T07:30:44
2018-12-27T07:30:44
137,292,537
0
1
null
2018-06-14T01:53:08
2018-06-14T01:53:08
null
UTF-8
Python
false
false
23,659
py
#-*- coding:utf-8 -*- from __future__ import division from __future__ import absolute_import from __future__ import with_statement import os import time import argparse import torch from torch import nn from torch.autograd import Variable import torchvision from torchvision import transforms import torch._utils try:...
[ "15172535067@163.com" ]
15172535067@163.com
f9967a372a3f92a0a32b1e8b2a075e4e2de103d1
2d8e383ffba2a0aaaa2cbb50793b1635a45e3883
/bigdata-demo-searching-lambda/ankaracloudmeetup-bigdata-demo-searching-lambda-s3-to-es-python/twitter_to_es.py
3102978cc1a88bb410291d8f996f63559b8de2a5
[ "Apache-2.0" ]
permissive
yukarikir/ankaracloudmeetup-bigdata-demo
5461f8a2cfa8e741033afa78c9f2911ad655b44b
43196dc97c77ed4616e28e24ebcfa07174a392db
refs/heads/master
2020-03-07T01:46:09.464104
2017-06-27T16:50:01
2017-06-27T16:50:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,980
py
''' Created on Oct 8, 2015 @author: mentzera Modified on Jul 1, 2016 @author: sozal ''' from elasticsearch import Elasticsearch from elasticsearch.helpers import bulk from elasticsearch.exceptions import ElasticsearchException from tweet_utils import analyze_and_get_tweet, id_field, tweet_mapping index_name = 'twi...
[ "serkanozal86@hotmail.com" ]
serkanozal86@hotmail.com
3fbdf957571e7f078c7dcecad3966c0746a6fc5e
4273f6c264fa5a7267557c5e0d338a2cbd27789e
/AIE23/20191207_big_data_ai/1_pyspark_dataframe/ml/3_decision_tree_classification_example.py
fe32e3c30872236d2fbd76cdba11f209f222b78b
[]
no_license
shcqupc/Alg_study
874d37954ed8ed2cdb3bd492d59cd071836946f5
462ee12c72b7f84c5ae45aaf0f65b812d7c1ada1
refs/heads/master
2020-07-10T15:26:40.603300
2020-03-27T12:53:16
2020-03-27T12:53:16
204,298,238
2
0
null
null
null
null
UTF-8
Python
false
false
3,226
py
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
[ "253848296@qq.com" ]
253848296@qq.com
9adadf89af9b4b4b688e2c2d130ed932a2e138c7
01e9f22a9d4dcbe1ffdb5f3c7f854a190c3918a9
/pose/pose_visualizer.py
31e3dee0b11b221456cba854b0f65bd046b51d75
[]
no_license
TheK2NumberOne/Action-recognition-using-pose-estimation-2D-openpose
69eaf126b8363a25f6fcffea1d56c3e20b8bb5cc
341a6b398a3cc41a037487b696a3290ee2bfc1b5
refs/heads/master
2022-11-17T13:34:18.171214
2020-07-18T05:55:00
2020-07-18T05:55:00
280,106,041
2
0
null
null
null
null
UTF-8
Python
false
false
5,041
py
import numpy as np import cv2 from pose.format_coco import Points, mapIdx, POSE_PAIRS def getValidPairs(image, output, detected_keypoints, keypoints_list): # The function is used to determine the connection between joints A and B. valid_pairs = [] invalid_pairs = [] n_interp_samples = 10 paf_scor...
[ "quanghuyonline08@gmail.com" ]
quanghuyonline08@gmail.com
1b826dff5250dd586491f1aaacd474401b2043b1
0427a50ec60b6ca664288738cb5b9211f595e5c2
/meiduo/apps/verifications/tests.py
2d955a35a2e9fe5aec5efe93b5cc5f86a496b135
[]
no_license
lcp964/meiduo
6862f25df9c05ea9f970cacbd30673f612f7c103
e13c076aabf95dec8de04b13e70d6094157cad4d
refs/heads/master
2023-07-03T23:01:03.380090
2021-08-02T14:42:28
2021-08-02T14:42:28
391,984,463
1
0
null
null
null
null
UTF-8
Python
false
false
74
py
from django.test import TestCase import random # Create your tests here.
[ "2441497185@qq.com" ]
2441497185@qq.com
b89f856a4efbd1215ba554a3547b2d5f64a60502
1e177ebdcb470f738c058606ac0f86a36085f661
/Pico/MicroPython/mqtt/mqttPub01_main.py
60f96980393a5b6b04d87afbd41113c2b7db4245
[]
no_license
robingreig/raspi-git
5cbdd295c1048a0571aa2c2f8576438269439f07
7373bf94557d7a88c8f343362ba64f9cd19c8ce7
refs/heads/master
2023-08-31T03:16:17.286700
2023-08-26T11:54:23
2023-08-26T11:54:23
16,873,881
2
0
null
null
null
null
UTF-8
Python
false
false
2,202
py
import time import network from machine import Pin from umqttsimple import MQTTClient ssid = 'MakerSpaceTest' password = 'P@55w0rd' wlan = network.WLAN(network.STA_IF) wlan.active(True) wlan.connect(ssid, password) rp2.country('CA') led = machine.Pin("LED", machine.Pin.OUT, value=0) # Wait for connect or fail max_wa...
[ "robin.greig@calalta.com" ]
robin.greig@calalta.com
d4da4f399743a1bbcccc23dce4f21f4f9e0fbd9d
4ac687bc28b9f5cf7f822e9d4c0db8b46fe363b3
/30_day_leetcoding_challenge/2020_08/06-Find_All_Duplicates_in_an_Array.py
72bd02e1bfc9c119c422a9d3b17b9e73c1be9add
[ "MIT" ]
permissive
QuenLo/LeetCode-share
b1e75e02e1dfe85be44ddb0ae1f4345353b0b569
ce861103949510dc54fd5cb336bd992c40748de2
refs/heads/master
2021-12-23T11:23:09.111711
2021-11-15T18:54:46
2021-11-15T18:54:46
131,681,273
6
0
null
null
null
null
UTF-8
Python
false
false
297
py
class Solution: def findDuplicates(self, nums: List[int]) -> List[int]: ans = [] for num in nums: if( nums[abs(num)-1] < 0 ): ans.append(abs(num)) else: nums[abs(num)-1] *= -1 return ans
[ "noreply@github.com" ]
noreply@github.com
389fb95b2509687f5d976c6f9564d0a80ebef0a1
83de24182a7af33c43ee340b57755e73275149ae
/aliyun-python-sdk-cbn/aliyunsdkcbn/request/v20170912/UpdateTrafficMarkingPolicyAttributeRequest.py
743e5f15ad08d14e8d8f3b0fa5e14fc7e66e1659
[ "Apache-2.0" ]
permissive
aliyun/aliyun-openapi-python-sdk
4436ca6c57190ceadbc80f0b1c35b1ab13c00c7f
83fd547946fd6772cf26f338d9653f4316c81d3c
refs/heads/master
2023-08-04T12:32:57.028821
2023-08-04T06:00:29
2023-08-04T06:00:29
39,558,861
1,080
721
NOASSERTION
2023-09-14T08:51:06
2015-07-23T09:39:45
Python
UTF-8
Python
false
false
7,712
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "sdk-team@alibabacloud.com" ]
sdk-team@alibabacloud.com
2da0aa36e7be889a32196c3d06867c36c614e741
246fb3d3163411f8d2f23f0c58277e183a9aa04b
/StockAdmin2/core/restapi/updater.py
5648083f9fc8de8493a0c08f8977c09f967d0f31
[]
no_license
zwolf21/StockAdmin2
ed5adb10cb94f688ce0ec9c18291f8d0eae79a33
430189bd8ea3820c00cf77e7ed741745f1ed74ca
refs/heads/master
2022-12-12T03:53:07.101298
2017-12-26T04:49:27
2017-12-26T04:49:27
81,782,122
0
0
null
null
null
null
UTF-8
Python
false
false
3,914
py
from decimal import Decimal from listorm import Listorm from .dgamt_service import DGamtService update_supervise_fields = { 'edi_code':'update', 'pro_type':'update', 'pay_type':'update', 'price':'create' } product_supervise_fields = { 'edi_code': 'update' } buyinfo_supervise_field = { 'pro_type': 'u...
[ "pbr112@naver.com" ]
pbr112@naver.com
5beeeeee1729033d70dc9bdd7e2aa08ca6ecb3b2
246afde69972b2ddabf34004f48f6a9ea2870c1a
/xadminStudy/wsgi.py
a137fbc8249362399b2a0f98196392f86eb77cec
[]
no_license
jayxqt/xadminStudy
dc3ee635408eae08645334664328e18c5ff9622f
50d0235ca723c73ce921362a226deb7607012d0f
refs/heads/master
2022-12-07T06:25:29.531267
2020-08-31T07:59:52
2020-08-31T07:59:52
291,652,010
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
""" WSGI config for xadminStudy project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.2/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_S...
[ "quantong_xu@163.com" ]
quantong_xu@163.com
5945ac73322c07df601001ad78d4c9d7fa2bc303
53fab060fa262e5d5026e0807d93c75fb81e67b9
/gaussiana/ch3_2020_03_04_20_49_28_001210.py
736fec0c051e1192ca98e7fa7fd600af6d7e2eff
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
import math. def calcula_gausiana(x,mi,sigma): parte1 = 1/(sigma*(2*math.pi)**(1/2)) parte2 = math.exp(-0.5*((x-mi)/sigma)**2) return(parte1*parte2)
[ "you@example.com" ]
you@example.com
9be134a4a9373859f990d5d3743f9cfb575d68f9
60f588e7420b062021d78ae3ef4626d4ce472456
/이것이코딩테스트다_나동빈/ch10graph_set.py
91a7e4283a3869670b5f40e710e1e83a2054ec61
[]
no_license
DojinPark/algorithms
3ac580117115a74906ca78a202e81853a0c7b5e8
35c01064778d9109368b33aab90ba373e1e5458a
refs/heads/main
2023-04-27T23:13:00.903287
2021-05-07T09:52:28
2021-05-07T09:52:28
313,219,138
0
0
null
null
null
null
UTF-8
Python
false
false
3,696
py
# 서로소 집합을 이용한 트리 표현 V, E = 6, 4 parent_str = [ '1 4', '2 3', '2 4', '5 6' ] # 각 원소가 속한 집합: 1 1 1 1 5 5 # 부모 테이블: 1 1 2 1 5 5 # worst case: O(V) --> 비효율적이다 > 이후 등작하는 개선된 find_parent 참조 def find_parent(parent, x): if parent[x] == x: return x return find_parent(parent, parent[x...
[ "74354737+DojinPark@users.noreply.github.com" ]
74354737+DojinPark@users.noreply.github.com
eaaf9937a3853ee4f5e92ba894c9455bac2f13f6
d2c4151eff768af64946ababc2e41c13d8973cd3
/ABC133/c.py
a99b470c2376c8f63bc104e312e3e27c9cd418aa
[]
no_license
Intel-out-side/AtCoder
2de19b71981247135432aed2d6d9c2a16c3ab7f0
0c419d2df15fff02032432cb1b1323612484e16e
refs/heads/master
2022-06-23T04:21:12.886072
2022-06-13T14:39:07
2022-06-13T14:39:07
235,240,853
0
0
null
null
null
null
UTF-8
Python
false
false
289
py
L, R = map(int, input().split()) ans = 2020 if R - L < 2019: for i in range(L, R+1): for j in range(i+1, R+1): ans = min((i*j)%2019, ans) else: for i in range(L, L+2019): for j in range(i+1, L+2019): ans = min((i*j)%2019, ans) print(ans)
[ "so.eng.eng.1rou@gmail.com" ]
so.eng.eng.1rou@gmail.com
145f6d7644ac5106b240e5fafa7a8934c404aaf6
d3d9c0a5146ecf7a1dd8fa9948641217774047db
/HLAFeatureLibrary/Training/GATE.py
a31dfbb911a3551501fdc021f39a4fa6ce8c1c9b
[ "LicenseRef-scancode-philippe-de-muyter", "LicenseRef-scancode-us-govt-public-domain", "Apache-2.0", "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
fulQuan/NLPWorkbench
81e8f3f40dc5c1b89f3b64d9296f15e3782e7ce1
c3fadef1bd6345e01a58afef051491d8ef6a7f93
refs/heads/master
2020-05-03T02:14:26.713492
2018-12-12T15:42:01
2018-12-12T15:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,783
py
import sys import json import glob from Training.Client import ServiceClient import sys sys.path.append('..') from PostTokenizer_GATE import PostTokenizer from PostSentenceSplitter_GATE import PostSentenceSplitter from FeatureExtractor_GATE import FeatureExtractor import time from Training.merge_bio import merge_bio fr...
[ "mcq1@cdc.gov" ]
mcq1@cdc.gov
7c9df44293fe56ebc72f5d2528661f8fd10bbe41
0c559308e95239e0c0b0134f6287f832e4871106
/tradingsystem/settings.py
a080c66464c157a670d6e3c374abf442dc49ac4e
[]
no_license
jaehak24/tradingsystem
76aaaa4583f2b15c5279f8b780bbba91b404bed8
05ff330c9a9d74e0097ed413777440dd52319980
refs/heads/main
2023-06-04T21:50:44.485514
2021-06-16T07:57:49
2021-06-16T07:57:49
378,058,854
0
0
null
2021-06-18T06:43:33
2021-06-18T06:43:32
null
UTF-8
Python
false
false
3,189
py
""" Django settings for tradingsystem project. Generated by 'django-admin startproject' using Django 3.1.4. For more information on this file, see https://docs.djangoproject.com/en/3.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.1/ref/settings/ """ from p...
[ "jinsung1048@gmail.com" ]
jinsung1048@gmail.com
75219a4f87f14e035cef63c5379eb59541d61e5d
f8da830331428a8e1bbeadf23345f79f1750bd98
/msgraph-cli-extensions/beta/usersfunctions_beta/azext_usersfunctions_beta/vendored_sdks/usersfunctions/operations/_user_event_exception_occurrence_operations.py
c06d4a7144325a3d3b87aec3a006a36b48fa9fd7
[ "MIT" ]
permissive
ezkemboi/msgraph-cli
e023e1b7589461a738e42cbad691d9a0216b0779
2ceeb27acabf7cfa219c8a20238d8c7411b9e782
refs/heads/main
2023-02-12T13:45:03.402672
2021-01-07T11:33:54
2021-01-07T11:33:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,381
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 ...
[ "japhethobalak@gmail.com" ]
japhethobalak@gmail.com
056014f491d6a1534d34b7f104da6d056927a150
2e682fd72e3feaa70e3f7bf2a3b83c50d783ec02
/PyTorch/dev/perf/CascadeMaskRCNN_iflytek_for_PyTorch/mmdet/core/bbox/samplers/random_sampler.py
25da79515772c1ca8589ef97f32f2de2f0dd74c7
[ "GPL-1.0-or-later", "Apache-2.0", "BSD-2-Clause", "MIT", "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Ascend/ModelZoo-PyTorch
4c89414b9e2582cef9926d4670108a090c839d2d
92acc188d3a0f634de58463b6676e70df83ef808
refs/heads/master
2023-07-19T12:40:00.512853
2023-07-17T02:48:18
2023-07-17T02:48:18
483,502,469
23
6
Apache-2.0
2022-10-15T09:29:12
2022-04-20T04:11:18
Python
UTF-8
Python
false
false
4,732
py
# # BSD 3-Clause License # # Copyright (c) 2023 xxxx # All rights reserved. # Copyright 2023 Huawei Technologies Co., Ltd # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain ...
[ "zhangjunyi8@huawei.com" ]
zhangjunyi8@huawei.com
7037f2e38c2e9e53d0e32b2df9d87c9608e83b58
0fd5cd82b755f574ef44de61092fc1e982b33a34
/news/admin.py
e78d90ba5983b5857ca8eaf9f23d212ce440e2e0
[]
no_license
York0000/project
592a5b67a05feb7efd3bde852d737af4c5048241
f3688157e288ad22efdabd9776fea2858f6ccfe6
refs/heads/master
2023-05-27T07:26:02.998870
2021-06-16T12:03:12
2021-06-16T12:03:12
377,416,425
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from django.contrib import admin from news.models import NewsModel @admin.register(NewsModel) class NewsModelAdmin(admin.ModelAdmin): search_fields = ['title'] list_display = ['title', 'created_at'] list_filter = ['created_at']
[ "yorqin_bohodirov20@mail.ru" ]
yorqin_bohodirov20@mail.ru
2bc5ccacd684f2960e4032e59db73889ca1890a5
72aec4b5c8c632b48420c6fb59633318c2453a13
/venv/Scripts/pip-script.py
2ab354dcf15c2ca6da0cbf8ed066515897a962e2
[]
no_license
first-down/python
fba25186d891027e66c9df6d91ea2d919c643aa0
44eb91208a25115fffc18771c15add4c10faf644
refs/heads/master
2020-04-10T04:38:34.492382
2018-12-07T09:24:28
2018-12-07T09:24:28
160,804,162
0
0
null
null
null
null
UTF-8
Python
false
false
397
py
#!C:\Users\xcz\Desktop\nnt\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exi...
[ "xcz201807@163.com" ]
xcz201807@163.com
5ff77af218fe035658aa1dd7c912958e61136bba
f07a42f652f46106dee4749277d41c302e2b7406
/Data Set/bug-fixing-3/d52316fcc2f625747c1976913c1383a168b40e02-<latest>-fix.py
39415573b8121be3ff4ed0d9621f71cfaf9f6cbb
[]
no_license
wsgan001/PyFPattern
e0fe06341cc5d51b3ad0fe29b84098d140ed54d1
cc347e32745f99c0cd95e79a18ddacc4574d7faa
refs/heads/main
2023-08-25T23:48:26.112133
2021-10-23T14:11:22
2021-10-23T14:11:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,434
py
def latest(module, items, repoq, yum_basecmd, conf_file, en_repos, dis_repos, installroot='/'): res = { } res['results'] = [] res['msg'] = '' res['changed'] = False res['rc'] = 0 pkgs = { } pkgs['update'] = [] pkgs['install'] = [] updates = { } ...
[ "dg1732004@smail.nju.edu.cn" ]
dg1732004@smail.nju.edu.cn
f94acf5586e7193717879c808466ef498e331dd6
ce6cb09c21470d1981f1b459293d353407c8392e
/docs/jnpr_healthbot_swagger/swagger_client/models/rule_schema_flow.py
756ab1b061ec4978bc4dded218c9a10887e69257
[ "Apache-2.0" ]
permissive
minefuto/healthbot-py-client
c4be4c9c3153ef64b37e5344bf84154e93e7b521
bb81452c974456af44299aebf32a73abeda8a943
refs/heads/master
2022-12-04T07:47:04.722993
2020-05-13T14:04:07
2020-05-13T14:04:07
290,145,286
0
0
Apache-2.0
2020-08-25T07:27:54
2020-08-25T07:27:53
null
UTF-8
Python
false
false
3,288
py
# coding: utf-8 """ Healthbot APIs API interface for Healthbot application # noqa: E501 OpenAPI spec version: 1.0.0 Contact: healthbot-hackers@juniper.net Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class RuleSchemaFl...
[ "nitinkr@juniper.net" ]
nitinkr@juniper.net
4850aba9dfaa17379b6462a01dfee68d23a1c210
e6c334f4fd993e39abf9ec87aaad31f19b23ab7c
/createhtml.py
6147c42d42fe49d8e9397937408055dc09cfd870
[]
no_license
dereklearns/My-Emailer
efff635132d568f1bb443114c7ecb996083146a3
003bfcf8c337815f9c419269a9861ceeb1a6787c
refs/heads/master
2022-09-17T04:37:13.728123
2022-08-08T16:05:41
2022-08-08T16:05:41
55,396,669
0
0
null
null
null
null
UTF-8
Python
false
false
6,489
py
import derekstudio import random def create_html_for_derek(data, date_data): print date_data print (len(date_data)) d = {'suffix': data[0], 'parent_first': data[1], 'parent_last': data[2], 'email': data[3], 'instrument': data[4], 'student_name': data[5], 'student_age': data[6], 'additional_info': data[7]} print d...
[ "derekadam1988@gmail.com" ]
derekadam1988@gmail.com
9bf50ec760d8f3f86fca3cb062d8de76c06c7461
68918eb18bfbb1b260f19991b77d0ec64d25afce
/1_Introduction_to_web_crawlers/1.4.1download0_all(common.py).py
14fa5d4d298b1cc62fb91453977e7c4208b6b6c1
[]
no_license
abhijeetsingh1704/WebScrapping_learning
0a140400127058b2e6d378f23a7db52e93202e34
b7e1138376f4285a09427d1e40ea3b56a6567978
refs/heads/master
2022-11-27T01:35:10.376545
2020-08-05T11:06:34
2020-08-05T11:06:34
285,254,645
0
1
null
null
null
null
UTF-8
Python
false
false
2,362
py
# -*- coding: utf-8 -*- import urllib2 import urlparse def download1(url): """Simple downloader""" return urllib2.urlopen(url).read() def download2(url): """Download function that catches errors""" print 'Downloading:', url try: html = urllib2.urlopen(url).read() except urllib2.URLE...
[ "abhijeetsingh.aau@gmail.com" ]
abhijeetsingh.aau@gmail.com
7cb73f6dbd4ba05ccd1815a6fba237f8c87ee46d
eff6d730e4eca5cf7818bfa7eecea493021d1130
/bootcamp/feeds/urls.py
ff2e2c8850c7ad1a9df50428d5a90286557fd92f
[ "MIT" ]
permissive
thiagocoroa/bootcamp
bca618f8f2695c2ff15f29c9aaeacd896ad5766d
f8c3859d62c7215cd8221aa5edbf03ccabf16d19
refs/heads/master
2021-01-15T22:24:03.034762
2014-06-03T11:44:14
2014-06-03T11:44:14
null
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
from django.conf.urls import patterns, include, url urlpatterns = patterns('bootcamp.feeds.views', url(r'^$', 'feeds', name='feeds'), url(r'^post/$', 'post', name='post'), url(r'^like/$', 'like', name='like'), url(r'^comment/$', 'comment', name='comment'), url(r'^load/$', 'load', name='load'), ...
[ "vitorfs@gmail.com" ]
vitorfs@gmail.com
a19bb15f6337d71f66cc5589c017580a890c1e12
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2337/60690/313967.py
a3fc0bae8118aec40722e89b4602a0b43b8fc2f5
[]
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
835
py
s=input().split(" ") n=int(s[0]) m=int(s[1]) net=[] for i in range(n): net.append(input()) if n==4 and m==4 and net[0]=="#***":print(5,end="") elif n==31 and m==20 and net[0]=="xx**xxxx***#xx*#x*x#":print(48,end="") elif n==31 and m==20 and net[0]=="x#xx#*###x#*#*#*xx**":print(15,end="") elif n==50 and m==50 and ne...
[ "1069583789@qq.com" ]
1069583789@qq.com
ca8b9521fc77e4ef7a9a5d84f5a1d8f23be93fc9
ea8e945af461ae6e5a2dcd9dce244391f14ec695
/kondo/chapter09/knock81.py
c31242745b3529bf280fd0625dcbfd0c969ccf32
[]
no_license
tmu-nlp/100knock2020
b5a98485e52b88003fa97966c8d6eef292c9f036
1133fa833ea32ad3e54833e420bcb1433f3ec2f3
refs/heads/master
2023-04-09T06:48:04.571566
2020-08-13T05:38:25
2020-08-13T05:38:25
258,825,143
1
2
null
2020-08-12T15:56:56
2020-04-25T16:43:13
Python
UTF-8
Python
false
false
5,910
py
""" 81. RNNによる予測Permalink ID番号で表現された単語列x=(x1,x2,…,xT)がある. ただし,Tは単語列の長さ,xt∈ℝVは単語のID番号のone-hot表記である(Vは単語の総数である). 再帰型ニューラルネットワーク(RNN: Recurrent Neural Network)を用い,単語列xからカテゴリyを予測するモデルとして,次式を実装せよ. h→0=0,h→t=RNN−→−−(emb(xt),h→t−1),y=softmax(W(yh)h→T+b(y)) ただし,emb(x)∈ℝdwは単語埋め込み(単語のone-hot表記から単語ベクトルに変換する関数), h→t∈ℝdhは時刻tの隠れ状態...
[ "62088979+maskcott@users.noreply.github.com" ]
62088979+maskcott@users.noreply.github.com
be5f845e652b216563c032b293834361b80ce172
948b29f3345077dc2666510e6010234da6a524fb
/Team_Misc_Scraper.py
d79ad5844eb99b3e49b10676c3b5a55f100c3ce6
[]
no_license
jimmyyih518/nba
1d65558d1e4a7c83f0969f1d557cf2968b1aba05
3336c8be79920ad56c2d126c3b608f77067f5175
refs/heads/master
2023-01-28T00:06:19.805335
2020-12-05T04:44:11
2020-12-05T04:44:11
314,972,027
0
0
null
null
null
null
UTF-8
Python
false
false
2,667
py
# -*- coding: utf-8 -*- """ Created on Sun Nov 22 19:32:56 2020 @author: JZ2018 """ season_end_year = 2020 output_filedir = 'D:/JZR/nba/boxscores/' import os #print(os.getcwd()) from bs4 import BeautifulSoup import requests import pandas as pd team_dictionary = { 'Atlanta Hawks': 'Atl', 'Boston Celtics': 'Bo...
[ "noreply@github.com" ]
noreply@github.com
9835f1aebb85255ca2146df76cdcb41c6f43a428
4d18e2e6abf050e0816024661c8467d0d588adfd
/lib/python2.7/types.py
e467f32986a57b00e083cdebfa84af04c69a89b3
[]
no_license
jseuribe/Next_Steps
1fdfbebfbf6087b4297d3d88153d3709cd85a530
dda5b50770c75c0e863fa61dba23a1ed1b60bf9f
refs/heads/master
2021-01-21T13:53:24.919527
2016-05-25T01:59:15
2016-05-25T01:59:16
51,565,879
2
1
null
2016-05-20T23:58:22
2016-02-12T03:53:48
HTML
UTF-8
Python
false
false
45
py
/home/joseu/miniconda2/lib/python2.7/types.py
[ "jseuribe@hotmail.com" ]
jseuribe@hotmail.com
f7e6e3b7f7e4bbfff9440eba8a17ee56552b09c7
043caad2ed51141d07ce4f24b0cb478cc4343443
/SERVICE_AvailableSoftResources/AvailableSoftResources/api/migrations/0003_auto_20200606_1337.py
9f86a2114452e9c8223a218058d7fb7ce172360c
[]
no_license
Nirowe/SERVICE_AvailableSoftResources
c283b06f97bf9d96b1de1681393d0a0a3b961cf9
5972940652736caccfd219726e31ab0f191c9fcb
refs/heads/master
2022-11-08T12:53:50.889121
2020-06-12T18:52:52
2020-06-12T18:52:52
271,857,443
0
0
null
null
null
null
UTF-8
Python
false
false
580
py
# Generated by Django 3.0.5 on 2020-06-06 06:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0002_auto_20200606_0155'), ] operations = [ migrations.RenameField( model_name='employee', old_...
[ "nirowe@inbox.ru" ]
nirowe@inbox.ru
b00e7a61e5466b0deb1d425bd76f2355ae8b4001
d950ff83f94f8d6d006272b89fcc7a428a0f2307
/appsis/models.py
6fd41b24e62cd4b7c20a155c32bd1ff389141085
[]
no_license
montalbanluis/SySDemo
e250ba7bf9e796291f2a4c81d09ae221f664319a
5ff2f35be47d9278162c7960dbd8ec04a13c7205
refs/heads/master
2023-07-08T16:33:45.766349
2021-08-23T23:29:40
2021-08-23T23:29:40
395,527,837
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
from django.db import models # Create your models here. class Persona(models.Model): rut = models.CharField(max_length=10, verbose_name = "Rut") nombre = models.CharField(max_length=150, verbose_name = "Nombre") apellido = models.CharField(max_length=150, verbose_name = "Apellido") estado = models....
[ "lamvhaccc@gmail.com" ]
lamvhaccc@gmail.com
54fc99ac439a37e425983c80ca215d97c37599d2
3e59df4e7fd5e30e541175c4ebdf0f7dcce569f3
/Dashboard/backend.py
d0b18060c8467260e2fce9a42ef9d2b3e604899d
[]
no_license
BrianGoodman95/NFL-Game-Predictor-V1
0fde6c3edb762fae3f4578e12ee5161ee3aed3bf
dd98a92a6d772e4487b5d650ef4356dca9cd7e1e
refs/heads/master
2023-01-22T16:39:43.370694
2020-12-06T05:24:20
2020-12-06T05:24:20
262,611,954
0
0
null
2020-12-06T05:24:21
2020-05-09T16:27:06
HTML
UTF-8
Python
false
false
1,565
py
import time import pandas as pd from parsers import Game_Predictor from parsers import Prediction_Analysis from parsers.setup import Directory_setup, Dashboard_setup setup = Directory_setup.Create_Directories() project_path = setup.project_path season, week = Dashboard_setup.This_Week() last_run_time = time.time()-55...
[ "bgoodman1995@gmail.com" ]
bgoodman1995@gmail.com
818d87194a7ffe9a0f06b833e41ab249ce4e388a
c9dda6d46e25a34cd5888306729029ba0d3b069d
/FlaskDemo/decorators.py
38e65dc4213ff7cd7c0f9876c9e7766df9c103cd
[]
no_license
TTTTTong/PythonDemos
106f48680bf55fdbac5ce47bce82a3ac99fdcefc
9a891c8aa9c4f1239a78ad2d20e8d07584fe5488
refs/heads/master
2022-12-12T07:50:56.740198
2018-07-06T08:15:58
2018-07-06T08:15:58
104,082,299
0
0
null
2022-12-08T00:41:54
2017-09-19T14:00:35
Python
UTF-8
Python
false
false
329
py
import functools from flask import session, redirect, url_for # 登陆限制装饰器 def login_required(func): @functools.wraps(func) def wrapper(*args, **kwargs): if session.get('user_id'): return func(*args, **kwargs) else: return redirect(url_for('login')) return wrapper
[ "t15529208705@gmail.com" ]
t15529208705@gmail.com
e017adc706cc398730b245c4fc39a45eb54053f2
5776a924dbb3d305177b8c269cc86af2736c4b6a
/trending/trending.py
95ddc2bc97c3fa013556a6fb6c10bd88bbc4d1ed
[ "Apache-2.0" ]
permissive
sipolac/trending
8d248a98a1198472a42b25aff6f699b2ebe985a0
8155bcea5758a1b1cd7aa0c585658e754fe4c034
refs/heads/master
2020-06-29T01:15:33.554139
2019-08-25T21:51:51
2019-08-25T21:51:51
200,395,914
0
0
null
null
null
null
UTF-8
Python
false
false
4,670
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Author: Chris Sipola Created: 2019-08-02 Functions for quantifying "trending"-ness. Some notes on "notation": > `a` is used to represent a series/list/array of interest, in the style of numpy. However, within the project, `a` treated as a list since I didn't want...
[ "sipolac@gmail.com" ]
sipolac@gmail.com
e3578fcf72242dbd6ea5994ec08630bbdbb6b631
5185529b885d37bc1a6c7a7de21fd8b6ecfaf11a
/mapas/Hangar.py
00d012e7a1bb6a6a4532c9c792bc4390dcbf5444
[]
no_license
igorssmanoel/ContraRM
020dd8449fc31b72c9fa3e7517a388be721cb5f5
d28755a3bfb9449529f58fe93f33f827a0da41f2
refs/heads/master
2022-05-13T05:42:25.900805
2017-07-13T00:05:41
2017-07-13T00:05:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,959
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import pygame from Inimigo import * from Melhoria import * from Parede import * from Chao import * class Hangar: FaseCaminho = "mapas/Hangar.png" FaseLargura = 2444 FaseMusic = "sons/Hangar.mp3" #Chãos do Mapa def Coloca_Chao(self, chao): # Posição | Comprimento ...
[ "biasi131@gmail.com" ]
biasi131@gmail.com
98e7f901cf8afdef72362e7541dbaeb818da405f
4c5587bf9048ca3d7d455b76ed283db3f8f1f81e
/img/manage.py
e267ba76412e2cb66eefbf6826268f9378bf1a76
[]
no_license
BeloborodovGIT/CFT_imageHex
941aa0eaed5ea907219cd984433c87ce0f963a90
150fd36be6e27e2ec7e632ff0c12136d2b33ad48
refs/heads/master
2023-07-30T23:55:51.708131
2021-09-16T09:16:22
2021-09-16T09:16:22
407,093,929
0
0
null
null
null
null
UTF-8
Python
false
false
659
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', 'img.settings') try: from django.core.management import execute_from_command_line except ImportEr...
[ "73323084+BeloborodovGIT@users.noreply.github.com" ]
73323084+BeloborodovGIT@users.noreply.github.com
055933c0508d16a845d82dee35e95552f959b718
75bf8d48abcfcdf0248dba5dc3853a5ca0e858cc
/part_3_microservice_architecture/vms_dk/model/src/yolov5/utils/loggers/__init__.py
5434572e135d09e1f57c081905427ad8e7bdc4c3
[]
no_license
Yyalexx/detecting-beer
fe6b02f86ccae38c6eae2f5f1ff64bdc3cc9e68e
3f0508782170e74224bb51268c156b6c90aa4d24
refs/heads/master
2023-05-23T17:03:48.488618
2023-03-22T07:10:43
2023-03-22T07:10:43
588,059,359
10
0
null
null
null
null
UTF-8
Python
false
false
17,909
py
# YOLOv5 🚀 by Ultralytics, GPL-3.0 license """ Logging utils """ import os import warnings from pathlib import Path import pkg_resources as pkg import torch from torch.utils.tensorboard import SummaryWriter from utils.general import LOGGER, colorstr, cv2 from utils.loggers.clearml.clearml_utils import...
[ "yyalex@yandex.ru" ]
yyalex@yandex.ru
f24fb3d1131a4f965e82af8be1b81f64b58efa79
163bbb4e0920dedd5941e3edfb2d8706ba75627d
/Code/CodeRecords/2988/40186/309199.py
0ca7338779c915c5aed6534e33cb13897f6eeb2d
[]
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
118
py
n = int(input()) str = input() m = int(input()) oup = '' for i in range(m-1,len(str)): oup = oup+str[i] print(oup)
[ "1069583789@qq.com" ]
1069583789@qq.com
0fae3c9d16697b87593802275bb1bc06d00ee552
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_027/ch176_2020_08_14_13_50_25_526217.py
d1d82bafaf5a209399bad7eb71c499da51816aeb
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
def imprime_grade(n: int): for i in range(1, n+1): if i > 1: print("|" + " |"*n) for j in range(1, n+1): end = "-" if j < n else "-+ " print("+", end=end)
[ "you@example.com" ]
you@example.com
a06a6d8f27c8e05ded71ea8fda920a11249ec506
a2b7b0947c59acfcf78bc8471b1fb548c82de723
/plot.py
94660560fadce3e315445f53ae180490bda5ad52
[]
no_license
Lilith5th/TNO
bcf0a4283b7c85ac38b793d7c91873f771e0f7f2
0e38b37d0d9c5e9fd415926b71fb59755da4c9b9
refs/heads/master
2023-02-14T04:49:01.233573
2021-01-11T09:15:43
2021-01-11T09:15:43
323,447,817
0
0
null
null
null
null
UTF-8
Python
false
false
3,979
py
import pandas as pd import json import matplotlib.pyplot as plt from calendar import monthrange from pandas import json_normalize def cleanupJson(): cols = ['time', 'sensor_values.radiationSky','sensor_values.radiationIndoor'] data = [] with open('logData2.log') as json_file: data = json.load(json_...
[ "lucano.deskovic@gmail.com" ]
lucano.deskovic@gmail.com
bf7266aa3902b9eee966c52ecd03b7f4483bdbf9
8f7f91b24c83c0d15077d5e719e6aa40ab2ea0d6
/library/oneview_server_profile.py
f05f9b45b4636f1224eaac378842beb2d7e7b40e
[ "MIT" ]
permissive
bryansullins/baremetalesxi-hpesynergyoneview
06d45805e811ea1bf2787780770d670a683c0bcd
e4541d02ce1c93bb9a98a07a3a483a9b2ac90bce
refs/heads/master
2021-04-14T19:41:14.001768
2021-02-06T22:17:57
2021-02-06T22:17:57
249,260,616
1
0
null
null
null
null
UTF-8
Python
false
false
29,455
py
#!/usr/bin/python ### # Copyright (2016-2019) Hewlett Packard Enterprise Development LP # # 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 # # Unle...
[ "bsullin@rei.com" ]
bsullin@rei.com
4736ccf46a33004246d425f53a0427cf1bd74a87
3100013f7f7aa8a8291527e2e832200912b92c55
/10.函数_by/2.内部函数_by/内部函数_by.py
195bfde2048f4570e50500f2c6bff5d16fd85328
[]
no_license
baiye1228/vscode_studylist
f609c379cdade4f2c61bbe7881cb500cc5cfd491
a53c080861e1b618ed3037a6e8e3c5af06acbe3c
refs/heads/master
2022-12-17T11:21:29.896557
2020-09-18T09:41:45
2020-09-18T09:41:45
281,262,232
0
0
null
null
null
null
UTF-8
Python
false
false
782
py
def func(): #声明变量 n=100 list1=[3,6,9,4] #声明内部函数 def inner_func(): nonlocal n #对元素加5操作 for index,i in enumerate(list1): list1[index]=i+5 list1.sort() n+=101 inner_func() print(list1,n) func() ''' 特点: 1.可以访问外部函数的变量 2.内部函数可以修改外部函数的...
[ "baiyebzx1228@gmail.com" ]
baiyebzx1228@gmail.com
6d941d57a643281b395f760262b236f1cde01bab
72bf58e646d31d915403da0fd9fbf4ab54affdde
/amboro_store/settings.py
c84af598bc65f15d668c230a4f6bd223be3bb4c4
[]
no_license
JohannQuispe/ecommerce
b3f1ccb102c31c5c6640352e735afe9e08859623
37aa66373118c1e5f4ed53b853ac9e680766523d
refs/heads/master
2022-12-09T22:59:06.438155
2020-08-24T06:12:26
2020-08-24T06:12:26
286,192,474
0
0
null
null
null
null
UTF-8
Python
false
false
4,041
py
""" Django settings for amboro_store project. Generated by 'django-admin startproject' using Django 2.2.14. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import...
[ "jbquispe@hotmail.com" ]
jbquispe@hotmail.com
57046f09bb8de7002a9fb8f4ff1f05dc12a753f9
c1c20624df477d7c9249bb8b1369849ad5fac3bb
/dotfiles/.xkeysnail.config.py
2511f708f40645ed8059117272ba3ccddcaa801c
[]
no_license
hitswint/.emacs.d
c0b3144d82f9b56013bbd4d6cd987ff1b56e2172
769c60ac9d7477e35a7d54eca151822cff2c97b0
refs/heads/master
2023-09-01T18:15:32.567844
2023-08-28T13:26:00
2023-08-28T13:26:00
34,164,740
3
2
null
null
null
null
UTF-8
Python
false
false
6,711
py
# -*- coding: utf-8 -*- import re from xkeysnail.transform import * import os def rofi_not_running(): return os.system("pidof rofi > /dev/null")!=0 # * [Global modemap] Change modifier keys as in xmodmap define_modmap({Key.CAPSLOCK: Key.LEFT_CTRL, # Poker键盘,交换Escape和grave # Key.ESC:...
[ "wgq_hit@126.com" ]
wgq_hit@126.com
580336d9d0573c43f6d5dba9ca428534a337b584
4ccc93c43061a18de9064569020eb50509e75541
/ios/chrome/ios_chrome_tests.gyp
4c14d68846eb05c5f92b28291140882a506cdb1a
[ "LicenseRef-scancode-unknown-license-reference", "BSD-3-Clause" ]
permissive
SaschaMester/delicium
f2bdab35d51434ac6626db6d0e60ee01911797d7
b7bc83c3b107b30453998daadaeee618e417db5a
refs/heads/master
2021-01-13T02:06:38.740273
2015-07-06T00:22:53
2015-07-06T00:22:53
38,457,128
4
1
null
null
null
null
UTF-8
Python
false
false
3,799
gyp
# Copyright 2014 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. { 'variables': { 'chromium_code': 1, }, 'targets': [ { 'target_name': 'ios_chrome_unittests', 'type': '<(gtest_target_type)', ...
[ "g4jc@github.com" ]
g4jc@github.com
2f9963b5e8c4babf74fc6d9a8e0e0e7a894047c5
9f4d5b17ba701e6e9f9ade4441b7aae106c3fd84
/mordred/Weight.py
7ac3c7f37def4c167eefb82f583dee7c083f2f5e
[ "BSD-3-Clause" ]
permissive
simonbray/mordred
55385e37b3f622513e75f00fe21fb7e6d1edf02d
bfb3b0a50fb7f42cd996e091d67c3a3dcc815134
refs/heads/master
2020-05-26T04:23:50.856152
2018-05-31T07:21:43
2018-05-31T07:21:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,138
py
from rdkit.Chem.Descriptors import MolWt, ExactMolWt from ._base import Descriptor __all__ = ( "Weight", ) class Weight(Descriptor): r"""molecular weight descriptor. :type averaged: bool :param averaged: averaged by number of atom """ def description(self): return "{}{}molecular we...
[ "philopon.dependence@gmail.com" ]
philopon.dependence@gmail.com
837945adfe5f58e0b2985accb3351473b1800bd9
d1ff6b7feaf22eb7940281a17b823d6899bcfa8c
/python/problems/leetcode/1-two-sum.py
37fd5066a714d2fe119697190f2cfbb831a6be0c
[]
no_license
sumitkrm/lang-1
42e839dae8caf78986a10bb3d635021d45f66593
c08fdd1556b6dbbdda8ad6210aa0eaa97074ae3b
refs/heads/master
2021-04-18T10:26:27.466682
2019-11-14T07:56:45
2019-11-14T07:56:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,418
py
""" Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use the same element twice. Example: Given nums = [2, 7, 11, 15], target = 9, Because nums[0] + nums[1] = 2 + 7 = 9, return [0,...
[ "noreply@github.com" ]
noreply@github.com
3b0ff7f32b9e070a5249eb81007c35351f16a08b
0111fa3fb70d54fc746ea0d6e9951560b56a3c84
/CTCI/c4_treesAndGraphs/bstSeq.py
a5b32fd6cf3610b92fde08d830efeff4877d36a2
[]
no_license
michlee1337/practice
b1f4c8069573c129e2799eb38f6d0b8cc646282e
454a78bf69cbecaaeee6af062a201470286542d3
refs/heads/master
2021-04-27T04:58:17.030589
2020-10-20T20:47:02
2020-10-20T20:47:02
122,588,699
1
1
null
null
null
null
UTF-8
Python
false
false
1,189
py
# ugh still borken class Solution(): def bstSeq(self, root): if root == None: return([[]]) if root.left == None and root.right == None: return([[root.val]]) seq_left = self.bstSeq(root.left) seq_right = self.bstSeq(root.right) if len(seq_left) == 0 ...
[ "michlee1337@gmail.com" ]
michlee1337@gmail.com
9b80f24b60cf7a97705d6d7face0f6a14fab0453
5b82fa5f8d98c8fe6fbccae7566e7d9eaa2e7428
/tests/arbitrage_test.py
195cb57d48c295f8ee26d019b9b775eee39934ed
[ "MIT" ]
permissive
f0ster/bitcoin-arbitrage
a84325b78920b2850eed7673112786102afa3bb5
2c389fca988e6d24f3394adbc67d4a01259aa345
refs/heads/master
2020-04-15T03:15:13.794667
2013-04-18T01:39:47
2013-04-18T01:39:47
9,504,532
1
0
null
null
null
null
UTF-8
Python
false
false
2,567
py
import sys sys.path.append('src/') sys.path.append('../src/') import unittest import arbitrage depths1 = { 'BitcoinCentralEUR': {'asks': [{'amount': 4, 'price': 32.8}, {'amount': 8, 'price': 32.9}, {'amount': 2, 'price': 33.0}, {'amount': 3, 'price': 33.6}], 'bid...
[ "maxime.biais@gmail.com" ]
maxime.biais@gmail.com
bdea9c72dd10be9794375d3cc3d1d61fea04371d
490fec2286bbd3241f7b4e7e2520496087ef2271
/manage.py
54c58d756cb665d08282278ea8a0579fb24e3844
[]
no_license
lupeixin/drf_03
689018fa14fd75f7be09f64390930b8459c83567
6dbb3b0e6883d8450d7d9d856511ece02217f1ee
refs/heads/master
2022-12-11T21:58:35.381615
2020-09-15T00:52:52
2020-09-15T00:52:52
295,574,848
0
0
null
null
null
null
UTF-8
Python
false
false
626
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'drf_03.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportE...
[ "813094269@qq.com" ]
813094269@qq.com
c6bccc7b878d8ad17ad5f51b5c1bd8f96e13bd0f
1bfe5887d6158b7bc4c57b2b136b9f8b666c7bbd
/UHCF/run.py
f4e16833f92cba7a1a9a89d4ff32448098524c85
[]
no_license
wenzhiquan/lab
879c6e835b99f224b2bff0ea0847de81dc488dde
37cd41244e281b84663d752b72f3ca3b13f3c37f
refs/heads/master
2021-01-17T08:53:18.717864
2016-05-17T08:23:22
2016-05-17T08:23:22
22,674,403
0
0
null
null
null
null
UTF-8
Python
false
false
2,665
py
#!/env/python # -*- encoding: utf-8 -*- """ @version: 0.1 @author: wenzhiquan @contact: wenzhiquanr@163.com @site: http://github.wenzhiquan.com @software: PyCharm @file: run.py @time: 16/1/5 21:43 @description: null """ from datetime import datetime from tools.sortByTime import sortByTime from tools.combineById import...
[ "wenzhiquanr@163.com" ]
wenzhiquanr@163.com
c12de7349ec39732017cff9b64ee3015361295e3
2a160a8491bccee82c05cd878b11c564b8471583
/pull_stream/pull_live_stream.py
9967a0f2937867c9b04c8045606ded1f0b61f33e
[]
no_license
ETalienwx/Bwork_code
7eba821bd060fe7005d2bd35a5d6490745ec7ed8
ac557887a23e12f7fd1c9ef6f094e6ee66780902
refs/heads/master
2023-02-11T10:19:15.625806
2021-01-11T06:16:25
2021-01-11T06:16:25
319,890,100
0
0
null
null
null
null
UTF-8
Python
false
false
3,382
py
# 拉取直播流 import subprocess import requests import time import os from enum import Enum class BaseInfo(object): def from_dict(self, meta: dict): props = self.__dict__ for k in props: v = meta.get(k, None) setattr(self, k, v) def to_dict(self) -> dict: props = {} ...
[ "wangxuan02@bilibili.com" ]
wangxuan02@bilibili.com
bfc337766c024645d34b4d882f875b699dde5fb8
7acb4e7602b706f26cbf0a5d5a69a08739e23b42
/geektime/mathbase/chapter6/lesson6_1.py
68c0c37772069ed48d427c9c2d3db38e070e0dbc
[]
no_license
JasenChu/debugtalk
2577c8194f8ff10fd90cfc4998e9c27c9d5a9ea7
1b6ac9ebaeef88843e5fb732db4ee41872569ade
refs/heads/master
2020-04-12T09:19:01.810342
2018-12-26T04:40:43
2018-12-26T04:40:43
162,398,792
0
1
null
null
null
null
UTF-8
Python
false
false
1,382
py
# 实现2路归并排序算法 def merge(leftSource = [], rightSource = []): lenLeft = len(leftSource) lenRight = len(rightSource) # 定义存储合并后的list数组 merge_one = [0] * (lenLeft + lenRight) mi = 0 # 定义合并list的下标 li = 0 # 定义左边数组的下标 ri = 0 # 定义右边数组的下标 while li < lenLeft and ri < lenRight: # 左右和右边依次取第一个...
[ "xiaochu698@126.com" ]
xiaochu698@126.com
f0bf9f11e977825e819d9ebc3d85c48b7b4dc035
1769a59bf55b04d358ba10759c596df4139dcd8b
/codeforces/594_div2/integerpoints.py
849476900e25cf0b9e9f92316f062262022798d8
[]
no_license
preetmishra/competitive-programming
39c3b7b21d2b71589bd5e58989ce2f50ce400ecd
7d014112a2e3f1bb5508c1e03378e13d94292f6c
refs/heads/master
2021-07-14T15:24:22.417735
2020-09-29T15:58:57
2020-09-29T16:13:31
212,810,607
1
0
null
null
null
null
UTF-8
Python
false
false
453
py
def count_even_odd(ls): even, odd = 0, 0 for i in ls: if i % 2 == 0: even += 1 else: odd += 1 return (even, odd) for _ in range(int(input())): p = int(input()) ps = list(map(int, input().split())) q = int(input()) qs = list(map(int, input().split())...
[ "ipreetmishra@gmail.com" ]
ipreetmishra@gmail.com
0facbb2cb2b1430ef5345e6a5b4328243b4b7126
6f331acb287b91ab6e297da88dc42489b256249d
/clear_complete_flag.py
a794ad6462bea3072c3185165a1ac24442468c37
[ "MIT" ]
permissive
One-sixth/getchu_character_picture_grabber
0cb650c209622600bd192614e83839eb3138e100
2a8d44ecf987ca51784449f9803c5e53d54a3e4e
refs/heads/master
2020-06-19T15:04:41.074789
2020-01-14T03:21:38
2020-01-14T03:21:38
196,755,381
18
1
null
null
null
null
UTF-8
Python
false
false
2,166
py
''' 很多时候,爬虫内的忽略标志并不好用 ''' import os stage1_complete_name = '.complete' stage2_complete_name = '.complete' stage3_complete_name = '.complete' stage3_complete_pic_name = '.complete_pic' # ----------------------------------------------------------- # 参数区 # 清除标志开关 clear_stage1_complete = False clear_stage2_complete = ...
[ "One-sixth@users.noreply.github.com" ]
One-sixth@users.noreply.github.com
88aaaf265c27f0e7826a4b1bda5b42dff316c456
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/3/hc1.py
168bddc7a840e82f5abb3977a411aeb871b621cb
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com