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
05d1bf8ad8b46a5f75c6b7338e340c5de6919bfb
01443c0d42543ccb20017e7a9f4bad998336f8c5
/sort_pagerank.py
7db934d00892f1090c309ef69cb07328bde45535
[]
no_license
claytondus/cdnw-pagerank
0756e9bc674fac26ce0acdc213a2d5ff78e79e6d
51374723f793675c594f16b656338954f6634921
refs/heads/master
2021-01-17T06:48:16.873482
2016-05-01T20:29:50
2016-05-01T20:29:50
56,156,545
0
0
null
null
null
null
UTF-8
Python
false
false
449
py
#!/usr/bin/env python #COSC 560 Assignment 3 #PageRank #sort_pagerank.py: Export sorted list of pages by PageRank in descending order import sys, string from operator import itemgetter with open('pagerank_output') as pr_f: ranks = [x.strip().split('\t') for x in pr_f.readlines()] def getRank(item): return f...
[ "claytondus@gmail.com" ]
claytondus@gmail.com
b0b9f9a790d7425e16598e8858bed847799f0b47
adf337d8f89413edc439d8433e647d2d74ca6b6c
/sheepCounter/SheepCounter-v1.0.py
865614fa03546f7b6d4adc56c14f7c00cc1e7696
[]
no_license
ROOKIEMIE/tools
1c6bf5bc62f82c082aa2e33897ff1000476646f8
011420e7f3b088fcacff8a7f4efb3755c4fe30d6
refs/heads/master
2023-04-08T09:20:19.746286
2017-05-01T05:05:43
2017-05-01T05:05:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,668
py
# -*- coding: utf-8 -*- import time import argparse import shodan import sys ''' [!] Simple python tool to get the total of models indexed in "shodan.io". [*] Research: "#stringbleed" (CVE-2017-5135) [+] twitter: @stringbleed [+] mail to: stringbleed@protonmail.com [>] by: [+] Bertin Jose (Costa Ric...
[ "stringbleed@protonmail.com" ]
stringbleed@protonmail.com
ddbb58dc1c0ac65c60b740a28c21ddd894972a1d
865011d963226c8d629581775b6e167e00ca5406
/django_celery/celery.py
d42c6274d4fbff7a92224e81c115bbb92bf7e2e4
[]
no_license
aeweiwi/django_celery
c183e022930ae91cc39afeb0cde75ccaf3d74bf9
3f9e0413696f2a1a5d38b7efa08a186950600d14
refs/heads/master
2020-09-03T03:42:42.179661
2019-11-03T23:00:01
2019-11-03T23:00:01
219,377,685
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
from __future__ import absolute_import, unicode_literals from celery import Celery import os # https://medium.com/@yedjoe/celery-4-periodic-task-in-django-9f6b5a8c21c7 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'django_celery.settings') app = Celery('django_celery') app.config_from_object('django.conf:settin...
[ "abdalrahman.eweiwi@googlemail.com" ]
abdalrahman.eweiwi@googlemail.com
2038166bb5ac84d11471f7249b5c8b11785f40e7
e3024bef2174896c323ea54fac4f7898b07065c4
/duplicates_per_country.py
c99b1fdf9f2b0a4bae9ed8a0f2afd0c751ec5598
[ "Apache-2.0" ]
permissive
iychoi/vsftpd-loganalyzer
5266ff5e33af5c26672bd40bbc14b1dfb0360263
25ba1dc21d3c4b60b51a6ca0188a20f3834f9dda
refs/heads/master
2020-03-28T21:57:24.013247
2018-09-19T18:35:54
2018-09-19T18:35:54
149,195,116
0
0
null
null
null
null
UTF-8
Python
false
false
2,379
py
#!/usr/bin/python import sys import io import codecs sys.stdout = codecs.getwriter('utf8')(sys.stdout) sys.stderr = codecs.getwriter('utf8')(sys.stderr) TRANSFERRED = {} MAX_FILE_SIZE = {} SUMMARY = {} #(time.strftime("%Y/%m/%d %H:%M:%S", l.access_time), - 0 #l.transfertime, - 1 #l.remotehost, - 2 #l.filename, - 3 ...
[ "iychoi@email.arizona.edu" ]
iychoi@email.arizona.edu
a17bcec1354f60b3df6a6f22d277fb5f3cb5e399
305e473c17f47b815668377bc90e13642510aace
/punch_version.py
7e73a53c562eed61ec708d5241c654d92f5179d0
[ "MIT" ]
permissive
xrmx/mau
5d6f66811b1356331c98547cc7c778ff3a04d6ff
0aafa67a1b6f02eda72fe60ea2775454c3ad0866
refs/heads/main
2023-03-21T06:22:14.447284
2021-03-11T10:58:05
2021-03-11T10:58:05
347,347,655
0
0
MIT
2021-03-13T11:08:21
2021-03-13T11:08:20
null
UTF-8
Python
false
false
30
py
major = 1 minor = 3 patch = 0
[ "giordani.leonardo@gmail.com" ]
giordani.leonardo@gmail.com
c5353c5966806fe32f090860851f7c370dee9ddb
05c7e840adb2c78f54f32415a287160a2e618615
/188/B/188B.py
5041417f5e2b933da93ad932a628a2e4e500046c
[]
no_license
n-makoto/competitive-programming
9d2030beed785c36a6b9ef0551e3e240c794d4d5
f227e2b5ac975164a6337c8905e4503ebed38379
refs/heads/master
2023-04-28T04:50:48.030461
2021-05-22T13:32:51
2021-05-22T13:32:51
359,827,595
0
0
null
null
null
null
UTF-8
Python
false
false
334
py
# 問題読み間違えてた # Nを個数だと思っていたがNは次元で個数は2個固定だった... # -*- coding: utf-8 -*- n = int(input()) s = list(map(int, input().split())) t = list(map(int, input().split())) result = [] for i in range(len(s)): result.append(s[i] * t[i]) print("Yes" if sum(result) == 0 else "No")
[ "wwwww.desire@gmail.com" ]
wwwww.desire@gmail.com
9cc1358bd5b8cd896d7e86bdaff639958cf7daa7
e1de2e5da6724e94bb3e762ac8e9feec7d492ae9
/InteractivePython/SpaceShip/spaceship.py
c2a7a2b2e8ea733ac74fcf2e2d5e4feac7d17c26
[]
no_license
razvanvoicu/coursera_assignments
c68a2a6688e2083f313ad1415c3affb073f92dac
eab40449a121ed5873aedc74eb03ec4b4da7d4fd
refs/heads/master
2020-04-05T23:34:45.005051
2016-02-18T06:46:59
2016-02-18T06:46:59
35,404,123
1
1
null
null
null
null
UTF-8
Python
false
false
9,594
py
# http://www.codeskulptor.org/#user40_YaPYF0j0nuNI13u.py import simplegui import math import random # globals for user interface WIDTH = 800 HEIGHT = 600 ANGULAR_SPEED = 0.1 SPEED_LIMIT = 10.0 FRICTION = 0.99 MISSILE_SPEED = 20.0 score = 0 lives = 3 time = 0 ship_rotation = 0 class ImageInfo: def __init__(self, c...
[ "razvan.voicu.sg@gmail.com" ]
razvan.voicu.sg@gmail.com
5788a77d944bc3088ee6f66a012a6ab05cddfc51
3b3174caf944205ef1e0cf3c05d02d59e74cb80c
/Competitive Programming/Data Structures - HackerRank/Insert-a-node-at-a-specific-position-linked-list/solution.py
e5ebeea041b6ca2e466d0d9562427999e3192572
[]
no_license
kunal768/ECM-HACKERS-17
ea69b16206ec964f3230122736515717b14b2f49
a02cafee6f3d6b4faf8983bca840bbb61b21b0b5
refs/heads/master
2020-03-29T14:27:14.380497
2019-05-27T01:54:22
2019-05-27T01:54:22
150,018,379
2
2
null
2018-10-21T14:06:56
2018-09-23T19:31:35
Python
UTF-8
Python
false
false
364
py
def insertNodeAtPosition(head, data, position): if position == 0: return SinglyLinkedListNode(data,head) temp = head new_node = SinglyLinkedListNode(data) count = 0 while count<position: count += 1 prev = temp temp = temp.next prev.next = new_node ...
[ "noreply@github.com" ]
noreply@github.com
ec980710f8460f62c205e7ede9e319c6d560e8e3
c620c3c962d13fb37f9d8533f1881920caf02778
/labs/sagelandia/text.py
4769bb57c5fd863c3fffe2fb52dc0221f7e1c92e
[]
no_license
sagehogue/cg-labs
5f0e9b3ee53a8606543259c561029313608c5fba
ae61f268db55754c6f2317851b63e7efbc0cfc95
refs/heads/master
2020-03-07T23:51:57.229715
2018-05-02T22:30:20
2018-05-02T22:30:20
127,791,811
0
0
null
null
null
null
UTF-8
Python
false
false
269
py
import sys from colorama import init init(strip=not sys.stdout.isatty()) # strip colors if stdout is redirected from termcolor import cprint from pyfiglet import figlet_format cprint(figlet_format('Sagelandia', font='dosrebel'), 'magenta', 'on_white', attrs=['bold'])
[ "Sagehogue@gmail.com" ]
Sagehogue@gmail.com
5fc0ca89c67fd3b4814d1922d7ba8bcbc17ae8af
807a2cc360d3957a3664910cf157980ec9c85857
/scripts/test_device_manage.py
fe3f6870eb18ec3b5ed4c2f2334418717dd1a12b
[]
no_license
ThomasYoung76/app_workspace
2248bf5cb107720801769f04eefbc17e5dddb92a
1b46045b268696af9581934717ba1b5df17a1bf3
refs/heads/master
2021-09-13T04:24:55.932359
2018-04-25T02:44:31
2018-04-25T02:44:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,664
py
# coding: utf-8 """ 设备管理 """ import sys sys.path.append('..') from libs import * import unittest class DeviceManage(unittest.TestCase): @classmethod def setUpClass(cls): cls.sj = Controller() def setUp(self): self.sj.driver.implicitly_wait(5) def tearDown(self):...
[ "thomasyoung76@163.com" ]
thomasyoung76@163.com
e66c7c0d19ad240c8ffa6d62cd6fc1363b0b85b8
e8a5ed62dcfa9935d8c9fae0b9593a79ace1f780
/hw2/hw2_generative_test.py
00a03dc3d6bab533e5ec22d978e1d417271a00a5
[]
no_license
Cooper111/ML2017FALL-2
47d690546bba963a07a86ce6cbca0ce168d704f1
c989e949bf8cef0380947774f6699502b81efafe
refs/heads/master
2020-04-02T17:14:16.204763
2018-07-09T12:21:48
2018-07-09T12:21:48
154,649,133
1
0
null
2018-10-25T10:02:32
2018-10-25T10:02:32
null
UTF-8
Python
false
false
2,180
py
# #!/bin/bash # python hw2_generative_test.py ./train.csv ./test.csv ./X_train ./Y_train ./X_test ./prediction.csv # python hw2_generative_train.py ./train.csv ./test.csv ./X_train ./Y_train ./X_test ./prediction.csv import sys import numpy as np import pandas def sigmoid(z): """ :type z: float ...
[ "noreply@github.com" ]
noreply@github.com
53e8a341e3b79a72db11aa096f172759ad5a84a7
55830c1bb38731e14e7e13e78bc9f3b7d85fef50
/알고리즘&자료구조/dongbin_code/8-5.py
44a6115785bad13bd3aea419912ce4cf89deeb1b
[]
no_license
zepetto7065/study
bfba0a994678bd985397090c84dd1966cf39f40d
ed406c37cdd02f435870f8c37a80f6b99d4c3f98
refs/heads/main
2022-11-05T10:22:49.240357
2022-11-02T11:52:12
2022-11-02T11:52:12
152,854,603
0
0
null
2020-06-23T03:48:59
2018-10-13T09:08:25
null
UTF-8
Python
false
false
281
py
x = int(input()) d = [0] * 30001 for i in range(2, x + 1) : d[i] = d[i - 1] + 1 if i % 2 == 0 : d[i] = min(d[i], d[i // 2] + 1) if i % 3 == 0 : d[i] = min(d[i], d[i // 3] + 1) if i % 5 == 0 : d[i] = min(d[i], d[i // 5] + 1) print(d[x])
[ "zepetto.yoo@gmail.com" ]
zepetto.yoo@gmail.com
0ccb62474a0317f86dfe9138ec3b8c5878be2948
fb00b570251ba52df467e4cc030a30e778f8a970
/Atividade 02 - semana 04/questão4_semana4_atividade02_runcodes.py
a3048ea0063d9e885ce77e9effdf8b688eb5e1ef
[]
no_license
SirLeonardoFerreira/Atividades-ifpi
7379f9df4640fd1ee3623d80e4341f495e855895
e366ee3f801dc9a1876c7399a2eefd37a03d0a55
refs/heads/master
2023-01-05T04:03:30.774277
2020-11-02T00:56:10
2020-11-02T00:56:10
287,967,575
0
0
null
null
null
null
UTF-8
Python
false
false
1,426
py
def signo(dia, mes): if (21 <= dia <= 31 and mes == 3) or (1 <= dia <= 19 and mes == 4): return 'Áries' elif (20 <= dia <= 30 and mes == 4) or (1 <= dia <= 20 and mes == 5): return 'Touro' elif (21 <= dia <= 31 and mes == 5) or (1 <= dia <= 21 and mes == 6): return 'Gêmeos' elif ...
[ "lleoalves02@gmail.com" ]
lleoalves02@gmail.com
41f1489d34806f49f1db22318bc3ec09d7de57bb
2976c264ac4ccd966f1ff44488c6f68672d0ec4a
/form_tests.py
f67520624ced1b83ffca18e2c2fd1c7327639f4f
[ "MIT" ]
permissive
YunMeMeThaw/python_exercises
3ccc57a456039c314a1f03993d1781e503c6aac6
151d5d3695d578059611ac09c94b3677442197d7
refs/heads/master
2020-03-19T09:13:00.548075
2018-06-26T16:14:12
2018-06-26T16:14:12
136,269,256
0
0
null
null
null
null
UTF-8
Python
false
false
372
py
from flask import Flask from flask import render_template from flask import request app = Flask(__name__) @app.route("/hello") def index(): name = request.args.get('name', 'Nobody') if name: greeting = f"Hello, {name}" else: greeting = "Hello World" return render_template("index.html", greeting=gree...
[ "yunmemethaw16@gmail.com" ]
yunmemethaw16@gmail.com
6adaf26c83041f163d6f9002d77e24deeb133c0f
30ea9abff7438755bfc8a483ae843152d3e49b9b
/力扣习题/118杨辉三角/pascalstriangle.py
28285769718b8d071b795a07cd59ee1e588a6057
[ "MIT" ]
permissive
houcy/AlgorithmLearning
2dee945a4f9fefc981020c365664bcd65e5994c4
92e3dd6ae8d27cd8fb1a3a7035b2f7e0eb86a7dc
refs/heads/master
2022-12-25T19:55:51.323740
2020-10-09T04:24:11
2020-10-09T04:24:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,049
py
class Solution: ''' 非递归算法 ''' def generate(self, numRows: int) -> [[]]: res = [] if numRows == 1: res.append([1]) elif numRows > 1: # res.append([1]) for k in range(0, numRows): item = [] for i in range(0, k + 1)...
[ "ab2defg145@gmail.com" ]
ab2defg145@gmail.com
6b812257a2c63cbb11074411cd0612de587693e1
82141737c911d8e6fffb7e074ec2860a9ddfa70d
/RayIntersectScene.py
8f7315b455e5d27c9775f82cb7346a43a98d2a4e
[]
no_license
VernBuck/ray_tracer_p3b
e40882815ed2d87a0971d92758c807ae5be2af59
ba8adaf600e80d7ca1e012f4cc67c5096b916ab5
refs/heads/master
2022-01-18T01:31:48.620845
2019-07-22T23:32:10
2019-07-22T23:32:10
198,316,531
0
0
null
null
null
null
UTF-8
Python
false
false
224
py
class RayIntersectScene(object): #add surface material def __init__(self,ray): self.ray = ray def eyeRays(self,ray): def shadowRays(self,ray): def reflectionRays(self,rays):
[ "backvernon@gmail.com" ]
backvernon@gmail.com
ec0e646f2ec63b0e75ed91ed499a604d5341c78d
c5a7f59c1f3f3da58d1799a7650d388071ad6231
/models/teacher_role.py
48947b676ee25a62e072fa3d23b667902a36e82b
[]
no_license
duyutc812/odoo_do_an
9bbe88d2452dfa6c72f3d65c1772b5de61963b29
ef12849eb65d948e190112ed45006b6961006566
refs/heads/master
2022-11-21T02:12:45.854524
2020-07-24T11:33:08
2020-07-24T11:33:08
268,104,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,038
py
from odoo import api, fields, models, _ from odoo.exceptions import ValidationError class TeacherRole(models.Model): _name = 'lib.teacher.role' _description = 'Chức vụ giảng viên' name = fields.Char('Chức vụ giảng viên') @api.constrains('name') def _constraint_name(self): if self.search(...
[ "65037887+duyutc812@users.noreply.github.com" ]
65037887+duyutc812@users.noreply.github.com
4048107e3e4ff90dee2a704098bfab7eb02eba7d
255d5e4d83112b8696baef71408e6ed27b222c4d
/neighbour/models.py
3dde774739c60d3ac0a20b7caa3a50aa09b792b7
[ "MIT" ]
permissive
omarion3698/Neighbourhood
74a1812c91785cf714437dca67ad2970bf79732d
06ceea3dcc242c389627fbb625e834a900d0241d
refs/heads/master
2023-01-23T11:24:50.329371
2020-11-03T10:28:13
2020-11-03T10:28:13
308,272,498
0
0
null
null
null
null
UTF-8
Python
false
false
4,218
py
from django.db import models from django.contrib.auth.models import User from tinymce.models import HTMLField import datetime as dt from django.db.models import Q Priority=( ('Informational', 'Informational'), ('High Priority', 'High Priority'), ) # Create your models here. class Neighbourhood(models.Model): ...
[ "omaribinbakarivic@gmail.com" ]
omaribinbakarivic@gmail.com
050c411aaa9bcbc6728761a0ab7b139c4c841531
98d4d7a73283939892424b4299a1cf3a562cd060
/__init__.py
0b3774b647c7217aaa1c342499eadb948a9d4e11
[]
no_license
phellmes/Holt-Tools
f82312d220895fc7325df7bf369896a475c8b6b4
065dbef26bc68841e620bb1a78238f463dc47f6c
refs/heads/main
2023-02-24T22:57:16.163910
2021-02-04T13:01:54
2021-02-04T13:01:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
26,531
py
#region INFORMATION # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it ...
[ "29793215+curtisjamesholt@users.noreply.github.com" ]
29793215+curtisjamesholt@users.noreply.github.com
c4004c31f6f741fa0ea0b2920df0bf29178c8391
1c6283303ceb883add8de4ee07c5ffcfc2e93fab
/Jinja2/lib/python3.7/site-packages/uhd_restpy/testplatform/sessions/ixnetwork/globals/protocolstack/egtpglobalsbase/egtpglobalsbase.py
7fa4e1ff57e59ad6470ff3f0e36395a91ba0bda3
[]
no_license
pdobrinskiy/devcore
0f5b3dfc2f3bf1e44abd716f008a01c443e14f18
580c7df6f5db8c118990cf01bc2b986285b9718b
refs/heads/main
2023-07-29T20:28:49.035475
2021-09-14T10:02:16
2021-09-14T10:02:16
405,919,390
0
0
null
null
null
null
UTF-8
Python
false
false
14,711
py
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, ...
[ "pdobrinskiy@yahoo.com" ]
pdobrinskiy@yahoo.com
f5d4cf6f485d762c5643ead19f6f44edcc5d2d96
0485a490f466bd1d02eaae96d277888781208c0e
/tests/single_instruction_translation_validation/mcsema/register-variants/movb_r8_rh/Output/test-z3.py
e85a3ad441dea371dd1ab92ebdf22d518b6ae522
[ "LicenseRef-scancode-unknown-license-reference", "NCSA" ]
permissive
Mthandazo42/validating-binary-decompilation
c0e2d54cd79e609bfa35802975bddfa52e646fad
c0fcd6f099e38195dcbbac9e8c13a825865c5cb5
refs/heads/master
2022-11-11T13:18:13.033044
2020-06-25T05:49:01
2020-06-25T05:49:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,269
py
############################################# ######## Auto Generated Proof Scripts ####### ############################################# import z3 import sys status=True test_name="UnK" if(len(sys.argv) > 1): test_name = sys.argv[1] def solve(msg, lvar, xvar, s): global status s.set("timeout", 60000) res =...
[ "sdasgup3@illinois.edu" ]
sdasgup3@illinois.edu
98e9c1b4929fd591c700b18d00580b3300ea5ff9
bfb4de0b0b0602fab213c73cf4f4b4874d3e1dd3
/app.py
cd4b4d243e526ba22f86cf6ea2b2c896ae66e79b
[]
no_license
EnglundE/mongo-flask-walkthrough
8e0ced2a594291bdd39a4953f5eb4d6478d2f628
d966f5797f94e18b282109accea53cd125de6804
refs/heads/main
2023-06-28T04:34:25.576490
2021-07-30T22:44:23
2021-07-30T22:44:23
383,476,075
0
0
null
null
null
null
UTF-8
Python
false
false
6,628
py
import os from flask import ( Flask, flash, render_template, redirect, request, session, url_for) from flask_pymongo import PyMongo from bson.objectid import ObjectId from werkzeug.security import generate_password_hash, check_password_hash if os.path.exists("env.py"): import env app = Flask(__name__) ap...
[ "erik.englund1@gmail.com" ]
erik.englund1@gmail.com
f9b5f4ccf4f2eacb3430cf9aeb146f1a36b21331
9ee2b96ed7ef15df9444205f1c2b4d53118127e4
/Insert,Pagelayout,View_automation/SQT.sikuli/SQT.py
b17b41c77d1421c8470971bf5bc6c9681f15abd8
[]
no_license
jahin1/Software-Testing-Project-Using-Sikuli-
3802c0319a7051a47a356a8a618844d06671d1ff
2d7b354238f668983be935ce2582cf7a65fd4006
refs/heads/master
2020-03-23T00:07:25.127111
2018-07-13T18:53:13
2018-07-13T18:53:13
140,845,699
0
0
null
null
null
null
UTF-8
Python
false
false
1,235
py
click("1523375115160.png") click("1523022073258.png") if exists("1523374129602.png"): print "test case Passed" else: print "test case failed" exit(1) click("1523022153139.png") if exists("1523374529041.png"): print "test case Passed" else: print "test case failed" exit(1) click("152302...
[ "jahin600@gmail.com" ]
jahin600@gmail.com
263d2694fdd7881219ac1882decf094b2abfef6c
29888dd55149caaa8af0a4103292d2852732a1e2
/functions/dsintegr.py
b4ee539f7d76d196700488eb8ed6a4b02a33915a
[]
no_license
chinthirla/Python
927eda03cfa2c4c4ef6a1559f3ba069c129af4da
479852a11663470c988f263e5d3306dc80a40e5b
refs/heads/main
2023-04-06T17:56:26.454828
2021-04-24T12:17:53
2021-04-24T12:17:53
339,814,009
0
0
null
2021-04-24T12:24:42
2021-02-17T18:11:54
Python
UTF-8
Python
false
false
284
py
def displayint(x): i=0 while i<x: i += 1 print(i) num=int(input("Enter number upto where you want to display integers:")) displayint(num) def displayvalues(z): for i in range(1,z): print(i) x=int(input("Enter your values:")) x=x+1 displayvalues(x)
[ "vijay.itblabs@gmail.com" ]
vijay.itblabs@gmail.com
77d1e8b340c066ed0706c0e202e80c621bac1c98
b729d3201d8010859262b2069aab97a44194255f
/cms/templatetags/__init__.py
8e876a3dcf82cb13c1482c36208c173f813fb5ae
[ "BSD-2-Clause" ]
permissive
onespacemedia/cms
0be6f6cb7d5ec9fe61cfb02c6f5db23251974122
23ab6216e2580bd9b91dbf5c087973bce98f6b5e
refs/heads/develop
2021-07-18T13:42:22.821708
2021-07-13T13:45:17
2021-07-13T13:45:17
10,475,661
13
17
NOASSERTION
2021-05-19T14:35:44
2013-06-04T09:55:56
JavaScript
UTF-8
Python
false
false
43
py
'''Template extensions used by the CMS.'''
[ "lewis.collard@onespacemedia.com" ]
lewis.collard@onespacemedia.com
5049a48ad064e7d70498f271e8ef8f6c19d7b3f0
910ab3c80d54f2954c8b2b30eb7f6497c38fe3af
/project/migrations/0001_initial.py
698061d894950e70edbf998fd1edf21209451a43
[ "MIT" ]
permissive
Charles-Ndugire/neighbourhood-actives
ee7a7c38a79e6658764fc36403370239281a2d24
f6b737886aa1146785abaf946c5160beffd83a24
refs/heads/master
2023-04-05T01:26:39.613232
2021-04-12T22:54:42
2021-04-12T22:54:42
356,206,982
0
0
null
null
null
null
UTF-8
Python
false
false
2,493
py
# Generated by Django 3.1.2 on 2021-04-11 20:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('users', '0002_profile_bio'), ] operations = [ migrations.CreateModel( name=...
[ "ndugirecharles@gmail.com" ]
ndugirecharles@gmail.com
4e781f8bc54500812086fb8392d010655f63c3f8
d8cc752d0f797be42022fd829a136c83c783ca83
/yolo_face_2/data_convert.py
ddb38d911e861721bb858b13fc17971be5216221
[]
no_license
Zhaoshimei/GenderRecognition_ProjectCode
2687d78792f94ffd03e82024a3f4130a33161f0f
225877897f0e8f3230afe2d72a321700dd70713b
refs/heads/master
2020-05-31T16:54:45.712170
2019-06-06T12:15:24
2019-06-06T12:15:24
190,391,381
0
0
null
null
null
null
UTF-8
Python
false
false
2,539
py
""" data_conversion.py 是将 wider_faced的标注数据集转成yolov3所需要的labels - 每个图片转成对应名称的label - 由于yolov3需要的是归一化之后的中心坐标和w,h所以在convert方法中进行了归一化和数据转换 @author: XP """ import cv2 def convert(size, box): #size是图片尺寸 box是坐标 dw = 1./size[0] dh = 1./size[1] x = (box[0] + box[1])/2.0 y = (box[2] + ...
[ "402531616@qq.com" ]
402531616@qq.com
97c446607c92c3a64958f0ff1508423344ccb52e
dbf3bdf62448d16a0b0d3524a93fbde5efaf86f5
/wglapi.py
cfaa1ca8bf914f66e7f9c9cd13b5e8c0d49a359c
[ "MIT" ]
permissive
bgirard/apitrace
45f97370952c144b7bf8ffa399e010d534af8290
3eb1921fcb5a4f92425dd9198763a4fe2c02a83d
refs/heads/master
2021-01-17T23:44:58.226173
2011-07-29T19:39:25
2011-07-29T19:39:25
2,121,969
1
0
null
null
null
null
UTF-8
Python
false
false
11,334
py
########################################################################## # # Copyright 2008-2010 VMware, Inc. # All Rights Reserved. # # 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 withou...
[ "jfonseca@vmware.com" ]
jfonseca@vmware.com
d6d0c5f7e6ba4e99a5344f0cde10dc55711c988d
8c01e82a6dad7c1d780a0599ba1a36b3c28fce5d
/test-pubsub-widgets/pubsub.py
437bfbedbf688960108bcbd3a2db04e055a268ac
[]
no_license
chinmaykolhatkar/samples
93d411cd2ed9c17b0d33f800b3feb806ecc64789
7e8eba1f335b49117d3f3bbdd8408853fd079d52
refs/heads/master
2020-02-26T15:16:46.034705
2018-03-29T06:47:36
2018-03-29T06:48:07
83,665,750
0
2
null
null
null
null
UTF-8
Python
false
false
4,745
py
import urllib2, json, sys, websocket, thread, time, random, os, signal m = {} queries = {} def getRandomRealNumber(): return str(random.uniform(0, 1.0)) def createSubscribeQuery(topic): q = {} q['type'] = 'subscribe' q['topic'] = topic return json.dumps(q) def createUnsubscribeQuery(topic): ...
[ "chinmay@apache.org" ]
chinmay@apache.org
e73ac069cf9a25f20afe6f175ef97bd07faf9361
4ba9d97128908720d92bd83f3f7fc95f8c66bf35
/ICP11/Codes/venv/Scripts/find_spark_home.py
a6a49d5a79916a16d1899b045f9f0c54cedfe59b
[]
no_license
SarikaReddyKota/BDP
55aec35670548d88dce2cadaff6111d9c76ef7fc
10c62407d299cad43899b98cba5a3c322dbc8f9a
refs/heads/master
2022-11-21T04:49:14.015937
2020-07-29T03:56:56
2020-07-29T03:56:56
270,848,462
0
0
null
null
null
null
UTF-8
Python
false
false
3,927
py
#!C:\Users\sarik\PycharmProjects\BDP_ICP11\venv\Scripts\python.exe # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You und...
[ "64293062+SarikaReddyKota@users.noreply.github.com" ]
64293062+SarikaReddyKota@users.noreply.github.com
2e999c973aac31f12762203fa7fab89b4d6ff576
4583a8273fc62e7325362f6fc30b4d29442e521e
/scrape.py
d77ecaed5e4c0a803ce956a2813eebcb04f8c738
[]
no_license
KshitijBudhani/YtbDwn
92c352d4bfec6d23d74ef39f03c7707ee4c69f68
a79ed1e1f69b8f2e88a99a1cac20abe58dd42d20
refs/heads/master
2021-01-23T22:31:29.165809
2016-02-19T10:09:37
2016-02-19T10:09:37
52,080,285
1
0
null
2016-02-19T10:24:21
2016-02-19T10:24:20
null
UTF-8
Python
false
false
14,442
py
#!/usr/bin/python import pafy import sys import urwid import pyperclip import urllib import os import subprocess import time import re import urllib2 from bs4 import BeautifulSoup import base64 from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import WebDriver...
[ "sherkipraneet@gmail.com" ]
sherkipraneet@gmail.com
2ac80964f95d3353dd2891a30f5ed346f0f70fa4
b0aa9a49077e514b6997dc1405069434970239ec
/Compare within margin.py
f95787349656797c3869fc6f9cf1b893991636ae
[]
no_license
Katarzyna-Bak/Coding-exercises
3cadde05f845b0b1a52ae22dcea82e61644f52da
5309e5b3fe662d28afda6969a1988dadda8e67c3
refs/heads/main
2023-08-17T08:38:04.812286
2021-10-07T16:04:47
2021-10-07T16:04:47
401,006,543
0
0
null
null
null
null
UTF-8
Python
false
false
1,208
py
""" Create a function close_compare that accepts 3 parameters: a, b, and an optional margin. The function should return whether a is lower than, close to, or higher than b. a is considered "close to" b if margin is greater than or equal to the distance between a and b. Please note the following: When a is clo...
[ "noreply@github.com" ]
noreply@github.com
825accd3872929d9287bb3b4c66b0585d16507fe
350db570521d3fc43f07df645addb9d6e648c17e
/1299_Replace_Elements_with_Greatest_Element_on_Right_Side/solution.py
c1d77900854ca9a59cc3073bb3f87162f7eb586d
[]
no_license
benjaminhuanghuang/ben-leetcode
2efcc9185459a1dd881c6e2ded96c42c5715560a
a2cd0dc5e098080df87c4fb57d16877d21ca47a3
refs/heads/master
2022-12-10T02:30:06.744566
2022-11-27T04:06:52
2022-11-27T04:06:52
236,252,145
1
1
null
null
null
null
UTF-8
Python
false
false
269
py
''' 1299. Replace Elements with Greatest Element on Right Side Level: Easy https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side ''' ''' Solution: ''' class Solution: def replaceElements(self, arr: List[int]) -> List[int]:
[ "bhuang@rms.com" ]
bhuang@rms.com
ca5d2f735aaee931762726e44f8ffc69d56dab76
ddd35c693194aefb9c009fe6b88c52de7fa7c444
/Live 10.1.18/ATOM/channel_strip.py
fbd60c5b943b861e81fa7cbe0be8417f4de3f5ce
[]
no_license
notelba/midi-remote-scripts
819372d9c22573877c7912091bd8359fdd42585d
e3ec6846470eed7da8a4d4f78562ed49dc00727b
refs/heads/main
2022-07-30T00:18:33.296376
2020-10-04T00:00:12
2020-10-04T00:00:12
301,003,961
0
0
null
null
null
null
UTF-8
Python
false
false
989
py
# uncompyle6 version 3.7.4 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.8.5 (default, Aug 12 2020, 00:00:00) # [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] # Embedded file name: c:\Jenkins\live\output\Live\win_64_static\Release\python-bundle\MIDI Remote Scripts\ATOM\channel_strip.py # Compiled at: 2020-05-05 ...
[ "notelba@example.com" ]
notelba@example.com
3e38362030882758775c5e399054becb65a21b6f
049ee4623c92f67adeb0bfebc44a8a698dca23a7
/theCode/utils.py
cfbbb7ab9e8ac55c832712ed741c356f7b39f176
[]
no_license
Meghana07/CUB-Attn-GAN
4f9339d50dd0e4c45a034d89d218ff3a6fe88d7e
62af8aa3f8fa18c7b7d0dbf0bb7eded4c1694b78
refs/heads/master
2022-12-12T05:48:45.553454
2020-08-22T20:13:31
2020-08-22T20:13:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
16,101
py
import os import errno import time import numpy as np from torch.nn import init import torch import torch.nn as nn from PIL import Image, ImageDraw, ImageFont from copy import deepcopy import skimage.transform from miscc.config import cfg # For visualization !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!MARKER!!!!!!!...
[ "ammarnasraza@gmail.com" ]
ammarnasraza@gmail.com
f21589f87a5a5eebfb731f3b51ea5f9bfc71e054
dd65c369dffe379b532887918e6de07c65ef4480
/2020/day6.py
1f4691af19b16ecf979ee550a4c9144da8c6ebbd
[]
no_license
nigelzor/advent-of-code
0f5d6f274d9e2b9d52c3a316449cdf1e28c5dd00
4c97c226b5b633daee92498bfafb83a90bc3cd55
refs/heads/master
2023-01-06T21:08:30.678597
2022-12-25T06:19:00
2022-12-25T06:19:00
160,392,403
0
0
null
2022-12-03T06:02:35
2018-12-04T17:10:30
Python
UTF-8
Python
false
false
844
py
import doctest def main(): part1 = [] part2 = [] with open('day6_input.txt') as f: any_answered = set() all_answered = None for line in f: parts = set(line.strip()) if not parts: part1.append(any_answered) part2.append(all_ans...
[ "ngentleman@gmail.com" ]
ngentleman@gmail.com
4583e3828fbedf16d430af6da779ed4da48e7704
99d79ada2d3b7746573f071823ec61f5f853d7a3
/tools/mlir_to_verilog_main.py
3cffb21c960fe37bb87bcd6456bea03e1743cd97
[ "MIT" ]
permissive
phanrahan/magma
d8062c6163e2c2c2cedef82317dc8cc40038220a
b05fe5303ed17e668c6ec2ec3558cd5a52eff787
refs/heads/master
2023-08-23T18:08:22.494869
2023-08-08T18:53:05
2023-08-17T16:16:44
84,332,281
227
21
NOASSERTION
2023-09-14T21:32:19
2017-03-08T14:57:09
Python
UTF-8
Python
false
false
2,100
py
import argparse import dataclasses import logging import os import sys from typing import Dict from magma.backend.mlir.mlir_to_verilog import mlir_to_verilog, MlirToVerilogOpts from magma.common import slice_opts logging.basicConfig(level=os.environ.get("LOGLEVEL", "WARNING").upper()) def _field_to_argument_params...
[ "raj.setaluri@gmail.com" ]
raj.setaluri@gmail.com
3365a607498921c50dae634db78930a8cbf6ffc8
c9c557233b61fa2e19c42384980c7195f9030b94
/Tuplas_Desafio075.py
649796aba8794bbc72fcad5626ce2ec51120b12c
[ "MIT" ]
permissive
MarcioRSanches/Estudos_Python
2783cf737567427c5995b47431f72aa5c676c21b
2fef374b82645d4efced42f3dc666bb0603cd858
refs/heads/master
2021-06-14T07:21:54.199711
2020-06-10T22:23:19
2020-06-10T22:23:19
254,486,404
0
0
null
null
null
null
UTF-8
Python
false
false
536
py
num = (int(input('Digite um valor: ')), int(input('Digite outro valor: ')), int(input('Digite mais um outro valor: ')), int(input('Digite o último valor: '))) print(f'Você digitou estes valores: {num}') print(f'O valor 9 pareceu {num.count(9)} vezes') if 3 in num: print(f'O primeiro valor 3 fo...
[ "marciosanches@outlook.com" ]
marciosanches@outlook.com
273065afed54862d523780b8b44bcd8399c3a642
bee4c482501ae1665adab8820e02f683e25bbfb8
/Emdee five for life/payload.py
8a7b44d848b83d55539dd95389679f6432273c4d
[]
no_license
MrrRaph/HTB-Web-Challs
f200801f7101f0a3269ef1f71a54a04fae07d867
9a53d8c3476e9e1bb849eb1787b436659328d09a
refs/heads/master
2022-11-28T19:06:46.558430
2020-08-01T23:49:10
2020-08-01T23:49:10
284,323,201
1
0
null
null
null
null
UTF-8
Python
false
false
1,353
py
#!/usr/bin/python3 import sys from selenium import webdriver from selenium.webdriver.firefox.service import Service from selenium.webdriver.firefox.options import Options from selenium.webdriver.common.keys import Keys from hashlib import md5 def getMD5(s, encoding='utf-8'): return md5(s.encode(encoding)).hexdige...
[ "dray.raph@gmail.com" ]
dray.raph@gmail.com
b67f4820739167037cfe772b823e0f843c0b32ea
cb322a99df4c92e669cac7a05d2b1679cbbaa09a
/manage.py
cc297dca3a789a2355b4d8f42f56d345032c2fd7
[]
no_license
Lecongnghi/Text-Classification
73f505ba7b5aa90443244482a715094fd0887604
da8ad95973bea14d8153e02ef31648359f68bc53
refs/heads/master
2022-12-06T07:53:59.195128
2020-08-15T15:04:28
2020-08-15T15:04:28
287,767,019
0
0
null
null
null
null
UTF-8
Python
false
false
1,128
py
# manage import sys import os from subprocess import run, check_output argv = sys.argv name = argv[0] command = argv[1] VALID_CMD = ["train", "evaluate","server"] def run_command(command): cmd_list = command.split(" ") try: out = str(check_output(["python3", "-V"])) if out and int(out[9]) =...
[ "67694770+Lecongnghi@users.noreply.github.com" ]
67694770+Lecongnghi@users.noreply.github.com
9388b820997f08a5b4c015a481950a6e17e4375f
bfc1b4d9908fa9f80612c5d05bbfce06599d4879
/utils4py/formate.py
e4609e038f0e1fd42cd5af5b7efb76e964f420e5
[]
no_license
hbyhl/utils4py
9f68d0d8e9eae220cff75c64e7249ab33b6a7412
499c6e38287474e47b9038040f7598e65fde5c03
refs/heads/master
2020-08-24T05:31:25.723062
2020-03-30T11:43:37
2020-03-30T11:43:37
216,769,099
0
0
null
2019-10-22T09:01:26
2019-10-22T09:01:26
null
UTF-8
Python
false
false
1,378
py
#!usr/bin/env python # -*- coding: utf-8 -*- # Desc: # FileName: formate.py # Author:yhl # Version: # Last modified: 2019-12-20 10:48 import datetime import json import traceback from utils4py import TextUtils DT_FORMAT = "%Y-%m-%d %H:%M:%S" DATE_FORMAT = "%Y-%m-%d" DM_FORMAT = "%Y-%m" LDT_FORMAT = '%Y-%m-%dT%H:%M:%...
[ "huilong.yang@42pay.com" ]
huilong.yang@42pay.com
bfeae1eab29d79d32e31556bc11be53ae2c7c3be
1f03b2a5fa873d63f2a129c9dfa548fecbb9f1fa
/cathome/views.py
f0a18d09a20751deb7535f1202fd97300c8a40b5
[]
no_license
lin07340/cathome
a2ee1881ddbab2b68eab37714028b59d33518d59
f6cbbddab35ace572db07dca562cb02e9f091fcb
refs/heads/master
2022-12-11T11:57:11.385469
2018-09-30T12:52:47
2018-09-30T13:11:47
149,864,690
0
0
null
null
null
null
UTF-8
Python
false
false
9,807
py
# -*- coding: UTF-8 -*- from cathome import app, db from flask import render_template, redirect, flash, get_flashed_messages, request, send_from_directory from .models import User, Image, Comment import re, hashlib, os import random, json from flask_login import login_user, logout_user, login_required, current_user im...
[ "670726095@qq.com" ]
670726095@qq.com
69bf863e941e1d75d011ad7cd0d4764f313b0046
894bb89cdafd31a36e07dfb8d5739082a3d3c704
/co2_program5.py
efa7580b57ed4c82212838041bc6efa69ba9fc55
[]
no_license
sharbinaashraf07/pythonProject
c8a01991f3c85c24c16691ebaca69aa06ec8b581
b27887735ea5c9b97fff2cdfea0eb0208dc06f44
refs/heads/master
2023-04-07T00:39:56.196031
2021-04-24T14:48:21
2021-04-24T14:48:21
347,103,753
0
0
null
null
null
null
UTF-8
Python
false
false
236
py
#pyramid with step number accepted from user. def pattern(number): for i in range(1, number + 1): for j in range(1, i + 1): print(j * i, end=" ") print("") n = int(input("Enter a number : ")) pattern(n)
[ "sharbinaashraf1999@gmail.com" ]
sharbinaashraf1999@gmail.com
79a1db3d60a6a67825f0c80335493395c8897fbc
adea8d48bcf38351ba55eb515e62ae3a35e3d03c
/CALCULATOR.py
eaa74508b8fd2a5791a05b43c481cad3a29e2af8
[]
no_license
edake1/Programming-Projects
6c9891169d17ef794262ce0f3439f20a0d68e5fb
6d894aa06d71ca3f842a5d3152071ae237cb3e8e
refs/heads/main
2023-02-03T10:34:09.657443
2020-12-22T14:51:24
2020-12-22T14:51:24
310,450,193
0
0
null
null
null
null
UTF-8
Python
false
false
1,497
py
from tkinter import * root = Tk() root.title('SIMPLE CALCULATOR') frame = LabelFrame(root, text="CALCULATOR", padx=20, pady=10) frame.pack(padx=100, pady=50) def my_Click(): button0.configure(text = name.get()) button1.configure(text = name.get()) button2.configure(text=name.get()) button...
[ "noreply@github.com" ]
noreply@github.com
ee2798634484ddb530cf7b917209d4cafc4a2673
6906a911f03e369569352893728275fee287680b
/manage.py
ee088666d8485d80bbf23484229d28f3d7dc11e1
[]
no_license
crowdbotics-apps/joe-1319
ab62638b43c303219230789c2c000e6e32377591
34cb120f2eac820357206348b3f281d81561ca51
refs/heads/master
2022-12-10T23:07:45.356298
2019-03-12T21:18:58
2019-03-12T21:18:58
175,297,690
0
0
null
2022-12-08T19:43:51
2019-03-12T21:17:56
Python
UTF-8
Python
false
false
806
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "joe_1319.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...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
7e69bddbb2f2e8c010b4c1ce2dc78f8a893c720f
0da202878a9a4cb741a62a2a8ef206e29eb157ed
/tasks/task04/wrappers.py
4b18faee79594c262fe58cd56b3b319b2cc58767
[]
no_license
jencmart/mff-dee-reinforcement-learning-npfl122
637ccd127bd73dd3b7d5f5ad39832a3f4dd36d11
0ae12b22f6f1ad5cead409ec1bfc9eb2b47d6a13
refs/heads/master
2023-02-19T00:38:32.464039
2021-01-18T00:04:41
2021-01-18T00:04:41
306,834,125
0
0
null
null
null
null
UTF-8
Python
false
false
6,445
py
#!/usr/bin/env python3 import sys import gym import numpy as np class EvaluationWrapper(gym.Wrapper): def __init__(self, env, seed=None, evaluate_for=100, report_each=10): super().__init__(env) self._evaluate_for = evaluate_for self._report_each = report_each self.seed(seed) ...
[ "martin.jenc@getmanta.com" ]
martin.jenc@getmanta.com
13b235a66727792736ec940ae4bc3cc630a0c1fb
d44215864e30ad8039a1a294875e4222e3d23ebd
/build/geometry-hydro-devel/tf/catkin_generated/pkg.installspace.context.pc.py
dbd62ce2cd49cece7fca3f4fcc8794848494ff9a
[]
no_license
prathyusha-shine/abhiyan1.0
5c3eebfbbacb8b364180b9c2bd377c73cf29e693
bf9be6462c132465ddbf8c20b1e9a4e1eabd596e
refs/heads/master
2020-12-31T01:23:32.911145
2015-05-31T06:19:16
2015-05-31T06:19:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
540
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "/home/sudha/catkin_ws/install/include".split(';') if "/home/sudha/catkin_ws/install/include" != "" else [] PROJECT_CATKIN_DEPENDS = "geometry_msgs;message_filters;message_runtime;roscpp;sensor_msgs;std...
[ "sudha@sudha.(none)" ]
sudha@sudha.(none)
727a12491030f78e21a7e888ebd6042f1aaa0389
8d127541e59cf5d3b15eac8e3079d745c7370a36
/palach/unit-tests.py
204528d44164bb8758815458b9c2fac5533a97c2
[]
no_license
e-sim/palach-game
6a95f7393256eace50632da82085c6e313ba688b
5d04794fe09ac4a74b90b11526ffa2748b819ea4
refs/heads/master
2020-04-18T20:41:58.439007
2019-08-21T21:40:23
2019-08-21T21:40:23
167,744,729
1
0
null
null
null
null
UTF-8
Python
false
false
3,713
py
import numpy as np # tests to do: # create/print empty matrix CHECK # print matrix correctly # print individual body parts # print everything together def scaffold(): scaff_mat = np.full((10,20), ".", dtype=str) # add the actual scaffold (is that what it's even called?) scaff_mat[9,0] = "a" scaff_ma...
[ "ejsim@uw.edu" ]
ejsim@uw.edu
e38fc08214ef76a023d6437854df171b18b8787e
499bc57c6e82ae95acecbb11053b4a2e05acaafe
/p02/q10_find_largest.py
a6fe4edd7c9750583d0009c9a7e95549a58d44bc
[]
no_license
aaaaaaaaaaaaaaaaace/cp2019
4178e09251e92c3ddedad47b9c78b5838c037580
e73408ba9fbb716b2541b0c4c662cebf5d61b800
refs/heads/master
2020-04-24T00:40:42.721284
2019-04-28T14:56:05
2019-04-28T14:56:05
171,573,360
0
1
null
2019-10-19T12:45:15
2019-02-20T00:39:13
Python
UTF-8
Python
false
false
168
py
n = 1 x = n**3 while x < 12000: n = n + 1 x = n**3 if x > 12000: break n = n - 1 print('The largest integer n such that n^3 is less than 12000 is' , n)
[ "noreply@github.com" ]
noreply@github.com
fd57ab7ba85d0ae8524c7824bae4fa17d758af0e
9718a90a275f28e76a29ec47690bdadf0ac42dd3
/yml.py
6cdf433d4f16afe980f8900e5adfa3957138a7f9
[]
no_license
rty83924/check_m3u8
f6cd0237a3832be0b6b982709be9e656e36e48d0
13ee1b839c4b3a6295456d0f8f881194e1691bac
refs/heads/master
2022-11-22T20:36:17.190758
2020-07-13T03:45:18
2020-07-13T03:45:18
278,595,265
0
0
null
null
null
null
UTF-8
Python
false
false
1,861
py
import yaml import os a = os.path.dirname(os.path.abspath(__file__)) # Loader=yaml.FullLoader 取消yml.load 不安全僅告 class sendurl: def __init__(self): pass stream_name = list() domain_name = list() stream_app = list() self.stream_name = stream_name self.domain_name = domai...
[ "rty83924@gmail.com" ]
rty83924@gmail.com
e8e9dae290021734b27888fec8c99911efa8f68b
545851661d0d5cc4f99aca0a3f19a24cde47d704
/board.py
13fb0c8b2be545d9ad8e962406a412048abff19d
[]
no_license
space-blob/toy-baduk
3decaeddc6a384c000d882a5ed27e5853ae748f0
ea8f37b1f151af2630a4d959b2816f3935d4419f
refs/heads/master
2020-12-18T15:03:47.594816
2020-01-21T19:50:50
2020-01-21T19:50:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,201
py
####################################### # Exercise 2: Implement enough of # # this class that the stones appear on# # the board when space is pressed # ####################################### from enum import Enum class Stone(Enum): BLACK = 1 WHITE = 2 EMPTY = 0 class Board: """ This is a ...
[ "matthew.watson@noisenet.com.au" ]
matthew.watson@noisenet.com.au
8aba36714ad49704fa0bde10281ae544f509ab13
5a4191c9621f513af1435672c28957063dc18c13
/saratov24/middlewares.py
76afe5277f501bc8e20bb6b787b082ca02dac101
[]
no_license
Ny0xCF/Information-retrieval
b3612d34fe0ff19211593bb1cbfab0d0deebc65b
c0aadbfbb35341ac5440860c136239c1cabe3805
refs/heads/main
2023-02-05T09:04:38.991084
2020-12-24T14:44:57
2020-12-24T14:44:57
323,800,362
0
0
null
null
null
null
UTF-8
Python
false
false
3,603
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class Saratov24SpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scra...
[ "denis.shepelev@exactprosystems.com" ]
denis.shepelev@exactprosystems.com
ebc71c2db007b50f958c8a4feccd507aedaee1c8
c113b16336bf5d2416632821b9d4f7b7160ad45f
/src/app/migrations/0005_auto_20210422_1620.py
367783483e4c97ecf62fad222e29176c6bfa2406
[ "MIT" ]
permissive
currobeltran/TFG
59a79c8c7fd12e01c94d6a3d59eec6e6a0d306ab
3137edd1baeb02f2811c272bbbf3884c3af6d3fe
refs/heads/main
2023-08-09T11:17:27.105945
2021-09-21T17:55:05
2021-09-21T17:55:05
341,180,808
0
0
null
null
null
null
UTF-8
Python
false
false
527
py
# Generated by Django 3.1.6 on 2021-04-22 16:20 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app', '0004_auto_20210422_1615'), ] operations = [ migrations.AlterField( model_name='asignatura', name='CreditosGA'...
[ "franciscobel@correo.ugr.es" ]
franciscobel@correo.ugr.es
63b205c5d6cff1d5d1608a1ec32f83e78195167b
c2884b526df441736d132e907c2500107d726785
/code/main.py
ed32f2b6e98ba9380203ade9cc671db5dfe7f0b8
[ "MIT" ]
permissive
miniminisu/dcgan-code-cu-foam-3D
eead01188ee1a62ea32db4316b8abb103695d4e6
9b7e4b184da33fa259ab42f28d9d3d77fe28bd3e
refs/heads/master
2023-06-05T17:56:28.738437
2021-06-28T07:16:36
2021-06-28T07:16:36
380,934,044
2
0
null
null
null
null
UTF-8
Python
false
false
10,663
py
from __future__ import print_function import argparse import os import random # import torch import torch.nn as nn # import torch.nn.parallel import torch.backends.cudnn as cudnn import torch.optim as optim import torch.utils.data import torchvision.transforms as transforms from torch.autograd import Variable from dat...
[ "269178748@qq.com" ]
269178748@qq.com
61cf16649f12b5e42bac2e5608be5e14cfd68243
2f2b107e66a874b457e5b446842ffa445fb53966
/ejercicio15.py
393b3a54bbd0113cd566890d40b78216f13afa0a
[]
no_license
JORGEANDREE/Trabajo
22c823336f9b1b7284d3c1e78fb15dafed477629
d15a81e195cfda052c4cd11d0df24b74d43e00c2
refs/heads/master
2020-09-03T03:24:21.837880
2019-11-03T23:11:38
2019-11-03T23:11:38
219,373,714
0
0
null
null
null
null
UTF-8
Python
false
false
216
py
#calcular el area de un rectangulo empuje,p,g,v=0,0,0,0 #asignacion de valores p=45 g=40 v=16 #calculo empuje=p*g*v #mostrar valores print("p es:",p) print("g es:",g) print("v es:",v) print("el empuje es:",empuje)
[ "jorgeandreeserrepesantisteban@hotmail.com" ]
jorgeandreeserrepesantisteban@hotmail.com
ebbc0dd5d846d2bc493872f57dc429124b5aa129
c962551c85fb5ea0c90f88e07601788637fc1ed3
/trendapp/views.py
e62b217a1896fe783efb4ddbd3b372e67f318390
[]
no_license
solahyun/Hackathon_gis
c1c195d761597eedd98532652e60175a01cef435
30e10d2509f9a3cb3f3529a150a5ab8314f9a83f
refs/heads/master
2023-08-31T03:56:34.604739
2021-10-12T19:21:51
2021-10-12T19:21:51
416,252,611
0
0
null
null
null
null
UTF-8
Python
false
false
612
py
from django.conf.urls import url from django.shortcuts import render from django.views.generic import TemplateView, ListView from trendapp.models import NewModel class BasicTemplateView(TemplateView): template_name = 'trendapp/base.html' class TrendListView(ListView): template_name = 'trendapp/bukgu.html' ...
[ "sola0419@likelion.org" ]
sola0419@likelion.org
ee29004e65e670b2df622f983fb6ad0c07afa32e
eb5044f3301e1b9c608fc5d9a28d9e1f208490ba
/initBot.py
2aa6d5d43d4edf14a21d4a95c8a21f9052060e54
[]
no_license
Gabsii/gabsii-chatbot
a8ea4eed822bba04b07308d2941d54064bad1a81
06de87d2ac60a728e1e3e62bc5ba421df06d7fb8
refs/heads/master
2020-06-10T03:42:37.198206
2019-10-18T11:25:41
2019-10-18T11:25:41
193,571,924
1
0
null
null
null
null
UTF-8
Python
false
false
3,895
py
############################################ # # # I exported my data from a # # WhatsApp chat using an extension # # from the Chrome Store # # (Backup WhatsApp Chats) # # # # ...
[ "lukas.gabsi@tele2.at" ]
lukas.gabsi@tele2.at
dc84ed85efea76c6d1ec5005d6bcb25b271a1939
fc9ec5bf40107d072b2e1efbdb5a1184c35ef52d
/learning/01.python-basics/02.while-loop.py
4f89f3ba7765a2767255d92b2b8b79dd934436c0
[ "MIT" ]
permissive
dinotumu/code.py
8f73193963490b7275dd2aa25dad28f200b58314
d1a569bcecabbf44126b70e7b71ef4a761b2177c
refs/heads/master
2021-05-26T08:45:51.437854
2020-06-16T17:52:55
2020-06-16T17:52:55
128,076,354
0
0
null
null
null
null
UTF-8
Python
false
false
1,114
py
#!/usr/bin/python3 """ Module Docstring """ __author__ = "Dinesh Tumu" __version__ = "0.1.0" __license__ = "MIT" # imports # init variables # assigning variables to a function var_1 = range(10) def main(): """ Main entry point of the app """ print("\nWhile Loops\n") # while expression: # st...
[ "saidinesh.tumu@gmail.com" ]
saidinesh.tumu@gmail.com
1d052b81082b3d7bfb01013465626aa3181cfe2b
96fdd7660878ce8ab4ebe4938835b8acc5ec11a2
/hooks/pre_gen_project.py
ad32077404e7e0e0a1fb7ba1e5c3e606c9b9db5b
[ "BSD-3-Clause", "MIT" ]
permissive
ninjabit/cookiecutter-serverless-aws-lambda
9b486f47802d475fa3d255078337db533760f811
1f4175f8d7e5bb0efd7d7667c8e1e6a12d0289c9
refs/heads/master
2020-10-01T18:05:10.792574
2019-12-12T14:52:26
2019-12-12T14:52:26
227,594,267
0
0
NOASSERTION
2019-12-12T11:48:05
2019-12-12T11:48:04
null
UTF-8
Python
false
false
334
py
import re import sys MODULE_REGEX = r'^[_a-zA-Z][_a-zA-Z0-9]+$' module_name = '{{ cookiecutter.lambda_name}}' if not re.match(MODULE_REGEX, module_name): print('ERROR: The project slug (%s) is not a valid Python module name. Please do not use a - and use _ instead' % module_name) #Exit to cancel project ...
[ "benjamin.weigel@europace.de" ]
benjamin.weigel@europace.de
6d1ebf41ab4811a8adc2865d675e4b20db67c5ee
bc547e7d9e4b2c1e49edc2daaa735c9afb87f5ae
/test/test_all_fault_handlers.py
49068eb0020cb52f7c87f865ccede508daaabba8
[ "MIT" ]
permissive
farisachugthai/dynamic_ipython
f7ed092ff23b785fc8c545390c581338a64b9bda
7572a01f09998812830379644c45af4df67a3e45
refs/heads/master
2022-11-05T11:48:48.344585
2021-08-28T04:25:05
2021-08-28T04:25:05
178,786,145
7
0
MIT
2022-10-25T10:16:39
2019-04-01T04:35:37
Python
UTF-8
Python
false
false
1,785
py
#!/usr/bin/env python3 import os import shutil import tempfile import unittest from os.path import abspath, realpath, isfile, exists import pytest from IPython.testing.globalipapp import get_ipython from default_profile.startup.all_fault_handlers import tempdir, in_tempdir, in_dir def remove_tmpdir(dir): try:...
[ "farischugthai@gmail.com" ]
farischugthai@gmail.com
91a920b2e347c791a85c6a08064cb15ea9a8588d
a7173c10b8f51708808435338fde644d4d7c169e
/models/se_resnext.py
84b06da18e85814912fdef78682f994c577aa3bd
[ "MIT" ]
permissive
ORlGlN/MTANet
86b4cf9357e4de1ea5de662cf593fe7b7561a56c
65f5c356b18400bd1d1b80cffa1ec9f8c6570d2a
refs/heads/master
2021-05-21T13:58:14.887454
2020-02-04T13:58:15
2020-02-04T13:58:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,967
py
''' New for ResNeXt: 1. Wider bottleneck 2. Add group for conv2 ''' import torch.nn as nn import math __all__ = ['SE_ResNeXt', 'se_resnext_50', 'se_resnext_101', 'se_resnext_152'] class Bottleneck(nn.Module): expansion = 4 def __init__(self, inplanes, planes, stride=1, downsample=None, num_group=32): ...
[ "noreply@github.com" ]
noreply@github.com
1adfeb8bc7250a5a26649f5ce020d42d243eb8e8
a9ddfe9219a10867178aac15dc8ef14d69369fef
/mongo-c-driver/docs/source/sphinx/source/conf.py
cc35378b18336dbb2077832747030aaf6c71fc88
[ "Apache-2.0" ]
permissive
orachun/difsys
0e2a331e5da1f29a094c4e57b8deef36c89fe9f7
cafb9c6c9c097213a19788de2f8c520feca13b3a
refs/heads/master
2021-01-19T02:41:32.837731
2013-09-13T04:21:31
2013-09-13T04:21:31
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,012
py
# -*- coding: utf-8 -*- # # MongoDB C Driver documentation build configuration file, created by # sphinx-quickstart on Wed Jun 22 12:23:03 2011. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated file...
[ "orachun@orachun-ThinkPad-X220.(none)" ]
orachun@orachun-ThinkPad-X220.(none)
01c067e1d9683fc8b0effb113ec0376691b3119f
e97064b7c510d5530f2400d44a24e6a5781f6305
/plotphon.py
3ec5221a806723c84312a36c0e61b6ee6c8dc27d
[]
no_license
Tosykie/qetools
b67a42797d7b0538b66d34ecd5c23cafa0520501
de35731a553aaefa5fb616f3d4da8253ce3d887f
refs/heads/master
2023-03-20T09:49:51.469342
2020-08-27T11:53:50
2020-08-27T11:53:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,393
py
# -*- coding: utf-8 -*- """ @author: ponychen plot phono band wth k point distance not k index """ import numpy as np import sys import math def parse_filband(feig, npl=10): # feig : filband in bands.x input file # npl : number per line feig=open(feig) l=feig.readline() nbnd...
[ "noreply@github.com" ]
noreply@github.com
f353cbe703642087199de04d98620034ae4ba881
e708a7987722c3cad5d948a168c06f3ab7fd7965
/provenance/utils.py
46b83c106723cbfecff9bb4fe44107403ebd14c0
[ "MIT" ]
permissive
bmabey/provenance
2e56a4728dbe69e311bd1c9d9831ea7a4ca3f92a
d29ad2ffc39fbc389600df092da9e7df4f920100
refs/heads/trunk
2021-01-09T05:27:33.624822
2020-12-02T17:54:19
2020-12-02T18:05:43
78,248,180
34
12
NOASSERTION
2020-12-02T20:32:32
2017-01-07T00:06:56
Python
UTF-8
Python
false
false
4,616
py
import inspect from collections import OrderedDict, Sequence import toolz as t import toolz.curried as tc from boltons import funcutils as bfu UNSPECIFIED_ARG = '::unspecified::' def args_extractor(f, merge_defaults=False): """ Takes a function, inspects it's parameter lists, and returns a function that...
[ "ben@benmabey.com" ]
ben@benmabey.com
c850a0ab18466434e370f60ebaf3101739c98932
e25d2176f43dd0747970d5e746c8a9ffd61b0bee
/farm/loadvars.py
0293388e79dc4ffc20b2b6747ee5681fd9f7254a
[]
no_license
Rothamsted-Ecoinformatics/FarmDataTools
8942f3b7a11b543464735592c1811f0286b884c8
a787665d18c0e4deb422f094bdd383328ca70a9b
refs/heads/master
2022-07-07T10:27:26.551159
2022-06-22T10:10:22
2022-06-22T10:10:22
183,418,557
0
0
null
null
null
null
UTF-8
Python
false
false
361
py
import json from service import FarmService myFarm = FarmService().myFarm() for crop in ['sugar beet','winter oilseed rape','spring barley','grass','spring beans','phacelia','black oats','seed mix','terralife betasola','parkers PS009 mix']: #data = farm.term.send({'name':crop,'vocabulary':{'id':'7','resource': ...
[ "richard.ostler@rothamsted.ac.uk" ]
richard.ostler@rothamsted.ac.uk
3ca71c49a6da7cfa420cf73cb3475c330888bddc
0e65380b2cf1386a21d1d54f22240f5b3fd3d0d0
/1121.py
2c12ee6c777dba4225e75560c187371785338d59
[]
no_license
hwanginbeom/python
b6023e6082e8942f06a859c7fd63e5a2a405772f
01afbd4f54cda1e2994f2454ff2b01fef3e13116
refs/heads/master
2018-11-05T10:52:42.414380
2018-08-28T09:30:41
2018-08-28T09:30:41
105,129,965
0
0
null
null
null
null
UTF-8
Python
false
false
49
py
IntVar() 0- 정수값으로 만들어 준는 것
[ "rydn2002@gmail.com" ]
rydn2002@gmail.com
d7f3e690090261c6ebfd8660bb04bbba1b3485b7
eb01c6bd82aae1591d905e445ba4838648ecf16e
/secrets.py
bf401aa70bd10cf847506691b43ee67857487c94
[]
no_license
javierlm/SpotifyGeneratePlaylist
303c60a257a07210d99a85dc5d635cf85af26d45
570bd2acfa17c2c7fd31758a2258aeeda3185fe1
refs/heads/master
2022-06-20T02:09:32.456036
2020-05-10T14:43:42
2020-05-10T14:43:42
261,228,519
0
0
null
2020-05-04T15:49:46
2020-05-04T15:49:45
null
UTF-8
Python
false
false
156
py
# Make sure to fill in your spotify client_id, client_secret, and user_id information spotify_user_id = '' spotify_client_id = '' spotify_client_secret = ''
[ "jlmedina.tfe.92@gmail.com" ]
jlmedina.tfe.92@gmail.com
c0123317ab83f06b2a6be2df901bc6be16742418
e80091b9398afb1c65eacc643a8f4dd8807b87d5
/utils/common.py
3a5859e6c9d9aaa9f075f420aef30d0d0493b5c9
[ "BSD-2-Clause" ]
permissive
dhinkel/updawg
ac75735af8da874f576a1f5235fd59dc572ba09d
b39c89df30f9e22f0f7dbaaad37dd0a309339c22
refs/heads/master
2020-11-29T21:27:01.246466
2020-01-10T06:34:33
2020-01-10T06:34:33
230,218,863
0
0
null
null
null
null
UTF-8
Python
false
false
922
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jan 2 22:54:03 2020 @author: dh """ import functools def obj_iter_to_str(obj_list, iter_type=list): ''' Print list/set to use obj.__str__ instead of obj.__repr__ for each obj ''' if iter_type == list: lchar = '[' rchar...
[ "dh@DESKTOP-IU38F2U.localdomain" ]
dh@DESKTOP-IU38F2U.localdomain
f52c44a47fdc4accf6660f53d29b15b9d5675b58
5d4b215924138fe192027ffb07ae8fc5a180f8c7
/utils/dataset/trajectory_dataset.py
7e4451def6bc1fdda247a67c3e1927e59ef6c408
[]
no_license
MarSaKi/vln-bert
dbf10d3c908d576882e4295b747ef9e18f887fca
4cc3539df036f47e1e9b02bd64ef3734ec389da6
refs/heads/master
2023-02-25T16:21:40.395419
2021-01-27T21:54:44
2021-01-27T21:54:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,501
py
# pylint: disable=no-member, not-callable import os import networkx as nx import numpy as np import torch from pytorch_pretrained_bert.tokenization import BertTokenizer from torch.utils.data import Dataset from utils.dataset.common import ( get_headings, get_viewpoints, load_distances, load_json_data,...
[ "arjun.majum@gmail.com" ]
arjun.majum@gmail.com
7870dd1a3fdc75e1e8927dd970bb00d39bd9e2ed
065194d35b773511f400f92f73c8fb5172f13fc1
/check_ga_rt.py
03f100de8909753526d39cd806496775b186b80d
[]
no_license
Marfeel/check_ga_rt
90e62b21ff95c2aadceaf164491b0908bb9107a8
47f4ed188c00b0b98d5768637da649a1efdacb36
refs/heads/master
2021-01-10T17:01:25.740584
2017-02-15T16:41:29
2017-02-15T16:41:29
48,429,079
0
0
null
null
null
null
UTF-8
Python
false
false
5,155
py
import argparse import nagiosplugin import httplib2 import time from oauth2client import file from oauth2client import client from oauth2client import tools from apiclient.discovery import build from apiclient.errors import HttpError class RealtimeAnalytics(nagiosplugin.Resource): def __init__(self, credentials,...
[ "joan.tomas@gmail.com" ]
joan.tomas@gmail.com
26a661d5c57eb94eb354be41f680590dd1e164e1
3895bb91c9d04b249ec08e3fb9015ca13865ea86
/book_outlet/urls.py
fe757715268663e85213a5cdd4fd6126dad03a1f
[]
no_license
Aaryan8751/Django_Working_With_Models
377af3f378461a5bcfdb02b2912cf5c4ab9190ad
2c72c8daf0525cc45eef4777d7052287ae56ccaf
refs/heads/main
2023-06-14T00:16:49.200095
2021-07-04T13:52:32
2021-07-04T13:52:32
382,821,143
0
0
null
2021-07-04T13:52:33
2021-07-04T10:17:35
Python
UTF-8
Python
false
false
156
py
from django.urls import path from . import views urlpatterns = [ path("",views.index), path("<slug:slug>",views.book_detail,name="book-detail") ]
[ "60098288+Aaryan8751@users.noreply.github.com" ]
60098288+Aaryan8751@users.noreply.github.com
f5585e1bfdc49c756ef3bfaf615208b7d8092a70
2016aa7d628c1642cb435a628183af1a1c2d1711
/analysis/analysis_tool.py
206a2e6701ee1392e3320323fcab7dfdbc87366f
[]
no_license
NoahMauthe/decompilation_analysis
3c59cca425236f6f489b6289d48b49f739bc97d4
1e90ce95ff58e587a698bd29fdbbbdf701e15180
refs/heads/master
2023-08-28T22:09:52.218712
2021-09-16T13:25:11
2021-09-16T13:25:11
327,853,794
0
0
null
null
null
null
UTF-8
Python
false
false
34,916
py
import fnmatch import glob import json import logging import os import shutil import signal import time import itertools from json.decoder import JSONDecodeError from subprocess import Popen, TimeoutExpired from API.Exceptions import ConfigurationError from API.Objects import App from analysis import filewriter from ...
[ "s8nomaut@stud.uni-saarland.de" ]
s8nomaut@stud.uni-saarland.de
7faf818aca884cd70f540d9f8533c853c43689f0
ab5810cfcf66f89225dcd520b8caf129a4e68cc2
/datasets/FB_comments/process_data.py
4a36b48019b889e042625dab0a2d244468d6c22d
[ "MIT", "Python-2.0" ]
permissive
Unique-Divine/PyTorch-Deep-Learning-Tutorial
f5337b4b4cfa2304eb77b49242605750cd9faad0
2db0a5b45827e34d07e0f28339bc8a51581f7e73
refs/heads/master
2023-05-08T14:15:59.830187
2021-05-31T01:45:13
2021-05-31T01:45:13
271,871,646
0
1
null
null
null
null
UTF-8
Python
false
false
3,035
py
# standard DS stack import numpy as np import matplotlib.pyplot as plt import seaborn as sns; sns.set() import pandas as pd # embed static images in the ipynb get_ipython().run_line_magic('matplotlib', 'inline') train_df = pd.read_csv("datasets/FB_comments/training.csv", header=None) test_df = pd.read_csv("datasets/FB...
[ "u.divine@columbia.edu" ]
u.divine@columbia.edu
fe0e28aab3f175900cc8a3b6b7de42698c030e1d
69f65a7d4a42fed187463f172a0e6bc98361348a
/coffeesensor/test/dummysensor.py
b6198f1bd793286d86ddc8d087531fda4b03599f
[]
no_license
denisw160/CoffeeMonitor
7e64352ba7cd69b2b0d88aca59e712d56cbc320e
f6b934d84a4c90d9974e59f31e5f1c99b142a9bf
refs/heads/master
2021-06-03T08:04:30.469723
2020-04-22T20:22:42
2020-04-22T20:22:42
155,524,520
0
0
null
2021-05-07T06:13:16
2018-10-31T08:37:13
Java
UTF-8
Python
false
false
3,173
py
import argparse import datetime import json import random import socket import ssl import time import paho.mqtt.client as mqtt # # This scripts starts a dummy service, that sends random sensor values to the backend. # For transmission a mqtt broker is used. The format of the data is json: # {"timestamp":"2012-04-23T1...
[ "denis@wirries.me" ]
denis@wirries.me
e987910d4d77723e6b8370fde4adb13723676a69
e22b87776fcdf296291be1518cd34c89874d2cdf
/imune-api/server/controllers/user_controller.py
d6d836ac3817e74b0965c23551ffd751935324d3
[]
no_license
davidpagliotto/megahack-criptovaley-time18-backend
bb6ebe9c821fe4c0e7cf2d79e80dc108f8b0f018
cf98b19edb0c6a68597ef26c7c652e3edcd7911c
refs/heads/master
2022-06-05T23:03:34.908823
2020-05-05T00:12:28
2020-05-05T00:12:28
259,664,186
0
1
null
null
null
null
UTF-8
Python
false
false
499
py
from fastapi import APIRouter, Depends from server.filter.filter import get_token from server.models.user_model import User, UserOutput from server.services.user_service import UserService router = APIRouter() user_router = { "router": router, "prefix": "/users", "tags": ["User"], "dependencies": [Dep...
[ "dpagliotto@gmail.com" ]
dpagliotto@gmail.com
aba1fe1222e36f72353fd0c6c5a21047cc2cedee
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03212/s618244450.py
185edf86b67bdc8518f2d9341edb2c2cdcd3ecfc
[]
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
310
py
N = input() L=len(N) from itertools import product check_num=[3,5,7] check=[] for l in range(1,L+1): for p in product(range(3),repeat=l): c='' for p_ in p: c+=str(check_num[p_]) if len(set(c))==3 and int(c)<=int(N): check.append(int(c)) print(len(check))
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
2d0adc952438c69679bd10f9ed3e38b115ead65f
ae863b3243008c781c5cb28164e36c824b0a2c5b
/AriticleBlog/AriticleBlog/settings.py
0e52cdc441392a2681ad16e9945fb4e545be6feb
[]
no_license
njw-666/mygit
490366c18cbc21533b152531e1416e649f010df1
f73a815dcf4e03d4965bff92981973d2b0b42ea3
refs/heads/master
2021-01-04T11:50:16.445057
2020-04-09T16:22:16
2020-04-09T16:22:16
240,534,220
0
0
null
2020-04-30T15:07:26
2020-02-14T15:04:37
CSS
UTF-8
Python
false
false
3,297
py
""" Django settings for AriticleBlog project. Generated by 'django-admin startproject' using Django 2.2.1. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import ...
[ "1037769494@qq.com" ]
1037769494@qq.com
0841a27a08a0f3ffff02d972bb085b667907eb60
caeb9c7ad9606ed440dcb6f852e6de6d7eb0dd91
/unqomp/ancillaallocation.py
9d1c9946563b7d25bce91d103c6cfa2716a7bc17
[ "MIT" ]
permissive
eth-sri/Unqomp
2e05395d4d68ca643ccfa9a2fa09693cbc792fd4
9d7e885af1ebfdeab7e8059d13149aadeed8a6d6
refs/heads/master
2023-03-29T19:26:36.273288
2021-04-01T09:38:58
2021-04-01T09:38:58
344,804,721
3
0
null
null
null
null
UTF-8
Python
false
false
5,334
py
from qiskit.circuit import Qubit, QuantumRegister, QuantumCircuit, Gate from itertools import count allocation_time_counter = count() class AncillaRegister(QuantumRegister): def __init__(self, nb_qubits, name = None): if name: QuantumRegister.__init__(self, nb_qubits, name) else: ...
[ "anouk.paradis@inf.ethz.ch" ]
anouk.paradis@inf.ethz.ch
71687720ff526965a20c77c9db597830ce3187b5
714058081fe435ed89b94cfa94587338e64672cb
/marqeta/response_models/digital_wallet_token_hash.py
44fe321135afec4b24ddcf5ac0ed83bccebdd7f4
[ "MIT" ]
permissive
andyw8/marqeta-python
bc194944c08e8c8327a8a20bac3dc615b2e2a95f
23e0a66a5d7b20f3f992e44ae22b33a0eebdbce2
refs/heads/master
2020-05-20T14:25:39.398668
2019-04-01T23:53:55
2019-04-01T23:53:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
623
py
from datetime import datetime, date import json class DigitalWalletTokenHash(object): def __init__(self, json_response): self.json_response = json_response def __str__(self): return json.dumps(self.json_response, default=self.json_serial) @staticmethod def json_serial(o): if...
[ "amaratkere@marqeta.com" ]
amaratkere@marqeta.com
83733859a6f173de026d413bbab758ac945c0521
60cbb360cafadbe20d2acce0dbce0273ad7e1ef3
/src/digitalmarket/urls.py
397fa52df4852d21feb5bd0a9e0c31b29c6e5527
[]
no_license
mugabiisaac/my-digital-market
b7bbaeceb78c103c0350ae86a1130b221cf6fb2e
a863671aa6d879fb432725be997bd19308d2d67c
refs/heads/master
2020-06-20T01:08:36.484931
2017-06-13T08:29:03
2017-06-13T08:29:03
94,189,116
0
0
null
null
null
null
UTF-8
Python
false
false
1,634
py
"""digitalmarket URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Cla...
[ "imugabi1@gmail.com" ]
imugabi1@gmail.com
dffd6f6fe5891a7e426f0158bd5e4e502f624aba
7651545b8a439fe4e2de23cde5b4c500caf2ccee
/config.py
bd806dd79a1ff851512706bdef0b139615ee5608
[]
no_license
stephancill/metis-ai-bot
2f578e0393e42d90e14bff98df1845d1f7166d8e
d6abdf05021666357bd9877ca5a9d6ab516605f7
refs/heads/master
2021-03-16T09:17:26.972256
2018-01-15T17:28:42
2018-01-15T17:28:42
115,908,616
0
0
null
null
null
null
UTF-8
Python
false
false
763
py
import os class Config: follow_ids = ["914663684928139264"] # @metis_ai # follow_ids = ["944717267304108032"] # @mcafee2cash # Spend a fraction of BTC balance per signal (default 10%) try: btc_spend = float(os.environ["btc_spend"]) except: btc_spend = 0.0 # Price to sell at # buy * sell_multiplier = sel...
[ "stephanus.cilliers@gmail.com" ]
stephanus.cilliers@gmail.com
f2ad77732dc1ca78d44e09c8446115b5677f35a4
5d2d214fff5892d381d0328bca3db04b14e358fb
/archives/old_2017-2018_code/code/tests/LED/led_select.py
6409e9bb97bf8e7b48ab35f37ee6d5aa34d43504
[ "MIT" ]
permissive
DFEC-R2D2/r2d2
9552705188ed6e3d8c144881eb7c9ddfacfd8072
9b64233865ebfe9f0ca3f1b400b55cc8d6494adf
refs/heads/master
2021-01-20T13:27:36.953410
2018-10-30T21:37:50
2018-10-30T21:37:50
90,496,130
4
0
null
null
null
null
UTF-8
Python
false
false
5,699
py
#!/usr/bin/env python from __future__ import print_function from time import sleep import numpy as np import os from random import randint try: from Adafruit_LED_Backpack.Matrix8x8 import Matrix8x8 from Adafruit_LED_Backpack.BicolorMatrix8x8 import BicolorMatrix8x8 from Adafruit_LED_Backpack.BicolorMatrix8x8 impor...
[ "dfecr2d2@users.noreply.github.com" ]
dfecr2d2@users.noreply.github.com
3712937801b4655d2f06e615f42f6119be1d0be2
d9e5f868392cc846a14577e2578332dd389766a5
/ex13.py
2a4652a2c2319f92b92f4fdfda224686a6f5811d
[]
no_license
quanlidavid/Learn_Python_the_Hard_Way
8d8d9c9906d1e6b0de1a1dae78fbf4fd150c466c
bc591552efbeb2db588c831bf5280cbe21e11246
refs/heads/master
2021-05-16T11:18:13.171264
2017-09-27T05:56:20
2017-09-27T05:56:20
null
0
0
null
null
null
null
UTF-8
Python
false
false
260
py
from sys import argv script, frist, second, third = argv print("The script is called:", script) print("Your first variable is:", frist) print("Your second variable is:", second) print("Your third variable is:", third) list1=['aa','bb'] a,b=list1 print(a,b)
[ "quanlidavid@gmail.com" ]
quanlidavid@gmail.com
c167c5819bfa452fa8fdba057ff142fbdbde00fe
e23a4f57ce5474d468258e5e63b9e23fb6011188
/090_logging/examples/nuke/34-python_in_production-logging_to_a_qt_widget/logger.py
c0e05b78da6905f18952e733200c169b31a72bf1
[]
no_license
syurskyi/Python_Topics
52851ecce000cb751a3b986408efe32f0b4c0835
be331826b490b73f0a176e6abed86ef68ff2dd2b
refs/heads/master
2023-06-08T19:29:16.214395
2023-05-29T17:09:11
2023-05-29T17:09:11
220,583,118
3
2
null
2023-02-16T03:08:10
2019-11-09T02:58:47
Python
UTF-8
Python
false
false
2,774
py
import logging import sys class Logger(object): LOGGER_NAME = "Zurbrigg" FORMAT_DEFAULT = "[%(name)s][%(levelname)s] %(message)s" LEVEL_DEFAULT = logging.DEBUG PROPAGATE_DEFAULT = True _logger_obj = None @classmethod def logger_obj(cls): if not cls._logger_obj: if...
[ "sergejyurskyj@yahoo.com" ]
sergejyurskyj@yahoo.com
cad547896bbf46dc8b946ddcf72d1ff6225ba041
f46b5273355447564604bad0c962c853fa3158b6
/data/coco.py
7fe691b2114e83af56bab983574f9752b88de7ae
[ "MIT" ]
permissive
Maetamongminji/SKT_AI_Fellowship
72662c00adfc4ba4c4453d45c3851c7f64f5ab87
1872339ead578d7597694bb00545b6dc7518f6ad
refs/heads/main
2023-06-24T13:15:21.208598
2021-07-25T10:25:25
2021-07-25T10:25:25
388,705,734
0
0
null
null
null
null
UTF-8
Python
false
false
13,252
py
# -*- coding: utf-8 -*- """COCO.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1v7mKIZPb2XjS7O53nBaqC8JEbmwEw9xe py파일로 저장해서 ups -> data 아래 위치로 commit할 것 + 이 안에 get_coco class 만들 것 + COCOSSL class도! ### __Checking GPU informations__ """ ''' g...
[ "noreply@github.com" ]
noreply@github.com
e27cf93f24bc53f6f16fd551ed429b1aca98d4d2
480bee2fee71fa5f91fcece256918795adfb3eda
/detector/model.py
7ebca4a47e922b335504cca41e45677a4865c1e2
[]
no_license
favyen/skyquery
f71d0095681660e4bce5324ae866371fe51e9e3a
dce2639314aaa06cba0d56aab1f7794744c22090
refs/heads/master
2023-08-22T17:48:08.697538
2021-09-27T02:14:52
2021-09-27T02:14:52
412,963,924
1
1
null
null
null
null
UTF-8
Python
false
false
5,272
py
import numpy import tensorflow as tf import os import os.path import random import math import time from PIL import Image BATCH_SIZE = 4 KERNEL_SIZE = 3 class Model: def _conv_layer(self, name, input_var, stride, in_channels, out_channels, options = {}): activation = options.get('activation', 'relu') dropout = o...
[ "fbastani@perennate.com" ]
fbastani@perennate.com
907e51e3e9abb9e4b37491c1122a2c555afe1fcc
42674d7355d852e6ec7071830bb87d781ab63ad3
/bitmovin/resources/models/manifests/dash/audio_adaptation_set.py
71e54986b06f54a233eb3ec0495f83cff6d90a84
[ "Unlicense" ]
permissive
bitmovin/bitmovin-python
57b1eb5deb7e38f3079e0ded546ec762753c3132
d183718d640117dd75141da261901dc2f60433b0
refs/heads/master
2023-07-11T02:40:59.277881
2020-01-28T14:49:15
2020-01-28T14:49:15
72,857,798
46
27
Unlicense
2019-12-17T13:59:51
2016-11-04T15:01:56
Python
UTF-8
Python
false
false
663
py
from .abstract_adaptation_set import AbstractAdaptationSet class AudioAdaptationSet(AbstractAdaptationSet): def __init__(self, lang, id_=None, custom_data=None): super().__init__(id_=id_, custom_data=custom_data) self.lang = lang @classmethod def parse_from_json_object(cls, json_object):...
[ "dominic.miglar@netunix.at" ]
dominic.miglar@netunix.at
57f3d78002099dd25a0414ffe76313bcfd59368b
5323f9bafe599813ea7860b36a17b20f928ee8e2
/PS3/code/testCarSequence.py
95f1a9a64056dca3eaeab3f31b1c30530d83dca9
[]
no_license
zCoCo/16720
78f0eda9e251bb61ca0f3cb5704f967e841c7304
02b223ac2a4aa71ed7bfbd6b2fbc3a1c5aa93155
refs/heads/master
2023-01-28T00:59:33.965622
2020-12-11T04:03:57
2020-12-11T04:03:57
294,991,591
0
0
null
null
null
null
UTF-8
Python
false
false
1,567
py
import argparse import numpy as np import matplotlib.pyplot as plt import matplotlib.patches as patches from LucasKanade import LucasKanade parser = argparse.ArgumentParser() parser.add_argument('--num_iters', type=int, default=1e4, help='number of iterations of Lucas-Kanade') parser.add_argument('--threshold', type=f...
[ "connor.caxd@gmail.com" ]
connor.caxd@gmail.com
3ceae33d561fab283591b7d340d0bdd984b6139d
f3b691c032bafa8f1df43fcfea2d35ca2cf3de64
/static_reader/scripts/generate_canned_data.py
74aa14b748ac4a652f425679ab3df7de0c5a3577
[ "Apache-2.0" ]
permissive
qiwihui/readerisdead
b163c0d544c5cbbacba1294be50757df444ee382
0e35cf26e88f27e0a07432182757c1ce230f6936
refs/heads/master
2021-01-15T10:20:48.243536
2018-07-01T00:09:44
2018-07-01T00:09:44
66,332,546
0
0
null
2016-08-23T04:16:22
2016-08-23T04:16:21
null
UTF-8
Python
false
false
4,010
py
import feedparser import json import os.path import time import uuid import xml.sax.saxutils def crawl_feed_url(feed_url): print " Crawling %s..." % (feed_url) stream_id = "feed/%s" % feed_url feed = feedparser.parse(feed_url) crawl_time_sec = time.time() crawl_time_msec = time.time() * 1000 ...
[ "mihai@persistent.info" ]
mihai@persistent.info
e14e3132d18bf92b6fbd9baa8184bd14460d3572
f23708e78a3d7a268b35015230f1aa2e6958f16f
/Data/Models/6/train.py
5b0bbc311ac4b1f54441128a0a642cc4b634fc1b
[]
no_license
destinyson7/Dependency-Parser-Marathi
785be8cce7003b02d3da475eef1ff6d5e9b2aea3
3deac41d25c9a895ae5b903c765730b6e561a399
refs/heads/master
2022-06-18T08:45:13.460664
2020-05-07T13:52:40
2020-05-07T13:52:40
256,130,158
1
0
null
null
null
null
UTF-8
Python
false
false
3,302
py
import pickle import sys from itertools import repeat from scipy.sparse import csr_matrix from sklearn.svm import LinearSVC from sklearn.linear_model import LogisticRegression import numpy as np with open('../../words', 'rb') as fp: words = pickle.load(fp) # with open('../../pos_tags', 'rb') as fp: # pos_tags...
[ "tanish.lad@research.iiit.ac.in" ]
tanish.lad@research.iiit.ac.in
5b4011742a367c17c7a4ced35f7feae7412c357b
3507e5dcb7dea780d9d3a30601524ced6c8a21d1
/DRT/urls.py
caef5ce17172f5b789d8cb5c60d9c8ebdb8ca087
[]
no_license
Pbasnal/SmartBus
2e4660cb6bda8e6115c3a90a9e0ad630cf8cdcc3
ce90a1d64cba4799f76efc9abb2435db526aad29
refs/heads/master
2021-01-22T17:17:49.962865
2015-02-12T06:18:04
2015-02-12T06:18:04
30,032,610
2
0
null
null
null
null
UTF-8
Python
false
false
389
py
__author__ = 'basnal' from django.conf.urls import patterns, include, url from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Examples: url(r'^$', 'DRT.views.showMap'), # url(r'^blog/', include('blog.urls')), url(r'^map/', 'DRT.views.showMap'), url(r'^setpath/$', 'D...
[ "pankajbasnal17@gmail.com" ]
pankajbasnal17@gmail.com
11c2b3f77fed5f5d541620aaa9c48d9be7d924c9
21ca0d7d66cf373a6efc532bf1b05bb9173b802f
/dml/parameter_node.py
c2b28b1bc504d4a31a6bf2cb99f2cff47e603c6d
[]
no_license
liu-ca/DML_Network
727f689473c71d4da86f930732ec71488beff9ff
dc59c9fb47bc793998eca28d63796579aae195f1
refs/heads/master
2021-10-25T04:28:37.862379
2019-03-27T08:31:32
2019-03-27T08:31:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,843
py
import queue import threading from dml import dml_base_thread as dbt from dml import server_node as sn module = __import__("dml.dml_base_thread") class ParameterServer: calc_loss_thread: dbt.CalcAverageLoss def __init__(self, ip_set, num): """ :type ip_set: dict """ self.ip...
[ "474387803@qq.com" ]
474387803@qq.com
eee2779135d6a92b3cc047ecbea67cad42f0656d
082530d4140c040c608c0a537bf77a09ed0d5c5f
/Entertainment/models.py
c64e4a32c5601056a371ffb925d6d5a29271c42b
[]
no_license
nandha712019/Entertainment
f4a6c72a4a9723be5638903ea73d7b6719386436
9e5dc8d63505e4e1b0081eef10c78c0b5fdf2be3
refs/heads/master
2023-06-06T21:49:05.623411
2021-07-13T05:00:28
2021-07-13T05:00:28
385,474,215
0
0
null
null
null
null
UTF-8
Python
false
false
1,011
py
import uuid from datetime import datetime from django.contrib.auth.models import User from django.db import models class Media(models.Model): """Database table for Media details!!!""" Media_id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) Media_link = models.FileField(upload_to=...
[ "nandha712019" ]
nandha712019
4943e2a33bb554208d68eb6a684117fda0462433
44c372cd25a2496979fa29a1dc9131c54487d945
/data/zh50w/zh50w_process.py
0c551f731118ff55f6d1cef12a2e33090afd341d
[ "MIT" ]
permissive
zhongerqiandan/OpenDialog
4ff4e65d0ade1efdd3029475634ae1cf38c7bdd3
f478b2a912c8c742da5ced510ac40da59217ddb3
refs/heads/master
2023-01-22T09:07:54.385604
2020-12-04T02:00:17
2020-12-04T02:00:17
318,419,052
0
1
MIT
2020-12-04T05:58:37
2020-12-04T05:58:37
null
UTF-8
Python
false
false
5,482
py
import csv import random from tqdm import tqdm import ipdb import sys import pickle sys.path.append('..') from utils import read_stop_words from collections import Counter from gensim.summarization import bm25 from elasticsearch import Elasticsearch ''' TODO 1. adding the reesponses into elasticsearch for q-r match ''...
[ "18811371908@163.com" ]
18811371908@163.com
d6cec8b6abf23f1fc332ef785d46d6d40a480c9f
2e24f9a4378fab6de582421e0af3795fa0d8d5f5
/models/model_c16_c32_c32_spp_r1024_atpl.py
90fb80657a7bcbbbe08a3668164e84f08a906b3e
[]
no_license
ms-martin/ms-fiit-bc-cd
38759fdbab5d7261722aa5b8c64a872085fd91ec
3452d7b9744636ed0c73db9cf703447fdacf7551
refs/heads/master
2020-03-13T21:15:47.457258
2018-06-07T17:08:03
2018-06-07T17:08:03
131,292,372
0
0
null
null
null
null
UTF-8
Python
false
false
6,605
py
import tensorflow as tf import numpy as np class Siamese: def __init__(self, training, batch_size, seq_len): self.batch_size = batch_size self.seq_len = seq_len self.hidden_size = 1024 self.input1 = tf.placeholder(tf.float32, [None, 24576]) self.input2 = tf.placeholder(tf....
[ "martin.stano@icloud.com" ]
martin.stano@icloud.com
4157e5f98516854aa513cf5633fc4ea29b69a95f
0993e97f6e34cbbda1f03b4c120499e41918100a
/paranuara_challenge/paranuara/models.py
b507e308b3f9a21cb5e9e21099af7d9950f290a5
[]
no_license
sam-mi/paranuara
41407a7441eb8b86c2e346330a038b74fad7931d
cb0aa92237e93c1af6c2067c4424dd5773e652a8
refs/heads/master
2023-01-11T08:46:55.103912
2019-08-08T00:11:02
2019-08-08T00:11:02
199,132,158
0
0
null
2022-12-26T20:39:22
2019-07-27T07:29:38
Python
UTF-8
Python
false
false
3,950
py
import uuid from django.contrib.postgres.fields import JSONField from django.db import models from django.db.models import QuerySet from django.utils import timezone from model_utils import Choices from model_utils.models import TimeStampedModel from taggit.managers import TaggableManager from paranuara_challenge.par...
[ "sam@purecreative.digital" ]
sam@purecreative.digital
d790cc0847a145a66de4e78a92d0394208a82ad9
a19179d51e494b1fed9eed94e72a2d01b67fcb44
/xylophone/project/rooms/room1.py
78b64d325b104a1e054346b7b3d3b268afae1f3a
[ "MIT" ]
permissive
Turysaz/xylophone
d4752b926f80fab5350e1e6eb36376f640df6b10
da44b8127aa6b89d6cdb3bdb564c386520b37e22
refs/heads/master
2021-09-11T16:41:31.632019
2018-04-09T20:46:00
2018-04-09T20:46:00
124,000,417
0
0
null
null
null
null
UTF-8
Python
false
false
86
py
def pre_step(self): print("TestPRE") def post_step(self): print("TestPOST")
[ "turysaz@posteo.org" ]
turysaz@posteo.org
df6ef7c6944817a25ccbfd8559fcf9785e64e3cc
974c5a4f101d0e6f4dfa5fc2f7c641c9d2bd8184
/sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2021_07_01/operations/_managed_clusters_operations.py
bdbec1f83cfe156583cef0b5a15d8fa90b4f386b
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
gaoyp830/azure-sdk-for-python
4816f04c554dcffb7510a6b7044b0c86a2dd32e1
1c66defa502b754abcc9e5afa444ca03c609342f
refs/heads/master
2022-10-20T21:33:44.281041
2022-09-29T17:03:13
2022-09-29T17:03:13
250,355,505
0
0
MIT
2020-03-26T19:42:13
2020-03-26T19:42:12
null
UTF-8
Python
false
false
144,531
py
# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # Code generated by Microsoft (R) AutoRe...
[ "noreply@github.com" ]
noreply@github.com
40bd32d463382e2855ae9a229d4491ed9f19b3f7
e2379f0cf35337ad9af40d32dd2f43f19cebb90e
/pymock/mock_object.py
e65e9066bddf2f7972c46f833814dde04d7b1fd8
[ "MIT" ]
permissive
diddi-/pymock
6548a81274a7b9c870cba80f712183e8f6e625ed
53acd56a0e239bdc521e02a12bab81c4ec65115c
refs/heads/master
2023-02-05T02:39:36.357882
2020-12-20T13:12:13
2020-12-20T13:12:13
322,200,881
2
0
null
null
null
null
UTF-8
Python
false
false
1,430
py
from typing import Optional from pymock.action.call_action import CallAction from pymock.argsmap import ArgsMap class MockObject: def __init__(self): self.__PyMock__internal__attributes = {} self.__PyMock__internal__calls = ArgsMap() self.__PyMock__internal__value: Optional[CallAction] = ...
[ "diddi@diddi.se" ]
diddi@diddi.se
471617c5f53e57e2db18ac38d5151c4806dfe08d
17c169be4ba5fe852ad20336b454f20074f5c6b0
/COEN317MapRMaster/SaveServerIP.py
8f1a5eee73213fc48ad3cd299f5ee5108a1660ed
[]
no_license
NishantVP/COEN317MapRMaster
ffd8f0f3cc89716b7c713a66e8af503ecde54b30
6f678f1e770eaf5773d4b74146cf923390027812
refs/heads/master
2021-01-10T16:00:47.812288
2016-03-12T07:23:32
2016-03-12T07:23:32
53,564,509
0
1
null
null
null
null
UTF-8
Python
false
false
749
py
import json,httplib import sys #n=len(sys.argv) #for i in range(len(sys.argv)): # if i>0: # print sys.argv[i] def str2bool(v): return v.lower() in ("True") connection = httplib.HTTPSConnection('api.parse.com', 443) connection.connect() connection.request('POST', '/1/classes/ServerIP', json.dumps...
[ "nishant1914@gmail.com" ]
nishant1914@gmail.com