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
8d8f89b65398b429c128f2f507f46338d6cda631
0acd186fcf8e7e83e28687baeb1d3fe0032c833d
/blogger/migrations/0008_auto_20210325_2212.py
59644bca81956224ef2c11e4493990e64e5fc032
[]
no_license
BaturinaAnna/DjangoWebsite
1138d465a0b11f2db7c6e013b6a8c44e4175065a
aa788832261316b0c790fa9e94c3a36dcf51073c
refs/heads/main
2023-03-29T02:46:48.056468
2021-03-31T09:45:31
2021-03-31T09:45:31
352,893,903
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
# Generated by Django 3.1.7 on 2021-03-25 19:12 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('blogger', '0007_comment'...
[ "baturinaanya@yandex.ru" ]
baturinaanya@yandex.ru
018772e43aa9380c33c9d2698efe503729a50777
b584041c3ab574cad839523a87599192bf436aeb
/icsmp_project/img3d/migrations/0001_initial.py
dab2e319ca37764630afc77307b82bd73e8d8233
[ "MIT" ]
permissive
ICSMP/icsmp
4ee87f33a3138132c8ad743de0a976372b7dea0a
bf811f7457aa6d6e7251c209631d63496e561925
refs/heads/main
2023-01-07T17:09:41.463208
2020-11-01T17:51:35
2020-11-01T17:51:35
303,553,096
0
1
MIT
2020-11-01T17:51:36
2020-10-13T01:16:13
JavaScript
UTF-8
Python
false
false
1,120
py
# Generated by Django 3.1.2 on 2020-10-31 16:07 from django.db import migrations, models import s3direct.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Img3d', fields=[ ('i...
[ "lucas.ravellys@ufpe.br" ]
lucas.ravellys@ufpe.br
bdd32549312bf8b9423f1b45a7a395269a4ee51f
40245227fc1579f36f82c5ae5b87cb251f8902e1
/practica1/build/software_arq_robots_course/thirdparty/yujin_ocs/yocs_keyop/catkin_generated/pkg.installspace.context.pc.py
2f07a0ef85947d0e6db0a8c15733c4ed910a9f1a
[]
no_license
Veronica274/arq_software
842d949fb36fa991fe852a385f9083be2ea5e4c2
6cb2da2109213208c122d4b999199880c25407e3
refs/heads/main
2023-03-04T10:21:53.084682
2021-02-13T16:45:25
2021-02-13T16:45:25
338,610,955
0
0
null
2021-02-13T16:45:25
2021-02-13T15:59:01
Makefile
UTF-8
Python
false
false
387
py
# generated from catkin/cmake/template/pkg.context.pc.in CATKIN_PACKAGE_PREFIX = "" PROJECT_PKG_CONFIG_INCLUDE_DIRS = "".split(';') if "" != "" else [] PROJECT_CATKIN_DEPENDS = "".replace(';', ' ') PKG_CONFIG_LIBRARIES_WITH_PREFIX = "".split(';') if "" != "" else [] PROJECT_NAME = "yocs_keyop" PROJECT_SPACE_DIR = "/hom...
[ "ruben.montilla.fdez@gmail.com" ]
ruben.montilla.fdez@gmail.com
0b039714da612a5ba9f5666fdfee22cd9cb5b7b6
02feb84c7775af145374d28f8071f1a31cfbd192
/CAU_Mooc/apps/cau_college/migrations/0009_auto_20170427_2251.py
40ae50b8ce11b7a596a22e6451e6210677353097
[]
no_license
oceanlane/caux_online
e9ff126edf23a5ae571415ef784ed6ab754576b8
1320428a8c8b8870fc109b488275338e89ab510b
refs/heads/master
2021-06-14T09:33:53.890557
2017-05-04T11:39:13
2017-05-04T11:39:13
null
0
0
null
null
null
null
UTF-8
Python
false
false
450
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-04-27 22:51 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('cau_college', '0008_auto_20170426_1914'), ] operations = [ migrations.RenameField( ...
[ "632668308@qq.com" ]
632668308@qq.com
b3bb0ceb361f78944310a278fe8e403fb8dccd4b
280cafadda7e41608c132142aa82cb86a4dd9473
/python_projects/07_UnitTests/Product.py
22e4f9fe6710c415bb43d477f331f1dd177c31e9
[]
no_license
sophiashuv/pythonProgramming-AMI23
cd4ddea210b84c13b084008faa1a42be5c895318
a6d87b24f855a14314f2cc52333d4df0d3678fac
refs/heads/master
2023-04-14T16:28:15.308229
2021-04-27T07:35:56
2021-04-27T07:35:56
294,176,747
2
1
null
2021-04-05T14:50:04
2020-09-09T17:03:21
Python
UTF-8
Python
false
false
2,228
py
# Клас ПРОДУКТ з полями: ID, title, image_url, price, created_at (date), updated_at (date), description. from Validation import Validation class Product(object): """Class for Product representation.""" def __init__(self, **kwargs): for (prop, default) in kwargs.items(): setattr(self, prop...
[ "shuvar@ucu.edu.ua" ]
shuvar@ucu.edu.ua
d43d2613e687dbbcdb6fac3650e2b8ee65844455
9d3b8612d904f8f8e352ddc542ac809e78991a8b
/3.3-permissions/api_with_restrictions/advertisements/serializers.py
725a907863b902e404c053584b30b48634d9449b
[]
no_license
andreyru02/dj-homeworks
bce08f4477665366eb3222f994d4f4b0d5c861d7
7cb50c8eb82eaef245d5baece9da5881289b7a5b
refs/heads/master
2023-07-13T08:06:13.838743
2021-08-12T03:13:41
2021-08-12T03:13:41
383,150,623
0
0
null
null
null
null
UTF-8
Python
false
false
2,720
py
from django.contrib.auth.models import User from rest_framework import serializers from advertisements.models import Advertisement class UserSerializer(serializers.ModelSerializer): """Serializer для пользователя.""" class Meta: model = User fields = ('id', 'username', 'first_name', ...
[ "andrey.tchebunin@yandex.ru" ]
andrey.tchebunin@yandex.ru
a74f2055b2f3e9dbafa5d39afb4eba50f4c218fb
ffb627b58f0553fc8bf86c0d100db1dde2015cfe
/week 1/day4/14889.py
c05bc1edfcce6fb61fcb72b83d5dab0df9b9edfc
[]
no_license
DentiQ/CodeTest
a208bb1250e18fca9d336b93a5c2e4807c621866
a8d21447ad2cefc583b45c437623647abde11d95
refs/heads/master
2023-06-04T06:12:33.540950
2021-06-30T17:00:24
2021-06-30T17:00:24
363,316,146
0
0
null
null
null
null
UTF-8
Python
false
false
776
py
import itertools n = int(input()) stat = [] team = list(range(0, n)) combinations = list(itertools.combinations(team, n // 2)) for i in range(n): temp_array = [] temp_input = input().split() for j in range(n): temp_array.append(int(temp_input[j])) stat.append(temp_array) for i in range(len(c...
[ "dentiq0414@gmail.com" ]
dentiq0414@gmail.com
3d9c5234e9e162fc7690c8edac5ae8be3dbfdd35
0474dbdc0643439617e30654c3f46d1f38deb683
/mj223vn_assign3/count_lines.py
b2eb6b22612ec3e270dbfa66e4b1e0ef16082bad
[]
no_license
makjohansson/PythonProgrammingExercises
ff806b9a7f727b1dbc91e1177635cd69fc5162be
01ba9a3a3d79eef172b01a542f3ca2d9e97d847c
refs/heads/master
2023-01-03T15:29:30.632507
2020-11-07T11:00:08
2020-11-07T11:00:08
310,820,178
0
0
null
null
null
null
UTF-8
Python
false
false
1,462
py
import os """ A python script counting all the non-empty lines in all python files written in the course 1DV501 """ def is_py_file(entity): """ Check if file is a python file :param entity: a file :return: true if file is python file """ return entity.name.endswith(".py") def line_counter(...
[ "mj223vn@student.lnu.se" ]
mj223vn@student.lnu.se
744aeeef469faa1b55771e9f025181cb9e2632e6
3c44c71f2006090b5ed3867c7275ba65cdd973d5
/main.py
45e8357a6b1152ae987ab013a0b8c5bc11dc643a
[]
no_license
moisesEzequiel1/Oscilloscope-Using-Atemga328p-
6d24a8b9ab9416548bec094e2f287c069b71f0a8
3823d2994a0e7c2072c3c3b5b5706ff8da742c86
refs/heads/main
2023-08-06T12:54:52.437815
2021-09-21T19:54:05
2021-09-21T23:11:58
407,935,999
0
0
null
null
null
null
UTF-8
Python
false
false
274
py
import struct import serial import time con = serial.Serial("COM3", 115200, timeout=1) time.sleep(2) data = [0]*1024 con.write(b'r') rawdata = con.read(1024) data = list(struct.unpack('B'*1024,rawdata)) data = [(float(x)/255.0 - 0.5) * 20 for x in data] print(data)
[ "dominguezsalcedom@gmail.com" ]
dominguezsalcedom@gmail.com
65f66382a6ea279aa1d5bbe92137a21b4065a21a
0e478f3d8b6c323c093455428c9094c45de13bac
/src/OTLMOW/PostenMapping/Model/Post060311414.py
4966bb130cd0e2c9ab879eff260889ac75063f93
[ "MIT" ]
permissive
davidvlaminck/OTLMOW
c6eae90b2cab8a741271002cde454427ca8b75ba
48f8c357c475da1d2a1bc7820556843d4b37838d
refs/heads/main
2023-01-12T05:08:40.442734
2023-01-10T15:26:39
2023-01-10T15:26:39
432,681,113
3
1
MIT
2022-06-20T20:36:00
2021-11-28T10:28:24
Python
UTF-8
Python
false
false
3,114
py
# coding=utf-8 from OTLMOW.PostenMapping.StandaardPost import StandaardPost from OTLMOW.PostenMapping.StandaardPostMapping import StandaardPostMapping # Generated with PostenCreator. To modify: extend, do not edit class Post060311414(StandaardPost): def __init__(self): super().__init__( nummer...
[ "david.vlaminck@mow.vlaanderen.be" ]
david.vlaminck@mow.vlaanderen.be
70aa979a518ab1dce626787ba726cde9fdbbb32a
7906cc1c5cfed3437773cd00df2e73d49d74352c
/sovet/migrations/0011_auto_20201008_2304.py
97bde949b35a5dde8223ff0c5a63ed7aeab2c530
[]
no_license
Svobodinang/legalro_backend
31bb3e505874140a7382c56966975388e31aa8fc
b0cca70b26bbab9ea509f9ed9f5a7c29d1cc5c1f
refs/heads/master
2023-08-10T16:06:16.519851
2020-10-21T20:05:46
2020-10-21T20:05:46
280,234,738
0
0
null
2021-09-22T19:45:37
2020-07-16T18:59:13
JavaScript
UTF-8
Python
false
false
1,034
py
# Generated by Django 3.1.1 on 2020-10-08 20:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sovet', '0010_service'), ] operations = [ migrations.AlterField( model_name='service', name='accent', fi...
[ "svobodinang@gmail.com" ]
svobodinang@gmail.com
c1c4be2abb98899510f70cfebc42994e491f0191
c2387cd5436ac0a0b4f6701efa3c11c858816ec5
/_latex/ensae/td_note_2013_novembre_2012_exoS.py
fc172501fce87d0c064afc2ccee526b305fd0621
[ "MIT" ]
permissive
sdpython/teachpyx
b29773fa0400224718ceb1a9135b0b0d69400bd5
a6f722aec36648351cd2c6fb89240d15e0243a6a
refs/heads/main
2023-08-31T02:10:40.885668
2023-08-30T17:18:56
2023-08-30T17:18:56
68,512,321
3
1
MIT
2023-09-13T22:24:48
2016-09-18T09:50:10
Jupyter Notebook
UTF-8
Python
false
false
2,054
py
# coding:utf-8 import math # cette fonction construit deux spirales imbriqu�es dans une matrice nb x nb # le r�sultat est retourn� sous forme de liste de listes def construit_matrice(nb): mat = [[0 for x in range(0, nb)] for y in range(0, nb)] def pointij(nb, r, th, mat, c, phase): i, j = r * th * m...
[ "noreply@github.com" ]
noreply@github.com
a6c1839a32e152dfa35baa9d51a08456d055624f
f5a88a3dcd047359002819a4a1594f0e22751e37
/mnist-classifier-pytorch-basic-gpu.py
7ab24909d142b2eade0c9810d34e01229c67d7d2
[]
no_license
sintobin/lightning-tests
faddf7aaea08007f5e8ef79f90edeae9c50277f0
a05129f8464a5a3e2b62c086ec485bbb09922e61
refs/heads/main
2023-03-21T16:10:50.662797
2021-02-27T05:56:42
2021-02-27T05:56:42
342,783,156
0
0
null
null
null
null
UTF-8
Python
false
false
2,531
py
# https://www.youtube.com/watch?v=OMDn66kM9Qc import torch from torch import nn from torch import optim from torch.utils import data from torch.utils.data import DataLoader from torch.utils.data.dataset import random_split from torchvision import datasets, transforms # define the model model = nn.Sequential( nn.Li...
[ "sintobin@protonmail.com" ]
sintobin@protonmail.com
e93910b38f0c44b87885658713b90a86827289a2
53832bd168b797827be77bface570a2bea8952f1
/routes/appointments.py
d9c0777cde3c8aff7f8b56968d69e1e0dd98bd3c
[]
no_license
Bryan1010/AidlyBackend
840bbdf290d65577a37b17cc99fc1162177e0f02
f0fd9215374713a077460876ab3069d5d556c66f
refs/heads/master
2021-02-09T02:36:37.825383
2020-11-08T04:22:38
2020-11-08T04:22:38
244,229,180
2
0
null
2020-11-08T04:22:40
2020-03-01T21:50:21
Python
UTF-8
Python
false
false
150
py
from flask import Blueprint, Response, request, json, jsonify, make_response from models.users import User from models.appointments import Appointment
[ "7885194+derekstephen@users.noreply.github.com" ]
7885194+derekstephen@users.noreply.github.com
7357c0f383ca7c5e5834f0c65588b9c3d65dda04
fbc26ea6c43c9c700b9d22c705df493b094cc5a6
/shadowdp/checker.py
ea4bbe867ec58bc921f0eb49cec560b36942cc1e
[ "MIT" ]
permissive
hengchu/shadowdp
701477047fc792d301b7ea6fe0cc9cfae68a2d49
e8f7717476a74fb6be04cbcb4cc5d962b7744cd4
refs/heads/master
2020-05-02T16:03:25.476358
2019-03-27T05:37:08
2019-03-27T05:37:08
178,059,003
1
0
MIT
2019-03-27T19:12:20
2019-03-27T19:12:20
null
UTF-8
Python
false
false
5,013
py
# MIT License # # Copyright (c) 2018-2019 Yuxin (Ryan) Wang # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modi...
[ "ryanwang.cs@gmail.com" ]
ryanwang.cs@gmail.com
cc3be2083688e78730917a3fd8fe30188c82cb53
76133934b1dd287273a9bfa0c801d10d08a21b21
/test/functional/test_framework/address.py
5dc495f9adf84075a12eac33bd8c49e87930fa8c
[ "MIT" ]
permissive
kenfmcoin/kenfmcoin
d8783b34fcb3ae01067e8d1b33e3a73e3b82b1f9
1fa48487593233f2066757dc54f48b2349e2d9db
refs/heads/master
2020-03-10T17:53:31.569229
2018-04-14T12:28:55
2018-04-14T12:28:55
129,511,375
0
0
null
null
null
null
UTF-8
Python
false
false
2,248
py
#!/usr/bin/env python3 # Copyright (c) 2016 The KenFMcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Encode and decode BASE58, P2PKH and P2SH addresses.""" from .script import hash256, hash160, sha256, CScr...
[ "37983255+spineinhalb@users.noreply.github.com" ]
37983255+spineinhalb@users.noreply.github.com
0b751a014be59e1ba3c7bf4a82a203ed9b8c5564
29432753db6ec21f2364dc9bc3d27e25c827aca9
/src/route_planner.py
cabf277b2097cc32b7504c172eaf8b787f2d1c40
[]
no_license
Finin-Quincey/Mechatronics-2
d9358f2f75c79f91c17354a8f70b3efdc3652eb9
3c2c1dc662054feeaae22518d8ba2bae09c95197
refs/heads/main
2023-02-17T13:20:09.932631
2021-01-18T14:34:18
2021-01-18T14:34:18
311,111,616
0
0
null
null
null
null
UTF-8
Python
false
false
1,342
py
### Responsible for planning a route and monitoring/updating the Arduino whilst it is following the route # A bunch of functions go here that interact with vision etc. def start_route(target) """Starts moving the robot towards the given target""" # Initialise route object, find objects, calculate route class...
[ "57540995+Finin-Quincey@users.noreply.github.com" ]
57540995+Finin-Quincey@users.noreply.github.com
be0a985190261ae88db8bfa97f741b9e86a9bb79
20d040a1a04d0a8cae892c8f90649cdf9101d512
/RS_Fusion_Exp/Model/Segmentation/Train_Zurich1.py
1e40eec036bc9bb32d1e3a17596546a493d002f9
[]
no_license
PotentialPie/RS_Fusion_exp
add4634d526049ebfc56e51e314fe0a9839100fc
6c3a9b3f9c7d6d5834b8115223cae06ae8e016ae
refs/heads/master
2022-03-27T16:58:14.104059
2020-01-13T08:58:49
2020-01-13T08:58:49
233,552,876
1
0
null
null
null
null
UTF-8
Python
false
false
3,377
py
import keras import argparse import Models import Z1_LoadBatches from keras_fcn import FCN import os os.environ["CUDA_VISIBLE_DEVICES"] = "3" parser = argparse.ArgumentParser() parser.add_argument("--save_weights_path", type=str) parser.add_argument("--train_images", type=str) parser.add_argument("--train_a...
[ "17212010050@fudan.edu.cn" ]
17212010050@fudan.edu.cn
7e0bd4aa0d42e18e313d872a2d299a4df7241748
0184dd68ea868ce3e701caa74e75ab465fb22904
/Cogs/ComicHelper.py
bf91852981efa3073c9aecfee87b871caee97ce4
[ "MIT" ]
permissive
TheMasterGhost/CorpBot
b78ef20f647cb6de82aa1731603663c6e7da7420
3133d5b7fdfef09ac4b75fb42d91628b86d94ac0
refs/heads/master
2021-01-02T23:02:13.792470
2017-08-05T23:45:38
2017-08-05T23:45:38
99,449,085
0
0
null
null
null
null
UTF-8
Python
false
false
6,903
py
import random import math import datetime as dt import urllib.request import urllib import requests from pyquery import PyQuery as pq try: # Python 2.6-2.7 from HTMLParser import HTMLParser except ImportError: # Python 3 from html.parser import HTMLParser # This module contains all th...
[ "noreply@github.com" ]
noreply@github.com
e7c5ad22260d7b4e3f25f02fe4b67b347c812a60
2b54b1fb1540ab73d6c83cae3acd5fdd58bdead5
/Platinum_clusters_Project/final_images/Pt7_O2_DFTsorted/Ptoxides_zorderimage_new_13th.py
d15461bef2e27188b59925709e6afbf4c89e3930
[]
no_license
sivachiriki/GOFEE_Pt_V_supported
5787d44294262870075f35f2d31c096021b7ce20
6bd700dac1f3e7c58394b758d75246ac6e07eade
refs/heads/master
2022-04-08T11:38:13.038455
2020-03-09T10:48:31
2020-03-09T10:48:31
226,359,812
0
0
null
null
null
null
UTF-8
Python
false
false
5,473
py
from __future__ import division import matplotlib #matplotlib.use('Agg') # Can also use 'tkagg' or 'webagg' #from plot_neb_tio2 import * from matplotlib.offsetbox import TextArea, VPacker, AnnotationBbox import matplotlib.patches as patches from math import ceil, floor import matplotlib.pyplot as plt from ase.io impor...
[ "sivachiriki@phys.au.dk" ]
sivachiriki@phys.au.dk
cb23d77c9d5aa51bc4b7c9bdfc2adf812601b646
352b07adca242665d0806e66414b596ffb6de63f
/application/services/__init__.py
1fb16092cffb2e2673a033d71ead727473f60371
[ "MIT" ]
permissive
Markcial/alembic
03c89160b3d6fd3b0676ee956513b8c9fa669171
752cbb8038278d0b8c996a386c6632158a841299
refs/heads/master
2016-08-12T17:25:48.175522
2015-11-20T17:55:51
2015-11-20T17:55:51
45,428,412
0
0
null
null
null
null
UTF-8
Python
false
false
210
py
from ..configuration import storage_folder import os from uuid import uuid4 def create_snapshot_directory(): folder = storage_folder + os.path.sep + str(uuid4()) os.makedirs(folder) return folder
[ "markcial@gmail.com" ]
markcial@gmail.com
6174a99a45b2e7980958866ecfbe22b20a773ce7
670a1d3904d5e572a1cd6e20e9c46e7a5d93e58d
/modules/gui/forms/main_window/input_module/input_sub_frames/input_lst_sw_frame.py
1caf6b7f89df09045e04899433a2f5829947f10a
[]
no_license
bkleynhans/Landsat-Buoy-Calibration
aecce495ea41583c88e76692286b0a114e5e84f7
f3c4d654c70ecc7c1333ba3fccf304768ceaac62
refs/heads/master
2022-12-21T00:20:38.561154
2020-05-26T20:36:50
2020-05-26T20:36:50
143,342,274
0
1
null
2022-12-08T01:49:46
2018-08-02T20:32:38
Python
UTF-8
Python
false
false
9,505
py
### # # CIS Top of Atmosphere Radiance Calibration # # Program Description : The frame that displays and accepts user input when a Split Window process is run # to calculate Land Surface Temperature using user supplied data and a landsat image. # Created By : Benjamin Kleynhans # Creation...
[ "kleynhansbenjamin@gmail.com" ]
kleynhansbenjamin@gmail.com
4b0cee2e9b8ac0dffcd8fcc2d27ddcf7f9e291fe
dfdd59d51c13adb6a9dde46fa1b184dde016bcad
/data/feature_extraction_test.py
cc95b57eab1323a39007febc86b022c464a1d375
[ "Apache-2.0" ]
permissive
googleinterns/cl_analysis
bf0e64e79d704e9fb7bba44751efffd6084fe80e
686cf49cd57ce61cba3cc11f0574b2a2cec596be
refs/heads/master
2022-12-16T03:56:34.473083
2020-09-26T06:44:12
2020-09-26T06:44:12
277,630,242
5
3
Apache-2.0
2020-09-26T00:01:06
2020-07-06T19:26:14
Python
UTF-8
Python
false
false
7,211
py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
[ "pelny@google.com" ]
pelny@google.com
5800e259f76e16f79660fddf9ca78e2a4c7e1f9b
ea59d89f144c3cf741033f895d5ab47e79651b29
/SQL Alchemy and Flask/controller.py
06815112f428eb8249e84a976d3ed60a8e41302f
[]
no_license
Sanojdon/projects-at-byte
70d5a0f34246af1e6c7920a001785091ca5bfa1d
f4d57f0d841bb23352f200efcd486b78c2cdd82a
refs/heads/master
2021-09-04T11:46:48.105469
2018-01-18T10:57:12
2018-01-18T10:57:12
111,078,079
0
2
null
null
null
null
UTF-8
Python
false
false
1,307
py
import model import wrapper def registration(name, age, phone, addr, email, uname, pword): res = model.check_username(uname) if (res is "Valid"): status = model.add_user(name, age, phone, addr, email, uname, pword) return status else: return "Exist" def login(uname, pword): uid, name, pw = model.get_details...
[ "sanoj.mv.93@gmail.com" ]
sanoj.mv.93@gmail.com
ae707fb0acca12ab92e09fd061f213bda1ddcbc3
352f91a6de8977d969d0f5b1241f694d2d3e1dfd
/manage.py
44db58646f80adfc9b41242ab110793e84109bbd
[ "MIT" ]
permissive
macfire/flask-base
a1a5d91c6b049d7f5542132e953be9d547482520
4cda948ab3fce26f8e339e08e20ddecaebf950da
refs/heads/master
2016-09-08T00:38:30.723685
2014-08-26T17:55:30
2014-08-26T17:55:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
673
py
#!/usr/bin/env python import os from app import create_app, db from flask.ext.script import Manager, Shell from flask.ext.migrate import Migrate, MigrateCommand app = create_app(os.getenv('FLASK_CONFIG') or 'default') manager = Manager(app) migrate = Migrate(app, db) def make_shell_context(): return dict(app=app...
[ "jerry.mccreary@mac.com" ]
jerry.mccreary@mac.com
1a14307f9e7ccc379056848ece64a4c1c3316104
d5ee678fd4eeb1b5e01987ea5ac03eafc3ec6afb
/commonutils/BooleanUtils.py
24dea300e722fde53dc9379eb38bf33a601b511d
[]
no_license
deepakcern/ExoPieUtils
91cd2e9e0e454d645a028ef84bc485fc0e0ad1a8
d4deebbc94795454e8d2ee62ca35a09608261d9f
refs/heads/master
2021-12-27T23:33:49.718670
2020-02-06T09:07:17
2020-02-06T09:07:17
207,745,649
0
0
null
2019-09-11T07:04:22
2019-09-11T07:04:22
null
UTF-8
Python
false
false
1,233
py
import os import sys import optparse import numpy import pandas import math from root_pandas import read_root from pandas import DataFrame from pandas import Series from ROOT import TLorentzVector, TMath import numpy def logical_AND(all_booleans): return (len(all_booleans) == all_booleans.count(True)) def...
[ "raman.khurana@cern.ch" ]
raman.khurana@cern.ch
7a6c3c754af69d31a48002434e8a4bd47fa81991
47719bc52ee997efed6a9c92684a06227ac84abf
/loveLetter/imgame.py
2d081d99f7ccd55626e8c95a7b98c7aafd2bafb6
[]
no_license
soyo42/imGames
216885b8d2d12773be0cbe0d1ccde3057493e706
2b3ab2a6f550156e010b57c10844771812290138
refs/heads/master
2021-01-19T07:35:33.134160
2014-03-30T10:29:47
2014-03-30T10:29:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
12,297
py
# python module imgame from abc import ABCMeta, abstractmethod import sys import json import random import pickle import os import logging CARDS = {1:'strazna', 2:'knaz', 3:'baron', 4:'komorna', 5:'princ', 6:'kral', 7:'hrabenka', 8:'princezna'} CARDS_REQUIRING_TARGET = (1, 2, 3, 5, 6) class Dispatcher: '''holds ...
[ "soyo@inmail.sk" ]
soyo@inmail.sk
c1fba2d97391f3c3ce83fd6a93450a9a84a04fad
9ad8eba7f7335404a5c403af1f69f2fd9fa5d606
/ssq.py
ffa9c8edb2bfba2976ef18d4a8c73e5312aed080
[]
no_license
renhl/learn
2ea743c172acfaa8c880d3e1ec8a3b19c002b106
b27aab9a2885b76c0c09e1f82ab56829ef04df98
refs/heads/master
2020-06-25T16:28:09.264396
2018-01-19T10:14:34
2018-01-19T10:14:34
96,976,700
0
0
null
null
null
null
UTF-8
Python
false
false
482
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018-01-02 18:20 # @Author : renhl # @Site : # @File : ssq.py # @Software: PyCharm Community Edition import random h = random.sample(range(1,34),6) # 随机生成1-33的list,取出6个元素 h.sort() # 将list排序 l = random.sample(range(1,17),1) h1...
[ "825156683@qq.com" ]
825156683@qq.com
05f04c656adb5e55c8aa4be8872f7e96431b7d25
e3825f7912d6fa38c4878b42afd2a3e643ebd2f6
/src/run.py
45ad32e7502824e2fa0e28bd89be92c709dff925
[]
no_license
winnieliuzzz/Whale_of_Deal
8c5078f68e15ef7654acafea6f80083d496c96f2
5641af2b595846a25caa756f2463f9fb96e73be2
refs/heads/master
2020-03-22T12:27:42.132516
2018-08-06T04:19:08
2018-08-06T04:19:08
140,041,551
0
0
null
null
null
null
UTF-8
Python
false
false
102
py
from src.app import app if __name__ == '__main__': app.run(debug=app.config['DEBUG'], port=4990)
[ "weinliu@microsoft.com" ]
weinliu@microsoft.com
a8175e7a8d2f0309b301e0e1f1ed7ac348b75786
9fc18966198c4122f2d82d5e05ee8b4542a2c347
/Fattree.py
2764c8c0d1e924d7d71b84df4deaa9e71bf7e73f
[]
no_license
hyili/SDN_multicast_replication
63c2c35a82309bafd4a1d9959e073b1406eedc54
6b6edb2c8ae697c81501ffbb0818ac0dba9ef05c
refs/heads/master
2021-01-20T21:23:52.863153
2015-07-22T04:31:18
2015-07-22T04:31:18
39,134,247
2
2
null
null
null
null
UTF-8
Python
false
false
4,480
py
#!/usr/bin/python from mininet.topo import Topo from mininet.net import Mininet from mininet.link import TCLink from mininet.util import dumpNodeConnections from mininet.log import setLogLevel from mininet.node import RemoteController from mininet.cli import CLI #class MyTopo( Topo ): # "Simple topology example." # #...
[ "a19931031@gmail.com" ]
a19931031@gmail.com
8edeb38ba9eac708dc2867083639618cc2864801
e2a4f7620535a0919b7dee9674e17207d164590a
/Hospital/urls.py
d50a9e8ae4b8b375f5cf35c76fd5747cb3db3ec5
[]
no_license
pydjamolpomaji/SunriseMultispecialityHospital
2a1f8990845f732e19dbd752312ebe5e5d2dbabd
c09a122e4347ebe3d0ff2fa980a554279211cf77
refs/heads/master
2023-03-06T08:16:11.407573
2021-02-17T10:10:48
2021-02-17T10:10:48
339,680,744
0
0
null
null
null
null
UTF-8
Python
false
false
1,950
py
from django.urls import path from Hospital import views app_name = 'Hospital' urlpatterns = [ path('', views.home, name=''), path('contact/', views.contact, name='contact'), path('about/', views.about, name='about'), path('doctors/', views.doctors, name='doctors'), path('tpa_insurances/', views.tpa...
[ "amolpy5@gmail.com" ]
amolpy5@gmail.com
8cf1ea00facabb67b4c522ae197458c031ebd077
792f7d6b8fd0cedf1a5a6967a9a463eae30e7de9
/sfftkrw/schema/v0_5_8.py
70d11885c15894bd84a2591c3529f3e694235035
[ "Apache-2.0" ]
permissive
emdb-empiar/sfftk-rw
d4053418dde11e88b37dde7e4a2ba3a237861854
b96389faa20214b970aeb58c36412cbf691d87da
refs/heads/master
2023-02-15T21:34:11.005361
2023-01-27T13:23:20
2023-01-27T13:23:20
214,158,597
1
0
null
null
null
null
UTF-8
Python
false
false
224,971
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated Thu Oct 20 11:49:30 2016 by generateDS.py version 2.22a. # # Command line options: # ('-o', 'sfftkrw/sfftkrw/schema/emdb_sff.py') # # Command line arguments: # /Users/pkorir/Documents/workspace/schema/trunk/DA_schema/segmentation_da.xsd # # Command line: ...
[ "pkorir@ebi.ac.uk" ]
pkorir@ebi.ac.uk
b56ed8e751404aa8ba75b4dc5a993d49f79f45e3
a7ab35ff204d7c4679ce8b1bf7da8fa363a7a708
/algo_problems/q361-380/q375_topdown.py
083a0579f37b3972b5767ffb94c88e4a5110a449
[]
no_license
lin13k/practice
c68e7270be2694cb9737c35af8beb19db7e30d65
c3efe1a5839c3ff1c320c0fcfc7b65a9462f7b52
refs/heads/master
2021-01-19T11:05:43.521468
2018-11-12T09:42:29
2018-11-12T09:42:29
87,928,424
0
0
null
null
null
null
UTF-8
Python
false
false
1,089
py
# 1 - > 0 # 2 - > 1 # 3 - > 2 # 4 - > 2 + 3 - > 1 + 3 # 5 - > 3 + 4 # 6 - > 3 + 5 # 7 - > 4 + 6 # 8 - > 4 + 6 + 7 - > 4 + 5 + 7 # 9 - > 5 + 7 + 8 - > 5 + 6 + 8 import sys class Solution(object): def getMoneyAmount(self, n): """ :type n: int :rtype: int """ table = [[0 fo...
[ "lin.13k@gmail.com" ]
lin.13k@gmail.com
49a29165e17c706e65b2616e526b169e06874c63
46de08fb9b97e0df41c31157b4f1034941ffe14e
/app/expart_process.py
790ef9f1c1d1cc8c2ef5f2440b20ce68b49fa009
[]
no_license
8secz-johndpope/Reinvent-Your-Look
d3b93c83bcac01603b58c77fd506ff81836086e9
530db294cc61073d41c727521721e45cb5c9dbc2
refs/heads/master
2021-09-19T08:56:04.165091
2018-07-26T01:43:24
2018-07-26T01:43:24
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,721
py
from flask import render_template, redirect, url_for, request, session from app import webapp from app.config import AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY import boto3 from app import swap, exchange_part, index dynamodb = boto3.resource('dynamodb', region_name='us-east-1') s3 = boto3.resource('s3', ...
[ "horis233@gmail.com" ]
horis233@gmail.com
3cea6275e8b81b5e9a783e808641dd5522fd0232
a80afb70f5038247ebc3414f8762f7b6292903f1
/rt1/general_functions.py
1ccd2002697a226545e3b5cf6e691f0c23f78b92
[ "Apache-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
ndraeger/rt1
69aac6eef9cf9c7f3d2ee58271ba756aebad31c6
8cf30a3b3604b78b1422388e479b28c921d01c09
refs/heads/master
2023-01-05T18:39:43.933873
2020-10-28T13:06:00
2020-10-28T13:06:00
295,400,966
0
0
Apache-2.0
2020-09-14T11:55:26
2020-09-14T11:55:25
null
UTF-8
Python
false
false
10,631
py
# -*- coding: utf-8 -*- """helper functions that are used both in rtfits and rtplots""" import sys import numpy as np from itertools import tee, islice from collections import OrderedDict def rectangularize(array, return_mask=False, dim=None, return_masked=False, dtype=None): """ return a r...
[ "raphael.quast@geo.tuwien.ac.at" ]
raphael.quast@geo.tuwien.ac.at
5f29651ef08073862e157211e6fe9629fb7df746
a8750439f200e4efc11715df797489f30e9828c6
/Miscellaneous/merge_sort_inversion.py
dce584f2558a137d4b5602831310ba331d7ad8b2
[]
no_license
rajlath/rkl_codes
f657174305dc85c3fa07a6fff1c7c31cfe6e2f89
d4bcee3df2f501349feed7a26ef9828573aff873
refs/heads/master
2023-02-21T10:16:35.800612
2021-01-27T11:43:34
2021-01-27T11:43:34
110,989,354
0
0
null
null
null
null
UTF-8
Python
false
false
981
py
def mergeSort(arr, array_size): tmp = [0] * array_size return _mergeSort(arr, tmp, 0, array_size - 1) def _mergeSort(arr,tmp, left, right): inv_count = 0 if right > left: mid = (right + left) // 2 inv_count = _mergeSort(arr,tmp,left, mid) inv_count += _mergeSort(arr,tmp,mid+1, ...
[ "raj.lath@gmail.com" ]
raj.lath@gmail.com
1e96f7e1f089f5f0ebbc8e035216173c31de6a1a
28250e6b6a325d3c09d3828074bd9411887c892f
/object_oriented_prgms/first prmg.py
a7661b44f3ad5796c9141cd8e66e14889d2bd20d
[]
no_license
vidya3979/luminardjango
ed6f7353df139867093d33b57a4fcc6bb174bb54
083f83d82fae3737cb92709ec985a9b89a8598b8
refs/heads/master
2023-02-10T16:25:45.361026
2021-01-08T06:17:21
2021-01-08T06:17:21
315,545,868
0
0
null
null
null
null
UTF-8
Python
false
false
394
py
class person: def set_person(self,name,age,gender): self.name=name self.age=age self.gender=gender def print_person(self): print("name=",self.name) print("age=",self.age) print("gender=",self.gender) obj=person() obj.set_person("ajay",25,"male") obj1=person() o...
[ "vidyajyothis@gmail.com" ]
vidyajyothis@gmail.com
727ed139b54f7f87311aee11789b802bf5f9049c
efb1d5a4decb944ab377f186389f2b7b67e5943c
/Input Output/ac2015_serializacion/ac21.py
4c6e22ab5927778d6f42f5c6b3e71936a66074fc
[]
no_license
lechodiman/IIC2233-Learning-Stuff
978f86a8e771481c170d0a7c41b9ec118014b051
f2b328d3a4015f7e2c7b132d3b21297ae4e7dbca
refs/heads/master
2021-03-27T19:39:31.763665
2018-02-11T00:34:46
2018-02-11T00:34:46
120,977,788
0
0
null
null
null
null
UTF-8
Python
false
false
5,885
py
#!/usr/bin/env python # -*- coding:utf-8 -*- from PyQt5 import QtCore from PyQt5.QtWidgets import (QDialog, QDialogButtonBox, QLabel, QLineEdit, QVBoxLayout, QPushButton, QWidget, QHBoxLayout, QApplication) import datetime import pickle import os class Cliente: def __init__(self, no...
[ "lechodiman@uc.cl" ]
lechodiman@uc.cl
d61ef4246552698da222d71d303dbb481973e586
4bfa419ad5beba3b66bd9bebdfa56cd2934f5330
/basicforms/settings.py
508b0b5b2ba54fc1db17f884b62627295b9f28cd
[]
no_license
pranay-prajapati/journal.github.io
226e1f02b191e9179abb7cc01c4b39b4b7b5ec9c
4f0c936e6d4395e484b962800631f824aa0ebd3c
refs/heads/master
2022-12-23T10:07:57.388471
2020-09-29T10:04:13
2020-09-29T10:04:13
290,825,282
0
0
null
2020-09-29T10:04:14
2020-08-27T16:23:42
Python
UTF-8
Python
false
false
3,337
py
""" Django settings for basicforms project. Generated by 'django-admin startproject' using Django 3.0.8. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ import os...
[ "60659922+pranay-prajapati@users.noreply.github.com" ]
60659922+pranay-prajapati@users.noreply.github.com
a411450a3bbeced98c395baa76aab1feb00394c1
6af96cf3c590a5418e87873e892fe704698c8ef8
/25_string.py
047ae2c540aaf7feffad090455079dada0b3c7d9
[]
no_license
vikasjoshis001/Python-Course
f228ed362160831ee00c8498e679186463887982
40efa480b3b39b3abd1b2a0c6bad0af3db2ce205
refs/heads/master
2023-05-03T15:37:20.841229
2021-05-21T14:41:18
2021-05-21T14:41:18
283,190,082
1
0
null
null
null
null
UTF-8
Python
false
false
107
py
s=input("Enter an string: ") i=0 s1="" for x in s: if (s.index(x)==i): s1+=x i+=1 print(s1)
[ "vikasjoshis001@gmail.com" ]
vikasjoshis001@gmail.com
546d609ebd7eb846aed88664b0fc6b131d9e842b
c683adc4b5c2afd03cf8b1f8e00137fa5141dad2
/vjezbanje_nizovi/zad_10.py
cd27378ca3c8fcbe98e0624233bc355525947d0b
[]
no_license
azunic/pyhton-tasks
a3656fe442eddf225756bf760e2be659986df66d
13f5d9dedfbfb244b8c86db3990f24d155e575f5
refs/heads/master
2022-12-07T06:56:01.235940
2020-08-20T12:14:13
2020-08-20T12:14:13
286,251,341
0
0
null
null
null
null
UTF-8
Python
false
false
537
py
# -*- coding: utf-8 -*- """ Created on Sat Aug 15 17:14:46 2020 @author: Ana """ # Učitati niz A od n članova. I #spisati najmanji od njih po apsolutnoj vrijednosti. # Pri ovome koristiti prvi član niza. niz = [] n = int(input("Unesite brok koliko zelite da vam bude niz:")) for j in range(0,n): broj = i...
[ "zunicana13@gmail.com" ]
zunicana13@gmail.com
3d6fab8a882c37b7d3952e5946b3ba0c18c9699a
fb497e71d257a333a39776d092c2ad9c53d21cf5
/door_and_motion/catarazzi.py
ce7bf57887777475562e3e764f37e28d5b45d5dc
[]
no_license
jovankaas/catarazzi
eabcecbc1e3b751560bb46f2596335378a497f70
4f26345c436635d45e686bdf39992273e3012fb9
refs/heads/master
2023-01-01T20:19:07.256182
2020-10-25T14:03:14
2020-10-25T14:03:14
258,998,134
0
0
null
null
null
null
UTF-8
Python
false
false
26
py
../doorsensor/catarazzi.py
[ "jory@opmijnfiets.nl" ]
jory@opmijnfiets.nl
6e7bfbc7632870831fc0c7a921c390f007845f75
6ba78cb76623157c19571e6b3d7875f6474f1719
/flh-split-into-series-and-create-network.py
a200f11283f97b8bd9ee42f5dbb539e1c97195d0
[]
no_license
FannieLouHamerPapers/code
4be5f38147cd5bab7f059537e5d288be72121441
8d7dd816fc57eaa60e499d73f84e14c3dd9e339c
refs/heads/master
2021-07-12T00:20:33.074532
2020-07-20T18:34:35
2020-07-20T18:34:35
183,095,550
0
0
null
null
null
null
UTF-8
Python
false
false
3,920
py
import pandas as pd import networkx as nx from networkx.algorithms import bipartite fullset=pd.read_csv('https://raw.githubusercontent.com/FannieLouHamerPapers/NamedEntities/master/flh_ner_all.csv', low_memory=False) Delta_Opportunities_Corporation_DOC_Series=fullset.loc[fullset.doc_title_full.str.contains('Delta Opp...
[ "brandontlocke@gmail.com" ]
brandontlocke@gmail.com
3a15b1c775acf52ab76e4a0976ea0acdd4d1b27b
83d806103224ca9aac9b6f353b58490035e8344c
/Analysis/Graph.py
d144b917957114a0e12f569b314389cf2012f2f3
[]
no_license
bumsubp/BPSpatial
2693de0303ebee02ea38bd55e37daf5f282754ff
157b0248dbd7234d6ae77e70c82ede2e12556ed0
refs/heads/master
2021-06-29T04:16:58.337779
2021-02-12T07:12:04
2021-02-12T07:12:04
216,970,068
0
0
null
null
null
null
UTF-8
Python
false
false
53,516
py
""" @author: bspark """ import networkx as nx import math import sympy as sp import sys import os sys.path.insert(0, os.path.abspath('..')) import BPSpatial.FileIO.RTree as rtree class geometry(): """ Class to get variety of basic information geometry """ @staticmethod def lineSpec(node1, node2): ...
[ "bumsubp@uci.edu" ]
bumsubp@uci.edu
b3bb6678f2f4c067fa070a410a4fc01f5e5e0f48
44c47006a6e4375caa57f4c374982c9903194193
/week13/hh-back/api/views.py
c370c2076135c25da58df5f9a89336e25295c165
[]
no_license
akosya-oraz/webka
ffa6fb7f2f788472410ea026340d8c1178fa2fef
442476ab46f24984c70f7287094d39a3cc4e893d
refs/heads/master
2023-01-24T09:36:38.301321
2020-04-22T19:10:51
2020-04-22T19:10:51
237,117,185
0
0
null
null
null
null
UTF-8
Python
false
false
4,336
py
from django.http.response import JsonResponse from api.models import Vacancy, Company from api.serializers import CompanySerializer, VacancySerializer from rest_framework.response import Response from rest_framework.decorators import api_view import json from rest_framework.views import APIView from rest_framework impo...
[ "60454740+akosya-oraz@users.noreply.github.com" ]
60454740+akosya-oraz@users.noreply.github.com
1ab48f13edcbee28e40014c1f71cf0a7dcce4b2f
1f75435873986f9496dd96baa3824c99e1c2e707
/MicroBlog/spiders/weiboCrawl.py
fabb3010c54cf2806e512e409da2a7161d64a7ca
[]
no_license
Ynglylife/Microblog
e8e8893d6294069280569ad950f1ece56ba58184
13b02e251043dad5397db815e25d96a2b4dc7662
refs/heads/master
2020-04-18T06:39:22.346940
2019-01-24T09:01:38
2019-01-24T09:01:38
167,330,830
0
0
null
null
null
null
UTF-8
Python
false
false
3,623
py
from scrapy.spider import Spider,Request from MicroBlog.items import MicroblogItem from scrapy.conf import settings from bs4 import BeautifulSoup import os.path import time,datetime import json import re import csv base_usrinfo_url = 'https://m.weibo.cn/api/container/getIndex?uid=%s&containerid=100505%s' base_usr_mblo...
[ "Yngly@outlook.com" ]
Yngly@outlook.com
fc1b30113008ca57da9b812c530213bac3d8dbb2
83af0fab306c8e5729a9f855f96664a751ccb033
/BrainFuck_Interpreter.py
ead29b9cae8f5ae746776926a08b4c435fc90247
[]
no_license
aizjForever/brainfuck_interpreter
89c11c9f2de7b51f21fc1a39e050bed907bc1d51
1b953f35b57df956719391ee60ee235b4bc2fa08
refs/heads/master
2020-04-01T12:21:04.532915
2018-10-16T01:15:06
2018-10-16T01:15:06
153,202,846
0
0
null
null
null
null
UTF-8
Python
false
false
4,895
py
import sys def readFile(path): with open(path, "rt") as f: return f.read() class Brainfuck(object): def __init__(self,code,bits = 8,enable_precheck = False): def pre_processing(code): res = "" for c in code: if c in "+-><[].,": res +=...
[ "aizejie2014@163.com" ]
aizejie2014@163.com
e969d49d903b9647ad4af2a70a644dac4050d0cd
f8832de3fa7f9fbb3da1db28bb7063088749a85a
/wipa2_show_project/wipa2_show/admin.py
d99d8d5f705911b2efd23021df889bed341a1fa8
[ "MIT" ]
permissive
wipa2/wipa2.github.io
10112e16100c26d019b4f3a44f618f4013971eed
5f5ab3a45f2c7a67adbd180c037016c693149d65
refs/heads/master
2022-12-10T09:11:35.576436
2018-12-20T04:08:42
2018-12-20T04:08:42
152,339,119
0
0
MIT
2022-12-08T01:29:26
2018-10-10T00:27:39
Python
UTF-8
Python
false
false
1,007
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from django.contrib.admin import AdminSite from django.contrib.admin import site from django.urls import path from django.views import generic from wipa2_show.models import * class WorksListView(generic.ListView): t...
[ "chris.czub@gmail.com" ]
chris.czub@gmail.com
1872d3b9826fea180fdfe3e97a5a1a5fb6af6eac
752a46ea23b77b459172a015210d61d7b3c84c6a
/Translating_RNA_into_Protein.py
d86b3049283de37e1aa8f3e2d52f8642b9300dae
[]
no_license
Ashley-Pritchard/Rosalind
f6c896d4e8988cdaca5e209f1b2bf356fd3ffa75
d77e75b622de1caee9c5f957aa6b08e2cdfa5447
refs/heads/master
2020-06-28T02:35:09.857154
2019-08-13T21:58:02
2019-08-13T21:58:02
200,121,092
0
0
null
null
null
null
UTF-8
Python
false
false
895
py
f = open('rosalind.txt', 'r') sequence = f.read() amino_acids = {'AUA':'I', 'AUC':'I', 'AUU':'I', 'AUG':'M', 'ACA':'T', 'ACC':'T', 'ACG':'T', 'ACU':'T', 'AAC':'N', 'AAU':'N', 'AAA':'K', 'AAG':'K', 'AGC':'S', 'AGU':'S', 'AGA':'R', 'AGG':'R', 'CUA':'L', 'CUC':'L', 'CUG':'L', 'CUU':'L', 'CCA':'P', 'CCC':'P', 'CCG':'P', '...
[ "ashley.pritchard@ouh.nhs.uk" ]
ashley.pritchard@ouh.nhs.uk
a90336f41588ab43df39daf15ea0567c1cdeddd5
172d5ac6e918b32231714a853b0fdb0ea6a22710
/Amulya/pattern1.py
d11bf0a0f83c26fe0d64cb9c793b63eb3825d81a
[]
no_license
nikithasake/Python
ea2b4a8e01a72c7f59ff440b237d00c8ec306c14
0472bed9c0b5b671e4df67d0cc06b834d6fbf4bb
refs/heads/main
2023-08-14T13:58:52.811882
2021-09-21T16:59:35
2021-09-21T16:59:35
391,322,571
2
0
null
null
null
null
UTF-8
Python
false
false
157
py
#Pattern Program ''' 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5''' n=int(input("Enter row:")) for i in range(1,n+1): for j in range(1,i+1): print(j,end=" ") print()
[ "noreply@github.com" ]
noreply@github.com
4c05d6c39aaaddaaabc1e0f9c40b29d94136f0db
e0ed932fc2e4edb953cc4e423362dabc19083008
/python/002_note/learn_匿名函数.py
f7241f78ff170bbb6a1fae78ba677adbd3bd687f
[]
no_license
glfAdd/note
90baee45003ac3998d898dcfbc618caa28f33b74
19a9aff61450be25904bff0fe672f660d49d90ff
refs/heads/main
2023-05-27T13:28:36.092352
2023-05-24T03:35:58
2023-05-24T03:35:58
240,066,208
1
0
null
null
null
null
UTF-8
Python
false
false
165
py
""" https://zhuanlan.zhihu.com/p/78698111 """ def test_1(a, b): return a + b a_1 = test_1(1, 5) print(a_1) a_2 = lambda a, b: a + b print(a_2(11, 22))
[ "2239660080@qq.com" ]
2239660080@qq.com
9048b0e04febbf2e2680231dda7673346eaf03c9
816bfcd598e0f2ae46eaad2eaec43c9398ae1121
/napalmv1.py
e75561d1912ebfd33f2e9764fac0637840a5e12a
[]
no_license
Terenzano/PythonNetworkEngineers
72a79cdfd20da06dd7b1cd1a4684b5a7e4626ab5
7adee328458fddf270a9ce40c985f64e0309a433
refs/heads/master
2023-01-23T10:52:04.697074
2020-11-15T15:07:02
2020-11-15T15:07:02
284,260,973
1
0
null
null
null
null
UTF-8
Python
false
false
393
py
import json from napalm import get_network_driver driver = get_network_driver('ios') iosvl2 = driver('192.168.122.72', 'cisco', 'cisco') iosvl2.open() ios_output = iosvl2.get_facts() print (json.dumps(ios_output, indent=4)) ios_output = iosvl2.get_interfaces() print (json.dumps(ios_output, indent=4)) ios_output = io...
[ "naikatepa@gmail.com" ]
naikatepa@gmail.com
6586d88345b36755cb433ae6a996c875e3bdb836
b22c848d8d3257b58e25248721fa419cb2abaeb9
/skateteam/admin.py
7a2b47aa715cdf38d01b75a2e8414c17f471e36f
[]
no_license
AlexNexton/soleki
69983de38a1ca709b4c1bc093f75debf105c106e
9c37cc5b6924a332ef1f0d534ed8087ec07d1034
refs/heads/master
2023-04-21T07:47:57.966541
2021-05-14T04:34:21
2021-05-14T04:34:21
358,224,825
0
1
null
null
null
null
UTF-8
Python
false
false
481
py
from django.contrib import admin from .models import Skateteam, Teamcat # Register your models here. class SkateteamAdmin(admin.ModelAdmin): list_display = ( 'sku', 'name', 'teamcat', 'rating', 'image', ) ordering = ('sku',) class TeamcatAdmin(admin.ModelAdmin):...
[ "cianoc13@gmail.com" ]
cianoc13@gmail.com
0708a0a845af193cd7bec3d84b88899f4a7b7c19
16caad6ae23609e5f9bdf9cc7a568db6bfd4c57d
/src/coreclr/scripts/superpmi_collect_setup.py
a6a9b84e7e8ba8cb4a9f6efa09e5864d18723a0b
[ "MIT" ]
permissive
Emmy96/runtime
eae07c6d6e23a54802f5df2e0d278136e1d043da
6527f540e4b50bc84eb72705f80d3f2bdd57473b
refs/heads/main
2023-09-05T00:31:29.490643
2021-11-03T04:27:34
2021-11-03T04:27:34
424,103,302
1
0
NOASSERTION
2021-11-03T05:33:36
2021-11-03T05:33:35
null
UTF-8
Python
false
false
23,416
py
#!/usr/bin/env python3 # # Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the MIT license. # # Title : superpmi_collect_setup.py # # Notes: # # Script to setup directory structure required to perform SuperPMI collection in CI. # It does ...
[ "noreply@github.com" ]
noreply@github.com
f4afe2ce92f22ba1ed821039ba79f0211280a3fa
f4fce41f2b3cba606d2a36075de356434602d1c0
/xwing_rulebook/faqs/migrations/0005_auto_20170518_1809.py
f6c13b351f83d19ca9db9915b5099b9ce0faead5
[]
no_license
lvisintini/xwing-rulebook
24a392c12a2b13027e7cf65b9cc41e8a21585e3c
6dc7ac58f962a4928843364dcfc077638384dc16
refs/heads/master
2021-01-22T19:41:32.960048
2018-07-25T10:53:35
2018-07-25T10:53:35
85,224,617
0
0
null
null
null
null
UTF-8
Python
false
false
739
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-05-18 18:09 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('faqs', '0004_auto_20170518_1110'), ] operations = [ migrations.AlterField( ...
[ "lvisintini@gmail.com" ]
lvisintini@gmail.com
184dc6a22c1c622a78ebabdaefcfcd9e62b19680
65306b41168a5afa6fc80904cc0fbf737939a01a
/scale/scheduler/migrations/0004_auto_20170209_1616.py
dd8b7af0a3fbf8bc3008c90332e4c38a95df28af
[ "LicenseRef-scancode-free-unknown", "Apache-2.0", "LicenseRef-scancode-public-domain" ]
permissive
kfconsultant/scale
9e5df45cd36211d1bc5e946cf499a4584a2d71de
28618aee07ceed9e4a6eb7b8d0e6f05b31d8fd6b
refs/heads/master
2020-12-07T00:04:37.737556
2020-01-06T12:57:03
2020-01-06T12:57:03
232,587,229
0
0
Apache-2.0
2020-01-08T14:53:36
2020-01-08T14:53:35
null
UTF-8
Python
false
false
483
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import models, migrations class Migration(migrations.Migration): dependencies = [ ('scheduler', '0003_auto_20160201_0846'), ] operations = [ migrations.RemoveField( model_name='scheduler', ...
[ "derick.faller.ctr@us.af.mil" ]
derick.faller.ctr@us.af.mil
c732150cd76a35276b2bb893b8d0d273ed06f108
c31cb569af4ffc14406ee8697c397489edb90b44
/test/contrib/test_control_flow.py
1a4392273bc9a10877f6d4cee5e53d447e993131
[ "Apache-2.0" ]
permissive
fehiepsi/numpyro
ff39d4ebf09cb3cfa4afb6a3c5befdd1c9262213
9ca63dad442d6b84f846b24b60fdd00552f7456d
refs/heads/master
2023-08-24T14:30:38.270239
2021-05-27T20:28:51
2021-05-27T20:28:51
176,783,350
0
1
Apache-2.0
2020-09-10T23:17:08
2019-03-20T17:23:15
Python
UTF-8
Python
false
false
6,259
py
# Copyright Contributors to the Pyro project. # SPDX-License-Identifier: Apache-2.0 from numpy.testing import assert_allclose import pytest from jax import random import jax.numpy as jnp import numpyro from numpyro.contrib.control_flow import cond, scan import numpyro.distributions as dist from numpyro.handlers impo...
[ "noreply@github.com" ]
noreply@github.com
e960e713ed05947ea465e38afc27667ff5ebde33
d76f6ad574aae67ecc0f9b964a8416413ce59833
/leaparticulator/test/data/profile_p2p_logs.py
3b953d56756dbca90f8b0a48ec091a4f91b6631b
[]
no_license
keryil/leaparticulatorqt
7990c38e107a5b4dd53c488e386432efdf448a24
cd3fe7bf61ccac41fbbe2248f2b9d81b49fbcb40
refs/heads/master
2021-08-07T11:45:42.983068
2020-04-29T17:03:51
2020-04-29T17:03:51
64,754,270
0
0
null
null
null
null
UTF-8
Python
false
false
1,163
py
from line_profiler import LineProfiler from leaparticulator.data.functions import * def do_profile(follow=[]): def inner(func): def profiled_func(*args, **kwargs): try: profiler = LineProfiler() profiler.add_function(func) for f in follow: ...
[ "keryilmaz@gmail.com" ]
keryilmaz@gmail.com
be5ff5c51a901f01d761497daf0e79330141733b
6403ade027404096a9ca3ad5ed92e92eeecf344c
/Game/Actions/battle.py
5100f628426e1d3f0919e33868d118efadc3baf8
[]
no_license
Larionov0/Stedunto
8ff8e614f3799616551a2469a5a3d5b75ce6bf10
544343de95eae99823039fd33f871d01b3266f84
refs/heads/master
2023-02-16T18:47:21.965534
2021-01-15T16:03:53
2021-01-15T16:03:53
322,740,381
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
from ..Heroes.hero import Hero from ..Interface.interface import InterfaceManager interface = InterfaceManager.instance() class HeroBattle: @staticmethod def heroes_starts_battle(hero1: Hero, hero2: Hero): for hero in hero1.alive_team: hero.before_battle(hero2) for hero in hero2.a...
[ "larionov1001@gmail.com" ]
larionov1001@gmail.com
a900dd069e481a00a126498627e640c565cbc7d5
5c892bd3a0244b0698f4432eb314aac14b4bb6be
/Ch. 7 - Signal Synthesis/sineAngle.py
7b187147676c566d0f4a6a8d83844b88fe0195ba
[]
no_license
jlqian98/HackAudioPythonCode
bcf2406e8fd4e6ecd34eaf3464dae0c364ccfdd0
6ab887f5f4cec211b8da5dca1b1036b8bb25a753
refs/heads/main
2023-08-28T01:40:22.602263
2021-11-13T18:52:50
2021-11-13T18:52:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
940
py
# SINEANGLE # This script demonstrates a method to synthesize sine waves # using an angle of rotation # # See also SINESYNTHESIS import matplotlib.pyplot as plt import numpy as np # Declare initial parameters f = 2 # frequency in Hz phi = 0 # phase offset Fs = 1000 # sampling rate Ts = 1/Fs # sample period lenSec...
[ "erin.yamabe@pop.belmont.edu" ]
erin.yamabe@pop.belmont.edu
a426da23e0cb9acd952b5ddf686bb4d74eb522ac
e1af4069695e6bb93e4dc8d9eae2af5d130eadbf
/metafilter/webserve.py
0eb31965b25cdb69288071fdff7588d7d73a0cf9
[]
no_license
pombredanne/metafilter
5b153f3be74c8cad457ab6e4ee748dd900973fed
dfbc01877a3020f7fe58b9fda3e14ed073684f25
refs/heads/master
2021-01-16T19:53:06.614469
2013-06-23T10:58:26
2013-06-23T10:58:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
6,141
py
from flask import ( Flask, g, render_template, request, redirect, make_response, url_for, jsonify) from metafilter.model import Node, Query, Session, Tag, set_dsn from metafilter.model import queries, nodes, tags as tag_model import logging LOG = logging....
[ "michel@albert.lu" ]
michel@albert.lu
f81cfa9aea7193947f5a4846d43936a049cf9ac5
9cdf9b022527efb72d2e9b9210cbdb4971e00223
/getting_ec2_info_by_client_method.py
c18f029118cf160cdb4580be18cd5ac21a9bf946
[]
no_license
saurjain108/awsboto3
a52b21e57619ca28fcb1fc12264f545c5faba5a6
0bbfcd1ae2775e208004d3616655bfc6ff867826
refs/heads/master
2022-07-01T17:59:28.217737
2020-05-11T16:06:42
2020-05-11T16:06:42
260,275,279
0
1
null
null
null
null
UTF-8
Python
false
false
976
py
import boto3 from pprint import pprint #this is used for formatting the output text aws_man_con = boto3.session.Session(profile_name="root") ec2_con_cli = aws_man_con.client('ec2') resource = ec2_con_cli.describe_instances()['Reservations'] #pprint(resource) for i in resource: for j in (i['Instances']): # pp...
[ "rony.jain108@gmail.com" ]
rony.jain108@gmail.com
2f477b2c9634b3953e550ab62fe6996a47276a77
c9f2a64cb2c30bf47f94d6940521f00cc72474f3
/ejercicios_videos/ChainofResponsability.py
135c66cd5a36120efd79eea92731cc32856c5d36
[]
no_license
sandramoctezuma/Unidad3_SBMV
b16470f37b76fdbc3e7259e3e0c11caf7e037525
a5b7f18ac6143d1536933487a82b9b39d5b3c41e
refs/heads/master
2021-05-06T17:34:49.163282
2017-11-24T05:55:07
2017-11-24T05:55:07
111,878,725
0
0
null
null
null
null
UTF-8
Python
false
false
1,783
py
# Sandra Bibiana Moctezuma Vargas # Grupo: GITI9072-e class Handler: #abstrac handler """Abstracc handler""" def __init__(self, successor): self._successor = successor #Define who is the next headler def handle(self, request): handled = self._handle(request) #if hadled, s...
[ "noreply@github.com" ]
noreply@github.com
61d12a44c6177b03fb5edc606a8a2a864591c389
2ca672c02614fabab6206e7babbe0e1cdc69bf1e
/.vscode/test.py
a26d70723e06fbfc13320c372e17d0d262dba6ea
[]
no_license
AllenGFLiu/leetcode
8ee20c804aa00aac8fca97ca9dc10ea5347469f3
d5d6d5a984049e1f3de240f25067d8e868ddcac8
refs/heads/master
2020-09-04T20:07:01.047642
2020-01-18T06:50:10
2020-01-18T06:50:10
219,878,362
1
0
null
null
null
null
UTF-8
Python
false
false
3,120
py
from typing import Optional class Node: def __init__(self, value: int): self.val = value self.next = None class MyCircularDeque: def __init__(self, k: int): """ Initialize your data structure here. Set the size of the deque to be k. """ self.head = Node(...
[ "allengfliu@foxmail.com" ]
allengfliu@foxmail.com
23353616677794c761d515939a0905ee2aeeda27
911fb895f2f0a22787b2dd88c6f2f4991feffd30
/amp_monitor.py
f4298dedb43bcea6b773a1520e53694929588acb
[ "MIT" ]
permissive
chagar01/amp_monitor
6d7e1d76fe09f0d9e246b52312c6ee9ffcdba92b
576f54c5de7699818eec450ff2c93cde3a94eaa4
refs/heads/master
2020-04-15T01:03:32.713288
2019-01-06T13:23:13
2019-01-06T13:23:13
164,262,256
0
0
null
null
null
null
UTF-8
Python
false
false
6,245
py
#!/usr/bin/python -u # MIT License # Copyright (c) 2019 Charles Garcia-Tobin # 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 # ...
[ "charles.garciatobin@gmail.com" ]
charles.garciatobin@gmail.com
90ceee4160324fdbc2cc4dcea35a10cf345c4bee
7b4cf9df77a8f5f716dece430c9465b1de137a30
/src/highlight/render_highlight.py
e525b49f548ec7e47164ab3b33fe3bd1a399e810
[]
no_license
willcrichton/generative-grading
b440074e64c36a1fd982b4331e2d4ea36cbd57e4
a36e0c91f778817f8b79d36a06e4b982b1f30245
refs/heads/master
2020-06-06T16:27:02.103847
2019-07-04T21:22:40
2019-07-04T21:22:40
192,791,584
0
1
null
null
null
null
UTF-8
Python
false
false
2,136
py
import os import pickle import argparse import pandas as pd import numpy as np from tqdm import tqdm from collections import Counter from torch.utils.data import DataLoader from src.datasets.student_programs import StudentPrograms from src.rubricsampling.engineHighlight import InferenceNNHighlight from src.rubricsampli...
[ "malikali@stanford.edu" ]
malikali@stanford.edu
606f30c43a10b6fb70bfa1d7d069ba308d7d0c6b
db18bf62e535bfbb4cc3c28a52715ecfcf9e5a5f
/sessionapp/urls.py
4d6d7bfa6412f1922f19d49f57a397ce7f858594
[]
no_license
hakimks/djangofeatures
41ff890a4b3353a9a9f7b7aaeabef0cf49dae346
06d2bb87616f2039f56e4b16bb7024f74f9517f1
refs/heads/master
2023-04-11T10:34:50.327747
2021-04-19T13:04:57
2021-04-19T13:04:57
356,165,144
0
0
null
null
null
null
UTF-8
Python
false
false
116
py
from django.urls import path from . import views urlpatterns = [ path('', views.sessfun, name='home'), ]
[ "hakimks@gmail.com" ]
hakimks@gmail.com
70f378d9edbde3a1d68cab919def134511998363
fda5c716744d06d8e7d1199b89061e9f4a05a347
/tictactoe.py
e9eef7ad2dd7f96642b585a27b51780ae40e8692
[]
no_license
Akash-Raj-ST/TicTacToe
a0ea07a8782c223a986f8bb0d265d32c8bd67ec7
2a2dbc6433566c821ab5d0bac22770f9029005ff
refs/heads/main
2023-01-02T10:03:42.442525
2020-10-25T08:23:42
2020-10-25T08:23:42
306,633,901
0
0
null
null
null
null
UTF-8
Python
false
false
3,022
py
matrix=[' ',' ',' ',' ',' ',' ',' ',' ',' '] def check(player): #Function for checking whether the player has won l=0 m=2 k=0 p=6 cond=True while l<=7 and cond: t=s=r=q=0 for i in range(l,m): #horizontal check if matrix[i]==matrix[i+1] and matrix[i]!=' ': ...
[ "noreply@github.com" ]
noreply@github.com
df2bc7eae0ec10fb183bbb65d1fa0b99044e52a4
a2960cf4ba59a3ccfcb8deb4b46e3b55e17843a1
/tasks/functions/brook.py
5913b80d396d4b3ca9b131e98f4f67561496331e
[ "MIT" ]
permissive
cmz0228/backend
4108869751d0ea03a6841c82cc123d116b79986a
31a4fc7027a14147f971ca3d1097e957456daed3
refs/heads/main
2023-04-06T23:55:20.687821
2021-04-18T10:27:29
2021-04-18T10:27:29
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,960
py
from sqlalchemy.orm import Session from app.db.models.port import Port from app.db.models.port_forward import MethodEnum from app.utils.dns import dns_query from app.utils.ip import is_ip from tasks.functions.base import AppConfig class BrookConfig(AppConfig): method = MethodEnum.BROOK def __init__(self): ...
[ "me@leishi.io" ]
me@leishi.io
9f097dd603e1b81f46605e7d01b735e22b05818a
9a6cc46801eaf24405bda6296a8a5444233a7b02
/simu_config.py
e10ca449ab076dc44153869f56d53c1333e8e65b
[]
no_license
IIT-Lab/MP-MAB
6610dbff2091731a37af1d00c355349a937d16e7
66e6f909f3e843b2e9ada4aef5e965a3f0dfb028
refs/heads/master
2021-05-24T18:19:48.893307
2020-03-31T07:27:22
2020-03-31T07:27:22
253,696,591
1
0
null
2020-04-07T05:34:20
2020-04-07T05:34:20
null
UTF-8
Python
false
false
18,607
py
# -*- coding: utf-8 -*- """ @author: Wenbo Wang [Wang2020] Wenbo Wang, Amir Leshem, Dusit Niyato and Zhu Han, "Decentralized Learning for Channel Allocation inIoT Networks over Unlicensed Bandwidth as aContextual Multi-player Multi-armed Bandit Game" License: This program is licensed under the GPLv2 license. If you ...
[ "wbwang14@outlook.com" ]
wbwang14@outlook.com
ec1adb887dcd401acb84fc8e2a4216578d019f4a
6e170c8ae2eeb206c6e69a025206c29b2c5fa1db
/tools/cpplint.py
8d30ed603bd84596b47807d9e63ce70a7bc6f7f7
[ "MIT", "CC-BY-3.0", "LicenseRef-scancode-unknown-license-reference", "LicenseRef-scancode-public-domain" ]
permissive
fossabot/arctic
d7276ab41fbb67559ad7adf62639005ffec5501e
f3f6e1051b7209020cdaec69ad1f1edbd1acb522
refs/heads/master
2021-04-03T05:11:46.728128
2018-03-08T20:22:58
2018-03-08T20:22:58
124,443,896
0
0
MIT
2018-03-08T20:22:57
2018-03-08T20:22:57
null
UTF-8
Python
true
false
237,326
py
#!/usr/bin/env python # # Copyright (c) 2009 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list...
[ "povelitel2003@gmail.com" ]
povelitel2003@gmail.com
52c9c6e5b3ad7d0bb3ab21c3c6abaf8ec655ea91
7d69597350c12b21667f6836fc39924060de8a65
/ekoparty2016/for50-certified-excel-hacker/false_solve.py
34139c9f1897a9b8f5f27eecd11ac6cf38cd0d0f
[]
no_license
write-ups/public-writeup
1ae1a539a4897b7be16341440cd679b1326ccf75
6bf2099e6df9b44c6674e84dbc728b9668a9883f
refs/heads/master
2020-06-04T10:50:31.632486
2019-03-06T19:06:34
2019-03-06T19:06:34
191,990,646
0
1
null
2019-06-14T18:42:05
2019-06-14T18:42:04
null
UTF-8
Python
false
false
312
py
#!/usr/bin/env python import base64 import sha answer = "" # VBA code runs 1 to 16777216 but VBA loops include the 16777216 for i in range(1,16777217): answer = base64.b64encode(sha.new(answer).digest()) print "EKO{" + answer.replace("=", "") + "}" # Result is EKO{DCEUslnl7DeiLWSdCLi0l1fxdc8}
[ "carolinamz1@gmail.com" ]
carolinamz1@gmail.com
177385e73c4b35884e8ce4f1c6cac71bba121d38
f9f379aaacff1c9590ee5d9bbf1ce61cfb35762d
/env/bin/isort-identify-imports
9ef0457f9d645713b9ba6d858de4e5f6809834e1
[]
no_license
RedSolutionsNYC/backend_samtrak
b420b81f7c9089cfe288206f4aaa9eacca8ba30d
f0cda2f649c20253a34298ba334bcc06971da3f2
refs/heads/master
2023-02-23T20:48:00.690570
2021-01-24T23:58:03
2021-01-24T23:58:03
332,518,448
0
0
null
null
null
null
UTF-8
Python
false
false
300
#!/home/jeanhsuarez/Public/sample-tracker/backend_samtrak/env/bin/python3.8 # -*- coding: utf-8 -*- import re import sys from isort.main import identify_imports_main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(identify_imports_main())
[ "devyoyong@gmailcom" ]
devyoyong@gmailcom
0f608d94c8cec41e78a6415cb81157505e3dbe05
ea58a62bd6fe205aeeeddab41c1587c8ca9e6798
/exl4.py
0d7e656ea2385f081cdd704ea8e53e6038e75065
[]
no_license
jasonwenlee/Learn-Python-The-Hard-Way-Exercises-Jason
7b42a7c64a7189ab432909f9dc806d92a4ce462b
c918808810143f0a9e79861c07b4435f726f489b
refs/heads/master
2021-09-07T21:49:13.722715
2018-03-01T14:39:36
2018-03-01T14:39:36
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,287
py
print "Exercise 4: Variables And Names" print # # Variable cars is straight away defined as an integer with a value of 100. # There are 100 cars. cars = 100 # Variable space_in_a_car is straight away defined as an integer with a value of 4. # There is only enough space for 4 passengers. space_in_a_car = 4 # Var...
[ "noreply@github.com" ]
noreply@github.com
2569015e68203b5145927d0ffd3d14a85516b999
6f2af0e2296302b8f901e4a4f93b5d3034460e7a
/lib/screen.py
1f824e58e193ecfb0f3e11fc283b6952ee88a2de
[]
no_license
verdog/autopico8
67ecd0ec8d53148439b32f70993fe6dbbcc5fefb
b64fa444bee02219723cbb394a325bf1740ee6b0
refs/heads/master
2022-12-19T08:50:06.235699
2020-10-04T23:36:58
2020-10-04T23:36:58
300,954,250
0
0
null
null
null
null
UTF-8
Python
false
false
1,716
py
import cv2 import numpy as np from Xlib import display, X from PIL import ImageGrab, Image # these are in BGR format COLOR_0 = (0, 0, 0) COLOR_1 = (83, 43, 29) COLOR_2 = (83, 37, 126) COLOR_3 = (81, 135, 0) COLOR_4 = (54, 82, 171) COLOR_5 = (79, 87, 95) COLOR_6 = (199, 195, 194) COLOR_7 = (232, 241, 255) COLOR_8 = (77...
[ "j5d1c7@gmail.com" ]
j5d1c7@gmail.com
df9652cb12686bb67561a0ad9b96edd691e90972
2009473f0d95a9a92b1a4a9c93532cac35b4de42
/cloudbaseinit/plugins/common/mtu.py
b987b130c6285728951fddaabc61faca5c69fffb
[ "Apache-2.0" ]
permissive
rrbarreto/pfsense-cloudinit
3601e82a5c2e8ff4fa15751f7ed279f084cfbbb4
d8575ff3c1114b72999002024a876abeddca0d25
refs/heads/master
2020-05-01T01:30:29.087025
2019-03-29T20:16:33
2019-03-29T20:16:33
177,197,282
2
2
null
null
null
null
UTF-8
Python
false
false
2,079
py
# Copyright 2014 Cloudbase Solutions Srl # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
[ "robson.rbarreto@gmail.com" ]
robson.rbarreto@gmail.com
e466d3634b6da0d12ef3d2b7c06dc8e276d0f81a
c63fe277b5d455b7cd1e671d45302cfca1cbb17b
/student.py
32836999be629f642bced045086e656f816f665c
[]
no_license
sauravsingh2/saurav-sayantan
cdf8ea42db63bf20331ba673277b085e75a0da5b
e7ba34ec5aa20917c2c04065eda23110a1d08043
refs/heads/main
2023-03-15T06:48:32.352143
2021-03-08T10:49:29
2021-03-08T10:49:29
345,589,485
0
1
null
null
null
null
UTF-8
Python
false
false
1,000
py
class Student: def __init__(self, name, Id, percentage = 0, skills = []): self.name = name self.Id = Id self.percentage = percentage self.skills = skills def get_name(self): return self.name def get_Id(self): return self.Id def get_percentage(self): ...
[ "noreply@github.com" ]
noreply@github.com
09b78b4d7e1feed889feb876a2a3b1bb69dbcd3b
c48a87f449e20e23ef995a3de5f23dd8abc718ed
/face_rec_api/app.py
c6bc98ce0a269ec701af307a94546679f67a49fb
[ "MIT" ]
permissive
saranyasajeev/f
dd328a65c047efa6e692ceda511ed08e0168a81d
857b90b362e1f55551e0be222c1f35826d0d0d72
refs/heads/main
2023-06-14T04:17:24.021507
2021-07-14T10:46:10
2021-07-14T10:46:10
385,862,891
0
0
null
null
null
null
UTF-8
Python
false
false
6,246
py
from flask import Flask, request, redirect, jsonify from werkzeug.utils import secure_filename import os import json from face_util import compare_faces, face_rec, find_facial_features, find_face_locations import re import base64 from PIL import Image from io import BytesIO import requests app = Flask(__nam...
[ "noreply@github.com" ]
noreply@github.com
d4f046e7d15eb9d33ad2b2ffa1a275a27af4d56d
7f6315bf39bd3b27b62b91eb293292088e8199a8
/getBeauty/middlewares.py
df752ea653a115fd06a3866cd4ef4bf6fea08b2f
[]
no_license
Tarantiner/getBeauty-Master
3c6eb2f840562b9b5a3561106a4bfa3f4221cdb2
e6328fb5e3e7a77e9029a4dcefb9dc60da05de55
refs/heads/master
2022-12-14T03:56:44.511823
2019-03-21T12:28:19
2019-03-21T12:28:19
176,923,616
0
0
null
2022-12-08T02:30:38
2019-03-21T10:36:57
Python
UTF-8
Python
false
false
4,873
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://doc.scrapy.org/en/latest/topics/spider-middleware.html import json import random from scrapy import signals from scrapy.contrib.downloadermiddleware.useragent import UserAgentMiddleware from scrapy.contrib....
[ "320316430@qq.com" ]
320316430@qq.com
a9b12f2d7b79598884ea8efef4330b45ade550ad
10b5c8090412758cac1b00a450249f31843b243c
/mz_ws/devel/lib/python2.7/dist-packages/amcl/cfg/AMCLConfig.py
54babc11e9763b3d517cd8d5fa746e312df57d46
[]
no_license
jyr735112797/MeiZhongRobot
1499c29ca6de786023c8cb0a23ce6cf5da857681
bdba37818c1b37eb269cac8142fdc8590b235e8f
refs/heads/master
2020-12-08T05:50:44.356523
2020-01-09T20:55:17
2020-01-09T20:55:17
232,903,373
2
1
null
null
null
null
UTF-8
Python
false
false
18,806
py
## ********************************************************* ## ## File autogenerated for the amcl package ## by the dynamic_reconfigure package. ## Please do not edit. ## ## ********************************************************/ from dynamic_reconfigure.encoding import extract_params inf = float('inf') config_de...
[ "735112797@qq.com" ]
735112797@qq.com
ab50175ccd01f72b050a261297409d0dc2b222ae
0b9354147b631922828b070635af207d19ad56c5
/deblender/utils.py
43705fe5b4a510584d99ef06c9ec2b2585e68131
[]
no_license
tvelagapudi/deblender
2a3804fe0f5605a4e0658ac409625359de518748
9d472e4630da86e06033523a427ab8b53888669b
refs/heads/master
2020-05-07T15:04:11.492790
2019-10-16T22:06:33
2019-10-16T22:06:33
180,621,814
0
0
null
2019-04-10T16:31:37
2019-04-10T16:31:37
null
UTF-8
Python
false
false
7,565
py
import os import numpy as np import tensorflow as tf import tensorflow.contrib.slim as slim class DataSampler: """ Creates TensorFlow Dataset objects from directories containing .tfrecord TensorFlow binaries and passes tensors to graph. The resulting sampler is reinitializable onto any of three datase...
[ "dreiman@ucsc.edu" ]
dreiman@ucsc.edu
b6fc0bf325cf5f669098fbf0bfd04324c3ce468f
fa788c9202fa269def4fc4261a5c26b81bbd81f2
/codeforces/231C - To Add or Not to Add.py
a70909597cb84395eb358eef66dcc597147bf224
[]
no_license
m7mdkamal/Problem-Solving
34275689e119c0828146c1fc7178324df469353c
b36ab427b3289550c8c53b37faeb8e5877367e42
refs/heads/master
2020-12-24T17:54:20.667549
2016-05-03T06:57:59
2016-05-03T06:57:59
38,404,915
0
0
null
null
null
null
UTF-8
Python
false
false
392
py
#http://codeforces.com/contest/231/problem/C n , k = map(int, raw_input().split()) ar = map(int,raw_input().split()) ar.sort() s = [0] * (n + 1) for i in xrange(n): s[i + 1] = s[i] + ar[i] i, j, maxx, ans = 0, 1, 1, ar[0] while j < n: while ((j - i) * ar[j] - s[j] + s[i]> k): i += 1 if j - i + 1 > maxx: ...
[ "mak20202000@yahoo.com" ]
mak20202000@yahoo.com
34cc0c096002b790547ced2f5c45be6f16731053
0139bdde50d922893e718221a69e1ca4cb89757d
/wssh/examples/cryptography-1.5/tests/hazmat/backends/test_commoncrypto.py
2b730e93798cd959ecbce7143da0ba35becd5484
[ "MIT", "Apache-2.0", "BSD-3-Clause", "BSD-2-Clause" ]
permissive
nuaays/Miscellaneous_Scripts
79adc5d4a639f1c95d5206447593f89a813d2e06
803a3b30e8848bbcbce58eb12f9b25a12060a437
refs/heads/master
2021-01-10T05:46:24.227613
2017-08-04T02:30:18
2017-08-04T02:30:18
48,648,489
1
0
null
null
null
null
UTF-8
Python
false
false
2,186
py
# This file is dual licensed under the terms of the Apache License, Version # 2.0, and the BSD License. See the LICENSE file in the root of this repository # for complete details. from __future__ import absolute_import, division, print_function import pytest from cryptography.exceptions import InternalError, _Reason...
[ "nuaays@gmail.com" ]
nuaays@gmail.com
af0dd01c46ca70c63c0426085e8e360b8068a0ba
cb1fcff6eead0afad5ed1ac9771a5c557de7826b
/PlayGround-STEM/src/nltksample/main.py
9cae5a7c4a1e2712a343254a809c87beaf69c1e4
[]
no_license
minhla1215/PlayGround-STEM
eca59af3046b962382afce3badce2ef053908c3f
42d88c12f02493bd74d711854bd8ff1ffff6f0e3
refs/heads/master
2016-09-05T22:44:05.707058
2013-07-15T22:16:41
2013-07-15T22:16:41
null
0
0
null
null
null
null
UTF-8
Python
false
false
791
py
''' def getline(line, delimiter=','): def _gen(): while True: if delimiter in line: yield line[0:line.index(delimiter)] break else: yield line return "".join(_gen()) ''' import nltk infile = "Layout-Media.csv" outfile = "Revised.cs...
[ "minht@usc.edu" ]
minht@usc.edu
9638e97a64006ff1700145103cf10a43896b4f6b
077c91b9d5cb1a6a724da47067483c622ce64be6
/new_pyretic_loop_mcs/interreplay_6_l_2/replay_config.py
04eb43066db3a8ed2402767c9faf39f22a34371e
[]
no_license
Spencerx/experiments
0edd16398725f6fd9365ddbb1b773942e4878369
aaa98b0f67b0d0c0c826b8a1565916bf97ae3179
refs/heads/master
2020-04-03T10:11:40.671606
2014-06-11T23:55:11
2014-06-11T23:55:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,522
py
from config.experiment_config_lib import ControllerConfig from sts.topology import * from sts.control_flow import Replayer from sts.simulation_state import SimulationConfig from sts.input_traces.input_logger import InputLogger simulation_config = SimulationConfig(controller_configs=[ControllerConfig(start_cmd='./pyre...
[ "cs@cs.berkeley.edu" ]
cs@cs.berkeley.edu
08a048c3525535e09dc805d69d1002a791389dcf
296f758aa22793210553c170a41ce669c0b7895b
/test.py
a0bd1e1a7be47874e22c7f2da698f88196504f78
[ "Apache-2.0" ]
permissive
yesup/tensorflow-serving-client-python
cab185158c308ae9e4387ec6d986c2645c89a321
ed44ddd9c3f143267679e9099d33c8f6b856e033
refs/heads/master
2021-01-23T06:39:13.608952
2017-03-28T18:12:04
2017-03-28T18:12:04
86,383,999
2
0
null
null
null
null
UTF-8
Python
false
false
2,685
py
def doTest(host, port): from tensorflow_serving.apis.predict_pb2 import PredictRequest from tensorflow_serving.apis.prediction_service_pb2_grpc import PredictionServiceStub from grpc import insecure_channel, StatusCode from tensorflow.contrib.util import make_tensor_proto, make_ndarray from tensorf...
[ "jeffyecn@gmail.com" ]
jeffyecn@gmail.com
e0b33a2ea9ee99944717ab928c5e187a0c12d220
5ec90a88fccee85ac37bd00d8488054f9dc55ee9
/Ashok/sqlite/1/asdf/polls/migrations/0002_auto_20170308_1351.py
66b60a3c8b32abec1717c56ff060309375466382
[]
no_license
MbF-Ashok/pro1
9fe45329206695302ab23a5300fd3a65baa1355b
8d921616285f125ff2a2ef309aa0a8f150ef64f2
refs/heads/master
2021-06-13T13:21:38.357260
2017-03-17T12:51:43
2017-03-17T12:51:43
85,305,352
0
1
null
null
null
null
UTF-8
Python
false
false
435
py
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-08 13:51 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0001_initial'), ] operations = [ migrations.AlterField( ...
[ "ashok@madebyfire.com" ]
ashok@madebyfire.com
70b39c99d506cdea163ccf46b3185dfe24d456c5
5a5b66513e6b8e77d49662392868452deafeeef3
/load_neo4j/load_drugs.py
5534ee61e8429db32b848cd05a2fd35aedde4dfd
[]
no_license
broadinstitute/reasoner
e844c6dabbb9524e9b060b0f48095ecb628498c8
f78fffb771c482bd65d14814bff39e85b4cbac17
refs/heads/master
2021-06-06T23:50:36.183081
2020-06-19T17:31:06
2020-06-19T17:31:06
111,457,986
5
1
null
2020-06-19T17:31:07
2017-11-20T20:12:42
Python
UTF-8
Python
false
false
428
py
import pandas as pd from reasoner.knowledge_graph.KnowledgeGraph import KnowledgeGraph drugs_file = '../data/knowledge_graph/ready_to_load/drugs.csv' drugs = pd.read_csv(drugs_file) kg = KnowledgeGraph() drugs.fillna('', inplace = True) for index, row in drugs.iterrows(): kg.add_drug(row['chembl_id'], row['name'...
[ "mwawer@broadinstitute.org" ]
mwawer@broadinstitute.org
e588bf9c0f7468166c7c38d0a5a5ffc80a1f3733
2b5c710c9b372ad7e4d49e16852944aaf8926a07
/Tools/Tools/Scripts/webkitpy/tool/commands/sheriffbot_unittest.py
e69362cba54f94e822458564aa196ed92cd9dfa5
[ "Apache-2.0" ]
permissive
FMSoftCN/mdolphin-core
8ce68f1055d3a38f6e46bd311f2c20b7afc183b8
48ffdcf587a48a7bb4345ae469a45c5b64ffad0e
refs/heads/master
2022-04-09T22:16:12.602078
2020-02-11T10:06:11
2020-02-11T10:06:11
92,716,592
5
0
null
null
null
null
UTF-8
Python
false
false
3,678
py
# Copyright (C) 2010 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the f...
[ "vincent@minigui.org" ]
vincent@minigui.org
a01d843fe430a1ec7bceda594c74ed0f30e00802
44c78bf70c63724b54bd87db1c96a2a3c5a0aac2
/crop.py
2841b926362e29ff185cf6a8556c6687f59b5ae3
[]
no_license
JryonGitHub/utils
3f8b65e90bce89198e6f9dec17ef00487f787cf9
66ebca2fb52a415115d74243eb2dc269fea494a4
refs/heads/master
2020-04-09T22:48:10.474582
2018-12-06T07:54:45
2018-12-06T07:54:45
160,639,192
0
0
null
null
null
null
UTF-8
Python
false
false
965
py
import skimage.io as imgio import skimage.transform as imgtf import numpy as np import os image_root = "/home/yuchaojian/caffe/caffe-final/examples/data/car_ims/" new_root = "/home/yuchaojian/caffe/caffe-final/examples/data/car_ims_crop_512/" with open("car_test_images.txt", "r") as f: i = 0 for line in f.read...
[ "18810981229@163.com" ]
18810981229@163.com
a7634827a66ebce36a0180be3a6c686643cf94a3
0bb39544ccd1ce1f8bd66dfe5d1b30c6ae9639be
/music/urls.py
58ca70137355cd71f2dc6b5f3f5c19743d5112c1
[]
no_license
kevinbooth/music-api
ab17edefa1947f651504250acd10defbdb558f77
1c03dcd9b96b02359d04c3fb4b2de47c308fafbb
refs/heads/master
2020-04-24T20:46:21.716252
2019-02-26T22:21:40
2019-02-26T22:21:40
172,255,197
0
0
null
null
null
null
UTF-8
Python
false
false
253
py
""" Module that resolves url paths to a specific view in the music app """ from django.urls import path from .views import ListSongsView """ Specifying the url route. """ urlpatterns = [ path('songs/', ListSongsView.as_view(), name="songs-all") ]
[ "kdbooth97@gmail.com" ]
kdbooth97@gmail.com
d823efe9f1e8c44c0d01b63990a3dde49f8ec27b
7dd937b6c0efc130ee2bdc67de6b7b3aa1b4ad6a
/plentyofcats/migrations/0011_userad_uploaded_file.py
50184545bf91f7442cdfba9f3d272f70e3b0f8d9
[]
no_license
MindSparkTm/Pythondjangoapp
d964a00cf49bd409fe43f15ca5587fff9acbe018
50355539d76a3e84efcd0b8aef278f842aff2dac
refs/heads/master
2020-03-27T18:52:01.201440
2018-08-31T22:56:22
2018-08-31T22:56:22
146,949,532
0
0
null
null
null
null
UTF-8
Python
false
false
496
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.10 on 2018-06-20 23:11 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('plentyofcats', '0010_auto_20180620_2222'), ] operations = [ migrations.Add...
[ "smartsurajit2008@gmail.com" ]
smartsurajit2008@gmail.com
ca3097fdf5630dc7760f474debb4398f76834eb7
6af80f9a6aeca9c1b65092afcbbc6ff7608b844a
/CORR/corr_org.py
8a43f966b12e3dd9b1426d00faa0400c18d7c3e0
[]
no_license
FCP-INDI/indi_bidsification
0d34dac3debc982e0ea21a691d5541b3173d28f3
f45c831f78c58b4525222f8a9d6c0a6b0500792d
refs/heads/master
2020-07-15T23:51:10.012208
2017-05-18T21:25:02
2017-05-18T21:25:02
73,956,486
4
1
null
null
null
null
UTF-8
Python
false
false
6,141
py
from CPAC.AWS import aws_utils, fetch_creds import tarfile import os import shutil import re import sys keyspath=sys.argv[1] bucket = fetch_creds.return_bucket(keyspath, 'fcp-indi') #Be sure to put in the last forward slash as may act as wildcard otherwise ipdir='data/Projects/CORR/RawData/' opdir='data/Projects/CO...
[ "david_oconnor@live.ie" ]
david_oconnor@live.ie
e5ed9f21f4f1f9054c597c8dfcb4e565cf181cef
1f4fb774f87a96d31008ad3b7621fca97a7c1892
/models/dwh_data/models.py
9e8fba59b1ecb477f902b0a724e415463e639915
[]
no_license
miamitops/RRC-DWH-Starter-
738b65a4419f5d779406237206116205a4316500
3d492058ef0239840691bcf0aac76fdebecd1fcf
refs/heads/master
2022-03-05T18:52:50.041154
2019-09-17T07:31:37
2019-09-17T07:31:37
208,978,385
0
0
null
null
null
null
UTF-8
Python
false
false
8,303
py
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Remove `managed = False` lines if you wish to allow Django to create, modify, and delete the table # Feel free ...
[ "vokestops@gmail.com" ]
vokestops@gmail.com
f5b07c5b0dc5bcd60a50df0be0d1325b8cd409ca
def844c8977db04924dc6d5bf3def2c0049efb11
/coinge2(test).py
94d8f110799dafbb150e72f6a9b44797efb065ef
[]
no_license
alfdav/Blockchain-in-Python
7169c4adab19ebe24b678f364c5654132f9b7102
007fdc3ede293e59d4d31bd1cceae8143ed58004
refs/heads/master
2021-07-05T05:06:58.150605
2017-09-20T14:25:49
2017-09-20T14:25:49
103,992,742
0
0
null
null
null
null
UTF-8
Python
false
false
1,471
py
import hashlib as hasher class Block: def __init__(self, index, timestamp, data, previous_hash): self.index = index self.timestamp = timestamp self.data = data self.previous_hash = previous_hash self.hash = self.hash_block() def hash_block(self): sha = hasher.sha256() sha.update(str(...
[ "alfdav@gmail.com" ]
alfdav@gmail.com
3fc8d1d616816e248a00f97756d8be7e9aa0c5c3
b6aa74ea79fbae7d77ebc3f27005c36c245b6ff3
/vw_question/migrations/0005_auto_20180515_1703.py
77523572b81ec0ff76ce5539b9d42b5fdc554047
[]
no_license
leonboripgs/anytime-jango-interview
f0183739047eb41a68d0388166fb60252988188a
c46f10b9df4b8504eab19116bdcb8e0c5348d83c
refs/heads/master
2023-01-21T21:37:59.182766
2020-12-02T13:23:33
2020-12-02T13:23:33
317,868,904
2
0
null
null
null
null
UTF-8
Python
false
false
465
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-05-15 14:03 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('vw_question', '0004_auto_20180515_1450'), ] operations = [ migrations.AlterModelOpt...
[ "leonboripgs0818@outlook.com" ]
leonboripgs0818@outlook.com
9bf44b26152437c8b689ed8ac7b6ae7e03eb3771
acaaf295c275aef2a5d5893ca9eccf5666d3da8c
/fetch_data.py
f284337b7b191a2775a1dc4a79be4aa5000f33e7
[]
no_license
xiachengdu/stock
dfef23f276e2b923ef9df887f327ed14d7c7b933
7a8a56dddbb0a93664c93647a8e4a060a4b97e6c
refs/heads/master
2021-01-21T11:23:25.562902
2017-03-01T14:57:17
2017-03-01T14:57:39
83,565,401
0
0
null
null
null
null
UTF-8
Python
false
false
1,791
py
# -*- coding: utf-8 -*- import re import urllib2 import ConfigParser import mysql.connector conf = ConfigParser.ConfigParser() conf.read("config/config.ini") stockId = conf.get("stock", "stock_code") #数据请求方法 def data_api(id): strHtml = urllib2.urlopen('http://hq.sinajs.cn/list=' + id).read() return strHtml d...
[ "xcdwork@outlook.com" ]
xcdwork@outlook.com
033fe3c9187494163d46a1203d00442491ef63b6
f2dc44edef3578a134f5853dcfb18d830e58eee1
/testpy2.py
47ead0ea3737cbad1c011df9e460afa7f80a40aa
[]
no_license
arpitarya07/Spark-Data-Modeling
4e400ec68fd3b06189f0ba435e24224ccdd8935b
6b05ae05b0c2db4c84a6672d7885d2ad24441181
refs/heads/master
2016-09-13T03:42:43.366930
2016-04-20T23:33:44
2016-04-20T23:33:44
56,727,494
0
0
null
null
null
null
UTF-8
Python
false
false
1,433
py
import argparse import csv #import os parser = argparse.ArgumentParser(description='Process arguments. Fetch source file, Destination folder, column names') parser.add_argument('--src',help='give fully classified path of source file') parser.add_argument('--des',help='give destination folder') parser.add_argument('--co...
[ "arpitarya07@gmail.com" ]
arpitarya07@gmail.com
f8e29bebea095bc418cb314421c0844c2e037f6f
fd1612fb542fede6899c3f69ff124e7b2335ad95
/list/migrations/0005_auto_20200104_1957.py
f34965279f18ad47b95e1edb2638d0a69f024a87
[]
no_license
Shovon588/toDoList
821a7163caa6d6abb4c7f8e6ecea34e6249b1b87
bf037097a37734a106c959729c05d9beb0f503e6
refs/heads/master
2021-09-25T08:07:45.355541
2020-04-19T05:18:23
2020-04-19T05:18:23
231,726,869
0
0
null
2021-09-22T18:52:30
2020-01-04T07:37:16
JavaScript
UTF-8
Python
false
false
440
py
# Generated by Django 3.0 on 2020-01-04 13:57 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('list', '0004_auto_20200104_1956'), ] operations = [ migrations.AlterField( model_name='item', name='ti...
[ "mainulislam588@gmail.com" ]
mainulislam588@gmail.com
6639c8cd374ef3308f690b9a95a9bc233e098b80
94c8d9c43272524af229d6ad4d50ea8e29b34e4a
/bin/test_aniso.py
73b218dfb6d84e0412cbb5b0441a11dc0eb51a2d
[ "BSD-3-Clause" ]
permissive
simonsobs/symlens
81b519bfed0f37f027ea881ebd2591cdcb9a7849
2e93220fc7b7ea2969b76af494b14480b6e7a92b
refs/heads/master
2022-11-11T19:20:43.432138
2022-09-29T15:07:01
2022-09-29T15:07:01
174,179,916
8
6
NOASSERTION
2022-06-30T00:22:59
2019-03-06T16:23:55
Python
UTF-8
Python
false
false
1,842
py
from __future__ import print_function from orphics import maps,io,cosmology,stats from pixell import enmap import numpy as np import os,sys import symlens nsims = 40 deg = 25. px = 2.0 shape,wcs = maps.rect_geometry(width_deg=deg,px_res_arcmin=px,proj='plain') modlmap = enmap.modlmap(shape,wcs) ymap,xmap = enmap.p...
[ "mathewsyriac@gmail.com" ]
mathewsyriac@gmail.com