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
1394089ab20c11f52252732ee758f7bf0d143bbb
7ee7f4b0efa8860af6caca1139c08d2e2238b6c1
/commpy/__init__.py
9ee2f919b485a2a44e50e341339d238ad1a28f2a
[]
no_license
deepcomm/RNNViterbi
e01c03fc90771359053f28e99911513cd1da5650
cd35bd3a76d3706405cfc1d7db134d255ee8ed8d
refs/heads/master
2020-12-27T06:41:37.107603
2020-02-03T22:49:16
2020-02-03T22:49:16
237,799,814
5
3
null
null
null
null
UTF-8
Python
false
false
453
py
""" CommPy ================================================ Contents -------- Subpackages ----------- :: channelcoding --- Channel Coding Algorithms [*] """ from commpy.channelcoding import * from commpy.filters import * from commpy.modulation import * from commpy.impairments import * from commpy.s...
[ "hyeji.kim@austin.utexas.edu" ]
hyeji.kim@austin.utexas.edu
3b1c05fd8dc7bece42a4b882b9fdd33db771b418
531afcf86432035d3cd71691a8bb7c5004a1b333
/zanalysis_datasets.py
8cf226a1eada99c532945010e5933763fa61b8a0
[ "Apache-2.0" ]
permissive
zbhoscar/submax
634b97023e002d8a6a44c8354abf9d3341da5bcf
725c4de09e182f9cd1c4afe93ad175464f5c7cea
refs/heads/master
2022-04-09T11:10:11.227441
2020-03-10T09:07:28
2020-03-10T09:07:28
184,966,911
0
0
null
null
null
null
UTF-8
Python
false
false
4,520
py
import data_io.basepy as basepy import os.path as osp import os import cv2 import shutil import numpy as np import json import time VIDEO_FOLDER_SET = basepy.get_2tier_folder_path_list('/absolute/datasets/anoma') VIDEO_FOLDER_PATH = VIDEO_FOLDER_SET[np.random.randint(0, len(VIDEO_FOLDER_SET))] # VIDEO_FOLDER_PATH = '...
[ "zbhoscar@gmail.com" ]
zbhoscar@gmail.com
21fac9c92edee289cb0cd6ac47ec200c26333b33
f1488e6ef39c538d732630144692e54f43b6258a
/tests.py
4b6f26f3255823639f03023ffff7e9a83a7c62fc
[]
no_license
lxxxxl/alice-cheerful-logoped
b3352a3e9a37bff6752d5174d84f4d771c9df4f0
8168fdcba932d94a90d55392c3cdc6494a71a919
refs/heads/master
2023-05-12T21:40:53.696712
2020-03-08T20:03:45
2020-03-08T20:03:45
244,963,607
0
0
null
2020-03-05T18:35:47
2020-03-04T17:34:47
Python
UTF-8
Python
false
false
4,137
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import unittest import json from api import app class BasicTests(unittest.TestCase): ############################ #### setup and teardown #### ############################ # executed prior to each test def setUp(self...
[ "lxxxxl" ]
lxxxxl
657f17c89bb380087b63af9fc39c0adbc2c84463
63bf6161532eefa72aa3be8b01cde601b08507dc
/python-mapping-example/fhir_model_generator/tests/model/relatedperson_tests.py
629062d82fc060e23224a32864793023ac5e11af
[ "Apache-2.0" ]
permissive
Healthedata1/mFHIR
4ef370b87e03e973918e5683977d32fe262655bc
1b4ea441cfa08b661416a3badedf7e90f2809163
refs/heads/master
2022-12-10T21:07:03.948406
2021-06-18T01:58:23
2021-06-18T01:58:23
129,964,251
9
5
null
2022-12-09T05:23:54
2018-04-17T20:57:15
HTML
UTF-8
Python
false
false
10,491
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.1-9346c8cc45 on 2020-02-10. # 2020, SMART Health IT. import os import io import unittest import json from model import relatedperson from model.fhirdate import FHIRDate class RelatedPersonTests(unittest.TestCase): def instantiate_from(s...
[ "ehaas@healthedatainc.com" ]
ehaas@healthedatainc.com
ae3b0f6fbfed6246dff1ab4e380ddf8fad098a64
83cd61155d998db3538a37614a22c122c78d9c46
/pharmacy/settings.py
e0ef1680f712b8ac1aef141f7122223fedbf1030
[]
no_license
outlaw1988/pharmacy
1835935d36da10c17c675b58a4c278a99f29e370
9f0a472fc9bc9bb336d8226092dbc32bdfc6042f
refs/heads/master
2020-03-13T09:07:32.494070
2018-04-27T18:30:46
2018-04-27T18:30:46
131,057,822
0
0
null
null
null
null
UTF-8
Python
false
false
3,332
py
""" Django settings for pharmacy project. Generated by 'django-admin startproject' using Django 2.0.3. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os ...
[ "kuba.zamojski@gmail.com" ]
kuba.zamojski@gmail.com
e73ceabed0d079b7c63d9736799a7379ecb68006
a8234f9eb07df3bbc45fd4073c8141d235477edb
/domirecords/myapp/domirecord/urls.py
62a2945f413810ecb7f7aa3542d4c3e73265b34f
[]
no_license
jelly-bdg/dominion
374b02915da7a883884fe62f095073c52c1a6ea7
6b6b7fbb087bec9e65fc996b0f65286549e713df
refs/heads/master
2020-04-28T07:57:55.203028
2019-03-31T09:16:08
2019-03-31T09:16:08
175,109,467
0
0
null
null
null
null
UTF-8
Python
false
false
451
py
from django.urls import path from . import views app_name='domirecord' urlpatterns=[ path('',views.Index.as_view(),name='index'), path('player/',views.player,name='player'), path('addplayer',views.addplayer,name='addplayer'), path('select',views.select,name='select'), path('gamestart',views.gamesta...
[ "sn.eleven11@gmail.com" ]
sn.eleven11@gmail.com
83c98a7314dbb6e447542e4db0c9c74799724ab0
28e8ab381a8c1b4321cd83acff6aa33468166d6b
/python3.4Smartforest/lib/python3.4/site-packages/django/db/models/fields/related_lookups.py
de10ef835e1b5bc97d453c1cbe325ee794746ac2
[ "MIT" ]
permissive
letouriste001/SmartForest_2.0
343e13bc085d753be2af43aecfb74a5fffaa5e3b
109b78bf1e8c8404800f377ab969395ccbb617be
refs/heads/master
2020-12-21T16:54:22.865824
2016-08-11T14:17:45
2016-08-11T14:17:45
59,734,259
0
0
null
null
null
null
UTF-8
Python
false
false
6,241
py
from django.db.models.lookups import ( Exact, GreaterThan, GreaterThanOrEqual, In, IsNull, LessThan, LessThanOrEqual, ) class MultiColSource(object): contains_aggregate = False def __init__(self, alias, targets, sources, field): self.targets, self.sources, self.field, self.alias = targets, so...
[ "aubert.christophe.pro@gmail.com" ]
aubert.christophe.pro@gmail.com
87b1ae108c976bad6ef8754350a675d2a52bf86d
f3c746212973faffc212885dcd313ecc2d2ec889
/myblog/models.py
d799428c4de25f99ed87f4145ee154a892a1c200
[]
no_license
alexandercallewaert/djangoblog
d4f04543d24baf0ce614eefcb1eb4112b3ce90ea
da8b08feeb760889c204c0b91a1b72cd4bfa241e
refs/heads/main
2023-08-02T18:25:28.250707
2021-09-23T13:06:28
2021-09-23T13:06:28
408,388,518
0
1
null
2021-09-23T02:45:44
2021-09-20T09:50:06
Python
UTF-8
Python
false
false
2,311
py
# This is our database - every time we add something new to our model we need to make a migration from django.db import models from django.contrib.auth.models import User from django.urls import reverse from datetime import datetime, date #python date stuff we can import from ckeditor.fields import RichTextField clas...
[ "alex.callewaert@outlook.com" ]
alex.callewaert@outlook.com
a4911a1f24ab11136cf935f1f45a6c8f96484be0
cd01fe623bed4d4459ae238de16d780d4cb01bfb
/ksp/ksp/middlewares.py
00b887ae0f9afe583a207944728f37f707bc86cd
[ "MIT" ]
permissive
lhm/ksp
d63fed4a9d14c1b4cc1930cc6b26a864dbbf0593
022db6c9a432a34c0ce3813b744ea4a3facd44aa
refs/heads/master
2022-08-16T22:25:19.738850
2019-11-28T11:33:19
2019-11-28T11:53:19
224,628,670
0
0
MIT
2022-07-29T22:38:16
2019-11-28T10:30:53
Python
UTF-8
Python
false
false
3,591
py
# -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class KspSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy act...
[ "lars.mai@kontinui.de" ]
lars.mai@kontinui.de
2c896f2e371789e95671bb85e89272c49208ec25
52f00638c8773b001da5a341e16abc05934457f8
/rlpyt/agents/pg/mujoco.py
0ac8ff5e3dad5ea0dc9f92de401c713934064014
[ "MIT" ]
permissive
abagaria/rlpyt
8e72dde5f3750c72da1fd8a97badf2c9691ea633
9d35217f2ecec60891753cf313d482d7887c16e1
refs/heads/master
2020-09-04T00:16:35.320779
2019-11-21T19:21:49
2019-11-21T19:21:49
219,614,849
0
1
MIT
2019-11-04T23:17:11
2019-11-04T23:17:10
null
UTF-8
Python
false
false
1,049
py
from rlpyt.agents.pg.gaussian import (GaussianPgAgent, RecurrentGaussianPgAgent, AlternatingRecurrentGaussianPgAgent) from rlpyt.models.pg.mujoco_ff_model import MujocoFfModel from rlpyt.models.pg.mujoco_lstm_model import MujocoLstmModel class MujocoMixin: def make_env_to_model_kwargs(self, env_spaces): ...
[ "adam.stooke@gmail.com" ]
adam.stooke@gmail.com
1998e71616f2f75fdc256a0ddc79aeaef493b0ae
620b9bc77a1721e20f8db3910ef150e48419820e
/PJ9/janestreet_train_model_other_target_V1.py
2715c7f5e9f8a9b1201d9f2aceb6e353f669410c
[]
no_license
Severac/openclassrooms
3b077ae35fbae59b545d0ee1947ebae63d086d79
ae6ff1db56f2c2846095528166996dfab0c49312
refs/heads/master
2021-07-18T01:53:12.051022
2021-02-21T10:50:10
2021-02-21T10:50:10
235,623,374
1
0
null
null
null
null
UTF-8
Python
false
false
24,913
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Sun Dec 20 00:25:25 2020 @author: francois V2 : With models from "21/12 matin" Best model identified at iteration 113 of hyperopt Visible in cross_validation_analyze_notebookV2.ipynb Model parameters got from convert_params_hype...
[ "[francois.boyer@gmail.com](mailto:francois.boyer@gmail.com)" ]
[francois.boyer@gmail.com](mailto:francois.boyer@gmail.com)
a8c9f7cf950293dcc4cd6b1a2029129783a07270
41bee87d712a9460ab2d79a7439cd9f98e861d63
/TgwlDataCenter/TgwlDataCenter/main/views.py
a4ea7f9d3fa2fca724acbb0daa9c2a22beb5e1aa
[]
no_license
liulixiang1988/iis_flask_demo
e72e209281441521b2b952dbf3547a5dc6507ec1
f1d77f363b64fc52859c83fbffb6da563df561c4
refs/heads/master
2021-01-10T08:12:20.164278
2015-11-27T01:59:45
2015-11-27T01:59:45
46,954,319
1
0
null
null
null
null
UTF-8
Python
false
false
949
py
# -*- coding:utf-8 -*- from datetime import datetime from flask import render_template from TgwlDataCenter import db from TgwlDataCenter.models import Fruit from TgwlDataCenter.main import main @main.route('/') @main.route('/home') def home(): """Renders the home page.""" fruit = Fruit(fruit=u"苹果") db.s...
[ "liulixiang1988@gmail.com" ]
liulixiang1988@gmail.com
efdc05ae3f9bc50cde207964b8126b00b992aea3
a351fd2ad2201d56a1547d318a9c0d122f74fed8
/write_test.py
871bf26f337ea500b59da40396b61dd16ba88d0d
[]
no_license
ushioda/python
047e3d3518c93c200b6989d5d5c60c8d26624da6
55c065bd8cd29a6d9ede3bd9ced95939ac8f5107
refs/heads/master
2021-01-18T21:22:52.898395
2013-12-27T06:33:12
2013-12-27T06:33:12
null
0
0
null
null
null
null
UTF-8
Python
false
false
181
py
#! usr/bin/python # -*- coding: utf-8 -*- if __name__ == "__main__": f = open("write.txt","w") f.write("Pythonでファイルに書き込みました!") f.close()
[ "yuu1023@gmaill.com" ]
yuu1023@gmaill.com
c37cbb42b98730c387a986d88d8fc690ad18bb4b
561abd0d79ca4f3db983f03d3ab4c4c88fad5fa2
/utils/tensor_utils.py
0ee1fb81c1dca4498922174d16fc7ad8e650b063
[]
no_license
dmadras/local-ensembles
84a5d471cdc030966616d8e65a23a2c355da8237
715636dd5e8cdffd98615bfab0411358dcf3482f
refs/heads/master
2021-07-16T10:43:45.564088
2020-09-25T13:31:51
2020-09-25T13:31:51
213,689,096
12
0
null
null
null
null
UTF-8
Python
false
false
2,554
py
"""Library functions for manipulating tensors.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as np import tensorflow as tf EPS = 1e-10 def reshape_vector_as(weights, vec): """Reshape vector vec to look like model parameters weights (...
[ "madras@cs.toronto.edu" ]
madras@cs.toronto.edu
0675a7e82f00c13dde5bb2af921db8747c34bf25
ca18d8953ab75d6921ff0ddf3c41459438b8cddd
/qwergram_bots/smtp/get_articles.py
ae50ac0ed376d7cff455c74a8cfa8640c7d8ea99
[]
no_license
qwergram/automatic-happiness
f00eb64f32947d88b0ea827fc515501ca38deebb
af86e6a5ca5300a6327a5cf6ace7c001f17e028c
refs/heads/master
2021-01-17T10:19:43.913698
2016-06-03T05:40:24
2016-06-03T05:40:24
58,597,301
0
1
null
2016-06-03T06:06:15
2016-05-12T01:39:52
Python
UTF-8
Python
false
false
9,073
py
"""Read emails from $EMAIL_ADDR and post them to the api.""" import imaplib import smtplib import email import datetime import time from smtp.email_template import EMAIL_CONTENTS from requests.auth import HTTPBasicAuth HOUR = 0 def http_get(*args, **kwargs): return requests.get(*args, **kwargs) def http_post...
[ "npengra317@gmail.com" ]
npengra317@gmail.com
b53d2f286de5a1b205945b55a50aeb6ec81b91fa
12b1d2f469b26c35ec302cca5d47acab49127ba3
/main.py
f9c9982a411eafa742f200555b0fffcccd8d3e19
[]
no_license
dinads/love
5fd213f2e4b66285c843b111263b2d89b80b2dec
2ebad85f5e821a9d0467e897447c6beaf56e5b57
refs/heads/master
2023-08-10T19:30:25.540389
2021-09-15T13:14:12
2021-09-15T13:14:12
406,770,751
0
0
null
null
null
null
UTF-8
Python
false
false
187
py
basic.show_arrow(ArrowNames.EAST) basic.clear_screen() basic.show_icon(IconNames.HEART) basic.clear_screen() basic.show_arrow(ArrowNames.EAST) basic.clear_screen() print("Love You") print
[ "90200168+dinads@users.noreply.github.com" ]
90200168+dinads@users.noreply.github.com
084e4cf81257ae12d846254bbff0055434fc7d89
e97e727972149063b3a1e56b38961d0f2f30ed95
/test/test_double_operation_resource.py
31eb32a0b4acb0777dcf050bca89159001193ac1
[]
no_license
knetikmedia/knetikcloud-python-client
f3a485f21c6f3e733a864194c9acf048943dece7
834a24415385c906732437970db105e1bc71bde4
refs/heads/master
2021-01-12T10:23:35.307479
2018-03-14T16:04:24
2018-03-14T16:04:24
76,418,830
0
0
null
null
null
null
UTF-8
Python
false
false
1,073
py
# coding: utf-8 """ Knetik Platform API Documentation latest This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com. OpenAPI spec version: latest Contact: support@knetik.com Generated by: https://github.com/swagger-api/swagger-codeg...
[ "shawn.stout@knetik.com" ]
shawn.stout@knetik.com
917010938e80ef32280ef259bf859093f122b1c9
6ef0b101ff226ff3e909becb44b1ffafe3dd5309
/Django_test/Django_test/settings.py
3c9c06b3654f94f304bc6cb6bb0d5fb886495ee0
[]
no_license
mengde0077/python_test_demo
c91b8dfeba829e3767f147a6418ac32f2a75f0a6
48f570fb46d52e44c08e6d7c4c16a5931d62b8ce
refs/heads/master
2021-11-17T21:48:59.117746
2018-01-31T02:37:57
2018-01-31T02:37:57
105,124,102
0
1
null
2021-09-30T05:21:39
2017-09-28T08:42:52
JavaScript
UTF-8
Python
false
false
6,184
py
# coding: utf-8 """ Django settings for Django_test project. Generated by 'django-admin startproject' using Django 1.8.17. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settin...
[ "caolinming@8dol.com" ]
caolinming@8dol.com
c6aa5bcfa3207156fbc6f75447b8effcf89810d1
74b29154b5b9eca0ec3449674b86faea753654b5
/network.py
eefd0789954a85117989c189e3595968e19e5396
[]
no_license
Hollow-user/FirstNetwork
4830e47065bb03152d6a0cf093c91e67d5d985be
62cf69727c335d3a1e808966b21aec68bb1c2ad4
refs/heads/master
2020-12-05T00:07:25.596678
2020-01-05T16:32:54
2020-01-05T16:32:54
231,945,561
0
0
null
null
null
null
UTF-8
Python
false
false
2,942
py
import numpy as np import sys class PartyNN: def __init__(self, learning_rate=0.1): self.weights_0_1 = np.random.normal(0.0, 2 ** -0.5, (2, 3)) self.weights_1_2 = np.random.normal(0.0, 1, (1, 2)) self.sigmoid_mapper = np.vectorize(self.sigmoid) self.learning_rate = np.array([lear...
[ "noreply@github.com" ]
noreply@github.com
d7c11080139ed0bff1800582fef010d1bedb96c7
15f321878face2af9317363c5f6de1e5ddd9b749
/solutions_python/Problem_201/1514.py
0f27373d40ddcd82cb07423f15c79eea3f3c6422
[]
no_license
dr-dos-ok/Code_Jam_Webscraper
c06fd59870842664cd79c41eb460a09553e1c80a
26a35bf114a3aa30fc4c677ef069d95f41665cc0
refs/heads/master
2020-04-06T08:17:40.938460
2018-10-14T10:12:47
2018-10-14T10:12:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
736
py
from math import floor, ceil def get_result(num, k): if num == k: return 0, 0 if num == 2: return 1, 0 if k == 1: if num % 2 == 0: return (num / 2), (num / 2) - 1 else: return (num - 1) / 2, (num - 1) / 2 num_1 = ceil((num - 1) /...
[ "miliar1732@gmail.com" ]
miliar1732@gmail.com
fcdf2db4affa1e45413c368a092f0df75aaaaa23
b5f3cf33dded5f95ce85c1ac8806dd3fea97cc2b
/my_companion/scripts/motionros.py
0e3d69295b048bf652a67049bda916189314a183
[]
no_license
Scott3142/my-companion-IoT-Robotics
606aafb5f0991ca2fbb50985ef84caeae07878ad
0eeb70d66888c33ead252a702fb95d5f94cdc08c
refs/heads/master
2020-05-06T14:05:58.474577
2019-04-05T00:34:46
2019-04-05T00:34:46
180,172,283
0
0
null
2019-04-08T14:55:27
2019-04-08T14:55:25
null
UTF-8
Python
false
false
2,492
py
#!/usr/bin/env python import RPi.GPIO as GPIO import time import datetime import requests import rospy class Motion: uuid = 0 sensorName = "" motion = 0 timestamp = "" # Set the GPIO naming convention GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) # Set a variable to hold the GPIO pin...
[ "vagrant@vagrant.com" ]
vagrant@vagrant.com
cc5a5c7ad6257e3032bdc1819d7a53e76cd1f7c9
a5040e0f19e648086c0434520926be690364484e
/exceptions/migration.py
2a261ef82ecd2fb89f363144e8a6360067f7316c
[]
no_license
santhu3064/python-programs
7cc626019cf61d8b047044a4fedef5f522bd5865
e3f23c97ce717002ba2f9bb6ee37e1cf1ec90eb8
refs/heads/master
2020-06-25T02:40:22.553860
2017-07-12T01:51:21
2017-07-12T01:51:21
96,953,469
0
0
null
null
null
null
UTF-8
Python
false
false
399
py
import ducks flocks=ducks.Flock() donald=ducks.Duck() daisy=ducks.Duck() duck1=ducks.Duck() duck2=ducks.Duck() duck3=ducks.Duck() duck4=ducks.Duck() duck5=ducks.Duck() percy=ducks.Penguin() flocks.add_duck(donald) flocks.add_duck(daisy) flocks.add_duck(duck1) flocks.add_duck(duck5) flocks.add_duck(duck3) flocks.ad...
[ "santhu3064@gmail.com" ]
santhu3064@gmail.com
a72dd150d1475fe03c5c20b44e11847fe671242b
dac93f567c3a81347bb2c2ebbb232e79be975fcc
/HelloYou/trello/playing-python.py
ca368cdfafd65d164777abddaea80356d16d2650
[]
no_license
sappieman/f1m1python
0780a22a9ee1357a5a8bc4de219165a96d79fee7
3b4f336fe2694f73cd79069132060cd65e2d4df2
refs/heads/master
2023-08-05T20:26:37.513632
2021-09-24T07:50:00
2021-09-24T07:50:00
407,466,826
0
0
null
null
null
null
UTF-8
Python
false
false
1,121
py
import datetime x = datetime.datetime.now() while True: print(x) print("Hello you!, ik ben python \n") c = input("Wie ben jij?\n") print(f"Hello {c}\n") if (input("do you want to repeat:") == 'y'): continue else: break print("Hoe oud ben ik (a) 16 (b) 17 (c) 20 (d) 1...
[ "basklaichid@gmail.com" ]
basklaichid@gmail.com
2615a6b7993de464bf6a665aaa82d4ef310527ad
3b000f0151807f0c9f1aa7cfa523c08bea47cff1
/rosalind_cons.py
0159981bbd616908c1378cde4581ca3fd3f99c33
[]
no_license
Pekmen/rosalind
da970f9b8f65430b7eafedf75be8c0993fb8cb0b
be63c83c22c3752da42de1e0c46288c97f5a6229
refs/heads/master
2021-01-18T16:42:45.820397
2017-03-30T22:56:01
2017-03-30T22:56:01
86,756,173
0
0
null
null
null
null
UTF-8
Python
false
false
1,189
py
import sys data = sys.argv[1] def dna_strings(a): with open(a, 'r') as f: dataset = f.readlines() matrix = [] dna_seq = '' for line in dataset: if line[0] != '>': dna_seq += line.strip() elif dna_seq != '': matrix.append(dna_seq) dna_seq = '...
[ "milanpekovic89@gmail.com" ]
milanpekovic89@gmail.com
76d9587e6d2da6a2ae65a1af0c795772945e3433
82b946da326148a3c1c1f687f96c0da165bb2c15
/sdk/python/pulumi_azure_native/batch/v20170901/outputs.py
452a83712bf6f04f51188e3ad3d12c90641da9b1
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
morrell/pulumi-azure-native
3916e978382366607f3df0a669f24cb16293ff5e
cd3ba4b9cb08c5e1df7674c1c71695b80e443f08
refs/heads/master
2023-06-20T19:37:05.414924
2021-07-19T20:57:53
2021-07-19T20:57:53
387,815,163
0
0
Apache-2.0
2021-07-20T14:18:29
2021-07-20T14:18:28
null
UTF-8
Python
false
false
90,752
py
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
[ "noreply@github.com" ]
noreply@github.com
cc55622fb0bae34e71799bea6f619242acfe06b6
cbbf86352c2731cd549d215de4b10a067863ca20
/backup/vtv_detail_v2.py
88ad0c51365095bddd56d2858cde56caaa27e307
[]
no_license
Reunion90/script
7bf820376f187e54a89d7b807adf7a85a8811a51
cde31b77ac87f0c7291528150212fdc3f609e92d
refs/heads/master
2020-06-10T13:25:45.586321
2019-04-05T01:42:46
2019-04-05T01:42:46
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,568
py
from bs4 import BeautifulSoup import urllib2 import shlex import os import wget from subprocess import Popen, PIPE from sys import argv import re def mysoup(link): url = urllib2.Request(link, headers={ 'User-Agent': 'Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0' }) page = urllib2.urlopen(...
[ "hadn@localhost.localdomain" ]
hadn@localhost.localdomain
588c530db8dc11cb0eb027273aecce2d9521f74c
35ed95b92f179458a7954ac5e26bd55b22f0e8ac
/typeclasses/objects.py
26226d127c0d5fd1629ab4d295b3495cfc6adfe8
[]
no_license
CloudKeeper/SimpleEvennia
1c1123500c502fbcd37195cc7a860dbc807494a9
a75e99eff95a18cee1bd1c46768f251deed89cd8
refs/heads/master
2020-04-15T10:55:43.420649
2019-01-29T10:14:35
2019-01-29T10:14:35
164,604,660
0
0
null
null
null
null
UTF-8
Python
false
false
71,594
py
""" This module defines the basic `DefaultObject` and its children `DefaultCharacter`, `DefaultAccount`, `DefaultRoom` and `DefaultExit`. These are the (default) starting points for all in-game visible entities. """ import time import inflect from builtins import object from future.utils import with_metaclass from col...
[ "Cloud_keeper51@hotmail.com" ]
Cloud_keeper51@hotmail.com
8cac4644eff66d8248b36ad0fe230a008a9a7619
ae1870a6da50a292f86aa631acbea5b02bf7e057
/mootdx/contrib/pytdx/trade/trade.py
ccb2911feeec4ef82a12d7e6e4fbb17821b5b43b
[ "MIT" ]
permissive
sxlxnyw/mootdx
30ccbfd362836b78326997fdade1b072cac02b6e
dd3065f3189eacc0ba6efbd17f60e9848bbffcd4
refs/heads/master
2022-11-27T17:46:15.388082
2020-08-06T06:45:06
2020-08-06T06:45:06
288,402,383
2
0
MIT
2020-08-18T08:43:53
2020-08-18T08:43:52
null
UTF-8
Python
false
false
8,507
py
# -*- coding: utf-8 -*- """ Created on Mon Aug 21 14:24:31 2017 Trade 模块需要配合TdxTradeServer使用... @author: RainX """ import base64 import json import urllib import requests from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes try: fr...
[ "ibopo@126.com" ]
ibopo@126.com
699d4b30bf8376a568fb200f49436cb738b94a76
aee461641f02538349f5b4302dd1cd017b76af2d
/Test_Sequences/Test_Sequence_1_sfp28.py
731ac91b1cc1f9fb69f864a1b5344cecbce8b9c4
[]
no_license
mabiasio/Python_Code
b097a16f00402e5d3a34f677a1e2e873c7f79fab
78f27b4f38fb316b2211972ace4075da9b124144
refs/heads/master
2021-07-05T23:07:58.784693
2019-01-08T09:41:10
2019-01-08T09:41:10
129,897,100
0
0
null
null
null
null
UTF-8
Python
false
false
2,432
py
import pymsgbox from Modules.sfp28 import * from Instruments.Fluke_8846A import * from Instruments.KikusuiPBZ20 import * from Instruments.Agilent33600A import * from Instruments.DLI100G40G import * import time import os module = sfp28() psu = KikusuiPBZ20('10.58.241.170') gen = Agilent33600A('10.58.241.171'...
[ "mabiasio@cisco.com" ]
mabiasio@cisco.com
0d22c8f6d7503cf38f2627a47c3cc6599445d0af
68068af4357fae95ca2956699ccca2383e2b0c2c
/pavelstanlley/views.py
5d6be52c1c7aa6b91b5699d3390dd423d58c61f4
[]
no_license
Dawdud/Blog-application
74943a7766764158c837303e4c4acffcf6d6aa37
dc3a6e7ba88fc1f9c9606d62c996937959017e69
refs/heads/master
2021-01-20T02:41:22.696303
2019-04-24T20:37:33
2019-04-24T20:37:33
101,330,000
0
0
null
null
null
null
UTF-8
Python
false
false
7,082
py
# -*- coding: utf-8 -*- from datetime import date, datetime from django.forms import inlineformset_factory, formset_factory from django.views.generic.dates import YearArchiveView, MonthArchiveView from django.core.mail import EmailMessage from django.shortcuts import render, get_object_or_404,redirect, render_to_respon...
[ "dawdud12@gmail.com" ]
dawdud12@gmail.com
b717f05de1e0e54bd60253d3ac38a2e9a3a551f6
500c9bcb0879fabaa76bb43dd6735abfe01dafdd
/LightCollection4/scripts/generators/compound.py
71b94257ccbdbc5643bb8d4be7403d667990bf27
[]
no_license
korsch/PulstarEDM
9531b180503d75ce76263bdacb1a1f63f7a52656
7d40e497a2d67cf9f97382378fa1e469d5bf5917
refs/heads/master
2020-12-02T21:33:48.936891
2013-05-28T14:09:26
2013-05-28T14:09:26
null
0
0
null
null
null
null
UTF-8
Python
false
false
5,341
py
import re import math import logging import ROOT MAXDTWIST = 1. MAXDAXIS = math.radians(1.) class CubicVectorFunction: def __init__(self, a=(0, 0, 0), b=(0, 0, 0), c=(0, 0, 0), d=(0, 0, 0)): self.a = a self.b = b self.c = c self.d = d def evaluate(self, x): return tu...
[ "korsch@pa.uky.edu" ]
korsch@pa.uky.edu
d9b9c8823c677427d77502e621fbfe88fa2b7d6b
38fd9122468cb4c51d61612b4914636181537163
/s3browser/util/s3.py
bf9695eef5b0981b914c4a449d12a27037e15bac
[]
no_license
andrewgross/s3browser
e6a57e02ce217f578a78d1a27a63cc6747661cc4
0c4de3b04c87b9eae3a39990b1fec08e11d69201
refs/heads/master
2020-12-24T06:37:20.481133
2016-08-12T18:09:19
2016-08-12T18:09:19
62,003,432
14
0
null
null
null
null
UTF-8
Python
false
false
2,111
py
# -*- coding: utf-8 -*- from __future__ import unicode_literals import sys import datetime from boto.s3.connection import S3Connection def get_connection(access_key_id=None, secret_access_key=None): return S3Connection(aws_access_key_id=access_key_id, aws_secret_access_key=secret_access_key) def get_bucket(bu...
[ "andrew.w.gross@gmail.com" ]
andrew.w.gross@gmail.com
f73602fc7176e0e414791153af03ca93273f5dda
e8623f965f681504cc48b7492bdde706af46aa34
/Easy/minPlatformsReq.py
471d29e91f4cf74d0b5bdd1bca3f69774404cf3a
[]
no_license
ramesh1990/Python
a99ef9f831a23881b717822d95cc45f2670c7548
7c5930acfe8ae4256b8e9b1cd2263c2ab39bc957
refs/heads/master
2021-07-12T17:53:20.321966
2020-11-26T02:03:12
2020-11-26T02:03:12
224,340,707
0
0
null
null
null
null
UTF-8
Python
false
false
1,738
py
''' Minimum Platforms Medium Accuracy: 44.94% Submissions: 9950 Points: 4 Given arrival and departure times of all trains that reach a railway station. Your task is to find the minimum number of platforms required for the railway station so that no train waits. Note: Consider that all the trains arrive on the same day...
[ "noreply@github.com" ]
noreply@github.com
3c35bcfaf46f659f16ab6edd25c7a557f0c0b27d
735b6ae989d603d9d2d43f660392b8b57e5a21e9
/main.py
a0568c37dd356359476a2cda052d9402c0ef1a37
[]
no_license
Sirivasv/RouteFinding
44373f4d80f57f8c7bd57d9c2bfa4090135f6853
c61dff4d581a1f988efc403f05dce3e20c2684e4
refs/heads/master
2021-09-01T14:50:35.162545
2017-12-27T15:19:46
2017-12-27T15:19:46
107,785,083
0
0
null
null
null
null
UTF-8
Python
false
false
9,348
py
import PIL.ImageDraw, PIL.Image, PIL.ImageShow, PIL.ImageTk from particle import Particle from point import Point from Tkinter import * import random import math #Numero de Iteraciones General NI = 300 #Contador de Iteraciones dados (Esto es para pythonTK pero se puede solo poner el for y ya) NI_CONT = 1 #Numero de ...
[ "saul.ivan.rivas.vega@gmail.com" ]
saul.ivan.rivas.vega@gmail.com
5ccdd44f198681e4ee9b1d6ecf9549ed2f701a76
8a1f2438c720dad1832bca14efe1aa6f5cf160ca
/company/migrations/0005_auto_20210403_0654.py
cca93477c4956a72d1f46f412f6b2d88013c9f0c
[]
no_license
p-pravallika/Trestlelinks
6538a55cb768254f179265f8c9d97cea4a21483d
e7fe5b3c715f0d11f98318b500035e141e146dd2
refs/heads/master
2023-05-30T09:42:37.632536
2021-06-08T06:13:34
2021-06-08T06:13:34
374,905,426
0
0
null
null
null
null
UTF-8
Python
false
false
489
py
# Generated by Django 3.1.7 on 2021-04-03 13:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('company', '0004_auto_20210403_0235'), ] operations = [ migrations.AlterField( model_name='compa...
[ "pravallikapanuku22@gmail.com" ]
pravallikapanuku22@gmail.com
9e982601ccd822e532d434154506374e440896ab
5de7c06f978eef293e8537b612bdaa3039e1a260
/sublimescheme/generate.py
00c0c1ddee05391fa3c8ccb6c824cdcab51a3c90
[]
no_license
tushortz/sublimescheme
28d1c934f0f7899cd10ed47941480305392dbb2c
77cdb6b24288969328d12e27f7c64476762bba35
refs/heads/master
2021-01-01T19:43:12.437050
2016-01-07T01:27:15
2016-01-07T01:27:15
40,948,660
0
0
null
null
null
null
UTF-8
Python
false
false
9,447
py
import os _about = "A Vibrant Sublime text 2 and 3 Color Scheme" def _write(filename, text, value): filename.write("\t\t\t\t<key>{}</key>\n\t\t\t\t<string>{}</string>\n".format(text, value)) class Make(): def __init__(self, maindir, author=""): self.maindir = maindir self.author = author # Directo...
[ "taiwo.kareem36@gmail.com" ]
taiwo.kareem36@gmail.com
7df34a7945d927db1ba54191cce43ce9777be186
d5042c9341467c668bd1d3c3b9513bc24d1d2b43
/P9discovery.py
da50fa05ec510ebaf6af89cc643c4dcbe7467cc3
[]
no_license
williamsaunders/catcomp
af2d842f58c64b581fd224dec7ed68841128f6fb
4ce4c3fdc269afca2e697d295f3bc5e595e9da8f
refs/heads/master
2021-05-09T23:49:18.669463
2018-05-08T04:21:54
2018-05-08T04:21:54
118,811,073
0
0
null
null
null
null
UTF-8
Python
false
false
1,585
py
''' This program loads functions from discovery.py and runs the discovery step of the P9 search. Results are saved as pickle dump files to be read and plotted by P9discovery_plot.py ''' import numpy as np import matplotlib import astropy.io.fits as fits import pickle import sys import timeit from discovery import Tota...
[ "william.saunders01@gmail.com" ]
william.saunders01@gmail.com
e8472c68ec6878651ac49be60340f4dba01bf1ea
42a4544cdd7ba51f8e65d830ca88ce5c645690f0
/RotPy.py
c4af8de0bf6e67c1fe8d4227c74df7de52a0cf23
[]
no_license
andresGranadosC/RotPy
6b8884f3f4d6dd17c83e55e131ab2fce368826be
250bcfd26e06c1f172839833721a2b4b14389c7e
refs/heads/master
2021-01-12T04:51:57.673522
2017-06-19T05:31:23
2017-06-19T05:31:23
77,804,235
0
0
null
null
null
null
UTF-8
Python
false
false
20,277
py
""" RotPy.py - a Python-based tool for parametrizing galaxy potential by rotation curve Copyright (c) 2016 Andr\'es Granados 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"), t...
[ "afgranadosc@unal.edu.co" ]
afgranadosc@unal.edu.co
c5e3cf8ccaee00baf6e761221f47c8375c551c50
35b6013c1943f37d1428afd2663c8aba0a02628d
/enterpriseknowledgegraph/search/lookup_sample_test.py
14bb48921ebb2818291664e810db90c14a1145eb
[ "Apache-2.0" ]
permissive
GoogleCloudPlatform/python-docs-samples
d2a251805fbeab15d76ed995cf200727f63f887d
44e819e713c3885e38c99c16dc73b7d7478acfe8
refs/heads/main
2023-08-28T12:52:01.712293
2023-08-28T11:18:28
2023-08-28T11:18:28
35,065,876
7,035
7,593
Apache-2.0
2023-09-14T20:20:56
2015-05-04T23:26:13
Jupyter Notebook
UTF-8
Python
false
false
1,013
py
# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
[ "noreply@github.com" ]
noreply@github.com
4cfeab08ab200972a4abc69839391a1b8759a9f5
a6d11635018b2377b42613192d70d2c8e1d2f8f1
/app.py
75a998fe3279ad1a23779cea81110f446b8a41b8
[]
no_license
prasad-deepu/CDKLearn
e3bb332ec8dc8bd07f38159e3af3af503939f91c
f9cad259e895b6cbbcd66301d8803847a0226b4c
refs/heads/master
2023-04-02T09:38:32.203430
2021-04-09T06:26:36
2021-04-09T06:26:36
352,881,347
0
0
null
null
null
null
UTF-8
Python
false
false
1,288
py
#!/usr/bin/env python3 import os from aws_cdk import core as cdk # For consistency with TypeScript code, `cdk` is the preferred import name for # the CDK's core module. The following line also imports it as `core` for use # with examples from the CDK Developer's Guide, which are in the process of # being updated to ...
[ "prasad.deepu@gmail.com" ]
prasad.deepu@gmail.com
37a45c52b91896beee91d90f34516ad68b915cca
5138d214aa2e0c75a11b5e2a46f39dbaa2cc2b2a
/rebin_ndarray.py
a022f8ba489a32ab6cec63bea5381b27827d2077
[]
no_license
tanveerkarim/fermibubble
0d40d62c152ea42fd38b434f7b40cf4770dc1d09
e816d307abecfb1a1d44171e7ba84de73821226b
refs/heads/master
2021-05-01T20:18:36.943484
2017-04-11T18:52:07
2017-04-11T18:52:07
79,160,384
1
0
null
null
null
null
UTF-8
Python
false
false
1,316
py
def bin_ndarray(ndarray, new_shape, operation='sum'): """ Bins an ndarray in all axes based on the target shape, by summing or averaging. Number of output dimensions must match number of input dimensions. Example ------- >>> m = np.arange(0,100,1).reshape((10,10)) >>> n = bin_ndarray...
[ "mkarim2@u.rochester.edu" ]
mkarim2@u.rochester.edu
81d65050d33d6b004c72f393fd02acb491d41631
b01d08342d992d2435f85db207949d298d2ac867
/api/urls.py
c2f686801a3f6b75cbac73199e104674a614f8d8
[]
no_license
VladTrach/cut_url
75bbfbf45d95bccfe514ec4a0a8d4bf70cd0b9fc
ae03ae5b39b2b514f8f0e02973a6f6a53c623bbf
refs/heads/master
2023-04-30T11:27:35.617303
2021-05-16T22:33:21
2021-05-16T22:33:21
367,480,191
0
0
null
null
null
null
UTF-8
Python
false
false
124
py
from django.urls import path from api.views import FullUrl urlpatterns = [ path('get_full_url/', FullUrl.as_view()) ]
[ "vladyslav.trach@sensilabs.pl" ]
vladyslav.trach@sensilabs.pl
3d8b100d0852ed5683adb0bc932c9c6280e7107f
4284be4a4b694474de6794a1621cd44c0684341e
/Callclassfun.py
41362c920f046e9fcbf01ef92ae4ddc5416854eb
[]
no_license
aashishdalmiapython/automation
7ce224e75e90a04c1fceee2a13280bb0c30a4cf7
07af6be4e3448a10754d18de40bbc8afc68e4226
refs/heads/master
2022-06-19T16:35:53.393275
2020-05-09T09:24:57
2020-05-09T09:24:57
259,535,038
1
0
null
2020-05-09T09:24:58
2020-04-28T04:55:36
Python
UTF-8
Python
false
false
350
py
# With Inheritance we don't need to create the object of all the classes. # by just importing & creating the object of Child class, we can use the Parent class functions as well # Const import Inheritance3 trylogin = Inheritance3.three() trylogin.getusername() trylogin.getpassword() trylogin.getsubmit() trylogin.perfo...
[ "aashishdalmia10@gmail.com" ]
aashishdalmia10@gmail.com
5912bb8cc4ab32e13c1a71445a8f1361506ad24a
074ad395dee3d20ff9eee831aff9214a6fa2d255
/Server.py
c3712abbf2e479f7b5bc9d604843c540b7a9c541
[]
no_license
ssnatarajn98/TAMUHack
9d1b8bcd1058f69db4062a50dbc5ad46a3fb7821
814b705e57244d5158c697d4e9e0e4d69f8ed109
refs/heads/master
2020-04-19T01:43:40.102647
2019-01-28T02:04:50
2019-01-28T02:04:50
167,880,382
0
0
null
2019-01-28T01:32:53
2019-01-28T01:32:53
null
UTF-8
Python
false
false
4,375
py
from pymongo import MongoClient from bson.objectid import ObjectId from flask import Flask,render_template,jsonify,json,request from datetime import datetime import requests application = Flask(__name__) client = MongoClient('localhost', 27017) db=client['local'] @application.route("/addMachine",methods=['POST']) def...
[ "noreply@github.com" ]
noreply@github.com
6c515bedbe8ef9c17f4f2c6f00d02d9ba9fcf0e0
1f160e79c62bef69b7fbc8a9a221683d8ed78675
/ridt/config/configfileparser.py
bc50468c3476c180f53bb0048ae87f2345bffad9
[ "MIT" ]
permissive
JamesdeLisle/ridt
25407c16471675700e2cf5b0ad287543b708bdf7
c0288a2f814b2749bdf73de7157f7477ca271aff
refs/heads/master
2023-02-11T20:10:45.984977
2021-01-06T13:07:44
2021-01-06T13:07:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,824
py
import json from ridt.base import Error from ridt.base import SettingErrorMessage from ridt.config import RIDTConfig class ConfigFileParser: """The class which handles the configuration file parsing. This class handles the parsing of configuration files from disk, as well as the instantiation of the :c...
[ "james.delisle@riskaware.co.uk" ]
james.delisle@riskaware.co.uk
2fcd265f4cfb612be33f39b9c2a640b0e8ebb430
fd18ce27b66746f932a65488aad04494202e2e0d
/d11_spider/codes/Adv_Spider/Adv_Spider/spiders/baidu_request.py
2700834d6cf9b738aef84a4995acbedad18f4c50
[]
no_license
daofeng123/ClassCodes
1acbd843836e550c9cebf67ef21dfca9f6b9fc87
fbcd1f24d79b8bb56ad0669b07ad118064609612
refs/heads/master
2020-06-24T12:34:28.148197
2019-08-15T03:56:40
2019-08-15T03:56:40
198,963,469
3
0
null
2019-07-26T06:53:45
2019-07-26T06:53:44
null
UTF-8
Python
false
false
1,268
py
# -*- coding: utf-8 -*- import json import scrapy import scrapy.http class BaiduRequestSpider(scrapy.Spider): name = 'baidu_request' allowed_domains = ['fanyi.baidu.com'] start_urls = ['https://fanyi.baidu.com/sug'] def start_requests(self): # Request headers = { 'content...
[ "38395870@qq.com" ]
38395870@qq.com
adf0cc2196bdbb515fb5d136945637a4b1f67499
98d272360de15e6d630ae7bc2efb856726369e1a
/process/wordzzzz_rule_top_tmp.py
5dc26f30dc52ee871afac42c27f3ba1080d34f42
[]
no_license
WordZzzz/tianchi_location
692d3b90306e6e994d8615eea40d98253299e5b6
9736b39bd39359ba8dade36539248af919e218e6
refs/heads/master
2021-05-11T23:45:38.607913
2018-01-28T02:42:56
2018-01-28T02:42:56
117,518,557
2
1
null
null
null
null
UTF-8
Python
false
false
5,189
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2017-11-18 11:14:42 # @Author : WordZzzz (wordzzzz@foxmail.com) # @Link : http://blog.csdn.net/u011475210 # @Version : $Id$ import os import operator import pickle import pandas as pd import numpy as np import xgboost as xgb from xgboost.sklearn import XGB...
[ "wordzzzz@foxmail.com" ]
wordzzzz@foxmail.com
9126b93330541dcdf46466fcf2654d9be8715059
03a372a387ac4b076bc4b99fd34b5ddd8bd4ff96
/tip_calculator.py
114d0e1d32cd9c8723786079854c21a1b1392ebd
[]
no_license
mraines4/Tip-Calculator
b7c8bf5271672614b7b1f24fe396a79590e7fba8
ce0085efaff8869904aca100006563014c8a9fb6
refs/heads/master
2020-04-23T12:04:13.980448
2019-02-17T18:37:04
2019-02-17T18:37:04
171,157,241
0
0
null
null
null
null
UTF-8
Python
false
false
1,133
py
ask_question = True while ask_question: total_bill = input('Total bill amount? ') try: total_float = float(total_bill) ask_question = False except ValueError: print("try again bucko") ask_question = True while ask_question: service_level = input('Level of service? ') ...
[ "mraines4@DC-MacBook-Air.local" ]
mraines4@DC-MacBook-Air.local
615a7ce2809c9bdded6aa8d12c3fb35fe9b1ec63
d094ba0c8a9b1217fbf014aa79a283a49aabe88c
/env/share/doc/networkx-2.2/examples/drawing/plot_four_grids.py
9123bb27725a34a30be61f73d9402afefc496e05
[ "Apache-2.0", "BSD-3-Clause" ]
permissive
Raniac/NEURO-LEARN
d9274e0baadd97bb02da54bdfcf6ca091fc1c703
3c3acc55de8ba741e673063378e6cbaf10b64c7a
refs/heads/master
2022-12-25T23:46:54.922237
2020-09-06T03:15:14
2020-09-06T03:15:14
182,013,100
9
2
Apache-2.0
2022-12-09T21:01:00
2019-04-18T03:57:00
CSS
UTF-8
Python
false
false
838
py
#!/usr/bin/env python """ ========== Four Grids ========== Draw a graph with matplotlib. You must have matplotlib for this to work. """ # Author: Aric Hagberg (hagberg@lanl.gov) # Copyright (C) 2004-2018 # Aric Hagberg <hagberg@lanl.gov> # Dan Schult <dschult@colgate.edu> # Pieter Swart <swart@lanl.gov> #...
[ "leibingye@outlook.com" ]
leibingye@outlook.com
bb7d55ffa54851b938426d8c9eaed6897b6ed22f
702347798650c4f125fcd5291a52e51e9d20c63c
/tests/unit/nn/metaoptnet_test_notravis.py
e2e8af15910a1a99f10fb98283c6543c6b3cc3e5
[ "MIT" ]
permissive
learnables/learn2learn
8c8165297d9567450eb83f0591014de1da5f7363
db5cee3795490071282bbdfa81179ef732349196
refs/heads/master
2023-09-03T07:05:45.651636
2023-07-03T18:50:46
2023-07-03T18:50:46
201,314,421
2,397
352
MIT
2023-07-03T18:50:47
2019-08-08T18:22:41
Python
UTF-8
Python
false
false
1,381
py
#!/usr/bin/env python3 import unittest import torch import learn2learn as l2l from learn2learn.utils import accuracy IMAGE_SHAPES = (1, 16, 16) NUM_CLASSES = 10 NUM_SHOTS = 5 NOISE = 0.0 class SVClassifierTests(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def tes...
[ "noreply@github.com" ]
noreply@github.com
096fbf07b5cb8d4b07cd3918a01aeb698efdff46
ae5a387befa341619153b594eca4bc9abcc28c91
/VMData/MediaInfo.py
ce0fa1091982badd46323a19aac9d8270bf77346
[ "MIT" ]
permissive
sunil-thapa99/VMdata
a49c1ca6550f9c46881deafc0181e2258cadb622
fd4f310508c230ad8c63f7f3bc709949ab3655ef
refs/heads/master
2022-12-01T19:13:18.961225
2020-05-02T09:36:02
2020-05-02T09:36:02
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,045
py
import subprocess class MediaInfo: def __init__(self, video_file=None): """ Generic media property extraction class for extracting video properties in python. Attributes: video_file (str) representing the the path of video """ self.__video_file = vide...
[ "sunil.thapa@infodevelopers.com.np" ]
sunil.thapa@infodevelopers.com.np
e7673094484a774869b9941cef01c5ec91056777
4ca43f5f553fa5eba2e773975ea66bfef7095e06
/svm/实际应用SVC.py
287b0ce93998738f97a478e4069f202e947ca53e
[]
no_license
a715506891/python-Machine-Learning
61cc44300a7aa60165092b73bc5aa2f982e8039b
25d9c766757f5b3f31746be36369225c150d770b
refs/heads/master
2021-01-01T19:35:36.507173
2017-09-29T03:56:16
2017-09-29T03:56:16
98,616,789
0
0
null
null
null
null
UTF-8
Python
false
false
2,997
py
""" 非线性分类器 支持向量机 SVC """ import matplotlib.pyplot as plt import numpy as np from sklearn import svm from sklearn.datasets.samples_generator import make_blobs from tqdm import tqdm # 产生数据的函数 def create_data(centers, num=100, std=0.7): # scikit中的make_blobs方法常被用来生成聚类算法的测试数据 # http://datahref.com/arch...
[ "noreply@github.com" ]
noreply@github.com
440d855b454df7e8ab1a451e7f02e20bd603aecf
13fcd87f2883e9dad788f744fd04fc2e471735a3
/tests/handlers/test_room_member.py
6bbfd5dc843f13b1331051c350cd841d87f88a83
[ "Apache-2.0" ]
permissive
mosallaei/synapse
4a68dbf970e253784bfee56649145fa5198ed101
a16931f30db35241e6618ddfb14fda2459b4476c
refs/heads/master
2022-12-23T10:23:43.261704
2022-12-06T12:12:37
2022-12-06T12:12:37
256,815,572
0
0
Apache-2.0
2020-04-18T17:41:49
2020-04-18T17:41:48
null
UTF-8
Python
false
false
14,935
py
from unittest.mock import Mock, patch from twisted.test.proto_helpers import MemoryReactor import synapse.rest.admin import synapse.rest.client.login import synapse.rest.client.room from synapse.api.constants import EventTypes, Membership from synapse.api.errors import LimitExceededError, SynapseError from synapse.cr...
[ "noreply@github.com" ]
noreply@github.com
703e62e2db63fdf7b1f11b8d7276719c0d544cd9
3f9e960174cfc5c8bd6827ce5362124c467a3952
/python/data_structure/api_fields_values_histogram.py
09fed45101551344fdd765d4719736c3bf9bb234
[]
no_license
monobinab/python
f3ec6d462d7149c007ac9e14e72132eae73b4acd
265621b045969c819eb86fa7ba2a3bdfad34ecb6
refs/heads/master
2020-12-03T00:04:29.185880
2017-07-01T18:53:11
2017-07-01T20:06:16
95,982,002
0
0
null
null
null
null
UTF-8
Python
false
false
792
py
#!/usr/bin/env python #this script parses storm log files and creates pipe delilited storm log files import sys from datetime import date, timedelta, datetime #from dateutil import parser counts = dict() tmp_lst = list() # input comes from STDIN (standard input) for line in sys.stdin: client = "" try: ...
[ "monobina.saha@searshc.com" ]
monobina.saha@searshc.com
c5e637b0ef1201d42af96c25e413668ac23a38bd
45cc59f3d8fe7ffd0e922d079ca37573aafd2fda
/macros/use_macro_inline.py
7a68023efeadad202e50ea5afc39cafa6bb40537
[ "Apache-2.0" ]
permissive
douglasnaphas/play-jinja
ef3268771a9e9854ee1cdbcce36e4a4bcbe757d4
b2553b4a0458af12a2e7b299728c67f8a11d3b94
refs/heads/master
2020-09-17T09:28:58.897468
2019-12-23T19:46:58
2019-12-23T19:46:58
224,066,614
0
0
null
null
null
null
UTF-8
Python
false
false
220
py
# https://jinja.palletsprojects.com/en/2.10.x/templates/#macros from jinja2 import Template print(Template( """{% macro m1(in1) -%} saying {{ in1 }} within a macro {%- endmacro %}{{ m1("x") }} """ ).render(in1='hello'))
[ "douglasnaphas@gmail.com" ]
douglasnaphas@gmail.com
d3459dcec8eca1bdea41c5303abb2b093c423732
ff04336c5b5c35a10e0da589e7585effcb4d1990
/AutomaticStockTrading/MachineLearning/Script/Python/Keras/venv/bin/python.exe/Lib/site-packages/tensorflow/python/ops/math_ops.py
b0118d0e903ac1235ff41c2a0839531fd516e48f
[]
no_license
Jespertweriksen/automaticstocktrading
4eef539c10a81b5ee4bfbe35da1a125e728c2396
595ac073e977bd33e45848ea65053307d769737c
refs/heads/master
2023-06-06T08:52:34.687645
2021-06-23T21:02:12
2021-06-23T21:02:12
347,946,161
0
0
null
null
null
null
UTF-8
Python
false
false
186,302
py
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
[ "niklas@astne.dk" ]
niklas@astne.dk
b8ee834c227627fcf7b393dfe96650f1655dfff9
3f99a5ad811bb50a3a8000943199d21a150d5adc
/1.py
6997011a75dcd24ec1cb1a8293e9aed9591dd4a7
[]
no_license
attilasarandi/HaziFeladat
833516b27f40cf509c8a5b81291bd28aa65f8486
ea32d82bf393fdba8e393733de9712df0367388b
refs/heads/master
2021-04-29T12:25:40.318813
2018-05-04T17:22:20
2018-05-04T17:22:20
121,730,159
0
0
null
2018-04-16T18:35:37
2018-02-16T08:46:36
Python
UTF-8
Python
false
false
9,865
py
import math as mt def feladat_1(a,b): a=a+b b=a-b a=a-b print(a,b) def feladat_2(): a=int(input("első szám:")) b=int(input("második:")) c=int(input("harmadik:")) if a>b and a>c and b>c: print(c,b,a) elif a>b and a>c and b<c: print(b,c,a) elif a>b and...
[ "noreply@github.com" ]
noreply@github.com
42ada2d7c6110ce5569b9382743bbcae5c6b6bf5
e5301c8056d0ec51742f1b42158e39ede721278d
/docs/conf.py
4d9c2b25c6a36ddcede618ab0221c88810c97772
[]
no_license
SunilRanaMP/sphinxdoc-test
dca015bbe6182055b62351b651c70954d7f8cf63
f151798e1f86be829c5bfef01a5737bdf7cd9f28
refs/heads/master
2016-08-12T11:56:12.695465
2015-12-18T12:04:27
2015-12-18T12:04:27
47,865,217
0
0
null
null
null
null
UTF-8
Python
false
false
9,206
py
# -*- coding: utf-8 -*- # # testSphinx documentation build configuration file, created by # sphinx-quickstart on Mon Dec 14 19:54:02 2015. # # This file is execfile()d with the current directory set to its # containing dir. # # Note that not all possible configuration values are present in this # autogenerated file. # ...
[ "sunil.rana@mobileprogrammingllc.com" ]
sunil.rana@mobileprogrammingllc.com
3771a201b73d42edf636e5b428045ba1ac66f5c6
27e890f900bd4bfb2e66f4eab85bc381cf4d5d3f
/tests/unit/modules/network/fortios/test_fortios_wireless_controller_hotspot20_anqp_venue_name.py
bdf6ef323ce1aea195b6df34a3ba3bf890a406c3
[]
no_license
coll-test/notstdlib.moveitallout
eb33a560070bbded5032385d0aea2f3cf60e690b
0987f099b783c6cf977db9233e1c3d9efcbcb3c7
refs/heads/master
2020-12-19T22:28:33.369557
2020-01-23T18:51:26
2020-01-23T18:51:26
235,865,139
0
0
null
null
null
null
UTF-8
Python
false
false
8,760
py
# Copyright 2019 Fortinet, Inc. # # 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 3 of the License, or # (at your option) any later version. # # This program is distributed in the...
[ "wk@sydorenko.org.ua" ]
wk@sydorenko.org.ua
246f7e3ba7f6dd25ba307531bd7af5a603be58c7
802c002ecd90be6b489e0250ec4454a11c17ed1d
/src/homework/homework13/main_homework7.py
301a2f393bbefdf4b2ea9b60e17fa62bb2949b97
[ "MIT" ]
permissive
acc-cosc-1336/cosc-1336-spring-2018-EricScotty
3a088285ae853a9ff5d747f2301f755c5e3749b3
80c0249a583dc178cfc7bb95b851d7f3240dc3e9
refs/heads/master
2021-09-14T05:54:02.132705
2018-05-08T23:27:04
2018-05-08T23:27:04
118,071,042
0
0
MIT
2018-04-23T02:51:05
2018-01-19T03:22:13
Python
UTF-8
Python
false
false
969
py
from src.homework.homework7 import get_p_distance_matrix, print_get_p_distance_matrix ''' Write a main function to... Read p_distance.dat file From the file data, create a two-dimensional list like the following example: [ ['T','T','T','C','C','A','T','T','T','A'], ['G','A','T','T','C','A','T','T','T','C'], ...
[ "noreply@github.com" ]
noreply@github.com
c0f6420fce4ee4ec12bcb100f0867dec3b8d37b0
35b57a033703825d22fd722b33f35d0e5e2a0b52
/vidtoimg.py
6b9cc0a1d2d89410aabba8932b4c0633006f1e71
[]
no_license
Temujin18/vidtoimgseq
b0bfcf180f1a87a8b368f66ea329659843a6b541
89471e9abe6c06f8f547587bc48099ad34137d3f
refs/heads/master
2021-10-24T05:17:16.551339
2020-01-16T14:12:22
2020-01-16T14:12:22
234,334,316
1
0
null
null
null
null
UTF-8
Python
false
false
690
py
import cv2 import os from utils import createdir def convert(vidcap, rpath=os.getcwd(), framerate=0.5): rpath = os.path.join(rpath, 'results') createdir(rpath) def getFrame(sec): vidcap.set(cv2.CAP_PROP_POS_MSEC, sec * 1000) hasFrames, image = vidcap.read() if hasF...
[ "noreply@github.com" ]
noreply@github.com
412ee44eb88c7106d2b64880667d8dec35a4599e
7bade9d1277078b8b799e088d2c4682a24f3d8b4
/Listas_7.py
abe68fd5b7dc05fab03ab52ecfe04d6856a647c9
[]
no_license
evq1529/tarea_3
74d785773faf8eddeb5c9928f658b205a9d1e642
cdf892c2529a8edf0ecda864bd6919b0122f47f0
refs/heads/master
2020-04-21T04:12:03.522324
2019-02-05T21:11:51
2019-02-05T21:11:51
169,306,357
0
0
null
null
null
null
UTF-8
Python
false
false
741
py
# Ejercicio de listas 7 # Método para crear la lista def crear(): n=int(input("Digite la cantidad de palabras de la lista: ")) lista=[] for i in range(n): lista.append(input("Digite la palabra número {}: ".format(i+1))) return lista #Método de eliminación por componente def eliminat...
[ "noreply@github.com" ]
noreply@github.com
bb0e28f4bed5293ad6cc7e5fb6c3c78e86a6a067
0e724918d493e626e73b7b92af862e181af76f8d
/myapp/infsoc/migrations/0017_auto_20180708_2019.py
0808c8cb9e367e9841411476f38edb375fdbfadd
[]
no_license
frsalasr/informaticaSociedad
93ded9933e91685c5756dfda5d3a481d49245621
6f5e007aef67b495701ffa1c9467396ea2d2ef44
refs/heads/master
2020-03-22T15:16:56.799526
2019-05-16T21:52:56
2019-05-16T21:52:56
140,240,478
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
# Generated by Django 2.0.6 on 2018-07-08 20:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('infsoc', '0016_auto_20180708_2014'), ] operations = [ migrations.AlterField( model_name='transaccion', name='estado'...
[ "frsalasr@gmail.com" ]
frsalasr@gmail.com
631b828c949285b02a785235bccb39172c540a78
8364101dca4217dc59b8f2fe7eb332779331a51b
/ml/search.py
19206ad2f5b236fdc17e4b9d6ac4cfb9eb4225b4
[]
no_license
RHDZMOTA/TalkingDataChallenge
aebb294047d81b9b863577998c2e740a07762c20
e15fc29d291ea935d953758ba0bcd58d2d570a65
refs/heads/master
2022-12-10T10:13:45.779539
2018-05-04T20:01:02
2018-05-04T20:01:02
131,624,971
0
0
null
2022-12-08T02:04:16
2018-04-30T17:21:40
Python
UTF-8
Python
false
false
2,809
py
import gc import numpy as np import pandas as pd from util.timeformat import now from conf.settings import FilesConfig from ml.evaluate import evaluate_model from ml.models import XGBoost, SparkModel def get_config(model): if model == "xgboost": return { 'eta': np.random.uniform(0, 1), ...
[ "rohdzmota@gmail.com" ]
rohdzmota@gmail.com
7bd38216ab778e3afaf00fe52d4e142572267d0c
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03862/s008273879.py
920a1b732a14199ec1f52a59849810aee0710dc2
[]
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
210
py
n, x = map(int, input().split()) A = list(map(int, input().split())) ans = 0 for i in range(n - 1): if A[i] + A[i + 1] > x: ans += A[i] + A[i + 1] - x A[i + 1] = max(x - A[i], 0) print(ans)
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
d7a6e53665516eaeca9a739c308de9b555636ec1
2b58e395df4aa882abad9bbf3b58ab1f3633a3ba
/task/base/migrations/0006_auto_20160327_1857.py
bf0fd8dc2b5e852332ac0d7be7ea6b2c948ca356
[]
no_license
artstyle46/dryve_task
66981e9403825c55c026c91553e9b07a508f9529
728ca6e6c9b8a726912d09b565652787bc30c15e
refs/heads/master
2016-08-12T03:48:33.142736
2016-03-28T15:24:51
2016-03-28T15:24:51
54,900,848
0
0
null
null
null
null
UTF-8
Python
false
false
1,330
py
# -*- coding: utf-8 -*- # Generated by Django 1.9.4 on 2016-03-27 18:57 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('base', '0005_auto_20160327_1547'), ] operations = [...
[ "asit1992@gmail.com" ]
asit1992@gmail.com
bb299686a8e1f9c1a2430bb96e40f40c33d7007c
074914264255f529d5ffe9595ea399426bdb907e
/8Operators.py
f539709a9b1a2e303be24dbd011c80a9372ab598
[]
no_license
Gayathri1610/MyPython
29d932bd8e69fbf2aeefe0edbaa28b39931e9fb2
68876ebad96698e74587dc6b6a7eef16efcccca5
refs/heads/master
2022-12-14T05:57:55.984321
2020-09-20T09:46:16
2020-09-20T09:46:16
287,753,475
0
1
null
null
null
null
UTF-8
Python
false
false
27
py
x = 4 y = 2 x +=3 print(x)
[ "gayathrinalla0816@gmail.com" ]
gayathrinalla0816@gmail.com
448eacba92468c7485dc421d1c585b2c6222c450
fdbe163c4313d4a9fadc738f79ccdd7a804b6030
/libs/losses.py
5a62dec31daa22b5e5093a4b232c09db330b5df1
[ "MIT" ]
permissive
devbruce/yolov3-tf2
bcd87f1c4de4c12fcfcd669430fb7b1834689361
2361685cc8a12f341de441bb3462eb3e7a825bc4
refs/heads/master
2023-07-13T13:29:33.394392
2021-08-25T06:12:59
2021-08-25T06:12:59
374,917,653
2
0
null
null
null
null
UTF-8
Python
false
false
2,694
py
import numpy as np import tensorflow as tf from libs.utils.calc_ious import bbox_giou, bbox_iou __all__ = ['get_losses'] def get_losses(pred_raw, pred_decoded, label, bboxes, stride, iou_loss_thr, num_classes): """ Args: pred_decoded: decoded yolo output pred_raw: raw yolo output """ bat...
[ "bruce93k@gmail.com" ]
bruce93k@gmail.com
54fc09e44c2b05f9264167c4eb7d59165686635c
7d6e5987f14cb0d44d7ee5f9d4238e3782571211
/PixieBoardGPSLocation.py
b96ac2a7cda3bc12117a895696dbe957c6f5d3b5
[]
no_license
rhimmelbauer/PixieBoardIoTCoreExample
d4b9b678cc7305b876a8e82512a54ed43711207d
2d7d345565fdcc7983abb50c47a2a767929635ed
refs/heads/master
2020-03-30T11:22:55.287866
2018-10-01T23:13:52
2018-10-01T23:13:52
151,170,313
0
0
null
null
null
null
UTF-8
Python
false
false
3,399
py
import subprocess class PixieBoardGPSLocation(): def __init__(self): self.PIXIE_BOARDS_PASSWORD = "pixiepro" self.COMMAND_OK_CALLBACK = "OK" self.ENABLE_AT_COMMAND = "echo 'ATE1' | socat - /dev/ttyUSB2,cr" self.SESSION_STATUS = "echo 'AT+QGPS?' | socat - /dev/ttyUSB2,cr | grep '+QGPS:'" self.STOP_SESSI...
[ "robertohimmelbauer@Robertos-MacBook-Pro.local" ]
robertohimmelbauer@Robertos-MacBook-Pro.local
1dbb1088e45851aaa83d57c2a6646e4158d3da5a
d746f9f262961fd4c65eb332d8325f7fdacf3757
/dingureu/settings.py
f9c67e688925e9835faf2ffc1592a29418a4d0d6
[]
no_license
Ganodab-Brothers/dingureu-django-backend
c69c84e48c64874bb283fec07dee2c203fca6b08
2aa37bbdd5c8b003b0e73854c2eca23a3deccb06
refs/heads/master
2023-04-20T21:10:26.686591
2021-04-28T00:33:39
2021-04-28T00:33:39
359,873,187
0
0
null
null
null
null
UTF-8
Python
false
false
3,866
py
""" Django settings for dingureu project. Generated by 'django-admin startproject' using Django 3.2. For more information on this file, see https://docs.djangoproject.com/en/3.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.2/ref/settings/ """ from pathlib ...
[ "code.yeon.gyu@gmail.com" ]
code.yeon.gyu@gmail.com
d07efcfad73b8b6b019d3596b9c2b98a430f2543
b5d039616477e9e2c4dce00be556cabba4fa13a5
/node_modules/fsevents/build/config.gypi
0283209583fda66606a1f84f081c9cdea04f7e43
[ "MIT" ]
permissive
Eyo123/FinalY3000project
cdea92a543b5be045eced955a3d6225c5a00f7ca
c7d72034aa6b99954ea917d9d23af415eb3a27cf
refs/heads/master
2023-07-03T00:41:29.241403
2021-08-06T17:57:02
2021-08-06T17:57:02
364,869,090
0
0
null
null
null
null
UTF-8
Python
false
false
5,689
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, "build_v8_with_gn": "false", "coverage": "false", "dcheck_al...
[ "mopao@EYorekons-MBP.localdomain" ]
mopao@EYorekons-MBP.localdomain
5a630653d4b04b9ecd15a9ed0919c37f194f8dc6
2bcba547c1e5e18663969c608c15b0c3ab3d7765
/Module3/Day40/module3_day40_image.py
cf5ccc813547e06a0c9c53deb2135119aaf17a04
[ "MIT" ]
permissive
btruck552/100DaysPython
98c355e13b1824468b1ab9c9ce1ec7a904c2fd3e
1e45a10387da6d4ebdf8aa5fe13843a4509c8b62
refs/heads/master
2020-05-30T09:38:34.415282
2019-07-08T19:53:15
2019-07-08T19:53:15
189,650,630
1
0
MIT
2019-07-08T19:53:17
2019-05-31T19:52:20
Python
UTF-8
Python
false
false
3,017
py
""" Author: CaptCorpMURICA Project: 100DaysPython File: module3_day40_image.py Creation Date: 7/6/2019, 4:11 PM Description: Python Automation Program 12: Image Manipulations """ import os from PIL import Image os.chdir(".\\images") # The `.open()` function is used to...
[ "kevin.zufelt@gmail.com" ]
kevin.zufelt@gmail.com
b4bd4a4236f07b79e9c83213ee329bb59654db67
8d051ad90edc2a62b0938859e09d299ef6a7475b
/common/read_excal.py
5438274657ad786767d44c28bfd15c3bd32749a4
[]
no_license
Lkamanda/Android_Test_Ui
2768ff6095aeae018472c12d701393103d1971be
0bff4eb751a83884052eec9d1b2d130d31ac48cb
refs/heads/master
2023-05-11T07:03:38.371549
2020-04-04T12:47:03
2020-04-04T12:47:03
249,370,064
3
0
null
null
null
null
UTF-8
Python
false
false
1,075
py
# @Time : 2020/3/22 10:23 # @Description: 读取 excal import xlrd import os from common.custom import gsb class ReadExcal(object): def __init__(self): excalP= "{0}{1}testData{1}".format(os.path.dirname(os.path.dirname(__file__)), gsb()) excal_path = os.path.join(excalP, 'test.xls') ...
[ "18612463553@163.com" ]
18612463553@163.com
415afafae8f4ff49384a3f05f62f86edc19498b1
bec533ff40a84418be95d503da2854a4631ac75c
/dbf/ver_32.py
0a49ab48969fcd588add61133064b5a1260936e0
[]
no_license
wenzhihong2003/dbf
1909bf789349cbd1e2fd0188083cf0cee4efa526
ee10d8aa02e25d11c4ea17285955ec48752a3231
refs/heads/master
2021-04-28T23:52:28.222580
2016-12-31T04:10:50
2016-12-31T04:10:50
77,724,255
2
0
null
null
null
null
UTF-8
Python
false
false
280,171
py
""" ========= Copyright ========= - Portions copyright: 2008-2012 Ad-Mail, Inc -- All rights reserved. - Portions copyright: 2012-2013 Ethan Furman -- All rights reserved. - Author: Ethan Furman - Contact: ethan@stoneleaf.us Redistribution and use in source and binary forms, with or without modificatio...
[ "wen66@126.com" ]
wen66@126.com
5bd4bdbfa74780b2f373c9420deaba5ad69c7f43
3e45b105fc573cf49470bdcaea1a74c554ec03fa
/myvenv/bin/flake8
cce4fbce0134351bc254add2ccf750f8f76a4885
[]
no_license
Jesse0617/TEST_PR
4b0b9f894c3e989fa0f9e920241f6613bb05e481
ee328f3ef548025a5e27fd4c572f71544c567607
refs/heads/master
2021-07-04T06:42:00.534640
2018-07-29T19:40:52
2018-07-29T19:40:52
134,716,724
0
0
null
2018-09-19T16:36:29
2018-05-24T13:06:56
Python
UTF-8
Python
false
false
261
#!/Users/hiratatetsuya/Dev/flask/flask_api/myvenv/bin/python3 # -*- coding: utf-8 -*- import re import sys from flake8.main.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "zaiyastudent@gmail.com" ]
zaiyastudent@gmail.com
61e72993c369974a591a9b2387c9fdb11e0b4741
062bfb53360627ddd456a078989bd8d7234f410f
/cmpiler_lab_5/to_mips/complete_demos/dowhile.tac
370185746f6f4f284d0d2cd2fb622789cdf43e50
[]
no_license
Debangshu-Banerjee/compiler
184eea3e3b179a7c5a974a9e58b37f9bac14d708
4defaf798ba1e6aef090e2a1efc27c9c01ad4f1d
refs/heads/master
2020-04-20T21:15:56.156230
2019-04-29T18:34:08
2019-04-29T18:34:08
169,103,845
0
2
null
null
null
null
UTF-8
Python
false
false
254
tac
0000 Function: main 0001 BeginFunc 0 0002 Init: ctr int 10 0003 _LABEL1: 0004 _TEMP1 := ctr 0005 PushParam _TEMP1 0006 FuncCall print_int 4 0007 _TEMP2 := ctr 0008 ctr := ctr - 1 0009 if ctr >= 0 goto _LABEL1 0010 goto _LABEL2 0011 _LABEL2: 0012 EndFunc
[ "noreply@github.com" ]
noreply@github.com
0f0263830fa4a1715bcfde6ee566fc46a785044f
65c2cdc188e44fa10e1127c0bb4b9bf890f0e297
/params_test.py
91588c0cc965493b47a2771de87b88bc6a94ce98
[]
no_license
ishubham326/Pacemaker
dc7eb7339a37bd5bcee51903d0621cdd70ea00c0
e760dd7769386cc788222fb2a35bcb3e6c2e04c6
refs/heads/master
2020-07-02T23:16:30.273591
2019-08-11T01:34:20
2019-08-11T01:34:20
201,702,544
0
0
null
null
null
null
UTF-8
Python
false
false
15,019
py
import pytest # run pytest in the directory to run all tests in the file from params import params as p from params import params_by_pacing_mode # these are only put in scope for testing (normally don't do this) from params import NonNumericParam, NumericParam class TestNonNumericParam(): def test_i...
[ "noreply@github.com" ]
noreply@github.com
c777cef7ba6a63917c12608805d06a467c6cfa0f
3aa842c8bec49ba2248b5ff2ce9dc63b21476758
/test_mptt/test_mptt/settings.py
b4032715f3961aeb6b5f4f106a6c5c5882e2fcb3
[]
no_license
psachin/django-practice
e905526c9533a946851df3ca363228070e954d09
674eb577b46002ae6e3c73a7557958c4103a8f63
refs/heads/master
2021-03-12T19:38:49.213060
2014-06-26T03:32:28
2014-06-26T03:32:28
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,889
py
# Django settings for test_mptt project. DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@example.com'), ) MANAGERS = ADMINS DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'test_mttp.db', } } # Hosts/domain names...
[ "iclcoolster@gmail.com" ]
iclcoolster@gmail.com
651237ce3104a4d44722f7c75a12ee6769a94487
ca7aa979e7059467e158830b76673f5b77a0f5a3
/Python_codes/p03937/s470682175.py
1480749348da6cfb1296018b442d2120f2ab5b1e
[]
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
539
py
H,W=map(int,input().split()) field=[] for i in range(H): s=input() a=[] for j in range(W): a.append(s[j]) field.append(a) def dfs(x,y): field[x][y]='.' dx=[0,1] dy=[1,0] for i in range(2): nx=x+dx[i] ny=y+dy[i] if 0<=nx and nx<H and 0<=ny and ny<W and fie...
[ "66529651+Aastha2104@users.noreply.github.com" ]
66529651+Aastha2104@users.noreply.github.com
660c90d280429bb0f6da3720d39c43625bcab66c
1b35f8bf72579f9b6fd6658678a3f55adb4a7766
/start_chat.py
f50475da8526146f9365e55de1355185d730ff58
[]
no_license
Aarushjoshi95/spychat
946402b92f09cab1c70652b0d59e5d20719fac65
5e4ca0d174aa2d45df371e1971fe85988327af8e
refs/heads/master
2021-01-02T09:23:38.486107
2017-09-21T14:34:38
2017-09-21T14:34:38
99,204,974
0
0
null
null
null
null
UTF-8
Python
false
false
2,815
py
from add_status import add_status from add_friend import add_friend from send_a_message import send_a_message from read_a_message import read_a_message from send_message_help import send_message_help from read_chat_history import read_chat_history from termcolor import colored #function shows the main menu of th...
[ "noreply@github.com" ]
noreply@github.com
c3759b718c25ccdc2793cf37a60170698430a597
1706a6ad4902f661379982b3aa97225b55a4d795
/interface/button.py
29eaa3f619762334a45307fcda6e7d677abc765b
[]
no_license
houcha/the-lord-of-the-strategy
f3fdc293cfac8794409c6a95f595dfa907f4b46e
ae0f0748dcc9204ad2c76ada14504e0bdd123c2d
refs/heads/master
2020-05-03T06:15:29.212975
2019-07-22T14:07:39
2019-07-22T14:07:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,369
py
""" This module contains buttons which represent commands in the game. """ from abc import ABC from typing import Tuple, Callable, Text import pygame # project modules # import exceptions from interface import message from interface import click_handler from interface import interface_configs as configs from windows ...
[ "baiuk.is@phystech.edu" ]
baiuk.is@phystech.edu
fc7991814e1fe607b305d4b6c4e2ef75be4615d4
8ab5f490274bbbffbc94bdb4b743c81a853d5d3f
/entertainment_center.py
56d58b9f8b25210b66f519d0bce7c8290cbd0a02
[]
no_license
TheChefGuy/movie_trailer
0b8fbb86080d68850153189ca6d9aee18f9d7300
df60af4a68a07b99576b269a9a0a6df359f30598
refs/heads/master
2021-01-16T18:10:29.721913
2017-08-11T20:27:45
2017-08-11T20:27:45
100,040,706
0
0
null
null
null
null
UTF-8
Python
false
false
1,833
py
import fresh_tomatoes import media toy_story = media.Movie("Toy Story", "A story about a boy and his toys that come to life", "http://upload.wikimedia.org/wikipedia/en/1/13/Toy_Story.jpg", "https://www.youtube.com/watch?v=KYz2wyBy3kc") #print(toy_...
[ "madeforonebox@gmail.com" ]
madeforonebox@gmail.com
971c5d6a9227af10abc30e2e0b6c854938170774
25eb13e2199f3e63bffed53b7548076e4e957ff4
/HackerRank_challenge(Symmetric Difference).py
f75ee30391d07edcb6de44480325f9d3bd2969c6
[]
no_license
felsen/felsen-test
9e8518c2c7348bf1e4e223ee30465866eb8ab56a
8e2cfab4d33cbddaa6d84a3031ef50401ab4f6c9
refs/heads/master
2021-05-25T10:35:35.020888
2021-02-23T08:48:22
2021-02-23T08:48:22
34,454,945
0
0
null
null
null
null
UTF-8
Python
false
false
430
py
a = raw_input() b = raw_input() c = raw_input() d = raw_input() e = list(map(int, a.split())) f = list(map(int, b.split())) g = list(map(int, c.split())) h = list(map(int, d.split())) i = [x for x in set(e).difference(set(g))] + [y for y in set(g).difference(set(e))] j = [u for u in set(f).difference(set(h))] + [v fo...
[ "felsen88@gmail.com" ]
felsen88@gmail.com
b60ad10cd0aae4cf3365e97f3f60b046de2a18bf
43449c688dc6adc7c8e5b8fcd71ea8f21bf58e1a
/queryhandler/__init__.py
2b85e3f868af140c5cbad30a4f8a86fdadf1d4c4
[]
no_license
publicres/zijingzhisheng
81283319d8c512eafa4f1703defb1cc92b242e58
776e369b9cc8acdafa43c76b86f1e075bd852318
refs/heads/master
2020-11-26T18:32:59.530475
2014-11-13T03:19:54
2014-11-13T03:19:54
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,749
py
#-*- coding:utf-8 -*- import urllib import xml.etree.ElementTree as ET from django.utils.encoding import smart_str from weixinlib.base_support import check_weixin_signature from queryhandler.tickethandler import * from queryhandler.bglg_restem import * from queryhandler.query_transfer import get_information_response h...
[ "zly.george@163.com" ]
zly.george@163.com
eb08d9f6f948422b502827a11f09cf88a24adb8d
3d8a2251504164a9a7ffa6484a2ed7933ea3c590
/pil_tester.py
65fd663247943f3520e333fc3ee6415986839622
[]
no_license
kjergens/NextGen
6b05187b10a867827c18c9a7d5a78a8cd6ab2bf2
b98d2ed8288713a7f522608e56b19816a7cf0f5e
refs/heads/master
2020-03-23T08:19:43.333176
2018-07-19T16:45:44
2018-07-19T16:45:44
141,320,376
0
0
null
null
null
null
UTF-8
Python
false
false
18
py
import PIL PIL.
[ "katie.jergens@gmail.com" ]
katie.jergens@gmail.com
e58c18ae7deb5e3276db3668b31f0aac64272045
8ea7912401d3f609765738f38b44561e4b2dbd5f
/tests/__init__.py
efa5acf44b1b4a1e8786eee4fbe0aab916e05cd1
[ "MIT" ]
permissive
zeroam/sshmng
1b46099ef6d9b174e7debf64e35663c6998b01c9
c3b705aeb6b086ec02664e74a31650ec2ffc41f6
refs/heads/master
2023-03-15T13:52:02.056589
2021-03-22T12:16:32
2021-03-22T12:16:32
343,767,017
1
1
MIT
2021-03-22T12:16:33
2021-03-02T12:29:04
Python
UTF-8
Python
false
false
36
py
"""Unit test package for sshmng."""
[ "imdff0803@gmail.com" ]
imdff0803@gmail.com
fce820070aeac237f83be36013ade8b320a87177
fbde21eb75e50308dac33fe00ae340d9296c5616
/Day 48/interaction.py
66d2ea1ae2b45c4acb108cc23f9cbf4e3a4f4693
[]
no_license
Yoodahun/100-Days-of-code
7174ed982bf517a3446109ee96a69a37a2fc5f85
327de67d88a80ae2c404258048664fbbdff4e29c
refs/heads/master
2023-08-07T07:21:52.820480
2021-07-25T07:13:57
2021-07-25T07:13:57
412,068,233
0
0
null
null
null
null
UTF-8
Python
false
false
926
py
from driverSetup import DriverSetup from selenium.webdriver.common.keys import Keys driver = DriverSetup().setupDriver() # wikipedia_page = "https://en.wikipedia.org/wiki/Main_Page" # driver.get(wikipedia_page) # # # wikipedia_statistics = driver.find_element_by_xpath('//*[@id="articlecount"]/a[1]') # # wikipedia_stat...
[ "dahun4032@gmail.com" ]
dahun4032@gmail.com
5677e9d43343d9fc12b254471edc7a2171109106
53fab060fa262e5d5026e0807d93c75fb81e67b9
/backup/user_149/ch21_2019_04_02_16_06_50_086554.py
3aa4e84d55d5d3fd7844bb18f9713fcc3c6ff6ca
[]
no_license
gabriellaec/desoft-analise-exercicios
b77c6999424c5ce7e44086a12589a0ad43d6adca
01940ab0897aa6005764fc220b900e4d6161d36b
refs/heads/main
2023-01-31T17:19:42.050628
2020-12-16T05:21:31
2020-12-16T05:21:31
306,735,108
0
0
null
null
null
null
UTF-8
Python
false
false
113
py
valor=float(input('Digite o valor da conta: ')) print('Valor da conta com 10%: {0} R$'.format(valor-(valor*0.1)))
[ "you@example.com" ]
you@example.com
94edd5273c33fce7c75ad56b2a41cdba37916196
545f6e6b4ec540b0c6e67aa5139b7069e17d396a
/src/experiments/util/vgg_preprocessing.py
5e065eee8d12459fc3742f57efe23fcde41422c7
[]
no_license
imatge-upc/affective-2017-musa2
c4706153c6f4b120cd38fda0e68fc321697716cc
9963fbd346fbe26d82627e2877d0f67e298fe1ee
refs/heads/master
2021-01-19T14:17:08.968743
2019-04-23T15:33:40
2019-04-23T15:33:40
100,893,566
6
5
null
null
null
null
UTF-8
Python
false
false
13,579
py
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
[ "alejowood11@gmail.com" ]
alejowood11@gmail.com
127e3765ae5e9445628254ed986536262f72f522
03c96fcca19702737044cd1dfbda0fb500d74813
/script/1_QC.py
6ca3ca86f002882025845d88122e5744bd2be5e7
[]
no_license
qkdrk7777775/lonlat_proj
ba74c6cea5bd126f9a01653cf658379aed714392
1ba168a51ae1382c2ef1dc3de6c6f92abc3a1035
refs/heads/main
2023-07-14T11:20:15.616230
2021-08-23T10:54:54
2021-08-23T10:54:54
397,056,085
0
0
null
null
null
null
UTF-8
Python
false
false
1,613
py
# -*- coding: utf-8 -*- """ Created on Tue Aug 17 15:20:28 2021 @author: cjcho """ import os import matplotlib.pyplot as plt import pandas as pd %matplotlib qt org_dir='../data/조사원/1_이상치제거' year=2017#[2016,2017,2019,2020,2021] data_dir=f'{org_dir}/{year}' data_files = [i for i in os.listdir(data_dir) if i.endswith('c...
[ "qkdrk7777775@gmail.com" ]
qkdrk7777775@gmail.com
26a70183e92f54831296acb5934d889fc61181d0
03e5c7ab5e243ebb03fe05e1e3775cd1366565df
/7. Reverse Integer/solution.py
c33dafbcaa092bbddc104e26f13cc06d9974454a
[]
no_license
nevermore1993/LeetCode
0379d971692dc3561e41db042ae7c3478aabfc29
a5fd8ef0fde0adf2bdf6644e51d790984c52d144
refs/heads/master
2021-06-05T19:38:28.625531
2019-12-11T17:08:45
2019-12-11T17:08:45
113,961,596
0
0
null
null
null
null
UTF-8
Python
false
false
937
py
# 数字转换为字符列表,倒序生成新的字符列表,再根据符号生成倒序数字,并判断是否大于intmax或小于intmin class Solution: def reverse(self, x): """ :type x: int :rtype: int """ sign = [1,-1][x < 0] rst = sign * int(str(abs(x))[::-1]) return rst if -(2**31)-1 < rst < 2**31 else 0 class Solu...
[ "noreply@github.com" ]
noreply@github.com
80acd454dc42c8718c69d967d6cb1d86e6ac4d21
a9e81c87022fdde86d47a4ec1e74791da8aa0e30
/tensorflow-learning/base/loss-function/03-sigmoid.py
0f8dabd13b8e2db95a38496a8efb6bcc08f2cfd1
[ "Apache-2.0" ]
permissive
ymli1997/deeplearning-notes
c5c6926431b7efc1c6823d85e3eb470f3c986494
f2317d80cd998305814f988e5000241797205b63
refs/heads/master
2020-07-29T11:15:43.689307
2018-05-05T10:58:18
2018-05-05T10:58:18
null
0
0
null
null
null
null
UTF-8
Python
false
false
280
py
# -*- coding:utf-8 -*- import numpy as np import tensorflow as tf a = tf.constant([[1.0,2.0],[1.0,2.0],[1.0,2.0]]) res = tf.nn.sigmoid(a) init_opt = tf.global_variables_initializer() with tf.Session() as sess: sess.run(init_opt) result = sess.run(res) print(result)
[ "kkoolerter@gmail.com" ]
kkoolerter@gmail.com
bdbfaa9ec40dba8d12719a91da1c0cb5288eef98
3808c6b91608a1ad81d9a54b5d3e3303b9b92118
/DjangoWebProject2/DjangoWebProject2/settings.py
bc29a2c3e76397ca0c26ea5412ff15774c82aa3f
[]
no_license
wellcp/django-test
dd5501708fe03c69d0debac98e7087829ed79f25
80d8f66a7c252457ec6c6771bda58f1f88664f39
refs/heads/master
2021-08-23T19:05:35.617218
2017-12-06T04:23:40
2017-12-06T04:23:40
113,268,034
0
0
null
null
null
null
UTF-8
Python
false
false
3,328
py
""" Django settings for DjangoWebProject2 project. Generated by 'django-admin startproject' using Django 1.9.1. For more information on this file, see https://docs.djangoproject.com/en/1.9/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.9/ref/settings/ """ im...
[ "well.cp@hotmail.com" ]
well.cp@hotmail.com
606d1729f54f4294b9c9ddac6beefdde41b0dc5e
12babdf384a7c38db4dcde4ca1cb235d861df762
/blog/migrations/0001_initial.py
e5bb16a24d05110f5e44de8cac12e0822fa7b054
[]
no_license
blekou/university
dd315a35e6eb6d6c36558b3db23c302bf97314d7
0efefab5aff212798f4491bf73e0928061836a62
refs/heads/master
2022-12-09T22:40:57.489680
2020-03-15T21:59:17
2020-03-15T21:59:17
247,558,839
0
0
null
2022-12-08T03:05:13
2020-03-15T21:59:30
CSS
UTF-8
Python
false
false
3,761
py
# Generated by Django 2.2.10 on 2020-03-15 18:50 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Article', fields=[ ...
[ "mrblekou@gmail.com" ]
mrblekou@gmail.com
283e213ddbd425032b95f95fc7675f17753b61d8
3a6d382503e11753dd81b291145847a2eabb8ec6
/util/lmk/lmk.py
e8bec87cf504fdbb8c9fd60491dd617c7d103d6a
[ "MIT" ]
permissive
QuXing9/phd
7e6f107c20e0b3b1de2b25eb99e0b640a4a0bfcf
58ba53b6d78515ed555e40527f6923e28941cc19
refs/heads/master
2022-02-27T03:29:05.126378
2019-10-22T02:46:57
2019-10-22T02:46:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
20,016
py
#!/usr/bin/env python """let me know - Email output of command upon completion Attributes ---------- __description__ : str Package description. DEFAULT_CFG : str Default configuration. DEFAULT_CFG_PATH : str Default path to the configuration file. E_CFG : int Non-zero return code for configuration e...
[ "chrisc.101@gmail.com" ]
chrisc.101@gmail.com
7d8cca9681869befe58fb5e17152d54c0ac58541
f87218072d1a78f1fc620599581fdc65aa1478e3
/FileAutomation (2).py
a98a6b5ac5a4fa09b4b9631defea001d34806ca8
[]
no_license
rcg4737/AHP-Projects
40da3f2f7ce3c6ce229e9eb5a4ef55c1426e61d4
3a0bb8ed0a99d2cdedb4f5fae118fdbb7ffca633
refs/heads/master
2023-08-23T08:56:29.025999
2021-02-19T16:01:03
2021-02-19T16:01:03
null
0
0
null
null
null
null
UTF-8
Python
false
false
3,833
py
import pandas as pd import os import openpyxl import re import sys import json os.chdir('C:\\Users\\robert graham\\Downloads') # Enter the name of the CSV file that needs to be processed FileName = input() # Pandas reads in the file df = pd.read_csv(FileName + '.csv') # deletes all rows that hav...
[ "noreply@github.com" ]
noreply@github.com
73a2330a4ba6aafe2800e705631a8362b74724d7
ee38cc585816a5815bbc859f3606387a541496aa
/graphene-stubs/utils/tests/test_crunch.pyi
ab91a32bd3060500e70d3fa3fba6362f1ef37e70
[ "MIT" ]
permissive
whtsky/graphene-types
e349084b0e880198317c4344be96894e8f072677
d33d755dcb399f175c9324de7a04259a7d09dd57
refs/heads/master
2023-04-16T14:03:58.951530
2021-02-10T08:43:22
2021-02-10T08:43:22
330,845,041
0
0
MIT
2023-04-03T23:57:03
2021-01-19T02:46:23
Python
UTF-8
Python
false
false
141
pyi
from ..crunch import crunch as crunch from typing import Any def test_crunch(description: Any, uncrunched: Any, crunched: Any) -> None: ...
[ "cohen@trialspark.com" ]
cohen@trialspark.com
3fbe1bceff869e837fbf8bc1c9ada9178969a38c
e7d791d3f24076cad781b963ed4375cace3ba734
/examples/dataloader_test.py
fac7ec386d4585dafd320a52387fd369c2cf7a49
[ "Apache-2.0" ]
permissive
jiniaoxu/bi-lstm-crf
d9512cc524f8a5d60509391d3eb0e931d299b230
0667537207b8cb43b68fe5ab4378f770d05bf45a
refs/heads/master
2020-04-13T18:06:51.797880
2018-12-24T08:12:44
2018-12-24T08:12:44
null
0
0
null
null
null
null
UTF-8
Python
false
false
377
py
from dltokenizer.data_loader import DataLoader if __name__ == '__main__': data_loader = DataLoader("../data/src_dict.json", "../data/tgt_dict.json", batch_size=64) generator = data_loader.generator("../data/2014") for _ in range(1): sent, chunk = next(generator) assert len(sent) == len(chu...
[ "1490215053@qq.com" ]
1490215053@qq.com
4936d2e784d77b94aaa03ab6e6213760a85c1f41
f72e7e6a25541b7e6bdc21028a0378dc552bedcd
/assignment3/ACO/code.py
3a9e236d21157431f7678abc4c18f6c1dc8c2d77
[]
no_license
claretgb/ArtificialIntelligence
6a14cdbd0b06d136b39e3c7d31a9df4885a7201a
fc5f67f572271f76027484c2a17ccb4979411c90
refs/heads/master
2020-04-21T07:18:48.846807
2019-10-31T19:57:52
2019-10-31T19:57:52
169,389,613
0
0
null
null
null
null
UTF-8
Python
false
false
5,619
py
""" Source code created for DVA340 - Artificiell Intelligens. Code writer: - Clara Torre García-Barredo. Code created on April 2019. """ # Imports and time count. import matplotlib.pyplot as plt from copy import copy import random import math import time start = time.time() # Constants used in the code and globa...
[ "claretgb@gmail.com" ]
claretgb@gmail.com
c99853b4ba6289d2160af87af614ec702e0eabc3
b257a0283068c80edbf7b1909a632d2b98035592
/pynadjust/tests/test_surveyconvert.py
e697a48cb2811775fef9e0861251e409f85d1030
[ "Apache-2.0" ]
permissive
icsm-au/PynAdjust
c5e9a5a390647e8e9a02bf4ea70e683bf7472e69
319bbc0991d36c71ba718a18371e3883f6849b79
refs/heads/master
2022-10-21T08:42:42.349361
2022-10-10T22:32:28
2022-10-10T22:32:28
191,869,825
9
12
Apache-2.0
2023-08-18T05:46:31
2019-06-14T03:25:44
Python
UTF-8
Python
false
false
3,725
py
import unittest import tempfile import shutil import os.path from pynadjust.surveyconvert.fbk import * from pynadjust.surveyconvert.gsi import * class TestSurveyConvert(unittest.TestCase): def test_fbk2msr(self): abs_path = os.path.abspath(os.path.dirname(__file__)) tempdir = tempfile.TemporaryDir...
[ "6S7Jo!f%s8wQ@0yGX8ZM" ]
6S7Jo!f%s8wQ@0yGX8ZM