blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
5
283
content_id
stringlengths
40
40
detected_licenses
listlengths
0
41
license_type
stringclasses
2 values
repo_name
stringlengths
7
96
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
58 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
12.7k
662M
star_events_count
int64
0
35.5k
fork_events_count
int64
0
20.6k
gha_license_id
stringclasses
11 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
43 values
src_encoding
stringclasses
9 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
5.88M
extension
stringclasses
30 values
content
stringlengths
7
5.88M
authors
listlengths
1
1
author
stringlengths
0
73
a095a2b3730290cc131ea9a3074f0dee215ecd53
98c6ea9c884152e8340605a706efefbea6170be5
/tests/still_torun/test_python_canonicalisation.py
4a0f0c19de0dd8aad0684d76c27bf0bfb2b73ea9
[]
no_license
MrHamdulay/csc3-capstone
479d659e1dcd28040e83ebd9e3374d0ccc0c6817
6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2
refs/heads/master
2021-03-12T21:55:57.781339
2014-09-22T02:22:22
2014-09-22T02:22:22
22,372,174
0
0
null
null
null
null
UTF-8
Python
false
false
821
py
from languages.python import PythonProgram code = ''' print 'hello world' class A: def first_function(self, a): a *= 2 if isinstance(a, int): print 'This most definitely gets executed for sure' return first_function def second_function(b): b = 2 for i in xrange(1000): first_function(i) ...
[ "yaseen@hamdulay.co.za" ]
yaseen@hamdulay.co.za
5f32c80209f778fec002315adf1586ee30ef6794
5a8a0abdd12a767d2dc3a4f4b0f4102ac78e28fc
/lib/h8s/devices.py
42f81df19eccccfc40447c062aa6d3de95721366
[ "MIT" ]
permissive
enigmata/h8s-clp
20fc19dae33acfd1eabd34a21a858bdf0dda6c04
4fa8a14bb80f0ac0fedc11d401412c15d2d033d7
refs/heads/master
2023-02-12T09:42:14.010522
2020-12-31T03:46:24
2020-12-31T03:46:24
290,272,600
0
0
null
null
null
null
UTF-8
Python
false
false
1,337
py
import json class DevicesIOError(Exception): def __init__(self, msg): self.data = msg class Devices(): """ A devices class is the generic representation of the set of devices that is managed by a service. Common attributes of device: Name: Short identifier of the device ...
[ "rwhorman@gmail.com" ]
rwhorman@gmail.com
db5fd80ae9fc3d3766b0beb5d8bce724f622109a
14a9667b31cdc846414c906a2e77153189e3feda
/builder.py
1372a05601a85a6b650be96eea9055c79219eb8d
[]
no_license
gsnedders/py-regexp-builder
298fdde86ed29aaf7e58f7cab376185a98c8d923
8ef65f2bb25f1d5ab701fd73aa4bf40abdcac2ca
refs/heads/master
2023-05-27T00:44:51.469190
2013-04-15T21:05:48
2013-04-15T21:05:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,290
py
import re import sys __all__ = ["builder", "enumerable_builder"] def builder(ranges, **kwargs): r"""Build a regexp from an iterable containing codepoints/ranges builder takes an iterable containing either (or a mixture) of codepoints (given either by a number type or as a unicode string) or two-tuple...
[ "geoffers@gmail.com" ]
geoffers@gmail.com
ecf10d6c299852de4375edc6289f69a047edaf28
aaf85f28d1c696ccd2859381c86830654b173e9b
/prediction_app.py
065b4d91430021bb52b2b3ca1f8282897f572e05
[]
no_license
MohamedArif20091999/Predicting-Lung-Disease
997958094e8eef27219ea3da98b5542b2afbf3b9
a6b675f3fdfa740dcbfae10b6268c0f1e7477b68
refs/heads/master
2021-01-04T17:43:35.822964
2020-08-17T07:13:54
2020-08-17T07:13:54
240,691,904
1
0
null
null
null
null
UTF-8
Python
false
false
1,297
py
import base64 import numpy as np import io from PIL import Image import keras from keras import backend as K from keras.models import Sequential from keras.models import load_model from keras.preprocessing.image import ImageDataGenerator from keras.preprocessing.image import img_to_array from flask import request from ...
[ "noreply@github.com" ]
noreply@github.com
34bc327a98ac4e6aa7676a9f6be58747cbbfb705
b0b8d2d7c875733bff4cddc26a3a4aaa57befd45
/config.py
9b68e5105acf09eb9ac5da64a8750ca1af1a5173
[ "MIT" ]
permissive
phcavelar/ganban
45fe8c82ba3984543d325534022ee90de2d6ec65
95c19fbc94cabc90d052a9dd210e34fd31bf0bad
refs/heads/master
2020-07-03T03:38:11.592861
2019-08-17T14:24:11
2019-08-17T14:24:11
201,772,063
0
0
null
null
null
null
UTF-8
Python
false
false
352
py
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): SECRET_KEY = os.environ.get("SECRET_KEY") or "you-will-never-guess" SQLALCHEMY_DATABASE_URI = os.environ.get("DATABASE_URL") or ( "sqlite:///" + os.path.join( basedir, "graphkanban.db" ) ) SQLALCH...
[ "9154669+phcavelar@users.noreply.github.com" ]
9154669+phcavelar@users.noreply.github.com
e441d5ae8986892752ad0e39f2ad8c244be3ce10
bf4e8251ba481bdc68a3dd3a605434b83a726c15
/venv/Scripts/easy_install-3.7-script.py
a4cc65edde6e16ebd4f3f04c2d9866e116730b06
[]
no_license
VinayNCLK/PythonSeleniumPrograms
2e1715bd429651462a14dd31a7b2ba639df724d0
6038f469a2cbcf20b6dd410697ca1dae4ccb413b
refs/heads/master
2020-07-05T02:10:51.688677
2019-08-15T07:07:18
2019-08-15T07:07:18
202,491,311
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
#!C:\Users\shekar\PycharmProjects\Selenium_July\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'setuptools==39.1.0','console_scripts','easy_install-3.7' __requires__ = 'setuptools==39.1.0' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-scri...
[ "vinayn348@gmail.com" ]
vinayn348@gmail.com
0835ebeb7880f30c8e6d23af65dcc6f41436f923
f74522d780406c92139e991c36a50b28a9d049eb
/python/modules/JetResSkim.py
5a1ec0dc05eafeb762991743f25f8bb73488d41d
[]
no_license
mkilpatr/NanoSUSY-tools
cfe1e08742a051d5fd04adabc64add8a5829c32d
177f65b2e1ad659ec7cab1c4af8c0fda82f48fab
refs/heads/master
2022-01-14T07:40:40.009894
2020-08-13T19:15:47
2020-08-13T19:15:47
162,190,651
0
1
null
2022-06-09T13:41:36
2018-12-17T21:14:23
Python
UTF-8
Python
false
false
4,479
py
#!/usr/bin/env python import os, sys import ROOT import math import numpy as np from array import array ROOT.PyConfig.IgnoreCommandLineOptions = True from importlib import import_module fr...
[ "mkilpatr@FNAL.GOV" ]
mkilpatr@FNAL.GOV
1b9059dbcb69917eee809907d67f618309696c29
5659d136b70206b0a6caba529803ff684db2b82b
/classifiers.py
ae55eb72e02d5402bcc15edc39e131b82fc23d0e
[ "MIT" ]
permissive
zhy0/sig-tsc
8d13916a4cff19505c12dd6ff64d4acc7ce72954
a9d01760233f0fbb25d53a73225e9ee7bf53e1b3
refs/heads/master
2023-09-01T16:47:43.098663
2019-07-10T12:20:00
2019-07-10T12:20:00
192,418,597
1
0
MIT
2023-08-14T21:48:31
2019-06-17T21:03:57
Jupyter Notebook
UTF-8
Python
false
false
6,246
py
import numpy as np from iisignature import sig, logsig, prepare from sklearn.pipeline import Pipeline, FeatureUnion from sklearn.preprocessing import StandardScaler, FunctionTransformer from sklearn.base import BaseEstimator, TransformerMixin, clone from sklearn.ensemble import VotingClassifier from sklearn.model_sele...
[ "zhy@tuta.io" ]
zhy@tuta.io
c51fac35f4ea046bd92d852442d74a099b9695a8
aa245f4e900ab0f27eee9b0fb2d7c9f7d4172269
/tests/test_block.py
2bf653c0f7587c82d81d0fcc518b8d98e334dd59
[ "MIT" ]
permissive
Vetrovec/chainee
ed4edd4e92637b29fcf5ff0493de6f6983e66e98
3a1a300f86ad8aeb385d8de7f766dd035c039f04
refs/heads/master
2022-04-05T13:54:38.804711
2020-02-01T14:11:16
2020-02-01T14:11:16
235,657,376
0
0
null
null
null
null
UTF-8
Python
false
false
971
py
from unittest import TestCase from chainee.block import Block class TestBlock(TestCase): def setUp(self): address = "c70f4891d2ce22b1f62492605c1d5c2fc1a8ef47" timestamp = 1579861388 self.block = Block(0, "0" * 64, address, 0, timestamp, 0) def test_hash(self): self.assertEqua...
[ "stepan.vetrovec@gmail.com" ]
stepan.vetrovec@gmail.com
d5dd79518c88daae27d17853642256525b0734a7
b1a259bed1daeee5928031253b05e2b2b32f5e06
/clash/project/migrations/0034_register_freezeflag.py
af075a0e020f1080fbb1cd63945ad22fd4fa3b05
[]
no_license
meghadandapat/Clash-Round-1
8cb7ad566e8006e03fb72c2387df26bea94d4dfa
249ebaaeb8f8fa40dd5d086aeac77defb89b366a
refs/heads/main
2023-07-24T18:44:14.490307
2021-09-06T07:45:10
2021-09-06T07:45:10
376,589,654
1
1
null
null
null
null
UTF-8
Python
false
false
392
py
# Generated by Django 3.1 on 2021-01-16 13:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('project', '0033_register_get_chance'), ] operations = [ migrations.AddField( model_name='register', name='freezeflag',...
[ "megha13dandapat@gmail.com" ]
megha13dandapat@gmail.com
10cfe7800595cae7d45d464a2bce17b1b7589fc4
d45cd48273bef68dabc5c46c3becfafed6dcfe47
/PiBotRemoteFiles/server.py
88b0cc25a9e561c8b18ea9bfa00a175936b9e1dd
[]
no_license
robert-swanson/PiBot
ab1313c850f8ec3d30bedc217f5af768dbabdb83
775bc098a4d25083c7d2410415ed498fb4e161f8
refs/heads/master
2020-03-18T08:17:02.044880
2019-10-08T04:15:43
2019-10-08T04:15:43
134,500,782
0
0
null
null
null
null
UTF-8
Python
false
false
7,065
py
import socket import time import sys import io from threading import Thread try: import RPi.GPIO as GPIO except: print("Not Pi") # Conection port = 2000 ping = False s = None c = None # GPIO PWMA = 7 # Left Speed AIN1 = 12 # Left Forward AIN2 = 11 # Left Backward STBY = 13 BIN1 = 15 # Right Forward BIN2 = 16...
[ "swanson7889@vanisd.net" ]
swanson7889@vanisd.net
dadbd938b2cbd707de7f77ea6959a52b24f60efd
2cdcda6a22d8f540f6152583391e13b5a0e49fab
/controller/create.py
99c8aa9cc6d1e67329b8b991e1c8fdbd67d74c99
[]
no_license
Faylixe/remix-factory
f17dd5a043b67e6f2b2d1cd01df74aede772c270
6b4a475aa597d1e081b34f9c3457c90f1410ea4b
refs/heads/master
2021-01-20T15:59:36.349837
2016-06-03T08:53:23
2016-06-03T08:53:23
58,656,446
9
1
null
null
null
null
UTF-8
Python
false
false
929
py
#!/usr/bin/python import time from shutil import copyfile from controller import Controller class NeuronFactory(Controller): """A NeuronTrainer is in charge of training a given neuron. It uses a source neuron as a template for all other neurons to be created, and copy this source neuron each time the ...
[ "felix.voituret@gmail.com" ]
felix.voituret@gmail.com
99c0f4291f705d20be4f080691bf7e32fef35a65
b96bc06efe67d89d909f758f22cbdca46bde17f1
/defect/graph/cyclebasis/pub.py
653331bc06882337d3be76fcd31152f8dd32e689
[]
no_license
ExpHP/defect
ecf9f5c8d36384faa90495e9ee63ad4bc2939fe9
4541365861002f3d927aff44f34c38fddee13ca7
refs/heads/master
2021-06-15T04:59:42.781209
2021-02-03T02:29:04
2021-02-03T02:29:04
34,793,996
0
0
null
null
null
null
UTF-8
Python
false
false
3,309
py
# cyclebasis/pub.py -- public functions to be exported from defect.graph.cyclebasis # (nothing interesting here; just delegates to implementations located elsewhere). from . import _planar from defect.graph.cyclebasis.builder import CycleBasisBuilder import defect.filetypes.internal as fileio import networkx as nx ...
[ "me@this.isnt.really.my.email.org" ]
me@this.isnt.really.my.email.org
d0f4a4d3c6e36cf9f46459e8e32757ab3bffd737
d088652daa2cdbacf66884e5c62dd0e09326e8d3
/Week 3 Labs/Week3 Activity10.py
9284631f9b0f667d2a176d23aeaba7eafe26bc1c
[]
no_license
redyelruc/AdvProgModule
beac4e0e60253f6f039fd03a08ad2e520e1a007a
fdb7ac492ce464ace6286ca94448bd37172f4203
refs/heads/master
2023-02-04T15:14:12.125839
2020-12-18T12:07:00
2020-12-18T12:07:00
310,256,254
0
1
null
null
null
null
UTF-8
Python
false
false
3,885
py
from tkinter import ttk import tkinter.scrolledtext as tkscrolled import tkinter as tk def open_main_window(title, x, y): # set up main window root = tk.Tk() root.title(title) root.geometry(f"{x}x{y}") return root def make_grid_rows_and_columns(window, rows, columns): for i in range(rows): ...
[ "redyelruc1@hotmail.com" ]
redyelruc1@hotmail.com
1cd6060ec53429c1f851fd3349cf3951c197cc77
aeee61b6532965f03a6c9b0a1c50e8e0b5919cb2
/andrewtomai/api/post_api.py
9a3a457356f346846ba1cd5666b6927abaaaf529
[]
no_license
andrewtomai/super-website
50516258e505d7705f8a0e2a69341cec2f8a5ff8
87c2c8dded350d06f1125ac2dad2bb09afcb4761
refs/heads/master
2021-05-07T20:41:00.306789
2017-12-17T18:12:43
2017-12-17T18:12:43
108,932,514
0
0
null
null
null
null
UTF-8
Python
false
false
3,593
py
""" REST API for all posts. URLs include: /api/p/ /api/p/<postId> """ from andrewtomai.api.upload_helper import upload_file import andrewtomai import flask @andrewtomai.app.route('/api/p/', methods=['GET', 'POST']) def list_posts(): """List all the most recent posts.""" if flask.request.method == 'GET': ...
[ "atomai@umich.edu" ]
atomai@umich.edu
146f9ccf026d8c0817580d91e077a72f246b7d52
b54b6168ba35ce6ad34f5a26b5a4a3ab8afa124a
/kratos_3_0_0/applications/structural_application/test_examples/cantilever3d.gid/cantilever3dstatic_superlu_benchmarking.py
728d0617a9bab45f572057ea8066cb7e7d3b02c9
[]
no_license
svn2github/kratos
e2f3673db1d176896929b6e841c611932d6b9b63
96aa8004f145fff5ca6c521595cddf6585f9eccb
refs/heads/master
2020-04-04T03:56:50.018938
2017-02-12T20:34:24
2017-02-12T20:34:24
54,662,269
2
1
null
null
null
null
UTF-8
Python
false
false
6,795
py
def FindNode(node_list,x,y,z): for node in node_list: if ((node.X - x) ** 2 + (node.Y - y) ** 2 + (node.Z - z) ** 2 < 0.0000001): print node return node def BenchmarkCheck(time, node1, node2, node3, node4): benchmarking.Output(time, "Time") benchmarking.Output(node1.Get...
[ "pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a" ]
pooyan@4358b7d9-91ec-4505-bf62-c3060f61107a
8554c7b4aa1726196474b9654b35e9aa4b761cb6
dea374ac0c61caae2b87a0fd1ad104db8199a53b
/process_data.py
425a11161c61419a80b69951af74d34e7b688fa2
[]
no_license
xiaoguan002/NSF
22914fe5e685856df97be6ce0c04b67d3f689647
b278c3874993033db16e51ad811e99f06edec1a9
refs/heads/master
2021-01-10T01:19:23.843642
2017-03-01T03:52:21
2017-03-01T03:52:21
54,110,576
0
0
null
null
null
null
UTF-8
Python
false
false
5,187
py
import numpy as np import cPickle from collections import defaultdict import sys, re import pandas as pd import MySQLdb import string def build_data_cv(cv=10, clean_string=True): """ Loads data and split into 10 folds. """ try: conn=MySQLdb.connect('private') cur=conn.cursor() ...
[ "guanpingyin@163.com" ]
guanpingyin@163.com
b9375991b0bfe68afce4ccdcaef1bfeda77efd0d
4e7c8a741b50a6c9b3717e7a22daea8a90e42fb3
/pages/loginPage.py
d56f678fee2c749a6eeff34e6e38262adc5f6826
[]
no_license
matthiassack/AutomationFramework
53650bf3ae071f37885b38fe6bd804be9d0e8949
32781437447ca9008a4ffd2c49ce1e02478e9290
refs/heads/master
2020-04-03T03:22:27.550688
2019-07-17T19:12:39
2019-07-17T19:12:39
154,983,979
0
0
null
null
null
null
UTF-8
Python
false
false
520
py
class LoginPage: def __init__(self, driver): self.driver = driver def enter_username(self, username): self.driver.find_element_by_id("txtUsername").clear() self.driver.find_element_by_id("txtUsername").send_keys(username) def enter_password(self, password): self.driver.fin...
[ "matthias@Matthias-MacBook-Pro.local" ]
matthias@Matthias-MacBook-Pro.local
97e381ef7d46e7f152a3aa58110194e19506c35d
dd63c94dee080c4628da0acbc8e36642ffc14920
/scripts/python-scripts/open_budget_other.py
7183550add42a856dd222a1fc9b22523d78be2dd
[]
no_license
CityOfLosAngeles/laBudget
120f6d3b22fc6a6f3448fdf7b45894975d93ba67
97c0b583c8039d5b72cf8f94f7db4583a93e46b8
refs/heads/master
2021-08-05T16:51:29.393342
2021-07-29T17:33:50
2021-07-29T17:33:50
126,221,242
1
0
null
2018-03-21T18:08:40
2018-03-21T18:08:39
null
UTF-8
Python
false
false
7,406
py
#!/usr/bin/env python3 # open_data_ther.py # Chelsea Ursaner. Edited by Adam Scherling. 6/11/2018 # Converted/Updated July 2021, Irene Tang #################### ## Setup #################### # make sure to install these packages before running: # pip install pandas # pip install sodapy import datetime import pandas ...
[ "irenetang14@gmail.com" ]
irenetang14@gmail.com
1bec78b72f8e244904787164e9f8ab80bebfd067
cdaedd6c77e1cd04bb15918bbec9895df71d862d
/receive.py
2d425b44fba5000cdc363d9ff745424fac7c574c
[]
no_license
YPeking/WeChatRobot
867f164ec60b378bdb9cc1e6bb616298a400fbe1
ee5d8794f6d71f09baea805f19ef0cf7c39f21ef
refs/heads/master
2020-04-18T21:43:57.096601
2019-01-27T05:30:12
2019-01-27T05:30:12
167,773,132
1
0
null
null
null
null
UTF-8
Python
false
false
6,878
py
# -*- coding:utf-8 -*- # filename: receive.py import xml.etree.ElementTree as ET import json import requests import urllib2 import re import random import sys from bs4 import BeautifulSoup reload(sys) sys.setdefaultencoding('utf-8') def parse_xml(web_data): if len(web_data) == 0: return None xmlData ...
[ "yangpeng199107@163.com" ]
yangpeng199107@163.com
bfd099d66ee9d7b87dd9a8eb08c4997bc219aa25
834c39ad6ee2bb11f76eff7a0beb00dd7ccad92c
/Blood_project/Blood_project/urls.py
c9c22e1f99986e18d5185c8a8c274d9a566a531e
[]
no_license
krishnarc/uyirottam
7287cf506cf447341e051083e917ee6113ffb13d
a366cba8be3610fe92be2be10ef6db681a1231b2
refs/heads/master
2021-04-03T06:50:09.670508
2018-03-11T13:54:56
2018-03-11T13:54:56
124,734,764
0
0
null
null
null
null
UTF-8
Python
false
false
916
py
"""Blood_project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class...
[ "krishnarc30@gmail.com" ]
krishnarc30@gmail.com
d4f9b4e366d56eaaeff7f64d62067dd824b12004
b8680901550000885423448cc4ca2564671a82b6
/tienda/store/views.py
4c38a47dc5403d70509941a5a7f25e454d1aff15
[]
no_license
EdgarRuizUribe/storeDjango
c401bdb1f8e700d1ba9119ac52d02fd622f27146
322defc45241cd163cede14d0618a3ca25cf47a7
refs/heads/master
2020-03-31T10:03:53.949226
2019-03-14T16:27:50
2019-03-14T16:27:50
152,121,174
0
0
null
null
null
null
UTF-8
Python
false
false
501
py
from django.shortcuts import render, get_object_or_404 from .models import * from django.shortcuts import redirect # Create your views here. def store_home(request): productos = Producto.objects.all() return render(request, 'store/store_productos.html',{'productos':productos}) def producto_detalle(request, p...
[ "edgarruizuri@gmail.com" ]
edgarruizuri@gmail.com
7c00814fdab5464425f65d37ee9b12c6dd61a2b9
d29e8586ae5da87b03e1636cc50f85e6dcf866b3
/writeToMysqlTop500_3.py
31f64ef400487d8220f41420749de6402b7728be
[]
no_license
kummar/Spark2Mysql
453e34a8c9f3933ad8e446accc7b93e7331796f3
ec8cd4a4a2f89865b42a13947b2f17e225ef98e0
refs/heads/master
2020-03-17T18:35:26.493596
2018-05-17T14:52:35
2018-05-17T14:52:35
133,827,436
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
# -*- coding: utf-8 -*- #sys.setdefaultencoding('utf-8') from pyspark.sql import SparkSession,functions import datetime from pyspark.sql import Row #get yesterday class DataUtil(object): def getYesterday(self):#获取昨天的日期 yesterday=datetime.datetime.today()- datetime.timedelta(days=1)#减去一天 ...
[ "songgq@jpush.cn" ]
songgq@jpush.cn
28dfc33f12c30cd2809e6e0f6ed5e7f7d1e972f3
3ba0dc2a1c4a32881e10f1a750ef96d0772049fb
/12-8.py
8a5694745732ec9f4e609c2daeaaa467616e715d
[]
no_license
yellow77/pythonad
de5a07d58e3ec199011fb2de4e032d7b9bb33d5a
14e03a3c3e1562b08f6cda033b667b1a02e02a08
refs/heads/master
2020-07-18T22:03:08.655564
2019-09-05T04:53:07
2019-09-05T04:53:07
206,321,031
0
0
null
null
null
null
UTF-8
Python
false
false
521
py
# _*_ coding: utf-8 _*_ # 程式 12-8 (Python 3 Version) import os, hashlib, glob allfiles = glob.glob('*.jpg') + glob.glob('*.png') allmd5s = dict() for imagefile in allfiles: print(imagefile + " is processing...") img_md5 = hashlib.md5(open(imagefile,'rb').read()).digest() if img_md5 in allmd5s: print("---------...
[ "yellowloveraul@gmail.com" ]
yellowloveraul@gmail.com
df89b2ad0a03436054a0cd230c4e9e9f85600525
df560dde5ffbae51187041f422c87f7d1544cbe9
/leetcode/python/73_set_matrix_zeroes.py
2de9b6873ddcd703af3c4af78da47cf6055c48a0
[ "MIT" ]
permissive
VVKot/coding-competitions
61c97dbc4fdaeb0a35ff7fa8e55529b579fd1ebb
7d6e599b223d89a7861929190be715d3b3604fa4
refs/heads/master
2021-07-04T17:47:34.246535
2020-09-23T20:28:30
2020-09-23T20:28:30
174,696,391
4
0
null
null
null
null
UTF-8
Python
false
false
688
py
from typing import List class Solution: def setZeroes(self, matrix: List[List[int]]) -> None: H = len(matrix) W = len(matrix[0]) col1 = 1 for y in range(H): for x in range(W): if not matrix[y][x]: if x == 0: c...
[ "volodymyr.kot.ua@gmail.com" ]
volodymyr.kot.ua@gmail.com
bbf1579edad71cb815dff1b82b3f7a251ea0d70b
d4f264368005a8b1e9411e606ab0465492e21caf
/conftest.py
04fc7fd61459888cb1b2a6732c6ac87bcf416b5c
[ "BSD-2-Clause" ]
permissive
harvimt/tes4py
d2c4445bf40fec02e5bc730a87c14394f71d2918
a6f3abc046f9ef6f5185b13a844e7c00ce13f21d
refs/heads/master
2020-05-04T13:57:13.766608
2019-04-03T00:37:32
2019-04-03T00:37:32
179,179,933
4
0
null
null
null
null
UTF-8
Python
false
false
68
py
import sys import os.path sys.path.append(os.path.dirname(__file__))
[ "mark.harviston@gmail.com" ]
mark.harviston@gmail.com
fb8e2f2f36b3d5a401c0be898b46659cae39cf29
1c3f695d939dfd8bb5f3671648c7f538c6f4d01f
/Chapter09/paste_exfil.py
7d3eb2ad73675946a252b4235a6921c04360f09b
[ "MIT" ]
permissive
Mazuco/Black-Hat-Python
83be969770768f61daadd068287d1fe3bec0defd
0f7432d523d88ddb4295d9e558ead679961ecbb2
refs/heads/main
2023-04-02T14:06:21.899542
2021-03-18T18:44:51
2021-03-18T18:44:51
349,146,558
6
1
null
null
null
null
UTF-8
Python
false
false
2,204
py
from win32com import client import os import random import requests import time username = 'tim' password = 'seKret' api_dev_key = 'cd3xxx001xxxx02' def plain_paste(title, contents): login_url = 'https://pastebin.com/api/api_login.php' login_data = { 'api_dev_key': api_dev_key, 'api_user_nam...
[ "noreply@github.com" ]
noreply@github.com
efd1d2ca53daa70e280868bb3653d80b87a6acf9
32079a99520872be97e83ccbd3ae6f003f925006
/devel/lib/python2.7/dist-packages/um7/srv/_Reset.py
fc277551aa00b30da6af51f1fe9b0b4d4e764e76
[]
no_license
wndxwilson/Azimorph
a00fa8d34e664cc29cd9226ec378f93fa7df088e
60b81694cadaaf30b9f640a4ed3bebd20ebc2f1a
refs/heads/master
2023-02-16T12:55:26.046759
2021-01-08T22:09:30
2021-01-08T22:09:30
328,021,807
1
0
null
null
null
null
UTF-8
Python
false
false
7,602
py
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from um7/ResetRequest.msg. Do not edit.""" import codecs import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct class ResetRequest(genpy.Message): _md5sum = "626ea3efbc6874926126840202a803dd" _t...
[ "you@example.com" ]
you@example.com
90353abd39008a6c7583f09e1b4866b8af3d8af2
7d4bfd9c8970de5abd143fcb5ff3f3927f4bf1b0
/cardiotronics/wsgi.py
7f76acab2ead5e8cb7aa7a960c987b95a0e89efa
[]
no_license
devthoughtwin/demo2
055f871bea7c84e36de386c1dd25effb38f9f88e
e99230161ae0d2f85a689ceab7794a2323415168
refs/heads/master
2020-04-22T15:31:35.826542
2019-02-13T09:38:01
2019-02-13T09:38:01
170,480,119
0
0
null
null
null
null
UTF-8
Python
false
false
403
py
""" WSGI config for cardiotronics project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/2.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO...
[ "vinod@thoughtwin.com" ]
vinod@thoughtwin.com
0bb5c2d6d7765116dfc6e179cc86266981d8112f
3cabfd6ad2d1477b579dadb959d74931daf67c3c
/data_structure/sets/12_max_and_min_in_set.py
d20a10a4196f028f4a3f6af8bc0499493de53c1a
[]
no_license
SunnyRaj94/Basic-Python-And-Data-Structures
1a7100d91d3bbd82157feb7bcbd105c8bc7fd765
726c044773a0fe7146356c0bee28805eea6d15e2
refs/heads/master
2020-11-25T07:27:47.441078
2019-12-21T07:23:39
2019-12-21T07:23:39
228,556,873
0
0
null
null
null
null
UTF-8
Python
false
false
455
py
""" Created on 13/12/2019 @author: Sunny Raj """ """ problem statement: Write a Python program to find maximum and the minimum value in a set """ #creating sample set my_set=set({"apple", "banana", "cherry","potato","xyz"}) #finding maximum value from set maximum_value = max(my_set) # finding minimum value from set m...
[ "sunnyraj94@hotmail.com" ]
sunnyraj94@hotmail.com
24a26fa415a828860233baf76ad7bf89ad51c567
332b5d15535d2286a98b390ed224a233a56634ed
/responses.py
c92fb67e14645f84bca00652dcfcdf136781abda
[]
no_license
sonixboost/zxtelebot
da11ef7795989bb7dd6909a91815c65356ca1c7b
ae00609c65ea5a9260866d69f1caff80f57291ba
refs/heads/main
2023-04-22T05:08:20.374621
2021-05-18T18:09:07
2021-05-18T18:09:07
368,620,457
0
0
null
null
null
null
UTF-8
Python
false
false
874
py
from datetime import datetime def hello(): return "Hello!👋 How are you" def who(): return "I am ZiXu_bot, created by the awesome ZiXu." def time(): now = datetime.now() date_time = now.strftime("Date: %d/%m/%y, Time: %H:%M:%S") return date_time def love(): return "I love you b...
[ "noreply@github.com" ]
noreply@github.com
b1ed8994ed68e46f1967482e6b2a55482c7492c3
a16d190c16781bf4fde5960673d2897e469e0174
/flink-ai-flow/lib/airflow/airflow/providers/google/cloud/hooks/os_login.py
c7a4234055f6bea72f78ce70789ceabe2f89d609
[ "Apache-2.0", "MIT", "Python-2.0", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
bgeng777/flink-ai-extended
742a1bb80d07c090c3ecb960394422896b5899d7
f83b5d661240c45c767002767c0cbddc847fff81
refs/heads/master
2023-08-15T00:32:40.260537
2021-07-27T04:20:53
2021-07-27T04:20:53
349,360,984
1
2
Apache-2.0
2021-05-20T03:05:56
2021-03-19T09:03:50
Python
UTF-8
Python
false
false
3,582
py
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "jiangxin.jiang@alibaba-inc.com" ]
jiangxin.jiang@alibaba-inc.com
b52a2f79ce8ccee0bb833b2d3ba50d39c0fa1b60
bdb1ff6a8cb36f850ea80a91abf9ddbcf2fc23bd
/gild/views.py
f45a754f45abe5afd28b03bb279cbffdabff3151
[]
no_license
imclab/gild
8c56d01b9a878dc21c8230089353ab5036a947f4
16bee94bb5a476278bb3a8e06e0dbff4975c947f
refs/heads/master
2020-06-05T00:34:31.568573
2014-04-30T15:54:46
2014-04-30T15:54:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
477
py
# -*- coding: utf-8 -*- ########################################################################## # Copyright (C) CEA - Neurospin, 2014 # Distributed under the terms of the CeCILL-B license, as published by # the CEA-CNRS-INRIA. Refer to the LICENSE file or to # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.h...
[ "yc176684@is222591.intra.cea.fr" ]
yc176684@is222591.intra.cea.fr
4de587cab3ba533750991bf0b37d5bde16fce5ee
c62870089bfa398f8b684386f0ae68cc5dcea55d
/exercicios/exe18.py
106d79caa2e00fc96455a7a6f501d6b71548483a
[]
no_license
GGreenBow/Python-Facul
828f6d8b5fce46769f47ab49de0da7fbe8422e5c
b9d3d356fdc3881434d52838b158f35f78f2a770
refs/heads/master
2023-06-23T00:40:34.318098
2021-07-21T17:06:21
2021-07-21T17:06:21
388,188,679
0
0
null
null
null
null
UTF-8
Python
false
false
148
py
num=[0]*10 i=0 while (i<10): num[i]=int(input('Digite um valor: ')) i=i+1 i=9 while (i>=0): print('%d | ' %num[ind], end="") i=i-1
[ "giovanna.arcoverde.job@gmail.com" ]
giovanna.arcoverde.job@gmail.com
ab624a2187ca3b5fce74ed60065aba42b9cacf56
dea0c71edbb8ca367ac478054d4599b5a42cf518
/cifar/vgg/thousandtwentyfour/hyper1024.py
e637a77a2200f7875a542802ecb9ce8c1a6cebf2
[]
no_license
yngtodd/paperspace
a8e394de4782a8f4a2b01c7a33658d9124f16168
740bf0290305cca09c385b58a550e0842147c210
refs/heads/master
2020-03-08T04:11:18.689813
2018-06-30T00:14:21
2018-06-30T00:14:21
127,914,212
0
0
null
2018-06-27T16:36:25
2018-04-03T13:40:05
Python
UTF-8
Python
false
false
4,183
py
'''Distributed Hyperparameter Optimization of VGG over CIFAR10 with PyTorch.''' from __future__ import print_function import argparse import torch import torch.nn as nn import torch.optim as optim from torch.autograd import Variable import torch.backends.cudnn as cudnn from utils import get_train_valid_loader #from ...
[ "myoung44@vols.utk.edu" ]
myoung44@vols.utk.edu
94a2319431d5a1836af583129c04d896ed455287
5bfa6d39ca5999f24d5c054cf26d4112156d6842
/Practice/Numpy/Concatenate.py
edc82a12fcea24b32ec3c9ea9c95350a79a2b776
[]
no_license
CompetitiveCode/hackerrank-python
3ad7f70f3d09149242b2ab6b27d0e4ec2a188837
898e6bf791791cbdeca9192c78c623a115b4c97b
refs/heads/master
2022-02-03T23:14:57.866923
2019-05-30T11:34:01
2019-05-30T11:34:01
null
0
0
null
null
null
null
UTF-8
Python
false
false
983
py
#Answer to Concatenate import numpy n,m,p=input().split() a,b=[],[] for i in range(int(n)): a.append(list(map(int,input().split()))) for i in range(int(m)): b.append(list(map(int,input().split()))) a,b=numpy.array(a),numpy.array(b) print(numpy.concatenate((a,b),axis=0)) """ Concatenate Two or more arrays can...
[ "admin@remedcu.com" ]
admin@remedcu.com
0a28b4b247fd117a5d0d5c702b2a3eb2cd5b5ec6
5996fef397944db5386726b4132550b78b53d1f3
/tests/dedupe/test_linker.py
9b46c4374bd040fcf8c2c1eeb1383c073748fc48
[ "MIT" ]
permissive
vishalbelsare/followthemoney
5b38178021d3781f0576b80a9f7d59abd0d59440
7b7e8aebd61a59d45986da07c6cdc764573e79a6
refs/heads/master
2023-03-15T23:27:12.326274
2022-02-03T07:55:39
2022-02-03T07:55:39
187,406,996
0
0
MIT
2023-03-06T10:58:49
2019-05-18T21:28:27
Python
UTF-8
Python
false
false
1,397
py
from unittest import TestCase from copy import deepcopy from followthemoney import model from followthemoney.dedupe import Linker, Match SAMPLE = { "decision": False, "canonical": {"id": "can", "schema": "Person", "properties": {"name": ["Tom"]}}, "entity": { "id": "ent", "schema": "LegalE...
[ "friedrich@pudo.org" ]
friedrich@pudo.org
8e08c4149e369c61f69512cf461af1096533371c
713d349dd0db1f326ee0e5b6e8317ecfe5ad69b5
/myblog/blog/urls.py
b59694e3eca182829e8a8fb442057151cb435d18
[]
no_license
miaomiaobupang/Python
499aab171f9d4fd38320b8b890370eb3f738cc81
a1e3128ebb8e97765df4434256b18dd72c03a7c6
refs/heads/master
2020-03-20T07:38:36.444380
2018-06-23T05:17:54
2018-06-23T05:17:54
137,287,050
0
0
null
null
null
null
UTF-8
Python
false
false
447
py
from django.urls import path from . import views app_name = 'blog' urlpatterns = [ path('index',views.index), path('article/<int:article_id>/',views.article_page,name='article_page'), path('edit/<int:article_id>/',views.article_edit,name='article_edit'), path('add',views.add_page,name='add_page'), p...
[ "40153049+miaomiaobupang@users.noreply.github.com" ]
40153049+miaomiaobupang@users.noreply.github.com
2f058eedc859c6e1bf03f752e6e7186e3d04ef01
f07b8fa5b644a87469714ed3959a86e00b020d8f
/main.py
86ea2ab85007326ccfdb295cacad777552a25014
[]
no_license
UnschooledGamer/alex
2e0ac30c084cc76ca11b09e8ac251585d6c92a9f
1a8d0feed79ef2b26ffdf8b87b2aa3853bf22bec
refs/heads/main
2023-02-01T08:50:01.735352
2020-12-19T17:44:18
2020-12-19T17:44:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,291
py
from flask import Flask, render_template, request from threading import Timer import webbrowser import requests import json import uuid import os app = Flask(__name__) myBid = "153894" # This value can be changed to use your own bot myKey = "C8abK8Xqt0iqeEEK" # This value can be changed to use your own bot #defi...
[ "noreply@github.com" ]
noreply@github.com
7cb79c4d8387b7a7aec5b197792b6b5c4cc69396
00df602d82f04b85dde5b0d2f9fb7690e2c3b94c
/main.py
f1f4cbf015e3701fd91a9a10d38a0ce4ab24e0db
[]
no_license
mjavidiq/number-wordify
2f67a13650ae83b14b7ea0f3f2cf2d0008a6b493
65eed390a65fa27e021e5e5d2d6be4a7dfae04ff
refs/heads/master
2021-10-25T05:20:27.892364
2019-04-01T21:41:48
2019-04-01T21:41:48
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,458
py
import argparse from number_to_words import * from words_to_number import * from all_wordifications import * parser = argparse.ArgumentParser() parser.add_argument("-n", "--number", action = "store", dest = "number", help = "Find a single wordification of phone number") parser.add_argument("-w", "--word", action...
[ "sam.buercklin@gmail.com" ]
sam.buercklin@gmail.com
be4d6e900bc57ce2ac2d93dffe63b33287765b57
c8f83fae4d09d6129f1531499138d1b72e7a91e6
/week3/PandaSocialNetwork/pandaSocial.py
0ed12eacf067bfcc584330350ed82c203abdb094
[]
no_license
slavyana-monkova/Programming101-3
4234ce5c3a0730f816e6bdf688b951a12855e6c3
d9a89b8c7091553214f817c1bf733171f08ab4dd
refs/heads/master
2021-05-30T20:12:32.562121
2016-03-19T13:47:43
2016-03-19T13:47:43
36,850,003
1
0
null
null
null
null
UTF-8
Python
false
false
4,488
py
import json from Panda import Panda2 class PandaSocialNetwork(): def __init__(self): self.network = {} def pandas(self): return self.__pandas def has_panda(self, panda): return panda in self.network def are_friends(self, panda1, panda2): return panda1 in self.network[...
[ "slaviana_m@mail.bg" ]
slaviana_m@mail.bg
99155f8328c039b59341ac316c315a792b8f6555
6bc658917b14ca0bcd4900dbdaf0b32bb3e5a829
/arp_cache_poisoning.py
831777265e3253a78f5b424b421b1bcbf3f9cdda
[]
no_license
AsherDLL/Sec-tools
556745925ed1d33c60e8a0ad88245bf91df580fd
8188fe07df8cba5b9a2435b423bfe8c108b2a95f
refs/heads/master
2021-07-12T02:25:09.205998
2020-05-29T19:00:16
2020-05-29T19:00:16
144,144,961
0
0
null
null
null
null
UTF-8
Python
false
false
408
py
#A noisy arp-poisoning attack #!/usr/bin/python import sys import time from scapy.all import sendp, ARP, Ether if len(sys.argv) < 3: print sys.argv[0] + ": <target> <spoof_ip>" sys.exit(1) iface = "ens33" target_ip = sys.argv[1] fake_ip = sys.argv[2] ethernet = Ether() arp = ARP(pdst=target_ip, psrc=fake_ip, op="...
[ "root@localhost.localdomain" ]
root@localhost.localdomain
606bd8620f59bf21b2155102fa38a59e4ffe425e
4842f6eec5257c5546215f84b92c9081fb485dbd
/F5SearchToolFunction/ConfigSearchFunctions.py
e0ade37ca9206ed830d2137b01c30dca313bae30
[]
no_license
stttt2003pk/stttt2003pk_f5_config_read
4398764562a69658208198f884e12bca883ee417
245f55563d122d5bf42b56e4853f53cb577645db
refs/heads/master
2021-01-09T06:25:57.984373
2017-02-05T13:22:47
2017-02-05T13:22:47
80,986,146
0
0
null
null
null
null
UTF-8
Python
false
false
9,499
py
#!/usr/bin/env python # -*- coding: utf8 -*- import os, sys cur_dir = os.path.dirname(os.path.abspath(__file__)) pack_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir)) #print pack_dir if pack_dir: sys.path.append(pack_dir) import F5ToolPackage import re __author__ = 's...
[ "stttt2003pk@gmail.com" ]
stttt2003pk@gmail.com
b9aa5d8831498274255a63071c2658ecd43f0335
aae994a76b683db92ba6a09c3ff8c0922c981ca3
/channels-example/notifier/serializers.py
df05982681097c0c217c5276a239ad9129c86bb7
[]
no_license
MerinRose123/python_django_notification
8b84e2412c640d2d9703afd7b47cca13413d0c70
3a1082ac336c6e5b5c3ae0ae1efe8db4aa3c67e8
refs/heads/master
2022-11-06T14:56:32.308138
2020-12-29T06:23:35
2020-12-29T06:23:35
204,337,137
0
0
null
2022-11-04T19:36:59
2019-08-25T18:57:42
JavaScript
UTF-8
Python
false
false
812
py
from rest_framework import serializers from rest_framework.validators import UniqueValidator from django.contrib.auth.models import User class UserSerializer(serializers.ModelSerializer): email = serializers.EmailField( required=True, validators=[UniqueValidator(queryset=User.objects.all()...
[ "merin.pottananickal@gmail.com" ]
merin.pottananickal@gmail.com
180d5f73e5579b1c35d5fbc01c5cf62c994d3f21
6df4bdb2ab23ea3281defb804924574c2e0b51b9
/pycharm/Project1/power_set.py
5ece86f0dcddc5a1548d2291655c123b0963c0cf
[]
no_license
AndroZa0812/python_ml_notebook
e3d876fcbb09fc0a2db09bb0679989112441bcfa
1224049f5c62da6915769dd8fec8eab73de45d96
refs/heads/master
2020-06-11T10:03:14.381852
2019-06-27T13:59:47
2019-06-27T13:59:47
193,925,025
0
0
null
null
null
null
UTF-8
Python
false
false
348
py
def power_set(s): if len(s) == 0: yield set(set()) return item = s.pop() subsets_without_item = power_set(s) for subset in subsets_without_item: yield subset new_subset = set(subset) new_subset.add(item) yield new_subset my_set = {1, 3, 6} for s in powe...
[ "you@example.com" ]
you@example.com
33b29ac765433248dcb4c90c89b722b5ee8df584
03ac4592dd2a54c792273afdd5c9a8f547e40565
/ordwebapp/tarjetas/migrations/0003_auto_20200522_2107.py
e9ca5434530a4f497084d795fbbb859d4e370151
[]
no_license
Roninjc/norskord
d49dd3f1ab28731a72b88b89c94c36473a0ff1cd
997e182b837d6ac85c3d0f6b887eea8d31aa55d5
refs/heads/master
2023-08-01T03:25:16.441602
2021-09-19T21:52:01
2021-09-19T21:52:01
408,240,935
0
0
null
null
null
null
UTF-8
Python
false
false
592
py
# Generated by Django 3.0.4 on 2020-05-22 19:07 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('tarjetas', '0002_auto_20200522_2100'), ] operations = [ migrations.RemoveField( model_name='verbsfeatures', na...
[ "jesus.castanocandela@gmail.com" ]
jesus.castanocandela@gmail.com
9c9f4d8294f3d0a807f98c70ff94b6f63a87f38a
2b15539963c5111bff1842cd73880a7ba30d3591
/RasterPixelCountStat/help/source/conf.py
4e5c09351f9b0db4f3109affa2cda745c96c801e
[]
no_license
mangowoong/qgis_rasterpixelcountstat_plugin
44c18aa46ef40d7f629407702b912560f174f6e3
7cc4e4d89ed6aaabd799e806402a32503adc2447
refs/heads/master
2021-01-23T22:06:17.543565
2014-03-25T12:12:08
2014-03-25T12:32:37
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,152
py
# -*- coding: utf-8 -*- # # rasterpixelcountstat documentation build configuration file, created by # sphinx-quickstart on Sun Feb 12 17:11:03 2012. # # This file is execfile()d with the current directory set to its containing dir. # # Note that not all possible configuration values are present in this # autogenerated ...
[ "socoooooool@gmail.com" ]
socoooooool@gmail.com
e0f11bd247a9501b84bd35851b67e487cb716a26
81407be1385564308db7193634a2bb050b4f822e
/the-python-standard-library-by-example/gettext/gettext_app_builtin.py
4c83ee623903f1b380c489b3d6896e7f8c8b49f8
[ "MIT" ]
permissive
gottaegbert/penter
6db4f7d82c143af1209b4259ba32145aba7d6bd3
8cbb6be3c4bf67c7c69fa70e597bfbc3be4f0a2d
refs/heads/master
2022-12-30T14:51:45.132819
2020-10-09T05:33:23
2020-10-09T05:33:23
305,266,398
0
0
MIT
2020-10-19T04:56:02
2020-10-19T04:53:05
null
UTF-8
Python
false
false
281
py
#!/usr/bin/env python # encoding: utf-8 # # Copyright (c) 2009 Doug Hellmann All rights reserved. # """ """ #end_pymotw_header import gettext gettext.install('gettext_example', 'locale', unicode=True, names=['ngettext']) print _('This message is in the script.')
[ "350840291@qq.com" ]
350840291@qq.com
2f9e06b5629f852ff6e4d8b648aa296bb00bc310
2a4e7362819b725cb905c171f0bd69e922f2f71a
/python-venv/lib/python2.7/site-packages/mrjob/examples/mr_jar_step_example.py
36dc1af41369ece780f8600bb04ec320ae2bf0cf
[]
no_license
adityagc/CS-109-Data-science
e1aac95c5216d28fce42ca35efa4c115c5bf56b6
359e200f6ef3d5232608306c4b30841727514a00
refs/heads/master
2022-11-15T20:57:51.662164
2018-07-15T15:52:50
2018-07-15T15:52:50
135,188,380
0
2
null
2022-11-03T16:22:52
2018-05-28T17:04:33
Python
UTF-8
Python
false
false
2,974
py
# Copyright 2013 David Marin # Copyright 2016 Yelp # Copyright 2018 Yelp and Google Inc. # # 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 # # Unl...
[ "adityagc@gmail.com" ]
adityagc@gmail.com
dc01cdd99c347bd0942b58121f69fb3ab51dc1b4
b25d9132796d4e5996cac6305a7fba748ba2608f
/src/cab_service/urls.py
9ba0f8a93aacedeaec2f9348f29d8cfd3013d0a3
[]
no_license
gouravtulsani/Cabapp_backend
8228053178dd572ac817cadb823ffd06be64f77e
e8a4a498e36e3101738cb866f5bc624291dc4f03
refs/heads/master
2020-06-03T14:03:27.397192
2018-11-13T14:51:09
2019-01-23T09:58:20
191,596,725
0
0
null
null
null
null
UTF-8
Python
false
false
805
py
"""cab_service URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.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...
[ "gaurav@fluctus.in" ]
gaurav@fluctus.in
d7b05238b67662fd441e4df6933439ac26248aff
13c3028d52bdb7a647921b52367a9c804e07cc25
/epyseg/ta/database/sql_column_name_dialog.py
c8a790bf9dc3c7b94ff5323f44fe120a199f2d07
[ "Apache-2.0", "MPL-2.0", "HPND", "BSD-3-Clause", "GPL-3.0-only" ]
permissive
baigouy/EPySeg
8b1a062f5e88405ca07bd33c6427686182bdae9d
5ce46ce981c7607c74d9a8f82ef942b207bdb210
refs/heads/master
2022-07-26T10:30:41.056239
2022-05-24T13:03:50
2022-05-24T13:03:50
272,421,806
19
5
BSD-3-Clause
2022-05-23T08:27:41
2020-06-15T11:34:48
Python
UTF-8
Python
false
false
4,736
py
# enter a SQL col name --> if name is not valid then forget about it... # maybe also need enter the type of the new column --> ???? import sys from PyQt5 import QtCore from PyQt5.QtWidgets import QDialog, QPlainTextEdit, QVBoxLayout, QApplication, QDialogButtonBox, QSpinBox, QLabel, \ QLineEdit, QComboBox import ...
[ "baigouy@gmail.com" ]
baigouy@gmail.com
46c4b57372975788f41b6a1641a58fa31c914e8a
6e3f02ce12ec2e209aa524e4e8f4eabddbc27e11
/interaction.py
1b7aa3715607c90574f8ac3e00e786a2a71103d8
[]
no_license
irmalien/Face-tracking-mouse-movement
5494f56ee7cbf2530e0186b13edcdb3c72dedd65
48031b82d8006a646b5c8af2e28b1549cacc6671
refs/heads/master
2022-04-07T15:44:17.233882
2020-03-11T19:37:52
2020-03-11T19:37:52
220,056,413
0
0
null
null
null
null
UTF-8
Python
false
false
1,475
py
import pyautogui class Interaction: def __init__(self, output_screen, keypress_precision=8): self.keypress_precision = keypress_precision self.output_screen_width = output_screen['w'] self.output_screen_height = output_screen['h'] def move_keyboard(s...
[ "mikus.vanags@mittmedia.se" ]
mikus.vanags@mittmedia.se
0e04438260526e443c3d7066c4278865b861da3c
1b19103c7781c31b4042e5404eea46fa90014a70
/cenit_city_context_api_1_0_0/models/config.py
33c8075afb540d3e7d9582d3424653c5b110bdd7
[]
no_license
andhit-r/odoo-integrations
c209797d57320f9e49271967297d3a199bc82ff5
dee7edc4e9cdcc92e2a8a3e9c34fac94921d32c0
refs/heads/8.0
2021-01-12T05:52:26.101701
2016-12-22T03:06:52
2016-12-22T03:06:52
77,223,257
0
1
null
2016-12-23T12:11:08
2016-12-23T12:11:08
null
UTF-8
Python
false
false
3,600
py
# -*- coding: utf-8 -*- ############################################################################## # # OpenERP, Open Source Management Solution # Copyright (C) 2004-2010, 2014 Tiny SPRL (<http://tiny.be>). # # This program is free software: you can redistribute it and/or modify # it under the terms of t...
[ "sanchocuba@gmail.com" ]
sanchocuba@gmail.com
191cfda6ce17fcbe41a235878917ff863d791458
aa4394485f0148e1860d51cedf12dc4e63b97c0a
/pymodel/samples/Socket/test_stepper.py
3d2643fd662247b123d53d843dfb42ca04a57351
[ "LicenseRef-scancode-public-domain" ]
permissive
sergey-lebedev/PyModel
18b41cfb46ecc1dc7f60aa85f276a7a196660117
c08696a48e18ae462f0e9348fa63ed4eb71cba4a
refs/heads/master
2020-12-24T11:11:04.897810
2012-09-01T18:18:02
2012-09-01T18:18:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
435
py
""" Socket tests with stepper """ # Subsequent runs use different port numbers # so output is not completely reproducible cases = [ ('Synchronous: no blocking, next action after send_all is send_return, etc.', 'pmt.py -s 4 -r 6 Socket NoBlockScenario -i Stepper'), ('Synchronous and deterministic: entire...
[ "jon@u.washington.edu" ]
jon@u.washington.edu
5ead92b975df0c2494154d9582089733f632e2b7
7bededcada9271d92f34da6dae7088f3faf61c02
/pypureclient/flasharray/FA_2_17/models/api_client_response.py
06eace511c986807c009b8503e2df4331826493e
[ "BSD-2-Clause" ]
permissive
PureStorage-OpenConnect/py-pure-client
a5348c6a153f8c809d6e3cf734d95d6946c5f659
7e3c3ec1d639fb004627e94d3d63a6fdc141ae1e
refs/heads/master
2023-09-04T10:59:03.009972
2023-08-25T07:40:41
2023-08-25T07:40:41
160,391,444
18
29
BSD-2-Clause
2023-09-08T09:08:30
2018-12-04T17:02:51
Python
UTF-8
Python
false
false
3,904
py
# coding: utf-8 """ FlashArray REST API No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: 2.17 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re import six import typing from ...
[ "noreply@github.com" ]
noreply@github.com
98d73d768d95e7de81737db0b42d9bb566795dd9
04b2e3cfb96c8e2b86f6da89baa5dfccbfb8ec10
/noon50/extprice.py
bcd17cd69fb1eb5dd7e626d1f344e15c9e7b8280
[]
no_license
danbikle/pd101
812e582c94d7006e54e45c70a05d07bf6b9af7e3
883d01b7431d796d6cb5cfbb2cde5113820cc050
refs/heads/master
2021-01-01T16:38:56.780737
2015-03-19T10:53:11
2015-03-19T10:53:11
32,036,907
2
1
null
null
null
null
UTF-8
Python
false
false
1,054
py
# /home/ann/pd101/noon50/extprice.py # This script should extract recent date, prices from html import bs4 import datetime import pdb soup = bs4.BeautifulSoup(open("/tmp/noon50/GSPC.html")) span0 = soup.find(id="yfs_market_time") date_l = span0.string.split(",")[:3] date_s = date_l[1]+date_l[2] mydt = datetime....
[ "dan.bikle@gmail.com" ]
dan.bikle@gmail.com
5f18ecc28b0267329f9d79b90a9a9a57bdda2438
71736c1a5615a831ce777f4fb27e3bd77ad5d43b
/T4/T3/Produto.py
dcbcfe3b52e20f8759583fd2f90797608bb98151
[]
no_license
Edu93Reis/aulaPoo-Python
28e37d3fd38e7d7d4288cb0ae0e8f0f7c4b737c8
0c6b997b99c612756e41540a66a10e386588c2b3
refs/heads/master
2021-04-26T23:42:30.398947
2018-05-18T04:01:24
2018-05-18T04:01:24
123,842,342
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
from Imposto import Imposto class Produto: def __init__(self,__nome,__preco,__imposto): self.__nome = __nome self.__preco = __preco self.__imposto = __imposto def getPreco(self): return self.__preco * self.__imposto.getAliquota() def getNome(self): return self.__n...
[ "eduardo.reis93@gmail.com" ]
eduardo.reis93@gmail.com
13396b7606db239a39684081d2b0a4377b4dafda
f22219d709b6837f55fb101f4bfaf38e14998c3d
/venv/Scripts/pip-script.py
1820aaac241c680ec0cffcc35d8e15675bfc6ea9
[]
no_license
sauravraj1/hostel
93b96b945223d40e286712cfe2d0fa260c2f1c3e
9455f651350dd57f61e6cad13ca477c59cf16da9
refs/heads/master
2022-02-25T09:27:49.494727
2019-10-02T09:12:02
2019-10-02T09:12:02
212,297,486
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
#!C:\Users\saura\PycharmProjects\hostelallotment\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==19.0.3','console_scripts','pip' __requires__ = 'pip==19.0.3' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sy...
[ "50795506+sauravraj1@users.noreply.github.com" ]
50795506+sauravraj1@users.noreply.github.com
b226aec3d2c171e08332729217421343ba3d10d2
f2886acbe9991473dd94a3fd178ae4316b8227c4
/UserAuthentication/models.py
2a75ca826a0c679b0195ec319de56a2f4d5effc8
[]
no_license
monyoudom/LookBackStory
5166353c184952ee0305dfc80e7f4bf5a4b9a68b
6411bcffc2f6df0f03de34dd5d8ae233fb7c99b2
refs/heads/master
2021-05-14T01:04:34.109118
2018-01-24T16:38:07
2018-01-24T16:38:07
116,554,819
0
0
null
null
null
null
UTF-8
Python
false
false
169
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.auth.models import Permission , User from django.db import models
[ "thongmonyoudom@outlook.com" ]
thongmonyoudom@outlook.com
bf207c6d8685f1e4144d0e88c4a6bc5f614bcf4c
4ac834504ea323238fb5f3d5b5c8b65c8df6b32f
/Module+1.py
5bcb7e233399e9c8256b23c815726ee93d8aecf9
[]
no_license
velamen2009/ml_with_python
e9aa4a2aadc8aa80052115201d98c8de7701201c
ebecc750291b8fdeaa1a1a7693f03fba3c97a256
refs/heads/master
2020-03-06T20:36:51.483422
2018-03-27T23:30:20
2018-03-27T23:30:20
127,057,312
0
0
null
null
null
null
UTF-8
Python
false
false
4,158
py
# coding: utf-8 # --- # # _You are currently looking at **version 1.0** of this notebook. To download notebooks and datafiles, as well as get help on Jupyter notebooks in the Coursera platform, visit the [Jupyter Notebook FAQ](https://www.coursera.org/learn/python-machine-learning/resources/bANLa) course resource._ ...
[ "2565570621@qq.com" ]
2565570621@qq.com
795a0b46e9357483c03125a7d8cc6fb63eb4b43e
240acd20a7036636ac1b763900467401e3b5ee8c
/OCR/picam_cv/camera.py
d34c1d0f7127cefd5ba3ca4b03f84c504af62735
[]
no_license
ycchae/6thKoreaHackathon
5d835ab6827555e3ac6bd62bd2aaa18e8668084a
d108b5125806f2538bb9c4144b1a289189994522
refs/heads/master
2022-03-11T11:34:06.738640
2019-08-31T20:14:36
2019-08-31T20:14:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
476
py
from picamera import PiCamera from ocr import Recognition camera = PiCamera() #camera.start_preview() cnt = 1 recogtest = Recognition() path = 'image10.png' result=recogtest.ExtractNumber(path) print(result) ''' while True: x = raw_input() if x == "s": # camera.stop_preview() break elif x == "c": path = '/hom...
[ "yunchang.chae@gmail.com" ]
yunchang.chae@gmail.com
7df9e6788dbba56456f6f0e385d1683ce9c94950
58d8b2b9a1ece8cc06a2997f731a17f22edacbf0
/cipher/plugins/vision/actions.py
c430556688ec6a0c5713935b0fbde9985d023011
[]
no_license
valorun/CIPHER
2c67a7b6eee1f8a593c07cb594dd922f805a468e
e7d1aef66470477d5788c2dc11c7370284a6bdf4
refs/heads/master
2023-07-24T04:05:54.000846
2022-07-24T09:36:37
2022-07-24T09:36:37
137,410,300
0
0
null
2023-07-18T21:53:21
2018-06-14T21:15:53
Python
UTF-8
Python
false
false
451
py
from cipher.core.actions import SpeechAction, CUSTOM_ACTIONS from cipher import mqtt class DetectObjectsAction(SpeechAction): display_name = 'Détecter les objets' @staticmethod def get_parameters(): return [] @staticmethod def check_parameters(): return True, None @staticmet...
[ "ronan@collier-famille.fr" ]
ronan@collier-famille.fr
0b2f37abadd3f1ede48d50d9364c44b7e4777b20
11cd362cdd78c2fc48042ed203614b201ac94aa6
/desktop/core/ext-py3/boto-2.49.0/boto/ec2/ec2object.py
fa50a9fcc7e793e0c6e8a39ad3b52ba7f6692bef
[ "CC-BY-3.0", "LicenseRef-scancode-other-copyleft", "LicenseRef-scancode-unknown-license-reference", "ZPL-2.0", "Unlicense", "LGPL-3.0-only", "CC0-1.0", "LicenseRef-scancode-other-permissive", "CNRI-Python", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-or-later", "Python-2.0", "GPL-3.0...
permissive
cloudera/hue
b42343d0e03d2936b5a9a32f8ddb3e9c5c80c908
dccb9467675c67b9c3399fc76c5de6d31bfb8255
refs/heads/master
2023-08-31T06:49:25.724501
2023-08-28T20:45:00
2023-08-28T20:45:00
732,593
5,655
2,244
Apache-2.0
2023-09-14T03:05:41
2010-06-21T19:46:51
JavaScript
UTF-8
Python
false
false
5,554
py
# Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ # Copyright (c) 2010, Eucalyptus Systems, Inc. # # 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 # w...
[ "noreply@github.com" ]
noreply@github.com
2663a2f227caad101fd64308204e17390ed99e5e
81419798a85127c3450e1e0342013c7a395c0b40
/pset6/cash/cash.py
5c18475340294b34949bc336d24f7b56f2ee5a5f
[ "MIT" ]
permissive
ctemelkuran/cs50
64fd1d5e665c746dee76744443dec5d83b5fb719
6b1e238e0716b04d8d1dbae61c6625a52dcf6e46
refs/heads/main
2023-01-30T15:32:27.298807
2020-12-13T07:30:40
2020-12-13T07:30:40
311,726,065
0
0
null
null
null
null
UTF-8
Python
false
false
256
py
from cs50 import get_float while True: dollars = get_float("Enter the owed amount:") if dollars >= 0: break cents = (dollars * 100) total = 0 for coin in [25, 10, 5, 1]: total += int(cents // coin) cents %= coin print(total)
[ "noreply@github.com" ]
noreply@github.com
f4e1c16570dac9023580fc90b033598dd13d4df0
70dcd504ea152b5292d80728ca37c433ec41be4c
/tests/data_physionet2019_test.py
07b067c2032e8f551d650705f17754e8bbe6dc1e
[ "MIT" ]
permissive
philipdarke/torchtime
64f58f4267eace54ff9cdee9d9181192acf7c12c
c22d17ae41f1675f2e32b3b37fec60f93057a1e8
refs/heads/main
2023-06-30T05:19:39.697699
2023-06-13T10:30:27
2023-06-13T10:30:27
475,093,888
30
6
MIT
2023-03-12T15:53:02
2022-03-28T16:47:59
Python
UTF-8
Python
false
false
19,073
py
import re import pytest import torch from torchtime.constants import OBJ_EXT from torchtime.data import PhysioNet2019 from torchtime.utils import _get_SHA256 SEED = 456789 RTOL = 1e-4 ATOL = 1e-4 CHECKSUM_X = "6eb80cddc4eb4fe1c4cdcae8ad35becc75469737542ca66ac417fda90f3a1db3" CHECKSUM_Y = "8fa4a9f7f8fc532aca0a9e0df6c...
[ "43066442+philipdarke@users.noreply.github.com" ]
43066442+philipdarke@users.noreply.github.com
33659941a8c7b53c1464ee3fca6f4abb4b38f1b2
805626d7ea7e702c26dd55e82cae647f0ea010de
/datasets/GSE13425/GSE13425Dataset.py
9b998d86415be3c68f1225b196e78a9ce684ffbf
[]
no_license
krypty/BIO-SELECT
6f3cc842c78f4986f9b420f1fd946828481df535
b8030ee26420fefa7db8d970458738726c5b78f6
refs/heads/master
2021-03-16T06:52:30.418188
2018-12-19T07:47:53
2018-12-19T07:47:53
69,567,545
2
0
null
null
null
null
UTF-8
Python
false
false
3,416
py
import glob import os import re import pandas as pd from datasets.Dataset import Dataset class GSE13425Dataset(Dataset): def __init__(self): # super() call is voluntarily omitted filename = r = './data/GSE13425/E-GEOD-13425-processed-data-1721486034.txt' df = pd.read_csv(filename, sep="...
[ "gmarigliano93@gmail.com" ]
gmarigliano93@gmail.com
10f95e7b16db7916e3cdc3c061750179de5cfdb0
3a8a3f07b75bdf508b8edc87b1239077afce4bce
/djangophx/wsgi.py
417e400e892c60c2760fbb4e1b170278de2147cd
[ "MIT" ]
permissive
djangophx/djangophx-web
5ba5c167d57dc85d17d8f9acbe81f9e389b3c8f4
974df5b461f96e5291b14f04567b9aac283766da
refs/heads/master
2020-12-31T00:53:15.813272
2017-01-31T22:33:28
2017-01-31T22:51:00
null
0
0
null
null
null
null
UTF-8
Python
false
false
458
py
""" WSGI config for djangophx project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ """ from __future__ import absolute_import, unicode_literals import os from django.core.wsgi imp...
[ "jwilhelm@godaddy.com" ]
jwilhelm@godaddy.com
06bc48d4bc287fb3d1caae1b82df7092d6343645
ed7c28b78e39f607e122f62b4c008661643385ae
/Message/urls.py
cdebab595981258e09d774fde4db06756f10d1c2
[]
no_license
basu-dev/MobileVersionRaven
507d0226fc0cc95ab5bd21ebebf6813e532fb1e4
a1aa66a2bc9541c9fbbfbfa97fddfb6adea273e5
refs/heads/master
2020-07-01T07:30:56.554113
2019-08-05T15:58:28
2019-08-05T15:58:28
201,090,203
1
0
null
null
null
null
UTF-8
Python
false
false
201
py
from django.urls import path from . import views urlpatterns=[ path('',views.message_list), path('message/<int:id>/',views.chatroom), path('save_message/<int:id>/',views.save_message), ]
[ "adbasudev54@gmail.com" ]
adbasudev54@gmail.com
1f804536a86d59b90964fd47c07595a61a7c1fb8
44678e46766332e715c09ebd4bd93c57d75d650a
/part2/5-human-pose-estimation-onnx/aws_deployment/s5-hpe-onnx-aws/utils/hpe_transform_utils.py
b54aface0aa2ae8f8f1b8cd597aeacb29dda780e
[]
no_license
birender-panwar/vision-ai
ff3368c07adbf6760e11a8c764e66877c96b20d6
11b44e42e08bab534b3a41bfef4ebcc9a772fde2
refs/heads/main
2022-12-28T18:40:22.955969
2020-10-18T10:59:53
2020-10-18T10:59:53
304,915,469
0
1
null
2020-10-18T05:00:24
2020-10-17T16:02:37
null
UTF-8
Python
false
false
1,058
py
import numpy as np import PIL def img_normalize(img, means, stds): """ Args: Numpy : Image of size (C, H, W) to be normalized. Returns: Numpy: Normalized image. """ for i in range(3): img[i] = np.divide(np.subtract(img[i], means[i]), stds[i]) img[i] = np.nan_to_num(...
[ "noreply@github.com" ]
noreply@github.com
95cc14cdf4a2934e17ff077a41433ca964850f07
8afb5afd38548c631f6f9536846039ef6cb297b9
/GIT-USERS/amitness/maptools/geo/set_province_geo_properties_from_oknp.py
dafa719280d1c97b63ddefc7733031115fe807d1
[ "MIT" ]
permissive
bgoonz/UsefulResourceRepo2.0
d87588ffd668bb498f7787b896cc7b20d83ce0ad
2cb4b45dd14a230aa0e800042e893f8dfb23beda
refs/heads/master
2023-03-17T01:22:05.254751
2022-08-11T03:18:22
2022-08-11T03:18:22
382,628,698
10
12
MIT
2022-10-10T14:13:54
2021-07-03T13:58:52
null
UTF-8
Python
false
false
2,055
py
import getopt import json import re import sys """ Script to manipulate the properties of each VDC in the vdc_oknp.geojson file in the geo repository and convert each to the format needed for NepalMap output as vdc.geojson """ def convert_json(input_file, output_file): with open(input_file, "r") as data_file: ...
[ "bryan.guner@gmail.com" ]
bryan.guner@gmail.com
8d7b72953bd990794b6c55c952c15b2bb38d0103
de2a58f593b1955550bd49ce512353b7561723f5
/Scrapper.py
d18002d65c0b97250d322a9a39cf377001320bba
[]
no_license
antonymwangig/start
d687dad738bfc5421bade7bfeeddeef8d36f3849
9042e6caff6592d143256816e5bbbf7ca4614a36
refs/heads/master
2021-05-14T11:55:22.310711
2018-01-05T14:39:13
2018-01-05T14:39:13
116,393,885
0
0
null
null
null
null
UTF-8
Python
false
false
7,160
py
from bs4 import BeautifulSoup from Urls import Url from Keywords import keywords class Scrap: def __init__(self,response,currentHost): self.response=response if currentHost.endswith("/"): self.currentHost=currentHost[:-1] else: self.currentHost=currentHost s...
[ "antonymwangig@gmail.com" ]
antonymwangig@gmail.com
f97bc904b7b78adaeac41e756b9d7ccf05ea023f
74877cb0c82e46265f62991b07a55618e7691afd
/permutation_based_simulation/permutation_based_simulation.py
e1dd5594ad9b9a917b3d5c4756eb8f3f83bf87a5
[ "MIT" ]
permissive
hmmhdnr/molecular_network_analysis_multidimentional_vector
230422fc4ede31439565bee15ce3306c89c9e49e
3a79bf3b6bb3a80e82bc035c51a32d35d328bb6d
refs/heads/main
2023-04-18T08:50:56.204133
2021-07-06T04:43:28
2021-07-06T04:43:28
383,046,393
0
0
null
null
null
null
UTF-8
Python
false
false
3,196
py
import pandas as pd from itertools import groupby from multiprocessing import Pool import time import datetime import os import random # permutation-based simulation # 2021/5/27 by H.Homma ListSize = 1965 Size_A = 73 Size_B = 62 Expected_Overwrap_Size = 43 bootstrap_N = 10000 Dir_output = 'result_from_all_proteins' c...
[ "noreply@github.com" ]
noreply@github.com
8714f66bb60c609dd43c55d3d0061cde1805382b
1141cd4aeffafe496bb7d8a1399ca7c8445edd6e
/tests/ui_tests/test_field_ui_options_data/config_generator.py
f1f37c951a3276fe66171bfd21965f2c0877d79b
[ "Apache-2.0" ]
permissive
amleshkov/adcm
d338c3b7c51e38ffe9a0b2715c85e54bed0c4f46
e1c67e3041437ad9e17dccc6c95c5ac02184eddb
refs/heads/master
2020-11-30T15:35:57.456194
2019-12-16T20:27:06
2019-12-16T20:27:06
230,432,278
0
0
NOASSERTION
2019-12-27T11:30:23
2019-12-27T11:30:22
null
UTF-8
Python
false
false
3,115
py
import os import yaml DATA = [("invisible", "true", "advanced", "true"), ("invisible", "false", "advanced", "false"), ("invisible", "false", "advanced", "true"), ('invisible', "true", "advanced", "false")] TYPES = ("string", "password", "integer", "text", 'boolean', 'float', 'option', 'list', 'map', 'json', 'f...
[ "cab@arenadata.io" ]
cab@arenadata.io
47aefb1dc88c20f09ca380b4a5f6ac27436692b7
f238ec97ddc6922d0888eb625281a91209ab8c6c
/google_yoda/yoda_speak/models.py
4aafb2ec8cabf6ce8f18cbfbcd64d6d4e6cd2ef7
[ "MIT" ]
permissive
loganmurphy/unit-integration-tests
1c973f3c2955d7af6a1955e48f61d6e5e1ed700a
3af12e3f956a501422bc6686b3deb0bc815a0610
refs/heads/master
2021-08-30T03:41:40.394459
2017-12-15T22:34:30
2017-12-15T22:34:30
114,272,900
0
0
null
2017-12-14T16:27:54
2017-12-14T16:27:54
null
UTF-8
Python
false
false
651
py
from django.db import models from django.conf import settings class Padawan(models.Model): userID = models.CharField(max_length=250, unique=True) def __str__ (self): return self.userID class YodaPhrase(models.Model): phrase = models.TextField(null=True) translation = models.TextField(null=True...
[ "loganmurphy1984@gmail.com" ]
loganmurphy1984@gmail.com
73737bf81e75478db35f9ca61995da66cdf0d9c2
769db2120993c3d02531c41bb3daae976647a28b
/simpletrack/particles.py
951a9f123031237e14776d02e4a20170cff9e039
[]
no_license
giadarol/simpletrack
3fbffee63bfa8b0f3172dd7b678c99bdc7349b1f
fb39d2726af4a4092100215664a11a2cde2639be
refs/heads/master
2020-04-06T23:23:42.258911
2018-11-16T14:36:40
2018-11-16T14:36:40
157,867,458
0
0
null
2018-11-16T12:54:27
2018-11-16T12:54:27
null
UTF-8
Python
false
false
5,529
py
import numpy as np from cobjects import CBuffer, CObject, CField ## chi = q/q_0 m_0/m ## rmass = m_0/m ## rchange = q/q_0 ## px = P/P0 m_0 / m class Particles(CObject): pmass=938.272046e6 _typeid=0 def _set_p0c(self): energy0=np.sqrt(self.p0c**2+self.mass0**2) self.beta0=self.p0c/energy...
[ "riccardodemaria@gmail.com" ]
riccardodemaria@gmail.com
f4c16df479c41d875d6923316633e762a7e5f3e6
711756b796d68035dc6a39060515200d1d37a274
/output_cog/optimized_25586.py
426c1d73a6457108e12822fce4bf72e82f3f2a37
[]
no_license
batxes/exocyst_scripts
8b109c279c93dd68c1d55ed64ad3cca93e3c95ca
a6c487d5053b9b67db22c59865e4ef2417e53030
refs/heads/master
2020-06-16T20:16:24.840725
2016-11-30T16:23:16
2016-11-30T16:23:16
75,075,164
0
0
null
null
null
null
UTF-8
Python
false
false
10,844
py
import _surface import chimera try: import chimera.runCommand except: pass from VolumePath import markerset as ms try: from VolumePath import Marker_Set, Link new_marker_set=Marker_Set except: from VolumePath import volume_path_dialog d= volume_path_dialog(True) new_marker_set= d.new_marker_set marker_set...
[ "batxes@gmail.com" ]
batxes@gmail.com
7cc18262aae9e23485ef02cce277089efcc19d95
72196ee3747efd8c3b82e4f32987b6e49f7b7deb
/test.py
0db252b10609d302180d56b165870e79726b10c9
[ "MIT" ]
permissive
easthobb/Youtube-Crawler
2a76e0955faa3f070a134e415c156fc27bca8d65
e85b96110a5f1196dacf71ed11c15f65c757cf05
refs/heads/main
2023-02-28T02:27:20.239110
2021-01-31T06:00:54
2021-01-31T06:00:54
330,909,307
3
2
null
null
null
null
UTF-8
Python
false
false
6,478
py
import sqlite3 import time def db_manage_channel_info(c_list): channel_id = c_list[0] channel_name = c_list[1] subscribe_count = int(c_list[2]) channel_description = c_list[3] try: # DB connect conn = sqlite3.connect('crawler.db') cur = conn.cursor() print("connect...
[ "receiver@kakao.com" ]
receiver@kakao.com
4349b5d95998621201cd804c6a641f363832b3e0
949633cd7f09a68b19304af14562b29514261ecc
/Geometry/TrackerGeometryBuilder/test/trackerParameters_cfg.py
1263a0ad400017383ae646c097899c7b6f6945f5
[]
permissive
gsfs/cmssw
eabfe97b0594287ce25556e6b091956b72baad72
fdbcb59c16cafd2a9b56177064bc0b6b93cc51dc
refs/heads/CMSSW_8_0_X
2021-01-21T23:41:29.108786
2019-04-11T16:11:14
2019-04-11T16:11:14
226,406,411
0
0
Apache-2.0
2019-12-06T20:39:25
2019-12-06T20:39:24
null
UTF-8
Python
false
false
921
py
import FWCore.ParameterSet.Config as cms from Configuration.AlCa.autoCond import autoCond process = cms.Process("TrackerParametersTest") process.load('Configuration.StandardSequences.GeometryDB_cff') process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff') process.GlobalTag.globaltag = autoCond...
[ "ianna.osborne@cern.ch" ]
ianna.osborne@cern.ch
4b66cab70207121bd13efa0b75a852e3c4c178fe
597c4f48332251552a602122bb3d325bc43a9d7f
/chapter02_hard_to_think/06_how_many_alphabets/12_how_many_alphabet_list.py
f4cc76277009cab92c5cd3074adf8c9f701d3715
[]
no_license
Kyeongrok/python_algorithm
46de1909befc7b17766a57090a7036886361fd06
f0cdc221d7908f26572ae67b5c95b12ade007ccd
refs/heads/master
2023-07-11T03:23:05.782478
2023-06-22T06:32:31
2023-06-22T06:32:31
147,303,654
0
1
null
null
null
null
UTF-8
Python
false
false
139
py
string = 'out of sight, out of mind' count_each = [0] * 26 for char in string: if char.isalpha() == True: print(ord(char) - 97)
[ "oceanfog1@gmail.com" ]
oceanfog1@gmail.com
09da4ffd3e4afccd056d4ef08fddfe12dfa6ea68
678c928458276bb07d2af4e61056a5eb8ea2a624
/agent.py
229d700249a46d0b905c3cb3b3706d2008f1bd31
[]
no_license
amitvpatel06/Crypto-RL-Kraken
cb68a9fb67cc97136618dc675a91f495e99b6021
f4865ece93e51320e4b9eab8e050ec3498cd78bb
refs/heads/master
2021-07-09T15:56:54.798756
2017-10-10T16:16:24
2017-10-10T16:16:24
96,155,973
0
0
null
null
null
null
UTF-8
Python
false
false
15,836
py
from environment import * from collections import defaultdict from Q import * from Qfunction_approx import * import csv # for reading import sys import numpy as np import math import multiprocess # for multithreading class Buffer: def __init__(self, look_back, rolling_window=150): self.history = [] self.rolling...
[ "amitvpatel06@gmail.com" ]
amitvpatel06@gmail.com
c85c5a1a21264c24b2b7a12107df2416af0ab32a
7d1a96565a1b46eaa38770bc592f0f508ba659b3
/SpojAm/BITANDOR2/testGen.py
a496d32ef0564d8b7e10439893bca07b29d8f113
[]
no_license
RubenAshughyan/Programming-olympiads
f09dff286677d65da19f0ba4c288aa6e97ba9fd5
2bc85f5e6dc6879105353d90e8417b73c0be2389
refs/heads/master
2021-09-26T17:18:47.100625
2021-09-13T09:58:41
2021-09-13T09:58:41
73,565,659
2
0
null
null
null
null
UTF-8
Python
false
false
171
py
import random n = random.randint(1,8) k = random.randint(1,n) a = [] for i in range(n): a.append(str(random.randint(1,60))) print('%d %d'%(n,k)) print(' '.join(a))
[ "ruben.ashughyan@gmail.com" ]
ruben.ashughyan@gmail.com
9715c3b7af19ee4ef525002be62f336c8ac82a01
e2bfd7409bf1501d14f1142e0110b9649ece0243
/mysite/polls/tests.py
5d395447270dcc5e5be9e6b5b79c7c6b7a1615f7
[]
no_license
ostegura/django-sandbox
4ea276d37f61a7dfb77626afb1d95d0e121d67a4
e9c0fa3941b2de072d0be47554173b98e4abba79
refs/heads/master
2020-04-11T05:29:30.538174
2018-12-15T23:35:39
2018-12-15T23:35:39
161,551,134
2
0
null
null
null
null
UTF-8
Python
false
false
4,046
py
import datetime from django.test import TestCase from django.utils import timezone from django.urls import reverse from .models import Question # Create your tests here. class QuestionModelTest(TestCase): def test_was_published_recently_with_future_question(self): """ if question was published ...
[ "stegura99@gmail.com" ]
stegura99@gmail.com
dea799d87d12c2628b0fd3290d7c4109bedd94a1
0e4e78b06c7e4fc97cef7ac548d523ccb9bb4d9c
/helloproject/helloproject/helloapp/admin.py
c2b015baf865faba3034338a74a8702eed38736f
[]
no_license
neethu5694/DemoPython
64d93d37653edcc7fd542e27f7acdd4eb7151901
ae467aa42a0dbe26d1788501d925b16c1a6d974c
refs/heads/master
2023-05-26T00:14:03.218898
2021-06-11T08:42:14
2021-06-11T08:42:14
368,198,187
0
0
null
null
null
null
UTF-8
Python
false
false
163
py
from django.contrib import admin from . models import Place from django.contrib.sites.models import Site # Register your models here. admin.site.register(Place)
[ "neethuraj5694@gmail.com" ]
neethuraj5694@gmail.com
d44d6479e4e2c0520aa1f8d3b7d797376560d7f7
acc12c85b0c56b601ddf3ebc7d53d2dc1f93d43f
/zhuangxiusheji/zhuangxiusheji/urls.py
f7261afd2e68a91d27f35b7df99e5ca5c72990c2
[]
no_license
wadelu/zhuangxiusheji-django
45b177b8dd7292279435696c214399c95519f389
82e8c8467ade4c3a75a59e3e5b3b01d2bc0f3243
refs/heads/master
2023-08-15T05:36:04.409999
2019-04-20T12:45:05
2019-04-20T12:45:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,245
py
"""zhuangxiusheji 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') C...
[ "wang_bo_123@outlook.com" ]
wang_bo_123@outlook.com
18450d2173dc9d932a9d33cb955be284a78f7949
853a026149fd951a70f572f3e579e6ae24109a53
/SUSYAnalysis/Configuration/Run2011/analysis_forNAF/RA4b_TTJets_ScaleUp.py
50594837f2072d897a9acad6bf60e6416218a730
[]
no_license
npietsch/usercode
33900d00fc69dcfbba061ff3d4f869e34d368b59
02a2258f91b519562ff0983266b4128e49f21ce9
refs/heads/master
2020-04-12T07:47:53.511961
2013-10-30T18:37:16
2013-10-30T18:37:16
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,329
py
#------------------------------------------- # To run on the NAF, type: # # xport NJS_QUEUE=12 # nafJobSplitter.pl 235 RA4b_TTJets_cfg.py #------------------------------------------- from BjetsPAT_cfg import * process.eventWeightPU.MCSampleFile = "TopAnalysis/TopUtils/data/MC_PUDist_Summer11_TTJets_TuneZ2_7TeV_madgr...
[ "" ]
ec3898329463467c854b0e5a88d15405f4406423
b6a4ef1af73ee96e995659ca2a5f0eb97c708674
/Packages/cdutil/Lib/ValidationFunctions.py
7d7c78b49ccabc02d58dd706c26a9c1516f1a259
[]
no_license
cedadev/cdat_lite
1bff56d3e894af41abb9769ead83415b84313a5e
cd92cfd918e602110c0c6aaa3555d1632dd64f48
refs/heads/master
2021-01-15T17:45:29.077765
2019-07-04T17:39:32
2019-07-04T17:39:32
14,837,672
3
1
null
null
null
null
UTF-8
Python
false
false
5,258
py
# Adapted for numpy/ma/cdms2 by convertcdms.py import string import types import numpy import numpy.ma import cdms2 import os import cdutil def checkStringOrNone(self,name,value): if not type(value) in [types.StringType,types.NoneType]: raise ValueError,name+' must be a string or None' return value d...
[ "spascoe@a6d0c4e4-8e0a-0410-98ec-c2d9f1a29e40" ]
spascoe@a6d0c4e4-8e0a-0410-98ec-c2d9f1a29e40
c6ffc01ccd2fef7fd14b1b92c3b9804fbc7736d3
a838d4bed14d5df5314000b41f8318c4ebe0974e
/sdk/trafficmanager/azure-mgmt-trafficmanager/azure/mgmt/trafficmanager/aio/_traffic_manager_management_client.py
414fda36d754fc895ce50031a1c07e841b208c4c
[ "MIT", "LicenseRef-scancode-generic-cla", "LGPL-2.1-or-later" ]
permissive
scbedd/azure-sdk-for-python
ee7cbd6a8725ddd4a6edfde5f40a2a589808daea
cc8bdfceb23e5ae9f78323edc2a4e66e348bb17a
refs/heads/master
2023-09-01T08:38:56.188954
2021-06-17T22:52:28
2021-06-17T22:52:28
159,568,218
2
0
MIT
2019-08-11T21:16:01
2018-11-28T21:34:49
Python
UTF-8
Python
false
false
5,213
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
32bdf883d5a8cc13ed9969d566847901edc019e4
82a477b29e870161d5e6b57b3978459520d819af
/get_beta.py
10f2388bce6a36408d34541eeec3186cf9975473
[]
no_license
felipm13/finance
afbeb15b9cc08a4c0a9f11c8c4d5efa7186174d3
f981501f17697bf00638af062a0ac0ac3ea9dee9
refs/heads/master
2020-04-13T09:39:41.684032
2018-12-26T01:31:16
2018-12-26T01:31:16
163,117,192
1
0
null
null
null
null
UTF-8
Python
false
false
807
py
import pandas as pd from scipy import stats vale = pd.read_csv('VALE3.csv', parse_dates=True, index_col='Date',) ibov = pd.read_csv('IBOV.csv', parse_dates=True, index_col='Date') # joining the closing prices of the two datasets monthly_prices = pd.concat([vale['Close'], ibov['Close']], axis=1) monthly_prices.columns...
[ "silva.luisfelipe13@gmail.com" ]
silva.luisfelipe13@gmail.com
4d19b1f3d5c877e2dafccaef7ddd45c29aafc50f
4c71193d1e46c658e4b91b88318bf98efe71d2bb
/ebooks/views.py
a5e661a00f8dcec5e8d76c8301a64c14e26ab1fd
[ "MIT" ]
permissive
AFHEEM/ebooksapi
df2d91f26ac78580725db1a5e71739860e1aef8f
5ed73c606439f972e64d116f2322410c19beec7d
refs/heads/master
2023-05-09T08:06:59.560231
2021-06-07T11:10:54
2021-06-07T11:10:54
374,370,510
0
0
null
null
null
null
UTF-8
Python
false
false
1,874
py
# from rest_framework import mixins from rest_framework import generics from ebooks.models import Ebook, Review from ebooks.serializers import EbookSerializer, ReviewSerializer class EbookListCreateAPIView(generics.ListCreateAPIView): """ List Ebooks """ queryset = Ebook.objects.all() serializer_c...
[ "muhammad.faheem@nl.abnamro.com" ]
muhammad.faheem@nl.abnamro.com
da75986cbc1d4510dcb5325a595f3096edd3d2ec
c8c1c8b3327ae93ceaa671681d5f9eac0933e738
/mrgpylinux/femcalc/examples/fem/demo_line_assembly.py
837c8b5d5ef20759ed65594190a3a3dedcd59fb6
[]
no_license
gpspelle/acoustic-pollution
bbb2a6492b3d02d046cb533470affabcacb38409
ad80f1fd582f47ce679748bb6ac93ff3149fd445
refs/heads/master
2022-07-28T06:49:20.493083
2019-11-15T00:27:52
2019-11-15T00:27:52
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,027
py
__pyarmor__(__name__, __file__, b'\x50\x59\x41\x52\x4d\x4f\x52\x00\x00\x03\x06\x00\x33\x0d\x0d\x0a\x01\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x40\x00\x00\x00\x7b\x0a\x00\x00\x00\x00\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xeb\x50\x8c\x64\x26\x42\xd6\x...
[ "gpsunicamp016@gmail.com" ]
gpsunicamp016@gmail.com
d128117ff4ab9ee0203e6020aad91757346b332e
90201c3debb9c6b8847899356f8ab02977089183
/sistema_transporte/app_transporte/migrations/0002_auto_20200325_1338.py
025332cfda9aa87a4095f65cca236dd17f5f0f17
[]
no_license
Articfire/transporte-ddssc
90bdca1d3dbb93646aae06711653379040ce50e8
2a8ca39a8c5bb38932af83ba1ae9996327824242
refs/heads/master
2022-12-13T01:15:04.276293
2021-12-12T22:41:11
2021-12-12T22:41:11
248,825,047
2
0
null
2022-12-08T03:53:23
2020-03-20T18:24:39
Python
UTF-8
Python
false
false
695
py
# Generated by Django 3.0.4 on 2020-03-25 20:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app_transporte', '0001_initial'), ] operations = [ migrations.CreateModel( name='Agenda', fields=[ (...
[ "martindrumer21@gmail.com" ]
martindrumer21@gmail.com
22d1ca1354a720021e9a3bf6df46c8e4bb6dcbf7
b01543933aa10e1db83c0273514aa36ff5c90bf4
/lib/Projekt/ProjectNode.py
258ae64164569462b92171ef4318c97ef9b8a25c
[]
no_license
umlfri-old/umlfri-historic
96a5b9dda5a2bbc86969b0cae13daffa6af330b0
770e0a28eb2b88d2502f31935efa00c6943793ff
refs/heads/master
2021-01-20T04:09:52.158277
2017-08-25T07:38:48
2017-08-25T07:54:23
101,382,312
0
0
null
null
null
null
UTF-8
Python
false
false
1,673
py
from lib.lib import UMLException class CProjectNode(object): def __init__(self, parent = None, type = None): self.parent = parent self.childs = [] self.drawingareas = [] self.type = type def GetType(self): return self.type def GetName(self): ...
[ "janik@janik.ws" ]
janik@janik.ws
5f55cb53d30035dd743474f3a12cc8ea75207184
fef45946632c023af452155b2c21f07774e65d55
/node2.py
27233a1ea5a2be171ef2249f0271556318316899
[]
no_license
rikkimelissa/hackathon-1
975ea4069d288827de0eab951d08c6fbfa9a4f26
c6401aa2dcdee45ef17c633031b74584a58bcc13
refs/heads/master
2021-01-17T08:43:02.717634
2015-09-18T21:39:54
2015-09-18T21:39:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,789
py
#!/usr/bin/env python import rospy import roslib from std_msgs.msg import String import sys import cv2 from sensor_msgs.msg import Image from cv_bridge import CvBridge, CvBridgeError import numpy as np import serial from std_msgs.msg import UInt16 pantarget = 1500 tilttarget = 1500 def node2cb(data, extra_args): ...
[ "therrma2@gmail.com" ]
therrma2@gmail.com
730fc97a12a5abd0489bec6a397ddf28021d3d40
6737bcca9857b6a81bf11680cf7665635859e245
/HW 7/multiagent/pacman.py
4d1c4be7835e607fbd80159ead8c3f5c0508cd4f
[]
no_license
clive819/SCU-COEN-266
2b1ad4886ac4d54c8ae9c31a10836a61eddef911
65e5005631f640a3c1125f45a8b6125eeebbd2cc
refs/heads/master
2023-01-22T01:05:12.166664
2020-11-22T21:18:47
2020-11-22T21:18:47
315,133,138
0
0
null
null
null
null
UTF-8
Python
false
false
27,475
py
# pacman.py # --------- # Licensing Information: You are free to use or extend these projects for # educational purposes provided that (1) you do not distribute or publish # solutions, (2) you retain this notice, and (3) you provide clear # attribution to UC Berkeley, including a link to http://ai.berkeley.edu. ...
[ "clive819@gmail.com" ]
clive819@gmail.com
de57f86650cdd9a45c6f228f4187c4bd3a9c8820
092b656a7faefe6e9c7a8c91217ce4ee85f70fd9
/sondes/check_disk_io.py
e6fdd261da650023310bb1ec8bbe663459faf567
[]
no_license
aurimukas/icinga2_plugins
39ca3d848fe24fd278b4b6adc1f26f0e341ca5d2
fc8c808c46f65696f7c6ac8fd6266c1091dbb14d
refs/heads/master
2021-01-18T21:44:14.442257
2016-11-18T10:40:35
2016-11-18T10:40:35
72,296,781
3
0
null
null
null
null
UTF-8
Python
false
false
4,833
py
#!/opt/venv/bin/python # -*- coding: utf-8 -*- """ Icinga2 Plugin: Check Disk I/O Method to Monitor Machine's Memory File name: check_disk_io.py Author: Aurimas NAVICKAS Date created: 03/11/2016 Python Version: 3.5.2 """ import importlib time = importlib.import_module('time') rm = importlib.import_module('.request_mana...
[ "aurimas.navickas@gmail.com" ]
aurimas.navickas@gmail.com
65ef235b341a2ed53566a7829d43c72fb9f90c2d
c860a9e47bde57dcd79e56c4c37c7009241273a4
/pymongo lab/load_blogs.py
c31af1f7fcc290845f4fdbfccdc02d22671bf01e
[]
no_license
Svanderest/PymongoLab
7ff653a9dacf5bd0584bef0e872c22d6a0f15199
1ff6a0bae562d9a039dd0e6096357573075af094
refs/heads/master
2020-09-11T17:48:15.590278
2019-11-16T18:36:35
2019-11-16T18:36:35
222,143,034
0
0
null
null
null
null
UTF-8
Python
false
false
208
py
from pymongo import MongoClient from blogs import blog_docs mongo_client = MongoClient("localhost", 27017) db = mongo_client.lab4 coll = db.blogs result = coll.insert_many(blog_docs) print(result)
[ "noreply@github.com" ]
noreply@github.com
b5d1443e4df54b176657616d92dfbe081ce8b556
96d48a320ce5cc7ddcb4765a5590f26ce5dc6322
/Masa1.py
6da3a307cc92914e066ec321224b1331f65a2c81
[]
no_license
xiaoxiaoniao1/python
64d0b62a3bac7a46d0a9000b29874e7e9a55d97e
88a3933923db66c565335888c293eaf45cdc7518
refs/heads/master
2021-06-08T13:56:14.171900
2021-05-26T06:23:12
2021-05-26T06:23:12
179,627,172
1
6
null
2019-04-20T19:48:34
2019-04-05T06:00:23
Python
UTF-8
Python
false
false
201
py
#code:UTF-8 import os d = raw_input("dir:") i = raw_input("s:") a = os.listdir(d) b = [] for i in a: if 'p' in i: b.append(i) else: continue print(b)
[ "noreply@github.com" ]
noreply@github.com
c19ff2aeb1e9f7c11f7efe6f7e5c6cf20d9c7498
23506d832dc5a96f51f74f4b70d2d97e9e61fcc1
/SavedAndHealthy/asgi.py
3c0d2867a38c9c1aaf8151ea773b367253a1c9c9
[]
no_license
LuckyMyLove/SavedAndHealthy
c8f6714e78710c179c7453585eca7428fdd49cb7
7515b958afbc36e619f4150273b493e38cb61cc6
refs/heads/master
2023-05-02T04:01:31.069000
2021-05-25T17:44:49
2021-05-25T17:44:49
365,356,020
0
0
null
null
null
null
UTF-8
Python
false
false
407
py
""" ASGI config for SavedAndHealthy project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJAN...
[ "jagiellojedrzej@gmail.com" ]
jagiellojedrzej@gmail.com
57a098d0e612be1c8062d07da3a70e277c09f1d7
d60fa37053a864b3d2e46c2d1b3d72b899743da9
/SLHCUpgradeSimulations/Geometry/python/Longbarrel_cmsSimIdealGeometryXML_cff.py
9fa1d317d0f31763fddbaf9440246ad58e1d0ec7
[]
no_license
ikrav/cmssw
ba4528655cc67ac8c549d24ec4a004f6d86c8a92
d94717c9bfaecffb9ae0b401b6f8351e3dc3432d
refs/heads/CMSSW_7_2_X
2020-04-05T23:37:55.903032
2014-08-15T07:56:46
2014-08-15T07:56:46
22,983,843
2
1
null
2016-12-06T20:56:42
2014-08-15T08:43:31
null
UTF-8
Python
false
false
1,204
py
import FWCore.ParameterSet.Config as cms # Mostly copied from Configuration/StandardSequences/python/Geometry_cff.py # The R39F16 Version of the Phase 1 Pixel Upgrade from SLHCUpgradeSimulations.Geometry.Longbarrel_cmsSimIdealGeometryXML_cfi import * from Geometry.TrackerNumberingBuilder.trackerNumberingGeometry_cfi im...
[ "giulio.eulisse@gmail.com" ]
giulio.eulisse@gmail.com
ff433bd16b447291bfbea865eb9eb96f0b4bbd54
a79c524cc2826580e3d6d779f79a2b5fd078197a
/RobotPy/application/design_kr1p5_450.py
01af07d5a4223948214e8cfc4a03d29634bb2c49
[]
no_license
wulidexixilian/robotdesign
0fc63f37318fb68eb8168af6c2b74aa01f9cc3bd
4ba0dc7360f854f6d7be88834fa996e23a348ff5
refs/heads/master
2018-09-19T06:01:18.987937
2018-08-06T07:57:31
2018-08-06T07:57:31
126,000,164
1
4
null
2018-06-06T07:02:48
2018-03-20T10:26:18
Python
UTF-8
Python
false
false
2,188
py
import numpy as np import matplotlib.pyplot as plt from model import m_simulation as sim from rRobotDB import pt_micro450 as cfg from utility.compare_with_OPC import compare plt.close("all") np.set_printoptions(suppress=True) np.set_printoptions(precision=4) # *** build robot *** s = sim.Simulation() s.set_gravity(9.8...
[ "pei.sun@outlook.com" ]
pei.sun@outlook.com