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
3129c685b29c51fb57e952d3b3a7fe68f9796ef0
950863fecff0b39ca7afa77f0df4a8e5b1d4702a
/bin/bin.py
ce18e798d42c42e4331c06d660d0db0e5f621531
[]
no_license
CkyBlue/ADT_Wise
b8fc9487ed4ed4529fca069077a912d10db318f7
9aa885911aa5d46d6fc09287016cdc6d51b7ef68
refs/heads/master
2021-07-06T03:19:49.740118
2019-04-04T05:37:48
2019-04-04T05:37:48
142,835,769
0
0
null
null
null
null
UTF-8
Python
false
false
732
py
class func(): def __init__(self, parameters): self.p = parameters self.log = [] self.log.append("Firing") return self.fn1 def fn1(self): self.log.append("All done") return lambda x: False class Queue(): def doSmth(self, par): return func(par) class Model(): pass class Prompt(): pass class View(...
[ "sakrit.karmacharya77@gmail.com" ]
sakrit.karmacharya77@gmail.com
0688a52f8ae4c05f203b5eebe0b2d75375d55d27
0ba42fcdc96edcbae4682b52c2c919e56e12db6f
/qurator/sbb_ner/models/tokenization.py
d3ebf20096fc8df9d136989fbc9f59cb54a60efc
[ "Apache-2.0" ]
permissive
qurator-spk/sbb_ner
f9b4e8807befa4db959dfe867dcc4fa57278e1bc
d7d6d612803819c44942295f0b4e34f0925c1a52
refs/heads/master
2023-02-07T13:43:54.886989
2023-02-01T08:00:31
2023-02-01T08:00:31
204,686,076
14
1
Apache-2.0
2022-06-10T08:08:27
2019-08-27T11:11:58
Python
UTF-8
Python
false
false
17,276
py
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # # 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/LICEN...
[ "Kai.Labusch@sbb.spk-berlin.de" ]
Kai.Labusch@sbb.spk-berlin.de
4f119652f96bb3fe74c40c0185c5a5b58e1155f7
41e9d6edf49701c62471bddf2a5ccd041ec5c31e
/libraries/website/docs/snippets/ml/zero_profiling.py
b0ea002fadbe1a65cea32d0b23b49d5850a9c526
[ "MIT", "Apache-2.0" ]
permissive
Guillemdb/mathy
b0fc5537aa267c4e9f386d36d3c17ff74fd4d0ab
06204396ac39445b732c199078076b18fd1bbccc
refs/heads/master
2021-05-22T18:57:59.097614
2020-04-02T19:25:55
2020-04-02T19:25:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
618
py
#!pip install gym import os import shutil import tempfile from mathy.agents.zero import SelfPlayConfig, self_play_runner from mathy.cli import setup_tf_env model_folder = tempfile.mkdtemp() args = SelfPlayConfig( num_workers=1, profile=True, model_dir=model_folder, # All options below here can be dele...
[ "justin@dujardinconsulting.com" ]
justin@dujardinconsulting.com
2b43980f401fc20884576fe5b39260203c3a7de9
ab79f8297105a7d412303a8b33eaa25038f38c0b
/imersia/vit_product/stock.py
d8ccbb76ecfe1daf893e0694292440f3b1ff45a0
[]
no_license
adahra/addons
41a23cbea1e35079f7a9864ade3c32851ee2fb09
c5a5678379649ccdf57a9d55b09b30436428b430
refs/heads/master
2022-06-17T21:22:22.306787
2020-05-15T10:51:14
2020-05-15T10:51:14
264,167,002
1
0
null
2020-05-15T10:39:26
2020-05-15T10:39:26
null
UTF-8
Python
false
false
5,172
py
import time from openerp.osv import fields from openerp.osv import osv from openerp.tools.translate import _ from openerp import SUPERUSER_ID from openerp.tools import DEFAULT_SERVER_DATETIME_FORMAT, float_compare class StockMove(osv.osv): _inherit = 'stock.move' def _src_id_de...
[ "prog1@381544ba-743e-41a5-bf0d-221725b9d5af" ]
prog1@381544ba-743e-41a5-bf0d-221725b9d5af
6343752dd269bc7d88d0650fcc42fd02bb191453
e3365bc8fa7da2753c248c2b8a5c5e16aef84d9f
/indices/1760.py
751381d98be1f23c884db62b177e89e978aaa771
[]
no_license
psdh/WhatsintheVector
e8aabacc054a88b4cb25303548980af9a10c12a8
a24168d068d9c69dc7a0fd13f606c080ae82e2a6
refs/heads/master
2021-01-25T10:34:22.651619
2015-09-23T11:54:06
2015-09-23T11:54:06
42,749,205
2
3
null
2015-09-23T11:54:07
2015-09-18T22:06:38
Python
UTF-8
Python
false
false
512
py
ii = [('CookGHP3.py', 1), ('CoolWHM2.py', 1), ('SadlMLP.py', 5), ('ShawHDE.py', 1), ('UnitAI.py', 1), ('PeckJNG.py', 1), ('AubePRP.py', 13), ('AdamWEP.py', 1), ('FitzRNS3.py', 1), ('ClarGE2.py', 53), ('CookGHP2.py', 4), ('CrokTPS.py', 1), ('ClarGE.py', 16), ('LyelCPG.py', 13), ('WestJIT2.py', 3), ('WadeJEB.py', 12), ('...
[ "prabhjyotsingh95@gmail.com" ]
prabhjyotsingh95@gmail.com
b39b9496da392e9f5dd5eabdfe28dd6fba4660d3
c3d162c4c88e86844f7768c15ff59f464e5ae773
/src/get_stats.py
f33067bba8a86e7894d5150887d85fe6d4a805e3
[ "MIT" ]
permissive
chipgwyn/xfinity_gateway_stats
4a623d0b5ffc9178fd0cec0bb8a3279393fc39b0
6575ff8b4eca193898d3c711885b9a066c51bc2a
refs/heads/main
2022-12-26T10:41:51.021476
2020-10-11T16:16:55
2020-10-11T16:16:55
301,253,967
1
0
null
null
null
null
UTF-8
Python
false
false
197
py
#!/usr/bin/env python3 import os import xfg import json password = os.getenv('XFG_PASSWD', "password") connx = xfg.Session(password=password) print(json.dumps(connx.xfinity_network(), indent=2))
[ "chip@verizonmedia.com" ]
chip@verizonmedia.com
e766b2d9fcef852a0135fd9e7ea6a38a3e1fa9d3
7477988df9650b20503812d4199eb217085f0e89
/abramov/ABR0006.py
782ac550b987d6b6635767d6cfe2748f62a71bec
[]
no_license
nyamba/algorithm
2aa97f2ff1d2b0a6ff50066ebeeca6871eab99b3
9d9577442d84d3f7cf30df5cb5899409356c6680
refs/heads/master
2021-01-01T18:03:24.406987
2014-02-11T04:49:28
2014-02-11T04:49:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
223
py
def calc(a, b): ''' >>> calc(1.6, 2.74) 3.2 2.2 ''' print '%.1f' % ((a**2 + b**2)**0.5) print '%.1f' % ((a*b)/2.0) if __name__ == '__main__': calc(*[float(i) for i in raw_input().split()])
[ "t.nyambayar@gmail.com" ]
t.nyambayar@gmail.com
7ecbe0b308cb8371f7ee5198762f1a81ddafae19
fca80c6a22bcce507a81e05cd31e0d5ebbc43a57
/Chapter_05/samples/guestPicnic.py
cfe00f043c0535219fe766ef773df1d474944cd1
[ "MIT" ]
permissive
GSantos23/Automate_Python
6b1ce29f1ee5a22b53ef6c1d45fef56d8d8e0b06
4bf3eadb5a330d5f22329bdcd08d37ab01a9454f
refs/heads/master
2021-06-29T04:12:32.910835
2020-12-26T22:28:31
2020-12-26T22:28:31
197,512,449
1
0
null
null
null
null
UTF-8
Python
false
false
661
py
allGuests = {'Alice': {'apples': 5, 'pretzels': 12}, 'Bob': {'ham sandwiches': 3, 'apples': 2}, 'Carol': {'cups': 3, 'apple pies': 1}} def totalBrought(guests, item): numBrought = 0 for k, v in guests.items(): numBrought = numBrought + v.get(item, 0) return numBrought print('Number of things being brou...
[ "santosgerson64@gmail.com" ]
santosgerson64@gmail.com
a8161c8a1801653604c64a4f70918d8ca1a7016e
42165f51c0c7f467c49794e3f6ca09ef13f6ab1e
/SMSpoll/login/views.py
2e471e771b2e66c11602341f259128b1eb4a66ee
[]
no_license
kedark3/SMSpoll
e4969cca0cc6645fd7f091b297c33e2e34e0326c
dcfd08326c826bfe33a2fcd780bd322b3edfb888
refs/heads/master
2021-01-10T08:53:40.899448
2018-12-05T02:33:43
2018-12-05T02:33:43
44,923,741
1
0
null
null
null
null
UTF-8
Python
false
false
15,274
py
# Create your views here. from __future__ import division from django.http import HttpResponse,HttpResponseRedirect from django.template import Template, Context from file_read import read from csv_write import csv_write import MySQLdb as msdb from models import InstReg,StudReg,InstCourse,Course, ClassTest from twilio....
[ "kedar.kulkarni0@gmail.com" ]
kedar.kulkarni0@gmail.com
49a444041a14c567034fd6e3f60a77a4c2427966
0ee2d0a08f08997a2cfa7d65549a08bf7b82bbd2
/accounts/views.py
72db3d94bf3cab0bb255d9626ede9d8bb29e27a1
[]
no_license
drogon98/tutorial
9f4742efbdf0d70c7756197c98fb5f0fc3b7362a
9eb486ed23279c30e734bd52e1bc982ddf669bbe
refs/heads/master
2022-07-08T11:21:05.912755
2019-01-10T12:28:46
2019-01-10T12:28:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,829
py
from django.shortcuts import render,reverse from django.http import HttpResponse,HttpResponseRedirect from .forms import ( RegistrationForm, EditProfileForm, ) from django.contrib.auth.forms import PasswordChangeForm from django.contrib.auth import update_session_auth_hash from django.contrib.auth....
[ "ndegwaharryxon1998@gmail.com" ]
ndegwaharryxon1998@gmail.com
c694b3c710fa1d7d763f6b5b2c107b194a665936
564d6a4d305a8ac6a7e01c761831fb2081c02d0f
/sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_11_01/aio/operations/_route_tables_operations.py
adc44f5b31718ed15851b48a3e9e38cdbd048214
[ "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later", "MIT" ]
permissive
paultaiton/azure-sdk-for-python
69af4d889bac8012b38f5b7e8108707be679b472
d435a1a25fd6097454b7fdfbbdefd53e05029160
refs/heads/master
2023-01-30T16:15:10.647335
2020-11-14T01:09:50
2020-11-14T01:09:50
283,343,691
0
0
MIT
2020-07-28T22:43:43
2020-07-28T22:43:43
null
UTF-8
Python
false
false
25,722
py
# 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) AutoRest Code Generator. # Changes may ...
[ "noreply@github.com" ]
noreply@github.com
26d639c4fbab5876c769b3ea6ae7da455fd84403
1f7847055332e16614f5358f0ec39b39bb9a66a7
/exercises/12_oop_inheritance/test_task_12_4.py
ec440e80a177b6ac47dabd01f370487663a50659
[]
no_license
satperm/advpyneng-examples-exercises
6641dae31fa7f44db7e99547bc70d740988f21b9
6b12c320cace1d303dae38ddba9b19550a8708ec
refs/heads/master
2022-12-14T09:28:48.255804
2020-09-06T14:14:42
2020-09-06T14:14:42
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,911
py
import pytest import task_12_4 import sys sys.path.append('..') from common_functions import check_class_exists, check_attr_or_method def test_class_created(): check_class_exists(task_12_4, 'OrderingMixin') def test_special_methods_created(): class IntTest(task_12_4.OrderingMixin): def __init__(sel...
[ "nataliya.samoylenko@gmail.com" ]
nataliya.samoylenko@gmail.com
cd9bb1eb10be89931f7564472027e88621ad041e
8143bfdbda6fdbef40bc570f48773edd365fcb62
/project/Kyb-TestProject/businessView/loginView.py
895c338f89df61341cca470210d9b35b905c1f74
[]
no_license
CaptainJi/Kyb-TestProject
199caef0f1e58d6bb45273114596daf6ebdc424c
38d200d4d8436d4ad699682c3606f035446093cc
refs/heads/master
2022-10-16T15:36:20.499879
2020-06-06T07:06:22
2020-06-06T07:06:22
259,554,471
0
0
null
null
null
null
UTF-8
Python
false
false
2,798
py
import logging from common.commonFun import Common, NoSuchElementException from common.desiredCaps import appium_desired from selenium.webdriver.common.by import By # 封装登录业务逻辑类 class LoginView(Common): # 获取用户名、密码输入框元素 username_type = (By.ID, 'com.tal.kaoyan:id/login_email_edittext') password_type = (By.I...
[ "jiqing19861123@163.com" ]
jiqing19861123@163.com
b6f6432a451ac396f4378d34ae642e68e475e1e3
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/machinelearningservices/v20210101/get_aks_service.py
d436cd9c6fca64cd385942d716820e2980e1cc9c
[ "BSD-3-Clause", "Apache-2.0" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
5,922
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 fro...
[ "noreply@github.com" ]
noreply@github.com
76c03caa2147554d79216e2095e861e2d45ac88e
570c6633045d84ab681319acd41fedfd2ad04d95
/pages/login_page.py
17b5aed411139154def5a4bde1af627939bedf28
[]
no_license
mlozowska/automationpractice
60351d3398286cc1529b374fd3e426c5919593ef
5a6f2d6e40fd438c2c0a070f3206c18bd6d380cc
refs/heads/main
2023-02-10T18:32:50.246882
2021-01-08T20:20:09
2021-01-08T20:20:09
316,590,030
1
0
null
null
null
null
UTF-8
Python
false
false
687
py
from selenium.webdriver.common.by import By from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC from pages.base_page import BasePage class LoginPage(BasePage): email_selector = (By.ID, "email") password_selector = (By.ID, "passwd") si...
[ "noreply@github.com" ]
noreply@github.com
a17ff98c13deb171611269acdc6d017228a1a35c
3ce4e436ea3b124543b0b9102f86cbeb7f5ec0a3
/demo/NotebookUtils.py
a03c4cf2f7b864c15fa44cd413e0badea1751504
[]
no_license
EQ4/mir_utils
01feb1835e4b118a223196da59e3529d443fa005
6d2153f466c831a715579b721b6c78abbe9c5990
refs/heads/master
2020-12-03T05:11:48.247160
2015-07-08T12:23:38
2015-07-08T12:23:38
44,550,947
1
0
null
2015-10-19T17:19:08
2015-10-19T17:19:08
null
UTF-8
Python
false
false
8,731
py
from IPython.display import HTML import numpy as np import matplotlib matplotlib.use('Agg') import matplotlib.pylab as plt import io import base64 # soundcloud player embedded_player_soundcloud = '<iframe width="100%" height="{1}" scrolling="no" frameborder="no"' + \ 'src="https://w.sou...
[ "alexander.schindler@slychief.com" ]
alexander.schindler@slychief.com
93d2f68025d7de1391004e92dc70bd485daaf7c6
cc909ddfeef7104f9ab8312ec55062ae5f880cc2
/algorithm-study/study/bigNumber.py
9af48f163edd687f064269759ded9d9e51184202
[ "MIT" ]
permissive
Seongkyun-Yu/TIL
2faebc82932a039a52e892d415e265eb04ea9c32
0098a38d32b8c40e75f4173254d2c23fff62a4ec
refs/heads/master
2023-09-02T04:02:53.767439
2023-09-01T16:04:43
2023-09-01T16:04:43
234,017,423
2
0
MIT
2023-03-04T15:22:10
2020-01-15T06:51:10
JavaScript
UTF-8
Python
false
false
273
py
n, m, k = map(int, input().split()) numbers = list(map(int, input().split())) numbers.sort(reverse=True) result = 0 count = 0 index = 0 for _ in range(m): count += 1 index = 0 if count > k: index = 1 count = 0 result += numbers[index] print(result)
[ "ysungkyun@gmail.com" ]
ysungkyun@gmail.com
4c15bf757d374d5e5c239580434f90d6b8c3c0d3
c3cbafe782e44b5c514e65bc57f7366e78354474
/ex_script2.py
55d5b143e892c75f1005e4b1d90ca43bcd76f5e5
[]
no_license
michaelbell1011/bootcamp_hwk3_python
bf37da17b2b2ebcfcbf1227a5c4382051c338215
51ceca30e8613ebe7115fac7980920bb0607a424
refs/heads/master
2020-03-24T12:00:29.622835
2019-01-27T23:30:41
2019-01-27T23:30:41
142,700,983
0
0
null
null
null
null
UTF-8
Python
false
false
646
py
# * Create a dictionary to store the following: # * Your name # * Your age # * A list of a few of your hobbies # * A dictionary of a few times you wake up during the week # * Print out your name, how many hobbies you have and a time you get up during the week personal_info = { "name": "Michael Bell", ...
[ "michaelbell1011@gmail.com" ]
michaelbell1011@gmail.com
b6c38dbb18271645e5e811b27aa5e9b3529daa0d
fed4606ed87fb67214b96c17679731ff9799de72
/envFilm/Scripts/django-admin.py
550bd7161434a30001b104c13cae2dbaa0aedfc2
[]
no_license
xKaterina/films
8f3dd2c46a901e2075738ca1551dc726f675ebc2
8105ba5697ea4ad1c6e5a5abcfd2795208111668
refs/heads/master
2020-03-07T19:28:13.273194
2018-04-05T08:27:13
2018-04-05T08:27:13
127,671,436
0
0
null
null
null
null
UTF-8
Python
false
false
161
py
#!c:\pythonproject\filmsenv\envfilm\scripts\python.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
[ "ekaterina.kalachnikova@gmail.com" ]
ekaterina.kalachnikova@gmail.com
ce3aea9787e33c1377f9a0450ca3aa11540c041c
6abc8ca8ea3dd4bcb58d44ef5d9b10a222898d8c
/Lecture3/examplelec3.py
c67d3213f46350ce3fc75796aeed0e950963dc7d
[]
no_license
addisonv/SI364
ed31167a9a67162f25ba8cc669cec38102728a93
313e1150cd495e82a48e2e11370e45f0d5c092b2
refs/heads/master
2021-05-13T17:44:35.708613
2018-02-19T02:04:58
2018-02-19T02:04:58
116,834,667
0
0
null
null
null
null
UTF-8
Python
false
false
751
py
from flask import Flask, request, render_template, url_for app = Flask(__name__) @app.route('/oranges') def lemons(): title_var = "My Ice Cream Form" options = ['Chocolate', 'Vanilla', 'Superman', 'Pistachio', 'Butter Pecan'] return render_template('seeform.html',title=title_var, lst_stuff=options) @app....
[ "addisonv@umich.edu" ]
addisonv@umich.edu
b65f96bee6c891e742a26f9d3d76f59dec94b3e2
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/cdn/v20200331/_enums.py
656075cbb5232d664bcd6a85457bace0d55ba8c4
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
10,641
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! *** from enum import Enum __all__ = [ 'ActionType', 'CacheBehavior', 'CacheType', 'CookiesOperator', 'CustomRuleEnabledState', 'De...
[ "noreply@github.com" ]
noreply@github.com
9deed2e10501ba1a8d6f3c0f052412d7cbb1bb3d
dd097c7ae744227b0312d762ee0482a3380ff8c6
/plot_tg.py
9f751bebfaa64b4b76be445e5325e06e65df06b0
[]
no_license
moflaher/workspace_python
0d6e98274d923a721db2b345f65c20b02ca59d08
6551e3602ead3373eafce10d11ce7b96bdcb106f
refs/heads/master
2023-03-06T02:15:01.945481
2023-03-01T19:15:51
2023-03-01T19:15:51
20,814,932
3
4
null
null
null
null
UTF-8
Python
false
false
7,079
py
from __future__ import division,print_function import matplotlib as mpl import scipy as sp from folderpath import * from datatools import * from gridtools import * from plottools import * from projtools import * from stattools import * import interptools as ipt import matplotlib.tri as mplt import matplotlib.pyplot as ...
[ "073208o@acadiau.ca" ]
073208o@acadiau.ca
965aa37a6c591e7b8311628628acd353092d440d
8ef7e34b930e4a5e3e0913d41471c6affaa7e416
/papier.py
2f23bd8efc523a298d9ed2069c9a5fc02c685d20
[]
no_license
Lanranyan/Hello-World
a4ecb46bb535d149a842cfa3b0817e5846a383e2
726341a17812e2371ecff58a1f3bba540cff8415
refs/heads/master
2020-04-05T00:35:27.398201
2019-03-07T15:45:57
2019-03-07T15:45:57
156,403,119
0
0
null
null
null
null
UTF-8
Python
false
false
3,257
py
import random from textlist import text from textlist import word_w def gallows(penal): if penal == 0 : gal = " _______| \n"\ " | \n"\ " | \n"\ " | \n"\ " | \n"\ " | \n"\ ...
[ "noreply@github.com" ]
noreply@github.com
edf73b1370276c264df1373158286010c38bb3be
705867264a495a465caabecf3a9cf0b63b2f66de
/madagascarBuild/SConstruct
d35831b811128c6119f4b69a12c3ad8c6892dd35
[]
no_license
AtilaSaraiva/Simple-Madagascar-Curvelet-Example
ab39d352333937a9ad8d675a85a42f61bca9b3ae
99f76a5d079c35d9716ee78b1faea9a9d535a845
refs/heads/main
2023-04-17T09:34:24.766989
2021-04-30T00:12:50
2021-04-30T00:12:50
362,979,537
0
0
null
null
null
null
UTF-8
Python
false
false
508
from rsf.proj import * Flow("aux1", None, """ spike n1=400 n2=400 d1=10 d2=10 mag=200 """) Flow("aux2", None, """ spike n1=400 n2=400 d1=10 d2=10 mag=400 k1=200 l1=400 """) Flow("testInputData", ["aux1", "aux2"], """ add mode=a ${SOURCES[1]} ""...
[ "atilasaraiva@gmail.com" ]
atilasaraiva@gmail.com
e9f00fdd384785ab473b0134aad8cfffa1a927f6
cc5cbad34c7e26353078f1748b6f3990adc16802
/02 Keithley SourceMeter 2450/Triple Linear Resistance Measurement/v3.0 Triple Linear Resistance Measurement/Sub_Scripts/Sweep.py
a2abefce5f30fd7099fcc4e64207593505be02df
[]
no_license
Brucewanghahei/QMD_Old_Programs
a51c8520f2b13b0e2ae9a57c053a9032cd4684ee
c67e7e95a4f3237bd5688c0b97a206d5c516335b
refs/heads/master
2021-08-31T16:05:08.548584
2017-12-22T01:00:18
2017-12-22T01:00:18
115,060,673
0
0
null
null
null
null
UTF-8
Python
false
false
15,101
py
import visa import numpy import time from PyQt4.QtCore import * from PyQt4.QtGui import * resistance_first_scale = [] resistance_second_scale = [] def analyze(data, sweep, time_difference, length_first, length_second): for i in range(0, len(data)): data[i] = float(data[i]) to...
[ "qw68@duke.edu" ]
qw68@duke.edu
6c994eefb57372a1ba505e2542327a5df12e8340
84968116f79f6de461815134bdd6a516e5d5137f
/Challenge_3.py
4aaa279d19a78acd942103400b3ba0ad2c0e7cbb
[ "Unlicense" ]
permissive
BradRiley15/Chapter_6
ba51150c2ee6dcfa47fe247faa59a3312aa6c9e9
dfaf1d378e6cb41b542487867f3a209e44c7d60b
refs/heads/master
2021-01-21T09:49:45.664649
2014-12-09T17:57:11
2014-12-09T17:57:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,174
py
# Guess My Number # # The computer picks a random number between 1 and 100 # The player tries to guess it and the computer lets # the player know if the guess is too high, too low # or right on the money import random print("\tWelcome to 'Guess My Number'!") print("\nI'm thinking of a number between 1 and 100.") pr...
[ "briley@stcharlessd.org" ]
briley@stcharlessd.org
af141e3ca97b2e8d1bed73aa747531ee5683400d
638d957ed8f3c5a054752510e5d01b2bd86adc25
/cluster/util/PropertyUtil.py
d3e5d0ef79bc87a4faf90cf76a45ac1f69e53e68
[]
no_license
tuan08/datatp
3bfed7c6175fe3950659443ebc1a580b510e466a
7d7ff6bed36199627b143d37dd254cdb6dbf269c
refs/heads/master
2020-04-12T06:22:53.010673
2016-12-07T03:19:53
2016-12-07T03:19:53
62,194,565
3
1
null
null
null
null
UTF-8
Python
false
false
1,294
py
class PropertyUtil(object): @staticmethod def traverseAndResolvePropertyExpression(obj, properties): if isinstance(obj, (int, long, float, complex, bool, basestring)): return for name in obj.__dict__.keys(): val = getattr(obj, name); if type(val) in (int, long, float, complex, bool): ...
[ "tuan08@gmail.com" ]
tuan08@gmail.com
d39c0d09a7cdb6fc684b67bd725ff45268bda5d2
c2e1531e81ea8dbc4b611578e7c88657fcee6f28
/connect.py
f974cee08bfdd50d52ce984ec7503c335c174a98
[]
no_license
edumigsoft/level_sensor_8
93035dc1e89e1b58382b0fe5fdac765d94ce6536
ddc848fc6104ca347856a8aa6e50b0704b5d1204
refs/heads/master
2020-05-15T14:37:55.936362
2019-04-20T01:05:30
2019-04-20T01:05:30
182,343,547
0
0
null
null
null
null
UTF-8
Python
false
false
709
py
# # # import const import network import time def do_connect(): sta_if = network.WLAN(network.STA_IF) #cont = 10 if not sta_if.isconnected(): print("Connecting to network") sta_if.active(True) sta_if.connect(const.WIFI_SSID, const.WIFI_PASS) while not sta_if.isconne...
[ "asa.sousa@gmail.com" ]
asa.sousa@gmail.com
65bae85e5f211f68dac062b36b9bdcdef73b06a0
c84fcf07fd247a4db23ee3265be9d4dd07898cbd
/python/ossid/models/dtoid/anchors.py
3af0efba6b0bbd9f10677628b3512261dacbae95
[ "LicenseRef-scancode-unknown-license-reference", "MIT" ]
permissive
r-pad/OSSID_code
df526724a59e6a99be089155a184a29301688f99
b80d429a3fa4464a69a78dc2112d52b4f05d0dfe
refs/heads/master
2023-05-23T12:40:09.736043
2022-04-03T17:37:52
2022-04-03T17:37:52
461,322,063
4
1
null
null
null
null
UTF-8
Python
false
false
4,167
py
import numpy as np import torch import torch.nn as nn class Anchors(nn.Module): """ Forward pass will return all anchor boxes for one batch """ def __init__(self, pyramid_levels=None, strides=None, sizes=None, ratios=None, scales=None): super(Anchors, self).__init__() self.pyramid_lev...
[ "georgegu1997@gmail.com" ]
georgegu1997@gmail.com
584e264356b6fd4ecd85aae9114043516fb0c2cd
da816fd4e6759d9e71b4ed0e5bd5e50e9a2717fc
/main.spec
5ce28285703559dd6a949d00cb7ca74aea914e2d
[]
no_license
bjfishman/SENCO-AI
51b33f238a4a25f7f725036bcb6145abe106e7cc
64b6783d064a4d8e4ebaa309f0537c63c5d6beef
refs/heads/main
2023-06-05T09:35:21.144403
2021-06-25T16:38:38
2021-06-25T16:38:38
380,298,087
0
0
null
null
null
null
UTF-8
Python
false
false
926
spec
# -*- mode: python ; coding: utf-8 -*- block_cipher = None a = Analysis(['GPT3_test_main.py'], pathex=['A:\\Surfdrive\\Shared\\Fishman, Ben\\Working folder\\03_Prototype'], binaries=[], datas=[], hiddenimports=[], hookspath=[], runtime_hoo...
[ "86485504+bjfishman@users.noreply.github.com" ]
86485504+bjfishman@users.noreply.github.com
2e878fe21ec78d6737e56f3b4727b5c424bd919d
7556d479f6edce45437dba96ab3b8a2becf72f92
/oasis.py
ba76191896be707fdbbb1dfc248744e0c85f6197
[]
no_license
kckennylau/Oasis
593901da4dc8f5f018925d841db4b4e18f023ea7
8af972b5835040d0a213696690070f38b5b61b3d
refs/heads/master
2020-12-14T07:19:37.127185
2016-08-31T13:17:27
2016-08-31T13:17:27
67,039,988
0
0
null
2016-08-31T13:29:57
2016-08-31T13:29:57
null
UTF-8
Python
false
false
8,043
py
import ast import argparse import sys import math from primes import * from commands import * code = "" elements = [] selector = [] sys.setrecursionlimit(5000) def func_a(n): stack_len = 0 if DEBUG and selector: print("selector >> " + str(selector)) stack = [] def pop_stack(num_s=1, n2=n, ...
[ "Adriandmen@users.noreply.github.com" ]
Adriandmen@users.noreply.github.com
0f024db601cead40864a278ca35e5a1dd113bda3
07feb97d13fbb77ccebf42fd5995fbcc0845846f
/CK_CLJK/AZZLGL/test_AZZLGL.py
64107abdfc052328d97121c9b78dd5b906096973
[]
no_license
DebugChen/Web-UI
da80be200c6722b189533106dbd9617d6b685266
df3920e97047b94ddcb948e9a70ccb6aa2b803cf
refs/heads/master
2023-03-05T07:13:33.358133
2021-02-19T09:28:29
2021-02-19T09:28:29
340,285,843
0
0
null
null
null
null
UTF-8
Python
false
false
13,276
py
import os from BeautifulReport import BeautifulReport from selenium import webdriver import time import unittest from selenium.webdriver import ActionChains from selenium.webdriver.common.keys import Keys class MyTestCase_CLJK_AZZLGL(unittest.TestCase): '''车辆监控平台-安装资料管理模块-测试集''' # 自定义截图方法 def save_img(se...
[ "usernameXXX@gmail.com" ]
usernameXXX@gmail.com
14efb8cee258c21c5bcdc133aee730b69ced1881
e9e8dc70f8d31b954719b278d2b8946cef0292ec
/Practice/Python/set_union.py
ec1d67815113552ded6f4d26da342a3969ed744e
[]
no_license
AriyanStClair/Hackerrank-Solutions
b280c328e981c0d873859cb5ad65c0725b631733
80547f52477b5db1d66d1922c9fa2bdc28ca0544
refs/heads/master
2021-06-21T06:35:28.163651
2021-03-16T20:28:05
2021-03-16T20:28:05
193,166,273
0
0
null
null
null
null
UTF-8
Python
false
false
902
py
# The students of District College have subscriptions to English and French newspapers. Some students have subscribed only to English, some have subscribed to only French and some have subscribed to both newspapers. #You are given two sets of student roll numbers. One set has subscribed to the English newspaper, # an...
[ "noreply@github.com" ]
noreply@github.com
b1fb1eba5ab3fd2d6e6b1b318459347f3f6d49d6
a3c4d13e0ce264f86632733a7e67d047e49f1e01
/uri.py
f33c4b5b56f8e4220386d74501b5bd649a3ea3a5
[]
no_license
pmbhumkar/cowin-pushbullet
dd5ac46af92f589b1fe4dfd805d4813e55e6f4de
92043652ecf99bdf737596c1d3ec556cf7388c54
refs/heads/master
2023-04-25T11:07:50.160077
2021-05-06T12:09:02
2021-05-06T12:09:02
363,893,568
0
0
null
null
null
null
UTF-8
Python
false
false
88
py
class URI(object): calendar_by_pin = "/v2/appointment/sessions/public/calendarByPin"
[ "Pravin.Bhumkar@emc.com" ]
Pravin.Bhumkar@emc.com
00bda78c7c91a7658095ea1e56b4c40bc19a33c3
d491d39a96974fe4f56a62f23506ecb60e6c3c98
/utils/visual.py
3dc0fad5102a956158debfc07e13f1f5fd1ba5b8
[]
no_license
innerlee/ganbase
a4689e9cd8f12cf6b6dd573d00f3ad18654e078a
77b640a15512f6cc31da673e46943c5678a02779
refs/heads/master
2021-05-02T05:44:52.452277
2019-06-20T09:22:43
2019-06-20T09:22:43
120,847,644
2
2
null
2019-06-23T05:16:37
2018-02-09T02:47:55
Python
UTF-8
Python
false
false
435
py
# -*- coding: utf-8 -*- import numpy as np def show_visdom_line(vis, inputs, legend, win=1, title='loss over time', xlabel='minibatch', ylabel='loss'): if isinstance(inputs, list): inputs = np.array(inputs) y_axis = inputs x_axis = np.arange(y_axis.shape[0]) vis.line(y_axis, x_axis, win=win, ...
[ "xinhang.leng@gmail.com" ]
xinhang.leng@gmail.com
4b1c156a5fbd8b1083a31472220fdd8c0b7d4e3a
cc6e1cce2f0d7fa8eb16f2dc3e90d60575aeac66
/uploader/models.py
1671ef86d98332e6ced4177a5d9084b8f038ada0
[]
no_license
andysitu/p_site
84bd0fa600593a91ea9f67ca9460e0fa4b633049
257386bdf792ea867dbbd9905c7245695ab55a6b
refs/heads/master
2023-06-21T16:30:21.423414
2019-06-26T19:21:56
2019-06-26T19:21:56
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,356
py
from django.db import models import django, os from django.db.models.signals import pre_delete from django.dispatch.dispatcher import receiver from django.conf import settings from django.contrib.auth.models import User class UFileManager(models.Model): name = models.CharField(max_length = 50) count = models.I...
[ "and.situ@gmail.com" ]
and.situ@gmail.com
4c3ab23c18f9d4491755f6abf41148a2ed42fc82
c4702d1a06640555829b367852138cc93ba4a161
/dym_bank_trf_request/wizard/bank_trf_advice_group_old.py
6ef06d317a4c2cef785790f379608629ac9eeabb
[]
no_license
Rizalimami/dym
0ecadf9c049b22ebfebf92e4eab6eaad17dd3e26
af1bcf7b77a3212bc8a8a0e41e6042a134587ed4
refs/heads/master
2020-04-08T10:56:43.605698
2018-11-27T06:44:08
2018-11-27T06:44:08
159,287,876
0
2
null
null
null
null
UTF-8
Python
false
false
3,459
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU...
[ "rizal@portcities.net" ]
rizal@portcities.net
2df4630185cbefd14c9b15aeea7aa3af7e99f6be
4783d07c08dacbe5903b3ff11d0c8ae6a9a92321
/api/serializers.py
1ad36e194589eb745591757e559c337ed92b3e44
[]
no_license
vollcheck/brumbrum
577a9aa6ed064f9825c2ffdab54919bb0ee5dec7
69fcd01a796eabe68dd93314f457467f6f1d995e
refs/heads/master
2023-04-22T16:08:37.201808
2021-04-11T22:21:28
2021-04-11T22:21:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,835
py
import json import socket from urllib.request import urlopen from rest_framework import serializers from api.models import Car, Rating from api.validators import validate_if_car_exists, validate_new_car VEHICLES_API = "https://vpic.nhtsa.dot.gov/api/vehicles/getmodelsformake/{}?format=json" TIMEOUT = 5 # Review no...
[ "j3k.walczak@gmail.com" ]
j3k.walczak@gmail.com
a0006eed1e6a9da936a954b9db707f84ed753258
9bebf632a32b6d623f7141625e1732ce3951d4ab
/program_SSDG_2d_modify_tsne/tsne_val_hallu.py
b8bc3e70b0c522c849830815fc055401027bea22
[]
no_license
r08922128/Face-Anti-Spoofing
110a195c60bed92fe333cb65e98eaba6a0eb1ebe
b733105f95a48329d431da9e7f76c4ee4c4f3d64
refs/heads/main
2023-05-09T16:12:07.028694
2021-05-17T08:21:51
2021-05-17T08:21:51
368,108,785
1
0
null
null
null
null
UTF-8
Python
false
false
9,114
py
import os import os.path from os.path import join import argparse import torch import torch.nn as nn from torch import optim from dataloader import RealFakeDataloader, SessionDataloader, AllDataloader from torch.utils.data import DataLoader #from model_1 import Extractor, Classifier, Discriminator from sklearn.manifold...
[ "r08922128@csie.ntu.edu.tw" ]
r08922128@csie.ntu.edu.tw
ca3322bacd4039bef234187f11f7e7988ff9e0ca
7a88534aea49d86bb94c1aef0c59e90f8ef08577
/AttendanceGUI.py
3d8348c1f7f7d995ee4e8f5f491bc1d6a5f08e9b
[]
no_license
Mohamed-Shaaban/odu-attendance-pi
333de1f607027cec904363c7ea24c1e8ba7b50df
3b6121f7909b0cd56056a6dc679cd2a2fb548203
refs/heads/master
2020-06-09T03:54:55.933628
2019-06-23T15:38:41
2019-06-23T15:38:41
193,365,291
0
0
null
null
null
null
UTF-8
Python
false
false
12,374
py
import json import time import pyqrcode import requests import logging import logging.handlers import os from tkinter import * from configapi import get_config_info as configs from PIL import ImageTk, Image from AnimatedGIF import AnimatedGIF class Window(Tk): cardCode = '' theToken = '' cancel_after_id =...
[ "mohamedshaaban@Mohameds-MacBook-Pro.local" ]
mohamedshaaban@Mohameds-MacBook-Pro.local
c8c29d73cf53a8c88def0aa8dd6b24fe9e953cd5
0e1b725df08a428d9ce1b1bafbc05753fcc24962
/business/register_business.py
e4a79121072f8040a26d55756fca64601ad7c420
[ "Apache-2.0" ]
permissive
Hanlen520/XKAppium
e52a5acd08a6fce1f77008e32a317e917f93eec9
400736df8fdb6a49f8ed1594855344f557beca3e
refs/heads/main
2023-03-18T21:40:26.324135
2021-03-11T05:52:24
2021-03-11T05:52:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
466
py
# -*- coding: utf-8 -*- # @Author : xiaoke # @Email : 976249817@qq.com from appium import webdriver from time import sleep from base.base_driver import BaseDriver class RegisterBusiness: def __init__(self, i): base_driver = BaseDriver() self.driver = base_driver.get_driver(i) ...
[ "noreply@github.com" ]
noreply@github.com
278010849f6c888e86cd9237c60ee0f61c668fd9
9bd687b5454ca7d2b4deb0e149ec7023b2f3b89e
/ebikes/lora/rfm/ll/__init__.py
3ca2c4bfa45a8a729a51f15a13480468039889bb
[]
no_license
AlbertoFDR/EBikes-IoT
57132ff8b059b6d2e5185e241afe7720f96b667f
cd5da02d96ccedb57a9fd3e76d4430a11fd4f4fd
refs/heads/master
2022-12-10T14:02:22.468032
2020-02-11T12:37:59
2020-02-11T12:37:59
225,611,209
3
0
null
2021-06-02T00:45:47
2019-12-03T12:11:18
Python
UTF-8
Python
false
false
760
py
""" LinkLayer submodule """ __author__ = """Alexander Krause <alexander.krause@ed-solutions.de>""" __date__ = "2016-12-28" __version__ = "0.1.0" __license__ = "GPL" class Prototype: conf = None PL = None def __init__(self, cfg, pl): self.conf = cfg self.PL = pl self.PL.setIRQH(...
[ "aratzml@opendeusto.es" ]
aratzml@opendeusto.es
82af1793259868f2a9d4753be5804861e1781ff7
54a7231da06c45aa1c93283520648de8f2769e23
/hubblestack/files/hubblestack_nova/vulners_scanner.py
5f98962ea6a93275a47f8de3d80a39dbaae4e71d
[ "Apache-2.0" ]
permissive
cedwards/hubble-1
4fe80fdf855bb563f7129cd6d3dda3d3a77c1dac
e3459a9fb8424ce9774825653911c3344f834630
refs/heads/develop
2021-01-01T18:31:30.917445
2017-07-25T21:17:44
2017-07-25T21:17:44
98,355,780
1
1
null
2017-07-25T22:37:44
2017-07-25T22:37:44
null
UTF-8
Python
false
false
4,549
py
''' HubbleStack Nova plugin for auditing installed packages. The module gets the list of installed packages of the system and queries the Vulners.com Linux Vulnerability Audit API. The API is described at the link below: https://blog.vulners.com/linux-vulnerability-audit-in-vulners/ :maintainer: HubbleStack / av...
[ "colton.myers@gmail.com" ]
colton.myers@gmail.com
15ae360082178c5a2e06f58d8d6089e457934304
c97f6219c0858f3a901bc1a2443bf7895c688916
/src/segnet.py
657b66c3435b3114cfc1cae10bfb999e874bfd3f
[]
no_license
pq53ui/Project2
a0b7124b5912ea16ca6082bb4fdb52783680dfd0
fa293daf19e73bff0eddfd78393a2da8cf01244f
refs/heads/master
2020-07-12T03:25:28.879912
2019-08-27T13:21:53
2019-08-27T13:21:53
204,704,905
0
0
null
null
null
null
UTF-8
Python
false
false
2,580
py
# -*- coding: utf-8 -*- """SegNet model for Keras. # Reference: - [Segnet: A deep convolutional encoder-decoder architecture for image segmentation](https://arxiv.org/pdf/1511.00561.pdf) """ from __future__ import absolute_import from __future__ import print_function import os import numpy as np from keras.layers im...
[ "zadnikar.maja@gmail.com" ]
zadnikar.maja@gmail.com
45f05ca089913d58bd5488016dafa80a91d9f25f
ca84fefcca1676b45d4171fc1831cf74d6d9fe36
/Anuraag/extension.py
a2a2d7c3296d611a5b6e6927ca9341fe558dd204
[]
no_license
aishik-rakshit/STUD-bot
fb2dab25effb3d8f7510e62f4f3436e6918f5c32
5fcdf17a7a481431e123507df93c466ae657f10b
refs/heads/main
2023-05-08T18:39:47.013824
2021-06-02T07:28:18
2021-06-02T07:28:18
333,859,491
0
0
null
null
null
null
UTF-8
Python
false
false
973
py
from flask import Flask, jsonify, request import time from playsound import playsound # from pydub import AudioSegment # from pydub.playback import play app = Flask(__name__) urls = {} blacklisted = frozenset(["www.youtube.com", "www.facebook.com", "www.instagram.com"]) def url_strip(url): if "http://" in url o...
[ "noreply@github.com" ]
noreply@github.com
98637f480ca2acec508dbfcd02af43563b21ae13
7c8f39c335d98bf7eeaafd3078f1adf82e8de937
/ta7291.py
ee306ddb6fed78608ab96aa9f33c0e96b5f8e078
[]
no_license
u-ono/nyandroid
cd01a18df8fe9c3f22c380ab8e52985f210f9076
6de9e70e86f59819f342dd016b381c1bf425337e
refs/heads/master
2021-05-14T12:21:49.794614
2018-01-08T14:18:04
2018-01-08T14:18:04
116,407,553
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
#!/usr/bin/env python import RPi.GPIO as GPIO import time import sys class TA7291: def __init__(self, pwm, in1, in2): GPIO.setmode(GPIO.BCM) GPIO.setup(pwm, GPIO.OUT) GPIO.setup(in1, GPIO.OUT) GPIO.setup(in2, GPIO.OUT) self.in1 = in1 self.in2 = in2 self.p =...
[ "oono.yuu@gmail.com" ]
oono.yuu@gmail.com
94571bd209d76bc7305447d8753501761edf4885
f4a43d4eead4b1ffb145a27d30eb4b3571f80fed
/moduloGranja/apps/notificaciones/models.py
51c28d8b3d9d6dac12cf817ca2bbbf147fcc743b
[]
no_license
tom-sb/farmManage
256dd968416c5449d52e118ad0e3d3cd8ebdaae9
0f24f4a3f790e30accd70bf0c7876f635e27a9ba
refs/heads/master
2023-02-25T15:22:30.073951
2021-02-05T01:28:48
2021-02-05T01:28:48
298,927,843
0
0
null
null
null
null
UTF-8
Python
false
false
212
py
from django.db import models # Create your models here. class Notificacion(models.Model): mensaje = models.CharField(max_length=50) prioridad = models.BooleanField() def __str__(self): return self.mensaje
[ "fvillanuevanut@gmail.com" ]
fvillanuevanut@gmail.com
8c81e31d33e457d0e89dc65dec99c8eeb4f81c5f
369c1d2f392657ca61b5e7f35239dc9257588c12
/PageLocators/gui_manage_locators.py
b188975b656b375dda69530a6f2dba4866558db2
[]
no_license
Dake-M/boss_web_framework
3028203f58d8408de285f8a5c8d81dd65047aa55
b6905b765d84263439e459d6281cd2440e634cef
refs/heads/master
2020-11-26T07:10:06.005531
2019-12-19T07:30:08
2019-12-19T07:30:08
228,999,055
0
0
null
null
null
null
UTF-8
Python
false
false
2,492
py
# -*- coding: utf-8 -*- from selenium.webdriver.common.by import By class ShowManageLocators: """ 指引管理页面元素信息 """ # 主菜单指引管理 show_manage_menu = (By.XPATH, "//span[text()='指引管理']") # ===========================指引管理页面=========================== # 添加模块按钮 add_module_btn = (By.XPATH, "//span...
[ "604297158@qq.com" ]
604297158@qq.com
2b6c55c91181c7e97e176e24ad5f588c767be731
21bc908a1612e76a32f61d3e3e8865d3025e01f3
/backend/manage.py
aed36335605846b8d24da47b5997edc90131d876
[]
no_license
crowdbotics-apps/damp-sky-27690
422acfb8a5a6df8847d31c40dfcf2dc0ce7b1b7c
c6d0d7277a35d40363155773ed2e2860d5748449
refs/heads/master
2023-05-08T00:48:47.975234
2021-06-02T22:23:20
2021-06-02T22:23:20
373,317,741
0
0
null
null
null
null
UTF-8
Python
false
false
634
py
#!/usr/bin/env python """Django's command-line utility for administrative tasks.""" import os import sys def main(): os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'damp_sky_27690.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: raise...
[ "team@crowdbotics.com" ]
team@crowdbotics.com
02c511b60cde23f482f156867d34247a278e9f14
78ed388a01610359d4554efa046e473a008ba1ae
/hdlConvertorAst/translate/verilog_to_basic_hdl_sim_model.py
0e08a141d10a01eeda1d6dc9d129bc04cf50cc7b
[ "MIT" ]
permissive
mewais/hdlConvertorAst
f9ad85cfb2804c52a1b90642f4c9cede2ce2d3e6
64c8c1deee923ffae17e70e0fb1ad763cb69608c
refs/heads/master
2022-12-09T12:01:23.150348
2020-09-06T04:10:15
2020-09-06T04:15:38
293,200,130
0
0
MIT
2020-09-06T04:03:17
2020-09-06T04:03:17
null
UTF-8
Python
false
false
2,050
py
from hdlConvertorAst.translate._verilog_to_basic_hdl_sim_model.\ add_unique_labels_to_all_processes import AddUniqueLabelsToAllProcesses from hdlConvertorAst.translate._verilog_to_basic_hdl_sim_model\ .verilog_types_to_basic_hdl_sim_model import VerilogTypesToBasicHdlSimModel from hdlConvertorAst.translate._ver...
[ "nic30@seznam.cz" ]
nic30@seznam.cz
3b7b489e1f4e1f84e4d3437544c82841ff530a2c
c3bbceee0dc30561c633731f697772f58428ce96
/generative_models/encoder_next.py
bd104fb38efbeccf0a75750152e10a5b619e8628
[]
no_license
t-walker-21/cs7643_final_project
94ad0144c4e5479b8eee3f40f7e3dc4e88396387
88c77f804a456c243faeba56a59c0454b4b53160
refs/heads/master
2020-09-13T16:21:29.449397
2020-01-02T22:27:23
2020-01-02T22:27:23
222,839,611
0
1
null
null
null
null
UTF-8
Python
false
false
2,106
py
""" Class to define GAN discriminator """ import torch from torchvision import models import torch.nn as nn import numpy class Encoder(nn.Module): def __init__(self, cnn_model, input_dim, hidden_dim, lstm_layers, embedding_dim, sequence_len): super(Encoder, self).__init__() # Convolutions (pre-tr...
[ "twalker81@gatech.edu" ]
twalker81@gatech.edu
1b7bdd2662345090df8af628e14e3b2cb6ddf1be
e9a9dc57a57c60f1d91d88decc1a01e49435f6a4
/traveller/migrations/0001_initial.py
7e12232b5b7b9be0b156086414338381f72e2e3c
[]
no_license
saurabh1498/Website
ec9bf4ee77746fc3d1b38d474d1cf5180be2a033
d3e3a10c94a0c6a541f6974e775f0f8fcf01a905
refs/heads/master
2022-12-22T02:59:30.923213
2020-09-30T15:38:29
2020-09-30T15:38:29
299,319,106
0
0
null
null
null
null
UTF-8
Python
false
false
735
py
# Generated by Django 3.1 on 2020-08-07 18:27 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Destination', fields=[ ('id',...
[ "noreply@github.com" ]
noreply@github.com
0faaab6550929001312d1c69b5cd7335b0237141
e262e64415335060868e9f7f73ab8701e3be2f7b
/test_api2/api/test_wen.py
30802898bb6b9118e58bbed576fa44ca15d6289a
[]
no_license
Allison001/developer_test
6e211f1e2bd4287ee26fd2b33baf1c6a8d80fc63
b8e04b4b248b0c10a35e93128a5323165990052c
refs/heads/master
2023-06-18T08:46:40.202383
2021-07-23T03:31:54
2021-07-23T03:31:54
322,807,303
0
0
null
null
null
null
UTF-8
Python
false
false
9,273
py
# from json import loads # def read_line(): # with open("/Users/yeahmobi/Desktop/work/python/developer/test_api2/api/wenjian.yaml",'r') as f: # n = f.readlines() # count =0 # flag = True # for i in n: # i = i.strip() #去除行前后的空格 # if i.startswith("#"): ...
[ "zhangyingxbba@gmail.com" ]
zhangyingxbba@gmail.com
62db140e70dbb695de2e9e68f5009a80d07fb3df
c09e2f4aab27493d299c683e3e480fc6ed08ba06
/sliding-block/sliding-block.py
e62c9b9a56d40db2d4a18d943655df8b88fcead2
[]
no_license
rachd/game-ai
22d630e0391396e078076456fd9f2c24685a306c
3b864dbc185caeee02b476a10abbaee1ed9162d4
refs/heads/master
2020-03-17T01:23:43.487508
2018-05-12T14:56:14
2018-05-12T14:56:14
133,151,037
0
0
null
null
null
null
UTF-8
Python
false
false
2,318
py
from random import shuffle def printBoard(positions): print (""" | %s | %s | %s | | %s | %s | %s | | %s | %s | %s |""" % tuple(positions)) def setInitialPosition(): initialElements = [1, 2, 3, 4, 5, 6, 7, 8, "_"] shuffle(initialElements) return (initialElements, getEmptyPosition(initialEle...
[ "rachel.m.dorn@gmail.com" ]
rachel.m.dorn@gmail.com
b742faff5cfd681a80942299795596c9318e2739
ec64534d7d7a6fa36c6b2ca20f48d3e3120645cb
/Lesson-3 Draw Circle.py
a21d1aa88fae3ca64bf1f72eb72e39343abd0c19
[]
no_license
liuxiang0/turtle_tutorial
e542faf5ca8311a580713b0254df7f80262c9bb8
dc81af2c841524ebcd379f2dbfc6481641957001
refs/heads/master
2020-09-15T18:41:34.653035
2020-03-28T12:44:45
2020-03-28T12:44:45
223,530,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,065
py
# -*- coding: utf-8 -*- """ Lesson 3 : Draw a circle 画圆、半圆、弧、正多边形 """ import turtle from turtle_conf import Tpen def Circles(pen, radius, num): for i in range(num): pen.circle(radius * (i + 1)) """call: circle(radius) # 画整个圆, 负值也可以 |--or: circle(radius, extent) # 画弧--部分圆 180 ...
[ "liuxiangxyd@163.com" ]
liuxiangxyd@163.com
0ca3fd575744c26a79e0e06ac41f3947591794c8
bd3446304bc1dc80653e55391e809c4502467a2f
/sort/urls.py
6a86ac200984c94037de8b9bae203466d2298f10
[]
no_license
marceloandriolli/sortbook
1b36e69f20c322e82046772f183c3fff4d90191c
d3a4da050bec439e47c6c5ff3f8c4edc6ec11684
refs/heads/master
2021-01-22T18:43:29.704344
2017-03-15T21:58:53
2017-03-15T21:58:53
85,110,629
0
0
null
null
null
null
UTF-8
Python
false
false
245
py
from django.conf.urls import include, url from sort import views urlpatterns = [ # url(r'^admin/', admin.site.urls), # url(r'^$', include('sort.urls')), url(r'^api/v1/sort/books/$', views.SortBooks.as_view(), name='sort-books'), ]
[ "marcelo@sustentaretecnologia.com" ]
marcelo@sustentaretecnologia.com
da8a71665ff2e37323bcce4a1ca25bfb0c536ec6
eadbbe70324801c5cbe1cd7befdc53c324cc537d
/migrations/versions/8bc3df9edeac_create_products.py
c9ea6acf0f25af40e189b0fe7717e29aa0a2a6b8
[]
no_license
lariau/sqlalchemy
b91506c3611141253712a67c3a822dad9b371b1b
5e8e8bf90eabc577e4074fa43bfe87a99923a196
refs/heads/master
2020-04-08T19:48:27.858933
2018-11-30T10:41:27
2018-11-30T10:41:27
159,671,848
0
0
null
null
null
null
UTF-8
Python
false
false
719
py
"""create products Revision ID: 8bc3df9edeac Revises: Create Date: 2018-11-29 11:09:57.799293 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '8bc3df9edeac' down_revision = None branch_labels = None depends_on = None def upgrade(): # ### commands auto ge...
[ "lariau@yahoo.fr" ]
lariau@yahoo.fr
bf2fc497a0307d4032d16962a23b0f9096438ee0
f468d3b1f938895c81a2c3438a93c3a05acfd9da
/download-invoices.py
8838c4265d09411cd44999af5652dd5a5fc99b05
[]
no_license
slyfox42/invoices-download
10df35f64d9173b9d9dce3d955a27e5fbe417acc
5a79870ec2a3f92d8f920885916a318b0c9dbf1a
refs/heads/master
2022-05-01T08:41:41.038040
2020-12-11T15:46:22
2020-12-11T15:46:22
199,009,664
0
0
null
2022-03-29T22:01:52
2019-07-26T12:04:48
Python
UTF-8
Python
false
false
4,178
py
import email import imaplib import os import shutil from datetime import date, timedelta from save_invoices import get_file_path, SSH_Manager import constants as c class Email_Manager: connection = None default_mailbox = c.INVOICES_MAILBOX def get_connection(self): if not self.connection: ...
[ "federico.obialero@gmail.com" ]
federico.obialero@gmail.com
a29401ba0ee34428fc57b67d36d853d772f7add2
efc7433020b404f19bd46372000032797d361a0c
/worker/constants.py
1369ce497ba4f755a4e87e0dc7d8eb5c8ed57edf
[]
no_license
dimitrisamp/joinflyline
2819571c867434ec7b7e859a21cd278bb2bde501
dff0ab38244e6e2876443995fe99ad9959fc3db4
refs/heads/develop
2022-12-21T13:11:19.364128
2020-02-14T13:37:30
2020-02-14T13:37:30
242,969,405
0
0
null
2022-12-12T03:15:37
2020-02-25T10:12:46
Vue
UTF-8
Python
false
false
327
py
DEALS_DAYS = 30 CHECK_FLIGHT_TRY_COUNT = 20 SEARCH_MAX_TRIES = 10 SEARCH_DELAY = 1 CHECKER_SLEEP_INTERVAL = 1 MAX_CHECK_FLIGHT_DELAY = 8 SEARCH_API_URL = "https://kiwicom-prod.apigee.net/v2/search" CHECK_FLIGHTS_API_URL = "https://kiwicom-prod.apigee.net/v2/booking/check_flights" MIN_NIGHTS_IN_DEST = 1 MAX_NIGHTS_IN_DE...
[ "bladeofdima@gmail.com" ]
bladeofdima@gmail.com
889561373222e776f285c46bed462a03db1dce83
d5f8ca3c13f681d147b7614f1902df7ba34e06f9
/CelebA/main.py
1a920e6f5ac9b064598be6c2ab89096536d2adde
[]
no_license
hhjung1202/OwnAdaptation
29a6c0a603ab9233baf293096fb9e7e956647a10
50805730254419f090f4854387be79648a01fbb4
refs/heads/master
2021-06-25T22:31:15.437642
2020-11-26T18:19:55
2020-11-26T18:19:55
176,670,379
1
0
null
2020-06-11T07:35:55
2019-03-20T06:36:19
Python
UTF-8
Python
false
false
6,344
py
import argparse import torch from torch.autograd import Variable from torchvision.utils import save_image import numpy as np from model import * import os import torch.backends.cudnn as cudnn import time import utils import dataset import math parser = argparse.ArgumentParser(description='PyTorch Cycle Domain Adaptat...
[ "hhjung1202@naver.com" ]
hhjung1202@naver.com
a11db09c5b2341a7b1bc6b2d0fc94831775e45c2
4395d0a9cca389a6544aecb93466242941d3ba3f
/process/split_data.py
ded216064433a532046c992685b17a8de63a9790
[ "MIT" ]
permissive
keshav1990/HeadSwap
da884b575d061bf4765c48778bba86886015164b
a60a696f208d352bcd8746e5e58ab70e90afe334
refs/heads/main
2023-08-22T20:02:33.930866
2022-12-28T16:37:35
2022-12-28T16:37:35
591,616,056
16
8
MIT
2023-01-21T09:45:03
2023-01-21T09:45:02
null
UTF-8
Python
false
false
721
py
import numpy as np import os import random def split_data(id_path,train_save_path,val_save_path): idinfo = np.load(id_path,allow_pickle=True).item() keys = list(idinfo.keys()) random.shuffle(keys) train_id_info = {} val_id_info = {} for k in keys[:100]: val_id_info[k] = idinfo[k] ...
[ "jiahuili@jh-mac.local" ]
jiahuili@jh-mac.local
c5000324a37133b8e3e2bad62736b29664f711fd
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03659/s495769033.py
54ee8453e730f35341ffac0335267d937fc39396
[]
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
224
py
import numpy as np n = int(input()) a = np.array(list(map(int, input().split()))) cumsum_a = a.cumsum() sum_a = cumsum_a[-1] ans = 2 * 10**9 for i in range(n-1): ans = min(ans, abs(sum_a - 2*cumsum_a[i])) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d0dd8c0f79d16b37610b0f645641720c3a87dc5b
347c70d4851b568e03e83387f77ae81071ab739e
/fn_splunk_integration/tests/test_function_utils.py
0c9e09a2c07c9c3e0f49d16aed5e0ed0666a3c55
[ "MIT" ]
permissive
neetinkandhare/resilient-community-apps
59d276b5fb7a92872143ce2b94edd680738693ce
3ecdabe6bf2fc08f0f8e58cbe92553270d8da42f
refs/heads/master
2021-12-27T09:05:36.563404
2021-09-29T13:04:56
2021-09-29T13:04:56
159,804,866
1
0
MIT
2021-08-03T19:45:45
2018-11-30T10:07:32
Python
UTF-8
Python
false
false
1,628
py
# # Unit tests for fn_splunk_integration/components/function_utils.py # # 100% code coverage # # import unittest import sys sys.path.append("../fn_splunk_integration/util") sys.path.append("fn_splunk_integration/util") from function_utils import make_query_string from function_utils import make_item_dict from func...
[ "hpyle@us.ibm.com" ]
hpyle@us.ibm.com
c92531920c42a17859e35c08af588e644af7a251
5990d7eebdabde9635d94ac3e402e0197454fc48
/prismEphem.py
9e3243c09bd618a6d0e6a65388d53de8ef2531fe
[]
no_license
moxuse/prismEphem.py
ec182b3a91ffda485e21423044e41d52cccb6403
df23b9ad9ecf2136f288cfa797b899789e3258be
refs/heads/master
2016-09-16T03:50:27.259382
2011-10-24T03:18:53
2011-10-24T03:18:53
2,574,426
0
0
null
null
null
null
UTF-8
Python
false
false
1,849
py
#!/usr/bin/python # -*- coding:utf-8 -*- import datetime import pytz import urllib2 import chardet import re import ephem def readFile(): lines = ['','',''] #print 'file !!!' tleFile = open('tleData.txt', 'r') lines = tleFile.readlines() fileLineNum = len(lines) for i in range(fileLineNum): ...
[ "moxuse@gmail.com" ]
moxuse@gmail.com
478be1a4393f7a842192c13ca3891affe3bfd213
ac7b02f4e7aa751ee24ed8933276990c801e1e64
/src/model/ndb_data.py
3531079bcbbd60baa4bf9918d747393d594b8c6f
[]
no_license
emilia-sokol/gae_interpreter
563ff02008229679933412ef7defe4f10f1bf02f
f1ba7feb46e6e072844859622b30e30a1cf0694a
refs/heads/master
2022-12-18T16:49:49.339302
2020-09-16T17:55:17
2020-09-16T17:55:17
260,986,753
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
from google.appengine.ext import ndb # define data model class Data(ndb.Expando): # we store all data as key, type and value. key should be unique (but not necessarily, maybe key will be id of # user that sends data or/and id of a device that sends data). by type we distinguish what kind of data is this...
[ "emilia.sokol94@gmail.com" ]
emilia.sokol94@gmail.com
f48a3d35ae9058c2debe98e42131250fe2204c6d
8af54cf9b2f7edce0b5aa4fea5117ff4dc0ae4bf
/src/urls.py
e3e531e077ad7e7dd5b2bee85a323d7d3568877d
[]
no_license
chemalle/fopag
d9a3434ce83ebf215d54be825a531763f954b5e7
d6d89aed7bed06bb0b88cac5efd037db4ed8f6b4
refs/heads/master
2020-03-10T08:15:19.225631
2018-04-12T16:30:34
2018-04-12T16:30:34
129,281,004
0
0
null
null
null
null
UTF-8
Python
false
false
1,135
py
"""fopag URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.11/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') Class-base...
[ "chemalle@econobilidade.com" ]
chemalle@econobilidade.com
61b3fc6cd55a2e79b4b00649321e1ced94c0e15e
e880fa35999c72c2a318679b35a6227906b32246
/tests/test_lock.py
ff3177d9963915c7abf00e785e9855d7a923fd88
[]
no_license
julianhille/play
3f47837804dd35f4a0ef4698d3331cbabd15fd0f
dd35392b82e32899f5e53cc7745ca97fe64af45c
refs/heads/develop
2021-01-18T18:43:51.056095
2016-03-09T23:22:41
2016-03-09T23:22:41
43,735,739
1
1
null
2016-03-09T23:22:42
2015-10-06T07:21:11
Python
UTF-8
Python
false
false
874
py
from play import lock from pytest import raises from bson import ObjectId def test_lock_exception(mongodb): with lock.lock(mongodb.directories, 'ddff19b92e21e1560a7dd000'): with raises(lock.LockException) as context: with lock.lock(mongodb.directories, 'ddff19b92e21e1560a7dd000'): ...
[ "j.hille484@gmail.com" ]
j.hille484@gmail.com
b4a462eb1065b774dfb97d19519129fefdbe76c0
46841318b6701c314123e9ec5088a98c210e784f
/rest-tjlug/sphinx-test/conf.py
cba371c9d9d7c641c24e633de221acf59ef17767
[]
no_license
ivivisoft/moonranger.github.com
c54330c954bb1b0ffc2b6542a2a6e104ccdcec64
f988f2f86d507e641a43be2c13b8a2c6ed172667
refs/heads/master
2020-12-25T23:57:57.684523
2013-01-14T05:36:07
2013-01-14T05:36:07
null
0
0
null
null
null
null
UTF-8
Python
false
false
8,138
py
# -*- coding: utf-8 -*- # # Closure And Python Scoping Rule documentation build configuration file, created by # sphinx-quickstart on Thu Dec 15 14:53:29 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 # aut...
[ "pr2jerry@gmail.com" ]
pr2jerry@gmail.com
97840c304aa4d2f2fe74d0ff7a6a068cdac7ae6f
71e1ba58e9389744a75f3c3907e18a38a8a03f8a
/inpuy_whileloop/ex7.4.py
a10b8011affee3fb4a4e4edf9d7e8049ba48adc3
[]
no_license
Rifat951/PythonExercises
e4c306edec418aa83aca928de1bc292cf49b0dd5
7cc07c1989d1b01e4e04edd29bdbfe8f1d1b3296
refs/heads/main
2023-09-01T09:28:10.530203
2023-08-30T02:52:25
2023-08-30T02:52:25
360,920,502
0
0
null
null
null
null
UTF-8
Python
false
false
616
py
# 7-4. Pizza Toppings: Write a loop that prompts the user to enter a series of # pizza toppings until they enter a 'quit' value As they enter each topping, # print a message saying you’ll add that topping to their pizza loop_flag = True pizza = [] while loop_flag: pizza_topping = input("Enter pizza ...
[ "noreply@github.com" ]
noreply@github.com
4747167c7f1782dac3e0d0dab835efb9ff76fdf7
eb841ad2854cbcb60aa75b1080573da6ae8e2a1c
/Evolife/Other/PathFinder/Walker.py
fa60ba6bb0377e643b1c56ffbf12f5f049dd5c17
[]
no_license
tomMoral/pjld
a5aef7201a1ed5e666c9b71b9edaa77e00e8ddd2
436b027f1ae55a168ec96db98580ebcf3c9bcf34
refs/heads/master
2020-06-04T07:53:50.789582
2014-03-13T14:32:30
2014-03-13T14:32:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,518
py
############################################################################## # EVOLIFE www.dessalles.fr/Evolife Jean-Louis Dessalles # # Telecom ParisTech 2013 www.dessalles.fr # ############################################################################## ...
[ "thierry.deo@polytechnique.edu" ]
thierry.deo@polytechnique.edu
de545d59d6cef1c31510ec5ae3cc05ddf7c17e52
6d37e22d0c7d5cb3a82468df166f680c645f72f8
/palindromo.py
a92f659ae521f5a28a6f51450a16e11dad204f3c
[]
no_license
aldojaimejuarez/codigo_python
d15c5e64bbfc930a2ed99a39d91208e97e6cd11f
d422eeb35343a932547de5c66521760112542257
refs/heads/master
2023-01-02T03:32:01.462992
2020-10-09T19:38:29
2020-10-09T19:38:29
302,126,571
0
0
null
null
null
null
UTF-8
Python
false
false
873
py
def palindromo(palabra): palabra = palabra.replace(" ", "") palabra = palabra.lower() palabra_invertida = palabra[::-1] if palabra == palabra_invertida: return True else: return False def run(): palabra = input("Escribe una palabra: ") es_palindromo = palindromo(palabra) ...
[ "aldojaimejuarez@gmail.com" ]
aldojaimejuarez@gmail.com
4152db7cdda80a51d3094365275463da46565dfd
a3b14bb98d12ac70c57ef5e8b43db52a6472b98f
/reply.py
3bc22704e99d8a56ec3f17a417da5855a31e21c4
[]
no_license
zhouqiw/itchatdemo
4176241fcf875dcc212e6b69e0dc66aa902aa417
de6093845e36c15f4e4f17456da7d9b8a442686d
refs/heads/master
2021-04-30T16:03:49.595203
2019-01-14T06:06:25
2019-01-14T06:06:25
121,252,248
0
0
null
null
null
null
UTF-8
Python
false
false
707
py
# encoding: utf-8 """ @author: zhouqi @software: PyCharm @file: reply.py @time: 2017/5/26 上午10:24 """ import requests import itchat KEY = '8edce3ce905a4c1dbb965e6b35c3834d' def get_response(msg): apiUrl = 'http://www.tuling123.com/openapi/api' data = { 'key' : KEY, 'info' : msg, ...
[ "931384927@qq.com" ]
931384927@qq.com
9a516cde0db5717278caa1da9352d130580082fa
ae9e91c2f5d79facf6938eaf0d99d2916afa1b42
/preprocess/04_calculate_weights.py
2a2e6b4b15fd5eefb38e34621904c519c76d3845
[]
no_license
nofreewill42/bms
a0857b351fde362ea7653f703ef111c157c1eae0
286c55cb0bf76c6fa99c294315beed8646f88c21
refs/heads/master
2023-05-03T16:36:02.270070
2021-05-27T19:15:49
2021-05-27T19:15:49
351,814,878
0
0
null
null
null
null
UTF-8
Python
false
false
1,770
py
import numpy as np import pandas as pd from pathlib import Path if __name__ == '__main__': ds_path_str = Path('data_path.txt').read_text() ds_path = Path(ds_path_str) processed_labels_path = ds_path / 'train_labels_processed.csv' # input label_weights_path = ds_path / 'train_labels_weights.csv' # o...
[ "jonavan01@gmail.com" ]
jonavan01@gmail.com
578ce09d09ffd5291d367e600f74d286a4369d07
d9f5f5f95c1aefa3674c116ba6b66d520914e832
/Shared/Build/Windows/Win32/bin/rsvg
7c0c71495b1fe63d5cdbbfa640a1d1af9ca88ebb
[]
no_license
zsx/ossbuild
b7e686b8c8f82a83d945a1857157822e330eaec4
a510b4fb1b15922c14dd6311a24f139b8a790699
refs/heads/master
2016-09-05T17:53:52.556306
2010-03-05T01:45:42
2010-03-05T01:45:42
548,912
2
0
null
null
null
null
UTF-8
Python
false
false
2,539
#!/usr/bin/env python # # This python script subsumes the old 'rsvg' C-based command-line program. # It should be considered deprecated in favor of 'rsvg-convert'. # import getopt, sys, os def usage(): print >> sys.stdout, """Usage: rsvg [-v?] [-d|--dpi-x <float>] [-p|--dpi-y <float>] [-x|--x-zoom <float...
[ "david.g.hoyt@72a73a14-1cf0-11de-a027-6f5b8e30e268" ]
david.g.hoyt@72a73a14-1cf0-11de-a027-6f5b8e30e268
d00dbd97b58fc1d1199f2fc36746e9223ddfeea0
39b0d9c6df77671f540c619aff170441f953202a
/default program/descriptor_method1.py
18d5b5dc9831d6210a3cfa6fd591f3a965cd7de1
[]
no_license
yeboahd24/Python201
e7d65333f343d9978efff6bf86ce0447d3a40d70
484e66a52d4e706b8478473347732e23998c93c5
refs/heads/main
2023-02-06T10:24:25.429718
2020-12-26T01:08:04
2020-12-26T01:08:04
306,487,550
2
0
null
null
null
null
UTF-8
Python
false
false
710
py
#!usr/bin/env/python3 class DescriptorClass(object): """All know that descriptor attributes should be in the class not the __init__ instance--> this is the instance of your class, so in this case test and test1 becomes our instance owner--> this the name of class of the instance, ClientClass is now our own...
[ "noreply@github.com" ]
noreply@github.com
7e3abe5ff2836f61260cff4e091e0e15a6e5aa06
0966fc5e479f7dd86683fd2d961e44bb4f71a614
/splatify/views.py
8b506aeb27b9322d1943be7e2675565ce5510105
[]
no_license
micnem/splatify2
112972616f6216598791df6b025c2de7be020281
a90328fbf79667ebe10a028a66c49334c840ae57
refs/heads/main
2023-02-10T11:20:48.570326
2021-01-06T14:14:08
2021-01-06T14:14:08
327,318,493
0
0
null
null
null
null
UTF-8
Python
false
false
891
py
from django.shortcuts import render from .spopulate import get_top_artists, create_playlist, match, main from .models import * def check_profile(profile): if not profile.populated: get_top_artists(profile) def homepage(request): return render(request, 'homepage.html') def room(request): ...
[ "michael.nemni@gmail.com" ]
michael.nemni@gmail.com
1b8c7a053a6d9a3d7531f29790c6c674faeec052
c17f1109589f94c1d5d00a0cc435d5f374008e4b
/cs181-s20-homeworks/hw3/T3_P2.py
d02ef9dfbe8bf93ec427d1393a555fda7e9dd102
[]
no_license
mgbvox/sulaiman_a
e7b2a36ee9740e747c5ffc5a60d280d3bf6a988b
85bfecbc1f0e2fe69b84677ffa47662519109fa1
refs/heads/master
2021-01-16T10:07:31.164600
2020-02-25T18:46:54
2020-02-25T18:46:54
243,075,060
0
0
null
null
null
null
UTF-8
Python
false
false
1,891
py
import numpy as np # might need to install import torch # parameters N = 2000 M = 100 H = 75 # generate data np.random.seed(181) W1 = np.random.random((H, M)) b1 = np.random.random(H) W2 = np.random.random(H) b2 = np.random.random(1) X = np.random.random((N, M)) y = np.random.randint(0,2,size=N).astype('float') # ...
[ "mgbvox@gmail.com" ]
mgbvox@gmail.com
ae455af0b625d88efc701edf5ecb73630079c44e
80b05048a9cedbd49b6d42cc0449432e1dd0a950
/ics_tool/models.py
f4eb94900946a8f99ef3827eef6232fedaf8cd13
[]
no_license
SamanthaNaraharisetti/edm_present
c4ede571980ed6e17027fec9425b9717f9331342
1f6369d820236f02f80c4992800dc247167ff95f
refs/heads/master
2021-08-19T17:47:33.370862
2017-11-27T04:14:16
2017-11-27T04:14:16
112,136,068
0
0
null
2017-11-27T02:13:57
2017-11-27T02:13:57
null
UTF-8
Python
false
false
4,413
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models # Create your models here. # Database Tables should be defined as class object class Customer(models.Model): CustomerId = models.IntegerField(unique=True) CustomerName = models.CharField(max_length=200...
[ "vvijayakumar@localhost.localdomain" ]
vvijayakumar@localhost.localdomain
7d11b2810249e52b844e73ddf8a67f64a89b8962
23b6817f82389f4c68c2af537a3ab7a9e043324d
/env/bin/pip3.8
added22061a2d7cd401f74a5f3594f396f6ca10b
[]
no_license
mirroronthesun/django_project
1e8516e2d7d94bc23734020502206371fc7e6c4c
7d817e80817f952c5623ac5c3f3fc109277b5d44
refs/heads/main
2023-01-10T09:16:47.557733
2020-11-15T14:39:34
2020-11-15T14:39:34
311,956,583
0
0
null
null
null
null
UTF-8
Python
false
false
266
8
#!/Users/mirroronthesun/Desktop/env/hoonstagram/env/bin/python3 # -*- coding: utf-8 -*- import re import sys from pip._internal.cli.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "dydgns1210@naver.com" ]
dydgns1210@naver.com
15fe944f077a01f102bbb05813f6781c3866b114
77a806373b88919b15359c3a8d2c002e44e51a96
/fleet_extend/models/fleet_vehicle_cost.py
597b2a0acf44519ad628947cf6f0b3e30fa33550
[]
no_license
Odoo-Pakistan/fleet
c7bef3f9a828306191a92fc109183dac5b01799d
652345d635889be7878df3aa415f597476591cef
refs/heads/master
2020-05-22T18:30:03.237394
2016-02-07T12:08:56
2016-02-07T12:08:56
84,714,355
1
0
null
2017-03-12T09:28:48
2017-03-12T09:28:48
null
UTF-8
Python
false
false
329
py
# -*- coding: utf-8 -*- from openerp import models, api class FleetVehicleCost(models.Model): _inherit = 'fleet.vehicle.cost' @api.multi def unlink(self): for obj in self: if obj.odometer_id: obj.odometer_id.sudo().unlink() return super(FleetVehicleCost, self)...
[ "nemanja-d@hotmail.com" ]
nemanja-d@hotmail.com
06cb5bb45d0c1544fb7c7734354aae5ec1efeb1d
cb60c614d5bda6d298669fde88da1c8cb36a1dbd
/Lab2/skrypt.py
e19a5d8ef2a89003a73c817adc61b98d87f8653f
[]
no_license
karosroczyk/DataAnalitics
2b73c34d073d848f14564973d056c3b275821447
4c2b488dc57545cd321d72fc19786baf3aebe744
refs/heads/master
2022-11-07T04:16:23.977017
2020-06-08T23:46:53
2020-06-08T23:46:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,806
py
# -*- coding: utf-8 -*- """ Created on Sun Oct 27 16:35:05 2019 @author: Lenovo """ import psycopg2 as pg import pandas.io.sql as psql import pandas as pd connection = pg.connect(host='localhost', port=5432, dbname='postgres', user='postgres', password='*********') # 1) Ile kategorii filmów mamy w wypożyczalni? df ...
[ "50304244+karosroczyk@users.noreply.github.com" ]
50304244+karosroczyk@users.noreply.github.com
ea01bc41999069dc12407183ad60c1d5114970d9
ab66ad0c4148982fea5d9ccb1473f0c6b4786812
/opencv-project/volume_control.py
4f3ca78f2f0ea7385a3d17504ad74a70c30b834b
[]
no_license
shivamsatyam/opencv_ai
e097384f506f9957ca93edda4c8f28d03269ddaf
38bd2ac981c9555b2bd9a07c12df90dde956bec6
refs/heads/main
2023-07-25T12:38:39.705819
2021-09-04T18:04:44
2021-09-04T18:04:44
403,116,888
0
0
null
null
null
null
UTF-8
Python
false
false
2,220
py
import cv2 import mediapipe as mp import time import hand_tracking_module as htm import math from ctypes import cast,POINTER from comtypes import CLSCTX_ALL from pycaw.pycaw import AudioUtilities,IAudioEndpointVolume from numpy import interp wCam,hCam = 800,600 capture = cv2.VideoCapture('https://26.151.102...
[ "noreply@github.com" ]
noreply@github.com
970b268424584e832ec5d02c64aaaf2236a84cc0
591aabcbf7dc6d4aefbc78a43e4c5c26e5443d6d
/oj/25298.py
ba0432ca1ae01d2b56a34379a490b7ec3068c752
[]
no_license
liujiboy/Python_Course
adbafbc7401cabd9903c673fd65bfce1f03dacdf
e336c36ccd5e1123af9195146037e9736e6a84d6
refs/heads/master
2020-03-31T02:19:44.196840
2019-04-08T04:34:27
2019-04-08T04:34:27
151,818,185
0
0
null
null
null
null
UTF-8
Python
false
false
227
py
while True: s=input() l=[] for n in range(len(s)//2): l.append(s[2*n+1]) l.append(s[2*n]) if len(s)%2==1: l.append(s[-1]) print("".join(l))
[ "liujiboy@163.com" ]
liujiboy@163.com
ce23396e1af092c87dabfa94de0f5dfb48046ca7
50689f98f2af73064e555dd7ffb38aaf0c252c9a
/futiontable/rtt/rajsthan_nodes.py
72cd0efdb7d5ac9f672e5f85b90a2648e9101f5f
[]
no_license
arvindmahla/ruralnet
daad10810014867df6de6471857071d2c84c00f6
46f06c06afbca178267f67031f5e4f81822d76c0
refs/heads/master
2016-09-06T19:05:58.519536
2014-09-08T13:47:35
2014-09-08T13:47:35
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,466
py
import sqlite3 import sys import numpy import csv import thread locaname={ 'rnm13':'Ukwa, Paraswada, Balaghat, Madhya Pradesh', 'rnm3':'New Delhi3, South Delhi, Delhi, NCT', 'rnm0':'Dindori, Dindori, Dindori, Madhya Pradesh',\ 'rnm7':'Samnapur, Dindori, Dindori, Madhya Pradesh', 'rnm11':'Amarpur, ...
[ "sameer@sameer.(none)" ]
sameer@sameer.(none)
a648f8566586ffd796253fa7c5d7a3c148be0c9b
9da67d80be888addfee7b98846c7ec05e8bb1106
/users/serializers.py
c8b5ff4b78bd23bd040d446f70a092e8254489cd
[]
no_license
thisisfaisalhere/Init-django-react-project
76c7267e44df09a851a140b6013442b26939071b
0b0ec455037b6f46f79798f2712e0f36a84b06da
refs/heads/master
2023-06-05T05:16:44.277656
2021-06-28T02:45:47
2021-06-28T02:45:47
368,810,559
0
0
null
null
null
null
UTF-8
Python
false
false
3,751
py
from django.contrib.auth.models import User from rest_framework_simplejwt.tokens import RefreshToken, TokenError from rest_framework.exceptions import AuthenticationFailed from rest_framework import serializers from django.contrib import auth from .models import * # User serializer class UserSerializer(serializers.M...
[ "thisisfaisalhere@gmail.com" ]
thisisfaisalhere@gmail.com
457d4be0fd6afb8849118ce0b85bb64cdc5018be
7710d3d1a6e7f6361188deff86801aba6856b9ac
/src/onedrivesdk/model/audio.py
8e76140ae62352276af62698c60125d0d5365612
[ "MIT" ]
permissive
Anadorr/onedrive-sdk-python
8d2ef53a908f9be57bb7cdde107093df548c1a1b
283fc99c63a5439ee023d6f5be4e69f4bb30474c
refs/heads/master
2021-01-18T09:05:16.880959
2016-02-05T15:24:33
2016-02-05T15:24:33
50,132,468
0
0
null
2016-01-21T19:49:35
2016-01-21T19:49:35
null
UTF-8
Python
false
false
7,490
py
# -*- coding: utf-8 -*- ''' # Copyright (c) 2015 Microsoft Corporation # # 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...
[ "daniel.nadeau01@gmail.com" ]
daniel.nadeau01@gmail.com
a1bf73864ef965fced3341d97ef68ae64f794bf1
69c0231db6f9ab13714850bbfe3eb9a4f9d1c600
/venv/bin/pylint
a187188dc8addd97f16d75ccd0305f3977357c49
[]
no_license
SumanKhdka/django-polls
aa2ff0c0a327f1c34dda0cacc886ca2b507c8223
bbd6a332b8fd8bbee236a282c74d89313a8d40d9
refs/heads/master
2022-01-28T16:53:08.602571
2019-08-23T12:45:39
2019-08-23T12:45:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
258
#!/home/suman/PycharmProjects/mysite1/venv/bin/python3.7 # -*- coding: utf-8 -*- import re import sys from pylint import run_pylint if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(run_pylint())
[ "suman@ncit.edu.np" ]
suman@ncit.edu.np
95de76dbf85e358fc7d4c5589e293bd48b8d7d27
b148cda05d07895b97f5dbc29d06999ffb4d1b33
/sonic-pcied/tests/test_DaemonPcied.py
2c3c953e7e483aaec37fc1251ee3d54cd23d1fbc
[ "Apache-2.0", "LicenseRef-scancode-generic-cla" ]
permissive
keboliu/sonic-platform-daemons
0fb6ce76902ec0b6942cd3c1356c7586dacb8d58
c7cbbb8db5b74d3eddcedd733000d5232006911e
refs/heads/master
2023-08-31T00:05:25.760285
2022-08-09T20:13:59
2022-08-09T20:13:59
139,558,345
0
1
NOASSERTION
2020-03-26T10:19:47
2018-07-03T09:15:09
Python
UTF-8
Python
false
false
8,620
py
import datetime import os import sys from imp import load_source # Replace with importlib once we no longer need to support Python 2 import pytest # TODO: Clean this up once we no longer need to support Python 2 if sys.version_info.major == 3: from unittest import mock else: import mock from .mock_platform ...
[ "noreply@github.com" ]
noreply@github.com
fa2c6cea2321b48a974d9ded6332e8ee1a3f2ca8
4e5193e3f46dad38e62f4f09cd484152b66b85b2
/colorNames.py
d365cbc81fed3eb7c52ffb6905e76275895c6b87
[]
no_license
JacobChunn/skribbl-bot
f47acb0ede7c1574764eed32fbdb2aaddf118d5a
3b362c3f0b698218fcc6c3beb1d4035587efbbcc
refs/heads/master
2022-07-02T23:52:24.823736
2018-10-15T02:11:50
2018-10-15T02:11:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,726
py
class ColorNames: ImageMagickColorMap = {} ImageMagickColorMap["1"] = "#FFFFFF" ImageMagickColorMap["2"] = "#C1C1C1" ImageMagickColorMap["3"] = "#EF130B" ImageMagickColorMap["4"] = "#FF7100" ImageMagickColorMap["5"] = "#FFE400" ImageMagickColorMap["6"] = "#00CC00" ImageMagickColorMap["7"...
[ "chunnjake@gmail.com" ]
chunnjake@gmail.com
67a8229c60a57a6a11059aa679175a1f4283f7c7
8294d8e51cf5eac7879a3461264c74e057f67ab6
/tilemaps.py
8e0287f1e0a8a36c9eedf407a78afe557dc85fbc
[]
no_license
ZackyGameDev/Tetris-in-Python
708081e7dbfa387f26806d61fca39a781a4047ca
dd52412b5d808e8e8842aec5cca6f7eecf8849e2
refs/heads/master
2023-01-10T19:43:52.731357
2020-10-27T09:03:27
2020-10-27T09:03:27
305,693,922
1
0
null
null
null
null
UTF-8
Python
false
false
1,956
py
import pygame tilemap = [] for i in range(20): tilemap.append([0, 0, 0, 0, 0, 0, 0, 0, 0, 0]) # Tetriminos Shapes z_shape = [ [[0, 1, 0, 0], [1, 1, 0, 0], [1, 0, 0, 0], [0, 0, 0, 0]], [[1, 1, 0, 0], [0, 1, 1, 0], [0, 0, 0, 0], [0, 0, 0, 0]] ] s_shape = [ [[1, 0, 0, 0], ...
[ "zaacky2456@gmail.com" ]
zaacky2456@gmail.com
c8e99972a246a077b466f45e66c23b688c79d040
ea373d1b4296d16eaa1355972cccd28eaa336871
/login-signup-Django/signup/views.py
1ea7905bc7574d9d41102a129e6dab3e08283977
[]
no_license
nazaninsbr/Web-Development
f1a03e3d26d79dda8a6f9978d443a62cc5b88b42
7821ec2596d1dff7c4f390e01ae7d90e3fdbf029
refs/heads/master
2021-05-02T16:05:09.508344
2018-04-27T18:20:01
2018-04-27T18:20:01
120,666,238
0
0
null
null
null
null
UTF-8
Python
false
false
2,656
py
from django.contrib.auth import login, authenticate # from django.http import HttpResponse, JsonResponse from django.contrib.auth.forms import UserCreationForm from django.shortcuts import render, redirect from django.contrib.auth.decorators import login_required from django.contrib.auth.models import User from signup....
[ "nazanin.sabrii@gmail.com" ]
nazanin.sabrii@gmail.com
edd4fc48a71d97c39564e5942970515261ac1b48
ec8136f231f4e4e6fa369f4246f5c6a678743cc9
/moviesite/polls/urls.py
2d2e0c8fa9de2cbc7dfa2f16637d8f6cb3148819
[]
no_license
alankar63/movie-app
42bdb79e66c93c334638a4947cc4d1b376ab078d
ce01432c97d140693faebcd753ec598d0de93f32
refs/heads/master
2021-01-20T20:21:42.560188
2016-06-09T11:10:03
2016-06-09T11:10:03
60,701,474
0
0
null
2016-06-09T11:10:22
2016-06-08T13:50:28
null
UTF-8
Python
false
false
214
py
from django.conf.urls import url from . import views urlpatterns = [ url(r'^([0-9a-zA-Z ~@#$^*()_+=[\]{}|\\,.?:-]+)/$', views.info, name="info"), url(r'^$', views.wrong_link, name='wronglink'), ]
[ "alankar63@gmail.com" ]
alankar63@gmail.com
3fcffdc830700a1a127d0369a3f7fa692b40d6c8
06e91ab41fbcc0286dcfcc5cc6ddb258dbcf01b0
/NIM Refactored.py
1ae5bc8d23d71302b423e1634b410d7f80fdf652
[]
no_license
tatianarudskaya/ZJP
154dc9c669f4089364950aab3d9b11bb83368cda
014e96e65e78a6114b228aef3b2b33418ea0d8fc
refs/heads/master
2020-04-16T14:38:44.562827
2019-01-14T14:26:57
2019-01-14T14:26:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,377
py
import random #check for win condition def winCondition (summ, lastAction, goal, endGame): if summ == goal: print (lastAction, "wins!") endGame = True elif summ > goal: print (lastAction, "looses") endGame = True return endGame def playerInputRequest (pick, step): try: print ("Pick number ...
[ "noreply@github.com" ]
noreply@github.com
e1ef965f355c464b6b2b9a4fae2a4f47aab4b841
d097ee329e5759f7e901c7216d9f057dd0892ead
/sdk/python/tests/test_historical_retrieval.py
3a708c7503a879981b68921b340cae6aa2e7a548
[ "Apache-2.0" ]
permissive
DolevAdas/feast
81ac088eb1242f72593fd4180882818262c6eea0
2e0113e1561696edbbdd031767b428eda3aa98a8
refs/heads/master
2023-06-28T21:53:52.598087
2021-07-08T04:18:56
2021-07-08T04:18:56
373,108,137
0
0
null
null
null
null
UTF-8
Python
false
false
23,563
py
import os import random import string import time from datetime import datetime, timedelta from tempfile import TemporaryDirectory import assertpy import numpy as np import pandas as pd import pytest from google.cloud import bigquery from pandas.testing import assert_frame_equal from pytz import utc import feast.driv...
[ "noreply@github.com" ]
noreply@github.com
1feb1c0856d185b636ee2d1e91a96827ac7c9853
06b8025b10f318d4e4bb724d371a1bc25d9abfdd
/geneyenta/settings.py
875541dc648bcf40b02a70f9262db8b867eaf246
[]
no_license
wassermanlab/GeneYenta
bf6d79b9c7628ef403eb1f6a6d0cd7da7f594495
e4bf1946dd012aedd38f42451caee317dc3d8977
refs/heads/master
2021-01-01T17:22:43.364766
2015-02-05T22:32:45
2015-02-05T22:32:45
11,798,285
1
0
null
null
null
null
UTF-8
Python
false
false
6,368
py
# Django settings for geneyenta project. ######### For static stylesheet references ####### # import os # ROOT_PATH = os.path.dirname(__file__) DEBUG = True TEMPLATE_DEBUG = DEBUG MATCH_BINARY = '/apps/GeneYenta/match.py' ######### For chron jobs i.e. matching ### import djcelery djcelery.setup_loader() BROKER_URL ...
[ "jack.wuweimin@gmail.com" ]
jack.wuweimin@gmail.com
87cb6e6e0b682d52f6eaaa096b0a13f7c53bb789
acb8e84e3b9c987fcab341f799f41d5a5ec4d587
/langs/8/udw.py
95de41ebfb832ef789c650110a4ac9b22d6e3fbf
[]
no_license
G4te-Keep3r/HowdyHackers
46bfad63eafe5ac515da363e1c75fa6f4b9bca32
fb6d391aaecb60ab5c4650d4ae2ddd599fd85db2
refs/heads/master
2020-08-01T12:08:10.782018
2016-11-13T20:45:50
2016-11-13T20:45:50
73,624,224
0
1
null
null
null
null
UTF-8
Python
false
false
486
py
import sys def printFunction(lineRemaining): if lineRemaining[0] == '"' and lineRemaining[-1] == '"': if len(lineRemaining) > 2: #data to print lineRemaining = lineRemaining[1:-1] print ' '.join(lineRemaining) else: print def main(fileName): with open(fileName) as f: for line in f: ...
[ "juliettaylorswift@gmail.com" ]
juliettaylorswift@gmail.com
38739ea4cae572570555cd1043b6acf10436f45e
3eb4d64a8bb0bc240a2ef189724f4d51b5275eac
/heltour/tournament/migrations/0099_alternate_priority_date_override.py
863952e8d18f8da8a170a0aae4967d562e598879
[ "MIT" ]
permissive
brucemubayiwa/heltour
c01cc88be7f86dce8246f619d7aa2da37e0e0ac2
fa4e9b06343acaf6a8a99337860e1ad433e68f6b
refs/heads/master
2021-01-23T19:59:04.099215
2017-09-06T03:34:31
2017-09-06T03:34:31
102,840,526
1
0
null
2017-09-08T08:53:30
2017-09-08T08:53:30
null
UTF-8
Python
false
false
482
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-19 01:15 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tournament', '0098_auto_20160916_1934'), ] operations = [ migrations.AddFiel...
[ "ben.cyanfish@gmail.com" ]
ben.cyanfish@gmail.com
5a303ec868f550ec82de6b9a8080ee1ba8c9ac5d
d98fa32291d8a82f116b3785a732653d9e3bb5ff
/plot_exp1a.py
ac9b270fe882e473b6e9181725e9c27243a5964c
[]
no_license
karopastal/interferometry
16b03a1bd586c9192707a6dd45c7683f2ff615be
75943ca5a43f9e1fe6af438af3b26c01a5239b46
refs/heads/master
2020-05-27T12:13:49.133167
2019-05-25T21:28:45
2019-05-25T21:28:45
188,613,934
0
0
null
null
null
null
UTF-8
Python
false
false
1,111
py
from lmfit import Model import matplotlib.pyplot as plt import numpy as np from numpy import loadtxt font = {'family' : 'normal', 'size' : 14} plt.rc('font', **font) data = loadtxt('analysis/exp1a.dat') mili = np.power(10, -3.0) red_lambda = 650*np.power(10, -9.0) m = data[:, 0] delta_m = data[:, 1] x = data[:,...
[ "tpaskaro@gmail.com" ]
tpaskaro@gmail.com
48f477ee576243c587ae8f4313ca9343d1ffbac3
2611e42451513dd655db40677c37146481c060e1
/tests/test_browser_worker.py
897c94ede18cfd17472898db079d3f341912bb6f
[]
no_license
TrendingTechnology/crawler-cluster
cc06a4fc5e84f59fe29f4f8e4c96958a8e0795b3
7b27ce8e04f99005ae78893063fef2e0e142c4b0
refs/heads/master
2023-04-14T00:30:58.754117
2021-04-20T02:29:49
2021-04-20T02:29:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,191
py
from crawler_cluster.browser_worker import BrowserWorker from lxml.html import HtmlElement import pytest import pytest_asyncio from pathlib import Path import asyncio import json static_dir = Path(__file__).parent.absolute().joinpath('static') antibot_url = f"file:///{static_dir.joinpath('Antibot.html')}" interaction...
[ "kelleherjdan@gmail.com" ]
kelleherjdan@gmail.com
e77bc697e7aa91fc628d80f873e98e07eb2f0a92
b64f3c17868e4ace696719d32c32a02f6253619b
/amc/models.py
682126db5fba977d29cd0229b03d024dd0db0929
[]
no_license
bipinks/axiscrm-django
9c664b4f177a402dca097d255f844f907bea3b18
9cc779e4de33718530437b97bef41b5b38364724
refs/heads/main
2023-07-19T13:31:55.162159
2021-09-18T10:27:57
2021-09-18T10:27:57
401,621,815
0
0
null
null
null
null
UTF-8
Python
false
false
1,866
py
from crum import get_current_user from django.conf import settings from django.db import models # Create your models here. from django.utils.datetime_safe import datetime from clients.models import ClientProject from projects.models import Project class AMCRenewal(models.Model): class Meta: db_table = '...
[ "bipin@directaxistech.com" ]
bipin@directaxistech.com