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
8679364a43e61b2d99d04acba5b49a59559584f4
60e4ce6fd4089e481dc130f0f0e7e95ae3de2e71
/知识图谱11 数据大清洗1.1.py
7c10902ddad998c6ae693eb6d3b40c615c47ae19
[]
no_license
hhxx2015/KnowledgeGraph1.1
fd6aa1c176eb827fcdfb872b4473cf2c6c6cb308
a2077762e4d12d5724600dfa8680e98f7dc560c4
refs/heads/main
2023-02-03T17:01:06.351425
2020-12-28T08:59:15
2020-12-28T08:59:15
null
0
0
null
null
null
null
UTF-8
Python
false
false
563
py
with open('./data/zstp11_sjdqx_ALL_LABLE.csv', 'w', encoding='utf-8') as ff: ff.close() with open('./data/zstp11_sjdqx_ALL_LABLE.csv', 'a+', encoding='utf-8') as ff: with open('./data/zstp10_gxcz1d2_ALL_LABLE.csv', 'r', encoding='utf-8') as f: count=0 for line in f: count+=1 ...
[ "noreply@github.com" ]
hhxx2015.noreply@github.com
e2fa124d83cd3c760b0eff2d53eef09fec49c3aa
7e266469a84e06e3551a7ba0dca25e894f2f3111
/Bloomy_Core_CreateQualityInspection_TestCase/test_createqualityinspection_testcase.py
7f7b7aeeb1520353cfd2c98e5bd56a96ac51aa33
[]
no_license
Bloomstack-Test-Automation/Bloomstack-Test-Automation
43862b6761951effee5f17d7428f5be0c34b4499
2450df2018715cf6f0ec080ca1dc0751a230d969
refs/heads/main
2023-06-06T10:52:57.695175
2021-06-30T11:33:30
2021-06-30T11:33:30
368,438,826
0
0
null
null
null
null
UTF-8
Python
false
false
6,647
py
import time from selenium.webdriver.common.by import By from selenium.webdriver.support.select import Select from src.testproject.classes import DriverStepSettings, StepSettings from src.testproject.decorator import report_assertion_errors from src.testproject.enums import SleepTimingType from src.testproject.sdk.driv...
[ "noreply@github.com" ]
Bloomstack-Test-Automation.noreply@github.com
fdec849742b2c5fc11f45cd91469855165bf18e9
c6b1d783937d5b77ac25de55f3e8a17b503fbada
/sheet-3/LTH/exercise-12.py
7d7ca5f814d4540b8140e30fa87d44e9d76d2ac7
[]
no_license
thierschi/python-exercise
5a136c990d1a7ec269511b997a98bd245a26aeba
975cfbc9a48eb985ffd584e30cc95273e456af6a
refs/heads/main
2023-06-26T02:18:42.348957
2021-07-20T13:47:31
2021-07-20T13:47:31
358,187,095
2
0
null
null
null
null
UTF-8
Python
false
false
1,541
py
# ------------------------------------------------------------------------------ # Sheet 3 Exercise 12 # Niklas Markert - 1611460 / bt70985 # Lukas Thiersch - 1607110 / bt708626 # ------------------------------------------------------------------------------ # a) What happens to variables in a local scope ...
[ "lukas.thiersch@lansco.de" ]
lukas.thiersch@lansco.de
b495e97bd11ddc3e52cae162040ef09ee78e3920
cc9b87da7d710fc0c873e9a968b1b578a460c3d1
/Practical 6/prac6_bubble_sort.py
fc2094f2dcebc248a73ca0215b0ce6f83400f907
[]
no_license
nikmalviya/Python
480434edce8480ac826ca72dc03b7a3017048861
a03f1d325ebe62282de91bc3eee57f84db9965b3
refs/heads/master
2020-04-25T05:34:53.726313
2019-03-26T15:27:10
2019-03-26T15:27:10
172,548,116
0
0
null
null
null
null
UTF-8
Python
false
false
338
py
import random as r nums = [r.randint(1, 50) for x in range(10)] print('list : ', nums) def bubble_sort(nums): for i in range(len(nums)): for j in range(len(nums) - i - 1): if nums[j] > nums[j+1]: nums[j], nums[j+1] = nums[j+1], nums[j] return nums print('list sorted : ', ...
[ "nikhilmalviya1662000@gmail.com" ]
nikhilmalviya1662000@gmail.com
d2313b4137772c00967dfbbe494417a8b971574d
0379bae8cff218a039d79104c38cd1ad2b506919
/vision/tests/unit/test_artworks.py
a7ccbafaf3bd3a73289faaea734d71912bb3628a
[]
no_license
ottozrq/Louvre
0128673e05cdabbd1acc5499605a31232b110682
170d3421c821694c31b6fee49c99e97fe76f728e
refs/heads/master
2022-07-14T04:21:42.390515
2022-07-03T19:50:38
2022-07-03T19:50:38
167,688,883
0
0
null
null
null
null
UTF-8
Python
false
false
2,831
py
from tests import ApiClient, m, status def test_get_artworks_artwork_id(cl: ApiClient, artwork_1): assert m.Artwork.from_db(artwork_1) == m.Artwork.from_response( cl(f"/artworks/{artwork_1.artwork_id}") ) def test_get_artworks(cl: ApiClient, landmark_1, artwork_1): assert m.ArtworkCollection.fro...
[ "zhang_r@epita.fr" ]
zhang_r@epita.fr
05646c325d4d03bded9609b2dd0420a49fcb62fa
1a806c868d43fc87999a89e892b9a446b433c58f
/assignment/material/migrations/0013_auto_20201203_1126.py
e4321548bb7f2cd1a8b8e26200eb04f917dca58a
[]
no_license
MalsawmaKhiangte/material_management
ec0281eb0da4a8067e37d4823577d8b0b273acfa
dc31a7eb53b139db533effa379b7210ab58b30ae
refs/heads/main
2023-01-25T02:23:56.912193
2020-12-06T18:18:09
2020-12-06T18:18:09
318,254,014
0
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 3.1.3 on 2020-12-03 05:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('material', '0012_auto_20201203_1126'), ] operations = [ migrations.AlterField( model_name='district', name='email', ...
[ "mskhiangte00@gmail.com" ]
mskhiangte00@gmail.com
825ee6d09c56019645eeafe4b5e563ef3a057a23
251c7aa5b09cd3c260acb6eb37332755358e34f8
/Python_DataAnalysis/02reading_writing.py
adf1af8a0f7f472228b4d489c2259f00b4419a9a
[]
no_license
izaromanowska/ABM_tutorials
3efc82eb2f483d761f09d3ec6d06843098ff29dd
f0d8b0425345d31fc454f953588d0e5ffca6f361
refs/heads/master
2021-01-19T00:26:18.266606
2017-10-12T10:42:31
2017-10-12T10:42:31
87,171,411
4
0
null
null
null
null
UTF-8
Python
false
false
718
py
# -*- coding: utf-8 -*- """ Created on Wed May 13 18:41:21 2015 @author: user """ # import libraries import pandas as pd import matplotlib.pyplot as plt #__________ READ A FILE __________ Acheul_Afr = pd.read_csv("Acheulean.csv", header = 0) # read in the file print Acheul_Afr.head() ...
[ "izaromanowska@gmail.com" ]
izaromanowska@gmail.com
8f6d37f5508564a602db569ef8a1464aa1e84a87
53c983bbae20ec053ac6edfacbdf8f85b304911b
/tfomics/model_custom.py
eb243b858ee904170acc8ffac5de6836d65adb24
[ "MIT" ]
permissive
p-koo/tfomics
4efcad5c94c77a2522e004d9eb169aead893118a
3db5e7ae7fd379b3c1a26f693504e28d4e3dceb0
refs/heads/master
2022-06-17T09:57:29.843982
2021-12-05T03:48:43
2021-12-05T03:48:43
269,372,383
4
7
MIT
2022-05-10T21:23:36
2020-06-04T13:50:15
Python
UTF-8
Python
false
false
2,382
py
from tensorflow import keras import tensorflow as tf import numpy as np class CustomModel(keras.Model): """ Example of a custom model in keras """ def train_step(self, data): # Unpack the data. Its structure depends on your model and # on what you pass to `fit()`. if len(data) == 3: ...
[ "koolaboratory.gmail.com" ]
koolaboratory.gmail.com
8365695a37b1717abeeb9271dabd58743f2349c9
414393a5048e5212223051d6a5541ecb873bcc53
/cifar100_Resnet/main_half_clean_B3_20180911.py
147079ab5dc22ce22a180aaa401fa66475b53c22
[]
no_license
byh1321/CIFAR100_Distorted_Channel_Selective
5a0fc1107ab9d60ce12504a8e474144762eda8df
897f2dea4e645329dfc3bf3df6b147c783bfa83f
refs/heads/master
2020-03-21T02:31:24.024771
2019-08-12T05:59:53
2019-08-12T05:59:53
138,002,631
0
0
null
2019-08-02T02:26:49
2018-06-20T08:26:51
Python
UTF-8
Python
false
false
34,201
py
""" some parts of code are extracted from "https://github.com/kuangliu/pytorch-cifar" I modified some parts for our experiment """ from __future__ import print_function import numpy as np import torch import torch.nn as nn import torch.optim as optim import torchvision.datasets as dset import torch.backends.cudnn as...
[ "byh1321@naver.com" ]
byh1321@naver.com
b02cacc52666b9eb02ec53c25a36fbf0ce87c48c
2b86c931e2a85b285897f5ef6b120ea3dbfe79e7
/core/settings.py
fff98839188d485665ccaa568ec075a8ffe8b912
[]
no_license
mobinkazak/django-blog
bae4ed47045e3a304e4507ef9da972c562ddaf8b
bf1d15a30a51cccb03a7ff18124658306f1efff6
refs/heads/main
2023-06-22T18:30:17.018487
2021-07-25T06:10:51
2021-07-25T06:10:51
430,067,686
1
0
null
2021-11-20T10:05:51
2021-11-20T10:05:51
null
UTF-8
Python
false
false
3,505
py
""" Django settings for core project. Generated by 'django-admin startproject' using Django 3.2.5. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib im...
[ "kzmasut@gmail.com" ]
kzmasut@gmail.com
b039e6acf62b07e17f702ba4b667476922ffc9f5
ea003fc657c1da911d3389bd627459f7460335f7
/wagtail_env/lib/python3.5/site-packages/wagtail/core/middleware.py
3c0181223bd3631ccbcbd22bd2e602db25bc6ad0
[]
no_license
saikrishnasri/wagtail_project
db839c393ab48001947bd437bd2d7606cd6ed7c0
f749813943871bd57951636259d451464be581be
refs/heads/main
2023-02-26T23:59:23.063936
2021-02-03T12:14:29
2021-02-03T12:14:29
335,604,456
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
import warnings from django.utils.deprecation import MiddlewareMixin from wagtail.core.models import Site from wagtail.utils.deprecation import RemovedInWagtail211Warning warnings.warn( 'wagtail.core.middleware.SiteMiddleware and the use of request.site is deprecated. ' 'Please update your code to use Site.f...
[ "saikrishnakerla@gmail.com" ]
saikrishnakerla@gmail.com
41adb72dc70a7653c92e9b5e7b57f5a021b21354
4129c8f94e113ea9bb18986a1fabefe7b08d5022
/biggerDataHeatmiser.py
911a228d97c08c59461c008fd0b4b1e4fe27b415
[]
no_license
NylaWorker/AI_assignmentOne
f225d49d18d934dbddc271899e2bd7ed32ef2690
3bbba4e500f0a54a7cc84d691d09315952ef9606
refs/heads/master
2021-05-11T08:15:42.264189
2018-01-19T05:32:35
2018-01-19T05:32:35
118,046,993
0
0
null
null
null
null
UTF-8
Python
false
false
7,728
py
import numpy as np import math import decimal import csv ''' Generating initial conditions of the 12 rooms. ''' maxTem = 75. minTem = 65. maxHum = 55. minHum = 45. temps = np.random.uniform(low=minTem, high=maxTem, size=(12,))[np.newaxis] humidity = np.random.uniform(low=minHum, high=maxHum, size=(12,))[np.newaxis] r...
[ "nyla.worker@gmail.com" ]
nyla.worker@gmail.com
4b96a0e33cc538fef822e3e29414a224c8b0e26e
86048feeeb4f741061637e69ab1a6bc59fffa553
/methcomp/regression.py
2c16f0b2c6e1143bec2832bbea3589f24759185f
[ "MIT" ]
permissive
FloEll/methcomp
258f65a2d84335b16e757a43936c3f7d81b0d191
920c51b2f799cd6041c7013ad7ed6c2444cbff3f
refs/heads/master
2020-09-29T16:26:55.800583
2019-12-09T19:54:42
2019-12-09T19:54:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
14,820
py
import matplotlib.pyplot as plt import pandas as pd import scipy.stats as st import math import numpy as np from collections import Iterable __all__ = ["deming", "passingbablok"] class _Deming(object): """Internal class for drawing a Deming regression plot""" def __init__(self, method1, method2, ...
[ "wptmdoorn@gmail.com" ]
wptmdoorn@gmail.com
5feb48a56df0215523400f5f2217468fc2545777
2a610b820d7964601fcf5e3228ad7b31dd2fe98d
/Reddit_Files_Scrapper copy.py
9cb0dcc14429a0215bb700489c43fda9d7def3a2
[]
no_license
adnanhaider/RedditScrapper
f7e075d5ff0f52103a5f8f45f8140bee495f7922
334a63a09da150e039b25901824a6c1673c51784
refs/heads/master
2023-03-14T02:27:10.940190
2021-03-13T08:39:25
2021-03-13T08:39:25
338,262,033
0
0
null
null
null
null
UTF-8
Python
false
false
13,015
py
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.chrome.options import Options from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from selenium.common.exceptions import ElementNotVisibleException from...
[ "adnanhaider530@gmail.com" ]
adnanhaider530@gmail.com
861619f37d3f45ca55feb13d85f1c0ec4990fcef
52a3beeb07ad326115084a47a9e698efbaec054b
/horizon/.venv/bin/pyscss
80baac9d659e74f232c739e2139c1b9408819faa
[ "Apache-2.0" ]
permissive
bopopescu/sample_scripts
3dade0710ecdc8f9251dc60164747830f8de6877
f9edce63c0a4d636f672702153662bd77bfd400d
refs/heads/master
2022-11-17T19:19:34.210886
2018-06-11T04:14:27
2018-06-11T04:14:27
282,088,840
0
0
null
2020-07-24T00:57:31
2020-07-24T00:57:31
null
UTF-8
Python
false
false
319
#!/home/horizon/horizon/.venv/bin/python # EASY-INSTALL-ENTRY-SCRIPT: 'pyScss==1.3.5','console_scripts','pyscss' __requires__ = 'pyScss==1.3.5' import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.exit( load_entry_point('pyScss==1.3.5', 'console_scripts', 'pyscss')() )
[ "Suhaib.Chishti@exponential.com" ]
Suhaib.Chishti@exponential.com
721c16210b081c6ce406706a8bf7b814db33d02e
5a52ccea88f90dd4f1acc2819997fce0dd5ffb7d
/alipay/aop/api/domain/AlipayDataAiserviceHellobikeSiteQueryModel.py
dc06ebbcb58713b563f9fd0994a388c9ab3da002
[ "Apache-2.0" ]
permissive
alipay/alipay-sdk-python-all
8bd20882852ffeb70a6e929038bf88ff1d1eff1c
1fad300587c9e7e099747305ba9077d4cd7afde9
refs/heads/master
2023-08-27T21:35:01.778771
2023-08-23T07:12:26
2023-08-23T07:12:26
133,338,689
247
70
Apache-2.0
2023-04-25T04:54:02
2018-05-14T09:40:54
Python
UTF-8
Python
false
false
896
py
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class AlipayDataAiserviceHellobikeSiteQueryModel(object): def __init__(self): self._plan_id = None @property def plan_id(self): return self._plan_id @plan_id.setter de...
[ "jiandong.jd@antfin.com" ]
jiandong.jd@antfin.com
99599038e3f80650a765e87ef0ff275f2dcf95a0
21d89e598ceae51ff889f3788c728b25cdbc9dbc
/critical_critiques/critical_critiques/views.py
0f1633895ac0c2e01b1c57e268f1891ebcf1a1c6
[ "MIT" ]
permissive
team-stroller/critical_critiques
5723938f49dcfff07f6cfd914ae8202a4354b4d5
99f3b073abbfda3ad62ea01f72d39756a1e5b088
refs/heads/master
2016-08-08T03:20:21.607260
2013-05-11T17:00:08
2013-05-11T17:00:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
322
py
from django.contrib.auth import logout from django.views.generic.base import RedirectView from django.core.urlresolvers import reverse class LogoutView(RedirectView): url = "/" def get(self, request, *args, **kwargs): logout(request) return super(LogoutView, self).get(request, *args, **kwargs...
[ "mike@mike-burns.com" ]
mike@mike-burns.com
7578264ef7177ae35cfa708b9ce8fceb34121745
6065db223f746b5c65ad33945e88d2105526d30d
/Leetcode/85-Maximal-Rectangle/solution.py
0d5cf2eac4dc57a085c4ab57450d479f9d58768e
[]
no_license
chocoluffy/leetcode-cpp
ce245a18c24ec5818e0b493c0360f0f6c73f991f
7f7e8325500b335ffc35c41b3d41b01472cce7cb
refs/heads/master
2020-03-16T06:11:15.057166
2018-12-05T15:24:08
2018-12-05T15:24:08
132,548,814
2
1
null
null
null
null
UTF-8
Python
false
false
3,459
py
""" - Construct a matrix by a bottom-up fashion, each entry record (m, n), meaning the consecutive 1s in two directions as bottom and right. Such as at position (i, j), there are m consecutive 1s from current position towards the bottom, and n such consecutive 1s towards the right. - then one more pass to find ...
[ "yushunzhe951104@gmail.com" ]
yushunzhe951104@gmail.com
6741190d20ae7a5afdcc23341c8f9c53faa6d1a6
8ca474cb495707701d3b76f6bd8c164d4bcd969e
/tests/js/test_expressions.py
a2e5d483b0df7747fcc83b26e6942dee514be598
[]
permissive
Mozilla-GitHub-Standards/5efbfd0162bc80fa9a50bce7e607072e3a3149a22eeab6689e7c79585548f2a0
e305a96e0ac8eeec950bbc2ec4850a82a10c1281
beb65754cc2cfa757cc3330dbdd8ea9223eca268
refs/heads/master
2020-05-02T18:15:30.620444
2019-03-28T04:06:04
2019-03-28T04:06:04
178,124,027
0
0
BSD-3-Clause
2019-03-28T04:06:06
2019-03-28T04:06:03
Python
UTF-8
Python
false
false
3,128
py
from nose.tools import eq_ from js_helper import TestCase class TestBinaryOperators(TestCase): """Test that all of the binary operators in JS work as expected.""" def do_expr(self, expr, output): self.setUp() self.run_script("var x = %s" % expr) self.assert_var_eq("x", output) d...
[ "me@mattbasta.com" ]
me@mattbasta.com
dfc012c6ff96ced457c4637729049e7122b56867
b186998016df23c04a2104537f16adad6b76bce2
/turtle dot using loop.py
19721c21c769c439c4fde7781fb67ff47ada6319
[]
no_license
SoyabulIslamLincoln/Home-Practice
13f7fbc7e2320477876f44231efd8640b7e9e031
09183ce5a5a0808c14b2eba273ccf5799c37316d
refs/heads/master
2022-12-12T09:31:24.699697
2020-09-03T15:59:18
2020-09-03T15:59:18
292,612,442
0
0
null
null
null
null
UTF-8
Python
false
false
534
py
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import turtle >>> turtle.shape("turtle") >>> turtle.speed(1) >>> for i in range(20): turtle.forward(10) turtle.penup() turtle.forward(2) turtle.p...
[ "noreply@github.com" ]
SoyabulIslamLincoln.noreply@github.com
d574e853ce03ff5093d2f5b1f586476ab7c17043
17c897fa76df9fb5d8106649327d68f54ed7ef40
/Python/Flask/python_stack/flask_fundamentals/flask_mysql/server.py
c948051547e0f0bd9f20daeb024b21813ff2b4bf
[]
no_license
gitRobV/DojoAssignments
5c23b75b2d8d57c92b4eccb04395091d1cf3127a
472d13c0461847973abc57cac345047811066157
refs/heads/master
2021-01-21T20:11:56.534898
2017-06-19T04:48:54
2017-06-19T04:48:54
92,205,684
0
0
null
null
null
null
UTF-8
Python
false
false
1,696
py
from flask import Flask, render_template, request, redirect, session, flash from mysqlconnection import MySQLConnector import re from validation import Validation app = Flask(__name__) app.secret_key = 'This is some secure issh' mysql = MySQLConnector(app, 'registration') @app.route('/') def index(): query = "SEL...
[ "robertv1979@gmail.com" ]
robertv1979@gmail.com
a07c34f83feb8c45f87b09c7e1834de971aaafb7
65306b41168a5afa6fc80904cc0fbf737939a01a
/scale/recipe/seed/recipe_connection.py
6c80d4edab2353b587342b6305fb77cb63e50ceb
[ "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
kfconsultant/scale
9e5df45cd36211d1bc5e946cf499a4584a2d71de
28618aee07ceed9e4a6eb7b8d0e6f05b31d8fd6b
refs/heads/master
2020-12-07T00:04:37.737556
2020-01-06T12:57:03
2020-01-06T12:57:03
232,587,229
0
0
Apache-2.0
2020-01-08T14:53:36
2020-01-08T14:53:35
null
UTF-8
Python
false
false
10,510
py
"""Defines connections that will provide data to execute recipes""" from __future__ import unicode_literals from recipe.configuration.data.exceptions import InvalidRecipeConnection from recipe.configuration.data.recipe_data import ValidationWarning from storage.media_type import UNKNOWN_MEDIA_TYPE class RecipeConnec...
[ "jon@gisjedi.com" ]
jon@gisjedi.com
6a19fed144487fa7d519f1231fecc8f5b63bc650
830bcc71b7924094644f36a1e3f670086a8ea109
/deep_cluster/triplets/triplets_gui.py
7295591f07163a9076a557d3c766497efc442060
[]
no_license
ysterin/deep_cluster
550ec9b6a4266603cf275e5094b2d435426b0359
e1d5f8d01332d3bcb9c7de75340a68e06e14e88e
refs/heads/master
2023-06-13T08:48:25.566379
2021-07-11T17:53:15
2021-07-11T17:53:15
294,084,774
0
0
null
2020-12-22T17:47:53
2020-09-09T10:54:11
Jupyter Notebook
UTF-8
Python
false
false
17,920
py
import sys # sys.path.append('..') import os import numpy as np import cv2 as cv from scipy import signal as sig from collections import defaultdict from pathlib import Path from contextlib import contextmanager from deep_cluster.dataloader import LandmarkDataset, SequenceDataset from matplotlib import pyplot as plt fr...
[ "shukistern@gmail.com" ]
shukistern@gmail.com
77858201d3e474368bf11eb53a147fa09d12a3b1
cc4269b6b2c7ca8a9869a36452237d22ae251754
/backend/app/api/routes/root.py
a8dafb1437439f1968fd823ab8f07f72f777cfad
[]
no_license
AKCEJIEPATOP/peak_flow_meter
f6ef7ac559d6941d2e8b375ca3e2288ac2b18769
ad4aedd61ddcc5027d052437ed3a7ec28670f9d7
refs/heads/master
2023-01-19T14:54:12.063563
2020-12-02T23:48:02
2020-12-02T23:48:02
297,611,999
0
0
null
2020-12-01T06:09:33
2020-09-22T10:17:40
JavaScript
UTF-8
Python
false
false
210
py
from fastapi import APIRouter from . import user router = APIRouter() router.include_router(user.router, prefix='/user', tags=['User']) @router.get('/ping') async def ping(): return 'pong'
[ "zhek26rus@google.com" ]
zhek26rus@google.com
ef3871e6e0bd3f1773995a76bbdcc659792a2f07
440f84cb332dc4a9970143a8eac45cfb34dbcc62
/Semana6_pythonF/ej6.py
dc0dd63f6b19d2380a93eb4b9cef793d6074ff73
[]
no_license
INS125/Laboratorio
1c73dc1df50739ad3c8293bbaec30d8210d37dd7
4dc2d967a28032e07a4f05e67f1089cdc6cfce38
refs/heads/main
2021-07-14T07:59:00.647876
2021-06-26T22:33:25
2021-06-26T22:33:25
356,095,644
12
16
null
null
null
null
UTF-8
Python
false
false
937
py
from functools import reduce lista = [10, 20, 30, 40 , 50, 60] reduccion = reduce(lambda x,y: x+y, filter(lambda x: x!= 10, lista)) print(reduccion) red_mult = reduce(lambda x,y: x*y, lista) print(red_mult) lista_de_listas = [ [1,2], [3,4], [5,6], [7,8,9] ] #[ [1,2], [3,4], [5,6], [7,8,9] ] #[ [1,2,3,4], [5,6], [...
[ "nhormazabal@geovictoria.com" ]
nhormazabal@geovictoria.com
90a81f052f088c36ebd6b1e883906c583d2493e2
96b55c342ca2269270d7f6623c050fac10651aa7
/valid-palindrome.py
3267eaad299a06784671bc60cecebf642d768614
[]
no_license
nancy-cai/Data-Structure-and-Algorithm-in-Python
bbb5e54b9c8fc23669b8e4df9daeb1ee0480ff39
84258f5d848d1d9aed5a0ea98af0a06b70b716f4
refs/heads/master
2022-07-19T04:04:27.861406
2022-06-24T06:49:02
2022-06-24T06:49:02
199,798,353
0
0
null
null
null
null
UTF-8
Python
false
false
927
py
# https://leetcode.com/problems/valid-palindrome/ # def isPalindrome(s): # trimmedS = ''.join(c for c in s if c.isalnum()).lower() # reversedString = "" # for i in range(len(trimmedS),0,-1): # reversedString += trimmedS[i-1] # print(reversedString) # print (trimmedS) # if trimmedS == reversedString: #...
[ "noreply@github.com" ]
nancy-cai.noreply@github.com
029601d73023044b3cbf50c8f580bd1ea21d97fb
37e49d0866f2a3668333e438f89d91c5de181f3b
/singlepage2/singlepage2/urls.py
1648b5a218ce4d5e55d0a83d6f4d2db94aa70a92
[]
no_license
pireats-abhi/user-interface-js-django
f6146f128bdb522db4f2b08356b29d5736ffb173
56128bea7b1128974401c1ff190f89438dd9e077
refs/heads/master
2022-12-23T20:22:53.796265
2020-10-02T07:11:48
2020-10-02T07:11:48
300,529,897
0
0
null
null
null
null
UTF-8
Python
false
false
803
py
"""singlepage2 URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-b...
[ "pireats.abhi@gmail.com" ]
pireats.abhi@gmail.com
efe09aef39889d38f44489e3f2c1b0308a60216d
39c7c59020e823b3cff15537a8e336d4bcd8d801
/getSolidotContentByDate.py
d45905d1b5d92bf11b9e965540d62e9026cbb830
[]
no_license
glodsky/curlSolidotNewByDate
7638a24797a96600432fc5fd683bf664ef031255
423c7cb1a7fdfe186bd6c574c0e7b7af945b6a64
refs/heads/master
2020-04-08T18:53:37.052279
2018-12-04T04:35:00
2018-12-04T04:35:00
159,629,447
0
0
null
null
null
null
UTF-8
Python
false
false
4,493
py
# -*- coding: utf-8 -*- # python version : 3.6 import urllib.request import pandas as pd import os import json import datetime import random from lxml import etree Proxies_POOLs =[] def init_proxiesPOOLs(): #初始化IP代理池 global Proxies_POOLs with open('./prxies_pools.csv','r') as f: contents = f.readlin...
[ "noreply@github.com" ]
glodsky.noreply@github.com
1816bfc1c36708cf3b437c0c359eb6f79ae3e8ae
4b27375eac64d804255cbaadecb109361472f902
/nets.py
2a3a7b4c84352592699bd8f4e478c0eaa479c2df
[]
no_license
QhelDIV/Two-Step-Disentanglement-Method
04b3e0c645c870ebef9068388a6544d8c0ef89f1
5f825ece867d45bb93612df59aa84b139456e1eb
refs/heads/master
2020-03-14T21:38:37.710811
2018-07-24T02:58:39
2018-07-24T02:58:39
131,801,402
6
0
null
null
null
null
UTF-8
Python
false
false
5,593
py
# some setup code import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from torch.nn import init from config import * import layers from params import * def Encoder(img_size, in_channel, conv_channel, filter_size, latent_dim, dense_size, bn): inner_conv_channel = conv_channe...
[ "qheldiv@gmail.com" ]
qheldiv@gmail.com
5b1b14b644ca7243cb161acdafa816e3aa462487
e4f828eb6cfb775d9e8cb792902680f45a94470e
/10 Days of Statistics/Day-7/Python/02_Spearman's Rank Correlation Coefficient.py
ac2c0fd99f3dc0324363e825205b1c9ab1d6406b
[]
no_license
j471n/Hacker-Rank
831a90412e86be1314a401143290fd6e843848be
0a56107d413c5f661db59a3d1c3f700460ccb618
refs/heads/master
2022-12-29T22:33:51.759452
2020-10-05T08:04:51
2020-10-05T08:04:51
285,738,337
1
1
null
null
null
null
UTF-8
Python
false
false
525
py
class SPCC: def spearmanscoeff(x, y, n): # calculating the range of x and y. rx = [sorted(x).index(_) + 1 for _ in x] ry = [sorted(y).index(_) + 1 for _ in y] # finding di^2 and coefficient. di = [(x - y) ** 2 for (x, y) in zip(rx, ry)] coeff = 1 - (6 * sum(di)) / ...
[ "noreply@github.com" ]
j471n.noreply@github.com
92aaa9f2c0851bde5ed7572fb8b8c62845c4c814
f0d713996eb095bcdc701f3fab0a8110b8541cbb
/R4D59C9CQbJvqWaKd_6.py
ed52bb6e52badf15ab27956a07eb2844ef6a368d
[]
no_license
daniel-reich/turbo-robot
feda6c0523bb83ab8954b6d06302bfec5b16ebdf
a7a25c63097674c0a81675eed7e6b763785f1c41
refs/heads/main
2023-03-26T01:55:14.210264
2021-03-23T16:08:01
2021-03-23T16:08:01
350,773,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,240
py
""" A baseball player's batting average is calculated by the following formula: BA = (number of hits) / (number of official at-bats) Batting averages are always expressed rounded to the nearest thousandth with no leading zero. The top 3 MLB batting averages of all-time are: 1. Ty Cobb .366 2. Rogers Horns...
[ "daniel.reich@danielreichs-MacBook-Pro.local" ]
daniel.reich@danielreichs-MacBook-Pro.local
150d0da8ecad01521adf1ca43020d90ad690807e
219dbbd4c88eb3c323f2644fcd9c804975c58b78
/dlux/dashboards/network/neutron_subnets/views.py
36fe5652b0e9edb8880900550ae611865d032127
[ "Apache-2.0" ]
permissive
mavenugo/dlux-horizon
a0e6dfc622cfc653acbd847952bc84e11d7209df
07f06a75e9909fd103d3b35d7e666802979afb79
refs/heads/master
2021-04-26T14:04:58.273087
2014-02-02T16:53:42
2014-02-02T16:53:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,296
py
# Copyright 2014 Hewlett-Packard Development Company, L.P. # # Author: Dave Tucker <dave.j.tucker@hp.com> # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licens...
[ "dave@dtucker.co.uk" ]
dave@dtucker.co.uk
fa2e81222bbf7aadd99e6336533fca446bfa4426
dbafa9b570e9ae62a5c6eb3afa012ef1a53b51a3
/apps/wish_list/urls.py
afb6d40723806b061d7c6f489482759d70d76966
[]
no_license
dpm530/deploy_test
96d2a80691b17258063256bdfe7a7f72199bcf77
d93089c236b5ca51c9623c9caee3237a81d3132f
refs/heads/master
2021-01-01T18:57:45.424985
2017-07-26T22:51:23
2017-07-26T22:51:23
98,471,925
0
0
null
null
null
null
UTF-8
Python
false
false
437
py
from django.conf.urls import url from . import views urlpatterns=[ url(r'^$',views.index), url(r'^register$',views.register), url(r'^homePage$',views.homePage), url(r'^login$',views.login), url(r'^createWishListPage$',views.createWishListPage), url(r'^createNewListItem$',views.createNewListItem...
[ "Daniel@Daniels-MacBook-Pro.local" ]
Daniel@Daniels-MacBook-Pro.local
e511c1dde4811ab32f8e66df43d7bbdea1921b75
4c401336430f203a140645c9af4593465cbce3ef
/teachme-rest-api/app/tests/test_school_level.py
13fc8e3b23118ed22fe874a3720ab373731226fe
[ "Apache-2.0" ]
permissive
kiditz/teachme
f3b1d7cc25a2e114a1fca7a92e6786f9993c6f4a
b94852778ef1f3d7c98c45e34e5b6d048aca7c75
refs/heads/master
2022-12-17T10:35:48.574296
2018-08-21T15:53:36
2018-08-21T15:53:36
135,743,753
0
0
Apache-2.0
2022-12-08T02:25:10
2018-06-01T17:05:42
Roff
UTF-8
Python
false
false
543
py
import unittest import requests from slerp.logger import logging log = logging.getLogger(__name__) class TestSchoolLevel(unittest.TestCase): BASE_URL = "http://localhost:5002/" def setUp(self): pass def test_get_school_level(self): # TODO : Replace All Input GET result = requests.get(self.BASE_URL + 'ge...
[ "kiditzbastara@gmail.com" ]
kiditzbastara@gmail.com
ff58cb835d1dc807632b42b73c6859e646dc8101
b4f56ec36f1ba1bfb6bc5f29d04a9be55d0796cc
/src/main/python/customer_pb2.py
4b3800360cd09db8d25ff025e05fe9e2b2580836
[]
no_license
flipsyde59/trrp_3
7590120763954c2083b14abe60f685f98f57ea55
6b7eab3b74588bb0bf8541ed5f80fb17bd6ceddb
refs/heads/master
2023-02-20T18:25:38.431082
2021-01-23T19:56:26
2021-01-23T19:56:26
332,179,946
0
0
null
null
null
null
UTF-8
Python
false
true
7,602
py
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: customer.proto """Generated protocol buffer code.""" from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protob...
[ "flipsyde59@mail.ru" ]
flipsyde59@mail.ru
ad9abe7412feb409a43dcc7ec48daed884bd01a3
a9215e088517b6ad3e3a02de6c92ff082f0c8042
/turtle_words/svg_turtle.py
62354c5fb79c1d046fde239c6b774bbc5f6a0134
[]
no_license
jacobhokanson/gc-sites
af563733a14db204d1e7a2f542ed803f64608858
eab6bd923a0aedab7d8a10a2a109e781fdcb1b24
refs/heads/master
2022-07-04T03:20:42.171757
2020-05-09T18:31:35
2020-05-09T18:31:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,817
py
class svg_image(): """docstring for SVG image idea""" def __init__(self, color1, color2): self.svg_ml = '<g><path style="fill:' + color1 + '" d="M314.6,158.88c-3.15-2.43-6.08-4.44-8.7-6.8c-1.96-1.77-3.67-3.87-5.2-6.03c-4.79-6.77-9.24-13.79-14.2-20.43c-3.74-5.01-8.47-9.09-14.29-11.7c-4.42-1.98-8.99-2.54...
[ "jacob.hokanson9@gmail.com" ]
jacob.hokanson9@gmail.com
6f11a24f41e110a714144a80ec485cedcf1efbb4
8e43e0d1d0f81a3a2a5e21137b43cc40bcd62a70
/lib/cretonne/meta/isa/riscv/registers.py
f00c9a0f0d8579dfa8266d8b36f4fbe789528193
[ "Apache-2.0" ]
permissive
pnkfelix/cretonne
52c86cc1056d3d4b627ad8b256febab21cdf0e37
f9af88c49e8c4da64d9bc1e30434aaf050b983df
refs/heads/master
2020-06-11T05:57:49.068844
2016-12-08T23:57:28
2016-12-08T23:57:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
503
py
""" RISC-V register banks. """ from __future__ import absolute_import from cdsl.registers import RegBank, RegClass from .defs import ISA # We include `x0`, a.k.a `zero` in the register bank. It will be reserved. IntRegs = RegBank( 'IntRegs', ISA, 'General purpose registers', units=32, prefix='...
[ "jolesen@mozilla.com" ]
jolesen@mozilla.com
bee215f8c866ac4d57e174fc83c35868544aeea3
81c0dc9578112f5b370c23faa0126493dafdd490
/swappi/db_schema.py
441d98635e991d2717315692e5ced8f3f1fd6c44
[ "MIT" ]
permissive
mhhoban/swappi-project
cc9eecd0ceb7e4736188fcb6c7ae1b38b3779837
6f11d04d63aa5ceeb826f2a7e0cb34a87aa71dfb
refs/heads/master
2020-05-27T01:47:34.936250
2017-09-02T05:27:43
2017-09-02T05:27:43
82,513,369
0
0
null
null
null
null
UTF-8
Python
false
false
1,064
py
from sqlalchemy import Column, ForeignKey, Integer, String from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine Base = declarative_base() class Users(Base): __tablename__ = 'users' id = Column(Integer, primary_key=True) name...
[ "mhhoban@gmail.com" ]
mhhoban@gmail.com
92841d5104e532eefde1c249cb662386614e8381
30c83cb957cf0ed420cc59aeb8369236f68d010f
/10-1.py
44e8dfcc770cd23226f4be9d8e0ae102545eb380
[ "MIT" ]
permissive
AlanAu/Advent-of-Code-2016
7c753e1bb167eff564181eecb9ae13fed8bbdc4c
842cb49b1a6ef650e73501fc747bc92c8f9fc860
refs/heads/master
2021-01-13T14:52:09.001824
2017-12-20T19:24:33
2017-12-20T19:24:33
76,512,135
0
0
null
null
null
null
UTF-8
Python
false
false
3,020
py
''' --- Day 10: Balance botValues --- You come upon a factory in which many robots are zooming around handing small microchips to each other. Upon closer examination, you notice that each bot only proceeds when it has two microchips, and once it does, it gives each one to a different bot or puts it in a marked "outpu...
[ "alan.au@gmail.com" ]
alan.au@gmail.com
7d9b8ff5c86e7a469c4e54991a98f844dbd57066
e4cab6feadcee618f092f23020a157c8ded42ffc
/Basics/Matrix/homework.py
524046cb9ab52c37bb822c2aedc925bed9786d01
[]
no_license
Larionov0/Group3_Lessons
7c314898a70c61aa445db37383076e211692b56b
628bc7efe6817d107cb39d3017cb7cee44b86ba4
refs/heads/master
2023-08-22T07:14:44.595963
2021-10-17T11:48:06
2021-10-17T11:48:06
339,141,183
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
matrix = [ [1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16] ] while True: i = int(input('enter number from 0 to 4: i = ')) j = int(input('enter number from 0 to 4: j = ')) print(matrix[i][j])
[ "larionov1001@gmail.com" ]
larionov1001@gmail.com
df91c9a9b9937a18b50fc7a7be16c73b905500d8
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/nouns/_true.py
ada6ea76ff35da675f31a995503e77327d2954a1
[ "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
359
py
#calss header class _TRUE(): def __init__(self,): self.name = "TRUE" self.definitions = [u'to not be in the correct position or to be slightly bent out of the correct shape: '] self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.specie = 'nouns' def run(self, obj1 = ...
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
f9ce555501e5c966e14dec0525a33a283154e3bb
680c779e92208bfe4297760ba8568e0e90dc531d
/pathfinding.py
8de12c0ae6b4955c4ae68eb6379c3db4f1bf4ae0
[]
no_license
Lfcamacho/Pathfinding_Visualization
4bdce6fbebb578beda10c2b978204d8205ac383e
40e54e5cab65975d2d06ee70a6975e6fd0f0f61a
refs/heads/master
2022-12-05T17:32:56.480013
2020-08-21T22:25:41
2020-08-21T22:25:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,662
py
import pygame from queue import PriorityQueue import math # Settings SQUARE_SIZE = 15 COLUMNS = 50 ROWS = 40 GRID_POS_X = 0 GRID_POS_Y = 0 GRID_WIDTH = COLUMNS * SQUARE_SIZE GRID_HEIGHT = ROWS * SQUARE_SIZE WIDTH = GRID_WIDTH HEIGHT = GRID_HEIGHT WIN = pygame.display.set_mode((WIDTH, HEIGHT)) pygame.display.set_cap...
[ "lfcamacho06@gmail.com" ]
lfcamacho06@gmail.com
0a68a4633fb48f6f75bb6216cb5f7f38def50fc8
6afe7ba26ed50d158110874cf3f9767f6a108d18
/task_1_5.py
03772558d7760dd1355f0de36fadd79f33b015d0
[]
no_license
hejaziak/Regular-expression-to-NFA
9603ded3b1459b6b17de838c410c2d101fc3d779
f959fb0da21d2896ebee857cd201bac48765f3c6
refs/heads/master
2020-05-02T19:17:46.777728
2019-03-28T09:53:12
2019-03-28T09:53:12
178,155,410
0
0
null
null
null
null
UTF-8
Python
false
false
672
py
import argparse import re def task_1_5(args): regex = re.compile("(?<==)\d+") output_file = open("task_1_5_result.txt","w+") with open(args.file+"/task1_5.txt", "r") as file: for line in file: matches = regex.findall(line) if(matches): for match in matches:...
[ "atherkhalid158@gmail.com" ]
atherkhalid158@gmail.com
93608c1c11db74a6723a01767666485d2a5479a0
a7f8417ec32e03a8af39ad772e4bf51ab13f92c8
/run_cases/RunAll.py
bc6bccc80a60aff1dfa4d492dab4da883145120b
[ "Apache-2.0" ]
permissive
18280108415/Interface
07d0ae42b3d89799f8a64df5ba0da9be7e36c913
e7362b2ce21377f0383aeb2cbf8ac40dc4e076c3
refs/heads/main
2023-04-21T01:19:41.342189
2021-05-13T08:29:14
2021-05-13T08:40:07
366,947,376
0
0
null
null
null
null
UTF-8
Python
false
false
923
py
#! /usr/bin/env python # -*- coding:utf-8 -*- """ @version: 1.0 @author: fky @site: @software: PyCharm @file: run_main.py @time: 2018/3/16 10:58 """ import unittest import time import os from Common.HTMLTestRunner_jpg import HTMLTestRunner def run_case(dir = "testCases"): case_dir = os.path.dirname(os.getcwd()) +...
[ "523289267@qq.com" ]
523289267@qq.com
1d5b8ef75898cbe899d0481aaac82b653ed75e32
962db47068ceac61a6a8f207ddfe489d5d68880b
/python/services/compute/subnetwork.py
75725ab83725096d3e8c9579f65470cfc84071ab
[ "Apache-2.0" ]
permissive
isabella232/declarative-resource-client-library
8016eeff943188a658c1df849303e30aa78f3dd0
2149dbf673cfa2cdbeca242b7e4d2bb0e7ea050d
refs/heads/main
2023-03-06T17:49:13.775734
2021-02-09T23:41:07
2021-02-09T23:43:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
15,140
py
# Copyright 2021 Google LLC. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
[ "hawk@google.com" ]
hawk@google.com
0e6f31180db674bc453059f0e48b119b4326f74b
1ebca18e6279128d8a5ecce5a8789723902ef4e3
/patient/migrations/0006_auto_20201114_0425.py
75380186756bd4be2ee43dc93c4902c2d1c18dd4
[]
no_license
tanjim17/HackTheVerse_Toddlers
1fa9b9a5d1506661f6ae8ab192356d1bcf2f68bf
71bfb71ddb84ea9e123592f1b06cfa9418a80ad7
refs/heads/main
2023-01-30T10:42:31.673528
2020-12-13T03:31:18
2020-12-13T03:31:18
312,544,228
1
0
null
2020-12-13T03:31:19
2020-11-13T10:27:55
Python
UTF-8
Python
false
false
382
py
# Generated by Django 2.0 on 2020-11-13 22:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('patient', '0005_remove_patient_dischargedate'), ] operations = [ migrations.AlterField( model_name='patient', name='ag...
[ "nazmultakbir98@gmail.com" ]
nazmultakbir98@gmail.com
e1ec5c9508ce8facf6f66eecd10a5f6cd4e7b0a8
7fa5795af4ea431f923d4de851512e42d18b1207
/software_package/in4073/dfu_serial/package.py
52b11ac1a472c094942689f75c79b972b2928066
[]
no_license
NielsHokke/DroneController
cb7d9fbf009e12ff3fd16d720e0a41bbb3f3ae88
11bec3b36987e03c581fc6e9fb63c2d121285c9c
refs/heads/master
2020-03-14T07:36:20.619926
2018-06-26T21:55:11
2018-06-26T21:55:11
131,508,019
3
0
null
null
null
null
UTF-8
Python
false
false
15,481
py
# Copyright (c) 2015, Nordic Semiconductor # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of cond...
[ "NielsHokke@gmail.com" ]
NielsHokke@gmail.com
83d473d730c79476a469462dc89029202d29a28c
fe5ed850257cc8af4df10de5cffe89472eb7ae0b
/8.面对对象编程初探/面向对象程序学习/深入类和对象/魔术方法/魔法方法.py
a67e400ecfa57c124cd2bb3759d9d3d310f36d31
[]
no_license
hujianli94/Python-code
a0e6fe6362868407f31f1daf9704063049042d9e
fe7fbf59f1bdcbb6ad95a199262dd967fb04846c
refs/heads/master
2020-09-13T01:11:34.480999
2019-11-19T05:29:59
2019-11-19T05:29:59
222,614,662
2
0
null
null
null
null
UTF-8
Python
false
false
1,130
py
#!/usr/bin/env python #-*- coding:utf8 -*- ''' 和比较相关的魔术方法 __eq__(self, other) self == other __ne__(self, other) self != other __lt__(self, other) self < other __gt__(self, other) self > other __le__(self, other) self <= other __ge__(self, other) self >= other 和数学相关的魔术方法 __add__(self, other) self + other __sub__(self, ...
[ "1879324764@qq.com" ]
1879324764@qq.com
795c71f40d7e4b7b4ba2a1d84f255eb7b5f64b2d
faa965776fb422437332440a169d9980437e4fce
/text/cleaners.py
b2c8c9d1e2e3a65a3eb3e110beec2fb2eb299138
[]
no_license
IMLHF/lpc-tracotron
752ac707568098c870bf5db107dc9d184a7f853d
5994f84bf828afe11da845fb5153080f673a653e
refs/heads/master
2020-07-02T16:50:18.803338
2019-09-03T03:20:41
2019-09-03T03:20:41
201,594,812
0
0
null
null
null
null
UTF-8
Python
false
false
2,398
py
''' Cleaners are transformations that run over the input text at both training and eval time. Cleaners can be selected by passing a comma-delimited list of cleaner names as the "cleaners" hyperparameter. Some cleaners are English-specific. You'll typically want to use: 1. "english_cleaners" for English text 2. "tr...
[ "red_wind@foxmail.com" ]
red_wind@foxmail.com
e53399901313f79e9bf4ddfe04766f118f7b62e9
dc2674334cec0ee2fe8643d012faa793f9e9aa15
/ApiTestFramework/CodeGenerator.py
83ff80ec12e637d024a356106a476982a564f324
[]
no_license
seoktaehyeon/api-test-framework
2ac13bcf0998709473e4afd55e0e318e5021bc87
3fb202785973ac8ca0544cba2fae3c9a5c90fc25
refs/heads/master
2020-07-02T06:32:12.128056
2019-12-23T12:01:55
2019-12-23T12:01:55
201,440,690
0
0
null
2019-12-23T08:19:30
2019-08-09T09:53:28
Python
UTF-8
Python
false
false
2,303
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- class CodeGenerator(object): def __init__(self): pass @staticmethod def new_test_suite(suite_name, case_content): return '\n'.join([ '#!/usr/bin/env python3', '# -*- coding: utf-8 -*-', '', 'fro...
[ "seoktaehyeon@msn.com" ]
seoktaehyeon@msn.com
a01e65e47615d48efba8b8291cb3cecbb824f934
d9c78cbb1824b494c213d4d1890434f110719e1c
/Dictionary/speed_Example.py
32e32a5c2c39530e4384361996db884326f277a9
[]
no_license
JoshMez/Python_Intro
2fe9fc267b4aaaa17ddc578671e475425fd249c6
3687e96eec55e8f86916c28b2a37b282287ee409
refs/heads/master
2023-03-07T23:49:46.977806
2021-02-21T15:52:24
2021-02-21T15:52:24
292,469,542
0
0
null
null
null
null
UTF-8
Python
false
false
857
py
#Aim, Track the position of a alien that can move at different speeds, # # alien0 = {'x-position': 0, 'y-position' : 25, 'speed' : 'medium' } #Want the key value to be a variable. origina_Pos = alien0['x-position'] # #Original Position of the ship. print(f"The original position of the ship...
[ "joshuamezieres10@gmail.com" ]
joshuamezieres10@gmail.com
50db7d3cbbf9fa9c19ce0fb0431ea172406b3f3e
a9063fd669162d4ce0e1d6cd2e35974274851547
/swagger_client/api/im_chat_api.py
2f290030aa133f9b5950f05a99c87affd9397deb
[]
no_license
rootalley/py-zoom-api
9d29a8c750e110f7bd9b65ff7301af27e8518a3d
bfebf3aa7b714dcac78be7c0affb9050bbce8641
refs/heads/master
2022-11-07T14:09:59.134600
2020-06-20T18:13:50
2020-06-20T18:13:50
273,760,906
1
3
null
null
null
null
UTF-8
Python
false
false
28,116
py
# coding: utf-8 """ Zoom API The Zoom API allows developers to safely and securely access information from Zoom. You can use this API to build private services or public applications on the [Zoom App Marketplace](http://marketplace.zoom.us). To learn how to get your credentials and create private/public appli...
[ "github@rootalley.com" ]
github@rootalley.com
45511d1dde906e9c081ce3587c8c7a18c584d89e
342d26a4edfa424a0a442308f68b77275ac27bba
/dbs/dal/LogOperate.py
6ef8e452c871804b183fec1cae773536fe1fc6f3
[ "BSD-3-Clause" ]
permissive
icysun/opencanary_web
02e95f0708b49a2cb080b71dcd9e9a436a1ad25c
71156ef8d7f86e2bb380a69f584de9603bfba93a
refs/heads/master
2023-03-09T14:31:16.457577
2021-02-18T11:01:23
2021-02-18T11:01:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,924
py
#!/usr/bin/env python # -*- coding:utf-8 -*- """ Author: pirogue Purpose: 日志表操作 Site: http://pirogue.org Created: 2018-08-03 17:32:54 """ from dbs.initdb import DBSession from dbs.models.HoneypotLog import OpencanaryLog from dbs.models.Whiteip import Whiteip from sqlalchemy import desc, asc, extract, func, d...
[ "p1r06u3@gmail.com" ]
p1r06u3@gmail.com
c11ee44633ac855b635d80da88d711d373e23c60
59886a1143cc4043b19e398fae1fddb5742b4b55
/src/main/python/rlbot/agents/base_java_agent.py
558144395485290f687591f9f3c43416c417fb28
[ "MIT" ]
permissive
RLBot/RLBot
a6c4f502403f02822b3e4078b27583226584432e
c2f7c9a07911691b112b5338008e2ec932e7aee0
refs/heads/master
2023-08-16T06:04:35.384448
2023-07-01T11:21:26
2023-07-01T11:21:26
80,671,678
482
138
MIT
2023-07-01T11:21:28
2017-02-01T22:36:52
Python
UTF-8
Python
false
false
542
py
from rlbot.agents.base_independent_agent import BaseIndependentAgent class BaseJavaAgent(BaseIndependentAgent): def __init__(self, name, team, index): super().__init__(name, team, index) raise NotImplementedError( f"Cannot run {name} because BaseJavaAgent is deprecated! " ...
[ "noreply@github.com" ]
RLBot.noreply@github.com
ab90728d6722c552d2f58b587ff5ee17a0c431e6
9d2f097e0fcd753e2d4aa3beaa707b53bc319654
/sec3-basic/lesson11.py
6894b5ffe8b8b388a1815baa0afaff26bb32e9fe
[]
no_license
ei1125/python-udemy-lesson
7834bdc490cca1dd7e37104c39ff42e35defa506
2f149ea7c7dea3a0677bd1ce9a1899f01df3fab5
refs/heads/master
2022-12-08T09:46:40.222827
2020-08-29T14:11:48
2020-08-29T14:11:48
283,484,278
0
0
null
null
null
null
UTF-8
Python
false
false
404
py
print("I don't know") print('I don\'t know') print('say "I don\'t know"') print("say \"I don't know\"") print('hello.\nHow are you?') print(r'C:\name\name') print("####################") print("""\ line1 line2 line3 line4\ """) print("####################") print('Hi.' * 3 + 'Mike.') print('Py''thon') prefix = 'Py'...
[ "i.dont.like.monday1125@gmail.com" ]
i.dont.like.monday1125@gmail.com
dcd36a6ddd565d15ba0b4d9ce5a4c21b4312262f
c2c21b0b5ad8f2b540cd8cddbee7660e77a557b2
/While loop in python/break_in_while.py
0dbfe250de8304c17a67faf65087f37b61eef7da
[]
no_license
umerfarooq01/Python-Full-Course-Code-From-Zero-To-Hero
9c91d4f1a3ce1e6c8c0abe44b055627568feddf1
3fd06d031e5ae506c2ed0ba6c758a65d2f5f3334
refs/heads/master
2021-05-20T18:58:20.799674
2020-04-02T07:08:55
2020-04-02T07:08:55
252,380,966
0
0
null
null
null
null
UTF-8
Python
false
false
281
py
# In this programe we learn about breack statement in while loop, we use this statement # when we want to break our loop on a specfic value or resut. import random i=1 while i<=10: newR=random.randint(0,20) print(newR) if newR==6: print("Break") break
[ "umerfarooq4352@gmail.com" ]
umerfarooq4352@gmail.com
84820ad05b69152987c822b982840cd94202f499
ce086e50a671567a865eb93a221dda91567b8c5d
/planlos/polls/admin.py
7b3c1e560103a509db06118debd31a7e29171511
[]
no_license
planlos/planlos-django
a8d1481717ff62551adfda89c2523a0416510ba6
85620fbe3ff4e62531ec444690f62097fd3b1ffb
refs/heads/master
2016-09-06T01:31:01.529625
2015-04-15T20:05:41
2015-04-15T20:05:41
3,831,968
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
#!/usr/bin/env python # -*- coding: utf-8 -*- from models import Poll, Choice, Hashtable from django.contrib import admin admin.site.register(Poll) admin.site.register(Choice) admin.site.register(Hashtable)
[ "termine@planlosbremen.de" ]
termine@planlosbremen.de
7011576b08ff9e19cec9af1c4f2039410b117085
d675bec53fe8ff470bf0287d64b418bfb4a2f93e
/tools/category_count.py
53f447e01c48cc4460a56412fff3e1bd7c34b36c
[]
no_license
RolfSievert/litter-det
0ba309fbc82b7e8de09bbc5d3dae2e471239a744
c74b275a234eac5ebe26dcc9970cd1d1a3dceb6c
refs/heads/main
2023-04-19T11:46:00.679523
2021-04-03T08:06:35
2021-04-03T08:06:35
364,611,467
0
0
null
null
null
null
UTF-8
Python
false
false
4,079
py
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 """ Prints and plots all class quantities. TODO * Add deviation of instances and images per category """ import copy import json import argparse parser = argparse.ArgumentParser(description='User args') parser.add_argument('annotations', help='Path to ...
[ "26115145+RolfSievert@users.noreply.github.com" ]
26115145+RolfSievert@users.noreply.github.com
fec187d97af48673db9a3cd1cb57dbaa81a53c2d
28a462a28f443c285ca5efec181ebe36b147c167
/tests/compile/basic/es2020/DeclarativeEnvironmentRecord.CreateImmutableBinding.spec
32137e54076b90b69a23ec493062ece2b21f0272
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
kaist-plrg/jstar
63e71f9156860dc21cccc33a9f6c638dfee448ea
1282919127ea18a7e40c7a55e63a1ddaaf7d9db4
refs/heads/main
2022-07-22T08:12:34.947712
2022-02-27T04:19:33
2022-02-27T11:06:14
384,045,526
6
4
NOASSERTION
2022-02-27T11:05:26
2021-07-08T07:53:21
Python
UTF-8
Python
false
false
398
spec
1. Let _envRec_ be the declarative Environment Record for which the method was invoked. 1. Assert: _envRec_ does not already have a binding for _N_. 1. Create an immutable binding in _envRec_ for _N_ and record that it is uninitialized. If _S_ is *true*, record that the newly created...
[ "h2oche22@gmail.com" ]
h2oche22@gmail.com
e399cabcd4f8df0189068155cfc0ec319f106225
0a5e2a761508d0743f834c711cc8a43c1f07d0cb
/lambda.py
54a6acd37a290199b3c9077478c15d69b5909a11
[ "MIT" ]
permissive
yegorski/terraform-aws-api-gateway-cognito
682286e1bb8324f081bd6cbbedfb4538bf3434df
1ea74bc051d7e36039a66afd44fff42e9cf87c37
refs/heads/master
2022-07-31T01:43:07.821956
2020-05-17T02:47:02
2020-05-17T02:47:02
199,242,254
7
1
null
null
null
null
UTF-8
Python
false
false
138
py
import json def lambda_handler(event, context): return { 'statusCode': 200, 'body': json.dumps('Hello World!') }
[ "yegor.ius@enigma.com" ]
yegor.ius@enigma.com
4aa619c5f0da271cf82f1c1c1edb77fb610b3181
4b17d98ad2a3ef018cfb33f7f1d645ede72eb808
/models.py
317ff17f52dc2e3d03d3556e07facbc26924d19b
[ "MIT" ]
permissive
poshan0126/Facial-Keypoint-Detection
932ce0b85d7b1b0b893376537a5cf7c148704ee7
fc52574b4c006e3afd86f209369e1a3e704a65fa
refs/heads/master
2020-09-02T19:43:20.650541
2019-11-03T11:53:30
2019-11-03T11:53:30
219,292,492
0
0
MIT
2020-01-19T09:34:06
2019-11-03T11:47:10
Jupyter Notebook
UTF-8
Python
false
false
3,030
py
## TODO: define the convolutional neural network architecture num_output = 136 # As it's suggest final linear layer have to output 136 values, 2 for each of the 68 keypoint (x,y) pairs. import torch from torch.autograd import Variable import torch.nn as nn import torch.nn.functional as F # can use the below import shou...
[ "aakrist666@gmail.com" ]
aakrist666@gmail.com
cce8f8c63a4a63f58241e9dcde14ceaa2d3b6b2f
be22e62625f2183ac6d79c4316b9f83753d737ef
/qichacha.py
11b7c53a32b91a7e264648ba7c5375f5f6157c15
[]
no_license
chenjingorz/Qichacha-web-scrap
39e67984fcb331a0093c354bfcc294cff217249e
b5b150ea0b1af077f275b3005ec95a40d35ccce8
refs/heads/master
2020-03-24T20:26:51.018522
2018-08-02T08:00:35
2018-08-02T08:00:35
142,978,352
0
0
null
2018-08-01T01:59:16
2018-07-31T07:27:42
Python
UTF-8
Python
false
false
6,703
py
# names with 100% on qichacha are stored in SQL, else stored in csv 'unmatched entities' for manual search import pandas as pd from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import NoSuchElementE...
[ "noreply@github.com" ]
chenjingorz.noreply@github.com
31642fa7ef14844e7529c37bd4b42f313d0a69bc
32f7392217c50e1ee5a41db0414cbd6ca2427753
/Tencent2020/txbase/emb.py
2bf25c681898d4882c0639e0dc5cc6a532c10b48
[]
no_license
Stella2019/KDD2020
0f315cd14c26bbcedc69b3982ca58d848d5d4a13
2604208d8bcac47ef097e6469633430637149b31
refs/heads/main
2023-07-02T02:22:07.707798
2021-08-14T06:15:04
2021-08-14T06:15:04
395,909,304
0
0
null
null
null
null
UTF-8
Python
false
false
7,577
py
from . import Cache import numpy as np class EmbBatchLoader: def __init__(self, all_emb_cols, emb_base_dir=None, key2index=None, outer_emb=False): """ outer_emb: 设置该参数为True,如果是导入外部的embedding, 会造成key2index和w...
[ "noreply@github.com" ]
Stella2019.noreply@github.com
922afb74fdeb65bf3a731c7e2f814a52234e3f75
8fd07ea363ba4263bafe25d213c72cc9a93e2b3e
/devops/Day1_fork_thread/Thread/5.凑够一定数量才能继续执行.py
d73b1743ccd66793d4ab5dc684274cdd8d96cd03
[]
no_license
ml758392/python_tedu
82e12ae014f0fc81230386fab07f901510fc8837
9f20798604db0ac8cd7b69d8c7a52ee361ebc7a7
refs/heads/master
2020-04-12T08:30:42.354663
2019-03-29T11:55:30
2019-03-29T11:55:30
162,386,878
1
1
null
null
null
null
UTF-8
Python
false
false
334
py
# -*-coding:utf-8-*- import threading import time bar = threading.Barrier(6) def run(): print('%s---start' % threading.current_thread().name) time.sleep(1) bar.wait() print('%s---end' % threading.current_thread().name) if __name__ == '__main__': for i in range(5): threading.Thread(targe...
[ "yy.tedu.cn" ]
yy.tedu.cn
2caf0ae0ff0fa1bc2def55b6b8820594bcd37f56
251aac7cebbac65f08e2c79fb40f76ff6a97f102
/test_1/test_5.py
14ce0929f0d94b960a8f91decb98c0fdb0bf64b3
[]
no_license
XIAOXIzzz7/Pytest
a95eb936a265a846a5039a0dd1c181d0ab4ff405
2d70f4fbcd1017efec4a6f86a0467ba0c5576150
refs/heads/master
2023-03-29T04:46:58.452602
2021-03-30T09:27:43
2021-03-30T09:27:43
352,943,650
0
0
null
null
null
null
UTF-8
Python
false
false
114
py
from airtest.core.android.adb import ADB adb = ADB() def devices(): return adb.devices() print(devices())
[ "1783583986@qq.com" ]
1783583986@qq.com
59f0627ece60217800e3c91abd0f3269841b99de
a3354726b126b85987a1455bd4b1ed0a4d05f5bb
/apps/posts/templatetags/urlify.py
dbcef20ecbbcf46d92a98266c40fc00add8b6040
[]
no_license
RonaldTheodoro/django-blog
cea90ab619e69560013a995c8d67d65e4593e0a9
92b64aa93c495fef835e64a98c9619cba3f518c4
refs/heads/master
2020-04-01T06:05:08.492523
2018-10-20T15:28:53
2018-10-20T15:28:53
152,932,753
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from urllib.parse import quote_plus from django import template register = template.Library() @register.filter def urlify(value): return quote_plus(value)
[ "ronald.silva4@fatec.sp.gov.br" ]
ronald.silva4@fatec.sp.gov.br
2cdf3790675f53dfcfc293bb402fb2fcc834e53d
4f423b324b4c13a94dfd1efd936eed813cd7a1f8
/flask_app.py
1672993aa202d8d6197f53c314a2c8b817698e98
[]
no_license
ecogit-stage/ReviewScapperDeployment
a61c2a98bab3c2c8abb10b1ded35e34dbd7e1cc5
a45dc7564c4f0690022fc40ba5838bd413647e4f
refs/heads/main
2023-08-25T20:09:04.676156
2021-10-27T09:42:01
2021-10-27T09:42:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,955
py
# doing necessary imports from flask import Flask, render_template, request,jsonify # from flask_cors import CORS,cross_origin import requests from bs4 import BeautifulSoup as bs from urllib.request import urlopen as uReq import pymongo app = Flask(__name__) # initialising the flask app with the name 'app' ...
[ "noreply@github.com" ]
ecogit-stage.noreply@github.com
1a9627a465aa1f53187fe367e69589eff0cf6a31
a59d1faced9fe7348ca7143d2a8643e0ebad2132
/pyvisdk/do/application_quiesce_fault.py
cf32f58e3304afc4abc1a5f0d39e25a272834537
[ "MIT" ]
permissive
Infinidat/pyvisdk
c55d0e363131a8f35d2b0e6faa3294c191dba964
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
refs/heads/master
2023-05-27T08:19:12.439645
2014-07-20T11:49:16
2014-07-20T11:49:16
4,072,898
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def ApplicationQuiesceFault(vim, *args, **kwargs): '''This fault is thrown when creating ...
[ "guy@rzn.co.il" ]
guy@rzn.co.il
d11ceddcb0305bf614396494c52ce1db3bac78a5
32544e36cf43e0ff41bdec6aab4a9c7e2d6506fd
/13_circle/circle.py
a3e4c88da30e6851a08f75148fbc1e6fdde7efe2
[]
no_license
luispabreu/p3ws
9374bfadcbda85b874c9dd441caf962fbcc8eea2
e7ef18d36a222a2d4f2ef0b506a45a1d896f8273
refs/heads/master
2023-02-05T21:33:13.523410
2020-12-18T18:27:50
2020-12-18T18:27:50
319,834,565
0
0
null
null
null
null
UTF-8
Python
false
false
1,412
py
import math from point import Point class Circle: """This is a class of circles""" def __init__(self, c=None, r=1): if (c is None): self.c = Point(0,0) else: self.c = c assert r >= 0 self.r = r pass def __str__(self): return '((' +...
[ "lep43@duke.edu" ]
lep43@duke.edu
666b782608b8d5c6c2de7e612156d9619e0281fa
2aa817f40517f7c9c55534948df9d6d1742a8da8
/core/management/commands/init_admin.py
5b53553984751d2945c0f24b8caf065e4ff59e64
[]
no_license
arischow/buzzbird
2b4d24130e18c4b03be5c287c56b60efa142a4ee
3ffcc849f9360037fb4aff5f2d3370a2ba145fcc
refs/heads/master
2020-07-14T15:37:09.620648
2019-08-12T05:58:36
2019-08-12T05:58:36
152,390,942
2
3
null
null
null
null
UTF-8
Python
false
false
572
py
from django.contrib.auth.models import User from django.core.management.base import BaseCommand class Command(BaseCommand): def handle(self, *args, **options): admin = User.objects.filter(username='arischow').first() if admin: self.stdout.write('Overlord arischow existed.') e...
[ "arischow@gmail.com" ]
arischow@gmail.com
70bcb8c2cc1754e8ada22e576440a4067ed57f0a
129bbab6f150dab3878fb53310c6ce9d14e7bea7
/python-src/chap7/mountain_poll.py
33431739412f2ca5a1bdd156c5f4fb8cb631b37a
[]
no_license
icsoftwareproject/software-project-course
53c367c81876019b1097cb749170473cebae637d
2272fee5f3244c669f3ce9400e542b47bf4b8764
refs/heads/master
2023-08-04T20:29:41.093219
2023-08-02T09:10:43
2023-08-02T09:10:43
329,323,493
3
3
null
null
null
null
UTF-8
Python
false
false
724
py
responses = {} # Set a flag to indicate that polling is active. polling_active = True while polling_active: # Prompt for the person's name and response. name = input("\nWhat is your name? ") response = input("Which mountain would you like to climb someday? ") # Store the response in the dictionar...
[ "baldoino@ic.ufal.br" ]
baldoino@ic.ufal.br
d514000dc8136190feeb2ce9d3aa732983814687
51aeef84c9d4fbcf07a68dc1c1b1d06cd0eac696
/test_client/steps/then.py
f495c584b18ce4a0fb63d046681780fef13b3225
[]
no_license
kushalbavkar/python-automation
ade7e32840993ae3369f917dc6c2f2bcc9203ca6
c3f66a41514dd7fd33eafe3b9efd689621cf9a3d
refs/heads/master
2021-12-25T06:07:08.211125
2021-12-18T14:38:43
2021-12-18T14:38:43
253,262,957
0
0
null
null
null
null
UTF-8
Python
false
false
589
py
import allure from pytest_bdd import then from test_client.actions.github import GitHubActions from test_client.ui.webdriver import WebDriver from test_client.fixtures.test_context import TestContext @then('I should see the repository page') @allure.step('I should see the repository page') def i_should_see_the_reposi...
[ "bavkarkushal@gmail.com" ]
bavkarkushal@gmail.com
e7b126798e6ab0dbd7122c45284758c024e3909c
75b977558dbaa2de55797085e1d8b6bc703bd168
/Re-ID/reid/datasets/veri.py
9c13af1d6e30fb592aee54784ae4114deed2d6de
[]
no_license
XrosLiang/VehicleX
f8966eda1687d722830391a619261df5eedd6e71
24e0017176724ebb789135a57b9d089595707e2c
refs/heads/master
2022-12-09T01:44:30.360054
2020-08-30T14:06:05
2020-08-30T14:06:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,103
py
from __future__ import print_function, absolute_import import os.path as osp import re from glob import glob import random class VeRi(object): def __init__(self, root, real = True, synthetic = True): # sys_image_by_test_baseline_multidistractor_AIC_1211_domain_transfer(Veri)_fix_intensity/ train_dir = '....
[ "u6014942@anu.edu.au" ]
u6014942@anu.edu.au
63f33a87835b8770a6f52247450c589c170448cc
48e124e97cc776feb0ad6d17b9ef1dfa24e2e474
/sdk/python/pulumi_azure_native/kusto/v20210827/get_data_connection.py
10c402e25115ff6f6d20ff26cd07edd7efef74c5
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
bpkgoud/pulumi-azure-native
0817502630062efbc35134410c4a784b61a4736d
a3215fe1b87fba69294f248017b1591767c2b96c
refs/heads/master
2023-08-29T22:39:49.984212
2021-11-15T12:43:41
2021-11-15T12:43:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,654
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
[ "noreply@github.com" ]
bpkgoud.noreply@github.com
416fe9fc3c5308c62242cbdd1683c5aca460fdec
4dfe5d0b0854228a671f094dbdbe4e10ac1e0206
/finick/forefront.py
eb8d4c033b2a4459503e402ab1e055d7f0a77786
[]
no_license
cedrus-opensource/finick_code_reviews
35933f086fcbca8aa4367b34a5c23382320fc2e3
38ca4ec629e08b774c83ade478d9f2ff62e06c2f
refs/heads/master
2020-04-29T09:13:29.201840
2015-10-22T22:32:16
2015-10-22T22:32:16
35,689,292
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
#!/usr/bin/env python from __future__ import print_function from __future__ import division # py3 style. division promotes to floating point. from __future__ import unicode_literals from __future__ import absolute_import
[ "kkheller@cedrus.com" ]
kkheller@cedrus.com
65ca33b94667b1d1345a91a0f683703829234a7c
b4c5c90d37ec3258cc4facd2116385a113e385b7
/che_homework.py
03e9a5f6160c86bdfdd5ca7e22c2bbd5c102d773
[]
no_license
ahoetker/ghscripts
e964f0acb06c416f0912a76c0d3aa5a70431a1e2
8a953fdc53e29b87ee6c0421f7dca27acc9768c4
refs/heads/master
2021-05-09T02:27:06.768710
2019-01-05T03:38:32
2019-01-05T03:38:32
119,209,687
0
0
null
2018-03-28T19:31:58
2018-01-27T22:57:30
Python
UTF-8
Python
false
false
1,854
py
#!/usr/bin/env python3 from pathlib import Path import sys unitstring_code = r"""function displayString = unitString(quantity, name) %UNITSTRING Display a 1x2 sym with symbolic units % USAGE: unitString(some_quantity, name) % OUTPUT: % - displayString: char vector containing name, scalar, and units if nargin < 2 ...
[ "ahoetker@me.com" ]
ahoetker@me.com
6ec1dac28a2dbeb63c8f23d39bb3f862eb5c9205
422a0dc42e53052a4d716488b1a43338653383cb
/Sorting and Searching/Sorting_concepts/counting_sort.py
8882e4c9fe23ffe49ceaafed6e2f7fbe5688c628
[]
no_license
shiraz-30/Sorting-and-Searching
c2203e1218513aa10631770158a9eb6eeaf99e29
d50abb95dbdb18421017aba8cc867b3715cb13d9
refs/heads/main
2023-05-11T08:25:14.463642
2021-05-27T15:24:55
2021-05-27T15:24:55
371,416,863
1
0
null
null
null
null
UTF-8
Python
false
false
744
py
def counting_sort(arr): # in this implementation we will assume that we get only positive values max_element = max(arr) freq = [0]*(max_element + 1) # this loop will help to create the frequency list for i in range(0, len(arr)): freq[arr[i]] += 1 # now we need to prepare prefix sum for i in range(1, len(freq...
[ "noreply@github.com" ]
shiraz-30.noreply@github.com
4c98e08132aeae3e18d23763c7ba5bf9f7915f22
3970706a16be81a63b2476222c1b061da9f11b70
/estimator/download_data.py
4cf480e781e68353a149d1325da327b6ec2ae348
[]
no_license
sfujiwara/tensorflow-examples
3de3fb90c6204bec2c455f8f1b9aa98a14f393b9
6b9dd3ba27e1b0d021c322f5504e888b6b7ed4fb
refs/heads/master
2023-04-18T11:33:43.271751
2020-12-17T20:49:57
2020-12-17T20:49:57
126,787,804
1
0
null
2023-03-25T00:25:33
2018-03-26T07:06:44
Python
UTF-8
Python
false
false
426
py
import argparse import tensorflow_datasets as tfds parser = argparse.ArgumentParser() parser.add_argument('--tfds_dir', type=str) parser.add_argument('--dataset_name', type=str) args = parser.parse_args() TFDS_DIR = args.tfds_dir DATASET_NAME = args.dataset_name def main(): builder = tfds.builder(DATASET_NAME,...
[ "shuhei.fujiwara@gmail.com" ]
shuhei.fujiwara@gmail.com
d3a61e297c89395471dd9579fe85c7371d2b0d99
6873ec680d2b77164e0bb4e9d8daafed7ca995df
/devel/lib/python2.7/dist-packages/msgs_demo/msg/_MoveBaseAction.py
4149ebb0cf0f73b368eb57e31361fe5ce52bb825
[]
no_license
wzq-hwx/uptest
45f60d0e77a59794b4ee061c6275bc2a2ea11ae2
577fdf4300edcce4c0ecc6a3d55433fcc319527b
refs/heads/master
2020-04-25T21:17:43.145310
2019-02-28T08:48:26
2019-02-28T08:48:26
173,076,111
1
0
null
null
null
null
UTF-8
Python
false
false
31,107
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from msgs_demo/MoveBaseAction.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import geometry_msgs.msg import genpy import actionlib_msgs.msg import msgs_demo.msg import s...
[ "yowings@gmail.com" ]
yowings@gmail.com
3c4e7c48dd94e84539485d6169bb461643a6cde7
f36e4d032a1f496c006517898659d9e8bb4a5acd
/tutorial 17.py
a8613324631158a3b04142c099ed460e7acff6d9
[]
no_license
aman0864/CWH_1-Python3-Python-Game-Development
477c2086de0b53160db798817bcf078d89edde80
1ac89070ad1f0c878cd8ff3d80b23d43f9aa9fe2
refs/heads/main
2023-04-13T14:36:49.021020
2021-05-03T11:49:42
2021-05-03T11:49:42
363,911,030
0
0
null
null
null
null
UTF-8
Python
false
false
6,386
py
# Date 18-04-2021 import pygame as pg import random as rd pg.init() #! user's choice fps = 20 font = pg.font.Font('freesansbold.ttf', 32) color_of_text_to_be_display_on_screen = (233, 54, 100) x_position_of_text_to_be_display_on_screen = 0 y_position_of_text_to_be_display_on_screen = 0 minimum_range_of_food_f...
[ "noreply@github.com" ]
aman0864.noreply@github.com
4b8eff8148ed0ac19a6ac1759eb66417d0b8a4a0
f445450ac693b466ca20b42f1ac82071d32dd991
/generated_tempdir_2019_09_15_163300/generated_part010263.py
46c4f1fd19764edd4977285229bf635d77cfbf13
[]
no_license
Upabjojr/rubi_generated
76e43cbafe70b4e1516fb761cabd9e5257691374
cd35e9e51722b04fb159ada3d5811d62a423e429
refs/heads/master
2020-07-25T17:26:19.227918
2019-09-15T15:41:48
2019-09-15T15:41:48
208,357,412
4
1
null
null
null
null
UTF-8
Python
false
false
1,300
py
from sympy.abc import * from matchpy.matching.many_to_one import CommutativeMatcher from matchpy import * from matchpy.utils import VariableWithCount from collections import deque from multiset import Multiset from sympy.integrals.rubi.constraints import * from sympy.integrals.rubi.utility_function import * from sympy....
[ "franz.bonazzi@gmail.com" ]
franz.bonazzi@gmail.com
b0397665744d2c47d95e8a3f5beacc33a6f18cc2
b92d59b1d78276c2f642b640fbb495fa85e222c9
/debugger_tools/sitepackages_libs/pygments/filter.py
809ae3f46745bed427298a40af3b4e9c7a53ca16
[]
no_license
tin2tin/weed
d69d27ed9fb0273d0bbcbcf6941d9d9bfd4bbb44
dade41a9f6e82a493d4817d53a5af3dcdf31f21c
refs/heads/master
2020-12-27T06:21:09.047047
2020-02-02T18:03:15
2020-02-02T18:03:15
237,793,836
0
0
null
2020-02-02T15:43:25
2020-02-02T15:43:25
null
UTF-8
Python
false
false
2,145
py
# -*- coding: utf-8 -*- """ pygments.filter ~~~~~~~~~~~~~~~ Module that implements the default filter. :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ def apply_filters(stream, filters, lexer=None): """ Use this...
[ "cristian@blender.cl" ]
cristian@blender.cl
56a1b73197db6fe440897906fb20c5dd024ea599
361ad65df8de72b4f2b2dfc17df2987177adedc8
/web/models.py
0bd414f7ef18d88d9e9fb7c2f498aa39449ac08a
[]
no_license
uborzz/django_uborzz
51571d28ef7c27e8f7a5f62716490ae34bf7b917
4b287cb1f0649016fa2434f050440a881f10bfdc
refs/heads/master
2020-03-17T11:31:28.324839
2018-05-27T19:45:14
2018-05-27T19:45:14
133,555,172
0
0
null
null
null
null
UTF-8
Python
false
false
1,074
py
from django.db import models from django.contrib.auth.models import User # Create your models here. class Board(models.Model): name = models.CharField(max_length=30, unique=True) description = models.CharField(max_length=100) def __str__(self): return self.name class Topic(models.Model): sub...
[ "uborzz@gmail.com" ]
uborzz@gmail.com
ced912642f1ce175762a59d39ca23a5b70a8c4c3
c70dacbe730ac1aeb1aea5ebb4676b8af8cba863
/8 Functions/8-13 User Profile.py
46aaa7a4ee869a4921e833fa07b492de8b1f2c14
[]
no_license
KotaCanchela/PythonCrashCourse
41c80024863c6428216b28227e2a25566222e266
81bbfd6d2e9bdf087ea2f4401d4f489e98d5023a
refs/heads/master
2022-11-29T09:10:40.841500
2020-08-05T16:00:31
2020-08-05T16:00:31
282,297,280
0
0
null
null
null
null
UTF-8
Python
false
false
453
py
# Build a profile of yourself by calling build_profile(), # using your first and last names and three other key-value pairs that describe you def build_profile(first, last, **kwargs): kwargs['first_name'] = first.title() kwargs['last name'] = last.title() return kwargs user_profile = build_profile('dakot...
[ "dakotacanchela@gmail.com" ]
dakotacanchela@gmail.com
479eabc4c27c4631d1beee3ab1cb8a2c9be9a668
4b7e282fe480415f5d52c0fc0429f144156190fe
/google/ads/googleads/v8/services/types/geographic_view_service.py
1c6a192bba2848acf2005e44cd07b66cdd125389
[ "Apache-2.0" ]
permissive
Z2Xsoft/google-ads-python
c4750357bb19da91bb3b6bf2fa84bef9d2df36d3
1779d52a0446c8afb2437b0a9e103dcb849f5590
refs/heads/main
2023-08-18T15:22:17.840364
2021-09-26T04:08:53
2021-09-26T04:08:53
410,444,398
0
0
Apache-2.0
2021-09-26T04:08:53
2021-09-26T03:55:38
null
UTF-8
Python
false
false
1,237
py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
[ "noreply@github.com" ]
Z2Xsoft.noreply@github.com
8834a7f5c7e8320536a2a64882a2005412818bbd
a3b946f37561e96c0f3615fe373df3c58d697599
/django_storytime/urls.py
2b8b137fd78deb6b9c4dde847a935f6d9d98828e
[]
no_license
story-time-team/storytime-drf
c5d8c5b1d2e7384b56bf364b9713fc75d168096b
f934c3da90460a702f3b7d36e5903e45532a0968
refs/heads/main
2023-02-16T04:02:58.814300
2020-12-28T19:56:05
2020-12-28T19:56:05
325,104,058
0
0
null
2020-12-29T22:01:43
2020-12-28T19:54:47
Python
UTF-8
Python
false
false
885
py
"""django_storytime URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/3.1/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Cl...
[ "ashveerbhayroo@gmail.com" ]
ashveerbhayroo@gmail.com
a015fd2835d1017c32b4f5d5ad8ec3e72eb99d16
a78f0d96c33d8e3399bffa85ffba5c8e598e8492
/Array/55_sort_wave.py
94cb0b44a844fba62865e284c91e58d6ea58cb23
[]
no_license
ANKITPODDER2000/data-structure
78203fabf9ea7ef580d41d4d44cbff1e6c9f397d
3c1542562e74c0888718273e16206a755b193d4e
refs/heads/main
2023-02-04T15:40:21.017573
2020-12-31T10:45:18
2020-12-31T10:45:18
325,778,614
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from get_array_helper import take_array_user def sort_wave(arr , n): for i in range(0 , n , 2): if arr[i]<arr[i-1] and i > 0: arr[i] , arr[i-1] = arr[i-1] , arr[i] if arr[i]<arr[i+1] and i<n-1: arr[i] , arr[i+1] = arr[i+1] , arr[i] arr , n = take_array_user() print...
[ "ankitpodder0211@gmail.com" ]
ankitpodder0211@gmail.com
0680b3f3ad147e9f975b450578e76f7ad9b63a6a
70e29fc402560430eaa76de188ddb223ed543430
/crawler.py
53fa72a38561c8f5479da7fa787837fbb53ae008
[]
no_license
yujin113/RoadMap
3fde85b41ce8bbd76e160a01d5dbd1d014451765
c147003f8b317ce2b35f1330f2175ae66919d372
refs/heads/main
2023-06-24T19:50:33.351144
2021-07-28T10:05:50
2021-07-28T10:05:50
384,694,697
0
0
null
2021-07-10T12:39:00
2021-07-10T12:39:00
null
UTF-8
Python
false
false
5,334
py
import enum import os from time import sleep from bs4 import BeautifulSoup from selenium import webdriver from datetime import date, timedelta # from selenium.webdriver.common.by import By # from selenium.webdriver.support.ui import WebDriverWait # from selenium.webdriver.support import expected_conditions as EC # from...
[ "claire9585@sookmyung.ac.kr" ]
claire9585@sookmyung.ac.kr
a9bc844909b2b692321a5de50217b83eb922f2c2
06deaa602f3aa2caf78a7c0686f5ed4b1505abed
/packet_count.py
cf403499c375131ae02845700515f1fbcc967e72
[]
no_license
vksh224/d-DSA-simulator
3961f7f71eac361b44a13a02e7d0b3b62ac7269f
27dc2782ad5bd90efd8fdc37397d002878a3c690
refs/heads/master
2020-07-10T06:15:24.448517
2019-08-24T17:27:59
2019-08-24T17:27:59
204,189,894
1
0
null
null
null
null
UTF-8
Python
false
false
580
py
path = "Generated_Messages/generated_messages" max = 0 min = 99999 avg = 0 for i in range(100): file = path + str(i) + ".txt" with open(file) as f: lines = f.readlines()[1:] total_mb = 0 for line in lines: line_arr = line.strip().split() if int(line_arr[4]) == 60: ...
[ "noreply@github.com" ]
vksh224.noreply@github.com
5c36c60d11dde9fbccd0c50a805bae829cce3134
cf431b103b6481a8ec3002277fbd1e4c8fc02223
/tldrdict/update.py
0b9859ca0f023a1a8d5209e7a1504e71e2bde05e
[ "MIT" ]
permissive
stjordanis/tldr-flutter
e418930bc9404aa230643a75093306aad141ff76
59683860a7eae5bca0d14fa5cc10a1477db5a7fd
refs/heads/master
2023-04-30T12:37:05.765644
2021-05-19T18:31:08
2021-05-19T18:31:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
747
py
import json from os import path import json import requests def get_dict(): r = requests.get(url="https://tldr.sh/assets/") data = json.loads(r.text) commands = {} for command in range(len(data["commands"])): commands[data["commands"][command]["name"] ] = data["commands"][comm...
[ "nitinnirve@gmail.com" ]
nitinnirve@gmail.com
d5531ea201513c2ec0e790cc511f138883c4d7e5
f1447e5389d6372a6a84d51eda5520e1874f9604
/CFG_Test.py
ae2716b5940177f06f25f4100fd867df882c1522
[]
no_license
karimlasri/ivf_projet
afd32c78861ec3c7934bb1dd2236ce04332c5baf
4f433a4bf4e0ba02035f4dea29675d90e485d509
refs/heads/master
2021-05-05T06:22:38.946363
2018-01-24T17:01:17
2018-01-24T17:01:17
118,795,025
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
import networkx as nx import matplotlib.pyplot as plt def create_graph(): G = nx.DiGraph() G.add_node(1) G.add_nodes_from([2,3,4,5,6,7]) G.add_edge(1, 2, cond = lambda dic : dic['x']<=0, cmd = lambda dic : None, cmd_type = None)#vars = ['x'] G.add_edge(1, 3, cond = lambda dic : not(dic['x']<=0), ...
[ "karim.lasri@student.ecp.fr" ]
karim.lasri@student.ecp.fr
0c15c1f168b71d40114c30f3ba0a6be67f810679
5dfe3eac9c3d53033f7e417268381dabfb775d85
/WeatherApp/weather/models.py
828ae21da11660ce95e49714a52723c77be3396f
[]
no_license
DsArmor/Weather-app
052a235b5ef0f21daf20454edb165cb59bb8e3c2
633ea82febcd431c1cca85737b3be016ddc07baa
refs/heads/master
2021-04-05T20:12:37.026842
2020-03-19T20:56:34
2020-03-19T20:56:34
248,596,533
0
0
null
null
null
null
UTF-8
Python
false
false
177
py
from django.db import models class City(models.Model): name = models.CharField(max_length=30) def __str__(self): return self.name # Create your models here.
[ "zeleznoff84-00@mail.ru" ]
zeleznoff84-00@mail.ru
98cb85d1402933244f795a346bdc4fd0313236fe
6fcfb638fa725b6d21083ec54e3609fc1b287d9e
/python/scrapy_scrapy/scrapy-master/scrapy/commands/startproject.py
5941066326a89f8907da69a7681f54c726320d4d
[]
no_license
LiuFang816/SALSTM_py_data
6db258e51858aeff14af38898fef715b46980ac1
d494b3041069d377d6a7a9c296a14334f2fa5acc
refs/heads/master
2022-12-25T06:39:52.222097
2019-12-12T08:49:07
2019-12-12T08:49:07
227,546,525
10
7
null
2022-12-19T02:53:01
2019-12-12T07:29:39
Python
UTF-8
Python
false
false
3,863
py
from __future__ import print_function import re import os import string from importlib import import_module from os.path import join, exists, abspath from shutil import ignore_patterns, move, copy2, copystat import scrapy from scrapy.commands import ScrapyCommand from scrapy.utils.template import render_templatefile, ...
[ "659338505@qq.com" ]
659338505@qq.com
8e3433cc468d8d0c729fe477b522903a60d3acd2
e27333261b8e579564016c71d2061cc33972a8b8
/.history/api/UnigramLanguageModelImplementation_20210809170904.py
6ea53ba81f55833e5414f6e86eea471894cdaf2c
[]
no_license
Dustyik/NewsTweet_InformationRetrieval
882e63dd20bc9101cbf48afa6c3302febf1989b1
d9a6d92b51c288f5bcd21ea1cc54772910fa58f7
refs/heads/master
2023-07-01T09:12:53.215563
2021-08-12T08:28:33
2021-08-12T08:28:33
382,780,359
0
0
null
null
null
null
UTF-8
Python
false
false
3,153
py
import math from IPython.display import display import sys from BM25implementation import QueryParsers ALPHA = 0.75 NORMALIZE_PROBABILITY = True class UnigramLanguageModel: def __init__(self, tweets_data): #tweets is a pandas dataframe self.tweets_data = tweets_data self.wordsCollectionFrequencyD...
[ "chiayik_tan@mymail.sutd.edu.sg" ]
chiayik_tan@mymail.sutd.edu.sg
c1e59c62d04cb617cee1181bdc687ea5152a9f88
86133ba216191a0b63eeddd4669846c597ec68be
/python/lsst/iip/AuditWeb/messages/display/migrations/0002_auto_20170609_1537.py
2e1f05d60c0dbcd7aa49a3970bbcb90f08e4a7e1
[]
no_license
batmanuel-sandbox/ctrl_iip
a4898f830a3c007ba58ef755ee269f2b138ca7e8
9f6ab8b9e1da994b719c62c9390941b6176b01a6
refs/heads/master
2020-03-17T18:50:44.104639
2018-04-12T13:05:05
2018-04-12T13:05:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
705
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.2 on 2017-06-09 15:37 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('display', '0001_initial'), ] operations = [ migrations.RemoveField( mod...
[ "estherwuying@gmail.com" ]
estherwuying@gmail.com
04b1c38f198cef269dfcbb6e64d9d206b337bd6b
14d0ab117566a725f110683dc177bcc3cf143641
/Data_loader.py
e4f15f746b84f6a8dc116581869c788d9e2faac3
[]
no_license
mzarejko/Fighter_bot
bc1fe3d174e5c9f880439b2bb1094e3cd545061c
a397802e53a841dbade92c2e89ef992c8809f866
refs/heads/master
2023-05-14T06:26:19.825920
2021-06-04T20:14:47
2021-06-04T20:14:47
288,153,877
0
0
null
null
null
null
UTF-8
Python
false
false
4,124
py
import Settings from mss import mss import cv2 import numpy as np import pickle import os import cv2 import time import shutil import matplotlib.pyplot as plt class Data_loader: ''' class for saving, creating, loading data updating work base on Data_updater ''' def __init__(self, label_idx=None...
[ "haker@vostro.home" ]
haker@vostro.home
768eef9b25ec968182d16d8bdb7c6042e49fe175
60bd978c8a74b284110748ba7fe60b7e99668485
/LabConector/settings.py
a850207339d593f3b4e833d2ced65c2c3ca479bb
[]
no_license
jesusceron/phr-s
be0a22a22b35e17690d6425ae466280b1a6adaf0
c32efae76eb7dcaea144cb801993b79971f5ef48
refs/heads/master
2021-01-22T10:18:32.294336
2014-06-11T22:58:12
2014-06-11T22:58:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
557
py
from django.conf import settings # top-level setttings SUBMODULE_NAME = 'autismscreening' INDIVO_SERVER_OAUTH = { 'consumer_key': SUBMODULE_NAME+'@apps.indivo.org', 'consumer_secret': SUBMODULE_NAME } INDIVO_SERVER_LOCATION = settings.INDIVO_SERVER_LOCATION INDIVO_UI_SERVER_BASE = settings.INDIVO_UI_SERVER_BASE # ...
[ "jdceronbravo@gmail.com" ]
jdceronbravo@gmail.com
95af48986e6360c3a10016b67e4c6662719e3910
90f223fecb93da48cccaeec51b99b23e77a05b43
/bases_2021_1S/Grupo 06/server/Fase1/storage/storageManager/storage.py
7f9e5dc92a119e320568e8dc9ba7ab280c63c9c9
[ "MIT" ]
permissive
ByLy23/tytus
646c08a939b88acdf26a261837f63da1b65ccb4a
93a3e1127d399554fd8a3f6f5f287aa7ac23efc2
refs/heads/main
2023-05-09T03:30:37.708123
2021-06-02T02:06:24
2021-06-02T02:06:24
322,924,013
0
0
MIT
2021-06-02T02:06:24
2020-12-19T19:35:58
Python
UTF-8
Python
false
false
78,090
py
# ------------------------------- # Released under MIT License # Copyright (c) 2020 TytusDb Team 18 from Fase1.storage.storageManager.avl import avlMode as avl # from avl import avlMode as avl # fro from Fase1.storage.storageManager.b import BMode as b # from b import BMode as b from Fase1.storage.storageManager.bplus...
[ "pascodom@gmail.com" ]
pascodom@gmail.com
c563ebf7c8f48e07c6f75e980fe4f341bf47c19f
25ebc03b92df764ff0a6c70c14c2848a49fe1b0b
/daily/20180703/example_resumable/05handler_cli.py
391b49df85d96e1dc81fa2dd64d1562ecb57edaa
[]
no_license
podhmo/individual-sandbox
18db414fafd061568d0d5e993b8f8069867dfcfb
cafee43b4cf51a321f4e2c3f9949ac53eece4b15
refs/heads/master
2023-07-23T07:06:57.944539
2023-07-09T11:45:53
2023-07-09T11:45:53
61,940,197
6
0
null
2022-10-19T05:01:17
2016-06-25T11:27:04
Python
UTF-8
Python
false
false
489
py
import csv import sys def main(args): yield from run(args.input) def run(itr): yield ["x", "x*x"] for x in itr: x = int(x) yield {"x": x, "x*x": x * x} if __name__ == "__main__": import argparse parser = argparse.ArgumentParser() parser.add_argument("--input", action="appen...
[ "ababjam61+github@gmail.com" ]
ababjam61+github@gmail.com
058b037d0b0d3b509ff76eb7bf58363bb8ba915b
fc02b2f532fbf87243c3058862bc6efe4318cc4e
/openstack/tests.py
ad95fb3fe946d99168c1afce4323dbd80c17764f
[]
no_license
strongit/cmdb-2
26ed30314346674c4fe4c6e42f3cc7e09ad6f244
2d1f29ffc245ea56f77f64a2d97cf6d5e5a3e659
refs/heads/master
2021-01-14T10:18:39.616019
2016-07-23T09:30:05
2016-07-23T09:30:05
82,017,417
1
0
null
2017-02-15T03:41:38
2017-02-15T03:41:38
null
UTF-8
Python
false
false
2,351
py
from django.test import TestCase from openstack import identityapi # Create your tests here. if __name__=='__main__': print "test authenticate" r=identityapi.authenticate('40.40.40.187',5000,'admin','admin','secrete') print r['tokenId'] print r['expires'] print r['tenantId'] tokenid=r['tokenId'...
[ "qsm365@gmail.com" ]
qsm365@gmail.com