blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
3
281
content_id
stringlengths
40
40
detected_licenses
listlengths
0
57
license_type
stringclasses
2 values
repo_name
stringlengths
6
116
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
313 values
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
18.2k
668M
⌀
star_events_count
int64
0
102k
fork_events_count
int64
0
38.2k
gha_license_id
stringclasses
17 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
107 values
src_encoding
stringclasses
20 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.02M
extension
stringclasses
78 values
content
stringlengths
2
6.02M
authors
listlengths
1
1
author
stringlengths
0
175
659570d79bb491ef6bb02fa8c63ffc36b3a727e2
dccb2807de13176a85b8bb5bf979c77c1e2bb178
/chat/admin.py
86477e250e073410ec966168d0e972ab2805fcc1
[]
no_license
mike-egg123/SmallTermBackend
95442ff9a4bb7f2042bfec0801a41cc4f23a7a1a
ebd4448f89f3edc4fa4f09e43903ec6200101a98
refs/heads/master
2022-12-05T10:08:11.607502
2020-08-20T09:30:40
2020-08-20T09:30:40
286,938,426
0
0
null
null
null
null
UTF-8
Python
false
false
131
py
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Message) #注册Message表
[ "qrn20000312@163.com" ]
qrn20000312@163.com
03b97a3a1d820090f253309478f0a6e4735b3909
756543fa0c042122395202291b7da3bba90c1392
/AccessGithubRepo_komplett.py
bfa79ff17354b49855931ab6b3f68b0d3cc0d9f0
[]
no_license
bvbgh/aimloss
df7f35305470e7ee71be878e461ec0815b7ca17a
697ee3e45b9b3d6eb2f07578d1ae9c522f17141c
refs/heads/master
2021-01-23T22:23:21.431330
2018-04-20T13:21:46
2018-04-20T13:21:46
83,125,678
0
0
null
2018-04-20T13:08:41
2017-02-25T10:58:33
R
UTF-8
Python
false
false
6,187
py
# Test output # python 3, load libraries # speicherproblem gelöst ja # iteration über ganzes Jahr # irgendwann in 2014 wurde repository erst in repo abgekürzt # anfang 2011-2012 wieder repo statt repository import json, gzip, urllib, time, os #tmp_data_before = set(os.listdir('C:\\Users\\Benedikt\\AppData\\Loc...
[ "bvonbronk@gmail.com" ]
bvonbronk@gmail.com
386494842d287ea6d6dfa1a2affa37e918c30a55
1a937b899af949d23e667782a7360b9de1634456
/SoftUni/Advanced Tree Structures - II/homework/sweep_and_prune.py
3f531c9cb5c36afd49d3a4e1d23949822687a1c9
[]
no_license
stanislavkozlovski/data_structures_feb_2016
c498df6ea7cb65d135057a300e0d7e6106713722
adedac3349df249fe056bc10c11b0b51c49e24bb
refs/heads/master
2021-07-06T17:37:18.117104
2017-09-30T19:01:51
2017-09-30T19:01:51
75,526,414
2
2
null
null
null
null
UTF-8
Python
false
false
2,930
py
OBJECT_WIDTH, OBJECT_HEIGHT = 10, 10 class BoundableObject: def __init__(self, name, x1, y1): self.name = name self.x1 = x1 self.x2 = x1 + OBJECT_WIDTH self.y1 = y1 self.y2 = y1 + OBJECT_HEIGHT def __repr__(self): return '{x1} {x2}'.format(x1=self.x1, x2=self.x...
[ "familyguyuser192@windowslive.com" ]
familyguyuser192@windowslive.com
8f36fdec70dd294bf764bb26576797c341ef9de3
399394059dd8083fbf7b0f2ed9b082780d72962c
/djangocalendar/cal/utils.py
cf5f3a7327f1efc829fc6675137aa3bee7ab5520
[]
no_license
rubybui/djangocalendartodo
ce9169bc894f2499d3995245cb804b0d74b8034d
ec6aafe52a1fe1cb5d04fb11d580647d466bdb65
refs/heads/main
2023-06-09T22:23:42.567660
2021-07-01T13:20:07
2021-07-01T13:20:07
382,038,637
0
0
null
null
null
null
UTF-8
Python
false
false
1,279
py
# cal/utils.py from datetime import datetime, timedelta from calendar import HTMLCalendar from .models import Event class Calendar(HTMLCalendar): def __init__(self, year=None, month=None): self.year = year self.month = month super(Calendar, self).__init__() # formats a day as a td # filter events by day def...
[ "bui00002@rangers.uwp.edu" ]
bui00002@rangers.uwp.edu
7580db354e832980cb68e6afb7c9c89485dede71
b0cdbad299f6174bfdb0fba173dbcf3889b82209
/Modules/datetime/d1.py
29a423c96933b4d0b2a03754743aa30a42bb5be7
[]
no_license
deesaw/PythonD-06
a33e676f1e0cfc13b4ea645c8b60547b198239ac
3c6f065d7be2e3e10cafb6cef79d6cae9d55a7fa
refs/heads/master
2023-03-18T08:24:42.030935
2021-03-02T14:15:09
2021-03-02T14:15:09
343,797,605
0
0
null
null
null
null
UTF-8
Python
false
false
312
py
import datetime bday=(datetime.date(2000,7,26)) print(bday) print('Year : ',bday.year) print('Month : ',bday.month) print('Date : ',bday.day) t = datetime.time(9, 25, 39,10) print( t ) print( 'hour :', t.hour ) print( 'minute:', t.minute ) print( 'second:', t.second ) print( 'microsecond:', t.microsecond )
[ "69420960+deesaw@users.noreply.github.com" ]
69420960+deesaw@users.noreply.github.com
f57b32c717098ae227dacdc38ec1fe0806158bec
7ed3bf4a2647bb5fe0abbb667a7d557364f3d4a6
/0924/_sesion_/hacia_atras.py
d412327fedf0f4199fee4cf0fcdaffd742dfee96
[]
no_license
calvar122/EXUAGO2021-VPE-L1
497f3dd5fed51099f4305d6b0247fd1550a32614
0ed2fb4281f44bfc13c5fa1d3dcfe1de3b35aee4
refs/heads/main
2023-08-25T00:03:39.643136
2021-10-22T20:51:53
2021-10-22T20:51:53
407,392,438
0
0
null
2021-09-17T03:30:18
2021-09-17T03:30:18
null
UTF-8
Python
false
false
287
py
#!/usr/bin/env python3 # c-basic-offset: 4; tab-width: 8; indent-tabs-mode: nil # vi: set shiftwidth=4 tabstop=8 expandtab: # :indentSize=4:tabSize=8:noTabs=true: # # SPDX-License-Identifier: GPL-3.0-or-later for x in range(30,2): # for (x=30; x<2; x++) print(x) print("Ya acabe")
[ "miguel.bernal@iteso.mx" ]
miguel.bernal@iteso.mx
9e7c2bcddff622777890630a880abba20a2ceb93
9152c6f5b692694c4cb95725319fc8dd21d30455
/office365/runtime/client_value_object.py
6d76794e0d56308f5fb685632d48f2ac654b41b2
[ "MIT" ]
permissive
VISIN9/Office365-REST-Python-Client
cf3de86a6bdd2461ff5814dbfa02d4d4185917d5
91c07d427a76197f6eb143c6253bdc832cbb889d
refs/heads/master
2021-05-25T08:43:35.530546
2020-04-06T20:24:53
2020-04-06T20:24:53
null
0
0
null
null
null
null
UTF-8
Python
false
false
530
py
from office365.runtime.odata.json_light_format import JsonLightFormat from office365.runtime.odata.odata_metadata_level import ODataMetadataLevel class ClientValueObject(object): """Base client value object""" def map_json(self, json): for key, val in json.items(): # if hasattr(type(self)...
[ "vvgrem@gmail.com" ]
vvgrem@gmail.com
ab47d2ef2c79d655f1aa78de9a9e668397a78405
32984b41f0dac3f0a3f5e167b50b204092c4a64f
/CODE/example_batch.py
d7662c5cbfa0f29b8df4c5dd4c943ce3a6b6da23
[ "Apache-2.0" ]
permissive
RParedesPalacios/PassiveAggressive-MaxOut
4c04b715061dde7a3e9199b9d84dbf9dcf74d3aa
08fd2ee494ebe3ff68baa3976c17bd9e23010b5a
refs/heads/master
2021-04-25T18:58:06.884496
2018-02-14T15:20:41
2018-02-14T15:20:41
121,525,357
0
0
null
2018-02-14T15:18:11
2018-02-14T15:18:11
null
UTF-8
Python
false
false
3,094
py
import cPickle, gzip import time import sys from PassiveAggressiveMaxOut import * from utils import zscore_data np.random.seed(0) if len(sys.argv) < 2: raise Exception("python example.py dataset {hidden_units pieces C_0 C_1 alpha version={0=PAMO-I, 1=PAMO-II}}") ds = sys.argv[1] if len(sys.argv) == 8: pr...
[ "jjorge@dsic.upv.es" ]
jjorge@dsic.upv.es
ec73b69b9dcf30ec94a2bc2b6087d59c2e4f6167
8a064480709e9144f67cb5aec799b4a13719b3ec
/amazon_paapi/sdk/models/product_advertising_api_client_exception.py
c58001e1af67581796c341e3a1301f2cc3eb56bb
[ "LicenseRef-scancode-unknown-license-reference", "MIT", "Apache-2.0" ]
permissive
YPCrumble/python-amazon-paapi
352312601ebf2a16efe79d270303d600e92a6627
4aa9c7597123580eed24bf1ec9bacee0fedeb8a0
refs/heads/master
2022-11-03T01:32:29.324826
2022-09-22T18:38:57
2022-09-22T18:38:57
246,726,325
0
0
MIT
2020-03-12T02:33:49
2020-03-12T02:33:48
null
UTF-8
Python
false
false
3,789
py
# coding: utf-8 """ Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://www.apache.org/licenses/LICENSE-2.0 ...
[ "agutrot93@gmail.com" ]
agutrot93@gmail.com
0b18d31e37a9a870fa7e623cf5f3ad32ba0b51e3
f3c5a3c4f555218e25347e425928a7c152d61567
/users/migrations/0002_auto_20190130_0449.py
f2186eac4fd6f85bc2f9c3c515531ff50b4222f0
[ "MIT" ]
permissive
erfanMhi/School-Of-AI-Rasht-Chapter-Website
3c9243acbcf3df8bee5280f4437fbfb2fedbd9a2
d24c61ec491c11adae0c361ed577798d4bee3e7e
refs/heads/master
2020-04-13T03:16:06.422011
2019-01-30T09:43:29
2019-01-30T09:43:29
162,926,363
2
0
null
null
null
null
UTF-8
Python
false
false
400
py
# Generated by Django 2.1.5 on 2019-01-30 01:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='userregistration', name='date_joined', ...
[ "mhi.erfan1@gmail.com" ]
mhi.erfan1@gmail.com
0af258f665b55591b45499c6c802b90726deb6d8
d1fec359b3c3dc68c483b927de51c43935552c10
/unoconv-0.8.2
fa5c3a177406682d0952c651a55b35ab8509fba9
[]
no_license
XVTSolutions/dotnet-aws-docker
7ce1951ce43fee3fa93c715479371547978dc31e
964cc1fb5b8b38d325d3c37c42dd8db3a5958c1d
refs/heads/master
2020-03-30T00:05:35.726109
2019-09-27T03:35:40
2019-09-27T03:35:40
150,504,875
0
0
null
2019-09-27T03:34:54
2018-09-27T00:14:01
Python
UTF-8
Python
false
false
69,415
2
#!/usr/bin/env python3 ### This program is free software; you can redistribute it and/or modify ### it under the terms of the GNU General Public License as published by ### the Free Software Foundation; version 2 only ### ### This program is distributed in the hope that it will be useful, ### but WITHOUT ANY WARRANTY;...
[ "steve.kieu@xvt.com.au" ]
steve.kieu@xvt.com.au
3c29657252da73c1f48751d8189f5ff110f3a866
c9259ef22ee42aa6d35e7f7448900a5fb3ee4563
/cardapioh/apps/accounts/views.py
2106d04685ad0150ea00f9f96c27842c5a4614f8
[ "MIT" ]
permissive
beatsolu/cardapioh-api
6c178beebd14e085a6c2c934062d3e703522e367
117c6415f7d076c00e045e33ac88c4a1f32ab526
refs/heads/main
2023-06-04T05:14:53.009291
2020-11-25T23:22:18
2020-11-25T23:22:18
379,691,114
0
0
null
null
null
null
UTF-8
Python
false
false
246
py
from rest_framework.viewsets import ModelViewSet from .models import User from .serializers import UserModelSerializer class UserModelViewSet(ModelViewSet): queryset = User.objects.order_by('id') serializer_class = UserModelSerializer
[ "hugo.brilhante@beatsolu.com" ]
hugo.brilhante@beatsolu.com
9b20afc2b087b1ff731f260d03f62b9815f18674
eed19be0953fa0f9ecc9aea493fbccfc4feb1d7a
/penv/bin/pip
aab42617ecdaa6d4f25462c524c637bed8c3824d
[]
no_license
risqiromadhoni/scraphubla
ae05a9f9b97a17a46ca3b418414aea41d058d35b
bfa06750ffa17e2c58c987d51f12988f9101b9b0
refs/heads/master
2022-06-03T07:30:00.771838
2019-11-27T08:53:12
2019-11-27T08:53:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
262
#!/home/rounin/Application/python/scraphubla/penv/bin/python # -*- coding: utf-8 -*- import re import sys from pip._internal.main import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "risqir57@gmail.com" ]
risqir57@gmail.com
b3a7a4adaa392025a25cf664830c918410279748
6be6b748eecc088f358f3c0e2199b739f33efb04
/node_modules/execSync/build/config.gypi
916b81eb9c20a6d9105662c88a046a496b19dd83
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
thibautpalier/redux-paginator
6ae5a130a5df1aaa92cf76b44af980361f361d35
94f47d27077f080cc8f20727dd7e767b5b463864
refs/heads/master
2021-01-19T04:02:55.555904
2017-03-31T13:29:30
2017-03-31T13:29:30
84,424,867
0
0
null
null
null
null
UTF-8
Python
false
false
4,398
gypi
# Do not edit. File was generated by node-gyp's "configure" step { "target_defaults": { "cflags": [], "default_configuration": "Release", "defines": [], "include_dirs": [], "libraries": [] }, "variables": { "asan": 0, "coverage": "false", "debug_devtools": "node", "force_dynami...
[ "thibaultpalier@gmail.com" ]
thibaultpalier@gmail.com
d08e40f7ff3615dc89daa8f76b4160f2df48e74c
176df2b72319894cb1a81d272dd17a6441a968be
/One sting for two different stings.py
d5658c667165403f6943bdc029c49f0556e9033b
[]
no_license
abhilash43/Assignment-5
276fcd941aa8920f97ab5ea694ae52d70716e0b7
fa5523e51865aae036a49646a628f096e50c478e
refs/heads/master
2022-11-21T00:04:00.170641
2020-07-03T03:57:16
2020-07-03T03:57:16
276,802,026
0
0
null
null
null
null
UTF-8
Python
false
false
179
py
#One sting for two different stings.py def chars_mix_up(a, b): new_a = b[:2] + a[2:] new_b = a[:2] + b[2:] return new_a + ' ' + new_b print(chars_mix_up('def', 'uvw'))
[ "noreply@github.com" ]
noreply@github.com
6018d9863598d59203a2113eca524d883dce5e75
4c72bfe0ccd779d9b27f80506b107fca43051edc
/tracking/bustersAgents.py
0fc72e0c40cc078f2e8d8d0867f86d1c7a142799
[]
no_license
kathanm/pacman-tracking
5ec29e2c6535c73f14bd208cac35aeb616c6adb0
195c5421e918a534d8839d75abb72e218c9e6428
refs/heads/master
2020-04-28T19:14:00.895863
2019-03-16T03:14:57
2019-03-16T03:14:57
175,504,960
0
0
null
null
null
null
UTF-8
Python
false
false
7,522
py
# bustersAgents.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.berkel...
[ "kathan.master@yahoo.com" ]
kathan.master@yahoo.com
1c345f9f054da786bb4b108d6e9fe03934792328
0f47b8b3775e1730f92141128491b0bbfe3d89e0
/data_structure/graph/shortest_path/floydwarshall.py
e74f989ab56a38084b43fe4e47c8b53dce6094b5
[]
no_license
hongmin0907/CS
1d75c38da98c6174ea19de163c850d0f3bac22e3
697e8e1a5bde56a7588381a12f74bbb0e3aee3e8
refs/heads/master
2020-06-23T20:10:22.051477
2019-07-15T00:20:09
2019-07-15T00:20:09
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,194
py
from copy import deepcopy class ShortestPath: def __init__(self, A, path): #2차원 배열 A self.A=A #2차원 배열 path self.path=path def print_shortest_path(self, source, dest): print(source, end=" ") self.__print_sp(source, dest) print(dest, end=" ") def __p...
[ "ythwork83@gmail.com" ]
ythwork83@gmail.com
1f42eca5a222e75608db6ca8df2df6720e3f92ae
e58b7bacd4a7c5a9cb35b035dfded8388b0368c1
/tutorial/accounts/migrations/0012_auto_20180429_1048.py
504cdec156f339fac15fab6b26d9b0036fcd95cf
[]
no_license
Sathishvp7/DjangoPython
4eecc034a9e36bdfb1a6ba0d040bd772f4296f2a
a20fcc4bf9076d0c7e7adabed80ff96eb2c8081d
refs/heads/master
2020-03-19T08:27:27.043483
2018-06-05T16:33:25
2018-06-05T16:33:25
135,930,491
0
0
null
null
null
null
UTF-8
Python
false
false
720
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-04-29 05:18 from __future__ import unicode_literals import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0011_auto_20180428_2013'), ] operations = [ mig...
[ "38830335+Sathishvp7@users.noreply.github.com" ]
38830335+Sathishvp7@users.noreply.github.com
f5275fbd7998e3eb7f374fabefb4bf9f3651e462
cb28bc28bc4b6dbd67955ac7e818edd54f3194c0
/vulcanforge/command/util.py
360cb3dfabb28664ada6a0035a4fda0289160542
[ "LicenseRef-scancode-other-permissive" ]
permissive
vulcan-collaboration/vulcanforge
ac5160146edbe490476c7d153bbcdb8db0a4932f
a5ed73858f64b2d2296c55d174b4af79f8f81d41
refs/heads/master
2021-01-23T12:45:33.556142
2018-07-13T12:21:23
2018-07-13T12:21:23
93,196,321
2
0
null
null
null
null
UTF-8
Python
false
false
1,120
py
import IPython import tg from base import Command from vulcanforge.common.util.model import pymongo_db_collection class VulcanForgeShellCommand(Command): min_args = 0 max_args = 1 summary = "Start an interactive iPython shell with VF goodies preloaded" parser = Command.standard_parser(verbose=Tr...
[ "wgaggioli@gmail.com" ]
wgaggioli@gmail.com
f1f2e1a338622c590db31f99bc9f4f017ae282be
9473a745ee5bdcaddc2bb1295f4f1dd517898c88
/MiraHacks/urls.py
2c256915e5125195576bde427379604e7f97ead2
[]
no_license
softbutterfly/hackathon-miraflores
5c3df8d622cb836f0cda3693851b5bf035ae6f15
b8515e2dfa2ff63e154a4cd607bb198bf44bbcc0
refs/heads/master
2021-01-17T06:37:58.748126
2015-05-17T21:37:49
2015-05-17T21:37:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,026
py
"""MiraHacks URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.8/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-b...
[ "martin.vuelta@gmail.com" ]
martin.vuelta@gmail.com
83f1171d037004b3bb89090ff8cfc57c0411d54c
7426644d9b399e21a80bd905bcc2768bd6c45f00
/pong_games/single_player/main.py
6503e1b851a68e3b77d31fbabea9260546a7ec0a
[]
no_license
creativekids11/Python-pong-games
09041aa5a0e6705507f01aa0dbe5c7c4cf5797fd
22fc523368addcc0f01aefb697d366adfd86ad47
refs/heads/master
2022-12-12T11:27:32.401269
2020-09-06T06:16:15
2020-09-06T06:16:15
293,215,578
2
0
null
null
null
null
UTF-8
Python
false
false
2,645
py
import pygame import random import sys x = 500 y = 500 sbreite = 100 shoehe = 15 sx = 200 sy = 450 bx = int(x/2) by = int(y/2) brad = 15 speed = 0 bxspeed = 1 byspeed = 2 leben = 3 score=0 pygame.init() screen = pygame.display.set_mode((x, y)) pygame.display.set_caption('Single Play...
[ "noreply@github.com" ]
noreply@github.com
41fab65078d3fb5f668f2cb47c7cc24fb333394f
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03371/s845988695.py
4818cf4f4ba7277bd6347d6792e793a348563d0c
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
217
py
A,B,C,X,Y=map(int,input().split()) ans=0 if C*2<=A+B: mi=min(X,Y) ans=mi*C*2 if Y<=X: ans+=min(A*(X-mi),2*C*(X-mi)) else: ans+=min(B*(Y-mi),2*C*(Y-mi)) else: ans=A*X+B*Y print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
985b5b09e8f351dd02b22f61ac1168123172ee04
eccbf3955263e65ee15cf742e368811ad50708aa
/stockMarket/models.py
03d61efe85b6fbcfba59a0567fb67451db30a035
[]
no_license
yinliren/MusicX
cab19e92efdd6647554965f07c3c8da8662eb112
628650aaecc791bacef448a3cebb3f8634e97dd2
refs/heads/master
2020-03-29T15:23:28.565566
2018-09-24T06:17:50
2018-09-24T06:17:50
150,060,881
0
0
null
null
null
null
UTF-8
Python
false
false
278
py
from django.db import models # Create your models here. class stock(models.Model): ticker = models.CharField(max_length=10) open = models.FloatField() close = models.FloatField() volume = models.IntegerField() def __str__(self): return self.ticker
[ "yinliren@g.ucla.edu" ]
yinliren@g.ucla.edu
e3d72dcb67b7c3981d26691b7181d72ccf66814e
7807d8d9d109a3e272fffed91bf841201da39256
/trans_ALDS1_1_B/HARU55_ALDS1_1_B_kotonoha.py
2d3f4f61cfadb439b240ad350d2e8f32c35c3b9d
[]
no_license
y-akinobu/AOJ_to_Kotonoha
0e8df43393964fcdd5df06c75545091bd6c0c2e2
5a694a55a3d85e3fbc4a07b57edc4374556db9a1
refs/heads/main
2023-02-05T15:33:16.581177
2020-12-30T16:14:44
2020-12-30T16:14:44
325,524,216
0
1
null
null
null
null
UTF-8
Python
false
false
552
py
# map(整数,入力された文字列を空白で分割した列)を展開し順にNとMとする N, M = map(int, input().split()) # 真の間、繰り返す while True : # NがMより小さいとき、 if N < M : # NとMを入れ替える N, M = M, N # NをMで割った余りをaとする a = N % M # aが0のとき、 if a == 0 : # 繰り返すのを中断する break # () else :[#Else [#Block [#MultiAssignment left: [# [#Name 'N'][#Name ...
[ "sx2_vn_yuka@outlook.jp" ]
sx2_vn_yuka@outlook.jp
4b9bf327874fb716a5ef0c14b6c733148ed3e614
d3efc82dfa61fb82e47c82d52c838b38b076084c
/Autocase_Result/FXJSMM/YW_FXJSMM_SZSJ_307.py
94a0758207761f5b78d6a48514fdeaef3d006e5d
[]
no_license
nantongzyg/xtp_test
58ce9f328f62a3ea5904e6ed907a169ef2df9258
ca9ab5cee03d7a2f457a95fb0f4762013caa5f9f
refs/heads/master
2022-11-30T08:57:45.345460
2020-07-30T01:43:30
2020-07-30T01:43:30
280,388,441
0
0
null
null
null
null
UTF-8
Python
false
false
3,002
py
#!/usr/bin/python # -*- encoding: utf-8 -*- import sys sys.path.append("/home/yhl2/workspace/xtp_test/xtp/api") from xtp_test_case import * sys.path.append("/home/yhl2/workspace/xtp_test/service") from ServiceConfig import * from mainService import * from QueryStkPriceQty import * from log import * sys.path.append("/h...
[ "418033945@qq.com" ]
418033945@qq.com
a547e6fcf3c6db65645bc607f3434cf01ca1c264
76d0644d949d2ee64eb6cac74964b89e76747ada
/role/models.py
f91556e08ba658b5f849d3a8a8fdc22948ba2a67
[]
no_license
jason9797/store_system
5e9d137058a7a3da5e0a71a0a2ea6181aaad4ba9
150c323bfeb31c5b8ae50963d35d267296a3ec67
refs/heads/1.0
2021-06-26T11:12:59.614856
2016-10-10T01:16:11
2016-10-10T01:16:11
31,960,482
0
0
null
2015-06-09T07:09:49
2015-03-10T14:00:36
JavaScript
UTF-8
Python
false
false
19,087
py
# coding=utf-8 from django.utils.translation import gettext as _ # Create your models here. # from simple_history.models import HistoricalRecords from order.models import * from django.db.models import * import datetime from django.contrib.auth.models import User, Group from django.db import models # job_choices = ( # ...
[ "jason979708642@gmail.com" ]
jason979708642@gmail.com
db5070829dea803a8d0fe731ef188d0f5e28d946
440f69b421e9d9b78b0cf0b3b68d1cde25ff1cbc
/mysite/polls/urls.py
61016f06a157ec33c5d573eb13ce062930df9956
[]
no_license
mizuno66/django_tutorial
32e9e109d58a1af1617caa80552ba6f3757c1d38
a0b22d9eb282a7872a0c3a5c6e88e76401f0ee3f
refs/heads/master
2020-03-17T14:14:57.196379
2018-06-12T12:04:04
2018-06-12T12:04:04
133,664,887
0
0
null
null
null
null
UTF-8
Python
false
false
441
py
from django.urls import path from . import views app_name = 'polls' urlpatterns = [ #/polls/ path('', views.IndexView.as_view(), name='index'), #/polls/[Integer]/ path('<int:pk>/', views.DetailView.as_view(), name='detail'), #/polls/[Integer]/results/ path('<int:pk>/results/', views.ResultsView...
[ "kouta126@hotmail.co.jp" ]
kouta126@hotmail.co.jp
4dcdb26c10e58b82f1f053c5d85bc00fb8aac8c0
c48533e1cd41b175d2eeb93bb747a6e61a9800c8
/Python Ray Tracer/SphereObject.py
8aca46cc9c0f1baa104057c391f384e43410a874
[]
no_license
benloisch/pythonRayTracer
96d2852dbbee2522f962b762a15a60ce7973af73
814d19372cf6d3c9977a8102ddc37483c824f008
refs/heads/master
2020-04-10T21:57:22.549550
2016-09-28T02:09:39
2016-09-28T02:09:39
60,929,701
1
0
null
null
null
null
UTF-8
Python
false
false
13,054
py
import ColorObject import Vector import math import TraceRay class Sphere: """Sphere object class""" def __init__(self): """assign sphere attributes""" self.radius = 0 self.xOrigin = 0 self.yOrigin = 0 self.zOrigin = 0 self.quadFormA = 0 self.quadFormB = ...
[ "ben.loisch@gmail.com" ]
ben.loisch@gmail.com
3b9def96deeca8b6e90263b21231afc05ba88527
c36ab54a03e6dd076b373488ce3402fa1dcba8c2
/build_image.py
78304c437df5c3b0bfe1072083ec447f6a2bdf47
[]
no_license
ZhuMon/Chat_Robot
646a92d186cf5a55ec0d7e48bad69bc0d6a8d600
af9237c30f9f2a8535b82421bdda68ce6ef73ffa
refs/heads/master
2023-01-12T05:21:40.729064
2021-12-14T17:34:44
2021-12-14T17:34:44
158,410,088
0
0
null
2022-12-27T15:33:59
2018-11-20T15:20:44
Python
UTF-8
Python
false
false
2,651
py
from PIL import Image import pyimgur import image_pb2 import sys import os import psycopg2 DATABASE_URL = os.environ['DATABASE_URL'] conn = psycopg2.connect(DATABASE_URL, sslmode='require') def rebuild_list(imagelist): graph = [["_","_","_"], ["_","_","_"], ["_","_","_"]] for i in ra...
[ "richardlin0212@gmail.com" ]
richardlin0212@gmail.com
ece8fb7aff6bbde1e0d3361c3542d8356fb61f6f
77584b104c2a18c724183ea6c448dfed08872795
/hw3/preprocessing.py
93539deef5b12e89246664ed66eabde2f6876642
[]
no_license
chaoweihuang/Machine-Learning-NTU-2016
b55bc82d19ad3abf49e45abbe9e01a4c5077a0de
df3156921ffa81c1796e38525e41a1c6c1e14bfa
refs/heads/master
2021-03-24T09:11:08.120381
2016-12-08T12:25:43
2016-12-08T12:25:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
794
py
import pickle import numpy as np def get_data(f): data = pickle.load(open(f, 'rb')) X, y = [], [] for cls in range(10): for x in data[cls]: x = np.asarray(x) X.append(x.reshape(3,32,32)[[1,2,0]]) y.append([cls]) X = np.asarray(X) y = np.asarray(y) ...
[ "no.12586269025@gmail.com" ]
no.12586269025@gmail.com
916b2214d7289e3bab87d1c5528138855a31f18b
bb4a4504a7051484173c8e9933b06fdf1384c2f7
/src/domains/gridworld.py
741c5d993fd11f0e71bb0c8eab0b548e7fbf9560
[]
no_license
uncobruce/PathBench2D
dd4794a5b19ee95ad7555d512d0e36063e2c6330
57c6397fe990de3088aa99da1602f9872b90d0b8
refs/heads/master
2023-01-09T17:16:35.200009
2020-08-05T20:45:28
2020-08-05T20:45:28
274,780,888
1
0
null
null
null
null
UTF-8
Python
false
false
15,598
py
import numpy as np from scipy.sparse import csr_matrix from scipy.sparse.csgraph import dijkstra import logging from astar.astar2 import main as astar #from astar_python.astar import Astar log = logging.getLogger(__name__) class gridworld: """A class for making gridworlds""" def __init__(self, image, targetx...
[ "bruce.hsueh7@gmail.com" ]
bruce.hsueh7@gmail.com
dbfcd2556629b14f6b8aa64c1e4b332b97316590
34c6671f2359d22cf9f749842901357b15ec7f05
/PY-UDP/UDP-P-Parallel-4.py
4940b4e754fb5b9b0fe3034ec4f3c94e8ccf32b3
[]
no_license
MAONGITHUB/Car-Singlechip-Project
eb9d2b4122fefc05de8a0093a8fda28d062fd76e
f9c66c9f08280ad8d96cc652ce5cb1c66bedd2df
refs/heads/master
2021-01-19T21:08:23.840702
2017-04-18T10:40:14
2017-04-18T10:40:14
88,611,030
0
0
null
null
null
null
UTF-8
Python
false
false
1,824
py
import socket import win32api import pythoncom import pyHook #按键监听库 import threading #多线程 global temp clientname = '192.168.199.130' clientport = 1111 serverport = 8080 buffsize = 2 #发送端设置初始化 clientSocket =socket.socket(socket.AF_INET,socket.SOCK_DGRAM) #接收端设置初始化 serverSocket = socket.socket(socket.AF_INET,socket.S...
[ "38825779@qq.com" ]
38825779@qq.com
c81342fbcc9501fdf9e5eea9e2be65361ab8b9eb
d36b74f3e6298886b907836c6550aa788b4b08bc
/quotedSearch/urls.py
ef0a667f64f3e63bdbba78d169b0d7ba9b21cfaa
[]
no_license
elmehi/quotedserver
fb7382812a5892f4d7340aa57a5774a446daacb2
b6f0d53a3aeb890df105528b4b1a82a812c8069d
refs/heads/master
2016-09-12T16:44:28.807396
2016-05-12T16:52:42
2016-05-12T16:52:42
56,090,951
0
0
null
null
null
null
UTF-8
Python
false
false
878
py
"""quotedSearch URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/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') Clas...
[ "ehirsch@princeton.edu" ]
ehirsch@princeton.edu
cb03689df98cce2aeec0d424a2ee39025ac09c42
cc3d7bd252c225bf588a8e663b2214b8ccc3b399
/report/make_report.py
cd623d6d4f3915b774a17d563e74329b25cd9405
[]
no_license
stestagg/dict_index
c1ca8cac3389b5f2d22882a159ab8ea68439e4a5
41d06d705e28e8c52c3a9c76349c2aadfd984dff
refs/heads/master
2022-11-27T12:14:58.791348
2020-08-01T18:11:52
2020-08-01T18:11:52
278,656,935
0
0
null
null
null
null
UTF-8
Python
false
false
4,737
py
import textwrap from pathlib import Path from datetime import datetime import json import click import dateformat from jinja2 import Environment, FileSystemLoader, select_autoescape, Markup from pygments import highlight from pygments.lexers import PythonLexer from pygments.formatters import HtmlFormatter JINJA_ENV ...
[ "stestagg@gmail.com" ]
stestagg@gmail.com
54977808535c5298c17d557d44c5c0709cb6c8f4
8287bdcefb82abf6c11d6b79ec711484e20d75ce
/credential_test.py
9454bb1def099f18017b955702580421190c2671
[ "MIT" ]
permissive
thuojose/PASSWORD-LOCKER
ad91816f071ab251558778202634a6bb8fe532ae
45ac176a651877dbd84a951060a1b9101f3a36e6
refs/heads/master
2023-07-18T10:52:42.834056
2021-09-06T06:24:04
2021-09-06T06:24:04
402,691,324
0
0
null
null
null
null
UTF-8
Python
false
false
4,098
py
import unittest from credential import Credential class TestCredential(unittest.TestCase): ''' Test class that defines test cases for the credential class behaviours Arg: unittest.TestCase:Test case class that helps in creating test cases ''' def setUp(self): ''' setUp...
[ "joseph.thuo@student.moringaschool.com" ]
joseph.thuo@student.moringaschool.com
04ae437e0973bf482e71ebf5563db2e45951c6c9
9c32890a188dfcd949883c10c8db112aed5321d6
/learner/wsgi.py
1f2d5f930764af173595a367e93da2297a089d37
[]
no_license
gitanjali1077/learner
dcb11d92b84bac0a9254a2409570261a03503945
fef0c5554b100216210ba8f3777bad69a9219d4f
refs/heads/master
2022-12-12T08:24:55.268350
2018-03-02T04:34:43
2018-03-02T04:34:43
122,777,081
1
0
null
2022-11-22T02:15:06
2018-02-24T20:28:20
CSS
UTF-8
Python
false
false
484
py
""" WSGI config for learner 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/ """ import os from django.core.wsgi import get_wsgi_application from whitenoise.django import Djang...
[ "gitanjali1077@gmail.com" ]
gitanjali1077@gmail.com
034382876083d5cd278cf9d4c823ebddae9079c1
e697bcf8ab945523645cd2812c6c6ba4a048e193
/keras_tuner/errors.py
ee5c3a41c8a38ab1991e95a1c3918ba293efb390
[ "Apache-2.0" ]
permissive
keras-team/keras-tuner
fc3d3ee9132c38efea05911c6b98805e088e7c53
09107722b61ad2a3ead007120f0fd55f8446937b
refs/heads/master
2023-08-24T13:09:19.454447
2023-08-10T21:20:25
2023-08-10T21:20:25
190,658,443
2,968
423
Apache-2.0
2023-09-13T21:57:30
2019-06-06T22:38:21
Python
UTF-8
Python
false
false
2,935
py
# Copyright 2019 The KerasTuner Authors # # 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 ...
[ "noreply@github.com" ]
noreply@github.com
9ff1ac2f4124ce7a91f9c15aa0aa3dc277cf2784
1edde4bbf6d1ce0d21869faa5ff91f53fe8e1873
/deprecated/scaling_functions.py
01d4e6720eb8454243a53034a00cb733ac88e11b
[]
no_license
IvanKostyuk94/SuperResolution
210e5fc59cfbbb380bb8fb456a3648d7f145d689
c43b217f403ff7b689944beb3f9c6ea7a5a2c815
refs/heads/master
2022-11-13T10:34:51.516361
2022-11-09T17:29:38
2022-11-09T17:29:38
237,400,687
0
0
null
null
null
null
UTF-8
Python
false
false
617
py
import numpy as np def scale(data, epsilon=1e-9): return np.log(data + epsilon) / 25 + 1 def unscale(data, epsilon=1e-9): return np.exp(25 * (data - 1)) - epsilon def scale_2(data, epsilon=1e-9): return np.log(data + epsilon) / 25 def unscale_2(data, epsilon=1e-9): return np.exp(25 * (data)) - e...
[ "kostyuk@hotmail.de" ]
kostyuk@hotmail.de
fac5b55a87534ff92d73a28c5052ff27d4408ecb
8a9c71ae9fa06a1809451c02a58bdc9952d16346
/12.plots_psiblast_svm/1.only_features_sets/sets_features.py
d660950ce3fa53278bdc0937064a441ade5e7b8c
[]
no_license
DorinesRosario/project_pp
f483e14d5c354afb2eb901b2e6ac93192b7ef51d
aefc13e7ad2f787a0cc221855142f4a4d8eaea30
refs/heads/master
2021-01-17T15:41:50.561922
2016-03-20T19:46:04
2016-03-20T19:46:04
53,053,239
0
0
null
null
null
null
UTF-8
Python
false
false
263
py
""" import sys datasets = sys.argv[1] features_s = sys.argv[2] """ dataset = open ('psi_blast_set6.svm', 'r').readlines() features = open ('psi_blast_set6.features', 'w+') for lines in dataset: #print lines[0:2] features.write(lines[0:2]) features.write('\n')
[ "dorines.sr@gmail.com" ]
dorines.sr@gmail.com
13d318734094eb4b13970206c2b9e1d8fba78867
3a4de2139c50f4e8bbe866b33bca213b4591ce48
/solution/ls_loss_test.py
2fdb8df427fb56dea228e9349daa4be1e63f6028
[]
no_license
ak110/kaggle_salt
476f9206ff89e3b072b9dcf955c50c53b7e6abb5
dd5d66b83454aef1f8196c6c93c45cca79f262d2
refs/heads/master
2021-10-24T05:11:59.129766
2019-03-22T07:21:22
2019-03-22T07:21:22
164,656,040
0
0
null
null
null
null
UTF-8
Python
false
false
9,075
py
#!/usr/bin/env python3 """late submit用ベースライン。""" import argparse import pathlib import numpy as np import sklearn.externals.joblib as joblib import _data import _evaluation import pytoolkit as tk MODEL_NAME = pathlib.Path(__file__).stem MODELS_DIR = pathlib.Path(f'models/{MODEL_NAME}') CACHE_DIR = pathlib.Path('cach...
[ "mark@aur.ll.to" ]
mark@aur.ll.to
defbc1e8c5b80358d1052f28b63039bfe19736cb
353def93fa77384ee3a5e3de98cfed318c480634
/.history/week02/2/singupshimo_20200705174400.py
f313fce698976cdecb0c1b05b71f97b906756419
[]
no_license
ydbB/Python001-class01
d680abc3ea1ccaeb610751e3488421417d381156
ad80037ccfc68d39125fa94d2747ab7394ac1be8
refs/heads/master
2022-11-25T11:27:45.077139
2020-07-19T12:35:12
2020-07-19T12:35:12
272,783,233
0
0
null
2020-06-16T18:28:15
2020-06-16T18:28:15
null
UTF-8
Python
false
false
56
py
from selenium import webdriver import time try: bro
[ "31039587+ydbB@users.noreply.github.com" ]
31039587+ydbB@users.noreply.github.com
9dd5997ee3a2295d4e8d75c47186a3e8484dbbce
9b9d594ca209eadc666fc93225275eb077c22d9a
/utils/convolution.py
459ad4356ab6c0534de48cc434c02e532e71a613
[ "MIT" ]
permissive
lykzsm/Pytorch-Medical-Classification
815e775f7e698f93fb7508029ec26019b0520932
86c1215612f6d6483ccb5cd061925ba755120f35
refs/heads/main
2023-08-25T06:15:10.100065
2021-09-20T05:56:26
2021-09-20T05:56:26
383,827,630
0
0
MIT
2021-07-07T14:31:53
2021-07-07T14:31:52
null
UTF-8
Python
false
false
2,517
py
import torch.nn as nn import torch.nn.functional as F PADDING_MODES = { 'reflect': 'Reflection', 'replicate': 'Replication', 'constant': 'Zero', } class ConvolutionalBlock(nn.Module): def __init__( self, in_channels, out_channels, dilation, ...
[ "elliszkn@163.com" ]
elliszkn@163.com
2e5687cb564d70dedb6d9aff75cd055326e3624a
eac8a6ee0065627de15efe4e4f829c1489675879
/tests/test_problem42.py
2dc276f17d182c59cdbb11a50ecaaac1eb2676d3
[ "MIT" ]
permissive
ishaansharma/blind-75-python
ff8163ae9f2757a3e69895b468531ac5ad0eaf05
b92ef3449eb0143c760ddd339897a3f0a2972830
refs/heads/master
2023-03-16T11:29:14.620223
2020-03-09T00:57:39
2020-03-09T00:57:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
202
py
import unittest from problems.problem42 import solution class Test(unittest.TestCase): def test(self): self.assertEqual(solution([1, 2, 3, 1]), 4) self.assertEqual(solution([2, 7, 9, 3, 1]), 12)
[ "nolan@nolanwright.dev" ]
nolan@nolanwright.dev
080dbad14c665408d62fcce60d6eaed4597e64fb
9cf32d5e80a0843ac519cf008b272b00e78848d7
/projet/app/api/v1/book.py
549b58f257a4fd1f0874d9b8f2f3e40d42f9419b
[]
no_license
weisiwen/Flask_Api
dd7cb56001a4f142ee70de1db68a7aa88b1cae2e
65b027d51fa97133b354a7991570e195e8bc3bd3
refs/heads/master
2020-03-23T02:09:02.635647
2018-07-19T15:01:57
2018-07-19T15:01:57
140,958,822
0
0
null
null
null
null
UTF-8
Python
false
false
242
py
from flask import Blueprint from app.libs.redprint import Redprint api = Redprint('book') @api.route('',methods=['GET']) def get_book(): return 'get book' @api.route('',methods=['POST']) def create_book(): return 'create book'
[ "893719089@qq.com" ]
893719089@qq.com
fb2e55899c63168ca2c1f2ae0bba25b913465b7c
3d6e9c5baea27f27a69b4e1bfa582cef3bc13d65
/same_category_recommend/log_generator.py
dc1a42e058d84422366d6d2e32ee296d80a5f210
[]
no_license
duanzhenchun/recommend
656b3f79f88b61220f5f701d434ce8219c474cf3
8f18aeab6f52021b9883c070d75a4a51cc77b777
refs/heads/master
2020-04-27T11:38:12.508762
2018-08-27T02:39:39
2018-08-27T02:39:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,321
py
import random """ 点击 1 播放 2 点赞 3 收藏 4 付费观看 5 站外分享 6 评论 7 """ albet_num = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "...
[ "823232162@qq.com" ]
823232162@qq.com
d5d84cbd848d293ddd2a7b09e2f431d0b2663ca8
f526fc7898d5035f54a5a9b9bdc57243fa0f9231
/test.py
e769c56426f38446f4ed3e289446a6988846cd2a
[]
no_license
Ren-Yaqian/project_Forest-fire-detection
fba5f558f37300e47710965a54712d353b7bc5f5
710aedf4f805f6744862991e92389239346c2478
refs/heads/main
2023-07-17T15:57:07.952120
2021-09-04T13:54:27
2021-09-04T13:54:27
403,066,215
1
0
null
null
null
null
UTF-8
Python
false
false
16,532
py
import argparse import json import os from pathlib import Path from threading import Thread import numpy as np import torch import yaml from tqdm import tqdm from models.experimental import attempt_load from utils.datasets import create_dataloader from utils.general import coco80_to_coco91_class, check_dataset, check...
[ "noreply@github.com" ]
noreply@github.com
949e4fa6244a928ca045e13cfe05dc966c7d92ea
a6cd2b48d668f959e1d2b77b66bf6ba1524c495d
/setup.py
5262af0bb469a812b1a68badc1a1aea94e13e694
[ "BSD-2-Clause" ]
permissive
giorgil/django-authtools
a098cd6a7f6c8103a5eb756e01cdc8a618997eb3
bd0db4b5e34144b7f449e038ff0b3ecd1049d45f
refs/heads/master
2021-01-14T11:11:55.870927
2014-08-16T20:16:04
2014-08-16T20:16:04
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,343
py
#!/usr/bin/env python from setuptools import setup, find_packages import os from authtools.version import get_version __doc__ = ("Custom user model app for Django featuring email as username and" " class-based views for authentication.") def read(fname): return open(os.path.join(os.path.dirname(__fil...
[ "rocky@fusionbox.com" ]
rocky@fusionbox.com
15aea398da20579632b3b0bb8d0ed2cfa6d04bd8
a0b8d47e87d33b5d7518d01278fb3556cfd941a6
/build/rosserial/rosserial_embeddedlinux/catkin_generated/pkg.develspace.context.pc.py
d1555c7942e3a90de41735d48624748b20ca23f5
[]
no_license
dhhan120/capstone_2_Cgroup
66c22ebb64e7d077a1729e39854897bcff2affc9
71382bc36a77c3bb783bc81e151f6c377de9205d
refs/heads/master
2020-11-25T17:51:29.295490
2019-12-19T08:51:53
2019-12-19T08:51:53
228,779,538
0
0
null
null
null
null
UTF-8
Python
false
false
383
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 = "rosserial_embeddedlinux" PROJECT_SPAC...
[ "dhhan218@kaist.ac.kr" ]
dhhan218@kaist.ac.kr
5b4e22907203363322e5ef15e69a36a4326441ea
f55878c41c7238c0e5f8d63d80fa4f4c12988c6d
/xray/backends/netCDF4_.py
53ae82e6dee46d196f281defaa76253094fa7444
[ "Apache-2.0" ]
permissive
takluyver/xray
7576e4271434f7c4845db302ad68cd782e96b9bc
80c30ae343a2171c541da0387fed3926004030a7
refs/heads/master
2023-06-19T18:51:36.678029
2014-05-03T04:49:18
2014-05-03T04:49:18
19,414,277
0
0
null
null
null
null
UTF-8
Python
false
false
4,885
py
from collections import OrderedDict import warnings import numpy as np from common import AbstractWritableDataStore import xray from xray.conventions import encode_cf_variable from xray.utils import FrozenOrderedDict, NDArrayMixin, as_array_or_item from xray import indexing class NetCDF4ArrayWrapper(NDArrayMixin): ...
[ "shoyer@climate.com" ]
shoyer@climate.com
f366d33c8537ec7bfe387f2b46c5512c22cc562c
17f2fc9f6a718cb5c207ae178fd2fd094c25bec1
/splitgd.py
6cc8684addd59d46b440d90a3fab75712a5234ed
[]
no_license
tomasspangelo/Deep-Reinforcement-Learning-for-Peg-Solitaire
63b4a0fa12528f4355681ad6224b29360036fb81
a6f0d24f1a11f13cf8a36bf0060e02bc10a1e1a9
refs/heads/main
2023-04-14T05:14:05.125633
2021-04-28T12:31:15
2021-04-28T12:31:15
362,460,646
0
0
null
null
null
null
UTF-8
Python
false
false
6,038
py
import math import tensorflow as tf import numpy as np # ************** Split Gradient Descent (SplitGD) ********************************** # This "exposes" the gradients during gradient descent by breaking the call to "fit" into two calls: tape.gradient # and optimizer.apply_gradients. This enables intermediate modi...
[ "tomas@spangelo.com" ]
tomas@spangelo.com
d99fab115ba894e29fbbfe9247645be7ba283353
80a3d98eae1d755d6914b5cbde63fd10f5cc2046
/autox/autox_ts/feature_selection/__init__.py
dc8ea061d68ac26f5ad528338ccff08adf67947f
[ "Apache-2.0" ]
permissive
4paradigm/AutoX
efda57b51b586209e1d58e1dab7d0797083aadc5
7eab9f4744329a225ff01bb5ec360c4662e1e52e
refs/heads/master
2023-05-24T00:53:37.109036
2023-02-14T14:21:50
2023-02-14T14:21:50
388,068,949
752
162
Apache-2.0
2022-07-12T08:28:09
2021-07-21T09:45:41
Jupyter Notebook
UTF-8
Python
false
false
42
py
from .feature_filter import feature_filter
[ "946691288@qq.com" ]
946691288@qq.com
7e23ddf115d5ed2d24c73fb7144f196d75b02cdf
92237641f61e9b35ff6af6294153a75074757bec
/Machine Learning/수업 자료/2주차_데이터 과학을 통한 자연어 처리와 통계학습/제06~09일차_정형.비정형 데이터 처리 및 결합 분석/xmlEx02.py
3fecb052979d01243b6104879395476414339d15
[]
no_license
taepd/study
8ded115765c4f804813e255d9272b727bf41ec80
846d3f2a5a4100225b750f00f992a640e9287d9c
refs/heads/master
2023-03-08T13:56:57.366577
2022-05-08T15:24:35
2022-05-08T15:24:35
245,838,600
0
1
null
2023-03-05T23:54:41
2020-03-08T15:25:15
JavaScript
UTF-8
Python
false
false
1,323
py
# xmlEx02.py from xml.etree.ElementTree import Element from xml.etree.ElementTree import SubElement from xml.etree.ElementTree import ElementTree mydict = {'kim': ('김철수', 30, '남자', '강남구 역삼동'), 'park': ('박영희', 40, '여자', '서초구 방배동')} print(mydict) members = Element('members') for key, mytuple in mydict.items(): mya...
[ "taepd1@gmail.com" ]
taepd1@gmail.com
4a2a310ab7b1ec606a8d5eadb81465b0187370a1
6d58d19be7d50043bda4bd1dd96fb5bd8c09a5c4
/start_up.py
af4220ac79a861fc21ca76437af16758e5541656
[]
no_license
wrishel/HETP_Scan_control
2b38a464fe65f84fbe0b602a567a4d804d576aba
09db13cba3d9de172d08eadc72200169df9f7cbc
refs/heads/master
2021-02-17T10:24:41.127392
2020-03-05T06:52:24
2020-03-05T06:52:24
245,085,678
0
0
null
null
null
null
UTF-8
Python
false
false
9,437
py
'''Start up panel Mainpanals page for the scanning user. Normally run once a day. Maintains the scanning.ini file among other things. ''' from etpconfig import Scanconfig from ETP_util import msgBox import GLB_globals import os from PyQt5 import uic from PyQt5.QtCore import QCoreApplication from PyQt5.QtCore impor...
[ "wrishel@gmail.com" ]
wrishel@gmail.com
de7cf6f6593d01a06001d322436c1cee71cf8081
ae5b4038958980c44ea835c885be0a71b782101b
/assembler/assembler.py
930bd6f641a694f8e05cca2553d83392dc41f4f0
[]
no_license
chorton2227/nand2tetris
f399d0efe79382f5be5bd1be989602a2eee70ec7
d610353677b83d3ac79876438d2a1b616849aabc
refs/heads/main
2023-07-18T13:25:01.024435
2021-09-05T01:10:17
2021-09-05T01:10:17
399,528,559
0
0
null
null
null
null
UTF-8
Python
false
false
3,006
py
#!/usr/bin/python3 import sys import getopt import os import re from parser import Parser from command_type import CommandType from code import Code from symbol_table import SymbolTable class Assembler: def __init__(self): self._symbolTable = SymbolTable() self._symbolAddress = 16 self._r...
[ "chorton2227@gmail.com" ]
chorton2227@gmail.com
a7bd74fe3278f55a0480a6d159d5e05636a1388a
37e8854a1b8e84500e661ca7e38272248f1bdf49
/NeuralNetwork/optimizations.py
ba017f649629e4beaabd497ebd921b3ff85a6310
[]
no_license
MattyChoi/MachineLearningMethods
6ef77d55ed9c3715d4e58309101e00e1bb0cb959
f7092242f0bd5147105d0139002ce55740f358ed
refs/heads/main
2023-02-27T06:51:44.073735
2021-02-01T22:26:28
2021-02-01T22:26:28
334,524,887
0
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
import numpy as np # famous gradient descent funciton to update the weights def grad_descent(weights, grads, step_size = 0.01): # find the number of layers excluding the input layer # (this would be layers_dims - 1) layers = len(weights)//2 for l in range(1, layers + 1): weights["W" + str(l)] ...
[ "choix709@umn.edu" ]
choix709@umn.edu
8776f9c2a28d2996591a7f869b6527767c58cc11
1665b1a8e48fd8936bb5a2b323829e8735ab460d
/shop/migrations/0003_auto_20190928_0055.py
ea1e56eab6b8f5f3c9d6e563eb6fb98ca0d5001b
[]
no_license
daule1999/daule1999.github.io
433b8cdb98a638702e511bca4652ac1c11a6e885
56dc2a8a38537fe33d4bcb548cdf6a4c4df7bcd9
refs/heads/master
2020-09-16T03:41:40.420453
2020-04-29T11:53:00
2020-04-29T11:53:00
222,991,213
0
0
null
null
null
null
UTF-8
Python
false
false
988
py
# Generated by Django 2.2.4 on 2019-09-27 19:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shop', '0002_auto_20190826_1822'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ...
[ "37247963+daule1999@users.noreply.github.com" ]
37247963+daule1999@users.noreply.github.com
c2e7a3635a169a4ef23dc7d1f19b2115f10e4343
98d832289b7437247ce03ea54ad3cb7b95451159
/rapid7vmconsole/models/page_of_malware_kit.py
de3e4edf91c9ca04d24174f07f8ada5772a2f904
[ "MIT" ]
permissive
rmehilli-r7/vm-console-client-python
7f02f13345dce4f4d4d85e18da7146daeefbceb9
069041c1c7b53c6b3d8bfdd81b974141bfca3c0c
refs/heads/master
2020-03-23T11:20:33.364442
2018-08-10T20:06:37
2018-08-10T20:06:37
141,498,444
0
0
MIT
2018-08-08T19:58:45
2018-07-18T23:00:41
Python
UTF-8
Python
false
false
52,997
py
# coding: utf-8 """ InsightVM API # Overview This guide documents the InsightVM Application Programming Interface (API) Version 3. This API supports the Representation State Transfer (REST) design pattern. Unless noted otherwise this API accepts and produces the `application/json` media type. This API uses ...
[ "zachary_youtz@rapid7.com" ]
zachary_youtz@rapid7.com
802eca46c3e683e50f6e47f7a5d22d1b059841c1
b80c84125f8176d5e40ffd51af36a0aed2df9d7c
/roboPortal/views.py
df87e4b4fe81d4d9cd6354a524d49fb76790be56
[]
no_license
bhatiaisb5300/RobotixDevelopmentv1
cbee6f90f06c85c8bfec308e8d35ef3a2587e263
6d541bdc8a9b89565c103fdff53a28373b0afb8b
refs/heads/master
2022-12-13T10:12:30.841794
2020-02-15T15:33:00
2020-02-15T15:33:00
223,969,445
0
1
null
2022-12-08T05:24:26
2019-11-25T14:35:35
JavaScript
UTF-8
Python
false
false
7,171
py
from django.shortcuts import render, redirect from django.http import HttpResponse, Http404 from django.contrib.auth.models import User, auth from django.contrib.auth.decorators import login_required from django.core.mail import send_mail from django.conf import settings from .models import portalUser, UserLink, Token,...
[ "ayushganguli1769@gmail.com" ]
ayushganguli1769@gmail.com
53564b0dbb1fb2ca036162b4a6dc25d45b8bdaf8
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03846/s787181482.py
9e79a1ae234c00a297c69bb69d20566532f2d43a
[]
no_license
Aasthaengg/IBMdataset
7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901
f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8
refs/heads/main
2023-04-22T10:22:44.763102
2021-05-13T17:27:22
2021-05-13T17:27:22
367,112,348
0
0
null
null
null
null
UTF-8
Python
false
false
465
py
def main(): N=int(input()) A=list(map(int,input().split())) mod=10**9+7 ans=1 A.sort() if N%2==0: for i in range(0,N,2): if A[i]!=A[i+1] or A[i]!=i+1: print(0) exit() ans=ans*2%mod print(ans) else: if A[0]!=0: print(0) exit() ans=1 for i in range...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
da826201f915ff3c81b1a93f54e6eb657bcd129c
362e02c0f76781aa9a7009915622dcef41ad1934
/Gloss2Avatar/create_interpolation_dataset.py
4ee4f18d521c3dfc62f61d31b0b06e7fcfc5fb18
[]
no_license
dung-n-tran/Speech-to-ASL-1
0031988fea40369af7f7bce5a411a59a2778b7d5
e66dd2363cc828b8260a683ee9cb81208dd2f4cf
refs/heads/master
2023-07-29T04:38:41.325796
2020-08-05T17:12:43
2020-08-05T17:12:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,402
py
import torch from tqdm import tqdm import os import numpy as np num_intermediate_frames = 20 dataset_x = [] dataset_y = [] # Load data data_dir = 'data/RawData/' avatar_data_dir = os.path.join(data_dir, 'npy_dir') pose_data_dir = os.path.join(data_dir, 'pose_npy_dir_avi') files = os.listdir(pose_data_dir) for file in...
[ "yellow@yellow.cs.columbia.edu" ]
yellow@yellow.cs.columbia.edu
a63a45282250d599182a378fb8e5ab1ebd6bb42d
bdd0161c9816df392191787ada36955cc932d1f6
/tests/test_numeric/test_eulerian_grid_ops/test_stencil_ops_3d/test_advection_flux_mpi_3d.py
fa345a1a0f15ab6c733ace4c5f7eac519b6add58
[ "MIT" ]
permissive
fankiat/sopht-mpi
56ff537f409ee8cb56c649e090764e4b4a425889
e5c4fb7d5e420d2ca6aea2206bb4b25185b6d92d
refs/heads/main
2023-05-14T19:46:47.756046
2023-05-01T19:35:13
2023-05-01T19:35:13
528,962,533
4
3
MIT
2023-07-06T12:56:27
2022-08-25T17:58:20
Python
UTF-8
Python
false
false
4,947
py
import numpy as np import pytest from sopht.utils.precision import get_real_t, get_test_tol from sopht.numeric.eulerian_grid_ops.stencil_ops_3d import ( gen_advection_flux_conservative_eno3_pyst_kernel_3d, ) from sopht_mpi.utils import ( MPIConstruct3D, MPIGhostCommunicator3D, MPIFieldCommunicator3D, ) ...
[ "fankiat@hotmail.com" ]
fankiat@hotmail.com
fb574b9eb168faba9a20e817021d5efb507b4117
1dacbf90eeb384455ab84a8cf63d16e2c9680a90
/lib/python2.7/site-packages/conda_manager/widgets/table.py
ee4d3b59ef65d8779dacf64dfa73c5fa745a9e83
[ "Python-2.0", "Apache-2.0", "BSD-3-Clause", "LicenseRef-scancode-unknown" ]
permissive
wangyum/Anaconda
ac7229b21815dd92b0bd1c8b7ec4e85c013b8994
2c9002f16bb5c265e0d14f4a2314c86eeaa35cb6
refs/heads/master
2022-10-21T15:14:23.464126
2022-10-05T12:10:31
2022-10-05T12:10:31
76,526,728
11
10
Apache-2.0
2022-10-05T12:10:32
2016-12-15T05:26:12
Python
UTF-8
Python
false
false
26,817
py
# -*- coding:utf-8 -*- # # Copyright © 2015 The Spyder Development Team # Copyright © 2014 Gonzalo Peña-Castellanos (@goanpeca) # # Licensed under the terms of the MIT License """ """ from __future__ import (division, print_function, unicode_literals, with_statement) # Standard library import...
[ "wgyumg@mgail.com" ]
wgyumg@mgail.com
700f85155085feaf29a355e14af24558eafb0b7a
d91d4d2d39111012c3dd57f426041ed3dcd6fa36
/vrtiljak.py
344b87af921808daaa7ff1638ee9cccf6b8b8d73
[ "MIT" ]
permissive
fri-it2/nbp
dcab6fe6cc9d20ada1e5e2c0321f079241efa340
920fad740aef9dbea989547e365cf9a8636c1105
refs/heads/master
2022-12-05T00:16:22.989695
2021-01-07T19:19:02
2021-01-07T19:19:02
196,842,915
1
0
MIT
2022-11-22T06:13:37
2019-07-14T13:57:26
Python
UTF-8
Python
false
false
6,602
py
##### Potovanje po galaksiji z vrtiljakom KR5600 - S53MV 18.02.2019 ##### #izvajanje potrebuje najmanj python-2.7.12 in pyserial-2.7.win32_py3k import time, math, serial #uporabljene funkcije port='COM3' #ime zaporednega vmesnika pomlad=0.275 #poenostavljeno pomladisce za Julijanski koledar (del kroga) elmin=5.0 #min...
[ "noreply@github.com" ]
noreply@github.com
36e00994415966d00f97e2e35bdd3363bbf81c4f
6747a5221f9d78411ed3fa06ab073833d7c74c7d
/segway_program/control_log.py
d6f7e0baf27a1077b03079cf87578b726362861e
[]
no_license
shuanghux/FYP_Ballbot
2eea4b5456171ef33bf0c3d133f53d69037e7ac0
188a5ed6c67a0c2ca8531af25ecd4c93978a1201
refs/heads/master
2021-01-20T04:42:15.997670
2017-04-28T19:51:35
2017-04-28T19:51:35
89,716,549
0
1
null
null
null
null
UTF-8
Python
false
false
15,537
py
#!/usr/bin/env python2.7 from __future__ import division import subprocess import time import math from collections import deque import numpy as np import scipy.io as sio ######################################################################## ## ## File I/O functions ## ############################################...
[ "shuang.hux@gmail.com" ]
shuang.hux@gmail.com
441934b38f27244858648d9c42a7abec18e645ad
ad83f457fc3adf73802dad0738a252a0e41b74d4
/adaboost/tree_stump.py
71c3d9f5fd94d0a232acbdc363d375f483be0316
[]
no_license
Taotao1992/static_study
a59a54a246e2af9f6e9a7edbfb636acf7f228a9c
1e92b801660d97587adb097ac24ab23ad264a5b8
refs/heads/master
2020-06-18T02:32:43.393353
2017-10-07T14:53:49
2017-10-07T14:53:49
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,295
py
# -*- coding:utf-8 -*- """ author: zzqboy date: 17-5-26 单个结点的树桩,训练过程为CART树的过程 """ from __future__ import division from itertools import izip from numpy import * class Stump(object): def __init__(self): self.s = None self.c_final = [] self.se = None # 当前这颗树的总平均损失 self.se_i = [] #...
[ "1163802968@qq.com" ]
1163802968@qq.com
e6f6e8b3c667ab070c079d6e48d79e2fd3e11287
dfe48ab9903914d701b44996485e47c96cc611a9
/utils/models/model7.py
2902009972ff16a13bf7459b8b76e770c6219789
[]
no_license
ms5898/e4040-2019fall-project
1f4b49f8bb8f715f39e01c1c9587c3817ac76605
ed89dea9d58ab63d858618562a4cc89490fa3113
refs/heads/master
2020-12-14T05:46:09.654237
2020-01-18T00:49:44
2020-01-18T00:49:44
234,661,383
0
0
null
null
null
null
UTF-8
Python
false
false
8,203
py
import tensorflow as tf import time def SVHNmodel(input_x, input_y, label_length, is_training=False, drop_rate=0.5): if is_training == False: drop_rate = 0 with tf.variable_scope('hidden_layer_1'): conv1 = tf.layers.conv2d(inputs=input_x, filters=128, kernel_size=[5, 5], padding='same') ...
[ "ms5898@columbia.edu" ]
ms5898@columbia.edu
67afec9212a1433422a4bc56f2afbeca8ea194b9
e66fa131cff76fa3fe70e7b6649fa1332159c781
/ch06/Packages.py
8ff16ca6520d9fb4e3c32d634368017d536a0500
[]
no_license
chc1129/python_tutorial
c6d97c6671a7952d8a7b838ccb8aa3c352fa6881
2f8b389731bafbda73c766c095d1eaadb0f99a1c
refs/heads/main
2023-08-24T07:00:43.424652
2021-10-28T16:07:57
2021-10-28T16:07:57
341,532,732
0
0
null
null
null
null
UTF-8
Python
false
false
262
py
import sound.effects.echo sound.effects.echo.echofilter(input, output, delay=0.7, atten=4) from sound.effects import echo echo.echofilter(input, output, delay=0.7, atten=4) from sound.effects.echo import echofilter echofilter(input, output, delay=0.7, atten=4)
[ "chc1129@gmail.com" ]
chc1129@gmail.com
42697440e9a16eb57620607212026defd2e432ee
80a45d385d306e26410ec742023e80850528c1a5
/Wave1/Lab1of6.py
c168fbfb603464828f3ab3c66a84de4ac994b6b4
[]
no_license
Aswadhardi/WejapaInternships
e87abcac76b35bf8cd49ca0abc51293c53bba6fd
5dfafa1c58702a77f5ffc993b276c9167858202a
refs/heads/master
2022-12-04T22:41:38.215442
2020-08-24T15:36:39
2020-08-24T15:36:39
282,212,775
1
0
null
null
null
null
UTF-8
Python
false
false
372
py
username = "Kinari" timestamp = "04:50" url = "http://petshop.com/pets/mammals/cats" # TODO: print a log message using the variables above. # The message should have the same format as this one: # "Yogesh accessed the site http://petshop.com/pets/reptiles/pythons at 16:20." print('\"'+username + ' ' + 'accessed the si...
[ "noreply@github.com" ]
noreply@github.com
0078bebbfea63fa1badc1db1ce50cbee059035cb
c1fabf9660cf8cd05ee1d6343d4e5be3f37d069a
/BGNN/GraphSage/auto_graphsage_check_top10.py
6fc73ea3f6c0f8d4f25c29ec3de9ecf644658c92
[ "MIT" ]
permissive
DanielHolmelund/Learning-and-Visualizing-Bipartite-Network-Embeddings
087175747981d411af6e291b64c621eff5d45603
19138b3a8bb6e0d6f8b0f88398f159a4c0635fee
refs/heads/master
2023-05-31T12:47:41.392938
2021-06-21T20:00:40
2021-06-21T20:00:40
337,565,110
0
1
null
null
null
null
UTF-8
Python
false
false
3,133
py
import os from time import sleep def topten(auc_dict, paras): if len(auc_dict) < 10: return auc_dict_sorted = sorted(auc_dict.items(), key=lambda d: d[1], reverse=True) print("BGNN. The top 10 AUC will be:") cnt = 0 for (index, auc) in auc_dict_sorted: (batch_size, epochs, lr, we...
[ "57214933+Laitallis@users.noreply.github.com" ]
57214933+Laitallis@users.noreply.github.com
34ef5702e08eb750d05ed8d2b1321521cc1e69c8
b3f858b25f825881912fac7ab163eb56432688cb
/README.py
672b84ed9627ba3de4d683a8db0a510ec0a2373a
[]
no_license
simransethi643/know-the-news-around-you
7e5934fd595d6adeb469c8f2cd5bde8bbd23d602
ae2c21327559ff48f7ec06fe6b0f8886c30528ce
refs/heads/main
2023-02-23T05:26:08.076904
2021-01-31T08:07:55
2021-01-31T08:07:55
334,331,330
0
0
null
null
null
null
UTF-8
Python
false
false
1,382
py
<b style="color:black">Know the news all around you</b> <p style="color:black">How are you feeling today?</p> <html> <head> <meta charset="utf-8" /> <title>Know the news around you</title> <meta name="viewport" content="width=device-width, initial-scale=1"> </head> <body> <div class="btn-group"> <button id='btn1' t...
[ "noreply@github.com" ]
noreply@github.com
4fe9a4ffc31dd600f95fa41b2d07a2101cb7274a
87aed0322a0909831c3747eb72991ea6052c8ff6
/qukf/qukf.py
2ff5d8ea2f45a6a784b88f998dc550d4bd467344
[ "MIT" ]
permissive
darfire/qukf
cc253f30f3891509a1d198c8c65e721d6824c221
2734ad344a60aed47ebecc244b734d8befd48e9b
refs/heads/master
2021-01-13T16:38:54.218444
2017-01-12T10:41:57
2017-01-12T10:41:57
78,666,921
0
0
null
null
null
null
UTF-8
Python
false
false
8,086
py
import numpy as np import quaternion from .utils import * class QuaternionUKFModel(object): def f(self, dt, sa, sq): """ Process model. Receives 2-part state, the non-quaternion additive state and the quaternion state. Returns the updated state as a tuple. """ pass def h(self, sa, sq, hi...
[ "doruarfire@gmail.com" ]
doruarfire@gmail.com
b03dadea968c5d8b544b6c7da72b44bbe784ce4e
8af9e6895082417f532fb1001725c9ed1340a8fd
/pydob/setup.py
67dad35731722d54aaf4a47172dbe2d5e4f0859d
[ "MIT" ]
permissive
lermana/nyc_dob_analysis
9b9ffe2a24f3e9c2c9f2103d7de589d4fd91bdfd
29e9c73a8cbb6f2ae32c69ff3339d49b9a02cb75
refs/heads/master
2020-12-15T17:40:47.020396
2020-03-05T05:54:34
2020-03-05T05:54:34
235,198,556
2
0
null
null
null
null
UTF-8
Python
false
false
526
py
from setuptools import setup, find_packages setup( name="pydob", version="1.0", description="Tools for working with certain NYC DoB datasets.", author="NewTrails Data Science, LLC", url="https://github.com/lermana/nyc_dob_analysis", packages=find_packages(), install_requires=["numpy", ...
[ "abe893@gmail.com" ]
abe893@gmail.com
1a10ce4f16e89cf52d5342a708f41b692dc8069c
a27f9ecf08bf255372954670a7c8e2ae081b49d4
/feedback/mot_graph.py
7e6fffbf7b388300c217b5d345844bdd05459856
[ "MIT" ]
permissive
songheony/AAA-multi
b379761aec63d54da46f9a103f87a7a2edc20462
80a988d8d312664d8ca19dee82c844183cf4f55d
refs/heads/master
2023-01-05T19:57:24.017698
2020-11-04T03:04:06
2020-11-04T03:04:06
273,406,160
0
1
null
null
null
null
UTF-8
Python
false
false
11,990
py
import sys import numpy as np import torch import torch.nn.functional as F from torch_geometric.data import Data sys.path.append("external/mot_neural_solver/src") from mot_neural_solver.data.augmentation import MOTGraphAugmentor from mot_neural_solver.utils.graph import ( get_time_valid_conn_ixs, get_knn_mask...
[ "songheony@gmail.com" ]
songheony@gmail.com
dc09bc1d621cb8c7a673a646382a65386449d6af
b973481c6a26d371a4d872bc6d5f1e033a4f753c
/pythonCode/ATBSWPbook/partThree/ZeroDivisionError.py
d44b98085f4bfe86339244ff8f5dd425543b84d2
[]
no_license
SnowXLee/aliyunOldCodeDir
607775e273093a3f17f44c0bbdfe2d391cb8a74a
620e50337061cb2a358473f1f6b7ab10e65c7578
refs/heads/master
2022-09-21T18:14:58.840377
2020-06-07T13:33:17
2020-06-07T13:33:17
261,498,447
0
0
null
null
null
null
UTF-8
Python
false
false
180
py
def spam(divideBy): try: return 42 / divideBy except ZeroDivisionError: print("Error: Invalid argument") print(spam(2)) print(spam(12)) print(spam(0)) print(spam(24))
[ "lx1970095437@gmail.com" ]
lx1970095437@gmail.com
47d3dc1de111b74f0003dab300ca7e60c4e71414
485828110fb1564e8f707a4d12e11ca630c13df9
/01_Matematica_Basica.py
6a3c3e09e14fb5c49a51f293f333853c4b76f9d5
[]
no_license
andrelmfsantos/PPGA_GoogleClass
d15d2487e2bdabb7ce555ef0b9c80c55b5315c36
0fa7e2755af429c5042fa8daad323bbdcfa1064c
refs/heads/master
2022-04-20T01:44:50.452538
2020-04-21T01:14:44
2020-04-21T01:14:44
255,124,256
0
0
null
null
null
null
UTF-8
Python
false
false
1,409
py
#!/usr/bin/env python # coding: utf-8 # <img src="http://www.sinergia.edu.br/wp-content/uploads/2016/10/uninove-logo-1200x480.jpg" align="middle" style="width:120px;height:48px"/> # ## Operações elementares da matemática # [Overleaf: Site com Expressões Matemáticas em LaTex](https://www.overleaf.com/learn/latex/List_...
[ "noreply@github.com" ]
noreply@github.com
9544a45aab0a2d8a39ca2f192aec64681e5e9276
4749f353f5df6adf0d4dd264f82d5d92f3c82d84
/Backtesting/OTMContractBackTesting.py
70b692fa6bf4b2cbefa4c7c3efa4ef2a731a60c7
[]
no_license
kumars99/TradingScripts
6bd7740e60877904a837dac4bea7ce49352b1704
b916eb8a69e349ad19d9893262cd27c5aedade2f
refs/heads/master
2023-02-22T01:45:35.883845
2021-01-28T04:32:11
2021-01-28T04:32:11
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,353
py
import csv from datetime import timedelta import time from dateutil import parser import DerivativeUtils as outil import GenericStatPrinter as gstats import PatternRecognition as pr import ScrapUtils as nse_bse import Utils as util def get_stock_data_set(stock_data, date): stock_data_subset = [] for data i...
[ "himanshu4529.pec@gmail.com" ]
himanshu4529.pec@gmail.com
a6d03f5aa8fec4ad3c7ddec43ee5307971146cfd
218cd690275dbe13fc7588a1fe6a7fa9b054e360
/fRT/functions/transformations.py
ee884542542a9652bc529c78f8f5e6b828ee1930
[]
no_license
j-petersen/conceptual_RTmodel
694a868d192ceac55192213961b40365e5170a67
c07b14507043ccf592995d181217e7970fd04376
refs/heads/main
2023-07-06T12:15:07.012714
2021-08-19T09:51:34
2021-08-19T09:51:34
302,001,023
0
1
null
null
null
null
UTF-8
Python
false
false
4,833
py
import numpy as np from fRT.functions.scattering import * __all__ = [ "stokes_rotation_matrix", "transformation_angle", "transformed_rayleigh_scattering_matrix", "convert_direction" ] def stokes_rotation_matrix(eta): """Calculates the Stokes rotation matrix L(eta) for the angle eta. Based on...
[ "jon.petersen@web.de" ]
jon.petersen@web.de
2efe060ea5aff877fd8ffa1bda0eae2d9b156ce0
115ef7a9ffc88148b7439bd25ef3c97720be87e6
/OEMS_v2.0/chalicedir/vendor/sqlalchemy/testing/requirements.py
ec1eeb1dcb0fcf5ffa028a828fc6908a05c3511c
[]
no_license
octicalpha/billions
387bc0db600dd97915be0cece710237ff626b86c
5465c527d614ae64789906197c1effe7ba94d373
refs/heads/master
2020-04-01T21:35:50.582694
2018-10-14T05:36:50
2018-10-14T05:36:50
153,664,919
0
3
null
2018-10-18T17:53:35
2018-10-18T17:53:34
null
UTF-8
Python
false
false
25,568
py
# testing/requirements.py # Copyright (C) 2005-2018 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opensource.org/licenses/mit-license.php """Global database feature support policy. Provides decorators to mark test...
[ "ubuntu@ip-172-31-26-154.ap-northeast-2.compute.internal" ]
ubuntu@ip-172-31-26-154.ap-northeast-2.compute.internal
e0610c8768b205998a61ada0437f700fe9f6f474
6a6410fa7fe4a6a4ba573e9e3312b69a7cacc72b
/app.py
0ca15ff8b286fa49cc6ad693e7cd758723fb7c2d
[]
no_license
bjk116/homesite
05341748863c9143606410d91ecd1d830dca5356
0d1d58a367cf8711bd1426989a337f6e470ac609
refs/heads/master
2023-01-08T07:00:19.192385
2020-11-08T12:49:08
2020-11-08T12:49:08
311,058,740
0
0
null
null
null
null
UTF-8
Python
false
false
2,931
py
from flask import Flask, render_template import datetime import mariadb from flask_bootstrap import Bootstrap app = Flask(__name__) Bootstrap(app) dbConfig = { 'host':'127.0.0.1', 'port':3306, 'user':'flask', 'password': 'flask', 'database':'ubuntu' } paramToDBMap = { 'todos':{'tableName...
[ "ubuntu@ubuntu.home" ]
ubuntu@ubuntu.home
39af2e24f4ecd98ace2aa0190c3d420a2d245202
3bc3b92b1c30be2b4c8521ce303eaeb20708a7b4
/2015/solutions/04.py
404437031aa3ebacf3a9fed9eeb51d93d13fd37f
[]
no_license
marcodenisi/advent-of-code
1acc56d544e25b6d069e0afb65cfe872fb5f42a5
c9dc920fc71ccb4ba82461c5eee466828b01ba8c
refs/heads/master
2021-12-26T00:47:14.763531
2021-12-24T11:08:55
2021-12-24T11:08:55
159,386,338
4
0
null
null
null
null
UTF-8
Python
false
false
608
py
import hashlib def part_1(key): number = 0 result = hashlib.md5(f"{key}{number}".encode()).hexdigest() while not result.startswith("00000"): number += 1 result = hashlib.md5(f"{key}{number}".encode()).hexdigest() return number def part_2(key): number = 0 result = hashlib.md...
[ "marcodenisi35@gmail.com" ]
marcodenisi35@gmail.com
0582f2cb7055ba6e5d8133b7421aa813af80556e
c9ddbdb5678ba6e1c5c7e64adf2802ca16df778c
/cases/pa3/benchmarks/sieve-323.py
156204efa4971bd39565e35b25809298e6391b87
[]
no_license
Virtlink/ccbench-chocopy
c3f7f6af6349aff6503196f727ef89f210a1eac8
c7efae43bf32696ee2b2ee781bdfe4f7730dec3f
refs/heads/main
2023-04-07T15:07:12.464038
2022-02-03T15:42:39
2022-02-03T15:42:39
451,969,776
0
0
null
null
null
null
UTF-8
Python
false
false
2,581
py
# A resizable list of integers class Vector(object): items: [int] = None size: int = 0 def __init__(self:"Vector"): self.items = [0] # Returns current capacity def capacity(self:"Vector") -> int: return len(self.items) # Increases capacity of vector by one element def incr...
[ "647530+Virtlink@users.noreply.github.com" ]
647530+Virtlink@users.noreply.github.com
812b4c327f2356ed8df9e36a0e4c61c5fc016e57
838e0e16814f5c5995cde1cfabf315cb09f1fe39
/TensorFlow/src/Hello.py
1408c440f3e2543e68fc6f441452775ed39da7e0
[]
no_license
SujJiGoEnka/Practice
4e73f75d3bec157386393ba0c098fc479f604f2f
995425a9d67082e639d0fe92a1e6c08efb047932
refs/heads/master
2022-12-21T11:25:06.973638
2019-07-15T06:33:06
2019-07-15T06:33:06
194,059,367
0
0
null
2022-12-16T00:36:28
2019-06-27T08:55:07
Python
UTF-8
Python
false
false
611
py
# coding=utf8 import json import re def conver_integers(mystr): wordList = re.sub("[^\w]", " ", mystr.lower()).split() print(wordList) with open('E:/Important Code/index.json', 'r') as f: array = json.load(f) nums = [] for i in range(len(wordList)): value = ...
[ "suraj.durgaprasad@infrasofttech.com" ]
suraj.durgaprasad@infrasofttech.com
bd02bc29cb9562ed5c3b9751ac577abb3a5abc7a
cb459e740e535b668d3fbd47b28722e7edb9c0fb
/stockpile_app/apps.py
7fb440034b5aa09b915c598908342896e58cf457
[]
no_license
vince015/stockpile
c828b229c6fa1409490e69fdf9e28a2cc86f094e
35c0a0c356990cf0a9cca0ecda9b308041f15110
refs/heads/master
2021-09-19T13:27:39.210755
2018-07-28T11:29:04
2018-07-28T11:29:04
112,141,916
0
0
null
null
null
null
UTF-8
Python
false
false
164
py
from django.apps import AppConfig class StockpileAppConfig(AppConfig): name = 'stockpile_app' def ready(self): from stockpile_app import signals
[ "vincetapang@gmail.com" ]
vincetapang@gmail.com
94f3f7afd7675140aa63939cb4623f9999f32a2d
f128e7cadbbfaaee5917f3f920953cc5862d7880
/04python/operationStrings.py
0a0ef1fc56048c2886ecf9861933326c62188ed2
[]
no_license
miao906612/python_learn
d75d63bd5762638b214a6bb8127c32748a770196
7c24fd51b9129efb7902a61aa3f626ea62bb2b1c
refs/heads/master
2021-01-10T06:33:19.611574
2016-02-04T15:42:16
2016-02-04T15:42:16
46,600,709
0
0
null
null
null
null
UTF-8
Python
false
false
1,380
py
# -*- coding: utf-8 -*- # Copyright 2016 Baidu Inc. All Rights Reserved. # Author: Shuo Miao (miaoshuo@baidu.com) # # Basic operations len("abc") # Length:number of items "abc" + "def" # Concatenation: a new string "NI!" * 3 # Repetition: like "NI!" + "NI!" + "NI!" myjob = "hacker"...
[ "miaoshuo@baidu.com" ]
miaoshuo@baidu.com
6991dc207815ab48ae46791891d445b78c2359a0
9743d5fd24822f79c156ad112229e25adb9ed6f6
/xai/brain/wordbase/otherforms/_recentest.py
f93941f4b13cefdd2333686e329e9b615cf9de18
[ "MIT" ]
permissive
cash2one/xai
de7adad1758f50dd6786bf0111e71a903f039b64
e76f12c9f4dcf3ac1c7c08b0cc8844c0b0a104b6
refs/heads/master
2021-01-19T12:33:54.964379
2017-01-28T02:00:50
2017-01-28T02:00:50
null
0
0
null
null
null
null
UTF-8
Python
false
false
226
py
#calss header class _RECENTEST(): def __init__(self,): self.name = "RECENTEST" self.definitions = recent self.parents = [] self.childen = [] self.properties = [] self.jsondata = {} self.basic = ['recent']
[ "xingwang1991@gmail.com" ]
xingwang1991@gmail.com
5e81324bbf3aa535eef3a82b8820ad181c6fc1a0
a3a3a6c0e953f221eafcc014d32937b300b8f5c1
/obsolete/ops/sal_rank_loss.py
15099c9895f7e62c92ccfe806a9586fb853c4cdd
[ "Apache-2.0" ]
permissive
mengyuest/temporal-shift-module
49a912f07e02242622bb18cad2d23b8d8fa910e0
944a085217cab7f47ad7efd812ce45972d70d437
refs/heads/master
2023-01-12T06:13:17.954431
2020-11-13T06:52:42
2020-11-13T06:52:42
312,496,540
1
0
null
null
null
null
UTF-8
Python
false
false
1,601
py
import torch import torch.nn.functional as F def cal_sal_rank_loss(real_pred, lite_pred, target, margin=0): B, T, K = real_pred.shape # TODO(shape) B * T b_idx = [[x]*T for x in range(B)] t_idx = [list(range(T)) for _ in range(B)] k_idx = [[tgt]*T for tgt in target[:,0].cpu().numpy()] # TODO(s...
[ "mengyue@ibm.com" ]
mengyue@ibm.com
87fc1a6bffaec4d1d04ac8803866da6cab1a81b8
6d5c915bc05f163e54704ce4e14988d2fcabc269
/mysite/settings.py
c80f385795880a8545bb9e8eb6285a4f13b6819f
[]
no_license
zhihua0322/mysite
683583c50279b1421c055458675a756a797854ad
9d69f9d3b33abe46431ef5076ecaf91dbc6d9ed6
refs/heads/master
2021-09-24T11:21:05.047575
2020-05-03T15:39:07
2020-05-03T15:39:07
254,269,054
0
1
null
2021-09-22T18:56:00
2020-04-09T04:14:28
HTML
UTF-8
Python
false
false
3,594
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 3.0.5. 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 #...
[ "sunzhihua980322@gmail.com" ]
sunzhihua980322@gmail.com
143a2b435ce857dbd0475e94aef1e9bf00d0afb5
19236d9e966cf5bafbe5479d613a175211e1dd37
/cohesity_management_sdk/models/role_update.py
733ad80c72ec30c51a96e5f47fa441e5e2415f91
[ "MIT" ]
permissive
hemanshu-cohesity/management-sdk-python
236c44fbd9604809027f8ddd0ae6c36e4e727615
07c5adee58810979780679065250d82b4b2cdaab
refs/heads/master
2020-04-29T23:22:08.909550
2019-04-10T02:42:16
2019-04-10T02:42:16
176,474,523
0
0
NOASSERTION
2019-03-19T09:27:14
2019-03-19T09:27:12
null
UTF-8
Python
false
false
1,628
py
# -*- coding: utf-8 -*- # Copyright 2019 Cohesity Inc. class RoleUpdate(object): """Implementation of the 'Role Update.' model. Specifies parameters required to update a role. Attributes: description (string): Specifies a description about the role. privileges (list of string): Array of...
[ "ashish@cohesity.com" ]
ashish@cohesity.com
e8ef277c93903a4e6e8e9b7de0f263e6cbf42c1b
a816b066301dcfc75d22dbea4822bc5b0833bcfd
/src/hokkaidopatrol/inputs/randominput.py
63a9959c02235f575ba192227a9dc2dd961a10c7
[]
no_license
taraba-crab/HokkaidoPatrol
782b51ba1d9ca08cec08fafd9f7ad0aaec294b8e
47b6313601638a572a40850a47301df2f2529f61
refs/heads/master
2022-04-19T00:21:59.279317
2020-04-14T05:49:55
2020-04-14T05:49:55
255,501,427
0
0
null
null
null
null
UTF-8
Python
false
false
241
py
from random import sample from .. import cities from .distances import to_distance_dict def random_select(k): sample_cities = sample(cities.keys(), k) return [cities[city] for city in sample_cities], to_distance_dict(sample_cities)
[ "creative.poppo@gmail.com" ]
creative.poppo@gmail.com
684c80b784088af4b6db70dd128f2e9eeb821fe4
b82b3e1f0d847f3059ab43647fa8e5ec5f37c428
/upload_to_azure.py
a149db373154e85f7484cf48a33bf4397ea44d69
[]
no_license
nayanamangalpalli/PollutionMonitoringKit_InitialSetupPackage
fb3e76fc55246e8b0977512ee4a535a202838ff7
b41b36facbf027dea4cd260ea8926f2880c20ee7
refs/heads/master
2022-11-23T07:01:46.276808
2020-07-31T04:58:52
2020-07-31T04:58:52
284,080,861
0
0
null
2020-07-31T16:27:28
2020-07-31T16:27:27
null
UTF-8
Python
false
false
4,445
py
# ---------------------------------------------------------------------------------- # MIT License # # Copyright(c) Microsoft Corporation. All rights reserved. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal...
[ "noreply@github.com" ]
noreply@github.com
14af1cae7e21b55fc5466c50c1590132695a6b1b
928eb941abbb5fd9ec564ed7750fe7946ee13fbf
/plotEnergyDependence.py
0f48fde510ec290b18993dd81a043799ce17252a
[]
no_license
czercia/Orthogonalization3D
093fef77e9a89fa504f1520ef1a1a449492f56d8
b84d3992a729a0a2c6c369867d46cba6cf1f31ea
refs/heads/master
2020-09-16T07:09:29.707624
2016-08-17T12:31:33
2016-08-17T12:31:33
65,897,522
1
0
null
null
null
null
UTF-8
Python
false
false
1,839
py
import numpy as np import matplotlib.pyplot as plt import params d_vals = np.arange(params.d_min + params.delta_d, params.d_max, params.delta_d) n = np.loadtxt( params.directory + 'ResultsR4/Eigenvalues/' + str(params.n_states) + 'eigvals_d=' + str(params.d_min) + '.dat') # print n for d in d_vals: n_d = np.lo...
[ "m.sroczynska@student.uw.edu.pl" ]
m.sroczynska@student.uw.edu.pl
c5b703da29f1a28ac967c47f9ac8161c13a53d78
f47ae86cc80c935cc01f97a78434cfbaf343e8f4
/PillarsCGSystem/settings.py
547674c0af201f423497a2d9727c22635a1048d2
[]
no_license
yupengfei/CGSystem
4c72aee266223f95ce730918cc6aa2058acd23e8
1f7cf2f8409d07360c61afd06ceb527cbc0287c5
refs/heads/master
2021-01-21T02:35:59.349663
2014-11-21T03:32:02
2014-11-21T03:32:02
26,939,991
0
0
null
null
null
null
UTF-8
Python
false
false
6,886
py
# -*- coding: utf-8 -*- # Django settings for PillarsCGSystem project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqli...
[ "akoon@126.com" ]
akoon@126.com
067df7c3424c6de496b3b4a9ccef420373bf650c
c34929e82cdffba827d7a37b7d02a9507b2180c5
/plugins/winpdb/winpdb.py
bb11475767b843cc1b165e5007c042daea9dd9fe
[]
no_license
fenderrex/SPE
1461c3c31f04d50848b497e3a786236a796c65bb
fef8a7c99c3d7913dd77b304c6650b2d7bb3000d
refs/heads/master
2021-01-14T10:30:28.419965
2016-07-30T21:36:32
2016-07-30T21:36:32
64,363,160
0
0
null
2016-07-30T21:16:02
2016-07-28T04:02:22
Python
UTF-8
Python
false
false
169,836
py
#! /usr/bin/env python """ winpdb.py A GUI for rpdb2.py Copyright (C) 2005-2008 Nir Aides This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License,...
[ "stani@be77ae6e-66fb-0310-8b80-9b5aebdb08cc" ]
stani@be77ae6e-66fb-0310-8b80-9b5aebdb08cc
548be3ff17a47e2626a60b44460942255ce8b657
acfd94b8638a792234fe2f222cb42d60715f95d3
/setup.py
6429a464291793f185a51f216b5d0ab1ce54de18
[ "MIT" ]
permissive
davidwtbuxton/wsigauth
81483b03b00c4c7c0d2daae46ece4625a9c58ee4
8a2ee625f1edf37d9b3bdf9ddf844ddaadf37436
refs/heads/master
2021-01-09T20:47:37.621164
2016-05-25T09:26:14
2016-05-25T09:26:14
63,898,695
0
1
null
null
null
null
UTF-8
Python
false
false
241
py
from distutils.core import setup setup( name='wsgiauth', version='0.1', description='Basic authentication for WSGI applications', author='David Buxton', author_email='david@gasmark6.com', py_modules=['wsgiauth'], )
[ "david@gasmark6.com" ]
david@gasmark6.com
ef1231c5dd51fd43a7111233f862782af4334ba3
fba2dda59865ad005e9cb0c12a9dac7cc5870f9c
/1101901079/list/Elist11.py
3683d3a8f0035d4f3a38c810ee745cb277ad6f69
[]
no_license
YSreylin/HTML
65f2747226adb9d113fa06be8df06a79989fe719
44e02704852b05f460f3e0d96ea99a6d9922d861
refs/heads/master
2022-04-17T10:16:56.508411
2020-04-17T10:09:42
2020-04-17T10:09:42
236,651,880
0
0
null
null
null
null
UTF-8
Python
false
false
98
py
#write a Python function to take two lists and return true if they have at least one common member
[ "y.sreylin19@kit.edu.kh" ]
y.sreylin19@kit.edu.kh
60649a047ebbee6783e9aa2a8353da3376dbccc4
2a9a136296e3d2abebf3a3dbfbbb091076e9f15f
/env/Lib/site-packages/setuptools/command/easy_install.py
2e057cdb672aaa58dae66b6d09db608cc3d99746
[]
no_license
Lisukod/planet-tracker
a865e3920b858000f5d3de3b11f49c3d158e0e97
6714e6332b1dbccf7a3d44430620f308c9560eaa
refs/heads/master
2023-02-18T19:26:16.705182
2021-01-23T01:51:58
2021-01-23T01:51:58
328,032,670
0
0
null
null
null
null
UTF-8
Python
false
false
88,408
py
#!/usr/bin/env python """ Easy Install ------------ A tool for doing automatic download/extract/build of distutils-based Python packages. For detailed documentation, see the accompanying EasyInstall.txt file, or visit the `EasyInstall home page`__. __ https://setuptools.readthedocs.io/en/latest/easy_install.html ""...
[ "45397160+Lisukod@users.noreply.github.com" ]
45397160+Lisukod@users.noreply.github.com
174620d89f1a71c884b6493bf45e0cc482ab1bd6
e2e02fd7d726ff8007ec3873b56693adac75ae21
/config_files/fabmd_easyvvuq_test1_old/parseLammpsLog.py
7ac82be2256725c10c7cad6f929cb8839e0c64ec
[]
no_license
UCL-CCS/FabMD
bf038becaa904c47291214246ddcad47ae278951
b790ea8931e1735356978ec8997ce43a0d427c95
refs/heads/master
2023-04-07T00:50:20.002152
2023-03-20T14:47:35
2023-03-20T14:47:35
134,573,271
1
2
null
2022-01-11T16:11:21
2018-05-23T13:24:56
Python
UTF-8
Python
false
false
427
py
import re import csv with open('log.lammps', 'r') as f: pattern = 'Step.*?\n(.*?)Loop' string = f.read() extracted_data = [] for total_data in re.findall(pattern, string, flags=re.DOTALL): for line in total_data.splitlines(): extracted_data.append(line.split()) with...
[ "30697731+kbronik2017@users.noreply.github.com" ]
30697731+kbronik2017@users.noreply.github.com
68834acc0d76d008f21b36c7363aa50640cb405d
9934d96ad20f1d001aa8c8c44db104defad0d000
/backend/authentication/serializers.py
f8a02d4a8666bcbc0df27745e5462d7a05b0a691
[ "MIT" ]
permissive
Gimb0/financeManager
4193117f68b2d442bff75e85195c237d1b4fddaa
b054567ccbcc66535b30b92af1bf11e270968779
refs/heads/master
2023-01-25T05:17:12.752556
2020-12-10T00:10:22
2020-12-10T00:10:22
288,610,904
0
0
MIT
2020-12-10T00:10:23
2020-08-19T02:14:35
Python
UTF-8
Python
false
false
999
py
from rest_framework_simplejwt.serializers import TokenObtainPairSerializer from rest_framework import serializers from .models import CustomUser class CustomUserSerializer(serializers.ModelSerializer): # email = serializers.EmailField(required=True) username = serializers.CharField() password = serial...
[ "bradgimbo@gmail.com" ]
bradgimbo@gmail.com
8fb8f659097c196eee6a7561dcac8717fe9cdaf9
56439ca26f3dbee25d8f6235a42f468ebd99171e
/app/forms/auth.py
abc3c4713ae015d881312ab52f4110d09868692a
[]
no_license
neoxie86/MyFisher
5dc99e4b78042e2f5ff96a28d67c1ae83fe074f5
0c8149c7fc463fef8429b8e45bbf100d6ea9a6c6
refs/heads/master
2020-04-09T16:20:07.084516
2018-12-05T03:01:51
2018-12-05T03:01:51
160,450,834
1
0
null
null
null
null
UTF-8
Python
false
false
1,935
py
# -*- coding:utf-8 -*- __author__ = 'neo' __time__ = '2018/10/17 17:31' from wtforms import Form, StringField, IntegerField, PasswordField from wtforms.validators import EqualTo, Length, NumberRange, DataRequired, Email, \ ValidationError from app.models.user import User class RegisterForm(Form): email = Strin...
[ "254903295@qq.com" ]
254903295@qq.com
ff7d9ed4af3973d932a2b3be2ac772b87842f9d0
77030ea51b143a4281cbe4b8b8de4d6214532c7e
/main.py
f4bfdda83d603457196f408654bcc49072a82935
[]
no_license
piotrbla/pyBoardGames
94ba96a9690e7daf57732a73f736449abb8680af
2c5a8cff1d4fa6db48417b2ce90333c5453834dc
refs/heads/master
2021-01-10T05:34:34.474301
2016-03-11T17:39:56
2016-03-11T17:39:56
52,916,790
0
0
null
null
null
null
UTF-8
Python
false
false
4,621
py
import pygame, sys from pygame.locals import * STICK_WIDTH = 50 BALL_WIDTH = 25 BALL_SLOWNESS = 6 SCREEN_Y_MARGIN = 60 SCREEN_WIDTH = 800 SCREEN_HEIGHT = 600 class MovingObject(object): def __init__(self, surface, x, y, image): self.x = x self.y = y self.surface = surface self.im...
[ "piotrb@gmail.com" ]
piotrb@gmail.com