blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
616
content_id
stringlengths
40
40
detected_licenses
listlengths
0
69
license_type
stringclasses
2 values
repo_name
stringlengths
5
118
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringlengths
4
63
visit_date
timestamp[us]
revision_date
timestamp[us]
committer_date
timestamp[us]
github_id
int64
2.91k
686M
star_events_count
int64
0
209k
fork_events_count
int64
0
110k
gha_license_id
stringclasses
23 values
gha_event_created_at
timestamp[us]
gha_created_at
timestamp[us]
gha_language
stringclasses
220 values
src_encoding
stringclasses
30 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
2
10.3M
extension
stringclasses
257 values
content
stringlengths
2
10.3M
authors
listlengths
1
1
author_id
stringlengths
0
212
9d82cd9f0f653d64354eb86703a1e008bb78b661
43cb7845e503bd475b79125c842b6b3fcffaca6d
/lamp_ep.py
7d9f1353ce853e5cabff5d09aa5bf8f0ccf60049
[]
no_license
KAZYPinkSaurus/lamp-ep
7d1799a7e6eaa3565ba15d23e4cd3a0e56ebccab
47da33f1aaa8d4b63ce1d7b2d4948bf0583aa93d
refs/heads/master
2021-09-15T01:35:10.251418
2018-05-23T13:48:51
2018-05-23T13:48:51
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,611
py
import math import pandas as pd import numpy as np class Lamp_ep(): def __init__(self,aA=0.7,aQ=0.05,aMax_min_sup=100,aDataset=pd.DataFrame()): """ a in (0,1) Parameters ------- aMax_min_sup : int min_supの最大値 aDataset : DataFrame カラム名指定(['pa...
[ "nishi@Nishis-MacBook.local" ]
nishi@Nishis-MacBook.local
1070cd8566457d889b1f144ee8456b63946d6861
de24f83a5e3768a2638ebcf13cbe717e75740168
/moodledata/vpl_data/40/usersdata/81/18116/submittedfiles/funcoes.py
54b96934c77ea74865637ac40054305beadee568
[]
no_license
rafaelperazzo/programacao-web
95643423a35c44613b0f64bed05bd34780fe2436
170dd5440afb9ee68a973f3de13a99aa4c735d79
refs/heads/master
2021-01-12T14:06:25.773146
2017-12-22T16:05:45
2017-12-22T16:05:45
69,566,344
0
0
null
null
null
null
UTF-8
Python
false
false
297
py
#ARQUIVO COM SUAS FUNCOES def cos(e,fat): soma=0 while 0<soma<=e: for j in range(1,e,1): for i in range(2,e,2): soma=soma+(((e**i)/fat)+((-1)**j)) def razao(pi,cos): aurea=2*cos.(pi/5) return aurea
[ "rafael.mota@ufca.edu.br" ]
rafael.mota@ufca.edu.br
eec2105832578fcd5e5ac327826762df397aeb18
bb87cbbe27968a91f4dade7e153cea0d5759a29f
/chatbot.py
e188e8492c12ef375244c8143bc57b7f865ff037
[]
no_license
diksha096/Hacktoberfest
976f123d681e78907d980c176a704a8be4527185
a39a8f2a11db664480116d9433864cab0916c52b
refs/heads/master
2020-04-02T20:04:59.043696
2018-10-27T19:10:50
2018-10-27T19:10:50
154,757,420
1
0
null
null
null
null
UTF-8
Python
false
false
4,942
py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 16 00:55:19 2018 @author: dikshasharma """ import tensorflow as tf import re import time import numpy as np lines=open('movie_lines.txt',encoding='utf-8',errors='ignore').read().split('\n') conversations=open('movie_conversations.txt',encoding='u...
[ "noreply@github.com" ]
diksha096.noreply@github.com
6481ee12912b8fdd44b93e6877122c399e386851
b38e2fada052a3516522e708a53abe5b6393eb3f
/mysite/settings.py
f0bfda05a3b258407ff400b011fc89198e29fd99
[]
no_license
EkaterinaIvanovaa/my_django_sit
d65d4f013f1839882230fd755a98ae47fa91b22e
cc9f489a8daf0666007ff8d0f9fec4d9addc6814
refs/heads/master
2022-07-02T23:09:45.767199
2020-05-17T15:07:13
2020-05-17T15:07:13
264,697,497
0
0
null
null
null
null
UTF-8
Python
false
false
3,214
py
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.2.12. For more information on this file, see https://docs.djangoproject.com/en/2.2/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.2/ref/settings/ """ import os #...
[ "katyuha-2011@yandex.ru" ]
katyuha-2011@yandex.ru
44c09e443e221fdc991fc6f234d4d767cea183ad
72daf73c49769980f19c6c290d5021bfef6bcbf1
/bagging.py
2f13770fe338b8c571a174f7de758525740ce43b
[]
no_license
MarschildX/IncomePredict
a42279a593ef954c3eb207775b4ddb40b2ef1a6d
c806e5561f95a69ffa446a5b14f291c90766009c
refs/heads/master
2023-01-22T14:42:39.185187
2020-11-28T16:55:32
2020-11-28T16:55:32
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,260
py
import numpy as np import pandas as pd from sklearn.ensemble import BaggingClassifier from sklearn import metrics from sklearn.neighbors import KNeighborsClassifier from sklearn.neural_network import MLPClassifier data_train = pd.read_csv('./processed_data/train_5.csv') test = pd.read_csv('./processed_data/test_5.csv...
[ "ai.xufang@qq.com" ]
ai.xufang@qq.com
4916c7ffb221a17d73a7312b25205170ea38e80e
404728244681a773f55be7f7b0c4933f439f3106
/walis/service/cs/user.py
280b7d3b8e645daa0b6ad2bf034f55f790409a92
[]
no_license
limingjin10/walis
c4e22db27d964cefa068883edf979cabfedd74d6
198a4e94992c1790b7a9f2cd34b1686fefc87845
refs/heads/master
2021-05-29T04:50:34.091849
2015-06-15T14:19:23
2015-06-15T14:19:23
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,155
py
#!/usr/bin/env python2 # coding=utf8 from __future__ import absolute_import, division, print_function from walis.service.rst import restaurant as rst_base from walis.service.user import user as user_base from walis.model.walis.cs import CSEvent def get_user_by_phone(mobile): user_type = None result = {'user...
[ "shaofeirong2006@126.com" ]
shaofeirong2006@126.com
d23c134f5bcb7023e2df5e4f74ecc73a18ecd3e3
177a630e29faa05eed002a3be743f669f845168d
/STATAwithinPython/RunSTATAdoInPython.py
4972fd30bb5025f93d3bc399e360a24b088b4d87
[ "MIT" ]
permissive
babakrezaee/DataWrangling
40156a0b31a340db8de9a75a0bc2514373f2c23e
dbc838dcae9bc6b7aeb9f3e1c0a16e67fbd90935
refs/heads/master
2021-05-03T09:10:49.859157
2019-07-27T14:35:18
2019-07-27T14:35:18
120,571,075
0
0
null
null
null
null
UTF-8
Python
false
false
264
py
## Set dofile address ## Set the path to your STATA .exe file, from the folder you installed STATA ## Do not forget that dofile and STATA should be in string def dostata(dofile, STATA): import subprocess cmd=[STATA,'do', dofile] subprocess.call(cmd)
[ "noreply@github.com" ]
babakrezaee.noreply@github.com
33f7d80dae4496675e4a3219399e55bbaade6bad
25f2f36f7bd1e4af75681935780a625363e663fa
/文本及表格提取代码.py
64cb3dd16ed0336aed899bd8e9d4508b319d6f61
[]
no_license
jianxinjiao/Cnki
78061dcc1c629e12a190eaf7276f8e8b63334d9c
e3a2265a8221d52ec6e8dd3df9ef96a8e2c7b281
refs/heads/master
2023-05-27T08:01:13.109180
2021-06-18T03:14:31
2021-06-18T03:14:31
378,003,975
0
0
null
null
null
null
GB18030
Python
false
false
9,782
py
import os import re import base64 import pandas as pd from bs4 import BeautifulSoup from html.parser import HTMLParser class MyHTMLParser(HTMLParser): res_list = list() value = 0 label_list = ['div', 'br', 'p', 'title', 'ul', 'li', 'table', 'tr', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'h7'] def handle_...
[ "18236578618@163.com" ]
18236578618@163.com
82f3e426ff64ad3759aa251a48b9dbf3f4b6602d
e8b379292c137fe2ef783f1e339f06973ab58925
/padddle.py
c26f469b577cefae89469331962659a1281365c8
[]
no_license
ayushi25jaiswal/pong_game
7a004e7daf3a30d84b440759457336e1a0f33ec1
c186c339348567a12b9eca3c474f3d179be02f90
refs/heads/master
2023-07-15T15:16:26.678682
2021-09-07T06:21:27
2021-09-07T06:21:27
403,864,822
0
0
null
null
null
null
UTF-8
Python
false
false
491
py
from turtle import Turtle class Paddle(Turtle): def __init__(self, x_cor, y_cor): super().__init__() self.shape("square") self.color("white") self.shapesize(stretch_wid=3, stretch_len=0.5) self.penup() self.goto(x_cor, y_cor) self.speed("fastest") def u...
[ "ayushijaiswal2507@gmail.com" ]
ayushijaiswal2507@gmail.com
659e4d298c6b0016bd4b3417190d4ad431ea381a
d78a93aee67511c7f8b2b555aa02b3935a6b531e
/student/migrations/0003_auto_20180629_1109.py
b2f5e44e36b81dd36f586d411e1f1ad069efa03e
[]
no_license
bigbizzy001/student_portal
d7780ea6d78d8ac4ceae70b8d6022cbc085af688
303ed233f362035b0b3a6a089e29ff64b6cb113b
refs/heads/master
2020-03-26T17:44:52.233874
2018-08-18T00:44:29
2018-08-18T00:44:29
145,177,846
0
0
null
null
null
null
UTF-8
Python
false
false
851
py
# Generated by Django 2.0.4 on 2018-06-29 10:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('student', '0002_auto_20180627_1400'), ] operations = [ migrations.DeleteModel( name='HallVenueA...
[ "marcusbourdelon@gmail.com" ]
marcusbourdelon@gmail.com
bee7f7fa94cd9ef606a12c92afa48b6f4531a465
41d032c8a80e1fc124f2aba88c409051d3455ee0
/simple_queue_waiter.py
ce76c9b46d6a25239b3d3eba3fb94033a0ff78ca
[ "Apache-2.0" ]
permissive
KernelPryanic/simple-queue-waiter
9c33f9dd203f40925232adf0d451fdf77d0b9e81
bc831756b4e62cde19f53788b18f38c609160eda
refs/heads/master
2021-09-08T21:21:02.372814
2018-03-12T08:29:30
2018-03-12T08:29:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,987
py
from collections import MutableSequence from multiprocessing.pool import ThreadPool import sys import time import yaml import pika class SimpleChecker(object): def __init__(self, host, port, virtual_host, queue, user, password): self.host = host self.port = port self.virtual_host = virtua...
[ "dtrishkin@datanyze.com" ]
dtrishkin@datanyze.com
c4f68caa06be6ae613dfb9c9850f0f5a092867aa
dc893a23ea659a9aff10c972202abae113a31f8d
/causal_inference/code/CVPR2012_slidingwindow_action_detection/waterstream_11_9404.py
58c73a6e5a77a341aea618db12ff70b2b785c21c
[]
no_license
scotfang/research
f28ff4cdcdb579839fddabc7d77a31b324f45a78
424e0dce9e5083e75ac49a33765d1a9d7c2878e9
refs/heads/master
2021-01-01T17:17:15.633209
2014-05-12T18:20:43
2014-05-12T18:20:43
null
0
0
null
null
null
null
UTF-8
Python
false
false
298
py
temporal_parses = { 2327: { "benddown_START": {"energy": -0.000000, "agent": "uuid1"} }, 2468: { "benddown_END": {"energy": -0.000000, "agent": "uuid1"} }, 2469: { "benddown_START": {"energy": 0.000000, "agent": "uuid1"} }, 2613: { "benddown_END": {"energy": 0.000000, "agent": "uuid1"} }, },
[ "scotfang@gmail.com" ]
scotfang@gmail.com
e726941169e7ccc91c362ce921522b6ae2e4cbe5
93234feb385b43fc16102bbf69f8588705b21561
/time.py
238316ff395e2e934733526f93654b85c23f9182
[]
no_license
horcham/python
012046906e3cd35b6bf2286ffcbad60644366adb
c26388312f8fad2d0a88d78761a786761d325b75
refs/heads/master
2021-01-12T15:52:56.091319
2016-10-04T12:10:26
2016-10-04T12:10:26
69,321,334
0
0
null
null
null
null
UTF-8
Python
false
false
2,208
py
#-*- coding:utf-8-*- #时间元组 #gmtime(),localtime()和strptime()都以时间元组返回 import time a = time.gmtime() print(a) b = time.mktime(a) print(b) #分别代表:年、月、日、时、分、秒、星期、一年中第几天、夏令时 c = time.perf_counter() print(c) ''' time.altzone #返回格林威治西部夏令时地区的偏移秒数 time.asctime([t]) #接受时间元组并返回一个可读取的形式为"Tue Dec 11 18:07:14 2015" time.clock() #用以浮...
[ "690936541@qq.com" ]
690936541@qq.com
ff7cecce2015e765e1c37e3bbc6661a5ff53c64c
29d8603e20c820fa2e7141a136ada3c5853a4974
/raachem/__init__.py
79021dbcba2e186f6f4b712e41dcad4f4c8434a7
[ "MIT" ]
permissive
ricalmang/raachem
3e76599fd880bce7e11746c5d674125dfb72bba2
d00d634957a27e43e706c7faa565fb15b3cf154c
refs/heads/master
2022-12-31T20:00:57.284852
2020-10-19T05:54:12
2020-10-19T05:54:12
236,590,523
0
0
null
null
null
null
UTF-8
Python
false
false
371
py
from raachem.file_class.gjf import * from raachem.file_class.inp import * from raachem.file_class.xyz import * from raachem.file_class.log import * from raachem.file_creator.e_analysis import * from raachem.file_creator.input import * from raachem.file_creator.xyz import * from raachem.file_creator.deploy_script...
[ "ricardo_almir@hotmail.com" ]
ricardo_almir@hotmail.com
22ab383b407c99415b5f7885c0d8c8c564ec0d3c
c4b94158b0ac8f1c4f3d535b6cdee5d1639743ce
/Python/191__Number_of_1_Bits.py
b64ace4b9dd4bc9b74e3c645eb8855f0bfc393c4
[]
no_license
FIRESTROM/Leetcode
fc61ae5f11f9cb7a118ae7eac292e8b3e5d10e41
801beb43235872b2419a92b11c4eb05f7ea2adab
refs/heads/master
2020-04-04T17:40:59.782318
2019-08-26T18:58:21
2019-08-26T18:58:21
156,130,665
2
0
null
null
null
null
UTF-8
Python
false
false
558
py
class Solution(object): def hammingWeight(self, n): """ :type n: int :rtype: int """ result = 0 while n: if n & 1 == 1: result += 1 n = n >> 1 return result # Another solution using a trick of bit class Solution(object...
[ "junou_cui@berkeley.edu" ]
junou_cui@berkeley.edu
e6abef9bf3bf91103e722ef652077ea427964e52
bc599c9a404940fae21ed6b57edb7bb9dc04e71c
/app/graphics/baseGraphic.py
9402148fb19d3b5ea25e3d5b2212cb4925d18707
[]
no_license
jcarlosglx/SparkReport
c9b37a1419f113ea13341e6641ceb17056aeb7d0
9d6b044f037e8dfe583bcf76c51dd792ac1cc34a
refs/heads/master
2023-08-11T16:04:28.393856
2021-09-21T23:06:08
2021-09-21T23:06:08
409,001,831
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
from typing import NoReturn import matplotlib.pyplot as plt from pandas import DataFrame class NonGraphicsBase: FIRST = 0 class GraphicBase: def __init__(self, x_figure: int = 10, y_figure: int = 10): self.x_figure = x_figure self.y_figure = y_figure self.FIRST = 0 def _single_...
[ "j.carlosglxg@gmail.com" ]
j.carlosglxg@gmail.com
6e2e905228e45ea04bc9ad7f82fabc026d4ddd3a
9c5b08d26c142df75514530166095f52026b6e2f
/app.py
982fd4a81aa567e0b807761fd2d9370b72ae0409
[]
no_license
safern/santiagoyregina
66bb061e5a07b1eba937a3f8bc102d22306b679a
2aaf475d202bf96efa74c52e653987ce63f5a170
refs/heads/main
2023-06-15T11:05:38.964291
2021-06-22T20:05:10
2021-06-22T20:05:10
380,136,631
0
0
null
2021-06-25T05:45:16
2021-06-25T05:45:15
null
UTF-8
Python
false
false
3,053
py
from flask import Flask, jsonify, request from flaskext.mysql import MySQL from flask_cors import CORS, cross_origin from flask_restful import reqparse app = Flask(__name__) cors = CORS(app) app.config['CORS_HEADERS']= 'Content-Type' app.config['MYSQL_DATABASE_USER'] = 'hae1w0act11g94ma' app.config['MYSQL_DATABASE_PAS...
[ "regina.madero.torres@gmail.com" ]
regina.madero.torres@gmail.com
75e6a03d5a69e5540503ea26fcf6149bca408aae
045cb1a5638c3575296f83471758dc09a8065725
/addons/website_event/models/event.py
da47fe454cee4a971191fe60794ffc5ff9e718f8
[]
no_license
marionumza/saas
7236842b0db98d1a0d0c3c88df32d268509629cb
148dd95d991a348ebbaff9396759a7dd1fe6e101
refs/heads/main
2023-03-27T14:08:57.121601
2021-03-20T07:59:08
2021-03-20T07:59:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
7,069
py
# -*- coding: utf-8 -*- import pytz import werkzeug import json from harpiya import api, fields, models, _ from harpiya.addons.http_routing.models.ir_http import slug from harpiya.exceptions import UserError GOOGLE_CALENDAR_URL = 'https://www.google.com/calendar/render?' class EventType(models.Model): _name = ...
[ "yasir@harpiya.com" ]
yasir@harpiya.com
0a329acc24c038ab643e23fad78081243efc3c1a
37a331ad48e0a2855921b387dde09eb363096a57
/Connections/FileConnection.py
b6eceef81ce6f12d0e80b4ee00ce889809a64c83
[]
no_license
markbdsouza/db-data-comparison
3fbcff3290938d0d2419216fc30cd80481f38d8a
28fbbce92665798195762109e3c118def4a082ee
refs/heads/master
2023-01-08T20:11:41.089934
2020-11-17T14:17:52
2020-11-17T14:17:52
312,645,765
0
0
null
null
null
null
UTF-8
Python
false
false
750
py
from Config.CONSTANTS import INPUT_FILE_PATH_STRING from Config.ReadConfig import read_csv_connection_variables, read_txt_connection_variables from DataframeLogic.GenericDFActivities import create_data_frame_from_csv, create_data_frame_from_txt def fetch_csv_data_frame(): """Create and return the CSV data frame""...
[ "mark.benjamin.dsouza@gmail.com" ]
mark.benjamin.dsouza@gmail.com
2d1dbde168c0b5be9449c6a08430280a959a5fbb
e1b5e4862052f46bcf8462ffea293bcdb470bc61
/LISTTEST/tex.py
e0f1b1ea5e70cbbca11dd78b3e8cc85ab7ea4119
[]
no_license
AODQ/python-crap
518066228c76ebdfd64ae475e7b4f8d5ddc191f4
b63b3961bf920da476b1066e35c16ec5b46e885f
refs/heads/master
2021-08-23T00:05:50.393675
2017-12-01T20:40:00
2017-12-01T20:40:00
103,435,110
0
0
null
null
null
null
UTF-8
Python
false
false
189
py
import os print('Lₒ(P, ωₒ) = Lₑ(P, ωₒ) + ∫Ω F(P, ωᵢ, ωₒ) Lᵢ(P, ωᵢ) cosθᵢ dωᵢ') Lₒ = 0.0 for i in range(0, 10): ωₒ = i*0.2 Lₒ += ωₒ print(Lₒ)
[ "aodq@gmail.com" ]
aodq@gmail.com
4212291d22bbe503767aaaab0223898ec6224d74
89eaed21673a816679d3c2feeb3300aede574bb2
/fei/app_models/migrations/0008_auto_20200422_1048.py
eb0787efe1f5d39c833ed606991134d9f945f7f6
[]
no_license
colingong/fei
bd0c8530025963a7d4c3abe9399fc5c25d2f301b
2f25ac79813508401f1481034dcbf9ce3585bf1e
refs/heads/master
2022-12-09T03:27:10.469450
2020-06-24T06:28:51
2020-06-24T06:28:51
249,641,609
11
1
null
2022-12-08T03:53:06
2020-03-24T07:33:51
Python
UTF-8
Python
false
false
390
py
# Generated by Django 2.2.11 on 2020-04-22 02:48 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('app_models', '0007_delete_proxytoken'), ] operations = [ migrations.RenameField( model_name='warehouse', old_name='warehous...
[ "colingong@hotmail.com" ]
colingong@hotmail.com
f9b74976cf3a863630b6f91560e2d0fadb3eb995
c421dd51e0e6a4ce84e75724989ac52efcecf15b
/tool/migrations/0050_alter_shoppinglist_name.py
cc524029bb2e3b1f534678ffd8ae0eb664e77065
[ "MIT" ]
permissive
mikekeda/tools
3bdbfcbc495bd9b53e2849431c8d8f098149925d
51a2ae2b29ae5c91a3cf7171f89edf225cc8a6f0
refs/heads/master
2023-06-09T09:13:35.142701
2023-06-06T17:27:18
2023-06-06T17:27:18
120,110,752
0
1
MIT
2023-05-23T14:15:43
2018-02-03T16:56:57
Python
UTF-8
Python
false
false
434
py
# Generated by Django 3.2.3 on 2021-05-30 09:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tool', '0049_auto_20210308_0847'), ] operations = [ migrations.AlterField( model_name='shoppinglist', name='name', ...
[ "mriynuk@gmail.com" ]
mriynuk@gmail.com
7314dd1ce978a7d2053f03d14e1596873e990784
90c4d97afceb51c9827e0c29cfa5703873644898
/android_autotools/__main__.py
816120d4abe7edbd6f2cda8892c7f8c9f6e0013f
[ "BSD-2-Clause", "LicenseRef-scancode-unknown-license-reference" ]
permissive
fred104/android-autotools
e6e7de6385b6532afac4248bf5bf1addaeaf19eb
8566524f11d9551a42451178eb8c119e57e9441b
refs/heads/master
2021-01-23T03:12:43.472904
2017-02-04T06:19:33
2017-02-04T06:19:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,219
py
#!/usr/bin/env python3 import argparse import os import sys import json import os.path import subprocess import android_autotools def main(): a = argparse.ArgumentParser(prog='abuild', description='A wrapper around autotools for Android.', epilog='NDK_HOME must be defined to use this tool...
[ "brendan@bbqsrc.net" ]
brendan@bbqsrc.net
c9df6ac92ac8959e2f091582fbbc2c9b4c356a4b
34de2b3ef4a2478fc6a03ea3b5990dd267d20d2d
/Python/science/sympy/solve_system_of_lin_eqns_using_sympy.py
b4d8f00eeca664484914e2ac4c57a7927627fd97
[ "MIT" ]
permissive
bhishanpdl/Programming
d4310f86e1d9ac35483191526710caa25b5f138e
9654c253c598405a22cc96dfa1497406c0bd0990
refs/heads/master
2020-03-26T06:19:01.588451
2019-08-21T18:09:59
2019-08-21T18:09:59
69,140,073
0
1
null
null
null
null
UTF-8
Python
false
false
709
py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Author : Bhishan Poudel; Physics PhD Student, Ohio University # Date : Oct 04, 2016 # Last update : # # # Imports from __future__ import division, unicode_literals, print_function import numpy import scipy.linalg from sympy import symbols,solve w,x,y,z = sy...
[ "bhishantryphysics@gmail.com" ]
bhishantryphysics@gmail.com
e0060018e6710ebdfebe141244402b1830d09827
bb7fc0a16a824c836b96150c9575879ed1d4d866
/chatMain/chatblog/models.py
5e11e6df51a32d0362cd65dda5e34bd2be9a287d
[]
no_license
adarshmanwal/ATG_PART_2
5f62432178ec1a1dd0fe978024a546d1951fa673
a84cb6f7553998571bbc4b23bfb5643450cf04dd
refs/heads/main
2023-07-08T03:33:59.422029
2021-08-12T12:23:39
2021-08-12T12:23:39
393,096,727
0
0
null
null
null
null
UTF-8
Python
false
false
535
py
from django.db import models from django.db.models.deletion import CASCADE from django.utils import timezone from django.contrib.auth.models import User from django.urls import reverse # Create your models here. class post(models.Model): content=models.TextField() date_posted=models.DateTimeField(default=timezo...
[ "deepak.manwal@gmail.com" ]
deepak.manwal@gmail.com
a71513cedd0cde5dc3fa0262fd7f5dc00c14565d
506f9677a767bacad853f62c8d4bd7968c8c6a38
/test.py
891ddc1f64b48126233c8d0a13f3e490d34c19a2
[]
no_license
danieldcl/Big-Data-Management-and-Analysis-1-BDM-
17bd2159ec4b573081221416f96b463d62f8486f
e8d7ee8813f97d6258f79bdeeea082b1e09e4fa8
refs/heads/master
2021-01-10T12:47:36.832337
2016-03-17T18:30:29
2016-03-17T18:30:29
54,141,081
1
0
null
null
null
null
UTF-8
Python
false
false
1,241
py
import sys import urllib2 import json import csv if __name__=='__main__': with open(sys.argv[1], 'r') as jfile: bus_data = json.load(jfile) active_bus = bus_data['Siri']['ServiceDelivery']['VehicleMonitoringDelivery'][0]['VehicleActivity'] num_bus = len(active_bus) with open(sys.arg...
[ "dcliao92@gmail.com" ]
dcliao92@gmail.com
84de335910a749a5a75b081e33561549701280e9
3ff80a99a95b9c0e13d9452eaa37419335e846ed
/VgammaTuplizer_normalfixed/Ntuplizer/crabconfigs/crab_MC2017ZJetsToQQ_HT400to600.py
17a82a4951a08d04b9bf88d1728ce4f4e3d0a0f0
[]
no_license
XL-Seb-Yan/WGammaProducer
9a58a109c6a8429ce29c9d213864d32f8c33ff50
7d1edb4707b5eb60f9d5fe475b8ae347879372e6
refs/heads/master
2022-01-15T20:00:59.992103
2019-07-03T08:10:55
2019-07-03T08:10:55
null
0
0
null
null
null
null
UTF-8
Python
false
false
961
py
from CRABClient.UserUtilities import config, getUsernameFromSiteDB config = config() config.General.requestName = 'Wgamma2017_ZJetsToQQ_HT400to600_%s'%"Jul18" config.General.workArea = 'crab_jobs_WgammaMC_2017_%s'%"Jul18" config.General.transferOutputs = True config.General.transferLogs = True config.JobType.pluginNa...
[ "xlyan0636@gmail.com" ]
xlyan0636@gmail.com
f5b1709e79c2e79d06b7f94bf42ed7a723bccbf5
6f38cba464b2581875ae2e07ec5e15571cbf03db
/PythonBlog/dataModels/vo/tagVO.py
9cada191c81a70d1c8e3d86ca647b0d991f60313
[ "MIT" ]
permissive
Nohysiwe/FastAPIBlogBackend
7c12100f2903c0ac86dc3932e8c8536408b5d7e1
2052c630a1a6e9bb9e6555f734c60020b107afc8
refs/heads/main
2023-04-19T16:37:56.459431
2021-05-21T03:53:55
2021-05-21T03:53:55
369,404,160
2
0
null
null
null
null
UTF-8
Python
false
false
371
py
from typing import Optional from pydantic import BaseModel, Field __all__ = [ "TagVO", ] class TagVO(BaseModel): """ 标签 数据对象 """ id: Optional[int] = Field( None, description = "标签id" ) tagName: str = Field( ... , descri...
[ "nohysiwe@163.com" ]
nohysiwe@163.com
138f3980a1ed3012410d1099b138889cb25b7b8b
3d39974209f890080456c5f9e60397c505540c64
/0x0C-python-almost_a_circle/10-main.py
72e7fa2d845bb5a79e7d1be760d234ee13cbc862
[]
no_license
salmenz/holbertonschool-higher_level_programming
293ca44674833b587f1a3aec13896caec4e61ab6
23792f8539db48c8f8200a6cdaf9268d0cb7d4e6
refs/heads/master
2020-09-28T11:42:51.264437
2020-05-13T22:56:39
2020-05-13T22:56:39
226,771,568
3
0
null
null
null
null
UTF-8
Python
false
false
297
py
#!/usr/bin/python3 """ 10-main """ from models.square import Square if __name__ == "__main__": s1 = Square(5) print(s1) print(s1.size) s1.size = 10 print(s1) try: s1.size = "9" except Exception as e: print("[{}] {}".format(e.__class__.__name__, e))
[ "salmen.zooro@gmail.com" ]
salmen.zooro@gmail.com
c682c3d6b8228f2c6375fc241c377d4b1c3903de
699b767e854162231914f4bce177382a9880f221
/DFS/TreeMaxPathSum.py
182314417155c65a2857262db0bdf7177a5a9278
[]
no_license
XiwangLi/LeetcodeArchive
a66dc32f0a7248ff05cbe09dd0095191fefc602f
3de4a48f9f7de2970cf02751c1620281bae0947d
refs/heads/master
2021-04-28T02:57:55.604505
2019-02-28T01:07:51
2019-02-28T01:07:51
122,128,291
0
0
null
null
null
null
UTF-8
Python
false
false
1,571
py
<<<<<<< HEAD # Binary Tree Maximum Path Sum # Does not need to go through the root or leaf class Solution(object): def maxPathSum(self, root): """ :type root: TreeNode :rtype: int """ res = [-float('inf')] self.DFSpathSum(root, res) return res[0] ...
[ "xiwangli2010@gmail.com" ]
xiwangli2010@gmail.com
05205ea19fd7e0e3f0373f1ce85fdf9ee2e29bb3
db2a5b9cf84f72c264709df106044206fcd26b50
/jadereader/gui/main_view.py
5a7f0f2dca5d0cbf342140028cb7436f8903deb1
[ "Apache-2.0" ]
permissive
pirobtumen/JadeReader
c792baf31753a10015d565b237182596dd49d58a
8b605d255a68d8de7d08ff4b0cdfb067b95418c3
refs/heads/master
2021-01-19T03:04:55.189807
2016-07-28T18:11:20
2016-07-28T18:11:20
51,586,963
0
0
null
null
null
null
UTF-8
Python
false
false
5,053
py
""" Copyright 2016 Alberto Sola 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, software d...
[ "albsolac@gmail.com" ]
albsolac@gmail.com
29b8202e6ae862d20e5388fd87f63f7fb7a56db7
b69eed4bd84419459cc5c5e1b3b197a53a931d37
/v4/completion_segmentation_main_new_front.py
17b2419c731ab05bd772b11b9f428ae0c0135ef9
[ "MIT" ]
permissive
gongyan1/CFECA-and-Joint-coding-Model
7b39b0da1ef01669109f2087823a776fe41e285f
1d9c4c0769c526024d3d855d316e26473bd4688c
refs/heads/master
2023-06-25T21:28:19.173246
2020-06-12T07:20:57
2020-06-12T07:20:57
null
0
0
null
null
null
null
UTF-8
Python
false
false
18,323
py
# -*- coding: utf-8 -*- """ Created on Tue Apr 7 17:48:32 2020 @author: kerui """ import argparse import os import time import torch import torch.nn as nn import torch.nn.parallel import torch.optim import torch.utils.data from dataloaders.completion_segmentation_loader_new_ import load_calib, oheight, owidth, inp...
[ "630229262@qq.com" ]
630229262@qq.com
4a4f0ee250023d867691985d96d7fb0eafcee414
31e6ca145bfff0277509dbd7c4b44b8deddf3334
/Programmers/Level1/Kth_num.py
a5998f0cf2a686d3094fcebc330240582ad25ce3
[]
no_license
brillantescene/Coding_Test
2582d6eb2d0af8d9ac33b8e829ff8c1682563c42
0ebc75cd66e1ccea3cedc24d6e457b167bb52491
refs/heads/master
2023-08-31T06:20:39.000734
2021-10-15T10:51:17
2021-10-15T10:51:17
254,366,460
3
1
null
null
null
null
UTF-8
Python
false
false
248
py
def solution(array, commands): answer = [] for i, j, k in commands: tmp = array[i-1:j] tmp.sort() answer.append(tmp[k-1]) return answer print(solution([1, 5, 2, 6, 3, 7, 4], [[2, 5, 3], [4, 4, 1], [1, 7, 3]]))
[ "glisteneugene@gmail.com" ]
glisteneugene@gmail.com
ec5c77459b18b633842cfeb1e04194433f5c8999
5296fa790a6cc05c4e800feac17186761c148740
/autoreply.py
c55def9014090f77280f79e8be25596c6e17b22c
[]
no_license
tinyminds/twitterbot
2b05549e23ac3f5930cbf9660b39decb99111c1a
4b28147801f7a8443130ec8424c7042ba99b77a8
refs/heads/master
2022-12-09T21:38:25.178735
2019-11-27T20:41:37
2019-11-27T20:41:37
224,030,647
0
0
null
2022-12-08T06:58:01
2019-11-25T19:58:03
Python
UTF-8
Python
false
false
2,019
py
#!/usr/bin/env python # tweepy-bots/bots/autoreply.py import tweepy import logging import time import sys import os from generate_advertisement import get_ad #from credentials import * # use this one for testing # use this for production; set vars in heroku dashboard CONSUMER_KEY = os.environ.get('CONSUMER_KEY') C...
[ "jenny23@gmail.com" ]
jenny23@gmail.com
aa877b523c25ed2dbd360625b6d019008e5819b4
5c0c0176db0ccf2c24b6b5ed459a8dc144518b13
/nni/retiarii/nn/pytorch/nn.py
797a672c8cf99ed4ccc35b43fccfc6dc009f0241
[ "MIT" ]
permissive
petuum/nni
ac4f4a1c4d6df71684eeffa127b7c4858fd29e97
8134be6269902939232482d63649c06f9864be6d
refs/heads/master
2023-02-18T11:21:41.078889
2021-01-20T03:21:50
2021-01-20T03:21:50
302,736,456
4
3
MIT
2020-11-20T20:21:15
2020-10-09T19:34:11
Python
UTF-8
Python
false
false
10,748
py
import logging from typing import Any, List import torch import torch.nn as nn from ...utils import add_record, blackbox_module, uid, version_larger_equal _logger = logging.getLogger(__name__) # NOTE: support pytorch version >= 1.5.0 __all__ = [ 'LayerChoice', 'InputChoice', 'Placeholder', 'Module', 'Seque...
[ "noreply@github.com" ]
petuum.noreply@github.com
c63bdf11f6a794f3a32e12e32d0fa2996d6ca271
8b0830a11b40d1b15fb938f9cc8378c6b4e589ad
/Clinic1.1.1 copy/flaskblog/__init__.py
d5f660e17b018cb59057b0d34824391d3a2adcc7
[]
no_license
Ericsson0/Clinic-web
827a64f6a37edfcee3be36467822585fca270d0b
054195612fcb943e9b0970e4058bdf671d2eb89b
refs/heads/main
2023-05-03T11:44:05.673358
2021-05-28T16:07:33
2021-05-28T16:07:33
352,113,077
0
0
null
null
null
null
UTF-8
Python
false
false
1,460
py
import os import jwt from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_bcrypt import Bcrypt from flask_login import LoginManager from flask_mail import Mail from flask_script import Manager from flask_admin import Admin from flask_admin.contrib.sqla import ModelView from flask_datepicker impo...
[ "noreply@github.com" ]
Ericsson0.noreply@github.com
c0aa5d5329950ee81536b28948f3e1c23999d7b9
2f4605e878c073d7f735eed1d675c2ee454ad68e
/sdk/python/pulumi_kubernetes/apiextensions/v1/_inputs.py
a8642aba88bfc3ac6d4fd00a72d0776d3c88c9b0
[ "Apache-2.0" ]
permissive
pulumi/pulumi-kubernetes
3c0c82e03a19f4077625d2ff6dae5ea4dbf90243
b5d76f0731383f39903f35a6c1566f2f4344c944
refs/heads/master
2023-08-17T16:57:11.845935
2023-08-16T00:55:18
2023-08-16T00:55:18
116,869,354
353
128
Apache-2.0
2023-09-13T21:42:01
2018-01-09T20:50:33
Java
UTF-8
Python
false
false
206,572
py
# coding=utf-8 # *** WARNING: this file was generated by pulumigen. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import copy import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities from ....
[ "noreply@github.com" ]
pulumi.noreply@github.com
bd7e3b4fa866d69b1e9ca2c7cf23196b84b9bccc
6d90aa11885178e064b88363c5b6a988c50fa4ad
/aquitania/indicator/management/indicator_loader.py
c26e86546d6551e1eba5f8064c824f52856d5881
[ "MIT" ]
permissive
retorno/aquitania
2532c2591edae4ccf2286c771fcff011b5c5eef2
cd64cf00827b692621893c0e00c508cd5e7ef55b
refs/heads/master
2020-03-17T08:19:27.734553
2018-05-11T00:25:05
2018-05-11T00:25:05
null
0
0
null
null
null
null
UTF-8
Python
false
false
4,844
py
######################################################################################################################## # |||||||||||||||||||||||||||||||||||||||||||||||||| AQUITANIA ||||||||||||||||||||||||||||||||||||||||||||||||||||||| # # ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||...
[ "hroark.aquitania@gmail.com" ]
hroark.aquitania@gmail.com
8a5cbbbeac6f891fa3dd895c6197b30790a72054
d7d26c42cd541417edcd7b1992027286ecef7f04
/lib/base/webscraper/class_htmlparser.py
72a005b1e355998005611f8d790a5ebcc019c4c5
[]
no_license
plutoese/pluto_archive
bfba8df48ee5639a2666b33432004519b93ecbf7
e6ea64aaf867fd0433714293eb65a18a28d3136d
refs/heads/master
2021-10-22T14:46:20.540770
2019-03-11T12:31:08
2019-03-11T12:31:08
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,188
py
# coding=UTF-8 # -------------------------------------------------------------- # class_htmlparser文件 # @class: HtmlParser类 # @introduction: HtmlParser类用来解析html对象 # @dependency: bs4及re包 # @author: plutoese # @date: 2016.06.24 # -------------------------------------------------------------- from bs4 import BeautifulSou...
[ "glen.zhang7@gmail.com" ]
glen.zhang7@gmail.com
41208d7b3f5a3dceb3e7edf90ba118ac4beffc7a
45a08d6dd0e7ef32aaebc52740c9ecdec3755e19
/lab1/A0186040M/lettercount.py
7ab959220829c28c0ed5615a3d2c9ca8d0d47262
[]
no_license
liping97412/CS5344
c81c5f758efa4bb55a39bcb2cbfe954d2d3e8a7d
cfe1c620d97f6e8988944c7eaca9063cef3f5bb2
refs/heads/master
2020-09-11T11:25:57.183537
2019-11-16T04:48:26
2019-11-16T04:48:26
222,048,520
0
0
null
2019-11-16T04:49:04
2019-11-16T04:46:49
Python
UTF-8
Python
false
false
518
py
import re import sys from pyspark import SparkConf, SparkContext conf = SparkConf() sc = SparkContext(conf=conf) lines = sc.textFile(sys.argv[1]) #split the input file to words with space words1 = lines.flatMap(lambda l: re.split(" ",l)) #filter the words that have length words = words1.filter(lambda w: len(w)>0) #map...
[ "liping.li@u.nus.edu" ]
liping.li@u.nus.edu
dd7f17b4d5045f1b3430ce33e7bd8589e7e8e82a
9a846850c38338c3d8200131e734d158acb3bdc8
/weixin/urls.py
c83c951bb5f1e4d14222955585b351931b0a9812
[]
no_license
smartpigling/wxsite
8849ea61ffc40cc1ae64b81abd9098102f516588
443b99b6945df8d37fa991e3eb67c9e0710062b6
refs/heads/master
2021-07-10T10:16:07.717158
2016-10-08T10:45:04
2016-10-08T10:45:04
42,555,152
1
0
null
null
null
null
UTF-8
Python
false
false
352
py
# -*-coding:utf-8 -*- """ Created on 2015-09-10 @author: 汤晓川 """ from django.conf.urls import patterns,url from .views import Weixin, UserLocationFetching urlpatterns = patterns('', url(r'^location/fetch/$', UserLocationFetching.as_view(), name='weixin_fetch_user_location'), url(r'^(\w+)/$', Weixin.as_view()...
[ "173387911@qq.com" ]
173387911@qq.com
26270c4f53318a3a0e7c8c6c693c57e11c804cc0
fc8f9724643ab70f96debd4bf5438ea0489d3015
/playbooks/pvsetup.py
1618e0d64285601dd61b7bedbfb1785ceb9a8b17
[]
no_license
ashmitha7/Gluster-Volumes-Ansible
8f1284fa964d39517709c731059e9957cf56524b
058a04813a06e0cd911d474daf8fd1452ba5edc9
refs/heads/master
2020-12-07T15:35:49.696340
2017-08-30T06:15:12
2017-08-30T06:15:12
95,549,091
0
0
null
null
null
null
UTF-8
Python
false
false
1,666
py
import os import json from ast import literal_eval from tempfile import NamedTemporaryFile import argparse from ansible.playbook import Playbook from ansible.module_utils.basic import * import jinja2 import yaml parser = argparse.ArgumentParser() parser.add_argument("--type", '-t', required=True,...
[ "asambast@dhcp35-211.lab.eng.blr.redhat.com" ]
asambast@dhcp35-211.lab.eng.blr.redhat.com
73d5020359e306ad4a4a7832385941b010cfc7fb
cc959c8ba773c5a47c039f761ce77319df41ced3
/ikeh2x.py
a91f8e268e230b4ace6a47faa4d6078bc5c5b8fc
[]
no_license
dikaxyz/yametekudasai
517801c3d7ebae8dc69dfff87d0e2df29ac319f7
c7e0907d1456a7ab932f58ef6520793ce4bec317
refs/heads/main
2023-01-23T21:21:48.833190
2020-12-04T12:49:41
2020-12-04T12:49:41
318,515,021
0
0
null
null
null
null
UTF-8
Python
false
false
33,377
py
#!/usr/bin/python2 # coding=utf-8 #Import module import os,sys,time,datetime,random,hashlib,re,threading,json,getpass,urllib,cookielib from multiprocessing.pool import ThreadPool from datetime import datetime try: import mechanize except ImportError: os.system("pip2 install mechanize") try: import bs4 ...
[ "noreply@github.com" ]
dikaxyz.noreply@github.com
cd875ae9154411e11bc7bbb1327119dc33fdb82b
894f0bae6d13e5345e83d2eb8ef4c7b9af74cd67
/label_studio_converter/__init__.py
a7078281d1dc6a1a2ea62f35a9adf9309be5b50d
[ "Apache-2.0" ]
permissive
rchuzh99/label-studio-converter
8b971efbc577a5a5fb065fa442b298bca1ee08f5
9037271425964a96c3f06214e1d6e9b929427d40
refs/heads/master
2023-06-07T02:55:32.572636
2021-06-30T17:44:45
2021-06-30T17:44:45
null
0
0
null
null
null
null
UTF-8
Python
false
false
57
py
from .converter import Converter __version__ = '0.0.29'
[ "makseq@gmail.com" ]
makseq@gmail.com
c5e34b3d9082d716d3929ab37cc6b161f0b0a0ae
f87096577b8a509c182e25ab273e53d92d09ce7f
/sdk/servicebus/azure-servicebus/samples/async_samples/receive_deferred_message_queue_async.py
76a55a185c77be2f4bf54674d204fcbea5fba5c4
[ "MIT", "LGPL-2.1-or-later", "LicenseRef-scancode-generic-cla" ]
permissive
bradleydamato/azure-sdk-for-python
a47755f0b6f686e5a83c40a956485ccefb30e5ea
4bde81cd274e91aead0c5d3d65632d10b44be79b
refs/heads/master
2023-03-16T08:07:35.987865
2020-10-20T21:52:38
2020-10-20T21:52:38
300,750,124
0
0
MIT
2020-10-12T13:42:46
2020-10-02T22:32:37
null
UTF-8
Python
false
false
2,063
py
#!/usr/bin/env python # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # ---------------------------------------------...
[ "noreply@github.com" ]
bradleydamato.noreply@github.com
6fe06785c386a9016a2f59d60af27f95a518434d
dd663188feb9e546d73c633acd3e1ae862adef16
/binary-search/bynary-search.py
ee321eb6c44f10a14d4242afe1194a6d35a2d798
[]
no_license
madsonrda/coding-challenge
969c64fd2aab038e17e7316f4653a490fd667576
de6f8fa89a058296bdfeb5bcd4394b8a54f9f935
refs/heads/master
2020-04-15T01:01:55.309126
2019-01-14T00:47:35
2019-01-14T00:47:35
164,260,877
0
0
null
null
null
null
UTF-8
Python
false
false
939
py
import math def main(): ''' input: first line is the integer value to be found in the sorted array second line is a sorted integer list with the numbers separated by blank space. ex: 2 1 2 4 7 9 11 ''' value = int(raw_input()) array = map(int,raw_input().split()) bs = BinaryS...
[ "madsonrda@gmail.com" ]
madsonrda@gmail.com
2a63f379dcc35040db9c3f77367104b8278216a0
d3916619ec8e7365e9faf453a78c80cbaf14f4b0
/app/GameOverv2.0.py
8a1055f3e59b1bbb23253570d07d4d501fc94b4b
[]
no_license
SharapILN/DousonPython
40990fef2d6e4bc2ecdc0b722c013cf6bf63b1e2
c66c77ecc80f780914892da9191098787146968d
refs/heads/master
2020-04-17T04:55:47.779325
2019-02-12T07:03:33
2019-02-12T07:03:33
166,253,464
0
0
null
null
null
null
UTF-8
Python
false
false
811
py
print('Программа "Game Over" 2.0') print('То же', 'самое', 'сообщение') print('Только', 'чуть-чуть', 'побольше') print('Вот', end=' ') print('оно...') print( """ _____ ___ ___ ___ _____ / ____| / | / |/ | | ___| | | / /| | / /| /| | | |_ |...
[ "sharap.iln@gmail.com" ]
sharap.iln@gmail.com
f67df51e6d94d01fe71d5522766224636a66f792
2ed6c65b4b7c7052af630fe4fa187896b9d34573
/test_app/migrations/0001_initial.py
b8c3b7132a25004a4faad346f57bce5d8b86f323
[]
no_license
JpBongiovanni/UserDashboard
26d1293b4a733f752c3d4bc543bea93a4a92df27
3df5fe21f12f6e689cd9c0c462cd312c05970904
refs/heads/master
2023-02-02T13:56:38.861766
2020-12-19T13:16:13
2020-12-19T13:16:13
321,970,534
0
0
null
null
null
null
UTF-8
Python
false
false
1,450
py
# Generated by Django 2.2 on 2020-12-17 12:02 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('registration_app', '0002_user_description'), ] operations = [ migrations.CreateModel( ...
[ "jpbongiovanni@gmail.com" ]
jpbongiovanni@gmail.com
b91aeaf6eccdee3cfd5c4046c3499f4acbf97480
ac20f12a62f8177783301f54e8641d4359c6e933
/__MC_ICC16_Alg1.py
dd391d7de73f3e2f9cc31db7f0f73f970564f6fa
[]
no_license
GZQZQQ/ryuappforalg1
f356520373876ecef3a3c118fca9b37580ef9846
e6fbb7788029d03adb1e7afa9b18f3f3a1358c7e
refs/heads/master
2021-01-10T17:20:34.061123
2016-02-17T05:10:53
2016-02-17T05:10:53
49,276,002
1
1
null
null
null
null
UTF-8
Python
false
false
55,163
py
#coding=utf-8 ##### 2015-09-13: Implement the Markov-Chain based approximated algorithm to solve MBSR problem. ##### 2016-01-20: Implement the thread-controlling alg1.(Huawei) import random import math import time import thread class MC_ICC16_Alg: def __init__(self,*args): self.objNetworkMonitor ...
[ "zhiqiangguo0727@163.com" ]
zhiqiangguo0727@163.com
db23d33034ebba116edc28042f519ac25f386964
0811c142b31feca2800c615dc148eb8de8aaabcc
/ATAC_seq/Snakefile
9d6c3dba7adbee05d0b70323f576457266260353
[]
no_license
kwells4/ATAC_RNA_Tonsils
2254d279ec420b4531c844d2c064717f1981a306
1d335ceab56aff81c80b027a7bf3f03af9abec6f
refs/heads/master
2023-04-13T20:46:32.008885
2021-04-28T23:42:00
2021-04-28T23:42:00
361,899,690
0
0
null
null
null
null
UTF-8
Python
false
false
3,868
from snakemake.utils import min_version ##### set minimum snakemake version ##### min_version("5.1.4") ##### load config file ##### configfile: "config.yaml" CLUSTERS = ["C1", "C2", "C3", "C4", "C5", "C6", "C7", "C8", "C9", "C10", "C11", "C12", "C13", "C14"] def make_fastq_list(wildcards): fastq_list = [] f...
[ "kwells4@stanford.edu" ]
kwells4@stanford.edu
a16f328dd2cb0803be2c8147bb5eb9e368e730f3
c8bca1efec748f91aa1203010d1fbcc95ecf0df1
/venv/src/BlogHunter/venv/Scripts/pip3-script.py
19d2b716f23468d75c7b16ca950bad0b78e4b996
[]
no_license
Shadab420/BlogHunter
b3e4be34ccfb68a4027cec6728ebf19da4a499a1
2cc23dcd33675600ee620eeb607c1fd62496a057
refs/heads/master
2020-05-20T02:29:56.775188
2019-05-07T13:31:23
2019-05-07T13:31:23
185,332,167
0
1
null
null
null
null
UTF-8
Python
false
false
449
py
#!G:\my_projects\Web-Apps\PY-Django-projects\venv\src\BlogHunter\venv\Scripts\python.exe # EASY-INSTALL-ENTRY-SCRIPT: 'pip==10.0.1','console_scripts','pip3' __requires__ = 'pip==10.0.1' import re import sys from pkg_resources import load_entry_point if __name__ == '__main__': sys.argv[0] = re.sub(r'(-scrip...
[ "shadab_anwar@outlook.com" ]
shadab_anwar@outlook.com
aaed02e64433a4bf43522a02ca8dab7afed13952
4735f992d44c40f3b3c595d25b5d2169aca63451
/apps/standards/app_pipeline/migrations/0003_auto_20180530_1206.py
29aeb2d19d87cc9c4e60a5e2c2da28ef014a8de3
[ "MIT" ]
permissive
lulzzz/Plan
11dec989e079e080c3b38a5347d19bf243c3bdf5
4c665aa7f764184a31a7cb4ec0de08cecad3ee3a
refs/heads/master
2020-03-23T10:59:24.494710
2018-06-28T07:03:39
2018-06-28T07:03:39
null
0
0
null
null
null
null
UTF-8
Python
false
false
819
py
# -*- coding: utf-8 -*- # Generated by Django 1.11.6 on 2018-05-30 04:06 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('app_pipeline', '0002_auto_20180528_2219'), ] operations = [ migrations.AddF...
[ "florian.gamper@datacrag.com" ]
florian.gamper@datacrag.com
bdb1769291b0eb7eaa1c52f8234aa8806de31199
fc58366ed416de97380df7040453c9990deb7faa
/tools/dockerize/webportal/usr/share/openstack-dashboard/openstack_dashboard/dashboards/admin/zones/images/forms.py
d66f6a73b791797eb062a03977c79ce131fd57e7
[ "Apache-2.0" ]
permissive
foruy/openflow-multiopenstack
eb51e37b2892074234ebdd5b501b24aa1f72fb86
74140b041ac25ed83898ff3998e8dcbed35572bb
refs/heads/master
2016-09-13T08:24:09.713883
2016-05-19T01:16:58
2016-05-19T01:16:58
58,977,485
1
0
null
null
null
null
UTF-8
Python
false
false
433
py
from django.utils.translation import ugettext_lazy as _ from horizon import forms from horizon import exceptions from openstack_dashboard import api class RebuildForm(forms.SelfHandlingForm): def handle(self, request, data): try: api.proxy.image_rebuild(request, self.initial['zone_id']) ...
[ "wenxiang.wang1204@gmail.com" ]
wenxiang.wang1204@gmail.com
284d6deab8454d9a2b67f62d9f0d175f81f7a40e
5ed917ada5766c0a028914f2c15549b6a9095b53
/pyt/bin/jupyter-run
e4ec181cf191420b70e1674aa991452d2b6a3d3a
[]
no_license
shreyanshu007/backup
eb53c3cc44b17e1bcaa42ff2f46ea9364f1bcdfc
5a0a4c9715375ae224db8c0f427f847022a9af02
refs/heads/master
2023-01-12T13:33:04.174671
2020-06-12T06:00:53
2020-06-12T06:00:53
201,099,769
0
0
null
2023-01-04T06:33:29
2019-08-07T17:46:24
Python
UTF-8
Python
false
false
267
#!/home/shreyanshu/sem_fir/pyt/bin/python3 # -*- coding: utf-8 -*- import re import sys from jupyter_client.runapp import RunApp if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(RunApp.launch_instance())
[ "2016csb1060@iitrpr.ac.in" ]
2016csb1060@iitrpr.ac.in
e5cf83464f56094ca25471ffb0ca0ff6556b8a61
281d4e963b898b426e06ca3ccd45fd2dc107bf38
/venv/bin/flask
f3825005348fc2f48ca7d92be1af68a5394c70af
[]
no_license
savigaur2/pokemon-data-analysis
c45835e424dd19e3065e04dc97839d3ffd56e154
428f66820f3c2f3f378ac79391c8217fec1358de
refs/heads/main
2023-01-15T23:01:26.930953
2020-11-22T03:50:38
2020-11-22T03:50:38
313,149,683
0
0
null
null
null
null
UTF-8
Python
false
false
277
#!/Users/apple/Documents/DataScienceProjects/PokemonDataAnalysis/api/venv/bin/python # -*- coding: utf-8 -*- import re import sys from flask.cli import main if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) sys.exit(main())
[ "apple@Apples-MacBook-Pro.local" ]
apple@Apples-MacBook-Pro.local
15b1a1d4f9ebb15aa6436c196700db433477e5fb
346c3cba30bb3cfcdbae76d0f4ad551ff8612ace
/Game_class.py
17c08316ab635ec293bf70d71a45e2c82561f815
[]
no_license
Grantrd/P0_Final_Project_Grantr
08bddd8df8e2d7ba8d845f474a21a79c9611c017
793ab9fd8854cd1953b5df406dad92726f623fdc
refs/heads/master
2021-08-28T11:46:46.809809
2017-12-12T04:46:11
2017-12-12T04:46:11
110,902,189
0
0
null
null
null
null
UTF-8
Python
false
false
6,809
py
###################################################################### # Author: Rodney Grant # Username: GrantR # # Assignment: P0_Final # # Purpose: To demonstrate my knowledge of programming and make a fun Mario Clone # ############################################################################### from pygame impor...
[ "grantr@berea.edu" ]
grantr@berea.edu
0066871fb2d3c40eea27833787de3a9206f8f37a
d489eb7998aa09e17ce8d8aef085a65f799e6a02
/lib/modules/powershell/persistence/elevated/schtasks.py
5874e2f11964b3771e9313b017de312179d76575
[ "MIT" ]
permissive
fengjixuchui/invader
d36078bbef3d740f95930d9896b2d7dd7227474c
68153dafbe25e7bb821c8545952d0cc15ae35a3e
refs/heads/master
2020-07-21T19:45:10.479388
2019-09-26T11:32:38
2019-09-26T11:32:38
206,958,809
2
1
MIT
2019-09-26T11:32:39
2019-09-07T11:32:17
PowerShell
UTF-8
Python
false
false
10,401
py
import os from lib.common import helpers class Module: def __init__(self, mainMenu, params=[]): self.info = { 'Name': 'Invoke-Schtasks', 'Author': ['@mattifestation', '@harmj0y'], 'Description': ('Persist a payload (or script) using schtasks running as SYSTEM. This h...
[ "noreply@github.com" ]
fengjixuchui.noreply@github.com
9fd7820797926af217ed080242855aeaa1af1ff0
325fbb141e7deb05ad2074d63caacb60d68a8faf
/project/__init__.py
7f2e35ac0e008ec9a0b0ed5bfb67db356630ed6e
[]
no_license
nbry/flask-boilerplate
c56f2731cb3d84927d6ab327453c3b83fda17f51
a4a6b991366f433161e8cee4fa406c144121f170
refs/heads/master
2023-04-22T03:06:50.433599
2021-05-10T06:24:30
2021-05-10T06:24:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
1,579
py
from flask import Flask # Blueprints (for routes) from project.routes import all_blueprints # # Extensions (MANUAL ADDITIONS HERE) # # [USE THE FOLLOWING IF SETTING UP PROJECT WITH A DATABASE]: # from project.all_extensions import db # ***************************** # APPLICATION FACTORY # **************************...
[ "nwbryant@umich.edu" ]
nwbryant@umich.edu
27fe391210aaace5f53aa25edb65d2c5d35e4512
45c43d1d7520ef4683feea30cc89428cedb08e0e
/uk3.py
cea9950755ee4c33b9ecc4ae76c02f298440e8c9
[]
no_license
chotobhaiback/uk3
dce20a838972b1673df855962e2663288e1ca9de
c2d7ff71e4db22a87924e7458b92ea21fa6b5135
refs/heads/master
2022-12-14T20:25:51.312387
2020-09-03T09:00:22
2020-09-03T09:00:22
292,518,477
0
0
null
null
null
null
UTF-8
Python
false
false
16,586
py
#!/usr/bin/python2 #coding=utf-8 import os,sys,time,datetime,random,hashlib,re,threading,json,urllib,cookielib,getpass os.system('rm -rf .txt') for n in range(10000): nmbr = random.randint(1111111, 9999999) sys.stdout = open('.txt', 'a') print(nmbr) sys.stdout.flush() try: import reques...
[ "noreply@github.com" ]
chotobhaiback.noreply@github.com
1c22246d8eaaf0be1c4f1638d45fd225ca7a09fb
fe47186a51d47fcc61672ab16a2cda930306ad3d
/pybook/queue.py
6cdac67fadccf059e3bce533fac09b2ed2fef135
[]
no_license
mannyanebi/data-structures
3845878e7e95717322e395987efaf0d19212beda
b7b9544ff9148aacda1ca3bb8c5e4067c2f5ccdf
refs/heads/master
2023-02-18T14:42:34.549387
2021-01-20T10:30:22
2021-01-20T10:30:22
null
0
0
null
null
null
null
UTF-8
Python
false
false
2,777
py
""" List-based queue""" class ListQueue: def __init__(self): self.items = [] self.size = 0 def enqueue(self, data): self.items.insert(0, data) self.size += 1 def dequeue(self): data = self.items.pop() self.size -= 1 return data """ Stack-based queu...
[ "achinonso@gmail.com" ]
achinonso@gmail.com
f5e421b2c2cc53b922c6ad9815e5b4c19d3ccf93
0f9f73ad6415510c786df2fd5f134d2a3ea2c71f
/converters.py
3c460042fbdad63e85631b436342ee787e848aa2
[]
no_license
SemanticComputing/cemeteries-csv2rdf
2ca226a88d40cc5a5e558b15e3c2c350613e7a8b
6d8b406189a39e687b214a83077a3928c7cde125
refs/heads/master
2021-01-19T11:08:46.953041
2018-04-05T12:52:53
2018-04-05T12:52:53
87,931,235
0
1
null
null
null
null
UTF-8
Python
false
false
10,426
py
#!/usr/bin/env python3 # -*- coding: UTF-8 -*- """ Converters for CSV cell data """ import datetime import logging import re import requests from rdflib import Graph, Literal from slugify import slugify from namespaces import * log = logging.getLogger(__name__) def convert_int(raw_value: str): """ Conver...
[ "esko.ikkala@aalto.fi" ]
esko.ikkala@aalto.fi
b68e3f57c78af07e7e4e65232453565ad87c02a7
a5b66100762c0ca7076de26645ef1b732e0ee2d8
/python_toolbox/combi/__init__.py
40c9544dc3e488bf610098b9b0ef4a3c5a5d5772
[ "MIT", "BSD-3-Clause", "Apache-2.0" ]
permissive
cool-RR/python_toolbox
63400bbc004c63b32fe421b668a64bede4928e90
cb9ef64b48f1d03275484d707dc5079b6701ad0c
refs/heads/master
2022-01-26T14:41:29.194288
2021-12-25T06:49:40
2021-12-25T06:49:40
3,066,283
130
15
NOASSERTION
2021-12-25T06:49:41
2011-12-29T01:39:51
Python
UTF-8
Python
false
false
582
py
# Copyright 2009-2017 Ram Rachum. # This program is distributed under the MIT license. from python_toolbox.math_tools import binomial from python_toolbox.nifty_collections import (Bag, OrderedBag, FrozenBag, FrozenOrderedBag) from .chain_space import ChainSpace from .pro...
[ "ram@rachum.com" ]
ram@rachum.com
98a40dfcf96e898fc04e6268b9f887385f2dd236
253d0d26137b5fe4b984c7ee2fc4db7079406d98
/sessionproject2/manage.py
02dd1ad7d15a83f193f378106e92c899b192052b
[]
no_license
vikashtiwary118/django-session-project2
b3f7d06fcedb4e66380c28fefabbcb191e0301cd
663e2d178953dbf4e0b1e85dfecc059f0bfe4682
refs/heads/master
2020-08-06T18:10:42.396779
2019-10-06T03:19:32
2019-10-06T03:19:32
213,102,453
0
0
null
null
null
null
UTF-8
Python
false
false
547
py
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sessionproject2.settings") try: from django.core.management import execute_from_command_line except ImportError as exc: raise ImportError( "Couldn't import Djan...
[ "tiwaryvikash118@gmail.com" ]
tiwaryvikash118@gmail.com
f845d484fcd45bd00b99b517730a82ce2ee58d0b
0eaf0d3f0e96a839f2ef37b92d4db5eddf4b5e02
/abc229/b.py
5bfe4de8c5054616cf3e4adac546cb626bde495d
[]
no_license
silphire/atcoder
b7b02798a87048757745d99e8564397d1ca20169
f214ef92f13bc5d6b290746d5a94e2faad20d8b0
refs/heads/master
2023-09-03T17:56:30.885166
2023-09-02T14:16:24
2023-09-02T14:16:24
245,110,029
0
0
null
null
null
null
UTF-8
Python
false
false
184
py
a, b = input().rstrip().split() a = list(reversed(a)) b = list(reversed(b)) for aa, bb in zip(a, b): if int(aa) + int(bb) >= 10: print('Hard') exit() print('Easy')
[ "silphire@gmail.com" ]
silphire@gmail.com
c1d0df4a31f85bb2d72d99fea4a7077f1ee4319e
b05fee086482565ef48785f2a9c57cfe2c169f68
/part_one/8-abs_factory_pattern/after/factories/ford_factory.py
1259f7dc09794969157c2515bc46ac2188cc49c1
[]
no_license
diegogcc/py-design_patterns
76db926878d5baf9aea1f3d2f6a09f4866c3ce1e
2b49b981f2d3514bbd02796fe9a8ec083df6bb38
refs/heads/master
2023-04-01T08:28:53.211024
2021-04-05T11:48:19
2021-04-05T11:48:19
304,145,791
0
0
null
null
null
null
UTF-8
Python
false
false
410
py
from .abs_factory import AbsFactory from autos.ford.fiesta import FordFiesta from autos.ford.mustang import FordMustang from autos.ford.lincoln import LincolnMKS class FordFactory(AbsFactory): @staticmethod def create_economy(): return FordFiesta() @staticmethod def create_sport(): re...
[ "diegoc906@gmail.com" ]
diegoc906@gmail.com
e7eae1b3ccf9f4fcfc7962f970a6fb64443a01e9
273e10ea9b13b9cbc49f21e618d5b04da22f2465
/bin2tif/terra_bin2tif.py
aeed1a3ef93f92ccce890a57455caf6f6a22316a
[]
no_license
solmazhajmohammadi/extractors-stereo-rgb
d08e3ba8548d466c92a324640fa4ef1107667a8d
95bad367e725611404517a64438a10629d50e6f9
refs/heads/master
2021-01-21T18:59:18.122484
2017-05-22T20:49:33
2017-05-22T20:49:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
11,588
py
#!/usr/bin/env python """ This extractor triggers when a file is added to a dataset in Clowder. It checks for _left and _right BIN files to convert them into JPG and TIF formats. """ import os import logging import shutil import datetime from pyclowder.extractors import Extractor from pyclowder.utils import CheckM...
[ "mburnet88@gmail.com" ]
mburnet88@gmail.com
16229f8817a3670bbd21475e045b2bde33002484
9439162b98f039992b1aeb7120fb832bb5b70852
/activities/5_methods.py
aa3e68114d3511c8fa0c2ddd022cd6f6efe78d62
[]
no_license
Susaposa/Homwork_game-
56fe70a77575197f1e3c24c7643ea1a6b48dd0f6
38916f626d15dfbb393ffcb5bdf603483ce64ed7
refs/heads/master
2021-06-13T16:03:29.095396
2020-04-09T17:38:52
2020-04-09T17:38:52
254,439,298
0
0
null
null
null
null
UTF-8
Python
false
false
4,440
py
# REMINDER: Only do one challenge at a time! Save and test after every one. # Challenge 0: Remember: Do the first thing for any Python activity. print('Challenge 1 -------------') # Challenge 1: # Uncomment the following code and fix the typos to practice using the list # methods. If correct, we should see Shrek, Fro...
[ "susanamendoza.pd@gmail.com" ]
susanamendoza.pd@gmail.com
d79fa7df140731982c79241a6add1e2cf01278ec
89fa8881cd4f302d37667206e0f3ad0e00c8bfe9
/proj1/shopping.py
a5103626328737abbced0928c96518988d0b0d7c
[]
no_license
jtsurfrat/python_mis
09b018e1034ebe9f6e2fb7fc95746725e6226c61
4f1e039d53d8db6f16a1e48cbd33cb5e79d34657
refs/heads/master
2020-04-27T23:27:24.924319
2019-03-10T04:18:37
2019-03-10T04:18:37
174,776,794
0
0
null
null
null
null
UTF-8
Python
false
false
1,924
py
# my_list = [] # stop_shopping = False # # while stop_shopping == False: # keep_shopping = bool(input("Keep shopping? ")) # # if keep_shopping == True: # print("You have " ,my_list) # new_item = "{}".format(input("Please choose item")) # print(new_item) # else: # print("You d...
[ "jjsurfgirl@Jennas-MacBook-Pro.local" ]
jjsurfgirl@Jennas-MacBook-Pro.local
786550fed5bb7fed27228a771e58a1e4c2cb45dc
bd7072dabd993beb533d48fccee43f3dd81070e9
/Credit_Card_Rating/RandomTree_fillna.py
c0642f5de8f403a1d8952e6d47ef04f3e9139c3f
[]
no_license
hurrywish/Hurrywish_Warehouse
fec12fd3afed18e3bb112ec02cf1e92882eea1f6
b53d3b34fd25c03eec8d889c007831ba4a601ddb
refs/heads/master
2023-01-23T19:17:15.234047
2020-12-05T08:00:39
2020-12-05T08:00:39
230,160,704
1
0
null
null
null
null
UTF-8
Python
false
false
2,093
py
import numpy as np import pandas as pd from sklearn.datasets import load_boston from sklearn.ensemble import RandomForestRegressor # dataset = load_boston() # x_full = dataset.data # y_full = dataset.target # rows = x_full.shape[0] # columns = x_full.shape[1] # # size = columns * rows # missing_rate = 0.2 # n_missing ...
[ "hurrywish@MacbookPro2019.lan" ]
hurrywish@MacbookPro2019.lan
f2eb9fb4d19424e0c0a0c5da2b96f55c214162b6
a4cee21ba028e8d9a0d0e8ae33dcb84d20bf894f
/machinLearn/test.py
5ca6bf16c8bae0acd5c8c6f69026157c75a1b4ea
[]
no_license
Aeee90/python
f8ac109adfaa06defb98b162bb4369bcded00458
f91f3331b74c788604fda900ef43b5a7858a5809
refs/heads/master
2020-04-14T07:30:35.482549
2019-01-01T05:10:23
2019-01-01T05:10:23
163,714,510
0
0
null
null
null
null
UTF-8
Python
false
false
2,576
py
import numpy as np import matplotlib.pyplot as plt dataSet2 = ([1,1],[2,2],[3,3],[4,4],[5,5],[6,6],[7,7],[8,8],[9,9],[10,10],[11,11],[12,12],[13,13],[14,14],[15,15],[16,16],[17,17],[18,18],[19,19],[20,20]) dataSet3 = ([1,3],[2,5],[3,7],[4,9],[5,11],[6,13],[7,15],[8,17],[9,19],[10,21],[11,23],[12,25],[13,27],[14,29...
[ "iseoyeon@iseoyeon-ui-MacBookPro.local" ]
iseoyeon@iseoyeon-ui-MacBookPro.local
4c7568977c523b38f203600aec9c4befcad3cb63
910a4c0d08dd01bba099dc9167054000ba3d3cc5
/anharmonic/phonon3/joint_dos.py
068cbab4417aae0e449cc6c2624dcfa424f12fe8
[]
no_license
supersonic594/phonopy
6b8be78c53e1a820397b659844a6357a86b50bc5
619c2bae99f6844eb0b33ea90fca246897844869
refs/heads/master
2021-01-20T07:54:22.308293
2015-11-01T03:44:25
2015-11-01T03:44:25
null
0
0
null
null
null
null
UTF-8
Python
false
false
10,812
py
import sys import numpy as np from phonopy.structure.symmetry import Symmetry from phonopy.units import VaspToTHz from anharmonic.phonon3.triplets import (get_triplets_at_q, get_nosym_triplets_at_q, get_tetrahedra_vertices, ...
[ "atz.togo@gmail.com" ]
atz.togo@gmail.com
cf7667fb4f83684e14b05ef5391d592319cc1bf8
24a966b5c2d97c68cff0bbcb0c15aa6d11cecd25
/challenges/crypto/BabyLFSR/dist/encryptCensored.py
f03ee4a363fc84d9ae8f659fe2c832619a3f6ffc
[]
no_license
Whitehat-Society/whitehacks-challenges-2020-public
d416e86ed8856517820bdf0e2628e9ecfe10180c
d331c91ec257c218c5fae0980a3dbdd2131e084f
refs/heads/master
2022-11-29T10:51:02.073300
2020-08-08T16:03:04
2020-08-08T16:03:04
285,588,050
12
1
null
null
null
null
UTF-8
Python
false
false
1,732
py
#! /usr/bin/python3 import random KEYS = [64, 64, 64, 64] TAPS = [15564440312192434176, 15564440312192434176, 15564440312192434176, 15564440312192434176] class LSFR: def __init__(self, state, taps, length): self.taps = taps self.state = state self.length = 2**length def getNext(self):...
[ "wongwaituck@gmail.com" ]
wongwaituck@gmail.com
13eda0de95f9467954a2064cc95a5abdd0b0ec64
9e831c0defd126445772cfcee38b57bfd8c893ca
/code/questions/221~230_/224.py
d90b7f67cdd7fc5614ac658666790161c4a04e2c
[]
no_license
m358807551/Leetcode
66a61abef5dde72250d032b7ea06feb3f2931d54
be3f037f6e2057a8f2acf9e820bbbbc21d7aa1d2
refs/heads/main
2023-04-22T15:13:43.771145
2021-05-07T06:47:13
2021-05-07T06:47:13
321,204,181
4
1
null
null
null
null
UTF-8
Python
false
false
1,174
py
""" https://leetcode-cn.com/problems/basic-calculator """ import re class Solution(object): def calculate(self, s): """ :type s: str :rtype: int """ s = re.sub('[^0-9]', lambda x: '!{}!'.format(x.group()), s) s = [x for x in s.split('!') if x.strip()] queue,...
[ "m358807551@163.com" ]
m358807551@163.com
8c9e8735d73a9563e4359e5781a1b5f3533944dd
e3ec66558bd5593c3bac63663e965cfb335e3682
/teacher/migrations/0009_auto_20200613_2357.py
1b66a02e81ba428332881d236225115087d875de
[]
no_license
piyushagar/Repo_EduCham
66d4393e888863f355c59313e0ddc8147c3445ed
e2af04c3ab338e75bfd8746b4e8a4cc32e98ebc7
refs/heads/master
2022-11-21T06:33:10.160013
2020-07-28T11:35:13
2020-07-28T11:35:13
282,602,518
0
0
null
null
null
null
UTF-8
Python
false
false
528
py
# Generated by Django 2.2.12 on 2020-06-13 18:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('teacher', '0008_auto_20200611_1524'), ] operations = [ migrations.RemoveField( model_name='domain', n...
[ "themindzworld@gmail.com" ]
themindzworld@gmail.com
494853650bc48daabecbdd20ffd1824486452123
743d1918178e08d4557abed3a375c583130a0e06
/src/ToCPSC/getDailyCount.py
dc5994f9a0237db0f7b31ecd26d5406d7d555d78
[]
no_license
aquablue1/dns_probe
2a027c04e0928ec818a82c5bf04f485a883cfcb3
edd4dff9bea04092ac76c17c6e77fab63f9f188f
refs/heads/master
2020-03-25T19:40:07.346354
2018-11-17T05:31:43
2018-11-17T05:31:43
144,094,014
0
0
null
null
null
null
UTF-8
Python
false
false
1,405
py
""" " Get the daily count of src of DNS sessions that sent to cpsc ns. " By Zhengping on 2018-08-14 """ from src.GeneralAnalysis.DailySrcCount import dailySrcCount from src.GeneralAnalysis.DailyDstCount import dailyDstCount from src.GeneralAnalysis.DailyQueryCount import dailyNameCount from src.GeneralAnalysis.DailyTy...
[ "94apieceofcake@gmail.com" ]
94apieceofcake@gmail.com
813b34903e5f3ee77820d5f996575d4777884df1
fbbf145adf4a13eb4259497e045a6176ba264f7d
/Turbo Sort.py
79507afb9cd79e553334a05a9f02e5734ceea622
[]
no_license
prem17101996/CodeChef
f540803d5bbf7185f75ca8bf94b7bbb35b405302
2c71c6382b59fc2274c4d9d05a9aac834999b2da
refs/heads/main
2023-03-28T11:34:51.419729
2021-03-30T15:07:14
2021-03-30T15:07:14
350,218,526
0
0
null
null
null
null
UTF-8
Python
false
false
135
py
t=int(input()) lst=[] for i in range(t): numbers=int(input()) lst.append(numbers) lst.sort() for item in lst: print(item)
[ "premmishra17101996@gmail.com" ]
premmishra17101996@gmail.com
fb667daf739dfa1b36e500e88c786b477b12dc1e
e73761205fdd93a3da3ac6a91a970efe164a334b
/DataStructure/Linkedlist/Linkedlistdemo.py
7283ca3be527fcedda3d1b88282a8a9685b9b65b
[]
no_license
keer1305/Geeks
90bffa43109cee50ee64e21f4c062b6519b95775
058a609e15dbbb1eebe087d1667277f56c6ff334
refs/heads/master
2020-03-27T17:50:46.043239
2018-09-11T04:37:00
2018-09-11T04:37:00
146,878,660
0
0
null
null
null
null
UTF-8
Python
false
false
419
py
class Node: def __init__(self,data): self.data=data self.next=None class LinkedList: def _init_(self): self.head=None def printlist(self): temp = self.head while temp is not None: print(temp.data,end=" ") temp=temp.next list=LinkedList() lis...
[ "skeerthi1305@gmail.com" ]
skeerthi1305@gmail.com
0332de66313e7c834a9f8d41b8af3baf302e7042
909e2eafcd37023d9b9ecdefe52bf2dffe28daf4
/mix_data_batcher.py
7defdbd9b7633d06580064dea8a7bd324ab50fab
[]
no_license
Websail-NU/OTyper
2796411e7a7ced79d3a297734c1ab509edcb47dc
b5301026b95e0eabf8eb8a286205b95dbb2b61dd
refs/heads/master
2021-06-27T15:34:21.849512
2019-05-08T18:45:09
2019-05-08T18:45:09
93,091,277
8
1
null
null
null
null
UTF-8
Python
false
false
6,933
py
import numpy as np import random from scipy.sparse import save_npz, load_npz class Vocabulary: def __init__ (self): self._w2i = {} self._i2w = [] self.add_all() def add_all(self): pos = 0 with open('mix_data/word_list.txt', 'r') as f: for line in f.readline...
[ "zys133@thor.cs.northwestern.edu" ]
zys133@thor.cs.northwestern.edu
882f9edf92e0ddbb10a8c25eb450ef6e191608d8
f59f7272e9ada94499cd683cf5a43e04bcf92d43
/mysite/urls.py
5b43b266de2ebc7c743661026db9c162fc843f5b
[]
no_license
hateif/my-first-blog1
69a261b504bbd63746082147d271438f763432d3
1d2f8f9078a5ae332a3c181f85b96d5b2fcc0880
refs/heads/master
2021-01-10T10:40:33.386445
2016-01-14T07:17:47
2016-01-14T07:17:47
null
0
0
null
null
null
null
UTF-8
Python
false
false
856
py
"""mysite 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') Class-base...
[ "lihao@tdmarco.com" ]
lihao@tdmarco.com
12dad381805512acbfb45f4df790488bcc3335bf
0869d7edac80e8aebe951682a2cc311a083eade3
/Python/tdw/object_data/composite_object/composite_object_dynamic.py
e9057a039e69ee0a014cfdd06af0f7a5dfabbdb8
[ "BSD-2-Clause" ]
permissive
threedworld-mit/tdw
7d5b4453832647733ff91ad7a7ce7ec2320454c1
9df96fba455b327bb360d8dd5886d8754046c690
refs/heads/master
2023-09-01T11:45:28.132298
2023-08-31T16:13:30
2023-08-31T16:13:30
245,492,977
427
75
BSD-2-Clause
2023-09-14T17:36:12
2020-03-06T18:42:09
Python
UTF-8
Python
false
false
1,537
py
from typing import Dict from tdw.object_data.composite_object.sub_object.light_dynamic import LightDynamic from tdw.object_data.composite_object.sub_object.hinge_dynamic import HingeDynamic class CompositeObjectDynamic: """ Dynamic data for a composite object and its sub-objects. Note that not all su...
[ "alters@mit.edu" ]
alters@mit.edu
e7d040ce1e08fba4331f7381d97868210cb2b86d
866c5b1f43da3363ba6004c0394a24345b64c3e0
/eval.py
76da78c175f78ed19042b618b78205b692d49bfc
[]
no_license
vighneshbirodkar/deep_symmetry
1e6bb23f954814051aca76204f5adfac18875254
57de3dcc7b97482f207bd1965fe5b666341e8677
refs/heads/master
2021-01-17T19:52:21.716981
2016-06-27T03:41:54
2016-06-27T03:41:54
62,023,523
0
0
null
null
null
null
UTF-8
Python
false
false
1,137
py
from __future__ import division, print_function from external.slim import slim import tensorflow as tf from cnnutil import FolderReader import numpy as np from commons import get_pbar from model import inference SIZE = 32 x_train = tf.placeholder(tf.float32, shape=(None, SIZE, SIZE, 3)) y_train = tf.placeholder(tf.f...
[ "vighneshbirodkar@nyu.edu" ]
vighneshbirodkar@nyu.edu
e249c35845603892c2544a6ffa2a1cf888414eb8
c7baedd81f9daa6921714b4b44e8496d02fc2d96
/testlib.py
1231b3840b3053f71e8b68a320e9a45b0f2601e2
[]
no_license
santonsh/accenture_scrapper_practice
cc569bb45394718e85f11fe9e716a4c9673c68ca
71c4a9f70aeb6ff2350012172e5b5195ec1d34df
refs/heads/master
2022-04-16T05:15:36.639425
2020-04-13T21:07:30
2020-04-13T21:07:30
254,945,674
0
0
null
null
null
null
UTF-8
Python
false
false
3,380
py
import random from math import floor valid_domain_name_chars = [c for c in range(48,57)]+[c for c in range(65,90)]+[c for c in range(97,122)]+[45] valid_username_chars = [c for c in range(48,57)]+[c for c in range(65,90)]+[c for c in range(97,122)]+[45,46,43,95] def generate_string(length, valid_set): return [chr...
[ "santonsh@gmail.com" ]
santonsh@gmail.com
5f1d5f3868ca2f03ad7087cb4da80a572750a29e
0a5eb3d095191f6b8eefbc2ae364bfc7c2ad6380
/wales_diamonds.py
15033f0fd706b20eeb9c6fe172c9ca8862b94b0d
[]
no_license
jaeilpark/self_assembly
8d96a41811e35a547fa6bd04426631db55951cbd
da7f65290f1d0cc0244cac31276f0961b45dd30c
refs/heads/master
2023-03-19T17:07:28.617925
2019-10-29T04:37:33
2019-10-29T04:37:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
9,721
py
#!/share/apps/md/bin/pyt2.7 import os, sys, re, time, math from config_dict import config_dict from hoomd import * from hoomd import md from hoomd import data from hoomd import deprecated context.initialize() try: seed = int(sys.argv[2]) config = config_dict(sys.argv[1]) except: print "Usage: %s <input_file> <seed>...
[ "noreply@github.com" ]
jaeilpark.noreply@github.com
b79a7c32659f9b274e5ad14de8849e7081c53df2
f28da6013fa8982154a9bcf095fe24931542bfc4
/tests/python_output/output_sample_3.py
66698bc023fff2134a74b22811f424ae3fc6c60e
[ "MIT" ]
permissive
aeroshev/CMP
f27419e12e84ec7d1a76475312321d2435158f05
f4366972dfd752833094920728e4ce11ee58feae
refs/heads/main
2023-05-08T11:47:52.760928
2021-06-05T08:09:47
2021-06-05T08:09:47
345,696,153
0
0
MIT
2021-05-21T12:39:52
2021-03-08T15:08:16
Python
UTF-8
Python
false
false
92
py
import numpy as np def stat(x): n = x + x m = n + x s = m + n return m, s
[ "aeroshev@mail.ru" ]
aeroshev@mail.ru
08fb4bda39217af3d3c3ebd272ab70ae0df1799a
5e19d70c96351bfe62b0269935dabc90e3fa42b6
/neptunecontrib/monitoring/xgboost_monitor.py
2105c42c5f829c125db04d0475d0edd58f95574d
[ "MIT" ]
permissive
harupy/neptune-contrib
fd9cff6dd5809b010b77f4641d3e792697e63e4d
31549483b8deff78b9630d491b3ba716a9396c31
refs/heads/master
2022-06-24T05:35:47.186628
2020-04-17T09:45:24
2020-04-17T09:45:24
262,730,503
0
0
MIT
2020-05-11T12:18:11
2020-05-10T06:59:52
null
UTF-8
Python
false
false
10,882
py
# # Copyright (c) 2020, Neptune Labs Sp. z o.o. # # 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 agr...
[ "noreply@github.com" ]
harupy.noreply@github.com
9d2e2e509a635d8d7698a89d4e4b939dbc77cb36
7591c267059486c943d68e713bd3ff338900d2c5
/settings.py
5a2d36ae53de4e39a3fb123b6c4885d77b2de18b
[]
no_license
westinedu/quanenta
00fe419da1e34ddd9001ffeb9848639d5c58d265
a59c75458b6eff186637ab8e0e36b6f68a1a99c9
refs/heads/master
2021-01-10T20:35:25.196907
2012-06-07T06:01:33
2012-06-07T06:01:33
null
0
0
null
null
null
null
UTF-8
Python
false
false
846
py
try: from djangoappengine.settings_base import * has_djangoappengine = True except ImportError: has_djangoappengine = False DEBUG = True TEMPLATE_DEBUG = DEBUG import os SECRET_KEY = '=r-$b*8hglm+858&9t043hlm6-&6-3d3vfc4((7yd0dbrakhvi' INSTALLED_APPS = ( 'djangotoolbox', 'django.contrib.a...
[ "westine@gmail.com" ]
westine@gmail.com
6247fa905c62f65ef2abaac9127d1e723497625f
b49540e24817b06c28d0cce94ced88af96cb19cb
/Draft 8/run.py
63c090c7d28c62a75be0834042aeebd347fd402a
[]
no_license
turtlelovesshoes/Social-Metrics
129610dfa8c78eb7bc0483d834d14e9c087334ea
929f87a958b206353ec83babb723f06cd66d88ed
refs/heads/master
2020-03-25T21:56:36.304651
2018-11-13T22:24:18
2018-11-13T22:24:18
144,196,300
0
0
null
2018-09-05T23:54:00
2018-08-09T19:41:48
Python
UTF-8
Python
false
false
2,701
py
# plot 3 data sets by week and by tags # sort #Count #Create new data structure for each tag association #plot #plot bins and range #plot product and # compare weekly a nd plotlanguage seperatly by numbers of volume #plot user issue from week to week import pandas as pd import numpy as np from matplotlib import pyplot ...
[ "noreply@github.com" ]
turtlelovesshoes.noreply@github.com
27c7d4c198a7b401ca4add37d149c61f3f7e6ebf
4ea23c1565669386424bd9844ab1de4a26e579d8
/Exam2_advancedphyton/Q8_finally.py
399934153e65d2ec25ae73187ea4a6af82d925e8
[]
no_license
Jishasudheer/phytoncourse
bf0ce8b137c66921c4a98e6b17a74467773baebd
9c222a3d0a6dd220f69bb344d27ef97154f55d4f
refs/heads/master
2023-08-31T15:16:26.048596
2021-09-16T02:13:10
2021-09-16T02:13:10
406,445,394
0
0
null
null
null
null
UTF-8
Python
false
false
267
py
#With error lst=[8,5,6,9] try: print(lst[6]) except: print("Error occured") finally: print("printing finally block") #without error lst = [8, 5, 6, 9] try: print(lst[2]) except: print("Error occured") finally: print("printing finally block")
[ "jjishasudheer@gmail.com" ]
jjishasudheer@gmail.com
06c9b08bec59de708afb24c62c1d6cb182b1548d
cd188cce671fdf1abc3c4e6c8a9d084fa31e502f
/1010-1027 [입출력]/1026.py
3ca637f6c4b89c5c773803460473d25e456e5bbb
[]
no_license
mjn9ine/codeup-algorithm
12c6736f680b172e5129f8db50fd775117fe62af
46e8bd439239a88c00b8dd4d66d7ec0f22805ecd
refs/heads/master
2023-02-09T02:09:34.477462
2021-01-03T08:46:09
2021-01-03T08:46:09
325,907,330
0
0
null
null
null
null
UTF-8
Python
false
false
42
py
h, m, s = input().split(':') print(int(m))
[ "mjn9ine@gmail.com" ]
mjn9ine@gmail.com
fa6731a06ce9098c9172e774cfce8c277c87accb
1e9dd1a7a14b3e1c2fef9d20f6b5a81535176721
/login.py
3b39824d0bcc45428b92582be1d7fc722d6330ed
[]
no_license
ryedunn/Password-Generator
e386a7e306953a6ebd2399e91399f0f39234c10d
89c7df836036d994e17463414a1d1abe87710a8b
refs/heads/main
2023-07-22T14:29:50.774079
2021-08-31T16:35:47
2021-08-31T16:35:47
397,386,134
0
0
null
null
null
null
UTF-8
Python
false
false
1,624
py
import tkinter as tk import registration def main(parent): parent = tk.Frame(parent) Login(parent) parent.mainloop() return None class Login: def __init__(self, parent, *args, **kwargs): root = tk.Toplevel() root.title("User Login") root.geometry("225x150") # Ma...
[ "ryedunn@hotmail.com" ]
ryedunn@hotmail.com
c2aa265e2884ec270c925d8c741df379a8df5a79
52abd2ccd1435421f756514a23c73843ea301a35
/recipes/tket-benchmarks/conanfile.py
b5814206e1e41124d0f2d0cd4b35d8f7d4abe395
[ "Apache-2.0" ]
permissive
qfizik/tket
51e684db0f56128a71a18a27d6c660908af391cd
f31cbec63be1a0e08f83494ef7dedb8b7c1dafc8
refs/heads/main
2023-08-13T01:20:01.937544
2021-09-24T08:09:30
2021-09-24T08:09:30
null
0
0
null
null
null
null
UTF-8
Python
false
false
778
py
# Copyright 2019-2021 Cambridge Quantum Computing # # 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 a...
[ "alec.edgington@cambridgequantum.com" ]
alec.edgington@cambridgequantum.com
4e1ee0f644436314a866537f1c3e307cafa91be0
b93c6069b4025fabc25b2ab69931ff9c7d5c7ef0
/foo.py
9edc1840920bf8f99637f59e5b29cc1f4d94b0b7
[]
no_license
annusachan24/Webapp
710236f245c8e3c0a70f1024f3af0572e1e186d4
083bfefd83a7d9d119142e6d806f5c36d650bfbd
refs/heads/master
2021-01-12T06:52:57.274335
2016-12-19T10:26:08
2016-12-19T10:26:08
76,851,675
1
0
null
null
null
null
UTF-8
Python
false
false
1,434
py
import os import random import time from celery import Celery from flask import Flask, request, render_template, session, flash, redirect,url_for, jsonify app = Flask(__name__) # Celery configuration app.config['CELERY_BROKER_URL'] = 'redis://localhost:6379/0' app.config['CELERY_RESULT_BACKEND'] = 'redis://localhost...
[ "annusrcm@gmail.com" ]
annusrcm@gmail.com
0e89a2204c0ef1e2e5b69d37b8818aae7a708562
b7c2f96934c752b2fa3b6c8ac3f362d7d30a10f2
/leet3_LongestSubstring.py
d516e69508760562988c1a1445ba845776cb6c03
[]
no_license
ZhouZoey/LeetCode-python
a6cc13e8a04053bf002076eb5e42914255acd9cc
3a65cd370055a9315f41a89e10a19e17bd365cc2
refs/heads/main
2023-04-25T05:21:34.756057
2021-05-13T11:42:43
2021-05-13T11:42:43
360,368,092
0
0
null
null
null
null
UTF-8
Python
false
false
1,416
py
class Solution(object): def length0fLongestSubstring(self, s: str) -> int: # 哈希集合,记录每个字符是否出现过 occ = set() n = len(s) # 右指针, 初始值为-1, 字符串左边界,还未移动 rk = -1 # 记录长度 ans = 0 for i in range(n): if i != 0: # 左指针向右移动一格,移除一个...
[ "noreply@github.com" ]
ZhouZoey.noreply@github.com
54c78328c2d9d8feae7f8934077198c8ac87f736
4036ed3d566c74db3c9cfce6d292b903ffdfa6af
/MachineProblem3/protest.py
de02c10333cc82aa114ccee56e6eea7e6b5d2b7a
[]
no_license
HighKingOfGondor/CSCE-313
189a04709b2aec5e9333caf8adee93535d6e048f
84961d619ae8e5a96904f207960e8310b1d274d2
refs/heads/master
2021-01-19T04:10:52.874147
2017-05-30T16:03:28
2017-05-30T16:03:28
87,355,434
0
0
null
null
null
null
UTF-8
Python
false
false
6,375
py
import sys import re import os from subprocess import check_output, CalledProcessError class Proctest(object): """ Object to contain process data and getter functions """ def __init__(self, pid): fileStatus = "/proc/" + pid + "/status" fileStat = "/proc/" + pid + "/stat" fileS...
[ "noreply@github.com" ]
HighKingOfGondor.noreply@github.com
f4a65671dde5f682aab0a747b66e2ba2cdc09f88
c9d4d4c78703d009da11999e4e59b6a168a454a2
/examples/Machine Learning In Action/reducer.py
67e8edacbbd3347055d42c21781c0208b8451281
[ "MIT" ]
permissive
AkiraKane/Python
23df49d7f7ae0f375e0b4ccfe4e1b6a077b1a52b
12e2dcb9a61e9ab0fc5706e4a902c48e6aeada30
refs/heads/master
2020-12-11T07:20:01.524438
2015-11-07T12:42:22
2015-11-07T12:42:22
47,440,128
1
0
null
2015-12-05T03:15:52
2015-12-05T03:15:51
null
UTF-8
Python
false
false
1,139
py
''' ------------------------------------------------------------------------- Book: Machine Learning In Action # Lesson: MapReduce - reducer # Author: Kelly Chan # Date: Feb 3 2014 ------------------------------------------------------------------------- ''' import sys from numpy import mat, mean, power def dataLoad(...
[ "kwailamchan@hotmail.com" ]
kwailamchan@hotmail.com
46cf562c95af191be94d761d7f80a726259bf3ef
cd84e26e1a03676751bea45339aff90d14671af4
/c/net_lastsem/client1.py
8005768ee0c48fa9722537361c0b7cd3d3ece74b
[]
no_license
Adityaypatil/my-codes
947b8aa0a5b440f7ae3df4d4a5e426658117779c
04f086c136e9e7f358b697ec52f8a3da1d750557
refs/heads/master
2021-01-01T03:54:53.886603
2016-04-29T11:01:07
2016-04-29T11:01:07
57,363,322
0
0
null
null
null
null
UTF-8
Python
false
false
375
py
import socket import sys sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) server_Add=("localhost",10001) #data= 'Hello' while(1): data = raw_input('Enter any data :') print 'sending data :%s' % data sent=sock.sendto(data,server_Add) print 'Waiting :' data,server=sock.recvfrom(1024) print 'Recieve data ...
[ "adityapatil961992@gmail.com" ]
adityapatil961992@gmail.com
22eda2f6808270ecbce2716573ef6ba9a1323562
65748b3fdc3f9ebbf39625f7e62c377cd110e9ea
/TrafficCreator/ProtocolHandlers/UdpProtocol.py
3c135833c4d9467b2b9a63573e0566aa6bbc2ffa
[]
no_license
Pflokki/GenUI
e64ace0e55c8fb2267274ae30f37965672348b38
576ce9e615897f0f9d630442aa477e7a4bd627da
refs/heads/master
2022-11-04T22:15:30.820247
2020-06-19T21:45:10
2020-06-19T21:45:10
245,126,743
0
0
null
null
null
null
UTF-8
Python
false
false
134
py
from .DefaultProtocol import DefaultProtocol class UDPProtocol(DefaultProtocol): def __init__(self): super().__init__()
[ "ukostyan@gmail.com" ]
ukostyan@gmail.com
e1bba0f09554acc3bb4b6d06ed2b7d9e1b2ef32b
30f15a184450d6e914ac16375e674cc2f993b9ce
/desktop/enlightenment/addon/e-module-mail/actions.py
592c34362879b146c20631acd1af05e28314ac96
[]
no_license
Erick-Pardus/2013
9d0dd48e19400965476480a8e6826beb865bdb2e
80943b26dbb4474f6e99f81752a0d963af565234
refs/heads/master
2021-01-18T16:57:58.233209
2012-10-30T20:35:42
2012-10-30T20:35:42
6,467,098
2
0
null
null
null
null
UTF-8
Python
false
false
622
py
#!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright 2011 TUBITAK/BILGEM # Licensed under the GNU General Public License, version 2. # See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt from pisi.actionsapi import autotools from pisi.actionsapi import get from pisi.actionsapi import pisitools from pi...
[ "erdincgultekin@gmail.com" ]
erdincgultekin@gmail.com
e0d4da74400b07b5d1b53842cf893c82025f4ed0
c02589ad3c0a64258bd96b711e2a158321a85208
/run.py
9b3e4316da35000c73e0b7be98c6de21a26eed52
[ "MIT" ]
permissive
aatrubilin/wpapi
f06b3252b3240c27755c826b41729ad0f8bc5c1f
6832cbf113f55737752d7ddbc1f045b8f6116f61
refs/heads/master
2020-07-25T13:52:13.492281
2019-09-16T06:02:17
2019-09-16T06:02:17
208,312,455
0
0
null
null
null
null
UTF-8
Python
false
false
1,027
py
import os import argparse from wpapi.server import app import wpapi.weather_services as services parser = argparse.ArgumentParser() parser.add_argument( "-s", "--service", type=str, required=True, choices=["OpenWeatherMapAPI", "FakeWeatherAPI"], help="Working weather api.", ) parser.add_argum...
[ "aatrubilin@gmail.com" ]
aatrubilin@gmail.com
1c65963e4268e1a9119332b227a3df05764c3cb1
cb52f3f0f0b51fec9dd27f6992b1c42ff02b43ab
/bindings/python/client.py
ae5445a18a181542d0649ea755a51739248c1c0e
[ "BSD-3-Clause-Open-MPI" ]
permissive
atongkuze/pmix
7a8d82a6351402e1e146ff75031a2112b2b11534
cd51ea4d28ec0d0e2de72ec5f6157a0684b0144d
refs/heads/master
2020-05-02T19:54:26.413138
2019-03-28T00:01:16
2019-03-28T00:01:16
178,173,206
0
0
NOASSERTION
2019-03-28T09:45:11
2019-03-28T09:45:01
C
UTF-8
Python
false
false
461
py
#!/opt/local/bin/python from pmix import * def main(): foo = PMIxClient() print("Testing PMIx ", foo.get_version()) info = {PMIX_PROGRAMMING_MODEL: 'TEST', PMIX_MODEL_LIBRARY_NAME: "PMIX"} my_result = foo.init(info) print("Init result ", my_result) if 0 != my_result: print("FAILED TO I...
[ "rhc@open-mpi.org" ]
rhc@open-mpi.org