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
02c73576a22e2045cfa08e73adc9a2e433c71c91
44a6dc69b811a5178597b4a87ae5299f19daed49
/Hackerrank/Numpy/Zeros and Ones.py
5726c78e10f40ba76fd84b8029cb357381105343
[]
no_license
gabopotestades/python_mini_projects
0531f5183cc845df029f5aec3be9c8a38bb467e2
fb346878eeadbe2171b421bdf013c074a7fda174
refs/heads/master
2023-06-23T23:05:44.110753
2021-07-17T02:10:03
2021-07-17T02:10:03
270,521,692
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
import numpy #Convert row of integer to a tuple tup = tuple(map(int, input().split())) #Print zeros and ones based on the tuple print(numpy.zeros(tup, dtype = numpy.int)) print(numpy.ones(tup, dtype = numpy.int))
[ "grpotestades@gmail.com" ]
grpotestades@gmail.com
b1947d513d3280e30c2ad6204ed27e488a5c4920
c09817490b36beaea98abc8c955904528c5cd4fd
/tests/test_0013-rntuple-anchor.py
1c3cb5a8ffd9fbacef60a0be301fe4f5ae217ce2
[ "BSD-3-Clause" ]
permissive
oshadura/uproot4
245b7e14a3341d87a9e655792c6ee912ad443586
ee535f6632d371d82b5173a43d6445c854968315
refs/heads/master
2023-08-19T13:48:23.541016
2021-09-22T23:51:52
2021-09-22T23:51:52
287,539,468
0
0
BSD-3-Clause
2020-08-14T13:29:03
2020-08-14T13:29:02
null
UTF-8
Python
false
false
3,610
py
# BSD 3-Clause License; see https://github.com/scikit-hep/uproot4/blob/main/LICENSE from __future__ import absolute_import import json import sys try: import queue except ImportError: import Queue as queue import numpy import pytest import skhep_testdata import uproot def test(): filename = skhep_tes...
[ "noreply@github.com" ]
noreply@github.com
45119b2bfb441e6442a560c850e77270bbf09204
3b96724c917b3cbbf39a03b42a0c3570cd3714c0
/lsstetc.py
8ea7790fcc4440ab82fa13614169f62c758a1a7b
[]
no_license
wadawson/LSST_ETC
44b24737a0515b7d76d74f068c21a66e1ac7f3e6
b893ad6c8c162b2b784b67e5e2a6de05cfb1c75b
refs/heads/master
2020-07-26T04:42:54.654982
2015-08-24T23:05:09
2015-08-24T23:05:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,640
py
"""An exposure time calculator for LSST. Uses GalSim to draw a galaxy with specified magnitude, shape, etc, and then uses the same image as the optimal weight function. Derived from D. Kirkby's notes on deblending. """ import numpy as np import galsim # Some constants # -------------- # # LSST effective area in me...
[ "jmeyers314@gmail.com" ]
jmeyers314@gmail.com
65b8d8ed7bd4e444226108ac50b79302b57298ba
0a84909b7987a7bcc842f5eba9f0dd399dde9e12
/LC_821_easy_but_did_in_On.py
22d576073e3bafc406fcd922b79856cd9e3f73a2
[]
no_license
mpesek4/LeetCode_med_hard_practice
b3bf986fea659fbbab772701e34c7280dc1ec9cd
85104d13ce684e2c48fd6b174154f208f8825d5a
refs/heads/main
2022-12-24T07:46:51.740084
2020-10-06T01:00:00
2020-10-06T01:00:00
297,446,849
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
#https://leetcode.com/problems/shortest-distance-to-a-character/solution/ def shortestToChar(S, C): def binarySearch(myArr,val): l = 0 r = len(myArr) oneBefore = -1 while l < r: m = (l+r) // 2 if myArr[m] > val: r = m els...
[ "pesekm@dupage.edu" ]
pesekm@dupage.edu
4c0d24e4899cef4d0b65d73aa2aadd5eccbd352e
1577e1cf4e89584a125cffb855ca50a9654c6d55
/pyobjc/pyobjc/pyobjc-framework-LaunchServices-2.5.1/setup.py
69e9ac501f5f908146c2de98a08b37554caf8233
[ "MIT" ]
permissive
apple-open-source/macos
a4188b5c2ef113d90281d03cd1b14e5ee52ebffb
2d2b15f13487673de33297e49f00ef94af743a9a
refs/heads/master
2023-08-01T11:03:26.870408
2023-03-27T00:00:00
2023-03-27T00:00:00
180,595,052
124
24
null
2022-12-27T14:54:09
2019-04-10T14:06:23
null
UTF-8
Python
false
false
1,339
py
''' Wrappers for the "LaunchServices" framework on MacOSX. The API's in this framework enable applications to open other applictions or their document files, simularly to how the Dock or Finder do that. A number of tasks that can be implemented using this framework: * Launch or activate applications * Open documen...
[ "opensource@apple.com" ]
opensource@apple.com
49127c9d5ec63cf0edbb76c8518ef71b738cb115
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03282/s807999610.py
ae207e71f6f810f99b64ea485d43701412aa2740
[]
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
261
py
import sys input = sys.stdin.readline def main(): S = input().rstrip() K = int(input()) ans = 1 for k in range(K): if S[k] != "1": ans = int(S[k]) break print(ans) if __name__ == "__main__": main()
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
86a7eccb3ab0a094a3ddf924c656f167236d265e
a0886d451948f51f74f44c39deda8b223b2c51aa
/src/classifiers/stream_classifier.py
668816b5b2398017f6d5f3db46d696f2260363c2
[]
no_license
kykamath/twitter_classifier
651b26e8c6f015afa8aeb6f4ba8061da01d36d4d
50b00978b1478af427b19aff81c956fbd1ae83fa
refs/heads/master
2020-04-29T10:43:43.814202
2011-04-22T00:22:04
2011-04-22T00:22:04
1,498,408
0
0
null
null
null
null
UTF-8
Python
false
false
9,183
py
''' Created on Apr 17, 2011 @author: kykamath ''' import sys, math sys.path.append('../') from datasets import DataDirection, DocumentType, TweetType from utilities import Utilities from settings import Settings from datetime import datetime, timedelta from collections import defaultdict from operator import itemgette...
[ "krishna.kamath@gmail.com" ]
krishna.kamath@gmail.com
6a11cd0704d373ae0318e5fa1158159b20680a53
a8cc803141367d5d3f01ab692c8ceb6dfa6089a2
/Python/FileErrorHanding.py
44b8da680cd3fad51c5643c67426e601b00d90bf
[]
no_license
LiangChen0323/DevOps-learning-notes
4a9bed57ef68721f7be8fb1cc9918db0686adbac
e51e26b9d63c7fac1a5a7eba26e14a1b13444747
refs/heads/master
2020-11-25T01:32:25.314962
2020-06-11T16:30:08
2020-06-11T16:30:08
228,430,947
0
1
null
null
null
null
UTF-8
Python
false
false
571
py
#!/usr/bin/env python3.8 import argparse parser = argparse.ArgumentParser(description="File Reader") parser.add_argument("file_name", help="the file to read") parser.add_argument("line_number", type=int, help="the line to print from the file") args = parser.parse_args() try: lines = open(arg...
[ "chenliang323@hotmail.com" ]
chenliang323@hotmail.com
24a0056b1406982c6f2fc1a67f1f58a5e2604b6a
615f3460aec05967e1d6ebc151b0c1c368d4d827
/assignment2.py
5828f54b53e1757287a4b705fa740231fc81f0b0
[]
no_license
bonnya15/Bag-of-Words
c012991b934e6c303c91e267f414c30401fd3e50
33867d4fcb79055c604599dccc8af35e0fe11636
refs/heads/main
2023-06-23T01:39:03.958427
2021-07-15T05:04:26
2021-07-15T05:04:26
385,292,478
0
0
null
null
null
null
UTF-8
Python
false
false
3,542
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sat Jul 3 14:37:00 2021 @author: sumanroy & Shiuli Subhra Ghosh """ from collections import defaultdict import random import numpy as np import pandas as pd import scipy.sparse as ss from sklearn.metrics import pairwise_distances import matplotlib.pyplot ...
[ "noreply@github.com" ]
noreply@github.com
d09cddfba732d2b6032cde278733a7f46a415846
a184ffbb1b79c0bf3ecf8b5a7da83d322ee35c07
/alias/kjoball
29eb28762eeff1d40eff3552fd5d92e5f6771023
[]
no_license
zyang03/sep_scripts
f7ae6738c959276b90fde6f5842003c216251d5e
f74c7b9686bbb9cd93616357a6859631a13ce323
refs/heads/master
2016-09-05T13:43:17.797308
2015-06-19T21:04:48
2015-06-19T21:04:48
27,153,625
0
0
null
null
null
null
UTF-8
Python
false
false
708
#!/usr/bin/python import sys,re,os,string import commands import os ## This program implements the following aliases #alias kjoball "qstat | grep zyang03 | gawk '{print $1}' | xargs qdel" prefix = None user = os.environ['USER'] if len(sys.argv) >= 2: prefix = sys.argv[1] if prefix is None: cmd1 = "qstat | grep %s ...
[ "zyang03@gmail.com" ]
zyang03@gmail.com
00f7e48f26ccbff5fc6938d1b5f2dd403b2806bb
b346530b455135b224470511061cffcffa6274b5
/pypesto/result/predict.py
67fb95b50ac197cade10c8b3f91f9a33d34c6a7f
[ "BSD-3-Clause" ]
permissive
ICB-DCM/pyPESTO
cd3ac5c26be0648c77a409d012a6321ade968d5d
9a754573a7b77d30d5dc1f67a8dc1be6c29f1640
refs/heads/main
2023-09-03T19:34:55.581478
2023-06-29T09:22:57
2023-06-29T09:22:57
142,321,950
174
48
BSD-3-Clause
2023-09-14T14:59:50
2018-07-25T15:51:29
Python
UTF-8
Python
false
false
12,223
py
"""PredictionResult and PredictionConditionResult.""" import os from pathlib import Path from time import time from typing import Dict, Sequence, Union from warnings import warn import h5py import numpy as np import pandas as pd from ..C import ( CONDITION_IDS, CSV, OUTPUT, OUTPUT_IDS, OUTPUT_SEN...
[ "noreply@github.com" ]
noreply@github.com
2ba1a3b3c29fa6e3f7d79aeb1519606c031c4b7d
a9a6b09c53e77c996f552bf48b4625d280044905
/utils/annotation.py
f5b8223213824777c1f9d9d9bf62656f9cc1d7a8
[]
no_license
yanqinghao/AiLab-detectron2
8f8f98ae0f3183102c9b9421a4f314c549d5a2d1
05d6016ae3f8c397d08eba485b97fd2a25848f3c
refs/heads/master
2022-11-23T23:21:47.686819
2020-04-09T02:25:24
2020-04-09T02:25:24
229,718,014
0
0
null
2022-11-22T04:19:49
2019-12-23T09:17:00
Jupyter Notebook
UTF-8
Python
false
false
1,431
py
import os import itertools import numpy as np from suanpan.utils import image, json from detectron2.structures import BoxMode def get_balloon_dicts(img_dir, json_file): """ Parsing via json """ imgs_anns = json.load(json_file) dataset_dicts = [] imagefile = [i.split(".jpg")[0] + ".jpg" for i ...
[ "woshiyanqinghao@gmail.com" ]
woshiyanqinghao@gmail.com
fda72b8c00fbe56089e69e878bc92dd0b2d869cf
8a9c26468d352f52e2773ee3d7f97fae25a9f4f2
/example/geo_example.py
81095e70b182653736e08b698dc9065e7b9ab480
[ "MIT", "Apache-2.0" ]
permissive
Watemlifts/pyecharts
76b301a0013cf628e22581b10bfba94e600ba788
42c9af85877c812449ad8d3aa942135e95468714
refs/heads/master
2022-01-04T04:18:40.615309
2019-07-02T18:49:02
2019-07-02T18:49:02
194,917,624
1
0
MIT
2021-12-30T19:54:49
2019-07-02T18:44:50
Python
UTF-8
Python
false
false
4,238
py
from example.commons import Collector, Faker from pyecharts import options as opts from pyecharts.charts import Geo, Page from pyecharts.globals import ChartType, SymbolType C = Collector() @C.funcs def geo_base() -> Geo: c = ( Geo() .add_schema(maptype="china") .add("geo", [list(z) for z...
[ "chenjiandongx@qq.com" ]
chenjiandongx@qq.com
2c6e97cf20d70632370bfb274ef0adba94b88ba3
bc3f05b73c304b16d04400238859866c52e7c52a
/visualisation.py
b1dad6593f146aafa0bb85177679c6af1b265ba0
[]
no_license
angus-101/diffractive-lightsails
4ece691c109c138510bb3b12053c78efe71cd9c7
08f2c712a75fb46317eca047dae2bf1608ce46df
refs/heads/main
2023-06-12T19:18:29.877474
2021-07-03T13:48:15
2021-07-03T13:48:15
381,716,905
0
0
null
null
null
null
UTF-8
Python
false
false
2,088
py
""" This program allows the user to view an optimised grid. """ from matplotlib import pyplot as plt import numpy as np from addaSeq_force_scoop import calculate_force_on_sample from itertools import chain from symmetric_adapters import half_to_fullH def visualise_grid(arr): fig, ax = plt.subplots(figsize=(10, 1...
[ "noreply@github.com" ]
noreply@github.com
e2fb1c3d5bc361a3e325f532bbc451d36cff636a
da29f1f5b4459fbfec968bb694bedb9586f87b14
/new_algs/Sequence+algorithms/Selection+algorithm/cmd_test.py
3ddfb17e55983232b9aa2709af1bedd5b4f12fc2
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
coolsnake/JupyterNotebook
547806a45a663f090f313dc3e70f779ad9b213c0
20d8df6172906337f81583dabb841d66b8f31857
refs/heads/master
2023-01-13T18:55:38.615312
2020-11-17T22:55:12
2020-11-17T22:55:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,549
py
# -*- coding: utf-8 -*- """ Created on Mon Nov 12 10:11:34 2018 @author: Casey file to test command line stuff """ import sys #sys.path.append(C:\\Users\\Casey\\Anaconda3\\Lib\\site-packages;C:\\Users\\Casey\\Anaconda3\\Library\\bin;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;...
[ "chenqh@uci.edu" ]
chenqh@uci.edu
9ebcbff7a301e657005fc379f015726ba54d8d8b
7b7fce49252354d34c46fdb606b714f3431b7080
/lambda_functions/photo_upload_processor/lambda_function.py
d29a876bb6256f3ef32f77da71e9e2ca3bf6e16a
[]
no_license
peteandrew/photo-archive-new
b2afbd4e1d1be499357dfc120e6ce8190028ed33
c01d4f2aaaa6af816acfbdf904f59dd2723708b4
refs/heads/main
2023-07-02T22:06:53.562141
2023-06-21T21:33:01
2023-06-21T21:33:01
370,429,423
0
0
null
null
null
null
UTF-8
Python
false
false
7,319
py
from datetime import datetime, time from urllib.parse import unquote_plus import boto3 import json import uuid from PIL import Image, ImageOps from PIL.ExifTags import TAGS rds_client = boto3.client('rds-data') s3_client = boto3.client( 's3', region_name='eu-west-2' ) cluster_arn = 'arn:aws:rds:eu-west-2:3065...
[ "peteandrew101@gmail.com" ]
peteandrew101@gmail.com
c9cc5932689e5a2b1c7a58ee4daecdf3014f4cdf
318a1e50bfa332181b118163a8c62604d7aabbd7
/tedygram/users/serializers.py
21d088d3089cb8504d1d59eb37f2dc146be9cde2
[ "MIT" ]
permissive
wooheet/tedygram
7c0ba14e4f47cbf8f2dd4a5724452c0f7421c940
481c5d1fd44f12cf9f5c62e0f12dd3f80c0c1de4
refs/heads/master
2020-03-22T07:05:37.483433
2018-07-04T07:45:03
2018-07-04T07:45:03
139,677,590
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
from rest_framework import serializers from . import models from tedygram.images import serializers as images_serializers class UserProfileSerializer(serializers.ModelSerializer): images = images_serializers.CountImageSerializer(many=True, read_only=True) post_count = serializers.ReadOnlyField() follower...
[ "tedy@r2v.io" ]
tedy@r2v.io
f51cd9d3c71fecfdf103f0f0c6d3f9b6617b3420
d8545634c3abe45e86453b4130a4393d9bb07bbb
/tests/test_matching.py
b1bdbb738153b0a3d6391f9f14574b7cadc6f122
[ "MIT" ]
permissive
heptaliane/RankingAnnotator
07d076eb56b94931f117ec3d7a1b7250b7a67457
2d8e7f1f64f29a17416d71eafff9f787a0b9cad2
refs/heads/master
2023-07-09T20:29:55.616883
2021-07-25T12:37:39
2021-07-25T12:37:39
389,339,059
1
0
null
null
null
null
UTF-8
Python
false
false
3,321
py
# -*- coding: utf-8 -*- import os import shutil from unittest import TestCase import tempfile import numpy as np from server.db import RatedMatchResultDBController from server.comparator import RatedMatchComparator from server.match_result import MatchResult from server import matching class TestMatchingGenerator(T...
[ "heptaliane@gmail.com" ]
heptaliane@gmail.com
b0b2d646e0da85e1252012bdb744b3cc410bbd8f
687a3cc0e531d77e91fbdb27ace757197bc287e3
/test/dist_utils.py
476e7cecc2456da911283791382cf69d9a887ea7
[ "BSD-3-Clause", "LicenseRef-scancode-generic-cla", "Apache-2.0", "BSD-2-Clause" ]
permissive
aporter1350/pytorch
b4871331e0a225c0cd028bd176e9ebb5ee730921
bb1d9b238dbda5da1ba7b65953558fd2deea1f00
refs/heads/master
2020-09-13T15:18:00.562350
2019-11-20T01:21:34
2019-11-20T01:24:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,929
py
from __future__ import absolute_import, division, print_function, unicode_literals import threading from functools import partial, wraps from os import getenv import torch.distributed as dist import torch.distributed.rpc as rpc if not dist.is_available(): print("c10d not available, skipping tests") sys.exit...
[ "facebook-github-bot@users.noreply.github.com" ]
facebook-github-bot@users.noreply.github.com
87e3b4fb850b4f564436abec46bb3feb44d9a026
58b0cf1104925f9a97f72b6555896009c53330a0
/proj/migrations/0008_auto_20210129_1633.py
aa62d9e00ba94d498c2c2b7c8596cc8d6c15a2b5
[]
no_license
Saurabh057/Comprehensive-Healthcare-System
fc0b047aa3b7eef3b8ce4f0148f33c91b53926e6
79943017c1956f0183a1904f89df6fdf7a0dc7b3
refs/heads/master
2023-05-25T04:10:39.250114
2021-06-08T04:13:03
2021-06-08T04:13:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
380
py
# Generated by Django 2.2 on 2021-01-29 16:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('proj', '0007_auto_20210129_1615'), ] operations = [ migrations.AlterField( model_name='record', name='rdate', ...
[ "saurabhgore38@gmail.com" ]
saurabhgore38@gmail.com
7cd609b5fe765e328bf48a8e5f12beba946fbe01
568ee7298bcfcfd048cb650ace231779fe91f5c4
/stashandlers.py
de0ce27630ea1d186e518648a24a5cde8078d740
[]
no_license
btarbox/premierleague
c7a05981266e30ebe18a9309bc487a54e546f9e1
340ee71d53c841eefb4463e0b03a90e98a5b36e9
refs/heads/master
2021-08-07T11:28:12.657281
2021-07-26T18:32:28
2021-07-26T18:32:28
100,179,674
2
0
null
null
null
null
UTF-8
Python
false
false
18,577
py
from ask_sdk_core.skill_builder import SkillBuilder from ask_sdk_core.dispatch_components import ( AbstractRequestHandler, AbstractExceptionHandler, AbstractRequestInterceptor, AbstractResponseInterceptor) from ask_sdk_core.utils import is_request_type, is_intent_name, get_intent_name, get_slot, get_slot_value ...
[ "tarbox@cabotresearch.com" ]
tarbox@cabotresearch.com
8f2572e9cab1c24d6342ef82dfdc60c238a5be29
03777f3221ccbb47158d61e6c8fd5db3f57389a6
/ReX 1.py
373fd8b5c89c17ea5a4e51ce1155087ebb7c682d
[]
no_license
Bittu1511/Python-Programs
d912792275b41a7d314fb0a5560b60e82c328908
7ad344d58d4141e82b960cec3296854a1b1c9c31
refs/heads/main
2023-08-29T08:43:44.617590
2021-10-07T17:52:33
2021-10-07T17:52:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
745
py
import re print(re.match('ca*t', 'caatica')) line = "welcome to python session" c = re.compile(".*to") # converting to object res = re.findall(c, line) # starting with anything, ending with 'to' print(res) d = re.compile(".*t.o") rs = re.findall(d, line) # there is one char...
[ "noreply@github.com" ]
noreply@github.com
c5cbe8689607f382fc02a3b109552a94ad2efc86
694832900728bc843113da521135567b12336029
/XJTU/最大子数组和.py
6134dc29c0f9fcd852353fbd0e75004a1f3f77d9
[]
no_license
earsonlau/westworld
42b47804d1af18325e7c7785663e57805787bce4
60b1618f999d713d97514b9e512f70a53b46a2c8
refs/heads/master
2023-08-05T05:53:00.476355
2023-08-01T11:27:15
2023-08-01T11:27:15
255,011,853
0
0
null
null
null
null
UTF-8
Python
false
false
401
py
def maxsum(arr): if len(arr) == 0: return 0 max_ = float('-inf')#负责记录cur更新后最大的值。初值为无穷小 cur = 0#cur记录累加和 for i in range(len(arr)): cur += arr[i] max_ = max(max_,cur) #如果cur是负的,清零 大于零的话不变 cur = 0 if cur < 0 else cur return max_ print(maxsum([1,2,3,4,5,-2,-30,10,...
[ "earsonlau@gmail.com" ]
earsonlau@gmail.com
0cf95f6e811eca6da922c27416beebd819534e5c
596e92d0d484b6e7eee6d322e72e52748fdeaa5d
/sportsdata/nhl_projections/models/nhl_projections_penalty.py
8466f7094f77192feb77a587001c870ba09a7517
[]
no_license
scottypate/sportsdata
f5f61ddc7eb482883f93737c6ce73dd814ed4336
a07955ab50bf4fff1ce114ed9895095ff770c473
refs/heads/main
2023-08-18T16:51:56.452678
2021-10-22T12:44:08
2021-10-22T12:44:08
420,062,350
1
1
null
null
null
null
UTF-8
Python
false
false
13,708
py
# coding: utf-8 """ NHL v3 Projections No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import...
[ "scotty.pate@auth0.com" ]
scotty.pate@auth0.com
0d1e16947d759b3a86f9d0461dc5a4775d876ad9
5b06cdf17eca8287c35da4caa2dd4ee1cbee5cbf
/tests/__init__.py
ebd8b01af61dd5c6fae04cfe6d8959b2b1e370e4
[ "MIT" ]
permissive
mag415/python-sensor
04b295775f2b2cc15475144052b8a5e9487c44d3
d10d05ef3a1751b9db4f0bffdc299167f08fabe5
refs/heads/master
2020-03-18T15:06:30.186098
2018-05-25T17:52:06
2018-05-25T17:52:06
134,887,499
0
0
null
2018-05-25T17:45:47
2018-05-25T17:45:47
null
UTF-8
Python
false
false
462
py
from __future__ import absolute_import import os import time import threading from .apps.flaskalino import app as flaskalino os.environ["INSTANA_TEST"] = "true" # Spawn our background Flask app that the tests will throw # requests at. Don't continue until the test app is fully # up and running. timer = threading.Thre...
[ "pglombardo@gmail.com" ]
pglombardo@gmail.com
461995d8b8c1ba078ab4525206cc0aaaf598b1cb
b5de0ccacde443737317e3dce5b93014c211be34
/python.tutorial/src/Iterator.py
68b2dded6e760ff003e3dfa65fdb38b01faf816b
[]
no_license
mariusneo/python
088502c8cf86c0fa7f7e461b308588310311844f
1f0ff3dcd5ff70a59cf94fec664681e005cfaaef
refs/heads/master
2020-06-01T02:31:29.335164
2013-10-18T20:22:24
2013-10-18T20:22:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
s = 'abc' it = iter(s) print(it.next()) print(it.next()) print(it.next()) print(it.next()) # this method call will raise an StopIteration error
[ "mariusneo@gmail.com" ]
mariusneo@gmail.com
f7c1cbc644d3e59921dd9e11301275742861900b
fc0a86753ac3d7dcb6c7403a3c44f76244d60a8f
/Class_Modules/ANN_Regression.py
d20a8097e2145e7d058dfdf13708a66b7aa56428
[]
no_license
y34ren/Data_Sciences-Python-
be9509e416502b972919311305a653974b1fa883
0fcda6e9e5c6979018e5a8147dd38e872adf29ff
refs/heads/master
2020-04-23T04:14:31.125163
2019-03-08T16:15:52
2019-03-08T16:15:52
170,902,594
1
0
null
null
null
null
UTF-8
Python
false
false
7,007
py
import numpy as np import matplotlib.pyplot as plt import pandas as pd get_ipython().run_line_magic('matplotlib', 'inline') def sigmoid(H): return 1/(1 + np.exp(-H)) def ReLU(h): return h*(h>0) def tanh(h): return np.tanh(h) def D_ReLU(z): return (z > 0) def D_sigmoid(z): return z*(1-z) def D...
[ "noreply@github.com" ]
noreply@github.com
ba22a7e1da692e2959deb22fe7b3256cdc9c0031
4dfd5d272e7763556770b7e406dfc60f4baf2160
/scraper.py
54fdf098276e942ad16f2207d8daba479329c3fc
[ "Unlicense" ]
permissive
gorkemmeral/autotrader-scraper
58af65db3f419a245300f85670c0036371bbe0d4
fc798bb519f4bbccbc9692bbb711b7740766a8ab
refs/heads/master
2020-05-15T02:54:08.034392
2018-11-12T21:20:55
2018-11-12T21:20:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,272
py
#!/usr/bin/python # Will take a list of autotrader ad page IDs and scrape useful data from them, # outputting in .csv format. The scraper function itself can be found in ff1.py # Takes three arugments, in order: # 1. an input file name (containing a pickled list of ad IDs) # 2. an output file name # 3. an optional ...
[ "liudvikas.akelis@gmail.com" ]
liudvikas.akelis@gmail.com
5648aac33570ad9b8a37e766c09a6bf0f2449f3d
ed11f664cbc459c7a4456dd58f2b231edcb22f33
/ctm_saas_client/models/variable_names.py
6dd582aa1ba63cf9a8ffd6bc9cc44f1eac2484e0
[ "BSD-3-Clause" ]
permissive
jpmc216/ctm_python_client
c8b8ba60580bf869b3d1e6af9b99737e0a7ea527
de44e5012214ec42bb99b7f9b4ebc5394cd14328
refs/heads/main
2023-08-26T22:06:34.022576
2021-10-25T13:41:31
2021-10-25T13:41:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,614
py
# coding: utf-8 """ Control-M Services Provides access to BMC Control-M Services # noqa: E501 OpenAPI spec version: 9.20.30 Contact: customer_support@bmc.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six from ctm_saas_cl...
[ "cmoraes@bmc.com" ]
cmoraes@bmc.com
402b8fc90fa4576207d5915babddcfcc3089189c
79e940b74c6914568f70584ab64094aaf0d18c37
/area_between_curves.py
275589e334f51955cc41619e2b111fafd4c5662d
[]
no_license
justinoberle/stockPredictions
28f139491436cec3aa90a98344d28f85a39ca7bc
4ef504bbee5ef60b33afe19c1bbc653b1c1942e7
refs/heads/master
2023-04-16T01:55:27.934423
2021-04-23T21:27:58
2021-04-23T21:27:58
361,008,257
0
0
null
null
null
null
UTF-8
Python
false
false
3,647
py
# -*- coding: utf-8 -*- """ Created on Thu Mar 25 17:21:32 2021 @author: justinoberle """ import numpy as np from scipy import integrate from matplotlib import pyplot as plt x = [1,2,3,4,5,6,7,8,9,10] y1 = [1,2,3,4,5,6,7,8,9,10] y2 = [2,1,2,4,1,5,7,3,12,15] def best_fit_slope_and_intercept(xs,ys): m = (((np.mean...
[ "justinoberle@hotmail.com" ]
justinoberle@hotmail.com
e5d323d8c1600cbe6084b699f4ad2b6e07e1d5b5
fbc2678b5de0c14a6e417c01168e35a4bb8fe91a
/src/translator/setup.py
0a3ffc75982ea00c0aa3b59065c56b3726b86356
[]
no_license
Kotaimen/sam-lambda-edge-translator
16dbfbe7a30eb6b3d1369ce7c297273c2f33cbbb
cb95d616d5891a22b43b86f8daf2da240c118e68
refs/heads/master
2022-12-10T18:17:41.057907
2020-02-14T15:13:43
2020-02-14T15:13:43
240,535,647
0
0
null
2022-12-08T03:36:50
2020-02-14T15:11:43
Python
UTF-8
Python
false
false
270
py
from setuptools import setup, find_packages setup( name="translator", version="1.0", packages=find_packages(exclude=["tests.*", "tests"]), include_package_data=True, package_data={ # 'package': ['filename'] }, install_requires=[], )
[ "kotaimen.c@gmail.com" ]
kotaimen.c@gmail.com
d91bc0db5f2379799c817125ffb8dd2f36f295e9
b81668a2cc43654cf6a3ed952d781310876838f9
/venv/Lib/site-packages/spacy/tests/regression/test_issue4924.py
b240f6d4a49a39413e8609221ea61fab8295918d
[]
no_license
gowthamr1999/docbot-1
6a8b873407f15035fb8b30b69ed66ded343bd1e4
3119958d68e95673b4c9187d58d8cad5c18a6b2c
refs/heads/master
2023-04-07T02:16:55.574750
2021-04-16T02:52:38
2021-04-16T02:52:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
import pytest from spacy.language import Language def test_issue4924(): nlp = Language() docs_golds = [("", {})] nlp.evaluate(docs_golds)
[ "42891786+kiranm211@users.noreply.github.com" ]
42891786+kiranm211@users.noreply.github.com
61e32180d6d7b170b5d2494c5b28492fd3d46e04
31572f880424a2d18bdf0c4846f4d1cc4f0cebe9
/Python_Challenge/PythonChallengeLevel_07.py
fcafc3a94c3ddd2931569fce0ca2143e7123af96
[]
no_license
fuxicoder/mepythonchallenge
e4ff3fb8d1dd14b75c1ba91ca4b8eaabfead6013
ce65a68174e3b2c0f61c1ae29dc46aca08f120f2
refs/heads/master
2021-01-18T23:08:20.203504
2016-10-31T13:08:08
2016-10-31T13:08:08
12,640,897
0
0
null
null
null
null
UTF-8
Python
false
false
590
py
import sys import string import urllib2 from xml.dom import minidom import webbrowser as wb import re import Image if __name__ == '__main__': f = open("oxygen.png", 'wb') f.write(urllib2.urlopen('http://www.pythonchallenge.com/pc/def/oxygen.png').read()) f.close() i = Image.open('oxygen.png') ...
[ "fuxicoder@gmail.com" ]
fuxicoder@gmail.com
f0bc1f5d3eaba5d03fdf3717b4edf8d85c9cf035
3649dce8b44c72bbfee56adf4e29ca6c5ba2703a
/code_up2721.py
95431018d2d23835e6f09154a0044a6cddea5ccd
[]
no_license
beOk91/code_up
03c7aca76e955e3a59d797299749e7fc2457f24a
ca1042ce216cc0a80e9b3d3ad363bc29c4ed7690
refs/heads/master
2022-12-06T08:23:00.788315
2020-08-20T11:21:59
2020-08-20T11:21:59
284,844,571
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
num1=input() num2=input() num3=input() if num1[len(num1)-1]==num2[0]: if num2[len(num2)-1]==num3[0]: if num3[len(num3)-1]==num1[0]: print("good") else: print("bad") else: print("bad") else: print("bad")
[ "be_ok91@naver.com" ]
be_ok91@naver.com
5d45bfbc4766a6d6ed0e03e7ff26676d5597b454
506fcf32c755ef3eb79c0369cdb76c106c4b7a55
/timeseries/utils.py
d556e29dc7dc5ad687beb938735b252739fe125e
[]
no_license
mindis/mynlp
42a1d40df060406dc17ed35f3d0ee7855209e14b
d470e96935cd47b69c76b273b70aeb07d460b08d
refs/heads/master
2020-08-07T11:37:13.576679
2019-10-07T07:18:45
2019-10-07T07:18:45
213,434,660
0
1
null
2019-10-07T16:37:12
2019-10-07T16:37:12
null
UTF-8
Python
false
false
29,990
py
from dbmanager import SqlManager import numpy as np import pandas as pd import matplotlib.pyplot as plt from collections import OrderedDict def normalize(arr_x, eps=1e-6, M=None): if M is None: return (arr_x - np.mean(arr_x, axis=0)) / (np.std(arr_x, axis=0) + eps) else: # return (arr_x - np...
[ "ainklain@gmail.com" ]
ainklain@gmail.com
e82e1ec4abd7b2511f9bc6f9811f5abd4ce52754
abebd304a9bc3ff1b90db09eba66c003f51a74d5
/query_correct/preprocess/dump_data.py
4641794b757131a3b6159b2970ca10e02cf5a22c
[]
no_license
jiakechong1991/search
817715c58a1b117d177a7b49f443cb2411ee3c6f
86c644e9d26f2eba25d4cf50821ffcc8e14e7953
refs/heads/master
2021-04-15T17:42:01.074581
2018-04-10T14:04:17
2018-04-10T14:04:17
126,668,534
0
0
null
null
null
null
UTF-8
Python
false
false
9,648
py
# coding: utf8 import argparse import codecs from collections import defaultdict import contextlib import logging import math import os import re import sys import MySQLdb import MySQLdb.cursors sys.path.append(os.path.dirname(os.path.split(os.path.realpath(__file__))[0])) from config.conf import INPUT_MIN_LEN, INPUT_...
[ "wangxiaoke@xuetangx.com" ]
wangxiaoke@xuetangx.com
72cda69880f0415d537961d3cb1e2f764f2184c0
6113c356eb4fae7bfb04c4bd2b121f130ef41a14
/newsletter/admin.py
e2447cdb057b2670709b9242ebea96b37c3b3d98
[]
no_license
slonidet/avcsite
4e8950296551e80003a5f76b934a043b8fd2f02e
8034a75bbe8f2e2973761502413df76e918e1c2b
refs/heads/master
2020-06-17T19:37:43.085881
2016-11-29T14:40:03
2016-11-29T14:40:03
74,976,059
0
0
null
null
null
null
UTF-8
Python
false
false
2,796
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from .models import NewsLetter, NewsImages,PressReleases,PressImages, Rubrics from regionsmap.models import Centers class ImagesInline(admin.TabularInline): model = NewsImages extra = 3 class PressInline(admin....
[ "dmitrysulin@gmail.com" ]
dmitrysulin@gmail.com
dd3b875e497cb8af4bc993231815e1168b7d3c99
aadab8b9d84f04b493fa8dbf73c4f1d617096868
/testos.py
ffefeca75bcceda7052137d9ad4f358dd2b31772
[]
no_license
zkesong/python-learn
596f49b2383ba684a9cc8e727d080d3119db6b07
03883230d4ae7a743e9f8cc5d03386337397f108
refs/heads/master
2021-04-03T07:41:23.832561
2018-03-08T09:12:11
2018-03-08T09:12:11
124,366,001
1
0
null
null
null
null
UTF-8
Python
false
false
678
py
import os import sys print sys.argv[3] print os.getcwd() file_list = os.listdir(os.getcwd()) for _file in file_list: if os.path.isdir(_file): print os.path.join(os.getcwd(), _file) print os.path.exists(_file) print os.path.dirname(os.path.join(os.getcwd(), _file)) print os.path.b...
[ "kslive@yeah.net" ]
kslive@yeah.net
ceb331d330f6a9d06d9ce365d0b166bf6ebae010
5d442d79083932540ea54c244121f00a31d0c927
/SSD.py
319b92e03e256f109a848fb10ee02cd9ad8e1d7f
[ "BSD-3-Clause" ]
permissive
glm-nchaverou/fast-n-deep-faces
40e20c0e83edc3a436a3e7edd9d368e744015e79
53173c6367dfa3a20d3193ad7a0e77ac1e898f02
refs/heads/master
2022-11-13T05:38:07.275685
2020-07-01T07:19:37
2020-07-01T07:19:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,242
py
import numpy as np from scipy.cluster.vq import vq, kmeans, whiten from scipy.optimize import lsq_linear import tqdm limit = 1000 def rigidRegister(source, target): # Normalize the data v = target p = source pMean = np.mean(p,0) vMean = np.mean(v,0) pp = p - pMean vp = v - vMean # Co...
[ "stephenba@unity3d.com" ]
stephenba@unity3d.com
c0395ae8c764be3538ff42329cb0ec8ce6c29320
24a93572d20a9f3d94e323777dbd4302932e6f0f
/synapse/rest/media/v1/preview_html.py
872a9e72e818b9f43df8482cb0cf2bf96220321c
[ "Apache-2.0" ]
permissive
NeatNerdPrime/synapse
5cd7b026fbf6d4841600c15f85dbcae42dfa9d9d
b1989ced00cc0bc6214bfd1a393c7e8f8eda660c
refs/heads/master
2023-08-31T09:18:29.266081
2022-03-08T14:01:19
2022-03-08T14:01:19
240,707,714
0
0
Apache-2.0
2022-03-17T19:05:13
2020-02-15T12:34:23
Python
UTF-8
Python
false
false
14,831
py
# Copyright 2021 The Matrix.org Foundation C.I.C. # # 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 a...
[ "noreply@github.com" ]
noreply@github.com
1ed60f9252273190dc2ae761c31c29fd7da5dc93
d874048473d42cb8c846b8cd53eb7aff22fe96ec
/compecon/basis.py
1ac5173a1bb34eca4ec756341f2886ccbad03932
[ "MIT" ]
permissive
lizzyhuang/econ457
4cbb225a9bcfb9e0a0c4a04011ec18b10f16c880
3af39af7da0b5a62fec39f022b82a42d139998cf
refs/heads/master
2021-07-18T00:00:24.083879
2017-10-27T16:20:04
2017-10-27T16:20:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
39,395
py
from warnings import warn import numpy as np import scipy as sp from .tools import gridmake, Options_Container import matplotlib.pyplot as plt from functools import reduce from scipy.sparse import csc_matrix import copy __author__ = 'Randall' class Basis(object): """ A class for function interpolation. The ...
[ "jonduan@uvic.ca" ]
jonduan@uvic.ca
ae63668d9212c97b5eb6adf0a4662f59a12ee722
153552aed184e2746490e148d11e0b0b09bd11a0
/0x11-python-network_1/7-error_code.py
6edac04c04e0e609b209579daf2669ed3d5fdd69
[]
no_license
Naveduran/holbertonschool-higher_level_programming
4c9ea2d6afc7b3225a3d3d2d9321db0ac9f57014
f9553efb24018a829c2a18dd849958784edf7bf8
refs/heads/master
2023-07-18T16:22:51.159886
2021-09-23T05:23:03
2021-09-23T05:23:03
361,847,532
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
#!/usr/bin/python3 """ Error management """ if __name__ == '__main__': import requests from sys import argv r = requests.get(argv[1]) if r.status_code >= 400: print("Error code: {}".format(r.status_code)) else: print(r.text)
[ "naveduran@gmail.com" ]
naveduran@gmail.com
ec29cc8b4f10210a18b465ed303dba7026133534
c2ff3a4f2ce59348d7fb0e3ca077890554c8470f
/ComputerVision/FaceDetection.py
efb49b3dfd90fae6d3014b78aaef867adff61a61
[]
no_license
IvankoPo/Python
f50a642a39ef98da7df1529a638aa1066d4a684f
c8c960a556f6fb24cf0da979406a0f3b1eb089c8
refs/heads/master
2021-01-19T13:59:44.991688
2018-06-20T20:16:10
2018-06-20T20:16:10
100,858,625
0
0
null
null
null
null
UTF-8
Python
false
false
1,166
py
import numpy as np import cv2 # import tweepy # def twitter_api(): # consumer_key = "your consumer_key" # consumer_secret_key = "your consumer_secret_key" # access_key = "yout access_key" # access_secret_key = "your access_secret_key" # auth = tweepy.OAuthHandler(consumer_key, consumer_secret_key) #...
[ "vano99pl@mail.ru" ]
vano99pl@mail.ru
0d147e7950ed57b62991459429ec99cb93944591
e70dd2e0bf2c34d261140f916023a78c253835c3
/python_projects/project1/py35_env/bin/pyi-bindepend
1b9b68cb31d4a5f6db7158278dce5f4cda6a3062
[]
no_license
skalam02/Python
3d01968ac7775e4a36ee676cc828dc68ee495be5
fe12dece80c0a0f7fc90283a17b10579ab8357a6
refs/heads/master
2021-01-19T22:26:25.862715
2017-10-12T04:01:59
2017-10-12T04:01:59
88,815,149
0
0
null
null
null
null
UTF-8
Python
false
false
496
#!/Users/user/Desktop/python_projects/project1/py35_env/bin/python3.5 # EASY-INSTALL-ENTRY-SCRIPT: 'PyInstaller==3.3.dev0+5a152e6eb','console_scripts','pyi-bindepend' __requires__ = 'PyInstaller==3.3.dev0+5a152e6eb' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv...
[ "user@Users-MBP.fios-router.home" ]
user@Users-MBP.fios-router.home
80bfc46c2b6e7294b57b74d37dad5d316a6af238
2a68b03c923119cc747c4ffcc244477be35134bb
/Alog/class5/exercises/flattenBinaryTreeToLinkedList.py
b315f3d240e904dde339609a62533e9f065ee1b2
[]
no_license
QitaoXu/Lintcode
0bce9ae15fdd4af1cac376c0bea4465ae5ea6747
fe411a0590ada6a1a6ae1166c86c585416ac8cda
refs/heads/master
2020-04-24T20:53:27.258876
2019-09-24T23:54:59
2019-09-24T23:54:59
172,259,064
1
0
null
null
null
null
UTF-8
Python
false
false
860
py
class Solution: """ @param root: a TreeNode, the root of the binary tree @return: nothing """ def flatten(self, root): # write your code here self.helper(root) # return the last node of the subtree root satanding for when traversed inorderly def helper(self, root...
[ "xuqitao@qx-mbp.dhcp.wustl.edu" ]
xuqitao@qx-mbp.dhcp.wustl.edu
bfc9c5c6d1069c9925eefc45287d32e63063fce8
f648c5b25d4df1db47474b6ec57e0aaa6790800a
/isso/utils/__init__.py
de3be2b13161aaf9d1ce35510ad4ef9dc78c1a08
[ "MIT" ]
permissive
waytai/isso
e35959eb4fa8c23107ecdf493fd74e6869fcb5a7
6d9f43939a5a1407fe8343158493a9b30545a196
refs/heads/master
2020-04-15T09:48:46.320438
2013-11-05T13:15:16
2013-11-05T13:33:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
# -*- encoding: utf-8 -*- from __future__ import division import pkg_resources werkzeug = pkg_resources.get_distribution("werkzeug") import json import random import hashlib from string import ascii_letters, digits from werkzeug.wrappers import Request from werkzeug.exceptions import BadRequest import ipaddress ...
[ "info@posativ.org" ]
info@posativ.org
04d116431b699431f2ffb762cf1985f058617de5
5cfa1abf54cc9ad3afb63487c015cec0392c9d34
/gdbpyext/eigen.py
f89786ebd05a4fb913faa30ae529251afd7f37f9
[]
no_license
stfuchs/gdb_python
5169455a313262b8308410f7cbb91623f7cff8ca
de7eb8e8f91c2d943d4c9d6db9a0c033b170b35a
refs/heads/master
2020-04-27T09:56:00.952561
2015-03-10T18:08:08
2015-03-10T18:08:08
27,937,441
0
0
null
2016-09-15T13:46:42
2014-12-12T20:46:17
Python
UTF-8
Python
false
false
630
py
import gdb import re import numpy as np def printEig(mat): print(mat['m_storage']['m_data']['array']) def getType(mat): m = re.search("Eigen::Matrix\<(.*)\>",str(mat.type.strip_typedefs())) templates = m.group(1).split(",") templates = [ t.replace(" ","") for t in templates ] return int(templates[...
[ "st.fuchs.tr@gmail.com" ]
st.fuchs.tr@gmail.com
3f8881031718ff4b657d00629e31649b0c434605
5f88ab189ff3bb2be844d78989db152b73d99bfb
/portfolio/common/migrations/0001_initial.py
87d1aaed0d43b6460528bcd52a7c88c82fd31603
[]
no_license
vivekkant/portfolio-tracker
cacd2dc848de707e7a8543ce2d6fa348ce27e846
529fd2be79ff33e124a8e715148f680931b753c5
refs/heads/main
2023-05-11T12:18:30.894068
2023-04-27T05:16:28
2023-04-27T05:16:28
309,653,857
0
0
null
null
null
null
UTF-8
Python
false
false
5,598
py
# Generated by Django 3.1.3 on 2020-12-30 13:10 import datetime from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Account', ...
[ "vivek.kant@gmail.com" ]
vivek.kant@gmail.com
ca630ab63a475c278ea9ac110b08e4dec53ff4b6
2b6b6a1729abd9023736ab1b38704ad38b2efe59
/functions-basics-fundamentals/smallest_of_three_numbers.py
652f41b443da9a5604796547469f5331614da6ef
[]
no_license
DavidStoilkovski/python-fundamentals
27fc3381c9ec3f5a792beca8bc778dc32d6ada7a
782a2376210e9564265b17db6f610e00ffd99c9c
refs/heads/main
2023-04-03T10:39:30.762453
2021-04-13T06:51:51
2021-04-13T06:51:51
357,452,730
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
import sys num_1 = int(input()) num_2 = int(input()) num_3 = int(input()) def small(num_1, num_2, num_3): smallest_of_all = sys.maxsize if num_1 <= smallest_of_all: smallest_of_all = num_1 if num_2 <= smallest_of_all: smallest_of_all = num_2 if num_3 <= smallest_of_all: smalles...
[ "stoilkovskidavid@gmail.com" ]
stoilkovskidavid@gmail.com
e5b48d4fae648f3778ae169825a2cf0da52d007c
57d907a992eb445526c24930b6441de13d6aae0a
/2058 Find the Minimum and Maximum Number of Nodes Between Critical Points.py
0b423e8bed10a5426dddfebe47a2295695bf4d46
[]
no_license
sunnyyeti/Leetcode-solutions
9004505ed3d9d62561df3145e755c01e33d41bb2
34a78e06d493e61b21d4442747e9102abf9b319b
refs/heads/master
2023-06-24T06:29:04.948997
2023-06-17T09:43:38
2023-06-17T09:43:38
166,708,523
0
0
null
null
null
null
UTF-8
Python
false
false
3,223
py
# A critical point in a linked list is defined as either a local maxima or a local minima. # A node is a local maxima if the current node has a value strictly greater than the previous node and the next node. # A node is a local minima if the current node has a value strictly smaller than the previous node and the ne...
[ "sunnyyeti@live.com" ]
sunnyyeti@live.com
a22e10c84530fea9a9b9af34a776adfd88393a9a
bf0613505d418dddb3c78ae0d2dbc93aec8269a7
/toggle_gpio.py
51eba1457934d8e203dd135eead4de7babc98e50
[]
no_license
odelayIO/Node-Red-Sprinkler-System
f0eebaf74877e5858e3802a008f689ae84e98138
d0dcae10cc693700468210f117d177a4b53c4ffa
refs/heads/master
2022-12-21T14:13:30.027259
2022-12-16T05:51:02
2022-12-16T05:51:02
71,752,979
0
0
null
null
null
null
UTF-8
Python
false
false
3,388
py
#!/usr/bin/python ############################################################################################# ############################################################################################# # # The MIT License (MIT) # # Copyright (c) 2016 http://odelay.io # # Permission is hereby granted,...
[ "odelayIO" ]
odelayIO
6c03e68aed598d05844ef8f58ca1adcd5f989237
4aad22d3fa86a1c27b39812ca9569d3db6f8a81d
/Practice/First_Clone_Project/blog_django/blog_django/settings.py
b10be95313a0c43db0887f2f1741d3187c6a8270
[]
no_license
Harnoorsingh5/python-and-django-full-stack-web-developer-bootcamp
e555ceafb7a56753fa1052df868437c563ca8108
ac583d7fa5f8079ea80e99379c50cb92a953ae86
refs/heads/master
2021-03-10T04:31:58.468056
2020-04-20T03:49:02
2020-04-20T03:49:02
246,418,660
0
0
null
null
null
null
UTF-8
Python
false
false
3,406
py
""" Django settings for blog_django project. Generated by 'django-admin startproject' using Django 3.0.4. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import o...
[ "harnoor.singh539@gmail.com" ]
harnoor.singh539@gmail.com
8875a0fc4d5ce93a2c6a19f490222018ed729f80
3b4ee821d0ee1dd18cecbf7f4bc6654c4e110ebb
/Catkin_Workspace/build/catkin_generated/order_packages.py
824396f5b16aa786d0d6bdc1c4512cf05625fac7
[]
no_license
raquel-haro/Autonomous-Go-Kart
c41e5d34ebfb17ae53d06c3a25402728cadef57a
e1abbd753a930fb8ecdabaa79aa66a409eb8d79c
refs/heads/master
2020-04-24T12:14:14.749559
2019-02-22T16:21:01
2019-02-22T16:21:01
171,949,817
1
1
null
null
null
null
UTF-8
Python
false
false
381
py
# generated from catkin/cmake/template/order_packages.context.py.in source_root_dir = "/home/stamatis/catkin_ws/src" whitelisted_packages = "".split(';') if "" != "" else [] blacklisted_packages = "".split(';') if "" != "" else [] underlay_workspaces = "/home/stamatis/catkin_ws/devel;/opt/ros/melodic".split(';') if "/h...
[ "33016198+raquel-haro@users.noreply.github.com" ]
33016198+raquel-haro@users.noreply.github.com
96c2fb36a34595208f780b128accc7b47dc3600a
03f423b23fa7e6947f667e80c7905257a28d46e3
/try_02.py
75014db6c1aa2dbc9218f3c5e756c5f58ba3221f
[]
no_license
SongXYZ/BasePython
5eadad7f1fd42a24736992d0b94f849c20921018
a29d03c89fdf6ee962d8478260869637c6402c89
refs/heads/master
2020-03-29T09:34:12.953643
2018-12-03T03:13:04
2018-12-03T03:13:04
149,764,322
0
0
null
null
null
null
UTF-8
Python
false
false
360
py
def input_password(): pwd = input("Input password:") if len(pwd) >= 6: return pwd else: # 抛出异常 print("主动抛出异常") # 创建异常对象 ex = Exception("密码长度不够") # 主动抛出异常 raise ex try: print(input_password()) except Exception as result: print("%s" % result)
[ "2476251460@qq.com" ]
2476251460@qq.com
79e080a2c8e91a28bd2ba51ca996560b19e39cc9
a5796a873072310774aff76337c945ceffbfe9d5
/eatapp/github.py
62ee554979b319fc62291a0397a9574c9d4ff61d
[]
no_license
nurav/wt-project
16f12f58d0322508994cb26c4c206e6e3f3ff4c7
53f5f53e80353608be2e1170585a51ea86845461
refs/heads/master
2022-01-26T05:52:53.999005
2015-10-04T19:33:42
2015-10-04T19:33:42
40,537,029
0
0
null
2022-01-06T22:23:02
2015-08-11T10:57:19
HTML
UTF-8
Python
false
false
802
py
from eatapp import event, action import twitter class Action(action.Action): def get_inputs(self): return ['username', 'email'] def do(self, **inputs): print(inputs) class NewTweetAction(action.Action): def get_inputs(self): return ['username', 'email'] def do(self, **inputs): print(inputs) c...
[ "varunj.1011@gmail.com" ]
varunj.1011@gmail.com
89e5d19c55c93fbf9481f7394845ce3e5a235c4a
d15503e7b274fbee4276ce2f118a494e7b454abd
/accounts/authentication.py
431224f0905c909077da81ad1cc0c8edd744ef44
[]
no_license
gajus11/TDD
6c28b149a4d6e906d828896d0e868e09ccdb8465
49c906a72e36cc3dd2769c39cd55a02e7f21268e
refs/heads/master
2021-01-13T16:53:46.544741
2017-02-03T07:19:51
2017-02-03T07:19:51
80,036,321
0
0
null
null
null
null
UTF-8
Python
false
false
1,230
py
import requests import logging from django.conf import settings from django.contrib.auth import get_user_model PERSONA_VERIFY_URL = 'https://verifier.login.persona.org/verify' # DOMAIN = 'localhost' User = get_user_model() logger = logging.getLogger(__name__) class PersonaAuthenticationBackend(object): def auth...
[ "gajus11@gmail.com" ]
gajus11@gmail.com
b6928f01abc11eab63d54492649518c6eabf3a43
b41ac8e32fa27c4b1c15d6f007a979e6775e06ac
/data_process.py
55d884fded11721c9d5197cc33e35cd97ab0445c
[]
no_license
mingfeisun/EngagementRLfD-user-study
d3b35662adeaba263b70c87ac6ef62297858ccea
6b21eafaf4401aa6599abc6dcaf99e2b77f6200b
refs/heads/master
2021-07-06T16:55:15.137807
2020-07-21T09:30:50
2020-07-21T09:30:50
133,017,527
0
0
null
null
null
null
UTF-8
Python
false
false
2,926
py
import pandas as pd from pandas.io.json import json_normalize import json import os path = os.getcwd() + '\data' + '\\valid' index = ['uid', 'age', 'gender', 'experience'] count = 0 total_list = [] for filename in os.listdir(path): medium_list = [] root, ext = os.path.splitext(filename) if ex...
[ "iris.xia@connect.ust.hk" ]
iris.xia@connect.ust.hk
856a590f9eaddffcf86deefc8c1aaf8edc5dbde6
2fcf473d98a0ece17c111a7ee769224f494b98a5
/flask_app/app/services/get_config.py
5fe137373b7e16b7e6598c168a258fc774edcbbe
[]
no_license
crow1011/portfolio
49db0051c8debdfe6bb3462904cf011a1f61fc0f
ce327aa29f4afa15ad40c91c34ebb105501b7bc8
refs/heads/main
2023-07-25T23:51:41.449611
2021-09-11T06:29:57
2021-09-11T06:29:57
284,212,143
0
0
null
null
null
null
UTF-8
Python
false
false
313
py
import yaml import os BASEDIR = os.getcwd() conf_path = os.path.join(BASEDIR, 'conf') def get_conf(conf_name: str) -> dict : ''' Get yml configuration from conf_path ''' with open(os.path.join(conf_path, conf_name), 'r') as file: conf = yaml.load(file, Loader=yaml.FullLoader) return conf
[ "crowsmith1011@gmail.com" ]
crowsmith1011@gmail.com
226a8c7aa3e72ee052287441c1fc62d352f0d629
f92477c46722f2d037032046dd42afe07605bc9a
/20190226/example_results/plot_BAO_Hz_id_54.py
b2d313719624dfc6b94910199df886d8a88443ac
[]
no_license
xyh-cosmo/EoS_plots
28bf524423b521b5df83c37c1f6a1459909b9909
2e21f53922f79378c28608a06378e621902f7bbc
refs/heads/master
2020-04-22T03:59:18.281407
2019-07-25T02:47:06
2019-07-25T02:47:06
170,107,614
0
0
null
null
null
null
UTF-8
Python
false
false
4,388
py
from pylab import * from scipy.interpolate import interp1d def read_JLA_mock( mock_filename ): fp = open(mock_filename,'r') lines = fp.readlines() fp.close() snls3 = [] for line in lines: sn = line.split() temp = [] temp.append(float(sn[1])) temp.append(float(sn[2])) temp.append(float(sn[3])) temp.ap...
[ "yhxu@nao.cas.cn" ]
yhxu@nao.cas.cn
fb3754533b6cfca1b525474b0bdc0f0d5ef21fe2
74cbadf4e13fe78225ada34ece4295b9116dc7ed
/venv/Scripts/search_keyword.py
4c8b87f3c89d2d1b5df3904ac1f3158eaa58ad2f
[]
no_license
temon935/MovieBot
c7f6f1d922a7cd57ed9ec7be1c9721f54d32a87a
4b44def1a47f33d8c76a54f95a40bc6ad32711eb
refs/heads/main
2023-03-03T12:23:26.361472
2021-02-16T17:28:33
2021-02-16T17:28:33
339,468,834
0
0
null
null
null
null
UTF-8
Python
false
false
1,229
py
#!C:\Users\Fomic\Desktop\Рабочий стол\Артём\MovieBot\venv\Scripts\python.exe # -*- coding: utf-8 -*- """ search_keyword.py Usage: search_keyword "keyword" Search for keywords similar to the give one and print the results. """ import sys # Import the IMDbPY package. try: import imdb except ImportError: print...
[ "temon935@gmail.com" ]
temon935@gmail.com
2613236d005607301c285f437e92f4ce7009ee9e
513efd0843b3f4ffe6b81fdb2a5983b347d4ed15
/psc/users/migrations/0004_auto_20170705_0911.py
627b016436333b1d039d637b666b9753992ce870
[]
no_license
alexey-voloshin-ddi/psc
6053b19f483e0de1aa380f950b85b1f2b8eeb8e3
0b14b82a117daae692493d9cc3414e726aa2280e
refs/heads/master
2020-03-31T12:41:32.155135
2018-10-09T09:41:56
2018-10-09T09:41:56
152,226,118
0
0
null
null
null
null
UTF-8
Python
false
false
1,784
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.7 on 2017-07-05 09:11 from __future__ import unicode_literals import pytz import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0003_create_user'), ] operations = [ m...
[ "alexey.voloshin.ddi@gmail.com" ]
alexey.voloshin.ddi@gmail.com
95a69e2ecaeacc56e9d19148203c7a73ef55928b
5fe415937a86e1d5b5674aa0dd2c66c6cad778ec
/leetCode_4.py
aaaeb36f0c9895f97a66ff34dc90356c6a036fb6
[]
no_license
LeetcodeGo/leetcode_heprecsler_bk
157d3da8d8891a580c0f7bd2c060e362975c4b68
77f4be63dffa78916425d7e40f01cefd50a73517
refs/heads/master
2020-03-23T11:00:00.167420
2018-07-31T21:42:23
2018-07-31T21:42:23
141,476,081
0
0
null
null
null
null
UTF-8
Python
false
false
1,532
py
''' Given a matrix of M x N elements (M rows, N columns), return all elements of the matrix in diagonal order as shown in the below image. Example: Input: [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ] Output: [1,2,4,7,5,3,6,8,9] Explanation: Note: The total number of elements of the given matrix will not exceed 10,00...
[ "noreply@github.com" ]
noreply@github.com
267024f81919181d719cbfa19ffb24c065dcf668
7d494148b716c4afd2f46de915416c1face0c05c
/todo_list/urls.py
799195e9287efb23da6ce0a860c104ef29371f94
[]
no_license
o-maslova/todo_list
2d1545e7fcf3ba2141a3356bbb46127741b89c49
e378847f5f988b999273558779b9b899675e3106
refs/heads/master
2021-10-09T19:28:03.580771
2020-02-25T11:14:15
2020-02-25T11:14:15
242,973,904
0
0
null
2021-09-22T18:37:47
2020-02-25T10:36:04
Python
UTF-8
Python
false
false
800
py
"""todo_list 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-bas...
[ "omaslova@e1r4p18.unit.ua" ]
omaslova@e1r4p18.unit.ua
21dfc80b56409e325782de6659c92bc719ed3972
b89cb766570e6bb95493d6cbbf3f7cc35cf3ccb4
/venv/bin/alembic
a6f68203d2c4ab376f210bc8cfaf95041c570c90
[]
no_license
shichong-97/corsell
335344d4319a04ecf7ba75d34d8542e8cf600098
2e198caf37dee96170a6f7c66d39c232b51f7bb1
refs/heads/master
2020-04-28T06:31:39.131949
2019-01-06T01:31:46
2019-01-06T01:31:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
255
#!/Users/rishabhsarup/Desktop/Corsell/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from alembic.config import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "rs868@cornell.edu" ]
rs868@cornell.edu
2e40e2e68defd5bcd570ad475b3869fb8dd2ec2f
70e1b3fc244b46fbf58a0f8a8af9e0f2ec239931
/Create_dirs.py
e688ec1874739a151bcfd4c1790b92feff9e89a3
[]
no_license
neelaksh007/CS7641_Assignment3
0b3f29fb87ac9c653d935978323bec20eb4ed5b3
b3970a784f91b2e15befc08b07bdf903080e7fef
refs/heads/master
2020-05-01T11:47:00.407422
2019-03-25T00:59:51
2019-03-25T00:59:51
177,451,813
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
#!/usr/bin/env python import os current_directory = os.getcwd() for dir in ['step1','step2','step3','step4','step5']: final_directory = os.path.join(current_directory, dir) if not os.path.exists(final_directory): os.makedirs(final_directory)
[ "root@ip-172-31-32-90.us-east-2.compute.internal" ]
root@ip-172-31-32-90.us-east-2.compute.internal
054864a9a7dfc5d248b9567f897b08be2ab56222
659dea74eb1bf210befd1c9f07a8ef6e6f41b50d
/myenv/bin/jupyter-run
38a427b0e91b396e0f60571e288854c508d01bda
[]
no_license
bgse-a-team/textmine
829be256495c3bd6afc5b8c46a984af53fad91db
2d5e2ae85d9f20eb5f7543bbd415f9baaf8e4e6c
refs/heads/master
2021-01-19T20:40:54.409439
2017-05-11T14:48:27
2017-05-11T14:48:27
88,531,442
4
0
null
null
null
null
UTF-8
Python
false
false
275
#!/home/lohia/projects/textmine/myenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyter_client.runapp import RunApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(RunApp.launch_instance())
[ "akhil.lohia@gmail.com" ]
akhil.lohia@gmail.com
4968227d4d1f6f30004b48dbab92b986a410751d
1ff37d1c759aef84aa8effd3587fefae3b9593a1
/Font/Replace glyphs with ss01.py
311eac2eef9666455d99a9eb4f31b841e8808a3e
[]
no_license
danielgamage/Glyphs-Scripts
2fac2598e01a7381bd302b012986bb85ab205b86
8a2a0c676fb0bc7bb3fc9cbf70fde2f64bc92609
refs/heads/master
2021-01-13T12:49:23.730224
2016-12-28T05:49:12
2016-12-28T05:49:12
69,234,238
12
0
null
null
null
null
UTF-8
Python
false
false
554
py
#MenuTitle: Replace primary glyphs with ss01 # -*- coding: utf-8 -*- __doc__ = """ Replaces primary glyph with ss01 variant (if it exists) """ glyphsToRename = [] stringToMatch = ".ss01" for glyph in Font.glyphs: if stringToMatch in glyph.name: glyphsToRename.append(glyph) for glyph in glyphsToRename: ...
[ "hello@danielgamage.com" ]
hello@danielgamage.com
9e89226092b0c4bfbbd2a4226ed9e2998da77726
ed3e40a4669bfbb2b4aca721cedc0d838cb8cfcc
/aucroc_calc.py
c598736ff7f3249a64b68839bf7a9d8c8eeaa44b
[]
no_license
johnplloyd/lloyd_utils
74bf43fc0d69a8f8a64ba2ac8fccdf6aee586fa2
53c7de5df88220303a3b28564741159acf9709c2
refs/heads/master
2021-01-22T04:57:39.838947
2020-05-11T18:06:35
2020-05-11T18:06:35
81,604,197
0
0
null
null
null
null
UTF-8
Python
false
false
1,808
py
#import modules import sys import fn def print_help(): print(''' arguments: -i input file -l index with labels (0-base) -s index with scores (0-base) -p positive class name, DEFAULT = yes -n negative class name, DEFAULT = no ''') def parse_args(argv_l): #set defaults pn = "yes" nn = "no" for i i...
[ "john.paul.lloyd@gmail.com" ]
john.paul.lloyd@gmail.com
45b886bb966ada10fe0fcec68c3b5990d3196166
d973827ee846fc422f9ec2cc888d933b32497259
/Problem9.py
3d2a11bddb35e2ac2a9f1ae30e39d29fdf33fca2
[]
no_license
ephelps3/ProjectEuler
48037190dd24da2af0b71d07331e0b3454af0cda
29384082008be860a65771d7251b1533d7e55016
refs/heads/master
2020-03-22T08:29:44.176263
2018-07-05T00:37:24
2018-07-05T00:37:24
139,770,000
0
0
null
null
null
null
UTF-8
Python
false
false
625
py
#!/bin/python/ import math # A Pythagorean triplet is a set of three natural numbers, # a < b < c, for which, # a2 + b2 = c2 # For example, 32 + 42 = 9 + 16 = 25 = 52. # # There exists exactly one Pythagorean triplet for which # a + b + c = 1000. # Find the product abc. def Problem9(): sum = 1000 triples = [] ...
[ "phelpse3@gmail.com" ]
phelpse3@gmail.com
b33a52e10e6db1235a8a3804773fe7a1cd6c10f9
3873b03ac81354d4ed24e94df5fa8429e726bbd2
/titles/9. 回文数.py
dce4385d060f8329f8bf8360f90039b94634f4b7
[]
no_license
lichangg/myleet
27032f115597481b6c0f3bbe3b83e80b34c76365
3d5a96d896ede3ea979783b8053487fe44e38969
refs/heads/master
2023-03-21T15:50:14.128422
2021-03-16T09:58:07
2021-03-16T09:58:07
286,616,721
1
0
null
null
null
null
UTF-8
Python
false
false
929
py
#!/usr/bin/env python # -*- coding:utf-8 -*- class Solution: def isPalindrome(self, x: int) -> bool: s=str(x) div, mod = divmod(len(s), 2) if div == 0: return True if mod: left = s[:div] right = s[div+1:] else: left=s[:div] ...
[ "lcg@ichunt.com" ]
lcg@ichunt.com
64a23918f63296fba28c04a497eda1da7fbbad74
2a36e1e9f7205c3d4b93d4579161221269ddce8b
/guessing-game/game.py
d27a019f46db5c304a63918da4a0d5527367a29a
[]
no_license
aleenataymoor/hbwork
254e0ba04da1039680495e786020b30673af77db
bc052e8da39c874c6405090e950abb4e0fed9786
refs/heads/master
2023-07-15T08:27:50.899893
2021-08-19T08:51:43
2021-08-19T08:51:43
388,354,153
0
0
null
null
null
null
UTF-8
Python
false
false
1,385
py
q """ Number Guessing Game """ import random print("Howdy! What's your name?") name = input("Type in your name: ") print(f"{name}, I'm thinking of a number between 1 and 100. Try to guess my number:") numrangestart = int(input("Type your start range: ")) numrangeend = int(input("Type your end range: ")) computer_n...
[ "aleenataymoor@gmail.com" ]
aleenataymoor@gmail.com
ccb1e8c18a23b2dfab87fc4ef2d6741bba0e8a59
126c62d0fab2a65a768e99ad43934fd89062f147
/pong/main.py
e907f0cd9fa01e269c3518f22b8b1bf0d8786076
[]
no_license
RutgerMoons/super-simple-pong-clone
a2c8189abc94ccf25a240dd1c948e7e206c2840f
18248f39b84d02317483daae9ac5ee2376c7d85d
refs/heads/master
2020-04-01T13:10:27.182171
2014-07-20T20:50:17
2014-07-20T20:50:17
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,845
py
__author__ = 'rutger' import pygame from Board_Objects import * # Define some colors BLACK = (0, 0, 0) WHITE = (255, 255, 255) GREEN = (0, 255, 0) RED = (255, 0, 0) pygame.init() # Set the width and height of the screen [width, height] size = (1200, 600) screen = pygame.display.set_mode(size) pygame.display.set_capt...
[ "rutger.moons@student.kuleuven.be" ]
rutger.moons@student.kuleuven.be
7cd2fab587c5b5ed05a2b34669b83d9d48f995fe
5b2c4270de8acb2b826c8f95b5ab5a535316efcc
/lib/ParseState.py
305ee9df6c9798fb9bb5e41aa38202e2f3a2e0bf
[]
no_license
limjintack/swlab_parser_python
c56029221110c1e03562d8447558ac26e21d7f36
06c4b4b445e14785b86611f46d0799a61e8bf433
refs/heads/master
2020-04-23T19:34:02.333859
2019-04-24T08:45:59
2019-04-24T08:45:59
171,408,964
1
1
null
null
null
null
UTF-8
Python
false
false
244
py
from lib.StkElem import StkElem class ParseState(StkElem): def __init__(self, state): super() self.state = state def getState(self): return self.state def setState(self, state): self.state = state
[ "wlsxor13@naver.com" ]
wlsxor13@naver.com
60356404d738db6a7c8783de8b6f46e14f4da151
8cc920cc688c5fe39fbc53e78f2a1e90000765e4
/vuedj/settings_local.py
4ca7bdc717b7cd7ae5ea45a408397898bc237a8e
[]
no_license
Citizen-Thayne/brite-core-test
7d04ff38f32d8b26d2b0a786f3c08110bb2bdb3d
256961b926e4bcb098711e75a4f506c119a56f87
refs/heads/master
2022-12-11T23:58:34.631821
2018-02-05T05:02:24
2018-02-05T05:02:24
120,234,334
0
0
null
2022-12-08T00:53:25
2018-02-04T23:49:28
JavaScript
UTF-8
Python
false
false
108
py
from vuedj.settings_prod import * DEBUG = True ALLOWED_HOSTS = [ 'localhost' ] STATIC_URL = '/static/'
[ "rwrigley@Ryans-MacBook-Pro.local" ]
rwrigley@Ryans-MacBook-Pro.local
371587338a64e9e61608cc5c5168799fb4c4fc7e
509ca46be41b076166589bcb92aec0128a22714b
/public/web2py/rev_21cb35d_5bc5d04/s3m-result/__init__.py
a1937d6a43024a7254bc2434157f841b58e9bc1d
[]
no_license
allan-mlpe/s3mpython-results
5635765c9ba6d9d4051b8d6b5d5b784a05c3d1d5
3398785199d1846cabd7ebbeb2a0e7dcfb3ebec2
refs/heads/master
2020-04-05T13:02:34.025465
2017-08-17T23:48:53
2017-08-17T23:48:53
95,037,516
0
0
null
null
null
null
UTF-8
Python
false
false
718
py
import os import sys from test_http import * from test_cache import * from test_contenttype import * from test_fileutils import * from test_html import * from test_is_url import * from test_languages import * from test_router import * from test_routes import * from test_storage import * from test_serializers import * ...
[ "allan_mlpe@hotmail.com" ]
allan_mlpe@hotmail.com
6a45edede9566b046e3f1cfe2707c85f449d199a
ba95d2a34c394228aa923a9004ada92a4cddeba7
/flask_cms/core/views.py
ed95e20c5718f95bd99be41a660f7904622b5b37
[]
no_license
sumanthns/flask-cms
28bc11e69fa73d8e5f8d5deb4a52cf3136396888
4ede95b672c85a4d7acad38ba60138d59f818092
refs/heads/master
2021-01-10T03:30:29.037457
2016-01-26T23:39:25
2016-01-26T23:39:25
50,462,215
0
0
null
null
null
null
UTF-8
Python
false
false
569
py
from flask import render_template, url_for from flask.views import MethodView from werkzeug.utils import redirect from flask_cms.page.models import Page class IndexView(MethodView): def get(self): home_page = Page.query.filter_by(slug='home').first if home_page is not None: return red...
[ "sumansn@thoughtworks.com" ]
sumansn@thoughtworks.com
734ce064902baeb13c6ee7a20c31d6f617d3a987
85eff920f0f285abad84c2f6bcfd4f236f3976ab
/webservices/migrations/0196_auto_20191106_0835.py
d3022e801061abd061dec41ad3ec0334b32d3d5c
[]
no_license
obxlifco/Web-Picking-App-GoGrocery
8cf5f7924005a19764e5c4722a47bfd963965f2e
6b084547bed2af43a67bada313d68e56f4228f96
refs/heads/main
2023-05-26T08:32:30.297317
2021-06-12T10:05:01
2021-06-12T10:05:01
315,206,253
0
0
null
null
null
null
UTF-8
Python
false
false
686
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.17 on 2019-11-06 08:35 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('webservices', '0195_auto_20191106_0658'), ] operations = [ migrations.AddF...
[ "mjamal@lifcoshop.net" ]
mjamal@lifcoshop.net
80ea64801d4945fc575626f34da3fd66e7d408ea
fa2309c0510ef9cb1e40e4eaea6b20bca36f40d9
/sudoku.py
44bf92fa1f113c4b3395a6a23e65f337d03ced23
[]
no_license
chinbat/sudoku-solver
fd541654eb6e4653127fea2f31a3e7d130b96093
038a9231259d8376987e667b2c6c0737226871dc
refs/heads/master
2016-09-12T08:46:53.475533
2016-05-13T04:23:54
2016-05-13T04:23:54
58,628,601
0
0
null
null
null
null
UTF-8
Python
false
false
2,437
py
""" python-ii pulp gedeg library ashiglan Sudoku bodoh Chinbat Chindegsuren """ from pulp import * digits = ["1", "2", "3", "4", "5", "6", "7", "8", "9"] Vals = digits Rows = digits Cols = digits Boxes =[] for i in range(3): for j in range(3): Boxes += [[(Rows[3*i+k], Cols[3*j+l]) for k in range(3) for ...
[ "chinbat.chindegsuren@brainpad.co.jp" ]
chinbat.chindegsuren@brainpad.co.jp
c4002149a9e54b72ec67810a5c0b0c42b4a02a9c
5cb355e2d9e895c0d9df3a9cd6ea5e0daa578b84
/tubes/tubes.py
9fc3e11e3290f73f52b5ea7a8de48c2a1d7b7a3c
[]
no_license
nandono206/TBIF1210-03-07
ea159e03a813882f0346d5ac7887dc42e1c02a7b
d53a35cfc39e46ef3ac87a560f608d365de08c6f
refs/heads/main
2023-04-25T00:05:30.860358
2021-05-02T08:12:38
2021-05-02T08:12:38
null
0
0
null
null
null
null
UTF-8
Python
false
false
40,616
py
# PROGRAM KANTONG AJAIB DORAEMONANGIS # NAMA/NIM # Farrel Ahmad/16520373 # Raden Haryosatyo Wisjnunandono – 16520253 # Prabowo – 16520183 # Fadlin Izhar Tarigan – 16520333 import os, argparse, time def csv_reader(file_name): filename = file_name # nama file di sini f = open(filename, "r") # rea...
[ "noreply@github.com" ]
noreply@github.com
93dda13c0501663cb66488d10bd6e44c5d682c67
1fdd2c6bb53dd8ddeba28c89ba1b65c692875999
/backend/apps/groups/models.py
c075f6c0d7e86200642688a5a1560c4cdd47cb09
[]
no_license
Alymbekov/test_task_SynergyWay
782d0109cd7b63bdf5d0c05603f568da641af3f2
4ad07c393af1dec8395dcb754060d130ecea9fa6
refs/heads/master
2023-08-01T17:09:19.417147
2021-01-27T11:09:36
2021-01-27T11:09:36
254,460,227
2
1
null
2021-09-22T18:52:01
2020-04-09T19:26:31
JavaScript
UTF-8
Python
false
false
318
py
from django.db import models #model to group table class Group(models.Model): name = models.CharField("Name", max_length=150) description = models.TextField() def __str__(self): return self.name class Meta: verbose_name = "Group" verbose_name_plural = "Groups"
[ "maxim.makarov.1997@mail.ru" ]
maxim.makarov.1997@mail.ru
466f6d308bfa6a49b30cb74662ecf377c760868a
8afb5afd38548c631f6f9536846039ef6cb297b9
/_MY_ORGS/Web-Dev-Collaborative/blog-research/database/pg-admin/web/pgadmin/browser/server_groups/servers/databases/schemas/catalog_objects/__init__.py
20742bf633361e0adfaa1ea875e4a38e85ffa162
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
10,270
py
########################################################################## # # pgAdmin 4 - PostgreSQL Tools # # Copyright (C) 2013 - 2020, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # ########################################################################## """ Implements Ca...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
8c65c2b3eb2119cfd46107cce6a001a83f375c82
633944f913050debf0764c2a29cf3e88f912670e
/v8/depot_tools/bootstrap-3.8.0b1.chromium.1_bin/python3/lib/python3.8/_collections_abc.py
17eff4c6e6175623f81fa90d8d003f0dd18736f1
[ "BSD-3-Clause", "bzip2-1.0.6", "SunPro", "Apache-2.0" ]
permissive
bopopescu/V8-lgtm
0474c2ff39baf754f556ef57619ceae93e7320fd
da307e2f7abfca5fa0e860a809de6cd07fd1b72b
refs/heads/master
2022-02-16T19:10:54.008520
2019-09-25T07:51:13
2019-09-25T07:51:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
64
py
../../../.cipd/pkgs/2/_current/lib/python3.8/_collections_abc.py
[ "jundong.xjd@antfin.com" ]
jundong.xjd@antfin.com
7cd252ba8bfc7b9cbba49973ca037065d7df8037
34d75743328defe85bb7e1a830fc20a0c667ed69
/Drank/D088.py
5ae63413791743affbf651387d9248137f3af885
[]
no_license
koyamaj/paiza_work
dc4cc5ac1793002ba41225690ece3ab34d872df2
2784d12777ed31a368f787bbc18d36e92c57b294
refs/heads/master
2020-03-17T16:23:36.705228
2018-05-23T02:59:30
2018-05-23T02:59:30
133,746,991
0
0
null
null
null
null
UTF-8
Python
false
false
40
py
t,u=map(int,input().split()) print(t-u)
[ "koyamaj818@gmail.com" ]
koyamaj818@gmail.com
8793c6db98cfca73fc7b88ee015d243cd56599de
47343c9191f7fcfefae38b2d8160d39ba9410271
/O06triplets.py
67b46722768b72fb8ede85e85843143df15a335e
[]
no_license
naveenameganathan/python3
01f7c06e48559693b1f132a8223ad9f9855e8a1f
6bff6f16de0a03dd36bedec140935c3af56b983f
refs/heads/master
2020-05-23T02:17:31.986878
2019-07-25T17:36:39
2019-07-25T17:36:39
186,600,896
1
4
null
2019-10-03T15:15:09
2019-05-14T10:35:52
Python
UTF-8
Python
false
false
195
py
p = int(input()) q = list(map(int,input().split())) c = 0 for i in range(p): for j in range(i,p): for k in range(j,p): if q[i]<q[j]<q[k]: c+=1 print(c)
[ "noreply@github.com" ]
noreply@github.com
70cc2ca51a0a6adcea4fe4c1f8a411f749840568
e41e9f412d44ff29a583795a598e41e003dd97b5
/venv/bin/django-admin.py
8ba830b8b40ab2e58942a99331ba9e3bd17714c3
[]
no_license
heejung-gjt/DataAnalysis
1269244f59801f721481a63c368fc77f3bff2b47
a8a7394f0c85cb68d22e74b4556f0d8bb57289d8
refs/heads/master
2023-07-07T15:54:26.823158
2021-08-06T09:45:36
2021-08-06T09:45:36
326,552,875
0
0
null
null
null
null
UTF-8
Python
false
false
701
py
#!/home/heejung/Desktop/github-upload/DataAnalysis/venv/bin/python # When the django-admin.py deprecation ends, remove this script. import warnings from django.core import management try: from django.utils.deprecation import RemovedInDjango40Warning except ImportError: raise ImportError( 'django-admin...
[ "hee_9803@naver.com" ]
hee_9803@naver.com
83a957a1f924f564aa7c20dbadd7d44be83ce692
255021fadf9f739db042809ca95f5b9f75609ec5
/test_3/프로그래밍1.py
f14fdf6f552ef6ddf444a58ca15a9d0876f43729
[]
no_license
unsung107/Algorithm_study
13bfff518fc1bd0e7a020bb006c88375c9ccacb2
fb3b8563bae7640c52dbe9324d329ca9ee981493
refs/heads/master
2022-12-13T02:10:31.173333
2020-09-13T11:32:10
2020-09-13T11:32:10
295,137,458
0
0
null
null
null
null
UTF-8
Python
false
false
504
py
M, C = map(int,input().split()) messages = [] for _ in range(M): messages.append(int(input())) consumers = [[False] * 1001 for _ in range(C)] max_idx = 0 for idx in range(1, 1001): for c in range(C): if not consumers[c][idx]: gap = messages.pop(0) consumers[c][idx: idx + gap] = [...
[ "unsung102@naver.com" ]
unsung102@naver.com
065030f046d2d7ce918387ff0a4ad912968fba2d
17494e4f3fd511b50a6519f103080361c3ab83df
/q3_scoreboard/stock_data.py
e8c128ba6306f4e50072c22886bc30e8a654e0be
[]
no_license
notbaab/q3-scoreboard
431a59535efe0fcc4aabcefae3e1b7846590d2f9
1b2639d7ba5d34536483d998bc209b50c0269c4e
refs/heads/master
2020-04-23T20:06:37.880672
2020-04-12T01:58:35
2020-04-12T01:58:35
171,428,328
2
1
null
2020-04-04T19:46:41
2019-02-19T07:40:45
Python
UTF-8
Python
false
false
576
py
"""Holds some dicts of the base stock data""" stock_maps = { 'q3dm1': 'q3dm1.jpg', 'q3dm2': 'q3dm2.jpg', 'q3dm3': 'q3dm3.jpg', 'q3dm4': 'q3dm4.jpg', 'q3dm5': 'q3dm5.jpg', 'q3dm6': 'q3dm6.jpg', 'q3dm7': 'q3dm7.jpg', 'q3dm8': 'q3dm8.jpg', 'q3dm9': 'q3dm9.jpg', 'q3dm10': 'q3dm10.jpg...
[ "etinlb@gmail.com" ]
etinlb@gmail.com
6b19f7f95c95567576a4ae9c0c03c9916e24c3e3
274e01418f91a3105b625071632443906b37b132
/Project-II-master/Project-II-master/Backend/settings.py
3e2a63ae55506c31059335438e1e3e41b03f2602
[]
no_license
Sagnik577/project-II
7168f5019814ade87065eeab394a7ee0d1fa40dd
95d627854480783cbceea733926a4f9131d93722
refs/heads/master
2022-08-20T07:18:42.233123
2020-06-03T11:57:08
2020-06-03T11:57:08
269,075,336
0
0
null
null
null
null
UTF-8
Python
false
false
3,222
py
""" Django settings for Backend project. Generated by 'django-admin startproject' using Django 3.0.6. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os #...
[ "noreply@github.com" ]
noreply@github.com
e2fadd4a1da7d56fcd2a1964ba51605e559cc099
fc74cf67babfa615b67ba75d3edb45296d7b7867
/securitytips/settings.py
ac20b21f6efe29be651854d22fa0b9efcd8f01e5
[]
no_license
Rasenku/SecurityTips
7f052b09c00b66a379362ece60c8c634d359534e
4ebe1bf5d9182c854f734ae000b63789c4d79a00
refs/heads/master
2021-09-23T10:36:02.295611
2020-03-06T11:55:31
2020-03-06T11:55:31
245,368,817
0
0
null
2021-09-22T18:41:33
2020-03-06T08:39:07
Python
UTF-8
Python
false
false
3,697
py
""" Django settings for securitytips project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import ...
[ "dahveyea.cowan@gmail.com" ]
dahveyea.cowan@gmail.com
94ad35991846e7a87d4132dc62e43fc41748359e
62e58c051128baef9452e7e0eb0b5a83367add26
/edifact/D12A/DOCARED12AUN.py
7112f56f43c44df6e1ef69c397d993862bf477cf
[]
no_license
dougvanhorn/bots-grammars
2eb6c0a6b5231c14a6faf194b932aa614809076c
09db18d9d9bd9d92cefbf00f1c0de1c590fe3d0d
refs/heads/master
2021-05-16T12:55:58.022904
2019-05-17T15:22:23
2019-05-17T15:22:23
105,274,633
0
0
null
2017-09-29T13:21:21
2017-09-29T13:21:21
null
UTF-8
Python
false
false
751
py
#Generated by bots open source edi translator from UN-docs. from bots.botsconfig import * from edifact import syntax from recordsD12AUN import recorddefs structure = [ {ID: 'UNH', MIN: 1, MAX: 1, LEVEL: [ {ID: 'BGM', MIN: 1, MAX: 1}, {ID: 'RFF', MIN: 1, MAX: 2}, {ID: 'DTM', MIN: 0, MAX: 1}, {ID: 'FII'...
[ "jason.capriotti@gmail.com" ]
jason.capriotti@gmail.com
ce5e395c97010fdd84a122457059c236fb9f4faa
06345c4cb33d5735e7d0893f0892d9bd1de30495
/webservice/main.py
35bd3c5433feb15ab02c627a62ccb43a7c658c86
[]
no_license
hiko2msp/single_sign_on
805a1ec226af2a1b6b370d1090aaa9a02bd9e005
78e70c27691aa8d6b280d8fbdbc76432eae5666c
refs/heads/master
2022-12-15T17:10:01.816822
2020-09-13T23:32:49
2020-09-13T23:32:49
295,256,559
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
from fastapi import FastAPI from fastapi.responses import HTMLResponse app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"} @app.get("/login", response_class=HTMLResponse) async def read_login_page(): return ''' <html> <head> <title>WebService</title> ...
[ "iam4570@yahoo.co.jp" ]
iam4570@yahoo.co.jp
ee2d685b30f2cc02ae06dc9f61a71fb82adf6363
6066b2af4b4f6ab967cfb8af8ec3b8ee68545ab9
/nyenyenye/main.py
fb4d33da1a846dda10914eb8bab04e0886a20720
[]
no_license
zsbati/PycharmProjects
7b29b210b4878af42baf288c585675d0203b9805
c13b05901c5ff8ea6fc7bcb61c70aa40940daa56
refs/heads/main
2023-09-04T09:01:19.315655
2021-10-24T16:24:43
2021-10-24T16:24:43
401,172,721
0
0
null
null
null
null
UTF-8
Python
false
false
261
py
# import string library function import string # Storing the value in variable result result = string.digits # Printing the value print(help(string.digits)) '''print("I am = I'm") print("I have = I've") print("I have = I've") print("I had / would = I'd")'''
[ "zbati123@gmail.com" ]
zbati123@gmail.com
5a0514166417cfcf07b4e5bd79d4dc3fefe912d2
4bb31b4cb7b1872933d73dc15b5a2569a70bfad5
/marktex/marktex.py
58772ce680b2e33239a2c29d08cef2eb5eb16736
[]
no_license
chthub/MarkTex
bf27aa402d5bd75d27d6a8b2cf5df19b9035a3d7
e998a03a5e607524c14bf8ea1c1f79c34e2110f8
refs/heads/master
2020-07-04T03:27:25.095562
2019-08-02T02:24:30
2019-08-02T02:24:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,788
py
import argparse,sys,os APP_DESC=""" MarkTex is used to convert markdown document into tex format. 输出位置可以选择: - 在各自的md文件下 default,最低优先级 - 统一输出到一个目录下 -o "path" ,第二优先级 - 在各自给定的目录下 -e "",优先级最高 输出到对应文件的 "文件名" 所在的目录下: marktex a.md b.md ... 输出到一个同一的文件夹下: marktex a.md b.md ... -o "path" 指定输出到各自文件夹,必须保证路径个数和文件个数相同:...
[ "sailist@outlook.com" ]
sailist@outlook.com
0c33e9bbe8b36c3a0676bca201898fcecad7e191
e36225e61d95adfabfd4ac3111ec7631d9efadb7
/problems/CR/auto/problem220_CR.py
b03a0e4f5f53ef2573a1700d9c1d7cd085e3998f
[ "BSD-3-Clause" ]
permissive
sunandita/ICAPS_Summer_School_RAE_2020
d2ab6be94ac508e227624040283e8cc6a37651f1
a496b62185bcfdd2c76eb7986ae99cfa85708d28
refs/heads/main
2023-01-01T02:06:40.848068
2020-10-15T17:25:01
2020-10-15T17:25:01
301,263,711
5
2
BSD-3-Clause
2020-10-15T17:25:03
2020-10-05T01:24:08
Python
UTF-8
Python
false
false
1,071
py
__author__ = 'patras' from domain_chargeableRobot import * from timer import DURATION from state import state DURATION.TIME = { 'put': 2, 'take': 2, 'perceive': 2, 'charge': 2, 'move': 2, 'moveToEmergency': 2, 'moveCharger': 2, 'addressEmergency': 2, 'wait': 2, } DURATION.COUNTER =...
[ "sunandita.patra@gmail.com" ]
sunandita.patra@gmail.com
92241c6fc7e4e9204c23cee3536a2f464fc0b4b7
16888227e4ca7de5333c10add78fe982586d2d49
/apps/pages/admin.py
636e4fb60d378d2c7cd7dd93aae69debaa75d134
[]
no_license
gleb89/django-shop
6e918fb7b20060e553af2f76fef9efdb991005ff
6e43d1bd49533c6c1e6b9e605ae486f1bd1ff4df
refs/heads/master
2022-12-04T19:06:16.046152
2020-11-26T19:59:27
2020-11-26T19:59:27
238,541,176
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
from django.contrib import admin from .models import Pages admin.site.register(Pages)
[ "37249444+gleb89@users.noreply.github.com" ]
37249444+gleb89@users.noreply.github.com
e410fa71ebf7d9c88162e9c9ef180d75dd56ad28
8c7839dbb515d196fce9dd8d9af3c16b7ba63625
/k0001rpi.py
acb902b05739425e7a8e801d18d3a0b780b8c921
[ "MIT" ]
permissive
doosik71/openTLC
6a9ad95248ea284ee7fb8d5e62ba00f0b47c2fed
14b4ef581c3aa070e31984a8fd455fb5eeadcfdc
refs/heads/master
2020-03-28T15:29:05.114036
2017-03-30T09:40:25
2017-03-30T09:40:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# import time # from k0001func import initialise from k0001app import openTLC from k0001rpifunc import startFunc, setGuiInputs, setState, finallyFunc # def run(): # startFunc() # step = 0 amberState = False # initialise() # while True: # if step % 5 == 0: ...
[ "martijn.harmenzon@maptm.nl" ]
martijn.harmenzon@maptm.nl
feaec6a941322726aff0c413db16fbef3d5688a6
8fc64518f69f09c4994f35cdafe8bfc6de802dc6
/src/examples/hadoop/hadoop_node.py
e9e5d6daf9669382b1a0b71d729c7ebcfb8f1095
[ "MIT" ]
permissive
haxsaw/actuator
a89378bb9f4f3850175afaac117793e6a521db9a
ac2ff590bb27830a3068d9a5a7b8869f28eda161
refs/heads/master
2021-06-23T09:48:44.187318
2015-03-03T16:09:27
2015-03-03T16:09:27
23,829,913
21
0
null
null
null
null
UTF-8
Python
false
false
10,524
py
# # Copyright (c) 2015 Tom Carroll # # 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, merge, publish, dis...
[ "tcarroll@pobox.com" ]
tcarroll@pobox.com
879062b50b4750a6bb45c58e20b402a64e5a9736
0afd6bad0bcb83f4836d041236f584e238a34c53
/test/library/parser/test_fen_parser.py
df194f4d93ac6fad5d6cee862578215effa4070e
[]
no_license
jorsae/RiChess
1cd21411961bb7daaf46360ad750b8160c0ba013
a44ddc2d3faca2bb9a1cedd8112a04189b1b9c34
refs/heads/master
2023-05-19T12:16:21.340087
2021-06-12T06:53:54
2021-06-12T06:53:54
374,137,137
0
0
null
null
null
null
UTF-8
Python
false
false
4,433
py
import pytest import sys sys.path.append('src') from library.parser import * from model.piece import * from model.game import * import model.game.game_helper as gh from model.interface.move_history import MoveHistory """ self.fen = fen self.player_turn = None self.last_move = None # None if pawn was not mo...
[ "jorgen.sater@gmail.com" ]
jorgen.sater@gmail.com
c0894817b359f565a61787e0b5398c3034bd645b
c90b3ac3e5ad11cb93d4e6b76b9b9c4a19d0f512
/.history/test_20200506092929.py
e9356e56f63da20a4420f3d3da4141f231c536e3
[]
no_license
rbafna6507/passwordstorageproject
6465585e36c81075856af8d565fe83e358b4a40a
480c30e358f7902ac0ef5c4e8d9556cb1d6d33f4
refs/heads/master
2022-11-25T12:05:02.625968
2020-07-27T21:33:38
2020-07-27T21:33:38
283,021,426
0
0
null
null
null
null
UTF-8
Python
false
false
424
py
import pickle import cryptography from cryptography.fernet import Fernet infile = open('pass.pkl','rb') j = pickle.load(infile) print(j) delpass = input("Password to delete") if "Website: " + delpass in j: del j["Website: " + delpass] outfile = open("test.pkl", "wb") pickle.dump(j, outfile) outfile.clo...
[ "35872545+rbafna6507@users.noreply.github.com" ]
35872545+rbafna6507@users.noreply.github.com
7585c00baf81bf1752d0c1d4e0b33157be2afcab
43129b1d1d1f5bb82705e7ba840472f05d17a4d3
/Python/spider/Scrapy/豆瓣/douban/douban/douban/settings.py
7915ba12286be6296d78f83239ba53d2835b0c9f
[]
no_license
parwjs/funny
b9c05dafcfc1f91e93b80a0437b5388ce1d3f71a
5503ffaad3c429fa2c5de30083566d489c94160a
refs/heads/master
2020-07-01T19:07:21.514800
2019-12-17T14:55:52
2019-12-17T14:55:52
201,266,738
0
0
null
null
null
null
UTF-8
Python
false
false
3,200
py
# -*- coding: utf-8 -*- # Scrapy settings for douban project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # http://doc.scrapy.org/en/latest/topics/settings.html # http://scrapy.readthedocs.org/en/latest/...
[ "perwjs@163.com" ]
perwjs@163.com