blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
213 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
246 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
d81279866b63a11b890694dcb86e0d92f04ccedd
26fcacb804565222c566e9e661ea3850c4c36f69
/tmp/test_streaming_f1.py
87a3fc85d00c2a848a3adff81733b64fa39a7ab3
[]
no_license
entrepreneur-interet-general/tf-han
84052f96f5abf3f1b7ce09c22dc2d9e29921b412
f745942dd56209cf4b81b95ccc830fff8e7487ba
refs/heads/master
2022-12-12T01:50:03.544882
2018-11-30T09:08:49
2018-11-30T09:08:49
128,797,777
2
1
null
2022-12-08T01:15:14
2018-04-09T16:00:13
Python
UTF-8
Python
false
false
9,291
py
import tensorflow as tf import numpy as np from tensorflow.python.ops import variable_scope from tensorflow.python.ops import array_ops from tensorflow.python.framework import ops from sklearn.metrics import f1_score def metric_variable(shape, dtype, validate_shape=True, name=None): """Create variable in `GraphK...
[ "vsch@protonmail.com" ]
vsch@protonmail.com
8332c450f1334adc650c3da9b9cf8c44f36cac49
7e1079b46b08bbe60a66e105c73bb9ab10397743
/src/bin/tlvfyrule
8737cfe35a28c7e166a5d9446573079e2f67225b
[]
no_license
ppjsand/pyteal
f810697e59ecb393e3d7c3b9eb69b5150f7f7f70
eba6c1489b503fdcf040a126942643b355867bcd
refs/heads/master
2020-05-17T22:44:18.135207
2012-08-01T14:38:56
2012-08-05T02:02:56
4,961,237
1
0
null
null
null
null
UTF-8
Python
false
false
4,150
#!/usr/bin/env python # begin_generated_IBM_copyright_prolog # # This is an automatically generated copyright prolog. # After initializing, DO NOT MODIFY OR MOVE # ================================================================ # # (C) Copyright IBM Corp. 2010,2011 # Eclipse Public License (EPL) # # ================...
[ "psanders@riven.rchland.ibm.com" ]
psanders@riven.rchland.ibm.com
0a18a36b0b379bb71c4592b344cbbe3866ef6924
23cdddefa2eaaed538e1b8131adb139299d29768
/framebuffer.py
48b357ee6fc1e44eae64f845c2fabf5323f47d12
[]
no_license
samuelpetersson/photobooth
02c46bdd22a975c2813da76d235e61f42bf2dc40
81c5c8de879a0bf2d3a90a5ca44fa0c57ae95e6c
refs/heads/master
2021-01-17T07:33:57.888031
2016-06-07T10:16:58
2016-06-07T10:16:58
37,460,001
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
import os import pygame def createScreen(): "Ininitializes a new pygame screen using the framebuffer" # Based on "Python GUI in Linux frame buffer" # http://www.karoltomala.com/blog/?p=679 disp_no = os.getenv("DISPLAY") if disp_no: print "I'm running under X display = {0}".format(disp_no) # Check which frame ...
[ "sam@f09.org" ]
sam@f09.org
e52c8ee0663d70cbdeced042476008e6cc432727
6a42ddc432ee0a62cf52df21b9306f24177cc3f9
/planet_prop.py
c1c1b53aeecfb841ef1b747c107f3bf55ad1352a
[]
no_license
jo276/MESAplanet
a42b9a27f35b7aa156466abbd67a56f187862563
4da81e113f6c6466597256aded6ff51e722abf1c
refs/heads/master
2023-03-16T13:29:16.708571
2021-02-27T09:40:21
2021-02-27T09:40:21
293,260,759
4
2
null
null
null
null
UTF-8
Python
false
false
1,138
py
# python script containing info and functions for planetary calculations import math as mt # constants msun=1.9891e33 #grams rsun=6.955e10 # cm lsun=3.846e33 # erg/s mjup=1.8986e30 # grams rjup=6.9911e9 # cm mearth=5.97219e27 # grams rearth=6.371e8 # cm mneptune=1.0243e29 #grams rneptune=2.4622e9 # cm au_to_cm=1.4...
[ "james.owen@imperial.ac.uk" ]
james.owen@imperial.ac.uk
150e94de46fd36d8894916a2e55dd739f19740e3
7105658942c1fc03b2540f37f099e8e55c6ded85
/28.implement-strstr.py
08845cf34a071bfadeaecad2e683d50e7bf09338
[]
no_license
luyao777/leetcode_python
a2c60f3df4688e8bd0209553d834fa68e1e0dc62
7df7bd1a6cb0c8590684f8600414fdcc9f0b8070
refs/heads/master
2021-07-04T17:11:46.932373
2020-09-21T10:03:20
2020-09-21T10:03:20
172,448,639
1
0
null
null
null
null
UTF-8
Python
false
false
1,167
py
# # @lc app=leetcode.cn id=28 lang=python3 # # [28] 实现strStr() # # https://leetcode-cn.com/problems/implement-strstr/description/ # # algorithms # Easy (37.47%) # Total Accepted: 35.1K # Total Submissions: 93.7K # Testcase Example: '"hello"\n"ll"' # # 实现 strStr() 函数。 # # 给定一个 haystack 字符串和一个 needle 字符串,在 haystack ...
[ "luyao777@vip.qq.com" ]
luyao777@vip.qq.com
8d999821adab2f90c1385a6dd5e14875c3fc2216
f085eeb8315b310032d93756f1fc60cb3b9539c4
/Compare_Boolean/1.py
f02d6b8e0385cb12bc6ae489cd1330c689d3fd81
[]
no_license
dongho108/python-ruby
0fe538d8c70afe66bff256aecd33bf6bf306f6e4
158c34063fc8415310b27134994b329e62318728
refs/heads/master
2021-01-05T03:13:53.636301
2020-03-05T11:36:11
2020-03-05T11:36:11
240,858,344
0
0
null
null
null
null
UTF-8
Python
false
false
60
py
print(1==1) print(1==2) print(1>2) print(True) print(False)
[ "noreply@github.com" ]
dongho108.noreply@github.com
d81ce2cfdfb74c318af7a42b753a9cef7c42c4b3
eef542a3d8eddf7f9e496817f2346179ef45ff4b
/utils/__init__.py
7b36f56ec2c5aeca576045143a222496527edca5
[ "BSD-3-Clause" ]
permissive
cwheel/gather
1b82b3fd421e209b7f384fef35074cc326911891
b6eab474a0550f008a243cd5add074bff04086b4
refs/heads/master
2021-01-19T14:00:44.832430
2017-08-20T17:47:44
2017-08-20T17:47:44
100,875,843
0
0
null
null
null
null
UTF-8
Python
false
false
31
py
import jsonPath import resolve
[ "cameron@scelos.com" ]
cameron@scelos.com
83924ae8dfe91ebcbd4034577b0faf83e5a30402
6a2cc7f9e8e0cbcfa85e81272bd507c5226534af
/profile.py
50c5db32803fc549822f107dfee1837780112b6e
[]
no_license
20171CSE0726/pytax
348d83465c1bac1c4c85eef47e91c31333d8a81d
188f6ac0c1dcc395620b3acd2fa3c832cf3064b7
refs/heads/master
2021-02-17T13:18:56.105583
2018-11-04T18:31:48
2018-11-04T18:31:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
647
py
import taxjar as jar client = jar.Client(api_key='36e5eb69d62562d468b07da2ef8252e4') class TaxProfile: def __init__(self, state, city, zip_code): self.zip_code = zip_code self.state = state self.city = city def get_rate(self): rates = client.rates_for_location(self.zip_code, {...
[ "brennengreen@outlook.com" ]
brennengreen@outlook.com
2784c3c98d088cdfd95b608f240655a8d740bc7e
f59e084cc1dc682cabd2ccb2bc33815f7163fcf7
/modelo_oo.py
756784a68d95351cda9a0d43535819734c5520ae
[]
no_license
jolubanco/locadora-filmes
77614d737c39add79f4393ebf16997d3c9072a13
ed9195702ed28e5d1841c41bd51445b8853acda0
refs/heads/main
2023-03-17T11:33:05.156560
2021-03-20T20:28:08
2021-03-20T20:28:08
348,409,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,538
py
class Programa: #super classe ou classe mãe def __init__(self,nome,ano): self._nome = nome.title() self.ano = ano self._likes = 0 @property def likes(self): return self._likes def dar_like(self): self._likes += 1 @property def nome(self): return...
[ "jolubanco@gmail.com" ]
jolubanco@gmail.com
1f433819a3c1afa8f824679e2a7ef418890153d1
5e671191f33500cf0f6f92e7795cfa5eb8fd528a
/UTAGL-AIML-Project5-Q5.py
e059cab652aa0f6048e55fb58fe92b6a8537f7d3
[]
no_license
GreatLearningAIML1/gl-pgp-aiml-uta-intl-may20-dhavalbbhatt
5b8dac4c6859d5ad8dd0172760e0da8c44702c17
25a540199ef3f280d1af089f04f0cbb9b1a2896f
refs/heads/master
2022-12-17T20:17:47.400264
2020-09-19T15:26:22
2020-09-19T15:26:22
272,688,716
0
0
null
null
null
null
UTF-8
Python
false
false
1,618
py
import numpy as np import pandas as pd import seaborn as sns import matplotlib.pyplot as plt from scipy.stats import zscore from scipy.spatial.distance import cdist from mpl_toolkits.mplot3d import Axes3D from sklearn.metrics import silhouette_score from scipy.cluster.hierarchy import fcluster from scipy.cluster.hiera...
[ "noreply@github.com" ]
GreatLearningAIML1.noreply@github.com
3cb3be8a872fd8a7f21d7372025d4bd859d75b2a
d594ae226c00f78259520e5c9f4b7872c050359c
/day18/demo06.py
eb782b904bdf108af3f68322d0d0fb1cf5bf6982
[]
no_license
mangodayup/month01-resource
abebc13827498b96257f83387f6d205f8f5c7c04
b194de4a6affc651c5a631970adc02429f0b2b5c
refs/heads/master
2023-03-11T13:58:05.920374
2021-03-02T09:27:25
2021-03-02T09:27:25
343,714,101
0
0
null
null
null
null
UTF-8
Python
false
false
486
py
""" 装饰器-使用方式 返回值 将旧功能返回值作为内函数的返回值 """ def new_func(func): def wrapper(): print("新功能1") result = func() # 将旧功能返回值作为内函数的返回值 return result return wrapper @new_func def func01(): print("功能1") return 100 @new_func def func02(): print("功能2") ...
[ "chenjingru@chenjingrudeMacBook-Pro.local" ]
chenjingru@chenjingrudeMacBook-Pro.local
b221bd8d3a7663132e3024e8df731bbba6327505
eb1ff39da7264fb48274bb6f21d894317e69f499
/TLS_Extended_Master_Checker.py
66d3a958fe85a378677f82d3d613a1e64045d0ff
[ "Python-2.0" ]
permissive
princeofdarkness76/TLS_Extended_Master_Checker
fb0fe511a5cefcbdd20eaca98279c67c956d4bdf
7a78dde5d5898ca8a29bf2a41d9184741f305459
refs/heads/master
2017-12-02T21:40:11.490326
2015-11-11T01:17:35
2015-11-11T01:17:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,914
py
#!/usr/bin/env python import sys import socket import time import struct strTitle = "Tripwire VERT TLS Triple Handshake Detection Tool (Extended Master Secret Extension Checker) v0.1" if len(sys.argv)<2: print "%s by Tripwire VERT (@TripwireVERT)\nUsage: %s <host> [port=443]" % (strTitle, sys.argv[0]) quit() e...
[ "cyoung@tripwire.com" ]
cyoung@tripwire.com
48e1ea0a076abcf635500cd6452dcecf62b3ab6f
65a18a1aec95c4691e7a35d5005e4bdc63994f0c
/node_modules/socket.io-client/node_modules/engine.io-client/node_modules/ws/node_modules/utf-8-validate/build/config.gypi
efecf0382afd8201b747d76c0df1ec8737899a8c
[ "MIT" ]
permissive
lizine/voting-client
a51e7d59f114c2012516df161ee9318080ee8b40
14bd0e931271f264ba578d7f617172c34e6f48da
refs/heads/master
2021-01-10T08:11:37.926410
2015-11-09T15:08:27
2015-11-09T15:08:27
45,112,566
1
0
null
null
null
null
UTF-8
Python
false
false
3,714
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "gas_version": "2.23", "host_arch": "x64", "icu_data_file": ...
[ "nina.liljeblad@gmail.com" ]
nina.liljeblad@gmail.com
2439b71785d57c53f36a960340c033738e810909
198778d08e008e75407bb10bb01e49899311a6d6
/utils/liquid_nitrogen.py
04ceee00239872661af4ba716476d68901d1c157
[]
no_license
kate-v-stepanova/B250_lab_monitor
febf6934a016e0ac1d05e061a57bb6320432aa85
c2ab87999fdcfb13da091abbe7609eac526364fd
refs/heads/master
2021-11-15T05:44:37.417199
2021-09-27T15:42:47
2021-09-27T15:42:47
186,001,802
0
0
null
null
null
null
UTF-8
Python
false
false
2,710
py
import os import click import pandas as pd import redis import json localhost = "172.22.24.88" # local remote_host = "172.22.25.100" # remote remote_host = "172.22.54.5" # windows home = "192.168.0.157" port = "6379" @click.group() def cli(): # do nothing pass def rows_from_range(row): df = pd.DataFrame...
[ "kate-v-stepanova@github.com" ]
kate-v-stepanova@github.com
36c5182c5a293eab5a8bde749d483b6198bb717a
75ba9b6d2f700061b936666cbc5c2db03c7712f2
/p45_triangular_pentagonal_hexagonal.py
3c4397b72ac819f2c0e1932734bbae99f310a847
[]
no_license
yansenkeler/pyApp
9f401a14fe3c10fd54b8bbc424c09d05130bf8a4
2666767b6c3d6a3a222cfbe27a2d2daad3f2d4f0
refs/heads/master
2021-01-12T10:20:58.380209
2016-12-21T01:50:48
2016-12-21T01:50:48
76,427,919
0
0
null
null
null
null
UTF-8
Python
false
false
761
py
# Triangle, pentagonal, and hexagonal numbers are generated by the following formulae: # Triangle Tn=n(n+1)/2 1, 3, 6, 10, 15, ... # Pentagonal Pn=n(3n−1)/2 1, 5, 12, 22, 35, ... # Hexagonal Hn=n(2n−1) 1, 6, 15, 28, 45, ... # It can be verified that T285 = P165 = H143 = 40755. # Find the next triangle numbe...
[ "qianyuxinjustone@gmail.com" ]
qianyuxinjustone@gmail.com
72002c248848b5d46a7f14d3d0f222a47809859d
455885bbf49a83ae3e31f20bbd1bd1b8c7185f0a
/data/xlreaderweeks.py
5017579d846451067a8553ed3972fa395c28d7bb
[]
no_license
eivankin/pulkovo-flex
6acb22847f3a8338f41aa6c3ec56c6e0526f6cc9
6400eda9f7d5a01e77949b9b3cdcc8543992f30b
refs/heads/master
2022-12-09T05:40:16.762301
2020-08-25T17:32:59
2020-08-25T17:32:59
287,484,853
1
0
null
null
null
null
UTF-8
Python
false
false
1,286
py
from glob import glob import os import pandas as pd if __name__ == '__main__': paths = glob(os.path.dirname(os.path.abspath(__file__)) + '/Расписание по неделям.xlsx', recursive=True) bigdata = [] for path in paths: xl = pd.ExcelFile(path) for sheet_name in xl.sheet_names: m...
[ "69670642+DanteTemplar@users.noreply.github.com" ]
69670642+DanteTemplar@users.noreply.github.com
d55793fb609d3a3e4998700541371e7831f39f4d
a978460896c2d81f009dd96f7601403b01e1cb50
/Code-Fun-Do-18-tried-django/yt_comment.py
222ff59587a55a30b6e14a427552b98196b68b23
[]
no_license
ankusht/Django_project
717b6483db6d212292a56079a8888a58dfdf3ff6
2153edc5753af2ff119c4db97aa54a542e73f575
refs/heads/master
2021-04-06T18:05:52.108748
2018-03-15T10:33:20
2018-03-15T10:33:20
125,348,538
1
0
null
null
null
null
UTF-8
Python
false
false
384
py
import yt_comment_api as yt_api # # # # # ITERATION_CALL = 10 # # # # # def get_videoId(url) : tmp = url.split("?")[1] video_id = tmp.split("=")[1] return video_id def process(video_id) : response_raw = yt_api.init(video_id) return response_raw def init(url) : video_id = get_videoId(url...
[ "noreply@github.com" ]
ankusht.noreply@github.com
369add1f2e8ed2f7a86b91b166f88feef21733e3
63b79eb44cf682ece74be1fc866f7651837db448
/powerplay/models/game_content_media.py
cc2654fda4508741a4901f39caab2b020b8b674c
[]
no_license
bclark86/powerplay-py
c8cc4df8acd9ada91299706b7a7113ab9c963645
584d754629936a93d95157356ff806a5c68438dc
refs/heads/main
2023-07-19T04:23:16.510338
2021-09-02T13:17:12
2021-09-02T13:17:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,861
py
# coding: utf-8 """ NHL API Documenting the publicly accessible portions of the NHL API. # noqa: E501 OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class GameContentMedia(object): """NOTE:...
[ "saiem.gilani@gmail.com" ]
saiem.gilani@gmail.com
b158c6b766b190a354696a9b56f4c4b8b3e4e9e8
7d146952331a5351b251c386335d23831499a4b1
/Max_Sum_Subarray_of Size_K.py
cd4531d6617cd5fc7fe47ff720ced67fd3b83e2d
[]
no_license
angela-laien/leetcode_problems
12c98921994044d90a8d80bf23deb5fe6d9af7a9
31fda85d694f79f429f429ac64f5c6baa8d4bbdb
refs/heads/main
2023-05-30T17:31:49.551098
2021-06-27T17:16:48
2021-06-27T17:16:48
364,058,703
0
0
null
null
null
null
UTF-8
Python
false
false
572
py
# Given an array of positive numbers and a positive number ‘k,’ find the maximum sum of any contiguous subarray of size ‘k’. # Input: [2, 1, 5, 1, 3, 2], k=3 # Output: 9 # Explanation: Subarray with maximum sum is [5, 1, 3]. def max_sub_array_of_size_k(k, arr): # TODO: Write your code here window_start = 0 win...
[ "laienxie@gmail.com" ]
laienxie@gmail.com
7e7b3fe43e3b8ca055aef0f1d5fb529379d0015f
49bf93024f1a4f501a627e1fe965fb99477de779
/main.py
e6d42edfaa5ca1f52d92dba19f097cc6bc23c1b6
[]
no_license
Nazmus-Sakib-1987/git-tutorial
88a016176dbff7936d9e5d082c853b0e29f7ad80
a33c709da6d7066cbe4049404d4f32425abe3815
refs/heads/master
2020-05-24T01:47:13.475718
2019-05-16T15:38:42
2019-05-16T15:38:42
187,041,090
0
0
null
null
null
null
UTF-8
Python
false
false
53
py
day = 'friday' if (day == 'friday') print("Hell")
[ "sakib@tb-bd.com" ]
sakib@tb-bd.com
f484cfaede76ca9e2378408414f754d0bdd1778b
0cd5763307766ce063d01a497dc20a49ebb52215
/mysite/settings.py
d0f801feefa66e16fabe08128f81f55dd697a8be
[]
no_license
kuzur/my-first-blog
903b5a4ed344fa47eed1bb64b695d63f35063514
b48f723cbd2db7f3be027ab82d5d3825a298a552
refs/heads/master
2020-03-21T05:37:24.696260
2018-07-09T08:54:53
2018-07-09T08:54:53
138,169,548
0
0
null
null
null
null
UTF-8
Python
false
false
3,193
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 1.11.13. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os...
[ "a5816028@aoyama.jp" ]
a5816028@aoyama.jp
511e48ff9cf4124d93300673c578b39bc6d7f334
0bd1a778c5cf9d908a2eee61945f86aa61b686ff
/Circular_Array/test_circular_array.py
536932be7132b394a22f41d6b561d5f928fc8b29
[]
no_license
baubrun/HackerRank
81f652bde608d79ec9d678e21afa9d174fe850b1
f9d5def5b5f9f4cf4d365ccb2e51053de72e482a
refs/heads/master
2021-07-06T18:02:35.585945
2020-07-19T14:47:55
2020-07-19T14:47:55
133,244,723
0
0
null
null
null
null
UTF-8
Python
false
false
390
py
import pytest from .circular_array import circular_array_rotation as cr @pytest.mark.parametrize("k, a, queries, expected", [ (2, [1, 2, 3], [0, 0, 0], [2, 2, 2]), (3, [99, 10, 2, 3, 672], [0, 2, 3], [2, 672, 99]), (10, [], [], []), (1, [1, 2], [-1], [1]), ]) def test_circular_array_rotation...
[ "noreply@github.com" ]
baubrun.noreply@github.com
16518bf24c2f192812f3d6ef3df3a7f824e8a741
264c19e525926110eaee703680eed9dddf0d948b
/untils/__init__.py
952b02a1660763dfcc5e0022b1eb6f27298956a7
[]
no_license
sunny-xiabo/Appium_py3
424b224cfa111fb994aa5405327e802c0a7df229
499fabc0db7727db748b3fd648ee09c0d467017f
refs/heads/master
2023-05-27T14:31:06.758117
2021-06-23T03:59:40
2021-06-23T03:59:40
379,110,394
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
""" # coding: utf-8 # @Author:xiabo # @File : __init__.py.py # @Date :2021/6/16 下午5:17 """ ''' 公共的工具模块 '''
[ "xiabo@xiabo-MacBook-Pro.local" ]
xiabo@xiabo-MacBook-Pro.local
e6599d6bb43f7f48a41f3ba72d4313610e4c2643
07c427042a83fb823c78646fcd50d5522afec797
/url_manager.py
5ff908eebb479be7a9bab451f1bab4f18f8c24b6
[]
no_license
ZXShwan/Python_Web_Crawler_BaiduBaike
ebc7b2a6cc9cc7bd012bcaf2bf6ffbd75a509143
c534f6284af2e041308dde3d4be8217bca4c2f69
refs/heads/master
2021-01-23T10:19:38.865100
2017-06-01T10:58:44
2017-06-01T10:58:44
93,044,121
0
0
null
null
null
null
UTF-8
Python
false
false
704
py
# -*- coding: utf-8 -*- __author__ = 'zx' __date__ = '6/1/17 12:14' class UrlManager(object): def __init__(self): self.new_urls = set() self.old_urls = set() def add_new_url(self, url): if url is None: return if url not in self.new_urls and url not in self.old_urls...
[ "xz1661@nyu.edu" ]
xz1661@nyu.edu
6c3fd9da7b87347b3492d331dcb2e31a479bf9b3
f1c21afcd4816411568e6697ad3925126269d1fc
/tests.py
0d2fc9556a688cb20025594bb7a22da4d4be10e8
[ "Apache-2.0" ]
permissive
alphabet5/yamlarg
22acbd34daf48a9585f27c15162bdb91aea0d821
22ae5886f7ef2171d777c17cb0c436ada1672904
refs/heads/master
2023-07-10T12:33:24.691796
2021-08-18T05:12:32
2021-08-18T05:12:32
285,971,870
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
import yamlarg if __name__ == '__main__': args = yamlarg.parse('arguments.yaml', description="This is an example description.\nPlace an overview here.") print(args) assert args == {'string': 'default string', 'bool_false': False, 'bool_true': True, ...
[ "alphabet5@users.noreply.github.com" ]
alphabet5@users.noreply.github.com
11832a870cc5cd62a03c290b44260a6fe6dfca23
b9a360c33aa6f2a33b3cc45a94667923aefb2d91
/blueprints/puzzle/models.py
a18748f36d92714515423f401769d815cc23ff69
[]
no_license
vkotek/web.kotek.co
8068ab16926edee86c2bbb4829e52ca5d9707fb6
d2f621fd3a16531efe4750f6969deb4a2e921690
refs/heads/master
2022-12-10T00:57:47.202437
2020-07-20T23:00:45
2020-07-20T23:00:45
192,185,513
0
0
null
2022-12-08T05:15:54
2019-06-16T11:55:59
HTML
UTF-8
Python
false
false
3,177
py
import datetime class PuzzleCounter(): def __init__(self): # with open('counter.txt', 'r+', encoding="utf-8-sig") as f: with open('/home/vojtech/web.kotek.co/myapp/counter.txt', 'r+', encoding="utf-8-sig") as f: self.errors = [] self.counter = f.readlines() self...
[ "kotek.vojtech@gmail.com" ]
kotek.vojtech@gmail.com
d7d20ba482b4a4e2eb22989f1522607e4cf5c0db
80cd47d959c2d17672cc4a79eed6a476c4dc5e6f
/binding.gyp
505430e66ca3202fb6d2f3b69b2e2b57cff357a6
[]
no_license
KTXSoftware/kit-git
5ad520a94e681a18431de48a21f343903e3cb1c8
622266935528a0d1cd9bf517906481c6a5a346f5
refs/heads/master
2021-03-12T19:53:44.133880
2014-02-06T02:44:32
2014-02-06T02:44:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
928
gyp
{ "targets": [ { "target_name": "git", "include_dirs": ["libgit2/src", "libgit2/include", "libgit2/deps/http-parser", "libgit2/deps/regex", "libgit2/deps/zlib"], "sources": [ '<!@(ls -1 libgit2/src/*.c)', 'libgit2/deps/http-parser/http_parser.c', 'libgit2/deps/regex/regex.c...
[ "robert@ktx-software.com" ]
robert@ktx-software.com
7db05f705d72bdf87180f6a7bff371d915d8b61e
299e5934971f9de638692e2667d6e270bcab5cbd
/214.最短回文串.py
fd576408b90eb365d8d4759abcade422cdf7f582
[]
no_license
ycj123/Leetcode-Python3
14bcd6c9f4d26191d5d40c77e923df4d0be4c0e5
1593960cdf2655ef1dcf68e3517e7121670c6ac3
refs/heads/master
2022-12-16T23:12:19.326702
2020-09-18T00:17:45
2020-09-18T00:17:45
295,302,872
0
0
null
null
null
null
UTF-8
Python
false
false
804
py
# # @lc app=leetcode.cn id=214 lang=python3 # # [214] 最短回文串 # # https://leetcode-cn.com/problems/shortest-palindrome/description/ # # algorithms # Hard (36.30%) # Likes: 262 # Dislikes: 0 # Total Accepted: 23.3K # Total Submissions: 64.2K # Testcase Example: '"aacecaaa"' # # 给定一个字符串 s,你可以通过在字符串前面添加字符将其转换为回文串。找到并...
[ "yangchijiang@icloud.com" ]
yangchijiang@icloud.com
e04bf0edd831ae16bfc02fa43b3fe311a800cda5
90e88e14e77e5689bfaf3dfcbebf87da3e244e08
/packages/urls.py
1d4c96ecf518dc513750ba2062f4eb240e8dca4b
[]
no_license
Code-Institute-Submissions/Fullstack-milestone-project-2
5309978a080ae9dd834f52b6931636003c189e68
cbf1b60b570a93950e04870900ec1424c4f37785
refs/heads/master
2022-12-11T08:56:20.897445
2020-08-28T14:52:32
2020-08-28T14:52:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
118
py
from django.urls import path from . import views urlpatterns = [ path('', views.all_packages, name="packages") ]
[ "02bburrell@live.co.uk" ]
02bburrell@live.co.uk
ec7acf98f9484508ac4aef0ff75457eae8bd99f0
f05acf7451fe58b64ec11744e8afddf142014efa
/crowdsorter/views/_session.py
dd75bd5c8d2a06dddfad4e0d7a5a23f7570d19a0
[ "MIT" ]
permissive
iCodeIN/crowdsorter
899ac58b1df43ca134d3f966dcf2ec1c4a49e0df
1c847f1f0284fc810ec1f2dd501acb4dbfa16bbb
refs/heads/master
2023-03-26T16:09:04.914897
2020-11-11T18:25:55
2020-11-11T18:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
from flask import session VERSION = 2 # increment when session logic changes to clear sessions VOTED_NAMES = f"voted-names:{VERSION}:" SKIPPED_NAMES = f"skipped-names:{VERSION}:" VIEWED_PAIRS = f"viewed-pairs:{VERSION}:" def get_voted_names(code): return _get(VOTED_NAMES, code) def set_voted_names(code, name...
[ "jacebrowning@gmail.com" ]
jacebrowning@gmail.com
662555aca7c1d66e74f10738efcc2f5fb35f7b05
c2284525657ab9793998f7c24c77f5771e71dcf5
/python/schedule_table.py
fe1a5cda44c43e03dbe0deb80a2794f43c2029c4
[ "MIT" ]
permissive
cebarbosa/spanet_gc2018
5663b4d139d4f38ca3c4ea9b2277f2a7b287865c
73864099826cc906bf0ea708570381400fee079b
refs/heads/master
2021-05-04T20:36:02.215227
2018-06-15T17:06:40
2018-06-15T17:06:40
119,824,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,142
py
# -*- coding: utf-8 -*- """ Created on 20/03/18 Author : Carlos Eduardo Barbosa Produces table with schedule """ from __future__ import print_function, division if __name__ == "__main__": with open("SPAnet_schedule.tsv", "rb") as f: text = f.read() schedule = ["\tschedule: ["] for line in text...
[ "carlos.barbosa@usp.br" ]
carlos.barbosa@usp.br
c1d4e5f26be2344dfa2accb7a8e7e99f3bdd7265
f659d3bf1a963705e1d1b14891e6e3162d0a704b
/homework_3/all_tasks.py
051e8053c8dcef6997c8b29c9db3ee29009abdeb
[]
no_license
alexvinyar/python_homeworks_2017
178f84677d242d27c1fd890a6fd8cf8206b42c59
adc87d7b54b37781dd974fb84ea534e97fe3e355
refs/heads/master
2021-09-09T16:18:30.862569
2018-03-17T21:11:06
2018-03-17T21:11:06
103,245,531
0
0
null
null
null
null
UTF-8
Python
false
false
5,460
py
from pattern.web import Wikipedia, plaintext from nltk.util import ngrams from collections import Counter import string import re import numpy as np class WikiParser: def __init__(self): pass def get_articles(self, start): start_article = Wikipedia().article(start) links = start_ar...
[ "alexvinyar@yandex.ru" ]
alexvinyar@yandex.ru
7b3cf3ffe24d71c33b95a9fdea478716907e5d9a
7e2978d164305adfafd1f856817750fc54e161a8
/exp/tools/exp2-2.py
07ce08a32f6b6a61cfd43c94f8367af88345199a
[]
no_license
ZoharAndroid/plot-script
6d88a99bef776eff3f03300bcd9e6db83d70f66e
064b853c321fe2d3648d32d5257ec7674ad11419
refs/heads/master
2021-01-13T23:26:32.079141
2020-02-23T14:27:07
2020-02-23T14:27:07
242,527,452
5
0
null
null
null
null
UTF-8
Python
false
false
2,091
py
#!/usr/bin/python3 # -*- coding: utf-8 -*- # @Author: zzh # @Date: 2020/2/7 2:25 import numpy as np from utils import Utils from plot import * from font import * import sys # 读取命令行参数 csv_filename = sys.argv[1] # csv文件名 platform = sys.argv[2] # 平台类型 # 读取csv文件中的内容 data = Utils.read_csv_row(csv_filename) xtick_label ...
[ "1048132071@qq.com" ]
1048132071@qq.com
d7b4e049f95736c4a3a270a0a6e326a8bc7e03d5
887b9fd5f4fd4b9448f32750788b138b2e94be3e
/stock/futu/import_requests _income.py
6411f1232d8b5870521859d6a0da9b07f5f729fa
[]
no_license
hong0396/hotwind_git
8fa11b3bc46aadd0b83b297cb6c6919102b7b920
544d984d8a8cdc42b422792a5064d19d24e0c831
refs/heads/master
2020-04-04T01:11:50.010424
2018-11-03T07:24:59
2018-11-03T07:24:59
136,184,346
0
0
null
null
null
null
UTF-8
Python
false
false
863
py
import requests headers={ 'Accept': 'application/json, text/javascript, */*; q=0.01', 'Accept-Encoding': 'gzip, deflate, br', 'Accept-Language': 'zh-CN,zh;q=0.9', 'Connection': 'keep-alive', 'Cookie': 'UM_distinctid=165fa9285fb762-07c06f613d5cac-8383268-e1000-165fa9285fc20a; cipher_device_id=1537507232150902; tgw_l7_r...
[ "hong0396@126.com" ]
hong0396@126.com
b457bebee7fa5e0ee5d2b272b11cfbb9d94bea0a
71f202160b4b0655586334385d5534fef8de87a8
/node_modules/watchpack-chokidar2/node_modules/fsevents/build/config.gypi
d5402abadccbf7d64c721b596d82741eb26bca6d
[ "MIT" ]
permissive
allisonwmoss/devdo-frontend
03b7ae9a971660a9fb38dd4ab144eb84d5b9e526
9e295953f60b527fb72496544da667f60f0326d0
refs/heads/main
2023-08-24T04:16:42.218294
2021-10-25T13:46:08
2021-10-25T13:46:08
416,338,963
0
0
null
null
null
null
UTF-8
Python
false
false
12,834
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "dcheck_always_on": 0, "debug_nghttp2":...
[ "allisonwmoss@icloud.com" ]
allisonwmoss@icloud.com
ed36ee78b965fc7dec1022adbadd0b25044a33e8
b2e57842d156ef97ce843a30bcd53d64cae1714f
/manage.py
91ca64ac90352be6943720d97020ebd39c171397
[]
no_license
jauharibill/datascience-pertanian-web-django
2daeb85e3cd519af5fb5e77f6075b77ef6f1ee7c
be451c27340a40dffc2bf9fc01a2f3a5fd594c20
refs/heads/master
2020-04-05T21:36:20.620363
2018-11-24T23:25:34
2018-11-24T23:25:34
null
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "SKRIPSI.settings") try: from django.core.management import execute_from_command_line except ImportError: # The above import may fail for some other reason. Ensure that the ...
[ "xcodebill@gmail.com" ]
xcodebill@gmail.com
12bb374cf8180e49e825035a2663e222b3cc0907
adf092e31ce156b45a03f0411ab18d0a567e4a39
/showdata/admin.py
acc54fa885a69d5669d9a05810f26ac170103ef7
[]
no_license
jaggi-mohit/Q-Think-
b8280e8014872bcdfa6f90b21aca028d1bc28e5e
01ed7ebac4a55c955b3eabdf3028f058203b8fc7
refs/heads/main
2023-07-31T18:59:41.565946
2021-09-07T13:17:06
2021-09-07T13:17:06
403,983,696
0
0
null
null
null
null
UTF-8
Python
false
false
152
py
from django.contrib import admin from .models import showdata,ans admin.site.register(showdata) admin.site.register(ans) # Register your models here.
[ "jaggimohit01@gmail.com" ]
jaggimohit01@gmail.com
b2df3ae98d1a7f952e4f192ca17d0aa494cf4859
5c5fb808dd5f4a6eaa78f2d1bf7b0a6812e41b41
/database/mymysql.py
819fcf32a7ea589acae0514b79a183bff1102a45
[]
no_license
bugdude01/databaseTester
aa4d204ac7cfbc7bbacdc517249c04aaea9c294b
82d9817b1d0ebc52376a7a5e162f614b1b354f96
refs/heads/master
2020-12-02T22:36:33.306029
2018-01-10T15:40:12
2018-01-10T15:40:12
96,155,503
0
1
null
2017-07-04T07:57:55
2017-07-03T22:39:04
Python
UTF-8
Python
false
false
2,078
py
import mysql.connector as _mysql class MySQLDatabase(object): """ This is the driver class that we will use for connecting to our database. In here we'll create a constructor (__init__) that will connect to the database once the driver class is instantiated and a destructor method that will cl...
[ "rafrhodes@yahoo.co.uk" ]
rafrhodes@yahoo.co.uk
a3e864dbe6345a2de83ebc2a959dd972fad8e4c0
7785cc3baee39fb4065538ea96513f181f5b2260
/modules/BettingAnalyzer.py
b5ad5913c58b8b217338a8a9d8412a3f5c0988b9
[]
no_license
AgborFrank/soccer-draws-bettor
18d71fad5ef6e90e1f2a85d5a35c9faf8c552964
59c9c02b1fbfe18a57e3079966a1df6e3e524afb
refs/heads/master
2022-02-20T09:52:26.752692
2018-12-26T16:53:09
2018-12-26T16:53:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,995
py
""" BettingAnalyzer.py """ from Logger import Logger from SystemParameters import * import time class BettingAnalyzer(object): """ Keeps bet history, provides related statistics """ def __init__(self): self.current_balance = 0.0 self.current_betting_level = 1 self.start_time ...
[ "rjg26247@gmail.com" ]
rjg26247@gmail.com
e7eb2234e064282efebfdb573efbd8e47c608a09
32a89f276e8e5784b41c652f2f6eded6cda0bf5a
/src/blog/urls.py
0312104053fb8a8ab7b3fa70d9b0100e7e15b63f
[]
no_license
Chirag-py/Blog
54c2d316fb104c888074f928a8cf5f5dae3ed5ca
b75449453cb765011a01ffad8cadb96e9b521a30
refs/heads/master
2022-12-07T20:30:48.593930
2020-09-01T19:07:50
2020-09-01T19:07:50
287,372,169
0
0
null
null
null
null
UTF-8
Python
false
false
494
py
from django.urls import path from .views import ( blog_post_detail_view, blog_post_list_view, blog_post_update_view, blog_post_delete_view, ) urlpatterns = [ path('', blog_post_...
[ "64911607+Chirag-py@users.noreply.github.com" ]
64911607+Chirag-py@users.noreply.github.com
c1db4e92b7a964a33d0b63902ca1030ea5153541
44d0256cf2b74fb48f2787ce5b32b61103eb8e81
/forest_type.py
904456349336c9fdf6d0331331ee974f43a2b4bd
[]
no_license
KongHag/Danslesbois
c0fa3ac72e52d864e1776b5c903985adc37b0b02
da7d98eb7138125831a9fdb080919fb80d342ace
refs/heads/master
2020-03-28T09:44:49.188270
2018-09-16T03:30:47
2018-09-16T03:30:47
148,057,104
0
0
null
null
null
null
UTF-8
Python
false
false
299
py
# -*- coding: utf-8 -*- """ Created on Sun Sep 9 19:13:47 2018 @author: hugof """ import pandas as pd import numpy as np train = pd.read_csv(r'C:\Users\hugof\OneDrive\Documents\Kaggle\all\train.csv',sep=',') test = pd.read_csv(r'C:\Users\hugof\OneDrive\Documents\Kaggle\all\test.csv',sep=',')
[ "39108853+hugof38@users.noreply.github.com" ]
39108853+hugof38@users.noreply.github.com
ebff6e8a294d8b73e377247afd49c509be231ebf
a52e2dc412e81de22e1a56d22dbc2f4dce708ccc
/Systems/DT.py
54926f136ac71af6859a77666110ba83150fb844
[]
no_license
Team293/NoamsCode
26f0858b32d7f7595db6d4dd803ef0e5ac4bc9d4
3052698e2373c13ebd86b8d6369c20467392e586
refs/heads/master
2021-01-22T11:55:12.126057
2015-10-19T19:30:35
2015-10-19T19:30:35
19,043,033
0
0
null
null
null
null
UTF-8
Python
false
false
43
py
def main(): print("Oh yah driving \n")
[ "noam999@veryspeedy.net" ]
noam999@veryspeedy.net
66c5c64fb88018971d1bb341151a3e4ec51d0498
8f782f962ba2501a75d40fca88500d884e8229be
/Desafios/Desafio_079.py
b69a000240ee6d9aaa8fc8fff654d0c0a668dca3
[]
no_license
HenriqueNO/Python-cursoemvideo
f6ec1284a9cbf7e86a12d6a541e45b4ad6290cf6
089f85fbfd88672cc1d9a89b075a40dd96354f40
refs/heads/main
2023-03-12T19:49:22.540090
2021-02-28T15:42:19
2021-02-28T15:42:19
343,133,567
1
0
null
null
null
null
UTF-8
Python
false
false
564
py
lista = [] p = '' while p != 'n': n = int(input('Digite um número: ')) if n not in lista: lista.append(n) else: print('Valor duplicado, número não adicionado') p = str(input('Deseja continuar? [S/N] ')).lower().strip()[0] while True: ...
[ "henrique.nunes478@gmail.com" ]
henrique.nunes478@gmail.com
91e528925024ee60a3e68517f50cb0ef2c2dc7e3
c71cde9642375b9365c41055c7b84bbef24cbdac
/ptp_nni_l2mc_basecase.py
d7c8b3026588939ab38a61a10716aed64d081a67
[]
no_license
lightthgil/autotest
10e59bc814690b6b298f70eb6822e4ec1d23494e
c2efb3f6d4eca3567a46aca15611a295337a38c0
refs/heads/master
2020-08-13T04:55:04.339047
2019-10-13T23:50:13
2019-10-13T23:50:13
214,910,546
0
0
null
null
null
null
UTF-8
Python
false
false
654
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/3/14 15:03 # @Author : Jiang Bo # @Site : # @File : ptp_nni_l2mc_basecase.py # @Software: PyCharm from ptp_l2mc_basecase import * class PtpNniL2McTestBaseCase (PtpL2McTestBaseCase) : """ PtpNniL2McTestBaseCase """ def change_inte...
[ "light" ]
light
d20e606c613d78c5971e9e9c8e93448c465bcbe1
68aa9bf99d62a5b991dc5aaa3d794f4bcd6e355a
/Programiranje/gui/Capital_Cities.py
24cfdaf80e27e2162949498aef012db6a6261742
[]
no_license
dujodujo/lemur
82c9e695459597ab1b3430e566bc375af84d563c
1e6350b33f86f89f89c5bddbd3924364f027160e
refs/heads/master
2021-01-01T16:49:35.386172
2013-11-06T09:59:12
2013-11-06T09:59:12
14,150,163
1
0
null
null
null
null
UTF-8
Python
false
false
2,022
py
import sys, os, random from PyQt4.QtCore import * from PyQt4.QtGui import * class Form(QDialog): def __init__(self,parent = None): super(Form, self).__init__(parent) self.get_data() self.answers = 0 self.count = 0 self.countryLabel = QLabel("Country:") self.fromCo...
[ "avsic.ziga@gmail.com" ]
avsic.ziga@gmail.com
20be70f63cae206591407f2d022ea4038bbcf037
17782c846f362582772c53e3a3a0e5ddf95d54b2
/1course/P/warrior.py
5d6eb3c24efe4bb24da9388d935e6a315748941c
[]
no_license
youngdanon/InfoLessons2021-2
07e3cf4d15c6c3a5630d264c5b5336a276ec9793
f4e4c970e9c7eda161b21d20a642f517913e01e8
refs/heads/main
2023-07-23T22:52:39.714760
2021-09-03T07:31:26
2021-09-03T07:31:26
338,988,399
0
0
null
2021-02-21T20:40:04
2021-02-15T06:38:23
null
UTF-8
Python
false
false
4,226
py
from abc import ABCMeta, abstractmethod from random import randint as ri units_classes = {"MAGICIAN": "MAGICAL", "WARRIOR": "SIMPLE"} class Unit: max_health = 0 __metaclass__ = ABCMeta _max_damage = 0 _block_chance = (0, 0, 0) # randint([0], [1])==[2] @abstractmethod def __init__(self, name...
[ "Danil4693" ]
Danil4693
14a22648976b34b515b577929448b3bc0e537ab8
7703e4b37056ddb8ab5154caa200747b6af398de
/shiv.py
8e223b44d2d8c2e90960eca9c0e91d3cadf3ab30
[]
no_license
svk1998/Learning_rep
27ab54c3e70e5a465aa8840512b408ea32c6a3de
127df1a1890dd61bb6bab2671d0d33bf82c04070
refs/heads/master
2022-12-01T08:19:09.922847
2020-08-17T15:29:46
2020-08-17T15:29:46
288,235,875
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
print("jkasdhfk") ghfghfgh
[ "svk19998@gmail.com" ]
svk19998@gmail.com
aa5b9abcf3f29620ae6f009d8186a34c7ef26686
3587930bb01a3935137a8ca5f83d93e88756f62c
/old/test/app.py
18e5fd396e24b2989555dd8ce9c71843db9826bd
[]
no_license
gomi-kuzu/npb_bot
2be518d8cbaa8be4833711fee43d278e074f1210
dd1ae227650581231460a0822445f8fdeadf5584
refs/heads/master
2022-01-05T19:13:58.063004
2019-07-21T10:11:09
2019-07-21T10:11:09
198,041,289
0
0
null
null
null
null
UTF-8
Python
false
false
282
py
from flask import Flask app = Flask(__name__) @app.route('/') def hello(): name = "Hello World" return name @app.route('/good') def good(): name = "Good" return name ## おまじない if __name__ == "__main__": app.run(debug=False, host='0.0.0.0', port=5000)
[ "syookiti@gmail.com" ]
syookiti@gmail.com
ccf1c9f6ef537d82ccc07b23265965dbb726f316
9aac8ad0ca3687536c4015b5f8e4035d3f600399
/myenv/bin/pip
015d5ca1221dc8b813fc27bf0d6620120a47d387
[]
no_license
yespk/tweetme-2
9207f72c2099ba52e985a5f52a6c82d91944a18b
5c2657483b9f3ac7b332127dd14e9f4becc346c5
refs/heads/main
2023-01-07T06:08:32.188335
2020-11-06T09:57:05
2020-11-06T09:57:05
310,548,164
0
0
null
null
null
null
UTF-8
Python
false
false
250
#!/home/satya/clone/tweetme-2/myenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "ksatyaprakash143@gmail.com" ]
ksatyaprakash143@gmail.com
6105c024e51b9d2ded47f81f602e2f39c1080597
aa9afcb895193a34e7622ae0b3e5efcd270f6f58
/Pacico/0000/0000.py
047a868714a24738ddda4c334f04fca2463b85a0
[]
no_license
Pacico/python
f8542eba6e7cef91abeb0ca5e5adba9039095756
d2df49c423cf7ec69c972a34db5f06a1dd0ec79d
refs/heads/master
2020-05-29T11:46:32.416852
2015-12-02T12:35:39
2015-12-02T12:35:39
47,053,922
0
0
null
2015-11-29T07:17:21
2015-11-29T07:17:21
null
UTF-8
Python
false
false
965
py
# -*- coding:cp936 -*- def imgaddingtext(filepath,text,fonttype='arial.ttf',color='black'): from PIL import Image, ImageDraw, ImageFont import os img=Image.open(filepath) x,y=img.size draw=ImageDraw.Draw(img) font=ImageFont.truetype(fonttype,(min(img.size))/5) draw.text((x/2,y/2),text,fill=c...
[ "trin.lai@qq.com" ]
trin.lai@qq.com
69aa022e185b5ec3bb7d2f6da610e01aedc92957
fba1ae1672a770846eb219e4e092ba4c162aec40
/2.py
01fbf8c10fb3569d0961749560f345f35e124f7d
[]
no_license
peterbe/optimize-titles.json
9272ad39d7565c448dce2b22a3d844ef0e7524d6
ff7f8a01a5a742906ebb350c55cc963ca3b85e73
refs/heads/master
2022-11-23T05:33:05.004619
2020-07-15T18:18:48
2020-07-15T18:18:48
279,936,544
1
0
null
null
null
null
UTF-8
Python
false
false
275
py
import json import csv with open('0.json') as f: data = json.load(f) import csv with open('2.csv', 'w') as f: writer = csv.writer(f, delimiter="|") for each, value in data['titles'].items(): writer.writerow([each, value['title'], value['popularity']])
[ "mail@peterbe.com" ]
mail@peterbe.com
6165fd4fe24de731f158806ca62bf2c032c0ebf4
eaa0f14677e111d3c2e83cebfdfcfd00b7575e61
/radionator/radio/views/common.py
e7d7f8c6def12eae39dbebac76404fe0737784a9
[ "MIT" ]
permissive
pierstoyanov/radionator
ae0f2ecfc18e8045a082c7b906db8fcbf4772f32
3c6212179ccd2e135727f2ce95fdd0e517ce1551
refs/heads/main
2023-07-16T15:46:58.539667
2021-09-07T16:58:36
2021-09-07T16:58:36
318,448,349
1
0
MIT
2020-12-15T16:07:20
2020-12-04T08:13:46
JavaScript
UTF-8
Python
false
false
955
py
from django.contrib.auth import get_user_model from django.shortcuts import render # Create your views here. from django.views import View from common.BackgroundMixin import BackgroundMixin from common.CookieTestResultMixin import test_cookie from radionator.profiles.models import Profile RadioUser = get_user_model...
[ "0885095540gH!$!" ]
0885095540gH!$!
986e4045b106ad579041853e9891735e06800efd
52b5773617a1b972a905de4d692540d26ff74926
/.history/rottenOranges_20200810191228.py
2e8869821ab7c96fc3b8d53eff3ef2e939c3ffb4
[]
no_license
MaryanneNjeri/pythonModules
56f54bf098ae58ea069bf33f11ae94fa8eedcabc
f4e56b1e4dda2349267af634a46f6b9df6686020
refs/heads/master
2022-12-16T02:59:19.896129
2020-09-11T12:05:22
2020-09-11T12:05:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
492
py
def markrotten(i,j,row,column) def oranges(grid): # loop through the grid # if there is no fresh orange just return 0 # if there is a two check all its four neighbours # recursive call # count when a one becomes a two row = len(grid) column = len(grid[0]) for i in range(len(grid)):...
[ "mary.jereh@gmail.com" ]
mary.jereh@gmail.com
9cc030bbca81a79c26e69685afe4616aebc404df
0031bd210e25f9602a8ee3cf581c44e8e8f3a00f
/Junior/COSC0023-Py/Exercise/Queue at the School.py
2a28b8f0c6fd269fc7ef8532c0aa0e06a1a0726b
[ "MIT" ]
permissive
TiffanyChou21/University
d991d30cad3b28bb5abc929faa6d530219a1d844
9584fa6b052a59ce01a256efc77add5bbec68d98
refs/heads/master
2020-09-29T10:54:00.297491
2020-08-16T03:47:57
2020-08-16T03:47:57
227,021,880
0
0
null
null
null
null
UTF-8
Python
false
false
127
py
n,t=eval(input().replace(" ",",")) #老师讲的简便方法 s=input() for i in range(t): s=s.replace("BG","GB") print(s)
[ "TiffanyChou21@163.com" ]
TiffanyChou21@163.com
93739bdfaa56d59c46f716b0f96d1eb1e9bd5a03
e8a59da64d0c7cb31b7b692a4b99664a24040b63
/google.py
fcf3e0f3a26493095f8dc722e8a93e3e0c9be450
[]
no_license
geroalonso/emailalgo
f3ab3de0e1093052fe100984a26b0698f08d7773
c9a984954f2e47a28726026df16ba53daea7b290
refs/heads/main
2023-03-07T09:01:13.033947
2021-02-28T22:12:42
2021-02-28T22:12:42
321,402,414
0
0
null
null
null
null
UTF-8
Python
false
false
1,182
py
import requests from bs4 import BeautifulSoup import re import urllib.parse from urllib.parse import urlparse #IMPORTANTE #SOLO VA A LA PRIMER PAGINA #TENGO QUE REACOMODARLO def googleSearch(query): g_clean = [] url = 'https://www.google.com/search?client=ubuntu&channel=fs&q={}&ie=utf-8&oe=utf-8'.format(quer...
[ "geronimoalonso@icloud.com" ]
geronimoalonso@icloud.com
3e7c227a882f2cd39cdaf02c0f17a021690effc5
40a04920dea94179878e25a0804ce4a6b459aca9
/Python/Django/Portfolio/apps/first_app/urls.py
8e117530ce911208aad1a83f1f376ca1c35e005b
[]
no_license
Kryptonian92/pythonAssignments
5c7dd9140d07c94b19816ebbcaba579338479136
06355e0481307a77e5acd53b86b1fc144e98302a
refs/heads/master
2021-01-20T15:50:46.355224
2017-10-28T19:02:52
2017-10-28T19:02:52
90,771,012
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
from django.conf.urls import url from . import views # This line is new! urlpatterns = [ url(r'^$', views.index), # This line has changed! url(r'^testimonials$', views.show) ]
[ "ausar_mcgruder@yahoo.com" ]
ausar_mcgruder@yahoo.com
6f1f44af6ed076ab8a8925a0c8cb7ecb6222c034
bac3be1d6321b903157965f33a48d7d616176c14
/laba_1-main/13.py
fb3e8f7ab345a7faa06577944e450ba138a946e3
[]
no_license
IlyaZuna/Python_2_course
a7ceb622c17a49cfbd70837fafc8fa2e0bce86f8
83e98301df3e187d11af73478b598c881315d70b
refs/heads/main
2023-05-04T09:58:49.729157
2021-05-28T18:25:49
2021-05-28T18:25:49
371,779,774
0
0
null
null
null
null
UTF-8
Python
false
false
331
py
def extra_enumerate(someArray, start): st = start cum = 0 for elem in someArray: yield st, elem #vozvrashaet generator st += 1 cum = cum + elem print('(',st,', ',elem,', ',cum,', ',cum*0.1,')') x = [1,3,4,2] print ('(id,num,sum,10%)') for i in extra_enumerate(x,0): ...
[ "noreply@github.com" ]
IlyaZuna.noreply@github.com
300d0550b3d9cd1ded41e503e66244eb8077a652
753b2846eeaf1c1642257d268db272d6fb1dfd8b
/pytorch/dqn_agent.py
1c1d14044a5a68d5cacf205c610e9716c6e0716e
[]
no_license
JonasLeininger/deep-q-network-banana-navigation
bb2e199a25192f1475c366db0f61abcbec04d02d
86b02edbd46df1a7cc1373e8bc28be04740bf5ac
refs/heads/master
2020-05-22T22:41:13.290534
2019-07-17T04:46:48
2019-07-17T04:46:48
186,550,350
1
0
null
null
null
null
UTF-8
Python
false
false
3,762
py
import os import numpy as np import torch import torch.nn.functional as F from pytorch.dqn import DQN from pytorch.replay_memory import ReplayMemory class DQNAgent(): def __init__(self, state_size: int, action_size: int): self.buffer_size = int(1e5) self.batch_size = 64 self.tau = 1e-3 ...
[ "jonas.leininger@gmail.com" ]
jonas.leininger@gmail.com
d84f4b126ec7829d18faeee96555f92262bc30de
940c1c34c824886ddd6636ad5954c4c6dc708da3
/InfluencerData/base/accounts/migrations/0064_current_package_user_package_exipry.py
4151b614a46bd46867a438d4a8e172d5f15489ce
[]
no_license
saurabh69912162/Influencer-data
ba54cf5e1115674382b78334a0869aa7ed673cf9
908eab307ddb625d78e88fe6ad9aa5f3fa9af9df
refs/heads/master
2020-09-17T01:29:14.871696
2019-12-04T18:22:07
2019-12-04T18:22:07
223,946,955
0
0
null
null
null
null
UTF-8
Python
false
false
436
py
# Generated by Django 2.2.4 on 2019-11-24 12:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0063_myuser_new_user_notify'), ] operations = [ migrations.AddField( model_name='current_package_user', ...
[ "48159530+saurabh69912162@users.noreply.github.com" ]
48159530+saurabh69912162@users.noreply.github.com
ac28490464c9de3e033a57f204f8d092c29bd4a1
8ddcd10b3f1edc78eeffa55dcf1562248dbee7ea
/encryption.py
545a423aa38ca51f2fbbf89b4083f589c42f614a
[]
no_license
Perception12/EncryptionDecryption
fe660771e3b1ada0848e84d7fdf48412a76302ad
415c97a6e9c659ed58957b23a2df8a33fa2efb96
refs/heads/main
2023-08-14T06:49:07.643362
2021-09-30T04:11:01
2021-09-30T04:11:01
411,842,737
0
0
null
null
null
null
UTF-8
Python
false
false
3,505
py
import tkinter as tk import random import string class Application(tk.Frame): def __init__(self, master): super().__init__(master) self.master = master self.createWidget() self.grid() # Gets the Alphabets self.alphabet = list(string.ascii_letters) self.alph...
[ "kehindeadejumobi82@gmail.com" ]
kehindeadejumobi82@gmail.com
b2c1be6d03658e2b794333b2d98e59fda98d2e05
7d97daf9b9f46d68bbe29441d8db554918dfcdc4
/leetcode/StringtoInteger8.py
5a117868d64f0d0ad26bb4ae61baff99e7332feb
[]
no_license
hundyoung/LeetCode
9a56c4f078dcb4e875a6178c14665b7784c1a0a2
803e164d3a21b593cb89206b3a362c1ab1eb9abf
refs/heads/master
2020-09-23T02:51:13.657444
2020-05-06T12:53:07
2020-05-06T12:53:07
225,383,854
0
0
null
null
null
null
UTF-8
Python
false
false
664
py
class Solution: def myAtoi(self, str: str) -> int: str1 = str.strip() result = "" for i in range(len(str1)): char = str1[i] if(i==0and (char=="+" or char=="-")): result= result+char elif char.isdigit(): result = result + cha...
[ "285080301@qq.com" ]
285080301@qq.com
6c7376c8231168cb83ab28cd66f7376c7363aa20
0b842bcb3bf20e1ce628d39bf7e11abd7699baf9
/oscar/a/sys/platform/manager/blinky/__init__.py
856452a17cd28db74867fb490c14dee2212dcaf8
[]
no_license
afeset/miner2-tools
75cc8cdee06222e0d81e39a34f621399e1ceadee
81bcc74fe7c0ca036ec483f634d7be0bab19a6d0
refs/heads/master
2016-09-05T12:50:58.228698
2013-08-27T21:09:56
2013-08-27T21:09:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
574
py
# # Copyright Qwilt, 2012 # # The code contained in this file may not be used by any other entities without explicit written permission from Qwilt. # # Author: shmulika # G_GROUP_NAME_PLATFORM_POWER_BLINKY_ADAPTOR = "power-blinky-adaptor" G_GROUP_NAME_PLATFORM_FANS_BLINKY_ADAPTOR = "fans-blinky-adap...
[ "afeset@gmail.com" ]
afeset@gmail.com
4edadd1ac8a0f5adebe4a40176f97daf50fa871d
47835cc96e9f09611347d9463420ae44cb2cd2e3
/test.py
7435f28d76e034292ce0a6f4b3cef87d2eedbe5d
[]
no_license
shanahanjrs/LR35902
b53fc4c41cfc55117e168622c60099a24f1cb6b0
545b1a71628f62f0b4dea044d8506d5f4243925e
refs/heads/master
2020-11-25T07:12:29.067576
2019-12-26T05:03:26
2019-12-26T05:03:26
228,552,487
0
0
null
null
null
null
UTF-8
Python
false
false
790
py
#!/usr/bin/env python3 """ main entrypoint """ from mb import MotherBoard def main(): mb = MotherBoard() # Some fake data to render j = [3, 3, 3, 3, 3, 1, 1, 3, 1, 1, 1, 1, 3, 1, 1, 3, 1, 3, 1, 1, 3, 3, 3, 1, 1] ##mb.gpu.map(0x0, j) print('==== INITIALIZED ====') print('==== cpu: ====') ...
[ "shanahan.jrs@gmail.com" ]
shanahan.jrs@gmail.com
075b73b96d2de8a69d8a57d0af2dcb35b97451a2
cb0a0d4630b50c56b7285364b42aa2d072a45480
/bin/current.py
ec5b7e0694d38d0c5c94a984f0c1678747689186
[ "BSD-3-Clause" ]
permissive
fatlinlin/python
2b6b60a278d2dcc720fb82838d27e1659cd85bce
abd538ee925e2f5268199aa004ab6bb63b13fd16
refs/heads/master
2020-04-14T10:24:46.121789
2013-07-16T12:07:48
2013-07-16T12:07:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
import argparse import logging from efront import iohelpers as io from efront import repo def add_args(parser): parser.add_argument("-l", "--dir_list", help="list available dirs", action="store_true") parser.add_argument("-v", "--verbose", help="control the output level", action="store_true") def run...
[ "sbergot@efront.com" ]
sbergot@efront.com
275b1304b2bd25a526a921b4065195cf4c92c6fd
00d68c84c62f6708560e6f80344bf4f21ff6de1c
/jos_dup_wrd.py
68b337e3afc3fab4f08b7460918ad5cdd053f0ed
[]
no_license
MimiDumpling/Mentors
6b5f0dca9e8abdad595163fd3ea87251240a5ded
231af0b667e647fdbaa775eb36ed1904b193b3fd
refs/heads/master
2023-02-03T22:00:40.171114
2019-08-30T22:01:23
2019-08-30T22:01:23
102,072,578
1
0
null
2023-01-25T04:44:35
2017-09-01T04:03:22
JavaScript
UTF-8
Python
false
false
578
py
""" - takes a word - return true if all letters are unique - false if duplicate letters """ def dups(word): letters = {} word = word.lower() for letter in word: if letter in letters: return False, "BOOOO" else: letters[letter] = 1 return True, "HAY" result,...
[ "tienmiminguyen@gmail.com" ]
tienmiminguyen@gmail.com
168daad50747bc830f81b84fccc3f932b1cf4a0a
3a2c6d04727e5150cd8308117fa3172f8e86a3db
/Fuentes/funciones_AG/naivef/generate.py
634863794d19b439d75905749846e6c0eb454fa1
[]
no_license
luisjimenezlinares/AGConsta
2bc220d11f89aa3e3c86a12c0ee15ddcf0ad88ca
9733bb27efc9dc29a9aeb215bf878249e336567c
refs/heads/main
2023-06-16T06:20:28.958399
2021-07-07T17:17:58
2021-07-07T17:17:58
383,871,638
0
0
null
null
null
null
UTF-8
Python
false
false
446
py
# -*- coding: utf-8 -*- from deap import creator import numpy as np import random def random_generate(L, S): ind = [] mini, maxi = minimo(S), maximo(S) for i in range(L): ind.append(random.random() * (maxi - mini) + mini) return creator.Individual(ind) def sample_generate(S): return cr...
[ "luis.jimenez@uclm.es" ]
luis.jimenez@uclm.es
38a653ec34d2ca137957d5833d3e623c6ffdf1c9
e101ed2b3e9df32f0e7f9173117d9d457f259fe1
/Day04/part02.py
59057e887486ad343461cd16dd6c822c16d6cdb8
[]
no_license
MiConnell/AOC2020
f4d5462b79ac738d2ee43524f362244c3178e580
3a8350b6b5b7d6bddc62425e2e240f9622a6a54f
refs/heads/master
2023-02-03T04:35:58.164964
2020-12-15T07:42:38
2020-12-15T07:42:38
317,375,704
0
0
null
null
null
null
UTF-8
Python
false
false
1,983
py
import os import re from typing import Dict from typing import List from typing import Match from typing import Union file = os.path.join(os.path.dirname(__file__), "blob.txt") REQUIRED = { "byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid", } """ byr (Birth Year) - four digits; at least 19...
[ "connellmp@gmail.com" ]
connellmp@gmail.com
fe8ba77340b3ae2ed12efb74c11081fc1aa16a59
0d475571500afea47e36a94fef19f329a46261d3
/detect_capital.py
4970eebdc1e3538fec4f70c0acb44dcaa376c2d1
[]
no_license
ankitupadhyay9/Python_Samples
ea7ecb7c2bd30cd530ec29e9fc631e0ccb7788c8
f436588aee6876e2fc94b46a38340bb741fb4bb8
refs/heads/master
2021-04-28T13:35:50.530059
2018-03-16T22:43:08
2018-03-16T22:43:08
122,109,387
0
0
null
null
null
null
UTF-8
Python
false
false
1,772
py
''' 520. Detect Capital Given a word, you need to judge whether the usage of capitals in it is right or not. We define the usage of capitals in a word to be right when one of the following cases holds: 1.All letters in this word are capitals, like "USA". 2.All letters in this word are not capitals, like "leet...
[ "noreply@github.com" ]
ankitupadhyay9.noreply@github.com
31038ec0649c0dc0010fe5156fb4c056577c0dac
006b5eab331c9bf02a6b9297918977bf77c86c84
/static_pages/urls.py
fe0ad0fdc9e1ae04abde0a8b02da6a9ff4f2db9f
[]
no_license
donnywdavis/Django_Template
06c3b03a7cc4265229f437dc8d05ab276eac19ff
dea8d41a746aa0854fc3bb41ddf70668f7966805
refs/heads/master
2021-01-23T20:12:50.900182
2015-09-30T00:33:54
2015-09-30T00:33:54
38,582,479
0
0
null
null
null
null
UTF-8
Python
false
false
109
py
from django.conf.urls import url urlpatterns = [ url(r'^$', 'static_pages.views.index', name='home'), ]
[ "donnywdavis@icloud.com" ]
donnywdavis@icloud.com
74a34341337584f7b311a8997ad78f4bb49b70cb
e6e63aaabebd62adacf389ea3ef3e10536460421
/main-menu/setup.py
0aad1baa59e77afa5c9911af257cea74603cd27f
[ "BSD-3-Clause" ]
permissive
jtpio/extension-examples
0d45d7df977896f9b8ff904cd1d3d77935b4e5bc
0ce165c4487e9f605e512cd7445e381fe870001b
refs/heads/master
2022-11-17T19:59:05.915190
2022-10-17T12:49:22
2022-10-17T12:49:22
248,619,218
1
0
BSD-3-Clause
2020-03-19T22:41:15
2020-03-19T22:41:14
null
UTF-8
Python
false
false
2,565
py
""" jupyterlab_examples_main_menu setup """ import json import sys from pathlib import Path import setuptools HERE = Path(__file__).parent.resolve() # The name of the project name = "jupyterlab_examples_main_menu" lab_path = (HERE / name.replace("-", "_") / "labextension") # Representative files that should exist ...
[ "noreply@github.com" ]
jtpio.noreply@github.com
1370807d55c14807b0c38bd17210d33afd2fd486
deea011bef7b656eb579a9769d07f14478a32690
/advanced-python/multi-threading/using-fork.py
63a14fb4c9c33cde050881b61919018f42a390bd
[]
no_license
BhagyeshDudhediya/PythonPrograms
38abcfd94e21b7cc8c323760a313cf3930bb07b2
185152b7644462d9dc75a1c91aedf2cf13da5015
refs/heads/master
2021-04-30T15:09:54.311064
2018-10-31T09:50:57
2018-10-31T09:50:57
121,232,711
0
0
null
null
null
null
UTF-8
Python
false
false
1,048
py
import os # This will fail on windows as fork() is not defined for windows machine # fork() returns 2 values, it returns 0 in child's context and returns # non-negative value (childs PID) in parents context # When a process is forked, everything including a program counter is shared # between child and parent. Hence, ...
[ "dudhediyabv@gmail.com" ]
dudhediyabv@gmail.com
49c0d25246ab8592fad47c0d58fb7c76ee6c5fb9
4abfb04a77b4308c369e0cde7b2981ad661d8320
/testing/test_calc.py
572254a4ec3f98072d718e6a4df097ef79a503e4
[]
no_license
yoyoxin/mytest
a7c9794174f80d5fbb0d0e6627b84e6df3959818
63f165b0a8a156258b337245dca7454de49025a7
refs/heads/master
2023-05-03T21:40:26.739109
2021-05-20T03:36:17
2021-05-20T03:36:17
368,783,914
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
import unittest import sys from pythontest.calc import Calc class TestCalc(unittest.TestCase): def test_add_1(self): self.calc=Calc() result = self.calc.add(1,4) self.assertEqual(5,result) unittest.main()
[ "40452261@qq.com" ]
40452261@qq.com
eac0f7f17e26e4bcda87feea5ee4778d4e04131b
18701cf61b7e46ef8f352798b07d895c8d1ba160
/assignment3/inverted_index.py
0fb3835b71760816b6322e8b818ae6108ac19e01
[]
no_license
JuanIgnacioGil/datasci_course_materials
776ae525ed7ebf8aff3e1245a8dc4e4f03ed7df6
ebdada1aca68054eeed083f2af39942e20364c0a
refs/heads/master
2021-01-20T19:14:21.401098
2014-08-15T15:36:53
2014-08-15T15:36:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
789
py
import MapReduce import sys """ Word Count Example in the Simple Python MapReduce Framework """ mr = MapReduce.MapReduce() # ============================= # Do not modify above this line def mapper(record): # key: document identifier # value: document contents key = record[0] value = record[1] ...
[ "iwan.manjak@gmail.com" ]
iwan.manjak@gmail.com
74e9df0b5d0ebe6672192510a53a197fe7aea039
abf443927d76b4df7af6e4fcee85bdb4c9458ecd
/sta_etl/plugins/plugin_dummy.py
1ddf5bcda9181127c894b4882b76dfb99f1f2d7c
[ "MIT" ]
permissive
XeBoris/git-etl
0374b234f477251473c1673bfc4b6badadf1d49d
888f26e51a797dd111c9ca457a0c83b4f00296f0
refs/heads/main
2023-04-08T06:02:53.708342
2021-04-25T13:06:44
2021-04-25T13:06:44
343,483,379
0
0
null
null
null
null
UTF-8
Python
false
false
6,657
py
from sta_etl.plugin_handler.etl_collector import Collector import pandas as pd import numpy as np # from geopy.distance import distance as geopy_distance # import math @Collector class Plugin_Dummy(): """ This is template development plugin for proving the processing chain right with depending plugins. Th...
[ "Boris.Bauermeister@gmail.com" ]
Boris.Bauermeister@gmail.com
9a68a892ee7454b8952addae4614751aba7824f7
0789e92ff05448f511352982dbc9fcc8b481e806
/kikar_hamedina/reporting/management/commands/export_commentator_data_to_csv.py
728384914535440e35a1486adb779002cbeca29e
[]
no_license
danielhers/kikar-hamedina
9645dfc554c004092cb44bb5189b63e9940b3801
a838a2fc675ea7100c620477bae438f215c741f7
refs/heads/dev
2020-06-14T14:08:05.069290
2017-05-04T17:22:03
2017-05-04T17:22:03
75,173,287
0
0
null
2016-11-30T09:47:01
2016-11-30T09:47:01
null
UTF-8
Python
false
false
6,338
py
#!encoding utf-8 from csv import DictWriter from django.utils import timezone from facebook_feeds.management.commands.kikar_base_commands import KikarBaseCommand from facebook_feeds.models import Facebook_Feed, Facebook_Status DELIMITER = '~' class Command(KikarBaseCommand): def add_arguments(self, parser): ...
[ "yotammanor@gmail.com" ]
yotammanor@gmail.com
e3b89978a46f073a7e64588a83c5a7135639bca4
cbc817d47a448b048e5f50e90580a3b69560c757
/thesisometer/wsgi.py
eb4c32a4392248af3d304a6995018ea57d19715e
[]
no_license
magnusmorton/thesisometer
77411d213f766ea517b323e322c80b80519da053
c7e3d138daa8f29f541e4e0ad0634d3ef178d99b
refs/heads/master
2021-01-19T05:34:33.491353
2017-03-31T10:31:37
2017-03-31T10:31:37
58,637,908
1
0
null
null
null
null
UTF-8
Python
false
false
402
py
""" WSGI config for thesisometer project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault("DJANGO...
[ "magnusmorton@icloud.com" ]
magnusmorton@icloud.com
dc69296f710f59da9be6abb305d86c572b7c5bbc
38875c008f33d588ec5827f5b1f19c56b1bb56d5
/docs/python/resources/config.py
d6a774a2f0a5525e2a13cdc183a74de44a5e6aa9
[]
no_license
bryanwhiting/ds-arxiv
6c9c0825e827ed8a3897780dfc71ccf6a454d80a
6be1718b739da1965511a4792afb05c097fccd49
refs/heads/master
2020-11-25T04:56:29.508241
2020-01-28T23:45:16
2020-01-28T23:45:16
228,509,886
1
1
null
null
null
null
UTF-8
Python
false
false
3,274
py
from datetime import date feeds = { 'engineering': { 'openai': 'https://blog.openai.com/rss/', 'fb': 'https://research.fb.com/blog/feed/', 'airbnb-ds': 'https://medium.com/feed/airbnb-engineering/tagged/data-science', 'ggl_dev': 'http://feeds.feedburner.com/GDBcode', 'ggl_...
[ "bryan.g.whiting@gmail.com" ]
bryan.g.whiting@gmail.com
58084fce6dc4b6242e670298ab622851749142f7
3e873bb5532685ac8d4fdb6d6266ab653b6beb44
/extract_skills_from_docx.py
befd3adcdb6461593cfd7afe02b7c753061a9579
[]
no_license
nelsonchacko98/resumeParser123123
5ed6d32904bf386c414dc8baf999353db19f21d2
16f3fd85a6ffe7b25090bae70f801ff4c8f8df44
refs/heads/main
2023-05-30T19:24:36.139428
2021-06-11T08:08:47
2021-06-11T08:08:47
375,951,068
0
0
null
null
null
null
UTF-8
Python
false
false
1,510
py
import docx2txt import nltk nltk.download('stopwords') # you may read the database from a csv file or some other database SKILLS_DB = [ 'machine learning', 'data science', 'python', 'word', 'excel', 'English', ] def extract_text_from_docx(docx_path): txt = docx2txt.pro...
[ "noreply@github.com" ]
nelsonchacko98.noreply@github.com
911d35984b9006f922ee1d30cf3c164969880479
a8e4e84d62caf664e973a016fda5161ef1a775dd
/utils/layers.py
ca5fa3425c7855689ad153e5025f6502c6d1e768
[]
no_license
HJ-Xu/SPS-LCNN
3f560d53b0c5f1ecfc33d1c301b951e755dbe47f
4598c5ba46ebc453fa1cce079cc25b23d9c6898c
refs/heads/master
2023-07-20T02:46:46.154668
2023-07-06T02:24:42
2023-07-06T02:24:42
287,871,169
0
0
null
null
null
null
UTF-8
Python
false
false
22,967
py
import tensorflow as tf import numpy as np import os import sys BASE_DIR = os.path.dirname(os.path.abspath(__file__)) ROOT_DIR = os.path.dirname(BASE_DIR) sys.path.append(os.path.join(ROOT_DIR, 'utils')) import tf_util ####################################################################################################...
[ "noreply@github.com" ]
HJ-Xu.noreply@github.com
c797fec39e87cec2724d05c13ea1be0f98111384
7f66c66eb82b480e8a23ecbfb8613aae02cb50f7
/tests/integration/parity/utils.py
572d4c4af3500566de67c6e37afa8c80f6465074
[ "MIT" ]
permissive
y19818/web3.py
03ddedcfdbd4dde2c1a458b31f5e796509b3c7c6
32a85a287ab63220d1e0c06d77be74de595ff02f
refs/heads/master
2021-06-25T00:30:50.312173
2019-12-02T08:21:40
2019-12-02T08:21:40
225,276,093
0
0
MIT
2019-12-02T03:20:47
2019-12-02T03:20:47
null
UTF-8
Python
false
false
1,939
py
import signal import socket import subprocess import time from vns_utils import ( to_text, ) import requests def wait_for_socket(ipc_path, timeout=60): start = time.time() while time.time() < start + timeout: try: sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)...
[ "y19818@gmail.com" ]
y19818@gmail.com
6b1515908b2fe16543fdcf82ee9325387b7d572b
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/verbs/_plagued.py
33674872c908833ea1ef79864be519cf6ce0d184
[ "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
238
py
from xai.brain.wordbase.verbs._plague import _PLAGUE #calss header class _PLAGUED(_PLAGUE, ): def __init__(self,): _PLAGUE.__init__(self) self.name = "PLAGUED" self.specie = 'verbs' self.basic = "plague" self.jsondata = {}
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
c4a856dae562817734657a78568df2f522ab4f82
1ae2f3b5a1b194f819a50b0503384ba22c58cbc0
/prob039.py
545a6ed8fe6fa3c63549644d1ffcdd0e115ff141
[]
no_license
KR4705/project_euler
1ed7482d15d518f654879ee848b3b25b0d20b120
bda51b83456a64cfe87ee0135110456321262c5c
refs/heads/master
2021-01-01T16:29:11.824907
2018-02-03T07:53:31
2018-02-03T07:53:31
97,843,489
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
import time start = time.time() squares = [] for a in range(0,1000): squares.append(a*a) def triads(perimeter): count = 0 for a in range(1,perimeter-2): for b in range(a,perimeter-a-1): c = perimeter-a-b if squares[a] + squares[b] == squares[c]: count += 1 return count answer = 0 maximum = 0 for peri...
[ "gamerdude9@gmail.com" ]
gamerdude9@gmail.com
14e9b8763448d24bfb6298dce83da3a2385c6ca9
a7cf0faff89d15f364e5e245709392bcdfbb57bc
/tuple4.py
1623d0fd81cbdde1fef9de2f3ff3e09700c551fc
[]
no_license
sanidhya12345/Python_lab
3e5edd3ecdd42b45016d635d556c4377f2d319a6
a90e1122de256d99a65abe83ac146e1eff2ea67e
refs/heads/master
2020-12-28T14:29:42.365982
2020-10-01T05:24:49
2020-10-01T05:24:49
238,370,287
2
1
null
2020-10-03T06:39:36
2020-02-05T04:48:53
Python
UTF-8
Python
false
false
35
py
t=(1,2,3,4,5,6,7,8,9) print(t[-1])
[ "noreply@github.com" ]
sanidhya12345.noreply@github.com
65ab4f794bf809550a372a51156e69c862bc82ca
3e2cf7cc9c3d0e3c89f5690d2d32ed157d828940
/util/fuzz/fuzzloops.py
2182ab188ccd3478f311199ebddd021cad082d39
[ "ISC" ]
permissive
osresearch/prjtrellis
2d989bdc838b9bbdfa24ec2e9e41000b5d9d1ca5
6d2d00db04d298ee228ec4cf37223f332d9f767d
refs/heads/master
2020-06-05T09:07:04.559096
2019-06-17T14:29:39
2019-06-17T14:29:39
192,386,722
1
0
ISC
2019-06-17T17:01:35
2019-06-17T17:01:34
null
UTF-8
Python
false
false
1,463
py
""" General Utilities for Fuzzing """ import os from threading import Thread, RLock def parallel_foreach(items, func): """ Run a function over a list of values, running a number of jobs in parallel. TRELLIS_JOBS should be set to the number of jobs to run, defaulting to 4. """ if "TRELLIS_JOBS"...
[ "davey1576@gmail.com" ]
davey1576@gmail.com
66480d0c87e44292792f32a89d103e7e937b6bee
37afcd9d248512303297e595c40716ecb614ab8b
/tfidf.py
38ab7a0cd16784ed2cc6cf341e1ca3ab14705362
[]
no_license
guoyin90/2019-sohu-finals
093cc7bf02f826d072e064f8e271b946b6de71cb
a73104bc68a64bc80b67c94d83957c6f3d522674
refs/heads/master
2020-07-01T03:11:47.060416
2019-06-26T03:53:16
2019-06-26T03:53:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
568
py
import gensim.downloader as api from gensim.models import TfidfModel from gensim.corpora import Dictionary from joblib import load, dump from sklearn.feature_extraction.text import TfidfVectorizer import csv train_ners = load('data/final_train_cut_v3.joblib') test_ners = load('data/final_test_cut_v3.joblib') nerCorpu...
[ "noreply@github.com" ]
guoyin90.noreply@github.com
e97f390167367281707f1fb7bdcfdad03ff816b6
6420b91261248a9602207528683696510ee2e5da
/ecommerce/ecommerce/wsgi.py
b1b89363183244c151f07c117a776f6687264b94
[]
no_license
Mounikabudiga/ecommerce
bfe0d5178586720575f6d7dd1c278b118b5655bb
4688a3d6ccf53d406e2dfa41ef20c1f1872840a2
refs/heads/master
2020-09-02T16:52:49.976204
2019-11-03T06:59:40
2019-11-03T06:59:40
219,263,496
0
0
null
null
null
null
UTF-8
Python
false
false
429
py
""" WSGI config for ecommerce project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ wsgi:-webserver gateway interface """ import os from django.core.wsgi import get_wsgi_application ...
[ "mounikabudiga98@gmail.com" ]
mounikabudiga98@gmail.com
1aa1112d089891e91e257655c1e42a991a974838
e7293c737c841cba9442f96b1573eb223badd731
/func/common.py
2c6c24d0539e5114903874beac29f651bb67649e
[]
no_license
KD1792035/XueQG
50d8637f6acd9c5ce7b352dbae394c5ae92a3008
6362a2dbd0d53fdd7b43fa94c54f27e3e2c6d62c
refs/heads/main
2023-08-27T13:53:11.284511
2021-11-01T03:01:23
2021-11-01T03:01:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,979
py
import os, sys, random, time import json, base64, pickle, requests, re from requests.cookies import RequestsCookieJar from configparser import ConfigParser from func import color from func.dingding import DingDingHandler def get_appsyspatch(): application_path = './' if getattr(sys, 'frozen', False): a...
[ "noreply@github.com" ]
KD1792035.noreply@github.com
c96d9fbb1ec55e009c3130b003d3cd72bee5a478
a9760a1f2384fc1ab221fac2c06ce5b8fc21b518
/.ipython/ipy_user_conf.py
d814cd8491f14cf9afab3ba439a4d2191815a7cf
[]
no_license
escalant3/dotfiles
261c1ba5d77e4fe2ab61cfade7ea043a5c8260ea
5b441884929b39086fa605f28686daad2c201470
refs/heads/master
2021-01-01T15:36:38.781979
2015-12-28T20:42:07
2015-12-28T20:42:07
2,710,814
0
0
null
null
null
null
UTF-8
Python
false
false
3,511
py
""" User configuration file for IPython This is a more flexible and safe way to configure ipython than *rc files (ipythonrc, ipythonrc-pysh etc.) This file is always imported on ipython startup. You can import the ipython extensions you need here (see IPython/Extensions directory). Feel free to edit this file to cus...
[ "escalant3@gmail.com" ]
escalant3@gmail.com
cfe01a4b169c15eb94d8021b61f0dde6ad776745
bec2c75169d382832ed4d7bef22875134e8f5905
/calculadora simples.py
75a0cb4b286a441895308343bcc80ae77f3219eb
[]
no_license
guhavila/Calculadora-simples
6b4ad8c408355df9c494f8127049d92a7fe73b5b
652238696841d35796a79acfeef68837eef4d8e1
refs/heads/main
2023-08-16T09:39:34.911622
2021-10-04T17:59:12
2021-10-04T17:59:12
413,525,689
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
numero1 = 0 operacao = " " numero2 = 0 resultado = 0 numero1 = int(input ("Digite o numero1: ")) operacao = input ("Digite a operacao: ") numero2 = int(input ("Digite o numero2:")) if operacao == "+": resultado = numero1 + numero2 elif operacao == "-": resultado = numero1 - numero2 elif operacao == "/": r...
[ "gustavo_avila2005@hotmail.com" ]
gustavo_avila2005@hotmail.com
98f50633d7a2f376fa62cba3433f8d1dd51588f3
ebe5167148cfff43d24b6c66e44634bb55513b72
/solutions/linkedlist/160.Intersection.of.Two.Linked.Lists.py
2cf42f3f9cf91b328616216b08a513d48d5ff246
[]
no_license
ljia2/leetcode.py
c90ac38a25331d61d3ff77fd135b82372da3a09f
08c6d27498e35f636045fed05a6f94b760ab69ca
refs/heads/master
2020-03-25T03:37:13.318582
2019-07-18T23:14:41
2019-07-18T23:14:41
143,351,386
0
0
null
null
null
null
UTF-8
Python
false
false
3,122
py
# Definition for singly-linked list. # class ListNode(object): # def __init__(self, x): # self.val = x # self.next = None class Solution(object): def getIntersectionNode(self, headA, headB): """ Write a program to find the node at which the intersection of two singly linked list...
[ "ljia@conversantmedia.com" ]
ljia@conversantmedia.com
9ffd5ba7b0f83beb82f278a5432c9738b8cb7a4b
7ac3fb82698097fbfca84de452534adedead7c80
/polls_grievance/polls/admin.py
77489f022a971642f46532c55a40f7eebf5e7dd6
[]
no_license
shruthi-ms/grievance-redressal-system-B05
c3a0113c8008a9a1db16cbc409c68e8bdeb603a6
1ad4917de6aab1487adfe42d70426e87fd2de489
refs/heads/master
2020-03-31T22:21:55.615852
2018-11-09T06:53:54
2018-11-09T06:53:54
152,615,805
0
3
null
2018-11-09T06:35:41
2018-10-11T15:38:25
HTML
UTF-8
Python
false
false
159
py
from django.contrib import admin from .models import Question,Choice # Register your models here. admin.site.register(Question) admin.site.register(Choice)
[ "noreply@github.com" ]
shruthi-ms.noreply@github.com
344080e25e9fc5e86575b64666d70cb7dc6f2f77
6779ba337409e99ba1b740ffd10972e4f4e13552
/tensorflow_datasets/image_classification/isic2019_test.py
a656e9fd087ac9152af16da674b37e4416b34d6a
[ "Apache-2.0" ]
permissive
jmr137/datasets
32fe843555a46a6966cf68bec97e0c51e6fd7f1b
09276a35d75a453ec37db6e549a813e4575c796d
refs/heads/master
2022-12-20T16:46:48.179924
2020-09-22T18:33:23
2020-09-22T18:33:23
297,554,966
0
0
Apache-2.0
2020-09-22T06:22:05
2020-09-22T06:22:04
null
UTF-8
Python
false
false
850
py
"""isic2019 dataset.""" import tensorflow_datasets.public_api as tfds from tensorflow_datasets.image_classification import isic2019 class Isic2019Test(tfds.testing.DatasetBuilderTestCase): # TODO(isic2019): DATASET_CLASS = isic2019.Isic2019 SPLITS = { "train": 3, # Number of fake train example # N...
[ "jmr137@duke.edu" ]
jmr137@duke.edu
2bd765f9129f0648c344eac691a54cae5729812b
cc0d06e2aad3d30152c4a3f3356befdc58748313
/13nov_til_19nov/17_novin1900.py
0e049e544ca995c89370175743c5e1de70beedec
[]
no_license
lasse-steinnes/IN1900
db0bb4da33fa024d4fe9207337c0f1d956197c50
c8d97c2903078471f8e419f88cc8488d9b8fc7da
refs/heads/master
2020-12-14T15:34:36.429764
2020-01-18T19:59:46
2020-01-18T19:59:46
234,789,653
0
0
null
null
null
null
UTF-8
Python
false
false
204
py
#### Forelesning in1900 #### ### Siste forelesning. Foilbasert. ## siste del av ODE-løsere og modellering av smittsomme sykdommer ## System av ODE´s ### Skal lage klassehierarki for ODE løsere. ###
[ "lasse.steinnes93@gmail.com" ]
lasse.steinnes93@gmail.com
9c4bab3b48be93ed860e10acba9161ddcdec7dd5
3de97a4bbe114e5ca809ba570de825ceb151d81b
/01_Complete-Python-3-Bootcamp-Practice/06-Modules and Packages/ex02/myprogram.py
70fe306b0dd8204b3eaaf16e91bb92a372dd62be
[]
no_license
duvvurupriyanka/Python
699c19326b73a80d8170f51d52cb9156d53c6bb7
cab669a3b18203449054dfd2b27f89f233c13825
refs/heads/master
2020-07-07T03:37:26.470997
2019-10-17T21:59:45
2019-10-17T21:59:45
203,233,399
1
0
null
null
null
null
UTF-8
Python
false
false
140
py
from MyMainPackage import my_main_script from MyMainPackage.Subpackage import sub_script my_main_script.main_func() sub_script.sub_func()
[ "duvvurupriyanka@gmail.com" ]
duvvurupriyanka@gmail.com
c0832261e777b57d203ecb1bef7b9c07cbd0adaa
0db0cd4a1632151d9a643f5e8fd1d96963c0b624
/transformer/transformer.py
9180465ece4d6b6eb6175bfa2beab6c468ec7f0a
[ "Apache-2.0" ]
permissive
Nniy/lark
f0a4bace3259090a94d2afa8a8c1581684b35670
09a9ee45006ebf07ad8abe6f03384cac7f407cc1
refs/heads/master
2020-03-20T07:18:10.276531
2019-02-07T09:49:36
2019-02-07T09:49:36
137,277,649
1
0
null
null
null
null
UTF-8
Python
false
false
15,236
py
import numpy as np import torch import torch.nn as nn import torch.nn.functional as F import math import copy import spacy from torch.autograd import Variable from torchtext import data, datasets class EncoderDecoder(nn.Module): def __init__(self, encoder, decoder, src_embed, tgt_embed, generator): super...
[ "alexyin1012@gmail.com" ]
alexyin1012@gmail.com
b94b33eee424c11a30b3cdc6afe55de6c68ac690
9a336624952a794a0cc1674e5782286f54ad39d9
/cubista3.py
464185f30100000924df075de7af81fc52bf5ebc
[]
no_license
JNBIMI/QVistaMio
282a3362c5801360d8de615e76954171e927690a
8a8e6274245b851099613df0e1d06810c2418dd0
refs/heads/master
2022-09-28T15:01:40.180735
2020-06-03T08:06:58
2020-06-03T08:06:58
267,923,816
0
0
null
null
null
null
UTF-8
Python
false
false
22,472
py
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'Cubista3.ui' # # Created by: PyQt5 UI code generator 5.11.3 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWin...
[ "javier.nieva.benito@gmail.com" ]
javier.nieva.benito@gmail.com
c413695ffeb36ad73b5fc8d1b9c1bb011a87c2c6
1e9ca32f350f1434eaea85dad10af45d64d7fa00
/conf_create_symlinks.py
394dd0598d5d235de8adab67b4135e31d1705819
[]
no_license
beneills/configuration
ffbc388e47eaf63cca580c6e458d13461f1d7512
0feb42037057fb0df584fb557809e23787146ced
refs/heads/master
2021-01-10T20:04:27.341608
2018-12-14T17:16:31
2018-12-14T17:16:31
7,356,945
0
0
null
null
null
null
UTF-8
Python
false
false
970
py
#!/usr/bin/env python import os import os.path IGNORE_FILES = ( 'conf_create_symlinks.py', 'conf_add.py') SOURCE_DIR = '/home/ben/files/conf' TARGET_DIR = '/home/ben' entries = [f for f in os.listdir(SOURCE_DIR) if f not in IGNORE_FILES and not f.startswith('.')] count = 0 for f in entries: source_path = os.p...
[ "ben@beneills.com" ]
ben@beneills.com
c2e730e85cb3784c6adfc50de37cf914ef909f5f
d784870a828760c910899bdfdfe075cf14e765bf
/S3FS/bin/rst2latex.py
e97c9c3605ec3c01b828472e3b703f1456393e0b
[]
no_license
Novandev/EasyS3FS
61d91bb5046f2edb00ae0f0312e9884b31bdc497
fa2128d4a80c963c933ec32e872f5b46c5b40528
refs/heads/master
2020-03-08T07:37:20.236148
2018-04-25T20:48:13
2018-04-25T20:48:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
837
py
#!/Users/donovanadams/Desktop/GitHub/EasyS3FS/S3FS/bin/python3.6 # $Id: rst2latex.py 5905 2009-04-16 12:04:49Z milde $ # Author: David Goodger <goodger@python.org> # Copyright: This module has been placed in the public domain. """ A minimal front end to the Docutils Publisher, producing LaTeX. """ try: import lo...
[ "donovan.adams@students.makeschool.com" ]
donovan.adams@students.makeschool.com
122f1143e542f77ec9a512facbdde9cdf4939450
15d6a910b23d2cc0f1f7c634b7c0988d7a2dafb3
/claire-f/2014_10_14CF.py
70977eb6c70c7e01ff23fb22f7c8d73e00e87233
[]
no_license
gitthabet/MS-BGD
c523451bb63a1723abccebe4086f0ba073999f41
a157ba583b8a0f5bf8142e324a485bb7e1ee5f5f
refs/heads/master
2021-07-08T12:33:17.933768
2016-12-30T00:28:24
2016-12-30T00:28:24
24,846,974
3
3
null
null
null
null
UTF-8
Python
false
false
1,606
py
import unittest # Given a string and a non-negative int n, return a larger string # that is n copies of the original string. def string_times(string, n): i = 1 newstring = string while i < n: newstring = newstring + string i = i+1 # print newstring return newstring # Given an arra...
[ "claire.feldman@telecom-paristech.fr" ]
claire.feldman@telecom-paristech.fr
8c4e25032a017464274c3783f28d6988a1017590
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_135/3673.py
56a2a64feb4db88351e2187df1ddbb45f569ef30
[]
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
583
py
import sys def t_process(): n1 = int(sys.stdin.readline()) n1 -= 1 n1_matrix = [set(map(int, sys.stdin.readline().split())) for _ in range(4)] n2 = int(sys.stdin.readline()) n2 -= 1 n2_matrix = [set(map(int, sys.stdin.readline().split())) for _ in range(4)] sol = list(n1_matrix[n1].intersection(n2_matrix[n2]))...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com