blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
288
content_id
stringlengths
40
40
detected_licenses
listlengths
0
112
license_type
stringclasses
2 values
repo_name
stringlengths
5
115
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
684 values
visit_date
timestamp[us]date
2015-08-06 10:31:46
2023-09-06 10:44:38
revision_date
timestamp[us]date
1970-01-01 02:38:32
2037-05-03 13:00:00
committer_date
timestamp[us]date
1970-01-01 02:38:32
2023-09-06 01:08:06
github_id
int64
4.92k
681M
⌀
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
22 values
gha_event_created_at
timestamp[us]date
2012-06-04 01:52:49
2023-09-14 21:59:50
⌀
gha_created_at
timestamp[us]date
2008-05-22 07:58:19
2023-08-21 12:35:19
⌀
gha_language
stringclasses
147 values
src_encoding
stringclasses
25 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
128
12.7k
extension
stringclasses
142 values
content
stringlengths
128
8.19k
authors
listlengths
1
1
author_id
stringlengths
1
132
cc2ab32758a890e0a4416223bbee4424aa9e492f
24f664aa2344d4f5d5e7b048ac4e85231715c4c8
/deeplearning/ml4pl/models/checkpoints_test.py
845cc9a66b16732c81c45e7b31df2d010ec76efc
[ "LicenseRef-scancode-unknown-license-reference", "Apache-2.0" ]
permissive
speycode/clfuzz
79320655e879d1e0a06a481e8ec2e293c7c10db7
f2a96cf84a7971f70cb982c07b84207db407b3eb
refs/heads/master
2020-12-05T13:44:55.486419
2020-01-03T14:14:03
2020-01-03T14:15:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
# Copyright 2019 the ProGraML authors. # # Contact Chris Cummins <chrisc.101@gmail.com>. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # ...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
0a752793e76bee828d5fdfed5e0f767d334d6c7f
8d014a0120864b42748ef63dddfa3c733370118c
/test/test_configs.py
55f98a3b915c7424fb6afed432c4b8f170159930
[ "Apache-2.0" ]
permissive
LayeredInsight/layint_api_python
3a6cf0bf62219f09010b828d7e02c2f3852a6f6f
a5c9a5b24098bd823c5102b7ab9e4745432f19b4
refs/heads/develop
2020-03-27T05:43:35.831400
2018-10-15T22:28:54
2018-10-15T22:28:54
146,044,385
0
0
Apache-2.0
2018-10-15T22:28:55
2018-08-24T22:11:08
Python
UTF-8
Python
false
false
1,212
py
# coding: utf-8 """ Layered Insight Assessment, Compliance, Witness & Control LI Assessment & Compliance performs static vulnerability analysis, license and package compliance. LI Witness provides deep insight and analytics into containerized applications. Control provides dynamic runtime security and analyti...
[ "Scott Oberg" ]
Scott Oberg
d332af1653eb80b4f779424c5b2172ccb3ebf370
6f3cc2bed9d2ee3b81304d9a6e383c84b01d3e49
/readthedocs/settings/test.py
98298f2f359be7b856cb36f11c8b8b2d0dfb8036
[ "MIT", "LicenseRef-scancode-free-unknown" ]
permissive
alisaifee/readthedocs.org
1f56719300165fe5249a9272f6805d309105122c
5f1ebf2d1e536ff94840aa166823c4f69b508969
refs/heads/master
2023-08-10T04:08:44.242402
2014-01-20T14:06:19
2014-01-20T14:06:19
14,831,353
0
0
MIT
2022-07-06T20:51:13
2013-12-01T00:54:17
Python
UTF-8
Python
false
false
358
py
import os.path from .sqlite import * # noqa TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' SLUMBER_USERNAME = 'test' SLUMBER_PASSWORD = 'test' SLUMBER_API_HOST = 'http://localhost:8000' # A bunch of our tests check this value in a returned URL/Domain PRODUCTION_DOMAIN = 'readthedocs.org' try: from local_setti...
[ "eric@ericholscher.com" ]
eric@ericholscher.com
89556f254253fdb78528ea8dfcd2bf35621812bf
bc87bfe38516877dcd2113281a39e2b3fad00229
/site/06.level2_demo/lib/opencv_lane_detection.py
c1bf4ff7b1fedb649994522ff9d5132601718bb5
[ "Apache-2.0" ]
permissive
FaBoPlatform/RobotCarAI
7e8f9cf017e5380c1825f7397ee3de933efbc3f2
c89d3330a2beda0f253733d3252b2b035b153b6b
refs/heads/master
2021-07-05T06:49:33.414606
2020-07-07T05:04:31
2020-07-07T05:04:31
91,663,056
10
3
Apache-2.0
2019-04-02T06:54:24
2017-05-18T07:34:19
Python
UTF-8
Python
false
false
7,095
py
# coding: utf-8 # OpenCV ライン検出クラス # 参考:https://github.com/BillZito/lane-detection #%matplotlib inline import cv2 from matplotlib import pyplot as plt import numpy as np import time import os import sys import math from .functions import * import platform class LaneDetection(): OUTPUT_DIR = './output' OUTPUT_FI...
[ "takanashi@gclue.jp" ]
takanashi@gclue.jp
e55351edbc1eaff8324118ff84c8a6f3c03bdba0
fef8f43025cff430d9aea080885173d9c22b3cb6
/etalia/feeds/api/urls.py
59085ed2636d1c4d9a7f14651f407a8c2d1465bb
[]
no_license
GemmaAA1/etalia-open
30a083141330e227ac1de9855894bfb6e476e3cc
260ce54d2da53c943d8b82fa9d40bb0c0df918a6
refs/heads/master
2023-03-28T03:33:13.771987
2017-10-30T00:55:27
2017-10-30T00:55:27
351,120,827
0
0
null
null
null
null
UTF-8
Python
false
false
677
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals, absolute_import from django.conf.urls import include, patterns, url from etalia.core.api.router import SharedAPIRootRouter from . import views router = SharedAPIRootRouter() router.register(r'feeds/streampapers', views.StreamPapersViewSets) router.regi...
[ "nicolas.pannetier@gmail.com" ]
nicolas.pannetier@gmail.com
d31dbf8a21e4714c5f00fcb83d1d7486e36fb2b7
d10312cd1c33bb24ebbcf4edf5e03d827f831b4b
/datatools/utils.py
ace8424cacc11260311935b8fc8f2eb5ac91505b
[ "Apache-2.0" ]
permissive
dcramer/django-data-tools
c89449cb1165c5ce181fd85993ae24ac805c3b70
462cfdf14a3f9dfbf718020951d6b1955a2ea847
refs/heads/master
2021-01-01T18:34:35.406438
2013-02-21T22:45:19
2013-02-21T22:45:19
2,601,549
21
1
null
2014-07-05T07:17:23
2011-10-18T19:56:40
Python
UTF-8
Python
false
false
2,278
py
""" datatools.utils ~~~~~~~~~~~~~~~ :copyright: (c) 2011-2012 DISQUS. :license: Apache License 2.0, see LICENSE for more details. """ from collections import defaultdict from django.db.models.fields.related import SingleRelatedObjectDescriptor def distinct(l): """ Given an iterable will return a list of all...
[ "dcramer@gmail.com" ]
dcramer@gmail.com
b78f8e5bdfeea0135a1ddccdf5ffaf9e585b473d
367be82caa1e10965f8527fae3b4bbf5d101b456
/kod/zeropython/zerocon/orders/__init__.py
f469fed31ebd968f3de6bb48f10a566cd9a729f9
[ "BSD-3-Clause" ]
permissive
piotrmaslanka/zero
5a56688abf116f2225ac1c52c71fb2b4cfcb8999
4a4e8341b06032b7ade6d7a56d9ae33dd1a5f47d
refs/heads/master
2021-01-10T06:18:00.037212
2015-05-26T07:01:58
2015-05-26T07:01:58
36,278,174
1
0
null
null
null
null
UTF-8
Python
false
false
953
py
class BaseOrder(object): """ Base class for Zero interface orders """ def __init__(self): self.is_completed = False self.result = None def __str__(self): """ Return a string or bytearray representing on-wire format """ def on_da...
[ "piotr.maslanka@henrietta.com.pl" ]
piotr.maslanka@henrietta.com.pl
311b51e7dc5a97ec58c4358bee66ecc47dd5336d
e288ae44d875568e6bb679982943dfa6544c0d5a
/uniauth/forms.py
aafa979e91df18f8cc0f4fecbafd24ec77d25e75
[ "Apache-2.0" ]
permissive
sebbalex/uniAuth
98e8c525143b7045d7e7353cbc977a1fe4663073
b93734eba00290a7efcf9a5e95a917cbe58bfd8e
refs/heads/master
2022-12-13T18:50:19.151275
2020-08-14T19:57:54
2020-08-14T19:57:54
258,162,057
0
0
Apache-2.0
2020-04-23T09:59:06
2020-04-23T09:59:05
null
UTF-8
Python
false
false
1,120
py
from django import forms from django.contrib.auth.forms import AuthenticationForm from django.utils.translation import gettext_lazy as _ class LoginForm(AuthenticationForm): # these are inherited # username = forms.CharField() # password = forms.CharField(widget=forms.PasswordInput()) forget_agreement...
[ "giuseppe.demarco@unical.it" ]
giuseppe.demarco@unical.it
0e87017f99bb9cc87c83731c782e1e9a3b9ced04
a149044762566830b4356343c062ee84c8056471
/healthid/tests/sales/test_promotion_background_task.py
b7c92cab5fd749d3e52e8eda703515e61735e524
[]
no_license
malep2007/healtid-web-api
23fbe8b34a3c5256cbb60cf15205f65cc035df13
d9e88b4d8fe1dbc297b61bb007d4182928e515d4
refs/heads/dev
2022-12-12T03:24:37.537569
2019-12-17T16:26:59
2019-12-17T16:26:59
228,655,076
0
1
null
2022-12-08T05:25:00
2019-12-17T16:17:27
Python
UTF-8
Python
false
false
1,600
py
from django.test import TestCase from mock import patch from django.core.management import call_command from healthid.utils.product_utils.product_expiry import \ check_for_expiry_products from healthid.apps.products.models import BatchInfo from datetime import datetime, timedelta class TestBackgroundTasks(TestCas...
[ "ephraim.malinga@gmail.com" ]
ephraim.malinga@gmail.com
15d906c9964cc997278016ce6f88d76daca9b21b
68c4805ad01edd612fa714b1e0d210115e28bb7d
/CoreSource/SpeechBasedEmotionRec/spechFeatureNew.py
6de542286c9f99b12a6002a47f050f4508d2cedc
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Happy-Egg/redesigned-happiness
ac17a11aecc7459f4ebf0afd7d43de16fb37ae2c
08b705e3569f3daf31e44254ebd11dd8b4e6fbb3
refs/heads/master
2022-12-28T02:40:21.713456
2020-03-03T09:04:30
2020-03-03T09:04:30
204,904,444
2
1
Apache-2.0
2022-12-08T06:19:04
2019-08-28T10:18:05
Python
UTF-8
Python
false
false
7,005
py
# coding=<encoding name> import wave import numpy as np import math import matplotlib.pyplot as plt from scipy.fftpack import dct def read(data_path): """读取语音信号 """ wavepath = data_path f = wave.open(wavepath, 'rb') params = f.getparams() nchannels, sampwidth, framerate, nframes = params[:4] ...
[ "yangyang4910709@163.com" ]
yangyang4910709@163.com
e7f0ceef137207b427fbd140b19183337fa0fbed
f88f900c0384f6da82eeb749371ad44115527700
/course-book/11-machine-learning/1112-mnist-2.py
f01ef1f8e5b2cd68f3be29443f718d0be9bd02ca
[]
no_license
aaron-kr/learning-opencv
eff382e8f0c822400f765451d57b192a63cd1b74
158239f0140569aec519fc1fbf255c54ef2567d2
refs/heads/main
2023-08-21T11:02:49.775425
2021-10-27T00:04:01
2021-10-27T00:04:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,208
py
# 1112.py ''' ref1: https://yann.lecun.com/exdb/mnist ref2: https://gist.github.com/ischlag/41d15424e7989b936c1609b53edd1390 ref3: Deep Learning from Scratch ''' import gzip import cv2 import numpy as np import matplotlib.pyplot as plt IMAGE_SIZE = 28 PIXEL_DEPTH = 255 NUM_LABELS = 10 #1 def extract_data(filename, nu...
[ "jekkilekki@gmail.com" ]
jekkilekki@gmail.com
13a68dea0e4885e7b4c61d88445bf3c05df3bb92
3b7ea5ac5a8aadf4ce577d4988d3afca76672311
/duplicate1.py
b12a13139bbfc55424662c3387f0035f99eec9ac
[]
no_license
Parya1112009/mytest
6c0fec16cbe5b83803fce9b270d8c03d247f34a3
6f698b64b34eae0d1d0f8ca1eab4257893fdce83
refs/heads/master
2022-11-23T22:38:24.463420
2022-11-16T03:48:44
2022-11-16T03:48:44
88,562,431
0
0
null
null
null
null
UTF-8
Python
false
false
366
py
import re list = [] count = 0 l = [] with open("dupli.txt","r") as f: for i in f.read().split(): list.append(i) for j in list: count = 0 for k in range(len(list)): if j == list[k] and j not in l: count = count+1 if k==len(list)-1 and count>1: print "{0} has come {1} times in the file...
[ "noreply@github.com" ]
Parya1112009.noreply@github.com
a5054207ec52ca554e6610908cb8d17b1bc05c54
a4525c981552117dabdf5f952ced15997199da32
/ask-smapi-model/ask_smapi_model/v1/audit_logs/request_pagination_context.py
78edd5a2181ad9d4f1e557352cae829d7b364376
[ "Apache-2.0" ]
permissive
muskanmahajan37/alexa-apis-for-python
29b3b8e45bb009fa56ba0a2a73ed2f50efe77f65
8e0c90a3031f5afd8a2e62d19b51fe392e7da1af
refs/heads/master
2022-11-09T01:14:58.947495
2020-06-25T17:33:19
2020-06-25T17:33:19
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,989
py
# coding: utf-8 # # Copyright 2019 Amazon.com, Inc. or its affiliates. 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 copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "lice...
[ "ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com" ]
ask-pyth@dev-dsk-ask-sdk-python-2b-85d79f62.us-west-2.amazon.com
42de08ad2d5147a9d33e86feacb51acc13dcfb87
d47b841f7e64d83cebbe63a25bac47adc495a760
/cfbd/models/team_matchup.py
161ef3a42ab5eec0160bc2620a140cfca40be7df
[]
no_license
CiscoNeville/cfbd-python
810029240de30a2b7a205cbc3bb009599481206c
5775ff7ce7464e881f1940a7c0a534b0c26c1ce8
refs/heads/master
2023-09-04T18:27:23.773119
2021-11-19T01:49:07
2021-11-19T01:49:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,012
py
# coding: utf-8 """ College Football Data API This is an API for accessing all sorts of college football data. Please note that API keys should be supplied with \"Bearer \" prepended (e.g. \"Bearer your_key\"). API keys can be acquired from the CollegeFootballData.com website. # noqa: E501 OpenAPI spec...
[ "radjewwj@gmail.com" ]
radjewwj@gmail.com
b24247d40512bb2e83fba00ab5a7301f98f0b089
594f60b6a536b831d0df38abea7f0ffc0a2fd3cb
/spyder/equinox_headache/SVK_RUZ_AccountingEntity.py
1140ab0b1933c92c01c6942cecfe39d32656ca12
[]
no_license
mh70cz/py
1478439fe939076cca3a30be2f2d29fb4e8a3cd9
7fc23f2133624c787e1dd4856322d48251cc6f0e
refs/heads/master
2022-08-12T06:08:30.720164
2022-08-08T23:16:19
2022-08-08T23:16:19
95,386,881
0
0
null
null
null
null
UTF-8
Python
false
false
2,695
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Wed Oct 18 20:39:09 2017 @author: mh70 IČO35804564 DIČ2021557802 IČ DPH SK2021557802 http://www.registeruz.sk/cruz-public/api/uctovne-jednotky?zmenene-od=2000-01-01&pokracovat-za-id=1&max-zaznamov=100&ico=35804564 http://www.registeruz.sk/cruz-public/api/...
[ "mh70@mh70.cz" ]
mh70@mh70.cz
3265651a7d6d8ddc73cd19727d9e401279da91f2
922e923bdab099efa7161f5806ed262ba5cc84c4
/apps/directoryentries/migrations/0012_auto_20171214_1029.py
03b0780689d9b6dfe497e7b8ec39f3bbf343aab5
[ "MIT" ]
permissive
iamjdcollins/districtwebsite
eadd45a7bf49a43e6497f68a361329f93c41f117
89e2aea47ca3d221665bc23586a4374421be5800
refs/heads/master
2021-07-05T19:06:12.458608
2019-02-20T17:10:10
2019-02-20T17:10:10
109,855,661
0
0
null
null
null
null
UTF-8
Python
false
false
1,134
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2017-12-14 17:29 from __future__ import unicode_literals from django.db import migrations, models def set_inline_order(apps,schema_editor): Administrator = apps.get_model('directoryentries','administrator') for index, item in enumerate(Administrator.obje...
[ "jd@iamjdcollins.com" ]
jd@iamjdcollins.com
4899d302cf005504ce201691a2448da0816f6a83
ac5e52a3fc52dde58d208746cddabef2e378119e
/exps-gsn-edf/gsn-edf_ut=2.5_rd=1_rw=0.06_rn=4_u=0.075-0.35_p=harmonic-2/sched=RUN_trial=67/params.py
7185b8c814f36cfa0eca827733d14a5b7063a2f0
[]
no_license
ricardobtxr/experiment-scripts
1e2abfcd94fb0ef5a56c5d7dffddfe814752eef1
7bcebff7ac2f2822423f211f1162cd017a18babb
refs/heads/master
2023-04-09T02:37:41.466794
2021-04-25T03:27:16
2021-04-25T03:27:16
358,926,457
0
0
null
null
null
null
UTF-8
Python
false
false
252
py
{'cpus': 4, 'duration': 30, 'final_util': '2.530238', 'max_util': '2.5', 'periods': 'harmonic-2', 'release_master': False, 'res_distr': '1', 'res_nmb': '4', 'res_weight': '0.06', 'scheduler': 'GSN-EDF', 'trial': 67, 'utils': 'uni-medium-3'}
[ "ricardo.btxr@gmail.com" ]
ricardo.btxr@gmail.com
08751ce48dca5820a14792af3961f83e5bcb34c0
c071eb46184635818e8349ce9c2a78d6c6e460fc
/system/python_stubs/-745935208/PyQt5/QtCore/QPauseAnimation.py
1839493128857f99581e2827591095bfd51c0012
[]
no_license
sidbmw/PyCharm-Settings
a71bc594c83829a1522e215155686381b8ac5c6e
083f9fe945ee5358346e5d86b17130d521d1b954
refs/heads/master
2020-04-05T14:24:03.216082
2018-12-28T02:29:29
2018-12-28T02:29:29
156,927,399
0
0
null
null
null
null
UTF-8
Python
false
false
2,003
py
# encoding: utf-8 # module PyQt5.QtCore # from C:\Users\siddh\AppData\Local\Programs\Python\Python37\lib\site-packages\PyQt5\QtCore.pyd # by generator 1.146 # no doc # imports import sip as __sip from .QAbstractAnimation import QAbstractAnimation class QPauseAnimation(QAbstractAnimation): """ QPauseAnimatio...
[ "siddharthnatamai@gmail.com" ]
siddharthnatamai@gmail.com
8e0bf422a28801383ce1f6ae8b38124ee9b166a7
90f545733f076747bad979faa3a8cf23867f7a3a
/X4zn.py
1c80cdd29ca4760820e804c5f5a7cfda4bdf0400
[]
no_license
kunweiTAN/techgym_ai
f85dc52ce6e75f4c08213d5796171908beb9a69e
051274bcc789a563c46ed5661301535e76ae1e18
refs/heads/master
2023-08-17T05:15:18.758183
2021-09-21T11:57:07
2021-09-21T11:57:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,115
py
#Tech-Gym-11-16 #LightGBM #違うアルゴリズムを使ってみる #pip install lightgbm #データの準備 import pandas as pd from sklearn.datasets import load_breast_cancer from sklearn.model_selection import train_test_split #可視化ライブラリ import matplotlib.pyplot as plt %matplotlib inline #学習モデル import lightgbm as lgb from sklearn.ense...
[ "noreply@github.com" ]
kunweiTAN.noreply@github.com
b88b3685d909151caad222d0ca69e8dcabd30898
b254f030cefdddbabf6868b1d5d9a784aba88b2c
/tutorial/porting-multi-modules/mypreprocessor1.py
70ce221099718fbd5863235da0ec868dab63740a
[ "Apache-2.0" ]
permissive
gnes-ai/hub
84220c37eea388fd57c914e86007469cd126d371
94cff9011ff6447ce1af51c5307813ab6fbbb156
refs/heads/master
2020-07-05T13:23:59.573400
2019-10-24T05:10:12
2019-10-24T05:10:12
202,658,837
38
11
NOASSERTION
2019-10-24T05:10:13
2019-08-16T04:33:52
Python
UTF-8
Python
false
false
429
py
from gnes.preprocessor.text.base import BaseTextPreprocessor class MyPreprocessor1(BaseTextPreprocessor): def __init__(self, foo, *args, **kwargs): super().__init__(*args, **kwargs) self.foo = foo def apply(self, doc: 'gnes_pb2.Document') -> None: super().apply(doc) doc.raw_t...
[ "hanhxiao@tencent.com" ]
hanhxiao@tencent.com
0e3ff9aa9c411e36845656b0918d35d9c629ae22
88ea6ae5a8f97e3771490583d8acecdbe2877fd8
/zips/plugin.video.vistatv/resources/lib/sources/en/tunemovie.py
64c394044b56a9e6c0b34265e470c3e268d62ca1
[]
no_license
staycanuca/PersonalDataVistaTV
26497a29e6f8b86592609e7e950d6156aadf881c
4844edbfd4ecfc1d48e31432c39b9ab1b3b1a222
refs/heads/master
2021-01-25T14:46:25.763952
2018-03-03T10:48:06
2018-03-03T10:48:06
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,506
py
# NEEDS FIXING # -*- coding: UTF-8 -*- ####################################################################### # ---------------------------------------------------------------------------- # "THE BEER-WARE LICENSE" (Revision 42): # @tantrumdev wrote this file. As long as you retain this notice you # can do whate...
[ "biglad@mgawow.co.uk" ]
biglad@mgawow.co.uk
07516c33745c79bb04d23b78ddac4b528f47f77d
c180333a152eb3efd39ec1a6f92965c2124d41fd
/Dojo/Python_Stack/Django/014multiple_apps/main/apps/integration/urls.py
b09bdf5b2f2f49d139a64bc7842f426a4dca38d9
[]
no_license
AlexFloresGreer/Branching_and_Merging
3399a91dfb9f23e6d3ec163d40d004d27bc330ab
3d53fb814345d075a79a6078a63c9ef7ccfa09bc
refs/heads/master
2021-01-15T09:15:27.153736
2016-08-24T18:02:58
2016-08-24T18:02:58
64,349,980
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^', views.index), # url(r'^process$', views.process), # url(r'^destroy/(?P<id>\d+)$', views.destroy), # url(r'^delete/(?P<id>\d+)$', views.delete), ]
[ "floresalexx@gmail.com" ]
floresalexx@gmail.com
2f9db6c37386180be55052acfeb9e61baa128739
4115c970da053f00a21e7df6e4f7ac51e588310a
/main/views.py
23553c2fcb22563a9e30493695285b1fd3865a8f
[]
no_license
dhcrain/chrip
8633b5bac04f9894c600d4a39980c5013eb13d71
bbcebc10d3f8b966c7dd3026ffcd5285989a1d56
refs/heads/master
2021-01-15T15:32:42.123845
2016-08-22T19:06:24
2016-08-22T19:06:24
61,555,962
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
from django.views.generic import DetailView from django.views.generic.edit import CreateView, UpdateView, DeleteView from django.core.urlresolvers import reverse_lazy from main.models import Chrip, StopWord # Create your views here. class IndexView(CreateView): template_name = "index.html" model = Chrip ...
[ "dhcrain@gmail.com" ]
dhcrain@gmail.com
f71c5538db8ee26852ad448c395118b168f29c5e
d6ff55dd9e2c9992b2db4c613cd5b8f18a6f5be1
/takeyourmeds/reminders/reminders_messages/tests.py
c75965160e46bb8c99b380d4253be96b40c7037e
[ "MIT" ]
permissive
RickIsWright/takeyourmeds-web
f2f8d6da7e2ad1adfe67cbebe0a20bc7c08f45eb
edf24188f26948902cfb69793b4d5aa3cf8b6dea
refs/heads/master
2023-05-08T20:34:58.640415
2016-02-07T10:50:55
2016-02-07T10:50:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,305
py
from takeyourmeds.utils.test import TestCase from ..enums import TypeEnum, SourceEnum from .enums import StateEnum class StatusCallbackTest(TestCase): def setUp(self): super(StatusCallbackTest, self).setUp() self.message = self.user.reminders.create( type=TypeEnum.message, )....
[ "chris@chris-lamb.co.uk" ]
chris@chris-lamb.co.uk
5413a823d4bc3b1016b0e44fb61e0c9cfbdcaf91
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_shortstops.py
9fff789159aad2f477f5ac170a57b53c1b9c2028
[ "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
259
py
from xai.brain.wordbase.nouns._shortstop import _SHORTSTOP #calss header class _SHORTSTOPS(_SHORTSTOP, ): def __init__(self,): _SHORTSTOP.__init__(self) self.name = "SHORTSTOPS" self.specie = 'nouns' self.basic = "shortstop" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
cecea41c818a3b247c56896575c1522ce9fb5c4e
2013e01bb611c5346c5cf8c6cd45b10832be4939
/twitter/user_tweet_v4.py
5653b24b07e1427e9a124e663443ca09bab143ea
[]
no_license
Ikerlz/CxSpider
f0fd4ee85fb499137073a23625d0f4932dfce1a8
b504d19ce4d2092907b995049dc16fb419217a36
refs/heads/master
2022-11-22T14:41:08.578675
2020-07-24T06:16:55
2020-07-24T06:16:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,189
py
""" Twitter用户推文爬虫 @author: ChangXing @version: 4.0 @create: 2017.12.30 @revise: 2020.06.08 """ import copy import datetime as dt import re import time from urllib import parse from selenium.common.exceptions import NoSuchElementException from selenium.common.exceptions import StaleElementReferenceException import e...
[ "1278729001@qq.com" ]
1278729001@qq.com
e1876be979e2db5989ca5aac9a476d35c9c94322
d58a9794a73cf19caaf5ceab0b7c369363b07c5c
/modelcluster/utils.py
44fa858c9ffcaf1b89bb4b5116666ce422a49ba9
[ "BSD-3-Clause" ]
permissive
Sam-Costigan/django-modelcluster
deb68d87c1225c93e759f54f791c312c979bbae9
d13fad24d9bd5cc38958aba97e6b255c08df324f
refs/heads/master
2020-04-17T01:47:30.474731
2019-03-06T15:07:26
2019-03-06T15:07:26
166,108,443
0
1
BSD-3-Clause
2019-01-16T20:38:50
2019-01-16T20:38:50
null
UTF-8
Python
false
false
911
py
def sort_by_fields(items, fields): """ Sort a list of objects on the given fields. The field list works analogously to queryset.order_by(*fields): each field is either a property of the object, or is prefixed by '-' (e.g. '-name') to indicate reverse ordering. """ # To get the desired behaviour,...
[ "matt@west.co.tt" ]
matt@west.co.tt
c4ffd3c8ee3496ec01bfb85986cf12e87722fee9
551b75f52d28c0b5c8944d808a361470e2602654
/huaweicloud-sdk-iam/huaweicloudsdkiam/v3/model/agency_assumedby_user.py
fc0d5cc88bc27d5b1a0ed7fee5325a735fb843eb
[ "Apache-2.0" ]
permissive
wuchen-huawei/huaweicloud-sdk-python-v3
9d6597ce8ab666a9a297b3d936aeb85c55cf5877
3683d703f4320edb2b8516f36f16d485cff08fc2
refs/heads/master
2023-05-08T21:32:31.920300
2021-05-26T08:54:18
2021-05-26T08:54:18
370,898,764
0
0
NOASSERTION
2021-05-26T03:50:07
2021-05-26T03:50:07
null
UTF-8
Python
false
false
4,951
py
# coding: utf-8 import pprint import re import six class AgencyAssumedbyUser: """ Attributes: openapi_types (dict): The key is attribute name and the value is attribute type. attribute_map (dict): The key is attribute name and the valu...
[ "hwcloudsdk@huawei.com" ]
hwcloudsdk@huawei.com
ee8b94043e315de2af98ca48feb314ad31ab8f43
9e988c0dfbea15cd23a3de860cb0c88c3dcdbd97
/sdBs/AllRun/sdssj9-10_142558.43+402257.8/sdB_sdssj9-10_142558.43+402257.8_coadd.py
729cf8d6e25845ee4939fc8d9b077de623cc6491
[]
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
498
py
from gPhoton.gMap import gMap def main(): gMap(band="NUV", skypos=[216.493458,40.382722], skyrange=[0.0333333333333,0.0333333333333], stepsz = 30., cntfile="/data2/fleming/GPHOTON_OUTPUT/LIGHTCURVES/sdBs/sdB_sdssj9-10_142558.43+402257.8/sdB_sdssj9-10_142558.43+402257.8_movie_count.fits", cntcoaddfile="/data2/fleming/...
[ "thomas@boudreauxmail.com" ]
thomas@boudreauxmail.com
1e90d19a0f60ed5270e9f1f7b67c9f2e91bee00e
794a3ba0ec6a90fa44b481bbd1db6a616882c149
/GUI.py
ec317f69720fcf0dbd9ca6411627c40868229c1e
[]
no_license
piladzis10/Sudoku-Pygame
4bac186012e6d2cd2e3829abd5634c0b08872d9a
7cc9174c5ed26ce539446092108f7770f1f1dbb1
refs/heads/main
2023-04-23T12:49:15.435468
2021-05-12T08:28:59
2021-05-12T08:28:59
366,645,686
0
0
null
null
null
null
UTF-8
Python
false
false
6,615
py
# GUI.py import pygame from Solver import solve, valid import time pygame.font.init() class Grid: board = [ [7, 8, 0, 4, 0, 0, 1, 2, 0], [6, 0, 0, 0, 7, 5, 0, 0, 9], [0, 0, 0, 6, 0, 1, 0, 7, 8], [0, 0, 7, 0, 4, 0, 2, 6, 0], [0, 0, 1, 0, 5, 0, 9, 3, 0], [9, 0, 4, 0, ...
[ "davis.burmistris@gmail.com" ]
davis.burmistris@gmail.com
dde349ffdd38fb8e7472b6783ebbb977c97b95f7
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p00003/s070218689.py
14dc3c9ca613426f2fab78fa604115913a2bc097
[]
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
605
py
#coing:utf-8 def distance(a,b): dst = pow(a,2) + pow(b,2) return dst def isTriangle(lines): idxList = [[0,1,2],[1,0,2],[2,0,1]] flag = False for i in idxList: if not flag and pow(lines[i[0]],2) == distance(lines[i[1]], lines[i[2]]): flag = True return flag if __name__...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
5131559f50773443874cadd74dc18aa352ae3f75
709b1549033c9a547c67ee507fdc10b7e5d234ad
/test/test_options_metadata.py
cd40f5fb76a33de303808382af8110f953eefec1
[ "Apache-2.0" ]
permissive
cvent/octopus-deploy-api-client
d622417286b348c0be29678a86005a809c77c005
0e03e842e1beb29b132776aee077df570b88366a
refs/heads/master
2020-12-05T14:17:46.229979
2020-01-07T05:06:58
2020-01-07T05:06:58
232,135,963
0
1
null
null
null
null
UTF-8
Python
false
false
1,077
py
# coding: utf-8 """ Octopus Server API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 2019.6.7+Branch.tags-2019.6.7.Sha.aa18dc6809953218c66f57eff7d26481d9b23d6a Generated by: https://github.com/swagger-api...
[ "d.jain@cvent.com" ]
d.jain@cvent.com
c60c745e8f9633fdf1970b673212cd00d21e30cb
909b9a0018f3df43ac0360e900024449f1d00bbc
/tests/assignments/test_assign6.py
ad17d905d7d0a72eca6c76b900c3dddf11a1c2cf
[ "MIT" ]
permissive
acc-cosc-1336/cosc-1336-spring-2018-vcruz350
a0ea69f31deecee486a4a88b1ea2b867556915bf
0cee9fde3d4129c51626c4e0c870972aebec9b95
refs/heads/master
2021-05-11T09:09:31.514062
2018-05-07T17:35:35
2018-05-07T17:35:35
118,070,026
0
0
MIT
2018-05-07T17:35:36
2018-01-19T03:12:46
Python
UTF-8
Python
false
false
943
py
import unittest from src.assignments.assignment6 import(get_count_A_C_G_and_T_in_string) #write the import for function get_count_A_C_G_and_T_in_string class Test_Assign6(unittest.TestCase): def test_countACGT_w_string_ATGCTTCAGAAAGGTCTTACG(self): self.assertEqual((6, 4, 5, 6), get_count_A_C_G_and_T_in_s...
[ "noreply@github.com" ]
acc-cosc-1336.noreply@github.com
dd0f5c982556b0e9f39fb647be0f7b9c1da4a880
2a451a3b2fbb0f5b9f35409883de6b2b64c5293d
/onegreek/imagestore/models/album.py
4067245e8c3da7794b908edfc876fb3aa8d98811
[ "BSD-3-Clause" ]
permissive
goldhand/onegreek
80fba46eb64bff870059fe579ba536c36350d525
1ad105f15608284a9e80802734f0c6222413a4a0
refs/heads/master
2023-04-01T05:26:39.277682
2014-01-21T02:11:45
2014-01-21T02:11:45
13,724,775
1
0
null
null
null
null
UTF-8
Python
false
false
1,712
py
from django.core.urlresolvers import reverse from django.db import models from django.dispatch import receiver from django.utils.translation import ugettext_lazy as _ from django.contrib.contenttypes import generic from django.contrib.contenttypes.models import ContentType from model_utils import Choices from model_ut...
[ "will@django.nu" ]
will@django.nu
4d80d0667e4ab4392080dc64c8837768ad5975f6
993750025c66ba927a137c288de9eb25500f53c9
/DPproxy/proxy/views.py
e88d9c097a358d016514df6ef469cb5998287a19
[]
no_license
itimor/spider_practice
55bdcb1a70645b0c27933442665bdf1bd4ad14c9
141d6eb8f3eb8441db9eb32e5eccb125e27780ec
refs/heads/master
2021-07-03T08:40:26.758087
2017-09-25T06:24:51
2017-09-25T06:24:51
103,386,299
0
1
null
null
null
null
UTF-8
Python
false
false
365
py
# -*- coding: utf-8 -*- # author: itimor from rest_framework import viewsets from models import ProxyPool from serializers import ProxySerializer from filters import ProxyFilter class ProxyViewSet(viewsets.ModelViewSet): queryset = ProxyPool.objects.all() serializer_class = ProxySerializer filter_class =...
[ "itimor@126.com" ]
itimor@126.com
efe38afd77b31e3075c4492aff5902364fbe6b9a
06b1fa0f91f6f941b6f6867d1bfcf9079735a690
/DP/gen.py
97cbfcdf52ef4532294759679726e624f6fc7704
[]
no_license
chintanbetrabet/coding
fa51113a385ab2682f67108405e03ea6a11c0399
7506ddf0ccf85080eb2754a0262e422afdf3c010
refs/heads/master
2021-07-01T14:38:57.086429
2017-09-21T09:28:45
2017-09-21T09:28:45
104,082,008
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
#s='qwertyuiopasdfghjklzxcvbnm' s='a' s1='' for i in range(5000/len(s)): s1+=s print 10 for x in range(10): print len(s1) print s1
[ "chintanbetrabet@gmail.com" ]
chintanbetrabet@gmail.com
2de30f07f3ef0f1a55b93e3c823c2d696b0fb58b
0032c98333ffc0efdb920ecca31ab224378880e5
/rpi-tutorial/Ultrasonic2.py
bc5ae5255a136a2080cb0a83f12c1d9deee81107
[]
no_license
raspibrick/install
bd1c6f9a8cb524f2ab5a2c17ad8c5463b768dffa
96288d6ca21abd8fb993cc376e37c16473b54dd5
refs/heads/master
2021-01-10T05:00:39.159879
2019-07-25T09:46:04
2019-07-25T09:46:04
40,703,681
0
1
null
null
null
null
UTF-8
Python
false
false
1,243
py
# Ultrasonic2.py # Show distance on Oled import RPi.GPIO as GPIO import time from OLED1306 import OLED1306 P_ESCAPE = 12 # Button A P_TRIGGER = 15 P_ECHO = 16 def setup(): GPIO.setmode(GPIO.BOARD) GPIO.setup(P_TRIGGER, GPIO.OUT) GPIO.setup(P_ECHO, GPIO.IN) GPIO.setup(P_ESCAPE, GPIO.IN) def getDistan...
[ "a2015@pluess.name" ]
a2015@pluess.name
59ff332da70b89183304b727e57379d4bff631e7
a2cb30d8b48d69228d744e27d98404966dbfd5bc
/Python/03_list_tuple/tuple.py
ee3b3c7edc3bb2aa90b4dfe75ffff24786693851
[]
no_license
Sean3Don/KevinNote
f0091005084fd732214d460c5f43ee6f7bea9a5b
fec704c732a2406686ef3641841eed430d6050bb
refs/heads/master
2022-02-26T07:24:10.859985
2017-01-07T23:08:18
2017-01-07T23:08:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
175
py
#!/usr/bin/python classmate = ('kevin', 'ellie', 'Riki') print classmate t = (1) print t t = (1, ) print t t = ('a', 'b', ['A', 'B']) t[2][0] = 'X' t[2][1] = 'Y' print t
[ "15018787835@163.com" ]
15018787835@163.com
e1db3da26952c713a75d45bb82f32cd65830686f
4cd2bb469ff03fcaeed13a27a4f34a5760921df2
/fig/ld.py
3839e7bc0c5d75cbb9b26ec5bad9fbf1f498a4e7
[]
no_license
FedorSarafanov/VacuumTriode
c3dff3e779f53da72720eeb56fab18dc81527d9e
5677b00ce23c7a06e4cb5f88b34d03fb0af8cb4c
refs/heads/master
2021-05-19T08:26:47.793971
2020-03-31T13:04:12
2020-03-31T13:04:12
251,604,646
0
0
null
null
null
null
UTF-8
Python
false
false
439
py
import numpy as np from matplotlib import pyplot as plt from scipy import interpolate A=np.genfromtxt('s_uc.tsv',delimiter='\t',skip_header=1) uc1=A.T[0] S=A.T[1] ss = interpolate.interp1d(uc1,S) A=np.genfromtxt('r_uc.tsv',delimiter='\t',skip_header=1) r=A.T[0] uc2=A.T[1] rr = interpolate.interp1d(uc2,r) mu=np.a...
[ "sfg180@yandex.ru" ]
sfg180@yandex.ru
89b292bf92e8b8eae00cc582d8efc88a8e236791
4bcc9806152542ab43fc2cf47c499424f200896c
/tensorflow/python/ops/distributions/laplace.py
9cebbac5daab17b18450a05c5bfa977b4f019bbb
[ "Apache-2.0", "LicenseRef-scancode-generic-cla", "BSD-2-Clause" ]
permissive
tensorflow/tensorflow
906276dbafcc70a941026aa5dc50425ef71ee282
a7f3934a67900720af3d3b15389551483bee50b8
refs/heads/master
2023-08-25T04:24:41.611870
2023-08-25T04:06:24
2023-08-25T04:14:08
45,717,250
208,740
109,943
Apache-2.0
2023-09-14T20:55:50
2015-11-07T01:19:20
C++
UTF-8
Python
false
false
8,190
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "gardener@tensorflow.org" ]
gardener@tensorflow.org
3d5b11b4df0726b8186f9ec85255a1e507c34c9e
2fd0c65aa0f72133f773dac5d9a5c48fe9e26fac
/Dsz/PyScripts/Lib/dsz/mca/security/cmd/eventlogclear/tasking_dsz.py
7c07167ded2b18c5cadf519bfb9d75434164eb8b
[]
no_license
FingerLeakers/DanderSpritz_docs
f5d2430e0b86b1b2f0684f02ddd4fa973a5a7364
d96b6a71c039b329f9f81544f645857c75360e7f
refs/heads/master
2021-01-25T13:05:51.732149
2018-03-08T01:22:49
2018-03-08T01:22:49
123,527,268
2
0
null
2018-03-02T03:48:31
2018-03-02T03:48:30
null
UTF-8
Python
false
false
451
py
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 2.7.10 (default, Feb 6 2017, 23:53:20) # [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] # Embedded file name: tasking_dsz.py import mcl.framework import mcl.tasking class dsz: INTERFACE = 16842801 PFAM = 4138 PR...
[ "francisck@protonmail.ch" ]
francisck@protonmail.ch
2c398d7e7cb5d1ea48a937911f5b0cb67923eb87
b273437e4a3e8a5c75752d191a058a74988cfd94
/flask-app/api/order_api.py
5afc92ab06d817dd388e98b2db959bb9f80e5948
[]
no_license
AhnSeongHyun/flask-socketio-test
c2ad31765e731794526a5339e0a2d11d5c6d6e40
b5173449cba610713cfa296ce9d3b3c75b2fa3e9
refs/heads/master
2021-01-17T11:48:02.564052
2017-03-06T08:26:25
2017-03-06T08:26:25
84,048,333
0
0
null
null
null
null
UTF-8
Python
false
false
462
py
# -*- coding:utf-8 -*- from flask import Blueprint, request import requests order_api = Blueprint('api', __name__, url_prefix='/api') @order_api.route('/order', methods=['POST']) def test_api_order(): order_num = request.form.get('order_num', 'NULL') NOTIFY_URL = "http://localhost:5001/order/notify" r = ...
[ "sh84.ahn@gmail.com" ]
sh84.ahn@gmail.com
368142e00c877cf4376ace7703c589594467aa63
fb0141bea55a60fba7cd301b64c1f23be6847afa
/design_pattern/factory_pattern.py
3778ef9d6c0fde6d7d6a42b9909a2717e6df9663
[]
no_license
yhkl-dev/python-learn-note
8b978700ac689c0db5ec3e04ab48df87c22e701c
1ccf51c1a69aca8e0cfae19b3cade8b0ca58ef6e
refs/heads/master
2020-09-27T13:35:50.184920
2020-05-23T16:28:07
2020-05-23T16:28:07
226,529,711
0
1
null
2020-07-20T03:39:48
2019-12-07T14:48:16
Python
UTF-8
Python
false
false
1,198
py
class HttpMethod(object): def method(self): return NotImplemented("method must be implemented") class GetHttpMethod(HttpMethod): def __init__(self): print('http get method') def method(self): print('Inside Get:method() method') class PostHttpMethod(HttpMethod): def __init__(...
[ "kaiyang939325@gmail.com" ]
kaiyang939325@gmail.com
39760a63a9072776d6c8697cdfab5915f796e404
71a7d88907c9fc02c989db84fb9b3d452e613278
/python/maintcal/maintcal/__init__.py
bf334c51fe546578114bb27d63521bc72a9d6f75
[]
no_license
raychorn/svn_rackspace
5ca38426775d5475ad62c06dbfa7ec2ed05f3ca9
c87323446f2820d165edab7f8c7a7436b7bee19e
refs/heads/main
2023-01-01T19:16:56.682787
2020-10-15T22:20:58
2020-10-15T22:20:58
304,458,167
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
""" Maintenance Calendar Terminology: Default Availability (defaults): the defaults for any calendar. Not specific to any time frame. Exceptions: Date-specific changes to the default availability. Availablity: The aggregation of default availability overlaid with any exceptions. This is specific to a given date ran...
[ "raychorn@gmail.com" ]
raychorn@gmail.com
e72fbc567348e8ba7fc5c5f251e8b16ba1113450
05483471298c3f277b57524a78c1a81867b7afd7
/PythonCrashCourse/chapter-9/9-14.py
b1f8eedf8c1977177981e7388d96b54ceffc4e13
[]
no_license
lanchunyuan/Python
c09fc19dbc26fe9925110da6237d48e06baa77ab
2cafc62255e27306a6085fb64e5b21d851e98d51
refs/heads/master
2020-04-18T09:51:28.521649
2019-02-06T14:19:02
2019-02-06T14:19:02
167,449,312
0
0
null
null
null
null
UTF-8
Python
false
false
418
py
from random import randint class Die(): def __init__(self,sides=6): self.sides = sides def rool_die(self): return randint(1,self.sides) d6 = Die() results = [] for roll_num in range(10): result = d6.rool_die() results.append(result) print(results) d6 = Die(sides = 10) results = []...
[ "lanchunyuan@gmail.com" ]
lanchunyuan@gmail.com
05ed07febd98fcbf9140b8cfe1e1dbd9f9476836
10a18920f93008659f49b18fb016b84a21765e73
/server/venv_ubuntu/lib/python3.8/site-packages/os_traits/compute/__init__.py
bb9b86ce7c2e58a089f6e8f43caaae25a8186070
[]
no_license
psitadmin/network-junco
48fa704878fe9566cda393eddd88dafae07fa47c
63a1e4afa46514852345e03eb32a2911621540f2
refs/heads/master
2023-08-18T07:01:48.836761
2021-09-28T09:47:42
2021-09-28T09:47:42
403,928,187
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
# -*- coding: utf-8 -*- # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
[ "enrique.garcia.practicas@telefonica.com" ]
enrique.garcia.practicas@telefonica.com
e5de6f66bc649edaed71573e40429f9fc70534d3
7118862c20c0b503f9e901026e48a809e29f5cf5
/ar_markers/__init__.py
7f87eb9b4991f61915c37c70860179b2b86a4fe9
[ "BSD-3-Clause" ]
permissive
pstraczynski/ar_markers
964c0405dd7b51ac12f6f4c042626514667f7324
408737244ef7a655607858a6852189d5aef02e9b
refs/heads/master
2022-11-17T22:08:42.885805
2020-07-16T11:46:38
2020-07-16T11:46:38
280,138,112
0
0
BSD-3-Clause
2020-07-16T11:38:53
2020-07-16T11:38:52
null
UTF-8
Python
false
false
202
py
from __future__ import absolute_import from ar_markers.detect import detect_markers from ar_markers.marker import HammingMarker __author__ = 'Kevin J. Walcko' __license__ = 'BSD' __version__ = '0.5.0'
[ "walchko@users.noreply.github.com" ]
walchko@users.noreply.github.com
202e1e8ef3d92013594877db63df78f3bd86119d
e43ba55811fcc719727f44c1f5a101583433bfc2
/examples/read_write_smp.py
d38b86124d517d1289e4fd134ca502bc360c7c99
[ "MIT" ]
permissive
carbrock/bvbabel
83b134af1c16fe17e655d40ee8c5fd4b07c4d663
baac12d106455e34d9924309eadb4df991d3d8c9
refs/heads/main
2023-07-10T19:44:08.304781
2021-08-06T14:56:24
2021-08-06T14:56:24
394,198,595
0
0
MIT
2021-08-09T07:45:59
2021-08-09T07:45:59
null
UTF-8
Python
false
false
491
py
"""Read Brainvoyager smp file.""" import os import bvbabel from pprint import pprint FILE = "/home/faruk/Documents/test_bvbabel/srf_smp/maps.smp" # ============================================================================= # Load vmr header, data_smp = bvbabel.smp.read_smp(FILE) # See header information pprint(h...
[ "farukgulban@gmail.com" ]
farukgulban@gmail.com
4e3d4c8657c60f409378f2d56af1ea2be84ffd51
5d1c43bb4881039f198eedcee2ceb101b406e0a0
/Django/과제/project/project/urls.py
ab00134dceb89058ba7af2bff70eef5bd964a93a
[]
no_license
MunSeoHee/Likelion_Gachon_2020
46155b1686a245a59c5664f7726ac754b7079e4b
e0e48845fdb0e4aa2365e7c47e29880a27f0f261
refs/heads/master
2021-04-10T09:51:06.618980
2020-12-07T10:06:43
2020-12-07T10:06:43
248,927,668
0
0
null
null
null
null
UTF-8
Python
false
false
1,156
py
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.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') Class-based...
[ "nansh9815@naver.com" ]
nansh9815@naver.com
d640910ab2a71849aab650efd1c493c82a775897
7bf617f77a55d8ec23fa8156c1380b563a5ac7f6
/CG/SciPy/DotChart_01.py
f109e80f478b23f55442ff65d7541321e5a05049
[]
no_license
anyatran/school
c06da0e08b148e3d93aec0e76329579bddaa85d5
24bcfd75f4a6fe9595d790808f8fca4f9bf6c7ec
refs/heads/master
2021-06-17T10:45:47.648361
2017-05-26T12:57:23
2017-05-26T12:57:23
92,509,148
1
1
null
null
null
null
UTF-8
Python
false
false
234
py
# -*- coding: utf-8 -*- import pygal dot_chart = pygal.Dot() dot_chart.title = 'Cost of Whole Milk in early 2014' dot_chart.add('US Dollars', [2.08, 3.14, 3.89, 3.91, 3.94, 3.98]) dot_chart.render_to_file('dot_chart.svg')
[ "panhtran249@gmail.com" ]
panhtran249@gmail.com
eb6b9f799fc520ade4b03a2b6758d2d7f7d799e7
1c57cddc15e42aab37292d2cddcee162f69955c3
/core/migrations/0018_map_date_of_information.py
0303b01cf83ae75972e76df6ca9917702fd1693e
[ "MIT" ]
permissive
mikekeda/maps
c7d19c608bdd2200415f90affe0d13c0c1800af4
468507beaf230cb856bef61593e49851df254d9c
refs/heads/master
2023-07-27T14:13:32.778375
2023-06-06T17:27:31
2023-06-06T17:27:31
119,081,251
1
1
MIT
2023-07-05T22:57:15
2018-01-26T17:22:32
Python
UTF-8
Python
false
false
584
py
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-05-07 04:42 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0017_delete_region'), ] operations = [ migrations.Add...
[ "mriynuk@gmail.com" ]
mriynuk@gmail.com
81272083cec69ed898e91220a92eedb3c234485f
2afb1095de2b03b05c8b96f98f38ddeca889fbff
/My_Module/time_countdown.py
eac0ff7ec30b138b9cb00cf04c6b000b1cd14c1c
[]
no_license
draganmoo/trypython
187316f8823296b12e1df60ef92c54b7a04aa3e7
90cb0fc8626e333c6ea430e32aa21af7d189d975
refs/heads/master
2023-09-03T16:24:33.548172
2021-11-04T21:21:12
2021-11-04T21:21:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,354
py
import math,time def workload_time_left(round_time,sleep_time,remain_workload): """ estimate finishing time according to the workload being left over. """ left_time = remain_workload * (round_time + sleep_time) if left_time < 3600: time_estimation = str(math.modf(left_time/60)[1]...
[ "13701304462@163.com" ]
13701304462@163.com
8cbff65a4608011394e68fefa40d3b003a0a2a58
c0f6bb2a406c1fb6eaccb1c7a5babae0b83ad269
/setup.py
1400fae1cee119df97891db1e95d8cffb324e7e9
[ "MIT" ]
permissive
srix/pytamil
051e1eebfe63c65681543bd4c158772cb9e3bd6c
fbe06e9a5f20acfca36e1a8f1c25e0f36d4ba4b9
refs/heads/master
2023-05-31T19:23:11.390245
2023-05-08T11:05:16
2023-05-08T11:05:16
195,109,564
51
9
MIT
2021-03-25T22:51:36
2019-07-03T18:41:59
Python
UTF-8
Python
false
false
1,077
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from distutils.core import setup from codecs import open setup(name='pytamil', version='1', description=u'A library for Tamil text processing and conjunction rules from rule-set EBNF. தமிழ் எழுத்து மற்றும் புணர்ச்சி விதிகளைக்கொண்ட நிரல் தொகுப்பு', author...
[ "ezhillang@gmail.com" ]
ezhillang@gmail.com
a8895f851239b681a9a13846ce6833a3a83b0920
5d7ad4d331ee029101fe6a239db9d0e7eebedaae
/8Memoization/192 · Wildcard Matching.py
b00c3f2b62235b36cbaad35b6dfa775d6d6a4734
[]
no_license
Iansdfg/9chap
77587e1c99b34d13b49a86ed575ec89db421551e
d7b42f94c20f6a579ad59d9f894dcc2fbc5a0501
refs/heads/master
2022-11-15T02:21:33.791516
2022-11-09T06:24:43
2022-11-09T06:24:43
201,677,377
3
0
null
null
null
null
UTF-8
Python
false
false
1,171
py
class Solution: """ @param s: A string @param p: A string includes "?" and "*" @return: is Match? """ def is_match(self, s, p): # write your code here return self.is_match_helper(s, 0, p, 0, {}) def is_match_helper(self, s, i, p, j, memo): print(s[i:], p[j:]) ...
[ "noreply@github.com" ]
Iansdfg.noreply@github.com
d896d69cb3a6b96f38d39ee54b1f3a63414cc5ca
1eab574606dffb14a63195de994ee7c2355989b1
/ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocols/learnedipv4label_vyzmfjzs9szwfybmvksxb2nexhymvs.py
2cc421bf1ef4c754f0f1e57029fbe978379509e8
[ "MIT" ]
permissive
steiler/ixnetwork_restpy
56b3f08726301e9938aaea26f6dcd20ebf53c806
dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9
refs/heads/master
2020-09-04T12:10:18.387184
2019-11-05T11:29:43
2019-11-05T11:29:43
219,728,796
0
0
null
2019-11-05T11:28:29
2019-11-05T11:28:26
null
UTF-8
Python
false
false
4,161
py
# MIT LICENSE # # Copyright 1997 - 2019 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
[ "srvc_cm_packages@keysight.com" ]
srvc_cm_packages@keysight.com
7b429ddac48dcfea2cec0687ca4d3dc280347cd5
c105797a5b6f5aca0b892ccdadbb2697f80fb3ab
/python_base/base9/base9_6/test_base9_6_11.py
fe2bb6501a6fc686b883c0d7d97b8baf6a07368d
[]
no_license
jj1165922611/SET_hogwarts
6f987c4672bac88b021069c2f947ab5030c84982
fbc8d7363af0a4ac732d603e2bead51c91b3f1f7
refs/heads/master
2023-01-31T19:41:27.525245
2020-12-15T13:43:45
2020-12-15T13:43:45
258,734,624
0
0
null
null
null
null
UTF-8
Python
false
false
1,095
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2020-05-18 # @Author : Joey Jiang # @File : test_9_6_11.py # @Software : Pycharm # @Description: 测试报告美化与定制 import pytest,allure,time from selenium import webdriver @allure.testcase("www.baidu.com","测试用例") @allure.feature("百度搜索") @pytest.mark.p...
[ "1165922611@qq.com" ]
1165922611@qq.com
3a1aa2983ec3d3905027310e3f59ad838039c159
88627f60fc6a7e56167693a55f055daa11f4f760
/ud_359_dsintro/numpy_intro.py
e78cd7abab299f031106904ae5e0385a4ab493ba
[]
no_license
salma-shaik/datascience-projects
3289e2c344c70c3641668e35e6baf7c9b442b554
6147b610a7f334dc028486a9786dc2b693b4936d
refs/heads/master
2020-03-20T02:15:24.288863
2019-08-19T19:01:56
2019-08-19T19:01:56
137,105,463
0
0
null
null
null
null
UTF-8
Python
false
false
644
py
import numpy as np # array1 = np.array(([1, 2], [3, 4]), float) # array2 = np.array(([5, 6], [7, 8]), float) # # print(array1 * array2) # print(np.dot(array1, array2)) # array1 = np.array(([1, 2], [3, 4]), float) # array2 = np.array([5, 6], float) array1 = np.array([[1, 2]], float) array2 = np.array(([2, 4, 6], [3, ...
[ "salmashaik1611@gmail.com" ]
salmashaik1611@gmail.com
6f606ec436e46383313fa4d7661c21ac0bdd8b00
e6d4a87dcf98e93bab92faa03f1b16253b728ac9
/algorithms/python/subarrayProductLessThanK/subarrayProductLessThanK.py
04d1c7a35b6791dbb628d761a6a63bfe5fe1d028
[]
no_license
MichelleZ/leetcode
b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f
a390adeeb71e997b3c1a56c479825d4adda07ef9
refs/heads/main
2023-03-06T08:16:54.891699
2023-02-26T07:17:47
2023-02-26T07:17:47
326,904,500
3
0
null
null
null
null
UTF-8
Python
false
false
569
py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Source: https://leetcode.com/problems/subarray-product-less-than-k/ # Author: Miao Zhang # Date: 2021-03-03 class Solution: def numSubarrayProductLessThanK(self, nums: List[int], k: int) -> int: if k <= 1: return 0 res = 0 prod = 1 ...
[ "zhangdaxiaomiao@163.com" ]
zhangdaxiaomiao@163.com
132bf3793cab17555e4020af48c929502cc37f60
c273353ab076d2ceea7cbadee82b7671c135a99e
/openprocurement/auctions/core/plugins/awarding/v3_1/includeme.py
f666e63bf7cc4052b51781aec11a120399b49ff1
[ "Apache-2.0" ]
permissive
openprocurement/openprocurement.auctions.core
28a77ae735e7d74674cc96f90b5b76c81defd24f
b4ed171f990e2b27b2547160df7d5ac968a1c477
refs/heads/master
2020-12-03T14:16:11.388446
2019-03-27T14:18:05
2019-03-27T14:18:05
67,410,304
2
12
Apache-2.0
2022-12-20T07:48:37
2016-09-05T10:08:32
Python
UTF-8
Python
false
false
372
py
# -*- coding: utf-8 -*- from openprocurement.auctions.core.plugins.awarding.base.interfaces import ( IAwardManagerAdapter, ) def includeme(config): from .adapters import AwardManagerV3_1Adapter from .interfaces import IAwardV3_1 config.registry.registerAdapter( AwardManagerV3_1Adapter, ...
[ "leitsius@gmail.com" ]
leitsius@gmail.com
57305b92a31553988af115c88a72f37e6ce95071
7ee4ec31269822a1052a04e497c83a3e2c2816f9
/python/LeetCode/Remove_items.py
2d174fc153d04dc8e32dff7043c8be7191288522
[]
no_license
Lizi2hua/Understanding-Python
bbda132d527f11f76e47fa3ef3f5ff7959a2acfd
6db6990efc7c20a543598447ad91026f8edeaf09
refs/heads/master
2022-11-20T21:04:55.369791
2020-07-29T09:43:10
2020-07-29T09:43:10
262,246,884
0
0
null
null
null
null
UTF-8
Python
false
false
1,099
py
# 给你一个数组 nums 和一个值 val,你需要 原地 移除所有数值等于 val 的元素,并返回移除后数组的新长度。 # # 不要使用额外的数组空间,你必须仅使用 O(1) 额外空间并 原地 修改输入数组。 # # 元素的顺序可以改变。你不需要考虑数组中超出新长度后面的元素。 val = 6 list = [3, 5, 6, 1, 6, 8, 1, 3, 1, 1, 6, 8, 1, 2, 4, 6, 1, 3, 2, 3] # 1找到等于val的元素 len_l = len(list) for i in range(len_l): if list[i] == val: print("i find it ...
[ "1050100964@qq.com" ]
1050100964@qq.com
36ce8ade49abde1d89897f00a8dca1049e493930
2adb627cfd97cb3b56ac85f2c1613e64ec8aff2f
/superadmin/views.py
14651b717e3e9a22d71951da31f5a7b6289027b5
[]
no_license
AthifSaheer/techbyheart-machine-test
28307a103e694965df965aefc8576cd558204585
2cc74e4b9a5dfb3e0a73b1b36b245b8bb92d2b9b
refs/heads/main
2023-08-31T20:12:13.082225
2021-10-23T01:35:48
2021-10-23T01:35:48
420,179,253
0
0
null
null
null
null
UTF-8
Python
false
false
2,227
py
from rest_framework_simplejwt.tokens import RefreshToken from rest_framework.decorators import api_view from rest_framework.response import Response from django.contrib.auth.models import User, auth from rest_framework import status # from django.shortcuts import render from .serializers import * # import jwt @api_vie...
[ "liteboook@gmail.com" ]
liteboook@gmail.com
c8ccc782cf6b57a2b806f9e89af31504ca6cce17
78f3fe4a148c86ce9b80411a3433a49ccfdc02dd
/2015/09/energy-mix-states-20150804/graphic_config.py
4173be4a404336282ad6336bbf5a469e779e6e34
[]
no_license
nprapps/graphics-archive
54cfc4d4d670aca4d71839d70f23a8bf645c692f
fe92cd061730496cb95c9df8fa624505c3b291f8
refs/heads/master
2023-03-04T11:35:36.413216
2023-02-26T23:26:48
2023-02-26T23:26:48
22,472,848
16
7
null
null
null
null
UTF-8
Python
false
false
305
py
#!/usr/bin/env python import base_filters COPY_GOOGLE_DOC_KEY = '1Ce8a-3Xf0soJ-J831aszj8tBaVWIRIcx3lA8pm-zALY' USE_ASSETS = False # Use these variables to override the default cache timeouts for this graphic # DEFAULT_MAX_AGE = 20 # ASSETS_MAX_AGE = 300 JINJA_FILTER_FUNCTIONS = base_filters.FILTERS
[ "ahurt@npr.org" ]
ahurt@npr.org
be6ac60ba47c2e718e763dfe5af852969567622f
677f4896f21c46aee199c9f84c012c9733ece6f6
/ddsp/effects_test.py
11ca2405e69b1baaf9fc23a6e069062fc2034489
[ "Apache-2.0" ]
permissive
werkaaa/ddsp
90b2881a350dad9f954e28ead4f145140c7d2ad4
92ce8724e22c17822d7f7564547733ed7fe918e2
refs/heads/master
2022-12-13T06:41:48.871697
2020-09-03T15:50:49
2020-09-03T15:50:49
286,489,693
0
0
Apache-2.0
2020-08-10T13:57:00
2020-08-10T13:57:00
null
UTF-8
Python
false
false
3,892
py
# Copyright 2020 The DDSP Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
[ "no-reply@google.com" ]
no-reply@google.com
967416b13ef9967f4364b4dc3e33578734de947b
1f1048624ee8d71101ae1127c9aa9c9dc81b857f
/pyexcel/internal/source_plugin.py
d3bd260896415040d0fae44a363a1f7a625bfb6a
[ "BSD-3-Clause" ]
permissive
netpastor/pyexcel
434983a942de4d70549bcec578854d3da241c576
0c126b9e4c650c6735665c79e616546149f2b717
refs/heads/master
2021-01-19T10:40:19.107503
2017-04-10T07:04:50
2017-04-10T15:13:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,254
py
""" pyexcel.internal.source_plugin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Second level abstraction :copyright: (c) 2015-2017 by Onni Software Ltd. :license: New BSD License """ from itertools import product from collections import defaultdict from lml.manager import PluginManager import pyexcel_io.cons...
[ "wangc_2011@hotmail.com" ]
wangc_2011@hotmail.com
66d6d7dbd7d7727849dbf33e2176d54c9291c8e2
06e897ed3b6effc280eca3409907acc174cce0f5
/plugins/pelican_youtube/setup.py
784b63994c035ecf13b280d6f05c8d7c0ccdaece
[ "MIT", "AGPL-3.0-only" ]
permissive
JackMcKew/jackmckew.dev
ae5a32da4f1b818333ae15c6380bca1329d38f1e
b5d68070b6f15677a183424c84e30440e128e1ea
refs/heads/main
2023-09-02T14:42:19.010294
2023-08-15T22:08:19
2023-08-15T22:08:19
213,264,451
15
8
MIT
2023-02-14T21:50:28
2019-10-07T00:18:15
JavaScript
UTF-8
Python
false
false
1,540
py
from setuptools import setup from setuptools import find_packages version = __import__("pelican_youtube").__version__ download_url = "https://github.com/kura/pelican_youtube/archive/{}.zip".format(version) setup( name="pelican_youtube", version=version, url="https://github.com/kura/pelican_youtube", d...
[ "jackmckew2@gmail.com" ]
jackmckew2@gmail.com
3396f17f1146e2cc918640d531d3ff81628fe34e
cbc0f69f3a2f171294b538d23bb1f584d4b14ce3
/model.py
194cd51b1867c9b00a96c88446c7affed554107a
[]
no_license
koztay/CARND_Project3
25d44ea828954ba47cbc0efc1b3b6aa15b11a793
749ad274ce9678595a85932ac5a975a16bd587a5
refs/heads/master
2021-01-04T02:35:28.039698
2017-08-09T14:35:29
2017-08-09T14:35:29
99,513,218
0
0
null
null
null
null
UTF-8
Python
false
false
5,535
py
import csv import cv2 import numpy as np from sklearn.utils import shuffle from sklearn.model_selection import train_test_split lines = [] with open('./data/driving_log.csv') as csvfile: reader = csv.reader(csvfile) next(reader, None) # this line makes the header line ignored for line in reader: l...
[ "koztay@me.com" ]
koztay@me.com
687296c915982e3be9b74dbe18ea3728a85da092
e23a4f57ce5474d468258e5e63b9e23fb6011188
/125_algorithms/005_searching_and_sorting/_exercises/templates/Beat the Codility Coding Interview in Python/number_of_disc_intersections_alt.py
ba6a507980dcc581f2be3377e05cf1d74caf7719
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
863
py
# # This is the solution for Sorting > NumberOfDiscIntersections # # # # This is marked as RESPECTABLE difficulty # # c_ Disc # ___ - low_x high_x # ? ? # ? ? # # ___ index_less_than sortedDiscList i start last # mid _ s.. + |l.. - s.. // 2 # __ l.. <_ s.. an. s.. |m__.l.. > i # r_ m...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
5d847c81731d450ae94d4e244e449e3f1720ac57
6d85d154048d526c9b073b7a75c0ca6298111ded
/nadine/management/commands/billing_batch_run.py
22b4919e585f84f15a076ae3d704804ffacf235c
[ "Apache-2.0" ]
permissive
switchdin/nadine
02595a0a749e97840c756e23827793a5d732de0f
42b4377d7a5f64320d83c4d5f27981428a111e1f
refs/heads/master
2021-05-06T17:56:31.441213
2017-11-24T00:47:51
2017-11-24T00:47:51
111,856,045
0
0
null
2017-11-24T00:28:34
2017-11-23T22:54:23
JavaScript
UTF-8
Python
false
false
2,245
py
from __future__ import print_function from datetime import datetime from django.core.management.base import BaseCommand from nadine.models.billing import BillingBatch, UserBill class Command(BaseCommand): requires_system_checks = True help = "Runs the billing batch." def add_arguments(self, parser): ...
[ "jsayles@gmail.com" ]
jsayles@gmail.com
b7aaa56c625d4c68ce805e97b891a600313e56c3
3520f9f1b6d804a6d95233493972bf04dca67fb4
/revisited__2021/arrays/container_with_most_water.py
a703d502140c9843b981dca979cc53974469207d
[]
no_license
Shiv2157k/leet_code
8691a470148809f0a7077434abdc689f33958f34
65cc78b5afa0db064f9fe8f06597e3e120f7363d
refs/heads/master
2023-06-17T02:59:20.892561
2021-07-05T16:42:58
2021-07-05T16:42:58
266,856,709
1
0
null
null
null
null
UTF-8
Python
false
false
759
py
from typing import List class WaterContainer: def with_most_water(self, height: List[int]) -> int: """ Approach: Two Pointers Time Complexity: O(N) Space Complexity: O(1) :param height: :return: """ left, right = 0, len(height) - 1 area = 0 ...
[ "shiv2157.k@gmail.com" ]
shiv2157.k@gmail.com
cb20dee51b39ae122cd0fe5f7851cce84aabc7dc
aa265e03e73f718d4008cfe30ada7ee32c852eec
/ABC_B/ABC107_B.py
e7522c315bc219e92f1c00084adb0d6c0f4fd7ee
[ "MIT" ]
permissive
ryosuke0825/atcoder_python
4fb9de9733cd9ef41c2ad9ad38b3f190f49d3ad5
52d037d0bc9ef2c721bf2958c1c2ead558cb0cf5
refs/heads/master
2023-03-11T22:47:56.963089
2023-03-05T01:21:06
2023-03-05T01:21:06
181,768,029
0
0
null
null
null
null
UTF-8
Python
false
false
480
py
H, W = map(int, input().split()) a = [] for i in range(H): tmp = list(input()) if "#" in tmp: a.append(tmp) w_check = [True] * W for i in range(len(a)): for j in range(W): if a[i][j] == "#": w_check[j] = False ans = [[] for i in range(len(a))] for i in range(len(a)): for j ...
[ "ayakobon@gmail.com" ]
ayakobon@gmail.com
1fb61081902189f255fc30e6b8c6950fb052a24b
b1cf77a72aff36e351a9f3515ac9343412dc412c
/tests/test_rfc3709.py
e1153916a77a9de4af3bebc63fc30e03f8107362
[ "BSD-2-Clause", "BSD-3-Clause" ]
permissive
Jamim/pyasn1-modules
7b180a8e842d8591baffc52f6f9f2e9260bfa953
7fafbf8550ab9e8727274903ed96ae849cd24594
refs/heads/master
2020-08-17T11:12:17.296869
2019-10-15T14:54:03
2019-10-15T14:54:03
215,657,414
0
0
BSD-2-Clause
2019-10-16T22:44:03
2019-10-16T22:44:02
null
UTF-8
Python
false
false
3,526
py
# # This file is part of pyasn1-modules software. # # Copyright (c) 2019, Vigil Security, LLC # License: http://snmplabs.com/pyasn1/license.html # import sys from pyasn1.codec.der import decoder as der_decoder from pyasn1.codec.der import encoder as der_encoder from pyasn1_modules import pem from pyasn1_modules impor...
[ "etingof@gmail.com" ]
etingof@gmail.com
f3ff67efa372fbc998293f9d296040d823b39f23
98bc4630f37995e9fb6a2986b729031a06db7879
/BookReviews/apps/books_app/views.py
a4413d47872d8ebe3956ffae26de89f92b1f3de7
[]
no_license
dusty-g/DjangoAssignments
58bed45797005832a11ede4bf1059acea3b5e5ba
52d6852e294263707ffc9324de8b0df308ce108d
refs/heads/master
2021-01-19T21:19:14.575570
2017-05-01T23:26:12
2017-05-01T23:26:12
88,639,280
2
0
null
null
null
null
UTF-8
Python
false
false
1,307
py
from django.shortcuts import render, redirect from django.core.urlresolvers import reverse from .models import Book, Review, Author def books(request): print 'made it to the books app' print request.session['username'] recent_reviews = Review.objects.all().order_by('-created_at') all_books = Book.objec...
[ "dustygalindo@gmail.com" ]
dustygalindo@gmail.com
3f2ce9428049065422d6ee590d5487cec193f012
2534803a09f5a6676ccece4519a2b8faaea9329d
/zeno/server/client_authn.py
d6164b18dd0c77bfb205d365d9e28fd0faa66340
[ "Apache-2.0" ]
permissive
SmithSamuelM/plenum
c41ccb849cd1113ba8496fa8bd9b0c5336ee9878
2675523f8718d6f240027582bc90c76b4f80c105
refs/heads/master
2021-01-15T23:35:53.640499
2016-02-16T05:01:22
2016-02-16T05:01:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,147
py
""" Clients are authenticated with a digital signature. """ from base64 import b64decode from typing import Dict from typing import Mapping from raet.nacling import Verifier from zeno.common.exceptions import InvalidSignature, EmptySignature, MissingSignature, EmptyIdentifier, \ MissingIdentifier, InvalidIdentifi...
[ "jason@evernym.us" ]
jason@evernym.us
1c93a8368e32a376a6609e93cb11c6070159ce48
3b786d3854e830a4b46ee55851ca186becbfa650
/SystemTesting/pylib/vmware/nsx/manager/bridge_cluster/api/nsx70_crud_impl.py
e3e3cf23ac2ba6cb396ad05c4272c2fed99b094f
[]
no_license
Cloudxtreme/MyProject
d81f8d38684333c22084b88141b712c78b140777
5b55817c050b637e2747084290f6206d2e622938
refs/heads/master
2021-05-31T10:26:42.951835
2015-12-10T09:57:04
2015-12-10T09:57:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
import vmware.nsx_api.manager.bridgecluster.bridgecluster\ as bridgecluster import vmware.nsx_api.manager.bridgecluster.schema.bridgecluster_schema\ as bridgecluster_schema import vmware.nsx.manager.api.base_crud_impl as base_crud_impl class NSX70CRUDImpl(base_crud_impl.BaseCRUDImpl): _attribute_map = {...
[ "bpei@vmware.com" ]
bpei@vmware.com
68f4b984849cf6136e8307e14e9081f7c105d46d
de6fb3a55196b6bd36a4fda0e08ad658679fb7a1
/optin_manager/src/python/openflow/optin_manager/sfa/openflow_utils/expiration_manager.py
ed72e34050e7a0e9d7154be32a83109cc9108d90
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
dana-i2cat/felix
4a87af639e4c7db686bfa03f1ae4ce62711615e3
059ed2b3308bda2af5e1942dc9967e6573dd6a53
refs/heads/master
2021-01-02T23:12:43.840754
2016-02-04T10:04:24
2016-02-04T10:04:24
17,132,912
4
4
null
null
null
null
UTF-8
Python
false
false
1,328
py
from datetime import datetime from openflow.optin_manager.sfa.util.sfatime import utcparse, datetime_to_epoch from openflow.optin_manager.sfa.models import ExpiringComponents #from openflow.optin_manager.sfa.drivers.OFSfaDriver import OFSfaDriver class ExpirationManager: @staticmethod def extend_expiration(s...
[ "jenkins@integration.localhost" ]
jenkins@integration.localhost
1fadf2e0267eaa079536c0f93d8b8ec00e62ecd9
c8cedc80a7408dc96031f986aa256833fd035a2c
/ex48/lexicon.py
db5e1e27484371deb7836e451858fba2bb139345
[]
no_license
asabnis7/python-basics
ed0c4ca15604b4f7c4718092798beea5afb14ed7
c68e8f290f51a338b42e5eb74afe15c8fe11aa85
refs/heads/master
2020-03-28T16:14:15.151061
2018-10-15T05:14:42
2018-10-15T05:14:42
148,672,911
0
0
null
null
null
null
UTF-8
Python
false
false
1,365
py
def convert_num(s): try: return int(s) except ValueError: return None def scan(raw): lexicon = [('direction','north'), ('direction','south'), ('direction','east'), ('direction','west'), ('direction','down'), ('direction','up'), ('direction','left'), ('direction'...
[ "github-noreply@oit.gatech.edu" ]
github-noreply@oit.gatech.edu
60275c4d923e33044725c86e9507883d0365b162
b8a803694c283a5acd13ab6760a36710884ab24f
/llvmpy/src/DebugInfo.py
b316c62ea666f201123de50bc002f17abab8e1ef
[ "NCSA", "BSD-3-Clause" ]
permissive
llvmpy/llvmpy
8a4c31e731364ead802231b97e058b8f8c444f96
13130fe35f1fb03a7051ad46c36146002391a6fa
refs/heads/master
2016-09-05T16:48:54.694686
2015-04-28T16:21:34
2015-04-28T16:21:34
3,375,197
155
13
null
2015-05-27T18:36:45
2012-02-07T07:09:59
HTML
UTF-8
Python
false
false
2,099
py
from binding import * from .namespace import llvm from .ADT.StringRef import StringRef from .Value import MDNode DIDescriptor = llvm.Class() DIEnumerator = llvm.Class(DIDescriptor) DIScope = llvm.Class(DIDescriptor) DIType = llvm.Class(DIScope) DIBasicType = llvm.Class(DIType) DIDerivedType = llvm.Class(DIType) DICom...
[ "michael.lam.sk@gmail.com" ]
michael.lam.sk@gmail.com
ed560d500e585fd2a8b3c93f26c1f5d543a83269
d35ef50f73feff93f78a706a9e945ddd6cbbc63d
/vilya/libs/dbclient.py
70ec4ef75aef7d90baa703eea99cb5087b31d328
[ "BSD-3-Clause" ]
permissive
canglangwenyue/code
896f562f7fd92f48dc664d17630c5166c1c34176
669d03bde9cb654767eea24c4a24e0c3e7ca130c
refs/heads/master
2020-12-25T23:08:28.165573
2015-12-07T15:11:31
2015-12-07T15:11:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,764
py
#!/usr/bin/python from random import shuffle from libmc import Client def fnv1a(s): prime = 0x01000193 h = 0x811c9dc5 for c in s: h ^= ord(c) h = (h * prime) & 0xffffffff return h class MCStore(object): def __init__(self, server): self.server = server self.mc = ...
[ "ciici1234@hotmail.com" ]
ciici1234@hotmail.com
b47a0a6d3b910c830f0fe59e2d20588e90200dd8
f778455274504b5bd652d2ea5e430f0acce09778
/bjjweb/settings.py
8a6c0f29f02571a6e46149a7adafe19bcb5c75dd
[]
no_license
coffenbacher/bjjweb
9e1ba05bb9291aa6aaf3f1152117ced17f23e950
60e1d8e036e3973374dd6f42b27a9df43bf20be1
refs/heads/master
2021-01-10T13:15:17.608444
2013-04-13T08:02:09
2013-04-13T08:02:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,561
py
import os import sys PROJECT_PATH = os.path.dirname(os.path.realpath(__file__)) DEFAULT_FILE_STORAGE = os.environ.get('DEFAULT_FILE_STORAGE', 'django.core.files.storage.FileSystemStorage') # 'bjjweb.s3utils.MediaRootS3BotoStorage' STATICFILES_STORAGE = os.environ.get('STATICFILES_STORAGE', 'django.contrib.staticfiles...
[ "charles.offenbacher@gmail.com" ]
charles.offenbacher@gmail.com
2c2d2aca1319088aa7c6948056c34477db7deac3
2e691585d9915ebf7ec691ce472f01e49c2889c3
/app/core/tests/test_admin.py
1ffbe947da89c68196da079710e156ee3c051af3
[ "MIT" ]
permissive
arajo-hub/recipe-app-api
b49fafbe64b0384d67381b94f2af2f4e9abd1f6d
c443d36511a94003deb6d73e13c1ddecfe0f7d0c
refs/heads/master
2022-12-11T08:20:14.995151
2020-08-23T05:55:47
2020-08-23T05:55:47
282,588,359
1
0
null
null
null
null
UTF-8
Python
false
false
1,311
py
from django.test import TestCase, Client from django.contrib.auth import get_user_model from django.urls import reverse class AdminSiteTests(TestCase): def setUp(self): self.client=Client() self.admin_user=get_user_model().objects.create_superuser( email='admin@londonappdev.com', ...
[ "joara9566@naver.com" ]
joara9566@naver.com
4590ce8da2d0982d3118dbcb6411649d83906cd7
2bf43e862b432d44ba545beea4e67e3e086c1a1c
/examples/nlp/language_modeling/megatron_t5_lm_adaptation_finetune.py
063147d66abb14ceee22a34470b1992a67a10948
[ "Apache-2.0" ]
permissive
ericharper/NeMo
719e933f6ffce1b27358bc21efe87cdf144db875
f1825bc4b724b78c2d6ca392b616e8dc9a8cde04
refs/heads/master
2022-10-06T01:45:21.887856
2022-09-14T19:09:42
2022-09-14T19:09:42
259,380,135
1
0
Apache-2.0
2022-09-20T18:01:57
2020-04-27T15:54:20
Python
UTF-8
Python
false
false
6,180
py
# Copyright (c) 2021, NVIDIA CORPORATION. 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 appli...
[ "noreply@github.com" ]
ericharper.noreply@github.com
bb2775078d4ad0b4cb482fcda899232bb816cec4
214d0b18e3bed9ae2ba33e9a3d9d2b447c13dd2e
/3d_visualization.py
79d849ce2cc1caa844dcfef456f1f097e1ec967e
[]
no_license
janFrancoo/Machine-Learning-Tutorials
3cc1d47939fac44630b475ce5bd5dc52f84bde1e
56dab9722606dc27df2f613bfbd277f27122eb88
refs/heads/master
2020-06-17T14:16:06.423200
2019-08-03T11:44:47
2019-08-03T11:44:47
195,948,343
0
0
null
null
null
null
UTF-8
Python
false
false
483
py
from sklearn import datasets import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D df = datasets.load_iris() print(df) plt.figure(2, figsize=(7, 4)) plt.scatter(df.data[:, [0, 1]][:, 0], df.data[:, [0, 1]][:, 1], c=df.target, cmap=plt.cm.coolwarm) plt.xlabel('Sepal length') plt.ylabel('Sepal width')...
[ "noreply@github.com" ]
janFrancoo.noreply@github.com
c17bdecccb889ee2640d702d95f1f764e891cc7e
5b826d901ed7b33f1a81303c02c8f009e556c1be
/celery_django_test/polls/urls.py
f0699c52f2116ae7bec68fecfa7a0d7115c9e2fe
[]
no_license
roholazandie/django_redis_celery
917feecf54d3448c80bdb6e6c7693844ef46d20f
3976824097b597cc49b8c5872996096a1740c7f1
refs/heads/master
2021-01-11T14:13:50.951212
2017-02-07T12:08:43
2017-02-07T12:08:43
81,204,117
0
0
null
null
null
null
UTF-8
Python
false
false
186
py
from django.conf.urls import url from . import views urlpatterns = [url('^$', views.init_work, name='init_work'), url('^poll_state$', views.poll_state, name='poll_state')]
[ "hilbert.cantor@gmail.com" ]
hilbert.cantor@gmail.com
c344874434643dd11b8ac3dae509b0fac6c49f92
037a03d4b8b81bc39dc41cb4f3726f8297c8b672
/0739.py
94a9cca88ec9b018d0d9cbe8c8d49e9cf22caee3
[]
no_license
Agchai52/Leetcode1
ee3433ef6f6c3ddd800204c25a456dc7c3fd0053
9535d038bee690b7c7aeca352a4ab32d188684bb
refs/heads/master
2021-08-22T02:59:45.632548
2020-05-21T00:31:45
2020-05-21T00:31:45
185,273,962
1
0
null
null
null
null
UTF-8
Python
false
false
669
py
class Solution(object): def dailyTemperatures(self, T): """ :type T: List[int] :rtype: List[int] """ """ 0, 1, 2, 3, 4, 5, 6, 7 T = [73, 74, 75, 71, 69, 72, 76, 73] i ...
[ "noreply@github.com" ]
Agchai52.noreply@github.com
8ebe048507c8a67088debc5e6fa3fd41ab3950a4
a01bd59019e65e209e7a240cce9af0e71ba14283
/plot_results.py
685964f611cf26269b36b7c8f9436b638fa33dfc
[]
no_license
cooperoelrichs/Kaggle_Amazon
575572c22a7270b2187f223d477c06cd468f76cf
2ad2c20e5f1a57ec4aaf881e3b2b57c779c9ff72
refs/heads/master
2021-01-13T14:19:52.614789
2014-11-12T00:08:03
2014-11-12T00:08:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
376
py
import matplotlib.pyplot as plt from test_results import * x = c_130723_3 y = scores_130723_3 max = max(y) max_i = y.index(max) best_x = x[max_i] print(max) print(best_x) plt.plot(x,y) plt.plot(best_x, max, 'ro') plt.ylabel('AUC') plt.xlabel('C (strength of regularisation)') plt.title('AUC score by C value (...
[ "c.oelrichs@gmail.com" ]
c.oelrichs@gmail.com
fe333119b3660fd0957c4fa8c15db858d0ff82ed
5dcbdd9146aa44eee996965d1a2fe25d1965a612
/sendit/apps/main/tasks/__init__.py
0c9da28120cbaacf3d1e26c8d24810c437bcbdab
[ "MIT" ]
permissive
pydicom/sendit
31f5b5afa27293d523f46bdbd49fcb164d4cc6ea
cc5ef13a37525d73643885e35709d68a35881905
refs/heads/master
2021-01-23T16:04:28.227953
2019-03-25T15:34:44
2019-03-25T15:34:44
93,280,329
8
8
MIT
2019-03-25T15:34:46
2017-06-04T00:04:38
CSS
UTF-8
Python
false
false
147
py
from .get import ( get_identifiers, import_dicomdir ) from .update import ( replace_identifiers ) from .finish import upload_storage
[ "vsochat@stanford.edu" ]
vsochat@stanford.edu
50a61f160423781925348a849adcc936fcdc1019
af059741171257dfe7e2a5e719fa389fd007523e
/bypy/pkgs/qt_webengine.py
dd2fedce03db9e934fa168f02ae89b530720bf90
[]
no_license
844189873/bypy
df4b13d2a47df5a4d49a346ae0f2097b94a295db
2bd8403752ed32d56c7be4050a2f622c421b7dcf
refs/heads/master
2023-02-28T07:50:12.765416
2020-10-03T09:09:08
2020-10-03T09:09:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,520
py
#!/usr/bin/env python # vim:fileencoding=utf-8 # License: GPLv3 Copyright: 2019, Kovid Goyal <kovid at kovidgoyal.net> import glob import os from bypy.constants import PREFIX, islinux, iswindows from bypy.utils import qt_build, replace_in_file, apply_patch def main(args): conf = '-spellchecker' if islinux: ...
[ "kovid@kovidgoyal.net" ]
kovid@kovidgoyal.net
ad936e81ae2c735c6de1067ed4fe6137e46993e6
710fe9b8968cfe501af4f35ad84379afd64f4fe3
/accounts/migrations/0002_migrate_sha1_passwords.py
3aa786b4ac1f064f8ceb13b1346bbb2d93dfcfc9
[ "BSD-3-Clause" ]
permissive
django/djangoproject.com
051e4c77399afad77092050633d1e13a7a574fce
66a6e87290ee43b4935bc178c737c565570fbc7f
refs/heads/main
2023-09-03T03:20:54.684816
2023-08-28T20:33:43
2023-08-28T20:33:43
690,903
1,807
1,075
BSD-3-Clause
2023-09-05T03:05:13
2010-05-28T11:27:09
PostScript
UTF-8
Python
false
false
720
py
from django.db import migrations from ..hashers import PBKDF2WrappedSHA1PasswordHasher def forwards_func(apps, schema_editor): User = apps.get_model("auth", "User") users = User.objects.filter(password__startswith="sha1$") hasher = PBKDF2WrappedSHA1PasswordHasher() for user in users: algorith...
[ "timograham@gmail.com" ]
timograham@gmail.com
9b433af28782dbff81c68e2d11db38a1ae735008
fa16d3fc8f7ce65e03c156efe6c0c5c6700a8075
/toontown/building/DistributedKnockKnockDoor.py
c32c5084d9fa383d656712db60552e0b45dfcf38
[]
no_license
Grant11/mf0DJnN
eaaa4208bd5a76ff31e5a693e8b63ccac2bcf8fb
4e81bf56ba45b2b8f774af9db6139b709579dc7b
refs/heads/master
2020-06-05T15:33:32.421924
2016-05-24T17:09:15
2016-05-24T17:09:15
59,596,037
0
4
null
2016-05-24T17:56:10
2016-05-24T17:56:10
null
UTF-8
Python
false
false
6,745
py
from pandac.PandaModules import * from direct.interval.IntervalGlobal import * from direct.distributed.ClockDelta import * from KnockKnockJokes import * from toontown.toonbase import ToontownGlobals from direct.directnotify import DirectNotifyGlobal from direct.fsm import ClassicFSM import DistributedAnimatedProp from ...
[ "nickdogegaming@yahoo.com" ]
nickdogegaming@yahoo.com
a2f83a60551560512e3538d78150e29ce184b75b
e82b761f53d6a3ae023ee65a219eea38e66946a0
/All_In_One/addons/DECALmachine/operators/unwrap.py
c233f3d097efc56de72a34efd4e4c1212c0b9a27
[]
no_license
2434325680/Learnbgame
f3a050c28df588cbb3b14e1067a58221252e2e40
7b796d30dfd22b7706a93e4419ed913d18d29a44
refs/heads/master
2023-08-22T23:59:55.711050
2021-10-17T07:26:07
2021-10-17T07:26:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,415
py
import bpy import bmesh from .. utils.decal import sort_panel_geometry, create_panel_uvs from .. utils.raycast import shrinkwrap from .. utils.object import flatten class Unwrap(bpy.types.Operator): bl_idname = "machin3.panel_decal_unwrap" bl_label = "MACHIN3: Panel Decal Unwrap" bl_description = "Re-Unwr...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
f807980e1cd8c80c134d157b6dfae92aea65479b
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/324/usersdata/297/90648/submittedfiles/divisores.py
0e2a526b79863fc6b35b470f62d637bd0a884551
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
# -*- coding: utf-8 -*- import math n=int(input('digite o numero de multiplos desejado: ')) a=int(input('digite o numero desejado a: ')) b=int(input('digite o numero desejado b: ')) cont=0 y=1 z=1 t=a*y u=b*z while cont<n : while t<u : if cont<n : print('%d'%t) cont=cont+1 ...
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
c1de21d6ce31efa15861f6321d8e8d5d35cff6df
2163241ca7c5081a03f3a8125634fee265622e7f
/Service/app/models/aci/ept/ept_rapid.py
ff90ac988ecb40b25a5ac94b427cf0640454acf8
[]
no_license
agccie/ACI-EnhancedEndpointTracker
aa6db245af7832886616c3ad6f499609ce7cb717
d372cde0b52830d5fcfcba07f33b56116adec7f8
refs/heads/master
2022-05-26T19:03:10.721901
2022-03-25T20:40:55
2022-03-25T20:40:55
90,278,632
18
19
null
2022-03-25T20:40:57
2017-05-04T15:21:07
Python
UTF-8
Python
false
false
2,507
py
from ...rest import Rest from ...rest import api_register from . common import common_event_attribute import logging # module level logging logger = logging.getLogger(__name__) @api_register(parent="fabric", path="ept/rapid") class eptRapid(Rest): """ historical records of endpoint rapid events within a fabric ""...
[ "agossett@cisco.com" ]
agossett@cisco.com
df410c3af7bebf30026aea67897bee8fb1b463f6
e38d634d508578523ac41b3babd0c1e618dec64b
/webScraping/loopThroughJson.py
97ecb76b0e2bb68418cb543722347b5df9b6da2b
[]
no_license
hebertomoreno/PythonScr
d611e1e683ffc1566d51ae4d13362b94820c9af7
b77d22519ada971a95ff7f84f205db11fd492bca
refs/heads/master
2023-03-23T11:50:40.391715
2017-05-24T17:01:31
2017-05-24T17:01:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
909
py
import csv,json from unidecode import unidecode # Open the Json file exampleFile = open('son.json') # Open the csv file to write outputFile = open('output.csv', 'w', newline='') outputWriter = csv.writer(outputFile) # Load the json file into a variable # json.load is used here so that we can input a file. # Usually...
[ "nikolasmurdock@gmail.com" ]
nikolasmurdock@gmail.com
6f39f89acc06e0280faedb523ab83d5219ddffc4
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/3971.py
19b26f1dac31f07401ce2f36b9ec2dab7a81d233
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
def readFile(filename): final_answers = [] case_no = 1 answers_file = open("magician_answers.text", "w") with open(filename) as f: next(f) ind = 0 answers = [] rows1 = [] rows2 = [] for line in f: if ind == 0 or ind == 5: answers.append(line.strip()) ind += 1 continue row = line.sp...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
0b13fec913bcc82fbea473eb1e93a8d208ad6d35
93c22f53bc7ce33a4384c53f02988e6c9ccd86c9
/re_flags_ignorecase.py
f9e6259fd7662f49810da01b7ee76ac112517333
[ "Apache-2.0" ]
permissive
Kalpavrikshika/python_modules
a5ce678b58f94d32274846811388d991c281d4d3
9f338ab006dd5653fd7f65ff253bc50e0fd61fc6
refs/heads/master
2020-03-08T02:23:08.650248
2018-06-28T07:38:01
2018-06-28T07:38:01
127,858,450
1
0
null
null
null
null
UTF-8
Python
false
false
435
py
import re text = 'This is some text -- with punctuation.' pattern = r'\bT\w+' with_case = re.compile(pattern) without_case = re.compile(pattern, re.IGNORECASE) print('Text:\n{!r}'.format(text)) print('Pattern:\n {}'.format(pattern)) print('Case-sensitive:') for match in with_case.findall(text): print(' {!r}'.fo...
[ "vrikshikakalpa@gmail.com" ]
vrikshikakalpa@gmail.com
1b085090e2eb53094246aca9b8657b2c7a7f6d20
a9c3db07c29a46baf4f88afe555564ed0d8dbf2e
/src/2159-two-out-of-three/two-out-of-three.py
69afe71e1f78b3bc9a422b1759597067ff3e24dd
[]
no_license
HLNN/leetcode
86d2f5b390be9edfceadd55f68d94c78bc8b7644
35010d67341e6038ae4ddffb4beba4a9dba05d2a
refs/heads/master
2023-03-13T16:44:58.901326
2023-03-03T00:01:05
2023-03-03T00:01:05
165,402,662
6
6
null
null
null
null
UTF-8
Python
false
false
1,175
py
# Given three integer arrays nums1, nums2, and nums3, return a distinct array containing all the values that are present in at least two out of the three arrays. You may return the values in any order. #   # Example 1: # # # Input: nums1 = [1,1,3,2], nums2 = [2,3], nums3 = [3] # Output: [3,2] # Explanation: The values ...
[ "Huangln555@gmail.com" ]
Huangln555@gmail.com
aa974d0d5501a4e6dc93763ad556aba01d89d5d2
7f3d066b08fc5446b719ccc050ee839ec001fb6a
/align_training_images.py
47b445c5a3578f190931f26882d8f6b1d2f37274
[]
no_license
bellyfat/Face-gender-race-recognition-with-webcam
5a70438040149cfa4613241663e4f0fe31aefadd
dc8d79a42e4ee38513be8d7f354e2f071150b936
refs/heads/master
2022-04-10T09:31:14.844215
2020-04-05T14:15:53
2020-04-05T14:15:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,580
py
""" align_training_images detects faces from training images, alignas them and puts them into directory names "faces_of_training_images". By H.Iman """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from scipy import misc import sys import os import argpar...
[ "you@example.com" ]
you@example.com
b93e60b3f5db920ffec18d03b83bf0223de808a3
801f367bd19b8f2ab08669fd0a85aad7ace961ac
/adding-right-info/plots.py
0bea2d388623de3505186a5ee8646a47457a9b6f
[ "MIT" ]
permissive
Wendong-Huo/thesis-bodies
d91b694a6b1b6a911476573ed1ed27eb27fb000d
dceb8a36efd2cefc611f6749a52b56b9d3572f7a
refs/heads/main
2023-04-17T18:32:38.541537
2021-03-12T19:53:23
2021-03-12T19:53:23
623,471,326
1
0
null
2023-04-04T12:45:48
2023-04-04T12:45:47
null
UTF-8
Python
false
false
6,287
py
import pickle import numpy as np import matplotlib.pyplot as plt import utils folder = utils.folder with open(f"{folder}/data-simple.pickle", "rb") as f: data = pickle.load(f) print(data) def process(_data): _data = np.array(_data) _two_sigma = 2*np.std(_data) _mean = np.mean(_data) print(f"{_me...
[ "sliu1@uvm.edu" ]
sliu1@uvm.edu
7ba97f20d14bd7397fdb99a5c9c7b6c41402e759
b8ef3a93cb9fa4d60a785e7f7b5adafc907e6f65
/ruman/info_consume/user_rank_info/User_sort_interface.py
2f362dd0e60292c9d09142c531b2a935d8aa3de0
[]
no_license
lvleilei/screen
46289b8a80850ac4db8a08b58eb4fc3fd65a0e01
13d4f9ac91a5e610f68525ff2a2306372810b681
refs/heads/master
2020-03-19T13:05:55.207809
2018-06-08T03:37:22
2018-06-08T03:37:22
136,560,545
0
0
null
2018-06-08T03:17:20
2018-06-08T03:17:20
null
UTF-8
Python
false
false
4,349
py
#-*- coding:utf-8 -*- from in_filter import in_sort_filter from Offline_task import add_task from all_filter import all_sort_filter from Keyword_task import key_words_search from time_utils import ts2datetime, datetime2ts from ruman.parameter import DAY, LOW_INFLUENCE_THRESHOULD from Makeup_info import make_up_user_inf...
[ "1257819385@qq.com" ]
1257819385@qq.com
b7d7268517bb72f70c6aad4f501535f2f68d81ce
2bcc421ee345b00cf805c543b37d18b5d019dc04
/adafruit-circuitpython-bundle-6.x-mpy-20201126/examples/rockblock_recv_data.py
82b501a12ed2266b44dbd825aee370ff467cbef0
[]
no_license
saewoonam/sc-current-source-titano
5a1ad46889c1b09c168424901fd71cb4eab5c61b
1c136aa8b61268d9ac0b5a682b30ece70ab87663
refs/heads/main
2023-03-02T22:12:26.685537
2021-02-09T03:28:01
2021-02-09T03:28:01
317,299,900
0
2
null
null
null
null
UTF-8
Python
false
false
1,080
py
# pylint: disable=wrong-import-position import time import struct # CircuitPython / Blinka import board uart = board.UART() uart.baudrate = 19200 # via USB cable # import serial # uart = serial.Serial("/dev/ttyUSB0", 19200) from adafruit_rockblock import RockBlock rb = RockBlock(uart) # try a sa...
[ "nams@nist.gov" ]
nams@nist.gov